File manager - Edit - /home/autoph/public_html/projects/ahg-connect/assets/index.c8fd93d6.js
Back
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/** * @vue/shared v3.4.25 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Ws(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const We={},oo=[],Ot=()=>{},Ly=()=>!1,xi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tc=e=>e.startsWith("onUpdate:"),Ze=Object.assign,Ec=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ny=Object.prototype.hasOwnProperty,Ne=(e,t)=>Ny.call(e,t),de=Array.isArray,io=e=>Ao(e)==="[object Map]",Vr=e=>Ao(e)==="[object Set]",Fu=e=>Ao(e)==="[object Date]",Fy=e=>Ao(e)==="[object RegExp]",Se=e=>typeof e=="function",tt=e=>typeof e=="string",Jn=e=>typeof e=="symbol",Ke=e=>e!==null&&typeof e=="object",Pc=e=>(Ke(e)||Se(e))&&Se(e.then)&&Se(e.catch),Ud=Object.prototype.toString,Ao=e=>Ud.call(e),By=e=>Ao(e).slice(8,-1),Hd=e=>Ao(e)==="[object Object]",xc=e=>tt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,so=Ws(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Uy=/-(\w)/g,Lt=qs(e=>e.replace(Uy,(t,n)=>n?n.toUpperCase():"")),Hy=/\B([A-Z])/g,Yt=qs(e=>e.replace(Hy,"-$1").toLowerCase()),Ks=qs(e=>e.charAt(0).toUpperCase()+e.slice(1)),ys=qs(e=>e?`on${Ks(e)}`:""),gn=(e,t)=>!Object.is(e,t),ao=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},jd=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},xs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Os=e=>{const t=tt(e)?Number(e):NaN;return isNaN(t)?e:t};let Bu;const $d=()=>Bu||(Bu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),jy="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",$y=Ws(jy);function Ro(e){if(de(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=tt(r)?Ky(r):Ro(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(tt(e)||Ke(e))return e}const Vy=/;(?![^(]*\))/g,Wy=/:([^]+)/,qy=/\/\*[^]*?\*\//g;function Ky(e){const t={};return e.replace(qy,"").split(Vy).forEach(n=>{if(n){const r=n.split(Wy);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function it(e){let t="";if(tt(e))t=e;else if(de(e))for(let n=0;n<e.length;n++){const r=it(e[n]);r&&(t+=r+" ")}else if(Ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function vO(e){if(!e)return null;let{class:t,style:n}=e;return t&&!tt(t)&&(e.class=it(t)),n&&(e.style=Ro(n)),e}const Yy="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zy=Ws(Yy);function Vd(e){return!!e||e===""}function Gy(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=yr(e[r],t[r]);return n}function yr(e,t){if(e===t)return!0;let n=Fu(e),r=Fu(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Jn(e),r=Jn(t),n||r)return e===t;if(n=de(e),r=de(t),n||r)return n&&r?Gy(e,t):!1;if(n=Ke(e),r=Ke(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const a=e.hasOwnProperty(s),u=t.hasOwnProperty(s);if(a&&!u||!a&&u||!yr(e[s],t[s]))return!1}}return String(e)===String(t)}function Ys(e,t){return e.findIndex(n=>yr(n,t))}const Xe=e=>tt(e)?e:e==null?"":de(e)||Ke(e)&&(e.toString===Ud||!Se(e.toString))?JSON.stringify(e,Wd,2):String(e),Wd=(e,t)=>t&&t.__v_isRef?Wd(e,t.value):io(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[ul(r,i)+" =>"]=o,n),{})}:Vr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ul(n))}:Jn(t)?ul(t):Ke(t)&&!de(t)&&!Hd(t)?String(t):t,ul=(e,t="")=>{var n;return Jn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.4.25 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let qt;class qd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=qt,!t&&qt&&(this.index=(qt.scopes||(qt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=qt;try{return qt=this,t()}finally{qt=n}}}on(){qt=this}off(){qt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Kd(e){return new qd(e)}function Yd(e,t=qt){t&&t.active&&t.effects.push(e)}function zd(){return qt}function Jy(e){qt&&qt.cleanups.push(e)}let Mr;class ui{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Yd(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,_r();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Qy(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Cr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=gr,n=Mr;try{return gr=!0,Mr=this,this._runnings++,Uu(this),this.fn()}finally{Hu(this),this._runnings--,Mr=n,gr=t}}stop(){var t;this.active&&(Uu(this),Hu(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Qy(e){return e.value}function Uu(e){e._trackId++,e._depsLength=0}function Hu(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Gd(e.deps[t],e);e.deps.length=e._depsLength}}function Gd(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function bO(e,t){e.effect instanceof ui&&(e=e.effect.fn);const n=new ui(e,Ot,()=>{n.dirty&&n.run()});t&&(Ze(n,t),t.scope&&Yd(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function wO(e){e.effect.stop()}let gr=!0,Ul=0;const Jd=[];function _r(){Jd.push(gr),gr=!1}function Cr(){const e=Jd.pop();gr=e===void 0?!0:e}function Oc(){Ul++}function Ac(){for(Ul--;!Ul&&Hl.length;)Hl.shift()()}function Qd(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Gd(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Hl=[];function Xd(e,t,n){Oc();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Hl.push(r.scheduler)))}Ac()}const Zd=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},As=new WeakMap,Lr=Symbol(""),jl=Symbol("");function Bt(e,t,n){if(gr&&Mr){let r=As.get(e);r||As.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Zd(()=>r.delete(n))),Qd(Mr,o)}}function Kn(e,t,n,r,o,i){const s=As.get(e);if(!s)return;let a=[];if(t==="clear")a=[...s.values()];else if(n==="length"&&de(e)){const u=Number(r);s.forEach((d,f)=>{(f==="length"||!Jn(f)&&f>=u)&&a.push(d)})}else switch(n!==void 0&&a.push(s.get(n)),t){case"add":de(e)?xc(n)&&a.push(s.get("length")):(a.push(s.get(Lr)),io(e)&&a.push(s.get(jl)));break;case"delete":de(e)||(a.push(s.get(Lr)),io(e)&&a.push(s.get(jl)));break;case"set":io(e)&&a.push(s.get(Lr));break}Oc();for(const u of a)u&&Xd(u,4);Ac()}function Xy(e,t){var n;return(n=As.get(e))==null?void 0:n.get(t)}const Zy=Ws("__proto__,__v_isRef,__isVue"),ep=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Jn)),ju=ev();function ev(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ie(this);for(let i=0,s=this.length;i<s;i++)Bt(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(Ie)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){_r(),Oc();const r=Ie(this)[t].apply(this,n);return Ac(),Cr(),r}}),e}function tv(e){Jn(e)||(e=String(e));const t=Ie(this);return Bt(t,"has",e),t.hasOwnProperty(e)}class tp{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?ap:sp:i?ip:op).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=de(t);if(!o){if(s&&Ne(ju,n))return Reflect.get(ju,n,r);if(n==="hasOwnProperty")return tv}const a=Reflect.get(t,n,r);return(Jn(n)?ep.has(n):Zy(n))||(o||Bt(t,"get",n),i)?a:qe(a)?s&&xc(n)?a:a.value:Ke(a)?o?cp(a):ko(a):a}}class np extends tp{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const u=fi(i);if(!Rs(r)&&!fi(r)&&(i=Ie(i),r=Ie(r)),!de(t)&&qe(i)&&!qe(r))return u?!1:(i.value=r,!0)}const s=de(t)&&xc(n)?Number(n)<t.length:Ne(t,n),a=Reflect.set(t,n,r,o);return t===Ie(o)&&(s?gn(r,i)&&Kn(t,"set",n,r):Kn(t,"add",n,r)),a}deleteProperty(t,n){const r=Ne(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Kn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Jn(n)||!ep.has(n))&&Bt(t,"has",n),r}ownKeys(t){return Bt(t,"iterate",de(t)?"length":Lr),Reflect.ownKeys(t)}}class rp extends tp{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const nv=new np,rv=new rp,ov=new np(!0),iv=new rp(!0),Rc=e=>e,zs=e=>Reflect.getPrototypeOf(e);function Xi(e,t,n=!1,r=!1){e=e.__v_raw;const o=Ie(e),i=Ie(t);n||(gn(t,i)&&Bt(o,"get",t),Bt(o,"get",i));const{has:s}=zs(o),a=r?Rc:n?Dc:di;if(s.call(o,t))return a(e.get(t));if(s.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function Zi(e,t=!1){const n=this.__v_raw,r=Ie(n),o=Ie(e);return t||(gn(e,o)&&Bt(r,"has",e),Bt(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function es(e,t=!1){return e=e.__v_raw,!t&&Bt(Ie(e),"iterate",Lr),Reflect.get(e,"size",e)}function $u(e){e=Ie(e);const t=Ie(this);return zs(t).has.call(t,e)||(t.add(e),Kn(t,"add",e,e)),this}function Vu(e,t){t=Ie(t);const n=Ie(this),{has:r,get:o}=zs(n);let i=r.call(n,e);i||(e=Ie(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?gn(t,s)&&Kn(n,"set",e,t):Kn(n,"add",e,t),this}function Wu(e){const t=Ie(this),{has:n,get:r}=zs(t);let o=n.call(t,e);o||(e=Ie(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&Kn(t,"delete",e,void 0),i}function qu(){const e=Ie(this),t=e.size!==0,n=e.clear();return t&&Kn(e,"clear",void 0,void 0),n}function ts(e,t){return function(r,o){const i=this,s=i.__v_raw,a=Ie(s),u=t?Rc:e?Dc:di;return!e&&Bt(a,"iterate",Lr),s.forEach((d,f)=>r.call(o,u(d),u(f),i))}}function ns(e,t,n){return function(...r){const o=this.__v_raw,i=Ie(o),s=io(i),a=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,d=o[e](...r),f=n?Rc:t?Dc:di;return!t&&Bt(i,"iterate",u?jl:Lr),{next(){const{value:p,done:g}=d.next();return g?{value:p,done:g}:{value:a?[f(p[0]),f(p[1])]:f(p),done:g}},[Symbol.iterator](){return this}}}}function tr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sv(){const e={get(i){return Xi(this,i)},get size(){return es(this)},has:Zi,add:$u,set:Vu,delete:Wu,clear:qu,forEach:ts(!1,!1)},t={get(i){return Xi(this,i,!1,!0)},get size(){return es(this)},has:Zi,add:$u,set:Vu,delete:Wu,clear:qu,forEach:ts(!1,!0)},n={get(i){return Xi(this,i,!0)},get size(){return es(this,!0)},has(i){return Zi.call(this,i,!0)},add:tr("add"),set:tr("set"),delete:tr("delete"),clear:tr("clear"),forEach:ts(!0,!1)},r={get(i){return Xi(this,i,!0,!0)},get size(){return es(this,!0)},has(i){return Zi.call(this,i,!0)},add:tr("add"),set:tr("set"),delete:tr("delete"),clear:tr("clear"),forEach:ts(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=ns(i,!1,!1),n[i]=ns(i,!0,!1),t[i]=ns(i,!1,!0),r[i]=ns(i,!0,!0)}),[e,n,t,r]}const[av,lv,cv,uv]=sv();function Gs(e,t){const n=t?e?uv:cv:e?lv:av;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ne(n,o)&&o in r?n:r,o,i)}const fv={get:Gs(!1,!1)},dv={get:Gs(!1,!0)},pv={get:Gs(!0,!1)},hv={get:Gs(!0,!0)},op=new WeakMap,ip=new WeakMap,sp=new WeakMap,ap=new WeakMap;function gv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mv(e){return e.__v_skip||!Object.isExtensible(e)?0:gv(By(e))}function ko(e){return fi(e)?e:Js(e,!1,nv,fv,op)}function lp(e){return Js(e,!1,ov,dv,ip)}function cp(e){return Js(e,!0,rv,pv,sp)}function _O(e){return Js(e,!0,iv,hv,ap)}function Js(e,t,n,r,o){if(!Ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=mv(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function Yn(e){return fi(e)?Yn(e.__v_raw):!!(e&&e.__v_isReactive)}function fi(e){return!!(e&&e.__v_isReadonly)}function Rs(e){return!!(e&&e.__v_isShallow)}function up(e){return e?!!e.__v_raw:!1}function Ie(e){const t=e&&e.__v_raw;return t?Ie(t):e}function kc(e){return Object.isExtensible(e)&&jd(e,"__v_skip",!0),e}const di=e=>Ke(e)?ko(e):e,Dc=e=>Ke(e)?cp(e):e;class fp{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ui(()=>t(this._value),()=>lo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=Ie(this);return(!t._cacheable||t.effect.dirty)&&gn(t._value,t._value=t.effect.run())&&lo(t,4),Ic(t),t.effect._dirtyLevel>=2&&lo(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function yv(e,t,n=!1){let r,o;const i=Se(e);return i?(r=e,o=Ot):(r=e.get,o=e.set),new fp(r,o,i||!o,n)}function Ic(e){var t;gr&&Mr&&(e=Ie(e),Qd(Mr,(t=e.dep)!=null?t:e.dep=Zd(()=>e.dep=void 0,e instanceof fp?e:void 0)))}function lo(e,t=4,n){e=Ie(e);const r=e.dep;r&&Xd(r,t)}function qe(e){return!!(e&&e.__v_isRef===!0)}function Tt(e){return pp(e,!1)}function dp(e){return pp(e,!0)}function pp(e,t){return qe(e)?e:new vv(e,t)}class vv{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ie(t),this._value=n?t:di(t)}get value(){return Ic(this),this._value}set value(t){const n=this.__v_isShallow||Rs(t)||fi(t);t=n?t:Ie(t),gn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:di(t),lo(this,4))}}function CO(e){lo(e,4)}function zn(e){return qe(e)?e.value:e}function SO(e){return Se(e)?e():zn(e)}const bv={get:(e,t,n)=>zn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return qe(o)&&!qe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function hp(e){return Yn(e)?e:new Proxy(e,bv)}class wv{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Ic(this),()=>lo(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function _v(e){return new wv(e)}function Cv(e){const t=de(e)?new Array(e.length):{};for(const n in e)t[n]=gp(e,n);return t}class Sv{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,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 Xy(Ie(this._object),this._key)}}class Tv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function TO(e,t,n){return qe(e)?e:Se(e)?new Tv(e):Ke(e)&&arguments.length>1?gp(e,t,n):Tt(e)}function gp(e,t,n){const r=e[t];return qe(r)?r:new Sv(e,t,n)}const EO={GET:"get",HAS:"has",ITERATE:"iterate"},PO={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** * @vue/runtime-core v3.4.25 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function xO(e,t){}const OO={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},Ev={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function mr(e,t,n,r){try{return r?e(...r):e()}catch(o){Do(o,t,n)}}function Xt(e,t,n,r){if(Se(e)){const o=mr(e,t,n,r);return o&&Pc(o)&&o.catch(i=>{Do(i,t,n)}),o}if(de(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Xt(e[i],t,n,r));return o}}function Do(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const d=i.ec;if(d){for(let f=0;f<d.length;f++)if(d[f](e,s,a)===!1)return}i=i.parent}const u=t.appContext.config.errorHandler;if(u){_r(),mr(u,null,10,[e,s,a]),Cr();return}}Pv(e,n,o,r)}function Pv(e,t,n,r=!0){console.error(e)}let pi=!1,$l=!1;const St=[];let Rn=0;const co=[];let ur=null,Rr=0;const mp=Promise.resolve();let Mc=null;function Io(e){const t=Mc||mp;return e?t.then(this?e.bind(this):e):t}function xv(e){let t=Rn+1,n=St.length;for(;t<n;){const r=t+n>>>1,o=St[r],i=hi(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function Qs(e){(!St.length||!St.includes(e,pi&&e.allowRecurse?Rn+1:Rn))&&(e.id==null?St.push(e):St.splice(xv(e.id),0,e),yp())}function yp(){!pi&&!$l&&($l=!0,Mc=mp.then(vp))}function Ov(e){const t=St.indexOf(e);t>Rn&&St.splice(t,1)}function Vl(e){de(e)?co.push(...e):(!ur||!ur.includes(e,e.allowRecurse?Rr+1:Rr))&&co.push(e),yp()}function Ku(e,t,n=pi?Rn+1:0){for(;n<St.length;n++){const r=St[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;St.splice(n,1),n--,r()}}}function ks(e){if(co.length){const t=[...new Set(co)].sort((n,r)=>hi(n)-hi(r));if(co.length=0,ur){ur.push(...t);return}for(ur=t,Rr=0;Rr<ur.length;Rr++)ur[Rr]();ur=null,Rr=0}}const hi=e=>e.id==null?1/0:e.id,Av=(e,t)=>{const n=hi(e)-hi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function vp(e){$l=!1,pi=!0,St.sort(Av);const t=Ot;try{for(Rn=0;Rn<St.length;Rn++){const n=St[Rn];n&&n.active!==!1&&mr(n,null,14)}}finally{Rn=0,St.length=0,ks(),pi=!1,Mc=null,(St.length||co.length)&&vp()}}let no,rs=[];function bp(e,t){var n,r;no=e,no?(no.enabled=!0,rs.forEach(({event:o,args:i})=>no.emit(o,...i)),rs=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{bp(i,t)}),setTimeout(()=>{no||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,rs=[])},3e3)):rs=[]}function Rv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||We;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const f=`${s==="modelValue"?"model":s}Modifiers`,{number:p,trim:g}=r[f]||We;g&&(o=n.map(w=>tt(w)?w.trim():w)),p&&(o=n.map(xs))}let a,u=r[a=ys(t)]||r[a=ys(Lt(t))];!u&&i&&(u=r[a=ys(Yt(t))]),u&&Xt(u,e,6,o);const d=r[a+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xt(d,e,6,o)}}function wp(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!Se(e)){const u=d=>{const f=wp(d,t,!0);f&&(a=!0,Ze(s,f))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!a?(Ke(e)&&r.set(e,null),null):(de(i)?i.forEach(u=>s[u]=null):Ze(s,i),Ke(e)&&r.set(e,s),s)}function Xs(e,t){return!e||!xi(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,Yt(t))||Ne(e,t))}let dt=null,Zs=null;function gi(e){const t=dt;return dt=e,Zs=e&&e.type.__scopeId||null,t}function AO(e){Zs=e}function RO(){Zs=null}const kO=e=>xn;function xn(e,t=dt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&af(-1);const i=gi(t);let s;try{s=e(...o)}finally{gi(i),r._d&&af(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function vs(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:u,render:d,renderCache:f,props:p,data:g,setupState:w,ctx:y,inheritAttrs:E}=e,I=gi(e);let A,x;try{if(n.shapeFlag&4){const m=o||r,O=m;A=Kt(d.call(O,m,f,p,w,g,y)),x=a}else{const m=t;A=Kt(m.length>1?m(p,{attrs:a,slots:s,emit:u}):m(p,null)),x=t.props?a:Dv(a)}}catch(m){ni.length=0,Do(m,e,1),A=Ue(At)}let C=A;if(x&&E!==!1){const m=Object.keys(x),{shapeFlag:O}=C;m.length&&O&7&&(i&&m.some(Tc)&&(x=Iv(x,i)),C=Qn(C,x))}return n.dirs&&(C=Qn(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),A=C,gi(I),A}function kv(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(vr(o)){if(o.type!==At||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Dv=e=>{let t;for(const n in e)(n==="class"||n==="style"||xi(n))&&((t||(t={}))[n]=e[n]);return t},Iv=(e,t)=>{const n={};for(const r in e)(!Tc(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Mv(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:u}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?Yu(r,s,d):!!s;if(u&8){const f=t.dynamicProps;for(let p=0;p<f.length;p++){const g=f[p];if(s[g]!==r[g]&&!Xs(d,g))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?Yu(r,s,d):!0:!!s;return!1}function Yu(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Xs(n,i))return!0}return!1}function Lc({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Nc="components",Lv="directives";function Dr(e,t){return Fc(Nc,e,!0,t)||e}const _p=Symbol.for("v-ndc");function DO(e){return tt(e)?Fc(Nc,e,!1)||e:e||_p}function IO(e){return Fc(Lv,e)}function Fc(e,t,n=!0,r=!1){const o=dt||gt;if(o){const i=o.type;if(e===Nc){const a=tc(i,!1);if(a&&(a===t||a===Lt(t)||a===Ks(Lt(t))))return i}const s=zu(o[e]||i[e],t)||zu(o.appContext[e],t);return!s&&r?i:s}}function zu(e,t){return e&&(e[t]||e[Lt(t)]||e[Ks(Lt(t))])}const Cp=e=>e.__isSuspense;let Wl=0;const Nv={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,u,d){if(e==null)Fv(t,n,r,o,i,s,a,u,d);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Bv(e,t,n,r,o,s,a,u,d)}},hydrate:Uv,create:Bc,normalize:Hv},MO=Nv;function mi(e,t){const n=e.props&&e.props[t];Se(n)&&n()}function Fv(e,t,n,r,o,i,s,a,u){const{p:d,o:{createElement:f}}=u,p=f("div"),g=e.suspense=Bc(e,o,r,t,p,n,i,s,a,u);d(null,g.pendingBranch=e.ssContent,p,null,r,g,i,s),g.deps>0?(mi(e,"onPending"),mi(e,"onFallback"),d(null,e.ssFallback,t,n,r,null,i,s),uo(g,e.ssFallback)):g.resolve(!1,!0)}function Bv(e,t,n,r,o,i,s,a,{p:u,um:d,o:{createElement:f}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const g=t.ssContent,w=t.ssFallback,{activeBranch:y,pendingBranch:E,isInFallback:I,isHydrating:A}=p;if(E)p.pendingBranch=g,dn(g,E)?(u(E,g,p.hiddenContainer,null,o,p,i,s,a),p.deps<=0?p.resolve():I&&(A||(u(y,w,n,r,o,null,i,s,a),uo(p,w)))):(p.pendingId=Wl++,A?(p.isHydrating=!1,p.activeBranch=E):d(E,o,p),p.deps=0,p.effects.length=0,p.hiddenContainer=f("div"),I?(u(null,g,p.hiddenContainer,null,o,p,i,s,a),p.deps<=0?p.resolve():(u(y,w,n,r,o,null,i,s,a),uo(p,w))):y&&dn(g,y)?(u(y,g,n,r,o,p,i,s,a),p.resolve(!0)):(u(null,g,p.hiddenContainer,null,o,p,i,s,a),p.deps<=0&&p.resolve()));else if(y&&dn(g,y))u(y,g,n,r,o,p,i,s,a),uo(p,g);else if(mi(t,"onPending"),p.pendingBranch=g,g.shapeFlag&512?p.pendingId=g.component.suspenseId:p.pendingId=Wl++,u(null,g,p.hiddenContainer,null,o,p,i,s,a),p.deps<=0)p.resolve();else{const{timeout:x,pendingId:C}=p;x>0?setTimeout(()=>{p.pendingId===C&&p.fallback(w)},x):x===0&&p.fallback(w)}}function Bc(e,t,n,r,o,i,s,a,u,d,f=!1){const{p,m:g,um:w,n:y,o:{parentNode:E,remove:I}}=d;let A;const x=jv(e);x&&t!=null&&t.pendingBranch&&(A=t.pendingId,t.deps++);const C=e.props?Os(e.props.timeout):void 0,m=i,O={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:Wl++,timeout:typeof C=="number"?C:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(P=!1,k=!1){const{vnode:R,activeBranch:N,pendingBranch:F,pendingId:X,effects:_,parentComponent:ne,container:ce}=O;let he=!1;O.isHydrating?O.isHydrating=!1:P||(he=N&&F.transition&&F.transition.mode==="out-in",he&&(N.transition.afterLeave=()=>{X===O.pendingId&&(g(F,ce,i===m?y(N):i,0),Vl(_))}),N&&(E(N.el)!==O.hiddenContainer&&(i=y(N)),w(N,ne,O,!0)),he||g(F,ce,i,0)),uo(O,F),O.pendingBranch=null,O.isInFallback=!1;let V=O.parent,K=!1;for(;V;){if(V.pendingBranch){V.effects.push(..._),K=!0;break}V=V.parent}!K&&!he&&Vl(_),O.effects=[],x&&t&&t.pendingBranch&&A===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),mi(R,"onResolve")},fallback(P){if(!O.pendingBranch)return;const{vnode:k,activeBranch:R,parentComponent:N,container:F,namespace:X}=O;mi(k,"onFallback");const _=y(R),ne=()=>{O.isInFallback&&(p(null,P,F,_,N,null,X,a,u),uo(O,P))},ce=P.transition&&P.transition.mode==="out-in";ce&&(R.transition.afterLeave=ne),O.isInFallback=!0,w(R,N,null,!0),ce||ne()},move(P,k,R){O.activeBranch&&g(O.activeBranch,P,k,R),O.container=P},next(){return O.activeBranch&&y(O.activeBranch)},registerDep(P,k){const R=!!O.pendingBranch;R&&O.deps++;const N=P.vnode.el;P.asyncDep.catch(F=>{Do(F,P,0)}).then(F=>{if(P.isUnmounted||O.isUnmounted||O.pendingId!==P.suspenseId)return;P.asyncResolved=!0;const{vnode:X}=P;Zl(P,F,!1),N&&(X.el=N);const _=!N&&P.subTree.el;k(P,X,E(N||P.subTree.el),N?null:y(P.subTree),O,s,u),_&&I(_),Lc(P,X.el),R&&--O.deps===0&&O.resolve()})},unmount(P,k){O.isUnmounted=!0,O.activeBranch&&w(O.activeBranch,n,P,k),O.pendingBranch&&w(O.pendingBranch,n,P,k)}};return O}function Uv(e,t,n,r,o,i,s,a,u){const d=t.suspense=Bc(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),f=u(e,d.pendingBranch=t.ssContent,n,d,i,s);return d.deps===0&&d.resolve(!1,!0),f}function Hv(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Gu(r?n.default:n),e.ssFallback=r?Gu(n.fallback):Ue(At)}function Gu(e){let t;if(Se(e)){const n=Hr&&e._c;n&&(e._d=!1,oe()),e=e(),n&&(e._d=!0,t=Mt,qp())}return de(e)&&(e=kv(e)),e=Kt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Sp(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):Vl(e)}function uo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Lc(r,o))}function jv(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const $v=Symbol.for("v-scx"),Vv=()=>hn($v);function LO(e,t){return Oi(e,null,t)}function Wv(e,t){return Oi(e,null,{flush:"post"})}function qv(e,t){return Oi(e,null,{flush:"sync"})}const os={};function Dn(e,t,n){return Oi(e,t,n)}function Oi(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:s,onTrigger:a}=We){if(t&&i){const P=t;t=(...k)=>{P(...k),O()}}const u=gt,d=P=>r===!0?P:Ir(P,r===!1?1:void 0);let f,p=!1,g=!1;if(qe(e)?(f=()=>e.value,p=Rs(e)):Yn(e)?(f=()=>d(e),p=!0):de(e)?(g=!0,p=e.some(P=>Yn(P)||Rs(P)),f=()=>e.map(P=>{if(qe(P))return P.value;if(Yn(P))return d(P);if(Se(P))return mr(P,u,2)})):Se(e)?t?f=()=>mr(e,u,2):f=()=>(w&&w(),Xt(e,u,3,[y])):f=Ot,t&&r){const P=f;f=()=>Ir(P())}let w,y=P=>{w=C.onStop=()=>{mr(P,u,4),w=C.onStop=void 0}},E;if(Ri)if(y=Ot,t?n&&Xt(t,u,3,[f(),g?[]:void 0,y]):f(),o==="sync"){const P=Vv();E=P.__watcherHandles||(P.__watcherHandles=[])}else return Ot;let I=g?new Array(e.length).fill(os):os;const A=()=>{if(!(!C.active||!C.dirty))if(t){const P=C.run();(r||p||(g?P.some((k,R)=>gn(k,I[R])):gn(P,I)))&&(w&&w(),Xt(t,u,3,[P,I===os?void 0:g&&I[0]===os?[]:I,y]),I=P)}else C.run()};A.allowRecurse=!!t;let x;o==="sync"?x=A:o==="post"?x=()=>_t(A,u&&u.suspense):(A.pre=!0,u&&(A.id=u.uid),x=()=>Qs(A));const C=new ui(f,Ot,x),m=zd(),O=()=>{C.stop(),m&&Ec(m.effects,C)};return t?n?A():I=C.run():o==="post"?_t(C.run.bind(C),u&&u.suspense):C.run(),E&&E.push(O),O}function Kv(e,t,n){const r=this.proxy,o=tt(e)?e.includes(".")?Tp(r,e):()=>r[e]:e.bind(r,r);let i;Se(t)?i=t:(i=t.handler,n=t);const s=jr(this),a=Oi(o,i.bind(r),n);return s(),a}function Tp(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Ir(e,t,n=0,r){if(!Ke(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),qe(e))Ir(e.value,t,n,r);else if(de(e))for(let o=0;o<e.length;o++)Ir(e[o],t,n,r);else if(Vr(e)||io(e))e.forEach(o=>{Ir(o,t,n,r)});else if(Hd(e))for(const o in e)Ir(e[o],t,n,r);return e}function Yv(e,t){if(dt===null)return e;const n=ra(dt)||dt.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,a,u=We]=t[o];i&&(Se(i)&&(i={mounted:i,updated:i}),i.deep&&Ir(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:u}))}return e}function On(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let u=a.dir[r];u&&(_r(),Xt(u,n,8,[e.el,a,e,t]),Cr())}}const fr=Symbol("_leaveCb"),is=Symbol("_enterCb");function Ep(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Wr(()=>{e.isMounted=!0}),jc(()=>{e.isUnmounting=!0}),e}const Jt=[Function,Array],Pp={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jt,onEnter:Jt,onAfterEnter:Jt,onEnterCancelled:Jt,onBeforeLeave:Jt,onLeave:Jt,onAfterLeave:Jt,onLeaveCancelled:Jt,onBeforeAppear:Jt,onAppear:Jt,onAfterAppear:Jt,onAppearCancelled:Jt},zv={name:"BaseTransition",props:Pp,setup(e,{slots:t}){const n=Zn(),r=Ep();return()=>{const o=t.default&&Uc(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const g of o)if(g.type!==At){i=g;break}}const s=Ie(e),{mode:a}=s;if(r.isLeaving)return fl(i);const u=Ju(i);if(!u)return fl(i);const d=yi(u,s,r,n);go(u,d);const f=n.subTree,p=f&&Ju(f);if(p&&p.type!==At&&!dn(u,p)){const g=yi(p,s,r,n);if(go(p,g),a==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},fl(i);a==="in-out"&&u.type!==At&&(g.delayLeave=(w,y,E)=>{const I=xp(r,p);I[String(p.key)]=p,w[fr]=()=>{y(),w[fr]=void 0,delete d.delayedLeave},d.delayedLeave=E})}return i}}},Gv=zv;function xp(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function yi(e,t,n,r){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:p,onLeave:g,onAfterLeave:w,onLeaveCancelled:y,onBeforeAppear:E,onAppear:I,onAfterAppear:A,onAppearCancelled:x}=t,C=String(e.key),m=xp(n,e),O=(R,N)=>{R&&Xt(R,r,9,N)},P=(R,N)=>{const F=N[1];O(R,N),de(R)?R.every(X=>X.length<=1)&&F():R.length<=1&&F()},k={mode:i,persisted:s,beforeEnter(R){let N=a;if(!n.isMounted)if(o)N=E||a;else return;R[fr]&&R[fr](!0);const F=m[C];F&&dn(e,F)&&F.el[fr]&&F.el[fr](),O(N,[R])},enter(R){let N=u,F=d,X=f;if(!n.isMounted)if(o)N=I||u,F=A||d,X=x||f;else return;let _=!1;const ne=R[is]=ce=>{_||(_=!0,ce?O(X,[R]):O(F,[R]),k.delayedLeave&&k.delayedLeave(),R[is]=void 0)};N?P(N,[R,ne]):ne()},leave(R,N){const F=String(e.key);if(R[is]&&R[is](!0),n.isUnmounting)return N();O(p,[R]);let X=!1;const _=R[fr]=ne=>{X||(X=!0,N(),ne?O(y,[R]):O(w,[R]),R[fr]=void 0,m[F]===e&&delete m[F])};m[F]=e,g?P(g,[R,_]):_()},clone(R){return yi(R,t,n,r)}};return k}function fl(e){if(Ai(e))return e=Qn(e),e.children=null,e}function Ju(e){if(!Ai(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Se(n.default))return n.default()}}function go(e,t){e.shapeFlag&6&&e.component?go(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 Uc(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let s=e[i];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:i);s.type===Fe?(s.patchFlag&128&&o++,r=r.concat(Uc(s.children,t,a))):(t||s.type!==At)&&r.push(a!=null?Qn(s,{key:a}):s)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Mo(e,t){return Se(e)?(()=>Ze({name:e.name},t,{setup:e}))():e}const Nr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function NO(e){Se(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:a}=e;let u=null,d,f=0;const p=()=>(f++,u=null,g()),g=()=>{let w;return u||(w=u=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),a)return new Promise((E,I)=>{a(y,()=>E(p()),()=>I(y),f+1)});throw y}).then(y=>w!==u&&u?u:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),d=y,y)))};return Mo({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return d},setup(){const w=gt;if(d)return()=>dl(d,w);const y=x=>{u=null,Do(x,w,13,!r)};if(s&&w.suspense||Ri)return g().then(x=>()=>dl(x,w)).catch(x=>(y(x),()=>r?Ue(r,{error:x}):null));const E=Tt(!1),I=Tt(),A=Tt(!!o);return o&&setTimeout(()=>{A.value=!1},o),i!=null&&setTimeout(()=>{if(!E.value&&!I.value){const x=new Error(`Async component timed out after ${i}ms.`);y(x),I.value=x}},i),g().then(()=>{E.value=!0,w.parent&&Ai(w.parent.vnode)&&(w.parent.effect.dirty=!0,Qs(w.parent.update))}).catch(x=>{y(x),I.value=x}),()=>{if(E.value&&d)return dl(d,w);if(I.value&&r)return Ue(r,{error:I.value});if(n&&!A.value)return Ue(n)}}})}function dl(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=Ue(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Ai=e=>e.type.__isKeepAlive,Jv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Zn(),r=n.ctx;if(!r.renderer)return()=>{const x=t.default&&t.default();return x&&x.length===1?x[0]:x};const o=new Map,i=new Set;let s=null;const a=n.suspense,{renderer:{p:u,m:d,um:f,o:{createElement:p}}}=r,g=p("div");r.activate=(x,C,m,O,P)=>{const k=x.component;d(x,C,m,0,a),u(k.vnode,x,C,m,k,a,O,x.slotScopeIds,P),_t(()=>{k.isDeactivated=!1,k.a&&ao(k.a);const R=x.props&&x.props.onVnodeMounted;R&&It(R,k.parent,x)},a)},r.deactivate=x=>{const C=x.component;d(x,g,null,1,a),_t(()=>{C.da&&ao(C.da);const m=x.props&&x.props.onVnodeUnmounted;m&&It(m,C.parent,x),C.isDeactivated=!0},a)};function w(x){pl(x),f(x,n,a,!0)}function y(x){o.forEach((C,m)=>{const O=tc(C.type);O&&(!x||!x(O))&&E(m)})}function E(x){const C=o.get(x);!s||!dn(C,s)?w(C):s&&pl(s),o.delete(x),i.delete(x)}Dn(()=>[e.include,e.exclude],([x,C])=>{x&&y(m=>Xo(x,m)),C&&y(m=>!Xo(C,m))},{flush:"post",deep:!0});let I=null;const A=()=>{I!=null&&o.set(I,hl(n.subTree))};return Wr(A),Hc(A),jc(()=>{o.forEach(x=>{const{subTree:C,suspense:m}=n,O=hl(C);if(x.type===O.type&&x.key===O.key){pl(O);const P=O.component.da;P&&_t(P,m);return}w(x)})}),()=>{if(I=null,!t.default)return s=null;const x=t.default(),C=x[0];if(x.length>1)return s=null,x;if(!vr(C)||!(C.shapeFlag&4)&&!(C.shapeFlag&128))return s=null,C;let m=hl(C);const O=m.type,P=tc(Nr(m)?m.type.__asyncResolved||{}:O),{include:k,exclude:R,max:N}=e;if(k&&(!P||!Xo(k,P))||R&&P&&Xo(R,P))return s=m,C;const F=m.key==null?O:m.key,X=o.get(F);return m.el&&(m=Qn(m),C.shapeFlag&128&&(C.ssContent=m)),I=F,X?(m.el=X.el,m.component=X.component,m.transition&&go(m,m.transition),m.shapeFlag|=512,i.delete(F),i.add(F)):(i.add(F),N&&i.size>parseInt(N,10)&&E(i.values().next().value)),m.shapeFlag|=256,s=m,Cp(C.type)?C:m}}},FO=Jv;function Xo(e,t){return de(e)?e.some(n=>Xo(n,t)):tt(e)?e.split(",").includes(t):Fy(e)?e.test(t):!1}function Qv(e,t){Op(e,"a",t)}function Xv(e,t){Op(e,"da",t)}function Op(e,t,n=gt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ea(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ai(o.parent.vnode)&&Zv(r,t,n,o),o=o.parent}}function Zv(e,t,n,r){const o=ea(t,e,r,!0);ta(()=>{Ec(r[t],o)},n)}function pl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function hl(e){return e.shapeFlag&128?e.ssContent:e}function ea(e,t,n=gt,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;_r();const a=jr(n),u=Xt(t,n,e,s);return a(),Cr(),u});return r?o.unshift(i):o.push(i),i}}const Xn=e=>(t,n=gt)=>(!Ri||e==="sp")&&ea(e,(...r)=>t(...r),n),eb=Xn("bm"),Wr=Xn("m"),tb=Xn("bu"),Hc=Xn("u"),jc=Xn("bum"),ta=Xn("um"),nb=Xn("sp"),rb=Xn("rtg"),ob=Xn("rtc");function ib(e,t=gt){ea("ec",e,t)}function fn(e,t,n,r){let o;const i=n&&n[r];if(de(e)||tt(e)){o=new Array(e.length);for(let s=0,a=e.length;s<a;s++)o[s]=t(e[s],s,void 0,i&&i[s])}else if(typeof e=="number"){o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,i&&i[s])}else if(Ke(e))if(e[Symbol.iterator])o=Array.from(e,(s,a)=>t(s,a,void 0,i&&i[a]));else{const s=Object.keys(e);o=new Array(s.length);for(let a=0,u=s.length;a<u;a++){const d=s[a];o[a]=t(e[d],d,a,i&&i[a])}}else o=[];return n&&(n[r]=o),o}function gl(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(de(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function rt(e,t,n={},r,o){if(dt.isCE||dt.parent&&Nr(dt.parent)&&dt.parent.isCE)return t!=="default"&&(n.name=t),Ue("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),oe();const s=i&&Ap(i(n)),a=bi(Fe,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Ap(e){return e.some(t=>vr(t)?!(t.type===At||t.type===Fe&&!Ap(t.children)):!0)?e:null}function BO(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ys(r)]=e[r];return n}const ql=e=>e?Gp(e)?ra(e)||e.proxy:ql(e.parent):null,ei=Ze(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=>ql(e.parent),$root:e=>ql(e.root),$emit:e=>e.emit,$options:e=>$c(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Qs(e.update)}),$nextTick:e=>e.n||(e.n=Io.bind(e.proxy)),$watch:e=>Kv.bind(e)}),ml=(e,t)=>e!==We&&!e.__isScriptSetup&&Ne(e,t),Kl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:u}=e;let d;if(t[0]!=="$"){const w=s[t];if(w!==void 0)switch(w){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(ml(r,t))return s[t]=1,r[t];if(o!==We&&Ne(o,t))return s[t]=2,o[t];if((d=e.propsOptions[0])&&Ne(d,t))return s[t]=3,i[t];if(n!==We&&Ne(n,t))return s[t]=4,n[t];Yl&&(s[t]=0)}}const f=ei[t];let p,g;if(f)return t==="$attrs"&&Bt(e.attrs,"get",""),f(e);if((p=a.__cssModules)&&(p=p[t]))return p;if(n!==We&&Ne(n,t))return s[t]=4,n[t];if(g=u.config.globalProperties,Ne(g,t))return g[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return ml(o,t)?(o[t]=n,!0):r!==We&&Ne(r,t)?(r[t]=n,!0):Ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==We&&Ne(e,s)||ml(t,s)||(a=i[0])&&Ne(a,s)||Ne(r,s)||Ne(ei,s)||Ne(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},sb=Ze({},Kl,{get(e,t){if(t!==Symbol.unscopables)return Kl.get(e,t,e)},has(e,t){return t[0]!=="_"&&!$y(t)}});function UO(){return null}function HO(){return null}function jO(e){}function $O(e){}function VO(){return null}function WO(){}function qO(e,t){return null}function KO(){return Rp().slots}function YO(){return Rp().attrs}function Rp(){const e=Zn();return e.setupContext||(e.setupContext=Xp(e))}function vi(e){return de(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function zO(e,t){const n=vi(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?de(o)||Se(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function GO(e,t){return!e||!t?e||t:de(e)&&de(t)?e.concat(t):Ze({},vi(e),vi(t))}function JO(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function QO(e){const t=Zn();let n=e();return Xl(),Pc(n)&&(n=n.catch(r=>{throw jr(t),r})),[n,()=>jr(t)]}let Yl=!0;function ab(e){const t=$c(e),n=e.proxy,r=e.ctx;Yl=!1,t.beforeCreate&&Qu(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:u,inject:d,created:f,beforeMount:p,mounted:g,beforeUpdate:w,updated:y,activated:E,deactivated:I,beforeDestroy:A,beforeUnmount:x,destroyed:C,unmounted:m,render:O,renderTracked:P,renderTriggered:k,errorCaptured:R,serverPrefetch:N,expose:F,inheritAttrs:X,components:_,directives:ne,filters:ce}=t;if(d&&lb(d,r,null),s)for(const K in s){const J=s[K];Se(J)&&(r[K]=J.bind(n))}if(o){const K=o.call(n,n);Ke(K)&&(e.data=ko(K))}if(Yl=!0,i)for(const K in i){const J=i[K],Me=Se(J)?J.bind(n,n):Se(J.get)?J.get.bind(n,n):Ot,ze=!Se(J)&&Se(J.set)?J.set.bind(n):Ot,nt=Qt({get:Me,set:ze});Object.defineProperty(r,K,{enumerable:!0,configurable:!0,get:()=>nt.value,set:He=>nt.value=He})}if(a)for(const K in a)kp(a[K],r,n,K);if(u){const K=Se(u)?u.call(n):u;Reflect.ownKeys(K).forEach(J=>{bs(J,K[J])})}f&&Qu(f,e,"c");function V(K,J){de(J)?J.forEach(Me=>K(Me.bind(n))):J&&K(J.bind(n))}if(V(eb,p),V(Wr,g),V(tb,w),V(Hc,y),V(Qv,E),V(Xv,I),V(ib,R),V(ob,P),V(rb,k),V(jc,x),V(ta,m),V(nb,N),de(F))if(F.length){const K=e.exposed||(e.exposed={});F.forEach(J=>{Object.defineProperty(K,J,{get:()=>n[J],set:Me=>n[J]=Me})})}else e.exposed||(e.exposed={});O&&e.render===Ot&&(e.render=O),X!=null&&(e.inheritAttrs=X),_&&(e.components=_),ne&&(e.directives=ne)}function lb(e,t,n=Ot){de(e)&&(e=zl(e));for(const r in e){const o=e[r];let i;Ke(o)?"default"in o?i=hn(o.from||r,o.default,!0):i=hn(o.from||r):i=hn(o),qe(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function Qu(e,t,n){Xt(de(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function kp(e,t,n,r){const o=r.includes(".")?Tp(n,r):()=>n[r];if(tt(e)){const i=t[e];Se(i)&&Dn(o,i)}else if(Se(e))Dn(o,e.bind(n));else if(Ke(e))if(de(e))e.forEach(i=>kp(i,t,n,r));else{const i=Se(e.handler)?e.handler.bind(n):t[e.handler];Se(i)&&Dn(o,i,e)}}function $c(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let u;return a?u=a:!o.length&&!n&&!r?u=t:(u={},o.length&&o.forEach(d=>Ds(u,d,s,!0)),Ds(u,t,s)),Ke(t)&&i.set(t,u),u}function Ds(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Ds(e,i,n,!0),o&&o.forEach(s=>Ds(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=cb[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const cb={data:Xu,props:Zu,emits:Zu,methods:Zo,computed:Zo,beforeCreate:xt,created:xt,beforeMount:xt,mounted:xt,beforeUpdate:xt,updated:xt,beforeDestroy:xt,beforeUnmount:xt,destroyed:xt,unmounted:xt,activated:xt,deactivated:xt,errorCaptured:xt,serverPrefetch:xt,components:Zo,directives:Zo,watch:fb,provide:Xu,inject:ub};function Xu(e,t){return t?e?function(){return Ze(Se(e)?e.call(this,this):e,Se(t)?t.call(this,this):t)}:t:e}function ub(e,t){return Zo(zl(e),zl(t))}function zl(e){if(de(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function xt(e,t){return e?[...new Set([].concat(e,t))]:t}function Zo(e,t){return e?Ze(Object.create(null),e,t):t}function Zu(e,t){return e?de(e)&&de(t)?[...new Set([...e,...t])]:Ze(Object.create(null),vi(e),vi(t??{})):t}function fb(e,t){if(!e)return t;if(!t)return e;const n=Ze(Object.create(null),e);for(const r in t)n[r]=xt(e[r],t[r]);return n}function Dp(){return{app:null,config:{isNativeTag:Ly,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let db=0;function pb(e,t){return function(r,o=null){Se(r)||(r=Ze({},r)),o!=null&&!Ke(o)&&(o=null);const i=Dp(),s=new WeakSet;let a=!1;const u=i.app={_uid:db++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Bb,get config(){return i.config},set config(d){},use(d,...f){return s.has(d)||(d&&Se(d.install)?(s.add(d),d.install(u,...f)):Se(d)&&(s.add(d),d(u,...f))),u},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),u},component(d,f){return f?(i.components[d]=f,u):i.components[d]},directive(d,f){return f?(i.directives[d]=f,u):i.directives[d]},mount(d,f,p){if(!a){const g=Ue(r,o);return g.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(g,d):e(g,d,p),a=!0,u._container=d,d.__vue_app__=u,ra(g.component)||g.component.proxy}},unmount(){a&&(e(null,u._container),delete u._container.__vue_app__)},provide(d,f){return i.provides[d]=f,u},runWithContext(d){const f=fo;fo=u;try{return d()}finally{fo=f}}};return u}}let fo=null;function bs(e,t){if(gt){let n=gt.provides;const r=gt.parent&>.parent.provides;r===n&&(n=gt.provides=Object.create(r)),n[e]=t}}function hn(e,t,n=!1){const r=gt||dt;if(r||fo){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:fo._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Se(t)?t.call(r&&r.proxy):t}}function hb(){return!!(gt||dt||fo)}const Ip={},Mp=()=>Object.create(Ip),Lp=e=>Object.getPrototypeOf(e)===Ip;function gb(e,t,n,r=!1){const o={},i=Mp();e.propsDefaults=Object.create(null),Np(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:lp(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function mb(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=Ie(o),[u]=e.propsOptions;let d=!1;if((r||s>0)&&!(s&16)){if(s&8){const f=e.vnode.dynamicProps;for(let p=0;p<f.length;p++){let g=f[p];if(Xs(e.emitsOptions,g))continue;const w=t[g];if(u)if(Ne(i,g))w!==i[g]&&(i[g]=w,d=!0);else{const y=Lt(g);o[y]=Gl(u,a,y,w,e,!1)}else w!==i[g]&&(i[g]=w,d=!0)}}}else{Np(e,t,o,i)&&(d=!0);let f;for(const p in a)(!t||!Ne(t,p)&&((f=Yt(p))===p||!Ne(t,f)))&&(u?n&&(n[p]!==void 0||n[f]!==void 0)&&(o[p]=Gl(u,a,p,void 0,e,!0)):delete o[p]);if(i!==a)for(const p in i)(!t||!Ne(t,p))&&(delete i[p],d=!0)}d&&Kn(e.attrs,"set","")}function Np(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,a;if(t)for(let u in t){if(so(u))continue;const d=t[u];let f;o&&Ne(o,f=Lt(u))?!i||!i.includes(f)?n[f]=d:(a||(a={}))[f]=d:Xs(e.emitsOptions,u)||(!(u in r)||d!==r[u])&&(r[u]=d,s=!0)}if(i){const u=Ie(n),d=a||We;for(let f=0;f<i.length;f++){const p=i[f];n[p]=Gl(o,u,p,d[p],e,!Ne(d,p))}}return s}function Gl(e,t,n,r,o,i){const s=e[n];if(s!=null){const a=Ne(s,"default");if(a&&r===void 0){const u=s.default;if(s.type!==Function&&!s.skipFactory&&Se(u)){const{propsDefaults:d}=o;if(n in d)r=d[n];else{const f=jr(o);r=d[n]=u.call(null,t),f()}}else r=u}s[0]&&(i&&!a?r=!1:s[1]&&(r===""||r===Yt(n))&&(r=!0))}return r}function Fp(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},a=[];let u=!1;if(!Se(e)){const f=p=>{u=!0;const[g,w]=Fp(p,t,!0);Ze(s,g),w&&a.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!u)return Ke(e)&&r.set(e,oo),oo;if(de(i))for(let f=0;f<i.length;f++){const p=Lt(i[f]);ef(p)&&(s[p]=We)}else if(i)for(const f in i){const p=Lt(f);if(ef(p)){const g=i[f],w=s[p]=de(g)||Se(g)?{type:g}:Ze({},g);if(w){const y=rf(Boolean,w.type),E=rf(String,w.type);w[0]=y>-1,w[1]=E<0||y<E,(y>-1||Ne(w,"default"))&&a.push(p)}}}const d=[s,a];return Ke(e)&&r.set(e,d),d}function ef(e){return e[0]!=="$"&&!so(e)}function tf(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function nf(e,t){return tf(e)===tf(t)}function rf(e,t){return de(t)?t.findIndex(n=>nf(n,e)):Se(t)&&nf(t,e)?0:-1}const Bp=e=>e[0]==="_"||e==="$stable",Vc=e=>de(e)?e.map(Kt):[Kt(e)],yb=(e,t,n)=>{if(t._n)return t;const r=xn((...o)=>Vc(t(...o)),n);return r._c=!1,r},Up=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Bp(o))continue;const i=e[o];if(Se(i))t[o]=yb(o,i,r);else if(i!=null){const s=Vc(i);t[o]=()=>s}}},Hp=(e,t)=>{const n=Vc(t);e.slots.default=()=>n},vb=(e,t)=>{const n=e.slots=Mp();if(e.vnode.shapeFlag&32){const r=t._;r?(Ze(n,t),jd(n,"_",r)):Up(t,n)}else t&&Hp(e,t)},bb=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=We;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(Ze(o,t),!n&&a===1&&delete o._):(i=!t.$stable,Up(t,o)),s=t}else t&&(Hp(e,t),s={default:1});if(i)for(const a in o)!Bp(a)&&s[a]==null&&delete o[a]};function Is(e,t,n,r,o=!1){if(de(e)){e.forEach((g,w)=>Is(g,t&&(de(t)?t[w]:t),n,r,o));return}if(Nr(r)&&!o)return;const i=r.shapeFlag&4?ra(r.component)||r.component.proxy:r.el,s=o?null:i,{i:a,r:u}=e,d=t&&t.r,f=a.refs===We?a.refs={}:a.refs,p=a.setupState;if(d!=null&&d!==u&&(tt(d)?(f[d]=null,Ne(p,d)&&(p[d]=null)):qe(d)&&(d.value=null)),Se(u))mr(u,a,12,[s,f]);else{const g=tt(u),w=qe(u);if(g||w){const y=()=>{if(e.f){const E=g?Ne(p,u)?p[u]:f[u]:u.value;o?de(E)&&Ec(E,i):de(E)?E.includes(i)||E.push(i):g?(f[u]=[i],Ne(p,u)&&(p[u]=f[u])):(u.value=[i],e.k&&(f[e.k]=u.value))}else g?(f[u]=s,Ne(p,u)&&(p[u]=s)):w&&(u.value=s,e.k&&(f[e.k]=s))};s?(y.id=-1,_t(y,n)):y()}}}let nr=!1;const wb=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",_b=e=>e.namespaceURI.includes("MathML"),ss=e=>{if(wb(e))return"svg";if(_b(e))return"mathml"},as=e=>e.nodeType===8;function Cb(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:u,createComment:d}}=e,f=(C,m)=>{if(!m.hasChildNodes()){n(null,C,m),ks(),m._vnode=C;return}nr=!1,p(m.firstChild,C,null,null,null),ks(),m._vnode=C,nr&&console.error("Hydration completed but contains mismatches.")},p=(C,m,O,P,k,R=!1)=>{R=R||!!m.dynamicChildren;const N=as(C)&&C.data==="[",F=()=>E(C,m,O,P,k,N),{type:X,ref:_,shapeFlag:ne,patchFlag:ce}=m;let he=C.nodeType;m.el=C,ce===-2&&(R=!1,m.dynamicChildren=null);let V=null;switch(X){case mo:he!==3?m.children===""?(u(m.el=o(""),s(C),C),V=C):V=F():(C.data!==m.children&&(nr=!0,C.data=m.children),V=i(C));break;case At:x(C)?(V=i(C),A(m.el=C.content.firstChild,C,O)):he!==8||N?V=F():V=i(C);break;case po:if(N&&(C=i(C),he=C.nodeType),he===1||he===3){V=C;const K=!m.children.length;for(let J=0;J<m.staticCount;J++)K&&(m.children+=V.nodeType===1?V.outerHTML:V.data),J===m.staticCount-1&&(m.anchor=V),V=i(V);return N?i(V):V}else F();break;case Fe:N?V=y(C,m,O,P,k,R):V=F();break;default:if(ne&1)(he!==1||m.type.toLowerCase()!==C.tagName.toLowerCase())&&!x(C)?V=F():V=g(C,m,O,P,k,R);else if(ne&6){m.slotScopeIds=k;const K=s(C);if(N?V=I(C):as(C)&&C.data==="teleport start"?V=I(C,C.data,"teleport end"):V=i(C),t(m,K,null,O,P,ss(K),R),Nr(m)){let J;N?(J=Ue(Fe),J.anchor=V?V.previousSibling:K.lastChild):J=C.nodeType===3?na(""):Ue("div"),J.el=C,m.component.subTree=J}}else ne&64?he!==8?V=F():V=m.type.hydrate(C,m,O,P,k,R,e,w):ne&128&&(V=m.type.hydrate(C,m,O,P,ss(s(C)),k,R,e,p))}return _!=null&&Is(_,null,P,m),V},g=(C,m,O,P,k,R)=>{R=R||!!m.dynamicChildren;const{type:N,props:F,patchFlag:X,shapeFlag:_,dirs:ne,transition:ce}=m,he=N==="input"||N==="option";if(he||X!==-1){ne&&On(m,null,O,"created");let V=!1;if(x(C)){V=$p(P,ce)&&O&&O.vnode.props&&O.vnode.props.appear;const J=C.content.firstChild;V&&ce.beforeEnter(J),A(J,C,O),m.el=C=J}if(_&16&&!(F&&(F.innerHTML||F.textContent))){let J=w(C.firstChild,m,C,O,P,k,R);for(;J;){nr=!0;const Me=J;J=J.nextSibling,a(Me)}}else _&8&&C.textContent!==m.children&&(nr=!0,C.textContent=m.children);if(F)if(he||!R||X&48)for(const J in F)(he&&(J.endsWith("value")||J==="indeterminate")||xi(J)&&!so(J)||J[0]===".")&&r(C,J,null,F[J],void 0,void 0,O);else F.onClick&&r(C,"onClick",null,F.onClick,void 0,void 0,O);let K;(K=F&&F.onVnodeBeforeMount)&&It(K,O,m),ne&&On(m,null,O,"beforeMount"),((K=F&&F.onVnodeMounted)||ne||V)&&Sp(()=>{K&&It(K,O,m),V&&ce.enter(C),ne&&On(m,null,O,"mounted")},P)}return C.nextSibling},w=(C,m,O,P,k,R,N)=>{N=N||!!m.dynamicChildren;const F=m.children,X=F.length;for(let _=0;_<X;_++){const ne=N?F[_]:F[_]=Kt(F[_]);if(C)C=p(C,ne,P,k,R,N);else{if(ne.type===mo&&!ne.children)continue;nr=!0,n(null,ne,O,null,P,k,ss(O),R)}}return C},y=(C,m,O,P,k,R)=>{const{slotScopeIds:N}=m;N&&(k=k?k.concat(N):N);const F=s(C),X=w(i(C),m,F,O,P,k,R);return X&&as(X)&&X.data==="]"?i(m.anchor=X):(nr=!0,u(m.anchor=d("]"),F,X),X)},E=(C,m,O,P,k,R)=>{if(nr=!0,m.el=null,R){const X=I(C);for(;;){const _=i(C);if(_&&_!==X)a(_);else break}}const N=i(C),F=s(C);return a(C),n(null,m,F,N,O,P,ss(F),k),N},I=(C,m="[",O="]")=>{let P=0;for(;C;)if(C=i(C),C&&as(C)&&(C.data===m&&P++,C.data===O)){if(P===0)return i(C);P--}return C},A=(C,m,O)=>{const P=m.parentNode;P&&P.replaceChild(C,m);let k=O;for(;k;)k.vnode.el===m&&(k.vnode.el=k.subTree.el=C),k=k.parent},x=C=>C.nodeType===1&&C.tagName.toLowerCase()==="template";return[f,p]}const _t=Sp;function Sb(e){return jp(e)}function Tb(e){return jp(e,Cb)}function jp(e,t){const n=$d();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:u,setText:d,setElementText:f,parentNode:p,nextSibling:g,setScopeId:w=Ot,insertStaticContent:y}=e,E=(b,T,M,H=null,U=null,z=null,G=void 0,Y=null,Z=!!T.dynamicChildren)=>{if(b===T)return;b&&!dn(b,T)&&(H=B(b),He(b,U,z,!0),b=null),T.patchFlag===-2&&(Z=!1,T.dynamicChildren=null);const{type:j,ref:re,shapeFlag:pe}=T;switch(j){case mo:I(b,T,M,H);break;case At:A(b,T,M,H);break;case po:b==null&&x(T,M,H,G);break;case Fe:_(b,T,M,H,U,z,G,Y,Z);break;default:pe&1?O(b,T,M,H,U,z,G,Y,Z):pe&6?ne(b,T,M,H,U,z,G,Y,Z):(pe&64||pe&128)&&j.process(b,T,M,H,U,z,G,Y,Z,ie)}re!=null&&U&&Is(re,b&&b.ref,z,T||b,!T)},I=(b,T,M,H)=>{if(b==null)r(T.el=a(T.children),M,H);else{const U=T.el=b.el;T.children!==b.children&&d(U,T.children)}},A=(b,T,M,H)=>{b==null?r(T.el=u(T.children||""),M,H):T.el=b.el},x=(b,T,M,H)=>{[b.el,b.anchor]=y(b.children,T,M,H,b.el,b.anchor)},C=({el:b,anchor:T},M,H)=>{let U;for(;b&&b!==T;)U=g(b),r(b,M,H),b=U;r(T,M,H)},m=({el:b,anchor:T})=>{let M;for(;b&&b!==T;)M=g(b),o(b),b=M;o(T)},O=(b,T,M,H,U,z,G,Y,Z)=>{T.type==="svg"?G="svg":T.type==="math"&&(G="mathml"),b==null?P(T,M,H,U,z,G,Y,Z):N(b,T,U,z,G,Y,Z)},P=(b,T,M,H,U,z,G,Y)=>{let Z,j;const{props:re,shapeFlag:pe,transition:fe,dirs:te}=b;if(Z=b.el=s(b.type,z,re&&re.is,re),pe&8?f(Z,b.children):pe&16&&R(b.children,Z,null,H,U,yl(b,z),G,Y),te&&On(b,null,H,"created"),k(Z,b,b.scopeId,G,H),re){for(const Te in re)Te!=="value"&&!so(Te)&&i(Z,Te,null,re[Te],z,b.children,H,U,Be);"value"in re&&i(Z,"value",null,re.value,z),(j=re.onVnodeBeforeMount)&&It(j,H,b)}te&&On(b,null,H,"beforeMount");const ge=$p(U,fe);ge&&fe.beforeEnter(Z),r(Z,T,M),((j=re&&re.onVnodeMounted)||ge||te)&&_t(()=>{j&&It(j,H,b),ge&&fe.enter(Z),te&&On(b,null,H,"mounted")},U)},k=(b,T,M,H,U)=>{if(M&&w(b,M),H)for(let z=0;z<H.length;z++)w(b,H[z]);if(U){let z=U.subTree;if(T===z){const G=U.vnode;k(b,G,G.scopeId,G.slotScopeIds,U.parent)}}},R=(b,T,M,H,U,z,G,Y,Z=0)=>{for(let j=Z;j<b.length;j++){const re=b[j]=Y?dr(b[j]):Kt(b[j]);E(null,re,T,M,H,U,z,G,Y)}},N=(b,T,M,H,U,z,G)=>{const Y=T.el=b.el;let{patchFlag:Z,dynamicChildren:j,dirs:re}=T;Z|=b.patchFlag&16;const pe=b.props||We,fe=T.props||We;let te;if(M&&Pr(M,!1),(te=fe.onVnodeBeforeUpdate)&&It(te,M,T,b),re&&On(T,b,M,"beforeUpdate"),M&&Pr(M,!0),j?F(b.dynamicChildren,j,Y,M,H,yl(T,U),z):G||J(b,T,Y,null,M,H,yl(T,U),z,!1),Z>0){if(Z&16)X(Y,T,pe,fe,M,H,U);else if(Z&2&&pe.class!==fe.class&&i(Y,"class",null,fe.class,U),Z&4&&i(Y,"style",pe.style,fe.style,U),Z&8){const ge=T.dynamicProps;for(let Te=0;Te<ge.length;Te++){const ke=ge[Te],_e=pe[ke],Le=fe[ke];(Le!==_e||ke==="value")&&i(Y,ke,_e,Le,U,b.children,M,H,Be)}}Z&1&&b.children!==T.children&&f(Y,T.children)}else!G&&j==null&&X(Y,T,pe,fe,M,H,U);((te=fe.onVnodeUpdated)||re)&&_t(()=>{te&&It(te,M,T,b),re&&On(T,b,M,"updated")},H)},F=(b,T,M,H,U,z,G)=>{for(let Y=0;Y<T.length;Y++){const Z=b[Y],j=T[Y],re=Z.el&&(Z.type===Fe||!dn(Z,j)||Z.shapeFlag&70)?p(Z.el):M;E(Z,j,re,null,H,U,z,G,!0)}},X=(b,T,M,H,U,z,G)=>{if(M!==H){if(M!==We)for(const Y in M)!so(Y)&&!(Y in H)&&i(b,Y,M[Y],null,G,T.children,U,z,Be);for(const Y in H){if(so(Y))continue;const Z=H[Y],j=M[Y];Z!==j&&Y!=="value"&&i(b,Y,j,Z,G,T.children,U,z,Be)}"value"in H&&i(b,"value",M.value,H.value,G)}},_=(b,T,M,H,U,z,G,Y,Z)=>{const j=T.el=b?b.el:a(""),re=T.anchor=b?b.anchor:a("");let{patchFlag:pe,dynamicChildren:fe,slotScopeIds:te}=T;te&&(Y=Y?Y.concat(te):te),b==null?(r(j,M,H),r(re,M,H),R(T.children||[],M,re,U,z,G,Y,Z)):pe>0&&pe&64&&fe&&b.dynamicChildren?(F(b.dynamicChildren,fe,M,U,z,G,Y),(T.key!=null||U&&T===U.subTree)&&Wc(b,T,!0)):J(b,T,M,re,U,z,G,Y,Z)},ne=(b,T,M,H,U,z,G,Y,Z)=>{T.slotScopeIds=Y,b==null?T.shapeFlag&512?U.ctx.activate(T,M,H,G,Z):ce(T,M,H,U,z,G,Z):he(b,T,Z)},ce=(b,T,M,H,U,z,G)=>{const Y=b.component=zp(b,H,U);if(Ai(b)&&(Y.ctx.renderer=ie),Jp(Y),Y.asyncDep){if(U&&U.registerDep(Y,V),!b.el){const Z=Y.subTree=Ue(At);A(null,Z,T,M)}}else V(Y,b,T,M,U,z,G)},he=(b,T,M)=>{const H=T.component=b.component;if(Mv(b,T,M))if(H.asyncDep&&!H.asyncResolved){K(H,T,M);return}else H.next=T,Ov(H.update),H.effect.dirty=!0,H.update();else T.el=b.el,H.vnode=T},V=(b,T,M,H,U,z,G)=>{const Y=()=>{if(b.isMounted){let{next:re,bu:pe,u:fe,parent:te,vnode:ge}=b;{const Rt=Vp(b);if(Rt){re&&(re.el=ge.el,K(b,re,G)),Rt.asyncDep.then(()=>{b.isUnmounted||Y()});return}}let Te=re,ke;Pr(b,!1),re?(re.el=ge.el,K(b,re,G)):re=ge,pe&&ao(pe),(ke=re.props&&re.props.onVnodeBeforeUpdate)&&It(ke,te,re,ge),Pr(b,!0);const _e=vs(b),Le=b.subTree;b.subTree=_e,E(Le,_e,p(Le.el),B(Le),b,U,z),re.el=_e.el,Te===null&&Lc(b,_e.el),fe&&_t(fe,U),(ke=re.props&&re.props.onVnodeUpdated)&&_t(()=>It(ke,te,re,ge),U)}else{let re;const{el:pe,props:fe}=T,{bm:te,m:ge,parent:Te}=b,ke=Nr(T);if(Pr(b,!1),te&&ao(te),!ke&&(re=fe&&fe.onVnodeBeforeMount)&&It(re,Te,T),Pr(b,!0),pe&&Re){const _e=()=>{b.subTree=vs(b),Re(pe,b.subTree,b,U,null)};ke?T.type.__asyncLoader().then(()=>!b.isUnmounted&&_e()):_e()}else{const _e=b.subTree=vs(b);E(null,_e,M,H,b,U,z),T.el=_e.el}if(ge&&_t(ge,U),!ke&&(re=fe&&fe.onVnodeMounted)){const _e=T;_t(()=>It(re,Te,_e),U)}(T.shapeFlag&256||Te&&Nr(Te.vnode)&&Te.vnode.shapeFlag&256)&&b.a&&_t(b.a,U),b.isMounted=!0,T=M=H=null}},Z=b.effect=new ui(Y,Ot,()=>Qs(j),b.scope),j=b.update=()=>{Z.dirty&&Z.run()};j.id=b.uid,Pr(b,!0),j()},K=(b,T,M)=>{T.component=b;const H=b.vnode.props;b.vnode=T,b.next=null,mb(b,T.props,H,M),bb(b,T.children,M),_r(),Ku(b),Cr()},J=(b,T,M,H,U,z,G,Y,Z=!1)=>{const j=b&&b.children,re=b?b.shapeFlag:0,pe=T.children,{patchFlag:fe,shapeFlag:te}=T;if(fe>0){if(fe&128){ze(j,pe,M,H,U,z,G,Y,Z);return}else if(fe&256){Me(j,pe,M,H,U,z,G,Y,Z);return}}te&8?(re&16&&Be(j,U,z),pe!==j&&f(M,pe)):re&16?te&16?ze(j,pe,M,H,U,z,G,Y,Z):Be(j,U,z,!0):(re&8&&f(M,""),te&16&&R(pe,M,H,U,z,G,Y,Z))},Me=(b,T,M,H,U,z,G,Y,Z)=>{b=b||oo,T=T||oo;const j=b.length,re=T.length,pe=Math.min(j,re);let fe;for(fe=0;fe<pe;fe++){const te=T[fe]=Z?dr(T[fe]):Kt(T[fe]);E(b[fe],te,M,null,U,z,G,Y,Z)}j>re?Be(b,U,z,!0,!1,pe):R(T,M,H,U,z,G,Y,Z,pe)},ze=(b,T,M,H,U,z,G,Y,Z)=>{let j=0;const re=T.length;let pe=b.length-1,fe=re-1;for(;j<=pe&&j<=fe;){const te=b[j],ge=T[j]=Z?dr(T[j]):Kt(T[j]);if(dn(te,ge))E(te,ge,M,null,U,z,G,Y,Z);else break;j++}for(;j<=pe&&j<=fe;){const te=b[pe],ge=T[fe]=Z?dr(T[fe]):Kt(T[fe]);if(dn(te,ge))E(te,ge,M,null,U,z,G,Y,Z);else break;pe--,fe--}if(j>pe){if(j<=fe){const te=fe+1,ge=te<re?T[te].el:H;for(;j<=fe;)E(null,T[j]=Z?dr(T[j]):Kt(T[j]),M,ge,U,z,G,Y,Z),j++}}else if(j>fe)for(;j<=pe;)He(b[j],U,z,!0),j++;else{const te=j,ge=j,Te=new Map;for(j=ge;j<=fe;j++){const ue=T[j]=Z?dr(T[j]):Kt(T[j]);ue.key!=null&&Te.set(ue.key,j)}let ke,_e=0;const Le=fe-ge+1;let Rt=!1,on=0;const L=new Array(Le);for(j=0;j<Le;j++)L[j]=0;for(j=te;j<=pe;j++){const ue=b[j];if(_e>=Le){He(ue,U,z,!0);continue}let Ee;if(ue.key!=null)Ee=Te.get(ue.key);else for(ke=ge;ke<=fe;ke++)if(L[ke-ge]===0&&dn(ue,T[ke])){Ee=ke;break}Ee===void 0?He(ue,U,z,!0):(L[Ee-ge]=j+1,Ee>=on?on=Ee:Rt=!0,E(ue,T[Ee],M,null,U,z,G,Y,Z),_e++)}const ae=Rt?Eb(L):oo;for(ke=ae.length-1,j=Le-1;j>=0;j--){const ue=ge+j,Ee=T[ue],Oe=ue+1<re?T[ue+1].el:H;L[j]===0?E(null,Ee,M,Oe,U,z,G,Y,Z):Rt&&(ke<0||j!==ae[ke]?nt(Ee,M,Oe,2):ke--)}}},nt=(b,T,M,H,U=null)=>{const{el:z,type:G,transition:Y,children:Z,shapeFlag:j}=b;if(j&6){nt(b.component.subTree,T,M,H);return}if(j&128){b.suspense.move(T,M,H);return}if(j&64){G.move(b,T,M,ie);return}if(G===Fe){r(z,T,M);for(let pe=0;pe<Z.length;pe++)nt(Z[pe],T,M,H);r(b.anchor,T,M);return}if(G===po){C(b,T,M);return}if(H!==2&&j&1&&Y)if(H===0)Y.beforeEnter(z),r(z,T,M),_t(()=>Y.enter(z),U);else{const{leave:pe,delayLeave:fe,afterLeave:te}=Y,ge=()=>r(z,T,M),Te=()=>{pe(z,()=>{ge(),te&&te()})};fe?fe(z,ge,Te):Te()}else r(z,T,M)},He=(b,T,M,H=!1,U=!1)=>{const{type:z,props:G,ref:Y,children:Z,dynamicChildren:j,shapeFlag:re,patchFlag:pe,dirs:fe}=b;if(Y!=null&&Is(Y,null,M,b,!0),re&256){T.ctx.deactivate(b);return}const te=re&1&&fe,ge=!Nr(b);let Te;if(ge&&(Te=G&&G.onVnodeBeforeUnmount)&&It(Te,T,b),re&6)be(b.component,M,H);else{if(re&128){b.suspense.unmount(M,H);return}te&&On(b,null,T,"beforeUnmount"),re&64?b.type.remove(b,T,M,U,ie,H):j&&(z!==Fe||pe>0&&pe&64)?Be(j,T,M,!1,!0):(z===Fe&&pe&384||!U&&re&16)&&Be(Z,T,M),H&&ct(b)}(ge&&(Te=G&&G.onVnodeUnmounted)||te)&&_t(()=>{Te&&It(Te,T,b),te&&On(b,null,T,"unmounted")},M)},ct=b=>{const{type:T,el:M,anchor:H,transition:U}=b;if(T===Fe){je(M,H);return}if(T===po){m(b);return}const z=()=>{o(M),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(b.shapeFlag&1&&U&&!U.persisted){const{leave:G,delayLeave:Y}=U,Z=()=>G(M,z);Y?Y(b.el,z,Z):Z()}else z()},je=(b,T)=>{let M;for(;b!==T;)M=g(b),o(b),b=M;o(T)},be=(b,T,M)=>{const{bum:H,scope:U,update:z,subTree:G,um:Y}=b;H&&ao(H),U.stop(),z&&(z.active=!1,He(G,b,T,M)),Y&&_t(Y,T),_t(()=>{b.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},Be=(b,T,M,H=!1,U=!1,z=0)=>{for(let G=z;G<b.length;G++)He(b[G],T,M,H,U)},B=b=>b.shapeFlag&6?B(b.component.subTree):b.shapeFlag&128?b.suspense.next():g(b.anchor||b.el);let Q=!1;const ee=(b,T,M)=>{b==null?T._vnode&&He(T._vnode,null,null,!0):E(T._vnode||null,b,T,null,null,null,M),Q||(Q=!0,Ku(),ks(),Q=!1),T._vnode=b},ie={p:E,um:He,m:nt,r:ct,mt:ce,mc:R,pc:J,pbc:F,n:B,o:e};let Pe,Re;return t&&([Pe,Re]=t(ie)),{render:ee,hydrate:Pe,createApp:pb(ee,Pe)}}function yl({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Pr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function $p(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wc(e,t,n=!1){const r=e.children,o=t.children;if(de(r)&&de(o))for(let i=0;i<r.length;i++){const s=r[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=dr(o[i]),a.el=s.el),n||Wc(s,a)),a.type===mo&&(a.el=s.el)}}function Eb(e){const t=e.slice(),n=[0];let r,o,i,s,a;const u=e.length;for(r=0;r<u;r++){const d=e[r];if(d!==0){if(o=n[n.length-1],e[o]<d){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<d?i=a+1:s=a;d<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Vp(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Vp(t)}const Pb=e=>e.__isTeleport,ti=e=>e&&(e.disabled||e.disabled===""),of=e=>typeof SVGElement<"u"&&e instanceof SVGElement,sf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Jl=(e,t)=>{const n=e&&e.to;return tt(n)?t?t(n):null:n},xb={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,u,d){const{mc:f,pc:p,pbc:g,o:{insert:w,querySelector:y,createText:E,createComment:I}}=d,A=ti(t.props);let{shapeFlag:x,children:C,dynamicChildren:m}=t;if(e==null){const O=t.el=E(""),P=t.anchor=E("");w(O,n,r),w(P,n,r);const k=t.target=Jl(t.props,y),R=t.targetAnchor=E("");k&&(w(R,k),s==="svg"||of(k)?s="svg":(s==="mathml"||sf(k))&&(s="mathml"));const N=(F,X)=>{x&16&&f(C,F,X,o,i,s,a,u)};A?N(n,P):k&&N(k,R)}else{t.el=e.el;const O=t.anchor=e.anchor,P=t.target=e.target,k=t.targetAnchor=e.targetAnchor,R=ti(e.props),N=R?n:P,F=R?O:k;if(s==="svg"||of(P)?s="svg":(s==="mathml"||sf(P))&&(s="mathml"),m?(g(e.dynamicChildren,m,N,o,i,s,a),Wc(e,t,!0)):u||p(e,t,N,F,o,i,s,a,!1),A)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ls(t,n,O,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const X=t.target=Jl(t.props,y);X&&ls(t,X,null,d,0)}else R&&ls(t,P,k,d,1)}Wp(t)},remove(e,t,n,r,{um:o,o:{remove:i}},s){const{shapeFlag:a,children:u,anchor:d,targetAnchor:f,target:p,props:g}=e;if(p&&i(f),s&&i(d),a&16){const w=s||!ti(g);for(let y=0;y<u.length;y++){const E=u[y];o(E,t,n,w,!!E.dynamicChildren)}}},move:ls,hydrate:Ob};function ls(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:u,children:d,props:f}=e,p=i===2;if(p&&r(s,t,n),(!p||ti(f))&&u&16)for(let g=0;g<d.length;g++)o(d[g],t,n,2);p&&r(a,t,n)}function Ob(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:a,querySelector:u}},d){const f=t.target=Jl(t.props,u);if(f){const p=f._lpa||f.firstChild;if(t.shapeFlag&16)if(ti(t.props))t.anchor=d(s(e),t,a(e),n,r,o,i),t.targetAnchor=p;else{t.anchor=s(e);let g=p;for(;g;)if(g=s(g),g&&g.nodeType===8&&g.data==="teleport anchor"){t.targetAnchor=g,f._lpa=t.targetAnchor&&s(t.targetAnchor);break}d(p,t,f,n,r,o,i)}Wp(t)}return t.anchor&&s(t.anchor)}const XO=xb;function Wp(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Fe=Symbol.for("v-fgt"),mo=Symbol.for("v-txt"),At=Symbol.for("v-cmt"),po=Symbol.for("v-stc"),ni=[];let Mt=null;function oe(e=!1){ni.push(Mt=e?null:[])}function qp(){ni.pop(),Mt=ni[ni.length-1]||null}let Hr=1;function af(e){Hr+=e}function Kp(e){return e.dynamicChildren=Hr>0?Mt||oo:null,qp(),Hr>0&&Mt&&Mt.push(e),e}function se(e,t,n,r,o,i){return Kp(we(e,t,n,r,o,i,!0))}function bi(e,t,n,r,o){return Kp(Ue(e,t,n,r,o,!0))}function vr(e){return e?e.__v_isVNode===!0:!1}function dn(e,t){return e.type===t.type&&e.key===t.key}function ZO(e){}const Yp=({key:e})=>e??null,ws=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?tt(e)||qe(e)||Se(e)?{i:dt,r:e,k:t,f:!!n}:e:null);function we(e,t=null,n=null,r=0,o=null,i=e===Fe?0:1,s=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yp(t),ref:t&&ws(t),scopeId:Zs,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:dt};return a?(qc(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=tt(n)?8:16),Hr>0&&!s&&Mt&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&Mt.push(u),u}const Ue=Ab;function Ab(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===_p)&&(e=At),vr(e)){const a=Qn(e,t,!0);return n&&qc(a,n),Hr>0&&!i&&Mt&&(a.shapeFlag&6?Mt[Mt.indexOf(e)]=a:Mt.push(a)),a.patchFlag|=-2,a}if(Nb(e)&&(e=e.__vccOpts),t){t=Rb(t);let{class:a,style:u}=t;a&&!tt(a)&&(t.class=it(a)),Ke(u)&&(up(u)&&!de(u)&&(u=Ze({},u)),t.style=Ro(u))}const s=tt(e)?1:Cp(e)?128:Pb(e)?64:Ke(e)?4:Se(e)?2:0;return we(e,t,n,r,o,s,i,!0)}function Rb(e){return e?up(e)||Lp(e)?Ze({},e):e:null}function Qn(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,a=t?kb(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Yp(a),ref:t&&t.ref?n&&o?de(o)?o.concat(ws(t)):[o,ws(t)]:ws(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qn(e.ssContent),ssFallback:e.ssFallback&&Qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function na(e=" ",t=0){return Ue(mo,null,e,t)}function eA(e,t){const n=Ue(po,null,e);return n.staticCount=t,n}function ve(e="",t=!1){return t?(oe(),bi(At,null,e)):Ue(At,null,e)}function Kt(e){return e==null||typeof e=="boolean"?Ue(At):de(e)?Ue(Fe,null,e.slice()):typeof e=="object"?dr(e):Ue(mo,null,String(e))}function dr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qn(e)}function qc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(de(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),qc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Lp(t)?t._ctx=dt:o===3&&dt&&(dt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Se(t)?(t={default:t,_ctx:dt},n=32):(t=String(t),r&64?(n=16,t=[na(t)]):n=8);e.children=t,e.shapeFlag|=n}function kb(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=it([t.class,r.class]));else if(o==="style")t.style=Ro([t.style,r.style]);else if(xi(o)){const i=t[o],s=r[o];s&&i!==s&&!(de(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function It(e,t,n,r=null){Xt(e,t,7,[n,r])}const Db=Dp();let Ib=0;function zp(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Db,i={uid:Ib++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new qd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Fp(r,o),emitsOptions:wp(r,o),emit:null,emitted:null,propsDefaults:We,inheritAttrs:r.inheritAttrs,ctx:We,data:We,props:We,attrs:We,slots:We,refs:We,setupState:We,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Rv.bind(null,i),e.ce&&e.ce(i),i}let gt=null;const Zn=()=>gt||dt;let Ms,Ql;{const e=$d(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};Ms=t("__VUE_INSTANCE_SETTERS__",n=>gt=n),Ql=t("__VUE_SSR_SETTERS__",n=>Ri=n)}const jr=e=>{const t=gt;return Ms(e),e.scope.on(),()=>{e.scope.off(),Ms(t)}},Xl=()=>{gt&>.scope.off(),Ms(null)};function Gp(e){return e.vnode.shapeFlag&4}let Ri=!1;function Jp(e,t=!1){t&&Ql(t);const{props:n,children:r}=e.vnode,o=Gp(e);gb(e,n,o,t),vb(e,r);const i=o?Mb(e,t):void 0;return t&&Ql(!1),i}function Mb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kl);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Xp(e):null,i=jr(e);_r();const s=mr(r,e,0,[e.props,o]);if(Cr(),i(),Pc(s)){if(s.then(Xl,Xl),t)return s.then(a=>{Zl(e,a,t)}).catch(a=>{Do(a,e,0)});e.asyncDep=s}else Zl(e,s,t)}else Qp(e,t)}function Zl(e,t,n){Se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ke(t)&&(e.setupState=hp(t)),Qp(e,n)}let Ls,ec;function tA(e){Ls=e,ec=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,sb))}}const nA=()=>!Ls;function Qp(e,t,n){const r=e.type;if(!e.render){if(!t&&Ls&&!r.render){const o=r.template||$c(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:u}=r,d=Ze(Ze({isCustomElement:i,delimiters:a},s),u);r.render=Ls(o,d)}}e.render=r.render||Ot,ec&&ec(e)}{const o=jr(e);_r();try{ab(e)}finally{Cr(),o()}}}const Lb={get(e,t){return Bt(e,"get",""),e[t]}};function Xp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Lb),slots:e.slots,emit:e.emit,expose:t}}function ra(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hp(kc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ei)return ei[n](e)},has(t,n){return n in t||n in ei}}))}function tc(e,t=!0){return Se(e)?e.displayName||e.name:e.name||t&&e.__name}function Nb(e){return Se(e)&&"__vccOpts"in e}const Qt=(e,t)=>yv(e,t,Ri);function rA(e,t,n=We){const r=Zn(),o=Lt(t),i=Yt(t),s=_v((u,d)=>{let f;return qv(()=>{const p=e[t];gn(f,p)&&(f=p,d())}),{get(){return u(),n.get?n.get(f):f},set(p){const g=r.vnode.props;!(g&&(t in g||o in g||i in g)&&(`onUpdate:${t}`in g||`onUpdate:${o}`in g||`onUpdate:${i}`in g))&&gn(p,f)&&(f=p,d()),r.emit(`update:${t}`,n.set?n.set(p):p)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return s[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?e[a]||{}:s,done:!1}:{done:!0}}}},s}function qn(e,t,n){const r=arguments.length;return r===2?Ke(t)&&!de(t)?vr(t)?Ue(e,null,[t]):Ue(e,t):Ue(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&vr(n)&&(n=[n]),Ue(e,t,n))}function oA(){}function iA(e,t,n,r){const o=n[r];if(o&&Fb(o,e))return o;const i=t();return i.memo=e.slice(),n[r]=i}function Fb(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(gn(n[r],t[r]))return!1;return Hr>0&&Mt&&Mt.push(e),!0}const Bb="3.4.25",sA=Ot,aA=Ev,lA=no,cA=bp,Ub={createComponentInstance:zp,setupComponent:Jp,renderComponentRoot:vs,setCurrentRenderingInstance:gi,isVNode:vr,normalizeVNode:Kt},uA=Ub,fA=null,dA=null,pA=null;/** * @vue/runtime-dom v3.4.25 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Hb="http://www.w3.org/2000/svg",jb="http://www.w3.org/1998/Math/MathML",pr=typeof document<"u"?document:null,lf=pr&&pr.createElement("template"),$b={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?pr.createElementNS(Hb,e):t==="mathml"?pr.createElementNS(jb,e):pr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>pr.createTextNode(e),createComment:e=>pr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{lf.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=lf.content;if(r==="svg"||r==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},rr="transition",Wo="animation",yo=Symbol("_vtc"),Zp=(e,{slots:t})=>qn(Gv,th(e),t);Zp.displayName="Transition";const eh={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},Vb=Zp.props=Ze({},Pp,eh),xr=(e,t=[])=>{de(e)?e.forEach(n=>n(...t)):e&&e(...t)},cf=e=>e?de(e)?e.some(t=>t.length>1):e.length>1:!1;function th(e){const t={};for(const _ in e)_ in eh||(t[_]=e[_]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:u=i,appearActiveClass:d=s,appearToClass:f=a,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:w=`${n}-leave-to`}=e,y=Wb(o),E=y&&y[0],I=y&&y[1],{onBeforeEnter:A,onEnter:x,onEnterCancelled:C,onLeave:m,onLeaveCancelled:O,onBeforeAppear:P=A,onAppear:k=x,onAppearCancelled:R=C}=t,N=(_,ne,ce)=>{lr(_,ne?f:a),lr(_,ne?d:s),ce&&ce()},F=(_,ne)=>{_._isLeaving=!1,lr(_,p),lr(_,w),lr(_,g),ne&&ne()},X=_=>(ne,ce)=>{const he=_?k:x,V=()=>N(ne,_,ce);xr(he,[ne,V]),uf(()=>{lr(ne,_?u:i),$n(ne,_?f:a),cf(he)||ff(ne,r,E,V)})};return Ze(t,{onBeforeEnter(_){xr(A,[_]),$n(_,i),$n(_,s)},onBeforeAppear(_){xr(P,[_]),$n(_,u),$n(_,d)},onEnter:X(!1),onAppear:X(!0),onLeave(_,ne){_._isLeaving=!0;const ce=()=>F(_,ne);$n(_,p),$n(_,g),rh(),uf(()=>{_._isLeaving&&(lr(_,p),$n(_,w),cf(m)||ff(_,r,I,ce))}),xr(m,[_,ce])},onEnterCancelled(_){N(_,!1),xr(C,[_])},onAppearCancelled(_){N(_,!0),xr(R,[_])},onLeaveCancelled(_){F(_),xr(O,[_])}})}function Wb(e){if(e==null)return null;if(Ke(e))return[vl(e.enter),vl(e.leave)];{const t=vl(e);return[t,t]}}function vl(e){return Os(e)}function $n(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[yo]||(e[yo]=new Set)).add(t)}function lr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[yo];n&&(n.delete(t),n.size||(e[yo]=void 0))}function uf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let qb=0;function ff(e,t,n,r){const o=e._endId=++qb,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:u}=nh(e,t);if(!s)return r();const d=s+"end";let f=0;const p=()=>{e.removeEventListener(d,g),i()},g=w=>{w.target===e&&++f>=u&&p()};setTimeout(()=>{f<u&&p()},a+1),e.addEventListener(d,g)}function nh(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),o=r(`${rr}Delay`),i=r(`${rr}Duration`),s=df(o,i),a=r(`${Wo}Delay`),u=r(`${Wo}Duration`),d=df(a,u);let f=null,p=0,g=0;t===rr?s>0&&(f=rr,p=s,g=i.length):t===Wo?d>0&&(f=Wo,p=d,g=u.length):(p=Math.max(s,d),f=p>0?s>d?rr:Wo:null,g=f?f===rr?i.length:u.length:0);const w=f===rr&&/\b(transform|all)(,|$)/.test(r(`${rr}Property`).toString());return{type:f,timeout:p,propCount:g,hasTransform:w}}function df(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>pf(n)+pf(e[r])))}function pf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function rh(){return document.body.offsetHeight}function Kb(e,t,n){const r=e[yo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ns=Symbol("_vod"),oh=Symbol("_vsh"),Yb={beforeMount(e,{value:t},{transition:n}){e[Ns]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):qo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),qo(e,!0),r.enter(e)):r.leave(e,()=>{qo(e,!1)}):qo(e,t))},beforeUnmount(e,{value:t}){qo(e,t)}};function qo(e,t){e.style.display=t?e[Ns]:"none",e[oh]=!t}function zb(){Yb.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const ih=Symbol("");function hA(e){const t=Zn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>rc(i,o))},r=()=>{const o=e(t.proxy);nc(t.subTree,o),n(o)};Wr(()=>{Wv(r);const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),ta(()=>o.disconnect())})}function nc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{nc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)rc(e.el,t);else if(e.type===Fe)e.children.forEach(n=>nc(n,t));else if(e.type===po){let{el:n,anchor:r}=e;for(;n&&(rc(n,t),n!==r);)n=n.nextSibling}}function rc(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[ih]=r}}const Gb=/(^|;)\s*display\s*:/;function Jb(e,t,n){const r=e.style,o=tt(n);let i=!1;if(n&&!o){if(t)if(tt(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&_s(r,a,"")}else for(const s in t)n[s]==null&&_s(r,s,"");for(const s in n)s==="display"&&(i=!0),_s(r,s,n[s])}else if(o){if(t!==n){const s=r[ih];s&&(n+=";"+s),r.cssText=n,i=Gb.test(n)}}else t&&e.removeAttribute("style");Ns in e&&(e[Ns]=i?r.display:"",e[oh]&&(r.display="none"))}const hf=/\s*!important$/;function _s(e,t,n){if(de(n))n.forEach(r=>_s(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Qb(e,t);hf.test(n)?e.setProperty(Yt(r),n.replace(hf,""),"important"):e[r]=n}}const gf=["Webkit","Moz","ms"],bl={};function Qb(e,t){const n=bl[t];if(n)return n;let r=Lt(t);if(r!=="filter"&&r in e)return bl[t]=r;r=Ks(r);for(let o=0;o<gf.length;o++){const i=gf[o]+r;if(i in e)return bl[t]=i}return t}const mf="http://www.w3.org/1999/xlink";function Xb(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(mf,t.slice(6,t.length)):e.setAttributeNS(mf,t,n);else{const i=zy(t);n==null||i&&!Vd(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Zb(e,t,n,r,o,i,s){if(t==="innerHTML"||t==="textContent"){r&&s(r,o,i),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const d=a==="OPTION"?e.getAttribute("value")||"":e.value,f=n??"";(d!==f||!("_value"in e))&&(e.value=f),n==null&&e.removeAttribute(t),e._value=n;return}let u=!1;if(n===""||n==null){const d=typeof e[t];d==="boolean"?n=Vd(n):n==null&&d==="string"?(n="",u=!0):d==="number"&&(n=0,u=!0)}try{e[t]=n}catch{}u&&e.removeAttribute(t)}function Wn(e,t,n,r){e.addEventListener(t,n,r)}function ew(e,t,n,r){e.removeEventListener(t,n,r)}const yf=Symbol("_vei");function tw(e,t,n,r,o=null){const i=e[yf]||(e[yf]={}),s=i[t];if(r&&s)s.value=r;else{const[a,u]=nw(t);if(r){const d=i[t]=iw(r,o);Wn(e,a,d,u)}else s&&(ew(e,a,s,u),i[t]=void 0)}}const vf=/(?:Once|Passive|Capture)$/;function nw(e){let t;if(vf.test(e)){t={};let r;for(;r=e.match(vf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yt(e.slice(2)),t]}let wl=0;const rw=Promise.resolve(),ow=()=>wl||(rw.then(()=>wl=0),wl=Date.now());function iw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Xt(sw(r,n.value),t,5,[r])};return n.value=e,n.attached=ow(),n}function sw(e,t){if(de(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const bf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,aw=(e,t,n,r,o,i,s,a,u)=>{const d=o==="svg";t==="class"?Kb(e,r,d):t==="style"?Jb(e,n,r):xi(t)?Tc(t)||tw(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):lw(e,t,r,d))?Zb(e,t,r,i,s,a,u):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Xb(e,t,r,d))};function lw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&bf(t)&&Se(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return bf(t)&&tt(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function cw(e,t){const n=Mo(e);class r extends Kc{constructor(i){super(n,i,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const gA=e=>cw(e,Cw),uw=typeof HTMLElement<"u"?HTMLElement:class{};class Kc extends uw{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(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),Io(()=>{this._connected||(Ef(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{const{props:i,styles:s}=r;let a;if(i&&!de(i))for(const u in i){const d=i[u];(d===Number||d&&d.type===Number)&&(u in this._props&&(this._props[u]=Os(this._props[u])),(a||(a=Object.create(null)))[Lt(u)]=!0)}this._numberProps=a,o&&this._resolveProps(r),this._applyStyles(s),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=de(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of r.map(Lt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const r=Lt(t);this._numberProps&&this._numberProps[r]&&(n=Os(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(Yt(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Yt(t),n+""):n||this.removeAttribute(Yt(t))))}_update(){Ef(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Ue(this._def,Ze({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(i,s)=>{this.dispatchEvent(new CustomEvent(i,{detail:s}))};n.emit=(i,...s)=>{r(i,s),Yt(i)!==i&&r(Yt(i),s)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Kc){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function mA(e="$style"){{const t=Zn();if(!t)return We;const n=t.type.__cssModules;if(!n)return We;const r=n[e];return r||We}}const sh=new WeakMap,ah=new WeakMap,Fs=Symbol("_moveCb"),wf=Symbol("_enterCb"),lh={name:"TransitionGroup",props:Ze({},Vb,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Zn(),r=Ep();let o,i;return Hc(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!gw(o[0].el,n.vnode.el,s))return;o.forEach(dw),o.forEach(pw);const a=o.filter(hw);rh(),a.forEach(u=>{const d=u.el,f=d.style;$n(d,s),f.transform=f.webkitTransform=f.transitionDuration="";const p=d[Fs]=g=>{g&&g.target!==d||(!g||/transform$/.test(g.propertyName))&&(d.removeEventListener("transitionend",p),d[Fs]=null,lr(d,s))};d.addEventListener("transitionend",p)})}),()=>{const s=Ie(e),a=th(s);let u=s.tag||Fe;if(o=[],i)for(let d=0;d<i.length;d++){const f=i[d];f.el&&f.el instanceof Element&&(o.push(f),go(f,yi(f,a,r,n)),sh.set(f,f.el.getBoundingClientRect()))}i=t.default?Uc(t.default()):[];for(let d=0;d<i.length;d++){const f=i[d];f.key!=null&&go(f,yi(f,a,r,n))}return Ue(u,null,i)}}},fw=e=>delete e.mode;lh.props;const yA=lh;function dw(e){const t=e.el;t[Fs]&&t[Fs](),t[wf]&&t[wf]()}function pw(e){ah.set(e,e.el.getBoundingClientRect())}function hw(e){const t=sh.get(e),n=ah.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",e}}function gw(e,t,n){const r=e.cloneNode(),o=e[yo];o&&o.forEach(a=>{a.split(/\s+/).forEach(u=>u&&r.classList.remove(u))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=nh(r);return i.removeChild(r),s}const br=e=>{const t=e.props["onUpdate:modelValue"]||!1;return de(t)?n=>ao(t,n):t};function mw(e){e.target.composing=!0}function _f(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Zt=Symbol("_assign"),oc={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Zt]=br(o);const i=r||o.props&&o.props.type==="number";Wn(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=xs(a)),e[Zt](a)}),n&&Wn(e,"change",()=>{e.value=e.value.trim()}),t||(Wn(e,"compositionstart",mw),Wn(e,"compositionend",_f),Wn(e,"change",_f))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},i){if(e[Zt]=br(i),e.composing)return;const s=(o||e.type==="number")&&!/^0\d/.test(e.value)?xs(e.value):e.value,a=t??"";s!==a&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===a)||(e.value=a))}},ch={deep:!0,created(e,t,n){e[Zt]=br(n),Wn(e,"change",()=>{const r=e._modelValue,o=vo(e),i=e.checked,s=e[Zt];if(de(r)){const a=Ys(r,o),u=a!==-1;if(i&&!u)s(r.concat(o));else if(!i&&u){const d=[...r];d.splice(a,1),s(d)}}else if(Vr(r)){const a=new Set(r);i?a.add(o):a.delete(o),s(a)}else s(dh(e,i))})},mounted:Cf,beforeUpdate(e,t,n){e[Zt]=br(n),Cf(e,t,n)}};function Cf(e,{value:t,oldValue:n},r){e._modelValue=t,de(t)?e.checked=Ys(t,r.props.value)>-1:Vr(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=yr(t,dh(e,!0)))}const uh={created(e,{value:t},n){e.checked=yr(t,n.props.value),e[Zt]=br(n),Wn(e,"change",()=>{e[Zt](vo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Zt]=br(r),t!==n&&(e.checked=yr(t,r.props.value))}},fh={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Vr(t);Wn(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?xs(vo(s)):vo(s));e[Zt](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,Io(()=>{e._assigning=!1})}),e[Zt]=br(r)},mounted(e,{value:t,modifiers:{number:n}}){Sf(e,t)},beforeUpdate(e,t,n){e[Zt]=br(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Sf(e,t)}};function Sf(e,t,n){const r=e.multiple,o=de(t);if(!(r&&!o&&!Vr(t))){for(let i=0,s=e.options.length;i<s;i++){const a=e.options[i],u=vo(a);if(r)if(o){const d=typeof u;d==="string"||d==="number"?a.selected=t.some(f=>String(f)===String(u)):a.selected=Ys(t,u)>-1}else a.selected=t.has(u);else if(yr(vo(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function vo(e){return"_value"in e?e._value:e.value}function dh(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const yw={created(e,t,n){cs(e,t,n,null,"created")},mounted(e,t,n){cs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){cs(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){cs(e,t,n,r,"updated")}};function ph(e,t){switch(e){case"SELECT":return fh;case"TEXTAREA":return oc;default:switch(t){case"checkbox":return ch;case"radio":return uh;default:return oc}}}function cs(e,t,n,r,o){const s=ph(e.tagName,n.props&&n.props.type)[o];s&&s(e,t,n,r)}function vw(){oc.getSSRProps=({value:e})=>({value:e}),uh.getSSRProps=({value:e},t)=>{if(t.props&&yr(t.props.value,e))return{checked:!0}},ch.getSSRProps=({value:e},t)=>{if(de(e)){if(t.props&&Ys(e,t.props.value)>-1)return{checked:!0}}else if(Vr(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},yw.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=ph(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const bw=["ctrl","shift","alt","meta"],ww={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)=>bw.some(n=>e[`${n}Key`]&&!t.includes(n))},wr=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let s=0;s<t.length;s++){const a=ww[t[s]];if(a&&a(o,t))return}return e(o,...i)})},_w={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Yc=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=Yt(o.key);if(t.some(s=>s===i||_w[s]===i))return e(o)})},hh=Ze({patchProp:aw},$b);let ri,Tf=!1;function gh(){return ri||(ri=Sb(hh))}function mh(){return ri=Tf?ri:Tb(hh),Tf=!0,ri}const Ef=(...e)=>{gh().render(...e)},Cw=(...e)=>{mh().hydrate(...e)},ic=(...e)=>{const t=gh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=vh(r);if(!o)return;const i=t._component;!Se(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,yh(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},vA=(...e)=>{const t=mh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=vh(r);if(o)return n(o,!0,yh(o))},t};function yh(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function vh(e){return tt(e)?document.querySelector(e):e}let Pf=!1;const bA=()=>{Pf||(Pf=!0,vw(),zb())};/*! * vue-good-table-next v0.2.0 * (c) 2021-present Boris Flesch <boris@singlequote.net> * (c) 2017-2021 xaksis <shay@crayonbits.com> * @license MIT */const Sw="asc",wt={Ascending:"asc",Descending:"desc",None:"none"},bh={Pages:"pages",Records:"records"},Tw=[10,20,30,40,50];var us=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sc={exports:{}};(function(e,t){var n=200,r="__lodash_hash_undefined__",o=1,i=2,s=9007199254740991,a="[object Arguments]",u="[object Array]",d="[object AsyncFunction]",f="[object Boolean]",p="[object Date]",g="[object Error]",w="[object Function]",y="[object GeneratorFunction]",E="[object Map]",I="[object Number]",A="[object Null]",x="[object Object]",C="[object Promise]",m="[object Proxy]",O="[object RegExp]",P="[object Set]",k="[object String]",R="[object Symbol]",N="[object Undefined]",F="[object WeakMap]",X="[object ArrayBuffer]",_="[object DataView]",ne="[object Float32Array]",ce="[object Float64Array]",he="[object Int8Array]",V="[object Int16Array]",K="[object Int32Array]",J="[object Uint8Array]",Me="[object Uint8ClampedArray]",ze="[object Uint16Array]",nt="[object Uint32Array]",He=/[\\^$.*+?()[\]{}|]/g,ct=/^\[object .+?Constructor\]$/,je=/^(?:0|[1-9]\d*)$/,be={};be[ne]=be[ce]=be[he]=be[V]=be[K]=be[J]=be[Me]=be[ze]=be[nt]=!0,be[a]=be[u]=be[X]=be[f]=be[_]=be[p]=be[g]=be[w]=be[E]=be[I]=be[x]=be[O]=be[P]=be[k]=be[F]=!1;var Be=typeof us=="object"&&us&&us.Object===Object&&us,B=typeof self=="object"&&self&&self.Object===Object&&self,Q=Be||B||Function("return this")(),ee=t&&!t.nodeType&&t,ie=ee&&!0&&e&&!e.nodeType&&e,Pe=ie&&ie.exports===ee,Re=Pe&&Be.process,b=function(){try{return Re&&Re.binding&&Re.binding("util")}catch{}}(),T=b&&b.isTypedArray;function M(v,D){for(var W=-1,le=v==null?0:v.length,Ye=0,xe=[];++W<le;){var et=v[W];D(et,W,v)&&(xe[Ye++]=et)}return xe}function H(v,D){for(var W=-1,le=D.length,Ye=v.length;++W<le;)v[Ye+W]=D[W];return v}function U(v,D){for(var W=-1,le=v==null?0:v.length;++W<le;)if(D(v[W],W,v))return!0;return!1}function z(v,D){for(var W=-1,le=Array(v);++W<v;)le[W]=D(W);return le}function G(v){return function(D){return v(D)}}function Y(v,D){return v.has(D)}function Z(v,D){return v==null?void 0:v[D]}function j(v){var D=-1,W=Array(v.size);return v.forEach(function(le,Ye){W[++D]=[Ye,le]}),W}function re(v,D){return function(W){return v(D(W))}}function pe(v){var D=-1,W=Array(v.size);return v.forEach(function(le){W[++D]=le}),W}var fe=Array.prototype,te=Function.prototype,ge=Object.prototype,Te=Q["__core-js_shared__"],ke=te.toString,_e=ge.hasOwnProperty,Le=function(){var v=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||"");return v?"Symbol(src)_1."+v:""}(),Rt=ge.toString,on=RegExp("^"+ke.call(_e).replace(He,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=Pe?Q.Buffer:void 0,ae=Q.Symbol,ue=Q.Uint8Array,Ee=ge.propertyIsEnumerable,Oe=fe.splice,Ge=ae?ae.toStringTag:void 0,mt=Object.getOwnPropertySymbols,vn=L?L.isBuffer:void 0,Ce=re(Object.keys,Object),Ut=Un(Q,"DataView"),sn=Un(Q,"Map"),bn=Un(Q,"Promise"),Gt=Un(Q,"Set"),Ht=Un(Q,"WeakMap"),an=Un(Object,"create"),er=Hn(Ut),_a=Hn(sn),Ca=Hn(bn),Sa=Hn(Gt),No=Hn(Ht),Ni=ae?ae.prototype:void 0,Fo=Ni?Ni.valueOf:void 0;function jt(v){var D=-1,W=v==null?0:v.length;for(this.clear();++D<W;){var le=v[D];this.set(le[0],le[1])}}function Ta(){this.__data__=an?an(null):{},this.size=0}function Ea(v){var D=this.has(v)&&delete this.__data__[v];return this.size-=D?1:0,D}function Pa(v){var D=this.__data__;if(an){var W=D[v];return W===r?void 0:W}return _e.call(D,v)?D[v]:void 0}function xa(v){var D=this.__data__;return an?D[v]!==void 0:_e.call(D,v)}function Bo(v,D){var W=this.__data__;return this.size+=this.has(v)?0:1,W[v]=an&&D===void 0?r:D,this}jt.prototype.clear=Ta,jt.prototype.delete=Ea,jt.prototype.get=Pa,jt.prototype.has=xa,jt.prototype.set=Bo;function ln(v){var D=-1,W=v==null?0:v.length;for(this.clear();++D<W;){var le=v[D];this.set(le[0],le[1])}}function Oa(){this.__data__=[],this.size=0}function Aa(v){var D=this.__data__,W=Yr(D,v);if(W<0)return!1;var le=D.length-1;return W==le?D.pop():Oe.call(D,W,1),--this.size,!0}function Ra(v){var D=this.__data__,W=Yr(D,v);return W<0?void 0:D[W][1]}function Ae(v){return Yr(this.__data__,v)>-1}function ka(v,D){var W=this.__data__,le=Yr(W,v);return le<0?(++this.size,W.push([v,D])):W[le][1]=D,this}ln.prototype.clear=Oa,ln.prototype.delete=Aa,ln.prototype.get=Ra,ln.prototype.has=Ae,ln.prototype.set=ka;function Fn(v){var D=-1,W=v==null?0:v.length;for(this.clear();++D<W;){var le=v[D];this.set(le[0],le[1])}}function Da(){this.size=0,this.__data__={hash:new jt,map:new(sn||ln),string:new jt}}function Ia(v){var D=zr(this,v).delete(v);return this.size-=D?1:0,D}function Ma(v){return zr(this,v).get(v)}function La(v){return zr(this,v).has(v)}function Uo(v,D){var W=zr(this,v),le=W.size;return W.set(v,D),this.size+=W.size==le?0:1,this}Fn.prototype.clear=Da,Fn.prototype.delete=Ia,Fn.prototype.get=Ma,Fn.prototype.has=La,Fn.prototype.set=Uo;function wn(v){var D=-1,W=v==null?0:v.length;for(this.__data__=new Fn;++D<W;)this.add(v[D])}function Fi(v){return this.__data__.set(v,r),this}function Ct(v){return this.__data__.has(v)}wn.prototype.add=wn.prototype.push=Fi,wn.prototype.has=Ct;function _n(v){var D=this.__data__=new ln(v);this.size=D.size}function Na(){this.__data__=new ln,this.size=0}function Fa(v){var D=this.__data__,W=D.delete(v);return this.size=D.size,W}function Ba(v){return this.__data__.get(v)}function Bi(v){return this.__data__.has(v)}function Ua(v,D){var W=this.__data__;if(W instanceof ln){var le=W.__data__;if(!sn||le.length<n-1)return le.push([v,D]),this.size=++W.size,this;W=this.__data__=new Fn(le)}return W.set(v,D),this.size=W.size,this}_n.prototype.clear=Na,_n.prototype.delete=Fa,_n.prototype.get=Ba,_n.prototype.has=Bi,_n.prototype.set=Ua;function Ha(v,D){var W=Gr(v),le=!W&&Wi(v),Ye=!W&&!le&&jo(v),xe=!W&&!le&&!Ye&&zi(v),et=W||le||Ye||xe,Je=et?z(v.length,String):[],ht=Je.length;for(var Qe in v)(D||_e.call(v,Qe))&&!(et&&(Qe=="length"||Ye&&(Qe=="offset"||Qe=="parent")||xe&&(Qe=="buffer"||Qe=="byteLength"||Qe=="byteOffset")||Ya(Qe,ht)))&&Je.push(Qe);return Je}function Yr(v,D){for(var W=v.length;W--;)if(Sn(v[W][0],D))return W;return-1}function Ui(v,D,W){var le=D(v);return Gr(v)?le:H(le,W(v))}function Tr(v){return v==null?v===void 0?N:A:Ge&&Ge in Object(v)?Vi(v):Qa(v)}function Ho(v){return Er(v)&&Tr(v)==a}function Hi(v,D,W,le,Ye){return v===D?!0:v==null||D==null||!Er(v)&&!Er(D)?v!==v&&D!==D:ja(v,D,W,le,Hi,Ye)}function ja(v,D,W,le,Ye,xe){var et=Gr(v),Je=Gr(D),ht=et?u:Cn(v),Qe=Je?u:Cn(D);ht=ht==a?x:ht,Qe=Qe==a?x:Qe;var Et=ht==x,$t=Qe==x,yt=ht==Qe;if(yt&&jo(v)){if(!jo(D))return!1;et=!0,Et=!1}if(yt&&!Et)return xe||(xe=new _n),et||zi(v)?ji(v,D,W,le,Ye,xe):qa(v,D,ht,W,le,Ye,xe);if(!(W&o)){var kt=Et&&_e.call(v,"__wrapped__"),Dt=$t&&_e.call(D,"__wrapped__");if(kt||Dt){var Tn=kt?v.value():v,cn=Dt?D.value():D;return xe||(xe=new _n),Ye(Tn,cn,W,le,xe)}}return yt?(xe||(xe=new _n),$i(v,D,W,le,Ye,xe)):!1}function $a(v){if(!Yi(v)||Ga(v))return!1;var D=qi(v)?on:ct;return D.test(Hn(v))}function Va(v){return Er(v)&&Ki(v.length)&&!!be[Tr(v)]}function Wa(v){if(!Ja(v))return Ce(v);var D=[];for(var W in Object(v))_e.call(v,W)&&W!="constructor"&&D.push(W);return D}function ji(v,D,W,le,Ye,xe){var et=W&o,Je=v.length,ht=D.length;if(Je!=ht&&!(et&&ht>Je))return!1;var Qe=xe.get(v);if(Qe&&xe.get(D))return Qe==D;var Et=-1,$t=!0,yt=W&i?new wn:void 0;for(xe.set(v,D),xe.set(D,v);++Et<Je;){var kt=v[Et],Dt=D[Et];if(le)var Tn=et?le(Dt,kt,Et,D,v,xe):le(kt,Dt,Et,v,D,xe);if(Tn!==void 0){if(Tn)continue;$t=!1;break}if(yt){if(!U(D,function(cn,un){if(!Y(yt,un)&&(kt===cn||Ye(kt,cn,W,le,xe)))return yt.push(un)})){$t=!1;break}}else if(!(kt===Dt||Ye(kt,Dt,W,le,xe))){$t=!1;break}}return xe.delete(v),xe.delete(D),$t}function qa(v,D,W,le,Ye,xe,et){switch(W){case _:if(v.byteLength!=D.byteLength||v.byteOffset!=D.byteOffset)return!1;v=v.buffer,D=D.buffer;case X:return!(v.byteLength!=D.byteLength||!xe(new ue(v),new ue(D)));case f:case p:case I:return Sn(+v,+D);case g:return v.name==D.name&&v.message==D.message;case O:case k:return v==D+"";case E:var Je=j;case P:var ht=le&o;if(Je||(Je=pe),v.size!=D.size&&!ht)return!1;var Qe=et.get(v);if(Qe)return Qe==D;le|=i,et.set(v,D);var Et=ji(Je(v),Je(D),le,Ye,xe,et);return et.delete(v),Et;case R:if(Fo)return Fo.call(v)==Fo.call(D)}return!1}function $i(v,D,W,le,Ye,xe){var et=W&o,Je=Bn(v),ht=Je.length,Qe=Bn(D),Et=Qe.length;if(ht!=Et&&!et)return!1;for(var $t=ht;$t--;){var yt=Je[$t];if(!(et?yt in D:_e.call(D,yt)))return!1}var kt=xe.get(v);if(kt&&xe.get(D))return kt==D;var Dt=!0;xe.set(v,D),xe.set(D,v);for(var Tn=et;++$t<ht;){yt=Je[$t];var cn=v[yt],un=D[yt];if(le)var $o=et?le(un,cn,yt,D,v,xe):le(cn,un,yt,v,D,xe);if(!($o===void 0?cn===un||Ye(cn,un,W,le,xe):$o)){Dt=!1;break}Tn||(Tn=yt=="constructor")}if(Dt&&!Tn){var Jr=v.constructor,Qr=D.constructor;Jr!=Qr&&"constructor"in v&&"constructor"in D&&!(typeof Jr=="function"&&Jr instanceof Jr&&typeof Qr=="function"&&Qr instanceof Qr)&&(Dt=!1)}return xe.delete(v),xe.delete(D),Dt}function Bn(v){return Ui(v,el,Ka)}function zr(v,D){var W=v.__data__;return za(D)?W[typeof D=="string"?"string":"hash"]:W.map}function Un(v,D){var W=Z(v,D);return $a(W)?W:void 0}function Vi(v){var D=_e.call(v,Ge),W=v[Ge];try{v[Ge]=void 0;var le=!0}catch{}var Ye=Rt.call(v);return le&&(D?v[Ge]=W:delete v[Ge]),Ye}var Ka=mt?function(v){return v==null?[]:(v=Object(v),M(mt(v),function(D){return Ee.call(v,D)}))}:tl,Cn=Tr;(Ut&&Cn(new Ut(new ArrayBuffer(1)))!=_||sn&&Cn(new sn)!=E||bn&&Cn(bn.resolve())!=C||Gt&&Cn(new Gt)!=P||Ht&&Cn(new Ht)!=F)&&(Cn=function(v){var D=Tr(v),W=D==x?v.constructor:void 0,le=W?Hn(W):"";if(le)switch(le){case er:return _;case _a:return E;case Ca:return C;case Sa:return P;case No:return F}return D});function Ya(v,D){return D=D??s,!!D&&(typeof v=="number"||je.test(v))&&v>-1&&v%1==0&&v<D}function za(v){var D=typeof v;return D=="string"||D=="number"||D=="symbol"||D=="boolean"?v!=="__proto__":v===null}function Ga(v){return!!Le&&Le in v}function Ja(v){var D=v&&v.constructor,W=typeof D=="function"&&D.prototype||ge;return v===W}function Qa(v){return Rt.call(v)}function Hn(v){if(v!=null){try{return ke.call(v)}catch{}try{return v+""}catch{}}return""}function Sn(v,D){return v===D||v!==v&&D!==D}var Wi=Ho(function(){return arguments}())?Ho:function(v){return Er(v)&&_e.call(v,"callee")&&!Ee.call(v,"callee")},Gr=Array.isArray;function Xa(v){return v!=null&&Ki(v.length)&&!qi(v)}var jo=vn||nl;function Za(v,D){return Hi(v,D)}function qi(v){if(!Yi(v))return!1;var D=Tr(v);return D==w||D==y||D==d||D==m}function Ki(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=s}function Yi(v){var D=typeof v;return v!=null&&(D=="object"||D=="function")}function Er(v){return v!=null&&typeof v=="object"}var zi=T?G(T):Va;function el(v){return Xa(v)?Ha(v):Wa(v)}function tl(){return[]}function nl(){return!1}e.exports=Za})(sc,sc.exports);var _l=sc.exports;let xf={a:["a","à","á","â","ã","ä","å","æ","ā","ă","ą","ǎ","ǟ","ǡ","ǻ","ȁ","ȃ","ȧ","ɐ","ɑ","ɒ","ͣ","а","ӑ","ӓ","ᵃ","ᵄ","ᶏ","ḁ","ẚ","ạ","ả","ấ","ầ","ẩ","ẫ","ậ","ắ","ằ","ẳ","ẵ","ặ","ₐ","ⱥ","a"],b:["b","ƀ","ƃ","ɓ","ᖯ","ᵇ","ᵬ","ᶀ","ḃ","ḅ","ḇ","b"],c:["c","ç","ć","ĉ","ċ","č","ƈ","ȼ","ɕ","ͨ","ᴄ","ᶜ","ḉ","ↄ","c"],d:["d","ď","đ","Ƌ","ƌ","ȡ","ɖ","ɗ","ͩ","ᵈ","ᵭ","ᶁ","ᶑ","ḋ","ḍ","ḏ","ḑ","ḓ","d"],e:["e","è","é","ê","ë","ē","ĕ","ė","ę","ě","ǝ","ȅ","ȇ","ȩ","ɇ","ɘ","ͤ","ᵉ","ᶒ","ḕ","ḗ","ḙ","ḛ","ḝ","ẹ","ẻ","ẽ","ế","ề","ể","ễ","ệ","ₑ","e"],f:["f","ƒ","ᵮ","ᶂ","ᶠ","ḟ","f"],g:["g","ĝ","ğ","ġ","ģ","ǥ","ǧ","ǵ","ɠ","ɡ","ᵍ","ᵷ","ᵹ","ᶃ","ᶢ","ḡ","g"],h:["h","ĥ","ħ","ƕ","ȟ","ɥ","ɦ","ʮ","ʯ","ʰ","ʱ","ͪ","Һ","һ","ᑋ","ᶣ","ḣ","ḥ","ḧ","ḩ","ḫ","ⱨ","h"],i:["i","ì","í","î","ï","ĩ","ī","ĭ","į","ǐ","ȉ","ȋ","ɨ","ͥ","ᴉ","ᵎ","ᵢ","ᶖ","ᶤ","ḭ","ḯ","ỉ","ị","i"],j:["j","ĵ","ǰ","ɉ","ʝ","ʲ","ᶡ","ᶨ","j"],k:["k","ķ","ƙ","ǩ","ʞ","ᵏ","ᶄ","ḱ","ḳ","ḵ","ⱪ","k"],l:["l","ĺ","ļ","ľ","ŀ","ł","ƚ","ȴ","ɫ","ɬ","ɭ","ˡ","ᶅ","ᶩ","ᶪ","ḷ","ḹ","ḻ","ḽ","ℓ","ⱡ"],m:["m","ɯ","ɰ","ɱ","ͫ","ᴟ","ᵐ","ᵚ","ᵯ","ᶆ","ᶬ","ᶭ","ḿ","ṁ","ṃ","㎡","㎥","m"],n:["n","ñ","ń","ņ","ň","ʼn","ƞ","ǹ","ȵ","ɲ","ɳ","ᵰ","ᶇ","ᶮ","ᶯ","ṅ","ṇ","ṉ","ṋ","ⁿ","n"],o:["o","ò","ó","ô","õ","ö","ø","ō","ŏ","ő","ơ","ǒ","ǫ","ǭ","ǿ","ȍ","ȏ","ȫ","ȭ","ȯ","ȱ","ɵ","ͦ","о","ӧ","ө","ᴏ","ᴑ","ᴓ","ᴼ","ᵒ","ᶱ","ṍ","ṏ","ṑ","ṓ","ọ","ỏ","ố","ồ","ổ","ỗ","ộ","ớ","ờ","ở","ỡ","ợ","ₒ","o","𐐬"],p:["p","ᵖ","ᵱ","ᵽ","ᶈ","ṕ","ṗ","p"],q:["q","ɋ","ʠ","ᛩ","q"],r:["r","ŕ","ŗ","ř","ȑ","ȓ","ɍ","ɹ","ɻ","ʳ","ʴ","ʵ","ͬ","ᵣ","ᵲ","ᶉ","ṙ","ṛ","ṝ","ṟ"],s:["s","ś","ŝ","ş","š","ș","ʂ","ᔆ","ᶊ","ṡ","ṣ","ṥ","ṧ","ṩ","s"],t:["t","ţ","ť","ŧ","ƫ","ƭ","ț","ʇ","ͭ","ᵀ","ᵗ","ᵵ","ᶵ","ṫ","ṭ","ṯ","ṱ","ẗ","t"],u:["u","ù","ú","û","ü","ũ","ū","ŭ","ů","ű","ų","ư","ǔ","ǖ","ǘ","ǚ","ǜ","ȕ","ȗ","ͧ","ߎ","ᵘ","ᵤ","ṳ","ṵ","ṷ","ṹ","ṻ","ụ","ủ","ứ","ừ","ử","ữ","ự","u"],v:["v","ʋ","ͮ","ᵛ","ᵥ","ᶹ","ṽ","ṿ","ⱱ","v","ⱴ"],w:["w","ŵ","ʷ","ᵂ","ẁ","ẃ","ẅ","ẇ","ẉ","ẘ","ⱳ","w"],x:["x","̽","͓","ᶍ","ͯ","ẋ","ẍ","ₓ","x"],y:["y","ý","ÿ","ŷ","ȳ","ɏ","ʸ","ẏ","ỳ","ỵ","ỷ","ỹ","y"],z:["z","ź","ż","ž","ƶ","ȥ","ɀ","ʐ","ʑ","ᙆ","ᙇ","ᶻ","ᶼ","ᶽ","ẑ","ẓ","ẕ","ⱬ","z"]};const Of=function(){let e={};for(let t in xf){let n=xf[t];for(let r in n){let o=n[r];o!==t&&(e[o]=t)}}return e}(),Ew=/[^a-z0-9\s,.-]/,Cl=e=>{if(e.search(Ew)===-1)return e;let t="",n=e.length;for(var r=0;r<n;r++){let o=e.charAt(r);t+=o in Of?Of[o]:o}return t},Af=e=>e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&");var ho={format(e){return e},filterPredicate(e,t,n=!1,r=!1){if(typeof e>"u"||e===null)return!1;const o=n?String(e).toLowerCase():Cl(Af(String(e)).toLowerCase()),i=n?t.toLowerCase():Cl(Af(t).toLowerCase());return r?o===i:o.indexOf(i)>-1},compare(e,t){function n(r){return typeof r>"u"||r===null?"":Cl(String(r).toLowerCase())}return e=n(e),t=n(t),e<t?-1:e>t?1:0}},qr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const Pw={name:"VgtPaginationPageInfo",props:{currentPage:{default:1},lastPage:{default:1},totalRecords:{default:0},ofText:{default:"of",type:String},pageText:{default:"page",type:String},currentPerPage:{},mode:{default:bh.Records},infoFn:{default:null}},data(){return{id:this.getId()}},computed:{pageInfo(){return`${this.ofText} ${this.lastPage}`},firstRecordOnPage(){return(this.currentPage-1)*this.currentPerPage+1},lastRecordOnPage(){return Math.min(this.totalRecords,this.currentPage*this.currentPerPage)},recordInfo(){let e=this.firstRecordOnPage;const t=this.lastRecordOnPage;return t===0&&(e=0),`${e} - ${t} ${this.ofText} ${this.totalRecords}`},infoParams(){let e=this.firstRecordOnPage;const t=this.lastRecordOnPage;return t===0&&(e=0),{firstRecordOnPage:e,lastRecordOnPage:t,totalRecords:this.totalRecords,currentPage:this.currentPage,totalPages:this.lastPage}}},methods:{getId(){return`vgt-page-input-${Math.floor(Math.random()*Date.now())}`},changePage(e){const t=parseInt(e.target.value,10);//! invalid number if(Number.isNaN(t)||t>this.lastPage||t<1)return e.target.value=this.currentPage,!1;e.target.value=t,this.$emit("page-changed",t)}},mounted(){},components:{}},xw={class:"footer__navigation__page-info"},Ow={key:0},Aw=["for"],Rw=["id","value"],kw=we("span",{id:"change-page-hint",style:{display:"none"}}," Type a page number and press Enter to change the page. ",-1),Dw={key:2};function Iw(e,t,n,r,o,i){return oe(),se("div",xw,[n.infoFn?(oe(),se("div",Ow,Xe(n.infoFn(i.infoParams)),1)):n.mode==="pages"?(oe(),se("form",{key:1,onSubmit:t[1]||(t[1]=wr(()=>{},["prevent"]))},[we("label",{for:o.id,class:"page-info__label"},[we("span",null,Xe(n.pageText),1),we("input",{id:o.id,"aria-describedby":"change-page-hint","aria-controls":"vgb-table",class:"footer__navigation__page-info__current-entry",type:"text",onKeyup:t[0]||(t[0]=Yc(wr((...s)=>i.changePage&&i.changePage(...s),["stop"]),["enter"])),value:n.currentPage},null,40,Rw),we("span",null,Xe(i.pageInfo),1)],8,Aw),kw],32)):(oe(),se("div",Dw,Xe(i.recordInfo),1))])}var Mw=qr(Pw,[["render",Iw]]);const Lw={name:"VgtPagination",props:{styleClass:{default:"table table-bordered"},total:{default:null},perPage:{},rtl:{default:!1},perPageDropdownEnabled:{default:!0},customRowsPerPageDropdown:{default(){return[]}},paginateDropdownAllowAll:{default:!0},mode:{default:bh.Records},nextText:{default:"Next"},prevText:{default:"Prev"},rowsPerPageText:{default:"Rows per page:"},ofText:{default:"of"},pageText:{default:"page"},allText:{default:"All"},infoFn:{default:null}},data(){return{id:this.getId(),currentPage:1,prevPage:0,currentPerPage:10,rowsPerPageOptions:[]}},watch:{perPage:{handler(e,t){this.handlePerPage(),this.perPageChanged(t)},immediate:!0},customRowsPerPageDropdown:{handler(){this.handlePerPage()},deep:!0},total:{handler(e,t){this.rowsPerPageOptions.indexOf(this.currentPerPage)===-1&&(this.currentPerPage=e)}}},computed:{pagesCount(){const e=Math.floor(this.total/this.currentPerPage);return this.total%this.currentPerPage===0?e:e+1},nextIsPossible(){return this.currentPage<this.pagesCount},prevIsPossible(){return this.currentPage>1}},methods:{getId(){return`vgt-select-rpp-${Math.floor(Math.random()*Date.now())}`},changePage(e,t=!0){e>0&&this.total>this.currentPerPage*(e-1)&&(this.prevPage=this.currentPage,this.currentPage=e,this.pageChanged(t))},nextPage(){this.nextIsPossible&&(this.prevPage=this.currentPage,++this.currentPage,this.pageChanged())},previousPage(){this.prevIsPossible&&(this.prevPage=this.currentPage,--this.currentPage,this.pageChanged())},pageChanged(e=!0){const t={currentPage:this.currentPage,prevPage:this.prevPage};e||(t.noEmit=!0),this.$emit("page-changed",t)},perPageChanged(e){e&&this.$emit("per-page-changed",{currentPerPage:this.currentPerPage}),this.changePage(1,!1)},handlePerPage(){if(this.customRowsPerPageDropdown!==null&&Array.isArray(this.customRowsPerPageDropdown)&&this.customRowsPerPageDropdown.length!==0?this.rowsPerPageOptions=JSON.parse(JSON.stringify(this.customRowsPerPageDropdown)):this.rowsPerPageOptions=JSON.parse(JSON.stringify(Tw)),this.perPage){this.currentPerPage=this.perPage;let e=!1;for(let t=0;t<this.rowsPerPageOptions.length;t++)this.rowsPerPageOptions[t]===this.perPage&&(e=!0);!e&&this.perPage!==-1&&this.rowsPerPageOptions.unshift(this.perPage)}else this.currentPerPage=10}},mounted(){},components:{"pagination-page-info":Mw}},Nw={class:"vgt-wrap__footer vgt-clearfix"},Fw={key:0,class:"footer__row-count vgt-pull-left"},Bw=["for"],Uw=["id"],Hw=["value"],jw=["value"],$w={class:"footer__navigation vgt-pull-right"};function Vw(e,t,n,r,o,i){const s=Dr("pagination-page-info");return oe(),se("div",Nw,[n.perPageDropdownEnabled?(oe(),se("div",Fw,[we("form",null,[we("label",{for:o.id,class:"footer__row-count__label"},Xe(n.rowsPerPageText)+":",9,Bw),Yv(we("select",{id:o.id,autocomplete:"off",name:"perPageSelect",class:"footer__row-count__select","onUpdate:modelValue":t[0]||(t[0]=a=>o.currentPerPage=a),onChange:t[1]||(t[1]=(...a)=>i.perPageChanged&&i.perPageChanged(...a)),"aria-controls":"vgt-table"},[(oe(!0),se(Fe,null,fn(o.rowsPerPageOptions,(a,u)=>(oe(),se("option",{key:u,value:a},Xe(a),9,Hw))),128)),n.paginateDropdownAllowAll?(oe(),se("option",{key:0,value:n.total},Xe(n.allText),9,jw)):ve("v-if",!0)],40,Uw),[[fh,o.currentPerPage]])])])):ve("v-if",!0),we("div",$w,[Ue(s,{onPageChanged:i.changePage,"total-records":n.total,"last-page":i.pagesCount,"current-page":o.currentPage,"current-per-page":o.currentPerPage,"of-text":n.ofText,"page-text":n.pageText,"info-fn":n.infoFn,mode:n.mode},null,8,["onPageChanged","total-records","last-page","current-page","current-per-page","of-text","page-text","info-fn","mode"]),we("button",{type:"button","aria-controls":"vgt-table",class:it(["footer__navigation__page-btn",{disabled:!i.prevIsPossible}]),onClick:t[2]||(t[2]=wr((...a)=>i.previousPage&&i.previousPage(...a),["prevent","stop"]))},[we("span",{"aria-hidden":"true",class:it(["chevron",{left:!n.rtl,right:n.rtl}])},null,2),we("span",null,Xe(n.prevText),1)],2),we("button",{type:"button","aria-controls":"vgt-table",class:it(["footer__navigation__page-btn",{disabled:!i.nextIsPossible}]),onClick:t[3]||(t[3]=wr((...a)=>i.nextPage&&i.nextPage(...a),["prevent","stop"]))},[we("span",null,Xe(n.nextText),1),we("span",{"aria-hidden":"true",class:it(["chevron",{right:!n.rtl,left:n.rtl}])},null,2)],2)])])}var Ww=qr(Lw,[["render",Vw]]);const qw={name:"VgtGlobalSearch",props:["value","searchEnabled","globalSearchPlaceholder"],emits:["input","keyup","enter"],data(){return{globalSearchTerm:null,id:this.getId()}},computed:{showControlBar(){return!!(this.searchEnabled||this.$slots&&this.$slots["internal-table-actions"])}},methods:{updateValue(e){this.$emit("input",e),this.$emit("keyup",e)},entered(e){this.$emit("enter",e)},getId(){return`vgt-search-${Math.floor(Math.random()*Date.now())}`}}},Kw={key:0,class:"vgt-global-search vgt-clearfix"},Yw={class:"vgt-global-search__input vgt-pull-left"},zw=["for"],Gw=we("span",{"aria-hidden":"true",class:"input__icon"},[we("div",{class:"magnifying-glass"})],-1),Jw=we("span",{class:"sr-only"},"Search",-1),Qw=[Gw,Jw],Xw=["id","placeholder","value"],Zw={class:"vgt-global-search__actions vgt-pull-right"};function e0(e,t,n,r,o,i){return i.showControlBar?(oe(),se("div",Kw,[we("div",Yw,[n.searchEnabled?(oe(),se("form",{key:0,onSubmit:t[2]||(t[2]=wr(()=>{},["prevent"])),role:"search"},[we("label",{for:o.id},Qw,8,zw),we("input",{id:o.id,type:"text",class:"vgt-input vgt-pull-left",placeholder:n.globalSearchPlaceholder,value:n.value,onInput:t[0]||(t[0]=s=>i.updateValue(s.target.value)),onKeyup:t[1]||(t[1]=Yc(s=>i.entered(s.target.value),["enter"]))},null,40,Xw)],32)):ve("v-if",!0)]),we("div",Zw,[rt(e.$slots,"internal-table-actions")])])):ve("v-if",!0)}var t0=qr(qw,[["render",e0]]);const n0={name:"VgtFilterRow",props:["lineNumbers","columns","expandRowsEnabled","typedColumns","globalSearchEnabled","selectable","mode"],emits:["filter-changed"],watch:{columns:{handler(e,t){this.populateInitialFilters()},deep:!0,immediate:!0}},data(){return{columnFilters:{},timer:null}},computed:{hasFilterRow(){for(let e=0;e<this.columns.length;e++){const t=this.columns[e];if(t.filterOptions&&t.filterOptions.enabled)return!0}return!1}},methods:{fieldKey(e){return typeof e=="function"&&e.name?e.name:e},reset(e=!1){this.columnFilters={},e&&this.$emit("filter-changed",this.columnFilters)},isFilterable(e){return e.filterOptions&&e.filterOptions.enabled},isDropdown(e){return this.isFilterable(e)&&e.filterOptions.filterDropdownItems&&e.filterOptions.filterDropdownItems.length},isDropdownObjects(e){return this.isDropdown(e)&&typeof e.filterOptions.filterDropdownItems[0]=="object"},isDropdownArray(e){return this.isDropdown(e)&&typeof e.filterOptions.filterDropdownItems[0]!="object"},getClasses(e){const t="filter-th";return e.filterOptions&&e.filterOptions.styleClass?[t,...e.filterOptions.styleClass.split(" ")].join(" "):t},getPlaceholder(e){return this.isFilterable(e)&&e.filterOptions.placeholder||`Filter ${e.label}`},getName(e){return`vgt-${this.fieldKey(e.field)}`},updateFiltersOnEnter(e,t){this.timer&&clearTimeout(this.timer),this.updateFiltersImmediately(e.field,t)},updateFiltersOnKeyup(e,t){e.filterOptions.trigger!=="enter"&&this.updateFilters(e,t)},updateSlotFilter(e,t){let n=e.filterOptions.slotFilterField||e.field;typeof e.filterOptions.formatValue=="function"&&(t=e.filterOptions.formatValue(t)),this.updateFiltersImmediately(n,t)},updateFilters(e,t){this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{this.updateFiltersImmediately(e.field,t)},400)},updateFiltersImmediately(e,t){this.columnFilters[this.fieldKey(e)]=t,this.$emit("filter-changed",this.columnFilters)},populateInitialFilters(){for(let e=0;e<this.columns.length;e++){const t=this.columns[e];this.isFilterable(t)&&typeof t.filterOptions.filterValue<"u"&&t.filterOptions.filterValue!==null&&(this.columnFilters[this.fieldKey(t.field)]=t.filterOptions.filterValue)}this.$emit("filter-changed",this.columnFilters)}}},r0={key:0},o0={key:0},i0={key:1},s0={key:2},a0={key:0},l0=["name","placeholder","value","onKeyup","onInput"],c0=["name","value","onChange"],u0={value:"",key:"-1"},f0=["value"],d0=["name","value","onChange"],p0={value:"",key:"-1"},h0=["value"];function g0(e,t,n,r,o,i){return i.hasFilterRow?(oe(),se("tr",r0,[n.expandRowsEnabled?(oe(),se("th",o0)):ve("v-if",!0),n.lineNumbers?(oe(),se("th",i0)):ve("v-if",!0),n.selectable?(oe(),se("th",s0)):ve("v-if",!0),(oe(!0),se(Fe,null,fn(n.columns,(s,a)=>(oe(),se(Fe,{key:a},[s.hidden?ve("v-if",!0):(oe(),se("th",{key:0,class:it(i.getClasses(s))},[rt(e.$slots,"column-filter",{column:s,updateFilters:i.updateSlotFilter},()=>[i.isFilterable(s)?(oe(),se("div",a0,[i.isDropdown(s)?ve("v-if",!0):(oe(),se("input",{key:0,name:i.getName(s),type:"text",class:"vgt-input",placeholder:i.getPlaceholder(s),value:o.columnFilters[i.fieldKey(s.field)],onKeyup:Yc(u=>i.updateFiltersOnEnter(s,u.target.value),["enter"]),onInput:u=>i.updateFiltersOnKeyup(s,u.target.value)},null,40,l0)),ve(" options are a list of primitives "),i.isDropdownArray(s)?(oe(),se("select",{key:1,name:i.getName(s),class:"vgt-select",value:o.columnFilters[i.fieldKey(s.field)],onChange:u=>i.updateFiltersImmediately(s.field,u.target.value)},[we("option",u0,Xe(i.getPlaceholder(s)),1),(oe(!0),se(Fe,null,fn(s.filterOptions.filterDropdownItems,(u,d)=>(oe(),se("option",{key:d,value:u},Xe(u),9,f0))),128))],40,c0)):ve("v-if",!0),ve(" options are a list of objects with text and value "),i.isDropdownObjects(s)?(oe(),se("select",{key:2,name:i.getName(s),class:"vgt-select",value:o.columnFilters[i.fieldKey(s.field)],onChange:u=>i.updateFiltersImmediately(s.field,u.target.value)},[we("option",p0,Xe(i.getPlaceholder(s)),1),(oe(!0),se(Fe,null,fn(s.filterOptions.filterDropdownItems,(u,d)=>(oe(),se("option",{key:d,value:u.value},Xe(u.text),9,h0))),128))],40,d0)):ve("v-if",!0)])):ve("v-if",!0)])],2))],64))),128))])):ve("v-if",!0)}var m0=qr(n0,[["render",g0]]);function oi(e){return e.firstSortType||Sw}function y0(e,t){return e.length===1&&e[0].field===t.field?e[0].type:void 0}function wh(e,t){return wt.Descending===oi(t)&&e===wt.Ascending?wt.None:e===wt.Ascending?wt.Descending:wt.Descending===oi(t)&&e===wt.Descending?wt.Ascending:e===wt.Descending?wt.None:wt.Descending===oi(t)&&e===wt.None?wt.Descending:wt.Ascending}function v0(e,t){for(let n=0;n<e.length;n++)if(t.field===e[n].field)return n;return-1}const b0=(e,t)=>{const n=y0(e,t),r=wh(n,t);return[{field:t.field,type:n?r:oi(t)}]},w0=(e,t)=>{const n=v0(e,t);return n===-1?e.push({field:t.field,type:oi(t)}):e[n].type=wh(e[n].type,t),e},_0={name:"VgtTableHeader",props:{lineNumbers:{default:!1,type:Boolean},selectable:{default:!1,type:Boolean},allSelected:{default:!1,type:Boolean},allSelectedIndeterminate:{default:!1,type:Boolean},columns:{type:Array},expandRowsEnabled:{default:!1,type:Boolean},mode:{type:String},typedColumns:{},sortable:{type:Boolean},multipleColumnSort:{type:Boolean,default:!0},getClasses:{type:Function},searchEnabled:{type:Boolean},tableRef:{},paginated:{}},emits:["toggle-select-all","toggle-expand-rows-all","sort-change","filter-changed"],watch:{columns:{handler(){this.setColumnStyles()},immediate:!0,deep:!0},tableRef:{handler(){this.setColumnStyles()},immediate:!0},paginated:{handler(){this.tableRef&&this.setColumnStyles()},deep:!0}},data(){return{checkBoxThStyle:{},lineNumberThStyle:{},columnStyles:[],sorts:[],ro:null}},computed:{},methods:{reset(){this.$refs["filter-row"].reset(!0)},toggleExpandRowsAll(){this.$emit("toggle-expand-rows-all")},toggleSelectAll(){this.$emit("toggle-select-all")},isSortableColumn(e){const{sortable:t}=e;return typeof t=="boolean"?t:this.sortable},sort(e,t){this.isSortableColumn(t)&&(e.shiftKey&&this.multipleColumnSort?this.sorts=w0(this.sorts,t):this.sorts=b0(this.sorts,t),this.$emit("sort-change",this.sorts))},setInitialSort(e){this.sorts=e,this.$emit("sort-change",this.sorts)},getColumnSort(e){for(let t=0;t<this.sorts.length;t+=1)if(this.sorts[t].field===e.field)return this.sorts[t].type||"asc";return null},getColumnSortLong(e){return this.getColumnSort(e)==="asc"?"ascending":"descending"},getHeaderClasses(e,t){return Object.assign({},this.getClasses(t,"th"),{sortable:this.isSortableColumn(e),"sorting sorting-desc":this.getColumnSort(e)==="desc","sorting sorting-asc":this.getColumnSort(e)==="asc"})},filterRows(e){this.$emit("filter-changed",e)},getWidthStyle(e){return window&&window.getComputedStyle&&e?{width:window.getComputedStyle(e,null).width}:{width:"auto"}},setColumnStyles(){const e=[];for(let t=0;t<this.columns.length;t++)if(this.tableRef){let n=0;this.selectable&&n++,this.lineNumbers&&n++;const r=this.tableRef.rows[0].cells[t+n];e.push(this.getWidthStyle(r))}else e.push({minWidth:this.columns[t].width?this.columns[t].width:"auto",maxWidth:this.columns[t].width?this.columns[t].width:"auto",width:this.columns[t].width?this.columns[t].width:"auto"});this.columnStyles=e},getColumnStyle(e,t){const n={minWidth:e.width?e.width:"auto",maxWidth:e.width?e.width:"auto",width:e.width?e.width:"auto"};if(this.tableRef){this.selectable&&t++,this.lineNumbers&&t++;const r=this.tableRef.rows[0].cells[t],o=window.getComputedStyle(r,null);n.width=o.width}return n}},mounted(){this.$nextTick(()=>{"ResizeObserver"in window&&(this.ro=new ResizeObserver(()=>{this.setColumnStyles()}),this.ro.observe(this.$parent.$el),this.tableRef&&Array.from(this.$parent.$refs["table-header-primary"].$el.children[0].children).forEach(e=>{this.ro.observe(e)}))})},beforeUnmount(){this.ro&&this.ro.disconnect()},components:{"vgt-filter-row":m0}},C0={key:0,scope:"col",class:"line-numbers"},S0={key:1,scope:"col",class:"vgt-checkbox-col"},T0=["checked",".indeterminate"],E0={key:2,scope:"col",class:"vgt-checkbox-col"},P0=["title","aria-sort","aria-controls"],x0=["onClick"],O0={class:"sr-only"};function A0(e,t,n,r,o,i){const s=Dr("vgt-filter-row");return oe(),se("thead",null,[we("tr",null,[n.lineNumbers?(oe(),se("th",C0)):ve("v-if",!0),n.selectable?(oe(),se("th",S0,[we("input",{type:"checkbox",checked:n.allSelected,".indeterminate":n.allSelectedIndeterminate,onChange:t[0]||(t[0]=(...a)=>i.toggleSelectAll&&i.toggleSelectAll(...a))},null,40,T0)])):ve("v-if",!0),n.expandRowsEnabled?(oe(),se("th",E0,[we("a",{href:"",onClick:t[1]||(t[1]=wr((...a)=>i.toggleExpandRowsAll&&i.toggleExpandRowsAll(...a),["prevent"])),class:"vgt-wrap__expander"}," (+) ")])):ve("v-if",!0),(oe(!0),se(Fe,null,fn(n.columns,(a,u)=>(oe(),se(Fe,{key:u},[a.hidden?ve("v-if",!0):(oe(),se("th",{key:0,scope:"col",title:a.tooltip,class:it(i.getHeaderClasses(a,u)),style:Ro(o.columnStyles[u]),"aria-sort":i.getColumnSortLong(a),"aria-controls":`col-${u}`},[rt(e.$slots,"table-column",{column:a},()=>[na(Xe(a.label),1)]),i.isSortableColumn(a)?(oe(),se("button",{key:0,onClick:d=>i.sort(d,a)},[we("span",O0," Sort table by "+Xe(a.label)+" in "+Xe(i.getColumnSortLong(a))+" order ",1)],8,x0)):ve("v-if",!0)],14,P0))],64))),128))]),Ue(s,{ref:"filter-row",onFilterChanged:i.filterRows,"global-search-enabled":n.searchEnabled,"line-numbers":n.lineNumbers,"expand-rows-enabled":n.expandRowsEnabled,selectable:n.selectable,columns:n.columns,mode:n.mode,"typed-columns":n.typedColumns},{"column-filter":xn(a=>[rt(e.$slots,"column-filter",{column:a.column,updateFilters:a.updateFilters})]),_:3},8,["onFilterChanged","global-search-enabled","line-numbers","expand-rows-enabled","selectable","columns","mode","typed-columns"])])}var R0=qr(_0,[["render",A0]]);const k0={name:"VgtHeaderRow",props:{headerRow:{type:Object},columns:{type:Array},lineNumbers:{type:Boolean},selectable:{type:Boolean},selectAllByGroup:{type:Boolean},collapsable:{type:[Boolean,Number],default:!1},collectFormatted:{type:Function},formattedRow:{type:Function},getClasses:{type:Function},fullColspan:{type:Number},groupIndex:{type:Number}},emits:["vgtExpand","select-group-change"],data(){return{}},computed:{allSelected(){const{headerRow:e}=this;return e.children.filter(t=>t.vgtSelected).length===e.children.length}},methods:{columnCollapsable(e){return this.collapsable===!0?e===0:e===this.collapsable},toggleSelectGroup(e){this.$emit("select-group-change",{groupIndex:this.groupIndex,checked:e.target.checked})}},mounted(){},components:{}},D0=["colspan"],I0=["checked"],M0=["innerHTML"],L0={key:1},N0={key:1,class:"vgt-row-header"},F0={key:2,class:"vgt-row-header"},B0=["checked"],U0=["onClick"],H0={key:0},j0=["innerHTML"];function $0(e,t,n,r,o,i){return oe(),se("tr",null,[n.headerRow.mode==="span"?(oe(),se("th",{key:0,class:"vgt-left-align vgt-row-header",colspan:n.fullColspan},[n.selectAllByGroup?rt(e.$slots,"table-header-group-select",{key:0,columns:n.columns,row:n.headerRow},()=>[we("input",{type:"checkbox",checked:i.allSelected,onChange:t[0]||(t[0]=s=>i.toggleSelectGroup(s))},null,40,I0)]):ve("v-if",!0),we("span",{onClick:t[1]||(t[1]=s=>n.collapsable?e.$emit("vgtExpand",!n.headerRow.vgtIsExpanded):()=>{})},[n.collapsable?(oe(),se("span",{key:0,class:it(["triangle",{expand:n.headerRow.vgtIsExpanded}])},null,2)):ve("v-if",!0),rt(e.$slots,"table-header-row",{row:n.headerRow},()=>[n.headerRow.html?(oe(),se("span",{key:0,innerHTML:n.headerRow.label},null,8,M0)):(oe(),se("span",L0,Xe(n.headerRow.label),1))])])],8,D0)):ve("v-if",!0),ve(" if the mode is not span, we display every column "),n.headerRow.mode!=="span"&&n.lineNumbers?(oe(),se("th",N0)):ve("v-if",!0),n.headerRow.mode!=="span"&&n.selectable?(oe(),se("th",F0,[n.selectAllByGroup?rt(e.$slots,"table-header-group-select",{key:0,columns:n.columns,row:n.headerRow},()=>[we("input",{type:"checkbox",checked:i.allSelected,onChange:t[2]||(t[2]=s=>i.toggleSelectGroup(s))},null,40,B0)]):ve("v-if",!0)])):ve("v-if",!0),(oe(!0),se(Fe,null,fn(n.columns,(s,a)=>(oe(),se(Fe,{key:a},[n.headerRow.mode!=="span"&&!s.hidden?(oe(),se("th",{key:0,class:it(["vgt-row-header",n.getClasses(a,"td")]),onClick:u=>i.columnCollapsable(a)?e.$emit("vgtExpand",!n.headerRow.vgtIsExpanded):()=>{}},[i.columnCollapsable(a)?(oe(),se("span",{key:0,class:it(["triangle",{expand:n.headerRow.vgtIsExpanded}])},null,2)):ve("v-if",!0),rt(e.$slots,"table-header-row",{row:n.headerRow,column:s,formattedRow:n.formattedRow(n.headerRow,!0)},()=>[s.html?ve("v-if",!0):(oe(),se("span",H0,Xe(n.collectFormatted(n.headerRow,s,!0)),1)),s.html?(oe(),se("span",{key:1,innerHTML:n.collectFormatted(n.headerRow,s,!0)},null,8,j0)):ve("v-if",!0)])],10,U0)):ve("v-if",!0)],64))),128))])}var V0=qr(k0,[["render",$0]]);function lt(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ft(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function bt(e){ft(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}function W0(e,t){ft(2,arguments);var n=bt(e).getTime(),r=lt(t);return new Date(n+r)}function _h(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function q0(e,t){ft(2,arguments);var n=bt(e),r=bt(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function K0(e){return ft(1,arguments),e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Bs(e){if(ft(1,arguments),!K0(e)&&typeof e!="number")return!1;var t=bt(e);return!isNaN(Number(t))}var Y0={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},z0=function(e,t,n){var r,o=Y0[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},G0=z0;function Sl(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var J0={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Q0={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},X0={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Z0={date:Sl({formats:J0,defaultWidth:"full"}),time:Sl({formats:Q0,defaultWidth:"full"}),dateTime:Sl({formats:X0,defaultWidth:"full"})},e_=Z0,t_={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},n_=function(e,t,n,r){return t_[e]},r_=n_;function Ko(e){return function(t,n){var r=n||{},o=r.context?String(r.context):"standalone",i;if(o==="formatting"&&e.formattingValues){var s=e.defaultFormattingWidth||e.defaultWidth,a=r.width?String(r.width):s;i=e.formattingValues[a]||e.formattingValues[s]}else{var u=e.defaultWidth,d=r.width?String(r.width):e.defaultWidth;i=e.values[d]||e.values[u]}var f=e.argumentCallback?e.argumentCallback(t):t;return i[f]}}var o_={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},i_={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},s_={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},a_={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},l_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},c_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},u_=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},f_={ordinalNumber:u_,era:Ko({values:o_,defaultWidth:"wide"}),quarter:Ko({values:i_,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Ko({values:s_,defaultWidth:"wide"}),day:Ko({values:a_,defaultWidth:"wide"}),dayPeriod:Ko({values:l_,defaultWidth:"wide",formattingValues:c_,defaultFormattingWidth:"wide"})},d_=f_;function Yo(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var s=i[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(a)?h_(a,function(p){return p.test(s)}):p_(a,function(p){return p.test(s)}),d;d=e.valueCallback?e.valueCallback(u):u,d=n.valueCallback?n.valueCallback(d):d;var f=t.slice(s.length);return{value:d,rest:f}}}function p_(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function h_(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function g_(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],i=t.match(e.parsePattern);if(!i)return null;var s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;var a=t.slice(o.length);return{value:s,rest:a}}}var m_=/^(\d+)(th|st|nd|rd)?/i,y_=/\d+/i,v_={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},b_={any:[/^b/i,/^(a|c)/i]},w_={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},__={any:[/1/i,/2/i,/3/i,/4/i]},C_={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},S_={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},T_={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},E_={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},P_={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},x_={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},O_={ordinalNumber:g_({matchPattern:m_,parsePattern:y_,valueCallback:function(e){return parseInt(e,10)}}),era:Yo({matchPatterns:v_,defaultMatchWidth:"wide",parsePatterns:b_,defaultParseWidth:"any"}),quarter:Yo({matchPatterns:w_,defaultMatchWidth:"wide",parsePatterns:__,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Yo({matchPatterns:C_,defaultMatchWidth:"wide",parsePatterns:S_,defaultParseWidth:"any"}),day:Yo({matchPatterns:T_,defaultMatchWidth:"wide",parsePatterns:E_,defaultParseWidth:"any"}),dayPeriod:Yo({matchPatterns:P_,defaultMatchWidth:"any",parsePatterns:x_,defaultParseWidth:"any"})},A_=O_,R_={code:"en-US",formatDistance:G0,formatLong:e_,formatRelative:r_,localize:d_,match:A_,options:{weekStartsOn:0,firstWeekContainsDate:1}},Ch=R_;function Sh(e,t){ft(2,arguments);var n=lt(t);return W0(e,-n)}var k_=864e5;function D_(e){ft(1,arguments);var t=bt(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),o=n-r;return Math.floor(o/k_)+1}function bo(e){ft(1,arguments);var t=1,n=bt(e),r=n.getUTCDay(),o=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}function Th(e){ft(1,arguments);var t=bt(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=bo(r),i=new Date(0);i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0);var s=bo(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function I_(e){ft(1,arguments);var t=Th(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=bo(n);return r}var M_=6048e5;function Eh(e){ft(1,arguments);var t=bt(e),n=bo(t).getTime()-I_(t).getTime();return Math.round(n/M_)+1}function Fr(e,t){ft(1,arguments);var n=t||{},r=n.locale,o=r&&r.options&&r.options.weekStartsOn,i=o==null?0:lt(o),s=n.weekStartsOn==null?i:lt(n.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var a=bt(e),u=a.getUTCDay(),d=(u<s?7:0)+u-s;return a.setUTCDate(a.getUTCDate()-d),a.setUTCHours(0,0,0,0),a}function zc(e,t){ft(1,arguments);var n=bt(e),r=n.getUTCFullYear(),o=t||{},i=o.locale,s=i&&i.options&&i.options.firstWeekContainsDate,a=s==null?1:lt(s),u=o.firstWeekContainsDate==null?a:lt(o.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setUTCFullYear(r+1,0,u),d.setUTCHours(0,0,0,0);var f=Fr(d,t),p=new Date(0);p.setUTCFullYear(r,0,u),p.setUTCHours(0,0,0,0);var g=Fr(p,t);return n.getTime()>=f.getTime()?r+1:n.getTime()>=g.getTime()?r:r-1}function L_(e,t){ft(1,arguments);var n=t||{},r=n.locale,o=r&&r.options&&r.options.firstWeekContainsDate,i=o==null?1:lt(o),s=n.firstWeekContainsDate==null?i:lt(n.firstWeekContainsDate),a=zc(e,t),u=new Date(0);u.setUTCFullYear(a,0,s),u.setUTCHours(0,0,0,0);var d=Fr(u,t);return d}var N_=6048e5;function Ph(e,t){ft(1,arguments);var n=bt(e),r=Fr(n,t).getTime()-L_(n,t).getTime();return Math.round(r/N_)+1}function $e(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var F_={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return $e(t==="yy"?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return t==="M"?String(n+1):$e(n+1,2)},d:function(e,t){return $e(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,t){return $e(e.getUTCHours()%12||12,t.length)},H:function(e,t){return $e(e.getUTCHours(),t.length)},m:function(e,t){return $e(e.getUTCMinutes(),t.length)},s:function(e,t){return $e(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds(),o=Math.floor(r*Math.pow(10,n-3));return $e(o,t.length)}},or=F_,eo={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},B_={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return or.y(e,t)},Y:function(e,t,n,r){var o=zc(e,r),i=o>0?o:1-o;if(t==="YY"){var s=i%100;return $e(s,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):$e(i,t.length)},R:function(e,t){var n=Th(e);return $e(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return $e(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return $e(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return $e(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return or.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return $e(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=Ph(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):$e(o,t.length)},I:function(e,t,n){var r=Eh(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):$e(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):or.d(e,t)},D:function(e,t,n){var r=D_(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):$e(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return $e(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return $e(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return $e(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours(),o=r/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r=e.getUTCHours(),o;switch(r===12?o=eo.noon:r===0?o=eo.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r=e.getUTCHours(),o;switch(r>=17?o=eo.evening:r>=12?o=eo.afternoon:r>=4?o=eo.morning:o=eo.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){var r=e.getUTCHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return or.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):or.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):$e(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):$e(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):or.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):or.s(e,t)},S:function(e,t){return or.S(e,t)},X:function(e,t,n,r){var o=r._originalDate||e,i=o.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return kf(i);case"XXXX":case"XX":return Or(i);case"XXXXX":case"XXX":default:return Or(i,":")}},x:function(e,t,n,r){var o=r._originalDate||e,i=o.getTimezoneOffset();switch(t){case"x":return kf(i);case"xxxx":case"xx":return Or(i);case"xxxxx":case"xxx":default:return Or(i,":")}},O:function(e,t,n,r){var o=r._originalDate||e,i=o.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Rf(i,":");case"OOOO":default:return"GMT"+Or(i,":")}},z:function(e,t,n,r){var o=r._originalDate||e,i=o.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Rf(i,":");case"zzzz":default:return"GMT"+Or(i,":")}},t:function(e,t,n,r){var o=r._originalDate||e,i=Math.floor(o.getTime()/1e3);return $e(i,t.length)},T:function(e,t,n,r){var o=r._originalDate||e,i=o.getTime();return $e(i,t.length)}};function Rf(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(i===0)return n+String(o);var s=t||"";return n+String(o)+s+$e(i,2)}function kf(e,t){if(e%60===0){var n=e>0?"-":"+";return n+$e(Math.abs(e)/60,2)}return Or(e,t)}function Or(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e),i=$e(Math.floor(o/60),2),s=$e(o%60,2);return r+i+n+s}var U_=B_;function Df(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function xh(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}function H_(e,t){var n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Df(e,t);var i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",Df(r,t)).replace("{{time}}",xh(o,t))}var j_={p:xh,P:H_},Oh=j_,$_=["D","DD"],V_=["YY","YYYY"];function Ah(e){return $_.indexOf(e)!==-1}function Rh(e){return V_.indexOf(e)!==-1}function Us(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var W_=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,q_=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,K_=/^'([^]*?)'?$/,Y_=/''/g,z_=/[a-zA-Z]/;function G_(e,t,n){ft(2,arguments);var r=String(t),o=n||{},i=o.locale||Ch,s=i.options&&i.options.firstWeekContainsDate,a=s==null?1:lt(s),u=o.firstWeekContainsDate==null?a:lt(o.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=i.options&&i.options.weekStartsOn,f=d==null?0:lt(d),p=o.weekStartsOn==null?f:lt(o.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!i.localize)throw new RangeError("locale must contain localize property");if(!i.formatLong)throw new RangeError("locale must contain formatLong property");var g=bt(e);if(!Bs(g))throw new RangeError("Invalid time value");var w=_h(g),y=Sh(g,w),E={firstWeekContainsDate:u,weekStartsOn:p,locale:i,_originalDate:g},I=r.match(q_).map(function(A){var x=A[0];if(x==="p"||x==="P"){var C=Oh[x];return C(A,i.formatLong,E)}return A}).join("").match(W_).map(function(A){if(A==="''")return"'";var x=A[0];if(x==="'")return J_(A);var C=U_[x];if(C)return!o.useAdditionalWeekYearTokens&&Rh(A)&&Us(A,t,e),!o.useAdditionalDayOfYearTokens&&Ah(A)&&Us(A,t,e),C(y,A,i.localize,E);if(x.match(z_))throw new RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");return A}).join("");return I}function J_(e){return e.match(K_)[1].replace(Y_,"'")}function Q_(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");t=t||{};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function Tl(e,t,n){ft(2,arguments);var r=n||{},o=r.locale,i=o&&o.options&&o.options.weekStartsOn,s=i==null?0:lt(i),a=r.weekStartsOn==null?s:lt(r.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=bt(e),d=lt(t),f=u.getUTCDay(),p=d%7,g=(p+7)%7,w=(g<a?7:0)+d-f;return u.setUTCDate(u.getUTCDate()+w),u}function X_(e,t){ft(2,arguments);var n=lt(t);n%7===0&&(n=n-7);var r=1,o=bt(e),i=o.getUTCDay(),s=n%7,a=(s+7)%7,u=(a<r?7:0)+n-i;return o.setUTCDate(o.getUTCDate()+u),o}function Z_(e,t){ft(2,arguments);var n=bt(e),r=lt(t),o=Eh(n)-r;return n.setUTCDate(n.getUTCDate()-o*7),n}function eC(e,t,n){ft(2,arguments);var r=bt(e),o=lt(t),i=Ph(r,n)-o;return r.setUTCDate(r.getUTCDate()-i*7),r}var tC=36e5,nC=6e4,rC=1e3,ut={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},En={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function ot(e,t,n){var r=t.match(e);if(!r)return null;var o=parseInt(r[0],10);return{value:n?n(o):o,rest:t.slice(r[0].length)}}function Pn(e,t){var n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};var r=n[1]==="+"?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:r*(o*tC+i*nC+s*rC),rest:t.slice(n[0].length)}}function If(e,t){return ot(ut.anyDigitsSigned,e,t)}function st(e,t,n){switch(e){case 1:return ot(ut.singleDigit,t,n);case 2:return ot(ut.twoDigits,t,n);case 3:return ot(ut.threeDigits,t,n);case 4:return ot(ut.fourDigits,t,n);default:return ot(new RegExp("^\\d{1,"+e+"}"),t,n)}}function fs(e,t,n){switch(e){case 1:return ot(ut.singleDigitSigned,t,n);case 2:return ot(ut.twoDigitsSigned,t,n);case 3:return ot(ut.threeDigitsSigned,t,n);case 4:return ot(ut.fourDigitsSigned,t,n);default:return ot(new RegExp("^-?\\d{1,"+e+"}"),t,n)}}function El(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Mf(e,t){var n=t>0,r=n?t:1-t,o;if(r<=50)o=e||100;else{var i=r+50,s=Math.floor(i/100)*100,a=e>=i%100;o=e+s-(a?100:0)}return n?o:1-o}var oC=[31,28,31,30,31,30,31,31,30,31,30,31],iC=[31,29,31,30,31,30,31,31,30,31,30,31];function Lf(e){return e%400===0||e%4===0&&e%100!==0}var sC={G:{priority:140,parse:function(e,t,n,r){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,r){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,r){var o=function(i){return{year:i,isTwoDigitYear:t==="yy"}};switch(t){case"y":return st(4,e,o);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:o});default:return st(t.length,e,o)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var o=e.getUTCFullYear();if(n.isTwoDigitYear){var i=Mf(n.year,o);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var s=!("era"in t)||t.era===1?n.year:1-n.year;return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,r){var o=function(i){return{year:i,isTwoDigitYear:t==="YY"}};switch(t){case"Y":return st(4,e,o);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:o});default:return st(t.length,e,o)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var o=zc(e,r);if(n.isTwoDigitYear){var i=Mf(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Fr(e,r)}var s=!("era"in t)||t.era===1?n.year:1-n.year;return e.setUTCFullYear(s,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Fr(e,r)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,r){return fs(t==="R"?4:t.length,e)},set:function(e,t,n,r){var o=new Date(0);return o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0),bo(o)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,r){return fs(t==="u"?4:t.length,e)},set:function(e,t,n,r){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,r){switch(t){case"Q":case"QQ":return st(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,r){switch(t){case"q":case"qq":return st(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,r){var o=function(i){return i-1};switch(t){case"M":return ot(ut.month,e,o);case"MM":return st(2,e,o);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:o});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,r){var o=function(i){return i-1};switch(t){case"L":return ot(ut.month,e,o);case"LL":return st(2,e,o);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:o});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,r){switch(t){case"w":return ot(ut.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return st(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,r){return Fr(eC(e,n,r),r)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,r){switch(t){case"I":return ot(ut.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return st(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,r){return bo(Z_(e,n,r),r)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case"d":return ot(ut.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return st(t.length,e)}},validate:function(e,t,n){var r=e.getUTCFullYear(),o=Lf(r),i=e.getUTCMonth();return o?t>=1&&t<=iC[i]:t>=1&&t<=oC[i]},set:function(e,t,n,r){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case"D":case"DD":return ot(ut.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return st(t.length,e)}},validate:function(e,t,n){var r=e.getUTCFullYear(),o=Lf(r);return o?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,r){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,r){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return e=Tl(e,n,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,r){var o=function(i){var s=Math.floor((i-1)/7)*7;return(i+r.weekStartsOn+6)%7+s};switch(t){case"e":case"ee":return st(t.length,e,o);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:o});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return e=Tl(e,n,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,r){var o=function(i){var s=Math.floor((i-1)/7)*7;return(i+r.weekStartsOn+6)%7+s};switch(t){case"c":case"cc":return st(t.length,e,o);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:o});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return e=Tl(e,n,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,r){var o=function(i){return i===0?7:i};switch(t){case"i":case"ii":return st(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiii":default:return n.day(e,{width:"wide",context:"formatting",valueCallback:o})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,r){return e=X_(e,n,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,n,r){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,r){return e.setUTCHours(El(n),0,0,0),e},incompatibleTokens:["b","B","H","k","t","T"]},b:{priority:80,parse:function(e,t,n,r){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,r){return e.setUTCHours(El(n),0,0,0),e},incompatibleTokens:["a","B","H","k","t","T"]},B:{priority:80,parse:function(e,t,n,r){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,r){return e.setUTCHours(El(n),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,n,r){switch(t){case"h":return ot(ut.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return st(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=12},set:function(e,t,n,r){var o=e.getUTCHours()>=12;return o&&n<12?e.setUTCHours(n+12,0,0,0):!o&&n===12?e.setUTCHours(0,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,r){switch(t){case"H":return ot(ut.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return st(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,r){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,r){switch(t){case"K":return ot(ut.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return st(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){var o=e.getUTCHours()>=12;return o&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,r){switch(t){case"k":return ot(ut.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return st(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,r){var o=n<=24?n%24:n;return e.setUTCHours(o,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,r){switch(t){case"m":return ot(ut.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return st(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,r){switch(t){case"s":return ot(ut.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return st(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,r){var o=function(i){return Math.floor(i*Math.pow(10,-t.length+3))};return st(t.length,e,o)},set:function(e,t,n,r){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,r){switch(t){case"X":return Pn(En.basicOptionalMinutes,e);case"XX":return Pn(En.basic,e);case"XXXX":return Pn(En.basicOptionalSeconds,e);case"XXXXX":return Pn(En.extendedOptionalSeconds,e);case"XXX":default:return Pn(En.extended,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,r){switch(t){case"x":return Pn(En.basicOptionalMinutes,e);case"xx":return Pn(En.basic,e);case"xxxx":return Pn(En.basicOptionalSeconds,e);case"xxxxx":return Pn(En.extendedOptionalSeconds,e);case"xxx":default:return Pn(En.extended,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,r){return If(e)},set:function(e,t,n,r){return[new Date(n*1e3),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,r){return If(e)},set:function(e,t,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},aC=sC,lC=10,cC=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,uC=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,fC=/^'([^]*?)'?$/,dC=/''/g,pC=/\S/,hC=/[a-zA-Z]/;function kh(e,t,n,r){ft(3,arguments);var o=String(e),i=String(t),s=r||{},a=s.locale||Ch;if(!a.match)throw new RangeError("locale must contain match property");var u=a.options&&a.options.firstWeekContainsDate,d=u==null?1:lt(u),f=s.firstWeekContainsDate==null?d:lt(s.firstWeekContainsDate);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=a.options&&a.options.weekStartsOn,g=p==null?0:lt(p),w=s.weekStartsOn==null?g:lt(s.weekStartsOn);if(!(w>=0&&w<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(i==="")return o===""?bt(n):new Date(NaN);var y={firstWeekContainsDate:f,weekStartsOn:w,locale:a},E=[{priority:lC,subPriority:-1,set:gC,index:0}],I,A=i.match(uC).map(function(K){var J=K[0];if(J==="p"||J==="P"){var Me=Oh[J];return Me(K,a.formatLong,y)}return K}).join("").match(cC),x=[];for(I=0;I<A.length;I++){var C=A[I];!s.useAdditionalWeekYearTokens&&Rh(C)&&Us(C,i,e),!s.useAdditionalDayOfYearTokens&&Ah(C)&&Us(C,i,e);var m=C[0],O=aC[m];if(O){var P=O.incompatibleTokens;if(Array.isArray(P)){for(var k=void 0,R=0;R<x.length;R++){var N=x[R].token;if(P.indexOf(N)!==-1||N===m){k=x[R];break}}if(k)throw new RangeError("The format string mustn't contain `".concat(k.fullToken,"` and `").concat(C,"` at the same time"))}else if(O.incompatibleTokens==="*"&&x.length)throw new RangeError("The format string mustn't contain `".concat(C,"` and any other token at the same time"));x.push({token:m,fullToken:C});var F=O.parse(o,C,a.match,y);if(!F)return new Date(NaN);E.push({priority:O.priority,subPriority:O.subPriority||0,set:O.set,validate:O.validate,value:F.value,index:E.length}),o=F.rest}else{if(m.match(hC))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");if(C==="''"?C="'":m==="'"&&(C=mC(C)),o.indexOf(C)===0)o=o.slice(C.length);else return new Date(NaN)}}if(o.length>0&&pC.test(o))return new Date(NaN);var X=E.map(function(K){return K.priority}).sort(function(K,J){return J-K}).filter(function(K,J,Me){return Me.indexOf(K)===J}).map(function(K){return E.filter(function(J){return J.priority===K}).sort(function(J,Me){return Me.subPriority-J.subPriority})}).map(function(K){return K[0]}),_=bt(n);if(isNaN(_))return new Date(NaN);var ne=Sh(_,_h(_)),ce={};for(I=0;I<X.length;I++){var he=X[I];if(he.validate&&!he.validate(ne,he.value,y))return new Date(NaN);var V=he.set(ne,ce,he.value,y);V[0]?(ne=V[0],Q_(ce,V[1])):ne=V}return ne}function gC(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}function mC(e){return e.match(fC)[1].replace(dC,"'")}const oa=Object.assign({},ho);oa.isRight=!0;oa.compare=function(e,t,n){function r(o){if(n&&n.dateInputFormat)return kh(`${o}`,`${n.dateInputFormat}`,new Date);if(typeof o=="string")try{return Date.parse(o)}catch{return o}return o}return e=r(e),t=r(t),Bs(e)?Bs(t)?q0(e,t):1:-1};oa.format=function(e,t){if(e==null)return"";const n=kh(e,t.dateInputFormat,new Date);return Bs(n)?G_(n,t.dateOutputFormat):(console.error(`Not a valid date: "${e}"`),null)};var yC=Object.freeze({__proto__:null,default:oa});const $r=Object.assign({},ho);$r.isRight=!0;$r.filterPredicate=function(e,t){return $r.compare(e,t)===0};$r.compare=function(e,t){function n(r){return r==null?-1/0:r.indexOf(".")>=0?parseFloat(r):parseInt(r,10)}return e=typeof e=="number"?e:n(e),t=typeof t=="number"?t:n(t),e<t?-1:e>t?1:0};var vC=Object.freeze({__proto__:null,default:$r});const Dh=Object.assign({},$r);Dh.format=function(e){return e==null?"":parseFloat(Math.round(e*100)/100).toFixed(2)};var bC=Object.freeze({__proto__:null,default:Dh});const Ih=Object.assign({},$r);Ih.format=function(e){return e==null?"":`${parseFloat(e*100).toFixed(2)}%`};var wC=Object.freeze({__proto__:null,default:Ih});const wi=Object.assign({},ho);wi.isRight=!0;wi.filterPredicate=function(e,t){return wi.compare(e,t)===0};wi.compare=function(e,t){function n(r){return typeof r=="boolean"?r?1:0:typeof r=="string"?r==="true"?1:0:-1/0}return e=n(e),t=n(t),e<t?-1:e>t?1:0};var _C=Object.freeze({__proto__:null,default:wi}),CC={date:yC,decimal:bC,number:vC,percentage:wC,boolean:_C};const Mh={},Nf=CC;Object.keys(Nf).forEach(e=>{const t=e.replace(/^\.\//,"").replace(/\.js/,"");Mh[t]=Nf[e].default});const SC={name:"vue-good-table",props:{isLoading:{default:null,type:Boolean},maxHeight:{default:null,type:String},fixedHeader:Boolean,theme:{default:""},mode:{default:"local"},totalRows:{},styleClass:{default:"vgt-table bordered"},columns:{},rows:{},lineNumbers:Boolean,responsive:{default:!0,type:Boolean},rtl:Boolean,rowStyleClass:{default:null,type:[Function,String]},compactMode:Boolean,enableRowExpand:{default:!1,type:Boolean},expandRowsOptions:{default(){return{enabled:!1}}},groupOptions:{default(){return{enabled:!1,collapsable:!1,rowKey:null}}},selectOptions:{default(){return{enabled:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",disableSelectInfo:!1,selectAllByGroup:!1}}},sortOptions:{default(){return{enabled:!0,multipleColumns:!0,initialSortBy:{}}}},paginationOptions:{default(){return{enabled:!1,position:"bottom",perPage:10,perPageDropdown:null,perPageDropdownEnabled:!0,dropdownAllowAll:!0,mode:"records",infoFn:null}}},searchOptions:{default(){return{enabled:!1,trigger:null,externalQuery:null,searchFn:null,placeholder:"Search Table"}}},expandedRowClasses:{default:"",type:String},expandedRowDetailClasses:{default:"",type:String}},data:()=>({tableLoading:!1,nextText:"Next",prevText:"Previous",rowsPerPageText:"Rows per page",ofText:"of",allText:"All",pageText:"page",selectable:!1,selectOnCheckboxOnly:!1,selectAllByPage:!0,disableSelectInfo:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",maintainExpanded:!0,expandedRowKeys:new Set,sortable:!0,defaultSortBy:null,multipleColumnSort:!0,searchEnabled:!1,searchTrigger:null,externalSearchQuery:null,searchFn:null,searchPlaceholder:"Search Table",searchSkipDiacritics:!1,perPage:null,paginate:!1,paginateOnTop:!1,paginateOnBottom:!0,customRowsPerPageDropdown:[],paginateDropdownAllowAll:!0,paginationMode:"records",paginationInfoFn:null,currentPage:1,currentPerPage:10,sorts:[],globalSearchTerm:"",filteredRows:[],columnFilters:{},forceSearch:!1,sortChanged:!1,dataTypes:Mh||{},expandedRowIndex:null}),emits:["select-all","selected-rows-change","search","per-page-change","page-change","update:isLoading","sort-change","row-click","row-dblclick","row-aux-click","cell-click","row-mouseenter","row-mouseleave","column-filter"],watch:{rows:{handler(){this.$emit("update:isLoading",!1),this.filterRows(this.columnFilters,!1)},deep:!0,immediate:!0},selectOptions:{handler(){this.initializeSelect()},deep:!0,immediate:!0},paginationOptions:{handler(e,t){_l(e,t)||this.initializePagination()},deep:!0,immediate:!0},expandRowsOptions:{handler(e,t){this.initializeExpandRows()},deep:!0,immediate:!0},searchOptions:{handler(){this.searchOptions.externalQuery!==void 0&&this.searchOptions.externalQuery!==this.searchTerm&&(this.externalSearchQuery=this.searchOptions.externalQuery,this.handleSearch()),this.initializeSearch()},deep:!0,immediate:!0},sortOptions:{handler(e,t){_l(e,t)||this.initializeSort()},deep:!0},selectedRows(e,t){_l(e,t)||this.$emit("selected-rows-change",{selectedRows:this.selectedRows})}},computed:{tableStyles(){return this.compactMode?this.tableStyleClasses+"vgt-compact":this.tableStyleClasses},hasFooterSlot(){return!!this.$slots["table-actions-bottom"]},wrapperStyles(){return{overflow:"scroll-y",maxHeight:this.maxHeight?this.maxHeight:"auto"}},rowKeyField(){return this.groupOptions.rowKey||"vgt_header_id"},hasHeaderRowTemplate(){return!!this.$slots["table-header-row"]},showEmptySlot(){return!this.paginated.length||this.paginated[0].label==="no groups"&&!this.paginated[0].children.length},allSelected(){return this.selectedRowCount>0&&(this.selectAllByPage&&this.selectedPageRowsCount===this.totalPageRowCount||!this.selectAllByPage&&this.selectedRowCount===this.totalRowCount)},allSelectedIndeterminate(){return!this.allSelected&&(this.selectAllByPage&&this.selectedPageRowsCount>0||!this.selectAllByPage&&this.selectedRowCount>0)},selectionInfo(){return`${this.selectedRowCount} ${this.selectionText}`},selectedRowCount(){return this.selectedRows.length},selectedPageRowsCount(){return this.selectedPageRows.length},selectedPageRows(){const e=[];return this.paginated.forEach(t=>{t.children.forEach(n=>{n.vgtSelected&&e.push(n)})}),e},selectedRows(){const e=[];return this.processedRows.forEach(t=>{t.children.forEach(n=>{n.vgtSelected&&e.push(n)})}),e.sort((t,n)=>t.originalIndex-n.originalIndex)},fullColspan(){let e=0;for(let t=0;t<this.columns.length;t+=1)this.columns[t].hidden||(e+=1);return this.lineNumbers&&e++,this.selectable&&e++,this.expandRowsEnabled&&e++,e},groupHeaderOnTop(){return this.groupOptions&&this.groupOptions.enabled&&this.groupOptions.headerPosition&&this.groupOptions.headerPosition==="bottom"?!1:!!(this.groupOptions&&this.groupOptions.enabled)},groupHeaderOnBottom(){return!!(this.groupOptions&&this.groupOptions.enabled&&this.groupOptions.headerPosition&&this.groupOptions.headerPosition==="bottom")},totalRowCount(){return this.processedRows.reduce((t,n)=>{const r=n.children?n.children.length:0;return t+r},0)},totalPageRowCount(){return this.paginated.reduce((t,n)=>{const r=n.children?n.children.length:0;return t+r},0)},wrapStyleClasses(){let e="vgt-wrap";return this.rtl&&(e+=" rtl"),e+=` ${this.theme}`,e},tableStyleClasses(){let e=this.styleClass;return e+=` ${this.theme}`,e},searchTerm(){return this.externalSearchQuery!=null?this.externalSearchQuery:this.globalSearchTerm},globalSearchAllowed(){return this.searchEnabled&&this.globalSearchTerm&&this.searchTrigger!=="enter"||this.externalSearchQuery!=null&&this.searchTrigger!=="enter"?!0:this.forceSearch?(this.forceSearch=!1,!0):!1},processedRows(){let e=this.filteredRows;if(this.mode==="remote")return e;if(this.globalSearchAllowed){const t=[];this.filteredRows.forEach(r=>{t.push(...r.children)});const n=[];t.forEach(r=>{for(let o=0;o<this.columns.length;o+=1){const i=this.columns[o];if(!i.globalSearchDisabled){if(this.searchFn){if(this.searchFn(r,i,this.collectFormatted(r,i),this.searchTerm)){n.push(r);break}}else if(ho.filterPredicate(this.collectFormatted(r,i),this.searchTerm,this.searchSkipDiacritics)){n.push(r);break}}}}),this.$emit("search",{searchTerm:this.searchTerm,rowCount:n.length}),e=[],this.filteredRows.forEach(r=>{const o=r.vgt_header_id,i=n.filter(s=>s.vgt_id===o);if(i.length){const s=JSON.parse(JSON.stringify(r));s.children=i,e.push(s)}})}return this.sorts.length&&e.forEach(t=>{t.children.sort((n,r)=>{let o;for(let i=0;i<this.sorts.length;i+=1){const s=this.sorts[i];if(s.type===wt.None)o=o||n.originalIndex-r.originalIndex;else{const a=this.getColumnForField(s.field),u=this.collect(n,s.field),d=this.collect(r,s.field),{sortFn:f}=a;f&&typeof f=="function"?o=o||f(u,d,a,n,r)*(s.type===wt.Descending?-1:1):o=o||a.typeDef.compare(u,d,a)*(s.type===wt.Descending?-1:1)}}return o})}),this.searchTrigger==="enter"&&(this.filteredRows=e),e},paginated(){if(!this.processedRows.length)return[];if(this.mode==="remote")return this.processedRows;let e=[];if(this.processedRows.forEach(n=>{this.groupOptions.enabled&&e.push(n),e.push(...n.children)}),this.paginate){let n=(this.currentPage-1)*this.currentPerPage;(n>=e.length||this.currentPerPage===-1)&&(this.currentPage=1,n=0);let r=e.length+1;this.currentPerPage!==-1&&(r=this.currentPage*this.currentPerPage),e=e.slice(n,r)}const t=[];return e.forEach(n=>{if(n.vgt_header_id!==void 0){this.handleExpanded(n);const r=JSON.parse(JSON.stringify(n));r.children=[],t.push(r)}else{let r=t.find(o=>o.vgt_header_id===n.vgt_id);r||(r=this.processedRows.find(o=>o.vgt_header_id===n.vgt_id),r&&(r=JSON.parse(JSON.stringify(r)),r.children=[],t.push(r))),r.children.push(n)}}),t},originalRows(){const e=JSON.parse(JSON.stringify(this.rows));let t=[];this.groupOptions.enabled?t=this.handleGrouped(e):t=this.handleGrouped([{label:"no groups",children:e}]);let n=0;return t.forEach(r=>{r.children.forEach(o=>{o.originalIndex=n++})}),t},typedColumns(){const e=this.columns;for(let t=0;t<this.columns.length;t++){const n=e[t];n.typeDef=this.dataTypes[n.type]||ho}return e},hasRowClickListener(){return this.$attrs&&this.$attrs["row-click"]}},methods:{handleExpanded(e){this.maintainExpanded&&this.expandedRowKeys.has(e[this.rowKeyField])?e.vgtIsExpanded=!0:e.vgtIsExpanded=!1},toggleExpand(e){const t=this.filteredRows.find(n=>n[this.rowKeyField]===e);t&&(t.vgtIsExpanded=!t.vgtIsExpanded),this.maintainExpanded&&t.vgtIsExpanded?this.expandedRowKeys.add(t[this.rowKeyField]):this.expandedRowKeys.delete(t[this.rowKeyField])},expandAll(){this.filteredRows.forEach(e=>{e.vgtIsExpanded=!0,this.maintainExpanded&&this.expandedRowKeys.add(e[this.rowKeyField])})},collapseAll(){this.filteredRows.forEach(e=>{e.vgtIsExpanded=!1,this.expandedRowKeys.clear()})},getColumnForField(e){for(let t=0;t<this.typedColumns.length;t+=1)if(this.typedColumns[t].field===e)return this.typedColumns[t]},handleSearch(){this.resetTable(),this.mode==="remote"&&this.$emit("search",{searchTerm:this.searchTerm})},reset(){this.initializeSort(),this.changePage(1),this.$refs["table-header-primary"].reset(!0),this.$refs["table-header-secondary"]&&this.$refs["table-header-secondary"].reset(!0)},emitSelectedRows(){this.$emit("select-all",{selected:this.selectedRowCount===this.totalRowCount,selectedRows:this.selectedRows})},unselectAllInternal(e){(this.selectAllByPage&&!e?this.paginated:this.filteredRows).forEach((n,r)=>{n.children.forEach((o,i)=>{o.vgtSelected=!1})}),this.emitSelectedRows()},toggleSelectAll(){if(this.allSelected){this.unselectAllInternal();return}(this.selectAllByPage?this.paginated:this.filteredRows).forEach(t=>{t.children.forEach(n=>{n.vgtSelected=!0})}),this.emitSelectedRows()},toggleExpandRowsAll(){for(let e of this.rows)e.expandedRow?e.expanded=!e.expanded:e.expanded=!1;this.$emit("toggle-expand-rows-all",{})},toggleSelectGroup(e,t){t.children.forEach(n=>{n.vgtSelected=e})},changePage(e){const t=this.paginate;let{paginationBottom:n,paginationTop:r}=this.$refs;t&&(this.paginateOnTop&&r&&(r.currentPage=e),this.paginateOnBottom&&n&&(n.currentPage=e),this.currentPage=e)},pageChangedEvent(){return{currentPage:this.currentPage,currentPerPage:this.currentPerPage,total:Math.floor(this.totalRowCount/this.currentPerPage)}},pageChanged(e){if(this.currentPage=e.currentPage,!e.noEmit){const t=this.pageChangedEvent();t.prevPage=e.prevPage,this.$emit("page-change",t),this.mode==="remote"&&this.$emit("update:isLoading",!0)}},perPageChanged(e){this.currentPerPage=e.currentPerPage;let t=this.paginationOptions.position;this.$refs.paginationTop&&(t==="top"||t==="both")&&(this.$refs.paginationTop.currentPerPage=this.currentPerPage),this.$refs.paginationBottom&&(t==="bottom"||t==="both")&&(this.$refs.paginationBottom.currentPerPage=this.currentPerPage);const n=this.pageChangedEvent();this.$emit("per-page-change",n),this.mode==="remote"&&this.$emit("update:isLoading",!0)},changeSort(e){if(this.sorts=e,this.$emit("sort-change",e),this.changePage(1),this.mode==="remote"){this.$emit("update:isLoading",!0);return}this.sortChanged=!0},toggleRowExpand(e,t){this.expandedRowIndex===t?this.expandedRowIndex=null:this.expandedRowIndex=t},onCheckboxClicked(e,t,n){this.enableRowExpand&&this.toggleRowExpand(e,t),e.vgtSelected=!e.vgtSelected,this.$emit("row-click",{row:e,pageIndex:t,selected:!!e.vgtSelected,event:n})},toggleExpandRow(e){e.expanded=!e.expanded},onRowDoubleClicked(e,t,n){this.$emit("row-dblclick",{row:e,pageIndex:t,selected:!!e.vgtSelected,event:n})},onRowClicked(e,t,n){this.enableRowExpand&&this.toggleRowExpand(e,t),this.selectable&&!this.selectOnCheckboxOnly&&(e.vgtSelected=!e.vgtSelected),this.$emit("row-click",{row:e,pageIndex:t,selected:!!e.vgtSelected,event:n})},onRowAuxClicked(e,t,n){this.$emit("row-aux-click",{row:e,pageIndex:t,selected:!!e.vgtSelected,event:n})},onCellClicked(e,t,n,r){this.$emit("cell-click",{row:e,column:t,rowIndex:n,event:r})},onMouseenter(e,t){this.$emit("row-mouseenter",{row:e,pageIndex:t})},onMouseleave(e,t){this.$emit("row-mouseleave",{row:e,pageIndex:t})},searchTableOnEnter(){this.searchTrigger==="enter"&&(this.handleSearch(),this.filteredRows=JSON.parse(JSON.stringify(this.originalRows)),this.forceSearch=!0,this.sortChanged=!0)},searchTableOnKeyUp(){this.searchTrigger!=="enter"&&this.handleSearch()},resetTable(){this.unselectAllInternal(!0),this.changePage(1)},collect(e,t){function n(r,o){let i=r;const s=o.split(".");for(let a=0;a<s.length;a++){if(typeof i>"u"||i===null)return;i=i[s[a]]}return i}if(typeof t=="function")return t(e);if(typeof t=="string")return n(e,t)},collectFormatted(e,t,n=!1){let r;if(n&&t.headerField?r=this.collect(e,t.headerField):r=this.collect(e,t.field),r===void 0)return"";if(t.formatFn&&typeof t.formatFn=="function")return t.formatFn(r,e);let o=t.typeDef;o||(o=this.dataTypes[t.type]||ho);let i=o.format(r,t);return this.compactMode&&(i==""||i==null)?"-":i},formattedRow(e,t=!1){const n={};for(let r=0;r<this.typedColumns.length;r++){const o=this.typedColumns[r];o.field&&(n[o.field]=this.collectFormatted(e,o,t))}return n},getClasses(e,t,n){const{typeDef:r,[`${t}Class`]:o}=this.typedColumns[e];let{isRight:i}=r;this.rtl&&(i=!0);const s={"vgt-right-align":i,"vgt-left-align":!i};return typeof o=="function"?s[o(n)]=!0:typeof o=="string"&&(s[o]=!0),s},filterRows(e,t=!0){this.columnFilters=e;let n=JSON.parse(JSON.stringify(this.originalRows)),r=!1;if(this.columnFilters&&Object.keys(this.columnFilters).length){if((this.mode!=="remote"||t)&&this.changePage(1),t&&this.$emit("column-filter",{columnFilters:this.columnFilters}),this.mode==="remote"){t?this.$emit("update:isLoading",!0):this.filteredRows=n;return}const o=i=>typeof i=="function"&&i.name?i.name:i;for(let i=0;i<this.typedColumns.length;i++){const s=this.typedColumns[i];this.columnFilters[o(s.field)]&&(r=!0,n.forEach(a=>{const u=a.children.filter(d=>{if(s.filterOptions&&typeof s.filterOptions.filterFn=="function")return s.filterOptions.filterFn(this.collect(d,s.field),this.columnFilters[o(s.field)]);const{typeDef:f}=s;return f.filterPredicate(this.collect(d,s.field),this.columnFilters[o(s.field)],!1,s.filterOptions&&typeof s.filterOptions.filterDropdownItems=="object")});a.children=u}))}}r?this.filteredRows=n.filter(o=>o.children&&o.children.length):this.filteredRows=n},getCurrentIndex(e){let t=0,n=!1;for(let r=0;r<this.paginated.length;r+=1){const o=this.paginated[r],{children:i}=o;if(i&&i.length)for(let s=0;s<i.length;s+=1){if(i[s].originalIndex===e){n=!0;break}t+=1}if(n)break}return(this.currentPage-1)*this.currentPerPage+t+1},getRowStyleClass(e){let t="";this.hasRowClickListener&&(t+="clickable");let n;return typeof this.rowStyleClass=="function"?n=this.rowStyleClass(e):n=this.rowStyleClass,n&&(t+=` ${n}`),this.expandedRowIndex===e.originalIndex&&(t+=` ${this.expandedRowClasses}`),t},handleGrouped(e){return e.forEach((t,n)=>{t.vgt_header_id=n,this.groupOptions.maintainExpanded&&this.expandedRowKeys.has(t[this.groupOptions.rowKey])&&(t.vgtIsExpanded=!0),t.children.forEach(r=>{r.vgt_id=n})}),e},initializePagination(){const{enabled:e,perPage:t,position:n,perPageDropdown:r,perPageDropdownEnabled:o,dropdownAllowAll:i,nextLabel:s,prevLabel:a,rowsPerPageLabel:u,ofLabel:d,pageLabel:f,allLabel:p,setCurrentPage:g,mode:w,infoFn:y}=this.paginationOptions;typeof e=="boolean"&&(this.paginate=e),typeof t=="number"&&(this.perPage=t),n==="top"?(this.paginateOnTop=!0,this.paginateOnBottom=!1):n==="both"&&(this.paginateOnTop=!0,this.paginateOnBottom=!0),Array.isArray(r)&&r.length&&(this.customRowsPerPageDropdown=r,this.perPage||([this.perPage]=r)),typeof o=="boolean"&&(this.perPageDropdownEnabled=o),typeof i=="boolean"&&(this.paginateDropdownAllowAll=i),typeof w=="string"&&(this.paginationMode=w),typeof s=="string"&&(this.nextText=s),typeof a=="string"&&(this.prevText=a),typeof u=="string"&&(this.rowsPerPageText=u),typeof d=="string"&&(this.ofText=d),typeof f=="string"&&(this.pageText=f),typeof p=="string"&&(this.allText=p),typeof g=="number"&&setTimeout(()=>{this.changePage(g)},500),typeof y=="function"&&(this.paginationInfoFn=y)},initializeExpandRows(){const{enabled:e}=this.expandRowsOptions;typeof e=="boolean"&&(this.expandRowsEnabled=e)},initializeSearch(){const{enabled:e,trigger:t,externalQuery:n,searchFn:r,placeholder:o,skipDiacritics:i}=this.searchOptions;typeof e=="boolean"&&(this.searchEnabled=e),t==="enter"&&(this.searchTrigger=t),typeof n=="string"&&(this.externalSearchQuery=n),typeof r=="function"&&(this.searchFn=r),typeof o=="string"&&(this.searchPlaceholder=o),typeof i=="boolean"&&(this.searchSkipDiacritics=i)},initializeSort(){const{enabled:e,initialSortBy:t,multipleColumns:n}=this.sortOptions,r=JSON.parse(JSON.stringify(t||{}));if(typeof e=="boolean"&&(this.sortable=e),typeof n=="boolean"&&(this.multipleColumnSort=n),typeof r=="object"){const o=this.fixedHeader?this.$refs["table-header-secondary"]:this.$refs["table-header-primary"];Array.isArray(r)?o.setInitialSort(r):Object.prototype.hasOwnProperty.call(r,"field")&&o.setInitialSort([r])}},initializeSelect(){const{enabled:e,selectionInfoClass:t,selectionText:n,clearSelectionText:r,selectOnCheckboxOnly:o,selectAllByPage:i,disableSelectInfo:s,selectAllByGroup:a}=this.selectOptions;typeof e=="boolean"&&(this.selectable=e),typeof o=="boolean"&&(this.selectOnCheckboxOnly=o),typeof i=="boolean"&&(this.selectAllByPage=i),typeof a=="boolean"&&(this.selectAllByGroup=a),typeof s=="boolean"&&(this.disableSelectInfo=s),typeof t=="string"&&(this.selectionInfoClass=t),typeof n=="string"&&(this.selectionText=n),typeof r=="string"&&(this.clearSelectionText=r)}},mounted(){this.perPage&&(this.currentPerPage=this.perPage),this.initializeSort()},components:{"vgt-pagination":Ww,"vgt-global-search":t0,"vgt-header-row":V0,"vgt-table-header":R0}},TC={key:0,class:"vgt-loading vgt-center-align"},EC=we("span",{class:"vgt-loading__content"}," Loading... ",-1),PC={class:"vgt-selection-info-row__actions vgt-pull-right"},xC={class:"vgt-fixed-header"},OC=["id"],AC=["id"],RC=["onMouseenter","onMouseleave","onDblclick","onClick","onAuxclick"],kC={key:0,class:"line-numbers"},DC=["onClick"],IC=["disabled","checked"],MC=["onClick","data-label"],LC={key:0},NC=["innerHTML"],FC=["colspan"],BC=["colspan"],UC={key:0},HC=["colspan"],jC=we("div",{class:"vgt-center-align vgt-text-disabled"}," No data for table ",-1),$C={key:2,class:"vgt-wrap__actions-footer"};function VC(e,t,n,r,o,i){const s=Dr("vgt-pagination"),a=Dr("vgt-global-search"),u=Dr("vgt-table-header"),d=Dr("vgt-header-row");return oe(),se("div",{class:it(i.wrapStyleClasses)},[n.isLoading?(oe(),se("div",TC,[rt(e.$slots,"loadingContent",{},()=>[EC])])):ve("v-if",!0),we("div",{class:it(["vgt-inner-wrap",{"is-loading":n.isLoading}])},[e.paginate&&e.paginateOnTop?rt(e.$slots,"pagination-top",{key:0,pageChanged:i.pageChanged,perPageChanged:i.perPageChanged,total:n.totalRows||i.totalRowCount},()=>[Ue(s,{ref:"paginationTop",onPageChanged:i.pageChanged,onPerPageChanged:i.perPageChanged,perPage:e.perPage,rtl:n.rtl,total:n.totalRows||i.totalRowCount,mode:e.paginationMode,nextText:e.nextText,prevText:e.prevText,rowsPerPageText:e.rowsPerPageText,perPageDropdownEnabled:n.paginationOptions.perPageDropdownEnabled,customRowsPerPageDropdown:e.customRowsPerPageDropdown,paginateDropdownAllowAll:e.paginateDropdownAllowAll,ofText:e.ofText,pageText:e.pageText,allText:e.allText,"info-fn":e.paginationInfoFn},null,8,["onPageChanged","onPerPageChanged","perPage","rtl","total","mode","nextText","prevText","rowsPerPageText","perPageDropdownEnabled","customRowsPerPageDropdown","paginateDropdownAllowAll","ofText","pageText","allText","info-fn"])]):ve("v-if",!0),Ue(a,{onKeyup:i.searchTableOnKeyUp,onEnter:i.searchTableOnEnter,value:e.globalSearchTerm,onInput:t[0]||(t[0]=f=>e.globalSearchTerm=f),"search-enabled":e.searchEnabled&&e.externalSearchQuery==null,"global-search-placeholder":e.searchPlaceholder},gl({_:2},[e.$slots["table-actions"]?{name:"internal-table-actions",fn:xn(()=>[rt(e.$slots,"table-actions")])}:void 0]),1032,["onKeyup","onEnter","value","search-enabled","global-search-placeholder"]),i.selectedRowCount&&!e.disableSelectInfo?(oe(),se("div",{key:1,class:it(["vgt-selection-info-row clearfix",e.selectionInfoClass])},[na(Xe(i.selectionInfo)+" ",1),we("a",{href:"",onClick:t[1]||(t[1]=wr(f=>i.unselectAllInternal(!0),["prevent"]))},Xe(e.clearSelectionText),1),we("div",PC,[rt(e.$slots,"selected-row-actions")])],2)):ve("v-if",!0),we("div",xC,[n.fixedHeader?(oe(),se("table",{key:0,id:"vgt-table",class:it(i.tableStyleClasses)},[we("colgroup",null,[(oe(!0),se(Fe,null,fn(n.columns,(f,p)=>(oe(),se("col",{key:p,id:`col-${p}`},null,8,OC))),128))]),ve(" Table header "),Ue(u,{ref:"table-header-secondary",onToggleSelectAll:i.toggleSelectAll,onToggleExpandRowsAll:i.toggleExpandRowsAll,onSortChange:i.changeSort,onFilterChanged:i.filterRows,columns:n.columns,"line-numbers":n.lineNumbers,selectable:e.selectable,"all-selected":i.allSelected,"all-selected-indeterminate":i.allSelectedIndeterminate,mode:n.mode,sortable:e.sortable,"multiple-column-sort":e.multipleColumnSort,"typed-columns":i.typedColumns,getClasses:i.getClasses,searchEnabled:e.searchEnabled,paginated:i.paginated,"table-ref":e.$refs.table},{"table-column":xn(f=>[rt(e.$slots,"table-column",{column:f.column},()=>[we("span",null,Xe(f.column.label),1)])]),"column-filter":xn(f=>[rt(e.$slots,"column-filter",{column:f.column,updateFilters:f.updateFilters})]),_:3},8,["onToggleSelectAll","onToggleExpandRowsAll","onSortChange","onFilterChanged","columns","line-numbers","selectable","all-selected","all-selected-indeterminate","mode","sortable","multiple-column-sort","typed-columns","getClasses","searchEnabled","paginated","table-ref"])],2)):ve("v-if",!0)]),we("div",{class:it({"vgt-responsive":n.responsive}),style:Ro(i.wrapperStyles)},[we("table",{id:"vgt-table",ref:"table",class:it(i.tableStyles)},[we("colgroup",null,[(oe(!0),se(Fe,null,fn(n.columns,(f,p)=>(oe(),se("col",{key:p,id:`col-${p}`},null,8,AC))),128))]),ve(" Table header "),Ue(u,{ref:"table-header-primary",onToggleSelectAll:i.toggleSelectAll,onToggleExpandRowsAll:i.toggleExpandRowsAll,onSortChange:i.changeSort,onFilterChanged:i.filterRows,columns:n.columns,"line-numbers":n.lineNumbers,selectable:e.selectable,"all-selected":i.allSelected,"all-selected-indeterminate":i.allSelectedIndeterminate,mode:n.mode,sortable:e.sortable,"multiple-column-sort":e.multipleColumnSort,"typed-columns":i.typedColumns,getClasses:i.getClasses,searchEnabled:e.searchEnabled},{"table-column":xn(f=>[rt(e.$slots,"table-column",{column:f.column},()=>[we("span",null,Xe(f.column.label),1)])]),"column-filter":xn(f=>[rt(e.$slots,"column-filter",{column:f.column,updateFilters:f.updateFilters})]),_:3},8,["onToggleSelectAll","onToggleExpandRowsAll","onSortChange","onFilterChanged","columns","line-numbers","selectable","all-selected","all-selected-indeterminate","mode","sortable","multiple-column-sort","typed-columns","getClasses","searchEnabled"]),ve(" Table body starts here "),(oe(!0),se(Fe,null,fn(i.paginated,(f,p)=>(oe(),se("tbody",{key:p},[ve(" if group row header is at the top "),i.groupHeaderOnTop?(oe(),bi(d,{key:0,onVgtExpand:g=>i.toggleExpand(f[i.rowKeyField]),"header-row":f,columns:n.columns,"line-numbers":n.lineNumbers,selectable:e.selectable,"select-all-by-group":e.selectAllByGroup,collapsable:n.groupOptions.collapsable,"collect-formatted":i.collectFormatted,"formatted-row":i.formattedRow,class:it(i.getRowStyleClass(f)),"get-classes":i.getClasses,"full-colspan":i.fullColspan,groupIndex:p,onSelectGroupChange:g=>i.toggleSelectGroup(g,f)},gl({_:2},[i.hasHeaderRowTemplate?{name:"table-header-row",fn:xn(g=>[rt(e.$slots,"table-header-row",{column:g.column,formattedRow:g.formattedRow,row:g.row})])}:void 0]),1032,["onVgtExpand","header-row","columns","line-numbers","selectable","select-all-by-group","collapsable","collect-formatted","formatted-row","class","get-classes","full-colspan","groupIndex","onSelectGroupChange"])):ve("v-if",!0),ve(" normal rows here. we loop over all rows "),(oe(!0),se(Fe,null,fn(f.children,(g,w)=>(oe(),se(Fe,null,[!n.groupOptions.collapsable||f.vgtIsExpanded?(oe(),se("tr",{key:g.originalIndex,class:it(i.getRowStyleClass(g)),onMouseenter:y=>i.onMouseenter(g,w),onMouseleave:y=>i.onMouseleave(g,w),onDblclick:y=>i.onRowDoubleClicked(g,w,y),onClick:y=>i.onRowClicked(g,w,y),onAuxclick:y=>i.onRowAuxClicked(g,w,y)},[n.lineNumbers?(oe(),se("th",kC,Xe(i.getCurrentIndex(g.originalIndex)),1)):ve("v-if",!0),e.selectable?(oe(),se("th",{key:1,onClick:wr(y=>i.onCheckboxClicked(g,w,y),["stop"]),class:"vgt-checkbox-col"},[we("input",{type:"checkbox",disabled:g.vgtDisabled,checked:g.vgtSelected},null,8,IC)],8,DC)):ve("v-if",!0),(oe(!0),se(Fe,null,fn(n.columns,(y,E)=>(oe(),se(Fe,null,[!y.hidden&&y.field?(oe(),se("td",{key:E,onClick:I=>i.onCellClicked(g,y,w,I),class:it(i.getClasses(E,"td",g)),"data-label":n.compactMode?y.label:void 0},[rt(e.$slots,"table-row",{row:g,column:y,formattedRow:i.formattedRow(g),index:w,expandedRow:e.expandedRowIndex===w},()=>[y.html?(oe(),se("span",{key:1,innerHTML:i.collect(g,y.field)},null,8,NC)):(oe(),se("span",LC,Xe(i.collectFormatted(g,y)),1))])],10,MC)):ve("v-if",!0)],64))),256))],42,RC)):ve("v-if",!0),e.expandedRowIndex===w?(oe(),se("tr",{class:it(n.expandedRowDetailClasses),key:g.originalIndex},[we("td",{colspan:i.fullColspan},[rt(e.$slots,"row-details",{row:g,formattedRow:i.formattedRow(g),index:w})],8,FC)],2)):ve("v-if",!0),g.expanded?(oe(),se("tr",{key:g.originalIndex},[we("td",{colspan:i.fullColspan},Xe(g.expandedRow),9,BC)])):ve("v-if",!0)],64))),256)),ve(" if group row header is at the bottom "),i.groupHeaderOnBottom?(oe(),bi(d,{key:1,"header-row":f,columns:n.columns,"line-numbers":n.lineNumbers,selectable:e.selectable,"select-all-by-group":e.selectAllByGroup,"collect-formatted":i.collectFormatted,"formatted-row":i.formattedRow,"get-classes":i.getClasses,"full-colspan":i.fullColspan,groupIndex:e.index,onSelectGroupChange:g=>i.toggleSelectGroup(g,f)},gl({_:2},[i.hasHeaderRowTemplate?{name:"table-header-row",fn:xn(g=>[rt(e.$slots,"table-header-row",{column:g.column,formattedRow:g.formattedRow,row:g.row})])}:void 0]),1032,["header-row","columns","line-numbers","selectable","select-all-by-group","collect-formatted","formatted-row","get-classes","full-colspan","groupIndex","onSelectGroupChange"])):ve("v-if",!0)]))),128)),i.showEmptySlot?(oe(),se("tbody",UC,[we("tr",null,[we("td",{colspan:i.fullColspan},[rt(e.$slots,"emptystate",{},()=>[jC])],8,HC)])])):ve("v-if",!0)],2)],6),i.hasFooterSlot?(oe(),se("div",$C,[rt(e.$slots,"table-actions-bottom")])):ve("v-if",!0),e.paginate&&e.paginateOnBottom?rt(e.$slots,"pagination-bottom",{key:3,pageChanged:i.pageChanged,perPageChanged:i.perPageChanged,total:n.totalRows||i.totalRowCount},()=>[Ue(s,{ref:"paginationBottom",onPageChanged:i.pageChanged,onPerPageChanged:i.perPageChanged,perPage:e.perPage,rtl:n.rtl,total:n.totalRows||i.totalRowCount,mode:e.paginationMode,nextText:e.nextText,prevText:e.prevText,rowsPerPageText:e.rowsPerPageText,perPageDropdownEnabled:n.paginationOptions.perPageDropdownEnabled,customRowsPerPageDropdown:e.customRowsPerPageDropdown,paginateDropdownAllowAll:e.paginateDropdownAllowAll,ofText:e.ofText,pageText:e.pageText,allText:e.allText,"info-fn":e.paginationInfoFn},null,8,["onPageChanged","onPerPageChanged","perPage","rtl","total","mode","nextText","prevText","rowsPerPageText","perPageDropdownEnabled","customRowsPerPageDropdown","paginateDropdownAllowAll","ofText","pageText","allText","info-fn"])]):ve("v-if",!0)],2)],2)}var WC=qr(SC,[["render",VC]]),qC={install:(e,t)=>{e.component("VueGoodTable",WC)}};var ir=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Lh={exports:{}};/*! * sweetalert2 v11.4.0 * Released under the MIT License. */(function(e,t){(function(n,r){e.exports=r()})(ir,function(){const n="SweetAlert2:",r=l=>{const c=[];for(let h=0;h<l.length;h++)c.indexOf(l[h])===-1&&c.push(l[h]);return c},o=l=>l.charAt(0).toUpperCase()+l.slice(1),i=l=>Array.prototype.slice.call(l),s=l=>{console.warn("".concat(n," ").concat(typeof l=="object"?l.join(" "):l))},a=l=>{console.error("".concat(n," ").concat(l))},u=[],d=l=>{u.includes(l)||(u.push(l),s(l))},f=(l,c)=>{d('"'.concat(l,'" is deprecated and will be removed in the next major release. Please use "').concat(c,'" instead.'))},p=l=>typeof l=="function"?l():l,g=l=>l&&typeof l.toPromise=="function",w=l=>g(l)?l.toPromise():Promise.resolve(l),y=l=>l&&Promise.resolve(l)===l,E={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},I=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],A={},x=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],C=l=>Object.prototype.hasOwnProperty.call(E,l),m=l=>I.indexOf(l)!==-1,O=l=>A[l],P=l=>{C(l)||s('Unknown parameter "'.concat(l,'"'))},k=l=>{x.includes(l)&&s('The parameter "'.concat(l,'" is incompatible with toasts'))},R=l=>{O(l)&&f(l,O(l))},N=l=>{!l.backdrop&&l.allowOutsideClick&&s('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const c in l)P(c),l.toast&&k(c),R(c)},F="swal2-",X=l=>{const c={};for(const h in l)c[l[h]]=F+l[h];return c},_=X(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),ne=X(["success","warning","info","question","error"]),ce=()=>document.body.querySelector(".".concat(_.container)),he=l=>{const c=ce();return c?c.querySelector(l):null},V=l=>he(".".concat(l)),K=()=>V(_.popup),J=()=>V(_.icon),Me=()=>V(_.title),ze=()=>V(_["html-container"]),nt=()=>V(_.image),He=()=>V(_["progress-steps"]),ct=()=>V(_["validation-message"]),je=()=>he(".".concat(_.actions," .").concat(_.confirm)),be=()=>he(".".concat(_.actions," .").concat(_.deny)),Be=()=>V(_["input-label"]),B=()=>he(".".concat(_.loader)),Q=()=>he(".".concat(_.actions," .").concat(_.cancel)),ee=()=>V(_.actions),ie=()=>V(_.footer),Pe=()=>V(_["timer-progress-bar"]),Re=()=>V(_.close),b=` a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls], summary `,T=()=>{const l=i(K().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((h,S)=>{const q=parseInt(h.getAttribute("tabindex")),ye=parseInt(S.getAttribute("tabindex"));return q>ye?1:q<ye?-1:0}),c=i(K().querySelectorAll(b)).filter(h=>h.getAttribute("tabindex")!=="-1");return r(l.concat(c)).filter(h=>L(h))},M=()=>!Y(document.body,_["toast-shown"])&&!Y(document.body,_["no-backdrop"]),H=()=>K()&&Y(K(),_.toast),U=()=>K().hasAttribute("data-loading"),z={previousBodyPadding:null},G=(l,c)=>{if(l.textContent="",c){const S=new DOMParser().parseFromString(c,"text/html");i(S.querySelector("head").childNodes).forEach(q=>{l.appendChild(q)}),i(S.querySelector("body").childNodes).forEach(q=>{l.appendChild(q)})}},Y=(l,c)=>{if(!c)return!1;const h=c.split(/\s+/);for(let S=0;S<h.length;S++)if(!l.classList.contains(h[S]))return!1;return!0},Z=(l,c)=>{i(l.classList).forEach(h=>{!Object.values(_).includes(h)&&!Object.values(ne).includes(h)&&!Object.values(c.showClass).includes(h)&&l.classList.remove(h)})},j=(l,c,h)=>{if(Z(l,c),c.customClass&&c.customClass[h]){if(typeof c.customClass[h]!="string"&&!c.customClass[h].forEach)return s("Invalid type of customClass.".concat(h,'! Expected string or iterable object, got "').concat(typeof c.customClass[h],'"'));te(l,c.customClass[h])}},re=(l,c)=>{if(!c)return null;switch(c){case"select":case"textarea":case"file":return l.querySelector(".".concat(_.popup," > .").concat(_[c]));case"checkbox":return l.querySelector(".".concat(_.popup," > .").concat(_.checkbox," input"));case"radio":return l.querySelector(".".concat(_.popup," > .").concat(_.radio," input:checked"))||l.querySelector(".".concat(_.popup," > .").concat(_.radio," input:first-child"));case"range":return l.querySelector(".".concat(_.popup," > .").concat(_.range," input"));default:return l.querySelector(".".concat(_.popup," > .").concat(_.input))}},pe=l=>{if(l.focus(),l.type!=="file"){const c=l.value;l.value="",l.value=c}},fe=(l,c,h)=>{!l||!c||(typeof c=="string"&&(c=c.split(/\s+/).filter(Boolean)),c.forEach(S=>{Array.isArray(l)?l.forEach(q=>{h?q.classList.add(S):q.classList.remove(S)}):h?l.classList.add(S):l.classList.remove(S)}))},te=(l,c)=>{fe(l,c,!0)},ge=(l,c)=>{fe(l,c,!1)},Te=(l,c)=>{const h=i(l.childNodes);for(let S=0;S<h.length;S++)if(Y(h[S],c))return h[S]},ke=(l,c,h)=>{h==="".concat(parseInt(h))&&(h=parseInt(h)),h||parseInt(h)===0?l.style[c]=typeof h=="number"?"".concat(h,"px"):h:l.style.removeProperty(c)},_e=function(l){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";l.style.display=c},Le=l=>{l.style.display="none"},Rt=(l,c,h,S)=>{const q=l.querySelector(c);q&&(q.style[h]=S)},on=(l,c,h)=>{c?_e(l,h):Le(l)},L=l=>!!(l&&(l.offsetWidth||l.offsetHeight||l.getClientRects().length)),ae=()=>!L(je())&&!L(be())&&!L(Q()),ue=l=>l.scrollHeight>l.clientHeight,Ee=l=>{const c=window.getComputedStyle(l),h=parseFloat(c.getPropertyValue("animation-duration")||"0"),S=parseFloat(c.getPropertyValue("transition-duration")||"0");return h>0||S>0},Oe=function(l){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const h=Pe();L(h)&&(c&&(h.style.transition="none",h.style.width="100%"),setTimeout(()=>{h.style.transition="width ".concat(l/1e3,"s linear"),h.style.width="0%"},10))},Ge=()=>{const l=Pe(),c=parseInt(window.getComputedStyle(l).width);l.style.removeProperty("transition"),l.style.width="100%";const h=parseInt(window.getComputedStyle(l).width),S=c/h*100;l.style.removeProperty("transition"),l.style.width="".concat(S,"%")},mt=()=>typeof window>"u"||typeof document>"u",vn=100,Ce={},Ut=()=>{Ce.previousActiveElement&&Ce.previousActiveElement.focus?(Ce.previousActiveElement.focus(),Ce.previousActiveElement=null):document.body&&document.body.focus()},sn=l=>new Promise(c=>{if(!l)return c();const h=window.scrollX,S=window.scrollY;Ce.restoreFocusTimeout=setTimeout(()=>{Ut(),c()},vn),window.scrollTo(h,S)}),bn=` <div aria-labelledby="`.concat(_.title,'" aria-describedby="').concat(_["html-container"],'" class="').concat(_.popup,`" tabindex="-1"> <button type="button" class="`).concat(_.close,`"></button> <ul class="`).concat(_["progress-steps"],`"></ul> <div class="`).concat(_.icon,`"></div> <img class="`).concat(_.image,`" /> <h2 class="`).concat(_.title,'" id="').concat(_.title,`"></h2> <div class="`).concat(_["html-container"],'" id="').concat(_["html-container"],`"></div> <input class="`).concat(_.input,`" /> <input type="file" class="`).concat(_.file,`" /> <div class="`).concat(_.range,`"> <input type="range" /> <output></output> </div> <select class="`).concat(_.select,`"></select> <div class="`).concat(_.radio,`"></div> <label for="`).concat(_.checkbox,'" class="').concat(_.checkbox,`"> <input type="checkbox" /> <span class="`).concat(_.label,`"></span> </label> <textarea class="`).concat(_.textarea,`"></textarea> <div class="`).concat(_["validation-message"],'" id="').concat(_["validation-message"],`"></div> <div class="`).concat(_.actions,`"> <div class="`).concat(_.loader,`"></div> <button type="button" class="`).concat(_.confirm,`"></button> <button type="button" class="`).concat(_.deny,`"></button> <button type="button" class="`).concat(_.cancel,`"></button> </div> <div class="`).concat(_.footer,`"></div> <div class="`).concat(_["timer-progress-bar-container"],`"> <div class="`).concat(_["timer-progress-bar"],`"></div> </div> </div> `).replace(/(^|\n)\s*/g,""),Gt=()=>{const l=ce();return l?(l.remove(),ge([document.documentElement,document.body],[_["no-backdrop"],_["toast-shown"],_["has-column"]]),!0):!1},Ht=()=>{Ce.currentInstance.resetValidationMessage()},an=()=>{const l=K(),c=Te(l,_.input),h=Te(l,_.file),S=l.querySelector(".".concat(_.range," input")),q=l.querySelector(".".concat(_.range," output")),ye=Te(l,_.select),vt=l.querySelector(".".concat(_.checkbox," input")),Vt=Te(l,_.textarea);c.oninput=Ht,h.onchange=Ht,ye.onchange=Ht,vt.onchange=Ht,Vt.oninput=Ht,S.oninput=()=>{Ht(),q.value=S.value},S.onchange=()=>{Ht(),S.nextSibling.value=S.value}},er=l=>typeof l=="string"?document.querySelector(l):l,_a=l=>{const c=K();c.setAttribute("role",l.toast?"alert":"dialog"),c.setAttribute("aria-live",l.toast?"polite":"assertive"),l.toast||c.setAttribute("aria-modal","true")},Ca=l=>{window.getComputedStyle(l).direction==="rtl"&&te(ce(),_.rtl)},Sa=l=>{const c=Gt();if(mt()){a("SweetAlert2 requires document to initialize");return}const h=document.createElement("div");h.className=_.container,c&&te(h,_["no-transition"]),G(h,bn);const S=er(l.target);S.appendChild(h),_a(l),Ca(S),an()},No=(l,c)=>{l instanceof HTMLElement?c.appendChild(l):typeof l=="object"?Ni(l,c):l&&G(c,l)},Ni=(l,c)=>{l.jquery?Fo(c,l):G(c,l.toString())},Fo=(l,c)=>{if(l.textContent="",0 in c)for(let h=0;h in c;h++)l.appendChild(c[h].cloneNode(!0));else l.appendChild(c.cloneNode(!0))},jt=(()=>{if(mt())return!1;const l=document.createElement("div"),c={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const h in c)if(Object.prototype.hasOwnProperty.call(c,h)&&typeof l.style[h]<"u")return c[h];return!1})(),Ta=()=>{const l=document.createElement("div");l.className=_["scrollbar-measure"],document.body.appendChild(l);const c=l.getBoundingClientRect().width-l.clientWidth;return document.body.removeChild(l),c},Ea=(l,c)=>{const h=ee(),S=B();!c.showConfirmButton&&!c.showDenyButton&&!c.showCancelButton?Le(h):_e(h),j(h,c,"actions"),Pa(h,S,c),G(S,c.loaderHtml),j(S,c,"loader")};function Pa(l,c,h){const S=je(),q=be(),ye=Q();Bo(S,"confirm",h),Bo(q,"deny",h),Bo(ye,"cancel",h),xa(S,q,ye,h),h.reverseButtons&&(h.toast?(l.insertBefore(ye,S),l.insertBefore(q,S)):(l.insertBefore(ye,c),l.insertBefore(q,c),l.insertBefore(S,c)))}function xa(l,c,h,S){if(!S.buttonsStyling)return ge([l,c,h],_.styled);te([l,c,h],_.styled),S.confirmButtonColor&&(l.style.backgroundColor=S.confirmButtonColor,te(l,_["default-outline"])),S.denyButtonColor&&(c.style.backgroundColor=S.denyButtonColor,te(c,_["default-outline"])),S.cancelButtonColor&&(h.style.backgroundColor=S.cancelButtonColor,te(h,_["default-outline"]))}function Bo(l,c,h){on(l,h["show".concat(o(c),"Button")],"inline-block"),G(l,h["".concat(c,"ButtonText")]),l.setAttribute("aria-label",h["".concat(c,"ButtonAriaLabel")]),l.className=_[c],j(l,h,"".concat(c,"Button")),te(l,h["".concat(c,"ButtonClass")])}function ln(l,c){typeof c=="string"?l.style.background=c:c||te([document.documentElement,document.body],_["no-backdrop"])}function Oa(l,c){c in _?te(l,_[c]):(s('The "position" parameter is not valid, defaulting to "center"'),te(l,_.center))}function Aa(l,c){if(c&&typeof c=="string"){const h="grow-".concat(c);h in _&&te(l,_[h])}}const Ra=(l,c)=>{const h=ce();h&&(ln(h,c.backdrop),Oa(h,c.position),Aa(h,c.grow),j(h,c,"container"))};var Ae={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const ka=["input","file","range","select","radio","checkbox","textarea"],Fn=(l,c)=>{const h=K(),S=Ae.innerParams.get(l),q=!S||c.input!==S.input;ka.forEach(ye=>{const vt=_[ye],Vt=Te(h,vt);Ma(ye,c.inputAttributes),Vt.className=vt,q&&Le(Vt)}),c.input&&(q&&Da(c),La(c))},Da=l=>{if(!Ct[l.input])return a('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(l.input,'"'));const c=Fi(l.input),h=Ct[l.input](c,l);_e(h),setTimeout(()=>{pe(h)})},Ia=l=>{for(let c=0;c<l.attributes.length;c++){const h=l.attributes[c].name;["type","value","style"].includes(h)||l.removeAttribute(h)}},Ma=(l,c)=>{const h=re(K(),l);if(h){Ia(h);for(const S in c)h.setAttribute(S,c[S])}},La=l=>{const c=Fi(l.input);l.customClass&&te(c,l.customClass.input)},Uo=(l,c)=>{(!l.placeholder||c.inputPlaceholder)&&(l.placeholder=c.inputPlaceholder)},wn=(l,c,h)=>{if(h.inputLabel){l.id=_.input;const S=document.createElement("label"),q=_["input-label"];S.setAttribute("for",l.id),S.className=q,te(S,h.customClass.inputLabel),S.innerText=h.inputLabel,c.insertAdjacentElement("beforebegin",S)}},Fi=l=>{const c=_[l]?_[l]:_.input;return Te(K(),c)},Ct={};Ct.text=Ct.email=Ct.password=Ct.number=Ct.tel=Ct.url=(l,c)=>(typeof c.inputValue=="string"||typeof c.inputValue=="number"?l.value=c.inputValue:y(c.inputValue)||s('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof c.inputValue,'"')),wn(l,l,c),Uo(l,c),l.type=c.input,l),Ct.file=(l,c)=>(wn(l,l,c),Uo(l,c),l),Ct.range=(l,c)=>{const h=l.querySelector("input"),S=l.querySelector("output");return h.value=c.inputValue,h.type=c.input,S.value=c.inputValue,wn(h,l,c),l},Ct.select=(l,c)=>{if(l.textContent="",c.inputPlaceholder){const h=document.createElement("option");G(h,c.inputPlaceholder),h.value="",h.disabled=!0,h.selected=!0,l.appendChild(h)}return wn(l,l,c),l},Ct.radio=l=>(l.textContent="",l),Ct.checkbox=(l,c)=>{const h=re(K(),"checkbox");h.value="1",h.id=_.checkbox,h.checked=!!c.inputValue;const S=l.querySelector("span");return G(S,c.inputPlaceholder),l},Ct.textarea=(l,c)=>{l.value=c.inputValue,Uo(l,c),wn(l,l,c);const h=S=>parseInt(window.getComputedStyle(S).marginLeft)+parseInt(window.getComputedStyle(S).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const S=parseInt(window.getComputedStyle(K()).width),q=()=>{const ye=l.offsetWidth+h(l);ye>S?K().style.width="".concat(ye,"px"):K().style.width=null};new MutationObserver(q).observe(l,{attributes:!0,attributeFilter:["style"]})}}),l};const _n=(l,c)=>{const h=ze();j(h,c,"htmlContainer"),c.html?(No(c.html,h),_e(h,"block")):c.text?(h.textContent=c.text,_e(h,"block")):Le(h),Fn(l,c)},Na=(l,c)=>{const h=ie();on(h,c.footer),c.footer&&No(c.footer,h),j(h,c,"footer")},Fa=(l,c)=>{const h=Re();G(h,c.closeButtonHtml),j(h,c,"closeButton"),on(h,c.showCloseButton),h.setAttribute("aria-label",c.closeButtonAriaLabel)},Ba=(l,c)=>{const h=Ae.innerParams.get(l),S=J();if(h&&c.icon===h.icon){Ui(S,c),Bi(S,c);return}if(!c.icon&&!c.iconHtml)return Le(S);if(c.icon&&Object.keys(ne).indexOf(c.icon)===-1)return a('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(c.icon,'"')),Le(S);_e(S),Ui(S,c),Bi(S,c),te(S,c.showClass.icon)},Bi=(l,c)=>{for(const h in ne)c.icon!==h&&ge(l,ne[h]);te(l,ne[c.icon]),Tr(l,c),Ua(),j(l,c,"icon")},Ua=()=>{const l=K(),c=window.getComputedStyle(l).getPropertyValue("background-color"),h=l.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let S=0;S<h.length;S++)h[S].style.backgroundColor=c},Ha=` <div class="swal2-success-circular-line-left"></div> <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span> <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div> <div class="swal2-success-circular-line-right"></div> `,Yr=` <span class="swal2-x-mark"> <span class="swal2-x-mark-line-left"></span> <span class="swal2-x-mark-line-right"></span> </span> `,Ui=(l,c)=>{l.textContent="",c.iconHtml?G(l,Ho(c.iconHtml)):c.icon==="success"?G(l,Ha):c.icon==="error"?G(l,Yr):G(l,Ho({question:"?",warning:"!",info:"i"}[c.icon]))},Tr=(l,c)=>{if(c.iconColor){l.style.color=c.iconColor,l.style.borderColor=c.iconColor;for(const h of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])Rt(l,h,"backgroundColor",c.iconColor);Rt(l,".swal2-success-ring","borderColor",c.iconColor)}},Ho=l=>'<div class="'.concat(_["icon-content"],'">').concat(l,"</div>"),Hi=(l,c)=>{const h=nt();if(!c.imageUrl)return Le(h);_e(h,""),h.setAttribute("src",c.imageUrl),h.setAttribute("alt",c.imageAlt),ke(h,"width",c.imageWidth),ke(h,"height",c.imageHeight),h.className=_.image,j(h,c,"image")},ja=l=>{const c=document.createElement("li");return te(c,_["progress-step"]),G(c,l),c},$a=l=>{const c=document.createElement("li");return te(c,_["progress-step-line"]),l.progressStepsDistance&&(c.style.width=l.progressStepsDistance),c},Va=(l,c)=>{const h=He();if(!c.progressSteps||c.progressSteps.length===0)return Le(h);_e(h),h.textContent="",c.currentProgressStep>=c.progressSteps.length&&s("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),c.progressSteps.forEach((S,q)=>{const ye=ja(S);if(h.appendChild(ye),q===c.currentProgressStep&&te(ye,_["active-progress-step"]),q!==c.progressSteps.length-1){const vt=$a(c);h.appendChild(vt)}})},Wa=(l,c)=>{const h=Me();on(h,c.title||c.titleText,"block"),c.title&&No(c.title,h),c.titleText&&(h.innerText=c.titleText),j(h,c,"title")},ji=(l,c)=>{const h=ce(),S=K();c.toast?(ke(h,"width",c.width),S.style.width="100%",S.insertBefore(B(),J())):ke(S,"width",c.width),ke(S,"padding",c.padding),c.color&&(S.style.color=c.color),c.background&&(S.style.background=c.background),Le(ct()),qa(S,c)},qa=(l,c)=>{l.className="".concat(_.popup," ").concat(L(l)?c.showClass.popup:""),c.toast?(te([document.documentElement,document.body],_["toast-shown"]),te(l,_.toast)):te(l,_.modal),j(l,c,"popup"),typeof c.customClass=="string"&&te(l,c.customClass),c.icon&&te(l,_["icon-".concat(c.icon)])},$i=(l,c)=>{ji(l,c),Ra(l,c),Va(l,c),Ba(l,c),Hi(l,c),Wa(l,c),Fa(l,c),_n(l,c),Ea(l,c),Na(l,c),typeof c.didRender=="function"&&c.didRender(K())},Bn=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),zr=()=>{i(document.body.children).forEach(c=>{c===ce()||c.contains(ce())||(c.hasAttribute("aria-hidden")&&c.setAttribute("data-previous-aria-hidden",c.getAttribute("aria-hidden")),c.setAttribute("aria-hidden","true"))})},Un=()=>{i(document.body.children).forEach(c=>{c.hasAttribute("data-previous-aria-hidden")?(c.setAttribute("aria-hidden",c.getAttribute("data-previous-aria-hidden")),c.removeAttribute("data-previous-aria-hidden")):c.removeAttribute("aria-hidden")})},Vi=["swal-title","swal-html","swal-footer"],Ka=l=>{const c=typeof l.template=="string"?document.querySelector(l.template):l.template;if(!c)return{};const h=c.content;return Hn(h),Object.assign(Cn(h),Ya(h),za(h),Ga(h),Ja(h),Qa(h,Vi))},Cn=l=>{const c={};return i(l.querySelectorAll("swal-param")).forEach(h=>{Sn(h,["name","value"]);const S=h.getAttribute("name"),q=h.getAttribute("value");typeof E[S]=="boolean"&&q==="false"&&(c[S]=!1),typeof E[S]=="object"&&(c[S]=JSON.parse(q))}),c},Ya=l=>{const c={};return i(l.querySelectorAll("swal-button")).forEach(h=>{Sn(h,["type","color","aria-label"]);const S=h.getAttribute("type");c["".concat(S,"ButtonText")]=h.innerHTML,c["show".concat(o(S),"Button")]=!0,h.hasAttribute("color")&&(c["".concat(S,"ButtonColor")]=h.getAttribute("color")),h.hasAttribute("aria-label")&&(c["".concat(S,"ButtonAriaLabel")]=h.getAttribute("aria-label"))}),c},za=l=>{const c={},h=l.querySelector("swal-image");return h&&(Sn(h,["src","width","height","alt"]),h.hasAttribute("src")&&(c.imageUrl=h.getAttribute("src")),h.hasAttribute("width")&&(c.imageWidth=h.getAttribute("width")),h.hasAttribute("height")&&(c.imageHeight=h.getAttribute("height")),h.hasAttribute("alt")&&(c.imageAlt=h.getAttribute("alt"))),c},Ga=l=>{const c={},h=l.querySelector("swal-icon");return h&&(Sn(h,["type","color"]),h.hasAttribute("type")&&(c.icon=h.getAttribute("type")),h.hasAttribute("color")&&(c.iconColor=h.getAttribute("color")),c.iconHtml=h.innerHTML),c},Ja=l=>{const c={},h=l.querySelector("swal-input");h&&(Sn(h,["type","label","placeholder","value"]),c.input=h.getAttribute("type")||"text",h.hasAttribute("label")&&(c.inputLabel=h.getAttribute("label")),h.hasAttribute("placeholder")&&(c.inputPlaceholder=h.getAttribute("placeholder")),h.hasAttribute("value")&&(c.inputValue=h.getAttribute("value")));const S=l.querySelectorAll("swal-input-option");return S.length&&(c.inputOptions={},i(S).forEach(q=>{Sn(q,["value"]);const ye=q.getAttribute("value"),vt=q.innerHTML;c.inputOptions[ye]=vt})),c},Qa=(l,c)=>{const h={};for(const S in c){const q=c[S],ye=l.querySelector(q);ye&&(Sn(ye,[]),h[q.replace(/^swal-/,"")]=ye.innerHTML.trim())}return h},Hn=l=>{const c=Vi.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);i(l.children).forEach(h=>{const S=h.tagName.toLowerCase();c.indexOf(S)===-1&&s("Unrecognized element <".concat(S,">"))})},Sn=(l,c)=>{i(l.attributes).forEach(h=>{c.indexOf(h.name)===-1&&s(['Unrecognized attribute "'.concat(h.name,'" on <').concat(l.tagName.toLowerCase(),">."),"".concat(c.length?"Allowed attributes are: ".concat(c.join(", ")):"To set the value, use HTML within the element.")])})};var Wi={email:(l,c)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(l)?Promise.resolve():Promise.resolve(c||"Invalid email address"),url:(l,c)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(l)?Promise.resolve():Promise.resolve(c||"Invalid URL")};function Gr(l){l.inputValidator||Object.keys(Wi).forEach(c=>{l.input===c&&(l.inputValidator=Wi[c])})}function Xa(l){(!l.target||typeof l.target=="string"&&!document.querySelector(l.target)||typeof l.target!="string"&&!l.target.appendChild)&&(s('Target parameter is not valid, defaulting to "body"'),l.target="body")}function jo(l){Gr(l),l.showLoaderOnConfirm&&!l.preConfirm&&s(`showLoaderOnConfirm is set to true, but preConfirm is not defined. showLoaderOnConfirm should be used together with preConfirm, see usage example: https://sweetalert2.github.io/#ajax-request`),Xa(l),typeof l.title=="string"&&(l.title=l.title.split(` `).join("<br />")),Sa(l)}class Za{constructor(c,h){this.callback=c,this.remaining=h,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(c){const h=this.running;return h&&this.stop(),this.remaining+=c,h&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const qi=()=>{z.previousBodyPadding===null&&document.body.scrollHeight>window.innerHeight&&(z.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(z.previousBodyPadding+Ta(),"px"))},Ki=()=>{z.previousBodyPadding!==null&&(document.body.style.paddingRight="".concat(z.previousBodyPadding,"px"),z.previousBodyPadding=null)},Yi=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!Y(document.body,_.iosfix)){const c=document.body.scrollTop;document.body.style.top="".concat(c*-1,"px"),te(document.body,_.iosfix),zi(),Er()}},Er=()=>{const l=navigator.userAgent,c=!!l.match(/iPad/i)||!!l.match(/iPhone/i),h=!!l.match(/WebKit/i);c&&h&&!l.match(/CriOS/i)&&K().scrollHeight>window.innerHeight-44&&(ce().style.paddingBottom="".concat(44,"px"))},zi=()=>{const l=ce();let c;l.ontouchstart=h=>{c=el(h)},l.ontouchmove=h=>{c&&(h.preventDefault(),h.stopPropagation())}},el=l=>{const c=l.target,h=ce();return tl(l)||nl(l)?!1:c===h||!ue(h)&&c.tagName!=="INPUT"&&c.tagName!=="TEXTAREA"&&!(ue(ze())&&ze().contains(c))},tl=l=>l.touches&&l.touches.length&&l.touches[0].touchType==="stylus",nl=l=>l.touches&&l.touches.length>1,v=()=>{if(Y(document.body,_.iosfix)){const l=parseInt(document.body.style.top,10);ge(document.body,_.iosfix),document.body.style.top="",document.body.scrollTop=l*-1}},D=10,W=l=>{const c=ce(),h=K();typeof l.willOpen=="function"&&l.willOpen(h);const q=window.getComputedStyle(document.body).overflowY;et(c,h,l),setTimeout(()=>{Ye(c,h)},D),M()&&(xe(c,l.scrollbarPadding,q),zr()),!H()&&!Ce.previousActiveElement&&(Ce.previousActiveElement=document.activeElement),typeof l.didOpen=="function"&&setTimeout(()=>l.didOpen(h)),ge(c,_["no-transition"])},le=l=>{const c=K();if(l.target!==c)return;const h=ce();c.removeEventListener(jt,le),h.style.overflowY="auto"},Ye=(l,c)=>{jt&&Ee(c)?(l.style.overflowY="hidden",c.addEventListener(jt,le)):l.style.overflowY="auto"},xe=(l,c,h)=>{Yi(),c&&h!=="hidden"&&qi(),setTimeout(()=>{l.scrollTop=0})},et=(l,c,h)=>{te(l,h.showClass.backdrop),c.style.setProperty("opacity","0","important"),_e(c,"grid"),setTimeout(()=>{te(c,h.showClass.popup),c.style.removeProperty("opacity")},D),te([document.documentElement,document.body],_.shown),h.heightAuto&&h.backdrop&&!h.toast&&te([document.documentElement,document.body],_["height-auto"])},Je=l=>{let c=K();c||new Qi,c=K();const h=B();H()?Le(J()):ht(c,l),_e(h),c.setAttribute("data-loading",!0),c.setAttribute("aria-busy",!0),c.focus()},ht=(l,c)=>{const h=ee(),S=B();!c&&L(je())&&(c=je()),_e(h),c&&(Le(c),S.setAttribute("data-button-to-replace",c.className)),S.parentNode.insertBefore(S,c),te([l,h],_.loading)},Qe=(l,c)=>{c.input==="select"||c.input==="radio"?Dt(l,c):["text","email","number","tel","textarea"].includes(c.input)&&(g(c.inputValue)||y(c.inputValue))&&(Je(je()),Tn(l,c))},Et=(l,c)=>{const h=l.getInput();if(!h)return null;switch(c.input){case"checkbox":return $t(h);case"radio":return yt(h);case"file":return kt(h);default:return c.inputAutoTrim?h.value.trim():h.value}},$t=l=>l.checked?1:0,yt=l=>l.checked?l.value:null,kt=l=>l.files.length?l.getAttribute("multiple")!==null?l.files:l.files[0]:null,Dt=(l,c)=>{const h=K(),S=q=>cn[c.input](h,un(q),c);g(c.inputOptions)||y(c.inputOptions)?(Je(je()),w(c.inputOptions).then(q=>{l.hideLoading(),S(q)})):typeof c.inputOptions=="object"?S(c.inputOptions):a("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof c.inputOptions))},Tn=(l,c)=>{const h=l.getInput();Le(h),w(c.inputValue).then(S=>{h.value=c.input==="number"?parseFloat(S)||0:"".concat(S),_e(h),h.focus(),l.hideLoading()}).catch(S=>{a("Error in inputValue promise: ".concat(S)),h.value="",_e(h),h.focus(),l.hideLoading()})},cn={select:(l,c,h)=>{const S=Te(l,_.select),q=(ye,vt,Vt)=>{const Pt=document.createElement("option");Pt.value=Vt,G(Pt,vt),Pt.selected=$o(Vt,h.inputValue),ye.appendChild(Pt)};c.forEach(ye=>{const vt=ye[0],Vt=ye[1];if(Array.isArray(Vt)){const Pt=document.createElement("optgroup");Pt.label=vt,Pt.disabled=!1,S.appendChild(Pt),Vt.forEach(Zr=>q(Pt,Zr[1],Zr[0]))}else q(S,Vt,vt)}),S.focus()},radio:(l,c,h)=>{const S=Te(l,_.radio);c.forEach(ye=>{const vt=ye[0],Vt=ye[1],Pt=document.createElement("input"),Zr=document.createElement("label");Pt.type="radio",Pt.name=_.radio,Pt.value=vt,$o(vt,h.inputValue)&&(Pt.checked=!0);const cl=document.createElement("span");G(cl,Vt),cl.className=_.label,Zr.appendChild(Pt),Zr.appendChild(cl),S.appendChild(Zr)});const q=S.querySelectorAll("input");q.length&&q[0].focus()}},un=l=>{const c=[];return typeof Map<"u"&&l instanceof Map?l.forEach((h,S)=>{let q=h;typeof q=="object"&&(q=un(q)),c.push([S,q])}):Object.keys(l).forEach(h=>{let S=l[h];typeof S=="object"&&(S=un(S)),c.push([h,S])}),c},$o=(l,c)=>c&&c.toString()===l.toString(),Jr=l=>{const c=Ae.innerParams.get(l);l.disableButtons(),c.input?wu(l,"confirm"):ol(l,!0)},Qr=l=>{const c=Ae.innerParams.get(l);l.disableButtons(),c.returnInputValueOnDeny?wu(l,"deny"):rl(l,!1)},Im=(l,c)=>{l.disableButtons(),c(Bn.cancel)},wu=(l,c)=>{const h=Ae.innerParams.get(l);if(!h.input)return a('The "input" parameter is needed to be set when using returnInputValueOn'.concat(o(c)));const S=Et(l,h);h.inputValidator?Mm(l,S,c):l.getInput().checkValidity()?c==="deny"?rl(l,S):ol(l,S):(l.enableButtons(),l.showValidationMessage(h.validationMessage))},Mm=(l,c,h)=>{const S=Ae.innerParams.get(l);l.disableInput(),Promise.resolve().then(()=>w(S.inputValidator(c,S.validationMessage))).then(ye=>{l.enableButtons(),l.enableInput(),ye?l.showValidationMessage(ye):h==="deny"?rl(l,c):ol(l,c)})},rl=(l,c)=>{const h=Ae.innerParams.get(l||void 0);h.showLoaderOnDeny&&Je(be()),h.preDeny?(Ae.awaitingPromise.set(l||void 0,!0),Promise.resolve().then(()=>w(h.preDeny(c,h.validationMessage))).then(q=>{q===!1?l.hideLoading():l.closePopup({isDenied:!0,value:typeof q>"u"?c:q})}).catch(q=>Cu(l||void 0,q))):l.closePopup({isDenied:!0,value:c})},_u=(l,c)=>{l.closePopup({isConfirmed:!0,value:c})},Cu=(l,c)=>{l.rejectPromise(c)},ol=(l,c)=>{const h=Ae.innerParams.get(l||void 0);h.showLoaderOnConfirm&&Je(),h.preConfirm?(l.resetValidationMessage(),Ae.awaitingPromise.set(l||void 0,!0),Promise.resolve().then(()=>w(h.preConfirm(c,h.validationMessage))).then(q=>{L(ct())||q===!1?l.hideLoading():_u(l,typeof q>"u"?c:q)}).catch(q=>Cu(l||void 0,q))):_u(l,c)},Lm=(l,c,h)=>{Ae.innerParams.get(l).toast?Nm(l,c,h):(Bm(c),Um(c),Hm(l,c,h))},Nm=(l,c,h)=>{c.popup.onclick=()=>{const S=Ae.innerParams.get(l);S&&(Fm(S)||S.timer||S.input)||h(Bn.close)}},Fm=l=>l.showConfirmButton||l.showDenyButton||l.showCancelButton||l.showCloseButton;let Gi=!1;const Bm=l=>{l.popup.onmousedown=()=>{l.container.onmouseup=function(c){l.container.onmouseup=void 0,c.target===l.container&&(Gi=!0)}}},Um=l=>{l.container.onmousedown=()=>{l.popup.onmouseup=function(c){l.popup.onmouseup=void 0,(c.target===l.popup||l.popup.contains(c.target))&&(Gi=!0)}}},Hm=(l,c,h)=>{c.container.onclick=S=>{const q=Ae.innerParams.get(l);if(Gi){Gi=!1;return}S.target===c.container&&p(q.allowOutsideClick)&&h(Bn.backdrop)}},jm=()=>L(K()),Su=()=>je()&&je().click(),$m=()=>be()&&be().click(),Vm=()=>Q()&&Q().click(),Wm=(l,c,h,S)=>{c.keydownTarget&&c.keydownHandlerAdded&&(c.keydownTarget.removeEventListener("keydown",c.keydownHandler,{capture:c.keydownListenerCapture}),c.keydownHandlerAdded=!1),h.toast||(c.keydownHandler=q=>Km(l,q,S),c.keydownTarget=h.keydownListenerCapture?window:K(),c.keydownListenerCapture=h.keydownListenerCapture,c.keydownTarget.addEventListener("keydown",c.keydownHandler,{capture:c.keydownListenerCapture}),c.keydownHandlerAdded=!0)},il=(l,c,h)=>{const S=T();if(S.length)return c=c+h,c===S.length?c=0:c===-1&&(c=S.length-1),S[c].focus();K().focus()},Tu=["ArrowRight","ArrowDown"],qm=["ArrowLeft","ArrowUp"],Km=(l,c,h)=>{const S=Ae.innerParams.get(l);S&&(S.stopKeydownPropagation&&c.stopPropagation(),c.key==="Enter"?Ym(l,c,S):c.key==="Tab"?zm(c,S):[...Tu,...qm].includes(c.key)?Gm(c.key):c.key==="Escape"&&Jm(c,S,h))},Ym=(l,c,h)=>{if(!(!p(h.allowEnterKey)||c.isComposing)&&c.target&&l.getInput()&&c.target.outerHTML===l.getInput().outerHTML){if(["textarea","file"].includes(h.input))return;Su(),c.preventDefault()}},zm=(l,c)=>{const h=l.target,S=T();let q=-1;for(let ye=0;ye<S.length;ye++)if(h===S[ye]){q=ye;break}l.shiftKey?il(c,q,-1):il(c,q,1),l.stopPropagation(),l.preventDefault()},Gm=l=>{const c=je(),h=be(),S=Q();if(![c,h,S].includes(document.activeElement))return;const q=Tu.includes(l)?"nextElementSibling":"previousElementSibling",ye=document.activeElement[q];ye instanceof HTMLElement&&ye.focus()},Jm=(l,c,h)=>{p(c.allowEscapeKey)&&(l.preventDefault(),h(Bn.esc))},Qm=l=>typeof l=="object"&&l.jquery,Eu=l=>l instanceof Element||Qm(l),Xm=l=>{const c={};return typeof l[0]=="object"&&!Eu(l[0])?Object.assign(c,l[0]):["title","html","icon"].forEach((h,S)=>{const q=l[S];typeof q=="string"||Eu(q)?c[h]=q:q!==void 0&&a("Unexpected type of ".concat(h,'! Expected "string" or "Element", got ').concat(typeof q))}),c};function Zm(){const l=this;for(var c=arguments.length,h=new Array(c),S=0;S<c;S++)h[S]=arguments[S];return new l(...h)}function ey(l){class c extends this{_main(S,q){return super._main(S,Object.assign({},l,q))}}return c}const ty=()=>Ce.timeout&&Ce.timeout.getTimerLeft(),Pu=()=>{if(Ce.timeout)return Ge(),Ce.timeout.stop()},xu=()=>{if(Ce.timeout){const l=Ce.timeout.start();return Oe(l),l}},ny=()=>{const l=Ce.timeout;return l&&(l.running?Pu():xu())},ry=l=>{if(Ce.timeout){const c=Ce.timeout.increase(l);return Oe(c,!0),c}},oy=()=>Ce.timeout&&Ce.timeout.isRunning();let Ou=!1;const sl={};function iy(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";sl[l]=this,Ou||(document.body.addEventListener("click",sy),Ou=!0)}const sy=l=>{for(let c=l.target;c&&c!==document;c=c.parentNode)for(const h in sl){const S=c.getAttribute(h);if(S){sl[h].fire({template:S});return}}};var ay=Object.freeze({isValidParameter:C,isUpdatableParameter:m,isDeprecatedParameter:O,argsToParams:Xm,isVisible:jm,clickConfirm:Su,clickDeny:$m,clickCancel:Vm,getContainer:ce,getPopup:K,getTitle:Me,getHtmlContainer:ze,getImage:nt,getIcon:J,getInputLabel:Be,getCloseButton:Re,getActions:ee,getConfirmButton:je,getDenyButton:be,getCancelButton:Q,getLoader:B,getFooter:ie,getTimerProgressBar:Pe,getFocusableElements:T,getValidationMessage:ct,isLoading:U,fire:Zm,mixin:ey,showLoading:Je,enableLoading:Je,getTimerLeft:ty,stopTimer:Pu,resumeTimer:xu,toggleTimer:ny,increaseTimer:ry,isTimerRunning:oy,bindClickHandler:iy});function Au(){const l=Ae.innerParams.get(this);if(!l)return;const c=Ae.domCache.get(this);Le(c.loader),H()?l.icon&&_e(J()):ly(c),ge([c.popup,c.actions],_.loading),c.popup.removeAttribute("aria-busy"),c.popup.removeAttribute("data-loading"),c.confirmButton.disabled=!1,c.denyButton.disabled=!1,c.cancelButton.disabled=!1}const ly=l=>{const c=l.popup.getElementsByClassName(l.loader.getAttribute("data-button-to-replace"));c.length?_e(c[0],"inline-block"):ae()&&Le(l.actions)};function cy(l){const c=Ae.innerParams.get(l||this),h=Ae.domCache.get(l||this);return h?re(h.popup,c.input):null}var Vo={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};function Ru(l,c,h,S){H()?Du(l,S):(sn(h).then(()=>Du(l,S)),Ce.keydownTarget.removeEventListener("keydown",Ce.keydownHandler,{capture:Ce.keydownListenerCapture}),Ce.keydownHandlerAdded=!1),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(c.setAttribute("style","display:none !important"),c.removeAttribute("class"),c.innerHTML=""):c.remove(),M()&&(Ki(),v(),Un()),uy()}function uy(){ge([document.documentElement,document.body],[_.shown,_["height-auto"],_["no-backdrop"],_["toast-shown"]])}function Ji(l){l=hy(l);const c=Vo.swalPromiseResolve.get(this),h=dy(this);this.isAwaitingPromise()?l.isDismissed||(ku(this),c(l)):h&&c(l)}function fy(){return!!Ae.awaitingPromise.get(this)}const dy=l=>{const c=K();if(!c)return!1;const h=Ae.innerParams.get(l);if(!h||Y(c,h.hideClass.popup))return!1;ge(c,h.showClass.popup),te(c,h.hideClass.popup);const S=ce();return ge(S,h.showClass.backdrop),te(S,h.hideClass.backdrop),gy(l,c,h),!0};function py(l){const c=Vo.swalPromiseReject.get(this);ku(this),c&&c(l)}const ku=l=>{l.isAwaitingPromise()&&(Ae.awaitingPromise.delete(l),Ae.innerParams.get(l)||l._destroy())},hy=l=>typeof l>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},l),gy=(l,c,h)=>{const S=ce(),q=jt&&Ee(c);typeof h.willClose=="function"&&h.willClose(c),q?my(l,c,S,h.returnFocus,h.didClose):Ru(l,S,h.returnFocus,h.didClose)},my=(l,c,h,S,q)=>{Ce.swalCloseEventFinishedCallback=Ru.bind(null,l,h,S,q),c.addEventListener(jt,function(ye){ye.target===c&&(Ce.swalCloseEventFinishedCallback(),delete Ce.swalCloseEventFinishedCallback)})},Du=(l,c)=>{setTimeout(()=>{typeof c=="function"&&c.bind(l.params)(),l._destroy()})};function Iu(l,c,h){const S=Ae.domCache.get(l);c.forEach(q=>{S[q].disabled=h})}function Mu(l,c){if(!l)return!1;if(l.type==="radio"){const S=l.parentNode.parentNode.querySelectorAll("input");for(let q=0;q<S.length;q++)S[q].disabled=c}else l.disabled=c}function yy(){Iu(this,["confirmButton","denyButton","cancelButton"],!1)}function vy(){Iu(this,["confirmButton","denyButton","cancelButton"],!0)}function by(){return Mu(this.getInput(),!1)}function wy(){return Mu(this.getInput(),!0)}function _y(l){const c=Ae.domCache.get(this),h=Ae.innerParams.get(this);G(c.validationMessage,l),c.validationMessage.className=_["validation-message"],h.customClass&&h.customClass.validationMessage&&te(c.validationMessage,h.customClass.validationMessage),_e(c.validationMessage);const S=this.getInput();S&&(S.setAttribute("aria-invalid",!0),S.setAttribute("aria-describedby",_["validation-message"]),pe(S),te(S,_.inputerror))}function Cy(){const l=Ae.domCache.get(this);l.validationMessage&&Le(l.validationMessage);const c=this.getInput();c&&(c.removeAttribute("aria-invalid"),c.removeAttribute("aria-describedby"),ge(c,_.inputerror))}function Sy(){return Ae.domCache.get(this).progressSteps}function Ty(l){const c=K(),h=Ae.innerParams.get(this);if(!c||Y(c,h.hideClass.popup))return s("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const S=Ey(l),q=Object.assign({},h,S);$i(this,q),Ae.innerParams.set(this,q),Object.defineProperties(this,{params:{value:Object.assign({},this.params,l),writable:!1,enumerable:!0}})}const Ey=l=>{const c={};return Object.keys(l).forEach(h=>{m(h)?c[h]=l[h]:s('Invalid parameter to update: "'.concat(h,`". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js If you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md`))}),c};function Py(){const l=Ae.domCache.get(this),c=Ae.innerParams.get(this);if(!c){Lu(this);return}l.popup&&Ce.swalCloseEventFinishedCallback&&(Ce.swalCloseEventFinishedCallback(),delete Ce.swalCloseEventFinishedCallback),Ce.deferDisposalTimer&&(clearTimeout(Ce.deferDisposalTimer),delete Ce.deferDisposalTimer),typeof c.didDestroy=="function"&&c.didDestroy(),xy(this)}const xy=l=>{Lu(l),delete l.params,delete Ce.keydownHandler,delete Ce.keydownTarget,delete Ce.currentInstance},Lu=l=>{l.isAwaitingPromise()?(al(Ae,l),Ae.awaitingPromise.set(l,!0)):(al(Vo,l),al(Ae,l))},al=(l,c)=>{for(const h in l)l[h].delete(c)};var Nu=Object.freeze({hideLoading:Au,disableLoading:Au,getInput:cy,close:Ji,isAwaitingPromise:fy,rejectPromise:py,closePopup:Ji,closeModal:Ji,closeToast:Ji,enableButtons:yy,disableButtons:vy,enableInput:by,disableInput:wy,showValidationMessage:_y,resetValidationMessage:Cy,getProgressSteps:Sy,update:Ty,_destroy:Py});let ll;class Xr{constructor(){if(typeof window>"u")return;ll=this;for(var c=arguments.length,h=new Array(c),S=0;S<c;S++)h[S]=arguments[S];const q=Object.freeze(this.constructor.argsToParams(h));Object.defineProperties(this,{params:{value:q,writable:!1,enumerable:!0,configurable:!0}});const ye=this._main(this.params);Ae.promise.set(this,ye)}_main(c){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};N(Object.assign({},h,c)),Ce.currentInstance&&(Ce.currentInstance._destroy(),M()&&Un()),Ce.currentInstance=this;const S=Ay(c,h);jo(S),Object.freeze(S),Ce.timeout&&(Ce.timeout.stop(),delete Ce.timeout),clearTimeout(Ce.restoreFocusTimeout);const q=Ry(this);return $i(this,S),Ae.innerParams.set(this,S),Oy(this,q,S)}then(c){return Ae.promise.get(this).then(c)}finally(c){return Ae.promise.get(this).finally(c)}}const Oy=(l,c,h)=>new Promise((S,q)=>{const ye=vt=>{l.closePopup({isDismissed:!0,dismiss:vt})};Vo.swalPromiseResolve.set(l,S),Vo.swalPromiseReject.set(l,q),c.confirmButton.onclick=()=>Jr(l),c.denyButton.onclick=()=>Qr(l),c.cancelButton.onclick=()=>Im(l,ye),c.closeButton.onclick=()=>ye(Bn.close),Lm(l,c,ye),Wm(l,Ce,h,ye),Qe(l,h),W(h),ky(Ce,h,ye),Dy(c,h),setTimeout(()=>{c.container.scrollTop=0})}),Ay=(l,c)=>{const h=Ka(l),S=Object.assign({},E,c,h,l);return S.showClass=Object.assign({},E.showClass,S.showClass),S.hideClass=Object.assign({},E.hideClass,S.hideClass),S},Ry=l=>{const c={popup:K(),container:ce(),actions:ee(),confirmButton:je(),denyButton:be(),cancelButton:Q(),loader:B(),closeButton:Re(),validationMessage:ct(),progressSteps:He()};return Ae.domCache.set(l,c),c},ky=(l,c,h)=>{const S=Pe();Le(S),c.timer&&(l.timeout=new Za(()=>{h("timer"),delete l.timeout},c.timer),c.timerProgressBar&&(_e(S),j(S,c,"timerProgressBar"),setTimeout(()=>{l.timeout&&l.timeout.running&&Oe(c.timer)})))},Dy=(l,c)=>{if(!c.toast){if(!p(c.allowEnterKey))return My();Iy(l,c)||il(c,-1,1)}},Iy=(l,c)=>c.focusDeny&&L(l.denyButton)?(l.denyButton.focus(),!0):c.focusCancel&&L(l.cancelButton)?(l.cancelButton.focus(),!0):c.focusConfirm&&L(l.confirmButton)?(l.confirmButton.focus(),!0):!1,My=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};Object.assign(Xr.prototype,Nu),Object.assign(Xr,ay),Object.keys(Nu).forEach(l=>{Xr[l]=function(){if(ll)return ll[l](...arguments)}}),Xr.DismissReason=Bn,Xr.version="11.4.0";const Qi=Xr;return Qi.default=Qi,Qi}),typeof ir<"u"&&ir.Sweetalert2&&(ir.swal=ir.sweetAlert=ir.Swal=ir.SweetAlert=ir.Sweetalert2)})(Lh);var ds=Lh.exports;class KC{static install(t,n={}){var r;const o=ds.mixin(n),i=function(...s){return o.fire.call(o,...s)};Object.assign(i,ds),Object.keys(ds).filter(s=>typeof ds[s]=="function").forEach(s=>{i[s]=o[s].bind(o)}),(r=t.config)!=null&&r.globalProperties&&!t.config.globalProperties.$swal?(t.config.globalProperties.$swal=i,t.provide("$swal",i)):Object.prototype.hasOwnProperty.call(t,"$swal")||(t.prototype.$swal=i,t.swal=i)}}/*! * vue-tippy v6.4.1 * (c) 2023 * @license MIT */var Nt="top",nn="bottom",rn="right",Ft="left",Gc="auto",ki=[Nt,nn,rn,Ft],wo="start",_i="end",YC="clippingParents",Nh="viewport",zo="popper",zC="reference",Ff=ki.reduce(function(e,t){return e.concat([t+"-"+wo,t+"-"+_i])},[]),Fh=[].concat(ki,[Gc]).reduce(function(e,t){return e.concat([t,t+"-"+wo,t+"-"+_i])},[]),GC="beforeRead",JC="read",QC="afterRead",XC="beforeMain",ZC="main",eS="afterMain",tS="beforeWrite",nS="write",rS="afterWrite",oS=[GC,JC,QC,XC,ZC,eS,tS,nS,rS];function Mn(e){return e?(e.nodeName||"").toLowerCase():null}function yn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _o(e){var t=yn(e).Element;return e instanceof t||e instanceof Element}function en(e){var t=yn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Bh(e){if(typeof ShadowRoot>"u")return!1;var t=yn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function iS(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!en(i)||!Mn(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var a=o[s];a===!1?i.removeAttribute(s):i.setAttribute(s,a===!0?"":a)}))})}function sS(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(u,d){return u[d]="",u},{});!en(o)||!Mn(o)||(Object.assign(o.style,a),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}var Uh={name:"applyStyles",enabled:!0,phase:"write",fn:iS,effect:sS,requires:["computeStyles"]};function In(e){return e.split("-")[0]}var Br=Math.max,Hs=Math.min,Co=Math.round;function So(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(en(e)&&t){var i=e.offsetHeight,s=e.offsetWidth;s>0&&(r=Co(n.width)/s||1),i>0&&(o=Co(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function Jc(e){var t=So(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Hh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Bh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ln(e){return yn(e).getComputedStyle(e)}function aS(e){return["table","td","th"].indexOf(Mn(e))>=0}function Sr(e){return((_o(e)?e.ownerDocument:e.document)||window.document).documentElement}function ia(e){return Mn(e)==="html"?e:e.assignedSlot||e.parentNode||(Bh(e)?e.host:null)||Sr(e)}function Bf(e){return!en(e)||Ln(e).position==="fixed"?null:e.offsetParent}function lS(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&en(e)){var r=Ln(e);if(r.position==="fixed")return null}for(var o=ia(e);en(o)&&["html","body"].indexOf(Mn(o))<0;){var i=Ln(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Di(e){for(var t=yn(e),n=Bf(e);n&&aS(n)&&Ln(n).position==="static";)n=Bf(n);return n&&(Mn(n)==="html"||Mn(n)==="body"&&Ln(n).position==="static")?t:n||lS(e)||t}function Qc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ii(e,t,n){return Br(e,Hs(t,n))}function cS(e,t,n){var r=ii(e,t,n);return r>n?n:r}function jh(){return{top:0,right:0,bottom:0,left:0}}function $h(e){return Object.assign({},jh(),e)}function Vh(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var uS=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,$h(typeof t!="number"?t:Vh(t,ki))};function fS(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=In(n.placement),u=Qc(a),d=[Ft,rn].indexOf(a)>=0,f=d?"height":"width";if(!(!i||!s)){var p=uS(o.padding,n),g=Jc(i),w=u==="y"?Nt:Ft,y=u==="y"?nn:rn,E=n.rects.reference[f]+n.rects.reference[u]-s[u]-n.rects.popper[f],I=s[u]-n.rects.reference[u],A=Di(i),x=A?u==="y"?A.clientHeight||0:A.clientWidth||0:0,C=E/2-I/2,m=p[w],O=x-g[f]-p[y],P=x/2-g[f]/2+C,k=ii(m,P,O),R=u;n.modifiersData[r]=(t={},t[R]=k,t.centerOffset=k-P,t)}}function dS(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Hh(t.elements.popper,o)&&(t.elements.arrow=o))}var pS={name:"arrow",enabled:!0,phase:"main",fn:fS,effect:dS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function To(e){return e.split("-")[1]}var hS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gS(e){var t=e.x,n=e.y,r=window,o=r.devicePixelRatio||1;return{x:Co(t*o)/o||0,y:Co(n*o)/o||0}}function Uf(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,u=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,p=e.isFixed,g=f===!0?gS(s):typeof f=="function"?f(s):s,w=g.x,y=w===void 0?0:w,E=g.y,I=E===void 0?0:E,A=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),C=Ft,m=Nt,O=window;if(d){var P=Di(n),k="clientHeight",R="clientWidth";if(P===yn(n)&&(P=Sr(n),Ln(P).position!=="static"&&a==="absolute"&&(k="scrollHeight",R="scrollWidth")),P=P,o===Nt||(o===Ft||o===rn)&&i===_i){m=nn;var N=p&&O.visualViewport?O.visualViewport.height:P[k];I-=N-r.height,I*=u?1:-1}if(o===Ft||(o===Nt||o===nn)&&i===_i){C=rn;var F=p&&O.visualViewport?O.visualViewport.width:P[R];y-=F-r.width,y*=u?1:-1}}var X=Object.assign({position:a},d&&hS);if(u){var _;return Object.assign({},X,(_={},_[m]=x?"0":"",_[C]=A?"0":"",_.transform=(O.devicePixelRatio||1)<=1?"translate("+y+"px, "+I+"px)":"translate3d("+y+"px, "+I+"px, 0)",_))}return Object.assign({},X,(t={},t[m]=x?I+"px":"",t[C]=A?y+"px":"",t.transform="",t))}function mS(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,s=i===void 0?!0:i,a=n.roundOffsets,u=a===void 0?!0:a,d={placement:In(t.placement),variation:To(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Uf(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Uf(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var yS={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mS,data:{}},ps={passive:!0};function vS(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,a=s===void 0?!0:s,u=yn(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&d.forEach(function(f){f.addEventListener("scroll",n.update,ps)}),a&&u.addEventListener("resize",n.update,ps),function(){i&&d.forEach(function(f){f.removeEventListener("scroll",n.update,ps)}),a&&u.removeEventListener("resize",n.update,ps)}}var bS={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:vS,data:{}},wS={left:"right",right:"left",bottom:"top",top:"bottom"};function Cs(e){return e.replace(/left|right|bottom|top/g,function(t){return wS[t]})}var _S={start:"end",end:"start"};function Hf(e){return e.replace(/start|end/g,function(t){return _S[t]})}function Xc(e){var t=yn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Zc(e){return So(Sr(e)).left+Xc(e).scrollLeft}function CS(e){var t=yn(e),n=Sr(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,a=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,a=r.offsetTop)),{width:o,height:i,x:s+Zc(e),y:a}}function SS(e){var t,n=Sr(e),r=Xc(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Br(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Br(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+Zc(e),u=-r.scrollTop;return Ln(o||n).direction==="rtl"&&(a+=Br(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:u}}function eu(e){var t=Ln(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Wh(e){return["html","body","#document"].indexOf(Mn(e))>=0?e.ownerDocument.body:en(e)&&eu(e)?e:Wh(ia(e))}function si(e,t){var n;t===void 0&&(t=[]);var r=Wh(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=yn(r),s=o?[i].concat(i.visualViewport||[],eu(r)?r:[]):r,a=t.concat(s);return o?a:a.concat(si(ia(s)))}function ac(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function TS(e){var t=So(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function jf(e,t){return t===Nh?ac(CS(e)):_o(t)?TS(t):ac(SS(Sr(e)))}function ES(e){var t=si(ia(e)),n=["absolute","fixed"].indexOf(Ln(e).position)>=0,r=n&&en(e)?Di(e):e;return _o(r)?t.filter(function(o){return _o(o)&&Hh(o,r)&&Mn(o)!=="body"&&(n?Ln(o).position!=="static":!0)}):[]}function PS(e,t,n){var r=t==="clippingParents"?ES(e):[].concat(t),o=[].concat(r,[n]),i=o[0],s=o.reduce(function(a,u){var d=jf(e,u);return a.top=Br(d.top,a.top),a.right=Hs(d.right,a.right),a.bottom=Hs(d.bottom,a.bottom),a.left=Br(d.left,a.left),a},jf(e,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function qh(e){var t=e.reference,n=e.element,r=e.placement,o=r?In(r):null,i=r?To(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,u;switch(o){case Nt:u={x:s,y:t.y-n.height};break;case nn:u={x:s,y:t.y+t.height};break;case rn:u={x:t.x+t.width,y:a};break;case Ft:u={x:t.x-n.width,y:a};break;default:u={x:t.x,y:t.y}}var d=o?Qc(o):null;if(d!=null){var f=d==="y"?"height":"width";switch(i){case wo:u[d]=u[d]-(t[f]/2-n[f]/2);break;case _i:u[d]=u[d]+(t[f]/2-n[f]/2);break}}return u}function Ci(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.boundary,s=i===void 0?YC:i,a=n.rootBoundary,u=a===void 0?Nh:a,d=n.elementContext,f=d===void 0?zo:d,p=n.altBoundary,g=p===void 0?!1:p,w=n.padding,y=w===void 0?0:w,E=$h(typeof y!="number"?y:Vh(y,ki)),I=f===zo?zC:zo,A=e.rects.popper,x=e.elements[g?I:f],C=PS(_o(x)?x:x.contextElement||Sr(e.elements.popper),s,u),m=So(e.elements.reference),O=qh({reference:m,element:A,strategy:"absolute",placement:o}),P=ac(Object.assign({},A,O)),k=f===zo?P:m,R={top:C.top-k.top+E.top,bottom:k.bottom-C.bottom+E.bottom,left:C.left-k.left+E.left,right:k.right-C.right+E.right},N=e.modifiersData.offset;if(f===zo&&N){var F=N[o];Object.keys(R).forEach(function(X){var _=[rn,nn].indexOf(X)>=0?1:-1,ne=[Nt,nn].indexOf(X)>=0?"y":"x";R[X]+=F[ne]*_})}return R}function xS(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?Fh:u,f=To(r),p=f?a?Ff:Ff.filter(function(y){return To(y)===f}):ki,g=p.filter(function(y){return d.indexOf(y)>=0});g.length===0&&(g=p);var w=g.reduce(function(y,E){return y[E]=Ci(e,{placement:E,boundary:o,rootBoundary:i,padding:s})[In(E)],y},{});return Object.keys(w).sort(function(y,E){return w[y]-w[E]})}function OS(e){if(In(e)===Gc)return[];var t=Cs(e);return[Hf(e),t,Hf(t)]}function AS(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!0:s,u=n.fallbackPlacements,d=n.padding,f=n.boundary,p=n.rootBoundary,g=n.altBoundary,w=n.flipVariations,y=w===void 0?!0:w,E=n.allowedAutoPlacements,I=t.options.placement,A=In(I),x=A===I,C=u||(x||!y?[Cs(I)]:OS(I)),m=[I].concat(C).reduce(function(je,be){return je.concat(In(be)===Gc?xS(t,{placement:be,boundary:f,rootBoundary:p,padding:d,flipVariations:y,allowedAutoPlacements:E}):be)},[]),O=t.rects.reference,P=t.rects.popper,k=new Map,R=!0,N=m[0],F=0;F<m.length;F++){var X=m[F],_=In(X),ne=To(X)===wo,ce=[Nt,nn].indexOf(_)>=0,he=ce?"width":"height",V=Ci(t,{placement:X,boundary:f,rootBoundary:p,altBoundary:g,padding:d}),K=ce?ne?rn:Ft:ne?nn:Nt;O[he]>P[he]&&(K=Cs(K));var J=Cs(K),Me=[];if(i&&Me.push(V[_]<=0),a&&Me.push(V[K]<=0,V[J]<=0),Me.every(function(je){return je})){N=X,R=!1;break}k.set(X,Me)}if(R)for(var ze=y?3:1,nt=function(be){var Be=m.find(function(B){var Q=k.get(B);if(Q)return Q.slice(0,be).every(function(ee){return ee})});if(Be)return N=Be,"break"},He=ze;He>0;He--){var ct=nt(He);if(ct==="break")break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}}var RS={name:"flip",enabled:!0,phase:"main",fn:AS,requiresIfExists:["offset"],data:{_skip:!1}};function $f(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Vf(e){return[Nt,rn,nn,Ft].some(function(t){return e[t]>=0})}function kS(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=Ci(t,{elementContext:"reference"}),a=Ci(t,{altBoundary:!0}),u=$f(s,r),d=$f(a,o,i),f=Vf(u),p=Vf(d);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}var DS={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:kS};function IS(e,t,n){var r=In(e),o=[Ft,Nt].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[Ft,rn].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function MS(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,s=Fh.reduce(function(f,p){return f[p]=IS(p,t.rects,i),f},{}),a=s[t.placement],u=a.x,d=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=s}var LS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:MS};function NS(e){var t=e.state,n=e.name;t.modifiersData[n]=qh({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var FS={name:"popperOffsets",enabled:!0,phase:"read",fn:NS,data:{}};function BS(e){return e==="x"?"y":"x"}function US(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!1:s,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.padding,g=n.tether,w=g===void 0?!0:g,y=n.tetherOffset,E=y===void 0?0:y,I=Ci(t,{boundary:u,rootBoundary:d,padding:p,altBoundary:f}),A=In(t.placement),x=To(t.placement),C=!x,m=Qc(A),O=BS(m),P=t.modifiersData.popperOffsets,k=t.rects.reference,R=t.rects.popper,N=typeof E=="function"?E(Object.assign({},t.rects,{placement:t.placement})):E,F=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),X=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(P){if(i){var ne,ce=m==="y"?Nt:Ft,he=m==="y"?nn:rn,V=m==="y"?"height":"width",K=P[m],J=K+I[ce],Me=K-I[he],ze=w?-R[V]/2:0,nt=x===wo?k[V]:R[V],He=x===wo?-R[V]:-k[V],ct=t.elements.arrow,je=w&&ct?Jc(ct):{width:0,height:0},be=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jh(),Be=be[ce],B=be[he],Q=ii(0,k[V],je[V]),ee=C?k[V]/2-ze-Q-Be-F.mainAxis:nt-Q-Be-F.mainAxis,ie=C?-k[V]/2+ze+Q+B+F.mainAxis:He+Q+B+F.mainAxis,Pe=t.elements.arrow&&Di(t.elements.arrow),Re=Pe?m==="y"?Pe.clientTop||0:Pe.clientLeft||0:0,b=(ne=X==null?void 0:X[m])!=null?ne:0,T=K+ee-b-Re,M=K+ie-b,H=ii(w?Hs(J,T):J,K,w?Br(Me,M):Me);P[m]=H,_[m]=H-K}if(a){var U,z=m==="x"?Nt:Ft,G=m==="x"?nn:rn,Y=P[O],Z=O==="y"?"height":"width",j=Y+I[z],re=Y-I[G],pe=[Nt,Ft].indexOf(A)!==-1,fe=(U=X==null?void 0:X[O])!=null?U:0,te=pe?j:Y-k[Z]-R[Z]-fe+F.altAxis,ge=pe?Y+k[Z]+R[Z]-fe-F.altAxis:re,Te=w&&pe?cS(te,Y,ge):ii(w?te:j,Y,w?ge:re);P[O]=Te,_[O]=Te-Y}t.modifiersData[r]=_}}var HS={name:"preventOverflow",enabled:!0,phase:"main",fn:US,requiresIfExists:["offset"]};function jS(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function $S(e){return e===yn(e)||!en(e)?Xc(e):jS(e)}function VS(e){var t=e.getBoundingClientRect(),n=Co(t.width)/e.offsetWidth||1,r=Co(t.height)/e.offsetHeight||1;return n!==1||r!==1}function WS(e,t,n){n===void 0&&(n=!1);var r=en(t),o=en(t)&&VS(t),i=Sr(t),s=So(e,o),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Mn(t)!=="body"||eu(i))&&(a=$S(t)),en(t)?(u=So(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Zc(i))),{x:s.left+a.scrollLeft-u.x,y:s.top+a.scrollTop-u.y,width:s.width,height:s.height}}function qS(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var u=t.get(a);u&&o(u)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function KS(e){var t=qS(e);return oS.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function YS(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function zS(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Wf={placement:"bottom",modifiers:[],strategy:"absolute"};function qf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function GS(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?Wf:o;return function(a,u,d){d===void 0&&(d=i);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Wf,i),modifiersData:{},elements:{reference:a,popper:u},attributes:{},styles:{}},p=[],g=!1,w={state:f,setOptions:function(A){var x=typeof A=="function"?A(f.options):A;E(),f.options=Object.assign({},i,f.options,x),f.scrollParents={reference:_o(a)?si(a):a.contextElement?si(a.contextElement):[],popper:si(u)};var C=KS(zS([].concat(r,f.options.modifiers)));return f.orderedModifiers=C.filter(function(m){return m.enabled}),y(),w.update()},forceUpdate:function(){if(!g){var A=f.elements,x=A.reference,C=A.popper;if(qf(x,C)){f.rects={reference:WS(x,Di(C),f.options.strategy==="fixed"),popper:Jc(C)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(F){return f.modifiersData[F.name]=Object.assign({},F.data)});for(var m=0;m<f.orderedModifiers.length;m++){if(f.reset===!0){f.reset=!1,m=-1;continue}var O=f.orderedModifiers[m],P=O.fn,k=O.options,R=k===void 0?{}:k,N=O.name;typeof P=="function"&&(f=P({state:f,options:R,name:N,instance:w})||f)}}}},update:YS(function(){return new Promise(function(I){w.forceUpdate(),I(f)})}),destroy:function(){E(),g=!0}};if(!qf(a,u))return w;w.setOptions(d).then(function(I){!g&&d.onFirstUpdate&&d.onFirstUpdate(I)});function y(){f.orderedModifiers.forEach(function(I){var A=I.name,x=I.options,C=x===void 0?{}:x,m=I.effect;if(typeof m=="function"){var O=m({state:f,name:A,instance:w,options:C}),P=function(){};p.push(O||P)}})}function E(){p.forEach(function(I){return I()}),p=[]}return w}}var JS=[bS,FS,yS,Uh,LS,RS,HS,pS,DS],QS=GS({defaultModifiers:JS}),XS="tippy-box",Kh="tippy-content",Yh="tippy-backdrop",zh="tippy-arrow",Gh="tippy-svg-arrow",Ar={passive:!0,capture:!0},Jh=function(){return document.body};function Pl(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function tu(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Qh(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Kf(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function ZS(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function eT(e){return e.split(/\s+/).filter(Boolean)}function kr(e){return[].concat(e)}function Yf(e,t){e.indexOf(t)===-1&&e.push(t)}function tT(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Xh(e){return e.split("-")[0]}function Eo(e){return[].slice.call(e)}function zf(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Ur(){return document.createElement("div")}function sa(e){return["Element","Fragment"].some(function(t){return tu(e,t)})}function nT(e){return tu(e,"NodeList")}function nu(e){return tu(e,"MouseEvent")}function rT(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function oT(e){return sa(e)?[e]:nT(e)?Eo(e):Array.isArray(e)?e:Eo(document.querySelectorAll(e))}function xl(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function Si(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Zh(e){var t,n=kr(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function iT(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var i=o.popperRect,s=o.popperState,a=o.props,u=a.interactiveBorder,d=Xh(s.placement),f=s.modifiersData.offset;if(!f)return!0;var p=d==="bottom"?f.top.y:0,g=d==="top"?f.bottom.y:0,w=d==="right"?f.left.x:0,y=d==="left"?f.right.x:0,E=i.top-r+p>u,I=r-i.bottom-g>u,A=i.left-n+w>u,x=n-i.right-y>u;return E||I||A||x})}function Ol(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function Gf(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var An={isTouch:!1},Jf=0;function sT(){An.isTouch||(An.isTouch=!0,window.performance&&document.addEventListener("mousemove",eg))}function eg(){var e=performance.now();e-Jf<20&&(An.isTouch=!1,document.removeEventListener("mousemove",eg)),Jf=e}function aT(){var e=document.activeElement;if(rT(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function lT(){document.addEventListener("touchstart",sT,Ar),window.addEventListener("blur",aT)}var cT=typeof window<"u"&&typeof document<"u",uT=cT?!!window.msCrypto:!1,fT={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},dT={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},pn=Object.assign({appendTo:Jh,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},fT,dT),pT=Object.keys(pn),hT=function(t){var n=Object.keys(t);n.forEach(function(r){pn[r]=t[r]})};function tg(e){var t=e.plugins||[],n=t.reduce(function(r,o){var i=o.name,s=o.defaultValue;if(i){var a;r[i]=e[i]!==void 0?e[i]:(a=pn[i])!=null?a:s}return r},{});return Object.assign({},e,n)}function gT(e,t){var n=t?Object.keys(tg(Object.assign({},pn,{plugins:t}))):pT,r=n.reduce(function(o,i){var s=(e.getAttribute("data-tippy-"+i)||"").trim();if(!s)return o;if(i==="content")o[i]=s;else try{o[i]=JSON.parse(s)}catch{o[i]=s}return o},{});return r}function Qf(e,t){var n=Object.assign({},t,{content:Qh(t.content,[e])},t.ignoreAttributes?{}:gT(e,t.plugins));return n.aria=Object.assign({},pn.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var mT=function(){return"innerHTML"};function lc(e,t){e[mT()]=t}function Xf(e){var t=Ur();return e===!0?t.className=zh:(t.className=Gh,sa(e)?t.appendChild(e):lc(t,e)),t}function Zf(e,t){sa(t.content)?(lc(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?lc(e,t.content):e.textContent=t.content)}function js(e){var t=e.firstElementChild,n=Eo(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(Kh)}),arrow:n.find(function(r){return r.classList.contains(zh)||r.classList.contains(Gh)}),backdrop:n.find(function(r){return r.classList.contains(Yh)})}}function ng(e){var t=Ur(),n=Ur();n.className=XS,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Ur();r.className=Kh,r.setAttribute("data-state","hidden"),Zf(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(i,s){var a=js(t),u=a.box,d=a.content,f=a.arrow;s.theme?u.setAttribute("data-theme",s.theme):u.removeAttribute("data-theme"),typeof s.animation=="string"?u.setAttribute("data-animation",s.animation):u.removeAttribute("data-animation"),s.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?u.setAttribute("role",s.role):u.removeAttribute("role"),(i.content!==s.content||i.allowHTML!==s.allowHTML)&&Zf(d,e.props),s.arrow?f?i.arrow!==s.arrow&&(u.removeChild(f),u.appendChild(Xf(s.arrow))):u.appendChild(Xf(s.arrow)):f&&u.removeChild(f)}return{popper:t,onUpdate:o}}ng.$$tippy=!0;var yT=1,hs=[],Al=[];function vT(e,t){var n=Qf(e,Object.assign({},pn,tg(zf(t)))),r,o,i,s=!1,a=!1,u=!1,d=!1,f,p,g,w=[],y=Kf(T,n.interactiveDebounce),E,I=yT++,A=null,x=tT(n.plugins),C={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},m={id:I,reference:e,popper:Ur(),popperInstance:A,props:n,state:C,plugins:x,clearDelayTimeouts:te,setProps:ge,setContent:Te,show:ke,hide:_e,hideWithInteractivity:Le,enable:pe,disable:fe,unmount:Rt,destroy:on};if(!n.render)return m;var O=n.render(m),P=O.popper,k=O.onUpdate;P.setAttribute("data-tippy-root",""),P.id="tippy-"+m.id,m.popper=P,e._tippy=m,P._tippy=m;var R=x.map(function(L){return L.fn(m)}),N=e.hasAttribute("aria-expanded");return Pe(),ze(),K(),J("onCreate",[m]),n.showOnCreate&&j(),P.addEventListener("mouseenter",function(){m.props.interactive&&m.state.isVisible&&m.clearDelayTimeouts()}),P.addEventListener("mouseleave",function(){m.props.interactive&&m.props.trigger.indexOf("mouseenter")>=0&&ce().addEventListener("mousemove",y)}),m;function F(){var L=m.props.touch;return Array.isArray(L)?L:[L,0]}function X(){return F()[0]==="hold"}function _(){var L;return!!((L=m.props.render)!=null&&L.$$tippy)}function ne(){return E||e}function ce(){var L=ne().parentNode;return L?Zh(L):document}function he(){return js(P)}function V(L){return m.state.isMounted&&!m.state.isVisible||An.isTouch||f&&f.type==="focus"?0:Pl(m.props.delay,L?0:1,pn.delay)}function K(L){L===void 0&&(L=!1),P.style.pointerEvents=m.props.interactive&&!L?"":"none",P.style.zIndex=""+m.props.zIndex}function J(L,ae,ue){if(ue===void 0&&(ue=!0),R.forEach(function(Oe){Oe[L]&&Oe[L].apply(Oe,ae)}),ue){var Ee;(Ee=m.props)[L].apply(Ee,ae)}}function Me(){var L=m.props.aria;if(L.content){var ae="aria-"+L.content,ue=P.id,Ee=kr(m.props.triggerTarget||e);Ee.forEach(function(Oe){var Ge=Oe.getAttribute(ae);if(m.state.isVisible)Oe.setAttribute(ae,Ge?Ge+" "+ue:ue);else{var mt=Ge&&Ge.replace(ue,"").trim();mt?Oe.setAttribute(ae,mt):Oe.removeAttribute(ae)}})}}function ze(){if(!(N||!m.props.aria.expanded)){var L=kr(m.props.triggerTarget||e);L.forEach(function(ae){m.props.interactive?ae.setAttribute("aria-expanded",m.state.isVisible&&ae===ne()?"true":"false"):ae.removeAttribute("aria-expanded")})}}function nt(){ce().removeEventListener("mousemove",y),hs=hs.filter(function(L){return L!==y})}function He(L){if(!(An.isTouch&&(u||L.type==="mousedown"))){var ae=L.composedPath&&L.composedPath()[0]||L.target;if(!(m.props.interactive&&Gf(P,ae))){if(kr(m.props.triggerTarget||e).some(function(ue){return Gf(ue,ae)})){if(An.isTouch||m.state.isVisible&&m.props.trigger.indexOf("click")>=0)return}else J("onClickOutside",[m,L]);m.props.hideOnClick===!0&&(m.clearDelayTimeouts(),m.hide(),a=!0,setTimeout(function(){a=!1}),m.state.isMounted||Be())}}}function ct(){u=!0}function je(){u=!1}function be(){var L=ce();L.addEventListener("mousedown",He,!0),L.addEventListener("touchend",He,Ar),L.addEventListener("touchstart",je,Ar),L.addEventListener("touchmove",ct,Ar)}function Be(){var L=ce();L.removeEventListener("mousedown",He,!0),L.removeEventListener("touchend",He,Ar),L.removeEventListener("touchstart",je,Ar),L.removeEventListener("touchmove",ct,Ar)}function B(L,ae){ee(L,function(){!m.state.isVisible&&P.parentNode&&P.parentNode.contains(P)&&ae()})}function Q(L,ae){ee(L,ae)}function ee(L,ae){var ue=he().box;function Ee(Oe){Oe.target===ue&&(Ol(ue,"remove",Ee),ae())}if(L===0)return ae();Ol(ue,"remove",p),Ol(ue,"add",Ee),p=Ee}function ie(L,ae,ue){ue===void 0&&(ue=!1);var Ee=kr(m.props.triggerTarget||e);Ee.forEach(function(Oe){Oe.addEventListener(L,ae,ue),w.push({node:Oe,eventType:L,handler:ae,options:ue})})}function Pe(){X()&&(ie("touchstart",b,{passive:!0}),ie("touchend",M,{passive:!0})),eT(m.props.trigger).forEach(function(L){if(L!=="manual")switch(ie(L,b),L){case"mouseenter":ie("mouseleave",M);break;case"focus":ie(uT?"focusout":"blur",H);break;case"focusin":ie("focusout",H);break}})}function Re(){w.forEach(function(L){var ae=L.node,ue=L.eventType,Ee=L.handler,Oe=L.options;ae.removeEventListener(ue,Ee,Oe)}),w=[]}function b(L){var ae,ue=!1;if(!(!m.state.isEnabled||U(L)||a)){var Ee=((ae=f)==null?void 0:ae.type)==="focus";f=L,E=L.currentTarget,ze(),!m.state.isVisible&&nu(L)&&hs.forEach(function(Oe){return Oe(L)}),L.type==="click"&&(m.props.trigger.indexOf("mouseenter")<0||s)&&m.props.hideOnClick!==!1&&m.state.isVisible?ue=!0:j(L),L.type==="click"&&(s=!ue),ue&&!Ee&&re(L)}}function T(L){var ae=L.target,ue=ne().contains(ae)||P.contains(ae);if(!(L.type==="mousemove"&&ue)){var Ee=Z().concat(P).map(function(Oe){var Ge,mt=Oe._tippy,vn=(Ge=mt.popperInstance)==null?void 0:Ge.state;return vn?{popperRect:Oe.getBoundingClientRect(),popperState:vn,props:n}:null}).filter(Boolean);iT(Ee,L)&&(nt(),re(L))}}function M(L){var ae=U(L)||m.props.trigger.indexOf("click")>=0&&s;if(!ae){if(m.props.interactive){m.hideWithInteractivity(L);return}re(L)}}function H(L){m.props.trigger.indexOf("focusin")<0&&L.target!==ne()||m.props.interactive&&L.relatedTarget&&P.contains(L.relatedTarget)||re(L)}function U(L){return An.isTouch?X()!==L.type.indexOf("touch")>=0:!1}function z(){G();var L=m.props,ae=L.popperOptions,ue=L.placement,Ee=L.offset,Oe=L.getReferenceClientRect,Ge=L.moveTransition,mt=_()?js(P).arrow:null,vn=Oe?{getBoundingClientRect:Oe,contextElement:Oe.contextElement||ne()}:e,Ce={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(bn){var Gt=bn.state;if(_()){var Ht=he(),an=Ht.box;["placement","reference-hidden","escaped"].forEach(function(er){er==="placement"?an.setAttribute("data-placement",Gt.placement):Gt.attributes.popper["data-popper-"+er]?an.setAttribute("data-"+er,""):an.removeAttribute("data-"+er)}),Gt.attributes.popper={}}}},Ut=[{name:"offset",options:{offset:Ee}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ge}},Ce];_()&&mt&&Ut.push({name:"arrow",options:{element:mt,padding:3}}),Ut.push.apply(Ut,(ae==null?void 0:ae.modifiers)||[]),m.popperInstance=QS(vn,P,Object.assign({},ae,{placement:ue,onFirstUpdate:g,modifiers:Ut}))}function G(){m.popperInstance&&(m.popperInstance.destroy(),m.popperInstance=null)}function Y(){var L=m.props.appendTo,ae,ue=ne();m.props.interactive&&L===Jh||L==="parent"?ae=ue.parentNode:ae=Qh(L,[ue]),ae.contains(P)||ae.appendChild(P),m.state.isMounted=!0,z()}function Z(){return Eo(P.querySelectorAll("[data-tippy-root]"))}function j(L){m.clearDelayTimeouts(),L&&J("onTrigger",[m,L]),be();var ae=V(!0),ue=F(),Ee=ue[0],Oe=ue[1];An.isTouch&&Ee==="hold"&&Oe&&(ae=Oe),ae?r=setTimeout(function(){m.show()},ae):m.show()}function re(L){if(m.clearDelayTimeouts(),J("onUntrigger",[m,L]),!m.state.isVisible){Be();return}if(!(m.props.trigger.indexOf("mouseenter")>=0&&m.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(L.type)>=0&&s)){var ae=V(!1);ae?o=setTimeout(function(){m.state.isVisible&&m.hide()},ae):i=requestAnimationFrame(function(){m.hide()})}}function pe(){m.state.isEnabled=!0}function fe(){m.hide(),m.state.isEnabled=!1}function te(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function ge(L){if(!m.state.isDestroyed){J("onBeforeUpdate",[m,L]),Re();var ae=m.props,ue=Qf(e,Object.assign({},ae,zf(L),{ignoreAttributes:!0}));m.props=ue,Pe(),ae.interactiveDebounce!==ue.interactiveDebounce&&(nt(),y=Kf(T,ue.interactiveDebounce)),ae.triggerTarget&&!ue.triggerTarget?kr(ae.triggerTarget).forEach(function(Ee){Ee.removeAttribute("aria-expanded")}):ue.triggerTarget&&e.removeAttribute("aria-expanded"),ze(),K(),k&&k(ae,ue),m.popperInstance&&(z(),Z().forEach(function(Ee){requestAnimationFrame(Ee._tippy.popperInstance.forceUpdate)})),J("onAfterUpdate",[m,L])}}function Te(L){m.setProps({content:L})}function ke(){var L=m.state.isVisible,ae=m.state.isDestroyed,ue=!m.state.isEnabled,Ee=An.isTouch&&!m.props.touch,Oe=Pl(m.props.duration,0,pn.duration);if(!(L||ae||ue||Ee)&&!ne().hasAttribute("disabled")&&(J("onShow",[m],!1),m.props.onShow(m)!==!1)){if(m.state.isVisible=!0,_()&&(P.style.visibility="visible"),K(),be(),m.state.isMounted||(P.style.transition="none"),_()){var Ge=he(),mt=Ge.box,vn=Ge.content;xl([mt,vn],0)}g=function(){var Ut;if(!(!m.state.isVisible||d)){if(d=!0,P.offsetHeight,P.style.transition=m.props.moveTransition,_()&&m.props.animation){var sn=he(),bn=sn.box,Gt=sn.content;xl([bn,Gt],Oe),Si([bn,Gt],"visible")}Me(),ze(),Yf(Al,m),(Ut=m.popperInstance)==null||Ut.forceUpdate(),J("onMount",[m]),m.props.animation&&_()&&Q(Oe,function(){m.state.isShown=!0,J("onShown",[m])})}},Y()}}function _e(){var L=!m.state.isVisible,ae=m.state.isDestroyed,ue=!m.state.isEnabled,Ee=Pl(m.props.duration,1,pn.duration);if(!(L||ae||ue)&&(J("onHide",[m],!1),m.props.onHide(m)!==!1)){if(m.state.isVisible=!1,m.state.isShown=!1,d=!1,s=!1,_()&&(P.style.visibility="hidden"),nt(),Be(),K(!0),_()){var Oe=he(),Ge=Oe.box,mt=Oe.content;m.props.animation&&(xl([Ge,mt],Ee),Si([Ge,mt],"hidden"))}Me(),ze(),m.props.animation?_()&&B(Ee,m.unmount):m.unmount()}}function Le(L){ce().addEventListener("mousemove",y),Yf(hs,y),y(L)}function Rt(){m.state.isVisible&&m.hide(),m.state.isMounted&&(G(),Z().forEach(function(L){L._tippy.unmount()}),P.parentNode&&P.parentNode.removeChild(P),Al=Al.filter(function(L){return L!==m}),m.state.isMounted=!1,J("onHidden",[m]))}function on(){m.state.isDestroyed||(m.clearDelayTimeouts(),m.unmount(),Re(),delete e._tippy,m.state.isDestroyed=!0,J("onDestroy",[m]))}}function me(e,t){t===void 0&&(t={});var n=pn.plugins.concat(t.plugins||[]);lT();var r=Object.assign({},t,{plugins:n}),o=oT(e),i=o.reduce(function(s,a){var u=a&&vT(a,r);return u&&s.push(u),s},[]);return sa(e)?i[0]:i}me.defaultProps=pn;me.setDefaultProps=hT;me.currentInput=An;var bT=Object.assign({},Uh,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),wT=function(t,n){var r;n===void 0&&(n={});var o=t,i=[],s=[],a,u=n.overrides,d=[],f=!1;function p(){s=o.map(function(m){return kr(m.props.triggerTarget||m.reference)}).reduce(function(m,O){return m.concat(O)},[])}function g(){i=o.map(function(m){return m.reference})}function w(m){o.forEach(function(O){m?O.enable():O.disable()})}function y(m){return o.map(function(O){var P=O.setProps;return O.setProps=function(k){P(k),O.reference===a&&m.setProps(k)},function(){O.setProps=P}})}function E(m,O){var P=s.indexOf(O);if(O!==a){a=O;var k=(u||[]).concat("content").reduce(function(R,N){return R[N]=o[P].props[N],R},{});m.setProps(Object.assign({},k,{getReferenceClientRect:typeof k.getReferenceClientRect=="function"?k.getReferenceClientRect:function(){var R;return(R=i[P])==null?void 0:R.getBoundingClientRect()}}))}}w(!1),g(),p();var I={fn:function(){return{onDestroy:function(){w(!0)},onHidden:function(){a=null},onClickOutside:function(P){P.props.showOnCreate&&!f&&(f=!0,a=null)},onShow:function(P){P.props.showOnCreate&&!f&&(f=!0,E(P,i[0]))},onTrigger:function(P,k){E(P,k.currentTarget)}}}},A=me(Ur(),Object.assign({},ZS(n,["overrides"]),{plugins:[I].concat(n.plugins||[]),triggerTarget:s,popperOptions:Object.assign({},n.popperOptions,{modifiers:[].concat(((r=n.popperOptions)==null?void 0:r.modifiers)||[],[bT])})})),x=A.show;A.show=function(m){if(x(),!a&&m==null)return E(A,i[0]);if(!(a&&m==null)){if(typeof m=="number")return i[m]&&E(A,i[m]);if(o.indexOf(m)>=0){var O=m.reference;return E(A,O)}if(i.indexOf(m)>=0)return E(A,m)}},A.showNext=function(){var m=i[0];if(!a)return A.show(0);var O=i.indexOf(a);A.show(i[O+1]||m)},A.showPrevious=function(){var m=i[i.length-1];if(!a)return A.show(m);var O=i.indexOf(a),P=i[O-1]||m;A.show(P)};var C=A.setProps;return A.setProps=function(m){u=m.overrides||u,C(m)},A.setInstances=function(m){w(!0),d.forEach(function(O){return O()}),o=m,w(!1),g(),p(),d=y(A),A.setProps({triggerTarget:s})},d=y(A),A},_T={name:"animateFill",defaultValue:!1,fn:function(t){var n;if(!((n=t.props.render)!=null&&n.$$tippy))return{};var r=js(t.popper),o=r.box,i=r.content,s=t.props.animateFill?CT():null;return{onCreate:function(){s&&(o.insertBefore(s,o.firstElementChild),o.setAttribute("data-animatefill",""),o.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(s){var u=o.style.transitionDuration,d=Number(u.replace("ms",""));i.style.transitionDelay=Math.round(d/10)+"ms",s.style.transitionDuration=u,Si([s],"visible")}},onShow:function(){s&&(s.style.transitionDuration="0ms")},onHide:function(){s&&Si([s],"hidden")}}}};function CT(){var e=Ur();return e.className=Yh,Si([e],"hidden"),e}var cc={clientX:0,clientY:0},gs=[];function rg(e){var t=e.clientX,n=e.clientY;cc={clientX:t,clientY:n}}function ST(e){e.addEventListener("mousemove",rg)}function TT(e){e.removeEventListener("mousemove",rg)}var ET={name:"followCursor",defaultValue:!1,fn:function(t){var n=t.reference,r=Zh(t.props.triggerTarget||n),o=!1,i=!1,s=!0,a=t.props;function u(){return t.props.followCursor==="initial"&&t.state.isVisible}function d(){r.addEventListener("mousemove",g)}function f(){r.removeEventListener("mousemove",g)}function p(){o=!0,t.setProps({getReferenceClientRect:null}),o=!1}function g(E){var I=E.target?n.contains(E.target):!0,A=t.props.followCursor,x=E.clientX,C=E.clientY,m=n.getBoundingClientRect(),O=x-m.left,P=C-m.top;(I||!t.props.interactive)&&t.setProps({getReferenceClientRect:function(){var R=n.getBoundingClientRect(),N=x,F=C;A==="initial"&&(N=R.left+O,F=R.top+P);var X=A==="horizontal"?R.top:F,_=A==="vertical"?R.right:N,ne=A==="horizontal"?R.bottom:F,ce=A==="vertical"?R.left:N;return{width:_-ce,height:ne-X,top:X,right:_,bottom:ne,left:ce}}})}function w(){t.props.followCursor&&(gs.push({instance:t,doc:r}),ST(r))}function y(){gs=gs.filter(function(E){return E.instance!==t}),gs.filter(function(E){return E.doc===r}).length===0&&TT(r)}return{onCreate:w,onDestroy:y,onBeforeUpdate:function(){a=t.props},onAfterUpdate:function(I,A){var x=A.followCursor;o||x!==void 0&&a.followCursor!==x&&(y(),x?(w(),t.state.isMounted&&!i&&!u()&&d()):(f(),p()))},onMount:function(){t.props.followCursor&&!i&&(s&&(g(cc),s=!1),u()||d())},onTrigger:function(I,A){nu(A)&&(cc={clientX:A.clientX,clientY:A.clientY}),i=A.type==="focus"},onHidden:function(){t.props.followCursor&&(p(),f(),s=!0)}}}};function PT(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((((n=e.popperOptions)==null?void 0:n.modifiers)||[]).filter(function(r){var o=r.name;return o!==t.name}),[t])})}}var xT={name:"inlinePositioning",defaultValue:!1,fn:function(t){var n=t.reference;function r(){return!!t.props.inlinePositioning}var o,i=-1,s=!1,a=[],u={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(w){var y=w.state;r()&&(a.indexOf(y.placement)!==-1&&(a=[]),o!==y.placement&&a.indexOf(y.placement)===-1&&(a.push(y.placement),t.setProps({getReferenceClientRect:function(){return d(y.placement)}})),o=y.placement)}};function d(g){return OT(Xh(g),n.getBoundingClientRect(),Eo(n.getClientRects()),i)}function f(g){s=!0,t.setProps(g),s=!1}function p(){s||f(PT(t.props,u))}return{onCreate:p,onAfterUpdate:p,onTrigger:function(w,y){if(nu(y)){var E=Eo(t.reference.getClientRects()),I=E.find(function(x){return x.left-2<=y.clientX&&x.right+2>=y.clientX&&x.top-2<=y.clientY&&x.bottom+2>=y.clientY}),A=E.indexOf(I);i=A>-1?A:i}},onHidden:function(){i=-1}}}};function OT(e,t,n,r){if(n.length<2||e===null)return t;if(n.length===2&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":{var o=n[0],i=n[n.length-1],s=e==="top",a=o.top,u=i.bottom,d=s?o.left:i.left,f=s?o.right:i.right,p=f-d,g=u-a;return{top:a,bottom:u,left:d,right:f,width:p,height:g}}case"left":case"right":{var w=Math.min.apply(Math,n.map(function(P){return P.left})),y=Math.max.apply(Math,n.map(function(P){return P.right})),E=n.filter(function(P){return e==="left"?P.left===w:P.right===y}),I=E[0].top,A=E[E.length-1].bottom,x=w,C=y,m=C-x,O=A-I;return{top:I,bottom:A,left:x,right:C,width:m,height:O}}default:return t}}var AT={name:"sticky",defaultValue:!1,fn:function(t){var n=t.reference,r=t.popper;function o(){return t.popperInstance?t.popperInstance.state.elements.reference:n}function i(d){return t.props.sticky===!0||t.props.sticky===d}var s=null,a=null;function u(){var d=i("reference")?o().getBoundingClientRect():null,f=i("popper")?r.getBoundingClientRect():null;(d&&ed(s,d)||f&&ed(a,f))&&t.popperInstance&&t.popperInstance.update(),s=d,a=f,t.state.isMounted&&requestAnimationFrame(u)}return{onMount:function(){t.props.sticky&&u()}}}};function ed(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}me.setDefaultProps({render:ng});me.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});function og(e,t={},n={mount:!0,appName:"Tippy"}){n=Object.assign({mount:!0,appName:"Tippy"},n);const r=Zn(),o=Tt(),i=Tt({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1}),s=dp();let a=null;const u=()=>a||(a=document.createDocumentFragment(),a),d=k=>{let R,N=qe(k)?k.value:k;return vr(N)?(s.value||(s.value=ic({name:n.appName,setup:()=>()=>qe(k)?k.value:k}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(u())),R=()=>u()):typeof N=="object"?(s.value||(s.value=ic({name:n.appName,setup:()=>()=>qn(qe(k)?k.value:k)}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(u())),R=()=>u()):R=N,R},f=k=>{let R={};return qe(k)?R=k.value||{}:Yn(k)?R={...k}:R={...k},R.content&&(R.content=d(R.content)),R.triggerTarget&&(R.triggerTarget=qe(R.triggerTarget)?R.triggerTarget.value:R.triggerTarget),(!R.plugins||!Array.isArray(R.plugins))&&(R.plugins=[]),R.plugins=R.plugins.filter(N=>N.name!=="vueTippyReactiveState"),R.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){i.value.isEnabled=!0},onMount(){i.value.isMounted=!0},onShow(){i.value.isMounted=!0,i.value.isVisible=!0},onShown(){i.value.isShown=!0},onHide(){i.value.isMounted=!1,i.value.isVisible=!1},onHidden(){i.value.isShown=!1},onUnmounted(){i.value.isMounted=!1},onDestroy(){i.value.isDestroyed=!0}})}),R},p=()=>{o.value&&o.value.setProps(f(t))},g=()=>{!o.value||!t.content||o.value.setContent(d(t.content))},w=k=>{var R;(R=o.value)===null||R===void 0||R.setContent(d(k))},y=k=>{var R;(R=o.value)===null||R===void 0||R.setProps(f(k))},E=()=>{var k;o.value&&(o.value.destroy(),o.value=void 0),a=null,(k=s.value)===null||k===void 0||k.unmount(),s.value=void 0},I=()=>{var k;(k=o.value)===null||k===void 0||k.show()},A=()=>{var k;(k=o.value)===null||k===void 0||k.hide()},x=()=>{var k;(k=o.value)===null||k===void 0||k.disable(),i.value.isEnabled=!1},C=()=>{var k;(k=o.value)===null||k===void 0||k.enable(),i.value.isEnabled=!0},m=()=>{var k;(k=o.value)===null||k===void 0||k.unmount()},O=()=>{if(!e)return;let k=qe(e)?e.value:e;typeof k=="function"&&(k=k()),k&&(o.value=me(k,f(t)),k.$tippy=P)},P={tippy:o,refresh:p,refreshContent:g,setContent:w,setProps:y,destroy:E,hide:A,show:I,disable:x,enable:C,unmount:m,mount:O,state:i};return n.mount&&(r?r.isMounted?O():Wr(O):O()),r&&ta(()=>{E()}),qe(t)||Yn(t)?Dn(t,p,{immediate:!1}):qe(t.content)&&Dn(t.content,g,{immediate:!1}),P}function RT(e,t){const n=Tt();return Wr(()=>{const o=(Array.isArray(e)?e.map(i=>i.value):typeof e=="function"?e():e.value).map(i=>i instanceof Element?i._tippy:i).filter(Boolean);n.value=wT(o,t?{allowHTML:!0,...t}:{allowHTML:!0})}),{singleton:n}}function kT(e){return typeof e=="function"?e():zn(e)}function DT(e){var t,n;const r=kT(e);return(n=(t=r)===null||t===void 0?void 0:t.$el)!==null&&n!==void 0?n:r}const IT=Mo({props:{to:{type:[String,Function]},tag:{type:[String,Object],default:"span"},contentTag:{type:[String,Object],default:"span"},contentClass:{type:String,default:null},appendTo:{default:()=>me.defaultProps.appendTo},aria:{default:()=>me.defaultProps.aria},delay:{default:()=>me.defaultProps.delay},duration:{default:()=>me.defaultProps.duration},getReferenceClientRect:{default:()=>me.defaultProps.getReferenceClientRect},hideOnClick:{type:[Boolean,String],default:()=>me.defaultProps.hideOnClick},ignoreAttributes:{type:Boolean,default:()=>me.defaultProps.ignoreAttributes},interactive:{type:Boolean,default:()=>me.defaultProps.interactive},interactiveBorder:{default:()=>me.defaultProps.interactiveBorder},interactiveDebounce:{default:()=>me.defaultProps.interactiveDebounce},moveTransition:{default:()=>me.defaultProps.moveTransition},offset:{default:()=>me.defaultProps.offset},onAfterUpdate:{default:()=>me.defaultProps.onAfterUpdate},onBeforeUpdate:{default:()=>me.defaultProps.onBeforeUpdate},onCreate:{default:()=>me.defaultProps.onCreate},onDestroy:{default:()=>me.defaultProps.onDestroy},onHidden:{default:()=>me.defaultProps.onHidden},onHide:{default:()=>me.defaultProps.onHide},onMount:{default:()=>me.defaultProps.onMount},onShow:{default:()=>me.defaultProps.onShow},onShown:{default:()=>me.defaultProps.onShown},onTrigger:{default:()=>me.defaultProps.onTrigger},onUntrigger:{default:()=>me.defaultProps.onUntrigger},onClickOutside:{default:()=>me.defaultProps.onClickOutside},placement:{default:()=>me.defaultProps.placement},plugins:{default:()=>me.defaultProps.plugins},popperOptions:{default:()=>me.defaultProps.popperOptions},render:{default:()=>me.defaultProps.render},showOnCreate:{type:Boolean,default:()=>me.defaultProps.showOnCreate},touch:{type:[Boolean,String,Array],default:()=>me.defaultProps.touch},trigger:{default:()=>me.defaultProps.trigger},triggerTarget:{default:()=>me.defaultProps.triggerTarget},animateFill:{type:Boolean,default:()=>me.defaultProps.animateFill},followCursor:{type:[Boolean,String],default:()=>me.defaultProps.followCursor},inlinePositioning:{type:Boolean,default:()=>me.defaultProps.inlinePositioning},sticky:{type:[Boolean,String],default:()=>me.defaultProps.sticky},allowHTML:{type:Boolean,default:()=>me.defaultProps.allowHTML},animation:{default:()=>me.defaultProps.animation},arrow:{default:()=>me.defaultProps.arrow},content:{default:()=>me.defaultProps.content},inertia:{default:()=>me.defaultProps.inertia},maxWidth:{default:()=>me.defaultProps.maxWidth},role:{default:()=>me.defaultProps.role},theme:{default:()=>me.defaultProps.theme},zIndex:{default:()=>me.defaultProps.zIndex}},emits:["state"],setup(e,{slots:t,emit:n,expose:r}){const o=Tt(),i=Tt(),s=Tt(),a=Tt(!1),u=()=>{let w={...e};for(const y of["to","tag","contentTag","contentClass"])w.hasOwnProperty(y)&&delete w[y];return w};let d=()=>DT(o);e.to&&(typeof Element<"u"&&e.to instanceof Element?d=()=>e.to:e.to==="parent"?d=()=>{let w=o.value;return w||(w=o.value=i.value.parentElement),w}:(typeof e.to=="string"||e.to instanceof String)&&(d=()=>document.querySelector(e.to)));const f=og(d,u());let p=t.content;!p&&e.to==="parent"&&(p=t.default),Wr(()=>{a.value=!0,Io(()=>{p&&f.setContent(()=>s.value)})}),Dn(f.state,()=>{n("state",zn(f.state))},{immediate:!0,deep:!0}),Dn(()=>e,()=>{f.setProps(u()),p&&f.setContent(()=>s.value)},{deep:!0});let g=ko({elem:o,contentElem:s,mounted:a,...f});return r(g),()=>{const w=(typeof e.contentTag=="string",e.contentTag),y=p?qn(w,{ref:s,style:{display:a.value?"inherit":"none"},class:e.contentClass},p(g)):null;if(e.to==="parent"){const A=[];if(!o.value){const x=qn("span",{ref:i,"data-v-tippy":"",style:{display:"none"}});A.push(x)}return y&&A.push(y),A}const E=t.default?t.default(g):[];if(!e.tag){const A=qn(E[0],{ref:o,"data-v-tippy":""});return y?[A,y]:A}const I=(typeof e.tag=="string",e.tag);return qn(I,{ref:o,"data-v-tippy":""},y?[E,y]:E)}}}),MT=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let uc={};Object.keys(me.defaultProps).forEach(e=>{MT.includes(e)?uc[e]={type:Boolean,default:function(){return me.defaultProps[e]}}:uc[e]={default:function(){return me.defaultProps[e]}}});const LT=Mo({props:uc,setup(e){const t=Tt([]),{singleton:n}=RT(t,e);return{instances:t,singleton:n}},mounted(){var e;const n=this.$el.parentElement.querySelectorAll("[data-v-tippy]");this.instances=Array.from(n).map(r=>r._tippy).filter(Boolean),(e=this.singleton)===null||e===void 0||e.setInstances(this.instances)},render(){let e=this.$slots.default?this.$slots.default():[];return qn(()=>e)}}),NT={mounted(e,t,n){const r=typeof t.value=="string"?{content:t.value}:t.value||{},o=Object.keys(t.modifiers||{}),i=o.find(a=>a!=="arrow"),s=o.findIndex(a=>a==="arrow")!==-1;i&&(r.placement=r.placement||i),s&&(r.arrow=r.arrow!==void 0?r.arrow:!0),n.props&&n.props.onTippyShow&&(r.onShow=function(...a){var u;return(u=n.props)===null||u===void 0?void 0:u.onTippyShow(...a)}),n.props&&n.props.onTippyShown&&(r.onShown=function(...a){var u;return(u=n.props)===null||u===void 0?void 0:u.onTippyShown(...a)}),n.props&&n.props.onTippyHidden&&(r.onHidden=function(...a){var u;return(u=n.props)===null||u===void 0?void 0:u.onTippyHidden(...a)}),n.props&&n.props.onTippyHide&&(r.onHide=function(...a){var u;return(u=n.props)===null||u===void 0?void 0:u.onTippyHide(...a)}),n.props&&n.props.onTippyMount&&(r.onMount=function(...a){var u;return(u=n.props)===null||u===void 0?void 0:u.onTippyMount(...a)}),e.getAttribute("title")&&!r.content&&(r.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!r.content&&(r.content=e.getAttribute("content")),og(e,r)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const n=typeof t.value=="string"?{content:t.value}:t.value||{};e.getAttribute("title")&&!n.content&&(n.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!n.content&&(n.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(n||{}):e._tippy&&e._tippy.setProps(n||{})}},FT={install(e,t={}){me.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",NT),e.component(t.component||"tippy",IT),e.component(t.componentSingleton||"tippy-singleton",LT)}},BT=me.setDefaultProps;BT({ignoreAttributes:!0,plugins:[AT,xT,ET,_T]});const UT=FT,ig=function(){return document.ontouchstart!==null?"click":"touchstart"},$s="__vue_click_away__",sg=function(e,t,n){ag(e);let r=n.context,o=t.value,i=!1;setTimeout(function(){i=!0},0),e[$s]=function(s){if((!e||!e.contains(s.target))&&o&&i&&typeof o=="function")return o.call(r,s)},document.addEventListener(ig(),e[$s],!1)},ag=function(e){document.removeEventListener(ig(),e[$s],!1),delete e[$s]},HT=function(e,t,n){t.value!==t.oldValue&&sg(e,t,n)},jT={install:function(e){e.directive("click-away",$T)}},$T={mounted:sg,updated:HT,unmounted:ag};var VT=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT */let lg;const aa=e=>lg=e,cg=Symbol();function fc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ai;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ai||(ai={}));function WT(){const e=Kd(!0),t=e.run(()=>Tt({}));let n=[],r=[];const o=kc({install(i){aa(o),o._a=i,i.provide(cg,o),i.config.globalProperties.$pinia=o,r.forEach(s=>n.push(s)),r=[]},use(i){return!this._a&&!VT?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const ug=()=>{};function td(e,t,n,r=ug){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&zd()&&Jy(o),o}function to(e,...t){e.slice().forEach(n=>{n(...t)})}const qT=e=>e();function dc(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];fc(o)&&fc(r)&&e.hasOwnProperty(n)&&!qe(r)&&!Yn(r)?e[n]=dc(o,r):e[n]=r}return e}const KT=Symbol();function YT(e){return!fc(e)||!e.hasOwnProperty(KT)}const{assign:cr}=Object;function zT(e){return!!(qe(e)&&e.effect)}function GT(e,t,n,r){const{state:o,actions:i,getters:s}=t,a=n.state.value[e];let u;function d(){a||(n.state.value[e]=o?o():{});const f=Cv(n.state.value[e]);return cr(f,i,Object.keys(s||{}).reduce((p,g)=>(p[g]=kc(Qt(()=>{aa(n);const w=n._s.get(e);return s[g].call(w,w)})),p),{}))}return u=fg(e,d,t,n,r,!0),u}function fg(e,t,n={},r,o,i){let s;const a=cr({actions:{}},n),u={deep:!0};let d,f,p=[],g=[],w;const y=r.state.value[e];!i&&!y&&(r.state.value[e]={}),Tt({});let E;function I(R){let N;d=f=!1,typeof R=="function"?(R(r.state.value[e]),N={type:ai.patchFunction,storeId:e,events:w}):(dc(r.state.value[e],R),N={type:ai.patchObject,payload:R,storeId:e,events:w});const F=E=Symbol();Io().then(()=>{E===F&&(d=!0)}),f=!0,to(p,N,r.state.value[e])}const A=i?function(){const{state:N}=n,F=N?N():{};this.$patch(X=>{cr(X,F)})}:ug;function x(){s.stop(),p=[],g=[],r._s.delete(e)}function C(R,N){return function(){aa(r);const F=Array.from(arguments),X=[],_=[];function ne(V){X.push(V)}function ce(V){_.push(V)}to(g,{args:F,name:R,store:O,after:ne,onError:ce});let he;try{he=N.apply(this&&this.$id===e?this:O,F)}catch(V){throw to(_,V),V}return he instanceof Promise?he.then(V=>(to(X,V),V)).catch(V=>(to(_,V),Promise.reject(V))):(to(X,he),he)}}const m={_p:r,$id:e,$onAction:td.bind(null,g),$patch:I,$reset:A,$subscribe(R,N={}){const F=td(p,R,N.detached,()=>X()),X=s.run(()=>Dn(()=>r.state.value[e],_=>{(N.flush==="sync"?f:d)&&R({storeId:e,type:ai.direct,events:w},_)},cr({},u,N)));return F},$dispose:x},O=ko(m);r._s.set(e,O);const k=(r._a&&r._a.runWithContext||qT)(()=>r._e.run(()=>(s=Kd()).run(t)));for(const R in k){const N=k[R];if(qe(N)&&!zT(N)||Yn(N))i||(y&&YT(N)&&(qe(N)?N.value=y[R]:dc(N,y[R])),r.state.value[e][R]=N);else if(typeof N=="function"){const F=C(R,N);k[R]=F,a.actions[R]=N}}return cr(O,k),cr(Ie(O),k),Object.defineProperty(O,"$state",{get:()=>r.state.value[e],set:R=>{I(N=>{cr(N,R)})}}),r._p.forEach(R=>{cr(O,s.run(()=>R({store:O,app:r._a,pinia:r,options:a})))}),y&&i&&n.hydrate&&n.hydrate(O.$state,y),d=!0,f=!0,O}function dg(e,t,n){let r,o;const i=typeof t=="function";typeof e=="string"?(r=e,o=i?n:t):(o=e,r=e.id);function s(a,u){const d=hb();return a=a||(d?hn(cg,null):null),a&&aa(a),a=lg,a._s.has(r)||(i?fg(r,t,o,a):GT(r,o,a)),a._s.get(r)}return s.$id=r,s}const pg=dg("themeSettings",{state:()=>({sidebarCollasp:!1,sidebarHidden:!1,mobielSidebar:!1,semidark:!1,monochrome:!1,semiDarkTheme:"semi-light",isDark:!1,skin:"default",theme:"light",isOpenSettings:!1,cWidth:"full",menuLayout:"horizontal",navbarType:"sticky",isMouseHovered:!1,footerType:"sticky",direction:!1,chartColors:{title:"red"},themeColors:["indigo-900","emerald-600","amber-500","stone-500"]}),actions:{setSidebarCollasp(){this.sidebarCollasp=!this.sidebarCollasp},toogleDark(){this.isDark=!this.isDark,document.body.classList.remove(this.theme),this.theme=this.theme==="dark"?"light":"dark",document.body.classList.add(this.theme),localStorage.setItem("theme",this.theme)},toggleMonochrome(){if(localStorage.getItem("monochrome")!==null){localStorage.removeItem("monochrome"),document.getElementsByTagName("html")[0].classList.remove("grayscale");return}localStorage.setItem("monochrome",!0),document.getElementsByTagName("html")[0].classList.add("grayscale")},toggleSettings(){this.isOpenSettings=!this.isOpenSettings},toggleMsidebar(){this.mobielSidebar=!this.mobielSidebar},toggleSemiDark(){this.semidark=!this.semidark,this.semiDarkTheme=this.semidark?"semi-dark":"semi-light",document.body.classList.toggle(this.semiDarkTheme),localStorage.setItem("semiDark",this.semidark)}}});function hg(e,t){return function(){return e.apply(t,arguments)}}const{toString:JT}=Object.prototype,{getPrototypeOf:ru}=Object,la=(e=>t=>{const n=JT.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Nn=e=>(e=e.toLowerCase(),t=>la(t)===e),ca=e=>t=>typeof t===e,{isArray:Lo}=Array,Ti=ca("undefined");function QT(e){return e!==null&&!Ti(e)&&e.constructor!==null&&!Ti(e.constructor)&&tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const gg=Nn("ArrayBuffer");function XT(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&gg(e.buffer),t}const ZT=ca("string"),tn=ca("function"),mg=ca("number"),ua=e=>e!==null&&typeof e=="object",eE=e=>e===!0||e===!1,Ss=e=>{if(la(e)!=="object")return!1;const t=ru(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},tE=Nn("Date"),nE=Nn("File"),rE=Nn("Blob"),oE=Nn("FileList"),iE=e=>ua(e)&&tn(e.pipe),sE=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||tn(e.append)&&((t=la(e))==="formdata"||t==="object"&&tn(e.toString)&&e.toString()==="[object FormData]"))},aE=Nn("URLSearchParams"),lE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ii(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Lo(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(r=0;r<s;r++)a=i[r],t.call(null,e[a],a,e)}}function yg(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const vg=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),bg=e=>!Ti(e)&&e!==vg;function pc(){const{caseless:e}=bg(this)&&this||{},t={},n=(r,o)=>{const i=e&&yg(t,o)||o;Ss(t[i])&&Ss(r)?t[i]=pc(t[i],r):Ss(r)?t[i]=pc({},r):Lo(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Ii(arguments[r],n);return t}const cE=(e,t,n,{allOwnKeys:r}={})=>(Ii(t,(o,i)=>{n&&tn(o)?e[i]=hg(o,n):e[i]=o},{allOwnKeys:r}),e),uE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),fE=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},dE=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&ru(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pE=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},hE=e=>{if(!e)return null;if(Lo(e))return e;let t=e.length;if(!mg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},gE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ru(Uint8Array)),mE=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},yE=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},vE=Nn("HTMLFormElement"),bE=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),nd=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),wE=Nn("RegExp"),wg=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ii(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},_E=e=>{wg(e,(t,n)=>{if(tn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(tn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},CE=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Lo(e)?r(e):r(String(e).split(t)),n},SE=()=>{},TE=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Rl="abcdefghijklmnopqrstuvwxyz",rd="0123456789",_g={DIGIT:rd,ALPHA:Rl,ALPHA_DIGIT:Rl+Rl.toUpperCase()+rd},EE=(e=16,t=_g.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function PE(e){return!!(e&&tn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const xE=e=>{const t=new Array(10),n=(r,o)=>{if(ua(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Lo(r)?[]:{};return Ii(r,(s,a)=>{const u=n(s,o+1);!Ti(u)&&(i[a]=u)}),t[o]=void 0,i}}return r};return n(e,0)},OE=Nn("AsyncFunction"),AE=e=>e&&(ua(e)||tn(e))&&tn(e.then)&&tn(e.catch),$={isArray:Lo,isArrayBuffer:gg,isBuffer:QT,isFormData:sE,isArrayBufferView:XT,isString:ZT,isNumber:mg,isBoolean:eE,isObject:ua,isPlainObject:Ss,isUndefined:Ti,isDate:tE,isFile:nE,isBlob:rE,isRegExp:wE,isFunction:tn,isStream:iE,isURLSearchParams:aE,isTypedArray:gE,isFileList:oE,forEach:Ii,merge:pc,extend:cE,trim:lE,stripBOM:uE,inherits:fE,toFlatObject:dE,kindOf:la,kindOfTest:Nn,endsWith:pE,toArray:hE,forEachEntry:mE,matchAll:yE,isHTMLForm:vE,hasOwnProperty:nd,hasOwnProp:nd,reduceDescriptors:wg,freezeMethods:_E,toObjectSet:CE,toCamelCase:bE,noop:SE,toFiniteNumber:TE,findKey:yg,global:vg,isContextDefined:bg,ALPHABET:_g,generateString:EE,isSpecCompliantForm:PE,toJSONObject:xE,isAsyncFn:OE,isThenable:AE};function De(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}$.inherits(De,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Cg=De.prototype,Sg={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Sg[e]={value:e}});Object.defineProperties(De,Sg);Object.defineProperty(Cg,"isAxiosError",{value:!0});De.from=(e,t,n,r,o,i)=>{const s=Object.create(Cg);return $.toFlatObject(e,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),De.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const RE=null;function hc(e){return $.isPlainObject(e)||$.isArray(e)}function Tg(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function od(e,t,n){return e?e.concat(t).map(function(o,i){return o=Tg(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function kE(e){return $.isArray(e)&&!e.some(hc)}const DE=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function fa(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,I){return!$.isUndefined(I[E])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&$.isSpecCompliantForm(t);if(!$.isFunction(o))throw new TypeError("visitor must be a function");function d(y){if(y===null)return"";if($.isDate(y))return y.toISOString();if(!u&&$.isBlob(y))throw new De("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(y)||$.isTypedArray(y)?u&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function f(y,E,I){let A=y;if(y&&!I&&typeof y=="object"){if($.endsWith(E,"{}"))E=r?E:E.slice(0,-2),y=JSON.stringify(y);else if($.isArray(y)&&kE(y)||($.isFileList(y)||$.endsWith(E,"[]"))&&(A=$.toArray(y)))return E=Tg(E),A.forEach(function(C,m){!($.isUndefined(C)||C===null)&&t.append(s===!0?od([E],m,i):s===null?E:E+"[]",d(C))}),!1}return hc(y)?!0:(t.append(od(I,E,i),d(y)),!1)}const p=[],g=Object.assign(DE,{defaultVisitor:f,convertValue:d,isVisitable:hc});function w(y,E){if(!$.isUndefined(y)){if(p.indexOf(y)!==-1)throw Error("Circular reference detected in "+E.join("."));p.push(y),$.forEach(y,function(A,x){(!($.isUndefined(A)||A===null)&&o.call(t,A,$.isString(x)?x.trim():x,E,g))===!0&&w(A,E?E.concat(x):[x])}),p.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return w(e),t}function id(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ou(e,t){this._pairs=[],e&&fa(e,this,t)}const Eg=ou.prototype;Eg.append=function(t,n){this._pairs.push([t,n])};Eg.toString=function(t){const n=t?function(r){return t.call(this,r,id)}:id;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function IE(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Pg(e,t,n){if(!t)return e;const r=n&&n.encode||IE,o=n&&n.serialize;let i;if(o?i=o(t,n):i=$.isURLSearchParams(t)?t.toString():new ou(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ME{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(r){r!==null&&t(r)})}}const sd=ME,xg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},LE=typeof URLSearchParams<"u"?URLSearchParams:ou,NE=typeof FormData<"u"?FormData:null,FE=typeof Blob<"u"?Blob:null,BE={isBrowser:!0,classes:{URLSearchParams:LE,FormData:NE,Blob:FE},protocols:["http","https","file","blob","url","data"]},Og=typeof window<"u"&&typeof document<"u",UE=(e=>Og&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),HE=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),jE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Og,hasStandardBrowserEnv:UE,hasStandardBrowserWebWorkerEnv:HE},Symbol.toStringTag,{value:"Module"})),kn={...jE,...BE};function $E(e,t){return fa(e,new kn.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return kn.isNode&&$.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function VE(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function WE(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function Ag(e){function t(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),u=i>=n.length;return s=!s&&$.isArray(o)?o.length:s,u?($.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!$.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&$.isArray(o[s])&&(o[s]=WE(o[s])),!a)}if($.isFormData(e)&&$.isFunction(e.entries)){const n={};return $.forEachEntry(e,(r,o)=>{t(VE(r),o,n,0)}),n}return null}function qE(e,t,n){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const iu={transitional:xg,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=$.isObject(t);if(i&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return o?JSON.stringify(Ag(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return $E(t,this.formSerializer).toString();if((a=$.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return fa(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),qE(t)):t}],transformResponse:[function(t){const n=this.transitional||iu.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&$.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?De.from(a,De.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:kn.classes.FormData,Blob:kn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],e=>{iu.headers[e]={}});const su=iu,KE=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),YE=e=>{const t={};let n,r,o;return e&&e.split(` `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&KE[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ad=Symbol("internals");function Go(e){return e&&String(e).trim().toLowerCase()}function Ts(e){return e===!1||e==null?e:$.isArray(e)?e.map(Ts):String(e)}function zE(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const GE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function kl(e,t,n,r,o){if($.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!$.isString(t)){if($.isString(r))return t.indexOf(r)!==-1;if($.isRegExp(r))return r.test(t)}}function JE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function QE(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class da{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,u,d){const f=Go(u);if(!f)throw new Error("header name must be a non-empty string");const p=$.findKey(o,f);(!p||o[p]===void 0||d===!0||d===void 0&&o[p]!==!1)&&(o[p||u]=Ts(a))}const s=(a,u)=>$.forEach(a,(d,f)=>i(d,f,u));return $.isPlainObject(t)||t instanceof this.constructor?s(t,n):$.isString(t)&&(t=t.trim())&&!GE(t)?s(YE(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=Go(t),t){const r=$.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return zE(o);if($.isFunction(n))return n.call(this,o,r);if($.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Go(t),t){const r=$.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||kl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=Go(s),s){const a=$.findKey(r,s);a&&(!n||kl(r,r[a],a,n))&&(delete r[a],o=!0)}}return $.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||kl(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return $.forEach(this,(o,i)=>{const s=$.findKey(r,i);if(s){n[s]=Ts(o),delete n[i];return}const a=t?JE(i):String(i).trim();a!==i&&delete n[i],n[a]=Ts(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&$.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[ad]=this[ad]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Go(s);r[a]||(QE(o,s),r[a]=!0)}return $.isArray(t)?t.forEach(i):i(t),this}}da.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(da.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});$.freezeMethods(da);const Gn=da;function Dl(e,t){const n=this||su,r=t||n,o=Gn.from(r.headers);let i=r.data;return $.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Rg(e){return!!(e&&e.__CANCEL__)}function Mi(e,t,n){De.call(this,e??"canceled",De.ERR_CANCELED,t,n),this.name="CanceledError"}$.inherits(Mi,De,{__CANCEL__:!0});function XE(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new De("Request failed with status code "+n.status,[De.ERR_BAD_REQUEST,De.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const ZE=kn.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];$.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),$.isString(r)&&s.push("path="+r),$.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function eP(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function tP(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function kg(e,t){return e&&!eP(t)?tP(e,t):t}const nP=kn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const a=$.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function rP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function oP(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(u){const d=Date.now(),f=r[i];s||(s=d),n[o]=u,r[o]=d;let p=i,g=0;for(;p!==o;)g+=n[p++],p=p%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),d-s<t)return;const w=f&&d-f;return w?Math.round(g*1e3/w):void 0}}function ld(e,t){let n=0;const r=oP(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-n,u=r(a),d=i<=s;n=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&d?(s-i)/u:void 0,event:o};f[t?"download":"upload"]=!0,e(f)}}const iP=typeof XMLHttpRequest<"u",sP=iP&&function(e){return new Promise(function(n,r){let o=e.data;const i=Gn.from(e.headers).normalize();let{responseType:s,withXSRFToken:a}=e,u;function d(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}let f;if($.isFormData(o)){if(kn.hasStandardBrowserEnv||kn.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((f=i.getContentType())!==!1){const[E,...I]=f?f.split(";").map(A=>A.trim()).filter(Boolean):[];i.setContentType([E||"multipart/form-data",...I].join("; "))}}let p=new XMLHttpRequest;if(e.auth){const E=e.auth.username||"",I=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(E+":"+I))}const g=kg(e.baseURL,e.url);p.open(e.method.toUpperCase(),Pg(g,e.params,e.paramsSerializer),!0),p.timeout=e.timeout;function w(){if(!p)return;const E=Gn.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),A={data:!s||s==="text"||s==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:E,config:e,request:p};XE(function(C){n(C),d()},function(C){r(C),d()},A),p=null}if("onloadend"in p?p.onloadend=w:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(w)},p.onabort=function(){p&&(r(new De("Request aborted",De.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new De("Network Error",De.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let I=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const A=e.transitional||xg;e.timeoutErrorMessage&&(I=e.timeoutErrorMessage),r(new De(I,A.clarifyTimeoutError?De.ETIMEDOUT:De.ECONNABORTED,e,p)),p=null},kn.hasStandardBrowserEnv&&(a&&$.isFunction(a)&&(a=a(e)),a||a!==!1&&nP(g))){const E=e.xsrfHeaderName&&e.xsrfCookieName&&ZE.read(e.xsrfCookieName);E&&i.set(e.xsrfHeaderName,E)}o===void 0&&i.setContentType(null),"setRequestHeader"in p&&$.forEach(i.toJSON(),function(I,A){p.setRequestHeader(A,I)}),$.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),s&&s!=="json"&&(p.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&p.addEventListener("progress",ld(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",ld(e.onUploadProgress)),(e.cancelToken||e.signal)&&(u=E=>{p&&(r(!E||E.type?new Mi(null,e,p):E),p.abort(),p=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u)));const y=rP(g);if(y&&kn.protocols.indexOf(y)===-1){r(new De("Unsupported protocol "+y+":",De.ERR_BAD_REQUEST,e));return}p.send(o||null)})},gc={http:RE,xhr:sP};$.forEach(gc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const cd=e=>`- ${e}`,aP=e=>$.isFunction(e)||e===null||e===!1,Dg={getAdapter:e=>{e=$.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){n=e[i];let s;if(r=n,!aP(n)&&(r=gc[(s=String(n)).toLowerCase()],r===void 0))throw new De(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : `+i.map(cd).join(` `):" "+cd(i[0]):"as no adapter specified";throw new De("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:gc};function Il(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Mi(null,e)}function ud(e){return Il(e),e.headers=Gn.from(e.headers),e.data=Dl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Dg.getAdapter(e.adapter||su.adapter)(e).then(function(r){return Il(e),r.data=Dl.call(e,e.transformResponse,r),r.headers=Gn.from(r.headers),r},function(r){return Rg(r)||(Il(e),r&&r.response&&(r.response.data=Dl.call(e,e.transformResponse,r.response),r.response.headers=Gn.from(r.response.headers))),Promise.reject(r)})}const fd=e=>e instanceof Gn?{...e}:e;function Po(e,t){t=t||{};const n={};function r(d,f,p){return $.isPlainObject(d)&&$.isPlainObject(f)?$.merge.call({caseless:p},d,f):$.isPlainObject(f)?$.merge({},f):$.isArray(f)?f.slice():f}function o(d,f,p){if($.isUndefined(f)){if(!$.isUndefined(d))return r(void 0,d,p)}else return r(d,f,p)}function i(d,f){if(!$.isUndefined(f))return r(void 0,f)}function s(d,f){if($.isUndefined(f)){if(!$.isUndefined(d))return r(void 0,d)}else return r(void 0,f)}function a(d,f,p){if(p in t)return r(d,f);if(p in e)return r(void 0,d)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(d,f)=>o(fd(d),fd(f),!0)};return $.forEach(Object.keys(Object.assign({},e,t)),function(f){const p=u[f]||o,g=p(e[f],t[f],f);$.isUndefined(g)&&p!==a||(n[f]=g)}),n}const Ig="1.6.8",au={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{au[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const dd={};au.transitional=function(t,n,r){function o(i,s){return"[Axios v"+Ig+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new De(o(s," has been removed"+(n?" in "+n:"")),De.ERR_DEPRECATED);return n&&!dd[s]&&(dd[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,a):!0}};function lP(e,t,n){if(typeof e!="object")throw new De("options must be an object",De.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],u=a===void 0||s(a,i,e);if(u!==!0)throw new De("option "+i+" must be "+u,De.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new De("Unknown option "+i,De.ERR_BAD_OPTION)}}const mc={assertOptions:lP,validators:au},sr=mc.validators;class Vs{constructor(t){this.defaults=t,this.interceptors={request:new sd,response:new sd}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` `+i):r.stack=i}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Po(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&mc.assertOptions(r,{silentJSONParsing:sr.transitional(sr.boolean),forcedJSONParsing:sr.transitional(sr.boolean),clarifyTimeoutError:sr.transitional(sr.boolean)},!1),o!=null&&($.isFunction(o)?n.paramsSerializer={serialize:o}:mc.assertOptions(o,{encode:sr.function,serialize:sr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&$.merge(i.common,i[n.method]);i&&$.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),n.headers=Gn.concat(s,i);const a=[];let u=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(u=u&&E.synchronous,a.unshift(E.fulfilled,E.rejected))});const d=[];this.interceptors.response.forEach(function(E){d.push(E.fulfilled,E.rejected)});let f,p=0,g;if(!u){const y=[ud.bind(this),void 0];for(y.unshift.apply(y,a),y.push.apply(y,d),g=y.length,f=Promise.resolve(n);p<g;)f=f.then(y[p++],y[p++]);return f}g=a.length;let w=n;for(p=0;p<g;){const y=a[p++],E=a[p++];try{w=y(w)}catch(I){E.call(this,I);break}}try{f=ud.call(this,w)}catch(y){return Promise.reject(y)}for(p=0,g=d.length;p<g;)f=f.then(d[p++],d[p++]);return f}getUri(t){t=Po(this.defaults,t);const n=kg(t.baseURL,t.url);return Pg(n,t.params,t.paramsSerializer)}}$.forEach(["delete","get","head","options"],function(t){Vs.prototype[t]=function(n,r){return this.request(Po(r||{},{method:t,url:n,data:(r||{}).data}))}});$.forEach(["post","put","patch"],function(t){function n(r){return function(i,s,a){return this.request(Po(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Vs.prototype[t]=n(),Vs.prototype[t+"Form"]=n(!0)});const Es=Vs;class lu{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new Mi(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new lu(function(o){t=o}),cancel:t}}}const cP=lu;function uP(e){return function(n){return e.apply(null,n)}}function fP(e){return $.isObject(e)&&e.isAxiosError===!0}const yc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(yc).forEach(([e,t])=>{yc[t]=e});const dP=yc;function Mg(e){const t=new Es(e),n=hg(Es.prototype.request,t);return $.extend(n,Es.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Mg(Po(e,o))},n}const pt=Mg(su);pt.Axios=Es;pt.CanceledError=Mi;pt.CancelToken=cP;pt.isCancel=Rg;pt.VERSION=Ig;pt.toFormData=fa;pt.AxiosError=De;pt.Cancel=pt.CanceledError;pt.all=function(t){return Promise.all(t)};pt.spread=uP;pt.isAxiosError=fP;pt.mergeConfig=Po;pt.AxiosHeaders=Gn;pt.formToJSON=e=>Ag($.isHTMLForm(e)?new FormData(e):e);pt.getAdapter=Dg.getAdapter;pt.HttpStatusCode=dP;pt.default=pt;const Vn=pt,Jo="https://staging-ahg-hr-api.autohub.ph",Lg={login(e={}){return Vn.post(`${Jo}/api/login`,e)},loginElink(e={}){return Vn.post(`${Jo}/api/email-login`,e)},fetchMenuItems(e){let t=e.token??null;const n=localStorage.getItem("activeUser")?JSON.parse(localStorage.getItem("activeUser")):{},o=(localStorage.getItem("roles")?JSON.parse(localStorage.getItem("roles")):[]).map(a=>a.id);console.log(o);const i=localStorage.getItem("companyAccess")?JSON.parse(localStorage.getItem("companyAccess")).map(a=>a.id):[],s=localStorage.getItem("dealershipAccess")?JSON.parse(localStorage.getItem("dealershipAccess")).map(a=>a.id):[];return t||(t=localStorage.getItem("jwtToken")),Vn.get(`${Jo}/api/v1/settings/user-menus/${n.id??null}`,{params:{roles:o,companies:i,dealerships:s,system_id:e.system_id??null},headers:{Authorization:`Bearer ${t}`}})},fetchCompanyAccess(e=null){const t=localStorage.getItem("roles")?JSON.parse(localStorage.getItem("roles")):[];return console.log("roleszzz"),console.log(t),e||(e=localStorage.getItem("jwtToken")),Vn.get(`${Jo}/api/v1/settings/all-role-company-access`,{params:{role_ids:t.map(n=>n.id)},headers:{Authorization:`Bearer ${e}`}})},fetchCompanyPermissions(e,t=null){t||(t=localStorage.getItem("jwtToken"));const n="https://staging-ahg-hr-api.autohub.ph/api/v1/settings/company-permissions";return Vn.get(`${n}`,{params:e,headers:{Authorization:`Bearer ${t}`}})},refreshToken(){return Vn.post(`${Jo}/api/refresh`).then(e=>{if(e.status==204)return!1;{const t=e.data.authorisation.token;return localStorage.setItem("jwtToken",t),Vn.defaults.headers.common.Authorization="Bearer "+t,Promise.resolve(t)}}).catch(e=>Promise.reject(e))}},pd=dg("userSettings",{state:()=>({menus:{hr:[],prf:[],crm:[]},activeUser:JSON.parse(localStorage.getItem("activeUser"))||null,token:localStorage.getItem("jwtToken")||null,roles:JSON.parse(localStorage.getItem("roles"))||null,activeCompany:localStorage.getItem("activeCompany")||null,activeDealership:localStorage.getItem("activeDealership")||null,activeDepartment:localStorage.getItem("activeDepartment")||null,companyAccess:JSON.parse(localStorage.getItem("companyAccess"))||null,dealershipAccess:JSON.parse(localStorage.getItem("dealershipAccess"))||null,capabilities:JSON.parse(localStorage.getItem("capabilities"))||null,systemAccess:JSON.parse(localStorage.getItem("systemAccess"))||null}),getters:{getMenuItems(){return this.menus},getCompanyAccess(){return this.companyAccess},getDealershipAccess(){return this.dealershipAccess},getActiveUser(){return this.activeUser},getActiveCompany(){return this.activeCompany},getActiveDealership(){return this.activeDealership},getActiveDepartment(){return this.activeDepartment},getToken(){return this.token},getRoles(){return this.roles},getCapabilities(){return this.capabilities},getSystemAccess(){return this.systemAccess}},actions:{setSystemAccess(e){localStorage.setItem("systemAccess",JSON.stringify(e)),this.systemAccess=e},setSystemAccessFromLocal(e){localStorage.setItem("systemAccess",JSON.stringify(e)),this.systemAccess=e},setCapabilities(e){localStorage.setItem("capabilities",JSON.stringify(e)),this.calabilities=e},setCapabilitiesFromLocal(){const e=localStorage.getItem("capabilities");this.capabilities=JSON.parse(e)},setToken(e){localStorage.setItem("jwtToken",e),this.token=e},setActiveUser(e){localStorage.setItem("activeUser",JSON.stringify(e)),this.activeUser=e},setActiveUserFromLocal(){const e=localStorage.getItem("activeUser");this.activeUser=JSON.parse(e)},setRoles(e){localStorage.setItem("roles",JSON.stringify(e)),this.roles=e},setRolesFromLocal(){const e=localStorage.getItem("roles");this.roles=JSON.parse(e)},setActiveCompany(e){localStorage.setItem("activeCompany",e),this.activeCompany=e},setActiveCompanyFromLocal(){const e=localStorage.getItem("activeCompany");this.activeCompany=e},setActiveDealership(e){localStorage.setItem("activeDealership",e),this.activeDealership=e},setActiveDealershipFromLocal(){const e=localStorage.getItem("activeDealership");this.activeDealership=e},setActiveDepartment(e){localStorage.setItem("activeDepartment",e),this.activeDepartment=e},setActiveDepartmentFromLocal(){const e=localStorage.getItem("activeDepartment");this.activeDepartment=e},setMenus(e,t=null){let n=null;t?(n=JSON.parse(localStorage.getItem("menuItems"))||{},n[t]=e):n=e,localStorage.setItem("menuItems",JSON.stringify(n)),this.menus=n},removeMenus(e=null){let t=localStorage.getItem("menuItems")?JSON.parse(localStorage.getItem("menuItems")):null;t!==null&&(e?(delete t[e],this.setMenus(t)):localStorage.removeItem("menuItems"))},setMenusFromLocal(){const e=localStorage.getItem("menuItems");this.menus=JSON.parse(e)},setCompanyAccess(e){localStorage.setItem("companyAccess",JSON.stringify(e)),this.companyAccess=e},setCompanyAccessFromLocal(){const e=localStorage.getItem("companyAccess");this.companyAccess=JSON.parse(e)},setDealershipAccess(e){localStorage.setItem("dealershipAccess",JSON.stringify(e)),this.dealershipAccess=e},setDealershipAccessFromLocal(){const e=localStorage.getItem("dealershipAccess");this.dealershipAccess=JSON.parse(e)},setDepartmentAccess(e){localStorage.setItem("departmentAccess",JSON.stringify(e)),this.departmentAccess=e},setDepartmentAccessFromLocal(){const e=localStorage.getItem("departmentAccess");this.departmentAccess=JSON.parse(e)??null},async fetchMenus(e){this.removeMenus(e.app_code??null),Lg.fetchMenuItems(e).then(t=>{if(t.status==200){let n=t.data.data.map(r=>({title:r.parent.name,icon:r.parent.icon??null,link:r.parent.url,isOpen:r.parent.url=="/home",child:r.child!==null?Object.values(r.child).map(o=>({childtitle:o.name,childlink:o.url})):null}));n&&n.length>0&&this.setMenus(n,e.app_code??null)}}).catch(t=>{console.error("Error fetching menus:",t)})},async fetchCompanyAccess(){let e=JSON.parse(localStorage.getItem("roles"))??null,t=[],n=[];e&&e.forEach(r=>{const o=r.group.system_id;r.companies&&r.companies.forEach(i=>{t.find(a=>a.id==i.id&&a.system_id==o)||t.push({id:i.id,name:i.name,system_id:o})}),r.dealerships&&r.dealerships.forEach(i=>{n.find(a=>a.id==i.id&&a.system_id==o)||n.push({id:i.id,name:i.name,company_id:i.company_id,system_id:o})})}),t.length>0&&this.setCompanyAccess(t),n.length>0&&this.setDealershipAccess(n)},async fetchDepartmentAccess(){var n;let e=JSON.parse(localStorage.getItem("activeUser"))??null,t=[];e&&e.department_access&&e.departmentAcce.length>0&&(t=(n=e.department_access)==null?void 0:n.map(r=>({id:r.id,name:r.name,division_id:r.division_id}))),t.length>0&&this.setDepartmentAccess(t)},clear(){localStorage.removeItem("activeUser"),localStorage.removeItem("roles"),localStorage.removeItem("users"),localStorage.removeItem("jwtToken"),localStorage.removeItem("activeCompany"),localStorage.removeItem("activeDealership"),localStorage.removeItem("activeDepartment"),localStorage.removeItem("menuItems"),localStorage.removeItem("companyAccess"),localStorage.removeItem("dealershipAccess"),localStorage.removeItem("departmentAccess"),localStorage.removeItem("capabilities"),localStorage.removeItem("systemAccess")}}}),pP=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},hP={methods:{},computed:{capabilities(){return pd().getCapabilities||[]}},watch:{capabilities(e){this.$ability.update(e)}},created(){this.$ability.update(this.capabilities)},mounted(){this.$store.themeSettingsStore=pg(),this.$store.userSettings=pd(),this.$store.userSettings.setActiveCompanyFromLocal,this.$store.userSettings.setActiveDealershipFromLocal}};function gP(e,t,n,r,o,i){const s=Dr("router-view");return oe(),bi(s)}const mP=pP(hP,[["render",gP]]);/*! * vue-router v4.3.2 * (c) 2024 Eduardo San Martin Morote * @license MIT */const ro=typeof document<"u";function yP(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ve=Object.assign;function Ml(e,t){const n={};for(const r in t){const o=t[r];n[r]=mn(o)?o.map(e):e(o)}return n}const li=()=>{},mn=Array.isArray,Ng=/#/g,vP=/&/g,bP=/\//g,wP=/=/g,_P=/\?/g,Fg=/\+/g,CP=/%5B/g,SP=/%5D/g,Bg=/%5E/g,TP=/%60/g,Ug=/%7B/g,EP=/%7C/g,Hg=/%7D/g,PP=/%20/g;function cu(e){return encodeURI(""+e).replace(EP,"|").replace(CP,"[").replace(SP,"]")}function xP(e){return cu(e).replace(Ug,"{").replace(Hg,"}").replace(Bg,"^")}function vc(e){return cu(e).replace(Fg,"%2B").replace(PP,"+").replace(Ng,"%23").replace(vP,"%26").replace(TP,"`").replace(Ug,"{").replace(Hg,"}").replace(Bg,"^")}function OP(e){return vc(e).replace(wP,"%3D")}function AP(e){return cu(e).replace(Ng,"%23").replace(_P,"%3F")}function RP(e){return e==null?"":AP(e).replace(bP,"%2F")}function Ei(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const kP=/\/$/,DP=e=>e.replace(kP,"");function Ll(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let u=t.indexOf("?");return a<u&&a>=0&&(u=-1),u>-1&&(r=t.slice(0,u),i=t.slice(u+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=NP(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Ei(s)}}function IP(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function hd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function MP(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&xo(t.matched[r],n.matched[o])&&jg(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jg(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!LP(e[n],t[n]))return!1;return!0}function LP(e,t){return mn(e)?gd(e,t):mn(t)?gd(t,e):e===t}function gd(e,t){return mn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function NP(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}var Pi;(function(e){e.pop="pop",e.push="push"})(Pi||(Pi={}));var ci;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ci||(ci={}));function FP(e){if(!e)if(ro){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),DP(e)}const BP=/^[^#]+#/;function UP(e,t){return e.replace(BP,"#")+t}function HP(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const pa=()=>({left:window.scrollX,top:window.scrollY});function jP(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=HP(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function md(e,t){return(history.state?history.state.position-t:-1)+e}const bc=new Map;function $P(e,t){bc.set(e,t)}function VP(e){const t=bc.get(e);return bc.delete(e),t}let WP=()=>location.protocol+"//"+location.host;function $g(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,u=o.slice(a);return u[0]!=="/"&&(u="/"+u),hd(u,"")}return hd(n,e)+r+o}function qP(e,t,n,r){let o=[],i=[],s=null;const a=({state:g})=>{const w=$g(e,location),y=n.value,E=t.value;let I=0;if(g){if(n.value=w,t.value=g,s&&s===y){s=null;return}I=E?g.position-E.position:0}else r(w);o.forEach(A=>{A(n.value,y,{delta:I,type:Pi.pop,direction:I?I>0?ci.forward:ci.back:ci.unknown})})};function u(){s=n.value}function d(g){o.push(g);const w=()=>{const y=o.indexOf(g);y>-1&&o.splice(y,1)};return i.push(w),w}function f(){const{history:g}=window;g.state&&g.replaceState(Ve({},g.state,{scroll:pa()}),"")}function p(){for(const g of i)g();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:u,listen:d,destroy:p}}function yd(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?pa():null}}function KP(e){const{history:t,location:n}=window,r={value:$g(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(u,d,f){const p=e.indexOf("#"),g=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+u:WP()+e+u;try{t[f?"replaceState":"pushState"](d,"",g),o.value=d}catch(w){console.error(w),n[f?"replace":"assign"](g)}}function s(u,d){const f=Ve({},t.state,yd(o.value.back,u,o.value.forward,!0),d,{position:o.value.position});i(u,f,!0),r.value=u}function a(u,d){const f=Ve({},o.value,t.state,{forward:u,scroll:pa()});i(f.current,f,!0);const p=Ve({},yd(r.value,u,null),{position:f.position+1},d);i(u,p,!1),r.value=u}return{location:r,state:o,push:a,replace:s}}function YP(e){e=FP(e);const t=KP(e),n=qP(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=Ve({location:"",base:e,go:r,createHref:UP.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function zP(e){return typeof e=="string"||e&&typeof e=="object"}function Vg(e){return typeof e=="string"||typeof e=="symbol"}const ar={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Wg=Symbol("");var vd;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(vd||(vd={}));function Oo(e,t){return Ve(new Error,{type:e,[Wg]:!0},t)}function jn(e,t){return e instanceof Error&&Wg in e&&(t==null||!!(e.type&t))}const bd="[^/]+?",GP={sensitive:!1,strict:!1,start:!0,end:!0},JP=/[.+*?^${}()[\]/\\]/g;function QP(e,t){const n=Ve({},GP,t),r=[];let o=n.start?"^":"";const i=[];for(const d of e){const f=d.length?[]:[90];n.strict&&!d.length&&(o+="/");for(let p=0;p<d.length;p++){const g=d[p];let w=40+(n.sensitive?.25:0);if(g.type===0)p||(o+="/"),o+=g.value.replace(JP,"\\$&"),w+=40;else if(g.type===1){const{value:y,repeatable:E,optional:I,regexp:A}=g;i.push({name:y,repeatable:E,optional:I});const x=A||bd;if(x!==bd){w+=10;try{new RegExp(`(${x})`)}catch(m){throw new Error(`Invalid custom RegExp for param "${y}" (${x}): `+m.message)}}let C=E?`((?:${x})(?:/(?:${x}))*)`:`(${x})`;p||(C=I&&d.length<2?`(?:/${C})`:"/"+C),I&&(C+="?"),o+=C,w+=20,I&&(w+=-8),E&&(w+=-20),x===".*"&&(w+=-50)}f.push(w)}r.push(f)}if(n.strict&&n.end){const d=r.length-1;r[d][r[d].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function a(d){const f=d.match(s),p={};if(!f)return null;for(let g=1;g<f.length;g++){const w=f[g]||"",y=i[g-1];p[y.name]=w&&y.repeatable?w.split("/"):w}return p}function u(d){let f="",p=!1;for(const g of e){(!p||!f.endsWith("/"))&&(f+="/"),p=!1;for(const w of g)if(w.type===0)f+=w.value;else if(w.type===1){const{value:y,repeatable:E,optional:I}=w,A=y in d?d[y]:"";if(mn(A)&&!E)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const x=mn(A)?A.join("/"):A;if(!x)if(I)g.length<2&&(f.endsWith("/")?f=f.slice(0,-1):p=!0);else throw new Error(`Missing required param "${y}"`);f+=x}}return f||"/"}return{re:s,score:r,keys:i,parse:a,stringify:u}}function XP(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function ZP(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=XP(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(wd(r))return 1;if(wd(o))return-1}return o.length-r.length}function wd(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ex={type:0,value:""},tx=/[a-zA-Z0-9_]/;function nx(e){if(!e)return[[]];if(e==="/")return[[ex]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(w){throw new Error(`ERR (${n})/"${d}": ${w}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,u,d="",f="";function p(){d&&(n===0?i.push({type:0,value:d}):n===1||n===2||n===3?(i.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:d,regexp:f,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),d="")}function g(){d+=u}for(;a<e.length;){if(u=e[a++],u==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:u==="/"?(d&&p(),s()):u===":"?(p(),n=1):g();break;case 4:g(),n=r;break;case 1:u==="("?n=2:tx.test(u)?g():(p(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&a--);break;case 2:u===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+u:n=3:f+=u;break;case 3:p(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&a--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),p(),s(),o}function rx(e,t,n){const r=QP(nx(e.path),n),o=Ve(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function ox(e,t){const n=[],r=new Map;t=Sd({strict:!1,end:!0,sensitive:!1},t);function o(f){return r.get(f)}function i(f,p,g){const w=!g,y=ix(f);y.aliasOf=g&&g.record;const E=Sd(t,f),I=[y];if("alias"in f){const C=typeof f.alias=="string"?[f.alias]:f.alias;for(const m of C)I.push(Ve({},y,{components:g?g.record.components:y.components,path:m,aliasOf:g?g.record:y}))}let A,x;for(const C of I){const{path:m}=C;if(p&&m[0]!=="/"){const O=p.record.path,P=O[O.length-1]==="/"?"":"/";C.path=p.record.path+(m&&P+m)}if(A=rx(C,p,E),g?g.alias.push(A):(x=x||A,x!==A&&x.alias.push(A),w&&f.name&&!Cd(A)&&s(f.name)),y.children){const O=y.children;for(let P=0;P<O.length;P++)i(O[P],A,g&&g.children[P])}g=g||A,(A.record.components&&Object.keys(A.record.components).length||A.record.name||A.record.redirect)&&u(A)}return x?()=>{s(x)}:li}function s(f){if(Vg(f)){const p=r.get(f);p&&(r.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(s),p.alias.forEach(s))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function u(f){let p=0;for(;p<n.length&&ZP(f,n[p])>=0&&(f.record.path!==n[p].record.path||!qg(f,n[p]));)p++;n.splice(p,0,f),f.record.name&&!Cd(f)&&r.set(f.record.name,f)}function d(f,p){let g,w={},y,E;if("name"in f&&f.name){if(g=r.get(f.name),!g)throw Oo(1,{location:f});E=g.record.name,w=Ve(_d(p.params,g.keys.filter(x=>!x.optional).concat(g.parent?g.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&_d(f.params,g.keys.map(x=>x.name))),y=g.stringify(w)}else if(f.path!=null)y=f.path,g=n.find(x=>x.re.test(y)),g&&(w=g.parse(y),E=g.record.name);else{if(g=p.name?r.get(p.name):n.find(x=>x.re.test(p.path)),!g)throw Oo(1,{location:f,currentLocation:p});E=g.record.name,w=Ve({},p.params,f.params),y=g.stringify(w)}const I=[];let A=g;for(;A;)I.unshift(A.record),A=A.parent;return{name:E,path:y,params:w,matched:I,meta:ax(I)}}return e.forEach(f=>i(f)),{addRoute:i,resolve:d,removeRoute:s,getRoutes:a,getRecordMatcher:o}}function _d(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ix(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:sx(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 sx(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Cd(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ax(e){return e.reduce((t,n)=>Ve(t,n.meta),{})}function Sd(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function qg(e,t){return t.children.some(n=>n===e||qg(e,n))}function lx(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(Fg," "),s=i.indexOf("="),a=Ei(s<0?i:i.slice(0,s)),u=s<0?null:Ei(i.slice(s+1));if(a in t){let d=t[a];mn(d)||(d=t[a]=[d]),d.push(u)}else t[a]=u}return t}function Td(e){let t="";for(let n in e){const r=e[n];if(n=OP(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(mn(r)?r.map(i=>i&&vc(i)):[r&&vc(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function cx(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=mn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const ux=Symbol(""),Ed=Symbol(""),ha=Symbol(""),Kg=Symbol(""),wc=Symbol("");function Qo(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function hr(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,u)=>{const d=g=>{g===!1?u(Oo(4,{from:n,to:t})):g instanceof Error?u(g):zP(g)?u(Oo(2,{from:t,to:g})):(s&&r.enterCallbacks[o]===s&&typeof g=="function"&&s.push(g),a())},f=i(()=>e.call(r&&r.instances[o],t,n,d));let p=Promise.resolve(f);e.length<3&&(p=p.then(d)),p.catch(g=>u(g))})}function Nl(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let u=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(fx(u)){const f=(u.__vccOpts||u)[t];f&&i.push(hr(f,n,r,s,a,o))}else{let d=u();i.push(()=>d.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const p=yP(f)?f.default:f;s.components[a]=p;const w=(p.__vccOpts||p)[t];return w&&hr(w,n,r,s,a,o)()}))}}return i}function fx(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pd(e){const t=hn(ha),n=hn(Kg),r=Qt(()=>{const u=zn(e.to);return t.resolve(u)}),o=Qt(()=>{const{matched:u}=r.value,{length:d}=u,f=u[d-1],p=n.matched;if(!f||!p.length)return-1;const g=p.findIndex(xo.bind(null,f));if(g>-1)return g;const w=xd(u[d-2]);return d>1&&xd(f)===w&&p[p.length-1].path!==w?p.findIndex(xo.bind(null,u[d-2])):g}),i=Qt(()=>o.value>-1&&gx(n.params,r.value.params)),s=Qt(()=>o.value>-1&&o.value===n.matched.length-1&&jg(n.params,r.value.params));function a(u={}){return hx(u)?t[zn(e.replace)?"replace":"push"](zn(e.to)).catch(li):Promise.resolve()}return{route:r,href:Qt(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}const dx=Mo({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:Pd,setup(e,{slots:t}){const n=ko(Pd(e)),{options:r}=hn(ha),o=Qt(()=>({[Od(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Od(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:qn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),px=dx;function hx(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 gx(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!mn(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function xd(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Od=(e,t,n)=>e??t??n,mx=Mo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=hn(wc),o=Qt(()=>e.route||r.value),i=hn(Ed,0),s=Qt(()=>{let d=zn(i);const{matched:f}=o.value;let p;for(;(p=f[d])&&!p.components;)d++;return d}),a=Qt(()=>o.value.matched[s.value]);bs(Ed,Qt(()=>s.value+1)),bs(ux,a),bs(wc,o);const u=Tt();return Dn(()=>[u.value,a.value,e.name],([d,f,p],[g,w,y])=>{f&&(f.instances[p]=d,w&&w!==f&&d&&d===g&&(f.leaveGuards.size||(f.leaveGuards=w.leaveGuards),f.updateGuards.size||(f.updateGuards=w.updateGuards))),d&&f&&(!w||!xo(f,w)||!g)&&(f.enterCallbacks[p]||[]).forEach(E=>E(d))},{flush:"post"}),()=>{const d=o.value,f=e.name,p=a.value,g=p&&p.components[f];if(!g)return Ad(n.default,{Component:g,route:d});const w=p.props[f],y=w?w===!0?d.params:typeof w=="function"?w(d):w:null,I=qn(g,Ve({},y,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(p.instances[f]=null)},ref:u}));return Ad(n.default,{Component:I,route:d})||I}}});function Ad(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const yx=mx;function vx(e){const t=ox(e.routes,e),n=e.parseQuery||lx,r=e.stringifyQuery||Td,o=e.history,i=Qo(),s=Qo(),a=Qo(),u=dp(ar);let d=ar;ro&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Ml.bind(null,B=>""+B),p=Ml.bind(null,RP),g=Ml.bind(null,Ei);function w(B,Q){let ee,ie;return Vg(B)?(ee=t.getRecordMatcher(B),ie=Q):ie=B,t.addRoute(ie,ee)}function y(B){const Q=t.getRecordMatcher(B);Q&&t.removeRoute(Q)}function E(){return t.getRoutes().map(B=>B.record)}function I(B){return!!t.getRecordMatcher(B)}function A(B,Q){if(Q=Ve({},Q||u.value),typeof B=="string"){const T=Ll(n,B,Q.path),M=t.resolve({path:T.path},Q),H=o.createHref(T.fullPath);return Ve(T,M,{params:g(M.params),hash:Ei(T.hash),redirectedFrom:void 0,href:H})}let ee;if(B.path!=null)ee=Ve({},B,{path:Ll(n,B.path,Q.path).path});else{const T=Ve({},B.params);for(const M in T)T[M]==null&&delete T[M];ee=Ve({},B,{params:p(T)}),Q.params=p(Q.params)}const ie=t.resolve(ee,Q),Pe=B.hash||"";ie.params=f(g(ie.params));const Re=IP(r,Ve({},B,{hash:xP(Pe),path:ie.path})),b=o.createHref(Re);return Ve({fullPath:Re,hash:Pe,query:r===Td?cx(B.query):B.query||{}},ie,{redirectedFrom:void 0,href:b})}function x(B){return typeof B=="string"?Ll(n,B,u.value.path):Ve({},B)}function C(B,Q){if(d!==B)return Oo(8,{from:Q,to:B})}function m(B){return k(B)}function O(B){return m(Ve(x(B),{replace:!0}))}function P(B){const Q=B.matched[B.matched.length-1];if(Q&&Q.redirect){const{redirect:ee}=Q;let ie=typeof ee=="function"?ee(B):ee;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=x(ie):{path:ie},ie.params={}),Ve({query:B.query,hash:B.hash,params:ie.path!=null?{}:B.params},ie)}}function k(B,Q){const ee=d=A(B),ie=u.value,Pe=B.state,Re=B.force,b=B.replace===!0,T=P(ee);if(T)return k(Ve(x(T),{state:typeof T=="object"?Ve({},Pe,T.state):Pe,force:Re,replace:b}),Q||ee);const M=ee;M.redirectedFrom=Q;let H;return!Re&&MP(r,ie,ee)&&(H=Oo(16,{to:M,from:ie}),nt(ie,ie,!0,!1)),(H?Promise.resolve(H):F(M,ie)).catch(U=>jn(U)?jn(U,2)?U:ze(U):J(U,M,ie)).then(U=>{if(U){if(jn(U,2))return k(Ve({replace:b},x(U.to),{state:typeof U.to=="object"?Ve({},Pe,U.to.state):Pe,force:Re}),Q||M)}else U=_(M,ie,!0,b,Pe);return X(M,ie,U),U})}function R(B,Q){const ee=C(B,Q);return ee?Promise.reject(ee):Promise.resolve()}function N(B){const Q=je.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(B):B()}function F(B,Q){let ee;const[ie,Pe,Re]=bx(B,Q);ee=Nl(ie.reverse(),"beforeRouteLeave",B,Q);for(const T of ie)T.leaveGuards.forEach(M=>{ee.push(hr(M,B,Q))});const b=R.bind(null,B,Q);return ee.push(b),Be(ee).then(()=>{ee=[];for(const T of i.list())ee.push(hr(T,B,Q));return ee.push(b),Be(ee)}).then(()=>{ee=Nl(Pe,"beforeRouteUpdate",B,Q);for(const T of Pe)T.updateGuards.forEach(M=>{ee.push(hr(M,B,Q))});return ee.push(b),Be(ee)}).then(()=>{ee=[];for(const T of Re)if(T.beforeEnter)if(mn(T.beforeEnter))for(const M of T.beforeEnter)ee.push(hr(M,B,Q));else ee.push(hr(T.beforeEnter,B,Q));return ee.push(b),Be(ee)}).then(()=>(B.matched.forEach(T=>T.enterCallbacks={}),ee=Nl(Re,"beforeRouteEnter",B,Q,N),ee.push(b),Be(ee))).then(()=>{ee=[];for(const T of s.list())ee.push(hr(T,B,Q));return ee.push(b),Be(ee)}).catch(T=>jn(T,8)?T:Promise.reject(T))}function X(B,Q,ee){a.list().forEach(ie=>N(()=>ie(B,Q,ee)))}function _(B,Q,ee,ie,Pe){const Re=C(B,Q);if(Re)return Re;const b=Q===ar,T=ro?history.state:{};ee&&(ie||b?o.replace(B.fullPath,Ve({scroll:b&&T&&T.scroll},Pe)):o.push(B.fullPath,Pe)),u.value=B,nt(B,Q,ee,b),ze()}let ne;function ce(){ne||(ne=o.listen((B,Q,ee)=>{if(!be.listening)return;const ie=A(B),Pe=P(ie);if(Pe){k(Ve(Pe,{replace:!0}),ie).catch(li);return}d=ie;const Re=u.value;ro&&$P(md(Re.fullPath,ee.delta),pa()),F(ie,Re).catch(b=>jn(b,12)?b:jn(b,2)?(k(b.to,ie).then(T=>{jn(T,20)&&!ee.delta&&ee.type===Pi.pop&&o.go(-1,!1)}).catch(li),Promise.reject()):(ee.delta&&o.go(-ee.delta,!1),J(b,ie,Re))).then(b=>{b=b||_(ie,Re,!1),b&&(ee.delta&&!jn(b,8)?o.go(-ee.delta,!1):ee.type===Pi.pop&&jn(b,20)&&o.go(-1,!1)),X(ie,Re,b)}).catch(li)}))}let he=Qo(),V=Qo(),K;function J(B,Q,ee){ze(B);const ie=V.list();return ie.length?ie.forEach(Pe=>Pe(B,Q,ee)):console.error(B),Promise.reject(B)}function Me(){return K&&u.value!==ar?Promise.resolve():new Promise((B,Q)=>{he.add([B,Q])})}function ze(B){return K||(K=!B,ce(),he.list().forEach(([Q,ee])=>B?ee(B):Q()),he.reset()),B}function nt(B,Q,ee,ie){const{scrollBehavior:Pe}=e;if(!ro||!Pe)return Promise.resolve();const Re=!ee&&VP(md(B.fullPath,0))||(ie||!ee)&&history.state&&history.state.scroll||null;return Io().then(()=>Pe(B,Q,Re)).then(b=>b&&jP(b)).catch(b=>J(b,B,Q))}const He=B=>o.go(B);let ct;const je=new Set,be={currentRoute:u,listening:!0,addRoute:w,removeRoute:y,hasRoute:I,getRoutes:E,resolve:A,options:e,push:m,replace:O,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:V.add,isReady:Me,install(B){const Q=this;B.component("RouterLink",px),B.component("RouterView",yx),B.config.globalProperties.$router=Q,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>zn(u)}),ro&&!ct&&u.value===ar&&(ct=!0,m(o.location).catch(Pe=>{}));const ee={};for(const Pe in ar)Object.defineProperty(ee,Pe,{get:()=>u.value[Pe],enumerable:!0});B.provide(ha,Q),B.provide(Kg,lp(ee)),B.provide(wc,u);const ie=B.unmount;je.add(B),B.unmount=function(){je.delete(B),je.size<1&&(d=ar,ne&&ne(),ne=null,u.value=ar,ct=!1,K=!1),ie()}}};function Be(B){return B.reduce((Q,ee)=>Q.then(()=>N(ee)),Promise.resolve())}return be}function bx(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const a=t.matched[s];a&&(e.matched.find(d=>xo(d,a))?r.push(a):n.push(a));const u=e.matched[s];u&&(t.matched.find(d=>xo(d,u))||o.push(u))}return[n,r,o]}function wA(){return hn(ha)}function Yg(e,t,n){const r=t[n];return r?()=>{const o=Yg(e,t,n+1);r({...e,next:o})}:e.next}const wx="modulepreload",_x=function(e){return"/"+e},Rd={},at=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=_x(i),i in Rd)return;Rd[i]=!0;const s=i.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!r)for(let f=o.length-1;f>=0;f--){const p=o[f];if(p.href===i&&(!s||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const d=document.createElement("link");if(d.rel=s?"stylesheet":wx,s||(d.as="script",d.crossOrigin=""),d.href=i,document.head.appendChild(d),s)return new Promise((f,p)=>{d.addEventListener("load",f),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})};function Wt({from:e,next:t,store:n}){if(console.log(e),localStorage.activeUser){let r=function(){let i=localStorage.getItem("jwtToken");if(i){const s=JSON.parse(atob(i.split(".")[1])).exp;return new Date>new Date(s*1e3)}return!0};if(e.path==="/login")return t();if(r())Lg.refreshToken().then(i=>{if(console.log("responsebbfd"),console.log(i),i.status==204)return t({name:"Login"});{const s=i.data.authorisation.token;return localStorage.setItem("jwtToken",s),axios.defaults.headers.common.Authorization="Bearer "+s,t()}}).catch(i=>(console.log("error"),console.log(i),t({name:"Login"})));else return t()}else return t({name:"Login"})}const Cx=[{path:"/login",name:"Login",component:()=>at(()=>import("./login2.81c086cd.js"),["assets/login2.81c086cd.js","assets/index.4b7607b5.js","assets/index.dbe0636e.js","assets/index.ab35056f.js","assets/vue-cleave.min.7c593396.js","assets/_commonjsHelpers.de833af9.js","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/object.413f31be.js","assets/ck-white.4bf441fa.js","assets/logo-white.e9971405.js","assets/login2.3a019ee6.css"])},{path:"/loginEmailLink",name:"Login Email Notification",component:()=>at(()=>import("./loginEmailLink.e1692084.js"),["assets/loginEmailLink.e1692084.js","assets/Loading.6052584f.js","assets/_commonjsHelpers.de833af9.js","assets/Loading.f17c1970.css"])},{path:"/logout",name:"Logout",component:{created(){this.$store.userSettings.clear(),this.$router.push({name:"Login"})}}},{path:"/forgot-password",name:"forgot-password",component:()=>at(()=>import("./forgot-password2.44a1adde.js"),["assets/forgot-password2.44a1adde.js","assets/index.9f68810f.js","assets/index.4b7607b5.js","assets/vue-cleave.min.7c593396.js","assets/_commonjsHelpers.de833af9.js","assets/logo.40041884.js","assets/object.413f31be.js"])},{path:"/lock-screen",name:"lock-screen",component:()=>at(()=>import("./lock-screen2.6c4cf2ad.js"),["assets/lock-screen2.6c4cf2ad.js","assets/index.9f68810f.js","assets/index.4b7607b5.js","assets/vue-cleave.min.7c593396.js","assets/_commonjsHelpers.de833af9.js","assets/logo.40041884.js","assets/object.413f31be.js"])},{path:"/success-500",name:"success-500",component:()=>at(()=>import("./success.4dc7a8d7.js"),[])},{path:"/",name:"home",meta:{middleware:[Wt]},component:()=>at(()=>import("./index.00b4e836.js"),["assets/index.00b4e836.js","assets/index.d8327ad1.js","assets/index.4b7607b5.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/AppService.083ffddb.js","assets/index.9001bb4e.css"])},{path:"/:catchAll(.*)",name:"404",component:()=>at(()=>import("./404.8f71e6be.js"),[])},{path:"/error",name:"error",component:()=>at(()=>import("./error.54c3b5b9.js"),[])},{path:"/unauthorized",name:"unauthorized",component:()=>at(()=>import("./unauthorized.945194b8.js"),["assets/unauthorized.945194b8.js","assets/index.ce033c34.js","assets/index.4b7607b5.js","assets/index.66c96f49.css"])},{path:"/forbidden",name:"forbidden",component:()=>at(()=>import("./forbidden.4d6b3d97.js"),[])},{path:"/settings/permissions",name:"permissions",meta:{middleware:[Wt],ability:"permission"},component:()=>at(()=>import("./index.5582d939.js"),["assets/index.5582d939.js","assets/index.d8327ad1.js","assets/index.4b7607b5.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/CloseButton.37069484.js","assets/index.ce033c34.js","assets/index.66c96f49.css","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/index.00a20e83.js","assets/index.ab35056f.js","assets/index.e3b0c442.css","assets/PermissionService.13eaf680.js","assets/index.dbe0636e.js","assets/index.8de7262d.js","assets/UpdateButton.c88607b8.js","assets/object.413f31be.js","assets/index.e1841915.css","assets/InfoButton.4dc8fc51.css","assets/vue-select.8aff80f7.css"])},{path:"/settings/modules",name:"modules",meta:{middleware:[Wt],ability:"module"},component:()=>at(()=>import("./index.7eee4c82.js"),["assets/index.7eee4c82.js","assets/index.d8327ad1.js","assets/index.4b7607b5.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/CloseButton.37069484.js","assets/index.ce033c34.js","assets/index.66c96f49.css","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/index.00a20e83.js","assets/index.ab35056f.js","assets/index.e3b0c442.css","assets/index.5f96e265.js","assets/ck-white.4bf441fa.js","assets/UpdateButton.c88607b8.js","assets/index.dbe0636e.js","assets/index.8de7262d.js","assets/AppService.083ffddb.js","assets/MenuService.6702559f.js","assets/multiselect.717b6532.js","assets/object.413f31be.js","assets/index.c5f16e6e.css","assets/InfoButton.4dc8fc51.css","assets/default.0d9e816b.css"])},{path:"/settings/menus",name:"menus",meta:{middleware:[Wt],ability:"menu"},component:()=>at(()=>import("./index.1da531a2.js"),["assets/index.1da531a2.js","assets/index.d8327ad1.js","assets/index.4b7607b5.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/index.ce033c34.js","assets/index.66c96f49.css","assets/CloseButton.37069484.js","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/index.4a5bff94.js","assets/index.cb592380.css","assets/MenuService.6702559f.js","assets/UpdateButton.c88607b8.js","assets/index.1b4bf29f.js","assets/index.9f68810f.js","assets/AppService.083ffddb.js","assets/multiselect.717b6532.js","assets/object.413f31be.js","assets/index.33419772.css","assets/InfoButton.4dc8fc51.css","assets/default.0d9e816b.css"])},{path:"/settings/users",name:"users",meta:{middleware:[Wt],ability:"user"},component:()=>at(()=>import("./index.0ce900f5.js"),["assets/index.0ce900f5.js","assets/index.ce033c34.js","assets/index.4b7607b5.js","assets/index.66c96f49.css","assets/CloseButton.37069484.js","assets/index.d8327ad1.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/ListIcon.8434b65d.js","assets/ListIcon.1eeda4ec.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/index.4a5bff94.js","assets/index.cb592380.css","assets/UpdateButton.c88607b8.js","assets/index.dbe0636e.js","assets/index.ab35056f.js","assets/index.8de7262d.js","assets/DealershipService.a4935403.js","assets/DepartmentService.f8f470bd.js","assets/RoleService.a9c47278.js","assets/multiselect.717b6532.js","assets/object.413f31be.js","assets/index.dbf6248d.css","assets/InfoButton.4dc8fc51.css","assets/default.0d9e816b.css"])},{path:"/settings/roles",name:"roles",meta:{middleware:[Wt],ability:"role"},component:()=>at(()=>import("./index.4f8071c6.js"),["assets/index.4f8071c6.js","assets/index.ce033c34.js","assets/index.4b7607b5.js","assets/index.66c96f49.css","assets/CloseButton.37069484.js","assets/index.d8327ad1.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/ViewButton.3b5a5d63.js","assets/ListIcon.8434b65d.js","assets/ListIcon.1eeda4ec.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/index.00a20e83.js","assets/index.ab35056f.js","assets/index.e3b0c442.css","assets/RoleService.a9c47278.js","assets/UpdateButton.c88607b8.js","assets/index.dbe0636e.js","assets/index.8de7262d.js","assets/CompanyService.1778ae2c.js","assets/DealershipService.a4935403.js","assets/RoleGroupService.18f222a3.js","assets/multiselect.717b6532.js","assets/object.413f31be.js","assets/AppService.083ffddb.js","assets/index.07ce6f5c.css","assets/InfoButton.4dc8fc51.css","assets/default.0d9e816b.css"])},{path:"/settings/roles/access/:id",name:"role-access",meta:{middleware:[Wt],ability:"role"},component:()=>at(()=>import("./access.6893b3de.js"),["assets/access.6893b3de.js","assets/index.d8327ad1.js","assets/index.4b7607b5.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/index.ce033c34.js","assets/index.66c96f49.css","assets/UpdateButton.c88607b8.js","assets/index.5f96e265.js","assets/ck-white.4bf441fa.js","assets/index.ab35056f.js","assets/vue-cleave.min.7c593396.js","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/AppService.083ffddb.js","assets/PermissionService.13eaf680.js","assets/RoleService.a9c47278.js","assets/multiselect.717b6532.js","assets/InfoButton.4dc8fc51.css","assets/default.0d9e816b.css"])},{path:"/settings/role-groups",name:"role-groups",meta:{middleware:[Wt],ability:"role"},component:()=>at(()=>import("./index.670496a6.js"),["assets/index.670496a6.js","assets/index.d8327ad1.js","assets/index.4b7607b5.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/CloseButton.37069484.js","assets/index.ce033c34.js","assets/index.66c96f49.css","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/index.4a5bff94.js","assets/index.cb592380.css","assets/RoleGroupService.18f222a3.js","assets/UpdateButton.c88607b8.js","assets/index.dbe0636e.js","assets/index.ab35056f.js","assets/index.8de7262d.js","assets/AppService.083ffddb.js","assets/multiselect.717b6532.js","assets/object.413f31be.js","assets/index.ec5924da.css","assets/InfoButton.4dc8fc51.css","assets/default.0d9e816b.css","assets/vue-select.8aff80f7.css"])},{path:"/masterfile/companies",name:"companies",meta:{middleware:[Wt],ability:"company"},component:()=>at(()=>import("./index.36ec991b.js"),["assets/index.36ec991b.js","assets/CompanyService.1778ae2c.js","assets/index.d8327ad1.js","assets/index.4b7607b5.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/CloseButton.37069484.js","assets/index.ce033c34.js","assets/index.66c96f49.css","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/UpdateButton.c88607b8.js","assets/index.dbe0636e.js","assets/index.9f68810f.js","assets/index.1b4bf29f.js","assets/object.413f31be.js","assets/Multiselect.82b9bc51.js","assets/index.4a5bff94.js","assets/index.cb592380.css","assets/default.0d9e816b.css"])},{path:"/masterfile/dealerships",name:"dealerships",meta:{middleware:[Wt],ability:"dealership"},component:()=>at(()=>import("./index.33be58fa.js"),["assets/index.33be58fa.js","assets/DealershipService.a4935403.js","assets/index.d8327ad1.js","assets/index.4b7607b5.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/CloseButton.37069484.js","assets/index.ce033c34.js","assets/index.66c96f49.css","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/index.4a5bff94.js","assets/index.cb592380.css","assets/UpdateButton.c88607b8.js","assets/index.dbe0636e.js","assets/index.9f68810f.js","assets/index.1b4bf29f.js","assets/object.413f31be.js","assets/Multiselect.82b9bc51.js","assets/CompanyService.1778ae2c.js","assets/default.0d9e816b.css"])},{path:"/masterfile/departments",name:"departments",meta:{middleware:[Wt],ability:"department"},component:()=>at(()=>import("./index.fd70bbaa.js"),["assets/index.fd70bbaa.js","assets/DepartmentService.f8f470bd.js","assets/index.d8327ad1.js","assets/index.4b7607b5.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/CloseButton.37069484.js","assets/index.ce033c34.js","assets/index.66c96f49.css","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/index.4a5bff94.js","assets/index.cb592380.css","assets/UpdateButton.c88607b8.js","assets/index.dbe0636e.js","assets/index.9f68810f.js","assets/index.1b4bf29f.js","assets/object.413f31be.js"])},{path:"/subscriptions",name:"subscriptions",meta:{middleware:[Wt],ability:"subscription"},component:()=>at(()=>import("./index.a5def4a3.js"),["assets/index.a5def4a3.js","assets/index.ce033c34.js","assets/index.4b7607b5.js","assets/index.66c96f49.css","assets/CloseButton.37069484.js","assets/index.d8327ad1.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/ViewButton.3b5a5d63.js","assets/ListIcon.8434b65d.js","assets/ListIcon.1eeda4ec.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/index.00a20e83.js","assets/index.ab35056f.js","assets/index.e3b0c442.css","assets/UpdateButton.c88607b8.js","assets/index.dbe0636e.js","assets/index.8de7262d.js","assets/SubscriptionCategoryService.1a9770bd.js","assets/multiselect.717b6532.js","assets/object.413f31be.js","assets/index.0cdcac49.css","assets/InfoButton.4dc8fc51.css","assets/default.0d9e816b.css"])},{path:"/subscriptions/renewals",name:"subscription-renewals",meta:{middleware:[Wt],ability:"subscription"},component:()=>at(()=>import("./index.431d7e64.js"),["assets/index.431d7e64.js","assets/index.ce033c34.js","assets/index.4b7607b5.js","assets/index.66c96f49.css","assets/CloseButton.37069484.js","assets/index.d8327ad1.js","assets/logo-white.e9971405.js","assets/_commonjsHelpers.de833af9.js","assets/index.8bfd43f1.css","assets/vue-cleave.min.7c593396.js","assets/CloseButton.4989e93d.css","assets/ViewButton.3b5a5d63.js","assets/ListIcon.8434b65d.js","assets/ListIcon.1eeda4ec.css","assets/Loading.6052584f.js","assets/Loading.f17c1970.css","assets/index.00a20e83.js","assets/index.ab35056f.js","assets/index.e3b0c442.css","assets/UpdateButton.c88607b8.js","assets/index.dbe0636e.js","assets/index.8de7262d.js","assets/SubscriptionCategoryService.1a9770bd.js","assets/multiselect.717b6532.js","assets/object.413f31be.js","assets/index.074583c4.css","assets/InfoButton.4dc8fc51.css","assets/default.0d9e816b.css"])}],ga=vx({history:YP("/"),base:"/",routes:Cx,scrollBehavior(e,t,n){return n||{top:0,left:0}}});Vn.interceptors.response.use(e=>e,e=>(e.response.status===401&&ga.push("/unauthorized"),Promise.reject(e)));ga.beforeEach((e,t,n)=>{Vn.defaults.headers.common.authorization="Bearer "+localStorage.getItem("jwtToken");const o=e.name.split(" "),i=o.length;for(let u=0;u<i;u++)o[u]=o[u][0].toUpperCase()+o[u].substr(1);if(document.title="AHG Connect - "+o,!e.meta.middleware)return n();const s=e.meta.middleware,a={to:e,from:t,next:n};return s[0]({...a,next:Yg(a,s,1)})});ga.afterEach(()=>{const e=document.getElementById("loading-bg");e&&(e.style.display="none")});class zg{constructor(t,n){this.operator=t,this.value=n,Object.defineProperty(this,"t",{writable:!0})}get notes(){return this.t}addNote(t){this.t=this.t||[],this.t.push(t)}}let uu=class extends zg{};class ma extends uu{constructor(t,n){if(!Array.isArray(n))throw new Error(`"${t}" operator expects to receive an array of conditions`);super(t,n)}}const Li="__itself__";let ya=class extends zg{constructor(t,n,r){super(t,r),this.field=n}};const Gg=new uu("__null__",null),_c=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);function Sx(e,t){return t instanceof ma&&t.operator===e}function Jg(e,t){return t.length===1?t[0]:new ma(e,function n(r,o,i){const s=i||[];for(let a=0,u=o.length;a<u;a++){const d=o[a];Sx(r,d)?n(r,d.value,s):s.push(d)}return s}(e,t))}const Tx=e=>e,Qg=()=>Object.create(null),Xg=Object.defineProperty(Qg(),"__@type@__",{value:"ignore value"});function Ex(e,t,n=!1){if(!e||e&&e.constructor!==Object)return!1;for(const r in e)if(_c(e,r)&&_c(t,r)&&(!n||e[r]!==Xg))return!0;return!1}function Px(e){const t=[];for(const n in e)_c(e,n)&&e[n]!==Xg&&t.push(n);return t}function Fl(e,t){t!==Gg&&e.push(t)}const Zg=e=>Jg("and",e),em={compound(e,t,n){const r=(Array.isArray(t)?t:[t]).map(o=>n.parse(o));return new ma(e.name,r)},field:(e,t,n)=>new ya(e.name,n.field,t),document:(e,t)=>new uu(e.name,t)};let xx=class{constructor(t,n=Qg()){this.o=void 0,this.s=void 0,this.i=void 0,this.u=void 0,this.h=void 0,this.parse=this.parse.bind(this),this.u={operatorToConditionName:n.operatorToConditionName||Tx,defaultOperatorName:n.defaultOperatorName||"eq",mergeFinalConditions:n.mergeFinalConditions||Zg},this.o=Object.keys(t).reduce((r,o)=>(r[o]=Object.assign({name:this.u.operatorToConditionName(o)},t[o]),r),{}),this.s=Object.assign({},n.fieldContext,{field:"",query:{},parse:this.parse,hasOperators:r=>Ex(r,this.o,n.useIgnoreValue)}),this.i=Object.assign({},n.documentContext,{parse:this.parse,query:{}}),this.h=n.useIgnoreValue?Px:Object.keys}setParse(t){this.parse=t,this.s.parse=t,this.i.parse=t}parseField(t,n,r,o){const i=this.o[n];if(!i)throw new Error(`Unsupported operator "${n}"`);if(i.type!=="field")throw new Error(`Unexpected ${i.type} operator "${n}" at field level`);return this.s.field=t,this.s.query=o,this.parseInstruction(i,r,this.s)}parseInstruction(t,n,r){return typeof t.validate=="function"&&t.validate(t,n),(t.parse||em[t.type])(t,n,r)}parseFieldOperators(t,n){const r=[],o=this.h(n);for(let i=0,s=o.length;i<s;i++){const a=o[i];if(!this.o[a])throw new Error(`Field query for "${t}" may contain only operators or a plain object as a value`);Fl(r,this.parseField(t,a,n[a],n))}return r}parse(t){const n=[],r=this.h(t);this.i.query=t;for(let o=0,i=r.length;o<i;o++){const s=r[o],a=t[s],u=this.o[s];if(u){if(u.type!=="document"&&u.type!=="compound")throw new Error(`Cannot use parsing instruction for operator "${s}" in "document" context as it is supposed to be used in "${u.type}" context`);Fl(n,this.parseInstruction(u,a,this.i))}else this.s.hasOperators(a)?n.push(...this.parseFieldOperators(s,a)):Fl(n,this.parseField(s,this.u.defaultOperatorName,a,t))}return this.u.mergeFinalConditions(n)}};function Bl(e,t){const n=e[t];if(typeof n!="function")throw new Error(`Unable to interpret "${t}" condition. Did you forget to register interpreter for it?`);return n}function Ox(e){return e.operator}function Ax(e,t){const n=t,r=n&&n.getInterpreterName||Ox;let o;switch(n?n.numberOfArguments:0){case 1:o=s=>{const a=r(s,n);return Bl(e,a)(s,i)};break;case 3:o=(s,a,u)=>{const d=r(s,n);return Bl(e,d)(s,a,u,i)};break;default:o=(s,a)=>{const u=r(s,n);return Bl(e,u)(s,a,i)}}const i=Object.assign({},n,{interpret:o});return i.interpret}function Rx(e,t){return(n,...r)=>{const o=e(n,...r),i=t.bind(null,o);return i.ast=o,i}}function tm(e,t){if(!Array.isArray(t))throw new Error(`"${e.name}" expects value to be an array`)}function nm(e,t){if(tm(e,t),!t.length)throw new Error(`"${e.name}" expects to have at least one element in array`)}const fu=e=>(t,n)=>{if(typeof n!==e)throw new Error(`"${t.name}" expects value to be a "${e}"`)},rm={type:"compound",validate:nm,parse(e,t,{parse:n}){const r=t.map(o=>n(o));return Jg(e.name,r)}},kx=rm,Dx={type:"compound",validate:nm},Ix={type:"field",validate(e,t){if(!(t&&(t instanceof RegExp||t.constructor===Object)))throw new Error(`"${e.name}" expects to receive either regular expression or object of field operators`)},parse(e,t,n){const r=t instanceof RegExp?new ya("regex",n.field,t):n.parse(t,n);return new ma(e.name,[r])}},om={type:"field",validate(e,t){if(!t||t.constructor!==Object)throw new Error(`"${e.name}" expects to receive an object with nested query or field level operators`)},parse(e,t,{parse:n,field:r,hasOperators:o}){const i=o(t)?n(t,{field:Li}):n(t);return new ya(e.name,r,i)}},im={type:"field",validate:fu("number")},va={type:"field",validate:tm},sm=va,am=va,Mx={type:"field",validate(e,t){if(!Array.isArray(t)||t.length!==2)throw new Error(`"${e.name}" expects an array with 2 numeric elements`)}},lm={type:"field",validate:fu("boolean")},du={type:"field",validate:function(e,t){if(!(typeof t=="string"||typeof t=="number"||t instanceof Date))throw new Error(`"${e.name}" expects value to be comparable (i.e., string, number or date)`)}},ba=du,cm=ba,um=ba,pu={type:"field"},fm=pu,dm={type:"field",validate(e,t){if(!(t instanceof RegExp)&&typeof t!="string")throw new Error(`"${e.name}" expects value to be a regular expression or a string that represents regular expression`)},parse(e,t,n){const r=typeof t=="string"?new RegExp(t,n.query.$options||""):t;return new ya(e.name,n.field,r)}},pm={type:"field",parse:()=>Gg},Lx={type:"document",validate:fu("function")};var Nx=Object.freeze({__proto__:null,$and:rm,$or:kx,$nor:Dx,$not:Ix,$elemMatch:om,$size:im,$in:va,$nin:sm,$all:am,$mod:Mx,$exists:lm,$gte:du,$gt:ba,$lt:cm,$lte:um,$eq:pu,$ne:fm,$regex:dm,$options:pm,$where:Lx});let Fx=class extends xx{constructor(t){super(t,{defaultOperatorName:"$eq",operatorToConditionName:n=>n.slice(1)})}parse(t,n){return n&&n.field?Zg(this.parseFieldOperators(n.field,t)):super.parse(t)}};const Cc=Nx;function hu(e,t,n){for(let r=0,o=e.length;r<o;r++)if(n(e[r],t)===0)return!0;return!1}function gu(e,t){return Array.isArray(e)&&Number.isNaN(Number(t))}function kd(e,t,n){if(!gu(e,t))return n(e,t);let r=[];for(let o=0;o<e.length;o++){const i=n(e[o],t);i!==void 0&&(r=r.concat(i))}return r}function Kr(e){return(t,n,r)=>{const o=r.get(n,t.field);return Array.isArray(o)?o.some(i=>e(t,i,r)):e(t,o,r)}}const Bx=(e,t)=>e[t];function hm(e,t,n){const r=t.lastIndexOf(".");return r===-1?[e,t]:[n(e,t.slice(0,r)),t.slice(r+1)]}function Ux(e,t,n=Bx){if(t===Li)return e;if(!e)throw new Error(`Unable to get field "${t}" out of ${String(e)}.`);return function(r,o,i){if(o.indexOf(".")===-1)return kd(r,o,i);const s=o.split(".");let a=r;for(let u=0,d=s.length;u<d;u++)if(a=kd(a,s[u],i),!a||typeof a!="object")return a;return a}(e,t,n)}function gm(e,t){return e===t?0:e>t?1:-1}function mm(e,t={}){return Ax(e,Object.assign({get:Ux,compare:gm},t))}const ym=(e,t,{interpret:n})=>e.value.some(r=>n(r,t)),Hx=(e,t,n)=>!ym(e,t,n),vm=(e,t,{interpret:n})=>e.value.every(r=>n(r,t)),jx=(e,t,{interpret:n})=>!n(e.value[0],t),mu=(e,t,{compare:n,get:r})=>{const o=r(t,e.field);return Array.isArray(o)&&!Array.isArray(e.value)?hu(o,e.value,n):n(o,e.value)===0},bm=(e,t,n)=>!mu(e,t,n),wm=Kr((e,t,n)=>{const r=n.compare(t,e.value);return r===0||r===-1}),_m=Kr((e,t,n)=>n.compare(t,e.value)===-1),Cm=Kr((e,t,n)=>n.compare(t,e.value)===1),Sm=Kr((e,t,n)=>{const r=n.compare(t,e.value);return r===0||r===1}),Tm=(e,t,{get:n})=>{if(e.field===Li)return t!==void 0;const[r,o]=hm(t,e.field,n),i=s=>s==null?!!s===e.value:s.hasOwnProperty(o)===e.value;return gu(r,o)?r.some(i):i(r)},$x=Kr((e,t)=>typeof t=="number"&&t%e.value[0]===e.value[1]),Em=(e,t,{get:n})=>{const[r,o]=hm(t,e.field,n),i=s=>{const a=n(s,o);return Array.isArray(a)&&a.length===e.value};return e.field!==Li&&gu(r,o)?r.some(i):i(r)},Pm=Kr((e,t)=>typeof t=="string"&&e.value.test(t)),wa=Kr((e,t,{compare:n})=>hu(e.value,t,n)),xm=(e,t,n)=>!wa(e,t,n),Om=(e,t,{compare:n,get:r})=>{const o=r(t,e.field);return Array.isArray(o)&&e.value.every(i=>hu(o,i,n))},Am=(e,t,{interpret:n,get:r})=>{const o=r(t,e.field);return Array.isArray(o)&&o.some(i=>n(e.value,i))},Vx=(e,t)=>e.value.call(t);var Wx=Object.freeze({__proto__:null,or:ym,nor:Hx,and:vm,not:jx,eq:mu,ne:bm,lte:wm,lt:_m,gt:Cm,gte:Sm,exists:Tm,mod:$x,size:Em,regex:Pm,within:wa,nin:xm,all:Om,elemMatch:Am,where:Vx});const yu=Object.assign({},Wx,{in:wa});mm(yu);function Dd(e){return e instanceof Date?e.getTime():e&&typeof e.toJSON=="function"?e.toJSON():e}const qx=(e,t)=>gm(Dd(e),Dd(t));function vu(e,t,n){const r=new Fx(e),o=mm(t,Object.assign({compare:qx},n));if(n&&n.forPrimitives){const i={field:Li},s=r.parse;r.setParse(a=>s(a,i))}return Rx(r.parse,o)}vu(Cc,yu);vu(["$and","$or"].reduce((e,t)=>(e[t]=Object.assign({},e[t],{type:"field"}),e),Object.assign({},Cc,{$nor:Object.assign({},Cc.$nor,{type:"field",parse:em.compound})})),yu,{forPrimitives:!0});function Sc(e){return Array.isArray(e)?e:[e]}const Id="__caslSubjectType__",Ps=e=>{const t=typeof e;return t==="string"||t==="function"},Kx=e=>e.modelName||e.name;function Rm(e){return Object.hasOwn(e,Id)?e[Id]:Kx(e.constructor)}const Md={function:e=>e.constructor,string:Rm};function Ld(e,t,n){for(let r=n;r<t.length;r++)e.push(t[r])}function Nd(e,t){if(!e||!e.length)return t||[];if(!t||!t.length)return e||[];let n=0,r=0;const o=[];for(;n<e.length&&r<t.length;)e[n].priority<t[r].priority?(o.push(e[n]),n++):(o.push(t[r]),r++);return Ld(o,e,n),Ld(o,t,r),o}function ms(e,t,n){let r=e.get(t);return r||(r=n(),e.set(t,r)),r}const Yx=e=>e;function zx(e,t){if(Array.isArray(e.fields)&&!e.fields.length)throw new Error("`rawRule.fields` cannot be an empty array. https://bit.ly/390miLa");if(e.fields&&!t.fieldMatcher)throw new Error('You need to pass "fieldMatcher" option in order to restrict access by fields');if(e.conditions&&!t.conditionsMatcher)throw new Error('You need to pass "conditionsMatcher" option in order to restrict access by conditions')}class Gx{constructor(t,n,r=0){zx(t,n),this.action=n.resolveAction(t.action),this.subject=t.subject,this.inverted=!!t.inverted,this.conditions=t.conditions,this.reason=t.reason,this.origin=t,this.fields=t.fields?Sc(t.fields):void 0,this.priority=r,this.t=n}i(){return this.conditions&&!this.o&&(this.o=this.t.conditionsMatcher(this.conditions)),this.o}get ast(){const t=this.i();return t?t.ast:void 0}matchesConditions(t){return this.conditions?!t||Ps(t)?!this.inverted:this.i()(t):!0}matchesField(t){return this.fields?t?(this.fields&&!this.u&&(this.u=this.t.fieldMatcher(this.fields)),this.u(t)):!this.inverted:!0}}function Jx(e,t){const n={value:e,prev:t,next:null};return t&&(t.next=n),n}function Qx(e){e.next&&(e.next.prev=e.prev),e.prev&&(e.prev.next=e.next),e.next=e.prev=null}const Xx=e=>({value:e.value,prev:e.prev,next:e.next}),Fd=()=>({rules:[],merged:!1}),Bd=()=>new Map;class Zx{constructor(t=[],n={}){this.h=!1,this.l=new Map,this.p={conditionsMatcher:n.conditionsMatcher,fieldMatcher:n.fieldMatcher,resolveAction:n.resolveAction||Yx},this.$=n.anyAction||"manage",this.A=n.anySubjectType||"all",this.m=t,this.M=!!n.detectSubjectType,this.j=n.detectSubjectType||Rm,this.v(t)}get rules(){return this.m}detectSubjectType(t){return Ps(t)?t:t?this.j(t):this.A}update(t){const n={rules:t,ability:this,target:this};return this._("update",n),this.m=t,this.v(t),this._("updated",n),this}v(t){const n=new Map;let r;for(let o=t.length-1;o>=0;o--){const i=t.length-o-1,s=new Gx(t[o],this.p,i),a=Sc(s.action),u=Sc(s.subject||this.A);!this.h&&s.fields&&(this.h=!0);for(let d=0;d<u.length;d++){const f=ms(n,u[d],Bd);r===void 0&&(r=typeof u[d]),typeof u[d]!==r&&r!=="mixed"&&(r="mixed");for(let p=0;p<a.length;p++)ms(f,a[p],Fd).rules.push(s)}}if(this.l=n,r!=="mixed"&&!this.M){const o=Md[r]||Md.string;this.j=o}}possibleRulesFor(t,n=this.A){if(!Ps(n))throw new Error('"possibleRulesFor" accepts only subject types (i.e., string or class) as the 2nd parameter');const r=ms(this.l,n,Bd),o=ms(r,t,Fd);if(o.merged)return o.rules;const i=t!==this.$&&r.has(this.$)?r.get(this.$).rules:void 0;let s=Nd(o.rules,i);return n!==this.A&&(s=Nd(s,this.possibleRulesFor(t,this.A))),o.rules=s,o.merged=!0,s}rulesFor(t,n,r){const o=this.possibleRulesFor(t,n);if(r&&typeof r!="string")throw new Error("The 3rd, `field` parameter is expected to be a string. See https://stalniy.github.io/casl/en/api/casl-ability#can-of-pure-ability for details");return this.h?o.filter(i=>i.matchesField(r)):o}actionsFor(t){if(!Ps(t))throw new Error('"actionsFor" accepts only subject types (i.e., string or class) as a parameter');const n=new Set,r=this.l.get(t);r&&Array.from(r.keys()).forEach(i=>n.add(i));const o=t!==this.A?this.l.get(this.A):void 0;return o&&Array.from(o.keys()).forEach(i=>n.add(i)),Array.from(n)}on(t,n){this.F=this.F||new Map;const r=this.F,o=r.get(t)||null,i=Jx(n,o);return r.set(t,i),()=>{const s=r.get(t);!i.next&&!i.prev&&s===i?r.delete(t):i===s&&r.set(t,i.prev),Qx(i)}}_(t,n){if(!this.F)return;let r=this.F.get(t)||null;for(;r!==null;){const o=r.prev?Xx(r.prev):null;r.value(n),r=o}}}class km extends Zx{can(t,n,r){const o=this.relevantRuleFor(t,n,r);return!!o&&!o.inverted}relevantRuleFor(t,n,r){const o=this.detectSubjectType(n),i=this.rulesFor(t,o,r);for(let s=0,a=i.length;s<a;s++)if(i[s].matchesConditions(n))return i[s];return null}cannot(t,n,r){return!this.can(t,n,r)}}const eO={$eq:pu,$ne:fm,$lt:cm,$lte:um,$gt:ba,$gte:du,$in:va,$nin:sm,$all:am,$size:im,$regex:dm,$options:pm,$elemMatch:om,$exists:lm},tO={eq:mu,ne:bm,lt:_m,lte:wm,gt:Cm,gte:Sm,in:wa,nin:xm,all:Om,size:Em,regex:Pm,elemMatch:Am,exists:Tm,and:vm},nO=vu(eO,tO),rO=/[-/\\^$+?.()|[\]{}]/g,oO=/\.?\*+\.?/g,iO=/\*+/,sO=/\./g;function aO(e,t,n){const r=n[0]==="*"||e[0]==="."&&e[e.length-1]==="."?"+":"*",o=e.indexOf("**")===-1?"[^.]":".",i=e.replace(sO,"\\$&").replace(iO,o+r);return t+e.length===n.length?`(?:${i})?`:i}function lO(e,t,n){return e==="."&&(n[t-1]==="*"||n[t+1]==="*")?e:`\\${e}`}function cO(e){const t=e.map(r=>r.replace(rO,lO).replace(oO,aO)),n=t.length>1?`(?:${t.join("|")})`:t[0];return new RegExp(`^${n}$`)}const uO=e=>{let t;return n=>(typeof t>"u"&&(t=e.every(r=>r.indexOf("*")===-1)?null:cO(e)),t===null?e.indexOf(n)!==-1:t.test(n))};class fO extends km{constructor(t=[],n={}){super(t,Object.assign({conditionsMatcher:nO,fieldMatcher:uO},n))}}function dO(e){return typeof e.prototype.possibleRulesFor=="function"}class pO{constructor(t){this.O=t}because(t){return this.O.reason=t,this}}class EA{constructor(t){this.rules=[],this.C=t,this.can=(n,r,o,i)=>this.R(n,r,o,i,!1),this.cannot=(n,r,o,i)=>this.R(n,r,o,i,!0),this.build=n=>dO(this.C)?new this.C(this.rules,n):this.C(this.rules,n)}R(t,n,r,o,i){const s={action:t};return i&&(s.inverted=i),n&&(s.subject=n,Array.isArray(r)||typeof r=="string"?s.fields=r:typeof r<"u"&&(s.conditions=r),typeof o<"u"&&(s.conditions=o)),this.rules.push(s),new pO(s)}}function hO(e){if(Object.hasOwn(e,"possibleRulesFor"))return e;const t=Tt(!0);e.on("updated",()=>{t.value=!t.value});const n=e.possibleRulesFor.bind(e);return e.possibleRulesFor=(r,o)=>(t.value=t.value,n(r,o)),e.can=e.can.bind(e),e.cannot=e.cannot.bind(e),e}const gO=Symbol("ability");function mO(e,t,n){if(!t||!(t instanceof km))throw new Error("Please provide an Ability instance to abilitiesPlugin plugin");e.provide(gO,hO(t)),n&&n.useGlobalProperties&&(e.config.globalProperties.$ability=t,e.config.globalProperties.$can=t.can.bind(t))}const Dm=new fO,yO=WT(),bu=ic(mP).use(yO).use(KC).use(ga).use(jT).use(UT).use(qC).use(mO,Dm,{useGlobalProperties:!0});bu.config.globalProperties.$store={};bu.config.globalProperties.$ability=Dm;bu.mount("#app");const zt=pg();localStorage.theme==="dark"?(document.body.classList.add("dark"),zt.theme="dark",zt.isDark=!0):(document.body.classList.add("light"),zt.theme="light",zt.isDark=!1);localStorage.semiDark==="true"?(document.body.classList.add("semi-dark"),zt.semidark=!0,zt.semiDarkTheme="semi-dark"):(document.body.classList.add("semi-light"),zt.semidark=!1,zt.semiDarkTheme="semi-light");localStorage.skin==="bordered"?(zt.skin="bordered",document.body.classList.add("skin--bordered")):(zt.skin="default",document.body.classList.add("skin--default"));localStorage.direction==="true"?(zt.direction=!0,document.documentElement.setAttribute("dir","rtl")):(zt.direction=!1,document.documentElement.setAttribute("dir","ltr"));localStorage.getItem("monochrome")!==null&&(zt.monochrome=!0,document.getElementsByTagName("html")[0].classList.add("grayscale"));export{XO as $,EA as A,ko as B,Io as C,cp as D,LO as E,Fe as F,hn as G,dp as H,fn as I,rt as J,AO as K,RO as L,Vn as M,Mo as N,hA as O,Cv as P,KO as Q,vO as R,kb as S,Zp as T,Lg as U,Rb as V,gl as W,Yv as X,ch as Y,Yc as Z,pP as _,bi as a,tb as a$,oc as a0,fh as a1,Gv as a2,Pp as a3,At as a4,pA as a5,qd as a6,OO as a7,aA as a8,FO as a9,$O as aA,UO as aB,gA as aC,VO as aD,lA as aE,bO as aF,Kd as aG,zd as aH,Uc as aI,qn as aJ,Do as aK,hb as aL,Cw as aM,oA as aN,bA as aO,Fb as aP,up as aQ,Yn as aR,fi as aS,nA as aT,Rs as aU,vr as aV,kc as aW,zO as aX,GO as aY,Qv as aZ,eb as a_,ui as aa,po as ab,MO as ac,mo as ad,EO as ae,yA as af,PO as ag,Kc as ah,xO as ai,Xt as aj,mr as ak,Lt as al,Ks as am,Qn as an,dA as ao,ic as ap,Tb as aq,JO as ar,Sb as as,vA as at,_v as au,NO as av,cw as aw,HO as ax,jO as ay,WO as az,ve as b,Xv as b0,ib as b1,ob as b2,rb as b3,Jy as b4,nb as b5,ta as b6,Hc as b7,hp as b8,Vl as b9,uh as bA,Yb as bB,Bb as bC,sA as bD,Wv as bE,qv as bF,QO as bG,qO as bH,iA as bI,kO as bJ,wA as bK,pg as bL,tA as ba,Ef as bb,IO as bc,DO as bd,fA as be,yi as bf,af as bg,cA as bh,go as bi,lp as bj,_O as bk,$v as bl,uA as bm,wO as bn,ys as bo,BO as bp,Ie as bq,TO as br,ZO as bs,CO as bt,YO as bu,mA as bv,rA as bw,Vv as bx,Ep as by,yw as bz,se as c,we as d,gO as e,Ue as f,wr as g,fO as h,eA as i,Ro as j,na as k,Qt as l,SO as m,it as n,oe as o,Wr as p,Zn as q,Dr as r,bs as s,Xe as t,zn as u,qe as v,xn as w,Dn as x,jc as y,Tt as z};
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.16 |
proxy
|
phpinfo
|
Settings