From f3e9b65c4bdf8b653dfe61434a90e105416d4b62 Mon Sep 17 00:00:00 2001 From: paulpestov Date: Tue, 6 Feb 2024 16:14:47 +0000 Subject: [PATCH] deploy: 0ae4738984505ef9d3c47ae103198c59142f1f0e --- .../{index-1aba95a2.js => index-be285010.js} | 68 +++++++++---------- index.html | 2 +- 2 files changed, 35 insertions(+), 35 deletions(-) rename assets/{index-1aba95a2.js => index-be285010.js} (73%) diff --git a/assets/index-1aba95a2.js b/assets/index-be285010.js similarity index 73% rename from assets/index-1aba95a2.js rename to assets/index-be285010.js index fc37029..66f71da 100644 --- a/assets/index-1aba95a2.js +++ b/assets/index-be285010.js @@ -1,12 +1,12 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Wl(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const Me={},ur=[],Ft=()=>{},I1=()=>!1,C1=/^on[^a-z]/,Po=e=>C1.test(e),Gl=e=>e.startsWith("onUpdate:"),Ke=Object.assign,Yl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},T1=Object.prototype.hasOwnProperty,ge=(e,t)=>T1.call(e,t),se=Array.isArray,fr=e=>Fo(e)==="[object Map]",dd=e=>Fo(e)==="[object Set]",ue=e=>typeof e=="function",$e=e=>typeof e=="string",Lo=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",pd=e=>(ke(e)||ue(e))&&ue(e.then)&&ue(e.catch),hd=Object.prototype.toString,Fo=e=>hd.call(e),E1=e=>Fo(e).slice(8,-1),md=e=>Fo(e)==="[object Object]",ql=e=>$e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ji=Wl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$o=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},M1=/-(\w)/g,Gt=$o(e=>e.replace(M1,(t,n)=>n?n.toUpperCase():"")),A1=/\B([A-Z])/g,Ir=$o(e=>e.replace(A1,"-$1").toLowerCase()),Do=$o(e=>e.charAt(0).toUpperCase()+e.slice(1)),cs=$o(e=>e?`on${Do(e)}`:""),Bn=(e,t)=>!Object.is(e,t),us=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},k1=e=>{const t=parseFloat(e);return isNaN(t)?e:t},j1=e=>{const t=$e(e)?Number(e):NaN;return isNaN(t)?e:t};let ac;const Hs=()=>ac||(ac=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ro(e){if(se(e)){const t={};for(let n=0;n{if(n){const r=n.split(L1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ae(e){let t="";if($e(e))t=e;else if(se(e))for(let n=0;n$e(e)?e:e==null?"":se(e)||ke(e)&&(e.toString===hd||!ue(e.toString))?JSON.stringify(e,vd,2):String(e),vd=(e,t)=>t&&t.__v_isRef?vd(e,t.value):fr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:dd(t)?{[`Set(${t.size})`]:[...t.values()]}:ke(t)&&!se(t)&&!md(t)?String(t):t;let Mt;class bd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Mt,!t&&Mt&&(this.index=(Mt.scopes||(Mt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Mt;try{return Mt=this,t()}finally{Mt=n}}}on(){Mt=this}off(){Mt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},xd=e=>(e.w&On)>0,wd=e=>(e.n&On)>0,H1=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||!Lo(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":se(e)?ql(n)&&l.push(s.get("length")):(l.push(s.get(Nn)),fr(e)&&l.push(s.get(Ks)));break;case"delete":se(e)||(l.push(s.get(Nn)),fr(e)&&l.push(s.get(Ks)));break;case"set":fr(e)&&l.push(s.get(Nn));break}if(l.length===1)l[0]&&Ws(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);Ws(Zl(a))}}function Ws(e,t){const n=se(e)?e:[...e];for(const r of n)r.computed&&uc(r);for(const r of n)r.computed||uc(r)}function uc(e,t){(e!==jt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const U1=Wl("__proto__,__v_isRef,__isVue"),Sd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Lo)),fc=K1();function K1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ve(this);for(let o=0,s=this.length;o{e[t]=function(...n){Cr();const r=ve(this)[t].apply(this,n);return Tr(),r}}),e}function W1(e){const t=ve(this);return ft(t,"has",e),t.hasOwnProperty(e)}class Id{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const i=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&r===(i?o?om:Md:o?Ed:Td).get(t))return t;const s=se(t);if(!i){if(s&&ge(fc,n))return Reflect.get(fc,n,r);if(n==="hasOwnProperty")return W1}const l=Reflect.get(t,n,r);return(Lo(n)?Sd.has(n):U1(n))||(i||ft(t,"get",n),o)?l:et(l)?s&&ql(n)?l:l.value:ke(l)?i?ea(l):an(l):l}}class Cd extends Id{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(gr(o)&&et(o)&&!et(r))return!1;if(!this._shallow&&(!uo(r)&&!gr(r)&&(o=ve(o),r=ve(r)),!se(t)&&et(o)&&!et(r)))return o.value=r,!0;const s=se(t)&&ql(n)?Number(n)e,zo=e=>Reflect.getPrototypeOf(e);function Ri(e,t,n=!1,r=!1){e=e.__v_raw;const i=ve(e),o=ve(t);n||(Bn(t,o)&&ft(i,"get",t),ft(i,"get",o));const{has:s}=zo(i),l=r?Ql:n?na:ni;if(s.call(i,t))return l(e.get(t));if(s.call(i,o))return l(e.get(o));e!==i&&e.get(t)}function zi(e,t=!1){const n=this.__v_raw,r=ve(n),i=ve(e);return t||(Bn(e,i)&&ft(r,"has",e),ft(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Ni(e,t=!1){return e=e.__v_raw,!t&&ft(ve(e),"iterate",Nn),Reflect.get(e,"size",e)}function dc(e){e=ve(e);const t=ve(this);return zo(t).has.call(t,e)||(t.add(e),nn(t,"add",e,e)),this}function pc(e,t){t=ve(t);const n=ve(this),{has:r,get:i}=zo(n);let o=r.call(n,e);o||(e=ve(e),o=r.call(n,e));const s=i.call(n,e);return n.set(e,t),o?Bn(t,s)&&nn(n,"set",e,t):nn(n,"add",e,t),this}function hc(e){const t=ve(this),{has:n,get:r}=zo(t);let i=n.call(t,e);i||(e=ve(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&nn(t,"delete",e,void 0),o}function mc(){const e=ve(this),t=e.size!==0,n=e.clear();return t&&nn(e,"clear",void 0,void 0),n}function Vi(e,t){return function(r,i){const o=this,s=o.__v_raw,l=ve(s),a=t?Ql:e?na:ni;return!e&&ft(l,"iterate",Nn),s.forEach((c,u)=>r.call(i,a(c),a(u),o))}}function Hi(e,t,n){return function(...r){const i=this.__v_raw,o=ve(i),s=fr(o),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=i[e](...r),u=n?Ql:t?na:ni;return!t&&ft(o,"iterate",a?Ks:Nn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function fn(e){return function(...t){return e==="delete"?!1:this}}function X1(){const e={get(o){return Ri(this,o)},get size(){return Ni(this)},has:zi,add:dc,set:pc,delete:hc,clear:mc,forEach:Vi(!1,!1)},t={get(o){return Ri(this,o,!1,!0)},get size(){return Ni(this)},has:zi,add:dc,set:pc,delete:hc,clear:mc,forEach:Vi(!1,!0)},n={get(o){return Ri(this,o,!0)},get size(){return Ni(this,!0)},has(o){return zi.call(this,o,!0)},add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear"),forEach:Vi(!0,!1)},r={get(o){return Ri(this,o,!0,!0)},get size(){return Ni(this,!0)},has(o){return zi.call(this,o,!0)},add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear"),forEach:Vi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Hi(o,!1,!1),n[o]=Hi(o,!0,!1),t[o]=Hi(o,!1,!0),r[o]=Hi(o,!0,!0)}),[e,n,t,r]}const[Q1,J1,em,tm]=X1();function Jl(e,t){const n=t?e?tm:em:e?J1:Q1;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ge(n,i)&&i in r?n:r,i,o)}const nm={get:Jl(!1,!1)},rm={get:Jl(!1,!0)},im={get:Jl(!0,!1)},Td=new WeakMap,Ed=new WeakMap,Md=new WeakMap,om=new WeakMap;function sm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lm(e){return e.__v_skip||!Object.isExtensible(e)?0:sm(E1(e))}function an(e){return gr(e)?e:ta(e,!1,Y1,nm,Td)}function Ad(e){return ta(e,!1,Z1,rm,Ed)}function ea(e){return ta(e,!0,q1,im,Md)}function ta(e,t,n,r,i){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const s=lm(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return i.set(e,l),l}function dr(e){return gr(e)?dr(e.__v_raw):!!(e&&e.__v_isReactive)}function gr(e){return!!(e&&e.__v_isReadonly)}function uo(e){return!!(e&&e.__v_isShallow)}function kd(e){return dr(e)||gr(e)}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function jd(e){return co(e,"__v_skip",!0),e}const ni=e=>ke(e)?an(e):e,na=e=>ke(e)?ea(e):e;function Pd(e){xn&&jt&&(e=ve(e),Od(e.dep||(e.dep=Zl())))}function Ld(e,t){e=ve(e);const n=e.dep;n&&Ws(n)}function et(e){return!!(e&&e.__v_isRef===!0)}function fe(e){return Fd(e,!1)}function am(e){return Fd(e,!0)}function Fd(e,t){return et(e)?e:new cm(e,t)}class cm{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ve(t),this._value=n?t:ni(t)}get value(){return Pd(this),this._value}set value(t){const n=this.__v_isShallow||uo(t)||gr(t);t=n?t:ve(t),Bn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ni(t),Ld(this))}}function Ie(e){return et(e)?e.value:e}const um={get:(e,t,n)=>Ie(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return et(i)&&!et(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function $d(e){return dr(e)?e:new Proxy(e,um)}class fm{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Xl(t,()=>{this._dirty||(this._dirty=!0,Ld(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=ve(this);return Pd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function dm(e,t,n=!1){let r,i;const o=ue(e);return o?(r=e,i=Ft):(r=e.get,i=e.set),new fm(r,i,o||!i,n)}function wn(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){No(o,t,n)}return i}function St(e,t,n,r){if(ue(e)){const o=wn(e,t,n,r);return o&&pd(o)&&o.catch(s=>{No(s,t,n)}),o}const i=[];for(let o=0;o>>1,i=rt[r],o=ii(i);oKt&&rt.splice(t,1)}function gm(e){se(e)?pr.push(...e):(!Qt||!Qt.includes(e,e.allowRecurse?Fn+1:Fn))&&pr.push(e),Rd()}function gc(e,t=ri?Kt+1:0){for(;tii(n)-ii(r)),Fn=0;Fne.id==null?1/0:e.id,ym=(e,t)=>{const n=ii(e)-ii(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Nd(e){Gs=!1,ri=!0,rt.sort(ym);const t=Ft;try{for(Kt=0;Kt$e(p)?p.trim():p)),f&&(i=n.map(k1))}let l,a=r[l=cs(t)]||r[l=cs(Gt(t))];!a&&o&&(a=r[l=cs(Ir(t))]),a&&St(a,e,6,i);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,St(c,e,6,i)}}function Vd(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let s={},l=!1;if(!ue(e)){const a=c=>{const u=Vd(c,t,!0);u&&(l=!0,Ke(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(ke(e)&&r.set(e,null),null):(se(o)?o.forEach(a=>s[a]=null):Ke(s,o),ke(e)&&r.set(e,s),s)}function Ho(e,t){return!e||!Po(t)?!1:(t=t.slice(2).replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,Ir(t))||ge(e,t))}let tt=null,Bo=null;function fo(e){const t=tt;return tt=e,Bo=e&&e.type.__scopeId||null,t}function oa(e){Bo=e}function sa(){Bo=null}function He(e,t=tt,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Mc(-1);const o=fo(t);let s;try{s=e(...i)}finally{fo(o),r._d&&Mc(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function fs(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e;let v,y;const b=fo(e);try{if(n.shapeFlag&4){const w=i||r;v=Ht(u.call(w,w,f,o,p,d,h)),y=a}else{const w=t;v=Ht(w.length>1?w(o,{attrs:a,slots:l,emit:c}):w(o,null)),y=t.props?a:bm(a)}}catch(w){qr.length=0,No(w,e,1),v=ie(Ct)}let _=v;if(y&&m!==!1){const w=Object.keys(y),{shapeFlag:S}=_;w.length&&S&7&&(s&&w.some(Gl)&&(y=xm(y,s)),_=In(_,y))}return n.dirs&&(_=In(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,fo(b),v}const bm=e=>{let t;for(const n in e)(n==="class"||n==="style"||Po(n))&&((t||(t={}))[n]=e[n]);return t},xm=(e,t)=>{const n={};for(const r in e)(!Gl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function wm(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?yc(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Sm(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):gm(e)}const Bi={};function Ze(e,t,n){return Hd(e,t,n)}function Hd(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:s}=Me){var l;const a=V1()===((l=Ge)==null?void 0:l.scope)?Ge:null;let c,u=!1,f=!1;if(et(e)?(c=()=>e.value,u=uo(e)):dr(e)?(c=()=>e,r=!0):se(e)?(f=!0,u=e.some(w=>dr(w)||uo(w)),c=()=>e.map(w=>{if(et(w))return w.value;if(dr(w))return Rn(w);if(ue(w))return wn(w,a,2)})):ue(e)?t?c=()=>wn(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return d&&d(),St(e,a,3,[p])}:c=Ft,t&&r){const w=c;c=()=>Rn(w())}let d,p=w=>{d=b.onStop=()=>{wn(w,a,4)}},h;if(si)if(p=Ft,t?n&&St(t,a,3,[c(),f?[]:void 0,p]):c(),i==="sync"){const w=b0();h=w.__watcherHandles||(w.__watcherHandles=[])}else return Ft;let m=f?new Array(e.length).fill(Bi):Bi;const v=()=>{if(b.active)if(t){const w=b.run();(r||u||(f?w.some((S,I)=>Bn(S,m[I])):Bn(w,m)))&&(d&&d(),St(t,a,3,[w,m===Bi?void 0:f&&m[0]===Bi?[]:m,p]),m=w)}else b.run()};v.allowRecurse=!!t;let y;i==="sync"?y=v:i==="post"?y=()=>ct(v,a&&a.suspense):(v.pre=!0,a&&(v.id=a.uid),y=()=>ia(v));const b=new Xl(c,y);t?n?v():m=b.run():i==="post"?ct(b.run.bind(b),a&&a.suspense):b.run();const _=()=>{b.stop(),a&&a.scope&&Yl(a.scope.effects,b)};return h&&h.push(_),_}function Im(e,t,n){const r=this.proxy,i=$e(e)?e.includes(".")?Bd(r,e):()=>r[e]:e.bind(r,r);let o;ue(t)?o=t:(o=t.handler,n=t);const s=Ge;yr(this);const l=Hd(i,o.bind(r),n);return s?yr(s):Vn(),l}function Bd(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{Rn(n,t)});else if(md(e))for(const n in e)Rn(e[n],t);return e}function _t(e,t){const n=tt;if(n===null)return e;const r=Go(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Yd(()=>{e.isUnmounting=!0}),e}const xt=[Function,Array],Ud={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xt,onEnter:xt,onAfterEnter:xt,onEnterCancelled:xt,onBeforeLeave:xt,onLeave:xt,onAfterLeave:xt,onLeaveCancelled:xt,onBeforeAppear:xt,onAppear:xt,onAfterAppear:xt,onAppearCancelled:xt},Tm={name:"BaseTransition",props:Ud,setup(e,{slots:t}){const n=ji(),r=Cm();let i;return()=>{const o=t.default&&Wd(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const m of o)if(m.type!==Ct){s=m;break}}const l=ve(e),{mode:a}=l;if(r.isLeaving)return ds(s);const c=vc(s);if(!c)return ds(s);const u=Ys(c,l,r,n);qs(c,u);const f=n.subTree,d=f&&vc(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const m=h();i===void 0?i=m:m!==i&&(i=m,p=!0)}if(d&&d.type!==Ct&&(!$n(c,d)||p)){const m=Ys(d,l,r,n);if(qs(d,m),a==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},ds(s);a==="in-out"&&c.type!==Ct&&(m.delayLeave=(v,y,b)=>{const _=Kd(r,d);_[String(d.key)]=d,v[yn]=()=>{y(),v[yn]=void 0,delete u.delayedLeave},u.delayedLeave=b})}return s}}},Em=Tm;function Kd(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 Ys(e,t,n,r){const{appear:i,mode:o,persisted:s=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=Kd(n,e),S=(H,Z)=>{H&&St(H,r,9,Z)},I=(H,Z)=>{const q=Z[1];S(H,Z),se(H)?H.every(z=>z.length<=1)&&q():H.length<=1&&q()},j={mode:o,persisted:s,beforeEnter(H){let Z=l;if(!n.isMounted)if(i)Z=m||l;else return;H[yn]&&H[yn](!0);const q=w[_];q&&$n(e,q)&&q.el[yn]&&q.el[yn](),S(Z,[H])},enter(H){let Z=a,q=c,z=u;if(!n.isMounted)if(i)Z=v||a,q=y||c,z=b||u;else return;let V=!1;const X=H[Ui]=pe=>{V||(V=!0,pe?S(z,[H]):S(q,[H]),j.delayedLeave&&j.delayedLeave(),H[Ui]=void 0)};Z?I(Z,[H,X]):X()},leave(H,Z){const q=String(e.key);if(H[Ui]&&H[Ui](!0),n.isUnmounting)return Z();S(f,[H]);let z=!1;const V=H[yn]=X=>{z||(z=!0,Z(),X?S(h,[H]):S(p,[H]),H[yn]=void 0,w[q]===e&&delete w[q])};w[q]=e,d?I(d,[H,V]):V()},clone(H){return Ys(H,t,n,r)}};return j}function ds(e){if(Uo(e))return e=In(e),e.children=null,e}function vc(e){return Uo(e)?e.children?e.children[0]:void 0:e}function qs(e,t){e.shapeFlag&6&&e.component?qs(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 Wd(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;oKe({name:e.name},t,{setup:e}))():e}const Wr=e=>!!e.type.__asyncLoader,Uo=e=>e.type.__isKeepAlive;function Mm(e,t){Gd(e,"a",t)}function Am(e,t){Gd(e,"da",t)}function Gd(e,t,n=Ge){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ko(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Uo(i.parent.vnode)&&km(r,t,n,i),i=i.parent}}function km(e,t,n,r){const i=Ko(t,e,r,!0);la(()=>{Yl(r[t],i)},n)}function Ko(e,t,n=Ge,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;Cr(),yr(n);const l=St(t,n,e,s);return Vn(),Tr(),l});return r?i.unshift(o):i.push(o),o}}const cn=e=>(t,n=Ge)=>(!si||e==="sp")&&Ko(e,(...r)=>t(...r),n),jm=cn("bm"),pt=cn("m"),Pm=cn("bu"),Lm=cn("u"),Yd=cn("bum"),la=cn("um"),Fm=cn("sp"),$m=cn("rtg"),Dm=cn("rtc");function Rm(e,t=Ge){Ko("ec",e,t)}const aa="components",zm="directives";function gt(e,t){return ca(aa,e,!0,t)||e}const qd=Symbol.for("v-ndc");function wt(e){return $e(e)?ca(aa,e,!1)||e:e||qd}function Sn(e){return ca(zm,e)}function ca(e,t,n=!0,r=!1){const i=tt||Ge;if(i){const o=i.type;if(e===aa){const l=g0(o,!1);if(l&&(l===t||l===Gt(t)||l===Do(Gt(t))))return o}const s=bc(i[e]||o[e],t)||bc(i.appContext[e],t);return!s&&r?o:s}}function bc(e,t){return e&&(e[t]||e[Gt(t)]||e[Do(Gt(t))])}function qe(e,t,n,r){let i;const o=n&&n[r];if(se(e)||$e(e)){i=new Array(e.length);for(let s=0,l=e.length;st(s,l,void 0,o&&o[l]));else{const s=Object.keys(e);i=new Array(s.length);for(let l=0,a=s.length;l{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function oe(e,t,n={},r,i){if(tt.isCE||tt.parent&&Wr(tt.parent)&&tt.parent.isCE)return t!=="default"&&(n.name=t),ie("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),E();const s=o&&Xd(o(n)),l=Le(ae,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Xd(e){return e.some(t=>mo(t)?!(t.type===Ct||t.type===ae&&!Xd(t.children)):!0)?e:null}const Zs=e=>e?ap(e)?Go(e)||e.proxy:Zs(e.parent):null,Gr=Ke(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=>Zs(e.parent),$root:e=>Zs(e.root),$emit:e=>e.emit,$options:e=>ua(e),$forceUpdate:e=>e.f||(e.f=()=>ia(e.update)),$nextTick:e=>e.n||(e.n=Vo.bind(e.proxy)),$watch:e=>Im.bind(e)}),ps=(e,t)=>e!==Me&&!e.__isScriptSetup&&ge(e,t),Nm={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(ps(r,t))return s[t]=1,r[t];if(i!==Me&&ge(i,t))return s[t]=2,i[t];if((c=e.propsOptions[0])&&ge(c,t))return s[t]=3,o[t];if(n!==Me&&ge(n,t))return s[t]=4,n[t];Xs&&(s[t]=0)}}const u=Gr[t];let f,d;if(u)return t==="$attrs"&&ft(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Me&&ge(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,ge(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return ps(i,t)?(i[t]=n,!0):r!==Me&&ge(r,t)?(r[t]=n,!0):ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},s){let l;return!!n[s]||e!==Me&&ge(e,s)||ps(t,s)||(l=o[0])&&ge(l,s)||ge(r,s)||ge(Gr,s)||ge(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ge(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function xc(e){return se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Xs=!0;function Vm(e){const t=ua(e),n=e.proxy,r=e.ctx;Xs=!1,t.beforeCreate&&wc(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:y,beforeUnmount:b,destroyed:_,unmounted:w,render:S,renderTracked:I,renderTriggered:j,errorCaptured:H,serverPrefetch:Z,expose:q,inheritAttrs:z,components:V,directives:X,filters:pe}=t;if(c&&Hm(c,r,null),s)for(const re in s){const le=s[re];ue(le)&&(r[re]=le.bind(n))}if(i){const re=i.call(n,n);ke(re)&&(e.data=an(re))}if(Xs=!0,o)for(const re in o){const le=o[re],we=ue(le)?le.bind(n,n):ue(le.get)?le.get.bind(n,n):Ft,it=!ue(le)&&ue(le.set)?le.set.bind(n):Ft,De=Ce({get:we,set:it});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>De.value,set:je=>De.value=je})}if(l)for(const re in l)Qd(l[re],r,n,re);if(a){const re=ue(a)?a.call(n):a;Reflect.ownKeys(re).forEach(le=>{eo(le,re[le])})}u&&wc(u,e,"c");function ce(re,le){se(le)?le.forEach(we=>re(we.bind(n))):le&&re(le.bind(n))}if(ce(jm,f),ce(pt,d),ce(Pm,p),ce(Lm,h),ce(Mm,m),ce(Am,v),ce(Rm,H),ce(Dm,I),ce($m,j),ce(Yd,b),ce(la,w),ce(Fm,Z),se(q))if(q.length){const re=e.exposed||(e.exposed={});q.forEach(le=>{Object.defineProperty(re,le,{get:()=>n[le],set:we=>n[le]=we})})}else e.exposed||(e.exposed={});S&&e.render===Ft&&(e.render=S),z!=null&&(e.inheritAttrs=z),V&&(e.components=V),X&&(e.directives=X)}function Hm(e,t,n=Ft){se(e)&&(e=Qs(e));for(const r in e){const i=e[r];let o;ke(i)?"default"in i?o=It(i.from||r,i.default,!0):o=It(i.from||r):o=It(i),et(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[r]=o}}function wc(e,t,n){St(se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qd(e,t,n,r){const i=r.includes(".")?Bd(n,r):()=>n[r];if($e(e)){const o=t[e];ue(o)&&Ze(i,o)}else if(ue(e))Ze(i,e.bind(n));else if(ke(e))if(se(e))e.forEach(o=>Qd(o,t,n,r));else{const o=ue(e.handler)?e.handler.bind(n):t[e.handler];ue(o)&&Ze(i,o,e)}}function ua(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,l=o.get(t);let a;return l?a=l:!i.length&&!n&&!r?a=t:(a={},i.length&&i.forEach(c=>po(a,c,s,!0)),po(a,t,s)),ke(t)&&o.set(t,a),a}function po(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&po(e,o,n,!0),i&&i.forEach(s=>po(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Bm[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Bm={data:_c,props:Oc,emits:Oc,methods:Vr,computed:Vr,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:Vr,directives:Vr,watch:Km,provide:_c,inject:Um};function _c(e,t){return t?e?function(){return Ke(ue(e)?e.call(this,this):e,ue(t)?t.call(this,this):t)}:t:e}function Um(e,t){return Vr(Qs(e),Qs(t))}function Qs(e){if(se(e)){const t={};for(let n=0;n1)return n&&ue(t)?t.call(r&&r.proxy):t}}function Ym(e,t,n,r=!1){const i={},o={};co(o,Wo,1),e.propsDefaults=Object.create(null),ep(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=r?i:Ad(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function qm(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,l=ve(i),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,p]=tp(f,t,!0);Ke(s,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return ke(e)&&r.set(e,ur),ur;if(se(o))for(let u=0;u-1,p[1]=m<0||h-1||ge(p,"default"))&&l.push(f)}}}const c=[s,l];return ke(e)&&r.set(e,c),c}function Sc(e){return e[0]!=="$"}function Ic(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Cc(e,t){return Ic(e)===Ic(t)}function Tc(e,t){return se(t)?t.findIndex(n=>Cc(n,e)):ue(t)&&Cc(t,e)?0:-1}const np=e=>e[0]==="_"||e==="$stable",fa=e=>se(e)?e.map(Ht):[Ht(e)],Zm=(e,t,n)=>{if(t._n)return t;const r=He((...i)=>fa(t(...i)),n);return r._c=!1,r},rp=(e,t,n)=>{const r=e._ctx;for(const i in e){if(np(i))continue;const o=e[i];if(ue(o))t[i]=Zm(i,o,r);else if(o!=null){const s=fa(o);t[i]=()=>s}}},ip=(e,t)=>{const n=fa(t);e.slots.default=()=>n},Xm=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ve(t),co(t,"_",n)):rp(t,e.slots={})}else e.slots={},t&&ip(e,t);co(e.slots,Wo,1)},Qm=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,s=Me;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Ke(i,t),!n&&l===1&&delete i._):(o=!t.$stable,rp(t,i)),s=t}else t&&(ip(e,t),s={default:1});if(o)for(const l in i)!np(l)&&s[l]==null&&delete i[l]};function el(e,t,n,r,i=!1){if(se(e)){e.forEach((d,p)=>el(d,t&&(se(t)?t[p]:t),n,r,i));return}if(Wr(r)&&!i)return;const o=r.shapeFlag&4?Go(r.component)||r.component.proxy:r.el,s=i?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===Me?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&($e(c)?(u[c]=null,ge(f,c)&&(f[c]=null)):et(c)&&(c.value=null)),ue(a))wn(a,l,12,[s,u]);else{const d=$e(a),p=et(a);if(d||p){const h=()=>{if(e.f){const m=d?ge(f,a)?f[a]:u[a]:a.value;i?se(m)&&Yl(m,o):se(m)?m.includes(o)||m.push(o):d?(u[a]=[o],ge(f,a)&&(f[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,ge(f,a)&&(f[a]=s)):p&&(a.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,ct(h,n)):h()}}}const ct=Sm;function Jm(e){return e0(e)}function e0(e,t){const n=Hs();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Ft,insertStaticContent:h}=e,m=(g,x,O,k=null,P=null,R=null,G=!1,K=null,W=!!x.dynamicChildren)=>{if(g===x)return;g&&!$n(g,x)&&(k=$(g),je(g,P,R,!0),g=null),x.patchFlag===-2&&(W=!1,x.dynamicChildren=null);const{type:D,ref:C,shapeFlag:T}=x;switch(D){case ki:v(g,x,O,k);break;case Ct:y(g,x,O,k);break;case hs:g==null&&b(x,O,k,G);break;case ae:V(g,x,O,k,P,R,G,K,W);break;default:T&1?S(g,x,O,k,P,R,G,K,W):T&6?X(g,x,O,k,P,R,G,K,W):(T&64||T&128)&&D.process(g,x,O,k,P,R,G,K,W,A)}C!=null&&P&&el(C,g&&g.ref,R,x||g,!x)},v=(g,x,O,k)=>{if(g==null)r(x.el=l(x.children),O,k);else{const P=x.el=g.el;x.children!==g.children&&c(P,x.children)}},y=(g,x,O,k)=>{g==null?r(x.el=a(x.children||""),O,k):x.el=g.el},b=(g,x,O,k)=>{[g.el,g.anchor]=h(g.children,x,O,k,g.el,g.anchor)},_=({el:g,anchor:x},O,k)=>{let P;for(;g&&g!==x;)P=d(g),r(g,O,k),g=P;r(x,O,k)},w=({el:g,anchor:x})=>{let O;for(;g&&g!==x;)O=d(g),i(g),g=O;i(x)},S=(g,x,O,k,P,R,G,K,W)=>{G=G||x.type==="svg",g==null?I(x,O,k,P,R,G,K,W):Z(g,x,P,R,G,K,W)},I=(g,x,O,k,P,R,G,K)=>{let W,D;const{type:C,props:T,shapeFlag:J,transition:te,dirs:de}=g;if(W=g.el=s(g.type,R,T&&T.is,T),J&8?u(W,g.children):J&16&&H(g.children,W,null,k,P,R&&C!=="foreignObject",G,K),de&&An(g,null,k,"created"),j(W,g,g.scopeId,G,k),T){for(const he in T)he!=="value"&&!Ji(he)&&o(W,he,null,T[he],R,g.children,k,P,Ve);"value"in T&&o(W,"value",null,T.value),(D=T.onVnodeBeforeMount)&&Nt(D,k,g)}de&&An(g,null,k,"beforeMount");const _e=t0(P,te);_e&&te.beforeEnter(W),r(W,x,O),((D=T&&T.onVnodeMounted)||_e||de)&&ct(()=>{D&&Nt(D,k,g),_e&&te.enter(W),de&&An(g,null,k,"mounted")},P)},j=(g,x,O,k,P)=>{if(O&&p(g,O),k)for(let R=0;R{for(let D=W;D{const K=x.el=g.el;let{patchFlag:W,dynamicChildren:D,dirs:C}=x;W|=g.patchFlag&16;const T=g.props||Me,J=x.props||Me;let te;O&&kn(O,!1),(te=J.onVnodeBeforeUpdate)&&Nt(te,O,x,g),C&&An(x,g,O,"beforeUpdate"),O&&kn(O,!0);const de=P&&x.type!=="foreignObject";if(D?q(g.dynamicChildren,D,K,O,k,de,R):G||le(g,x,K,null,O,k,de,R,!1),W>0){if(W&16)z(K,x,T,J,O,k,P);else if(W&2&&T.class!==J.class&&o(K,"class",null,J.class,P),W&4&&o(K,"style",T.style,J.style,P),W&8){const _e=x.dynamicProps;for(let he=0;he<_e.length;he++){const Re=_e[he],bt=T[Re],Jn=J[Re];(Jn!==bt||Re==="value")&&o(K,Re,bt,Jn,P,g.children,O,k,Ve)}}W&1&&g.children!==x.children&&u(K,x.children)}else!G&&D==null&&z(K,x,T,J,O,k,P);((te=J.onVnodeUpdated)||C)&&ct(()=>{te&&Nt(te,O,x,g),C&&An(x,g,O,"updated")},k)},q=(g,x,O,k,P,R,G)=>{for(let K=0;K{if(O!==k){if(O!==Me)for(const K in O)!Ji(K)&&!(K in k)&&o(g,K,O[K],null,G,x.children,P,R,Ve);for(const K in k){if(Ji(K))continue;const W=k[K],D=O[K];W!==D&&K!=="value"&&o(g,K,D,W,G,x.children,P,R,Ve)}"value"in k&&o(g,"value",O.value,k.value)}},V=(g,x,O,k,P,R,G,K,W)=>{const D=x.el=g?g.el:l(""),C=x.anchor=g?g.anchor:l("");let{patchFlag:T,dynamicChildren:J,slotScopeIds:te}=x;te&&(K=K?K.concat(te):te),g==null?(r(D,O,k),r(C,O,k),H(x.children,O,C,P,R,G,K,W)):T>0&&T&64&&J&&g.dynamicChildren?(q(g.dynamicChildren,J,O,P,R,G,K),(x.key!=null||P&&x===P.subTree)&&da(g,x,!0)):le(g,x,O,C,P,R,G,K,W)},X=(g,x,O,k,P,R,G,K,W)=>{x.slotScopeIds=K,g==null?x.shapeFlag&512?P.ctx.activate(x,O,k,G,W):pe(x,O,k,P,R,G,W):xe(g,x,W)},pe=(g,x,O,k,P,R,G)=>{const K=g.component=f0(g,k,P);if(Uo(g)&&(K.ctx.renderer=A),d0(K),K.asyncDep){if(P&&P.registerDep(K,ce),!g.el){const W=K.subTree=ie(Ct);y(null,W,x,O)}return}ce(K,g,x,O,P,R,G)},xe=(g,x,O)=>{const k=x.component=g.component;if(wm(g,x,O))if(k.asyncDep&&!k.asyncResolved){re(k,x,O);return}else k.next=x,mm(k.update),k.update();else x.el=g.el,k.vnode=x},ce=(g,x,O,k,P,R,G)=>{const K=()=>{if(g.isMounted){let{next:C,bu:T,u:J,parent:te,vnode:de}=g,_e=C,he;kn(g,!1),C?(C.el=de.el,re(g,C,G)):C=de,T&&us(T),(he=C.props&&C.props.onVnodeBeforeUpdate)&&Nt(he,te,C,de),kn(g,!0);const Re=fs(g),bt=g.subTree;g.subTree=Re,m(bt,Re,f(bt.el),$(bt),g,P,R),C.el=Re.el,_e===null&&_m(g,Re.el),J&&ct(J,P),(he=C.props&&C.props.onVnodeUpdated)&&ct(()=>Nt(he,te,C,de),P)}else{let C;const{el:T,props:J}=x,{bm:te,m:de,parent:_e}=g,he=Wr(x);if(kn(g,!1),te&&us(te),!he&&(C=J&&J.onVnodeBeforeMount)&&Nt(C,_e,x),kn(g,!0),T&&Q){const Re=()=>{g.subTree=fs(g),Q(T,g.subTree,g,P,null)};he?x.type.__asyncLoader().then(()=>!g.isUnmounted&&Re()):Re()}else{const Re=g.subTree=fs(g);m(null,Re,O,k,g,P,R),x.el=Re.el}if(de&&ct(de,P),!he&&(C=J&&J.onVnodeMounted)){const Re=x;ct(()=>Nt(C,_e,Re),P)}(x.shapeFlag&256||_e&&Wr(_e.vnode)&&_e.vnode.shapeFlag&256)&&g.a&&ct(g.a,P),g.isMounted=!0,x=O=k=null}},W=g.effect=new Xl(K,()=>ia(D),g.scope),D=g.update=()=>W.run();D.id=g.uid,kn(g,!0),D()},re=(g,x,O)=>{x.component=g;const k=g.vnode.props;g.vnode=x,g.next=null,qm(g,x.props,k,O),Qm(g,x.children,O),Cr(),gc(),Tr()},le=(g,x,O,k,P,R,G,K,W=!1)=>{const D=g&&g.children,C=g?g.shapeFlag:0,T=x.children,{patchFlag:J,shapeFlag:te}=x;if(J>0){if(J&128){it(D,T,O,k,P,R,G,K,W);return}else if(J&256){we(D,T,O,k,P,R,G,K,W);return}}te&8?(C&16&&Ve(D,P,R),T!==D&&u(O,T)):C&16?te&16?it(D,T,O,k,P,R,G,K,W):Ve(D,P,R,!0):(C&8&&u(O,""),te&16&&H(T,O,k,P,R,G,K,W))},we=(g,x,O,k,P,R,G,K,W)=>{g=g||ur,x=x||ur;const D=g.length,C=x.length,T=Math.min(D,C);let J;for(J=0;JC?Ve(g,P,R,!0,!1,T):H(x,O,k,P,R,G,K,W,T)},it=(g,x,O,k,P,R,G,K,W)=>{let D=0;const C=x.length;let T=g.length-1,J=C-1;for(;D<=T&&D<=J;){const te=g[D],de=x[D]=W?vn(x[D]):Ht(x[D]);if($n(te,de))m(te,de,O,null,P,R,G,K,W);else break;D++}for(;D<=T&&D<=J;){const te=g[T],de=x[J]=W?vn(x[J]):Ht(x[J]);if($n(te,de))m(te,de,O,null,P,R,G,K,W);else break;T--,J--}if(D>T){if(D<=J){const te=J+1,de=teJ)for(;D<=T;)je(g[D],P,R,!0),D++;else{const te=D,de=D,_e=new Map;for(D=de;D<=J;D++){const mt=x[D]=W?vn(x[D]):Ht(x[D]);mt.key!=null&&_e.set(mt.key,D)}let he,Re=0;const bt=J-de+1;let Jn=!1,oc=0;const Mr=new Array(bt);for(D=0;D=bt){je(mt,P,R,!0);continue}let zt;if(mt.key!=null)zt=_e.get(mt.key);else for(he=de;he<=J;he++)if(Mr[he-de]===0&&$n(mt,x[he])){zt=he;break}zt===void 0?je(mt,P,R,!0):(Mr[zt-de]=D+1,zt>=oc?oc=zt:Jn=!0,m(mt,x[zt],O,null,P,R,G,K,W),Re++)}const sc=Jn?n0(Mr):ur;for(he=sc.length-1,D=bt-1;D>=0;D--){const mt=de+D,zt=x[mt],lc=mt+1{const{el:R,type:G,transition:K,children:W,shapeFlag:D}=g;if(D&6){De(g.component.subTree,x,O,k);return}if(D&128){g.suspense.move(x,O,k);return}if(D&64){G.move(g,x,O,A);return}if(G===ae){r(R,x,O);for(let T=0;TK.enter(R),P);else{const{leave:T,delayLeave:J,afterLeave:te}=K,de=()=>r(R,x,O),_e=()=>{T(R,()=>{de(),te&&te()})};J?J(R,de,_e):_e()}else r(R,x,O)},je=(g,x,O,k=!1,P=!1)=>{const{type:R,props:G,ref:K,children:W,dynamicChildren:D,shapeFlag:C,patchFlag:T,dirs:J}=g;if(K!=null&&el(K,null,O,g,!0),C&256){x.ctx.deactivate(g);return}const te=C&1&&J,de=!Wr(g);let _e;if(de&&(_e=G&&G.onVnodeBeforeUnmount)&&Nt(_e,x,g),C&6)Et(g.component,O,k);else{if(C&128){g.suspense.unmount(O,k);return}te&&An(g,null,x,"beforeUnmount"),C&64?g.type.remove(g,x,O,P,A,k):D&&(R!==ae||T>0&&T&64)?Ve(D,x,O,!1,!0):(R===ae&&T&384||!P&&C&16)&&Ve(W,x,O),k&<(g)}(de&&(_e=G&&G.onVnodeUnmounted)||te)&&ct(()=>{_e&&Nt(_e,x,g),te&&An(g,null,x,"unmounted")},O)},lt=g=>{const{type:x,el:O,anchor:k,transition:P}=g;if(x===ae){Ue(O,k);return}if(x===hs){w(g);return}const R=()=>{i(O),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(g.shapeFlag&1&&P&&!P.persisted){const{leave:G,delayLeave:K}=P,W=()=>G(O,R);K?K(g.el,R,W):W()}else R()},Ue=(g,x)=>{let O;for(;g!==x;)O=d(g),i(g),g=O;i(x)},Et=(g,x,O)=>{const{bum:k,scope:P,update:R,subTree:G,um:K}=g;k&&us(k),P.stop(),R&&(R.active=!1,je(G,g,x,O)),K&&ct(K,x),ct(()=>{g.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},Ve=(g,x,O,k=!1,P=!1,R=0)=>{for(let G=R;Gg.shapeFlag&6?$(g.component.subTree):g.shapeFlag&128?g.suspense.next():d(g.anchor||g.el),Y=(g,x,O)=>{g==null?x._vnode&&je(x._vnode,null,null,!0):m(x._vnode||null,g,x,null,null,null,O),gc(),zd(),x._vnode=g},A={p:m,um:je,m:De,r:lt,mt:pe,mc:H,pc:le,pbc:q,n:$,o:e};let B,Q;return t&&([B,Q]=t(A)),{render:Y,hydrate:B,createApp:Gm(Y,B)}}function kn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function t0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function da(e,t,n=!1){const r=e.children,i=t.children;if(se(r)&&se(i))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}const r0=e=>e.__isTeleport,Yr=e=>e&&(e.disabled||e.disabled===""),Ec=e=>typeof SVGElement<"u"&&e instanceof SVGElement,tl=(e,t)=>{const n=e&&e.to;return $e(n)?t?t(n):null:n},i0={__isTeleport:!0,process(e,t,n,r,i,o,s,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:v}}=c,y=Yr(t.props);let{shapeFlag:b,children:_,dynamicChildren:w}=t;if(e==null){const S=t.el=m(""),I=t.anchor=m("");p(S,n,r),p(I,n,r);const j=t.target=tl(t.props,h),H=t.targetAnchor=m("");j&&(p(H,j),s=s||Ec(j));const Z=(q,z)=>{b&16&&u(_,q,z,i,o,s,l,a)};y?Z(n,I):j&&Z(j,H)}else{t.el=e.el;const S=t.anchor=e.anchor,I=t.target=e.target,j=t.targetAnchor=e.targetAnchor,H=Yr(e.props),Z=H?n:I,q=H?S:j;if(s=s||Ec(I),w?(d(e.dynamicChildren,w,Z,i,o,s,l),da(e,t,!0)):a||f(e,t,Z,q,i,o,s,l,!1),y)H?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ki(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const z=t.target=tl(t.props,h);z&&Ki(t,z,null,c,0)}else H&&Ki(t,I,j,c,1)}op(t)},remove(e,t,n,r,{um:i,o:{remove:o}},s){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),s&&o(c),l&16){const p=s||!Yr(d);for(let h=0;h0?Lt||ur:null,l0(),oi>0&&Lt&&Lt.push(e),e}function F(e,t,n,r,i,o){return sp(M(e,t,n,r,i,o,!0))}function Le(e,t,n,r,i){return sp(ie(e,t,n,r,i,!0))}function mo(e){return e?e.__v_isVNode===!0:!1}function $n(e,t){return e.type===t.type&&e.key===t.key}const Wo="__vInternal",lp=({key:e})=>e??null,to=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?$e(e)||et(e)||ue(e)?{i:tt,r:e,k:t,f:!!n}:e:null);function M(e,t=null,n=null,r=0,i=null,o=e===ae?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lp(t),ref:t&&to(t),scopeId:Bo,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:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:tt};return l?(ha(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=$e(n)?8:16),oi>0&&!s&&Lt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Lt.push(a),a}const ie=a0;function a0(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===qd)&&(e=Ct),mo(e)){const l=In(e,t,!0);return n&&ha(l,n),oi>0&&!o&&Lt&&(l.shapeFlag&6?Lt[Lt.indexOf(e)]=l:Lt.push(l)),l.patchFlag|=-2,l}if(y0(e)&&(e=e.__vccOpts),t){t=pa(t);let{class:l,style:a}=t;l&&!$e(l)&&(t.class=Ae(l)),ke(a)&&(kd(a)&&!se(a)&&(a=Ke({},a)),t.style=Ro(a))}const s=$e(e)?1:Om(e)?128:r0(e)?64:ke(e)?4:ue(e)?2:0;return M(e,t,n,r,i,s,o,!0)}function pa(e){return e?kd(e)||Wo in e?Ke({},e):e:null}function In(e,t,n=!1){const{props:r,ref:i,patchFlag:o,children:s}=e,l=t?L(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&lp(l),ref:t&&t.ref?n&&i?se(i)?i.concat(to(t)):[i,to(t)]:to(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ae?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&In(e.ssContent),ssFallback:e.ssFallback&&In(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Je(e=" ",t=0){return ie(ki,null,e,t)}function me(e="",t=!1){return t?(E(),Le(Ct,null,e)):ie(Ct,null,e)}function Ht(e){return e==null||typeof e=="boolean"?ie(Ct):se(e)?ie(ae,null,e.slice()):typeof e=="object"?vn(e):ie(ki,null,String(e))}function vn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:In(e)}function ha(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),ha(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Wo in t)?t._ctx=tt:i===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ue(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),r&64?(n=16,t=[Je(t)]):n=8);e.children=t,e.shapeFlag|=n}function L(...e){const t={};for(let n=0;nGe||tt;let ma,er,Ac="__VUE_INSTANCE_SETTERS__";(er=Hs()[Ac])||(er=Hs()[Ac]=[]),er.push(e=>Ge=e),ma=e=>{er.length>1?er.forEach(t=>t(e)):er[0](e)};const yr=e=>{ma(e),e.scope.on()},Vn=()=>{Ge&&Ge.scope.off(),ma(null)};function ap(e){return e.vnode.shapeFlag&4}let si=!1;function d0(e,t=!1){si=t;const{props:n,children:r}=e.vnode,i=ap(e);Ym(e,n,i,t),Xm(e,r);const o=i?p0(e,t):void 0;return si=!1,o}function p0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=jd(new Proxy(e.ctx,Nm));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?m0(e):null;yr(e),Cr();const o=wn(r,e,0,[e.props,i]);if(Tr(),Vn(),pd(o)){if(o.then(Vn,Vn),t)return o.then(s=>{kc(e,s,t)}).catch(s=>{No(s,e,0)});e.asyncDep=o}else kc(e,o,t)}else cp(e,t)}function kc(e,t,n){ue(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=$d(t)),cp(e,n)}let jc;function cp(e,t,n){const r=e.type;if(!e.render){if(!t&&jc&&!r.render){const i=r.template||ua(e).template;if(i){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Ke(Ke({isCustomElement:o,delimiters:l},s),a);r.render=jc(i,c)}}e.render=r.render||Ft}{yr(e),Cr();try{Vm(e)}finally{Tr(),Vn()}}}function h0(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ft(e,"get","$attrs"),t[n]}}))}function m0(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return h0(e)},slots:e.slots,emit:e.emit,expose:t}}function Go(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($d(jd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Gr)return Gr[n](e)},has(t,n){return n in t||n in Gr}}))}function g0(e,t=!0){return ue(e)?e.displayName||e.name:e.name||t&&e.__name}function y0(e){return ue(e)&&"__vccOpts"in e}const Ce=(e,t)=>dm(e,t,si);function Un(e,t,n){const r=arguments.length;return r===2?ke(t)&&!se(t)?mo(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&mo(n)&&(n=[n]),ie(e,t,n))}const v0=Symbol.for("v-scx"),b0=()=>It(v0),x0="3.3.7",w0="http://www.w3.org/2000/svg",Dn=typeof document<"u"?document:null,Pc=Dn&&Dn.createElement("template"),_0={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 i=t?Dn.createElementNS(w0,e):Dn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Dn.createTextNode(e),createComment:e=>Dn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Dn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Pc.innerHTML=r?`${e}`:e;const l=Pc.content;if(r){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dn="transition",Ar="animation",li=Symbol("_vtc"),Er=(e,{slots:t})=>Un(Em,O0(e),t);Er.displayName="Transition";const up={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};Er.props=Ke({},Ud,up);const jn=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Lc=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function O0(e){const t={};for(const V in e)V in up||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:c=s,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=S0(i),m=h&&h[0],v=h&&h[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:S,onBeforeAppear:I=y,onAppear:j=b,onAppearCancelled:H=_}=t,Z=(V,X,pe)=>{Pn(V,X?u:l),Pn(V,X?c:s),pe&&pe()},q=(V,X)=>{V._isLeaving=!1,Pn(V,f),Pn(V,p),Pn(V,d),X&&X()},z=V=>(X,pe)=>{const xe=V?j:b,ce=()=>Z(X,V,pe);jn(xe,[X,ce]),Fc(()=>{Pn(X,V?a:o),pn(X,V?u:l),Lc(xe)||$c(X,r,m,ce)})};return Ke(t,{onBeforeEnter(V){jn(y,[V]),pn(V,o),pn(V,s)},onBeforeAppear(V){jn(I,[V]),pn(V,a),pn(V,c)},onEnter:z(!1),onAppear:z(!0),onLeave(V,X){V._isLeaving=!0;const pe=()=>q(V,X);pn(V,f),T0(),pn(V,d),Fc(()=>{V._isLeaving&&(Pn(V,f),pn(V,p),Lc(w)||$c(V,r,v,pe))}),jn(w,[V,pe])},onEnterCancelled(V){Z(V,!1),jn(_,[V])},onAppearCancelled(V){Z(V,!0),jn(H,[V])},onLeaveCancelled(V){q(V),jn(S,[V])}})}function S0(e){if(e==null)return null;if(ke(e))return[ms(e.enter),ms(e.leave)];{const t=ms(e);return[t,t]}}function ms(e){return j1(e)}function pn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[li]||(e[li]=new Set)).add(t)}function Pn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[li];n&&(n.delete(t),n.size||(e[li]=void 0))}function Fc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let I0=0;function $c(e,t,n,r){const i=e._endId=++I0,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:l,propCount:a}=C0(e,t);if(!s)return r();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=p=>{p.target===e&&++u>=a&&f()};setTimeout(()=>{u(n[h]||"").split(", "),i=r(`${dn}Delay`),o=r(`${dn}Duration`),s=Dc(i,o),l=r(`${Ar}Delay`),a=r(`${Ar}Duration`),c=Dc(l,a);let u=null,f=0,d=0;t===dn?s>0&&(u=dn,f=s,d=o.length):t===Ar?c>0&&(u=Ar,f=c,d=a.length):(f=Math.max(s,c),u=f>0?s>c?dn:Ar:null,d=u?u===dn?o.length:a.length:0);const p=u===dn&&/\b(transform|all)(,|$)/.test(r(`${dn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Dc(e,t){for(;e.lengthRc(n)+Rc(e[r])))}function Rc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function T0(){return document.body.offsetHeight}function E0(e,t,n){const r=e[li];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ga=Symbol("_vod"),nl={beforeMount(e,{value:t},{transition:n}){e[ga]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):kr(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),kr(e,!0),r.enter(e)):r.leave(e,()=>{kr(e,!1)}):kr(e,t))},beforeUnmount(e,{value:t}){kr(e,t)}};function kr(e,t){e.style.display=t?e[ga]:"none"}function M0(e,t,n){const r=e.style,i=$e(n);if(n&&!i){if(t&&!$e(t))for(const o in t)n[o]==null&&rl(r,o,"");for(const o in n)rl(r,o,n[o])}else{const o=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),ga in e&&(r.display=o)}}const zc=/\s*!important$/;function rl(e,t,n){if(se(n))n.forEach(r=>rl(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=A0(e,t);zc.test(n)?e.setProperty(Ir(r),n.replace(zc,""),"important"):e[r]=n}}const Nc=["Webkit","Moz","ms"],gs={};function A0(e,t){const n=gs[t];if(n)return n;let r=Gt(t);if(r!=="filter"&&r in e)return gs[t]=r;r=Do(r);for(let i=0;iys||(D0.then(()=>ys=0),ys=Date.now());function z0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;St(N0(r,n.value),t,5,[r])};return n.value=e,n.attached=R0(),n}function N0(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Uc=/^on[a-z]/,V0=(e,t,n,r,i=!1,o,s,l,a)=>{t==="class"?E0(e,r,i):t==="style"?M0(e,n,r):Po(t)?Gl(t)||F0(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):H0(e,t,r,i))?j0(e,t,r,o,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),k0(e,t,r,i))};function H0(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Uc.test(t)&&ue(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Uc.test(t)&&$e(n)?!1:t in e}const B0=["ctrl","shift","alt","meta"],U0={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)=>B0.some(n=>e[`${n}Key`]&&!t.includes(n))},Kc=(e,t)=>(n,...r)=>{for(let i=0;i{const t=W0().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Y0(r);if(!i)return;const o=t._component;!ue(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t};function Y0(e){return $e(e)?document.querySelector(e):e}/*! +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Gl(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const Me={},ur=[],Ft=()=>{},I1=()=>!1,C1=/^on[^a-z]/,Lo=e=>C1.test(e),Yl=e=>e.startsWith("onUpdate:"),Ke=Object.assign,ql=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},T1=Object.prototype.hasOwnProperty,ge=(e,t)=>T1.call(e,t),se=Array.isArray,fr=e=>$o(e)==="[object Map]",dd=e=>$o(e)==="[object Set]",ue=e=>typeof e=="function",$e=e=>typeof e=="string",Fo=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",pd=e=>(ke(e)||ue(e))&&ue(e.then)&&ue(e.catch),hd=Object.prototype.toString,$o=e=>hd.call(e),E1=e=>$o(e).slice(8,-1),md=e=>$o(e)==="[object Object]",Zl=e=>$e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ji=Gl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Do=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},M1=/-(\w)/g,Gt=Do(e=>e.replace(M1,(t,n)=>n?n.toUpperCase():"")),A1=/\B([A-Z])/g,Ir=Do(e=>e.replace(A1,"-$1").toLowerCase()),Ro=Do(e=>e.charAt(0).toUpperCase()+e.slice(1)),us=Do(e=>e?`on${Ro(e)}`:""),Bn=(e,t)=>!Object.is(e,t),fs=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},k1=e=>{const t=parseFloat(e);return isNaN(t)?e:t},j1=e=>{const t=$e(e)?Number(e):NaN;return isNaN(t)?e:t};let cc;const Bs=()=>cc||(cc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zo(e){if(se(e)){const t={};for(let n=0;n{if(n){const r=n.split(L1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ae(e){let t="";if($e(e))t=e;else if(se(e))for(let n=0;n$e(e)?e:e==null?"":se(e)||ke(e)&&(e.toString===hd||!ue(e.toString))?JSON.stringify(e,vd,2):String(e),vd=(e,t)=>t&&t.__v_isRef?vd(e,t.value):fr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:dd(t)?{[`Set(${t.size})`]:[...t.values()]}:ke(t)&&!se(t)&&!md(t)?String(t):t;let Mt;class bd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Mt,!t&&Mt&&(this.index=(Mt.scopes||(Mt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Mt;try{return Mt=this,t()}finally{Mt=n}}}on(){Mt=this}off(){Mt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},xd=e=>(e.w&On)>0,wd=e=>(e.n&On)>0,H1=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||!Fo(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":se(e)?Zl(n)&&l.push(s.get("length")):(l.push(s.get(Nn)),fr(e)&&l.push(s.get(Ws)));break;case"delete":se(e)||(l.push(s.get(Nn)),fr(e)&&l.push(s.get(Ws)));break;case"set":fr(e)&&l.push(s.get(Nn));break}if(l.length===1)l[0]&&Gs(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);Gs(Xl(a))}}function Gs(e,t){const n=se(e)?e:[...e];for(const r of n)r.computed&&fc(r);for(const r of n)r.computed||fc(r)}function fc(e,t){(e!==jt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const U1=Gl("__proto__,__v_isRef,__isVue"),Sd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fo)),dc=K1();function K1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ve(this);for(let o=0,s=this.length;o{e[t]=function(...n){Cr();const r=ve(this)[t].apply(this,n);return Tr(),r}}),e}function W1(e){const t=ve(this);return ft(t,"has",e),t.hasOwnProperty(e)}class Id{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const i=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&r===(i?o?om:Md:o?Ed:Td).get(t))return t;const s=se(t);if(!i){if(s&&ge(dc,n))return Reflect.get(dc,n,r);if(n==="hasOwnProperty")return W1}const l=Reflect.get(t,n,r);return(Fo(n)?Sd.has(n):U1(n))||(i||ft(t,"get",n),o)?l:et(l)?s&&Zl(n)?l:l.value:ke(l)?i?ta(l):an(l):l}}class Cd extends Id{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(gr(o)&&et(o)&&!et(r))return!1;if(!this._shallow&&(!uo(r)&&!gr(r)&&(o=ve(o),r=ve(r)),!se(t)&&et(o)&&!et(r)))return o.value=r,!0;const s=se(t)&&Zl(n)?Number(n)e,No=e=>Reflect.getPrototypeOf(e);function Ri(e,t,n=!1,r=!1){e=e.__v_raw;const i=ve(e),o=ve(t);n||(Bn(t,o)&&ft(i,"get",t),ft(i,"get",o));const{has:s}=No(i),l=r?Jl:n?ra:ni;if(s.call(i,t))return l(e.get(t));if(s.call(i,o))return l(e.get(o));e!==i&&e.get(t)}function zi(e,t=!1){const n=this.__v_raw,r=ve(n),i=ve(e);return t||(Bn(e,i)&&ft(r,"has",e),ft(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Ni(e,t=!1){return e=e.__v_raw,!t&&ft(ve(e),"iterate",Nn),Reflect.get(e,"size",e)}function pc(e){e=ve(e);const t=ve(this);return No(t).has.call(t,e)||(t.add(e),nn(t,"add",e,e)),this}function hc(e,t){t=ve(t);const n=ve(this),{has:r,get:i}=No(n);let o=r.call(n,e);o||(e=ve(e),o=r.call(n,e));const s=i.call(n,e);return n.set(e,t),o?Bn(t,s)&&nn(n,"set",e,t):nn(n,"add",e,t),this}function mc(e){const t=ve(this),{has:n,get:r}=No(t);let i=n.call(t,e);i||(e=ve(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&nn(t,"delete",e,void 0),o}function gc(){const e=ve(this),t=e.size!==0,n=e.clear();return t&&nn(e,"clear",void 0,void 0),n}function Vi(e,t){return function(r,i){const o=this,s=o.__v_raw,l=ve(s),a=t?Jl:e?ra:ni;return!e&&ft(l,"iterate",Nn),s.forEach((c,u)=>r.call(i,a(c),a(u),o))}}function Hi(e,t,n){return function(...r){const i=this.__v_raw,o=ve(i),s=fr(o),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=i[e](...r),u=n?Jl:t?ra:ni;return!t&&ft(o,"iterate",a?Ws:Nn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function fn(e){return function(...t){return e==="delete"?!1:this}}function X1(){const e={get(o){return Ri(this,o)},get size(){return Ni(this)},has:zi,add:pc,set:hc,delete:mc,clear:gc,forEach:Vi(!1,!1)},t={get(o){return Ri(this,o,!1,!0)},get size(){return Ni(this)},has:zi,add:pc,set:hc,delete:mc,clear:gc,forEach:Vi(!1,!0)},n={get(o){return Ri(this,o,!0)},get size(){return Ni(this,!0)},has(o){return zi.call(this,o,!0)},add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear"),forEach:Vi(!0,!1)},r={get(o){return Ri(this,o,!0,!0)},get size(){return Ni(this,!0)},has(o){return zi.call(this,o,!0)},add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear"),forEach:Vi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Hi(o,!1,!1),n[o]=Hi(o,!0,!1),t[o]=Hi(o,!1,!0),r[o]=Hi(o,!0,!0)}),[e,n,t,r]}const[Q1,J1,em,tm]=X1();function ea(e,t){const n=t?e?tm:em:e?J1:Q1;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ge(n,i)&&i in r?n:r,i,o)}const nm={get:ea(!1,!1)},rm={get:ea(!1,!0)},im={get:ea(!0,!1)},Td=new WeakMap,Ed=new WeakMap,Md=new WeakMap,om=new WeakMap;function sm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lm(e){return e.__v_skip||!Object.isExtensible(e)?0:sm(E1(e))}function an(e){return gr(e)?e:na(e,!1,Y1,nm,Td)}function Ad(e){return na(e,!1,Z1,rm,Ed)}function ta(e){return na(e,!0,q1,im,Md)}function na(e,t,n,r,i){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const s=lm(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return i.set(e,l),l}function dr(e){return gr(e)?dr(e.__v_raw):!!(e&&e.__v_isReactive)}function gr(e){return!!(e&&e.__v_isReadonly)}function uo(e){return!!(e&&e.__v_isShallow)}function kd(e){return dr(e)||gr(e)}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function jd(e){return co(e,"__v_skip",!0),e}const ni=e=>ke(e)?an(e):e,ra=e=>ke(e)?ta(e):e;function Pd(e){xn&&jt&&(e=ve(e),Od(e.dep||(e.dep=Xl())))}function Ld(e,t){e=ve(e);const n=e.dep;n&&Gs(n)}function et(e){return!!(e&&e.__v_isRef===!0)}function fe(e){return Fd(e,!1)}function am(e){return Fd(e,!0)}function Fd(e,t){return et(e)?e:new cm(e,t)}class cm{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ve(t),this._value=n?t:ni(t)}get value(){return Pd(this),this._value}set value(t){const n=this.__v_isShallow||uo(t)||gr(t);t=n?t:ve(t),Bn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ni(t),Ld(this))}}function Oe(e){return et(e)?e.value:e}const um={get:(e,t,n)=>Oe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return et(i)&&!et(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function $d(e){return dr(e)?e:new Proxy(e,um)}class fm{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ql(t,()=>{this._dirty||(this._dirty=!0,Ld(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=ve(this);return Pd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function dm(e,t,n=!1){let r,i;const o=ue(e);return o?(r=e,i=Ft):(r=e.get,i=e.set),new fm(r,i,o||!i,n)}function wn(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){Vo(o,t,n)}return i}function St(e,t,n,r){if(ue(e)){const o=wn(e,t,n,r);return o&&pd(o)&&o.catch(s=>{Vo(s,t,n)}),o}const i=[];for(let o=0;o>>1,i=rt[r],o=ii(i);oKt&&rt.splice(t,1)}function gm(e){se(e)?pr.push(...e):(!Qt||!Qt.includes(e,e.allowRecurse?Fn+1:Fn))&&pr.push(e),Rd()}function yc(e,t=ri?Kt+1:0){for(;tii(n)-ii(r)),Fn=0;Fne.id==null?1/0:e.id,ym=(e,t)=>{const n=ii(e)-ii(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Nd(e){Ys=!1,ri=!0,rt.sort(ym);const t=Ft;try{for(Kt=0;Kt$e(p)?p.trim():p)),f&&(i=n.map(k1))}let l,a=r[l=us(t)]||r[l=us(Gt(t))];!a&&o&&(a=r[l=us(Ir(t))]),a&&St(a,e,6,i);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,St(c,e,6,i)}}function Vd(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let s={},l=!1;if(!ue(e)){const a=c=>{const u=Vd(c,t,!0);u&&(l=!0,Ke(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(ke(e)&&r.set(e,null),null):(se(o)?o.forEach(a=>s[a]=null):Ke(s,o),ke(e)&&r.set(e,s),s)}function Bo(e,t){return!e||!Lo(t)?!1:(t=t.slice(2).replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,Ir(t))||ge(e,t))}let tt=null,Uo=null;function fo(e){const t=tt;return tt=e,Uo=e&&e.type.__scopeId||null,t}function sa(e){Uo=e}function la(){Uo=null}function He(e,t=tt,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Ac(-1);const o=fo(t);let s;try{s=e(...i)}finally{fo(o),r._d&&Ac(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function ds(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e;let v,y;const b=fo(e);try{if(n.shapeFlag&4){const w=i||r;v=Ht(u.call(w,w,f,o,p,d,h)),y=a}else{const w=t;v=Ht(w.length>1?w(o,{attrs:a,slots:l,emit:c}):w(o,null)),y=t.props?a:bm(a)}}catch(w){qr.length=0,Vo(w,e,1),v=ie(Ct)}let _=v;if(y&&m!==!1){const w=Object.keys(y),{shapeFlag:S}=_;w.length&&S&7&&(s&&w.some(Yl)&&(y=xm(y,s)),_=In(_,y))}return n.dirs&&(_=In(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,fo(b),v}const bm=e=>{let t;for(const n in e)(n==="class"||n==="style"||Lo(n))&&((t||(t={}))[n]=e[n]);return t},xm=(e,t)=>{const n={};for(const r in e)(!Yl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function wm(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?vc(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Sm(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):gm(e)}const Bi={};function Ze(e,t,n){return Hd(e,t,n)}function Hd(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:s}=Me){var l;const a=V1()===((l=Ge)==null?void 0:l.scope)?Ge:null;let c,u=!1,f=!1;if(et(e)?(c=()=>e.value,u=uo(e)):dr(e)?(c=()=>e,r=!0):se(e)?(f=!0,u=e.some(w=>dr(w)||uo(w)),c=()=>e.map(w=>{if(et(w))return w.value;if(dr(w))return Rn(w);if(ue(w))return wn(w,a,2)})):ue(e)?t?c=()=>wn(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return d&&d(),St(e,a,3,[p])}:c=Ft,t&&r){const w=c;c=()=>Rn(w())}let d,p=w=>{d=b.onStop=()=>{wn(w,a,4)}},h;if(si)if(p=Ft,t?n&&St(t,a,3,[c(),f?[]:void 0,p]):c(),i==="sync"){const w=b0();h=w.__watcherHandles||(w.__watcherHandles=[])}else return Ft;let m=f?new Array(e.length).fill(Bi):Bi;const v=()=>{if(b.active)if(t){const w=b.run();(r||u||(f?w.some((S,I)=>Bn(S,m[I])):Bn(w,m)))&&(d&&d(),St(t,a,3,[w,m===Bi?void 0:f&&m[0]===Bi?[]:m,p]),m=w)}else b.run()};v.allowRecurse=!!t;let y;i==="sync"?y=v:i==="post"?y=()=>ct(v,a&&a.suspense):(v.pre=!0,a&&(v.id=a.uid),y=()=>oa(v));const b=new Ql(c,y);t?n?v():m=b.run():i==="post"?ct(b.run.bind(b),a&&a.suspense):b.run();const _=()=>{b.stop(),a&&a.scope&&ql(a.scope.effects,b)};return h&&h.push(_),_}function Im(e,t,n){const r=this.proxy,i=$e(e)?e.includes(".")?Bd(r,e):()=>r[e]:e.bind(r,r);let o;ue(t)?o=t:(o=t.handler,n=t);const s=Ge;yr(this);const l=Hd(i,o.bind(r),n);return s?yr(s):Vn(),l}function Bd(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{Rn(n,t)});else if(md(e))for(const n in e)Rn(e[n],t);return e}function _t(e,t){const n=tt;if(n===null)return e;const r=Yo(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Yd(()=>{e.isUnmounting=!0}),e}const xt=[Function,Array],Ud={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xt,onEnter:xt,onAfterEnter:xt,onEnterCancelled:xt,onBeforeLeave:xt,onLeave:xt,onAfterLeave:xt,onLeaveCancelled:xt,onBeforeAppear:xt,onAppear:xt,onAfterAppear:xt,onAppearCancelled:xt},Tm={name:"BaseTransition",props:Ud,setup(e,{slots:t}){const n=ji(),r=Cm();let i;return()=>{const o=t.default&&Wd(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const m of o)if(m.type!==Ct){s=m;break}}const l=ve(e),{mode:a}=l;if(r.isLeaving)return ps(s);const c=bc(s);if(!c)return ps(s);const u=qs(c,l,r,n);Zs(c,u);const f=n.subTree,d=f&&bc(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const m=h();i===void 0?i=m:m!==i&&(i=m,p=!0)}if(d&&d.type!==Ct&&(!$n(c,d)||p)){const m=qs(d,l,r,n);if(Zs(d,m),a==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},ps(s);a==="in-out"&&c.type!==Ct&&(m.delayLeave=(v,y,b)=>{const _=Kd(r,d);_[String(d.key)]=d,v[yn]=()=>{y(),v[yn]=void 0,delete u.delayedLeave},u.delayedLeave=b})}return s}}},Em=Tm;function Kd(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 qs(e,t,n,r){const{appear:i,mode:o,persisted:s=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=Kd(n,e),S=(H,Z)=>{H&&St(H,r,9,Z)},I=(H,Z)=>{const q=Z[1];S(H,Z),se(H)?H.every(z=>z.length<=1)&&q():H.length<=1&&q()},j={mode:o,persisted:s,beforeEnter(H){let Z=l;if(!n.isMounted)if(i)Z=m||l;else return;H[yn]&&H[yn](!0);const q=w[_];q&&$n(e,q)&&q.el[yn]&&q.el[yn](),S(Z,[H])},enter(H){let Z=a,q=c,z=u;if(!n.isMounted)if(i)Z=v||a,q=y||c,z=b||u;else return;let V=!1;const X=H[Ui]=pe=>{V||(V=!0,pe?S(z,[H]):S(q,[H]),j.delayedLeave&&j.delayedLeave(),H[Ui]=void 0)};Z?I(Z,[H,X]):X()},leave(H,Z){const q=String(e.key);if(H[Ui]&&H[Ui](!0),n.isUnmounting)return Z();S(f,[H]);let z=!1;const V=H[yn]=X=>{z||(z=!0,Z(),X?S(h,[H]):S(p,[H]),H[yn]=void 0,w[q]===e&&delete w[q])};w[q]=e,d?I(d,[H,V]):V()},clone(H){return qs(H,t,n,r)}};return j}function ps(e){if(Ko(e))return e=In(e),e.children=null,e}function bc(e){return Ko(e)?e.children?e.children[0]:void 0:e}function Zs(e,t){e.shapeFlag&6&&e.component?Zs(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 Wd(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;oKe({name:e.name},t,{setup:e}))():e}const Wr=e=>!!e.type.__asyncLoader,Ko=e=>e.type.__isKeepAlive;function Mm(e,t){Gd(e,"a",t)}function Am(e,t){Gd(e,"da",t)}function Gd(e,t,n=Ge){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Wo(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Ko(i.parent.vnode)&&km(r,t,n,i),i=i.parent}}function km(e,t,n,r){const i=Wo(t,e,r,!0);aa(()=>{ql(r[t],i)},n)}function Wo(e,t,n=Ge,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;Cr(),yr(n);const l=St(t,n,e,s);return Vn(),Tr(),l});return r?i.unshift(o):i.push(o),o}}const cn=e=>(t,n=Ge)=>(!si||e==="sp")&&Wo(e,(...r)=>t(...r),n),jm=cn("bm"),pt=cn("m"),Pm=cn("bu"),Lm=cn("u"),Yd=cn("bum"),aa=cn("um"),Fm=cn("sp"),$m=cn("rtg"),Dm=cn("rtc");function Rm(e,t=Ge){Wo("ec",e,t)}const ca="components",zm="directives";function gt(e,t){return ua(ca,e,!0,t)||e}const qd=Symbol.for("v-ndc");function wt(e){return $e(e)?ua(ca,e,!1)||e:e||qd}function Sn(e){return ua(zm,e)}function ua(e,t,n=!0,r=!1){const i=tt||Ge;if(i){const o=i.type;if(e===ca){const l=g0(o,!1);if(l&&(l===t||l===Gt(t)||l===Ro(Gt(t))))return o}const s=xc(i[e]||o[e],t)||xc(i.appContext[e],t);return!s&&r?o:s}}function xc(e,t){return e&&(e[t]||e[Gt(t)]||e[Ro(Gt(t))])}function qe(e,t,n,r){let i;const o=n&&n[r];if(se(e)||$e(e)){i=new Array(e.length);for(let s=0,l=e.length;st(s,l,void 0,o&&o[l]));else{const s=Object.keys(e);i=new Array(s.length);for(let l=0,a=s.length;l{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function oe(e,t,n={},r,i){if(tt.isCE||tt.parent&&Wr(tt.parent)&&tt.parent.isCE)return t!=="default"&&(n.name=t),ie("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),E();const s=o&&Xd(o(n)),l=Le(ae,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Xd(e){return e.some(t=>mo(t)?!(t.type===Ct||t.type===ae&&!Xd(t.children)):!0)?e:null}const Xs=e=>e?ap(e)?Yo(e)||e.proxy:Xs(e.parent):null,Gr=Ke(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=>Xs(e.parent),$root:e=>Xs(e.root),$emit:e=>e.emit,$options:e=>fa(e),$forceUpdate:e=>e.f||(e.f=()=>oa(e.update)),$nextTick:e=>e.n||(e.n=Ho.bind(e.proxy)),$watch:e=>Im.bind(e)}),hs=(e,t)=>e!==Me&&!e.__isScriptSetup&&ge(e,t),Nm={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(hs(r,t))return s[t]=1,r[t];if(i!==Me&&ge(i,t))return s[t]=2,i[t];if((c=e.propsOptions[0])&&ge(c,t))return s[t]=3,o[t];if(n!==Me&&ge(n,t))return s[t]=4,n[t];Qs&&(s[t]=0)}}const u=Gr[t];let f,d;if(u)return t==="$attrs"&&ft(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Me&&ge(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,ge(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return hs(i,t)?(i[t]=n,!0):r!==Me&&ge(r,t)?(r[t]=n,!0):ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},s){let l;return!!n[s]||e!==Me&&ge(e,s)||hs(t,s)||(l=o[0])&&ge(l,s)||ge(r,s)||ge(Gr,s)||ge(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ge(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function wc(e){return se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Qs=!0;function Vm(e){const t=fa(e),n=e.proxy,r=e.ctx;Qs=!1,t.beforeCreate&&_c(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:y,beforeUnmount:b,destroyed:_,unmounted:w,render:S,renderTracked:I,renderTriggered:j,errorCaptured:H,serverPrefetch:Z,expose:q,inheritAttrs:z,components:V,directives:X,filters:pe}=t;if(c&&Hm(c,r,null),s)for(const re in s){const le=s[re];ue(le)&&(r[re]=le.bind(n))}if(i){const re=i.call(n,n);ke(re)&&(e.data=an(re))}if(Qs=!0,o)for(const re in o){const le=o[re],we=ue(le)?le.bind(n,n):ue(le.get)?le.get.bind(n,n):Ft,it=!ue(le)&&ue(le.set)?le.set.bind(n):Ft,De=Ce({get:we,set:it});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>De.value,set:je=>De.value=je})}if(l)for(const re in l)Qd(l[re],r,n,re);if(a){const re=ue(a)?a.call(n):a;Reflect.ownKeys(re).forEach(le=>{eo(le,re[le])})}u&&_c(u,e,"c");function ce(re,le){se(le)?le.forEach(we=>re(we.bind(n))):le&&re(le.bind(n))}if(ce(jm,f),ce(pt,d),ce(Pm,p),ce(Lm,h),ce(Mm,m),ce(Am,v),ce(Rm,H),ce(Dm,I),ce($m,j),ce(Yd,b),ce(aa,w),ce(Fm,Z),se(q))if(q.length){const re=e.exposed||(e.exposed={});q.forEach(le=>{Object.defineProperty(re,le,{get:()=>n[le],set:we=>n[le]=we})})}else e.exposed||(e.exposed={});S&&e.render===Ft&&(e.render=S),z!=null&&(e.inheritAttrs=z),V&&(e.components=V),X&&(e.directives=X)}function Hm(e,t,n=Ft){se(e)&&(e=Js(e));for(const r in e){const i=e[r];let o;ke(i)?"default"in i?o=It(i.from||r,i.default,!0):o=It(i.from||r):o=It(i),et(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[r]=o}}function _c(e,t,n){St(se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qd(e,t,n,r){const i=r.includes(".")?Bd(n,r):()=>n[r];if($e(e)){const o=t[e];ue(o)&&Ze(i,o)}else if(ue(e))Ze(i,e.bind(n));else if(ke(e))if(se(e))e.forEach(o=>Qd(o,t,n,r));else{const o=ue(e.handler)?e.handler.bind(n):t[e.handler];ue(o)&&Ze(i,o,e)}}function fa(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,l=o.get(t);let a;return l?a=l:!i.length&&!n&&!r?a=t:(a={},i.length&&i.forEach(c=>po(a,c,s,!0)),po(a,t,s)),ke(t)&&o.set(t,a),a}function po(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&po(e,o,n,!0),i&&i.forEach(s=>po(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Bm[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Bm={data:Oc,props:Sc,emits:Sc,methods:Vr,computed:Vr,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:Vr,directives:Vr,watch:Km,provide:Oc,inject:Um};function Oc(e,t){return t?e?function(){return Ke(ue(e)?e.call(this,this):e,ue(t)?t.call(this,this):t)}:t:e}function Um(e,t){return Vr(Js(e),Js(t))}function Js(e){if(se(e)){const t={};for(let n=0;n1)return n&&ue(t)?t.call(r&&r.proxy):t}}function Ym(e,t,n,r=!1){const i={},o={};co(o,Go,1),e.propsDefaults=Object.create(null),ep(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=r?i:Ad(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function qm(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,l=ve(i),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,p]=tp(f,t,!0);Ke(s,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return ke(e)&&r.set(e,ur),ur;if(se(o))for(let u=0;u-1,p[1]=m<0||h-1||ge(p,"default"))&&l.push(f)}}}const c=[s,l];return ke(e)&&r.set(e,c),c}function Ic(e){return e[0]!=="$"}function Cc(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Tc(e,t){return Cc(e)===Cc(t)}function Ec(e,t){return se(t)?t.findIndex(n=>Tc(n,e)):ue(t)&&Tc(t,e)?0:-1}const np=e=>e[0]==="_"||e==="$stable",da=e=>se(e)?e.map(Ht):[Ht(e)],Zm=(e,t,n)=>{if(t._n)return t;const r=He((...i)=>da(t(...i)),n);return r._c=!1,r},rp=(e,t,n)=>{const r=e._ctx;for(const i in e){if(np(i))continue;const o=e[i];if(ue(o))t[i]=Zm(i,o,r);else if(o!=null){const s=da(o);t[i]=()=>s}}},ip=(e,t)=>{const n=da(t);e.slots.default=()=>n},Xm=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ve(t),co(t,"_",n)):rp(t,e.slots={})}else e.slots={},t&&ip(e,t);co(e.slots,Go,1)},Qm=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,s=Me;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Ke(i,t),!n&&l===1&&delete i._):(o=!t.$stable,rp(t,i)),s=t}else t&&(ip(e,t),s={default:1});if(o)for(const l in i)!np(l)&&s[l]==null&&delete i[l]};function tl(e,t,n,r,i=!1){if(se(e)){e.forEach((d,p)=>tl(d,t&&(se(t)?t[p]:t),n,r,i));return}if(Wr(r)&&!i)return;const o=r.shapeFlag&4?Yo(r.component)||r.component.proxy:r.el,s=i?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===Me?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&($e(c)?(u[c]=null,ge(f,c)&&(f[c]=null)):et(c)&&(c.value=null)),ue(a))wn(a,l,12,[s,u]);else{const d=$e(a),p=et(a);if(d||p){const h=()=>{if(e.f){const m=d?ge(f,a)?f[a]:u[a]:a.value;i?se(m)&&ql(m,o):se(m)?m.includes(o)||m.push(o):d?(u[a]=[o],ge(f,a)&&(f[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,ge(f,a)&&(f[a]=s)):p&&(a.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,ct(h,n)):h()}}}const ct=Sm;function Jm(e){return e0(e)}function e0(e,t){const n=Bs();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Ft,insertStaticContent:h}=e,m=(g,x,O,k=null,P=null,R=null,G=!1,K=null,W=!!x.dynamicChildren)=>{if(g===x)return;g&&!$n(g,x)&&(k=$(g),je(g,P,R,!0),g=null),x.patchFlag===-2&&(W=!1,x.dynamicChildren=null);const{type:D,ref:C,shapeFlag:T}=x;switch(D){case ki:v(g,x,O,k);break;case Ct:y(g,x,O,k);break;case ms:g==null&&b(x,O,k,G);break;case ae:V(g,x,O,k,P,R,G,K,W);break;default:T&1?S(g,x,O,k,P,R,G,K,W):T&6?X(g,x,O,k,P,R,G,K,W):(T&64||T&128)&&D.process(g,x,O,k,P,R,G,K,W,A)}C!=null&&P&&tl(C,g&&g.ref,R,x||g,!x)},v=(g,x,O,k)=>{if(g==null)r(x.el=l(x.children),O,k);else{const P=x.el=g.el;x.children!==g.children&&c(P,x.children)}},y=(g,x,O,k)=>{g==null?r(x.el=a(x.children||""),O,k):x.el=g.el},b=(g,x,O,k)=>{[g.el,g.anchor]=h(g.children,x,O,k,g.el,g.anchor)},_=({el:g,anchor:x},O,k)=>{let P;for(;g&&g!==x;)P=d(g),r(g,O,k),g=P;r(x,O,k)},w=({el:g,anchor:x})=>{let O;for(;g&&g!==x;)O=d(g),i(g),g=O;i(x)},S=(g,x,O,k,P,R,G,K,W)=>{G=G||x.type==="svg",g==null?I(x,O,k,P,R,G,K,W):Z(g,x,P,R,G,K,W)},I=(g,x,O,k,P,R,G,K)=>{let W,D;const{type:C,props:T,shapeFlag:J,transition:te,dirs:de}=g;if(W=g.el=s(g.type,R,T&&T.is,T),J&8?u(W,g.children):J&16&&H(g.children,W,null,k,P,R&&C!=="foreignObject",G,K),de&&An(g,null,k,"created"),j(W,g,g.scopeId,G,k),T){for(const he in T)he!=="value"&&!Ji(he)&&o(W,he,null,T[he],R,g.children,k,P,Ve);"value"in T&&o(W,"value",null,T.value),(D=T.onVnodeBeforeMount)&&Nt(D,k,g)}de&&An(g,null,k,"beforeMount");const _e=t0(P,te);_e&&te.beforeEnter(W),r(W,x,O),((D=T&&T.onVnodeMounted)||_e||de)&&ct(()=>{D&&Nt(D,k,g),_e&&te.enter(W),de&&An(g,null,k,"mounted")},P)},j=(g,x,O,k,P)=>{if(O&&p(g,O),k)for(let R=0;R{for(let D=W;D{const K=x.el=g.el;let{patchFlag:W,dynamicChildren:D,dirs:C}=x;W|=g.patchFlag&16;const T=g.props||Me,J=x.props||Me;let te;O&&kn(O,!1),(te=J.onVnodeBeforeUpdate)&&Nt(te,O,x,g),C&&An(x,g,O,"beforeUpdate"),O&&kn(O,!0);const de=P&&x.type!=="foreignObject";if(D?q(g.dynamicChildren,D,K,O,k,de,R):G||le(g,x,K,null,O,k,de,R,!1),W>0){if(W&16)z(K,x,T,J,O,k,P);else if(W&2&&T.class!==J.class&&o(K,"class",null,J.class,P),W&4&&o(K,"style",T.style,J.style,P),W&8){const _e=x.dynamicProps;for(let he=0;he<_e.length;he++){const Re=_e[he],bt=T[Re],Jn=J[Re];(Jn!==bt||Re==="value")&&o(K,Re,bt,Jn,P,g.children,O,k,Ve)}}W&1&&g.children!==x.children&&u(K,x.children)}else!G&&D==null&&z(K,x,T,J,O,k,P);((te=J.onVnodeUpdated)||C)&&ct(()=>{te&&Nt(te,O,x,g),C&&An(x,g,O,"updated")},k)},q=(g,x,O,k,P,R,G)=>{for(let K=0;K{if(O!==k){if(O!==Me)for(const K in O)!Ji(K)&&!(K in k)&&o(g,K,O[K],null,G,x.children,P,R,Ve);for(const K in k){if(Ji(K))continue;const W=k[K],D=O[K];W!==D&&K!=="value"&&o(g,K,D,W,G,x.children,P,R,Ve)}"value"in k&&o(g,"value",O.value,k.value)}},V=(g,x,O,k,P,R,G,K,W)=>{const D=x.el=g?g.el:l(""),C=x.anchor=g?g.anchor:l("");let{patchFlag:T,dynamicChildren:J,slotScopeIds:te}=x;te&&(K=K?K.concat(te):te),g==null?(r(D,O,k),r(C,O,k),H(x.children,O,C,P,R,G,K,W)):T>0&&T&64&&J&&g.dynamicChildren?(q(g.dynamicChildren,J,O,P,R,G,K),(x.key!=null||P&&x===P.subTree)&&pa(g,x,!0)):le(g,x,O,C,P,R,G,K,W)},X=(g,x,O,k,P,R,G,K,W)=>{x.slotScopeIds=K,g==null?x.shapeFlag&512?P.ctx.activate(x,O,k,G,W):pe(x,O,k,P,R,G,W):xe(g,x,W)},pe=(g,x,O,k,P,R,G)=>{const K=g.component=f0(g,k,P);if(Ko(g)&&(K.ctx.renderer=A),d0(K),K.asyncDep){if(P&&P.registerDep(K,ce),!g.el){const W=K.subTree=ie(Ct);y(null,W,x,O)}return}ce(K,g,x,O,P,R,G)},xe=(g,x,O)=>{const k=x.component=g.component;if(wm(g,x,O))if(k.asyncDep&&!k.asyncResolved){re(k,x,O);return}else k.next=x,mm(k.update),k.update();else x.el=g.el,k.vnode=x},ce=(g,x,O,k,P,R,G)=>{const K=()=>{if(g.isMounted){let{next:C,bu:T,u:J,parent:te,vnode:de}=g,_e=C,he;kn(g,!1),C?(C.el=de.el,re(g,C,G)):C=de,T&&fs(T),(he=C.props&&C.props.onVnodeBeforeUpdate)&&Nt(he,te,C,de),kn(g,!0);const Re=ds(g),bt=g.subTree;g.subTree=Re,m(bt,Re,f(bt.el),$(bt),g,P,R),C.el=Re.el,_e===null&&_m(g,Re.el),J&&ct(J,P),(he=C.props&&C.props.onVnodeUpdated)&&ct(()=>Nt(he,te,C,de),P)}else{let C;const{el:T,props:J}=x,{bm:te,m:de,parent:_e}=g,he=Wr(x);if(kn(g,!1),te&&fs(te),!he&&(C=J&&J.onVnodeBeforeMount)&&Nt(C,_e,x),kn(g,!0),T&&Q){const Re=()=>{g.subTree=ds(g),Q(T,g.subTree,g,P,null)};he?x.type.__asyncLoader().then(()=>!g.isUnmounted&&Re()):Re()}else{const Re=g.subTree=ds(g);m(null,Re,O,k,g,P,R),x.el=Re.el}if(de&&ct(de,P),!he&&(C=J&&J.onVnodeMounted)){const Re=x;ct(()=>Nt(C,_e,Re),P)}(x.shapeFlag&256||_e&&Wr(_e.vnode)&&_e.vnode.shapeFlag&256)&&g.a&&ct(g.a,P),g.isMounted=!0,x=O=k=null}},W=g.effect=new Ql(K,()=>oa(D),g.scope),D=g.update=()=>W.run();D.id=g.uid,kn(g,!0),D()},re=(g,x,O)=>{x.component=g;const k=g.vnode.props;g.vnode=x,g.next=null,qm(g,x.props,k,O),Qm(g,x.children,O),Cr(),yc(),Tr()},le=(g,x,O,k,P,R,G,K,W=!1)=>{const D=g&&g.children,C=g?g.shapeFlag:0,T=x.children,{patchFlag:J,shapeFlag:te}=x;if(J>0){if(J&128){it(D,T,O,k,P,R,G,K,W);return}else if(J&256){we(D,T,O,k,P,R,G,K,W);return}}te&8?(C&16&&Ve(D,P,R),T!==D&&u(O,T)):C&16?te&16?it(D,T,O,k,P,R,G,K,W):Ve(D,P,R,!0):(C&8&&u(O,""),te&16&&H(T,O,k,P,R,G,K,W))},we=(g,x,O,k,P,R,G,K,W)=>{g=g||ur,x=x||ur;const D=g.length,C=x.length,T=Math.min(D,C);let J;for(J=0;JC?Ve(g,P,R,!0,!1,T):H(x,O,k,P,R,G,K,W,T)},it=(g,x,O,k,P,R,G,K,W)=>{let D=0;const C=x.length;let T=g.length-1,J=C-1;for(;D<=T&&D<=J;){const te=g[D],de=x[D]=W?vn(x[D]):Ht(x[D]);if($n(te,de))m(te,de,O,null,P,R,G,K,W);else break;D++}for(;D<=T&&D<=J;){const te=g[T],de=x[J]=W?vn(x[J]):Ht(x[J]);if($n(te,de))m(te,de,O,null,P,R,G,K,W);else break;T--,J--}if(D>T){if(D<=J){const te=J+1,de=teJ)for(;D<=T;)je(g[D],P,R,!0),D++;else{const te=D,de=D,_e=new Map;for(D=de;D<=J;D++){const mt=x[D]=W?vn(x[D]):Ht(x[D]);mt.key!=null&&_e.set(mt.key,D)}let he,Re=0;const bt=J-de+1;let Jn=!1,sc=0;const Mr=new Array(bt);for(D=0;D=bt){je(mt,P,R,!0);continue}let zt;if(mt.key!=null)zt=_e.get(mt.key);else for(he=de;he<=J;he++)if(Mr[he-de]===0&&$n(mt,x[he])){zt=he;break}zt===void 0?je(mt,P,R,!0):(Mr[zt-de]=D+1,zt>=sc?sc=zt:Jn=!0,m(mt,x[zt],O,null,P,R,G,K,W),Re++)}const lc=Jn?n0(Mr):ur;for(he=lc.length-1,D=bt-1;D>=0;D--){const mt=de+D,zt=x[mt],ac=mt+1{const{el:R,type:G,transition:K,children:W,shapeFlag:D}=g;if(D&6){De(g.component.subTree,x,O,k);return}if(D&128){g.suspense.move(x,O,k);return}if(D&64){G.move(g,x,O,A);return}if(G===ae){r(R,x,O);for(let T=0;TK.enter(R),P);else{const{leave:T,delayLeave:J,afterLeave:te}=K,de=()=>r(R,x,O),_e=()=>{T(R,()=>{de(),te&&te()})};J?J(R,de,_e):_e()}else r(R,x,O)},je=(g,x,O,k=!1,P=!1)=>{const{type:R,props:G,ref:K,children:W,dynamicChildren:D,shapeFlag:C,patchFlag:T,dirs:J}=g;if(K!=null&&tl(K,null,O,g,!0),C&256){x.ctx.deactivate(g);return}const te=C&1&&J,de=!Wr(g);let _e;if(de&&(_e=G&&G.onVnodeBeforeUnmount)&&Nt(_e,x,g),C&6)Et(g.component,O,k);else{if(C&128){g.suspense.unmount(O,k);return}te&&An(g,null,x,"beforeUnmount"),C&64?g.type.remove(g,x,O,P,A,k):D&&(R!==ae||T>0&&T&64)?Ve(D,x,O,!1,!0):(R===ae&&T&384||!P&&C&16)&&Ve(W,x,O),k&<(g)}(de&&(_e=G&&G.onVnodeUnmounted)||te)&&ct(()=>{_e&&Nt(_e,x,g),te&&An(g,null,x,"unmounted")},O)},lt=g=>{const{type:x,el:O,anchor:k,transition:P}=g;if(x===ae){Ue(O,k);return}if(x===ms){w(g);return}const R=()=>{i(O),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(g.shapeFlag&1&&P&&!P.persisted){const{leave:G,delayLeave:K}=P,W=()=>G(O,R);K?K(g.el,R,W):W()}else R()},Ue=(g,x)=>{let O;for(;g!==x;)O=d(g),i(g),g=O;i(x)},Et=(g,x,O)=>{const{bum:k,scope:P,update:R,subTree:G,um:K}=g;k&&fs(k),P.stop(),R&&(R.active=!1,je(G,g,x,O)),K&&ct(K,x),ct(()=>{g.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},Ve=(g,x,O,k=!1,P=!1,R=0)=>{for(let G=R;Gg.shapeFlag&6?$(g.component.subTree):g.shapeFlag&128?g.suspense.next():d(g.anchor||g.el),Y=(g,x,O)=>{g==null?x._vnode&&je(x._vnode,null,null,!0):m(x._vnode||null,g,x,null,null,null,O),yc(),zd(),x._vnode=g},A={p:m,um:je,m:De,r:lt,mt:pe,mc:H,pc:le,pbc:q,n:$,o:e};let B,Q;return t&&([B,Q]=t(A)),{render:Y,hydrate:B,createApp:Gm(Y,B)}}function kn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function t0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function pa(e,t,n=!1){const r=e.children,i=t.children;if(se(r)&&se(i))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}const r0=e=>e.__isTeleport,Yr=e=>e&&(e.disabled||e.disabled===""),Mc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,nl=(e,t)=>{const n=e&&e.to;return $e(n)?t?t(n):null:n},i0={__isTeleport:!0,process(e,t,n,r,i,o,s,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:v}}=c,y=Yr(t.props);let{shapeFlag:b,children:_,dynamicChildren:w}=t;if(e==null){const S=t.el=m(""),I=t.anchor=m("");p(S,n,r),p(I,n,r);const j=t.target=nl(t.props,h),H=t.targetAnchor=m("");j&&(p(H,j),s=s||Mc(j));const Z=(q,z)=>{b&16&&u(_,q,z,i,o,s,l,a)};y?Z(n,I):j&&Z(j,H)}else{t.el=e.el;const S=t.anchor=e.anchor,I=t.target=e.target,j=t.targetAnchor=e.targetAnchor,H=Yr(e.props),Z=H?n:I,q=H?S:j;if(s=s||Mc(I),w?(d(e.dynamicChildren,w,Z,i,o,s,l),pa(e,t,!0)):a||f(e,t,Z,q,i,o,s,l,!1),y)H?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ki(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const z=t.target=nl(t.props,h);z&&Ki(t,z,null,c,0)}else H&&Ki(t,I,j,c,1)}op(t)},remove(e,t,n,r,{um:i,o:{remove:o}},s){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),s&&o(c),l&16){const p=s||!Yr(d);for(let h=0;h0?Lt||ur:null,l0(),oi>0&&Lt&&Lt.push(e),e}function F(e,t,n,r,i,o){return sp(M(e,t,n,r,i,o,!0))}function Le(e,t,n,r,i){return sp(ie(e,t,n,r,i,!0))}function mo(e){return e?e.__v_isVNode===!0:!1}function $n(e,t){return e.type===t.type&&e.key===t.key}const Go="__vInternal",lp=({key:e})=>e??null,to=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?$e(e)||et(e)||ue(e)?{i:tt,r:e,k:t,f:!!n}:e:null);function M(e,t=null,n=null,r=0,i=null,o=e===ae?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lp(t),ref:t&&to(t),scopeId:Uo,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:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:tt};return l?(ma(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=$e(n)?8:16),oi>0&&!s&&Lt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Lt.push(a),a}const ie=a0;function a0(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===qd)&&(e=Ct),mo(e)){const l=In(e,t,!0);return n&&ma(l,n),oi>0&&!o&&Lt&&(l.shapeFlag&6?Lt[Lt.indexOf(e)]=l:Lt.push(l)),l.patchFlag|=-2,l}if(y0(e)&&(e=e.__vccOpts),t){t=ha(t);let{class:l,style:a}=t;l&&!$e(l)&&(t.class=Ae(l)),ke(a)&&(kd(a)&&!se(a)&&(a=Ke({},a)),t.style=zo(a))}const s=$e(e)?1:Om(e)?128:r0(e)?64:ke(e)?4:ue(e)?2:0;return M(e,t,n,r,i,s,o,!0)}function ha(e){return e?kd(e)||Go in e?Ke({},e):e:null}function In(e,t,n=!1){const{props:r,ref:i,patchFlag:o,children:s}=e,l=t?L(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&lp(l),ref:t&&t.ref?n&&i?se(i)?i.concat(to(t)):[i,to(t)]:to(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ae?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&In(e.ssContent),ssFallback:e.ssFallback&&In(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Je(e=" ",t=0){return ie(ki,null,e,t)}function me(e="",t=!1){return t?(E(),Le(Ct,null,e)):ie(Ct,null,e)}function Ht(e){return e==null||typeof e=="boolean"?ie(Ct):se(e)?ie(ae,null,e.slice()):typeof e=="object"?vn(e):ie(ki,null,String(e))}function vn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:In(e)}function ma(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),ma(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Go in t)?t._ctx=tt:i===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ue(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),r&64?(n=16,t=[Je(t)]):n=8);e.children=t,e.shapeFlag|=n}function L(...e){const t={};for(let n=0;nGe||tt;let ga,er,kc="__VUE_INSTANCE_SETTERS__";(er=Bs()[kc])||(er=Bs()[kc]=[]),er.push(e=>Ge=e),ga=e=>{er.length>1?er.forEach(t=>t(e)):er[0](e)};const yr=e=>{ga(e),e.scope.on()},Vn=()=>{Ge&&Ge.scope.off(),ga(null)};function ap(e){return e.vnode.shapeFlag&4}let si=!1;function d0(e,t=!1){si=t;const{props:n,children:r}=e.vnode,i=ap(e);Ym(e,n,i,t),Xm(e,r);const o=i?p0(e,t):void 0;return si=!1,o}function p0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=jd(new Proxy(e.ctx,Nm));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?m0(e):null;yr(e),Cr();const o=wn(r,e,0,[e.props,i]);if(Tr(),Vn(),pd(o)){if(o.then(Vn,Vn),t)return o.then(s=>{jc(e,s,t)}).catch(s=>{Vo(s,e,0)});e.asyncDep=o}else jc(e,o,t)}else cp(e,t)}function jc(e,t,n){ue(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=$d(t)),cp(e,n)}let Pc;function cp(e,t,n){const r=e.type;if(!e.render){if(!t&&Pc&&!r.render){const i=r.template||fa(e).template;if(i){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Ke(Ke({isCustomElement:o,delimiters:l},s),a);r.render=Pc(i,c)}}e.render=r.render||Ft}{yr(e),Cr();try{Vm(e)}finally{Tr(),Vn()}}}function h0(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ft(e,"get","$attrs"),t[n]}}))}function m0(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return h0(e)},slots:e.slots,emit:e.emit,expose:t}}function Yo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($d(jd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Gr)return Gr[n](e)},has(t,n){return n in t||n in Gr}}))}function g0(e,t=!0){return ue(e)?e.displayName||e.name:e.name||t&&e.__name}function y0(e){return ue(e)&&"__vccOpts"in e}const Ce=(e,t)=>dm(e,t,si);function Un(e,t,n){const r=arguments.length;return r===2?ke(t)&&!se(t)?mo(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&mo(n)&&(n=[n]),ie(e,t,n))}const v0=Symbol.for("v-scx"),b0=()=>It(v0),x0="3.3.7",w0="http://www.w3.org/2000/svg",Dn=typeof document<"u"?document:null,Lc=Dn&&Dn.createElement("template"),_0={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 i=t?Dn.createElementNS(w0,e):Dn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Dn.createTextNode(e),createComment:e=>Dn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Dn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Lc.innerHTML=r?`${e}`:e;const l=Lc.content;if(r){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dn="transition",Ar="animation",li=Symbol("_vtc"),Er=(e,{slots:t})=>Un(Em,O0(e),t);Er.displayName="Transition";const up={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};Er.props=Ke({},Ud,up);const jn=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fc=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function O0(e){const t={};for(const V in e)V in up||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:c=s,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=S0(i),m=h&&h[0],v=h&&h[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:S,onBeforeAppear:I=y,onAppear:j=b,onAppearCancelled:H=_}=t,Z=(V,X,pe)=>{Pn(V,X?u:l),Pn(V,X?c:s),pe&&pe()},q=(V,X)=>{V._isLeaving=!1,Pn(V,f),Pn(V,p),Pn(V,d),X&&X()},z=V=>(X,pe)=>{const xe=V?j:b,ce=()=>Z(X,V,pe);jn(xe,[X,ce]),$c(()=>{Pn(X,V?a:o),pn(X,V?u:l),Fc(xe)||Dc(X,r,m,ce)})};return Ke(t,{onBeforeEnter(V){jn(y,[V]),pn(V,o),pn(V,s)},onBeforeAppear(V){jn(I,[V]),pn(V,a),pn(V,c)},onEnter:z(!1),onAppear:z(!0),onLeave(V,X){V._isLeaving=!0;const pe=()=>q(V,X);pn(V,f),T0(),pn(V,d),$c(()=>{V._isLeaving&&(Pn(V,f),pn(V,p),Fc(w)||Dc(V,r,v,pe))}),jn(w,[V,pe])},onEnterCancelled(V){Z(V,!1),jn(_,[V])},onAppearCancelled(V){Z(V,!0),jn(H,[V])},onLeaveCancelled(V){q(V),jn(S,[V])}})}function S0(e){if(e==null)return null;if(ke(e))return[gs(e.enter),gs(e.leave)];{const t=gs(e);return[t,t]}}function gs(e){return j1(e)}function pn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[li]||(e[li]=new Set)).add(t)}function Pn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[li];n&&(n.delete(t),n.size||(e[li]=void 0))}function $c(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let I0=0;function Dc(e,t,n,r){const i=e._endId=++I0,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:l,propCount:a}=C0(e,t);if(!s)return r();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=p=>{p.target===e&&++u>=a&&f()};setTimeout(()=>{u(n[h]||"").split(", "),i=r(`${dn}Delay`),o=r(`${dn}Duration`),s=Rc(i,o),l=r(`${Ar}Delay`),a=r(`${Ar}Duration`),c=Rc(l,a);let u=null,f=0,d=0;t===dn?s>0&&(u=dn,f=s,d=o.length):t===Ar?c>0&&(u=Ar,f=c,d=a.length):(f=Math.max(s,c),u=f>0?s>c?dn:Ar:null,d=u?u===dn?o.length:a.length:0);const p=u===dn&&/\b(transform|all)(,|$)/.test(r(`${dn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Rc(e,t){for(;e.lengthzc(n)+zc(e[r])))}function zc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function T0(){return document.body.offsetHeight}function E0(e,t,n){const r=e[li];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ya=Symbol("_vod"),rl={beforeMount(e,{value:t},{transition:n}){e[ya]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):kr(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),kr(e,!0),r.enter(e)):r.leave(e,()=>{kr(e,!1)}):kr(e,t))},beforeUnmount(e,{value:t}){kr(e,t)}};function kr(e,t){e.style.display=t?e[ya]:"none"}function M0(e,t,n){const r=e.style,i=$e(n);if(n&&!i){if(t&&!$e(t))for(const o in t)n[o]==null&&il(r,o,"");for(const o in n)il(r,o,n[o])}else{const o=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),ya in e&&(r.display=o)}}const Nc=/\s*!important$/;function il(e,t,n){if(se(n))n.forEach(r=>il(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=A0(e,t);Nc.test(n)?e.setProperty(Ir(r),n.replace(Nc,""),"important"):e[r]=n}}const Vc=["Webkit","Moz","ms"],ys={};function A0(e,t){const n=ys[t];if(n)return n;let r=Gt(t);if(r!=="filter"&&r in e)return ys[t]=r;r=Ro(r);for(let i=0;ivs||(D0.then(()=>vs=0),vs=Date.now());function z0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;St(N0(r,n.value),t,5,[r])};return n.value=e,n.attached=R0(),n}function N0(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Kc=/^on[a-z]/,V0=(e,t,n,r,i=!1,o,s,l,a)=>{t==="class"?E0(e,r,i):t==="style"?M0(e,n,r):Lo(t)?Yl(t)||F0(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):H0(e,t,r,i))?j0(e,t,r,o,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),k0(e,t,r,i))};function H0(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Kc.test(t)&&ue(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Kc.test(t)&&$e(n)?!1:t in e}const B0=["ctrl","shift","alt","meta"],U0={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)=>B0.some(n=>e[`${n}Key`]&&!t.includes(n))},Wc=(e,t)=>(n,...r)=>{for(let i=0;i{const t=W0().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Y0(r);if(!i)return;const o=t._component;!ue(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t};function Y0(e){return $e(e)?document.querySelector(e):e}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const rr=typeof window<"u";function q0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Se=Object.assign;function vs(e,t){const n={};for(const r in t){const i=t[r];n[r]=$t(i)?i.map(e):e(i)}return n}const Zr=()=>{},$t=Array.isArray,Z0=/\/$/,X0=e=>e.replace(Z0,"");function bs(e,t,n="/"){let r,i={},o="",s="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),i=e(o)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=tg(r??t,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:s}}function Q0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Gc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function J0(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&vr(t.matched[r],n.matched[i])&&fp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function vr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!eg(e[n],t[n]))return!1;return!0}function eg(e,t){return $t(e)?Yc(e,t):$t(t)?Yc(t,e):e===t}function Yc(e,t){return $t(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function tg(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,s,l;for(s=0;s1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var ai;(function(e){e.pop="pop",e.push="push"})(ai||(ai={}));var Xr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Xr||(Xr={}));function ng(e){if(!e)if(rr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),X0(e)}const rg=/^[^#]+#/;function ig(e,t){return e.replace(rg,"#")+t}function og(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 Yo=()=>({left:window.pageXOffset,top:window.pageYOffset});function sg(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=og(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function qc(e,t){return(history.state?history.state.position-t:-1)+e}const il=new Map;function lg(e,t){il.set(e,t)}function ag(e){const t=il.get(e);return il.delete(e),t}let cg=()=>location.protocol+"//"+location.host;function dp(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let l=i.includes(e.slice(o))?e.slice(o).length:1,a=i.slice(l);return a[0]!=="/"&&(a="/"+a),Gc(a,"")}return Gc(n,e)+r+i}function ug(e,t,n,r){let i=[],o=[],s=null;const l=({state:d})=>{const p=dp(e,location),h=n.value,m=t.value;let v=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}v=m?d.position-m.position:0}else r(p);i.forEach(y=>{y(n.value,h,{delta:v,type:ai.pop,direction:v?v>0?Xr.forward:Xr.back:Xr.unknown})})};function a(){s=n.value}function c(d){i.push(d);const p=()=>{const h=i.indexOf(d);h>-1&&i.splice(h,1)};return o.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(Se({},d.state,{scroll:Yo()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function Zc(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Yo():null}}function fg(e){const{history:t,location:n}=window,r={value:dp(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:cg()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function s(a,c){const u=Se({},t.state,Zc(i.value.back,a,i.value.forward,!0),c,{position:i.value.position});o(a,u,!0),r.value=a}function l(a,c){const u=Se({},i.value,t.state,{forward:a,scroll:Yo()});o(u.current,u,!0);const f=Se({},Zc(r.value,a,null),{position:u.position+1},c);o(a,f,!1),r.value=a}return{location:r,state:i,push:l,replace:s}}function dg(e){e=ng(e);const t=fg(e),n=ug(e,t.state,t.location,t.replace);function r(o,s=!0){s||n.pauseListeners(),history.go(o)}const i=Se({location:"",base:e,go:r,createHref:ig.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function pg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),dg(e)}function hg(e){return typeof e=="string"||e&&typeof e=="object"}function pp(e){return typeof e=="string"||typeof e=="symbol"}const hn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},hp=Symbol("");var Xc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Xc||(Xc={}));function br(e,t){return Se(new Error,{type:e,[hp]:!0},t)}function Zt(e,t){return e instanceof Error&&hp in e&&(t==null||!!(e.type&t))}const Qc="[^/]+?",mg={sensitive:!1,strict:!1,start:!0,end:!0},gg=/[.+*?^${}()[\]/\\]/g;function yg(e,t){const n=Se({},mg,t),r=[];let i=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function bg(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const xg={type:0,value:""},wg=/[a-zA-Z0-9_]/;function _g(e){if(!e)return[[]];if(e==="/")return[[xg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{s(b)}:Zr}function s(u){if(pp(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!mp(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!tu(u)&&r.set(u.record.name,u)}function c(u,f){let d,p={},h,m;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw br(1,{location:u});m=d.record.name,p=Se(eu(f.params,d.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&eu(u.params,d.keys.map(b=>b.name))),h=d.stringify(p)}else if("path"in u)h=u.path,d=n.find(b=>b.re.test(h)),d&&(p=d.parse(h),m=d.record.name);else{if(d=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!d)throw br(1,{location:u,currentLocation:f});m=d.record.name,p=Se({},f.params,u.params),h=d.stringify(p)}const v=[];let y=d;for(;y;)v.unshift(y.record),y=y.parent;return{name:m,path:h,params:p,matched:v,meta:Tg(v)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:s,getRoutes:l,getRecordMatcher:i}}function eu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ig(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Cg(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 Cg(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 tu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Tg(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function nu(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function mp(e,t){return t.children.some(n=>n===e||mp(e,n))}const gp=/#/g,Eg=/&/g,Mg=/\//g,Ag=/=/g,kg=/\?/g,yp=/\+/g,jg=/%5B/g,Pg=/%5D/g,vp=/%5E/g,Lg=/%60/g,bp=/%7B/g,Fg=/%7C/g,xp=/%7D/g,$g=/%20/g;function ya(e){return encodeURI(""+e).replace(Fg,"|").replace(jg,"[").replace(Pg,"]")}function Dg(e){return ya(e).replace(bp,"{").replace(xp,"}").replace(vp,"^")}function ol(e){return ya(e).replace(yp,"%2B").replace($g,"+").replace(gp,"%23").replace(Eg,"%26").replace(Lg,"`").replace(bp,"{").replace(xp,"}").replace(vp,"^")}function Rg(e){return ol(e).replace(Ag,"%3D")}function zg(e){return ya(e).replace(gp,"%23").replace(kg,"%3F")}function Ng(e){return e==null?"":zg(e).replace(Mg,"%2F")}function go(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Vg(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&ol(o)):[r&&ol(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Hg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=$t(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Bg=Symbol(""),iu=Symbol(""),qo=Symbol(""),va=Symbol(""),sl=Symbol("");function jr(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function bn(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,l)=>{const a=f=>{f===!1?l(br(4,{from:n,to:t})):f instanceof Error?l(f):hg(f)?l(br(2,{from:t,to:f})):(o&&r.enterCallbacks[i]===o&&typeof f=="function"&&o.push(f),s())},c=e.call(r&&r.instances[i],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function xs(e,t,n,r){const i=[];for(const o of e)for(const s in o.components){let l=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(Ug(l)){const c=(l.__vccOpts||l)[t];c&&i.push(bn(c,n,r,o,s))}else{let a=l();i.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${o.path}"`));const u=q0(c)?c.default:c;o.components[s]=u;const d=(u.__vccOpts||u)[t];return d&&bn(d,n,r,o,s)()}))}}return i}function Ug(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ou(e){const t=It(qo),n=It(va),r=Ce(()=>t.resolve(Ie(e.to))),i=Ce(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(vr.bind(null,u));if(d>-1)return d;const p=su(a[c-2]);return c>1&&su(u)===p&&f[f.length-1].path!==p?f.findIndex(vr.bind(null,a[c-2])):d}),o=Ce(()=>i.value>-1&&Yg(n.params,r.value.params)),s=Ce(()=>i.value>-1&&i.value===n.matched.length-1&&fp(n.params,r.value.params));function l(a={}){return Gg(a)?t[Ie(e.replace)?"replace":"push"](Ie(e.to)).catch(Zr):Promise.resolve()}return{route:r,href:Ce(()=>r.value.href),isActive:o,isExactActive:s,navigate:l}}const Kg=dt({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:ou,setup(e,{slots:t}){const n=an(ou(e)),{options:r}=It(qo),i=Ce(()=>({[lu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[lu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Un("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),Wg=Kg;function Gg(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 Yg(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!$t(i)||i.length!==r.length||r.some((o,s)=>o!==i[s]))return!1}return!0}function su(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const lu=(e,t,n)=>e??t??n,qg=dt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=It(sl),i=Ce(()=>e.route||r.value),o=It(iu,0),s=Ce(()=>{let c=Ie(o);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=Ce(()=>i.value.matched[s.value]);eo(iu,Ce(()=>s.value+1)),eo(Bg,l),eo(sl,i);const a=fe();return Ze(()=>[a.value,l.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!vr(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return au(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=Un(d,Se({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return au(n.default,{Component:v,route:c})||v}}});function au(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const wp=qg;function Zg(e){const t=Sg(e.routes,e),n=e.parseQuery||Vg,r=e.stringifyQuery||ru,i=e.history,o=jr(),s=jr(),l=jr(),a=am(hn);let c=hn;rr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=vs.bind(null,$=>""+$),f=vs.bind(null,Ng),d=vs.bind(null,go);function p($,Y){let A,B;return pp($)?(A=t.getRecordMatcher($),B=Y):B=$,t.addRoute(B,A)}function h($){const Y=t.getRecordMatcher($);Y&&t.removeRoute(Y)}function m(){return t.getRoutes().map($=>$.record)}function v($){return!!t.getRecordMatcher($)}function y($,Y){if(Y=Se({},Y||a.value),typeof $=="string"){const O=bs(n,$,Y.path),k=t.resolve({path:O.path},Y),P=i.createHref(O.fullPath);return Se(O,k,{params:d(k.params),hash:go(O.hash),redirectedFrom:void 0,href:P})}let A;if("path"in $)A=Se({},$,{path:bs(n,$.path,Y.path).path});else{const O=Se({},$.params);for(const k in O)O[k]==null&&delete O[k];A=Se({},$,{params:f(O)}),Y.params=f(Y.params)}const B=t.resolve(A,Y),Q=$.hash||"";B.params=u(d(B.params));const g=Q0(r,Se({},$,{hash:Dg(Q),path:B.path})),x=i.createHref(g);return Se({fullPath:g,hash:Q,query:r===ru?Hg($.query):$.query||{}},B,{redirectedFrom:void 0,href:x})}function b($){return typeof $=="string"?bs(n,$,a.value.path):Se({},$)}function _($,Y){if(c!==$)return br(8,{from:Y,to:$})}function w($){return j($)}function S($){return w(Se(b($),{replace:!0}))}function I($){const Y=$.matched[$.matched.length-1];if(Y&&Y.redirect){const{redirect:A}=Y;let B=typeof A=="function"?A($):A;return typeof B=="string"&&(B=B.includes("?")||B.includes("#")?B=b(B):{path:B},B.params={}),Se({query:$.query,hash:$.hash,params:"path"in B?{}:$.params},B)}}function j($,Y){const A=c=y($),B=a.value,Q=$.state,g=$.force,x=$.replace===!0,O=I(A);if(O)return j(Se(b(O),{state:typeof O=="object"?Se({},Q,O.state):Q,force:g,replace:x}),Y||A);const k=A;k.redirectedFrom=Y;let P;return!g&&J0(r,B,A)&&(P=br(16,{to:k,from:B}),De(B,B,!0,!1)),(P?Promise.resolve(P):q(k,B)).catch(R=>Zt(R)?Zt(R,2)?R:it(R):le(R,k,B)).then(R=>{if(R){if(Zt(R,2))return j(Se({replace:x},b(R.to),{state:typeof R.to=="object"?Se({},Q,R.to.state):Q,force:g}),Y||k)}else R=V(k,B,!0,x,Q);return z(k,B,R),R})}function H($,Y){const A=_($,Y);return A?Promise.reject(A):Promise.resolve()}function Z($){const Y=Ue.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext($):$()}function q($,Y){let A;const[B,Q,g]=Xg($,Y);A=xs(B.reverse(),"beforeRouteLeave",$,Y);for(const O of B)O.leaveGuards.forEach(k=>{A.push(bn(k,$,Y))});const x=H.bind(null,$,Y);return A.push(x),Ve(A).then(()=>{A=[];for(const O of o.list())A.push(bn(O,$,Y));return A.push(x),Ve(A)}).then(()=>{A=xs(Q,"beforeRouteUpdate",$,Y);for(const O of Q)O.updateGuards.forEach(k=>{A.push(bn(k,$,Y))});return A.push(x),Ve(A)}).then(()=>{A=[];for(const O of g)if(O.beforeEnter)if($t(O.beforeEnter))for(const k of O.beforeEnter)A.push(bn(k,$,Y));else A.push(bn(O.beforeEnter,$,Y));return A.push(x),Ve(A)}).then(()=>($.matched.forEach(O=>O.enterCallbacks={}),A=xs(g,"beforeRouteEnter",$,Y),A.push(x),Ve(A))).then(()=>{A=[];for(const O of s.list())A.push(bn(O,$,Y));return A.push(x),Ve(A)}).catch(O=>Zt(O,8)?O:Promise.reject(O))}function z($,Y,A){l.list().forEach(B=>Z(()=>B($,Y,A)))}function V($,Y,A,B,Q){const g=_($,Y);if(g)return g;const x=Y===hn,O=rr?history.state:{};A&&(B||x?i.replace($.fullPath,Se({scroll:x&&O&&O.scroll},Q)):i.push($.fullPath,Q)),a.value=$,De($,Y,A,x),it()}let X;function pe(){X||(X=i.listen(($,Y,A)=>{if(!Et.listening)return;const B=y($),Q=I(B);if(Q){j(Se(Q,{replace:!0}),B).catch(Zr);return}c=B;const g=a.value;rr&&lg(qc(g.fullPath,A.delta),Yo()),q(B,g).catch(x=>Zt(x,12)?x:Zt(x,2)?(j(x.to,B).then(O=>{Zt(O,20)&&!A.delta&&A.type===ai.pop&&i.go(-1,!1)}).catch(Zr),Promise.reject()):(A.delta&&i.go(-A.delta,!1),le(x,B,g))).then(x=>{x=x||V(B,g,!1),x&&(A.delta&&!Zt(x,8)?i.go(-A.delta,!1):A.type===ai.pop&&Zt(x,20)&&i.go(-1,!1)),z(B,g,x)}).catch(Zr)}))}let xe=jr(),ce=jr(),re;function le($,Y,A){it($);const B=ce.list();return B.length?B.forEach(Q=>Q($,Y,A)):console.error($),Promise.reject($)}function we(){return re&&a.value!==hn?Promise.resolve():new Promise(($,Y)=>{xe.add([$,Y])})}function it($){return re||(re=!$,pe(),xe.list().forEach(([Y,A])=>$?A($):Y()),xe.reset()),$}function De($,Y,A,B){const{scrollBehavior:Q}=e;if(!rr||!Q)return Promise.resolve();const g=!A&&ag(qc($.fullPath,0))||(B||!A)&&history.state&&history.state.scroll||null;return Vo().then(()=>Q($,Y,g)).then(x=>x&&sg(x)).catch(x=>le(x,$,Y))}const je=$=>i.go($);let lt;const Ue=new Set,Et={currentRoute:a,listening:!0,addRoute:p,removeRoute:h,hasRoute:v,getRoutes:m,resolve:y,options:e,push:w,replace:S,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:o.add,beforeResolve:s.add,afterEach:l.add,onError:ce.add,isReady:we,install($){const Y=this;$.component("RouterLink",Wg),$.component("RouterView",wp),$.config.globalProperties.$router=Y,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>Ie(a)}),rr&&!lt&&a.value===hn&&(lt=!0,w(i.location).catch(Q=>{}));const A={};for(const Q in hn)Object.defineProperty(A,Q,{get:()=>a.value[Q],enumerable:!0});$.provide(qo,Y),$.provide(va,Ad(A)),$.provide(sl,a);const B=$.unmount;Ue.add($),$.unmount=function(){Ue.delete($),Ue.size<1&&(c=hn,X&&X(),X=null,a.value=hn,lt=!1,re=!1),B()}}};function Ve($){return $.reduce((Y,A)=>Y.then(()=>Z(A)),Promise.resolve())}return Et}function Xg(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;svr(c,l))?r.push(l):n.push(l));const a=e.matched[s];a&&(t.matched.find(c=>vr(c,a))||i.push(a))}return[n,r,i]}function _p(){return It(qo)}function Qg(){return It(va)}const Jg={class:"wrapper"},ey={__name:"App",setup(e){return(t,n)=>(E(),F("div",Jg,[ie(Ie(wp))]))}};/*! + */const rr=typeof window<"u";function q0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ie=Object.assign;function bs(e,t){const n={};for(const r in t){const i=t[r];n[r]=$t(i)?i.map(e):e(i)}return n}const Zr=()=>{},$t=Array.isArray,Z0=/\/$/,X0=e=>e.replace(Z0,"");function xs(e,t,n="/"){let r,i={},o="",s="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),i=e(o)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=tg(r??t,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:s}}function Q0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function J0(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&vr(t.matched[r],n.matched[i])&&fp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function vr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!eg(e[n],t[n]))return!1;return!0}function eg(e,t){return $t(e)?qc(e,t):$t(t)?qc(t,e):e===t}function qc(e,t){return $t(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function tg(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,s,l;for(s=0;s1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var ai;(function(e){e.pop="pop",e.push="push"})(ai||(ai={}));var Xr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Xr||(Xr={}));function ng(e){if(!e)if(rr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),X0(e)}const rg=/^[^#]+#/;function ig(e,t){return e.replace(rg,"#")+t}function og(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 qo=()=>({left:window.pageXOffset,top:window.pageYOffset});function sg(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=og(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Zc(e,t){return(history.state?history.state.position-t:-1)+e}const ol=new Map;function lg(e,t){ol.set(e,t)}function ag(e){const t=ol.get(e);return ol.delete(e),t}let cg=()=>location.protocol+"//"+location.host;function dp(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let l=i.includes(e.slice(o))?e.slice(o).length:1,a=i.slice(l);return a[0]!=="/"&&(a="/"+a),Yc(a,"")}return Yc(n,e)+r+i}function ug(e,t,n,r){let i=[],o=[],s=null;const l=({state:d})=>{const p=dp(e,location),h=n.value,m=t.value;let v=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}v=m?d.position-m.position:0}else r(p);i.forEach(y=>{y(n.value,h,{delta:v,type:ai.pop,direction:v?v>0?Xr.forward:Xr.back:Xr.unknown})})};function a(){s=n.value}function c(d){i.push(d);const p=()=>{const h=i.indexOf(d);h>-1&&i.splice(h,1)};return o.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(Ie({},d.state,{scroll:qo()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function Xc(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?qo():null}}function fg(e){const{history:t,location:n}=window,r={value:dp(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:cg()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function s(a,c){const u=Ie({},t.state,Xc(i.value.back,a,i.value.forward,!0),c,{position:i.value.position});o(a,u,!0),r.value=a}function l(a,c){const u=Ie({},i.value,t.state,{forward:a,scroll:qo()});o(u.current,u,!0);const f=Ie({},Xc(r.value,a,null),{position:u.position+1},c);o(a,f,!1),r.value=a}return{location:r,state:i,push:l,replace:s}}function dg(e){e=ng(e);const t=fg(e),n=ug(e,t.state,t.location,t.replace);function r(o,s=!0){s||n.pauseListeners(),history.go(o)}const i=Ie({location:"",base:e,go:r,createHref:ig.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function pg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),dg(e)}function hg(e){return typeof e=="string"||e&&typeof e=="object"}function pp(e){return typeof e=="string"||typeof e=="symbol"}const hn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},hp=Symbol("");var Qc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Qc||(Qc={}));function br(e,t){return Ie(new Error,{type:e,[hp]:!0},t)}function Zt(e,t){return e instanceof Error&&hp in e&&(t==null||!!(e.type&t))}const Jc="[^/]+?",mg={sensitive:!1,strict:!1,start:!0,end:!0},gg=/[.+*?^${}()[\]/\\]/g;function yg(e,t){const n=Ie({},mg,t),r=[];let i=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function bg(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const xg={type:0,value:""},wg=/[a-zA-Z0-9_]/;function _g(e){if(!e)return[[]];if(e==="/")return[[xg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{s(b)}:Zr}function s(u){if(pp(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!mp(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!nu(u)&&r.set(u.record.name,u)}function c(u,f){let d,p={},h,m;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw br(1,{location:u});m=d.record.name,p=Ie(tu(f.params,d.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&tu(u.params,d.keys.map(b=>b.name))),h=d.stringify(p)}else if("path"in u)h=u.path,d=n.find(b=>b.re.test(h)),d&&(p=d.parse(h),m=d.record.name);else{if(d=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!d)throw br(1,{location:u,currentLocation:f});m=d.record.name,p=Ie({},f.params,u.params),h=d.stringify(p)}const v=[];let y=d;for(;y;)v.unshift(y.record),y=y.parent;return{name:m,path:h,params:p,matched:v,meta:Tg(v)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:s,getRoutes:l,getRecordMatcher:i}}function tu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ig(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Cg(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 Cg(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 nu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Tg(e){return e.reduce((t,n)=>Ie(t,n.meta),{})}function ru(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function mp(e,t){return t.children.some(n=>n===e||mp(e,n))}const gp=/#/g,Eg=/&/g,Mg=/\//g,Ag=/=/g,kg=/\?/g,yp=/\+/g,jg=/%5B/g,Pg=/%5D/g,vp=/%5E/g,Lg=/%60/g,bp=/%7B/g,Fg=/%7C/g,xp=/%7D/g,$g=/%20/g;function va(e){return encodeURI(""+e).replace(Fg,"|").replace(jg,"[").replace(Pg,"]")}function Dg(e){return va(e).replace(bp,"{").replace(xp,"}").replace(vp,"^")}function sl(e){return va(e).replace(yp,"%2B").replace($g,"+").replace(gp,"%23").replace(Eg,"%26").replace(Lg,"`").replace(bp,"{").replace(xp,"}").replace(vp,"^")}function Rg(e){return sl(e).replace(Ag,"%3D")}function zg(e){return va(e).replace(gp,"%23").replace(kg,"%3F")}function Ng(e){return e==null?"":zg(e).replace(Mg,"%2F")}function go(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Vg(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&sl(o)):[r&&sl(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Hg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=$t(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Bg=Symbol(""),ou=Symbol(""),Zo=Symbol(""),ba=Symbol(""),ll=Symbol("");function jr(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function bn(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,l)=>{const a=f=>{f===!1?l(br(4,{from:n,to:t})):f instanceof Error?l(f):hg(f)?l(br(2,{from:t,to:f})):(o&&r.enterCallbacks[i]===o&&typeof f=="function"&&o.push(f),s())},c=e.call(r&&r.instances[i],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function ws(e,t,n,r){const i=[];for(const o of e)for(const s in o.components){let l=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(Ug(l)){const c=(l.__vccOpts||l)[t];c&&i.push(bn(c,n,r,o,s))}else{let a=l();i.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${o.path}"`));const u=q0(c)?c.default:c;o.components[s]=u;const d=(u.__vccOpts||u)[t];return d&&bn(d,n,r,o,s)()}))}}return i}function Ug(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function su(e){const t=It(Zo),n=It(ba),r=Ce(()=>t.resolve(Oe(e.to))),i=Ce(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(vr.bind(null,u));if(d>-1)return d;const p=lu(a[c-2]);return c>1&&lu(u)===p&&f[f.length-1].path!==p?f.findIndex(vr.bind(null,a[c-2])):d}),o=Ce(()=>i.value>-1&&Yg(n.params,r.value.params)),s=Ce(()=>i.value>-1&&i.value===n.matched.length-1&&fp(n.params,r.value.params));function l(a={}){return Gg(a)?t[Oe(e.replace)?"replace":"push"](Oe(e.to)).catch(Zr):Promise.resolve()}return{route:r,href:Ce(()=>r.value.href),isActive:o,isExactActive:s,navigate:l}}const Kg=dt({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:su,setup(e,{slots:t}){const n=an(su(e)),{options:r}=It(Zo),i=Ce(()=>({[au(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[au(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Un("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),Wg=Kg;function Gg(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 Yg(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!$t(i)||i.length!==r.length||r.some((o,s)=>o!==i[s]))return!1}return!0}function lu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const au=(e,t,n)=>e??t??n,qg=dt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=It(ll),i=Ce(()=>e.route||r.value),o=It(ou,0),s=Ce(()=>{let c=Oe(o);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=Ce(()=>i.value.matched[s.value]);eo(ou,Ce(()=>s.value+1)),eo(Bg,l),eo(ll,i);const a=fe();return Ze(()=>[a.value,l.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!vr(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return cu(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=Un(d,Ie({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return cu(n.default,{Component:v,route:c})||v}}});function cu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const wp=qg;function Zg(e){const t=Sg(e.routes,e),n=e.parseQuery||Vg,r=e.stringifyQuery||iu,i=e.history,o=jr(),s=jr(),l=jr(),a=am(hn);let c=hn;rr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=bs.bind(null,$=>""+$),f=bs.bind(null,Ng),d=bs.bind(null,go);function p($,Y){let A,B;return pp($)?(A=t.getRecordMatcher($),B=Y):B=$,t.addRoute(B,A)}function h($){const Y=t.getRecordMatcher($);Y&&t.removeRoute(Y)}function m(){return t.getRoutes().map($=>$.record)}function v($){return!!t.getRecordMatcher($)}function y($,Y){if(Y=Ie({},Y||a.value),typeof $=="string"){const O=xs(n,$,Y.path),k=t.resolve({path:O.path},Y),P=i.createHref(O.fullPath);return Ie(O,k,{params:d(k.params),hash:go(O.hash),redirectedFrom:void 0,href:P})}let A;if("path"in $)A=Ie({},$,{path:xs(n,$.path,Y.path).path});else{const O=Ie({},$.params);for(const k in O)O[k]==null&&delete O[k];A=Ie({},$,{params:f(O)}),Y.params=f(Y.params)}const B=t.resolve(A,Y),Q=$.hash||"";B.params=u(d(B.params));const g=Q0(r,Ie({},$,{hash:Dg(Q),path:B.path})),x=i.createHref(g);return Ie({fullPath:g,hash:Q,query:r===iu?Hg($.query):$.query||{}},B,{redirectedFrom:void 0,href:x})}function b($){return typeof $=="string"?xs(n,$,a.value.path):Ie({},$)}function _($,Y){if(c!==$)return br(8,{from:Y,to:$})}function w($){return j($)}function S($){return w(Ie(b($),{replace:!0}))}function I($){const Y=$.matched[$.matched.length-1];if(Y&&Y.redirect){const{redirect:A}=Y;let B=typeof A=="function"?A($):A;return typeof B=="string"&&(B=B.includes("?")||B.includes("#")?B=b(B):{path:B},B.params={}),Ie({query:$.query,hash:$.hash,params:"path"in B?{}:$.params},B)}}function j($,Y){const A=c=y($),B=a.value,Q=$.state,g=$.force,x=$.replace===!0,O=I(A);if(O)return j(Ie(b(O),{state:typeof O=="object"?Ie({},Q,O.state):Q,force:g,replace:x}),Y||A);const k=A;k.redirectedFrom=Y;let P;return!g&&J0(r,B,A)&&(P=br(16,{to:k,from:B}),De(B,B,!0,!1)),(P?Promise.resolve(P):q(k,B)).catch(R=>Zt(R)?Zt(R,2)?R:it(R):le(R,k,B)).then(R=>{if(R){if(Zt(R,2))return j(Ie({replace:x},b(R.to),{state:typeof R.to=="object"?Ie({},Q,R.to.state):Q,force:g}),Y||k)}else R=V(k,B,!0,x,Q);return z(k,B,R),R})}function H($,Y){const A=_($,Y);return A?Promise.reject(A):Promise.resolve()}function Z($){const Y=Ue.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext($):$()}function q($,Y){let A;const[B,Q,g]=Xg($,Y);A=ws(B.reverse(),"beforeRouteLeave",$,Y);for(const O of B)O.leaveGuards.forEach(k=>{A.push(bn(k,$,Y))});const x=H.bind(null,$,Y);return A.push(x),Ve(A).then(()=>{A=[];for(const O of o.list())A.push(bn(O,$,Y));return A.push(x),Ve(A)}).then(()=>{A=ws(Q,"beforeRouteUpdate",$,Y);for(const O of Q)O.updateGuards.forEach(k=>{A.push(bn(k,$,Y))});return A.push(x),Ve(A)}).then(()=>{A=[];for(const O of g)if(O.beforeEnter)if($t(O.beforeEnter))for(const k of O.beforeEnter)A.push(bn(k,$,Y));else A.push(bn(O.beforeEnter,$,Y));return A.push(x),Ve(A)}).then(()=>($.matched.forEach(O=>O.enterCallbacks={}),A=ws(g,"beforeRouteEnter",$,Y),A.push(x),Ve(A))).then(()=>{A=[];for(const O of s.list())A.push(bn(O,$,Y));return A.push(x),Ve(A)}).catch(O=>Zt(O,8)?O:Promise.reject(O))}function z($,Y,A){l.list().forEach(B=>Z(()=>B($,Y,A)))}function V($,Y,A,B,Q){const g=_($,Y);if(g)return g;const x=Y===hn,O=rr?history.state:{};A&&(B||x?i.replace($.fullPath,Ie({scroll:x&&O&&O.scroll},Q)):i.push($.fullPath,Q)),a.value=$,De($,Y,A,x),it()}let X;function pe(){X||(X=i.listen(($,Y,A)=>{if(!Et.listening)return;const B=y($),Q=I(B);if(Q){j(Ie(Q,{replace:!0}),B).catch(Zr);return}c=B;const g=a.value;rr&&lg(Zc(g.fullPath,A.delta),qo()),q(B,g).catch(x=>Zt(x,12)?x:Zt(x,2)?(j(x.to,B).then(O=>{Zt(O,20)&&!A.delta&&A.type===ai.pop&&i.go(-1,!1)}).catch(Zr),Promise.reject()):(A.delta&&i.go(-A.delta,!1),le(x,B,g))).then(x=>{x=x||V(B,g,!1),x&&(A.delta&&!Zt(x,8)?i.go(-A.delta,!1):A.type===ai.pop&&Zt(x,20)&&i.go(-1,!1)),z(B,g,x)}).catch(Zr)}))}let xe=jr(),ce=jr(),re;function le($,Y,A){it($);const B=ce.list();return B.length?B.forEach(Q=>Q($,Y,A)):console.error($),Promise.reject($)}function we(){return re&&a.value!==hn?Promise.resolve():new Promise(($,Y)=>{xe.add([$,Y])})}function it($){return re||(re=!$,pe(),xe.list().forEach(([Y,A])=>$?A($):Y()),xe.reset()),$}function De($,Y,A,B){const{scrollBehavior:Q}=e;if(!rr||!Q)return Promise.resolve();const g=!A&&ag(Zc($.fullPath,0))||(B||!A)&&history.state&&history.state.scroll||null;return Ho().then(()=>Q($,Y,g)).then(x=>x&&sg(x)).catch(x=>le(x,$,Y))}const je=$=>i.go($);let lt;const Ue=new Set,Et={currentRoute:a,listening:!0,addRoute:p,removeRoute:h,hasRoute:v,getRoutes:m,resolve:y,options:e,push:w,replace:S,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:o.add,beforeResolve:s.add,afterEach:l.add,onError:ce.add,isReady:we,install($){const Y=this;$.component("RouterLink",Wg),$.component("RouterView",wp),$.config.globalProperties.$router=Y,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>Oe(a)}),rr&&!lt&&a.value===hn&&(lt=!0,w(i.location).catch(Q=>{}));const A={};for(const Q in hn)Object.defineProperty(A,Q,{get:()=>a.value[Q],enumerable:!0});$.provide(Zo,Y),$.provide(ba,Ad(A)),$.provide(ll,a);const B=$.unmount;Ue.add($),$.unmount=function(){Ue.delete($),Ue.size<1&&(c=hn,X&&X(),X=null,a.value=hn,lt=!1,re=!1),B()}}};function Ve($){return $.reduce((Y,A)=>Y.then(()=>Z(A)),Promise.resolve())}return Et}function Xg(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;svr(c,l))?r.push(l):n.push(l));const a=e.matched[s];a&&(t.matched.find(c=>vr(c,a))||i.push(a))}return[n,r,i]}function _p(){return It(Zo)}function Qg(){return It(ba)}const Jg={class:"wrapper"},ey={__name:"App",setup(e){return(t,n)=>(E(),F("div",Jg,[ie(Oe(wp))]))}};/*! * shared v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const ll=typeof window<"u",ty=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Cn=e=>ty?Symbol(e):e,ny=(e,t,n)=>ry({l:e,k:t,s:n}),ry=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ye=e=>typeof e=="number"&&isFinite(e),iy=e=>wa(e)==="[object Date]",yo=e=>wa(e)==="[object RegExp]",Zo=e=>ye(e)&&Object.keys(e).length===0;function oy(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const st=Object.assign;let cu;const ba=()=>cu||(cu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function uu(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const sy=Object.prototype.hasOwnProperty;function xa(e,t){return sy.call(e,t)}const Be=Array.isArray,Qe=e=>typeof e=="function",ee=e=>typeof e=="string",Ne=e=>typeof e=="boolean",Te=e=>e!==null&&typeof e=="object",Op=Object.prototype.toString,wa=e=>Op.call(e),ye=e=>wa(e)==="[object Object]",ly=e=>e==null?"":Be(e)||ye(e)&&e.toString===Op?JSON.stringify(e,null,2):String(e);/*! + */const al=typeof window<"u",ty=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Cn=e=>ty?Symbol(e):e,ny=(e,t,n)=>ry({l:e,k:t,s:n}),ry=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ye=e=>typeof e=="number"&&isFinite(e),iy=e=>_a(e)==="[object Date]",yo=e=>_a(e)==="[object RegExp]",Xo=e=>ye(e)&&Object.keys(e).length===0;function oy(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const st=Object.assign;let uu;const xa=()=>uu||(uu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fu(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const sy=Object.prototype.hasOwnProperty;function wa(e,t){return sy.call(e,t)}const Be=Array.isArray,Qe=e=>typeof e=="function",ee=e=>typeof e=="string",Ne=e=>typeof e=="boolean",Te=e=>e!==null&&typeof e=="object",Op=Object.prototype.toString,_a=e=>Op.call(e),ye=e=>_a(e)==="[object Object]",ly=e=>e==null?"":Be(e)||ye(e)&&e.toString===Op?JSON.stringify(e,null,2):String(e);/*! * message-compiler v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. @@ -18,14 +18,14 @@ * core-base v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const Tn=[];Tn[0]={w:[0],i:[3,0],"[":[4],o:[7]};Tn[1]={w:[1],".":[2],"[":[4],o:[7]};Tn[2]={w:[2],i:[3,0],0:[3,0]};Tn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Tn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Tn[5]={"'":[4,0],o:8,l:[5,0]};Tn[6]={'"':[4,0],o:8,l:[6,0]};const ay=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function cy(e){return ay.test(e)}function uy(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function fy(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function dy(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:cy(t)?uy(t):"*"+t}function py(e){const t=[];let n=-1,r=0,i=0,o,s,l,a,c,u,f;const d=[];d[0]=()=>{s===void 0?s=l:s+=l},d[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,s===void 0||(s=dy(s),s===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,l="\\"+h,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(a=fy(o),f=Tn[r],c=f[a]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(l=o,u()===!1))))return;if(r===7)return t}}const fu=new Map;function hy(e,t){return Te(e)?e[t]:null}function my(e,t){if(!Te(e))return null;let n=fu.get(t);if(n||(n=py(t),n&&fu.set(t,n)),!n)return null;const r=n.length;let i=e,o=0;for(;oe,yy=e=>"",vy="text",by=e=>e.length===0?"":e.join(""),xy=ly;function du(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function wy(e){const t=Ye(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ye(e.named.count)||Ye(e.named.n))?Ye(e.named.count)?e.named.count:Ye(e.named.n)?e.named.n:t:t}function _y(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Oy(e={}){const t=e.locale,n=wy(e),r=Te(e.pluralRules)&&ee(t)&&Qe(e.pluralRules[t])?e.pluralRules[t]:du,i=Te(e.pluralRules)&&ee(t)&&Qe(e.pluralRules[t])?du:void 0,o=y=>y[r(n,y.length,i)],s=e.list||[],l=y=>s[y],a=e.named||{};Ye(e.pluralIndex)&&_y(n,a);const c=y=>a[y];function u(y){const b=Qe(e.messages)?e.messages(y):Te(e.messages)?e.messages[y]:!1;return b||(e.parent?e.parent.message(y):yy)}const f=y=>e.modifiers?e.modifiers[y]:gy,d=ye(e.processor)&&Qe(e.processor.normalize)?e.processor.normalize:by,p=ye(e.processor)&&Qe(e.processor.interpolate)?e.processor.interpolate:xy,h=ye(e.processor)&&ee(e.processor.type)?e.processor.type:vy,v={list:l,named:c,plural:o,linked:(y,...b)=>{const[_,w]=b;let S="text",I="";b.length===1?Te(_)?(I=_.modifier||I,S=_.type||S):ee(_)&&(I=_||I):b.length===2&&(ee(_)&&(I=_||I),ee(w)&&(S=w||S));let j=u(y)(v);return S==="vnode"&&Be(j)&&I&&(j=j[0]),I?f(I)(j,S):j},message:u,type:h,interpolate:p,normalize:d};return v}let ci=null;function Sy(e){ci=e}function Iy(e,t,n){ci&&ci.emit(Cp.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Cy=Ty(Cp.FunctionTranslate);function Ty(e){return t=>ci&&ci.emit(e,t)}function Ey(e,t,n){return[...new Set([n,...Be(t)?t:Te(t)?Object.keys(t):ee(t)?[t]:[n]])]}function Tp(e,t,n){const r=ee(n)?n:_a,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let s=[n];for(;Be(s);)s=pu(o,s,t);const l=Be(t)||!ye(t)?t:t.default?t.default:null;s=ee(l)?[l]:l,Be(s)&&pu(o,s,!1),i.__localeChainCache.set(r,o)}return o}function pu(e,t,n){let r=!0;for(let i=0;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function jy(){return{upper:(e,t)=>t==="text"&&ee(e)?e.toUpperCase():t==="vnode"&&Te(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ee(e)?e.toLowerCase():t==="vnode"&&Te(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ee(e)?mu(e):t==="vnode"&&Te(e)&&"__v_isVNode"in e?mu(e.children):e}}let Py,Ep;function Ly(e){Ep=e}let Mp;function Fy(e){Mp=e}let Ap=null;const gu=e=>{Ap=e},$y=()=>Ap;let kp=null;const yu=e=>{kp=e},Dy=()=>kp;let vu=0;function Ry(e={}){const t=ee(e.version)?e.version:ky,n=ee(e.locale)?e.locale:_a,r=Be(e.fallbackLocale)||ye(e.fallbackLocale)||ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=ye(e.messages)?e.messages:{[n]:{}},o=ye(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},s=ye(e.numberFormats)?e.numberFormats:{[n]:{}},l=st({},e.modifiers||{},jy()),a=e.pluralRules||{},c=Qe(e.missing)?e.missing:null,u=Ne(e.missingWarn)||yo(e.missingWarn)?e.missingWarn:!0,f=Ne(e.fallbackWarn)||yo(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,p=!!e.unresolving,h=Qe(e.postTranslation)?e.postTranslation:null,m=ye(e.processor)?e.processor:null,v=Ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=Qe(e.messageCompiler)?e.messageCompiler:Py,_=Qe(e.messageResolver)?e.messageResolver:Ep||hy,w=Qe(e.localeFallbacker)?e.localeFallbacker:Mp||Ey,S=Te(e.fallbackContext)?e.fallbackContext:void 0,I=Qe(e.onWarn)?e.onWarn:oy,j=e,H=Te(j.__datetimeFormatters)?j.__datetimeFormatters:new Map,Z=Te(j.__numberFormatters)?j.__numberFormatters:new Map,q=Te(j.__meta)?j.__meta:{};vu++;const z={version:t,cid:vu,locale:n,fallbackLocale:r,messages:i,modifiers:l,pluralRules:a,missing:c,missingWarn:u,fallbackWarn:f,fallbackFormat:d,unresolving:p,postTranslation:h,processor:m,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:_,localeFallbacker:w,fallbackContext:S,onWarn:I,__meta:q};return z.datetimeFormats=o,z.numberFormats=s,z.__datetimeFormatters=H,z.__numberFormatters=Z,__INTLIFY_PROD_DEVTOOLS__&&Iy(z,t,q),z}function Oa(e,t,n,r,i){const{missing:o,onWarn:s}=e;if(o!==null){const l=o(e,n,t,i);return ee(l)?l:t}else return t}function Pr(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let jp=Sp.__EXTEND_POINT__;const ws=()=>++jp,or={INVALID_ARGUMENT:jp,INVALID_DATE_ARGUMENT:ws(),INVALID_ISO_DATE_ARGUMENT:ws(),__EXTEND_POINT__:ws()};function sr(e){return Ip(e,null,void 0)}const bu=()=>"",Bt=e=>Qe(e);function xu(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:s,messages:l}=e,[a,c]=al(...t),u=Ne(c.missingWarn)?c.missingWarn:e.missingWarn,f=Ne(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=Ne(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=ee(c.default)||Ne(c.default)?Ne(c.default)?o?a:()=>a:c.default:n?o?a:()=>a:"",m=n||h!=="",v=ee(c.locale)?c.locale:e.locale;d&&zy(c);let[y,b,_]=p?[a,v,l[v]||{}]:Pp(e,a,v,s,f,u),w=y,S=a;if(!p&&!(ee(w)||Bt(w))&&m&&(w=h,S=w),!p&&(!(ee(w)||Bt(w))||!ee(b)))return i?Xo:a;let I=!1;const j=()=>{I=!0},H=Bt(w)?w:Lp(e,a,b,w,S,j);if(I)return w;const Z=Hy(e,b,_,c),q=Oy(Z),z=Ny(e,H,q),V=r?r(z,a):z;if(__INTLIFY_PROD_DEVTOOLS__){const X={timestamp:Date.now(),key:ee(a)?a:Bt(w)?w.key:"",locale:b||(Bt(w)?w.locale:""),format:ee(w)?w:Bt(w)?w.source:"",message:V};X.meta=st({},e.__meta,$y()||{}),Cy(X)}return V}function zy(e){Be(e.list)?e.list=e.list.map(t=>ee(t)?uu(t):t):Te(e.named)&&Object.keys(e.named).forEach(t=>{ee(e.named[t])&&(e.named[t]=uu(e.named[t]))})}function Pp(e,t,n,r,i,o){const{messages:s,onWarn:l,messageResolver:a,localeFallbacker:c}=e,u=c(e,r,n);let f={},d,p=null;const h="translate";for(let m=0;mr;return c.locale=n,c.key=t,c}const a=s(r,Vy(e,n,i,r,l,o));return a.locale=n,a.key=t,a.source=r,a}function Ny(e,t,n){return t(n)}function al(...e){const[t,n,r]=e,i={};if(!ee(t)&&!Ye(t)&&!Bt(t))throw sr(or.INVALID_ARGUMENT);const o=Ye(t)?String(t):(Bt(t),t);return Ye(n)?i.plural=n:ee(n)?i.default=n:ye(n)&&!Zo(n)?i.named=n:Be(n)&&(i.list=n),Ye(r)?i.plural=r:ee(r)?i.default=r:ye(r)&&st(i,r),[o,i]}function Vy(e,t,n,r,i,o){return{warnHtmlMessage:i,onError:s=>{throw o&&o(s),s},onCacheKey:s=>ny(t,n,s)}}function Hy(e,t,n,r){const{modifiers:i,pluralRules:o,messageResolver:s,fallbackLocale:l,fallbackWarn:a,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:o,messages:p=>{let h=s(n,p);if(h==null&&u){const[,,m]=Pp(u,p,t,l,a,c);h=s(m,p)}if(ee(h)){let m=!1;const y=Lp(e,p,t,h,p,()=>{m=!0});return m?bu:y}else return Bt(h)?h:bu}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Ye(r.plural)&&(d.pluralIndex=r.plural),d}function wu(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__datetimeFormatters:l}=e,[a,c,u,f]=cl(...t),d=Ne(u.missingWarn)?u.missingWarn:e.missingWarn;Ne(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=ee(u.locale)?u.locale:e.locale,m=s(e,i,h);if(!ee(a)||a==="")return new Intl.DateTimeFormat(h,f).format(c);let v={},y,b=null;const _="datetime format";for(let I=0;I{Fp.includes(a)?s[a]=n[a]:o[a]=n[a]}),ee(r)?o.locale=r:ye(r)&&(s=r),ye(i)&&(s=i),[o.key||"",l,o,s]}function _u(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Ou(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__numberFormatters:l}=e,[a,c,u,f]=ul(...t),d=Ne(u.missingWarn)?u.missingWarn:e.missingWarn;Ne(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=ee(u.locale)?u.locale:e.locale,m=s(e,i,h);if(!ee(a)||a==="")return new Intl.NumberFormat(h,f).format(c);let v={},y,b=null;const _="number format";for(let I=0;I{$p.includes(a)?s[a]=n[a]:o[a]=n[a]}),ee(r)?o.locale=r:ye(r)&&(s=r),ye(i)&&(s=i),[o.key||"",l,o,s]}function Su(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ba().__INTLIFY_PROD_DEVTOOLS__=!1);/*! + */const Tn=[];Tn[0]={w:[0],i:[3,0],"[":[4],o:[7]};Tn[1]={w:[1],".":[2],"[":[4],o:[7]};Tn[2]={w:[2],i:[3,0],0:[3,0]};Tn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Tn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Tn[5]={"'":[4,0],o:8,l:[5,0]};Tn[6]={'"':[4,0],o:8,l:[6,0]};const ay=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function cy(e){return ay.test(e)}function uy(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function fy(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function dy(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:cy(t)?uy(t):"*"+t}function py(e){const t=[];let n=-1,r=0,i=0,o,s,l,a,c,u,f;const d=[];d[0]=()=>{s===void 0?s=l:s+=l},d[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,s===void 0||(s=dy(s),s===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,l="\\"+h,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(a=fy(o),f=Tn[r],c=f[a]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(l=o,u()===!1))))return;if(r===7)return t}}const du=new Map;function hy(e,t){return Te(e)?e[t]:null}function my(e,t){if(!Te(e))return null;let n=du.get(t);if(n||(n=py(t),n&&du.set(t,n)),!n)return null;const r=n.length;let i=e,o=0;for(;oe,yy=e=>"",vy="text",by=e=>e.length===0?"":e.join(""),xy=ly;function pu(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function wy(e){const t=Ye(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ye(e.named.count)||Ye(e.named.n))?Ye(e.named.count)?e.named.count:Ye(e.named.n)?e.named.n:t:t}function _y(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Oy(e={}){const t=e.locale,n=wy(e),r=Te(e.pluralRules)&&ee(t)&&Qe(e.pluralRules[t])?e.pluralRules[t]:pu,i=Te(e.pluralRules)&&ee(t)&&Qe(e.pluralRules[t])?pu:void 0,o=y=>y[r(n,y.length,i)],s=e.list||[],l=y=>s[y],a=e.named||{};Ye(e.pluralIndex)&&_y(n,a);const c=y=>a[y];function u(y){const b=Qe(e.messages)?e.messages(y):Te(e.messages)?e.messages[y]:!1;return b||(e.parent?e.parent.message(y):yy)}const f=y=>e.modifiers?e.modifiers[y]:gy,d=ye(e.processor)&&Qe(e.processor.normalize)?e.processor.normalize:by,p=ye(e.processor)&&Qe(e.processor.interpolate)?e.processor.interpolate:xy,h=ye(e.processor)&&ee(e.processor.type)?e.processor.type:vy,v={list:l,named:c,plural:o,linked:(y,...b)=>{const[_,w]=b;let S="text",I="";b.length===1?Te(_)?(I=_.modifier||I,S=_.type||S):ee(_)&&(I=_||I):b.length===2&&(ee(_)&&(I=_||I),ee(w)&&(S=w||S));let j=u(y)(v);return S==="vnode"&&Be(j)&&I&&(j=j[0]),I?f(I)(j,S):j},message:u,type:h,interpolate:p,normalize:d};return v}let ci=null;function Sy(e){ci=e}function Iy(e,t,n){ci&&ci.emit(Cp.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Cy=Ty(Cp.FunctionTranslate);function Ty(e){return t=>ci&&ci.emit(e,t)}function Ey(e,t,n){return[...new Set([n,...Be(t)?t:Te(t)?Object.keys(t):ee(t)?[t]:[n]])]}function Tp(e,t,n){const r=ee(n)?n:Oa,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let s=[n];for(;Be(s);)s=hu(o,s,t);const l=Be(t)||!ye(t)?t:t.default?t.default:null;s=ee(l)?[l]:l,Be(s)&&hu(o,s,!1),i.__localeChainCache.set(r,o)}return o}function hu(e,t,n){let r=!0;for(let i=0;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function jy(){return{upper:(e,t)=>t==="text"&&ee(e)?e.toUpperCase():t==="vnode"&&Te(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ee(e)?e.toLowerCase():t==="vnode"&&Te(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ee(e)?gu(e):t==="vnode"&&Te(e)&&"__v_isVNode"in e?gu(e.children):e}}let Py,Ep;function Ly(e){Ep=e}let Mp;function Fy(e){Mp=e}let Ap=null;const yu=e=>{Ap=e},$y=()=>Ap;let kp=null;const vu=e=>{kp=e},Dy=()=>kp;let bu=0;function Ry(e={}){const t=ee(e.version)?e.version:ky,n=ee(e.locale)?e.locale:Oa,r=Be(e.fallbackLocale)||ye(e.fallbackLocale)||ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=ye(e.messages)?e.messages:{[n]:{}},o=ye(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},s=ye(e.numberFormats)?e.numberFormats:{[n]:{}},l=st({},e.modifiers||{},jy()),a=e.pluralRules||{},c=Qe(e.missing)?e.missing:null,u=Ne(e.missingWarn)||yo(e.missingWarn)?e.missingWarn:!0,f=Ne(e.fallbackWarn)||yo(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,p=!!e.unresolving,h=Qe(e.postTranslation)?e.postTranslation:null,m=ye(e.processor)?e.processor:null,v=Ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=Qe(e.messageCompiler)?e.messageCompiler:Py,_=Qe(e.messageResolver)?e.messageResolver:Ep||hy,w=Qe(e.localeFallbacker)?e.localeFallbacker:Mp||Ey,S=Te(e.fallbackContext)?e.fallbackContext:void 0,I=Qe(e.onWarn)?e.onWarn:oy,j=e,H=Te(j.__datetimeFormatters)?j.__datetimeFormatters:new Map,Z=Te(j.__numberFormatters)?j.__numberFormatters:new Map,q=Te(j.__meta)?j.__meta:{};bu++;const z={version:t,cid:bu,locale:n,fallbackLocale:r,messages:i,modifiers:l,pluralRules:a,missing:c,missingWarn:u,fallbackWarn:f,fallbackFormat:d,unresolving:p,postTranslation:h,processor:m,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:_,localeFallbacker:w,fallbackContext:S,onWarn:I,__meta:q};return z.datetimeFormats=o,z.numberFormats=s,z.__datetimeFormatters=H,z.__numberFormatters=Z,__INTLIFY_PROD_DEVTOOLS__&&Iy(z,t,q),z}function Sa(e,t,n,r,i){const{missing:o,onWarn:s}=e;if(o!==null){const l=o(e,n,t,i);return ee(l)?l:t}else return t}function Pr(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let jp=Sp.__EXTEND_POINT__;const _s=()=>++jp,or={INVALID_ARGUMENT:jp,INVALID_DATE_ARGUMENT:_s(),INVALID_ISO_DATE_ARGUMENT:_s(),__EXTEND_POINT__:_s()};function sr(e){return Ip(e,null,void 0)}const xu=()=>"",Bt=e=>Qe(e);function wu(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:s,messages:l}=e,[a,c]=cl(...t),u=Ne(c.missingWarn)?c.missingWarn:e.missingWarn,f=Ne(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=Ne(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=ee(c.default)||Ne(c.default)?Ne(c.default)?o?a:()=>a:c.default:n?o?a:()=>a:"",m=n||h!=="",v=ee(c.locale)?c.locale:e.locale;d&&zy(c);let[y,b,_]=p?[a,v,l[v]||{}]:Pp(e,a,v,s,f,u),w=y,S=a;if(!p&&!(ee(w)||Bt(w))&&m&&(w=h,S=w),!p&&(!(ee(w)||Bt(w))||!ee(b)))return i?Qo:a;let I=!1;const j=()=>{I=!0},H=Bt(w)?w:Lp(e,a,b,w,S,j);if(I)return w;const Z=Hy(e,b,_,c),q=Oy(Z),z=Ny(e,H,q),V=r?r(z,a):z;if(__INTLIFY_PROD_DEVTOOLS__){const X={timestamp:Date.now(),key:ee(a)?a:Bt(w)?w.key:"",locale:b||(Bt(w)?w.locale:""),format:ee(w)?w:Bt(w)?w.source:"",message:V};X.meta=st({},e.__meta,$y()||{}),Cy(X)}return V}function zy(e){Be(e.list)?e.list=e.list.map(t=>ee(t)?fu(t):t):Te(e.named)&&Object.keys(e.named).forEach(t=>{ee(e.named[t])&&(e.named[t]=fu(e.named[t]))})}function Pp(e,t,n,r,i,o){const{messages:s,onWarn:l,messageResolver:a,localeFallbacker:c}=e,u=c(e,r,n);let f={},d,p=null;const h="translate";for(let m=0;mr;return c.locale=n,c.key=t,c}const a=s(r,Vy(e,n,i,r,l,o));return a.locale=n,a.key=t,a.source=r,a}function Ny(e,t,n){return t(n)}function cl(...e){const[t,n,r]=e,i={};if(!ee(t)&&!Ye(t)&&!Bt(t))throw sr(or.INVALID_ARGUMENT);const o=Ye(t)?String(t):(Bt(t),t);return Ye(n)?i.plural=n:ee(n)?i.default=n:ye(n)&&!Xo(n)?i.named=n:Be(n)&&(i.list=n),Ye(r)?i.plural=r:ee(r)?i.default=r:ye(r)&&st(i,r),[o,i]}function Vy(e,t,n,r,i,o){return{warnHtmlMessage:i,onError:s=>{throw o&&o(s),s},onCacheKey:s=>ny(t,n,s)}}function Hy(e,t,n,r){const{modifiers:i,pluralRules:o,messageResolver:s,fallbackLocale:l,fallbackWarn:a,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:o,messages:p=>{let h=s(n,p);if(h==null&&u){const[,,m]=Pp(u,p,t,l,a,c);h=s(m,p)}if(ee(h)){let m=!1;const y=Lp(e,p,t,h,p,()=>{m=!0});return m?xu:y}else return Bt(h)?h:xu}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Ye(r.plural)&&(d.pluralIndex=r.plural),d}function _u(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__datetimeFormatters:l}=e,[a,c,u,f]=ul(...t),d=Ne(u.missingWarn)?u.missingWarn:e.missingWarn;Ne(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=ee(u.locale)?u.locale:e.locale,m=s(e,i,h);if(!ee(a)||a==="")return new Intl.DateTimeFormat(h,f).format(c);let v={},y,b=null;const _="datetime format";for(let I=0;I{Fp.includes(a)?s[a]=n[a]:o[a]=n[a]}),ee(r)?o.locale=r:ye(r)&&(s=r),ye(i)&&(s=i),[o.key||"",l,o,s]}function Ou(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Su(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__numberFormatters:l}=e,[a,c,u,f]=fl(...t),d=Ne(u.missingWarn)?u.missingWarn:e.missingWarn;Ne(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=ee(u.locale)?u.locale:e.locale,m=s(e,i,h);if(!ee(a)||a==="")return new Intl.NumberFormat(h,f).format(c);let v={},y,b=null;const _="number format";for(let I=0;I{$p.includes(a)?s[a]=n[a]:o[a]=n[a]}),ee(r)?o.locale=r:ye(r)&&(s=r),ye(i)&&(s=i),[o.key||"",l,o,s]}function Iu(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xa().__INTLIFY_PROD_DEVTOOLS__=!1);/*! * vue-i18n v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const By="9.2.2";function Uy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ba().__INTLIFY_PROD_DEVTOOLS__=!1)}let Dp=Sp.__EXTEND_POINT__;const at=()=>++Dp,yt={UNEXPECTED_RETURN_TYPE:Dp,INVALID_ARGUMENT:at(),MUST_BE_CALL_SETUP_TOP:at(),NOT_INSLALLED:at(),NOT_AVAILABLE_IN_LEGACY_MODE:at(),REQUIRED_VALUE:at(),INVALID_VALUE:at(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:at(),NOT_INSLALLED_WITH_PROVIDE:at(),UNEXPECTED_ERROR:at(),NOT_COMPATIBLE_LEGACY_VUE_I18N:at(),BRIDGE_SUPPORT_VUE_2_ONLY:at(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:at(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:at(),__EXTEND_POINT__:at()};function Tt(e,...t){return Ip(e,null,void 0)}const fl=Cn("__transrateVNode"),dl=Cn("__datetimeParts"),pl=Cn("__numberParts"),Ky=Cn("__setPluralRules");Cn("__intlifyMeta");const Wy=Cn("__injectWithOption");function hl(e){if(!Te(e))return e;for(const t in e)if(xa(e,t))if(!t.includes("."))Te(e[t])&&hl(e[t]);else{const n=t.split("."),r=n.length-1;let i=e;for(let o=0;o{if("locale"in l&&"resource"in l){const{locale:a,resource:c}=l;a?(s[a]=s[a]||{},Qr(c,s[a])):Qr(c,s)}else ee(l)&&Qr(JSON.parse(l),s)}),i==null&&o)for(const l in s)xa(s,l)&&hl(s[l]);return s}const Wi=e=>!Te(e)||Be(e);function Qr(e,t){if(Wi(e)||Wi(t))throw Tt(yt.INVALID_VALUE);for(const n in e)xa(e,n)&&(Wi(e[n])||Wi(t[n])?t[n]=e[n]:Qr(e[n],t[n]))}function zp(e){return e.type}function Gy(e,t,n){let r=Te(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Rp(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(Te(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Te(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Iu(e){return ie(ki,null,e,0)}const Cu="__INTLIFY_META__";let Tu=0;function Eu(e){return(t,n,r,i)=>e(n,r,ji()||void 0,i)}const Yy=()=>{const e=ji();let t=null;return e&&(t=zp(e)[Cu])?{[Cu]:t}:null};function Np(e={},t){const{__root:n}=e,r=n===void 0;let i=Ne(e.inheritLocale)?e.inheritLocale:!0;const o=fe(n&&i?n.locale.value:ee(e.locale)?e.locale:_a),s=fe(n&&i?n.fallbackLocale.value:ee(e.fallbackLocale)||Be(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),l=fe(Rp(o.value,e)),a=fe(ye(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),c=fe(ye(e.numberFormats)?e.numberFormats:{[o.value]:{}});let u=n?n.missingWarn:Ne(e.missingWarn)||yo(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:Ne(e.fallbackWarn)||yo(e.fallbackWarn)?e.fallbackWarn:!0,d=n?n.fallbackRoot:Ne(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,h=Qe(e.missing)?e.missing:null,m=Qe(e.missing)?Eu(e.missing):null,v=Qe(e.postTranslation)?e.postTranslation:null,y=n?n.warnHtmlMessage:Ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const _=n?n.modifiers:ye(e.modifiers)?e.modifiers:{};let w=e.pluralRules||n&&n.pluralRules,S;S=(()=>{r&&yu(null);const C={version:By,locale:o.value,fallbackLocale:s.value,messages:l.value,modifiers:_,pluralRules:w,missing:m===null?void 0:m,missingWarn:u,fallbackWarn:f,fallbackFormat:p,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:b,messageResolver:e.messageResolver,__meta:{framework:"vue"}};C.datetimeFormats=a.value,C.numberFormats=c.value,C.__datetimeFormatters=ye(S)?S.__datetimeFormatters:void 0,C.__numberFormatters=ye(S)?S.__numberFormatters:void 0;const T=Ry(C);return r&&yu(T),T})(),Pr(S,o.value,s.value);function j(){return[o.value,s.value,l.value,a.value,c.value]}const H=Ce({get:()=>o.value,set:C=>{o.value=C,S.locale=o.value}}),Z=Ce({get:()=>s.value,set:C=>{s.value=C,S.fallbackLocale=s.value,Pr(S,o.value,C)}}),q=Ce(()=>l.value),z=Ce(()=>a.value),V=Ce(()=>c.value);function X(){return Qe(v)?v:null}function pe(C){v=C,S.postTranslation=C}function xe(){return h}function ce(C){C!==null&&(m=Eu(C)),h=C,S.missing=m}const re=(C,T,J,te,de,_e)=>{j();let he;if(__INTLIFY_PROD_DEVTOOLS__)try{gu(Yy()),r||(S.fallbackContext=n?Dy():void 0),he=C(S)}finally{gu(null),r||(S.fallbackContext=void 0)}else he=C(S);if(Ye(he)&&he===Xo){const[Re,bt]=T();return n&&d?te(n):de(Re)}else{if(_e(he))return he;throw Tt(yt.UNEXPECTED_RETURN_TYPE)}};function le(...C){return re(T=>Reflect.apply(xu,null,[T,...C]),()=>al(...C),"translate",T=>Reflect.apply(T.t,T,[...C]),T=>T,T=>ee(T))}function we(...C){const[T,J,te]=C;if(te&&!Te(te))throw Tt(yt.INVALID_ARGUMENT);return le(T,J,st({resolvedMessage:!0},te||{}))}function it(...C){return re(T=>Reflect.apply(wu,null,[T,...C]),()=>cl(...C),"datetime format",T=>Reflect.apply(T.d,T,[...C]),()=>hu,T=>ee(T))}function De(...C){return re(T=>Reflect.apply(Ou,null,[T,...C]),()=>ul(...C),"number format",T=>Reflect.apply(T.n,T,[...C]),()=>hu,T=>ee(T))}function je(C){return C.map(T=>ee(T)||Ye(T)||Ne(T)?Iu(String(T)):T)}const Ue={normalize:je,interpolate:C=>C,type:"vnode"};function Et(...C){return re(T=>{let J;const te=T;try{te.processor=Ue,J=Reflect.apply(xu,null,[te,...C])}finally{te.processor=null}return J},()=>al(...C),"translate",T=>T[fl](...C),T=>[Iu(T)],T=>Be(T))}function Ve(...C){return re(T=>Reflect.apply(Ou,null,[T,...C]),()=>ul(...C),"number format",T=>T[pl](...C),()=>[],T=>ee(T)||Be(T))}function $(...C){return re(T=>Reflect.apply(wu,null,[T,...C]),()=>cl(...C),"datetime format",T=>T[dl](...C),()=>[],T=>ee(T)||Be(T))}function Y(C){w=C,S.pluralRules=w}function A(C,T){const J=ee(T)?T:o.value,te=g(J);return S.messageResolver(te,C)!==null}function B(C){let T=null;const J=Tp(S,s.value,o.value);for(let te=0;te{i&&(o.value=C,S.locale=C,Pr(S,o.value,s.value))}),Ze(n.fallbackLocale,C=>{i&&(s.value=C,S.fallbackLocale=C,Pr(S,o.value,s.value))}));const D={id:Tu,locale:H,fallbackLocale:Z,get inheritLocale(){return i},set inheritLocale(C){i=C,C&&n&&(o.value=n.locale.value,s.value=n.fallbackLocale.value,Pr(S,o.value,s.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:q,get modifiers(){return _},get pluralRules(){return w||{}},get isGlobal(){return r},get missingWarn(){return u},set missingWarn(C){u=C,S.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(C){f=C,S.fallbackWarn=f},get fallbackRoot(){return d},set fallbackRoot(C){d=C},get fallbackFormat(){return p},set fallbackFormat(C){p=C,S.fallbackFormat=p},get warnHtmlMessage(){return y},set warnHtmlMessage(C){y=C,S.warnHtmlMessage=C},get escapeParameter(){return b},set escapeParameter(C){b=C,S.escapeParameter=C},t:le,getLocaleMessage:g,setLocaleMessage:x,mergeLocaleMessage:O,getPostTranslationHandler:X,setPostTranslationHandler:pe,getMissingHandler:xe,setMissingHandler:ce,[Ky]:Y};return D.datetimeFormats=z,D.numberFormats=V,D.rt=we,D.te=A,D.tm=Q,D.d=it,D.n=De,D.getDateTimeFormat=k,D.setDateTimeFormat=P,D.mergeDateTimeFormat=R,D.getNumberFormat=G,D.setNumberFormat=K,D.mergeNumberFormat=W,D[Wy]=e.__injectWithOption,D[fl]=Et,D[dl]=$,D[pl]=Ve,D}const Sa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function qy({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>r=[...r,...Be(i.children)?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Vp(e){return ae}const Mu={name:"i18n-t",props:st({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ye(e)||!isNaN(e)}},Sa),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||En({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=ee(e.plural)?+e.plural:e.plural);const l=qy(t,o),a=i[fl](e.keypath,l,s),c=st({},r),u=ee(e.tag)||Te(e.tag)?e.tag:Vp();return Un(u,c,a)}}};function Zy(e){return Be(e)&&!ee(e[0])}function Hp(e,t,n,r){const{slots:i,attrs:o}=t;return()=>{const s={part:!0};let l={};e.locale&&(s.locale=e.locale),ee(e.format)?s.key=e.format:Te(e.format)&&(ee(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((d,p)=>n.includes(p)?st({},d,{[p]:e.format[p]}):d,{}));const a=r(e.value,s,l);let c=[s.key];Be(a)?c=a.map((d,p)=>{const h=i[d.type],m=h?h({[d.type]:d.value,index:p,parts:a}):[d.value];return Zy(m)&&(m[0].key=`${d.type}-${p}`),m}):ee(a)&&(c=[a]);const u=st({},o),f=ee(e.tag)||Te(e.tag)?e.tag:Vp();return Un(f,u,c)}}const Au={name:"i18n-n",props:st({value:{type:Number,required:!0},format:{type:[String,Object]}},Sa),setup(e,t){const n=e.i18n||En({useScope:"parent",__useComponent:!0});return Hp(e,t,$p,(...r)=>n[pl](...r))}},ku={name:"i18n-d",props:st({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Sa),setup(e,t){const n=e.i18n||En({useScope:"parent",__useComponent:!0});return Hp(e,t,Fp,(...r)=>n[dl](...r))}};function Xy(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Qy(e){const t=s=>{const{instance:l,modifiers:a,value:c}=s;if(!l||!l.$)throw Tt(yt.UNEXPECTED_ERROR);const u=Xy(e,l.$),f=ju(c);return[Reflect.apply(u.t,u,[...Pu(f)]),u]};return{created:(s,l)=>{const[a,c]=t(l);ll&&e.global===c&&(s.__i18nWatcher=Ze(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),s.__composer=c,s.textContent=a},unmounted:s=>{ll&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:l})=>{if(s.__composer){const a=s.__composer,c=ju(l);s.textContent=Reflect.apply(a.t,a,[...Pu(c)])}},getSSRProps:s=>{const[l]=t(s);return{textContent:l}}}}function ju(e){if(ee(e))return{path:e};if(ye(e)){if(!("path"in e))throw Tt(yt.REQUIRED_VALUE,"path");return e}else throw Tt(yt.INVALID_VALUE)}function Pu(e){const{path:t,locale:n,args:r,choice:i,plural:o}=e,s={},l=r||{};return ee(n)&&(s.locale=n),Ye(i)&&(s.plural=i),Ye(o)&&(s.plural=o),[t,l,s]}function Jy(e,t,...n){const r=ye(n[0])?n[0]:{},i=!!r.useI18nComponentName;(Ne(r.globalInstall)?r.globalInstall:!0)&&(e.component(i?"i18n":Mu.name,Mu),e.component(Au.name,Au),e.component(ku.name,ku)),e.directive("t",Qy(t))}const e2=Cn("global-vue-i18n");function t2(e={},t){const n=Ne(e.globalInjection)?e.globalInjection:!0,r=!0,i=new Map,[o,s]=n2(e),l=Cn("");function a(f){return i.get(f)||null}function c(f,d){i.set(f,d)}function u(f){i.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(d,...p){d.__VUE_I18N_SYMBOL__=l,d.provide(d.__VUE_I18N_SYMBOL__,f),n&&u2(d,f.global),Jy(d,f,...p);const h=d.unmount;d.unmount=()=>{f.dispose(),h()}},get global(){return s},dispose(){o.stop()},__instances:i,__getInstance:a,__setInstance:c,__deleteInstance:u};return f}}function En(e={}){const t=ji();if(t==null)throw Tt(yt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Tt(yt.NOT_INSLALLED);const n=r2(t),r=o2(n),i=zp(t),o=i2(e,i);if(o==="global")return Gy(r,e,i),r;if(o==="parent"){let a=s2(n,t,e.__useComponent);return a==null&&(a=r),a}const s=n;let l=s.__getInstance(t);if(l==null){const a=st({},e);"__i18n"in i&&(a.__i18n=i.__i18n),r&&(a.__root=r),l=Np(a),l2(s,t),s.__setInstance(t,l)}return l}function n2(e,t,n){const r=z1();{const i=r.run(()=>Np(e));if(i==null)throw Tt(yt.UNEXPECTED_ERROR);return[r,i]}}function r2(e){{const t=It(e.isCE?e2:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Tt(e.isCE?yt.NOT_INSLALLED_WITH_PROVIDE:yt.UNEXPECTED_ERROR);return t}}function i2(e,t){return Zo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function o2(e){return e.mode==="composition"?e.global:e.global.__composer}function s2(e,t,n=!1){let r=null;const i=t.root;let o=t.parent;for(;o!=null;){const s=e;if(e.mode==="composition"&&(r=s.__getInstance(o)),r!=null||i===o)break;o=o.parent}return r}function l2(e,t,n){pt(()=>{},t),la(()=>{e.__deleteInstance(t)},t)}const a2=["locale","fallbackLocale","availableLocales"],c2=["t","rt","d","n","tm"];function u2(e,t){const n=Object.create(null);a2.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw Tt(yt.UNEXPECTED_ERROR);const o=et(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,c2.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw Tt(yt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)})}Ly(my);Fy(Tp);Uy();if(__INTLIFY_PROD_DEVTOOLS__){const e=ba();e.__INTLIFY__=!0,Sy(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function _s(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ia(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function f2(e){return h2(e)||p2(e)||Ia(e)||d2()}function d2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function h2(e){if(Array.isArray(e))return ml(e)}function Jr(e){"@babel/helpers - typeof";return Jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jr(e)}function Os(e,t){return y2(e)||g2(e,t)||Ia(e,t)||m2()}function m2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ia(e,t){if(e){if(typeof e=="string")return ml(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ml(e,t)}}function ml(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};t&&Object.entries(n).forEach(function(r){var i=Os(r,2),o=i[0],s=i[1];return t.style[o]=s})},find:function(t,n){return this.isElement(t)?t.querySelectorAll(n):[]},findSingle:function(t,n){return this.isElement(t)?t.querySelector(n):null},createElement:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t){var r=document.createElement(t);this.setAttributes(r,n);for(var i=arguments.length,o=new Array(i>2?i-2:0),s=2;s1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0;this.isElement(t)&&r!==null&&r!==void 0&&t.setAttribute(n,r)},setAttributes:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.isElement(t)){var i=function o(s,l){var a,c,u=t!=null&&(a=t.$attrs)!==null&&a!==void 0&&a[s]?[t==null||(c=t.$attrs)===null||c===void 0?void 0:c[s]]:[];return[l].flat().reduce(function(f,d){if(d!=null){var p=Jr(d);if(p==="string"||p==="number")f.push(d);else if(p==="object"){var h=Array.isArray(d)?o(s,d):Object.entries(d).map(function(m){var v=Os(m,2),y=v[0],b=v[1];return s==="style"&&(b||b===0)?"".concat(y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(b):b?y:void 0});f=h.length?f.concat(h.filter(function(m){return!!m})):f}}return f},u)};Object.entries(r).forEach(function(o){var s=Os(o,2),l=s[0],a=s[1];if(a!=null){var c=l.match(/^on(.+)/);c?t.addEventListener(c[1].toLowerCase(),a):l==="p-bind"?n.setAttributes(t,a):(a=l==="class"?f2(new Set(i("class",a))).join(" ").trim():l==="style"?i("style",a).join(";").trim():a,(t.$attrs=t.$attrs||{})&&(t.$attrs[l]=a),t.setAttribute(l,a))}})}},getAttribute:function(t,n){if(this.isElement(t)){var r=t.getAttribute(n);return isNaN(r)?r==="true"||r==="false"?r==="true":r:+r}},isAttributeEquals:function(t,n,r){return this.isElement(t)?this.getAttribute(t,n)===r:!1},isAttributeNotEquals:function(t,n,r){return!this.isAttributeEquals(t,n,r)},getHeight:function(t){if(t){var n=t.offsetHeight,r=getComputedStyle(t);return n-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),n}return 0},getWidth:function(t){if(t){var n=t.offsetWidth,r=getComputedStyle(t);return n-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)+parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),n}return 0},absolutePosition:function(t,n){if(t){var r=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=r.height,o=r.width,s=n.offsetHeight,l=n.offsetWidth,a=n.getBoundingClientRect(),c=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),f=this.getViewport(),d,p;a.top+s+i>f.height?(d=a.top+c-i,t.style.transformOrigin="bottom",d<0&&(d=c)):(d=s+a.top+c,t.style.transformOrigin="top"),a.left+o>f.width?p=Math.max(0,a.left+u+l-o):p=a.left+u,t.style.top=d+"px",t.style.left=p+"px"}},relativePosition:function(t,n){if(t){var r=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=n.offsetHeight,o=n.getBoundingClientRect(),s=this.getViewport(),l,a;o.top+i+r.height>s.height?(l=-1*r.height,t.style.transformOrigin="bottom",o.top+l<0&&(l=-1*o.top)):(l=i,t.style.transformOrigin="top"),r.width>s.width?a=o.left*-1:o.left+r.width>s.width?a=(o.left+r.width-s.width)*-1:a=0,t.style.top=l+"px",t.style.left=a+"px"}},nestedPosition:function(t,n){if(t){var r=t.parentElement,i=this.getOffset(r),o=this.getViewport(),s=t.offsetParent?t.offsetWidth:this.getHiddenElementOuterWidth(t),l=this.getOuterWidth(r.children[0]),a;parseInt(i.left,10)+l+s>o.width-this.calculateScrollbarWidth()?parseInt(i.left,10)1&&arguments[1]!==void 0?arguments[1]:[];return t.parentNode===null?n:this.getParents(t.parentNode,n.concat([t.parentNode]))},getScrollableParents:function(t){var n=[];if(t){var r=this.getParents(t),i=/(auto|scroll)/,o=function(v){try{var y=window.getComputedStyle(v,null);return i.test(y.getPropertyValue("overflow"))||i.test(y.getPropertyValue("overflowX"))||i.test(y.getPropertyValue("overflowY"))}catch{return!1}},s=_s(r),l;try{for(s.s();!(l=s.n()).done;){var a=l.value,c=a.nodeType===1&&a.dataset.scrollselectors;if(c){var u=c.split(","),f=_s(u),d;try{for(f.s();!(d=f.n()).done;){var p=d.value,h=this.findSingle(a,p);h&&o(h)&&n.push(h)}}catch(m){f.e(m)}finally{f.f()}}a.nodeType!==9&&o(a)&&n.push(a)}}catch(m){s.e(m)}finally{s.f()}}return n},getHiddenElementOuterHeight:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var n=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",n}return 0},getHiddenElementOuterWidth:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var n=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",n}return 0},getHiddenElementDimensions:function(t){if(t){var n={};return t.style.visibility="hidden",t.style.display="block",n.width=t.offsetWidth,n.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",n}return 0},fadeIn:function(t,n){if(t){t.style.opacity=0;var r=+new Date,i=0,o=function s(){i=+t.style.opacity+(new Date().getTime()-r)/n,t.style.opacity=i,r=+new Date,+i<1&&(window.requestAnimationFrame&&requestAnimationFrame(s)||setTimeout(s,16))};o()}},fadeOut:function(t,n){if(t)var r=1,i=50,o=n,s=i/o,l=setInterval(function(){r-=s,r<=0&&(r=0,clearInterval(l)),t.style.opacity=r},i)},getUserAgent:function(){return navigator.userAgent},appendChild:function(t,n){if(this.isElement(n))n.appendChild(t);else if(n.el&&n.elElement)n.elElement.appendChild(t);else throw new Error("Cannot append "+n+" to "+t)},isElement:function(t){return(typeof HTMLElement>"u"?"undefined":Jr(HTMLElement))==="object"?t instanceof HTMLElement:t&&Jr(t)==="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"},scrollInView:function(t,n){var r=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=r?parseFloat(r):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),s=o?parseFloat(o):0,l=t.getBoundingClientRect(),a=n.getBoundingClientRect(),c=a.top+document.body.scrollTop-(l.top+document.body.scrollTop)-i-s,u=t.scrollTop,f=t.clientHeight,d=this.getOuterHeight(n);c<0?t.scrollTop=u+c:c+d>f&&(t.scrollTop=u+c-f+d)},clearSelection:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}},getSelection:function(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null},calculateScrollbarWidth:function(){if(this.calculatedScrollbarWidth!=null)return this.calculatedScrollbarWidth;var t=document.createElement("div");this.addStyles(t,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(t);var n=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=n,n},calculateBodyScrollbarWidth:function(){return window.innerWidth-document.documentElement.offsetWidth},getBrowser:function(){if(!this.browser){var t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser},resolveUserAgent:function(){var t=navigator.userAgent.toLowerCase(),n=/(chrome)[ ]([\w.]+)/.exec(t)||/(webkit)[ ]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:n[1]||"",version:n[2]||"0"}},isVisible:function(t){return t&&t.offsetParent!=null},invokeElementMethod:function(t,n,r){t[n].apply(t,r)},isExist:function(t){return!!(t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode)},isClient:function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},focus:function(t,n){t&&document.activeElement!==t&&t.focus(n)},isFocusableElement:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.isElement(t)?t.matches('button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(n,`, + */const By="9.2.2";function Uy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xa().__INTLIFY_PROD_DEVTOOLS__=!1)}let Dp=Sp.__EXTEND_POINT__;const at=()=>++Dp,yt={UNEXPECTED_RETURN_TYPE:Dp,INVALID_ARGUMENT:at(),MUST_BE_CALL_SETUP_TOP:at(),NOT_INSLALLED:at(),NOT_AVAILABLE_IN_LEGACY_MODE:at(),REQUIRED_VALUE:at(),INVALID_VALUE:at(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:at(),NOT_INSLALLED_WITH_PROVIDE:at(),UNEXPECTED_ERROR:at(),NOT_COMPATIBLE_LEGACY_VUE_I18N:at(),BRIDGE_SUPPORT_VUE_2_ONLY:at(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:at(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:at(),__EXTEND_POINT__:at()};function Tt(e,...t){return Ip(e,null,void 0)}const dl=Cn("__transrateVNode"),pl=Cn("__datetimeParts"),hl=Cn("__numberParts"),Ky=Cn("__setPluralRules");Cn("__intlifyMeta");const Wy=Cn("__injectWithOption");function ml(e){if(!Te(e))return e;for(const t in e)if(wa(e,t))if(!t.includes("."))Te(e[t])&&ml(e[t]);else{const n=t.split("."),r=n.length-1;let i=e;for(let o=0;o{if("locale"in l&&"resource"in l){const{locale:a,resource:c}=l;a?(s[a]=s[a]||{},Qr(c,s[a])):Qr(c,s)}else ee(l)&&Qr(JSON.parse(l),s)}),i==null&&o)for(const l in s)wa(s,l)&&ml(s[l]);return s}const Wi=e=>!Te(e)||Be(e);function Qr(e,t){if(Wi(e)||Wi(t))throw Tt(yt.INVALID_VALUE);for(const n in e)wa(e,n)&&(Wi(e[n])||Wi(t[n])?t[n]=e[n]:Qr(e[n],t[n]))}function zp(e){return e.type}function Gy(e,t,n){let r=Te(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Rp(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(Te(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Te(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Cu(e){return ie(ki,null,e,0)}const Tu="__INTLIFY_META__";let Eu=0;function Mu(e){return(t,n,r,i)=>e(n,r,ji()||void 0,i)}const Yy=()=>{const e=ji();let t=null;return e&&(t=zp(e)[Tu])?{[Tu]:t}:null};function Np(e={},t){const{__root:n}=e,r=n===void 0;let i=Ne(e.inheritLocale)?e.inheritLocale:!0;const o=fe(n&&i?n.locale.value:ee(e.locale)?e.locale:Oa),s=fe(n&&i?n.fallbackLocale.value:ee(e.fallbackLocale)||Be(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),l=fe(Rp(o.value,e)),a=fe(ye(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),c=fe(ye(e.numberFormats)?e.numberFormats:{[o.value]:{}});let u=n?n.missingWarn:Ne(e.missingWarn)||yo(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:Ne(e.fallbackWarn)||yo(e.fallbackWarn)?e.fallbackWarn:!0,d=n?n.fallbackRoot:Ne(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,h=Qe(e.missing)?e.missing:null,m=Qe(e.missing)?Mu(e.missing):null,v=Qe(e.postTranslation)?e.postTranslation:null,y=n?n.warnHtmlMessage:Ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const _=n?n.modifiers:ye(e.modifiers)?e.modifiers:{};let w=e.pluralRules||n&&n.pluralRules,S;S=(()=>{r&&vu(null);const C={version:By,locale:o.value,fallbackLocale:s.value,messages:l.value,modifiers:_,pluralRules:w,missing:m===null?void 0:m,missingWarn:u,fallbackWarn:f,fallbackFormat:p,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:b,messageResolver:e.messageResolver,__meta:{framework:"vue"}};C.datetimeFormats=a.value,C.numberFormats=c.value,C.__datetimeFormatters=ye(S)?S.__datetimeFormatters:void 0,C.__numberFormatters=ye(S)?S.__numberFormatters:void 0;const T=Ry(C);return r&&vu(T),T})(),Pr(S,o.value,s.value);function j(){return[o.value,s.value,l.value,a.value,c.value]}const H=Ce({get:()=>o.value,set:C=>{o.value=C,S.locale=o.value}}),Z=Ce({get:()=>s.value,set:C=>{s.value=C,S.fallbackLocale=s.value,Pr(S,o.value,C)}}),q=Ce(()=>l.value),z=Ce(()=>a.value),V=Ce(()=>c.value);function X(){return Qe(v)?v:null}function pe(C){v=C,S.postTranslation=C}function xe(){return h}function ce(C){C!==null&&(m=Mu(C)),h=C,S.missing=m}const re=(C,T,J,te,de,_e)=>{j();let he;if(__INTLIFY_PROD_DEVTOOLS__)try{yu(Yy()),r||(S.fallbackContext=n?Dy():void 0),he=C(S)}finally{yu(null),r||(S.fallbackContext=void 0)}else he=C(S);if(Ye(he)&&he===Qo){const[Re,bt]=T();return n&&d?te(n):de(Re)}else{if(_e(he))return he;throw Tt(yt.UNEXPECTED_RETURN_TYPE)}};function le(...C){return re(T=>Reflect.apply(wu,null,[T,...C]),()=>cl(...C),"translate",T=>Reflect.apply(T.t,T,[...C]),T=>T,T=>ee(T))}function we(...C){const[T,J,te]=C;if(te&&!Te(te))throw Tt(yt.INVALID_ARGUMENT);return le(T,J,st({resolvedMessage:!0},te||{}))}function it(...C){return re(T=>Reflect.apply(_u,null,[T,...C]),()=>ul(...C),"datetime format",T=>Reflect.apply(T.d,T,[...C]),()=>mu,T=>ee(T))}function De(...C){return re(T=>Reflect.apply(Su,null,[T,...C]),()=>fl(...C),"number format",T=>Reflect.apply(T.n,T,[...C]),()=>mu,T=>ee(T))}function je(C){return C.map(T=>ee(T)||Ye(T)||Ne(T)?Cu(String(T)):T)}const Ue={normalize:je,interpolate:C=>C,type:"vnode"};function Et(...C){return re(T=>{let J;const te=T;try{te.processor=Ue,J=Reflect.apply(wu,null,[te,...C])}finally{te.processor=null}return J},()=>cl(...C),"translate",T=>T[dl](...C),T=>[Cu(T)],T=>Be(T))}function Ve(...C){return re(T=>Reflect.apply(Su,null,[T,...C]),()=>fl(...C),"number format",T=>T[hl](...C),()=>[],T=>ee(T)||Be(T))}function $(...C){return re(T=>Reflect.apply(_u,null,[T,...C]),()=>ul(...C),"datetime format",T=>T[pl](...C),()=>[],T=>ee(T)||Be(T))}function Y(C){w=C,S.pluralRules=w}function A(C,T){const J=ee(T)?T:o.value,te=g(J);return S.messageResolver(te,C)!==null}function B(C){let T=null;const J=Tp(S,s.value,o.value);for(let te=0;te{i&&(o.value=C,S.locale=C,Pr(S,o.value,s.value))}),Ze(n.fallbackLocale,C=>{i&&(s.value=C,S.fallbackLocale=C,Pr(S,o.value,s.value))}));const D={id:Eu,locale:H,fallbackLocale:Z,get inheritLocale(){return i},set inheritLocale(C){i=C,C&&n&&(o.value=n.locale.value,s.value=n.fallbackLocale.value,Pr(S,o.value,s.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:q,get modifiers(){return _},get pluralRules(){return w||{}},get isGlobal(){return r},get missingWarn(){return u},set missingWarn(C){u=C,S.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(C){f=C,S.fallbackWarn=f},get fallbackRoot(){return d},set fallbackRoot(C){d=C},get fallbackFormat(){return p},set fallbackFormat(C){p=C,S.fallbackFormat=p},get warnHtmlMessage(){return y},set warnHtmlMessage(C){y=C,S.warnHtmlMessage=C},get escapeParameter(){return b},set escapeParameter(C){b=C,S.escapeParameter=C},t:le,getLocaleMessage:g,setLocaleMessage:x,mergeLocaleMessage:O,getPostTranslationHandler:X,setPostTranslationHandler:pe,getMissingHandler:xe,setMissingHandler:ce,[Ky]:Y};return D.datetimeFormats=z,D.numberFormats=V,D.rt=we,D.te=A,D.tm=Q,D.d=it,D.n=De,D.getDateTimeFormat=k,D.setDateTimeFormat=P,D.mergeDateTimeFormat=R,D.getNumberFormat=G,D.setNumberFormat=K,D.mergeNumberFormat=W,D[Wy]=e.__injectWithOption,D[dl]=Et,D[pl]=$,D[hl]=Ve,D}const Ia={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function qy({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>r=[...r,...Be(i.children)?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Vp(e){return ae}const Au={name:"i18n-t",props:st({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ye(e)||!isNaN(e)}},Ia),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||En({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=ee(e.plural)?+e.plural:e.plural);const l=qy(t,o),a=i[dl](e.keypath,l,s),c=st({},r),u=ee(e.tag)||Te(e.tag)?e.tag:Vp();return Un(u,c,a)}}};function Zy(e){return Be(e)&&!ee(e[0])}function Hp(e,t,n,r){const{slots:i,attrs:o}=t;return()=>{const s={part:!0};let l={};e.locale&&(s.locale=e.locale),ee(e.format)?s.key=e.format:Te(e.format)&&(ee(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((d,p)=>n.includes(p)?st({},d,{[p]:e.format[p]}):d,{}));const a=r(e.value,s,l);let c=[s.key];Be(a)?c=a.map((d,p)=>{const h=i[d.type],m=h?h({[d.type]:d.value,index:p,parts:a}):[d.value];return Zy(m)&&(m[0].key=`${d.type}-${p}`),m}):ee(a)&&(c=[a]);const u=st({},o),f=ee(e.tag)||Te(e.tag)?e.tag:Vp();return Un(f,u,c)}}const ku={name:"i18n-n",props:st({value:{type:Number,required:!0},format:{type:[String,Object]}},Ia),setup(e,t){const n=e.i18n||En({useScope:"parent",__useComponent:!0});return Hp(e,t,$p,(...r)=>n[hl](...r))}},ju={name:"i18n-d",props:st({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ia),setup(e,t){const n=e.i18n||En({useScope:"parent",__useComponent:!0});return Hp(e,t,Fp,(...r)=>n[pl](...r))}};function Xy(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Qy(e){const t=s=>{const{instance:l,modifiers:a,value:c}=s;if(!l||!l.$)throw Tt(yt.UNEXPECTED_ERROR);const u=Xy(e,l.$),f=Pu(c);return[Reflect.apply(u.t,u,[...Lu(f)]),u]};return{created:(s,l)=>{const[a,c]=t(l);al&&e.global===c&&(s.__i18nWatcher=Ze(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),s.__composer=c,s.textContent=a},unmounted:s=>{al&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:l})=>{if(s.__composer){const a=s.__composer,c=Pu(l);s.textContent=Reflect.apply(a.t,a,[...Lu(c)])}},getSSRProps:s=>{const[l]=t(s);return{textContent:l}}}}function Pu(e){if(ee(e))return{path:e};if(ye(e)){if(!("path"in e))throw Tt(yt.REQUIRED_VALUE,"path");return e}else throw Tt(yt.INVALID_VALUE)}function Lu(e){const{path:t,locale:n,args:r,choice:i,plural:o}=e,s={},l=r||{};return ee(n)&&(s.locale=n),Ye(i)&&(s.plural=i),Ye(o)&&(s.plural=o),[t,l,s]}function Jy(e,t,...n){const r=ye(n[0])?n[0]:{},i=!!r.useI18nComponentName;(Ne(r.globalInstall)?r.globalInstall:!0)&&(e.component(i?"i18n":Au.name,Au),e.component(ku.name,ku),e.component(ju.name,ju)),e.directive("t",Qy(t))}const e2=Cn("global-vue-i18n");function t2(e={},t){const n=Ne(e.globalInjection)?e.globalInjection:!0,r=!0,i=new Map,[o,s]=n2(e),l=Cn("");function a(f){return i.get(f)||null}function c(f,d){i.set(f,d)}function u(f){i.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(d,...p){d.__VUE_I18N_SYMBOL__=l,d.provide(d.__VUE_I18N_SYMBOL__,f),n&&u2(d,f.global),Jy(d,f,...p);const h=d.unmount;d.unmount=()=>{f.dispose(),h()}},get global(){return s},dispose(){o.stop()},__instances:i,__getInstance:a,__setInstance:c,__deleteInstance:u};return f}}function En(e={}){const t=ji();if(t==null)throw Tt(yt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Tt(yt.NOT_INSLALLED);const n=r2(t),r=o2(n),i=zp(t),o=i2(e,i);if(o==="global")return Gy(r,e,i),r;if(o==="parent"){let a=s2(n,t,e.__useComponent);return a==null&&(a=r),a}const s=n;let l=s.__getInstance(t);if(l==null){const a=st({},e);"__i18n"in i&&(a.__i18n=i.__i18n),r&&(a.__root=r),l=Np(a),l2(s,t),s.__setInstance(t,l)}return l}function n2(e,t,n){const r=z1();{const i=r.run(()=>Np(e));if(i==null)throw Tt(yt.UNEXPECTED_ERROR);return[r,i]}}function r2(e){{const t=It(e.isCE?e2:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Tt(e.isCE?yt.NOT_INSLALLED_WITH_PROVIDE:yt.UNEXPECTED_ERROR);return t}}function i2(e,t){return Xo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function o2(e){return e.mode==="composition"?e.global:e.global.__composer}function s2(e,t,n=!1){let r=null;const i=t.root;let o=t.parent;for(;o!=null;){const s=e;if(e.mode==="composition"&&(r=s.__getInstance(o)),r!=null||i===o)break;o=o.parent}return r}function l2(e,t,n){pt(()=>{},t),aa(()=>{e.__deleteInstance(t)},t)}const a2=["locale","fallbackLocale","availableLocales"],c2=["t","rt","d","n","tm"];function u2(e,t){const n=Object.create(null);a2.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw Tt(yt.UNEXPECTED_ERROR);const o=et(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,c2.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw Tt(yt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)})}Ly(my);Fy(Tp);Uy();if(__INTLIFY_PROD_DEVTOOLS__){const e=xa();e.__INTLIFY__=!0,Sy(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Os(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ca(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function f2(e){return h2(e)||p2(e)||Ca(e)||d2()}function d2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function h2(e){if(Array.isArray(e))return gl(e)}function Jr(e){"@babel/helpers - typeof";return Jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jr(e)}function Ss(e,t){return y2(e)||g2(e,t)||Ca(e,t)||m2()}function m2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ca(e,t){if(e){if(typeof e=="string")return gl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gl(e,t)}}function gl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};t&&Object.entries(n).forEach(function(r){var i=Ss(r,2),o=i[0],s=i[1];return t.style[o]=s})},find:function(t,n){return this.isElement(t)?t.querySelectorAll(n):[]},findSingle:function(t,n){return this.isElement(t)?t.querySelector(n):null},createElement:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t){var r=document.createElement(t);this.setAttributes(r,n);for(var i=arguments.length,o=new Array(i>2?i-2:0),s=2;s1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0;this.isElement(t)&&r!==null&&r!==void 0&&t.setAttribute(n,r)},setAttributes:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.isElement(t)){var i=function o(s,l){var a,c,u=t!=null&&(a=t.$attrs)!==null&&a!==void 0&&a[s]?[t==null||(c=t.$attrs)===null||c===void 0?void 0:c[s]]:[];return[l].flat().reduce(function(f,d){if(d!=null){var p=Jr(d);if(p==="string"||p==="number")f.push(d);else if(p==="object"){var h=Array.isArray(d)?o(s,d):Object.entries(d).map(function(m){var v=Ss(m,2),y=v[0],b=v[1];return s==="style"&&(b||b===0)?"".concat(y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(b):b?y:void 0});f=h.length?f.concat(h.filter(function(m){return!!m})):f}}return f},u)};Object.entries(r).forEach(function(o){var s=Ss(o,2),l=s[0],a=s[1];if(a!=null){var c=l.match(/^on(.+)/);c?t.addEventListener(c[1].toLowerCase(),a):l==="p-bind"?n.setAttributes(t,a):(a=l==="class"?f2(new Set(i("class",a))).join(" ").trim():l==="style"?i("style",a).join(";").trim():a,(t.$attrs=t.$attrs||{})&&(t.$attrs[l]=a),t.setAttribute(l,a))}})}},getAttribute:function(t,n){if(this.isElement(t)){var r=t.getAttribute(n);return isNaN(r)?r==="true"||r==="false"?r==="true":r:+r}},isAttributeEquals:function(t,n,r){return this.isElement(t)?this.getAttribute(t,n)===r:!1},isAttributeNotEquals:function(t,n,r){return!this.isAttributeEquals(t,n,r)},getHeight:function(t){if(t){var n=t.offsetHeight,r=getComputedStyle(t);return n-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),n}return 0},getWidth:function(t){if(t){var n=t.offsetWidth,r=getComputedStyle(t);return n-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)+parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),n}return 0},absolutePosition:function(t,n){if(t){var r=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=r.height,o=r.width,s=n.offsetHeight,l=n.offsetWidth,a=n.getBoundingClientRect(),c=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),f=this.getViewport(),d,p;a.top+s+i>f.height?(d=a.top+c-i,t.style.transformOrigin="bottom",d<0&&(d=c)):(d=s+a.top+c,t.style.transformOrigin="top"),a.left+o>f.width?p=Math.max(0,a.left+u+l-o):p=a.left+u,t.style.top=d+"px",t.style.left=p+"px"}},relativePosition:function(t,n){if(t){var r=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=n.offsetHeight,o=n.getBoundingClientRect(),s=this.getViewport(),l,a;o.top+i+r.height>s.height?(l=-1*r.height,t.style.transformOrigin="bottom",o.top+l<0&&(l=-1*o.top)):(l=i,t.style.transformOrigin="top"),r.width>s.width?a=o.left*-1:o.left+r.width>s.width?a=(o.left+r.width-s.width)*-1:a=0,t.style.top=l+"px",t.style.left=a+"px"}},nestedPosition:function(t,n){if(t){var r=t.parentElement,i=this.getOffset(r),o=this.getViewport(),s=t.offsetParent?t.offsetWidth:this.getHiddenElementOuterWidth(t),l=this.getOuterWidth(r.children[0]),a;parseInt(i.left,10)+l+s>o.width-this.calculateScrollbarWidth()?parseInt(i.left,10)1&&arguments[1]!==void 0?arguments[1]:[];return t.parentNode===null?n:this.getParents(t.parentNode,n.concat([t.parentNode]))},getScrollableParents:function(t){var n=[];if(t){var r=this.getParents(t),i=/(auto|scroll)/,o=function(v){try{var y=window.getComputedStyle(v,null);return i.test(y.getPropertyValue("overflow"))||i.test(y.getPropertyValue("overflowX"))||i.test(y.getPropertyValue("overflowY"))}catch{return!1}},s=Os(r),l;try{for(s.s();!(l=s.n()).done;){var a=l.value,c=a.nodeType===1&&a.dataset.scrollselectors;if(c){var u=c.split(","),f=Os(u),d;try{for(f.s();!(d=f.n()).done;){var p=d.value,h=this.findSingle(a,p);h&&o(h)&&n.push(h)}}catch(m){f.e(m)}finally{f.f()}}a.nodeType!==9&&o(a)&&n.push(a)}}catch(m){s.e(m)}finally{s.f()}}return n},getHiddenElementOuterHeight:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var n=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",n}return 0},getHiddenElementOuterWidth:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var n=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",n}return 0},getHiddenElementDimensions:function(t){if(t){var n={};return t.style.visibility="hidden",t.style.display="block",n.width=t.offsetWidth,n.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",n}return 0},fadeIn:function(t,n){if(t){t.style.opacity=0;var r=+new Date,i=0,o=function s(){i=+t.style.opacity+(new Date().getTime()-r)/n,t.style.opacity=i,r=+new Date,+i<1&&(window.requestAnimationFrame&&requestAnimationFrame(s)||setTimeout(s,16))};o()}},fadeOut:function(t,n){if(t)var r=1,i=50,o=n,s=i/o,l=setInterval(function(){r-=s,r<=0&&(r=0,clearInterval(l)),t.style.opacity=r},i)},getUserAgent:function(){return navigator.userAgent},appendChild:function(t,n){if(this.isElement(n))n.appendChild(t);else if(n.el&&n.elElement)n.elElement.appendChild(t);else throw new Error("Cannot append "+n+" to "+t)},isElement:function(t){return(typeof HTMLElement>"u"?"undefined":Jr(HTMLElement))==="object"?t instanceof HTMLElement:t&&Jr(t)==="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"},scrollInView:function(t,n){var r=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=r?parseFloat(r):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),s=o?parseFloat(o):0,l=t.getBoundingClientRect(),a=n.getBoundingClientRect(),c=a.top+document.body.scrollTop-(l.top+document.body.scrollTop)-i-s,u=t.scrollTop,f=t.clientHeight,d=this.getOuterHeight(n);c<0?t.scrollTop=u+c:c+d>f&&(t.scrollTop=u+c-f+d)},clearSelection:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}},getSelection:function(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null},calculateScrollbarWidth:function(){if(this.calculatedScrollbarWidth!=null)return this.calculatedScrollbarWidth;var t=document.createElement("div");this.addStyles(t,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(t);var n=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=n,n},calculateBodyScrollbarWidth:function(){return window.innerWidth-document.documentElement.offsetWidth},getBrowser:function(){if(!this.browser){var t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser},resolveUserAgent:function(){var t=navigator.userAgent.toLowerCase(),n=/(chrome)[ ]([\w.]+)/.exec(t)||/(webkit)[ ]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:n[1]||"",version:n[2]||"0"}},isVisible:function(t){return t&&t.offsetParent!=null},invokeElementMethod:function(t,n,r){t[n].apply(t,r)},isExist:function(t){return!!(t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode)},isClient:function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},focus:function(t,n){t&&document.activeElement!==t&&t.focus(n)},isFocusableElement:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.isElement(t)?t.matches('button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(n,`, [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(n,`, input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(n,`, select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(n,`, @@ -37,12 +37,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(n,`, textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(n,`, [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(n,`, - [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(n)),i=[],o=_s(r),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;getComputedStyle(l).display!="none"&&getComputedStyle(l).visibility!="hidden"&&i.push(l)}}catch(a){o.e(a)}finally{o.f()}return i},getFirstFocusableElement:function(t,n){var r=this.getFocusableElements(t,n);return r.length>0?r[0]:null},getLastFocusableElement:function(t,n){var r=this.getFocusableElements(t,n);return r.length>0?r[r.length-1]:null},getNextFocusableElement:function(t,n,r){var i=this.getFocusableElements(t,r),o=i.length>0?i.findIndex(function(l){return l===n}):-1,s=o>-1&&i.length>=o+1?o+1:-1;return s>-1?i[s]:null},getPreviousElementSibling:function(t,n){for(var r=t.previousElementSibling;r;){if(r.matches(n))return r;r=r.previousElementSibling}return null},getNextElementSibling:function(t,n){for(var r=t.nextElementSibling;r;){if(r.matches(n))return r;r=r.nextElementSibling}return null},isClickable:function(t){if(t){var n=t.nodeName,r=t.parentElement&&t.parentElement.nodeName;return n==="INPUT"||n==="TEXTAREA"||n==="BUTTON"||n==="A"||r==="INPUT"||r==="TEXTAREA"||r==="BUTTON"||r==="A"||!!t.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1},applyStyle:function(t,n){if(typeof n=="string")t.style.cssText=n;else for(var r in n)t.style[r]=n[r]},isIOS:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},isAndroid:function(){return/(android)/i.test(navigator.userAgent)},isTouchDevice:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},hasCSSAnimation:function(t){if(t){var n=getComputedStyle(t),r=parseFloat(n.getPropertyValue("animation-duration")||"0");return r>0}return!1},hasCSSTransition:function(t){if(t){var n=getComputedStyle(t),r=parseFloat(n.getPropertyValue("transition-duration")||"0");return r>0}return!1},exportCSV:function(t,n){var r=new Blob([t],{type:"application/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(r,n+".csv");else{var i=document.createElement("a");i.download!==void 0?(i.setAttribute("href",URL.createObjectURL(r)),i.setAttribute("download",n+".csv"),i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i)):(t="data:text/csv;charset=utf-8,"+t,window.open(encodeURI(t)))}},blockBodyScroll:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden";document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)},unblockBodyScroll:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden";document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}};function ui(e){"@babel/helpers - typeof";return ui=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ui(e)}function v2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lu(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:function(){};v2(this,e),this.element=t,this.listener=n}return b2(e,[{key:"bindScrollListener",value:function(){this.scrollableParents=N.getScrollableParents(this.element);for(var n=0;n>>0,1)},emit:function(n,r){var i=e.get(n);i&&i.slice().map(function(o){o(r)})}}}function O2(e,t){return C2(e)||I2(e,t)||Ta(e,t)||S2()}function S2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I2(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,s,l=[],a=!0,c=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);a=!0);}catch(u){c=!0,i=u}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return l}}function C2(e){if(Array.isArray(e))return e}function Fu(e){return M2(e)||E2(e)||Ta(e)||T2()}function T2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function M2(e){if(Array.isArray(e))return gl(e)}function Ss(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ta(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function Ta(e,t){if(e){if(typeof e=="string")return gl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gl(e,t)}}function gl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),i=1;i-1){i.push(l);break}}}catch(f){a.e(f)}finally{a.f()}}}catch(f){o.e(f)}finally{o.f()}}return i},reorderArray:function(t,n,r){t&&n!==r&&(r>=t.length&&(r%=t.length,n%=t.length),t.splice(r,0,t.splice(n,1)[0]))},findIndexInList:function(t,n){var r=-1;if(n){for(var i=0;i0){for(var o=!1,s=0;sn){r.splice(s,0,t),o=!0;break}}o||r.push(t)}else r.push(t)},removeAccents:function(t){return t&&t.search(/[\xC0-\xFF]/g)>-1&&(t=t.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),t},getVNodeProp:function(t,n){var r=t.props;if(r){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=Object.prototype.hasOwnProperty.call(r,i)?i:n;return t.type.extends.props[n].type===Boolean&&r[o]===""?!0:r[o]}return null},toFlatCase:function(t){return this.isString(t)?t.replace(/(-|_)/g,"").toLowerCase():t},toKebabCase:function(t){return this.isString(t)?t.replace(/(_)/g,"-").replace(/[A-Z]/g,function(n,r){return r===0?n:"-"+n.toLowerCase()}).toLowerCase():t},toCapitalCase:function(t){return this.isString(t,{empty:!1})?t[0].toUpperCase()+t.slice(1):t},isEmpty:function(t){return t==null||t===""||Array.isArray(t)&&t.length===0||!(t instanceof Date)&&ei(t)==="object"&&Object.keys(t).length===0},isNotEmpty:function(t){return!this.isEmpty(t)},isFunction:function(t){return!!(t&&t.constructor&&t.call&&t.apply)},isObject:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t instanceof Object&&t.constructor===Object&&(n||Object.keys(t).length!==0)},isDate:function(t){return t instanceof Date&&t.constructor===Date},isArray:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Array.isArray(t)&&(n||t.length!==0)},isString:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return typeof t=="string"&&(n||t!=="")},isPrintableCharacter:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return this.isNotEmpty(t)&&t.length===1&&t.match(/\S| /)},findLast:function(t,n){var r;if(this.isNotEmpty(t))try{r=t.findLast(n)}catch{r=Fu(t).reverse().find(n)}return r},findLastIndex:function(t,n){var r=-1;if(this.isNotEmpty(t))try{r=t.findLastIndex(n)}catch{r=t.lastIndexOf(Fu(t).reverse().find(n))}return r},sort:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,s=this.compare(t,n,i,r),l=r;return(this.isEmpty(t)||this.isEmpty(n))&&(l=o===1?r:o),l*s},compare:function(t,n,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,o=-1,s=this.isEmpty(t),l=this.isEmpty(n);return s&&l?o=0:s?o=i:l?o=-i:typeof t=="string"&&typeof n=="string"?o=r(t,n):o=tn?1:0,o},localeComparator:function(){return new Intl.Collator(void 0,{numeric:!0}).compare},nestedKeys:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return Object.entries(n).reduce(function(i,o){var s=O2(o,2),l=s[0],a=s[1],c=r?"".concat(r,".").concat(l):l;return t.isObject(a)?i=i.concat(t.nestedKeys(a,c)):i.push(c),i},[])}},$u=0;function Dt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return $u++,"".concat(e).concat($u)}function A2(e){return L2(e)||P2(e)||j2(e)||k2()}function k2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j2(e,t){if(e){if(typeof e=="string")return yl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yl(e,t)}}function P2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function L2(e){if(Array.isArray(e))return yl(e)}function yl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:999,u=i(l,a,c),f=u.value+(u.key===l?0:c)+1;return e.push({key:l,value:f}),f},n=function(l){e=e.filter(function(a){return a.value!==l})},r=function(l,a){return i(l,a).value},i=function(l,a){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return A2(e).reverse().find(function(u){return a?!0:u.key===l})||{key:l,value:c}},o=function(l){return l&&parseInt(l.style.zIndex,10)||0};return{get:o,set:function(l,a,c){a&&(a.style.zIndex=String(t(l,!0,c)))},clear:function(l){l&&(n(o(l)),l.style.zIndex="")},getCurrent:function(l){return r(l,!0)}}}var rn=F2();function fi(e){"@babel/helpers - typeof";return fi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fi(e)}function Du(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ru(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:!0;ji()?pt(e):t?e():Vo(e)}var N2=0;function Bp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=fe(!1),r=fe(e),i=fe(null),o=N.isClient()?window.document:void 0,s=t.document,l=s===void 0?o:s,a=t.immediate,c=a===void 0?!0:a,u=t.manual,f=u===void 0?!1:u,d=t.name,p=d===void 0?"style_".concat(++N2):d,h=t.id,m=h===void 0?void 0:h,v=t.media,y=v===void 0?void 0:v,b=t.nonce,_=b===void 0?void 0:b,w=t.props,S=w===void 0?{}:w,I=function(){},j=function(q){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l){var V=Ru(Ru({},S),z),X=V.name||p,pe=V.id||m,xe=V.nonce||_;i.value=l.querySelector('style[data-primevue-style-id="'.concat(X,'"]'))||l.getElementById(pe)||l.createElement("style"),i.value.isConnected||(r.value=q||e,N.setAttributes(i.value,{type:"text/css",id:pe,media:y,nonce:xe}),l.head.appendChild(i.value),N.setAttribute(i.value,"data-primevue-style-id",p),N.setAttributes(i.value,V)),!n.value&&(I=Ze(r,function(ce){i.value.textContent=ce},{immediate:!0}),n.value=!0)}},H=function(){!l||!n.value||(I(),N.isExist(i.value)&&l.head.removeChild(i.value),n.value=!1)};return c&&!f&&z2(j),{id:m,name:p,css:r,unload:H,load:j,isLoaded:ea(n)}}function di(e){"@babel/helpers - typeof";return di=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},di(e)}function V2(e,t){return K2(e)||U2(e,t)||B2(e,t)||H2()}function H2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B2(e,t){if(e){if(typeof e=="string")return zu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zu(e,t)}}function zu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?r[0]:null},getLastFocusableElement:function(t,n){var r=this.getFocusableElements(t,n);return r.length>0?r[r.length-1]:null},getNextFocusableElement:function(t,n,r){var i=this.getFocusableElements(t,r),o=i.length>0?i.findIndex(function(l){return l===n}):-1,s=o>-1&&i.length>=o+1?o+1:-1;return s>-1?i[s]:null},getPreviousElementSibling:function(t,n){for(var r=t.previousElementSibling;r;){if(r.matches(n))return r;r=r.previousElementSibling}return null},getNextElementSibling:function(t,n){for(var r=t.nextElementSibling;r;){if(r.matches(n))return r;r=r.nextElementSibling}return null},isClickable:function(t){if(t){var n=t.nodeName,r=t.parentElement&&t.parentElement.nodeName;return n==="INPUT"||n==="TEXTAREA"||n==="BUTTON"||n==="A"||r==="INPUT"||r==="TEXTAREA"||r==="BUTTON"||r==="A"||!!t.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1},applyStyle:function(t,n){if(typeof n=="string")t.style.cssText=n;else for(var r in n)t.style[r]=n[r]},isIOS:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},isAndroid:function(){return/(android)/i.test(navigator.userAgent)},isTouchDevice:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},hasCSSAnimation:function(t){if(t){var n=getComputedStyle(t),r=parseFloat(n.getPropertyValue("animation-duration")||"0");return r>0}return!1},hasCSSTransition:function(t){if(t){var n=getComputedStyle(t),r=parseFloat(n.getPropertyValue("transition-duration")||"0");return r>0}return!1},exportCSV:function(t,n){var r=new Blob([t],{type:"application/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(r,n+".csv");else{var i=document.createElement("a");i.download!==void 0?(i.setAttribute("href",URL.createObjectURL(r)),i.setAttribute("download",n+".csv"),i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i)):(t="data:text/csv;charset=utf-8,"+t,window.open(encodeURI(t)))}},blockBodyScroll:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden";document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)},unblockBodyScroll:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden";document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}};function ui(e){"@babel/helpers - typeof";return ui=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ui(e)}function v2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fu(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:function(){};v2(this,e),this.element=t,this.listener=n}return b2(e,[{key:"bindScrollListener",value:function(){this.scrollableParents=N.getScrollableParents(this.element);for(var n=0;n>>0,1)},emit:function(n,r){var i=e.get(n);i&&i.slice().map(function(o){o(r)})}}}function O2(e,t){return C2(e)||I2(e,t)||Ea(e,t)||S2()}function S2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I2(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,s,l=[],a=!0,c=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);a=!0);}catch(u){c=!0,i=u}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return l}}function C2(e){if(Array.isArray(e))return e}function $u(e){return M2(e)||E2(e)||Ea(e)||T2()}function T2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function M2(e){if(Array.isArray(e))return yl(e)}function Is(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ea(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function Ea(e,t){if(e){if(typeof e=="string")return yl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yl(e,t)}}function yl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),i=1;i-1){i.push(l);break}}}catch(f){a.e(f)}finally{a.f()}}}catch(f){o.e(f)}finally{o.f()}}return i},reorderArray:function(t,n,r){t&&n!==r&&(r>=t.length&&(r%=t.length,n%=t.length),t.splice(r,0,t.splice(n,1)[0]))},findIndexInList:function(t,n){var r=-1;if(n){for(var i=0;i0){for(var o=!1,s=0;sn){r.splice(s,0,t),o=!0;break}}o||r.push(t)}else r.push(t)},removeAccents:function(t){return t&&t.search(/[\xC0-\xFF]/g)>-1&&(t=t.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),t},getVNodeProp:function(t,n){var r=t.props;if(r){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=Object.prototype.hasOwnProperty.call(r,i)?i:n;return t.type.extends.props[n].type===Boolean&&r[o]===""?!0:r[o]}return null},toFlatCase:function(t){return this.isString(t)?t.replace(/(-|_)/g,"").toLowerCase():t},toKebabCase:function(t){return this.isString(t)?t.replace(/(_)/g,"-").replace(/[A-Z]/g,function(n,r){return r===0?n:"-"+n.toLowerCase()}).toLowerCase():t},toCapitalCase:function(t){return this.isString(t,{empty:!1})?t[0].toUpperCase()+t.slice(1):t},isEmpty:function(t){return t==null||t===""||Array.isArray(t)&&t.length===0||!(t instanceof Date)&&ei(t)==="object"&&Object.keys(t).length===0},isNotEmpty:function(t){return!this.isEmpty(t)},isFunction:function(t){return!!(t&&t.constructor&&t.call&&t.apply)},isObject:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t instanceof Object&&t.constructor===Object&&(n||Object.keys(t).length!==0)},isDate:function(t){return t instanceof Date&&t.constructor===Date},isArray:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Array.isArray(t)&&(n||t.length!==0)},isString:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return typeof t=="string"&&(n||t!=="")},isPrintableCharacter:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return this.isNotEmpty(t)&&t.length===1&&t.match(/\S| /)},findLast:function(t,n){var r;if(this.isNotEmpty(t))try{r=t.findLast(n)}catch{r=$u(t).reverse().find(n)}return r},findLastIndex:function(t,n){var r=-1;if(this.isNotEmpty(t))try{r=t.findLastIndex(n)}catch{r=t.lastIndexOf($u(t).reverse().find(n))}return r},sort:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,s=this.compare(t,n,i,r),l=r;return(this.isEmpty(t)||this.isEmpty(n))&&(l=o===1?r:o),l*s},compare:function(t,n,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,o=-1,s=this.isEmpty(t),l=this.isEmpty(n);return s&&l?o=0:s?o=i:l?o=-i:typeof t=="string"&&typeof n=="string"?o=r(t,n):o=tn?1:0,o},localeComparator:function(){return new Intl.Collator(void 0,{numeric:!0}).compare},nestedKeys:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return Object.entries(n).reduce(function(i,o){var s=O2(o,2),l=s[0],a=s[1],c=r?"".concat(r,".").concat(l):l;return t.isObject(a)?i=i.concat(t.nestedKeys(a,c)):i.push(c),i},[])}},Du=0;function Dt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return Du++,"".concat(e).concat(Du)}function A2(e){return L2(e)||P2(e)||j2(e)||k2()}function k2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j2(e,t){if(e){if(typeof e=="string")return vl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vl(e,t)}}function P2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function L2(e){if(Array.isArray(e))return vl(e)}function vl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:999,u=i(l,a,c),f=u.value+(u.key===l?0:c)+1;return e.push({key:l,value:f}),f},n=function(l){e=e.filter(function(a){return a.value!==l})},r=function(l,a){return i(l,a).value},i=function(l,a){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return A2(e).reverse().find(function(u){return a?!0:u.key===l})||{key:l,value:c}},o=function(l){return l&&parseInt(l.style.zIndex,10)||0};return{get:o,set:function(l,a,c){a&&(a.style.zIndex=String(t(l,!0,c)))},clear:function(l){l&&(n(o(l)),l.style.zIndex="")},getCurrent:function(l){return r(l,!0)}}}var rn=F2();function fi(e){"@babel/helpers - typeof";return fi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fi(e)}function Ru(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function zu(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:!0;ji()?pt(e):t?e():Ho(e)}var N2=0;function Bp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=fe(!1),r=fe(e),i=fe(null),o=N.isClient()?window.document:void 0,s=t.document,l=s===void 0?o:s,a=t.immediate,c=a===void 0?!0:a,u=t.manual,f=u===void 0?!1:u,d=t.name,p=d===void 0?"style_".concat(++N2):d,h=t.id,m=h===void 0?void 0:h,v=t.media,y=v===void 0?void 0:v,b=t.nonce,_=b===void 0?void 0:b,w=t.props,S=w===void 0?{}:w,I=function(){},j=function(q){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l){var V=zu(zu({},S),z),X=V.name||p,pe=V.id||m,xe=V.nonce||_;i.value=l.querySelector('style[data-primevue-style-id="'.concat(X,'"]'))||l.getElementById(pe)||l.createElement("style"),i.value.isConnected||(r.value=q||e,N.setAttributes(i.value,{type:"text/css",id:pe,media:y,nonce:xe}),l.head.appendChild(i.value),N.setAttribute(i.value,"data-primevue-style-id",p),N.setAttributes(i.value,V)),!n.value&&(I=Ze(r,function(ce){i.value.textContent=ce},{immediate:!0}),n.value=!0)}},H=function(){!l||!n.value||(I(),N.isExist(i.value)&&l.head.removeChild(i.value),n.value=!1)};return c&&!f&&z2(j),{id:m,name:p,css:r,unload:H,load:j,isLoaded:ta(n)}}function di(e){"@babel/helpers - typeof";return di=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},di(e)}function V2(e,t){return K2(e)||U2(e,t)||B2(e,t)||H2()}function H2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B2(e,t){if(e){if(typeof e=="string")return Nu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nu(e,t)}}function Nu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&arguments[0]!==void 0?arguments[0]:{};return this.css?Bp(this.css,Is({name:this.name},t)):{}},getStyleSheet:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var r=Object.entries(n).reduce(function(i,o){var s=V2(o,2),l=s[0],a=s[1];return i.push("".concat(l,'="').concat(a,'"'))&&i},[]).join(" ");return'")}return""},extend:function(t){return Is(Is({},this),{},{css:void 0},t)}};function pi(e){"@babel/helpers - typeof";return pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pi(e)}function Vu(e,t){return tv(e)||ev(e,t)||J2(e,t)||Q2()}function Q2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function J2(e,t){if(e){if(typeof e=="string")return Hu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hu(e,t)}}function Hu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=U.toFlatCase(n).split("."),o=i.shift();return o?U.isObject(t)?Oe._getOptionValue(U.getItemValue(t[Object.keys(t).find(function(s){return U.toFlatCase(s)===o})||""],r),i.join("."),r):void 0:U.getItemValue(t,r)},_getPTValue:function(){var t,n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=function(){var _=Oe._getOptionValue.apply(Oe,arguments);return U.isString(_)||U.isArray(_)?{class:_}:_},c="data-pc-",u=((t=r.binding)===null||t===void 0||(t=t.value)===null||t===void 0?void 0:t.ptOptions)||((n=r.$config)===null||n===void 0?void 0:n.ptOptions)||{},f=u.mergeSections,d=f===void 0?!0:f,p=u.mergeProps,h=p===void 0?!1:p,m=l?Oe._useDefaultPT(r,r.defaultPT(),a,o,s):void 0,v=Oe._usePT(r,Oe._getPT(i,r.$name),a,o,Fe(Fe({},s),{},{global:m||{}})),y=Fe(Fe({},o==="root"&&vl({},"".concat(c,"name"),U.toFlatCase(r.$name))),{},vl({},"".concat(c,"section"),U.toFlatCase(o)));return d||!d&&v?h?L(m,v,y):Fe(Fe(Fe({},m),v),y):Fe(Fe({},v),y)},_getPT:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,i=function(s){var l,a=r?r(s):s,c=U.toFlatCase(n);return(l=a==null?void 0:a[c])!==null&&l!==void 0?l:a};return t!=null&&t.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:i(t.originalValue),value:i(t.value)}:i(t)},_usePT:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,s=function(v){return r(v,i,o)};if(n!=null&&n.hasOwnProperty("_usept")){var l,a=n._usept||((l=t.$config)===null||l===void 0?void 0:l.ptOptions)||{},c=a.mergeSections,u=c===void 0?!0:c,f=a.mergeProps,d=f===void 0?!1:f,p=s(n.originalValue),h=s(n.value);return p===void 0&&h===void 0?void 0:U.isString(h)?h:U.isString(p)?p:u||!u&&h?d?L(p,h):Fe(Fe({},p),h):h}return s(n)},_useDefaultPT:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return Oe._usePT(t,n,r,i,o)},_hook:function(t,n,r,i,o,s){var l,a,c="on".concat(U.toCapitalCase(n)),u=Oe._getConfig(i,o),f=r==null?void 0:r.$instance,d=Oe._usePT(f,Oe._getPT(i==null||(l=i.value)===null||l===void 0?void 0:l.pt,t),Oe._getOptionValue,"hooks.".concat(c)),p=Oe._useDefaultPT(f,u==null||(a=u.pt)===null||a===void 0||(a=a.directives)===null||a===void 0?void 0:a[t],Oe._getOptionValue,"hooks.".concat(c)),h={el:r,binding:i,vnode:o,prevVnode:s};d==null||d(f,h),p==null||p(f,h)},_extend:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=function(o,s,l,a,c){var u,f;s._$instances=s._$instances||{};var d=Oe._getConfig(l,a),p=s._$instances[t]||{},h=U.isEmpty(p)?Fe(Fe({},n),n==null?void 0:n.methods):{};s._$instances[t]=Fe(Fe({},p),{},{$name:t,$host:s,$binding:l,$modifiers:l==null?void 0:l.modifiers,$value:l==null?void 0:l.value,$el:p.$el||s||void 0,$style:Fe({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},n==null?void 0:n.style),$config:d,defaultPT:function(){return Oe._getPT(d==null?void 0:d.pt,void 0,function(v){var y;return v==null||(y=v.directives)===null||y===void 0?void 0:y[t]})},isUnstyled:function(){var v,y;return((v=s.$instance)===null||v===void 0||(v=v.$binding)===null||v===void 0||(v=v.value)===null||v===void 0?void 0:v.unstyled)!==void 0?(y=s.$instance)===null||y===void 0||(y=y.$binding)===null||y===void 0||(y=y.value)===null||y===void 0?void 0:y.unstyled:d==null?void 0:d.unstyled},ptm:function(){var v,y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Oe._getPTValue(s.$instance,(v=s.$instance)===null||v===void 0||(v=v.$binding)===null||v===void 0||(v=v.value)===null||v===void 0?void 0:v.pt,y,Fe({},b))},ptmo:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Oe._getPTValue(s.$instance,v,y,b,!1)},cx:function(){var v,y,b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(v=s.$instance)!==null&&v!==void 0&&v.isUnstyled()?void 0:Oe._getOptionValue((y=s.$instance)===null||y===void 0||(y=y.$style)===null||y===void 0?void 0:y.classes,b,Fe({},_))},sx:function(){var v,y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return b?Oe._getOptionValue((v=s.$instance)===null||v===void 0||(v=v.$style)===null||v===void 0?void 0:v.inlineStyles,y,Fe({},_)):void 0}},h),s.$instance=s._$instances[t],(u=(f=s.$instance)[o])===null||u===void 0||u.call(f,s,l,a,c),Oe._hook(t,o,s,l,a,c)};return{created:function(o,s,l,a){r("created",o,s,l,a)},beforeMount:function(o,s,l,a){var c,u,f,d,p=Oe._getConfig(s,l);ht.loadStyle(void 0,{nonce:p==null||(c=p.csp)===null||c===void 0?void 0:c.nonce}),!((u=o.$instance)!==null&&u!==void 0&&u.isUnstyled())&&((f=o.$instance)===null||f===void 0||(f=f.$style)===null||f===void 0||f.loadStyle(void 0,{nonce:p==null||(d=p.csp)===null||d===void 0?void 0:d.nonce})),r("beforeMount",o,s,l,a)},mounted:function(o,s,l,a){r("mounted",o,s,l,a)},beforeUpdate:function(o,s,l,a){r("beforeUpdate",o,s,l,a)},updated:function(o,s,l,a){r("updated",o,s,l,a)},beforeUnmount:function(o,s,l,a){r("beforeUnmount",o,s,l,a)},unmounted:function(o,s,l,a){r("unmounted",o,s,l,a)}}},extend:function(){var t=Oe._getMeta.apply(Oe,arguments),n=Vu(t,2),r=n[0],i=n[1];return Fe({extend:function(){var s=Oe._getMeta.apply(Oe,arguments),l=Vu(s,2),a=l[0],c=l[1];return Oe.extend(a,Fe(Fe(Fe({},i),i==null?void 0:i.methods),c))}},Oe._extend(r,i))}},iv=` +`,Z2={},X2={},ht={name:"base",css:q2,classes:Z2,inlineStyles:X2,loadStyle:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.css?Bp(this.css,Cs({name:this.name},t)):{}},getStyleSheet:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var r=Object.entries(n).reduce(function(i,o){var s=V2(o,2),l=s[0],a=s[1];return i.push("".concat(l,'="').concat(a,'"'))&&i},[]).join(" ");return'")}return""},extend:function(t){return Cs(Cs({},this),{},{css:void 0},t)}};function pi(e){"@babel/helpers - typeof";return pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pi(e)}function Hu(e,t){return tv(e)||ev(e,t)||J2(e,t)||Q2()}function Q2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function J2(e,t){if(e){if(typeof e=="string")return Bu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bu(e,t)}}function Bu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=U.toFlatCase(n).split("."),o=i.shift();return o?U.isObject(t)?Se._getOptionValue(U.getItemValue(t[Object.keys(t).find(function(s){return U.toFlatCase(s)===o})||""],r),i.join("."),r):void 0:U.getItemValue(t,r)},_getPTValue:function(){var t,n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=function(){var _=Se._getOptionValue.apply(Se,arguments);return U.isString(_)||U.isArray(_)?{class:_}:_},c="data-pc-",u=((t=r.binding)===null||t===void 0||(t=t.value)===null||t===void 0?void 0:t.ptOptions)||((n=r.$config)===null||n===void 0?void 0:n.ptOptions)||{},f=u.mergeSections,d=f===void 0?!0:f,p=u.mergeProps,h=p===void 0?!1:p,m=l?Se._useDefaultPT(r,r.defaultPT(),a,o,s):void 0,v=Se._usePT(r,Se._getPT(i,r.$name),a,o,Fe(Fe({},s),{},{global:m||{}})),y=Fe(Fe({},o==="root"&&bl({},"".concat(c,"name"),U.toFlatCase(r.$name))),{},bl({},"".concat(c,"section"),U.toFlatCase(o)));return d||!d&&v?h?L(m,v,y):Fe(Fe(Fe({},m),v),y):Fe(Fe({},v),y)},_getPT:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,i=function(s){var l,a=r?r(s):s,c=U.toFlatCase(n);return(l=a==null?void 0:a[c])!==null&&l!==void 0?l:a};return t!=null&&t.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:i(t.originalValue),value:i(t.value)}:i(t)},_usePT:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,s=function(v){return r(v,i,o)};if(n!=null&&n.hasOwnProperty("_usept")){var l,a=n._usept||((l=t.$config)===null||l===void 0?void 0:l.ptOptions)||{},c=a.mergeSections,u=c===void 0?!0:c,f=a.mergeProps,d=f===void 0?!1:f,p=s(n.originalValue),h=s(n.value);return p===void 0&&h===void 0?void 0:U.isString(h)?h:U.isString(p)?p:u||!u&&h?d?L(p,h):Fe(Fe({},p),h):h}return s(n)},_useDefaultPT:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return Se._usePT(t,n,r,i,o)},_hook:function(t,n,r,i,o,s){var l,a,c="on".concat(U.toCapitalCase(n)),u=Se._getConfig(i,o),f=r==null?void 0:r.$instance,d=Se._usePT(f,Se._getPT(i==null||(l=i.value)===null||l===void 0?void 0:l.pt,t),Se._getOptionValue,"hooks.".concat(c)),p=Se._useDefaultPT(f,u==null||(a=u.pt)===null||a===void 0||(a=a.directives)===null||a===void 0?void 0:a[t],Se._getOptionValue,"hooks.".concat(c)),h={el:r,binding:i,vnode:o,prevVnode:s};d==null||d(f,h),p==null||p(f,h)},_extend:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=function(o,s,l,a,c){var u,f;s._$instances=s._$instances||{};var d=Se._getConfig(l,a),p=s._$instances[t]||{},h=U.isEmpty(p)?Fe(Fe({},n),n==null?void 0:n.methods):{};s._$instances[t]=Fe(Fe({},p),{},{$name:t,$host:s,$binding:l,$modifiers:l==null?void 0:l.modifiers,$value:l==null?void 0:l.value,$el:p.$el||s||void 0,$style:Fe({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},n==null?void 0:n.style),$config:d,defaultPT:function(){return Se._getPT(d==null?void 0:d.pt,void 0,function(v){var y;return v==null||(y=v.directives)===null||y===void 0?void 0:y[t]})},isUnstyled:function(){var v,y;return((v=s.$instance)===null||v===void 0||(v=v.$binding)===null||v===void 0||(v=v.value)===null||v===void 0?void 0:v.unstyled)!==void 0?(y=s.$instance)===null||y===void 0||(y=y.$binding)===null||y===void 0||(y=y.value)===null||y===void 0?void 0:y.unstyled:d==null?void 0:d.unstyled},ptm:function(){var v,y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Se._getPTValue(s.$instance,(v=s.$instance)===null||v===void 0||(v=v.$binding)===null||v===void 0||(v=v.value)===null||v===void 0?void 0:v.pt,y,Fe({},b))},ptmo:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Se._getPTValue(s.$instance,v,y,b,!1)},cx:function(){var v,y,b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(v=s.$instance)!==null&&v!==void 0&&v.isUnstyled()?void 0:Se._getOptionValue((y=s.$instance)===null||y===void 0||(y=y.$style)===null||y===void 0?void 0:y.classes,b,Fe({},_))},sx:function(){var v,y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return b?Se._getOptionValue((v=s.$instance)===null||v===void 0||(v=v.$style)===null||v===void 0?void 0:v.inlineStyles,y,Fe({},_)):void 0}},h),s.$instance=s._$instances[t],(u=(f=s.$instance)[o])===null||u===void 0||u.call(f,s,l,a,c),Se._hook(t,o,s,l,a,c)};return{created:function(o,s,l,a){r("created",o,s,l,a)},beforeMount:function(o,s,l,a){var c,u,f,d,p=Se._getConfig(s,l);ht.loadStyle(void 0,{nonce:p==null||(c=p.csp)===null||c===void 0?void 0:c.nonce}),!((u=o.$instance)!==null&&u!==void 0&&u.isUnstyled())&&((f=o.$instance)===null||f===void 0||(f=f.$style)===null||f===void 0||f.loadStyle(void 0,{nonce:p==null||(d=p.csp)===null||d===void 0?void 0:d.nonce})),r("beforeMount",o,s,l,a)},mounted:function(o,s,l,a){r("mounted",o,s,l,a)},beforeUpdate:function(o,s,l,a){r("beforeUpdate",o,s,l,a)},updated:function(o,s,l,a){r("updated",o,s,l,a)},beforeUnmount:function(o,s,l,a){r("beforeUnmount",o,s,l,a)},unmounted:function(o,s,l,a){r("unmounted",o,s,l,a)}}},extend:function(){var t=Se._getMeta.apply(Se,arguments),n=Hu(t,2),r=n[0],i=n[1];return Fe({extend:function(){var s=Se._getMeta.apply(Se,arguments),l=Hu(s,2),a=l[0],c=l[1];return Se.extend(a,Fe(Fe(Fe({},i),i==null?void 0:i.methods),c))}},Se._extend(r,i))}},iv=` @keyframes ripple { 100% { opacity: 0; @@ -95,8 +95,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho display: none !important; } } -`,ov={root:"p-ink"},sv=ht.extend({name:"ripple",css:iv,classes:ov}),lv=Oe.extend({style:sv});function av(e){return dv(e)||fv(e)||uv(e)||cv()}function cv(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uv(e,t){if(e){if(typeof e=="string")return bl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bl(e,t)}}function fv(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dv(e){if(Array.isArray(e))return bl(e)}function bl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};return Bp(t,pv({name:"global"},n))}});function mi(e){"@babel/helpers - typeof";return mi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mi(e)}function Ku(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Pe(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=U.toFlatCase(n).split("."),o=i.shift();return o?U.isObject(t)?this._getOptionValue(U.getItemValue(t[Object.keys(t).find(function(s){return U.toFlatCase(s)===o})||""],r),i.join("."),r):void 0:U.getItemValue(t,r)},_getPTValue:function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,s="data-pc-",l=/./g.test(r)&&!!i[r.split(".")[0]],a=this._getPropValue("ptOptions")||((t=this.$config)===null||t===void 0?void 0:t.ptOptions)||{},c=a.mergeSections,u=c===void 0?!0:c,f=a.mergeProps,d=f===void 0?!1:f,p=o?l?this._useGlobalPT(this._getPTClassValue,r,i):this._useDefaultPT(this._getPTClassValue,r,i):void 0,h=l?void 0:this._usePT(this._getPT(n,this.$name),this._getPTClassValue,r,Pe(Pe({},i),{},{global:p||{}})),m=r!=="transition"&&Pe(Pe({},r==="root"&&xl({},"".concat(s,"name"),U.toFlatCase(this.$.type.name))),{},xl({},"".concat(s,"section"),U.toFlatCase(r)));return u||!u&&h?d?L(p,h,m):Pe(Pe(Pe({},p),h),m):Pe(Pe({},h),m)},_getPTClassValue:function(){var t=this._getOptionValue.apply(this,arguments);return U.isString(t)||U.isArray(t)?{class:t}:t},_getPT:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=function(l){var a,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=i?i(l):l,f=U.toFlatCase(r),d=U.toFlatCase(n.$name);return(a=c?f!==d?u==null?void 0:u[f]:void 0:u==null?void 0:u[f])!==null&&a!==void 0?a:u};return t!=null&&t.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:o(t.originalValue),value:o(t.value)}:o(t,!0)},_usePT:function(t,n,r,i){var o=function(m){return n(m,r,i)};if(t!=null&&t.hasOwnProperty("_usept")){var s,l=t._usept||((s=this.$config)===null||s===void 0?void 0:s.ptOptions)||{},a=l.mergeSections,c=a===void 0?!0:a,u=l.mergeProps,f=u===void 0?!1:u,d=o(t.originalValue),p=o(t.value);return d===void 0&&p===void 0?void 0:U.isString(p)?p:U.isString(d)?d:c||!c&&p?f?L(d,p):Pe(Pe({},d),p):p}return o(t)},_useGlobalPT:function(t,n,r){return this._usePT(this.globalPT,t,n,r)},_useDefaultPT:function(t,n,r){return this._usePT(this.defaultPT,t,n,r)},ptm:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,t,Pe(Pe({},this.$params),n))},ptmo:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(t,n,Pe({instance:this},r),!1)},cx:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,t,Pe(Pe({},this.$params),n))},sx:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n){var i=this._getOptionValue(this.$style.inlineStyles,t,Pe(Pe({},this.$params),r)),o=this._getOptionValue(Cs.inlineStyles,t,Pe(Pe({},this.$params),r));return[o,i]}}},computed:{globalPT:function(){var t,n=this;return this._getPT((t=this.$config)===null||t===void 0?void 0:t.pt,void 0,function(r){return U.getItemValue(r,{instance:n})})},defaultPT:function(){var t,n=this;return this._getPT((t=this.$config)===null||t===void 0?void 0:t.pt,void 0,function(r){return n._getOptionValue(r,n.$name,Pe({},n.$params))||U.getItemValue(r,Pe({},n.$params))})},isUnstyled:function(){var t;return this.unstyled!==void 0?this.unstyled:(t=this.$config)===null||t===void 0?void 0:t.unstyled},$params:function(){return{instance:this,props:this.$props,state:this.$data,parentInstance:this.$parentInstance}},$style:function(){return Pe(Pe({classes:void 0,inlineStyles:void 0,loadStyle:function(){},loadCustomStyle:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$config:function(){var t;return(t=this.$primevue)===null||t===void 0?void 0:t.config},$name:function(){return this.$options.hostName||this.$.type.name}}},Sv=` +`),Ts=ht.extend({name:"common",css:wv,loadGlobalStyle:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Bp(t,pv({name:"global"},n))}});function mi(e){"@babel/helpers - typeof";return mi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mi(e)}function Wu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Pe(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=U.toFlatCase(n).split("."),o=i.shift();return o?U.isObject(t)?this._getOptionValue(U.getItemValue(t[Object.keys(t).find(function(s){return U.toFlatCase(s)===o})||""],r),i.join("."),r):void 0:U.getItemValue(t,r)},_getPTValue:function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,s="data-pc-",l=/./g.test(r)&&!!i[r.split(".")[0]],a=this._getPropValue("ptOptions")||((t=this.$config)===null||t===void 0?void 0:t.ptOptions)||{},c=a.mergeSections,u=c===void 0?!0:c,f=a.mergeProps,d=f===void 0?!1:f,p=o?l?this._useGlobalPT(this._getPTClassValue,r,i):this._useDefaultPT(this._getPTClassValue,r,i):void 0,h=l?void 0:this._usePT(this._getPT(n,this.$name),this._getPTClassValue,r,Pe(Pe({},i),{},{global:p||{}})),m=r!=="transition"&&Pe(Pe({},r==="root"&&wl({},"".concat(s,"name"),U.toFlatCase(this.$.type.name))),{},wl({},"".concat(s,"section"),U.toFlatCase(r)));return u||!u&&h?d?L(p,h,m):Pe(Pe(Pe({},p),h),m):Pe(Pe({},h),m)},_getPTClassValue:function(){var t=this._getOptionValue.apply(this,arguments);return U.isString(t)||U.isArray(t)?{class:t}:t},_getPT:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=function(l){var a,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=i?i(l):l,f=U.toFlatCase(r),d=U.toFlatCase(n.$name);return(a=c?f!==d?u==null?void 0:u[f]:void 0:u==null?void 0:u[f])!==null&&a!==void 0?a:u};return t!=null&&t.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:o(t.originalValue),value:o(t.value)}:o(t,!0)},_usePT:function(t,n,r,i){var o=function(m){return n(m,r,i)};if(t!=null&&t.hasOwnProperty("_usept")){var s,l=t._usept||((s=this.$config)===null||s===void 0?void 0:s.ptOptions)||{},a=l.mergeSections,c=a===void 0?!0:a,u=l.mergeProps,f=u===void 0?!1:u,d=o(t.originalValue),p=o(t.value);return d===void 0&&p===void 0?void 0:U.isString(p)?p:U.isString(d)?d:c||!c&&p?f?L(d,p):Pe(Pe({},d),p):p}return o(t)},_useGlobalPT:function(t,n,r){return this._usePT(this.globalPT,t,n,r)},_useDefaultPT:function(t,n,r){return this._usePT(this.defaultPT,t,n,r)},ptm:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,t,Pe(Pe({},this.$params),n))},ptmo:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(t,n,Pe({instance:this},r),!1)},cx:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,t,Pe(Pe({},this.$params),n))},sx:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n){var i=this._getOptionValue(this.$style.inlineStyles,t,Pe(Pe({},this.$params),r)),o=this._getOptionValue(Ts.inlineStyles,t,Pe(Pe({},this.$params),r));return[o,i]}}},computed:{globalPT:function(){var t,n=this;return this._getPT((t=this.$config)===null||t===void 0?void 0:t.pt,void 0,function(r){return U.getItemValue(r,{instance:n})})},defaultPT:function(){var t,n=this;return this._getPT((t=this.$config)===null||t===void 0?void 0:t.pt,void 0,function(r){return n._getOptionValue(r,n.$name,Pe({},n.$params))||U.getItemValue(r,Pe({},n.$params))})},isUnstyled:function(){var t;return this.unstyled!==void 0?this.unstyled:(t=this.$config)===null||t===void 0?void 0:t.unstyled},$params:function(){return{instance:this,props:this.$props,state:this.$data,parentInstance:this.$parentInstance}},$style:function(){return Pe(Pe({classes:void 0,inlineStyles:void 0,loadStyle:function(){},loadCustomStyle:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$config:function(){var t;return(t=this.$primevue)===null||t===void 0?void 0:t.config},$name:function(){return this.$options.hostName||this.$.type.name}}},Sv=` @layer primevue { .p-tabmenu { overflow-x: auto; @@ -481,8 +481,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho display: none; } } -`,Iv={root:"p-tabmenu p-component",menu:"p-tabmenu-nav p-reset",menuitem:function(t){var n=t.instance,r=t.index,i=t.item;return["p-tabmenuitem",{"p-highlight":n.d_activeIndex===r,"p-disabled":n.disabled(i)}]},action:"p-menuitem-link",icon:"p-menuitem-icon",label:"p-menuitem-text",inkbar:"p-tabmenu-ink-bar"},Cv=ht.extend({name:"tabmenu",css:Sv,classes:Iv}),Tv={name:"BaseTabMenu",extends:Yt,props:{model:{type:Array,default:null},activeIndex:{type:Number,default:0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:Cv,provide:function(){return{$parentInstance:this}}},Up={name:"TabMenu",extends:Tv,emits:["update:activeIndex","tab-change"],timeout:null,data:function(){return{d_activeIndex:this.activeIndex}},watch:{activeIndex:function(t){this.d_activeIndex=t}},mounted:function(){this.updateInkBar();var t=this.findActiveItem();t&&(t.tabIndex="0")},updated:function(){this.updateInkBar()},beforeUnmount:function(){clearTimeout(this.timeout)},methods:{getPTOptions:function(t,n,r){return this.ptm(t,{context:{item:n,index:r}})},onItemClick:function(t,n,r){if(this.disabled(n)){t.preventDefault();return}n.command&&n.command({originalEvent:t,item:n}),r!==this.d_activeIndex&&(this.d_activeIndex=r,this.$emit("update:activeIndex",this.d_activeIndex)),this.$emit("tab-change",{originalEvent:t,index:r})},onKeydownItem:function(t,n,r){switch(t.code){case"ArrowRight":{this.navigateToNextItem(t.target),t.preventDefault();break}case"ArrowLeft":{this.navigateToPrevItem(t.target),t.preventDefault();break}case"Home":{this.navigateToFirstItem(t.target),t.preventDefault();break}case"End":{this.navigateToLastItem(t.target),t.preventDefault();break}case"Space":case"Enter":{this.onItemClick(t,n,r),t.preventDefault();break}case"Tab":{this.onTabKey();break}}},navigateToNextItem:function(t){var n=this.findNextItem(t);n&&this.setFocusToMenuitem(t,n)},navigateToPrevItem:function(t){var n=this.findPrevItem(t);n&&this.setFocusToMenuitem(t,n)},navigateToFirstItem:function(t){var n=this.findFirstItem(t);n&&this.setFocusToMenuitem(t,n)},navigateToLastItem:function(t){var n=this.findLastItem(t);n&&this.setFocusToMenuitem(t,n)},findNextItem:function(t){var n=t.parentElement.nextElementSibling;return n?N.getAttribute(n,"data-p-disabled")===!0?this.findNextItem(n.children[0]):n.children[0]:null},findPrevItem:function(t){var n=t.parentElement.previousElementSibling;return n?N.getAttribute(n,"data-p-disabled")===!0?this.findPrevItem(n.children[0]):n.children[0]:null},findFirstItem:function(){var t=N.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return t?t.children[0]:null},findLastItem:function(){var t=N.find(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return t?t[t.length-1].children[0]:null},findActiveItem:function(){var t=N.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]');return t?t.children[0]:null},setFocusToMenuitem:function(t,n){t.tabIndex="-1",n.tabIndex="0",n.focus()},onTabKey:function(){var t=N.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]'),n=N.findSingle(this.$refs.nav,'[data-pc-section="action"][tabindex="0"]');n!==t.children[0]&&(t&&(t.children[0].tabIndex="0"),n.tabIndex="-1")},visible:function(t){return typeof t.visible=="function"?t.visible():t.visible!==!1},disabled:function(t){return typeof t.disabled=="function"?t.disabled():t.disabled===!0},label:function(t){return typeof t.label=="function"?t.label():t.label},updateInkBar:function(){for(var t=this.$refs.nav.children,n=!1,r=0;r{const l=gt("RouterView");return E(),F("main",null,[M("div",jv,[ie(Ie(Up),{model:r.value,onTabChange:i},null,8,["model"]),M("div",Pv,[ie(l)])])])}}}),Ea="https://raw.githubusercontent.com/OCR-D/quiver-back-end/main/data",Qo="https://quiver-dev.sub.uni-goettingen.de/api";async function Fv(){return await Zn(Ea+"/repos.json")}async function $v(){return await Zn(Ea+"/ocrd_all_releases.json")}async function Dv(){return await Zn(Ea+"/metrics_definitions.json")}async function Rv(){return await Zn(Qo+"/workflows")}async function zv(){return await Zn(Qo+"/gt")}async function Nv(e,t){let n=`${Qo}/runs`;return e&&(n+=`/${e}`),t&&(n+=`/${t}`),await Zn(n)}async function Vv(e,t){let n=`${Qo}/runs`;return e&&(n+=`/${e}`),t&&(n+=`/${t}`),n+="/latest",await Zn(n)}async function Zn(e){return await(await fetch(e)).json()}const hr={getProjects:Fv,getWorkflows:Rv,getGroundTruth:zv,getEvalDefinitions:Dv,getOcrdAllReleases:$v,getRuns:Nv,getLatestRuns:Vv},ir=fe({}),Hv=(e,t)=>{const n=ir.value[e];if(n){const r=Object.keys(n);return r.find((i,o)=>{const s=o===r.length-1;return t<=n[i]||s&&t>n[i]})}return null},Bv=e=>{const t=[];e.filter(({evaluation_results:n})=>!!n).forEach(({evaluation_results:n})=>{const{document_wide:r}=n;r&&Object.keys(r).filter(i=>!Array.isArray(i)).forEach(i=>{t[i]=[...t[i]??[],r[i]]})}),Object.keys(t).forEach(n=>{const r=t[n],i=Math.min(...r),l=(Math.max(...r)-i)/3;ir.value[n]||(ir.value[n]={}),ir.value[n]["eval-positive"]=i+l,ir.value[n]["eval-neutral"]=i+2*l,ir.value[n]["eval-negative"]=i+3*l})},Ts=e=>Math.round(e*1e3)/1e3,Kp=(e,t)=>["cer_mean","cer_median","wer","pages_per_minute","cer_standard_deviation","wall_time","cpu_time"].includes(e)?Ts(t):e==="cer_range"?Ts(t[0])+" / "+Ts(t[1]):t,Jt=e=>{const t=e.split("/");return t[t.length-1].split(".")[0]};var nt={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"};function Wu(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Uv(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function Uv(e,t){if(e){if(typeof e=="string")return Gu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gu(e,t)}}function Gu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nn.getTime():t>n},gte:function(t,n){return n==null?!0:t==null?!1:t.getTime&&n.getTime?t.getTime()>=n.getTime():t>=n},dateIs:function(t,n){return n==null?!0:t==null?!1:t.toDateString()===n.toDateString()},dateIsNot:function(t,n){return n==null?!0:t==null?!1:t.toDateString()!==n.toDateString()},dateBefore:function(t,n){return n==null?!0:t==null?!1:t.getTime()n.getTime()}},register:function(t,n){this.filters[t]=n}},Kv=` +`,Iv={root:"p-tabmenu p-component",menu:"p-tabmenu-nav p-reset",menuitem:function(t){var n=t.instance,r=t.index,i=t.item;return["p-tabmenuitem",{"p-highlight":n.d_activeIndex===r,"p-disabled":n.disabled(i)}]},action:"p-menuitem-link",icon:"p-menuitem-icon",label:"p-menuitem-text",inkbar:"p-tabmenu-ink-bar"},Cv=ht.extend({name:"tabmenu",css:Sv,classes:Iv}),Tv={name:"BaseTabMenu",extends:Yt,props:{model:{type:Array,default:null},activeIndex:{type:Number,default:0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:Cv,provide:function(){return{$parentInstance:this}}},Up={name:"TabMenu",extends:Tv,emits:["update:activeIndex","tab-change"],timeout:null,data:function(){return{d_activeIndex:this.activeIndex}},watch:{activeIndex:function(t){this.d_activeIndex=t}},mounted:function(){this.updateInkBar();var t=this.findActiveItem();t&&(t.tabIndex="0")},updated:function(){this.updateInkBar()},beforeUnmount:function(){clearTimeout(this.timeout)},methods:{getPTOptions:function(t,n,r){return this.ptm(t,{context:{item:n,index:r}})},onItemClick:function(t,n,r){if(this.disabled(n)){t.preventDefault();return}n.command&&n.command({originalEvent:t,item:n}),r!==this.d_activeIndex&&(this.d_activeIndex=r,this.$emit("update:activeIndex",this.d_activeIndex)),this.$emit("tab-change",{originalEvent:t,index:r})},onKeydownItem:function(t,n,r){switch(t.code){case"ArrowRight":{this.navigateToNextItem(t.target),t.preventDefault();break}case"ArrowLeft":{this.navigateToPrevItem(t.target),t.preventDefault();break}case"Home":{this.navigateToFirstItem(t.target),t.preventDefault();break}case"End":{this.navigateToLastItem(t.target),t.preventDefault();break}case"Space":case"Enter":{this.onItemClick(t,n,r),t.preventDefault();break}case"Tab":{this.onTabKey();break}}},navigateToNextItem:function(t){var n=this.findNextItem(t);n&&this.setFocusToMenuitem(t,n)},navigateToPrevItem:function(t){var n=this.findPrevItem(t);n&&this.setFocusToMenuitem(t,n)},navigateToFirstItem:function(t){var n=this.findFirstItem(t);n&&this.setFocusToMenuitem(t,n)},navigateToLastItem:function(t){var n=this.findLastItem(t);n&&this.setFocusToMenuitem(t,n)},findNextItem:function(t){var n=t.parentElement.nextElementSibling;return n?N.getAttribute(n,"data-p-disabled")===!0?this.findNextItem(n.children[0]):n.children[0]:null},findPrevItem:function(t){var n=t.parentElement.previousElementSibling;return n?N.getAttribute(n,"data-p-disabled")===!0?this.findPrevItem(n.children[0]):n.children[0]:null},findFirstItem:function(){var t=N.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return t?t.children[0]:null},findLastItem:function(){var t=N.find(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return t?t[t.length-1].children[0]:null},findActiveItem:function(){var t=N.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]');return t?t.children[0]:null},setFocusToMenuitem:function(t,n){t.tabIndex="-1",n.tabIndex="0",n.focus()},onTabKey:function(){var t=N.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]'),n=N.findSingle(this.$refs.nav,'[data-pc-section="action"][tabindex="0"]');n!==t.children[0]&&(t&&(t.children[0].tabIndex="0"),n.tabIndex="-1")},visible:function(t){return typeof t.visible=="function"?t.visible():t.visible!==!1},disabled:function(t){return typeof t.disabled=="function"?t.disabled():t.disabled===!0},label:function(t){return typeof t.label=="function"?t.label():t.label},updateInkBar:function(){for(var t=this.$refs.nav.children,n=!1,r=0;r{const l=gt("RouterView");return E(),F("main",null,[M("div",jv,[ie(Oe(Up),{model:r.value,onTabChange:i},null,8,["model"]),M("div",Pv,[ie(l)])])])}}}),Ma="https://raw.githubusercontent.com/OCR-D/quiver-back-end/main/data",Jo="https://quiver-dev.sub.uni-goettingen.de/api";async function Fv(){return await Zn(Ma+"/repos.json")}async function $v(){return await Zn(Ma+"/ocrd_all_releases.json")}async function Dv(){return await Zn(Ma+"/metrics_definitions.json")}async function Rv(){return await Zn(Jo+"/workflows")}async function zv(){return await Zn(Jo+"/gt")}async function Nv(e,t){let n=`${Jo}/runs`;return e&&(n+=`/${e}`),t&&(n+=`/${t}`),await Zn(n)}async function Vv(e,t){let n=`${Jo}/runs`;return e&&(n+=`/${e}`),t&&(n+=`/${t}`),n+="/latest",await Zn(n)}async function Zn(e){return await(await fetch(e)).json()}const hr={getProjects:Fv,getWorkflows:Rv,getGroundTruth:zv,getEvalDefinitions:Dv,getOcrdAllReleases:$v,getRuns:Nv,getLatestRuns:Vv},ir=fe({}),Hv=(e,t)=>{const n=ir.value[e];if(n){const r=Object.keys(n);return r.find((i,o)=>{const s=o===r.length-1;return t<=n[i]||s&&t>n[i]})}return null},Bv=e=>{const t=[];e.filter(({evaluation_results:n})=>!!n).forEach(({evaluation_results:n})=>{const{document_wide:r}=n;r&&Object.keys(r).filter(i=>!Array.isArray(i)).forEach(i=>{t[i]=[...t[i]??[],r[i]]})}),Object.keys(t).forEach(n=>{const r=t[n],i=Math.min(...r),l=(Math.max(...r)-i)/3;ir.value[n]||(ir.value[n]={}),ir.value[n]["eval-positive"]=i+l,ir.value[n]["eval-neutral"]=i+2*l,ir.value[n]["eval-negative"]=i+3*l})},Es=e=>Math.round(e*1e3)/1e3,Kp=(e,t)=>["cer_mean","cer_median","wer","pages_per_minute","cer_standard_deviation","wall_time","cpu_time"].includes(e)?Es(t):e==="cer_range"?Es(t[0])+" / "+Es(t[1]):t,Jt=e=>{const t=e.split("/");return t[t.length-1].split(".")[0]};var nt={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"};function Gu(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Uv(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function Uv(e,t){if(e){if(typeof e=="string")return Yu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yu(e,t)}}function Yu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nn.getTime():t>n},gte:function(t,n){return n==null?!0:t==null?!1:t.getTime&&n.getTime?t.getTime()>=n.getTime():t>=n},dateIs:function(t,n){return n==null?!0:t==null?!1:t.toDateString()===n.toDateString()},dateIsNot:function(t,n){return n==null?!0:t==null?!1:t.toDateString()!==n.toDateString()},dateBefore:function(t,n){return n==null?!0:t==null?!1:t.getTime()n.getTime()}},register:function(t,n){this.filters[t]=n}},Kv=` .p-icon { display: inline-block; } @@ -513,7 +513,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho transform: rotate(359deg); } } -`,Yu=ht.extend({name:"baseicon",css:Kv}),un={name:"BaseIcon",extends:Yt,props:{label:{type:String,default:void 0},spin:{type:Boolean,default:!1}},style:Yu,beforeMount:function(){var t;Yu.loadStyle({nonce:(t=this.$config)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce})},methods:{pti:function(){var t=U.isEmpty(this.label);return{class:["p-icon",{"p-icon-spin":this.spin}],role:t?void 0:"img","aria-label":t?void 0:this.label,"aria-hidden":t}}},computed:{$config:function(){var t;return(t=this.$primevue)===null||t===void 0?void 0:t.config}}},Ma={name:"ChevronDownIcon",extends:un},Wv=M("path",{d:"M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",fill:"currentColor"},null,-1),Gv=[Wv];function Yv(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),Gv,16)}Ma.render=Yv;var Gp={name:"FilterIcon",extends:un,computed:{pathId:function(){return"pv_icon_clip_".concat(Dt())}}},qv=["clipPath"],Zv=M("path",{d:"M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z",fill:"currentColor"},null,-1),Xv=[Zv],Qv=["id"],Jv=M("rect",{width:"14",height:"14",fill:"white"},null,-1),eb=[Jv];function tb(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[M("g",{clipPath:"url(#".concat(o.pathId,")")},Xv,8,qv),M("defs",null,[M("clipPath",{id:"".concat(o.pathId)},eb,8,Qv)])],16)}Gp.render=tb;var Pi={name:"SpinnerIcon",extends:un,computed:{pathId:function(){return"pv_icon_clip_".concat(Dt())}}},nb=["clipPath"],rb=M("path",{d:"M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",fill:"currentColor"},null,-1),ib=[rb],ob=["id"],sb=M("rect",{width:"14",height:"14",fill:"white"},null,-1),lb=[sb];function ab(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[M("g",{clipPath:"url(#".concat(o.pathId,")")},ib,8,nb),M("defs",null,[M("clipPath",{id:"".concat(o.pathId)},lb,8,ob)])],16)}Pi.render=ab;var Jo={name:"TimesIcon",extends:un},cb=M("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1),ub=[cb];function fb(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),ub,16)}Jo.render=fb;var lr=_2(),es={name:"Portal",props:{appendTo:{type:String,default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=N.isClient()},computed:{inline:function(){return this.disabled||this.appendTo==="self"}}};function db(e,t,n,r,i,o){return o.inline?oe(e.$slots,"default",{key:0}):i.mounted?(E(),Le(s0,{key:1,to:n.appendTo},[oe(e.$slots,"default")],8,["to"])):me("",!0)}es.render=db;var pb=` +`,qu=ht.extend({name:"baseicon",css:Kv}),un={name:"BaseIcon",extends:Yt,props:{label:{type:String,default:void 0},spin:{type:Boolean,default:!1}},style:qu,beforeMount:function(){var t;qu.loadStyle({nonce:(t=this.$config)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce})},methods:{pti:function(){var t=U.isEmpty(this.label);return{class:["p-icon",{"p-icon-spin":this.spin}],role:t?void 0:"img","aria-label":t?void 0:this.label,"aria-hidden":t}}},computed:{$config:function(){var t;return(t=this.$primevue)===null||t===void 0?void 0:t.config}}},Aa={name:"ChevronDownIcon",extends:un},Wv=M("path",{d:"M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",fill:"currentColor"},null,-1),Gv=[Wv];function Yv(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),Gv,16)}Aa.render=Yv;var Gp={name:"FilterIcon",extends:un,computed:{pathId:function(){return"pv_icon_clip_".concat(Dt())}}},qv=["clipPath"],Zv=M("path",{d:"M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z",fill:"currentColor"},null,-1),Xv=[Zv],Qv=["id"],Jv=M("rect",{width:"14",height:"14",fill:"white"},null,-1),eb=[Jv];function tb(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[M("g",{clipPath:"url(#".concat(o.pathId,")")},Xv,8,qv),M("defs",null,[M("clipPath",{id:"".concat(o.pathId)},eb,8,Qv)])],16)}Gp.render=tb;var Pi={name:"SpinnerIcon",extends:un,computed:{pathId:function(){return"pv_icon_clip_".concat(Dt())}}},nb=["clipPath"],rb=M("path",{d:"M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",fill:"currentColor"},null,-1),ib=[rb],ob=["id"],sb=M("rect",{width:"14",height:"14",fill:"white"},null,-1),lb=[sb];function ab(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[M("g",{clipPath:"url(#".concat(o.pathId,")")},ib,8,nb),M("defs",null,[M("clipPath",{id:"".concat(o.pathId)},lb,8,ob)])],16)}Pi.render=ab;var es={name:"TimesIcon",extends:un},cb=M("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1),ub=[cb];function fb(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),ub,16)}es.render=fb;var lr=_2(),ts={name:"Portal",props:{appendTo:{type:String,default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=N.isClient()},computed:{inline:function(){return this.disabled||this.appendTo==="self"}}};function db(e,t,n,r,i,o){return o.inline?oe(e.$slots,"default",{key:0}):i.mounted?(E(),Le(s0,{key:1,to:n.appendTo},[oe(e.$slots,"default")],8,["to"])):me("",!0)}ts.render=db;var pb=` .p-virtualscroller { position: relative; overflow: auto; @@ -574,7 +574,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho .p-virtualscroller-inline .p-virtualscroller-content { position: static; } -`,qu=ht.extend({name:"virtualscroller",css:pb}),hb={name:"BaseVirtualScroller",extends:Yt,props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},resizeDelay:{type:Number,default:10},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1},tabindex:{type:Number,default:0},inline:{type:Boolean,default:!1},step:{type:Number,default:0},appendOnly:{type:Boolean,default:!1},autoSize:{type:Boolean,default:!1}},style:qu,provide:function(){return{$parentInstance:this}},beforeMount:function(){qu.loadStyle()}};function gi(e){"@babel/helpers - typeof";return gi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gi(e)}function Zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Lr(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"auto",i=this.isBoth(),o=this.isHorizontal(),s=this.first,l=this.calculateNumItems(),a=l.numToleratedItems,c=this.getContentPosition(),u=this.itemSize,f=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,b=arguments.length>1?arguments[1]:void 0;return y<=b?0:y},d=function(y,b,_){return y*b+_},p=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n.scrollTo({left:y,top:b,behavior:r})},h=i?{rows:0,cols:0}:0,m=!1;i?(h={rows:f(t[0],a[0]),cols:f(t[1],a[1])},p(d(h.cols,u[1],c.left),d(h.rows,u[0],c.top)),m=h.rows!==s.rows||h.cols!==s.cols):(h=f(t,a),o?p(d(h,u,c.left),0):p(0,d(h,u,c.top)),m=h!==s),this.isRangeChanged=m,this.first=h},scrollInView:function(t,n){var r=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto";if(n){var o=this.isBoth(),s=this.isHorizontal(),l=this.getRenderedRange(),a=l.first,c=l.viewport,u=function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return r.scrollTo({left:v,top:y,behavior:i})},f=n==="to-start",d=n==="to-end";if(f){if(o)c.first.rows-a.rows>t[0]?u(c.first.cols*this.itemSize[1],(c.first.rows-1)*this.itemSize[0]):c.first.cols-a.cols>t[1]&&u((c.first.cols-1)*this.itemSize[1],c.first.rows*this.itemSize[0]);else if(c.first-a>t){var p=(c.first-1)*this.itemSize;s?u(p,0):u(0,p)}}else if(d){if(o)c.last.rows-a.rows<=t[0]+1?u(c.first.cols*this.itemSize[1],(c.first.rows+1)*this.itemSize[0]):c.last.cols-a.cols<=t[1]+1&&u((c.first.cols+1)*this.itemSize[1],c.first.rows*this.itemSize[0]);else if(c.last-a<=t+1){var h=(c.first+1)*this.itemSize;s?u(h,0):u(0,h)}}}else this.scrollToIndex(t,i)},getRenderedRange:function(){var t=function(f,d){return Math.floor(f/(d||f))},n=this.first,r=0;if(this.element){var i=this.isBoth(),o=this.isHorizontal(),s=this.element.scrollTop,l=s.scrollTop,a=s.scrollLeft;if(i)n={rows:t(l,this.itemSize[0]),cols:t(a,this.itemSize[1])},r={rows:n.rows+this.numItemsInViewport.rows,cols:n.cols+this.numItemsInViewport.cols};else{var c=o?a:l;n=t(c,this.itemSize),r=n+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:n,last:r}}},calculateNumItems:function(){var t=this.isBoth(),n=this.isHorizontal(),r=this.itemSize,i=this.getContentPosition(),o=this.element?this.element.offsetWidth-i.left:0,s=this.element?this.element.offsetHeight-i.top:0,l=function(d,p){return Math.ceil(d/(p||d))},a=function(d){return Math.ceil(d/2)},c=t?{rows:l(s,r[0]),cols:l(o,r[1])}:l(n?o:s,r),u=this.d_numToleratedItems||(t?[a(c.rows),a(c.cols)]:a(c));return{numItemsInViewport:c,numToleratedItems:u}},calculateOptions:function(){var t=this,n=this.isBoth(),r=this.first,i=this.calculateNumItems(),o=i.numItemsInViewport,s=i.numToleratedItems,l=function(u,f,d){var p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.getLast(u+f+(u0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0;return this.items?Math.min(n?(this.columns||this.items[0]).length:this.items.length,t):0},getContentPosition:function(){if(this.content){var t=getComputedStyle(this.content),n=parseFloat(t.paddingLeft)+Math.max(parseFloat(t.left)||0,0),r=parseFloat(t.paddingRight)+Math.max(parseFloat(t.right)||0,0),i=parseFloat(t.paddingTop)+Math.max(parseFloat(t.top)||0,0),o=parseFloat(t.paddingBottom)+Math.max(parseFloat(t.bottom)||0,0);return{left:n,right:r,top:i,bottom:o,x:n+r,y:i+o}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize:function(){var t=this;if(this.element){var n=this.isBoth(),r=this.isHorizontal(),i=this.element.parentElement,o=this.scrollWidth||"".concat(this.element.offsetWidth||i.offsetWidth,"px"),s=this.scrollHeight||"".concat(this.element.offsetHeight||i.offsetHeight,"px"),l=function(c,u){return t.element.style[c]=u};n||r?(l("height",s),l("width",o)):l("height",s)}},setSpacerSize:function(){var t=this,n=this.items;if(n){var r=this.isBoth(),i=this.isHorizontal(),o=this.getContentPosition(),s=function(a,c,u){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return t.spacerStyle=Lr(Lr({},t.spacerStyle),Yp({},"".concat(a),(c||[]).length*u+f+"px"))};r?(s("height",n,this.itemSize[0],o.y),s("width",this.columns||n[1],this.itemSize[1],o.x)):i?s("width",this.columns||n,this.itemSize,o.x):s("height",n,this.itemSize,o.y)}},setContentPosition:function(t){var n=this;if(this.content&&!this.appendOnly){var r=this.isBoth(),i=this.isHorizontal(),o=t?t.first:this.first,s=function(u,f){return u*f},l=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n.contentStyle=Lr(Lr({},n.contentStyle),{transform:"translate3d(".concat(u,"px, ").concat(f,"px, 0)")})};if(r)l(s(o.cols,this.itemSize[1]),s(o.rows,this.itemSize[0]));else{var a=s(o,this.itemSize);i?l(a,0):l(0,a)}}},onScrollPositionChange:function(t){var n=this,r=t.target,i=this.isBoth(),o=this.isHorizontal(),s=this.getContentPosition(),l=function(z,V){return z?z>V?z-V:z:0},a=function(z,V){return Math.floor(z/(V||z))},c=function(z,V,X,pe,xe,ce){return z<=xe?xe:ce?X-pe-xe:V+xe-1},u=function(z,V,X,pe,xe,ce,re){return z<=ce?0:Math.max(0,re?zV?X:z-2*ce)},f=function(z,V,X,pe,xe,ce){var re=V+pe+2*xe;return z>=xe&&(re+=xe+1),n.getLast(re,ce)},d=l(r.scrollTop,s.top),p=l(r.scrollLeft,s.left),h=i?{rows:0,cols:0}:0,m=this.last,v=!1,y=this.lastScrollPos;if(i){var b=this.lastScrollPos.top<=d,_=this.lastScrollPos.left<=p;if(!this.appendOnly||this.appendOnly&&(b||_)){var w={rows:a(d,this.itemSize[0]),cols:a(p,this.itemSize[1])},S={rows:c(w.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],b),cols:c(w.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],_)};h={rows:u(w.rows,S.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],b),cols:u(w.cols,S.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],_)},m={rows:f(w.rows,h.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:f(w.cols,h.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},v=h.rows!==this.first.rows||m.rows!==this.last.rows||h.cols!==this.first.cols||m.cols!==this.last.cols||this.isRangeChanged,y={top:d,left:p}}}else{var I=o?p:d,j=this.lastScrollPos<=I;if(!this.appendOnly||this.appendOnly&&j){var H=a(I,this.itemSize),Z=c(H,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,j);h=u(H,Z,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,j),m=f(H,h,this.last,this.numItemsInViewport,this.d_numToleratedItems),v=h!==this.first||m!==this.last||this.isRangeChanged,y=I}}return{first:h,last:m,isRangeChanged:v,scrollPos:y}},onScrollChange:function(t){var n=this.onScrollPositionChange(t),r=n.first,i=n.last,o=n.isRangeChanged,s=n.scrollPos;if(o){var l={first:r,last:i};if(this.setContentPosition(l),this.first=r,this.last=i,this.lastScrollPos=s,this.$emit("scroll-index-change",l),this.lazy&&this.isPageChanged(r)){var a={first:this.step?Math.min(this.getPageByFirst(r)*this.step,this.items.length-this.step):r,last:Math.min(this.step?(this.getPageByFirst(r)+1)*this.step:i,this.items.length)},c=this.lazyLoadState.first!==a.first||this.lazyLoadState.last!==a.last;c&&this.$emit("lazy-load",a),this.lazyLoadState=a}}},onScroll:function(t){var n=this;if(this.$emit("scroll",t),this.delay&&this.isPageChanged()){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){var r=this.onScrollPositionChange(t),i=r.isRangeChanged,o=i||(this.step?this.isPageChanged():!1);o&&(this.d_loading=!0)}this.scrollTimeout=setTimeout(function(){n.onScrollChange(t),n.d_loading&&n.showLoader&&(!n.lazy||n.loading===void 0)&&(n.d_loading=!1,n.page=n.getPageByFirst())},this.delay)}else this.onScrollChange(t)},onResize:function(){var t=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){if(N.isVisible(t.element)){var n=t.isBoth(),r=t.isVertical(),i=t.isHorizontal(),o=[N.getWidth(t.element),N.getHeight(t.element)],s=o[0],l=o[1],a=s!==t.defaultWidth,c=l!==t.defaultHeight,u=n?a||c:i?a:r?c:!1;u&&(t.d_numToleratedItems=t.numToleratedItems,t.defaultWidth=s,t.defaultHeight=l,t.defaultContentWidth=N.getWidth(t.content),t.defaultContentHeight=N.getHeight(t.content),t.init())}},this.resizeDelay)},bindResizeListener:function(){this.resizeListener||(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener),window.addEventListener("orientationchange",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("orientationchange",this.resizeListener),this.resizeListener=null)},getOptions:function(t){var n=(this.items||[]).length,r=this.isBoth()?this.first.rows+t:this.first+t;return{index:r,count:n,first:r===0,last:r===n-1,even:r%2===0,odd:r%2!==0}},getLoaderOptions:function(t,n){var r=this.loaderArr.length;return Lr({index:t,count:r,first:t===0,last:t===r-1,even:t%2===0,odd:t%2!==0},n)},getPageByFirst:function(t){return Math.floor(((t??this.first)+this.d_numToleratedItems*4)/(this.step||1))},isPageChanged:function(t){return this.step?this.page!==this.getPageByFirst(t??this.first):!0},setContentEl:function(t){this.content=t||this.content||N.findSingle(this.element,'[data-pc-section="content"]')},elementRef:function(t){this.element=t},contentRef:function(t){this.content=t}},computed:{containerClass:function(){return["p-virtualscroller",this.class,{"p-virtualscroller-inline":this.inline,"p-virtualscroller-both p-both-scroll":this.isBoth(),"p-virtualscroller-horizontal p-horizontal-scroll":this.isHorizontal()}]},contentClass:function(){return["p-virtualscroller-content",{"p-virtualscroller-loading":this.d_loading}]},loaderClass:function(){return["p-virtualscroller-loader",{"p-component-overlay":!this.$slots.loader}]},loadedItems:function(){var t=this;return this.items&&!this.d_loading?this.isBoth()?this.items.slice(this.appendOnly?0:this.first.rows,this.last.rows).map(function(n){return t.columns?n:n.slice(t.appendOnly?0:t.first.cols,t.last.cols)}):this.isHorizontal()&&this.columns?this.items:this.items.slice(this.appendOnly?0:this.first,this.last):[]},loadedRows:function(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns:function(){if(this.columns){var t=this.isBoth(),n=this.isHorizontal();if(t||n)return this.d_loading&&this.loaderDisabled?t?this.loaderArr[0]:this.loaderArr:this.columns.slice(t?this.first.cols:this.first,t?this.last.cols:this.last)}return this.columns}},components:{SpinnerIcon:Pi}},yb=["tabindex"];function vb(e,t,n,r,i,o){var s=gt("SpinnerIcon");return e.disabled?(E(),F(ae,{key:1},[oe(e.$slots,"default"),oe(e.$slots,"content",{items:e.items,rows:e.items,columns:o.loadedColumns})],64)):(E(),F("div",L({key:0,ref:o.elementRef,class:o.containerClass,tabindex:e.tabindex,style:e.style,onScroll:t[0]||(t[0]=function(){return o.onScroll&&o.onScroll.apply(o,arguments)})},e.ptm("root"),{"data-pc-name":"virtualscroller"}),[oe(e.$slots,"content",{styleClass:o.contentClass,items:o.loadedItems,getItemOptions:o.getOptions,loading:i.d_loading,getLoaderOptions:o.getLoaderOptions,itemSize:e.itemSize,rows:o.loadedRows,columns:o.loadedColumns,contentRef:o.contentRef,spacerStyle:i.spacerStyle,contentStyle:i.contentStyle,vertical:o.isVertical(),horizontal:o.isHorizontal(),both:o.isBoth()},function(){return[M("div",L({ref:o.contentRef,class:o.contentClass,style:i.contentStyle},e.ptm("content")),[(E(!0),F(ae,null,qe(o.loadedItems,function(l,a){return oe(e.$slots,"item",{key:a,item:l,options:o.getOptions(a)})}),128))],16)]}),e.showSpacer?(E(),F("div",L({key:0,class:"p-virtualscroller-spacer",style:i.spacerStyle},e.ptm("spacer")),null,16)):me("",!0),!e.loaderDisabled&&e.showLoader&&i.d_loading?(E(),F("div",L({key:1,class:o.loaderClass},e.ptm("loader")),[e.$slots&&e.$slots.loader?(E(!0),F(ae,{key:0},qe(i.loaderArr,function(l,a){return oe(e.$slots,"loader",{key:a,options:o.getLoaderOptions(a,o.isBoth()&&{numCols:e.d_numItemsInViewport.cols})})}),128)):me("",!0),oe(e.$slots,"loadingicon",{},function(){return[ie(s,L({spin:"",class:"p-virtualscroller-loading-icon"},e.ptm("loadingIcon")),null,16)]})],16)):me("",!0)],16,yb))}Aa.render=vb;var bb=` +`,Zu=ht.extend({name:"virtualscroller",css:pb}),hb={name:"BaseVirtualScroller",extends:Yt,props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},resizeDelay:{type:Number,default:10},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1},tabindex:{type:Number,default:0},inline:{type:Boolean,default:!1},step:{type:Number,default:0},appendOnly:{type:Boolean,default:!1},autoSize:{type:Boolean,default:!1}},style:Zu,provide:function(){return{$parentInstance:this}},beforeMount:function(){Zu.loadStyle()}};function gi(e){"@babel/helpers - typeof";return gi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gi(e)}function Xu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Lr(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"auto",i=this.isBoth(),o=this.isHorizontal(),s=this.first,l=this.calculateNumItems(),a=l.numToleratedItems,c=this.getContentPosition(),u=this.itemSize,f=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,b=arguments.length>1?arguments[1]:void 0;return y<=b?0:y},d=function(y,b,_){return y*b+_},p=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n.scrollTo({left:y,top:b,behavior:r})},h=i?{rows:0,cols:0}:0,m=!1;i?(h={rows:f(t[0],a[0]),cols:f(t[1],a[1])},p(d(h.cols,u[1],c.left),d(h.rows,u[0],c.top)),m=h.rows!==s.rows||h.cols!==s.cols):(h=f(t,a),o?p(d(h,u,c.left),0):p(0,d(h,u,c.top)),m=h!==s),this.isRangeChanged=m,this.first=h},scrollInView:function(t,n){var r=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto";if(n){var o=this.isBoth(),s=this.isHorizontal(),l=this.getRenderedRange(),a=l.first,c=l.viewport,u=function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return r.scrollTo({left:v,top:y,behavior:i})},f=n==="to-start",d=n==="to-end";if(f){if(o)c.first.rows-a.rows>t[0]?u(c.first.cols*this.itemSize[1],(c.first.rows-1)*this.itemSize[0]):c.first.cols-a.cols>t[1]&&u((c.first.cols-1)*this.itemSize[1],c.first.rows*this.itemSize[0]);else if(c.first-a>t){var p=(c.first-1)*this.itemSize;s?u(p,0):u(0,p)}}else if(d){if(o)c.last.rows-a.rows<=t[0]+1?u(c.first.cols*this.itemSize[1],(c.first.rows+1)*this.itemSize[0]):c.last.cols-a.cols<=t[1]+1&&u((c.first.cols+1)*this.itemSize[1],c.first.rows*this.itemSize[0]);else if(c.last-a<=t+1){var h=(c.first+1)*this.itemSize;s?u(h,0):u(0,h)}}}else this.scrollToIndex(t,i)},getRenderedRange:function(){var t=function(f,d){return Math.floor(f/(d||f))},n=this.first,r=0;if(this.element){var i=this.isBoth(),o=this.isHorizontal(),s=this.element.scrollTop,l=s.scrollTop,a=s.scrollLeft;if(i)n={rows:t(l,this.itemSize[0]),cols:t(a,this.itemSize[1])},r={rows:n.rows+this.numItemsInViewport.rows,cols:n.cols+this.numItemsInViewport.cols};else{var c=o?a:l;n=t(c,this.itemSize),r=n+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:n,last:r}}},calculateNumItems:function(){var t=this.isBoth(),n=this.isHorizontal(),r=this.itemSize,i=this.getContentPosition(),o=this.element?this.element.offsetWidth-i.left:0,s=this.element?this.element.offsetHeight-i.top:0,l=function(d,p){return Math.ceil(d/(p||d))},a=function(d){return Math.ceil(d/2)},c=t?{rows:l(s,r[0]),cols:l(o,r[1])}:l(n?o:s,r),u=this.d_numToleratedItems||(t?[a(c.rows),a(c.cols)]:a(c));return{numItemsInViewport:c,numToleratedItems:u}},calculateOptions:function(){var t=this,n=this.isBoth(),r=this.first,i=this.calculateNumItems(),o=i.numItemsInViewport,s=i.numToleratedItems,l=function(u,f,d){var p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.getLast(u+f+(u0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0;return this.items?Math.min(n?(this.columns||this.items[0]).length:this.items.length,t):0},getContentPosition:function(){if(this.content){var t=getComputedStyle(this.content),n=parseFloat(t.paddingLeft)+Math.max(parseFloat(t.left)||0,0),r=parseFloat(t.paddingRight)+Math.max(parseFloat(t.right)||0,0),i=parseFloat(t.paddingTop)+Math.max(parseFloat(t.top)||0,0),o=parseFloat(t.paddingBottom)+Math.max(parseFloat(t.bottom)||0,0);return{left:n,right:r,top:i,bottom:o,x:n+r,y:i+o}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize:function(){var t=this;if(this.element){var n=this.isBoth(),r=this.isHorizontal(),i=this.element.parentElement,o=this.scrollWidth||"".concat(this.element.offsetWidth||i.offsetWidth,"px"),s=this.scrollHeight||"".concat(this.element.offsetHeight||i.offsetHeight,"px"),l=function(c,u){return t.element.style[c]=u};n||r?(l("height",s),l("width",o)):l("height",s)}},setSpacerSize:function(){var t=this,n=this.items;if(n){var r=this.isBoth(),i=this.isHorizontal(),o=this.getContentPosition(),s=function(a,c,u){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return t.spacerStyle=Lr(Lr({},t.spacerStyle),Yp({},"".concat(a),(c||[]).length*u+f+"px"))};r?(s("height",n,this.itemSize[0],o.y),s("width",this.columns||n[1],this.itemSize[1],o.x)):i?s("width",this.columns||n,this.itemSize,o.x):s("height",n,this.itemSize,o.y)}},setContentPosition:function(t){var n=this;if(this.content&&!this.appendOnly){var r=this.isBoth(),i=this.isHorizontal(),o=t?t.first:this.first,s=function(u,f){return u*f},l=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n.contentStyle=Lr(Lr({},n.contentStyle),{transform:"translate3d(".concat(u,"px, ").concat(f,"px, 0)")})};if(r)l(s(o.cols,this.itemSize[1]),s(o.rows,this.itemSize[0]));else{var a=s(o,this.itemSize);i?l(a,0):l(0,a)}}},onScrollPositionChange:function(t){var n=this,r=t.target,i=this.isBoth(),o=this.isHorizontal(),s=this.getContentPosition(),l=function(z,V){return z?z>V?z-V:z:0},a=function(z,V){return Math.floor(z/(V||z))},c=function(z,V,X,pe,xe,ce){return z<=xe?xe:ce?X-pe-xe:V+xe-1},u=function(z,V,X,pe,xe,ce,re){return z<=ce?0:Math.max(0,re?zV?X:z-2*ce)},f=function(z,V,X,pe,xe,ce){var re=V+pe+2*xe;return z>=xe&&(re+=xe+1),n.getLast(re,ce)},d=l(r.scrollTop,s.top),p=l(r.scrollLeft,s.left),h=i?{rows:0,cols:0}:0,m=this.last,v=!1,y=this.lastScrollPos;if(i){var b=this.lastScrollPos.top<=d,_=this.lastScrollPos.left<=p;if(!this.appendOnly||this.appendOnly&&(b||_)){var w={rows:a(d,this.itemSize[0]),cols:a(p,this.itemSize[1])},S={rows:c(w.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],b),cols:c(w.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],_)};h={rows:u(w.rows,S.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],b),cols:u(w.cols,S.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],_)},m={rows:f(w.rows,h.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:f(w.cols,h.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},v=h.rows!==this.first.rows||m.rows!==this.last.rows||h.cols!==this.first.cols||m.cols!==this.last.cols||this.isRangeChanged,y={top:d,left:p}}}else{var I=o?p:d,j=this.lastScrollPos<=I;if(!this.appendOnly||this.appendOnly&&j){var H=a(I,this.itemSize),Z=c(H,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,j);h=u(H,Z,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,j),m=f(H,h,this.last,this.numItemsInViewport,this.d_numToleratedItems),v=h!==this.first||m!==this.last||this.isRangeChanged,y=I}}return{first:h,last:m,isRangeChanged:v,scrollPos:y}},onScrollChange:function(t){var n=this.onScrollPositionChange(t),r=n.first,i=n.last,o=n.isRangeChanged,s=n.scrollPos;if(o){var l={first:r,last:i};if(this.setContentPosition(l),this.first=r,this.last=i,this.lastScrollPos=s,this.$emit("scroll-index-change",l),this.lazy&&this.isPageChanged(r)){var a={first:this.step?Math.min(this.getPageByFirst(r)*this.step,this.items.length-this.step):r,last:Math.min(this.step?(this.getPageByFirst(r)+1)*this.step:i,this.items.length)},c=this.lazyLoadState.first!==a.first||this.lazyLoadState.last!==a.last;c&&this.$emit("lazy-load",a),this.lazyLoadState=a}}},onScroll:function(t){var n=this;if(this.$emit("scroll",t),this.delay&&this.isPageChanged()){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){var r=this.onScrollPositionChange(t),i=r.isRangeChanged,o=i||(this.step?this.isPageChanged():!1);o&&(this.d_loading=!0)}this.scrollTimeout=setTimeout(function(){n.onScrollChange(t),n.d_loading&&n.showLoader&&(!n.lazy||n.loading===void 0)&&(n.d_loading=!1,n.page=n.getPageByFirst())},this.delay)}else this.onScrollChange(t)},onResize:function(){var t=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){if(N.isVisible(t.element)){var n=t.isBoth(),r=t.isVertical(),i=t.isHorizontal(),o=[N.getWidth(t.element),N.getHeight(t.element)],s=o[0],l=o[1],a=s!==t.defaultWidth,c=l!==t.defaultHeight,u=n?a||c:i?a:r?c:!1;u&&(t.d_numToleratedItems=t.numToleratedItems,t.defaultWidth=s,t.defaultHeight=l,t.defaultContentWidth=N.getWidth(t.content),t.defaultContentHeight=N.getHeight(t.content),t.init())}},this.resizeDelay)},bindResizeListener:function(){this.resizeListener||(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener),window.addEventListener("orientationchange",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("orientationchange",this.resizeListener),this.resizeListener=null)},getOptions:function(t){var n=(this.items||[]).length,r=this.isBoth()?this.first.rows+t:this.first+t;return{index:r,count:n,first:r===0,last:r===n-1,even:r%2===0,odd:r%2!==0}},getLoaderOptions:function(t,n){var r=this.loaderArr.length;return Lr({index:t,count:r,first:t===0,last:t===r-1,even:t%2===0,odd:t%2!==0},n)},getPageByFirst:function(t){return Math.floor(((t??this.first)+this.d_numToleratedItems*4)/(this.step||1))},isPageChanged:function(t){return this.step?this.page!==this.getPageByFirst(t??this.first):!0},setContentEl:function(t){this.content=t||this.content||N.findSingle(this.element,'[data-pc-section="content"]')},elementRef:function(t){this.element=t},contentRef:function(t){this.content=t}},computed:{containerClass:function(){return["p-virtualscroller",this.class,{"p-virtualscroller-inline":this.inline,"p-virtualscroller-both p-both-scroll":this.isBoth(),"p-virtualscroller-horizontal p-horizontal-scroll":this.isHorizontal()}]},contentClass:function(){return["p-virtualscroller-content",{"p-virtualscroller-loading":this.d_loading}]},loaderClass:function(){return["p-virtualscroller-loader",{"p-component-overlay":!this.$slots.loader}]},loadedItems:function(){var t=this;return this.items&&!this.d_loading?this.isBoth()?this.items.slice(this.appendOnly?0:this.first.rows,this.last.rows).map(function(n){return t.columns?n:n.slice(t.appendOnly?0:t.first.cols,t.last.cols)}):this.isHorizontal()&&this.columns?this.items:this.items.slice(this.appendOnly?0:this.first,this.last):[]},loadedRows:function(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns:function(){if(this.columns){var t=this.isBoth(),n=this.isHorizontal();if(t||n)return this.d_loading&&this.loaderDisabled?t?this.loaderArr[0]:this.loaderArr:this.columns.slice(t?this.first.cols:this.first,t?this.last.cols:this.last)}return this.columns}},components:{SpinnerIcon:Pi}},yb=["tabindex"];function vb(e,t,n,r,i,o){var s=gt("SpinnerIcon");return e.disabled?(E(),F(ae,{key:1},[oe(e.$slots,"default"),oe(e.$slots,"content",{items:e.items,rows:e.items,columns:o.loadedColumns})],64)):(E(),F("div",L({key:0,ref:o.elementRef,class:o.containerClass,tabindex:e.tabindex,style:e.style,onScroll:t[0]||(t[0]=function(){return o.onScroll&&o.onScroll.apply(o,arguments)})},e.ptm("root"),{"data-pc-name":"virtualscroller"}),[oe(e.$slots,"content",{styleClass:o.contentClass,items:o.loadedItems,getItemOptions:o.getOptions,loading:i.d_loading,getLoaderOptions:o.getLoaderOptions,itemSize:e.itemSize,rows:o.loadedRows,columns:o.loadedColumns,contentRef:o.contentRef,spacerStyle:i.spacerStyle,contentStyle:i.contentStyle,vertical:o.isVertical(),horizontal:o.isHorizontal(),both:o.isBoth()},function(){return[M("div",L({ref:o.contentRef,class:o.contentClass,style:i.contentStyle},e.ptm("content")),[(E(!0),F(ae,null,qe(o.loadedItems,function(l,a){return oe(e.$slots,"item",{key:a,item:l,options:o.getOptions(a)})}),128))],16)]}),e.showSpacer?(E(),F("div",L({key:0,class:"p-virtualscroller-spacer",style:i.spacerStyle},e.ptm("spacer")),null,16)):me("",!0),!e.loaderDisabled&&e.showLoader&&i.d_loading?(E(),F("div",L({key:1,class:o.loaderClass},e.ptm("loader")),[e.$slots&&e.$slots.loader?(E(!0),F(ae,{key:0},qe(i.loaderArr,function(l,a){return oe(e.$slots,"loader",{key:a,options:o.getLoaderOptions(a,o.isBoth()&&{numCols:e.d_numItemsInViewport.cols})})}),128)):me("",!0),oe(e.$slots,"loadingicon",{},function(){return[ie(s,L({spin:"",class:"p-virtualscroller-loading-icon"},e.ptm("loadingIcon")),null,16)]})],16)):me("",!0)],16,yb))}ka.render=vb;var bb=` @layer primevue { .p-dropdown { display: inline-flex; @@ -670,7 +670,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho } } `,xb={root:function(t){var n=t.instance,r=t.props,i=t.state;return["p-dropdown p-component p-inputwrapper",{"p-disabled":r.disabled,"p-dropdown-clearable":r.showClear&&!r.disabled,"p-focus":i.focused,"p-inputwrapper-filled":n.hasSelectedOption,"p-inputwrapper-focus":i.focused||i.overlayVisible,"p-overlay-open":i.overlayVisible}]},input:function(t){var n=t.instance,r=t.props;return["p-dropdown-label p-inputtext",{"p-placeholder":!r.editable&&n.label===r.placeholder,"p-dropdown-label-empty":!r.editable&&!n.$slots.value&&(n.label==="p-emptylabel"||n.label.length===0)}]},clearIcon:"p-dropdown-clear-icon",trigger:"p-dropdown-trigger",loadingicon:"p-dropdown-trigger-icon",dropdownIcon:"p-dropdown-trigger-icon",panel:function(t){var n=t.instance;return["p-dropdown-panel p-component",{"p-input-filled":n.$primevue.config.inputStyle==="filled","p-ripple-disabled":n.$primevue.config.ripple===!1}]},header:"p-dropdown-header",filterContainer:"p-dropdown-filter-container",filterInput:"p-dropdown-filter p-inputtext p-component",filterIcon:"p-dropdown-filter-icon",wrapper:"p-dropdown-items-wrapper",list:"p-dropdown-items",itemGroup:"p-dropdown-item-group",item:function(t){var n=t.instance,r=t.state,i=t.option,o=t.focusedOption;return["p-dropdown-item",{"p-highlight":n.isSelected(i),"p-focus":r.focusedOptionIndex===o,"p-disabled":n.isOptionDisabled(i)}]},emptyMessage:"p-dropdown-empty-message"},wb=ht.extend({name:"dropdown",css:bb,classes:xb}),_b={name:"BaseDropdown",extends:Yt,props:{modelValue:null,options:Array,optionLabel:[String,Function],optionValue:[String,Function],optionDisabled:[String,Function],optionGroupLabel:[String,Function],optionGroupChildren:[String,Function],scrollHeight:{type:String,default:"200px"},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},editable:Boolean,placeholder:{type:String,default:null},disabled:{type:Boolean,default:!1},dataKey:null,showClear:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},panelClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},panelProps:{type:null,default:null},filterInputProps:{type:null,default:null},clearIconProps:{type:null,default:null},appendTo:{type:String,default:"body"},loading:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},resetFilterOnHide:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!0},autoFilterFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:wb,provide:function(){return{$parentInstance:this}}};function yi(e){"@babel/helpers - typeof";return yi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yi(e)}function Ob(e){return Tb(e)||Cb(e)||Ib(e)||Sb()}function Sb(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ib(e,t){if(e){if(typeof e=="string")return wl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wl(e,t)}}function Cb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tb(e){if(Array.isArray(e))return wl(e)}function wl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:!0,i=this.getOptionValue(n);this.updateModel(t,i),r&&this.hide(!0)},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){lr.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onDeleteKey:function(t){this.showClear&&(this.updateModel(t,null),t.preventDefault())},onArrowDownKey:function(t){var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n?(t.currentTarget.setSelectionRange(0,0),this.focusedOptionIndex=-1):(this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show()),t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget,i=r.value.length;r.setSelectionRange(i,i),this.focusedOptionIndex=-1}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.hide()):this.onArrowDownKey(t),t.preventDefault()},onSpaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!n&&this.onEnterKey(t)},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?(N.focus(this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&!this.overlayVisible&&this.show()},onOverlayEnter:function(t){rn.set("overlay",t,this.$primevue.config.zIndex.overlay),N.addStyles(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&N.focus(this.$refs.filterInput)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){rn.clear(t)},alignOverlay:function(){this.appendTo==="self"?N.relativePosition(this.overlay,this.$el):(this.overlay.style.minWidth=N.getOuterWidth(this.$el)+"px",N.absolutePosition(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.overlay&&!t.$el.contains(n.target)&&!t.overlay.contains(n.target)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Ca(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!N.isTouchDevice()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},hasFocusableElements:function(){return N.getFocusableElements(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption:function(t){return U.isNotEmpty(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){return this.isValidOption(t)&&U.equals(this.modelValue,this.getOptionValue(t),this.equalityKey)},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return U.findLastIndex(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidOption(i)}):-1;return r>-1?r:t},findSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findFirstFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t,n){var r=this;this.searchValue=(this.searchValue||"")+n;var i=-1,o=!1;return this.focusedOptionIndex!==-1?(i=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(s){return r.isOptionMatched(s)}),i=i===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(s){return r.isOptionMatched(s)}):i+this.focusedOptionIndex):i=this.visibleOptions.findIndex(function(s){return r.isOptionMatched(s)}),i!==-1&&(o=!0),i===-1&&this.focusedOptionIndex===-1&&(i=this.findFirstFocusedOptionIndex()),i!==-1&&this.changeFocusedOptionIndex(t,i),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue="",r.searchTimeout=null},500),o},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(t,this.visibleOptions[n],!1))},scrollInView:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,r=n!==-1?"".concat(this.id,"_").concat(n):this.focusedOptionId,i=N.findSingle(this.list,'li[id="'.concat(r,'"]'));i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"start"}):this.virtualScrollerDisabled||setTimeout(function(){t.virtualScroller&&t.virtualScroller.scrollToIndex(n!==-1?n:t.focusedOptionIndex)},0)},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(t,n){this.$emit("update:modelValue",n),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,i,o){r.push({optionGroup:i,group:!0,index:o});var s=n.getOptionGroupChildren(i);return s&&s.forEach(function(l){return r.push(l)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Wp.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var i=this.options||[],o=[];return i.forEach(function(s){var l=t.getOptionGroupChildren(s),a=l.filter(function(c){return r.includes(c)});a.length>0&&o.push(Qu(Qu({},s),{},qp({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",Ob(a))))}),this.flatOptions(o)}return r}return n},hasSelectedOption:function(){return U.isNotEmpty(this.modelValue)},label:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.modelValue||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return U.isNotEmpty(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:qn},components:{VirtualScroller:Aa,Portal:es,TimesIcon:Jo,ChevronDownIcon:Ma,SpinnerIcon:Pi,FilterIcon:Gp}};function vi(e){"@babel/helpers - typeof";return vi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vi(e)}function Ju(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Vt(e){for(var t=1;t{const r=Jt(n.gt_workspace.id)===e,i=Jt(n.ocr_workflow.id)===t;return r&&(t?i:!0)})},getLatestRuns(){const e=Object.keys(this.runs.reduce((t,n)=>(t[ef(n.metadata.timestamp)]=null,t),{}));return this.runs.filter(({metadata:t})=>ef(t.timestamp)===e[e.length-1])},getGtById(e){return this.gt.find(t=>t.id===e)??null},getWorkflowById(e){return this.workflows.find(t=>t.id===e)??null}}),_n=an({gt:[],metric:[]}),ja=e=>(oa("data-v-beb52bf8"),e=e(),sa(),e),Vb={class:"flex items-center positive"},Hb=ja(()=>M("i",{class:"w-3 h-3 mr-1"},null,-1)),Bb={class:"flex items-center neutral"},Ub=ja(()=>M("i",{class:"w-3 h-3 mr-1"},null,-1)),Kb={class:"flex items-center negative"},Wb=ja(()=>M("i",{class:"w-3 h-3 mr-1"},null,-1)),Gb=dt({__name:"TrendLegend",props:{showTextColors:{type:Boolean,default:!0}},setup(e){return(t,n)=>(E(),F("div",{class:Ae(["flex space-x-3 text-sm text-gray-600",{"text-colors":t.showTextColors}])},[M("div",Vb,[Hb,M("span",null,ne(t.$t("better")),1)]),M("div",Bb,[Ub,M("span",null,ne(t.$t("equal")),1)]),M("div",Kb,[Wb,M("span",null,ne(t.$t("worse")),1)])],2))}});const Mn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Zp=Mn(Gb,[["__scopeId","data-v-beb52bf8"]]),Yb={key:0,class:"flex flex-col"},qb={class:"flex items-center mb-4 ml-auto"},Zb={class:"mr-2"},Xb={key:1,class:"w-full border border-collapse rounded text-sm"},Qb={class:"p-2 border"},Jb={class:"p-2 border"},ex={class:"def-label flex items-center justify-center cursor-pointer"},tx={class:"def-tooltip"},nx={class:"flex p-2 bg-white border rounded"},rx=["href"],ix=["rowspan"],ox={class:"font-bold"},sx={class:"align-top pl-2 border"},lx={key:2},ax=dt({__name:"WorkflowsTable",setup(e){const{t}=En(),n=fe({}),r=fe([]),i=fe([{value:"documents",label:t("documents")},{value:"workflows",label:t("workflows")}]),o=fe(i.value[0]),s=fe([]),l=fe([]),a=fe([]),c=fe(!1);pt(async()=>{c.value=!0,s.value=ze.getLatestRuns(),a.value=await hr.getEvalDefinitions(),u(),f(o.value.value),c.value=!1}),Ze(()=>_n.gt,()=>{u(),f(o.value.value)}),Ze(o,()=>{f(o.value.value)});function u(){l.value=s.value.filter(({metadata:h})=>_n.gt.findIndex(({value:m})=>m===Jt(h.gt_workspace.id))>-1)}function f(h){h==="workflows"?d():h==="documents"&&p()}const d=()=>{n.value=l.value.filter(h=>!!h.metadata.ocr_workflow).reduce((h,m)=>{var _,w;const v=Jt(m.metadata.ocr_workflow.id),y=(_=ze.getWorkflowById(v))==null?void 0:_.label;r.value=Object.keys(m.evaluation_results.document_wide);const b={label:(w=ze.getGtById(Jt(m.metadata.gt_workspace.id)))==null?void 0:w.label,evaluations:Object.keys(m.evaluation_results.document_wide).map(S=>({name:S,value:m.evaluation_results.document_wide[S]}))};return h[v]?(h[v].subjects.push(b),h[v].subjects.sort((S,I)=>S.label>I.label?1:-1)):h[v]={label:y,subjects:[b]},h},{})},p=()=>{n.value=l.value.filter(h=>!!h.metadata.gt_workspace).reduce((h,m)=>{var _,w;const v=Jt(m.metadata.gt_workspace.id),y=(_=ze.getGtById(v))==null?void 0:_.label;r.value=Object.keys(m.evaluation_results.document_wide);const b={label:(w=ze.getWorkflowById(Jt(m.metadata.ocr_workflow.id)))==null?void 0:w.label,evaluations:Object.keys(m.evaluation_results.document_wide).map(S=>({name:S,value:m.evaluation_results.document_wide[S]}))};return h[v]?(h[v].subjects.push(b),h[v].subjects.sort((S,I)=>S.label>I.label?1:-1)):h[v]={label:y,subjects:[b]},h},{})};return(h,m)=>{const v=gt("i-icon");return c.value?(E(),F(ae,{key:0},[Je(" Loading... ")],64)):(E(),F(ae,{key:1},[r.value.length>0?(E(),F("div",Yb,[M("div",qb,[M("p",Zb,ne(h.$t("group_by"))+":",1),ie(Ie(ka),{modelValue:o.value,"onUpdate:modelValue":m[0]||(m[0]=y=>o.value=y),options:i.value,optionLabel:"label",placeholder:"Choose something..",class:""},null,8,["modelValue","options"])]),ie(Zp,{"show-text-colors":!1,class:"ml-auto mb-4"})])):me("",!0),r.value.length>0?(E(),F("table",Xb,[M("thead",null,[M("tr",null,[M("th",Qb,ne(o.value.value==="documents"?h.$t("documents"):h.$t("workflows")),1),M("th",Jb,ne(o.value.value==="documents"?h.$t("workflows"):h.$t("documents")),1),(E(!0),F(ae,null,qe(r.value,(y,b)=>(E(),F("th",{key:b,class:"p-2 border"},[M("span",ex,[Je(ne(a.value[y]?a.value[y].label:y)+" ",1),ie(v,{name:"ink-info"}),M("div",tx,[M("div",nx,[Je(ne(a.value[y]?a.value[y].short_descr:h.$t("no_description"))+". ",1),a.value[y]?(E(),F("a",{key:0,href:a.value[y].url},ne(h.$t("details")),9,rx)):me("",!0)])])])]))),128))])]),M("tbody",null,[(E(!0),F(ae,null,qe(Object.keys(n.value),(y,b)=>(E(),F(ae,{key:b},[(E(!0),F(ae,null,qe(n.value[y].subjects,(_,w)=>(E(),F("tr",{key:w},[w===0?(E(),F("td",{key:0,rowspan:n.value[y].subjects.length,class:"align-top pl-2 border w-1/3"},[M("span",ox,ne(n.value[y].label),1)],8,ix)):me("",!0),M("td",sx,ne(_.label),1),(E(!0),F(ae,null,qe(_.evaluations,({name:S,value:I},j)=>(E(),F("td",{key:j,class:Ae(["text-center pt-1 border",w===n.value[y].subjects.length-1?"pb-5":"pb-1"])},[M("span",{class:Ae(["metric inline-block cursor-pointer text-sm leading-none p-1 rounded-lg min-w-[48px]",Ie(Hv)(S,I)])},ne(Ie(Kp)(S,I)),3)],2))),128))]))),128))],64))),128))])])):(E(),F("div",lx,ne(h.$t("no_table_data")),1))],64))}}});const cx=Mn(ax,[["__scopeId","data-v-8496acca"]]);var Xp={name:"CheckIcon",extends:un},ux=M("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1),fx=[ux];function dx(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),fx,16)}Xp.render=dx;var Qp={name:"SearchIcon",extends:un,computed:{pathId:function(){return"pv_icon_clip_".concat(Dt())}}},px=["clipPath"],hx=M("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z",fill:"currentColor"},null,-1),mx=[hx],gx=["id"],yx=M("rect",{width:"14",height:"14",fill:"white"},null,-1),vx=[yx];function bx(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[M("g",{clipPath:"url(#".concat(o.pathId,")")},mx,8,px),M("defs",null,[M("clipPath",{id:"".concat(o.pathId)},vx,8,gx)])],16)}Qp.render=bx;var Jp={name:"TimesCircleIcon",extends:un,computed:{pathId:function(){return"pv_icon_clip_".concat(Dt())}}},xx=["clipPath"],wx=M("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z",fill:"currentColor"},null,-1),_x=[wx],Ox=["id"],Sx=M("rect",{width:"14",height:"14",fill:"white"},null,-1),Ix=[Sx];function Cx(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[M("g",{clipPath:"url(#".concat(o.pathId,")")},_x,8,xx),M("defs",null,[M("clipPath",{id:"".concat(o.pathId)},Ix,8,Ox)])],16)}Jp.render=Cx;var Tx=` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ib(e,t){if(e){if(typeof e=="string")return _l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _l(e,t)}}function Cb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tb(e){if(Array.isArray(e))return _l(e)}function _l(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:!0,i=this.getOptionValue(n);this.updateModel(t,i),r&&this.hide(!0)},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){lr.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onDeleteKey:function(t){this.showClear&&(this.updateModel(t,null),t.preventDefault())},onArrowDownKey:function(t){var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n?(t.currentTarget.setSelectionRange(0,0),this.focusedOptionIndex=-1):(this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show()),t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget,i=r.value.length;r.setSelectionRange(i,i),this.focusedOptionIndex=-1}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.hide()):this.onArrowDownKey(t),t.preventDefault()},onSpaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!n&&this.onEnterKey(t)},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?(N.focus(this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&!this.overlayVisible&&this.show()},onOverlayEnter:function(t){rn.set("overlay",t,this.$primevue.config.zIndex.overlay),N.addStyles(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&N.focus(this.$refs.filterInput)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){rn.clear(t)},alignOverlay:function(){this.appendTo==="self"?N.relativePosition(this.overlay,this.$el):(this.overlay.style.minWidth=N.getOuterWidth(this.$el)+"px",N.absolutePosition(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.overlay&&!t.$el.contains(n.target)&&!t.overlay.contains(n.target)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Ta(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!N.isTouchDevice()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},hasFocusableElements:function(){return N.getFocusableElements(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption:function(t){return U.isNotEmpty(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){return this.isValidOption(t)&&U.equals(this.modelValue,this.getOptionValue(t),this.equalityKey)},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return U.findLastIndex(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidOption(i)}):-1;return r>-1?r:t},findSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findFirstFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t,n){var r=this;this.searchValue=(this.searchValue||"")+n;var i=-1,o=!1;return this.focusedOptionIndex!==-1?(i=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(s){return r.isOptionMatched(s)}),i=i===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(s){return r.isOptionMatched(s)}):i+this.focusedOptionIndex):i=this.visibleOptions.findIndex(function(s){return r.isOptionMatched(s)}),i!==-1&&(o=!0),i===-1&&this.focusedOptionIndex===-1&&(i=this.findFirstFocusedOptionIndex()),i!==-1&&this.changeFocusedOptionIndex(t,i),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue="",r.searchTimeout=null},500),o},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(t,this.visibleOptions[n],!1))},scrollInView:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,r=n!==-1?"".concat(this.id,"_").concat(n):this.focusedOptionId,i=N.findSingle(this.list,'li[id="'.concat(r,'"]'));i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"start"}):this.virtualScrollerDisabled||setTimeout(function(){t.virtualScroller&&t.virtualScroller.scrollToIndex(n!==-1?n:t.focusedOptionIndex)},0)},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(t,n){this.$emit("update:modelValue",n),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,i,o){r.push({optionGroup:i,group:!0,index:o});var s=n.getOptionGroupChildren(i);return s&&s.forEach(function(l){return r.push(l)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Wp.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var i=this.options||[],o=[];return i.forEach(function(s){var l=t.getOptionGroupChildren(s),a=l.filter(function(c){return r.includes(c)});a.length>0&&o.push(Ju(Ju({},s),{},qp({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",Ob(a))))}),this.flatOptions(o)}return r}return n},hasSelectedOption:function(){return U.isNotEmpty(this.modelValue)},label:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.modelValue||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return U.isNotEmpty(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:qn},components:{VirtualScroller:ka,Portal:ts,TimesIcon:es,ChevronDownIcon:Aa,SpinnerIcon:Pi,FilterIcon:Gp}};function vi(e){"@babel/helpers - typeof";return vi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vi(e)}function ef(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Vt(e){for(var t=1;t{const r=Jt(n.gt_workspace.id)===e,i=Jt(n.ocr_workflow.id)===t;return r&&(t?i:!0)})},getLatestRuns(){const e=Object.keys(this.runs.reduce((t,n)=>(t[tf(n.metadata.timestamp)]=null,t),{}));return this.runs.filter(({metadata:t})=>tf(t.timestamp)===e[e.length-1])},getGtById(e){return this.gt.find(t=>t.id===e)??null},getWorkflowById(e){return this.workflows.find(t=>t.id===e)??null}}),_n=an({gt:[],metric:[]}),Pa=e=>(sa("data-v-beb52bf8"),e=e(),la(),e),Vb={class:"flex items-center positive"},Hb=Pa(()=>M("i",{class:"w-3 h-3 mr-1"},null,-1)),Bb={class:"flex items-center neutral"},Ub=Pa(()=>M("i",{class:"w-3 h-3 mr-1"},null,-1)),Kb={class:"flex items-center negative"},Wb=Pa(()=>M("i",{class:"w-3 h-3 mr-1"},null,-1)),Gb=dt({__name:"TrendLegend",props:{showTextColors:{type:Boolean,default:!0}},setup(e){return(t,n)=>(E(),F("div",{class:Ae(["flex space-x-3 text-sm text-gray-600",{"text-colors":t.showTextColors}])},[M("div",Vb,[Hb,M("span",null,ne(t.$t("better")),1)]),M("div",Bb,[Ub,M("span",null,ne(t.$t("equal")),1)]),M("div",Kb,[Wb,M("span",null,ne(t.$t("worse")),1)])],2))}});const Mn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Zp=Mn(Gb,[["__scopeId","data-v-beb52bf8"]]),Yb={key:0,class:"flex flex-col"},qb={class:"flex items-center mb-4 ml-auto"},Zb={class:"mr-2"},Xb={key:1,class:"w-full border border-collapse rounded text-sm"},Qb={class:"p-2 border"},Jb={class:"p-2 border"},ex={class:"def-label flex items-center justify-center cursor-pointer"},tx={class:"def-tooltip"},nx={class:"flex p-2 bg-white border rounded"},rx=["href"],ix=["rowspan"],ox={class:"font-bold"},sx={class:"align-top pl-2 border"},lx={key:2},ax=dt({__name:"WorkflowsTable",setup(e){const{t}=En(),n=fe({}),r=fe([]),i=fe([{value:"documents",label:t("documents")},{value:"workflows",label:t("workflows")}]),o=fe(i.value[0]),s=fe([]),l=fe([]),a=fe([]),c=fe(!1);pt(async()=>{c.value=!0,s.value=ze.getLatestRuns(),a.value=await hr.getEvalDefinitions(),u(),f(o.value.value),c.value=!1}),Ze(()=>_n.gt,()=>{u(),f(o.value.value)}),Ze(o,()=>{f(o.value.value)});function u(){l.value=s.value.filter(({metadata:h})=>_n.gt.findIndex(({value:m})=>m===Jt(h.gt_workspace.id))>-1)}function f(h){h==="workflows"?d():h==="documents"&&p()}const d=()=>{n.value=l.value.filter(h=>!!h.metadata.ocr_workflow).reduce((h,m)=>{var _,w;const v=Jt(m.metadata.ocr_workflow.id),y=(_=ze.getWorkflowById(v))==null?void 0:_.label;r.value=Object.keys(m.evaluation_results.document_wide);const b={label:(w=ze.getGtById(Jt(m.metadata.gt_workspace.id)))==null?void 0:w.label,evaluations:Object.keys(m.evaluation_results.document_wide).map(S=>({name:S,value:m.evaluation_results.document_wide[S]}))};return h[v]?(h[v].subjects.push(b),h[v].subjects.sort((S,I)=>S.label>I.label?1:-1)):h[v]={label:y,subjects:[b]},h},{})},p=()=>{n.value=l.value.filter(h=>!!h.metadata.gt_workspace).reduce((h,m)=>{var _,w;const v=Jt(m.metadata.gt_workspace.id),y=(_=ze.getGtById(v))==null?void 0:_.label;r.value=Object.keys(m.evaluation_results.document_wide);const b={label:(w=ze.getWorkflowById(Jt(m.metadata.ocr_workflow.id)))==null?void 0:w.label,evaluations:Object.keys(m.evaluation_results.document_wide).map(S=>({name:S,value:m.evaluation_results.document_wide[S]}))};return h[v]?(h[v].subjects.push(b),h[v].subjects.sort((S,I)=>S.label>I.label?1:-1)):h[v]={label:y,subjects:[b]},h},{})};return(h,m)=>{const v=gt("i-icon");return c.value?(E(),F(ae,{key:0},[Je(" Loading... ")],64)):(E(),F(ae,{key:1},[r.value.length>0?(E(),F("div",Yb,[M("div",qb,[M("p",Zb,ne(h.$t("group_by"))+":",1),ie(Oe(ja),{modelValue:o.value,"onUpdate:modelValue":m[0]||(m[0]=y=>o.value=y),options:i.value,optionLabel:"label",placeholder:"Choose something..",class:""},null,8,["modelValue","options"])]),ie(Zp,{"show-text-colors":!1,class:"ml-auto mb-4"})])):me("",!0),r.value.length>0?(E(),F("table",Xb,[M("thead",null,[M("tr",null,[M("th",Qb,ne(o.value.value==="documents"?h.$t("documents"):h.$t("workflows")),1),M("th",Jb,ne(o.value.value==="documents"?h.$t("workflows"):h.$t("documents")),1),(E(!0),F(ae,null,qe(r.value,(y,b)=>(E(),F("th",{key:b,class:"p-2 border"},[M("span",ex,[Je(ne(a.value[y]?a.value[y].label:y)+" ",1),ie(v,{name:"ink-info"}),M("div",tx,[M("div",nx,[Je(ne(a.value[y]?a.value[y].short_descr:h.$t("no_description"))+". ",1),a.value[y]?(E(),F("a",{key:0,href:a.value[y].url},ne(h.$t("details")),9,rx)):me("",!0)])])])]))),128))])]),M("tbody",null,[(E(!0),F(ae,null,qe(Object.keys(n.value),(y,b)=>(E(),F(ae,{key:b},[(E(!0),F(ae,null,qe(n.value[y].subjects,(_,w)=>(E(),F("tr",{key:w},[w===0?(E(),F("td",{key:0,rowspan:n.value[y].subjects.length,class:"align-top pl-2 border w-1/3"},[M("span",ox,ne(n.value[y].label),1)],8,ix)):me("",!0),M("td",sx,ne(_.label),1),(E(!0),F(ae,null,qe(_.evaluations,({name:S,value:I},j)=>(E(),F("td",{key:j,class:Ae(["text-center pt-1 border",w===n.value[y].subjects.length-1?"pb-5":"pb-1"])},[M("span",{class:Ae(["metric inline-block cursor-pointer text-sm leading-none p-1 rounded-lg min-w-[48px]",Oe(Hv)(S,I)])},ne(Oe(Kp)(S,I)),3)],2))),128))]))),128))],64))),128))])])):(E(),F("div",lx,ne(h.$t("no_table_data")),1))],64))}}});const cx=Mn(ax,[["__scopeId","data-v-8496acca"]]);var Xp={name:"CheckIcon",extends:un},ux=M("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1),fx=[ux];function dx(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),fx,16)}Xp.render=dx;var Qp={name:"SearchIcon",extends:un,computed:{pathId:function(){return"pv_icon_clip_".concat(Dt())}}},px=["clipPath"],hx=M("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z",fill:"currentColor"},null,-1),mx=[hx],gx=["id"],yx=M("rect",{width:"14",height:"14",fill:"white"},null,-1),vx=[yx];function bx(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[M("g",{clipPath:"url(#".concat(o.pathId,")")},mx,8,px),M("defs",null,[M("clipPath",{id:"".concat(o.pathId)},vx,8,gx)])],16)}Qp.render=bx;var Jp={name:"TimesCircleIcon",extends:un,computed:{pathId:function(){return"pv_icon_clip_".concat(Dt())}}},xx=["clipPath"],wx=M("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z",fill:"currentColor"},null,-1),_x=[wx],Ox=["id"],Sx=M("rect",{width:"14",height:"14",fill:"white"},null,-1),Ix=[Sx];function Cx(e,t,n,r,i,o){return E(),F("svg",L({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[M("g",{clipPath:"url(#".concat(o.pathId,")")},_x,8,xx),M("defs",null,[M("clipPath",{id:"".concat(o.pathId)},Ix,8,Ox)])],16)}Jp.render=Cx;var Tx=` @layer primevue { .p-multiselect { display: inline-flex; @@ -778,10 +778,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho display: flex; } } -`,Ex={root:function(t){var n=t.props;return{position:n.appendTo==="self"?"relative":void 0}}},Mx={root:function(t){var n=t.instance,r=t.props;return["p-multiselect p-component p-inputwrapper",{"p-multiselect-chip":r.display==="chip","p-disabled":r.disabled,"p-focus":n.focused,"p-inputwrapper-filled":r.modelValue&&r.modelValue.length,"p-inputwrapper-focus":n.focused||n.overlayVisible,"p-overlay-open":n.overlayVisible}]},labelContainer:"p-multiselect-label-container",label:function(t){var n=t.instance,r=t.props;return["p-multiselect-label",{"p-placeholder":n.label===r.placeholder,"p-multiselect-label-empty":!r.placeholder&&(!r.modelValue||r.modelValue.length===0)}]},token:"p-multiselect-token",tokenLabel:"p-multiselect-token-label",removeTokenIcon:"p-multiselect-token-icon",trigger:"p-multiselect-trigger",loadingIcon:"p-multiselect-trigger-icon",dropdownIcon:"p-multiselect-trigger-icon",panel:function(t){var n=t.instance;return["p-multiselect-panel p-component",{"p-input-filled":n.$primevue.config.inputStyle==="filled","p-ripple-disabled":n.$primevue.config.ripple===!1}]},header:"p-multiselect-header",headerCheckboxContainer:function(t){var n=t.instance;return["p-checkbox p-component",{"p-checkbox-checked":n.allSelected,"p-checkbox-focused":n.headerCheckboxFocused}]},headerCheckbox:function(t){var n=t.instance;return["p-checkbox-box",{"p-highlight":n.allSelected,"p-focus":n.headerCheckboxFocused}]},headerCheckboxIcon:"p-checkbox-icon",filterContainer:"p-multiselect-filter-container",filterInput:"p-multiselect-filter p-inputtext p-component",filterIcon:"p-multiselect-filter-icon",closeButton:"p-multiselect-close p-link",closeIcon:"p-multiselect-close-icon",wrapper:"p-multiselect-items-wrapper",list:"p-multiselect-items p-component",itemGroup:"p-multiselect-item-group",item:function(t){var n=t.instance,r=t.option,i=t.index,o=t.getItemOptions;return["p-multiselect-item",{"p-highlight":n.isSelected(r),"p-focus":n.focusedOptionIndex===n.getOptionIndex(i,o),"p-disabled":n.isOptionDisabled(r)}]},checkboxContainer:"p-checkbox p-component",checkbox:function(t){var n=t.instance,r=t.option;return["p-checkbox-box",{"p-highlight":n.isSelected(r)}]},checkboxIcon:"p-checkbox-icon",emptyMessage:"p-multiselect-empty-message"},Ax=ht.extend({name:"multiselect",css:Tx,classes:Mx,inlineStyles:Ex}),kx={name:"BaseMultiSelect",extends:Yt,props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,optionGroupLabel:null,optionGroupChildren:null,scrollHeight:{type:String,default:"200px"},placeholder:String,disabled:Boolean,inputId:{type:String,default:null},inputProps:{type:null,default:null},panelClass:{type:String,default:null},panelStyle:{type:null,default:null},panelProps:{type:null,default:null},filterInputProps:{type:null,default:null},closeButtonProps:{type:null,default:null},dataKey:null,filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},appendTo:{type:String,default:"body"},display:{type:String,default:"comma"},selectedItemsLabel:{type:String,default:"{0} items selected"},maxSelectedLabels:{type:Number,default:null},selectionLimit:{type:Number,default:null},showToggleAll:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},checkboxIcon:{type:String,default:void 0},closeIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},removeTokenIcon:{type:String,default:void 0},selectAll:{type:Boolean,default:null},resetFilterOnHide:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!0},autoFilterFocus:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:Ax,provide:function(){return{$parentInstance:this}}};function bi(e){"@babel/helpers - typeof";return bi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bi(e)}function tf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nf(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:-1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!(this.disabled||this.isOptionDisabled(n))){var s=this.isSelected(n),l=null;s?l=this.modelValue.filter(function(a){return!U.equals(a,r.getOptionValue(n),r.equalityKey)}):l=[].concat(rf(this.modelValue||[]),[this.getOptionValue(n)]),this.updateModel(t,l),i!==-1&&(this.focusedOptionIndex=i),o&&N.focus(this.$refs.focusInput)}},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onOptionSelectRange:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-1;if(r===-1&&(r=this.findNearestSelectedOptionIndex(i,!0)),i===-1&&(i=this.findNearestSelectedOptionIndex(r)),r!==-1&&i!==-1){var o=Math.min(r,i),s=Math.max(r,i),l=this.visibleOptions.slice(o,s+1).filter(function(a){return n.isValidOption(a)}).map(function(a){return n.getOptionValue(a)});this.updateModel(t,l)}},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){lr.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onArrowDownKey:function(t){var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.findFirstFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,this.startRangeIndex,n),this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.findLastFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,r,this.startRangeIndex),this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.currentTarget;if(n){var i=r.value.length;r.setSelectionRange(0,t.shiftKey?i:0),this.focusedOptionIndex=-1}else{var o=t.metaKey||t.ctrlKey,s=this.findFirstOptionIndex();t.shiftKey&&o&&this.onOptionSelectRange(t,s,this.startRangeIndex),this.changeFocusedOptionIndex(t,s),!this.overlayVisible&&this.show()}t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.currentTarget;if(n){var i=r.value.length;r.setSelectionRange(t.shiftKey?0:i,i),this.focusedOptionIndex=-1}else{var o=t.metaKey||t.ctrlKey,s=this.findLastOptionIndex();t.shiftKey&&o&&this.onOptionSelectRange(t,this.startRangeIndex,s),this.changeFocusedOptionIndex(t,s),!this.overlayVisible&&this.show()}t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?this.focusedOptionIndex!==-1&&(t.shiftKey?this.onOptionSelectRange(t,this.focusedOptionIndex):this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex])):this.onArrowDownKey(t),t.preventDefault()},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?(N.focus(t.shiftKey?this.$refs.lastHiddenFocusableElementOnOverlay:this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onShiftKey:function(){this.startRangeIndex=this.focusedOptionIndex},onOverlayEnter:function(t){rn.set("overlay",t,this.$primevue.config.zIndex.overlay),N.addStyles(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&N.focus(this.$refs.filterInput)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){rn.clear(t)},alignOverlay:function(){this.appendTo==="self"?N.relativePosition(this.overlay,this.$el):(this.overlay.style.minWidth=N.getOuterWidth(this.$el)+"px",N.absolutePosition(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.isOutsideClicked(n)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Ca(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!N.isTouchDevice()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},isOutsideClicked:function(t){return!(this.$el.isSameNode(t.target)||this.$el.contains(t.target)||this.overlay&&this.overlay.contains(t.target))},getLabelByValue:function(t){var n=this,r=this.optionGroupLabel?this.flatOptions(this.options):this.options||[],i=r.find(function(o){return!n.isOptionGroup(o)&&U.equals(n.getOptionValue(o),t,n.equalityKey)});return i?this.getOptionLabel(i):null},getSelectedItemsLabel:function(){var t=/{(.*?)}/,n=this.selectedItemsLabel||this.$primevue.config.locale.selectionMessage;return t.test(n)?n.replace(n.match(t)[0],this.modelValue.length+""):n},onToggleAll:function(t){var n=this;if(this.selectAll!==null)this.$emit("selectall-change",{originalEvent:t,checked:!this.allSelected});else{var r=this.allSelected?[]:this.visibleOptions.filter(function(i){return n.isValidOption(i)}).map(function(i){return n.getOptionValue(i)});this.updateModel(t,r)}this.headerCheckboxFocused=!0},removeOption:function(t,n){var r=this,i=this.modelValue.filter(function(o){return!U.equals(o,n,r.equalityKey)});this.updateModel(t,i)},clearFilter:function(){this.filterValue=null},hasFocusableElements:function(){return N.getFocusableElements(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption:function(t){return U.isNotEmpty(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){var n=this,r=this.getOptionValue(t);return(this.modelValue||[]).some(function(i){return U.equals(i,r,n.equalityKey)})},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return U.findLastIndex(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidOption(i)}):-1;return r>-1?r:t},findFirstSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findLastSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?U.findLastIndex(this.visibleOptions,function(n){return t.isValidSelectedOption(n)}):-1},findNextSelectedOptionIndex:function(t){var n=this,r=this.hasSelectedOption&&t-1?r+t+1:-1},findPrevSelectedOptionIndex:function(t){var n=this,r=this.hasSelectedOption&&t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidSelectedOption(i)}):-1;return r>-1?r:-1},findNearestSelectedOptionIndex:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=-1;return this.hasSelectedOption&&(n?(r=this.findPrevSelectedOptionIndex(t),r=r===-1?this.findNextSelectedOptionIndex(t):r):(r=this.findNextSelectedOptionIndex(t),r=r===-1?this.findPrevSelectedOptionIndex(t):r)),r>-1?r:t},findFirstFocusedOptionIndex:function(){var t=this.findFirstSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findLastSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t){var n=this;this.searchValue=(this.searchValue||"")+t.key;var r=-1;this.focusedOptionIndex!==-1?(r=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(i){return n.isOptionMatched(i)}),r=r===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(i){return n.isOptionMatched(i)}):r+this.focusedOptionIndex):r=this.visibleOptions.findIndex(function(i){return n.isOptionMatched(i)}),r===-1&&this.focusedOptionIndex===-1&&(r=this.findFirstFocusedOptionIndex()),r!==-1&&this.changeFocusedOptionIndex(t,r),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){n.searchValue="",n.searchTimeout=null},500)},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView())},scrollInView:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,n=t!==-1?"".concat(this.id,"_").concat(t):this.focusedOptionId,r=N.findSingle(this.list,'li[id="'.concat(n,'"]'));r?r.scrollIntoView&&r.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||this.virtualScroller&&this.virtualScroller.scrollToIndex(t!==-1?t:this.focusedOptionIndex)},autoUpdateModel:function(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption){this.focusedOptionIndex=this.findFirstFocusedOptionIndex();var t=this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);this.updateModel(null,[t])}},updateModel:function(t,n){this.$emit("update:modelValue",n),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,i,o){r.push({optionGroup:i,group:!0,index:o});var s=n.getOptionGroupChildren(i);return s&&s.forEach(function(l){return r.push(l)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Wp.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var i=this.options||[],o=[];return i.forEach(function(s){var l=t.getOptionGroupChildren(s),a=l.filter(function(c){return r.includes(c)});a.length>0&&o.push(nf(nf({},s),{},eh({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",rf(a))))}),this.flatOptions(o)}return r}return n},label:function(){var t;if(this.modelValue&&this.modelValue.length){if(U.isNotEmpty(this.maxSelectedLabels)&&this.modelValue.length>this.maxSelectedLabels)return this.getSelectedItemsLabel();t="";for(var n=0;nthis.maxSelectedLabels?this.modelValue.slice(0,this.maxSelectedLabels):this.modelValue},allSelected:function(){var t=this;return this.selectAll!==null?this.selectAll:U.isNotEmpty(this.visibleOptions)&&this.visibleOptions.every(function(n){return t.isOptionGroup(n)||t.isOptionDisabled(n)||t.isSelected(n)})},hasSelectedOption:function(){return U.isNotEmpty(this.modelValue)},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},maxSelectionLimitReached:function(){return this.selectionLimit&&this.modelValue&&this.modelValue.length===this.selectionLimit},filterResultMessageText:function(){return U.isNotEmpty(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}",this.modelValue.length):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},toggleAllAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[this.allSelected?"selectAll":"unselectAll"]:void 0},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:qn},components:{VirtualScroller:Aa,Portal:es,TimesIcon:Jo,SearchIcon:Qp,TimesCircleIcon:Jp,ChevronDownIcon:Ma,SpinnerIcon:Pi,CheckIcon:Xp}};function xi(e){"@babel/helpers - typeof";return xi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xi(e)}function of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mn(e){for(var t=1;tze.gt.map(({id:n,label:r})=>({value:n,label:r})));return pt(()=>{_n.gt=t.value}),(n,r)=>(E(),F("div",qx,[M("span",Zx,ne(n.$t("documents"))+" ("+ne(n.$t("ground_truth"))+"):",1),ie(Ie(th),{"model-value":Ie(_n).gt,"onUpdate:modelValue":r[0]||(r[0]=i=>Ie(_n).gt=i),options:t.value,optionLabel:"label",placeholder:"Select Ground Truth","panel-class":"max-w-[500px]","max-selected-labels":"1",filter:"",class:"relative flex-1"},{option:He(({option:i})=>[M("span",Xx,ne(i.label),1)]),_:1},8,["model-value","options"])]))}});var Jx={root:function(t){var n=t.props;return["p-selectbutton p-buttonset p-component",{"p-disabled":n.disabled}]},button:function(t){var n=t.instance,r=t.option;return["p-button p-component",{"p-highlight":n.isSelected(r),"p-disabled":n.isOptionDisabled(r)}]},label:"p-button-label"},ew=ht.extend({name:"selectbutton",classes:Jx}),tw={name:"BaseSelectButton",extends:Yt,props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,multiple:Boolean,unselectable:{type:Boolean,default:!0},allowEmpty:{type:Boolean,default:!0},disabled:Boolean,dataKey:null,ariaLabelledby:{type:String,default:null}},style:ew,provide:function(){return{$parentInstance:this}}};function nw(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=nh(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +`,Ex={root:function(t){var n=t.props;return{position:n.appendTo==="self"?"relative":void 0}}},Mx={root:function(t){var n=t.instance,r=t.props;return["p-multiselect p-component p-inputwrapper",{"p-multiselect-chip":r.display==="chip","p-disabled":r.disabled,"p-focus":n.focused,"p-inputwrapper-filled":r.modelValue&&r.modelValue.length,"p-inputwrapper-focus":n.focused||n.overlayVisible,"p-overlay-open":n.overlayVisible}]},labelContainer:"p-multiselect-label-container",label:function(t){var n=t.instance,r=t.props;return["p-multiselect-label",{"p-placeholder":n.label===r.placeholder,"p-multiselect-label-empty":!r.placeholder&&(!r.modelValue||r.modelValue.length===0)}]},token:"p-multiselect-token",tokenLabel:"p-multiselect-token-label",removeTokenIcon:"p-multiselect-token-icon",trigger:"p-multiselect-trigger",loadingIcon:"p-multiselect-trigger-icon",dropdownIcon:"p-multiselect-trigger-icon",panel:function(t){var n=t.instance;return["p-multiselect-panel p-component",{"p-input-filled":n.$primevue.config.inputStyle==="filled","p-ripple-disabled":n.$primevue.config.ripple===!1}]},header:"p-multiselect-header",headerCheckboxContainer:function(t){var n=t.instance;return["p-checkbox p-component",{"p-checkbox-checked":n.allSelected,"p-checkbox-focused":n.headerCheckboxFocused}]},headerCheckbox:function(t){var n=t.instance;return["p-checkbox-box",{"p-highlight":n.allSelected,"p-focus":n.headerCheckboxFocused}]},headerCheckboxIcon:"p-checkbox-icon",filterContainer:"p-multiselect-filter-container",filterInput:"p-multiselect-filter p-inputtext p-component",filterIcon:"p-multiselect-filter-icon",closeButton:"p-multiselect-close p-link",closeIcon:"p-multiselect-close-icon",wrapper:"p-multiselect-items-wrapper",list:"p-multiselect-items p-component",itemGroup:"p-multiselect-item-group",item:function(t){var n=t.instance,r=t.option,i=t.index,o=t.getItemOptions;return["p-multiselect-item",{"p-highlight":n.isSelected(r),"p-focus":n.focusedOptionIndex===n.getOptionIndex(i,o),"p-disabled":n.isOptionDisabled(r)}]},checkboxContainer:"p-checkbox p-component",checkbox:function(t){var n=t.instance,r=t.option;return["p-checkbox-box",{"p-highlight":n.isSelected(r)}]},checkboxIcon:"p-checkbox-icon",emptyMessage:"p-multiselect-empty-message"},Ax=ht.extend({name:"multiselect",css:Tx,classes:Mx,inlineStyles:Ex}),kx={name:"BaseMultiSelect",extends:Yt,props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,optionGroupLabel:null,optionGroupChildren:null,scrollHeight:{type:String,default:"200px"},placeholder:String,disabled:Boolean,inputId:{type:String,default:null},inputProps:{type:null,default:null},panelClass:{type:String,default:null},panelStyle:{type:null,default:null},panelProps:{type:null,default:null},filterInputProps:{type:null,default:null},closeButtonProps:{type:null,default:null},dataKey:null,filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},appendTo:{type:String,default:"body"},display:{type:String,default:"comma"},selectedItemsLabel:{type:String,default:"{0} items selected"},maxSelectedLabels:{type:Number,default:null},selectionLimit:{type:Number,default:null},showToggleAll:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},checkboxIcon:{type:String,default:void 0},closeIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},removeTokenIcon:{type:String,default:void 0},selectAll:{type:Boolean,default:null},resetFilterOnHide:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!0},autoFilterFocus:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:Ax,provide:function(){return{$parentInstance:this}}};function bi(e){"@babel/helpers - typeof";return bi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bi(e)}function nf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rf(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:-1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!(this.disabled||this.isOptionDisabled(n))){var s=this.isSelected(n),l=null;s?l=this.modelValue.filter(function(a){return!U.equals(a,r.getOptionValue(n),r.equalityKey)}):l=[].concat(of(this.modelValue||[]),[this.getOptionValue(n)]),this.updateModel(t,l),i!==-1&&(this.focusedOptionIndex=i),o&&N.focus(this.$refs.focusInput)}},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onOptionSelectRange:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-1;if(r===-1&&(r=this.findNearestSelectedOptionIndex(i,!0)),i===-1&&(i=this.findNearestSelectedOptionIndex(r)),r!==-1&&i!==-1){var o=Math.min(r,i),s=Math.max(r,i),l=this.visibleOptions.slice(o,s+1).filter(function(a){return n.isValidOption(a)}).map(function(a){return n.getOptionValue(a)});this.updateModel(t,l)}},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){lr.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onArrowDownKey:function(t){var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.findFirstFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,this.startRangeIndex,n),this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.findLastFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,r,this.startRangeIndex),this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.currentTarget;if(n){var i=r.value.length;r.setSelectionRange(0,t.shiftKey?i:0),this.focusedOptionIndex=-1}else{var o=t.metaKey||t.ctrlKey,s=this.findFirstOptionIndex();t.shiftKey&&o&&this.onOptionSelectRange(t,s,this.startRangeIndex),this.changeFocusedOptionIndex(t,s),!this.overlayVisible&&this.show()}t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.currentTarget;if(n){var i=r.value.length;r.setSelectionRange(t.shiftKey?0:i,i),this.focusedOptionIndex=-1}else{var o=t.metaKey||t.ctrlKey,s=this.findLastOptionIndex();t.shiftKey&&o&&this.onOptionSelectRange(t,this.startRangeIndex,s),this.changeFocusedOptionIndex(t,s),!this.overlayVisible&&this.show()}t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?this.focusedOptionIndex!==-1&&(t.shiftKey?this.onOptionSelectRange(t,this.focusedOptionIndex):this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex])):this.onArrowDownKey(t),t.preventDefault()},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?(N.focus(t.shiftKey?this.$refs.lastHiddenFocusableElementOnOverlay:this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onShiftKey:function(){this.startRangeIndex=this.focusedOptionIndex},onOverlayEnter:function(t){rn.set("overlay",t,this.$primevue.config.zIndex.overlay),N.addStyles(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&N.focus(this.$refs.filterInput)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){rn.clear(t)},alignOverlay:function(){this.appendTo==="self"?N.relativePosition(this.overlay,this.$el):(this.overlay.style.minWidth=N.getOuterWidth(this.$el)+"px",N.absolutePosition(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.isOutsideClicked(n)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Ta(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!N.isTouchDevice()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},isOutsideClicked:function(t){return!(this.$el.isSameNode(t.target)||this.$el.contains(t.target)||this.overlay&&this.overlay.contains(t.target))},getLabelByValue:function(t){var n=this,r=this.optionGroupLabel?this.flatOptions(this.options):this.options||[],i=r.find(function(o){return!n.isOptionGroup(o)&&U.equals(n.getOptionValue(o),t,n.equalityKey)});return i?this.getOptionLabel(i):null},getSelectedItemsLabel:function(){var t=/{(.*?)}/,n=this.selectedItemsLabel||this.$primevue.config.locale.selectionMessage;return t.test(n)?n.replace(n.match(t)[0],this.modelValue.length+""):n},onToggleAll:function(t){var n=this;if(this.selectAll!==null)this.$emit("selectall-change",{originalEvent:t,checked:!this.allSelected});else{var r=this.allSelected?[]:this.visibleOptions.filter(function(i){return n.isValidOption(i)}).map(function(i){return n.getOptionValue(i)});this.updateModel(t,r)}this.headerCheckboxFocused=!0},removeOption:function(t,n){var r=this,i=this.modelValue.filter(function(o){return!U.equals(o,n,r.equalityKey)});this.updateModel(t,i)},clearFilter:function(){this.filterValue=null},hasFocusableElements:function(){return N.getFocusableElements(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption:function(t){return U.isNotEmpty(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){var n=this,r=this.getOptionValue(t);return(this.modelValue||[]).some(function(i){return U.equals(i,r,n.equalityKey)})},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return U.findLastIndex(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidOption(i)}):-1;return r>-1?r:t},findFirstSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findLastSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?U.findLastIndex(this.visibleOptions,function(n){return t.isValidSelectedOption(n)}):-1},findNextSelectedOptionIndex:function(t){var n=this,r=this.hasSelectedOption&&t-1?r+t+1:-1},findPrevSelectedOptionIndex:function(t){var n=this,r=this.hasSelectedOption&&t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidSelectedOption(i)}):-1;return r>-1?r:-1},findNearestSelectedOptionIndex:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=-1;return this.hasSelectedOption&&(n?(r=this.findPrevSelectedOptionIndex(t),r=r===-1?this.findNextSelectedOptionIndex(t):r):(r=this.findNextSelectedOptionIndex(t),r=r===-1?this.findPrevSelectedOptionIndex(t):r)),r>-1?r:t},findFirstFocusedOptionIndex:function(){var t=this.findFirstSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findLastSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t){var n=this;this.searchValue=(this.searchValue||"")+t.key;var r=-1;this.focusedOptionIndex!==-1?(r=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(i){return n.isOptionMatched(i)}),r=r===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(i){return n.isOptionMatched(i)}):r+this.focusedOptionIndex):r=this.visibleOptions.findIndex(function(i){return n.isOptionMatched(i)}),r===-1&&this.focusedOptionIndex===-1&&(r=this.findFirstFocusedOptionIndex()),r!==-1&&this.changeFocusedOptionIndex(t,r),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){n.searchValue="",n.searchTimeout=null},500)},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView())},scrollInView:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,n=t!==-1?"".concat(this.id,"_").concat(t):this.focusedOptionId,r=N.findSingle(this.list,'li[id="'.concat(n,'"]'));r?r.scrollIntoView&&r.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||this.virtualScroller&&this.virtualScroller.scrollToIndex(t!==-1?t:this.focusedOptionIndex)},autoUpdateModel:function(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption){this.focusedOptionIndex=this.findFirstFocusedOptionIndex();var t=this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);this.updateModel(null,[t])}},updateModel:function(t,n){this.$emit("update:modelValue",n),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,i,o){r.push({optionGroup:i,group:!0,index:o});var s=n.getOptionGroupChildren(i);return s&&s.forEach(function(l){return r.push(l)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Wp.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var i=this.options||[],o=[];return i.forEach(function(s){var l=t.getOptionGroupChildren(s),a=l.filter(function(c){return r.includes(c)});a.length>0&&o.push(rf(rf({},s),{},eh({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",of(a))))}),this.flatOptions(o)}return r}return n},label:function(){var t;if(this.modelValue&&this.modelValue.length){if(U.isNotEmpty(this.maxSelectedLabels)&&this.modelValue.length>this.maxSelectedLabels)return this.getSelectedItemsLabel();t="";for(var n=0;nthis.maxSelectedLabels?this.modelValue.slice(0,this.maxSelectedLabels):this.modelValue},allSelected:function(){var t=this;return this.selectAll!==null?this.selectAll:U.isNotEmpty(this.visibleOptions)&&this.visibleOptions.every(function(n){return t.isOptionGroup(n)||t.isOptionDisabled(n)||t.isSelected(n)})},hasSelectedOption:function(){return U.isNotEmpty(this.modelValue)},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},maxSelectionLimitReached:function(){return this.selectionLimit&&this.modelValue&&this.modelValue.length===this.selectionLimit},filterResultMessageText:function(){return U.isNotEmpty(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}",this.modelValue.length):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},toggleAllAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[this.allSelected?"selectAll":"unselectAll"]:void 0},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:qn},components:{VirtualScroller:ka,Portal:ts,TimesIcon:es,SearchIcon:Qp,TimesCircleIcon:Jp,ChevronDownIcon:Aa,SpinnerIcon:Pi,CheckIcon:Xp}};function xi(e){"@babel/helpers - typeof";return xi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xi(e)}function sf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mn(e){for(var t=1;tze.gt.map(({id:n,label:r})=>({value:n,label:r})));return pt(()=>{_n.gt=t.value}),(n,r)=>(E(),F("div",qx,[M("span",Zx,ne(n.$t("documents"))+" ("+ne(n.$t("ground_truth"))+"):",1),ie(Oe(th),{"model-value":Oe(_n).gt,"onUpdate:modelValue":r[0]||(r[0]=i=>Oe(_n).gt=i),options:t.value,optionLabel:"label",placeholder:"Select Ground Truth","panel-class":"max-w-[500px]","max-selected-labels":"1",filter:"",class:"relative flex-1"},{option:He(({option:i})=>[M("span",Xx,ne(i.label),1)]),_:1},8,["model-value","options"])]))}});var Jx={root:function(t){var n=t.props;return["p-selectbutton p-buttonset p-component",{"p-disabled":n.disabled}]},button:function(t){var n=t.instance,r=t.option;return["p-button p-component",{"p-highlight":n.isSelected(r),"p-disabled":n.isOptionDisabled(r)}]},label:"p-button-label"},ew=ht.extend({name:"selectbutton",classes:Jx}),tw={name:"BaseSelectButton",extends:Yt,props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,multiple:Boolean,unselectable:{type:Boolean,default:!0},allowEmpty:{type:Boolean,default:!0},disabled:Boolean,dataKey:null,ariaLabelledby:{type:String,default:null}},style:ew,provide:function(){return{$parentInstance:this}}};function nw(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=nh(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function rw(e){return sw(e)||ow(e)||nh(e)||iw()}function iw(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nh(e,t){if(e){if(typeof e=="string")return Sl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sl(e,t)}}function ow(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sw(e){if(Array.isArray(e))return Sl(e)}function Sl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nt?1:e>=t?0:NaN}function Kw(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function Pa(e){let t,n,r;e.length!==2?(t=no,n=(l,a)=>no(e(l),a),r=(l,a)=>e(l)-a):(t=e===no||e===Kw?e:Ww,n=e,r=e);function i(l,a,c=0,u=l.length){if(c>>1;n(l[f],a)<0?c=f+1:u=f}while(c>>1;n(l[f],a)<=0?c=f+1:u=f}while(cc&&r(l[f-1],a)>-r(l[f],a)?f-1:f}return{left:i,center:s,right:o}}function Ww(){return 0}function Gw(e){return e===null?NaN:+e}const Yw=Pa(no),qw=Yw.right;Pa(Gw).center;const Zw=qw,Xw=Math.sqrt(50),Qw=Math.sqrt(10),Jw=Math.sqrt(2);function vo(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=Xw?10:o>=Qw?5:o>=Jw?2:1;let l,a,c;return i<0?(c=Math.pow(10,-i)/s,l=Math.round(e*c),a=Math.round(t*c),l/ct&&--a,c=-c):(c=Math.pow(10,i)*s,l=Math.round(e/c),a=Math.round(t/c),l*ct&&--a),a0))return[];if(e===t)return[e];const r=t=i))return[];const l=o-i+1,a=new Array(l);if(r)if(s<0)for(let c=0;c+e(t)}function o_(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function s_(){return!this.__axis}function lh(e,t){var n=[],r=null,i=null,o=6,s=6,l=3,a=typeof window<"u"&&window.devicePixelRatio>1?0:.5,c=e===Es||e===Hr?-1:1,u=e===Hr||e===Ms?"x":"y",f=e===Es||e===Tl?n_:r_;function d(p){var h=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):t_),v=Math.max(o,0)+l,y=t.range(),b=+y[0]+a,_=+y[y.length-1]+a,w=(t.bandwidth?o_:i_)(t.copy(),a),S=p.selection?p.selection():p,I=S.selectAll(".domain").data([null]),j=S.selectAll(".tick").data(h,t).order(),H=j.exit(),Z=j.enter().append("g").attr("class","tick"),q=j.select("line"),z=j.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),j=j.merge(Z),q=q.merge(Z.append("line").attr("stroke","currentColor").attr(u+"2",c*o)),z=z.merge(Z.append("text").attr("fill","currentColor").attr(u,c*v).attr("dy",e===Es?"0em":e===Tl?"0.71em":"0.32em")),p!==S&&(I=I.transition(p),j=j.transition(p),q=q.transition(p),z=z.transition(p),H=H.transition(p).attr("opacity",uf).attr("transform",function(V){return isFinite(V=w(V))?f(V+a):this.getAttribute("transform")}),Z.attr("opacity",uf).attr("transform",function(V){var X=this.parentNode.__axis;return f((X&&isFinite(X=X(V))?X:w(V))+a)})),H.remove(),I.attr("d",e===Hr||e===Ms?s?"M"+c*s+","+b+"H"+a+"V"+_+"H"+c*s:"M"+a+","+b+"V"+_:s?"M"+b+","+c*s+"V"+a+"H"+_+"V"+c*s:"M"+b+","+a+"H"+_),j.attr("opacity",1).attr("transform",function(V){return f(w(V)+a)}),q.attr(u+"2",c*o),z.attr(u,c*v).text(m),S.filter(s_).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===Ms?"start":e===Hr?"end":"middle"),S.each(function(){this.__axis=w})}return d.scale=function(p){return arguments.length?(t=p,d):t},d.ticks=function(){return n=Array.from(arguments),d},d.tickArguments=function(p){return arguments.length?(n=p==null?[]:Array.from(p),d):n.slice()},d.tickValues=function(p){return arguments.length?(r=p==null?null:Array.from(p),d):r&&r.slice()},d.tickFormat=function(p){return arguments.length?(i=p,d):i},d.tickSize=function(p){return arguments.length?(o=s=+p,d):o},d.tickSizeInner=function(p){return arguments.length?(o=+p,d):o},d.tickSizeOuter=function(p){return arguments.length?(s=+p,d):s},d.tickPadding=function(p){return arguments.length?(l=+p,d):l},d.offset=function(p){return arguments.length?(a=+p,d):a},d}function ah(e){return lh(Tl,e)}function ch(e){return lh(Hr,e)}var l_={value:()=>{}};function uh(){for(var e=0,t=arguments.length,n={},r;e=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}ro.prototype=uh.prototype={constructor:ro,on:function(e,t){var n=this._,r=a_(e+"",n),i,o=-1,s=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(i),r=0,i,o;r=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),df.hasOwnProperty(t)?{space:df[t],local:e}:e}function u_(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===El&&t.documentElement.namespaceURI===El?t.createElement(e):t.createElementNS(n,e)}}function f_(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function La(e){var t=ts(e);return(t.local?f_:u_)(t)}function d_(){}function Fa(e){return e==null?d_:function(){return this.querySelector(e)}}function p_(e){typeof e!="function"&&(e=Fa(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i=_&&(_=b+1);!(S=v[_])&&++_=0;)(s=r[i])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function R_(e){e||(e=z_);function t(f,d){return f&&d?e(f.__data__,d.__data__):!f-!d}for(var n=this._groups,r=n.length,i=new Array(r),o=0;ot?1:e>=t?0:NaN}function N_(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function V_(){return Array.from(this)}function H_(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?J_:typeof t=="function"?t3:e3)(e,t,n??"")):xr(this.node(),e)}function xr(e,t){return e.style.getPropertyValue(t)||mh(e).getComputedStyle(e,null).getPropertyValue(t)}function r3(e){return function(){delete this[e]}}function i3(e,t){return function(){this[e]=t}}function o3(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function s3(e,t){return arguments.length>1?this.each((t==null?r3:typeof t=="function"?o3:i3)(e,t)):this.node()[e]}function gh(e){return e.trim().split(/^|\s+/)}function $a(e){return e.classList||new yh(e)}function yh(e){this._node=e,this._names=gh(e.getAttribute("class")||"")}yh.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function vh(e,t){for(var n=$a(e),r=-1,i=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function L3(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,o;n>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Gi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Gi(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=B3.exec(e))?new ut(t[1],t[2],t[3],1):(t=U3.exec(e))?new ut(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=K3.exec(e))?Gi(t[1],t[2],t[3],t[4]):(t=W3.exec(e))?Gi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=G3.exec(e))?bf(t[1],t[2]/100,t[3]/100,1):(t=Y3.exec(e))?bf(t[1],t[2]/100,t[3]/100,t[4]):pf.hasOwnProperty(e)?gf(pf[e]):e==="transparent"?new ut(NaN,NaN,NaN,0):null}function gf(e){return new ut(e>>16&255,e>>8&255,e&255,1)}function Gi(e,t,n,r){return r<=0&&(e=t=n=NaN),new ut(e,t,n,r)}function X3(e){return e instanceof $i||(e=Kn(e)),e?(e=e.rgb(),new ut(e.r,e.g,e.b,e.opacity)):new ut}function Ml(e,t,n,r){return arguments.length===1?X3(e):new ut(e,t,n,r??1)}function ut(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Da(ut,Ml,Oh($i,{brighter(e){return e=e==null?xo:Math.pow(xo,e),new ut(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Si:Math.pow(Si,e),new ut(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ut(Hn(this.r),Hn(this.g),Hn(this.b),wo(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:yf,formatHex:yf,formatHex8:Q3,formatRgb:vf,toString:vf}));function yf(){return`#${zn(this.r)}${zn(this.g)}${zn(this.b)}`}function Q3(){return`#${zn(this.r)}${zn(this.g)}${zn(this.b)}${zn((isNaN(this.opacity)?1:this.opacity)*255)}`}function vf(){const e=wo(this.opacity);return`${e===1?"rgb(":"rgba("}${Hn(this.r)}, ${Hn(this.g)}, ${Hn(this.b)}${e===1?")":`, ${e})`}`}function wo(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Hn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function zn(e){return e=Hn(e),(e<16?"0":"")+e.toString(16)}function bf(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Pt(e,t,n,r)}function Sh(e){if(e instanceof Pt)return new Pt(e.h,e.s,e.l,e.opacity);if(e instanceof $i||(e=Kn(e)),!e)return new Pt;if(e instanceof Pt)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,l=o-i,a=(o+i)/2;return l?(t===o?s=(n-r)/l+(n0&&a<1?0:s,new Pt(s,l,a,e.opacity)}function J3(e,t,n,r){return arguments.length===1?Sh(e):new Pt(e,t,n,r??1)}function Pt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Da(Pt,J3,Oh($i,{brighter(e){return e=e==null?xo:Math.pow(xo,e),new Pt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Si:Math.pow(Si,e),new Pt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new ut(As(e>=240?e-240:e+120,i,r),As(e,i,r),As(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Pt(xf(this.h),Yi(this.s),Yi(this.l),wo(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=wo(this.opacity);return`${e===1?"hsl(":"hsla("}${xf(this.h)}, ${Yi(this.s)*100}%, ${Yi(this.l)*100}%${e===1?")":`, ${e})`}`}}));function xf(e){return e=(e||0)%360,e<0?e+360:e}function Yi(e){return Math.max(0,Math.min(1,e||0))}function As(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const Ra=e=>()=>e;function e6(e,t){return function(n){return e+n*t}}function t6(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function n6(e){return(e=+e)==1?Ih:function(t,n){return n-t?t6(t,n,e):Ra(isNaN(t)?n:t)}}function Ih(e,t){var n=t-e;return n?e6(e,n):Ra(isNaN(e)?t:e)}const _o=function e(t){var n=n6(t);function r(i,o){var s=n((i=Ml(i)).r,(o=Ml(o)).r),l=n(i.g,o.g),a=n(i.b,o.b),c=Ih(i.opacity,o.opacity);return function(u){return i.r=s(u),i.g=l(u),i.b=a(u),i.opacity=c(u),i+""}}return r.gamma=e,r}(1);function r6(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(o){for(i=0;in&&(o=t.slice(n,o),l[s]?l[s]+=o:l[++s]=o),(r=r[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,a.push({i:s,x:kt(r,i)})),n=ks.lastIndex;return n180?u+=360:u-c>180&&(c+=360),d.push({i:f.push(i(f)+"rotate(",null,r)-2,x:kt(c,u)})):u&&f.push(i(f)+"rotate("+u+r)}function l(c,u,f,d){c!==u?d.push({i:f.push(i(f)+"skewX(",null,r)-2,x:kt(c,u)}):u&&f.push(i(f)+"skewX("+u+r)}function a(c,u,f,d,p,h){if(c!==f||u!==d){var m=p.push(i(p)+"scale(",null,",",null,")");h.push({i:m-4,x:kt(c,f)},{i:m-2,x:kt(u,d)})}else(f!==1||d!==1)&&p.push(i(p)+"scale("+f+","+d+")")}return function(c,u){var f=[],d=[];return c=e(c),u=e(u),o(c.translateX,c.translateY,u.translateX,u.translateY,f,d),s(c.rotate,u.rotate,f,d),l(c.skewX,u.skewX,f,d),a(c.scaleX,c.scaleY,u.scaleX,u.scaleY,f,d),c=u=null,function(p){for(var h=-1,m=d.length,v;++h=0&&e._call.call(void 0,t),e=e._next;--wr}function _f(){Wn=(So=Ci.now())+ns,wr=Br=0;try{g6()}finally{wr=0,v6(),Wn=0}}function y6(){var e=Ci.now(),t=e-So;t>Mh&&(ns-=t,So=e)}function v6(){for(var e,t=Oo,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Oo=n);Ur=e,jl(r)}function jl(e){if(!wr){Br&&(Br=clearTimeout(Br));var t=e-Wn;t>24?(e<1/0&&(Br=setTimeout(_f,e-Ci.now()-ns)),Fr&&(Fr=clearInterval(Fr))):(Fr||(So=Ci.now(),Fr=setInterval(y6,Mh)),wr=1,Ah(_f))}}function Of(e,t,n){var r=new Io;return t=t==null?0:+t,r.restart(i=>{r.stop(),e(i+t)},t,n),r}var b6=uh("start","end","cancel","interrupt"),x6=[],jh=0,Sf=1,Pl=2,io=3,If=4,Ll=5,oo=6;function rs(e,t,n,r,i,o){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;w6(e,n,{name:t,index:r,group:i,on:b6,tween:x6,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:jh})}function Va(e,t){var n=Rt(e,t);if(n.state>jh)throw new Error("too late; already scheduled");return n}function qt(e,t){var n=Rt(e,t);if(n.state>io)throw new Error("too late; already running");return n}function Rt(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function w6(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=kh(o,0,n.time);function o(c){n.state=Sf,n.timer.restart(s,n.delay,n.time),n.delay<=c&&s(c-n.delay)}function s(c){var u,f,d,p;if(n.state!==Sf)return a();for(u in r)if(p=r[u],p.name===n.name){if(p.state===io)return Of(s);p.state===If?(p.state=oo,p.timer.stop(),p.on.call("interrupt",e,e.__data__,p.index,p.group),delete r[u]):+uPl&&r.state=0&&(t=t.slice(0,n)),!t||t==="start"})}function Q6(e,t,n){var r,i,o=X6(t)?Va:qt;return function(){var s=o(this,e),l=s.on;l!==r&&(i=(r=l).copy()).on(t,n),s.on=i}}function J6(e,t){var n=this._id;return arguments.length<2?Rt(this.node(),n).on.on(e):this.each(Q6(n,e,t))}function e4(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function t4(){return this.on("end.remove",e4(this._id))}function n4(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Fa(e));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s=0))throw new Error(`invalid digits: ${e}`);if(t>15)return $h;const n=10**t;return function(r){this._+=r[0];for(let i=1,o=r.length;iLn)if(!(Math.abs(f*a-c*u)>Ln)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let p=r-s,h=i-l,m=a*a+c*c,v=p*p+h*h,y=Math.sqrt(m),b=Math.sqrt(d),_=o*Math.tan((Fl-Math.acos((m+d-v)/(2*y*b)))/2),w=_/b,S=_/y;Math.abs(w-1)>Ln&&this._append`L${t+w*u},${n+w*f}`,this._append`A${o},${o},0,0,${+(f*p>u*h)},${this._x1=t+S*a},${this._y1=n+S*c}`}}arc(t,n,r,i,o,s){if(t=+t,n=+n,r=+r,s=!!s,r<0)throw new Error(`negative radius: ${r}`);let l=r*Math.cos(i),a=r*Math.sin(i),c=t+l,u=n+a,f=1^s,d=s?i-o:o-i;this._x1===null?this._append`M${c},${u}`:(Math.abs(this._x1-c)>Ln||Math.abs(this._y1-u)>Ln)&&this._append`L${c},${u}`,r&&(d<0&&(d=d%$l+$l),d>T4?this._append`A${r},${r},0,1,${f},${t-l},${n-a}A${r},${r},0,1,${f},${this._x1=c},${this._y1=u}`:d>Ln&&this._append`A${r},${r},0,${+(d>=Fl)},${f},${this._x1=t+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function A4(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Co(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function _r(e){return e=Co(Math.abs(e)),e?e[1]:NaN}function k4(e,t){return function(n,r){for(var i=n.length,o=[],s=0,l=e[0],a=0;i>0&&l>0&&(a+l+1>r&&(l=Math.max(1,r-a)),o.push(n.substring(i-=l,i+l)),!((a+=l+1)>r));)l=e[s=(s+1)%e.length];return o.reverse().join(t)}}function j4(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var P4=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function To(e){if(!(t=P4.exec(e)))throw new Error("invalid format: "+e);var t;return new Ba({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}To.prototype=Ba.prototype;function Ba(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Ba.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function L4(e){e:for(var t=e.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var Dh;function F4(e,t){var n=Co(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(Dh=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Co(e,Math.max(0,t+o-1))[0]}function Cf(e,t){var n=Co(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const Tf={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:A4,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Cf(e*100,t),r:Cf,s:F4,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Ef(e){return e}var Mf=Array.prototype.map,Af=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function $4(e){var t=e.grouping===void 0||e.thousands===void 0?Ef:k4(Mf.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?Ef:j4(Mf.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",a=e.nan===void 0?"NaN":e.nan+"";function c(f){f=To(f);var d=f.fill,p=f.align,h=f.sign,m=f.symbol,v=f.zero,y=f.width,b=f.comma,_=f.precision,w=f.trim,S=f.type;S==="n"?(b=!0,S="g"):Tf[S]||(_===void 0&&(_=12),w=!0,S="g"),(v||d==="0"&&p==="=")&&(v=!0,d="0",p="=");var I=m==="$"?n:m==="#"&&/[boxX]/.test(S)?"0"+S.toLowerCase():"",j=m==="$"?r:/[%p]/.test(S)?s:"",H=Tf[S],Z=/[defgprs%]/.test(S);_=_===void 0?6:/[gprs]/.test(S)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function q(z){var V=I,X=j,pe,xe,ce;if(S==="c")X=H(z)+X,z="";else{z=+z;var re=z<0||1/z<0;if(z=isNaN(z)?a:H(Math.abs(z),_),w&&(z=L4(z)),re&&+z==0&&h!=="+"&&(re=!1),V=(re?h==="("?h:l:h==="-"||h==="("?"":h)+V,X=(S==="s"?Af[8+Dh/3]:"")+X+(re&&h==="("?")":""),Z){for(pe=-1,xe=z.length;++pece||ce>57){X=(ce===46?i+z.slice(pe+1):z.slice(pe))+X,z=z.slice(0,pe);break}}}b&&!v&&(z=t(z,1/0));var le=V.length+z.length+X.length,we=le>1)+V+z+X+we.slice(le);break;default:z=we+V+z+X;break}return o(z)}return q.toString=function(){return f+""},q}function u(f,d){var p=c((f=To(f),f.type="f",f)),h=Math.max(-8,Math.min(8,Math.floor(_r(d)/3)))*3,m=Math.pow(10,-h),v=Af[8+h/3];return function(y){return p(m*y)+v}}return{format:c,formatPrefix:u}}var Zi,Rh,zh;D4({thousands:",",grouping:[3],currency:["$",""]});function D4(e){return Zi=$4(e),Rh=Zi.format,zh=Zi.formatPrefix,Zi}function R4(e){return Math.max(0,-_r(Math.abs(e)))}function z4(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(_r(t)/3)))*3-_r(Math.abs(e)))}function N4(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,_r(t)-_r(e))+1}function Nh(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function V4(e){return function(){return e}}function H4(e){return+e}var kf=[0,1];function ar(e){return e}function Dl(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:V4(isNaN(t)?NaN:.5)}function B4(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function U4(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i2?K4:U4,a=c=null,f}function f(d){return d==null||isNaN(d=+d)?o:(a||(a=l(e.map(r),t,n)))(r(s(d)))}return f.invert=function(d){return s(i((c||(c=l(t,e.map(r),kt)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,H4),u()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),u()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),n=u6,u()},f.clamp=function(d){return arguments.length?(s=d?!0:ar,u()):s!==ar},f.interpolate=function(d){return arguments.length?(n=d,u()):n},f.unknown=function(d){return arguments.length?(o=d,f):o},function(d,p){return r=d,i=p,u()}}function Hh(){return W4()(ar,ar)}function G4(e,t,n,r){var i=Cl(e,t,n),o;switch(r=To(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=z4(i,s))&&(r.precision=o),zh(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=N4(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=R4(i))&&(r.precision=o-(r.type==="%")*2);break}}return Rh(r)}function Y4(e){var t=e.domain;return e.ticks=function(n){var r=t();return e_(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return G4(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,s=r[i],l=r[o],a,c,u=10;for(l0;){if(c=Il(s,l,n),c===a)return r[i]=s,r[o]=l,t(r);if(c>0)s=Math.floor(s/c)*c,l=Math.ceil(l/c)*c;else if(c<0)s=Math.ceil(s*c)/c,l=Math.floor(l*c)/c;else break;a=c}return e},e}function Ua(){var e=Hh();return e.copy=function(){return Vh(e,Ua())},Nh.apply(e,arguments),Y4(e)}function q4(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],s;return o(e(o=new Date(+o)),o),i.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),i.round=o=>{const s=i(o),l=i.ceil(o);return o-s(t(o=new Date(+o),s==null?1:Math.floor(s)),o),i.range=(o,s,l)=>{const a=[];if(o=i.ceil(o),l=l==null?1:Math.floor(l),!(o0))return a;let c;do a.push(c=new Date(+o)),t(o,l),e(o);while(cWe(s=>{if(s>=s)for(;e(s),!o(s);)s.setTime(s-1)},(s,l)=>{if(s>=s)if(l<0)for(;++l<=0;)for(;t(s,-1),!o(s););else for(;--l>=0;)for(;t(s,1),!o(s););}),n&&(i.count=(o,s)=>(js.setTime(+o),Ps.setTime(+s),e(js),e(Ps),Math.floor(n(js,Ps))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?s=>r(s)%o===0:s=>i.count(0,s)%o===0):i)),i}const Eo=We(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Eo.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?We(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Eo);Eo.range;const en=1e3,Ot=en*60,tn=Ot*60,sn=tn*24,Ka=sn*7,jf=sn*30,Ls=sn*365,cr=We(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*en)},(e,t)=>(t-e)/en,e=>e.getUTCSeconds());cr.range;const Wa=We(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*en)},(e,t)=>{e.setTime(+e+t*Ot)},(e,t)=>(t-e)/Ot,e=>e.getMinutes());Wa.range;const Z4=We(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Ot)},(e,t)=>(t-e)/Ot,e=>e.getUTCMinutes());Z4.range;const Ga=We(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*en-e.getMinutes()*Ot)},(e,t)=>{e.setTime(+e+t*tn)},(e,t)=>(t-e)/tn,e=>e.getHours());Ga.range;const X4=We(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*tn)},(e,t)=>(t-e)/tn,e=>e.getUTCHours());X4.range;const Di=We(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Ot)/sn,e=>e.getDate()-1);Di.range;const Ya=We(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/sn,e=>e.getUTCDate()-1);Ya.range;const Q4=We(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/sn,e=>Math.floor(e/sn));Q4.range;function Xn(e){return We(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Ot)/Ka)}const is=Xn(0),Mo=Xn(1),J4=Xn(2),e5=Xn(3),Or=Xn(4),t5=Xn(5),n5=Xn(6);is.range;Mo.range;J4.range;e5.range;Or.range;t5.range;n5.range;function Qn(e){return We(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/Ka)}const Bh=Qn(0),Ao=Qn(1),r5=Qn(2),i5=Qn(3),Sr=Qn(4),o5=Qn(5),s5=Qn(6);Bh.range;Ao.range;r5.range;i5.range;Sr.range;o5.range;s5.range;const qa=We(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());qa.range;const l5=We(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());l5.range;const ln=We(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());ln.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:We(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});ln.range;const Gn=We(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Gn.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:We(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Gn.range;function a5(e,t,n,r,i,o){const s=[[cr,1,en],[cr,5,5*en],[cr,15,15*en],[cr,30,30*en],[o,1,Ot],[o,5,5*Ot],[o,15,15*Ot],[o,30,30*Ot],[i,1,tn],[i,3,3*tn],[i,6,6*tn],[i,12,12*tn],[r,1,sn],[r,2,2*sn],[n,1,Ka],[t,1,jf],[t,3,3*jf],[e,1,Ls]];function l(c,u,f){const d=uv).right(s,d);if(p===s.length)return e.every(Cl(c/Ls,u/Ls,f));if(p===0)return Eo.every(Math.max(Cl(c,u,f),1));const[h,m]=s[d/s[p-1][2]53)return null;"w"in g||(g.w=1),"Z"in g?(O=$s($r(g.y,0,1)),k=O.getUTCDay(),O=k>4||k===0?Ao.ceil(O):Ao(O),O=Ya.offset(O,(g.V-1)*7),g.y=O.getUTCFullYear(),g.m=O.getUTCMonth(),g.d=O.getUTCDate()+(g.w+6)%7):(O=Fs($r(g.y,0,1)),k=O.getDay(),O=k>4||k===0?Mo.ceil(O):Mo(O),O=Di.offset(O,(g.V-1)*7),g.y=O.getFullYear(),g.m=O.getMonth(),g.d=O.getDate()+(g.w+6)%7)}else("W"in g||"U"in g)&&("w"in g||(g.w="u"in g?g.u%7:"W"in g?1:0),k="Z"in g?$s($r(g.y,0,1)).getUTCDay():Fs($r(g.y,0,1)).getDay(),g.m=0,g.d="W"in g?(g.w+6)%7+g.W*7-(k+5)%7:g.w+g.U*7-(k+6)%7);return"Z"in g?(g.H+=g.Z/100|0,g.M+=g.Z%100,$s(g)):Fs(g)}}function H(A,B,Q,g){for(var x=0,O=B.length,k=Q.length,P,R;x=k)return-1;if(P=B.charCodeAt(x++),P===37){if(P=B.charAt(x++),R=S[P in Pf?B.charAt(x++):P],!R||(g=R(A,Q,g))<0)return-1}else if(P!=Q.charCodeAt(g++))return-1}return g}function Z(A,B,Q){var g=c.exec(B.slice(Q));return g?(A.p=u.get(g[0].toLowerCase()),Q+g[0].length):-1}function q(A,B,Q){var g=p.exec(B.slice(Q));return g?(A.w=h.get(g[0].toLowerCase()),Q+g[0].length):-1}function z(A,B,Q){var g=f.exec(B.slice(Q));return g?(A.w=d.get(g[0].toLowerCase()),Q+g[0].length):-1}function V(A,B,Q){var g=y.exec(B.slice(Q));return g?(A.m=b.get(g[0].toLowerCase()),Q+g[0].length):-1}function X(A,B,Q){var g=m.exec(B.slice(Q));return g?(A.m=v.get(g[0].toLowerCase()),Q+g[0].length):-1}function pe(A,B,Q){return H(A,t,B,Q)}function xe(A,B,Q){return H(A,n,B,Q)}function ce(A,B,Q){return H(A,r,B,Q)}function re(A){return s[A.getDay()]}function le(A){return o[A.getDay()]}function we(A){return a[A.getMonth()]}function it(A){return l[A.getMonth()]}function De(A){return i[+(A.getHours()>=12)]}function je(A){return 1+~~(A.getMonth()/3)}function lt(A){return s[A.getUTCDay()]}function Ue(A){return o[A.getUTCDay()]}function Et(A){return a[A.getUTCMonth()]}function Ve(A){return l[A.getUTCMonth()]}function $(A){return i[+(A.getUTCHours()>=12)]}function Y(A){return 1+~~(A.getUTCMonth()/3)}return{format:function(A){var B=I(A+="",_);return B.toString=function(){return A},B},parse:function(A){var B=j(A+="",!1);return B.toString=function(){return A},B},utcFormat:function(A){var B=I(A+="",w);return B.toString=function(){return A},B},utcParse:function(A){var B=j(A+="",!0);return B.toString=function(){return A},B}}}var Pf={"-":"",_:" ",0:"0"},Xe=/^\s*\d+/,d5=/^%/,p5=/[\\^$*+?|[\]().{}]/g;function be(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o[t.toLowerCase(),n]))}function m5(e,t,n){var r=Xe.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function g5(e,t,n){var r=Xe.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function y5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function v5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function b5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Lf(e,t,n){var r=Xe.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Ff(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function x5(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function w5(e,t,n){var r=Xe.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function _5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function $f(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function O5(e,t,n){var r=Xe.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Df(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function S5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function I5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function C5(e,t,n){var r=Xe.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function T5(e,t,n){var r=Xe.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function E5(e,t,n){var r=d5.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function M5(e,t,n){var r=Xe.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function A5(e,t,n){var r=Xe.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Rf(e,t){return be(e.getDate(),t,2)}function k5(e,t){return be(e.getHours(),t,2)}function j5(e,t){return be(e.getHours()%12||12,t,2)}function P5(e,t){return be(1+Di.count(ln(e),e),t,3)}function Uh(e,t){return be(e.getMilliseconds(),t,3)}function L5(e,t){return Uh(e,t)+"000"}function F5(e,t){return be(e.getMonth()+1,t,2)}function $5(e,t){return be(e.getMinutes(),t,2)}function D5(e,t){return be(e.getSeconds(),t,2)}function R5(e){var t=e.getDay();return t===0?7:t}function z5(e,t){return be(is.count(ln(e)-1,e),t,2)}function Kh(e){var t=e.getDay();return t>=4||t===0?Or(e):Or.ceil(e)}function N5(e,t){return e=Kh(e),be(Or.count(ln(e),e)+(ln(e).getDay()===4),t,2)}function V5(e){return e.getDay()}function H5(e,t){return be(Mo.count(ln(e)-1,e),t,2)}function B5(e,t){return be(e.getFullYear()%100,t,2)}function U5(e,t){return e=Kh(e),be(e.getFullYear()%100,t,2)}function K5(e,t){return be(e.getFullYear()%1e4,t,4)}function W5(e,t){var n=e.getDay();return e=n>=4||n===0?Or(e):Or.ceil(e),be(e.getFullYear()%1e4,t,4)}function G5(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+be(t/60|0,"0",2)+be(t%60,"0",2)}function zf(e,t){return be(e.getUTCDate(),t,2)}function Y5(e,t){return be(e.getUTCHours(),t,2)}function q5(e,t){return be(e.getUTCHours()%12||12,t,2)}function Z5(e,t){return be(1+Ya.count(Gn(e),e),t,3)}function Wh(e,t){return be(e.getUTCMilliseconds(),t,3)}function X5(e,t){return Wh(e,t)+"000"}function Q5(e,t){return be(e.getUTCMonth()+1,t,2)}function J5(e,t){return be(e.getUTCMinutes(),t,2)}function e8(e,t){return be(e.getUTCSeconds(),t,2)}function t8(e){var t=e.getUTCDay();return t===0?7:t}function n8(e,t){return be(Bh.count(Gn(e)-1,e),t,2)}function Gh(e){var t=e.getUTCDay();return t>=4||t===0?Sr(e):Sr.ceil(e)}function r8(e,t){return e=Gh(e),be(Sr.count(Gn(e),e)+(Gn(e).getUTCDay()===4),t,2)}function i8(e){return e.getUTCDay()}function o8(e,t){return be(Ao.count(Gn(e)-1,e),t,2)}function s8(e,t){return be(e.getUTCFullYear()%100,t,2)}function l8(e,t){return e=Gh(e),be(e.getUTCFullYear()%100,t,2)}function a8(e,t){return be(e.getUTCFullYear()%1e4,t,4)}function c8(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Sr(e):Sr.ceil(e),be(e.getUTCFullYear()%1e4,t,4)}function u8(){return"+0000"}function Nf(){return"%"}function Vf(e){return+e}function Hf(e){return Math.floor(+e/1e3)}var tr,Yh,Za;f8({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function f8(e){return tr=f5(e),Yh=tr.format,tr.parse,Za=tr.utcFormat,tr.utcParse,tr}function d8(e){return new Date(e)}function p8(e){return e instanceof Date?+e:+new Date(+e)}function qh(e,t,n,r,i,o,s,l,a,c){var u=Hh(),f=u.invert,d=u.domain,p=c(".%L"),h=c(":%S"),m=c("%I:%M"),v=c("%I %p"),y=c("%a %d"),b=c("%b %d"),_=c("%B"),w=c("%Y");function S(I){return(a(I)=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new M4(t)}function m8(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Xh(e){this._context=e}Xh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function g8(e){return new Xh(e)}function y8(e){return e[0]}function v8(e){return e[1]}function ko(e,t){var n=nr(!0),r=null,i=g8,o=null,s=h8(l);e=typeof e=="function"?e:e===void 0?y8:nr(e),t=typeof t=="function"?t:t===void 0?v8:nr(t);function l(a){var c,u=(a=m8(a)).length,f,d=!1,p;for(r==null&&(o=i(p=s())),c=0;c<=u;++c)!(c""}=n;e.on("mouseover",function(i,o){const s=r(o),{top:l,left:a}=this.getBoundingClientRect();return t.html("
"+s+"
"),t.style("visibility","visible").style("top",l-60+"px").style("left",a+"px")}).on("mouseout",function(){return t.style("visibility","hidden")})}var b8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var e1={},t1={},Xa={exports:{}},Ee=String,n1=function(){return{isColorSupported:!1,reset:Ee,bold:Ee,dim:Ee,italic:Ee,underline:Ee,inverse:Ee,hidden:Ee,strikethrough:Ee,black:Ee,red:Ee,green:Ee,yellow:Ee,blue:Ee,magenta:Ee,cyan:Ee,white:Ee,gray:Ee,bgBlack:Ee,bgRed:Ee,bgGreen:Ee,bgYellow:Ee,bgBlue:Ee,bgMagenta:Ee,bgCyan:Ee,bgWhite:Ee}};Xa.exports=n1();Xa.exports.createColors=n1;var w8=Xa.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(a,c){for(var u in c)Object.defineProperty(a,u,{enumerable:!0,get:c[u]})}t(e,{dim:function(){return s},default:function(){return l}});const n=r(w8);function r(a){return a&&a.__esModule?a:{default:a}}let i=new Set;function o(a,c,u){typeof process<"u"&&{}.JEST_WORKER_ID||u&&i.has(u)||(u&&i.add(u),console.warn(""),c.forEach(f=>console.warn(a,"-",f)))}function s(a){return n.default.dim(a)}const l={info(a,c){o(n.default.bold(n.default.cyan("info")),...Array.isArray(a)?[a]:[c,a])},warn(a,c){o(n.default.bold(n.default.yellow("warn")),...Array.isArray(a)?[a]:[c,a])},risk(a,c){o(n.default.bold(n.default.magenta("risk")),...Array.isArray(a)?[a]:[c,a])}}})(t1);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=n(t1);function n(o){return o&&o.__esModule?o:{default:o}}function r({version:o,from:s,to:l}){t.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${o}, \`${s}\` has been renamed to \`${l}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return r({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return r({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return r({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return r({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return r({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(e1);let Ds=e1;var _8=(Ds.__esModule?Ds:{default:Ds}).default;const Ut=x8(_8),O8=10,S8=10,Bf=5,Uf=40,r1=dt({__name:"BaseTimelineChart",props:{data:{},maxY:{},width:{},startDate:{},endDate:{},height:{},tooltipContent:{type:Function},higherIsPositive:{type:Boolean}},setup(e){const t=e,n=t.height||45,r=Ce(()=>t.width??300),i=fe();function o(l,a=!0){if(l.length===0)return 0;const c=l[l.length-1].value,u=l.length>1?l[l.length-2].value:c,f=a?c-u:u-c;return f===0?0:f>0?1:-1}function s([l,a,c,u]){if(!l||!a||!c||l.length===0||!i.value)return;i.value.replaceChildren();const f=Zh().domain([a,c]).range([Uf,r.value-S8]),d=Ua().domain([0,u]).range([n-Bf,O8]).nice(),p=_h("svg").attr("width",r.value).attr("height",n);p.append("g").classed("x-axis-group",!0).attr("transform",`translate(0,${n-Bf})`).call(ah(f).ticks(0).tickSize(0).tickFormat(Za("%d.%m.%Y"))),p.select(".x-axis-group .domain").attr("stroke",Ut.gray[400]),p.selectAll(".x-axis-group .tick text").attr("fill",Ut.gray[400]),p.append("g").classed("y-axis-group",!0).attr("transform",`translate(${Uf},0)`).call(ch(d).tickValues([0,u]).tickSize(0).tickPadding(5)),p.select(".y-axis-group .domain").attr("stroke",Ut.gray[400]),p.selectAll(".y-axis-group .tick text").attr("fill",Ut.gray[400]);const h=o(l,t.higherIsPositive),m=p.append("g").classed("path-group",!0).classed("trend-positive",h===1).classed("trend-negative",h===-1);m.append("path").datum(l).attr("stroke-width",1.5).attr("d",ko().x(function(w){return f(w.date)}).y(function(w){return d(w.value)}));const v=m.selectAll("myCircles").data(l).enter().append("g");v.append("circle").attr("r",10).style("fill","transparent").style("cursor","pointer").attr("cx",function(w){return f(w.date)}).attr("cy",function(w){return d(w.value)}).classed("chart-point",!0),v.append("circle").attr("r",2).classed("pointer-events-none",!0).attr("cx",function(w){return f(w.date)}).attr("cy",function(w){return d(w.value)});const y=document.querySelector(".d3-tooltip"),b=y?Oi(y):Qh(Oi("body"),{classes:"border border-gray-300 bg-white p-2 rounded-md"});Jh(p.selectAll(".chart-point"),b,{useData:t.tooltipContent});const _=p.append("g").classed("releases-group",!0);ze.releases.forEach(w=>{const S=f(new Date(w.published_at));_.append("path").attr("stroke-width",1.5).attr("stroke-dasharray",4).attr("d",ko()([[S,d(0)],[S,d(u)]]))}),i.value.append(p.node())}return pt(()=>{s([t.data,t.startDate,t.endDate,t.maxY])}),Ze([()=>t.data,()=>t.startDate,()=>t.endDate,()=>t.maxY],s),(l,a)=>(E(),F("div",{ref_key:"container",ref:i},null,512))}});const I8={projects:e=>{const{normalize:t}=e;return t(["Projects"])},processors:e=>{const{normalize:t}=e;return t(["Processors"])},workflows:e=>{const{normalize:t}=e;return t(["Workflows"])},list:e=>{const{normalize:t}=e;return t(["List"])},table:e=>{const{normalize:t}=e;return t(["Table"])},sort_by:e=>{const{normalize:t}=e;return t(["Sort by"])},group_by:e=>{const{normalize:t}=e;return t(["Group by"])},documents:e=>{const{normalize:t}=e;return t(["Documents"])},no_content:e=>{const{normalize:t}=e;return t(["This view is not created yet. Please try again later. "])},no_gt_workspace:e=>{const{normalize:t}=e;return t(["No information about Ground Truth Workspace available"])},no_ocr_workflow:e=>{const{normalize:t}=e;return t(["No information about OCR Workflow available"])},no_document_metadata:e=>{const{normalize:t}=e;return t(["No information about the document available"])},unknown_workflow:e=>{const{normalize:t}=e;return t(["Unknown workflow"])},wall_time_asc:e=>{const{normalize:t}=e;return t(["Wall Time ascending"])},wall_time_desc:e=>{const{normalize:t}=e;return t(["Wall Time descending"])},cer_asc:e=>{const{normalize:t}=e;return t(["CER ascending"])},cer_desc:e=>{const{normalize:t}=e;return t(["CER descending"])},cer_min_asc:e=>{const{normalize:t}=e;return t(["CER Min ascending"])},cer_min_desc:e=>{const{normalize:t}=e;return t(["CER Min descending"])},cer_max_asc:e=>{const{normalize:t}=e;return t(["CER Max ascending"])},cer_max_desc:e=>{const{normalize:t}=e;return t(["CER Max descending"])},no_table_data:e=>{const{normalize:t}=e;return t(["No table data available"])},workflow_steps:e=>{const{normalize:t}=e;return t(["Workflow steps"])},external_repo_url:e=>{const{normalize:t}=e;return t(["External link to the repository"])},change:e=>{const{normalize:t}=e;return t(["Change"])},datasets_selected:e=>{const{normalize:t}=e;return t(["datasets selected"])},of:e=>{const{normalize:t}=e;return t(["of"])},select_all:e=>{const{normalize:t}=e;return t(["Select all"])},document:e=>{const{normalize:t}=e;return t(["Document"])},workflow:e=>{const{normalize:t}=e;return t(["Workflow"])},fastest:e=>{const{normalize:t}=e;return t(["Fastest"])},unreleased_changes:e=>{const{normalize:t}=e;return t(["unreleased changes"])},version:e=>{const{normalize:t}=e;return t(["Version"])},is_valid:e=>{const{normalize:t}=e;return t(["is valid"])},is_not_valid:e=>{const{normalize:t}=e;return t(["is not valid"])},dependency_conflicts:e=>{const{normalize:t}=e;return t(["Dependency conflicts"])},no_dependency_conflicts:e=>{const{normalize:t}=e;return t(["No dependency conflicts"])},additional_info:e=>{const{normalize:t}=e;return t(["Additional Info"])},error_repo_not_found:e=>{const{normalize:t}=e;return t(["No repository data found."])},timeline:e=>{const{normalize:t}=e;return t(["Timeline"])},cer_mean:e=>{const{normalize:t}=e;return t(["CER Mean"])},cer_median:e=>{const{normalize:t}=e;return t(["CER Median"])},wall_time:e=>{const{normalize:t}=e;return t(["Wall Time"])},cpu_time:e=>{const{normalize:t}=e;return t(["CPU Time"])},wer:e=>{const{normalize:t}=e;return t(["WER"])},pages_per_minute:e=>{const{normalize:t}=e;return t(["Pages per minute"])},cpu_standard_deviation:e=>{const{normalize:t}=e;return t(["CPU Standard Deviation"])},date:e=>{const{normalize:t}=e;return t(["Date"])},ground_truth:e=>{const{normalize:t}=e;return t(["Ground Truth"])},average:e=>{const{normalize:t}=e;return t(["Average"])},cer_standard_deviation:e=>{const{normalize:t}=e;return t(["CER Standard Deviation"])},positive:e=>{const{normalize:t}=e;return t(["positive"])},neutral:e=>{const{normalize:t}=e;return t(["neutral"])},negative:e=>{const{normalize:t}=e;return t(["negative"])},better:e=>{const{normalize:t}=e;return t(["better"])},equal:e=>{const{normalize:t}=e;return t(["equal"])},worse:e=>{const{normalize:t}=e;return t(["worse"])}},C8={details:e=>{const{normalize:t}=e;return t(["Details"])},documents:e=>{const{normalize:t}=e;return t(["Dokumente"])},group_by:e=>{const{normalize:t}=e;return t(["Gruppieren nach"])},layout:e=>{const{normalize:t}=e;return t(["Layout"])},list:e=>{const{normalize:t}=e;return t(["Liste"])},no_content:e=>{const{normalize:t}=e;return t(["Diese Ansicht befindet sich im Aufbau. Bitte schauen Sie später vorbei."])},no_description:e=>{const{normalize:t}=e;return t(["Keine Beschreibung verfügbar."])},number_of_pages:e=>{const{normalize:t}=e;return t(["Anzahl der Seiten"])},processors:e=>{const{normalize:t}=e;return t(["Prozessoren"])},projects:e=>{const{normalize:t}=e;return t(["Projekte"])},publication_century:e=>{const{normalize:t}=e;return t(["Jahrhundert"])},publication_year:e=>{const{normalize:t}=e;return t(["Erscheinungsjahr"])},sort_by:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},table:e=>{const{normalize:t}=e;return t(["Tabelle"])},workflows:e=>{const{normalize:t}=e;return t(["Workflows"])},no_gt_workspace:e=>{const{normalize:t}=e;return t(["Keine Informationen zum Ground Truth Workspace vorhanden"])},no_ocr_workflow:e=>{const{normalize:t}=e;return t(["Keine Informationen zum OCR Workflow vorhanden"])},no_document_metadata:e=>{const{normalize:t}=e;return t(["Keine Informationen zum Dokument vorhanden"])},unknown_workflow:e=>{const{normalize:t}=e;return t(["Unbekannter Workflow"])},wall_time_asc:e=>{const{normalize:t}=e;return t(["Wall Time aufsteigend"])},wall_time_desc:e=>{const{normalize:t}=e;return t(["Wall Time absteigend"])},cer_asc:e=>{const{normalize:t}=e;return t(["CER aufsteigend"])},cer_desc:e=>{const{normalize:t}=e;return t(["CER absteigend"])},cer_min_asc:e=>{const{normalize:t}=e;return t(["CER Min aufsteigend"])},cer_min_desc:e=>{const{normalize:t}=e;return t(["CER Min absteigend"])},cer_max_asc:e=>{const{normalize:t}=e;return t(["CER Max aufsteigend"])},cer_max_desc:e=>{const{normalize:t}=e;return t(["CER Max absteigend"])},no_table_data:e=>{const{normalize:t}=e;return t(["Keine Tabellendaten verfügbar"])},workflow_steps:e=>{const{normalize:t}=e;return t(["Workflowschritte"])},external_repo_url:e=>{const{normalize:t}=e;return t(["Externer Link zum Repository"])},change:e=>{const{normalize:t}=e;return t(["Ändern"])},datasets_selected:e=>{const{normalize:t}=e;return t(["Datasets ausgewählt"])},of:e=>{const{normalize:t}=e;return t(["von"])},select_all:e=>{const{normalize:t}=e;return t(["Alle auswählen"])},document:e=>{const{normalize:t}=e;return t(["Dokument"])},workflow:e=>{const{normalize:t}=e;return t(["Workflow"])},fastest:e=>{const{normalize:t}=e;return t(["Am schnellsten"])},unreleased_changes:e=>{const{normalize:t}=e;return t(["unveröffentliche Änderungen"])},version:e=>{const{normalize:t}=e;return t(["Version"])},is_valid:e=>{const{normalize:t}=e;return t(["ist gültig"])},is_not_valid:e=>{const{normalize:t}=e;return t(["ist ungültig"])},dependency_conflicts:e=>{const{normalize:t}=e;return t(["Konflikte mit Abhängigkeiten"])},no_dependency_conflicts:e=>{const{normalize:t}=e;return t(["Keine Konflikte mit Abhängigkeiten"])},additional_info:e=>{const{normalize:t}=e;return t(["Zusätzliche Info"])},error_repo_not_found:e=>{const{normalize:t}=e;return t(["Keine Daten zum Repository gefunden."])},timeline:e=>{const{normalize:t}=e;return t(["Chronik"])},cer_mean:e=>{const{normalize:t}=e;return t(["CER Durchschnitt"])},cer_median:e=>{const{normalize:t}=e;return t(["CER Median"])},wall_time:e=>{const{normalize:t}=e;return t(["Wall Time"])},cpu_time:e=>{const{normalize:t}=e;return t(["CPU Zeit"])},wer:e=>{const{normalize:t}=e;return t(["WER"])},pages_per_minute:e=>{const{normalize:t}=e;return t(["Seiten pro Minute"])},cpu_standard_deviation:e=>{const{normalize:t}=e;return t(["CPU Standardabweichung"])},date:e=>{const{normalize:t}=e;return t(["Datum"])},ground_truth:e=>{const{normalize:t}=e;return t(["Ground Truth"])},average:e=>{const{normalize:t}=e;return t(["Durchschnitt"])},cer_standard_deviation:e=>{const{normalize:t}=e;return t(["CER Standardabweichung"])},positive:e=>{const{normalize:t}=e;return t(["positiv"])},neutral:e=>{const{normalize:t}=e;return t(["neutral"])},negative:e=>{const{normalize:t}=e;return t(["negativ"])},better:e=>{const{normalize:t}=e;return t(["besser"])},equal:e=>{const{normalize:t}=e;return t(["gleich"])},worse:e=>{const{normalize:t}=e;return t(["schlechter"])}},i1=t2({locale:"en",messages:{en:I8,de:C8}}),{t:Kf}=i1.global;function o1(e,t){return` + `);this.styleElement.innerHTML=n}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},onOverlayClick:function(t){lr.emit("overlay-click",{originalEvent:t,target:this.target})}},computed:{attributeSelector:function(){return Dt()},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},directives:{focustrap:Pw,ripple:qn},components:{Portal:ts,TimesIcon:es}};function _i(e){"@babel/helpers - typeof";return _i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_i(e)}function cf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function uf(e){for(var t=1;tt?1:e>=t?0:NaN}function Kw(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function La(e){let t,n,r;e.length!==2?(t=no,n=(l,a)=>no(e(l),a),r=(l,a)=>e(l)-a):(t=e===no||e===Kw?e:Ww,n=e,r=e);function i(l,a,c=0,u=l.length){if(c>>1;n(l[f],a)<0?c=f+1:u=f}while(c>>1;n(l[f],a)<=0?c=f+1:u=f}while(cc&&r(l[f-1],a)>-r(l[f],a)?f-1:f}return{left:i,center:s,right:o}}function Ww(){return 0}function Gw(e){return e===null?NaN:+e}const Yw=La(no),qw=Yw.right;La(Gw).center;const Zw=qw,Xw=Math.sqrt(50),Qw=Math.sqrt(10),Jw=Math.sqrt(2);function vo(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=Xw?10:o>=Qw?5:o>=Jw?2:1;let l,a,c;return i<0?(c=Math.pow(10,-i)/s,l=Math.round(e*c),a=Math.round(t*c),l/ct&&--a,c=-c):(c=Math.pow(10,i)*s,l=Math.round(e/c),a=Math.round(t/c),l*ct&&--a),a0))return[];if(e===t)return[e];const r=t=i))return[];const l=o-i+1,a=new Array(l);if(r)if(s<0)for(let c=0;c+e(t)}function o3(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function s3(){return!this.__axis}function lh(e,t){var n=[],r=null,i=null,o=6,s=6,l=3,a=typeof window<"u"&&window.devicePixelRatio>1?0:.5,c=e===Ms||e===Hr?-1:1,u=e===Hr||e===As?"x":"y",f=e===Ms||e===El?n3:r3;function d(p){var h=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):t3),v=Math.max(o,0)+l,y=t.range(),b=+y[0]+a,_=+y[y.length-1]+a,w=(t.bandwidth?o3:i3)(t.copy(),a),S=p.selection?p.selection():p,I=S.selectAll(".domain").data([null]),j=S.selectAll(".tick").data(h,t).order(),H=j.exit(),Z=j.enter().append("g").attr("class","tick"),q=j.select("line"),z=j.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),j=j.merge(Z),q=q.merge(Z.append("line").attr("stroke","currentColor").attr(u+"2",c*o)),z=z.merge(Z.append("text").attr("fill","currentColor").attr(u,c*v).attr("dy",e===Ms?"0em":e===El?"0.71em":"0.32em")),p!==S&&(I=I.transition(p),j=j.transition(p),q=q.transition(p),z=z.transition(p),H=H.transition(p).attr("opacity",ff).attr("transform",function(V){return isFinite(V=w(V))?f(V+a):this.getAttribute("transform")}),Z.attr("opacity",ff).attr("transform",function(V){var X=this.parentNode.__axis;return f((X&&isFinite(X=X(V))?X:w(V))+a)})),H.remove(),I.attr("d",e===Hr||e===As?s?"M"+c*s+","+b+"H"+a+"V"+_+"H"+c*s:"M"+a+","+b+"V"+_:s?"M"+b+","+c*s+"V"+a+"H"+_+"V"+c*s:"M"+b+","+a+"H"+_),j.attr("opacity",1).attr("transform",function(V){return f(w(V)+a)}),q.attr(u+"2",c*o),z.attr(u,c*v).text(m),S.filter(s3).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===As?"start":e===Hr?"end":"middle"),S.each(function(){this.__axis=w})}return d.scale=function(p){return arguments.length?(t=p,d):t},d.ticks=function(){return n=Array.from(arguments),d},d.tickArguments=function(p){return arguments.length?(n=p==null?[]:Array.from(p),d):n.slice()},d.tickValues=function(p){return arguments.length?(r=p==null?null:Array.from(p),d):r&&r.slice()},d.tickFormat=function(p){return arguments.length?(i=p,d):i},d.tickSize=function(p){return arguments.length?(o=s=+p,d):o},d.tickSizeInner=function(p){return arguments.length?(o=+p,d):o},d.tickSizeOuter=function(p){return arguments.length?(s=+p,d):s},d.tickPadding=function(p){return arguments.length?(l=+p,d):l},d.offset=function(p){return arguments.length?(a=+p,d):a},d}function ah(e){return lh(El,e)}function ch(e){return lh(Hr,e)}var l3={value:()=>{}};function uh(){for(var e=0,t=arguments.length,n={},r;e=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}ro.prototype=uh.prototype={constructor:ro,on:function(e,t){var n=this._,r=a3(e+"",n),i,o=-1,s=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(i),r=0,i,o;r=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),pf.hasOwnProperty(t)?{space:pf[t],local:e}:e}function u3(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===Ml&&t.documentElement.namespaceURI===Ml?t.createElement(e):t.createElementNS(n,e)}}function f3(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Fa(e){var t=ns(e);return(t.local?f3:u3)(t)}function d3(){}function $a(e){return e==null?d3:function(){return this.querySelector(e)}}function p3(e){typeof e!="function"&&(e=$a(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i=_&&(_=b+1);!(S=v[_])&&++_=0;)(s=r[i])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function R3(e){e||(e=z3);function t(f,d){return f&&d?e(f.__data__,d.__data__):!f-!d}for(var n=this._groups,r=n.length,i=new Array(r),o=0;ot?1:e>=t?0:NaN}function N3(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function V3(){return Array.from(this)}function H3(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?J3:typeof t=="function"?t_:e_)(e,t,n??"")):xr(this.node(),e)}function xr(e,t){return e.style.getPropertyValue(t)||mh(e).getComputedStyle(e,null).getPropertyValue(t)}function r_(e){return function(){delete this[e]}}function i_(e,t){return function(){this[e]=t}}function o_(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function s_(e,t){return arguments.length>1?this.each((t==null?r_:typeof t=="function"?o_:i_)(e,t)):this.node()[e]}function gh(e){return e.trim().split(/^|\s+/)}function Da(e){return e.classList||new yh(e)}function yh(e){this._node=e,this._names=gh(e.getAttribute("class")||"")}yh.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function vh(e,t){for(var n=Da(e),r=-1,i=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function L_(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,o;n>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Gi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Gi(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=B_.exec(e))?new ut(t[1],t[2],t[3],1):(t=U_.exec(e))?new ut(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=K_.exec(e))?Gi(t[1],t[2],t[3],t[4]):(t=W_.exec(e))?Gi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=G_.exec(e))?xf(t[1],t[2]/100,t[3]/100,1):(t=Y_.exec(e))?xf(t[1],t[2]/100,t[3]/100,t[4]):hf.hasOwnProperty(e)?yf(hf[e]):e==="transparent"?new ut(NaN,NaN,NaN,0):null}function yf(e){return new ut(e>>16&255,e>>8&255,e&255,1)}function Gi(e,t,n,r){return r<=0&&(e=t=n=NaN),new ut(e,t,n,r)}function X_(e){return e instanceof $i||(e=Kn(e)),e?(e=e.rgb(),new ut(e.r,e.g,e.b,e.opacity)):new ut}function Al(e,t,n,r){return arguments.length===1?X_(e):new ut(e,t,n,r??1)}function ut(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Ra(ut,Al,Oh($i,{brighter(e){return e=e==null?xo:Math.pow(xo,e),new ut(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Si:Math.pow(Si,e),new ut(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ut(Hn(this.r),Hn(this.g),Hn(this.b),wo(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:vf,formatHex:vf,formatHex8:Q_,formatRgb:bf,toString:bf}));function vf(){return`#${zn(this.r)}${zn(this.g)}${zn(this.b)}`}function Q_(){return`#${zn(this.r)}${zn(this.g)}${zn(this.b)}${zn((isNaN(this.opacity)?1:this.opacity)*255)}`}function bf(){const e=wo(this.opacity);return`${e===1?"rgb(":"rgba("}${Hn(this.r)}, ${Hn(this.g)}, ${Hn(this.b)}${e===1?")":`, ${e})`}`}function wo(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Hn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function zn(e){return e=Hn(e),(e<16?"0":"")+e.toString(16)}function xf(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Pt(e,t,n,r)}function Sh(e){if(e instanceof Pt)return new Pt(e.h,e.s,e.l,e.opacity);if(e instanceof $i||(e=Kn(e)),!e)return new Pt;if(e instanceof Pt)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,l=o-i,a=(o+i)/2;return l?(t===o?s=(n-r)/l+(n0&&a<1?0:s,new Pt(s,l,a,e.opacity)}function J_(e,t,n,r){return arguments.length===1?Sh(e):new Pt(e,t,n,r??1)}function Pt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Ra(Pt,J_,Oh($i,{brighter(e){return e=e==null?xo:Math.pow(xo,e),new Pt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Si:Math.pow(Si,e),new Pt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new ut(ks(e>=240?e-240:e+120,i,r),ks(e,i,r),ks(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Pt(wf(this.h),Yi(this.s),Yi(this.l),wo(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=wo(this.opacity);return`${e===1?"hsl(":"hsla("}${wf(this.h)}, ${Yi(this.s)*100}%, ${Yi(this.l)*100}%${e===1?")":`, ${e})`}`}}));function wf(e){return e=(e||0)%360,e<0?e+360:e}function Yi(e){return Math.max(0,Math.min(1,e||0))}function ks(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const za=e=>()=>e;function e6(e,t){return function(n){return e+n*t}}function t6(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function n6(e){return(e=+e)==1?Ih:function(t,n){return n-t?t6(t,n,e):za(isNaN(t)?n:t)}}function Ih(e,t){var n=t-e;return n?e6(e,n):za(isNaN(e)?t:e)}const _o=function e(t){var n=n6(t);function r(i,o){var s=n((i=Al(i)).r,(o=Al(o)).r),l=n(i.g,o.g),a=n(i.b,o.b),c=Ih(i.opacity,o.opacity);return function(u){return i.r=s(u),i.g=l(u),i.b=a(u),i.opacity=c(u),i+""}}return r.gamma=e,r}(1);function r6(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(o){for(i=0;in&&(o=t.slice(n,o),l[s]?l[s]+=o:l[++s]=o),(r=r[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,a.push({i:s,x:kt(r,i)})),n=js.lastIndex;return n180?u+=360:u-c>180&&(c+=360),d.push({i:f.push(i(f)+"rotate(",null,r)-2,x:kt(c,u)})):u&&f.push(i(f)+"rotate("+u+r)}function l(c,u,f,d){c!==u?d.push({i:f.push(i(f)+"skewX(",null,r)-2,x:kt(c,u)}):u&&f.push(i(f)+"skewX("+u+r)}function a(c,u,f,d,p,h){if(c!==f||u!==d){var m=p.push(i(p)+"scale(",null,",",null,")");h.push({i:m-4,x:kt(c,f)},{i:m-2,x:kt(u,d)})}else(f!==1||d!==1)&&p.push(i(p)+"scale("+f+","+d+")")}return function(c,u){var f=[],d=[];return c=e(c),u=e(u),o(c.translateX,c.translateY,u.translateX,u.translateY,f,d),s(c.rotate,u.rotate,f,d),l(c.skewX,u.skewX,f,d),a(c.scaleX,c.scaleY,u.scaleX,u.scaleY,f,d),c=u=null,function(p){for(var h=-1,m=d.length,v;++h=0&&e._call.call(void 0,t),e=e._next;--wr}function Of(){Wn=(So=Ci.now())+rs,wr=Br=0;try{g6()}finally{wr=0,v6(),Wn=0}}function y6(){var e=Ci.now(),t=e-So;t>Mh&&(rs-=t,So=e)}function v6(){for(var e,t=Oo,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Oo=n);Ur=e,Pl(r)}function Pl(e){if(!wr){Br&&(Br=clearTimeout(Br));var t=e-Wn;t>24?(e<1/0&&(Br=setTimeout(Of,e-Ci.now()-rs)),Fr&&(Fr=clearInterval(Fr))):(Fr||(So=Ci.now(),Fr=setInterval(y6,Mh)),wr=1,Ah(Of))}}function Sf(e,t,n){var r=new Io;return t=t==null?0:+t,r.restart(i=>{r.stop(),e(i+t)},t,n),r}var b6=uh("start","end","cancel","interrupt"),x6=[],jh=0,If=1,Ll=2,io=3,Cf=4,Fl=5,oo=6;function is(e,t,n,r,i,o){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;w6(e,n,{name:t,index:r,group:i,on:b6,tween:x6,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:jh})}function Ha(e,t){var n=Rt(e,t);if(n.state>jh)throw new Error("too late; already scheduled");return n}function qt(e,t){var n=Rt(e,t);if(n.state>io)throw new Error("too late; already running");return n}function Rt(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function w6(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=kh(o,0,n.time);function o(c){n.state=If,n.timer.restart(s,n.delay,n.time),n.delay<=c&&s(c-n.delay)}function s(c){var u,f,d,p;if(n.state!==If)return a();for(u in r)if(p=r[u],p.name===n.name){if(p.state===io)return Sf(s);p.state===Cf?(p.state=oo,p.timer.stop(),p.on.call("interrupt",e,e.__data__,p.index,p.group),delete r[u]):+uLl&&r.state=0&&(t=t.slice(0,n)),!t||t==="start"})}function Q6(e,t,n){var r,i,o=X6(t)?Ha:qt;return function(){var s=o(this,e),l=s.on;l!==r&&(i=(r=l).copy()).on(t,n),s.on=i}}function J6(e,t){var n=this._id;return arguments.length<2?Rt(this.node(),n).on.on(e):this.each(Q6(n,e,t))}function e4(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function t4(){return this.on("end.remove",e4(this._id))}function n4(e){var t=this._name,n=this._id;typeof e!="function"&&(e=$a(e));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s=0))throw new Error(`invalid digits: ${e}`);if(t>15)return $h;const n=10**t;return function(r){this._+=r[0];for(let i=1,o=r.length;iLn)if(!(Math.abs(f*a-c*u)>Ln)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let p=r-s,h=i-l,m=a*a+c*c,v=p*p+h*h,y=Math.sqrt(m),b=Math.sqrt(d),_=o*Math.tan(($l-Math.acos((m+d-v)/(2*y*b)))/2),w=_/b,S=_/y;Math.abs(w-1)>Ln&&this._append`L${t+w*u},${n+w*f}`,this._append`A${o},${o},0,0,${+(f*p>u*h)},${this._x1=t+S*a},${this._y1=n+S*c}`}}arc(t,n,r,i,o,s){if(t=+t,n=+n,r=+r,s=!!s,r<0)throw new Error(`negative radius: ${r}`);let l=r*Math.cos(i),a=r*Math.sin(i),c=t+l,u=n+a,f=1^s,d=s?i-o:o-i;this._x1===null?this._append`M${c},${u}`:(Math.abs(this._x1-c)>Ln||Math.abs(this._y1-u)>Ln)&&this._append`L${c},${u}`,r&&(d<0&&(d=d%Dl+Dl),d>T4?this._append`A${r},${r},0,1,${f},${t-l},${n-a}A${r},${r},0,1,${f},${this._x1=c},${this._y1=u}`:d>Ln&&this._append`A${r},${r},0,${+(d>=$l)},${f},${this._x1=t+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function A4(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Co(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function _r(e){return e=Co(Math.abs(e)),e?e[1]:NaN}function k4(e,t){return function(n,r){for(var i=n.length,o=[],s=0,l=e[0],a=0;i>0&&l>0&&(a+l+1>r&&(l=Math.max(1,r-a)),o.push(n.substring(i-=l,i+l)),!((a+=l+1)>r));)l=e[s=(s+1)%e.length];return o.reverse().join(t)}}function j4(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var P4=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function To(e){if(!(t=P4.exec(e)))throw new Error("invalid format: "+e);var t;return new Ua({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}To.prototype=Ua.prototype;function Ua(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Ua.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function L4(e){e:for(var t=e.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var Dh;function F4(e,t){var n=Co(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(Dh=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Co(e,Math.max(0,t+o-1))[0]}function Tf(e,t){var n=Co(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const Ef={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:A4,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Tf(e*100,t),r:Tf,s:F4,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Mf(e){return e}var Af=Array.prototype.map,kf=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function $4(e){var t=e.grouping===void 0||e.thousands===void 0?Mf:k4(Af.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?Mf:j4(Af.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",a=e.nan===void 0?"NaN":e.nan+"";function c(f){f=To(f);var d=f.fill,p=f.align,h=f.sign,m=f.symbol,v=f.zero,y=f.width,b=f.comma,_=f.precision,w=f.trim,S=f.type;S==="n"?(b=!0,S="g"):Ef[S]||(_===void 0&&(_=12),w=!0,S="g"),(v||d==="0"&&p==="=")&&(v=!0,d="0",p="=");var I=m==="$"?n:m==="#"&&/[boxX]/.test(S)?"0"+S.toLowerCase():"",j=m==="$"?r:/[%p]/.test(S)?s:"",H=Ef[S],Z=/[defgprs%]/.test(S);_=_===void 0?6:/[gprs]/.test(S)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function q(z){var V=I,X=j,pe,xe,ce;if(S==="c")X=H(z)+X,z="";else{z=+z;var re=z<0||1/z<0;if(z=isNaN(z)?a:H(Math.abs(z),_),w&&(z=L4(z)),re&&+z==0&&h!=="+"&&(re=!1),V=(re?h==="("?h:l:h==="-"||h==="("?"":h)+V,X=(S==="s"?kf[8+Dh/3]:"")+X+(re&&h==="("?")":""),Z){for(pe=-1,xe=z.length;++pece||ce>57){X=(ce===46?i+z.slice(pe+1):z.slice(pe))+X,z=z.slice(0,pe);break}}}b&&!v&&(z=t(z,1/0));var le=V.length+z.length+X.length,we=le>1)+V+z+X+we.slice(le);break;default:z=we+V+z+X;break}return o(z)}return q.toString=function(){return f+""},q}function u(f,d){var p=c((f=To(f),f.type="f",f)),h=Math.max(-8,Math.min(8,Math.floor(_r(d)/3)))*3,m=Math.pow(10,-h),v=kf[8+h/3];return function(y){return p(m*y)+v}}return{format:c,formatPrefix:u}}var Zi,Rh,zh;D4({thousands:",",grouping:[3],currency:["$",""]});function D4(e){return Zi=$4(e),Rh=Zi.format,zh=Zi.formatPrefix,Zi}function R4(e){return Math.max(0,-_r(Math.abs(e)))}function z4(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(_r(t)/3)))*3-_r(Math.abs(e)))}function N4(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,_r(t)-_r(e))+1}function Nh(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function V4(e){return function(){return e}}function H4(e){return+e}var jf=[0,1];function ar(e){return e}function Rl(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:V4(isNaN(t)?NaN:.5)}function B4(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function U4(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i2?K4:U4,a=c=null,f}function f(d){return d==null||isNaN(d=+d)?o:(a||(a=l(e.map(r),t,n)))(r(s(d)))}return f.invert=function(d){return s(i((c||(c=l(t,e.map(r),kt)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,H4),u()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),u()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),n=u6,u()},f.clamp=function(d){return arguments.length?(s=d?!0:ar,u()):s!==ar},f.interpolate=function(d){return arguments.length?(n=d,u()):n},f.unknown=function(d){return arguments.length?(o=d,f):o},function(d,p){return r=d,i=p,u()}}function Hh(){return W4()(ar,ar)}function G4(e,t,n,r){var i=Tl(e,t,n),o;switch(r=To(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=z4(i,s))&&(r.precision=o),zh(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=N4(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=R4(i))&&(r.precision=o-(r.type==="%")*2);break}}return Rh(r)}function Y4(e){var t=e.domain;return e.ticks=function(n){var r=t();return e3(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return G4(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,s=r[i],l=r[o],a,c,u=10;for(l0;){if(c=Cl(s,l,n),c===a)return r[i]=s,r[o]=l,t(r);if(c>0)s=Math.floor(s/c)*c,l=Math.ceil(l/c)*c;else if(c<0)s=Math.ceil(s*c)/c,l=Math.floor(l*c)/c;else break;a=c}return e},e}function Ka(){var e=Hh();return e.copy=function(){return Vh(e,Ka())},Nh.apply(e,arguments),Y4(e)}function q4(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],s;return o(e(o=new Date(+o)),o),i.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),i.round=o=>{const s=i(o),l=i.ceil(o);return o-s(t(o=new Date(+o),s==null?1:Math.floor(s)),o),i.range=(o,s,l)=>{const a=[];if(o=i.ceil(o),l=l==null?1:Math.floor(l),!(o0))return a;let c;do a.push(c=new Date(+o)),t(o,l),e(o);while(cWe(s=>{if(s>=s)for(;e(s),!o(s);)s.setTime(s-1)},(s,l)=>{if(s>=s)if(l<0)for(;++l<=0;)for(;t(s,-1),!o(s););else for(;--l>=0;)for(;t(s,1),!o(s););}),n&&(i.count=(o,s)=>(Ps.setTime(+o),Ls.setTime(+s),e(Ps),e(Ls),Math.floor(n(Ps,Ls))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?s=>r(s)%o===0:s=>i.count(0,s)%o===0):i)),i}const Eo=We(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Eo.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?We(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Eo);Eo.range;const en=1e3,Ot=en*60,tn=Ot*60,sn=tn*24,Wa=sn*7,Pf=sn*30,Fs=sn*365,cr=We(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*en)},(e,t)=>(t-e)/en,e=>e.getUTCSeconds());cr.range;const Ga=We(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*en)},(e,t)=>{e.setTime(+e+t*Ot)},(e,t)=>(t-e)/Ot,e=>e.getMinutes());Ga.range;const Z4=We(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Ot)},(e,t)=>(t-e)/Ot,e=>e.getUTCMinutes());Z4.range;const Ya=We(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*en-e.getMinutes()*Ot)},(e,t)=>{e.setTime(+e+t*tn)},(e,t)=>(t-e)/tn,e=>e.getHours());Ya.range;const X4=We(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*tn)},(e,t)=>(t-e)/tn,e=>e.getUTCHours());X4.range;const Di=We(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Ot)/sn,e=>e.getDate()-1);Di.range;const qa=We(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/sn,e=>e.getUTCDate()-1);qa.range;const Q4=We(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/sn,e=>Math.floor(e/sn));Q4.range;function Xn(e){return We(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Ot)/Wa)}const os=Xn(0),Mo=Xn(1),J4=Xn(2),e5=Xn(3),Or=Xn(4),t5=Xn(5),n5=Xn(6);os.range;Mo.range;J4.range;e5.range;Or.range;t5.range;n5.range;function Qn(e){return We(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/Wa)}const Bh=Qn(0),Ao=Qn(1),r5=Qn(2),i5=Qn(3),Sr=Qn(4),o5=Qn(5),s5=Qn(6);Bh.range;Ao.range;r5.range;i5.range;Sr.range;o5.range;s5.range;const Za=We(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Za.range;const l5=We(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());l5.range;const ln=We(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());ln.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:We(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});ln.range;const Gn=We(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Gn.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:We(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Gn.range;function a5(e,t,n,r,i,o){const s=[[cr,1,en],[cr,5,5*en],[cr,15,15*en],[cr,30,30*en],[o,1,Ot],[o,5,5*Ot],[o,15,15*Ot],[o,30,30*Ot],[i,1,tn],[i,3,3*tn],[i,6,6*tn],[i,12,12*tn],[r,1,sn],[r,2,2*sn],[n,1,Wa],[t,1,Pf],[t,3,3*Pf],[e,1,Fs]];function l(c,u,f){const d=uv).right(s,d);if(p===s.length)return e.every(Tl(c/Fs,u/Fs,f));if(p===0)return Eo.every(Math.max(Tl(c,u,f),1));const[h,m]=s[d/s[p-1][2]53)return null;"w"in g||(g.w=1),"Z"in g?(O=Ds($r(g.y,0,1)),k=O.getUTCDay(),O=k>4||k===0?Ao.ceil(O):Ao(O),O=qa.offset(O,(g.V-1)*7),g.y=O.getUTCFullYear(),g.m=O.getUTCMonth(),g.d=O.getUTCDate()+(g.w+6)%7):(O=$s($r(g.y,0,1)),k=O.getDay(),O=k>4||k===0?Mo.ceil(O):Mo(O),O=Di.offset(O,(g.V-1)*7),g.y=O.getFullYear(),g.m=O.getMonth(),g.d=O.getDate()+(g.w+6)%7)}else("W"in g||"U"in g)&&("w"in g||(g.w="u"in g?g.u%7:"W"in g?1:0),k="Z"in g?Ds($r(g.y,0,1)).getUTCDay():$s($r(g.y,0,1)).getDay(),g.m=0,g.d="W"in g?(g.w+6)%7+g.W*7-(k+5)%7:g.w+g.U*7-(k+6)%7);return"Z"in g?(g.H+=g.Z/100|0,g.M+=g.Z%100,Ds(g)):$s(g)}}function H(A,B,Q,g){for(var x=0,O=B.length,k=Q.length,P,R;x=k)return-1;if(P=B.charCodeAt(x++),P===37){if(P=B.charAt(x++),R=S[P in Lf?B.charAt(x++):P],!R||(g=R(A,Q,g))<0)return-1}else if(P!=Q.charCodeAt(g++))return-1}return g}function Z(A,B,Q){var g=c.exec(B.slice(Q));return g?(A.p=u.get(g[0].toLowerCase()),Q+g[0].length):-1}function q(A,B,Q){var g=p.exec(B.slice(Q));return g?(A.w=h.get(g[0].toLowerCase()),Q+g[0].length):-1}function z(A,B,Q){var g=f.exec(B.slice(Q));return g?(A.w=d.get(g[0].toLowerCase()),Q+g[0].length):-1}function V(A,B,Q){var g=y.exec(B.slice(Q));return g?(A.m=b.get(g[0].toLowerCase()),Q+g[0].length):-1}function X(A,B,Q){var g=m.exec(B.slice(Q));return g?(A.m=v.get(g[0].toLowerCase()),Q+g[0].length):-1}function pe(A,B,Q){return H(A,t,B,Q)}function xe(A,B,Q){return H(A,n,B,Q)}function ce(A,B,Q){return H(A,r,B,Q)}function re(A){return s[A.getDay()]}function le(A){return o[A.getDay()]}function we(A){return a[A.getMonth()]}function it(A){return l[A.getMonth()]}function De(A){return i[+(A.getHours()>=12)]}function je(A){return 1+~~(A.getMonth()/3)}function lt(A){return s[A.getUTCDay()]}function Ue(A){return o[A.getUTCDay()]}function Et(A){return a[A.getUTCMonth()]}function Ve(A){return l[A.getUTCMonth()]}function $(A){return i[+(A.getUTCHours()>=12)]}function Y(A){return 1+~~(A.getUTCMonth()/3)}return{format:function(A){var B=I(A+="",_);return B.toString=function(){return A},B},parse:function(A){var B=j(A+="",!1);return B.toString=function(){return A},B},utcFormat:function(A){var B=I(A+="",w);return B.toString=function(){return A},B},utcParse:function(A){var B=j(A+="",!0);return B.toString=function(){return A},B}}}var Lf={"-":"",_:" ",0:"0"},Xe=/^\s*\d+/,d5=/^%/,p5=/[\\^$*+?|[\]().{}]/g;function be(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o[t.toLowerCase(),n]))}function m5(e,t,n){var r=Xe.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function g5(e,t,n){var r=Xe.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function y5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function v5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function b5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Ff(e,t,n){var r=Xe.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function $f(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function x5(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function w5(e,t,n){var r=Xe.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function _5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Df(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function O5(e,t,n){var r=Xe.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Rf(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function S5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function I5(e,t,n){var r=Xe.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function C5(e,t,n){var r=Xe.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function T5(e,t,n){var r=Xe.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function E5(e,t,n){var r=d5.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function M5(e,t,n){var r=Xe.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function A5(e,t,n){var r=Xe.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function zf(e,t){return be(e.getDate(),t,2)}function k5(e,t){return be(e.getHours(),t,2)}function j5(e,t){return be(e.getHours()%12||12,t,2)}function P5(e,t){return be(1+Di.count(ln(e),e),t,3)}function Uh(e,t){return be(e.getMilliseconds(),t,3)}function L5(e,t){return Uh(e,t)+"000"}function F5(e,t){return be(e.getMonth()+1,t,2)}function $5(e,t){return be(e.getMinutes(),t,2)}function D5(e,t){return be(e.getSeconds(),t,2)}function R5(e){var t=e.getDay();return t===0?7:t}function z5(e,t){return be(os.count(ln(e)-1,e),t,2)}function Kh(e){var t=e.getDay();return t>=4||t===0?Or(e):Or.ceil(e)}function N5(e,t){return e=Kh(e),be(Or.count(ln(e),e)+(ln(e).getDay()===4),t,2)}function V5(e){return e.getDay()}function H5(e,t){return be(Mo.count(ln(e)-1,e),t,2)}function B5(e,t){return be(e.getFullYear()%100,t,2)}function U5(e,t){return e=Kh(e),be(e.getFullYear()%100,t,2)}function K5(e,t){return be(e.getFullYear()%1e4,t,4)}function W5(e,t){var n=e.getDay();return e=n>=4||n===0?Or(e):Or.ceil(e),be(e.getFullYear()%1e4,t,4)}function G5(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+be(t/60|0,"0",2)+be(t%60,"0",2)}function Nf(e,t){return be(e.getUTCDate(),t,2)}function Y5(e,t){return be(e.getUTCHours(),t,2)}function q5(e,t){return be(e.getUTCHours()%12||12,t,2)}function Z5(e,t){return be(1+qa.count(Gn(e),e),t,3)}function Wh(e,t){return be(e.getUTCMilliseconds(),t,3)}function X5(e,t){return Wh(e,t)+"000"}function Q5(e,t){return be(e.getUTCMonth()+1,t,2)}function J5(e,t){return be(e.getUTCMinutes(),t,2)}function e8(e,t){return be(e.getUTCSeconds(),t,2)}function t8(e){var t=e.getUTCDay();return t===0?7:t}function n8(e,t){return be(Bh.count(Gn(e)-1,e),t,2)}function Gh(e){var t=e.getUTCDay();return t>=4||t===0?Sr(e):Sr.ceil(e)}function r8(e,t){return e=Gh(e),be(Sr.count(Gn(e),e)+(Gn(e).getUTCDay()===4),t,2)}function i8(e){return e.getUTCDay()}function o8(e,t){return be(Ao.count(Gn(e)-1,e),t,2)}function s8(e,t){return be(e.getUTCFullYear()%100,t,2)}function l8(e,t){return e=Gh(e),be(e.getUTCFullYear()%100,t,2)}function a8(e,t){return be(e.getUTCFullYear()%1e4,t,4)}function c8(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Sr(e):Sr.ceil(e),be(e.getUTCFullYear()%1e4,t,4)}function u8(){return"+0000"}function Vf(){return"%"}function Hf(e){return+e}function Bf(e){return Math.floor(+e/1e3)}var tr,Yh,Xa;f8({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function f8(e){return tr=f5(e),Yh=tr.format,tr.parse,Xa=tr.utcFormat,tr.utcParse,tr}function d8(e){return new Date(e)}function p8(e){return e instanceof Date?+e:+new Date(+e)}function qh(e,t,n,r,i,o,s,l,a,c){var u=Hh(),f=u.invert,d=u.domain,p=c(".%L"),h=c(":%S"),m=c("%I:%M"),v=c("%I %p"),y=c("%a %d"),b=c("%b %d"),_=c("%B"),w=c("%Y");function S(I){return(a(I)=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new M4(t)}function m8(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Xh(e){this._context=e}Xh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function g8(e){return new Xh(e)}function y8(e){return e[0]}function v8(e){return e[1]}function ko(e,t){var n=nr(!0),r=null,i=g8,o=null,s=h8(l);e=typeof e=="function"?e:e===void 0?y8:nr(e),t=typeof t=="function"?t:t===void 0?v8:nr(t);function l(a){var c,u=(a=m8(a)).length,f,d=!1,p;for(r==null&&(o=i(p=s())),c=0;c<=u;++c)!(c""}=n;e.on("mouseover",function(i,o){const s=r(o),{top:l,left:a}=this.getBoundingClientRect();return t.html("
"+s+"
"),t.style("visibility","visible").style("top",l-60+"px").style("left",a+"px")}).on("mouseout",function(){return t.style("visibility","hidden")})}var b8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var e1={},t1={},Qa={exports:{}},Ee=String,n1=function(){return{isColorSupported:!1,reset:Ee,bold:Ee,dim:Ee,italic:Ee,underline:Ee,inverse:Ee,hidden:Ee,strikethrough:Ee,black:Ee,red:Ee,green:Ee,yellow:Ee,blue:Ee,magenta:Ee,cyan:Ee,white:Ee,gray:Ee,bgBlack:Ee,bgRed:Ee,bgGreen:Ee,bgYellow:Ee,bgBlue:Ee,bgMagenta:Ee,bgCyan:Ee,bgWhite:Ee}};Qa.exports=n1();Qa.exports.createColors=n1;var w8=Qa.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(a,c){for(var u in c)Object.defineProperty(a,u,{enumerable:!0,get:c[u]})}t(e,{dim:function(){return s},default:function(){return l}});const n=r(w8);function r(a){return a&&a.__esModule?a:{default:a}}let i=new Set;function o(a,c,u){typeof process<"u"&&{}.JEST_WORKER_ID||u&&i.has(u)||(u&&i.add(u),console.warn(""),c.forEach(f=>console.warn(a,"-",f)))}function s(a){return n.default.dim(a)}const l={info(a,c){o(n.default.bold(n.default.cyan("info")),...Array.isArray(a)?[a]:[c,a])},warn(a,c){o(n.default.bold(n.default.yellow("warn")),...Array.isArray(a)?[a]:[c,a])},risk(a,c){o(n.default.bold(n.default.magenta("risk")),...Array.isArray(a)?[a]:[c,a])}}})(t1);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=n(t1);function n(o){return o&&o.__esModule?o:{default:o}}function r({version:o,from:s,to:l}){t.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${o}, \`${s}\` has been renamed to \`${l}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return r({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return r({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return r({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return r({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return r({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(e1);let Rs=e1;var _8=(Rs.__esModule?Rs:{default:Rs}).default;const Ut=x8(_8),O8=10,S8=10,Uf=5,Kf=40,r1=dt({__name:"BaseTimelineChart",props:{data:{},maxY:{},width:{},startDate:{},endDate:{},height:{},tooltipContent:{type:Function},higherIsPositive:{type:Boolean}},setup(e){const t=e,n=t.height||45,r=Ce(()=>t.width??300),i=fe();function o(l,a=!0){if(l.length===0)return 0;const c=l[l.length-1].value,u=l.length>1?l[l.length-2].value:c,f=a?c-u:u-c;return f===0?0:f>0?1:-1}function s([l,a,c,u]){if(!l||!a||!c||l.length===0||!i.value)return;i.value.replaceChildren();const f=Zh().domain([a,c]).range([Kf,r.value-S8]),d=Ka().domain([0,u]).range([n-Uf,O8]).nice(),p=_h("svg").attr("width",r.value).attr("height",n);p.append("g").classed("x-axis-group",!0).attr("transform",`translate(0,${n-Uf})`).call(ah(f).ticks(0).tickSize(0).tickFormat(Xa("%d.%m.%Y"))),p.select(".x-axis-group .domain").attr("stroke",Ut.gray[400]),p.selectAll(".x-axis-group .tick text").attr("fill",Ut.gray[400]),p.append("g").classed("y-axis-group",!0).attr("transform",`translate(${Kf},0)`).call(ch(d).tickValues([0,u]).tickSize(0).tickPadding(5)),p.select(".y-axis-group .domain").attr("stroke",Ut.gray[400]),p.selectAll(".y-axis-group .tick text").attr("fill",Ut.gray[400]);const h=o(l,t.higherIsPositive),m=p.append("g").classed("path-group",!0).classed("trend-positive",h===1).classed("trend-negative",h===-1);m.append("path").datum(l).attr("stroke-width",1.5).attr("d",ko().x(function(w){return f(w.date)}).y(function(w){return d(w.value)}));const v=m.selectAll("myCircles").data(l).enter().append("g");v.append("circle").attr("r",10).style("fill","transparent").style("cursor","pointer").attr("cx",function(w){return f(w.date)}).attr("cy",function(w){return d(w.value)}).classed("chart-point",!0),v.append("circle").attr("r",2).classed("pointer-events-none",!0).attr("cx",function(w){return f(w.date)}).attr("cy",function(w){return d(w.value)});const y=document.querySelector(".d3-tooltip"),b=y?Oi(y):Qh(Oi("body"),{classes:"border border-gray-300 bg-white p-2 rounded-md"});Jh(p.selectAll(".chart-point"),b,{useData:t.tooltipContent});const _=p.append("g").classed("releases-group",!0);ze.releases.forEach(w=>{const S=f(new Date(w.published_at));_.append("path").attr("stroke-width",1.5).attr("stroke-dasharray",4).attr("d",ko()([[S,d(0)],[S,d(u)]]))}),i.value.append(p.node())}return pt(()=>{s([t.data,t.startDate,t.endDate,t.maxY])}),Ze([()=>t.data,()=>t.startDate,()=>t.endDate,()=>t.maxY],s),(l,a)=>(E(),F("div",{ref_key:"container",ref:i},null,512))}});const I8={projects:e=>{const{normalize:t}=e;return t(["Projects"])},processors:e=>{const{normalize:t}=e;return t(["Processors"])},workflows:e=>{const{normalize:t}=e;return t(["Workflows"])},list:e=>{const{normalize:t}=e;return t(["List"])},table:e=>{const{normalize:t}=e;return t(["Table"])},sort_by:e=>{const{normalize:t}=e;return t(["Sort by"])},group_by:e=>{const{normalize:t}=e;return t(["Group by"])},documents:e=>{const{normalize:t}=e;return t(["Documents"])},no_content:e=>{const{normalize:t}=e;return t(["This view is not created yet. Please try again later. "])},no_gt_workspace:e=>{const{normalize:t}=e;return t(["No information about Ground Truth Workspace available"])},no_ocr_workflow:e=>{const{normalize:t}=e;return t(["No information about OCR Workflow available"])},no_document_metadata:e=>{const{normalize:t}=e;return t(["No information about the document available"])},unknown_workflow:e=>{const{normalize:t}=e;return t(["Unknown workflow"])},wall_time_asc:e=>{const{normalize:t}=e;return t(["Wall Time ascending"])},wall_time_desc:e=>{const{normalize:t}=e;return t(["Wall Time descending"])},cer_asc:e=>{const{normalize:t}=e;return t(["CER ascending"])},cer_desc:e=>{const{normalize:t}=e;return t(["CER descending"])},cer_min_asc:e=>{const{normalize:t}=e;return t(["CER Min ascending"])},cer_min_desc:e=>{const{normalize:t}=e;return t(["CER Min descending"])},cer_max_asc:e=>{const{normalize:t}=e;return t(["CER Max ascending"])},cer_max_desc:e=>{const{normalize:t}=e;return t(["CER Max descending"])},no_table_data:e=>{const{normalize:t}=e;return t(["No table data available"])},workflow_steps:e=>{const{normalize:t}=e;return t(["Workflow steps"])},external_repo_url:e=>{const{normalize:t}=e;return t(["External link to the repository"])},change:e=>{const{normalize:t}=e;return t(["Change"])},datasets_selected:e=>{const{normalize:t}=e;return t(["datasets selected"])},of:e=>{const{normalize:t}=e;return t(["of"])},select_all:e=>{const{normalize:t}=e;return t(["Select all"])},document:e=>{const{normalize:t}=e;return t(["Document"])},workflow:e=>{const{normalize:t}=e;return t(["Workflow"])},fastest:e=>{const{normalize:t}=e;return t(["Fastest"])},unreleased_changes:e=>{const{normalize:t}=e;return t(["unreleased changes"])},version:e=>{const{normalize:t}=e;return t(["Version"])},is_valid:e=>{const{normalize:t}=e;return t(["is valid"])},is_not_valid:e=>{const{normalize:t}=e;return t(["is not valid"])},dependency_conflicts:e=>{const{normalize:t}=e;return t(["Dependency conflicts"])},no_dependency_conflicts:e=>{const{normalize:t}=e;return t(["No dependency conflicts"])},additional_info:e=>{const{normalize:t}=e;return t(["Additional Info"])},error_repo_not_found:e=>{const{normalize:t}=e;return t(["No repository data found."])},timeline:e=>{const{normalize:t}=e;return t(["Timeline"])},cer_mean:e=>{const{normalize:t}=e;return t(["CER Mean"])},cer_median:e=>{const{normalize:t}=e;return t(["CER Median"])},wall_time:e=>{const{normalize:t}=e;return t(["Wall Time"])},cpu_time:e=>{const{normalize:t}=e;return t(["CPU Time"])},wer:e=>{const{normalize:t}=e;return t(["WER"])},pages_per_minute:e=>{const{normalize:t}=e;return t(["Pages per minute"])},cpu_standard_deviation:e=>{const{normalize:t}=e;return t(["CPU Standard Deviation"])},date:e=>{const{normalize:t}=e;return t(["Date"])},ground_truth:e=>{const{normalize:t}=e;return t(["Ground Truth"])},average:e=>{const{normalize:t}=e;return t(["Average"])},cer_standard_deviation:e=>{const{normalize:t}=e;return t(["CER Standard Deviation"])},positive:e=>{const{normalize:t}=e;return t(["positive"])},neutral:e=>{const{normalize:t}=e;return t(["neutral"])},negative:e=>{const{normalize:t}=e;return t(["negative"])},better:e=>{const{normalize:t}=e;return t(["better"])},equal:e=>{const{normalize:t}=e;return t(["equal"])},worse:e=>{const{normalize:t}=e;return t(["worse"])}},C8={details:e=>{const{normalize:t}=e;return t(["Details"])},documents:e=>{const{normalize:t}=e;return t(["Dokumente"])},group_by:e=>{const{normalize:t}=e;return t(["Gruppieren nach"])},layout:e=>{const{normalize:t}=e;return t(["Layout"])},list:e=>{const{normalize:t}=e;return t(["Liste"])},no_content:e=>{const{normalize:t}=e;return t(["Diese Ansicht befindet sich im Aufbau. Bitte schauen Sie später vorbei."])},no_description:e=>{const{normalize:t}=e;return t(["Keine Beschreibung verfügbar."])},number_of_pages:e=>{const{normalize:t}=e;return t(["Anzahl der Seiten"])},processors:e=>{const{normalize:t}=e;return t(["Prozessoren"])},projects:e=>{const{normalize:t}=e;return t(["Projekte"])},publication_century:e=>{const{normalize:t}=e;return t(["Jahrhundert"])},publication_year:e=>{const{normalize:t}=e;return t(["Erscheinungsjahr"])},sort_by:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},table:e=>{const{normalize:t}=e;return t(["Tabelle"])},workflows:e=>{const{normalize:t}=e;return t(["Workflows"])},no_gt_workspace:e=>{const{normalize:t}=e;return t(["Keine Informationen zum Ground Truth Workspace vorhanden"])},no_ocr_workflow:e=>{const{normalize:t}=e;return t(["Keine Informationen zum OCR Workflow vorhanden"])},no_document_metadata:e=>{const{normalize:t}=e;return t(["Keine Informationen zum Dokument vorhanden"])},unknown_workflow:e=>{const{normalize:t}=e;return t(["Unbekannter Workflow"])},wall_time_asc:e=>{const{normalize:t}=e;return t(["Wall Time aufsteigend"])},wall_time_desc:e=>{const{normalize:t}=e;return t(["Wall Time absteigend"])},cer_asc:e=>{const{normalize:t}=e;return t(["CER aufsteigend"])},cer_desc:e=>{const{normalize:t}=e;return t(["CER absteigend"])},cer_min_asc:e=>{const{normalize:t}=e;return t(["CER Min aufsteigend"])},cer_min_desc:e=>{const{normalize:t}=e;return t(["CER Min absteigend"])},cer_max_asc:e=>{const{normalize:t}=e;return t(["CER Max aufsteigend"])},cer_max_desc:e=>{const{normalize:t}=e;return t(["CER Max absteigend"])},no_table_data:e=>{const{normalize:t}=e;return t(["Keine Tabellendaten verfügbar"])},workflow_steps:e=>{const{normalize:t}=e;return t(["Workflowschritte"])},external_repo_url:e=>{const{normalize:t}=e;return t(["Externer Link zum Repository"])},change:e=>{const{normalize:t}=e;return t(["Ändern"])},datasets_selected:e=>{const{normalize:t}=e;return t(["Datasets ausgewählt"])},of:e=>{const{normalize:t}=e;return t(["von"])},select_all:e=>{const{normalize:t}=e;return t(["Alle auswählen"])},document:e=>{const{normalize:t}=e;return t(["Dokument"])},workflow:e=>{const{normalize:t}=e;return t(["Workflow"])},fastest:e=>{const{normalize:t}=e;return t(["Am schnellsten"])},unreleased_changes:e=>{const{normalize:t}=e;return t(["unveröffentliche Änderungen"])},version:e=>{const{normalize:t}=e;return t(["Version"])},is_valid:e=>{const{normalize:t}=e;return t(["ist gültig"])},is_not_valid:e=>{const{normalize:t}=e;return t(["ist ungültig"])},dependency_conflicts:e=>{const{normalize:t}=e;return t(["Konflikte mit Abhängigkeiten"])},no_dependency_conflicts:e=>{const{normalize:t}=e;return t(["Keine Konflikte mit Abhängigkeiten"])},additional_info:e=>{const{normalize:t}=e;return t(["Zusätzliche Info"])},error_repo_not_found:e=>{const{normalize:t}=e;return t(["Keine Daten zum Repository gefunden."])},timeline:e=>{const{normalize:t}=e;return t(["Chronik"])},cer_mean:e=>{const{normalize:t}=e;return t(["CER Durchschnitt"])},cer_median:e=>{const{normalize:t}=e;return t(["CER Median"])},wall_time:e=>{const{normalize:t}=e;return t(["Wall Time"])},cpu_time:e=>{const{normalize:t}=e;return t(["CPU Zeit"])},wer:e=>{const{normalize:t}=e;return t(["WER"])},pages_per_minute:e=>{const{normalize:t}=e;return t(["Seiten pro Minute"])},cpu_standard_deviation:e=>{const{normalize:t}=e;return t(["CPU Standardabweichung"])},date:e=>{const{normalize:t}=e;return t(["Datum"])},ground_truth:e=>{const{normalize:t}=e;return t(["Ground Truth"])},average:e=>{const{normalize:t}=e;return t(["Durchschnitt"])},cer_standard_deviation:e=>{const{normalize:t}=e;return t(["CER Standardabweichung"])},positive:e=>{const{normalize:t}=e;return t(["positiv"])},neutral:e=>{const{normalize:t}=e;return t(["neutral"])},negative:e=>{const{normalize:t}=e;return t(["negativ"])},better:e=>{const{normalize:t}=e;return t(["besser"])},equal:e=>{const{normalize:t}=e;return t(["gleich"])},worse:e=>{const{normalize:t}=e;return t(["schlechter"])}},i1=t2({locale:"en",messages:{en:I8,de:C8}}),{t:Wf}=i1.global;function o1(e,t){return`
- ${Kf("date")}: ${e.date.getDate()}.${e.date.getMonth()+1}.${e.date.getFullYear()} + ${Wf("date")}: ${e.date.getDate()}.${e.date.getMonth()+1}.${e.date.getFullYear()}
- ${Kf(t)}: ${Kp(t,e.value)} + ${Wf(t)}: ${Kp(t,e.value)}
- `}const Wf=10,Rs=10,Gf=30,Xi=40,T8=dt({__name:"BaseTimelineDetailedChart",props:{data:{},maxY:{},width:{},startDate:{},endDate:{},height:{},tooltipContent:{type:Function},yAxisTitle:{},higherIsPositive:{type:Boolean}},setup(e){const t=e,n=t.height||60,r=Ce(()=>t.width??300),i=fe();function o(l,a=!0){if(l.length===0)return 0;const c=l[l.length-1].value,u=l.length>1?l[l.length-2].value:c,f=a?c-u:u-c;return f===0?0:f>0?1:-1}function s([l,a,c,u]){if(!l||!a||!c||l.length===0)return;const f=Zh().domain([a,c]).range([Xi,r.value-Rs]),d=Ua().domain([0,u]).range([n-Gf,Wf]),p=_h("svg").attr("width",r.value-Rs).attr("height",n).classed("!overflow-visible",!0);p.append("g").classed("x-axis-group",!0).attr("transform",`translate(0,${n-Gf})`).call(ah(f).ticks(6).tickPadding(8).tickSize(5).tickFormat(Za("%d.%m.%Y"))),p.select(".x-axis-group .domain").attr("stroke",Ut.gray[400]),p.selectAll(".x-axis-group .tick text").attr("fill",Ut.gray[400]),p.append("g").classed("y-axis-group",!0).attr("transform",`translate(${Xi},0)`).call(ch(d).ticks(6).tickSize(0).tickPadding(5).tickSizeInner(-r.value+Xi+Rs)),p.append("text").attr("transform","rotate(-90)").attr("y",Xi-30).attr("x",-(n/2+Wf)).text(t.yAxisTitle??"").attr("fill",Ut.gray[400]),p.select(".y-axis-group .domain").attr("stroke",Ut.gray[400]),p.selectAll(".y-axis-group .tick text").attr("fill",Ut.gray[400]);const h=o(l,t.higherIsPositive),m=p.append("g").classed("path-group",!0).classed("trend-positive",h===1).classed("trend-negative",h===-1);m.append("path").datum(l).attr("stroke-width",1.5).attr("d",ko().x(function(w){return f(w.date)}).y(function(w){return d(w.value)}));const v=m.selectAll("myCircles").data(l).enter().append("g");v.append("circle").attr("r",10).style("fill","transparent").style("cursor","pointer").attr("cx",function(w){return f(w.date)}).attr("cy",function(w){return d(w.value)}).classed("chart-point",!0),v.append("circle").attr("r",2).classed("pointer-events-none",!0).attr("cx",function(w){return f(w.date)}).attr("cy",function(w){return d(w.value)});const y=document.querySelector(".d3-tooltip"),b=y?Oi(y):Qh(Oi("body"),{classes:"border border-gray-300 bg-white p-2 rounded-md"});Jh(p.selectAll(".chart-point"),b,{useData:t.tooltipContent});const _=p.append("g").classed("releases-group",!0);ze.releases.forEach(w=>{const S=f(new Date(w.published_at)),I=_.append("g");I.append("path").attr("stroke-width",1.5).attr("stroke-dasharray",4).attr("d",ko()([[S,d(0)],[S,d(u)]]));const j=I.append("g").attr("transform","translate(-79 0)");j.append("rect").attr("x",S).attr("y",d(u)).attr("width",80).attr("height",18).style("fill","white"),j.append("text").classed("tag-name",!0).attr("y",d(u)).attr("x",S).attr("dy",12).attr("dx",8).text(w.tag_name).attr("stroke","none").attr("fill",Ut.gray[600]).style("cursor","pointer"),I.on("mouseenter",function(H){this.parentElement.appendChild(this)})}),i.value&&(i.value.replaceChildren(),i.value.append(p.node()))}return pt(()=>{s([t.data,t.startDate,t.endDate,t.maxY])}),Ze([()=>t.data,()=>t.startDate,()=>t.endDate,()=>t.maxY],s),(l,a)=>(E(),F("div",{class:"svg-container",ref_key:"container",ref:i},null,512))}});const s1=Mn(T8,[["__scopeId","data-v-88c37366"]]),Qa=an({maxValues:{},setMaxValue(e,t){this.maxValues[e]=t},getMaxValue(e){return this.maxValues[e]??0}}),E8={class:"font-semibold"},M8=dt({__name:"MetricChart",props:{runs:{},metric:{},startDate:{},endDate:{},workflowName:{}},setup(e){const t=e,n=fe([]),r=Ce(()=>Qa.maxValues[t.metric]??0),i=fe(null);pt(async()=>{o()}),Ze(()=>t.metric,o);function o(){t.runs&&(n.value=s(t.runs,t.metric))}function s(a,c){return a.map(({metadata:u,evaluation_results:f})=>{const d=f.document_wide[c];return{date:new Date(u.timestamp),value:d}})}function l(a){return o1(a,t.metric)}return(a,c)=>(E(),F(ae,null,[M("div",{onClick:c[0]||(c[0]=u=>{var f;return(f=i.value)==null?void 0:f.toggle(u)}),class:"cursor-pointer flex justify-end"},[ie(r1,{data:n.value,"max-y":r.value,"start-date":a.startDate,"end-date":a.endDate,"tooltip-content":l,width:400},null,8,["data","max-y","start-date","end-date"])]),ie(Ie(Li),{ref_key:"op",ref:i,pt:{root:{class:"z-[1111] bg-white border rounded-md shadow-md p-5"}}},{default:He(()=>[M("h3",E8,ne(a.workflowName),1),ie(s1,{data:n.value,"max-y":r.value,"y-axis-title":a.$t(a.metric),"start-date":a.startDate,"end-date":a.endDate,"tooltip-content":l,height:400,width:660},null,8,["data","max-y","y-axis-title","start-date","end-date"])]),_:1},512)],64))}}),At={CER_MEAN:"cer_mean",CER_MEDIAN:"cer_median",WER:"wer",PAGES_PER_MINUTE:"pages_per_minute",CER_STANDARD_DEVIATION:"cer_standard_deviation",WALL_TIME:"wall_time",CPU_TIME:"cpu_time"};function A8(e,t=[]){const n=t.map(r=>{const i=r.evaluation_results.document_wide[e];return Array.isArray(i)?Math.max(...i):i??0})??[];return Math.max(...n)}function Yf(e){return e===At.CER_MEAN||e===At.CER_MEDIAN||e===At.CER_STANDARD_DEVIATION||e===At.WER||e===At.WALL_TIME?!1:e===At.PAGES_PER_MINUTE?!0:(e===At.CPU_TIME,!1)}const k8={class:"font-semibold"},j8=dt({__name:"MetricAverageChart",props:{runs:{},metric:{},startDate:{},endDate:{},workflowName:{}},setup(e){const t=e,n=fe([]),r=Ce(()=>Qa.maxValues[t.metric]??0),i=fe(null);pt(async()=>{o()}),Ze(()=>t.metric,o);function o(){t.runs&&(n.value=s(t.runs,t.metric))}function s(a,c){const u=a.reduce((f,d)=>{const p=new Date(new Date(d.metadata.timestamp).setHours(0,0,0,0)).toDateString(),h=d.evaluation_results.document_wide[c];return!h||Array.isArray(h)||(f[p]?f[p]=[...f[p],h]:f[p]=[h]),f},{});return Object.keys(u).sort((f,d)=>new Date(f)-new Date(d)).map(f=>{const d=u[f].reduce((p,h)=>p+h,0)/u[f].length;return{date:new Date(f),value:d}})}function l(a){return o1(a,t.metric)}return(a,c)=>(E(),F(ae,null,[M("div",{onClick:c[0]||(c[0]=u=>{var f;return(f=i.value)==null?void 0:f.toggle(u)}),class:"cursor-pointer flex justify-end"},[ie(r1,{data:n.value,"max-y":r.value,"start-date":a.startDate,"end-date":a.endDate,"tooltip-content":l,width:400,"higher-is-positive":Ie(Yf)(a.metric)},null,8,["data","max-y","start-date","end-date","higher-is-positive"])]),ie(Ie(Li),{ref_key:"op",ref:i,pt:{root:{class:"z-[1111] bg-white border rounded-md shadow-md p-5"}}},{default:He(()=>[M("h3",k8,ne(a.workflowName),1),ie(s1,{data:n.value,"max-y":r.value,"y-axis-title":a.$t(a.metric),"start-date":a.startDate,"end-date":a.endDate,"tooltip-content":l,height:400,width:660,"higher-is-positive":Ie(Yf)(a.metric)},null,8,["data","max-y","y-axis-title","start-date","end-date","higher-is-positive"])]),_:1},512)],64))}}),ti=/^[a-z0-9]+(-[a-z0-9]+)*$/,os=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const l=i.pop(),a=i.pop(),c={provider:i.length>0?i[0]:r,prefix:a,name:l};return t&&!so(c)?null:c}const o=i[0],s=o.split("-");if(s.length>1){const l={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!so(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:o};return t&&!so(l,n)?null:l}return null},so=(e,t)=>e?!!((e.provider===""||e.provider.match(ti))&&(t&&e.prefix===""||e.prefix.match(ti))&&e.name.match(ti)):!1,l1=Object.freeze({left:0,top:0,width:16,height:16}),jo=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ss=Object.freeze({...l1,...jo}),Rl=Object.freeze({...ss,body:"",hidden:!1});function P8(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function qf(e,t){const n=P8(e,t);for(const r in Rl)r in jo?r in e&&!(r in n)&&(n[r]=jo[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function L8(e,t){const n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function o(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const l=r[s]&&r[s].parent,a=l&&o(l);a&&(i[s]=[l].concat(a))}return i[s]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(o),i}function F8(e,t,n){const r=e.icons,i=e.aliases||Object.create(null);let o={};function s(l){o=qf(r[l]||i[l],o)}return s(t),n.forEach(s),qf(e,o)}function a1(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=L8(e);for(const i in r){const o=r[i];o&&(t(i,F8(e,i,o)),n.push(i))}return n}const $8={provider:"",aliases:{},not_found:{},...l1};function zs(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function c1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!zs(e,$8))return null;const n=t.icons;for(const i in n){const o=n[i];if(!i.match(ti)||typeof o.body!="string"||!zs(o,Rl))return null}const r=t.aliases||Object.create(null);for(const i in r){const o=r[i],s=o.parent;if(!i.match(ti)||typeof s!="string"||!n[s]&&!r[s]||!zs(o,Rl))return null}return t}const Zf=Object.create(null);function D8(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Yn(e,t){const n=Zf[e]||(Zf[e]=Object.create(null));return n[t]||(n[t]=D8(e,t))}function Ja(e,t){return c1(t)?a1(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function R8(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ti=!1;function u1(e){return typeof e=="boolean"&&(Ti=e),Ti}function z8(e){const t=typeof e=="string"?os(e,!0,Ti):e;if(t){const n=Yn(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function N8(e,t){const n=os(e,!0,Ti);if(!n)return!1;const r=Yn(n.provider,n.prefix);return R8(r,n.name,t)}function V8(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ti&&!t&&!e.prefix){let i=!1;return c1(e)&&(e.prefix="",a1(e,(o,s)=>{s&&N8(o,s)&&(i=!0)})),i}const n=e.prefix;if(!so({provider:t,prefix:n,name:"a"}))return!1;const r=Yn(t,n);return!!Ja(r,e)}const f1=Object.freeze({width:null,height:null}),d1=Object.freeze({...f1,...jo}),H8=/(-?[0-9.]*[0-9]+[0-9.]*)/g,B8=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Xf(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(H8);if(r===null||!r.length)return e;const i=[];let o=r.shift(),s=B8.test(o);for(;;){if(s){const l=parseFloat(o);isNaN(l)?i.push(o):i.push(Math.ceil(l*t*n)/n)}else i.push(o);if(o=r.shift(),o===void 0)return i.join("");s=!s}}const U8=e=>e==="unset"||e==="undefined"||e==="none";function K8(e,t){const n={...ss,...e},r={...d1,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(h=>{const m=[],v=h.hFlip,y=h.vFlip;let b=h.rotate;v?y?b+=2:(m.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),m.push("scale(-1 1)"),i.top=i.left=0):y&&(m.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),m.push("scale(1 -1)"),i.top=i.left=0);let _;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:_=i.height/2+i.top,m.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:m.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:_=i.width/2+i.left,m.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}b%2===1&&(i.left!==i.top&&(_=i.left,i.left=i.top,i.top=_),i.width!==i.height&&(_=i.width,i.width=i.height,i.height=_)),m.length&&(o=''+o+"")});const s=r.width,l=r.height,a=i.width,c=i.height;let u,f;s===null?(f=l===null?"1em":l==="auto"?c:l,u=Xf(f,a/c)):(u=s==="auto"?a:s,f=l===null?Xf(u,c/a):l==="auto"?c:l);const d={},p=(h,m)=>{U8(m)||(d[h]=m.toString())};return p("width",u),p("height",f),d.viewBox=i.left.toString()+" "+i.top.toString()+" "+a.toString()+" "+c.toString(),{attributes:d,body:o}}const W8=/\sid="(\S+)"/g,G8="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Y8=0;function q8(e,t=G8){const n=[];let r;for(;r=W8.exec(e);)n.push(r[1]);if(!n.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const s=typeof t=="function"?t(o):t+(Y8++).toString(),l=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+s+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const zl=Object.create(null);function Z8(e,t){zl[e]=t}function Nl(e){return zl[e]||zl[""]}function ec(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const tc=Object.create(null),zr=["https://api.simplesvg.com","https://api.unisvg.com"],lo=[];for(;zr.length>0;)zr.length===1||Math.random()>.5?lo.push(zr.shift()):lo.push(zr.pop());tc[""]=ec({resources:["https://api.iconify.design"].concat(lo)});function X8(e,t){const n=ec(t);return n===null?!1:(tc[e]=n,!0)}function nc(e){return tc[e]}const Q8=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Qf=Q8();function J8(e,t){const n=nc(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const o=t+".json?icons=";r=n.maxURL-i-n.path.length-o.length}return r}function eO(e){return e===404}const tO=(e,t,n)=>{const r=[],i=J8(e,t),o="icons";let s={type:o,provider:e,prefix:t,icons:[]},l=0;return n.forEach((a,c)=>{l+=a.length+1,l>=i&&c>0&&(r.push(s),s={type:o,provider:e,prefix:t,icons:[]},l=a.length),s.icons.push(a)}),r.push(s),r};function nO(e){if(typeof e=="string"){const t=nc(e);if(t)return t.path}return"/"}const rO=(e,t,n)=>{if(!Qf){n("abort",424);return}let r=nO(t.provider);switch(t.type){case"icons":{const o=t.prefix,l=t.icons.join(","),a=new URLSearchParams({icons:l});r+=o+".json?"+a.toString();break}case"custom":{const o=t.uri;r+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let i=503;Qf(e+r).then(o=>{const s=o.status;if(s!==200){setTimeout(()=>{n(eO(s)?"abort":"next",s)});return}return i=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",i)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",i)})},iO={prepare:tO,send:rO};function oO(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,o)=>i.provider!==o.provider?i.provider.localeCompare(o.provider):i.prefix!==o.prefix?i.prefix.localeCompare(o.prefix):i.name.localeCompare(o.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const o=i.provider,s=i.prefix,l=i.name,a=n[o]||(n[o]=Object.create(null)),c=a[s]||(a[s]=Yn(o,s));let u;l in c.icons?u=t.loaded:s===""||c.missing.has(l)?u=t.missing:u=t.pending;const f={provider:o,prefix:s,name:l};u.push(f)}),t}function p1(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function sO(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(o=>{const s=o.icons,l=s.pending.length;s.pending=s.pending.filter(a=>{if(a.prefix!==i)return!0;const c=a.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==l&&(n||p1([e],o.id),o.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),o.abort))})}))}let lO=0;function aO(e,t,n){const r=lO++,i=p1.bind(null,n,r);if(!t.pending.length)return i;const o={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(o)}),i}function cO(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const o=typeof i=="string"?os(i,t,n):i;o&&r.push(o)}),r}var uO={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function fO(e,t,n,r){const i=e.resources.length,o=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let I=e.resources.slice(0);for(s=[];I.length>1;){const j=Math.floor(Math.random()*I.length);s.push(I[j]),I=I.slice(0,j).concat(I.slice(j+1))}s=s.concat(I)}else s=e.resources.slice(o).concat(e.resources.slice(0,o));const l=Date.now();let a="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function h(){f&&(clearTimeout(f),f=null)}function m(){a==="pending"&&(a="aborted"),h(),d.forEach(I=>{I.status==="pending"&&(I.status="aborted")}),d=[]}function v(I,j){j&&(p=[]),typeof I=="function"&&p.push(I)}function y(){return{startTime:l,payload:t,status:a,queriesSent:c,queriesPending:d.length,subscribe:v,abort:m}}function b(){a="failed",p.forEach(I=>{I(void 0,u)})}function _(){d.forEach(I=>{I.status==="pending"&&(I.status="aborted")}),d=[]}function w(I,j,H){const Z=j!=="success";switch(d=d.filter(q=>q!==I),a){case"pending":break;case"failed":if(Z||!e.dataAfterTimeout)return;break;default:return}if(j==="abort"){u=H,b();return}if(Z){u=H,d.length||(s.length?S():b());return}if(h(),_(),!e.random){const q=e.resources.indexOf(I.resource);q!==-1&&q!==e.index&&(e.index=q)}a="completed",p.forEach(q=>{q(H)})}function S(){if(a!=="pending")return;h();const I=s.shift();if(I===void 0){if(d.length){f=setTimeout(()=>{h(),a==="pending"&&(_(),b())},e.timeout);return}b();return}const j={status:"pending",resource:I,callback:(H,Z)=>{w(j,H,Z)}};d.push(j),c++,f=setTimeout(S,e.rotate),n(I,t,j.callback)}return setTimeout(S),y}function h1(e){const t={...uO,...e};let n=[];function r(){n=n.filter(l=>l().status==="pending")}function i(l,a,c){const u=fO(t,l,a,(f,d)=>{r(),c&&c(f,d)});return n.push(u),u}function o(l){return n.find(a=>l(a))||null}return{query:i,find:o,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function Jf(){}const Ns=Object.create(null);function dO(e){if(!Ns[e]){const t=nc(e);if(!t)return;const n=h1(t),r={config:t,redundancy:n};Ns[e]=r}return Ns[e]}function pO(e,t,n){let r,i;if(typeof e=="string"){const o=Nl(e);if(!o)return n(void 0,424),Jf;i=o.send;const s=dO(e);s&&(r=s.redundancy)}else{const o=ec(e);if(o){r=h1(o);const s=e.resources?e.resources[0]:"",l=Nl(s);l&&(i=l.send)}}return!r||!i?(n(void 0,424),Jf):r.query(t,i,n)().abort}const ed="iconify2",Ei="iconify",m1=Ei+"-count",td=Ei+"-version",g1=36e5,hO=168;function Vl(e,t){try{return e.getItem(t)}catch{}}function rc(e,t,n){try{return e.setItem(t,n),!0}catch{}}function nd(e,t){try{e.removeItem(t)}catch{}}function Hl(e,t){return rc(e,m1,t.toString())}function Bl(e){return parseInt(Vl(e,m1))||0}const ls={local:!0,session:!0},y1={local:new Set,session:new Set};let ic=!1;function mO(e){ic=e}let Qi=typeof window>"u"?{}:window;function v1(e){const t=e+"Storage";try{if(Qi&&Qi[t]&&typeof Qi[t].length=="number")return Qi[t]}catch{}ls[e]=!1}function b1(e,t){const n=v1(e);if(!n)return;const r=Vl(n,td);if(r!==ed){if(r){const l=Bl(n);for(let a=0;a{const a=Ei+l.toString(),c=Vl(n,a);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}nd(n,a)}};let s=Bl(n);for(let l=s-1;l>=0;l--)o(l)||(l===s-1?(s--,Hl(n,s)):y1[e].add(l))}function x1(){if(!ic){mO(!0);for(const e in ls)b1(e,t=>{const n=t.data,r=t.provider,i=n.prefix,o=Yn(r,i);if(!Ja(o,n).length)return!1;const s=n.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,s):s,!0})}}function gO(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in ls)b1(r,i=>{const o=i.data;return i.provider!==e.provider||o.prefix!==e.prefix||o.lastModified===t});return!0}function yO(e,t){ic||x1();function n(r){let i;if(!ls[r]||!(i=v1(r)))return;const o=y1[r];let s;if(o.size)o.delete(s=Array.from(o).shift());else if(s=Bl(i),!Hl(i,s+1))return;const l={cached:Math.floor(Date.now()/g1),provider:e.provider,data:t};return rc(i,Ei+s.toString(),JSON.stringify(l))}t.lastModified&&!gO(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function rd(){}function vO(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,sO(e)}))}function bO(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let o;if(!i||!(o=Nl(n)))return;o.prepare(n,r,i).forEach(l=>{pO(n,l,a=>{if(typeof a!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=Ja(e,a);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),yO(e,a)}catch(c){console.error(c)}vO(e)})})}))}const xO=(e,t)=>{const n=cO(e,!0,u1()),r=oO(n);if(!r.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(r.loaded,r.missing,r.pending,rd)}),()=>{a=!1}}const i=Object.create(null),o=[];let s,l;return r.pending.forEach(a=>{const{provider:c,prefix:u}=a;if(u===l&&c===s)return;s=c,l=u,o.push(Yn(c,u));const f=i[c]||(i[c]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(a=>{const{provider:c,prefix:u,name:f}=a,d=Yn(c,u),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(f)||(p.add(f),i[c][u].push(f))}),o.forEach(a=>{const{provider:c,prefix:u}=a;i[c][u].length&&bO(a,i[c][u])}),t?aO(t,r,o):rd};function wO(e,t){const n={...e};for(const r in t){const i=t[r],o=typeof i;r in f1?(i===null||i&&(o==="string"||o==="number"))&&(n[r]=i):o===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const _O=/[\s,]+/;function OO(e,t){t.split(_O).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function SO(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o=o/i,o%1===0?r(o):0)}}return t}function IO(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function CO(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function TO(e){return"data:image/svg+xml,"+CO(e)}function EO(e){return'url("'+TO(e)+'")'}const id={...d1,inline:!1},MO={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},AO={display:"inline-block"},Ul={backgroundColor:"currentColor"},w1={backgroundColor:"transparent"},od={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},sd={webkitMask:Ul,mask:Ul,background:w1};for(const e in sd){const t=sd[e];for(const n in od)t[e+n]=od[n]}const ao={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ao[e+"-flip"]=t,ao[e.slice(0,1)+"-flip"]=t,ao[e+"Flip"]=t});function ld(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const ad=(e,t)=>{const n=wO(id,t),r={...MO},i=t.mode||"svg",o={},s=t.style,l=typeof s=="object"&&!(s instanceof Array)?s:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&OO(n,v);break;case"color":o.color=v;break;case"rotate":typeof v=="string"?n[m]=SO(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete r["aria-hidden"];break;default:{const y=ao[m];y?(v===!0||v==="true"||v===1)&&(n[y]=!0):id[m]===void 0&&(r[m]=v)}}}const a=K8(e,n),c=a.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),i==="svg"){r.style={...o,...l},Object.assign(r,c);let m=0,v=t.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),r.innerHTML=q8(a.body,v?()=>v+"ID"+m++:"iconifyVue"),Un("svg",r)}const{body:u,width:f,height:d}=e,p=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=IO(u,{...c,width:f+"",height:d+""});return r.style={...o,"--svg":EO(h),width:ld(c.width),height:ld(c.height),...AO,...p?Ul:w1,...l},Un("span",r)};u1(!0);Z8("",iO);if(typeof document<"u"&&typeof window<"u"){x1();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!V8(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;X8(n,i)||console.error(r)}catch{console.error(r)}}}}const kO={...ss,body:""},jO=dt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=os(e,!1,!0))===null)return this.abortLoading(),null;const r=z8(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:xO([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return ad(kO,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),ad({...ss,...t.data},n)}}),PO={root:({props:e})=>({class:["cursor-pointer inline-flex relative select-none","bg-white border border-gray-300 transition-colors duration-200 ease-in-out rounded-md","dark:bg-gray-900 dark:border-primary-900/40 dark:hover:border-primary-300","w-full md:w-56","hover:border-primary focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),input:({props:e})=>({class:["cursor-pointer block flex flex-auto overflow-hidden text-ellipsis whitespace-nowrap relative","bg-transparent border-0 text-gray-800","dark:text-white/80","p-3 transition duration-200 bg-transparent rounded appearance-none font-sans text-base","focus:outline-none focus:shadow-none",{"pr-7":e.showClear}]}),trigger:{class:["flex items-center justify-center shrink-0","bg-transparent text-gray-500 w-12 rounded-tr-lg rounded-br-lg"]},wrapper:{class:["max-h-[200px] overflow-auto","bg-white text-gray-700 border-0 rounded-md shadow-lg","dark:bg-gray-900 dark:text-white/80"]},list:{class:"py-3 list-none m-0"},item:({context:e})=>({class:["cursor-pointer font-normal overflow-hidden relative whitespace-nowrap","m-0 p-3 border-0 transition-shadow duration-200 rounded-none",{"text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800":!e.focused&&!e.selected,"bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800":e.focused&&!e.selected,"bg-primary-100 text-primary dark:bg-primary-400 dark:text-white/80":e.focused&&e.selected,"bg-primary-50 text-primary dark:bg-primary-300 dark:text-white/80":!e.focused&&e.selected}]}),itemgroup:{class:["m-0 p-3 text-gray-800 bg-white font-bold","dark:bg-gray-900 dark:text-white/80","cursor-auto"]},header:{class:["p-3 border-b border-gray-300 text-gray-700 bg-gray-100 mt-0 rounded-tl-lg rounded-tr-lg","dark:bg-gray-800 dark:text-white/80 dark:border-primary-900/40"]},filtercontainer:{class:"relative"},filterinput:{class:["pr-7 -mr-7","w-full","font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none","dark:bg-gray-900 dark:border-primary-900/40 dark:hover:border-primary-300 dark:text-white/80","hover:border-primary focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]"]},filtericon:{class:"-mt-2 absolute top-1/2"},clearicon:{class:"text-gray-500 right-12 -mt-2 absolute top-1/2"}},LO={root:"bg-white border border-gray-300 rounded-md"},FO=e=>(oa("data-v-de6ec224"),e=e(),sa(),e),$O={class:"flex w-full px-4 pb-2"},DO=["title"],RO={class:"w-1/2 flex justify-end"},zO={class:"flex overflow-x-auto"},NO={class:"flex border-t border-gray-300 py-4 px-4"},VO={class:"table-fixed w-full"},HO={class:""},BO={class:"text-left pb-4"},UO={class:"text-left pb-4"},KO={class:"text-right pr-[314px] pb-4"},WO={class:"font-semibold pe-2"},GO={class:"p-1 overflow-x-auto"},YO=["onClick"],qO={class:"overflow-x-auto"},ZO={class:"flex flex-col pt-2"},XO={class:"font-bold px-2 pb-2 mb-2 border-b border-gray-300"},QO={class:"overflow-y-auto max-h-[400px] w-full"},JO={key:0,class:"text-sm border-collapse"},eS=FO(()=>M("tr",{class:""},[M("th",{class:"p-1 pl-2 font-semibold"},"Parameter"),M("th",{class:"p-1 pr-2 font-semibold"},"Value")],-1)),tS={class:"p-1 pl-2 border-collapse border border-l-0 border-b-0 border-gray-300"},nS={class:"p-1 pr-2 border-collapse border border-r-0 border-b-0 border-gray-300"},rS=dt({__name:"TimelineItem",props:{gt:{},metric:{}},setup(e){const t=fe(),n=fe(!1),r=fe(null),i=fe(new Date("2023-10-01")),o=fe(new Date),s=fe([]);pt(()=>{s.value=ze.workflows});function l(f){return Uw[f]}function a(f,d){var p;r.value=f,(p=t.value)==null||p.show(d)}function c(){var f;(f=t.value)==null||f.hide()}function u(f,d){n.value?(c(),r.value!==f&&Vo(()=>{a(f,d)})):a(f,d)}return(f,d)=>(E(),F(ae,null,[ie(Ie(sh),{header:"Header",toggleable:"",collapsed:!0,unstyled:"",pt:{root:"border border-gray-300 rounded-lg overflow-hidden",header:"pt-4",content:"",icons:"w-full flex",toggler:"w-full flex justify-center bg-gray-50 text-gray-500 p-2 hover:bg-gray-100 rounded hover:text-gray-700 focus:outline-none"}},{header:He(()=>[M("div",$O,[M("h2",{class:"w-1/2 text-xl font-bold flex-shrink-0 truncate",title:f.gt.label},ne(f.gt.label),9,DO),M("div",RO,[M("div",zO,[ie(j8,{"workflow-name":f.$t("average"),runs:Ie(ze).getRuns(f.gt.id),metric:f.metric,class:"",width:400,"start-date":i.value,"end-date":o.value},null,8,["workflow-name","runs","metric","start-date","end-date"])])])])]),default:He(()=>[M("div",NO,[M("table",VO,[M("thead",null,[M("tr",HO,[M("th",BO,ne(f.$t("workflows")),1),M("th",UO,ne(f.$t("processors")),1),M("th",KO,ne(f.$t("timeline")),1)])]),M("tbody",null,[(E(!0),F(ae,null,qe(s.value,p=>(E(),F("tr",{key:p.id},[M("td",WO,ne(p.label),1),M("td",GO,[(E(!0),F(ae,null,qe(p.steps,h=>(E(),F("span",{key:h.id,class:"p-1 cursor-pointer",onClick:m=>u(h,m)},ne(l(h.id)),9,YO))),128))]),M("td",qO,[ie(M8,{runs:Ie(ze).getRuns(f.gt.id,p.id),"workflow-name":p.label,metric:f.metric,width:400,"start-date":i.value,"end-date":o.value,class:"flex justify-end"},null,8,["runs","workflow-name","metric","start-date","end-date"])])]))),128))])])])]),togglericon:He(({collapsed:p})=>[ie(Ie(jO),{icon:p?"bi:chevron-down":"bi:chevron-up"},null,8,["icon"])]),_:1}),ie(Ie(Li),{ref_key:"op",ref:t,pt:Ie(LO),onShow:d[0]||(d[0]=p=>n.value=!0),onHide:d[1]||(d[1]=p=>n.value=!1)},{default:He(()=>{var p;return[M("div",ZO,[M("h2",XO,ne((p=r.value)==null?void 0:p.id),1),M("div",QO,[r.value?(E(),F("table",JO,[eS,(E(!0),F(ae,null,qe(Object.keys(r.value.params),h=>(E(),F("tr",{key:h},[M("td",tS,ne(h),1),M("td",nS,ne(r.value.params[h]),1)]))),128))])):me("",!0)])])]}),_:1},8,["pt"])],64))}});const iS=Mn(rS,[["__scopeId","data-v-de6ec224"]]),oS={class:"flex flex-col"},sS={class:"flex w-full mb-4"},lS={class:"flex flex-col space-y-6"},aS={key:1,class:"my-6"},cS=dt({__name:"WorkflowsTimeline",setup(e){const{t}=En(),n=Ce(()=>ze.gt.filter(({id:l})=>_n.gt.findIndex(({value:a})=>a===l)>-1)),r=fe([]),i=fe(null),o=Ce(()=>Object.keys(At).map(l=>({value:At[l],label:t(At[l])}))),s=Ce(()=>{var l;return((l=i.value)==null?void 0:l.value)||At.CER_MEAN});return pt(async()=>{i.value=o.value[0],r.value=ze.workflows}),Ze(i,()=>Qa.setMaxValue(s.value,A8(s.value,ze.runs)),{immediate:!0}),(l,a)=>(E(),F("div",oS,[M("div",sS,[ie(Ie(ka),{modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=c=>i.value=c),options:o.value,pt:Ie(PO),optionLabel:"label",placeholder:"Select a metric",class:"ml-auto md:w-14rem",unstyled:""},null,8,["modelValue","options","pt"])]),ie(Zp,{class:"ml-auto mb-4"}),M("div",lS,[n.value.length>0?(E(!0),F(ae,{key:0},qe(n.value,c=>(E(),Le(iS,{key:c.id,gt:c,metric:s.value},null,8,["gt","metric"]))),128)):(E(),F("div",aS,"An error has occurred. Please try again later!"))])]))}}),uS=M("div",{class:"flex mb-6"},[M("p",{class:"text-amber-600 flex-grow-0 px-4 py-2 bg-amber-100 rounded-md text-sm"},[M("span",{class:"font-semibold"},"Disclaimer:"),Je(" This is an experimental view.")])],-1),fS={class:"flex mb-6"},dS={key:0},pS=dt({__name:"Workflows",setup(e){const{t}=En(),n=fe([]),r=fe([]),i=_p(),o=Qg(),s=fe(!1),l=fe([{name:t("timeline"),value:"timeline"},{name:t("table"),value:"table"}]),a=fe(l.value[0]);return Ze(()=>_n.gt,()=>{r.value=n.value.filter(({metadata:c})=>_n.gt.findIndex(({value:u})=>u===Jt(c.gt_workspace.id))>-1)}),Ze(a,({value:c})=>{i.push({query:{view:c}})}),pt(async()=>{await i.isReady(),s.value=!0;const c=l.value.find(f=>o.query.view&&o.query.view===f.value);c&&(a.value=c),ze.runs=await hr.getRuns(),ze.gt=await hr.getGroundTruth(),ze.workflows=await hr.getWorkflows(),ze.runs.forEach(f=>{const d=Jt(f.metadata.gt_workspace.id);ze.gt.find(p=>p.id===d)||console.log(d)});const u=ze.runs.reduce((f,d)=>(f[d.metadata.release_info.tag_name]=d.metadata.release_info,f),{});ze.releases=Object.keys(u).map(f=>u[f]),Bv(ze.runs),s.value=!1}),(c,u)=>s.value?(E(),F(ae,{key:0},[Je(" Loading... ")],64)):(E(),F(ae,{key:1},[uS,M("div",fS,[ie(Ie(rh),{modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=f=>a.value=f),options:l.value,optionLabel:"name"},null,8,["modelValue","options"]),ie(Qx,{class:"ml-auto"})]),a.value?(E(),F("div",dS,[a.value.value==="timeline"?(E(),Le(cS,{key:0})):(E(),Le(cx,{key:1}))])):me("",!0)],64))}}),Kl=an({repos:[],releases:[],evaluations:[],metricDefinitions:{},gtList:[],workflows:[],setGTList(e){this.gtList=e},setWorkflows(e){this.workflows=e},setRepos(e){this.repos=e},setReleases(e){this.releases=e},setEvaluations(e){this.evaluations=e},setMetricDefinitions(e){this.metricDefinitions=e},getRepoById(e){return this.repos.find(t=>t.id===e)}});var _1={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(typeof self<"u"?self:b8,function(){return function(n){var r={};function i(o){if(r[o])return r[o].exports;var s=r[o]={i:o,l:!1,exports:{}};return n[o].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=n,i.c=r,i.d=function(o,s,l){i.o(o,s)||Object.defineProperty(o,s,{configurable:!1,enumerable:!0,get:l})},i.r=function(o){Object.defineProperty(o,"__esModule",{value:!0})},i.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(s,"a",s),s},i.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},i.p="",i(i.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,r,i){var o,s;/*! + `}const Gf=10,zs=10,Yf=30,Xi=40,T8=dt({__name:"BaseTimelineDetailedChart",props:{data:{},maxY:{},width:{},startDate:{},endDate:{},height:{},tooltipContent:{type:Function},yAxisTitle:{},higherIsPositive:{type:Boolean}},setup(e){const t=e,n=t.height||60,r=Ce(()=>t.width??300),i=fe();function o(l,a=!0){if(l.length===0)return 0;const c=l[l.length-1].value,u=l.length>1?l[l.length-2].value:c,f=a?c-u:u-c;return f===0?0:f>0?1:-1}function s([l,a,c,u]){if(!l||!a||!c||l.length===0)return;const f=Zh().domain([a,c]).range([Xi,r.value-zs]),d=Ka().domain([0,u]).range([n-Yf,Gf]),p=_h("svg").attr("width",r.value-zs).attr("height",n).classed("!overflow-visible",!0);p.append("g").classed("x-axis-group",!0).attr("transform",`translate(0,${n-Yf})`).call(ah(f).ticks(6).tickPadding(8).tickSize(5).tickFormat(Xa("%d.%m.%Y"))),p.select(".x-axis-group .domain").attr("stroke",Ut.gray[400]),p.selectAll(".x-axis-group .tick text").attr("fill",Ut.gray[400]),p.append("g").classed("y-axis-group",!0).attr("transform",`translate(${Xi},0)`).call(ch(d).ticks(6).tickSize(0).tickPadding(5).tickSizeInner(-r.value+Xi+zs)),p.append("text").attr("transform","rotate(-90)").attr("y",Xi-30).attr("x",-(n/2+Gf)).text(t.yAxisTitle??"").attr("fill",Ut.gray[400]),p.select(".y-axis-group .domain").attr("stroke",Ut.gray[400]),p.selectAll(".y-axis-group .tick text").attr("fill",Ut.gray[400]);const h=o(l,t.higherIsPositive),m=p.append("g").classed("path-group",!0).classed("trend-positive",h===1).classed("trend-negative",h===-1);m.append("path").datum(l).attr("stroke-width",1.5).attr("d",ko().x(function(w){return f(w.date)}).y(function(w){return d(w.value)}));const v=m.selectAll("myCircles").data(l).enter().append("g");v.append("circle").attr("r",10).style("fill","transparent").style("cursor","pointer").attr("cx",function(w){return f(w.date)}).attr("cy",function(w){return d(w.value)}).classed("chart-point",!0),v.append("circle").attr("r",2).classed("pointer-events-none",!0).attr("cx",function(w){return f(w.date)}).attr("cy",function(w){return d(w.value)});const y=document.querySelector(".d3-tooltip"),b=y?Oi(y):Qh(Oi("body"),{classes:"border border-gray-300 bg-white p-2 rounded-md"});Jh(p.selectAll(".chart-point"),b,{useData:t.tooltipContent});const _=p.append("g").classed("releases-group",!0);ze.releases.forEach(w=>{const S=f(new Date(w.published_at)),I=_.append("g");I.append("path").attr("stroke-width",1.5).attr("stroke-dasharray",4).attr("d",ko()([[S,d(0)],[S,d(u)]]));const j=I.append("g").attr("transform","translate(-79 0)");j.append("rect").attr("x",S).attr("y",d(u)).attr("width",80).attr("height",18).style("fill","white"),j.append("text").classed("tag-name",!0).attr("y",d(u)).attr("x",S).attr("dy",12).attr("dx",8).text(w.tag_name).attr("stroke","none").attr("fill",Ut.gray[600]).style("cursor","pointer"),I.on("mouseenter",function(H){this.parentElement.appendChild(this)})}),i.value&&(i.value.replaceChildren(),i.value.append(p.node()))}return pt(()=>{s([t.data,t.startDate,t.endDate,t.maxY])}),Ze([()=>t.data,()=>t.startDate,()=>t.endDate,()=>t.maxY],s),(l,a)=>(E(),F("div",{class:"svg-container",ref_key:"container",ref:i},null,512))}});const s1=Mn(T8,[["__scopeId","data-v-88c37366"]]),Ja=an({maxValues:{},setMaxValue(e,t){this.maxValues[e]=t},getMaxValue(e){return this.maxValues[e]??0}}),At={CER_MEAN:"cer_mean",CER_MEDIAN:"cer_median",WER:"wer",PAGES_PER_MINUTE:"pages_per_minute",CER_STANDARD_DEVIATION:"cer_standard_deviation",WALL_TIME:"wall_time",CPU_TIME:"cpu_time"};function E8(e,t=[]){const n=t.map(r=>{const i=r.evaluation_results.document_wide[e];return Array.isArray(i)?Math.max(...i):i??0})??[];return Math.max(...n)}function jo(e){return e===At.CER_MEAN||e===At.CER_MEDIAN||e===At.CER_STANDARD_DEVIATION||e===At.WER||e===At.WALL_TIME?!1:e===At.PAGES_PER_MINUTE?!0:(e===At.CPU_TIME,!1)}const M8={class:"font-semibold"},A8=dt({__name:"MetricChart",props:{runs:{},metric:{},startDate:{},endDate:{},workflowName:{}},setup(e){const t=e,n=fe([]),r=Ce(()=>Ja.maxValues[t.metric]??0),i=fe(null);pt(async()=>{o()}),Ze(()=>t.metric,o);function o(){t.runs&&(n.value=s(t.runs,t.metric))}function s(a,c){return a.map(({metadata:u,evaluation_results:f})=>{const d=f.document_wide[c];return{date:new Date(u.timestamp),value:d}})}function l(a){return o1(a,t.metric)}return(a,c)=>(E(),F(ae,null,[M("div",{onClick:c[0]||(c[0]=u=>{var f;return(f=i.value)==null?void 0:f.toggle(u)}),class:"cursor-pointer flex justify-end"},[ie(r1,{data:n.value,"max-y":r.value,"start-date":a.startDate,"end-date":a.endDate,"tooltip-content":l,width:400,"higher-is-positive":Oe(jo)(a.metric)},null,8,["data","max-y","start-date","end-date","higher-is-positive"])]),ie(Oe(Li),{ref_key:"op",ref:i,pt:{root:{class:"z-[1111] bg-white border rounded-md shadow-md p-5"}}},{default:He(()=>[M("h3",M8,ne(a.workflowName),1),ie(s1,{data:n.value,"max-y":r.value,"y-axis-title":a.$t(a.metric),"start-date":a.startDate,"end-date":a.endDate,"tooltip-content":l,height:400,width:660,"higher-is-positive":Oe(jo)(a.metric)},null,8,["data","max-y","y-axis-title","start-date","end-date","higher-is-positive"])]),_:1},512)],64))}}),k8={class:"font-semibold"},j8=dt({__name:"MetricAverageChart",props:{runs:{},metric:{},startDate:{},endDate:{},workflowName:{}},setup(e){const t=e,n=fe([]),r=Ce(()=>Ja.maxValues[t.metric]??0),i=fe(null);pt(async()=>{o()}),Ze(()=>t.metric,o);function o(){t.runs&&(n.value=s(t.runs,t.metric))}function s(a,c){const u=a.reduce((f,d)=>{const p=new Date(new Date(d.metadata.timestamp).setHours(0,0,0,0)).toDateString(),h=d.evaluation_results.document_wide[c];return!h||Array.isArray(h)||(f[p]?f[p]=[...f[p],h]:f[p]=[h]),f},{});return Object.keys(u).sort((f,d)=>new Date(f)-new Date(d)).map(f=>{const d=u[f].reduce((p,h)=>p+h,0)/u[f].length;return{date:new Date(f),value:d}})}function l(a){return o1(a,t.metric)}return(a,c)=>(E(),F(ae,null,[M("div",{onClick:c[0]||(c[0]=u=>{var f;return(f=i.value)==null?void 0:f.toggle(u)}),class:"cursor-pointer flex justify-end"},[ie(r1,{data:n.value,"max-y":r.value,"start-date":a.startDate,"end-date":a.endDate,"tooltip-content":l,width:400,"higher-is-positive":Oe(jo)(a.metric)},null,8,["data","max-y","start-date","end-date","higher-is-positive"])]),ie(Oe(Li),{ref_key:"op",ref:i,pt:{root:{class:"z-[1111] bg-white border rounded-md shadow-md p-5"}}},{default:He(()=>[M("h3",k8,ne(a.workflowName),1),ie(s1,{data:n.value,"max-y":r.value,"y-axis-title":a.$t(a.metric),"start-date":a.startDate,"end-date":a.endDate,"tooltip-content":l,height:400,width:660,"higher-is-positive":Oe(jo)(a.metric)},null,8,["data","max-y","y-axis-title","start-date","end-date","higher-is-positive"])]),_:1},512)],64))}}),ti=/^[a-z0-9]+(-[a-z0-9]+)*$/,ss=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const l=i.pop(),a=i.pop(),c={provider:i.length>0?i[0]:r,prefix:a,name:l};return t&&!so(c)?null:c}const o=i[0],s=o.split("-");if(s.length>1){const l={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!so(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:o};return t&&!so(l,n)?null:l}return null},so=(e,t)=>e?!!((e.provider===""||e.provider.match(ti))&&(t&&e.prefix===""||e.prefix.match(ti))&&e.name.match(ti)):!1,l1=Object.freeze({left:0,top:0,width:16,height:16}),Po=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ls=Object.freeze({...l1,...Po}),zl=Object.freeze({...ls,body:"",hidden:!1});function P8(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function qf(e,t){const n=P8(e,t);for(const r in zl)r in Po?r in e&&!(r in n)&&(n[r]=Po[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function L8(e,t){const n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function o(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const l=r[s]&&r[s].parent,a=l&&o(l);a&&(i[s]=[l].concat(a))}return i[s]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(o),i}function F8(e,t,n){const r=e.icons,i=e.aliases||Object.create(null);let o={};function s(l){o=qf(r[l]||i[l],o)}return s(t),n.forEach(s),qf(e,o)}function a1(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=L8(e);for(const i in r){const o=r[i];o&&(t(i,F8(e,i,o)),n.push(i))}return n}const $8={provider:"",aliases:{},not_found:{},...l1};function Ns(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function c1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ns(e,$8))return null;const n=t.icons;for(const i in n){const o=n[i];if(!i.match(ti)||typeof o.body!="string"||!Ns(o,zl))return null}const r=t.aliases||Object.create(null);for(const i in r){const o=r[i],s=o.parent;if(!i.match(ti)||typeof s!="string"||!n[s]&&!r[s]||!Ns(o,zl))return null}return t}const Zf=Object.create(null);function D8(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Yn(e,t){const n=Zf[e]||(Zf[e]=Object.create(null));return n[t]||(n[t]=D8(e,t))}function ec(e,t){return c1(t)?a1(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function R8(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ti=!1;function u1(e){return typeof e=="boolean"&&(Ti=e),Ti}function z8(e){const t=typeof e=="string"?ss(e,!0,Ti):e;if(t){const n=Yn(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function N8(e,t){const n=ss(e,!0,Ti);if(!n)return!1;const r=Yn(n.provider,n.prefix);return R8(r,n.name,t)}function V8(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ti&&!t&&!e.prefix){let i=!1;return c1(e)&&(e.prefix="",a1(e,(o,s)=>{s&&N8(o,s)&&(i=!0)})),i}const n=e.prefix;if(!so({provider:t,prefix:n,name:"a"}))return!1;const r=Yn(t,n);return!!ec(r,e)}const f1=Object.freeze({width:null,height:null}),d1=Object.freeze({...f1,...Po}),H8=/(-?[0-9.]*[0-9]+[0-9.]*)/g,B8=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Xf(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(H8);if(r===null||!r.length)return e;const i=[];let o=r.shift(),s=B8.test(o);for(;;){if(s){const l=parseFloat(o);isNaN(l)?i.push(o):i.push(Math.ceil(l*t*n)/n)}else i.push(o);if(o=r.shift(),o===void 0)return i.join("");s=!s}}const U8=e=>e==="unset"||e==="undefined"||e==="none";function K8(e,t){const n={...ls,...e},r={...d1,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(h=>{const m=[],v=h.hFlip,y=h.vFlip;let b=h.rotate;v?y?b+=2:(m.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),m.push("scale(-1 1)"),i.top=i.left=0):y&&(m.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),m.push("scale(1 -1)"),i.top=i.left=0);let _;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:_=i.height/2+i.top,m.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:m.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:_=i.width/2+i.left,m.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}b%2===1&&(i.left!==i.top&&(_=i.left,i.left=i.top,i.top=_),i.width!==i.height&&(_=i.width,i.width=i.height,i.height=_)),m.length&&(o=''+o+"")});const s=r.width,l=r.height,a=i.width,c=i.height;let u,f;s===null?(f=l===null?"1em":l==="auto"?c:l,u=Xf(f,a/c)):(u=s==="auto"?a:s,f=l===null?Xf(u,c/a):l==="auto"?c:l);const d={},p=(h,m)=>{U8(m)||(d[h]=m.toString())};return p("width",u),p("height",f),d.viewBox=i.left.toString()+" "+i.top.toString()+" "+a.toString()+" "+c.toString(),{attributes:d,body:o}}const W8=/\sid="(\S+)"/g,G8="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Y8=0;function q8(e,t=G8){const n=[];let r;for(;r=W8.exec(e);)n.push(r[1]);if(!n.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const s=typeof t=="function"?t(o):t+(Y8++).toString(),l=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+s+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const Nl=Object.create(null);function Z8(e,t){Nl[e]=t}function Vl(e){return Nl[e]||Nl[""]}function tc(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const nc=Object.create(null),zr=["https://api.simplesvg.com","https://api.unisvg.com"],lo=[];for(;zr.length>0;)zr.length===1||Math.random()>.5?lo.push(zr.shift()):lo.push(zr.pop());nc[""]=tc({resources:["https://api.iconify.design"].concat(lo)});function X8(e,t){const n=tc(t);return n===null?!1:(nc[e]=n,!0)}function rc(e){return nc[e]}const Q8=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Qf=Q8();function J8(e,t){const n=rc(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const o=t+".json?icons=";r=n.maxURL-i-n.path.length-o.length}return r}function eO(e){return e===404}const tO=(e,t,n)=>{const r=[],i=J8(e,t),o="icons";let s={type:o,provider:e,prefix:t,icons:[]},l=0;return n.forEach((a,c)=>{l+=a.length+1,l>=i&&c>0&&(r.push(s),s={type:o,provider:e,prefix:t,icons:[]},l=a.length),s.icons.push(a)}),r.push(s),r};function nO(e){if(typeof e=="string"){const t=rc(e);if(t)return t.path}return"/"}const rO=(e,t,n)=>{if(!Qf){n("abort",424);return}let r=nO(t.provider);switch(t.type){case"icons":{const o=t.prefix,l=t.icons.join(","),a=new URLSearchParams({icons:l});r+=o+".json?"+a.toString();break}case"custom":{const o=t.uri;r+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let i=503;Qf(e+r).then(o=>{const s=o.status;if(s!==200){setTimeout(()=>{n(eO(s)?"abort":"next",s)});return}return i=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",i)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",i)})},iO={prepare:tO,send:rO};function oO(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,o)=>i.provider!==o.provider?i.provider.localeCompare(o.provider):i.prefix!==o.prefix?i.prefix.localeCompare(o.prefix):i.name.localeCompare(o.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const o=i.provider,s=i.prefix,l=i.name,a=n[o]||(n[o]=Object.create(null)),c=a[s]||(a[s]=Yn(o,s));let u;l in c.icons?u=t.loaded:s===""||c.missing.has(l)?u=t.missing:u=t.pending;const f={provider:o,prefix:s,name:l};u.push(f)}),t}function p1(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function sO(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(o=>{const s=o.icons,l=s.pending.length;s.pending=s.pending.filter(a=>{if(a.prefix!==i)return!0;const c=a.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==l&&(n||p1([e],o.id),o.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),o.abort))})}))}let lO=0;function aO(e,t,n){const r=lO++,i=p1.bind(null,n,r);if(!t.pending.length)return i;const o={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(o)}),i}function cO(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const o=typeof i=="string"?ss(i,t,n):i;o&&r.push(o)}),r}var uO={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function fO(e,t,n,r){const i=e.resources.length,o=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let I=e.resources.slice(0);for(s=[];I.length>1;){const j=Math.floor(Math.random()*I.length);s.push(I[j]),I=I.slice(0,j).concat(I.slice(j+1))}s=s.concat(I)}else s=e.resources.slice(o).concat(e.resources.slice(0,o));const l=Date.now();let a="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function h(){f&&(clearTimeout(f),f=null)}function m(){a==="pending"&&(a="aborted"),h(),d.forEach(I=>{I.status==="pending"&&(I.status="aborted")}),d=[]}function v(I,j){j&&(p=[]),typeof I=="function"&&p.push(I)}function y(){return{startTime:l,payload:t,status:a,queriesSent:c,queriesPending:d.length,subscribe:v,abort:m}}function b(){a="failed",p.forEach(I=>{I(void 0,u)})}function _(){d.forEach(I=>{I.status==="pending"&&(I.status="aborted")}),d=[]}function w(I,j,H){const Z=j!=="success";switch(d=d.filter(q=>q!==I),a){case"pending":break;case"failed":if(Z||!e.dataAfterTimeout)return;break;default:return}if(j==="abort"){u=H,b();return}if(Z){u=H,d.length||(s.length?S():b());return}if(h(),_(),!e.random){const q=e.resources.indexOf(I.resource);q!==-1&&q!==e.index&&(e.index=q)}a="completed",p.forEach(q=>{q(H)})}function S(){if(a!=="pending")return;h();const I=s.shift();if(I===void 0){if(d.length){f=setTimeout(()=>{h(),a==="pending"&&(_(),b())},e.timeout);return}b();return}const j={status:"pending",resource:I,callback:(H,Z)=>{w(j,H,Z)}};d.push(j),c++,f=setTimeout(S,e.rotate),n(I,t,j.callback)}return setTimeout(S),y}function h1(e){const t={...uO,...e};let n=[];function r(){n=n.filter(l=>l().status==="pending")}function i(l,a,c){const u=fO(t,l,a,(f,d)=>{r(),c&&c(f,d)});return n.push(u),u}function o(l){return n.find(a=>l(a))||null}return{query:i,find:o,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function Jf(){}const Vs=Object.create(null);function dO(e){if(!Vs[e]){const t=rc(e);if(!t)return;const n=h1(t),r={config:t,redundancy:n};Vs[e]=r}return Vs[e]}function pO(e,t,n){let r,i;if(typeof e=="string"){const o=Vl(e);if(!o)return n(void 0,424),Jf;i=o.send;const s=dO(e);s&&(r=s.redundancy)}else{const o=tc(e);if(o){r=h1(o);const s=e.resources?e.resources[0]:"",l=Vl(s);l&&(i=l.send)}}return!r||!i?(n(void 0,424),Jf):r.query(t,i,n)().abort}const ed="iconify2",Ei="iconify",m1=Ei+"-count",td=Ei+"-version",g1=36e5,hO=168;function Hl(e,t){try{return e.getItem(t)}catch{}}function ic(e,t,n){try{return e.setItem(t,n),!0}catch{}}function nd(e,t){try{e.removeItem(t)}catch{}}function Bl(e,t){return ic(e,m1,t.toString())}function Ul(e){return parseInt(Hl(e,m1))||0}const as={local:!0,session:!0},y1={local:new Set,session:new Set};let oc=!1;function mO(e){oc=e}let Qi=typeof window>"u"?{}:window;function v1(e){const t=e+"Storage";try{if(Qi&&Qi[t]&&typeof Qi[t].length=="number")return Qi[t]}catch{}as[e]=!1}function b1(e,t){const n=v1(e);if(!n)return;const r=Hl(n,td);if(r!==ed){if(r){const l=Ul(n);for(let a=0;a{const a=Ei+l.toString(),c=Hl(n,a);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}nd(n,a)}};let s=Ul(n);for(let l=s-1;l>=0;l--)o(l)||(l===s-1?(s--,Bl(n,s)):y1[e].add(l))}function x1(){if(!oc){mO(!0);for(const e in as)b1(e,t=>{const n=t.data,r=t.provider,i=n.prefix,o=Yn(r,i);if(!ec(o,n).length)return!1;const s=n.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,s):s,!0})}}function gO(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in as)b1(r,i=>{const o=i.data;return i.provider!==e.provider||o.prefix!==e.prefix||o.lastModified===t});return!0}function yO(e,t){oc||x1();function n(r){let i;if(!as[r]||!(i=v1(r)))return;const o=y1[r];let s;if(o.size)o.delete(s=Array.from(o).shift());else if(s=Ul(i),!Bl(i,s+1))return;const l={cached:Math.floor(Date.now()/g1),provider:e.provider,data:t};return ic(i,Ei+s.toString(),JSON.stringify(l))}t.lastModified&&!gO(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function rd(){}function vO(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,sO(e)}))}function bO(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let o;if(!i||!(o=Vl(n)))return;o.prepare(n,r,i).forEach(l=>{pO(n,l,a=>{if(typeof a!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=ec(e,a);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),yO(e,a)}catch(c){console.error(c)}vO(e)})})}))}const xO=(e,t)=>{const n=cO(e,!0,u1()),r=oO(n);if(!r.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(r.loaded,r.missing,r.pending,rd)}),()=>{a=!1}}const i=Object.create(null),o=[];let s,l;return r.pending.forEach(a=>{const{provider:c,prefix:u}=a;if(u===l&&c===s)return;s=c,l=u,o.push(Yn(c,u));const f=i[c]||(i[c]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(a=>{const{provider:c,prefix:u,name:f}=a,d=Yn(c,u),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(f)||(p.add(f),i[c][u].push(f))}),o.forEach(a=>{const{provider:c,prefix:u}=a;i[c][u].length&&bO(a,i[c][u])}),t?aO(t,r,o):rd};function wO(e,t){const n={...e};for(const r in t){const i=t[r],o=typeof i;r in f1?(i===null||i&&(o==="string"||o==="number"))&&(n[r]=i):o===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const _O=/[\s,]+/;function OO(e,t){t.split(_O).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function SO(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o=o/i,o%1===0?r(o):0)}}return t}function IO(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function CO(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function TO(e){return"data:image/svg+xml,"+CO(e)}function EO(e){return'url("'+TO(e)+'")'}const id={...d1,inline:!1},MO={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},AO={display:"inline-block"},Kl={backgroundColor:"currentColor"},w1={backgroundColor:"transparent"},od={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},sd={webkitMask:Kl,mask:Kl,background:w1};for(const e in sd){const t=sd[e];for(const n in od)t[e+n]=od[n]}const ao={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ao[e+"-flip"]=t,ao[e.slice(0,1)+"-flip"]=t,ao[e+"Flip"]=t});function ld(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const ad=(e,t)=>{const n=wO(id,t),r={...MO},i=t.mode||"svg",o={},s=t.style,l=typeof s=="object"&&!(s instanceof Array)?s:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&OO(n,v);break;case"color":o.color=v;break;case"rotate":typeof v=="string"?n[m]=SO(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete r["aria-hidden"];break;default:{const y=ao[m];y?(v===!0||v==="true"||v===1)&&(n[y]=!0):id[m]===void 0&&(r[m]=v)}}}const a=K8(e,n),c=a.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),i==="svg"){r.style={...o,...l},Object.assign(r,c);let m=0,v=t.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),r.innerHTML=q8(a.body,v?()=>v+"ID"+m++:"iconifyVue"),Un("svg",r)}const{body:u,width:f,height:d}=e,p=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=IO(u,{...c,width:f+"",height:d+""});return r.style={...o,"--svg":EO(h),width:ld(c.width),height:ld(c.height),...AO,...p?Kl:w1,...l},Un("span",r)};u1(!0);Z8("",iO);if(typeof document<"u"&&typeof window<"u"){x1();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!V8(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;X8(n,i)||console.error(r)}catch{console.error(r)}}}}const kO={...ls,body:""},jO=dt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=ss(e,!1,!0))===null)return this.abortLoading(),null;const r=z8(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:xO([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return ad(kO,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),ad({...ls,...t.data},n)}}),PO={root:({props:e})=>({class:["cursor-pointer inline-flex relative select-none","bg-white border border-gray-300 transition-colors duration-200 ease-in-out rounded-md","dark:bg-gray-900 dark:border-primary-900/40 dark:hover:border-primary-300","w-full md:w-56","hover:border-primary focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),input:({props:e})=>({class:["cursor-pointer block flex flex-auto overflow-hidden text-ellipsis whitespace-nowrap relative","bg-transparent border-0 text-gray-800","dark:text-white/80","p-3 transition duration-200 bg-transparent rounded appearance-none font-sans text-base","focus:outline-none focus:shadow-none",{"pr-7":e.showClear}]}),trigger:{class:["flex items-center justify-center shrink-0","bg-transparent text-gray-500 w-12 rounded-tr-lg rounded-br-lg"]},wrapper:{class:["max-h-[200px] overflow-auto","bg-white text-gray-700 border-0 rounded-md shadow-lg","dark:bg-gray-900 dark:text-white/80"]},list:{class:"py-3 list-none m-0"},item:({context:e})=>({class:["cursor-pointer font-normal overflow-hidden relative whitespace-nowrap","m-0 p-3 border-0 transition-shadow duration-200 rounded-none",{"text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800":!e.focused&&!e.selected,"bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800":e.focused&&!e.selected,"bg-primary-100 text-primary dark:bg-primary-400 dark:text-white/80":e.focused&&e.selected,"bg-primary-50 text-primary dark:bg-primary-300 dark:text-white/80":!e.focused&&e.selected}]}),itemgroup:{class:["m-0 p-3 text-gray-800 bg-white font-bold","dark:bg-gray-900 dark:text-white/80","cursor-auto"]},header:{class:["p-3 border-b border-gray-300 text-gray-700 bg-gray-100 mt-0 rounded-tl-lg rounded-tr-lg","dark:bg-gray-800 dark:text-white/80 dark:border-primary-900/40"]},filtercontainer:{class:"relative"},filterinput:{class:["pr-7 -mr-7","w-full","font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none","dark:bg-gray-900 dark:border-primary-900/40 dark:hover:border-primary-300 dark:text-white/80","hover:border-primary focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]"]},filtericon:{class:"-mt-2 absolute top-1/2"},clearicon:{class:"text-gray-500 right-12 -mt-2 absolute top-1/2"}},LO={root:"bg-white border border-gray-300 rounded-md"},FO=e=>(sa("data-v-de6ec224"),e=e(),la(),e),$O={class:"flex w-full px-4 pb-2"},DO=["title"],RO={class:"w-1/2 flex justify-end"},zO={class:"flex overflow-x-auto"},NO={class:"flex border-t border-gray-300 py-4 px-4"},VO={class:"table-fixed w-full"},HO={class:""},BO={class:"text-left pb-4"},UO={class:"text-left pb-4"},KO={class:"text-right pr-[314px] pb-4"},WO={class:"font-semibold pe-2"},GO={class:"p-1 overflow-x-auto"},YO=["onClick"],qO={class:"overflow-x-auto"},ZO={class:"flex flex-col pt-2"},XO={class:"font-bold px-2 pb-2 mb-2 border-b border-gray-300"},QO={class:"overflow-y-auto max-h-[400px] w-full"},JO={key:0,class:"text-sm border-collapse"},eS=FO(()=>M("tr",{class:""},[M("th",{class:"p-1 pl-2 font-semibold"},"Parameter"),M("th",{class:"p-1 pr-2 font-semibold"},"Value")],-1)),tS={class:"p-1 pl-2 border-collapse border border-l-0 border-b-0 border-gray-300"},nS={class:"p-1 pr-2 border-collapse border border-r-0 border-b-0 border-gray-300"},rS=dt({__name:"TimelineItem",props:{gt:{},metric:{}},setup(e){const t=fe(),n=fe(!1),r=fe(null),i=fe(new Date("2023-10-01")),o=fe(new Date),s=fe([]);pt(()=>{s.value=ze.workflows});function l(f){return Uw[f]}function a(f,d){var p;r.value=f,(p=t.value)==null||p.show(d)}function c(){var f;(f=t.value)==null||f.hide()}function u(f,d){n.value?(c(),r.value!==f&&Ho(()=>{a(f,d)})):a(f,d)}return(f,d)=>(E(),F(ae,null,[ie(Oe(sh),{header:"Header",toggleable:"",collapsed:!0,unstyled:"",pt:{root:"border border-gray-300 rounded-lg overflow-hidden",header:"pt-4",content:"",icons:"w-full flex",toggler:"w-full flex justify-center bg-gray-50 text-gray-500 p-2 hover:bg-gray-100 rounded hover:text-gray-700 focus:outline-none"}},{header:He(()=>[M("div",$O,[M("h2",{class:"w-1/2 text-xl font-bold flex-shrink-0 truncate",title:f.gt.label},ne(f.gt.label),9,DO),M("div",RO,[M("div",zO,[ie(j8,{"workflow-name":f.$t("average"),runs:Oe(ze).getRuns(f.gt.id),metric:f.metric,class:"",width:400,"start-date":i.value,"end-date":o.value},null,8,["workflow-name","runs","metric","start-date","end-date"])])])])]),default:He(()=>[M("div",NO,[M("table",VO,[M("thead",null,[M("tr",HO,[M("th",BO,ne(f.$t("workflows")),1),M("th",UO,ne(f.$t("processors")),1),M("th",KO,ne(f.$t("timeline")),1)])]),M("tbody",null,[(E(!0),F(ae,null,qe(s.value,p=>(E(),F("tr",{key:p.id},[M("td",WO,ne(p.label),1),M("td",GO,[(E(!0),F(ae,null,qe(p.steps,h=>(E(),F("span",{key:h.id,class:"p-1 cursor-pointer",onClick:m=>u(h,m)},ne(l(h.id)),9,YO))),128))]),M("td",qO,[ie(A8,{runs:Oe(ze).getRuns(f.gt.id,p.id),"workflow-name":p.label,metric:f.metric,width:400,"start-date":i.value,"end-date":o.value,class:"flex justify-end"},null,8,["runs","workflow-name","metric","start-date","end-date"])])]))),128))])])])]),togglericon:He(({collapsed:p})=>[ie(Oe(jO),{icon:p?"bi:chevron-down":"bi:chevron-up"},null,8,["icon"])]),_:1}),ie(Oe(Li),{ref_key:"op",ref:t,pt:Oe(LO),onShow:d[0]||(d[0]=p=>n.value=!0),onHide:d[1]||(d[1]=p=>n.value=!1)},{default:He(()=>{var p;return[M("div",ZO,[M("h2",XO,ne((p=r.value)==null?void 0:p.id),1),M("div",QO,[r.value?(E(),F("table",JO,[eS,(E(!0),F(ae,null,qe(Object.keys(r.value.params),h=>(E(),F("tr",{key:h},[M("td",tS,ne(h),1),M("td",nS,ne(r.value.params[h]),1)]))),128))])):me("",!0)])])]}),_:1},8,["pt"])],64))}});const iS=Mn(rS,[["__scopeId","data-v-de6ec224"]]),oS={class:"flex flex-col"},sS={class:"flex w-full mb-4"},lS={class:"flex flex-col space-y-6"},aS={key:1,class:"my-6"},cS=dt({__name:"WorkflowsTimeline",setup(e){const{t}=En(),n=Ce(()=>ze.gt.filter(({id:l})=>_n.gt.findIndex(({value:a})=>a===l)>-1)),r=fe([]),i=fe(null),o=Ce(()=>Object.keys(At).map(l=>({value:At[l],label:t(At[l])}))),s=Ce(()=>{var l;return((l=i.value)==null?void 0:l.value)||At.CER_MEAN});return pt(async()=>{i.value=o.value[0],r.value=ze.workflows}),Ze(i,()=>Ja.setMaxValue(s.value,E8(s.value,ze.runs)),{immediate:!0}),(l,a)=>(E(),F("div",oS,[M("div",sS,[ie(Oe(ja),{modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=c=>i.value=c),options:o.value,pt:Oe(PO),optionLabel:"label",placeholder:"Select a metric",class:"ml-auto md:w-14rem",unstyled:""},null,8,["modelValue","options","pt"])]),ie(Zp,{class:"ml-auto mb-4"}),M("div",lS,[n.value.length>0?(E(!0),F(ae,{key:0},qe(n.value,c=>(E(),Le(iS,{key:c.id,gt:c,metric:s.value},null,8,["gt","metric"]))),128)):(E(),F("div",aS,"An error has occurred. Please try again later!"))])]))}}),uS=M("div",{class:"flex mb-6"},[M("p",{class:"text-amber-600 flex-grow-0 px-4 py-2 bg-amber-100 rounded-md text-sm"},[M("span",{class:"font-semibold"},"Disclaimer:"),Je(" This is an experimental view.")])],-1),fS={class:"flex mb-6"},dS={key:0},pS=dt({__name:"Workflows",setup(e){const{t}=En(),n=fe([]),r=fe([]),i=_p(),o=Qg(),s=fe(!1),l=fe([{name:t("timeline"),value:"timeline"},{name:t("table"),value:"table"}]),a=fe(l.value[0]);return Ze(()=>_n.gt,()=>{r.value=n.value.filter(({metadata:c})=>_n.gt.findIndex(({value:u})=>u===Jt(c.gt_workspace.id))>-1)}),Ze(a,({value:c})=>{i.push({query:{view:c}})}),pt(async()=>{await i.isReady(),s.value=!0;const c=l.value.find(f=>o.query.view&&o.query.view===f.value);c&&(a.value=c),ze.runs=await hr.getRuns(),ze.gt=await hr.getGroundTruth(),ze.workflows=await hr.getWorkflows(),ze.runs.forEach(f=>{const d=Jt(f.metadata.gt_workspace.id);ze.gt.find(p=>p.id===d)||console.log(d)});const u=ze.runs.reduce((f,d)=>(f[d.metadata.release_info.tag_name]=d.metadata.release_info,f),{});ze.releases=Object.keys(u).map(f=>u[f]),Bv(ze.runs),s.value=!1}),(c,u)=>s.value?(E(),F(ae,{key:0},[Je(" Loading... ")],64)):(E(),F(ae,{key:1},[uS,M("div",fS,[ie(Oe(rh),{modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=f=>a.value=f),options:l.value,optionLabel:"name"},null,8,["modelValue","options"]),ie(Qx,{class:"ml-auto"})]),a.value?(E(),F("div",dS,[a.value.value==="timeline"?(E(),Le(cS,{key:0})):(E(),Le(cx,{key:1}))])):me("",!0)],64))}}),Wl=an({repos:[],releases:[],evaluations:[],metricDefinitions:{},gtList:[],workflows:[],setGTList(e){this.gtList=e},setWorkflows(e){this.workflows=e},setRepos(e){this.repos=e},setReleases(e){this.releases=e},setEvaluations(e){this.evaluations=e},setMetricDefinitions(e){this.metricDefinitions=e},getRepoById(e){return this.repos.find(t=>t.id===e)}});var _1={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(typeof self<"u"?self:b8,function(){return function(n){var r={};function i(o){if(r[o])return r[o].exports;var s=r[o]={i:o,l:!1,exports:{}};return n[o].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=n,i.c=r,i.d=function(o,s,l){i.o(o,s)||Object.defineProperty(o,s,{configurable:!1,enumerable:!0,get:l})},i.r=function(o){Object.defineProperty(o,"__esModule",{value:!0})},i.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(s,"a",s),s},i.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},i.p="",i(i.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,r,i){var o,s;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames @@ -927,4 +927,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho border-radius: 50%; } } -`,bS={root:function(t){var n=t.props,r=t.instance;return["p-badge p-component",{"p-badge-no-gutter":U.isNotEmpty(n.value)&&String(n.value).length===1,"p-badge-dot":U.isEmpty(n.value)&&!r.$slots.default,"p-badge-lg":n.size==="large","p-badge-xl":n.size==="xlarge","p-badge-info":n.severity==="info","p-badge-success":n.severity==="success","p-badge-warning":n.severity==="warning","p-badge-danger":n.severity==="danger"}]}},xS=ht.extend({name:"badge",css:vS,classes:bS}),wS={name:"BaseBadge",extends:Yt,props:{value:{type:[String,Number],default:null},severity:{type:String,default:null},size:{type:String,default:null}},style:xS,provide:function(){return{$parentInstance:this}}},O1={name:"Badge",extends:wS};function _S(e,t,n,r,i,o){return E(),F("span",L({class:e.cx("root")},e.ptm("root"),{"data-pc-name":"badge"}),[oe(e.$slots,"default",{},function(){return[Je(ne(e.value),1)]})],16)}O1.render=_S;function Mi(e){"@babel/helpers - typeof";return Mi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mi(e)}function gn(e,t,n){return t=OS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OS(e){var t=SS(e,"string");return Mi(t)==="symbol"?t:String(t)}function SS(e,t){if(Mi(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Mi(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var IS={root:function(t){var n=t.instance,r=t.props;return["p-button p-component",gn(gn(gn(gn(gn(gn(gn(gn({"p-button-icon-only":n.hasIcon&&!r.label&&!r.badge,"p-button-vertical":(r.iconPos==="top"||r.iconPos==="bottom")&&r.label,"p-disabled":n.$attrs.disabled||n.$attrs.disabled===""||r.loading,"p-button-loading":r.loading,"p-button-loading-label-only":r.loading&&!n.hasIcon&&r.label,"p-button-link":r.link},"p-button-".concat(r.severity),r.severity),"p-button-raised",r.raised),"p-button-rounded",r.rounded),"p-button-text",r.text),"p-button-outlined",r.outlined),"p-button-sm",r.size==="small"),"p-button-lg",r.size==="large"),"p-button-plain",r.plain)]},loadingIcon:"p-button-loading-icon pi-spin",icon:function(t){var n=t.props;return["p-button-icon",{"p-button-icon-left":n.iconPos==="left"&&n.label,"p-button-icon-right":n.iconPos==="right"&&n.label,"p-button-icon-top":n.iconPos==="top"&&n.label,"p-button-icon-bottom":n.iconPos==="bottom"&&n.label}]},label:"p-button-label"},CS=ht.extend({name:"button",classes:IS}),TS={name:"BaseButton",extends:Yt,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:String,default:null},badge:{type:String,default:null},badgeClass:{type:String,default:null},badgeSeverity:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:CS,provide:function(){return{$parentInstance:this}}},S1={name:"Button",extends:TS,methods:{getPTOptions:function(t){var n,r;return this.ptm(t,{parent:{props:(n=this.$parent)===null||n===void 0?void 0:n.$props,state:(r=this.$parent)===null||r===void 0?void 0:r.$data},context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||this.$attrs.disabled===""||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs["aria-label"]},hasIcon:function(){return this.icon||this.$slots.icon}},components:{SpinnerIcon:Pi,Badge:O1},directives:{ripple:qn}},ES=["aria-label","disabled","data-pc-severity"];function MS(e,t,n,r,i,o){var s=gt("SpinnerIcon"),l=gt("Badge"),a=Sn("ripple");return _t((E(),F("button",L({class:e.cx("root"),type:"button","aria-label":o.defaultAriaLabel,disabled:o.disabled},o.getPTOptions("root"),{"data-pc-name":"button","data-pc-severity":e.severity}),[oe(e.$slots,"default",{},function(){return[e.loading?oe(e.$slots,"loadingicon",{key:0,class:Ae([e.cx("loadingIcon"),e.cx("icon")])},function(){return[e.loadingIcon?(E(),F("span",L({key:0,class:[e.cx("loadingIcon"),e.cx("icon"),e.loadingIcon]},e.ptm("loadingIcon")),null,16)):(E(),Le(s,L({key:1,class:[e.cx("loadingIcon"),e.cx("icon")],spin:""},e.ptm("loadingIcon")),null,16,["class"]))]}):oe(e.$slots,"icon",{key:1,class:Ae([e.cx("icon")])},function(){return[e.icon?(E(),F("span",L({key:0,class:[e.cx("icon"),e.icon,e.iconClass]},e.ptm("icon")),null,16)):me("",!0)]}),M("span",L({class:e.cx("label")},e.ptm("label")),ne(e.label||" "),17),e.badge?(E(),Le(l,L({key:2,value:e.badge,class:e.badgeClass,severity:e.badgeSeverity,unstyled:e.unstyled},e.ptm("badge")),null,16,["value","class","severity","unstyled"])):me("",!0)]})],16,ES)),[[a]])}S1.render=MS;const AS=e=>(oa("data-v-2035a1e1"),e=e(),sa(),e),kS={class:"flex flex-col border rounded-md"},jS={class:"flex items-center px-4 py-2 bg-gray-200"},PS={class:"card-title mt-0"},LS={class:"ml-auto"},FS={class:"mt-0"},$S=AS(()=>M("p",null,"This is the popover body. Useful information goes here.",-1)),DS={class:"flex"},RS=["href"],zS=["href"],NS={class:"flex flex-col p-4"},VS={key:0},HS={class:"flex mt-2 mb-1"},BS={key:0,class:"bg-gray-200 rounded-lg px-2 py-1 text-sm"},US={key:1,class:"flex h-full items-center justify-center"},KS={__name:"Project",props:["id"],setup(e){const{t}=En(),n=e,r=fe(null),i=fe(null);Ze(()=>n.id,u=>{r.value=Kl.getRepoById(u)},{immediate:!0});const o=Ce(()=>r.value?[...r.value.unreleased_changes?[{icon:"alert-triangle",label:r.value.unreleased_changes+" "+t("unreleased_changes")}]:[{icon:"check-circle",label:t("version")+" "+r.value.latest_version}],...r.value.ocrd_tool_json_valid?[{icon:"check-circle",label:"ocrd-tool.json "+t("is_valid")}]:[{icon:"slash",label:"ocrd-tool.json "+t("is_not_valid")}],...r.value.dependency_conflicts?[{icon:"alert-triangle",label:t("dependency_conflicts")}]:[{icon:"check-circle",label:t("no_dependency_conflicts")}]]:[]),s=Ce(()=>r.value?r.value.additional_info.links["README.md"]:""),l=Ce(()=>r.value?r.value.additional_info.links["README.md"]:""),a=Ce(()=>r.value?r.value.project_type:null);function c(u){i.value.toggle(u)}return(u,f)=>(E(),F("div",kS,[M("div",jS,[M("h3",PS,ne(n.id),1),M("div",LS,[ie(Ie(S1),{icon:"pi pi-info",size:"small",rounded:"",outlined:"","aria-label":"Info",onClick:c}),ie(Ie(Li),{ref_key:"op",ref:i,placement:"top"},{container:He(()=>[M("h5",FS,ne(u.$t("additional_info")),1),$S,M("div",DS,[M("a",{href:s.value,title:"README",target:"_blank"},"README",8,RS),M("a",{href:l.value,title:"CHANGELOG",target:"_blank",class:"ml-auto"},"CHANGELOG",8,zS)])]),_:1},512)])]),M("div",NS,[r.value?(E(),F("div",VS,[(E(!0),F(ae,null,qe(o.value,({icon:d,label:p})=>(E(),F("div",{key:p,class:"flex items-center"},[ie(yS,{name:d,class:Ae(["mr-1",{"text-negative":d==="slash","text-neutral":d==="alert-triangle","text-positive":d==="check-circle"}])},null,8,["name","class"]),M("span",null,ne(p),1)]))),128)),M("div",HS,[a.value?(E(),F("div",BS,ne(a.value),1)):me("",!0)])])):(E(),F("div",US,[M("span",null,ne(u.$t("error_repo_not_found")),1)]))])]))}},WS=Mn(KS,[["__scopeId","data-v-2035a1e1"]]);const GS={key:0},YS={class:"timeline-item relative pl-5 flex"},qS={class:"bg-gray-300 rounded-md px-2 font-bold"},ZS={class:"projects-container ml-6 mt-3 flex flex-wrap gap-4"},XS={__name:"Projects",setup(e){const t=fe([]);return pt(async()=>{Kl.setRepos(await hr.getProjects()),t.value=await hr.getOcrdAllReleases(),Kl.setReleases(t.value)}),(n,r)=>t.value.length===0?(E(),F("p",GS,ne(n.$t("no_content")),1)):(E(!0),F(ae,{key:1},qe(t.value,({tag:i,projects:o})=>(E(),F("div",{key:i,class:"border-l border-gray-400 pb-8"},[M("div",YS,[M("div",qS,"ocrd_all "+ne(i),1)]),M("div",ZS,[(E(!0),F(ae,null,qe(o,s=>(E(),F("div",{key:s,class:"flex sm:w-3/12"},[ie(WS,{id:s,class:"flex-grow"},null,8,["id"])]))),128))])]))),128))}},QS=Mn(XS,[["__scopeId","data-v-fdf12cc0"]]),JS={};function e7(e,t){return E(),F("p",null,ne(e.$t("no_content")),1)}const t7=Mn(JS,[["render",e7]]),n7=Zg({history:pg("/quiver-frontend/"),routes:[{path:"/",name:"home",component:Lv,children:[{path:"projects",name:"projects",component:QS},{path:"processors",name:"processors",component:t7},{path:"workflows",alias:"/",name:"workflows",component:pS}]}]});function Ai(e){"@babel/helpers - typeof";return Ai=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ai(e)}function ud(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Vs(e){for(var t=1;t(sa("data-v-2035a1e1"),e=e(),la(),e),kS={class:"flex flex-col border rounded-md"},jS={class:"flex items-center px-4 py-2 bg-gray-200"},PS={class:"card-title mt-0"},LS={class:"ml-auto"},FS={class:"mt-0"},$S=AS(()=>M("p",null,"This is the popover body. Useful information goes here.",-1)),DS={class:"flex"},RS=["href"],zS=["href"],NS={class:"flex flex-col p-4"},VS={key:0},HS={class:"flex mt-2 mb-1"},BS={key:0,class:"bg-gray-200 rounded-lg px-2 py-1 text-sm"},US={key:1,class:"flex h-full items-center justify-center"},KS={__name:"Project",props:["id"],setup(e){const{t}=En(),n=e,r=fe(null),i=fe(null);Ze(()=>n.id,u=>{r.value=Wl.getRepoById(u)},{immediate:!0});const o=Ce(()=>r.value?[...r.value.unreleased_changes?[{icon:"alert-triangle",label:r.value.unreleased_changes+" "+t("unreleased_changes")}]:[{icon:"check-circle",label:t("version")+" "+r.value.latest_version}],...r.value.ocrd_tool_json_valid?[{icon:"check-circle",label:"ocrd-tool.json "+t("is_valid")}]:[{icon:"slash",label:"ocrd-tool.json "+t("is_not_valid")}],...r.value.dependency_conflicts?[{icon:"alert-triangle",label:t("dependency_conflicts")}]:[{icon:"check-circle",label:t("no_dependency_conflicts")}]]:[]),s=Ce(()=>r.value?r.value.additional_info.links["README.md"]:""),l=Ce(()=>r.value?r.value.additional_info.links["README.md"]:""),a=Ce(()=>r.value?r.value.project_type:null);function c(u){i.value.toggle(u)}return(u,f)=>(E(),F("div",kS,[M("div",jS,[M("h3",PS,ne(n.id),1),M("div",LS,[ie(Oe(S1),{icon:"pi pi-info",size:"small",rounded:"",outlined:"","aria-label":"Info",onClick:c}),ie(Oe(Li),{ref_key:"op",ref:i,placement:"top"},{container:He(()=>[M("h5",FS,ne(u.$t("additional_info")),1),$S,M("div",DS,[M("a",{href:s.value,title:"README",target:"_blank"},"README",8,RS),M("a",{href:l.value,title:"CHANGELOG",target:"_blank",class:"ml-auto"},"CHANGELOG",8,zS)])]),_:1},512)])]),M("div",NS,[r.value?(E(),F("div",VS,[(E(!0),F(ae,null,qe(o.value,({icon:d,label:p})=>(E(),F("div",{key:p,class:"flex items-center"},[ie(yS,{name:d,class:Ae(["mr-1",{"text-negative":d==="slash","text-neutral":d==="alert-triangle","text-positive":d==="check-circle"}])},null,8,["name","class"]),M("span",null,ne(p),1)]))),128)),M("div",HS,[a.value?(E(),F("div",BS,ne(a.value),1)):me("",!0)])])):(E(),F("div",US,[M("span",null,ne(u.$t("error_repo_not_found")),1)]))])]))}},WS=Mn(KS,[["__scopeId","data-v-2035a1e1"]]);const GS={key:0},YS={class:"timeline-item relative pl-5 flex"},qS={class:"bg-gray-300 rounded-md px-2 font-bold"},ZS={class:"projects-container ml-6 mt-3 flex flex-wrap gap-4"},XS={__name:"Projects",setup(e){const t=fe([]);return pt(async()=>{Wl.setRepos(await hr.getProjects()),t.value=await hr.getOcrdAllReleases(),Wl.setReleases(t.value)}),(n,r)=>t.value.length===0?(E(),F("p",GS,ne(n.$t("no_content")),1)):(E(!0),F(ae,{key:1},qe(t.value,({tag:i,projects:o})=>(E(),F("div",{key:i,class:"border-l border-gray-400 pb-8"},[M("div",YS,[M("div",qS,"ocrd_all "+ne(i),1)]),M("div",ZS,[(E(!0),F(ae,null,qe(o,s=>(E(),F("div",{key:s,class:"flex sm:w-3/12"},[ie(WS,{id:s,class:"flex-grow"},null,8,["id"])]))),128))])]))),128))}},QS=Mn(XS,[["__scopeId","data-v-fdf12cc0"]]),JS={};function e7(e,t){return E(),F("p",null,ne(e.$t("no_content")),1)}const t7=Mn(JS,[["render",e7]]),n7=Zg({history:pg("/quiver-frontend/"),routes:[{path:"/",name:"home",component:Lv,children:[{path:"projects",name:"projects",component:QS},{path:"processors",name:"processors",component:t7},{path:"workflows",alias:"/",name:"workflows",component:pS}]}]});function Ai(e){"@babel/helpers - typeof";return Ai=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ai(e)}function ud(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Hs(e){for(var t=1;t