@nside/wefa 0.1.0-rc3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),w=require("vue-router"),v=require("./lib-CNCjqOo9.cjs"),T=require("./index-52nB-rKK.cjs"),k=require("pinia"),c=require("./axios-BompFBxL.cjs"),P=require("./index-TM4WIzFN.cjs");var V=Symbol();function I(){var t=e.inject(V);if(!t)throw new Error("No PrimeVue Toast provided!");return t}var A=Symbol();function N(){var t=e.inject(A);if(!t)throw new Error("No PrimeVue Confirmation provided!");return t}const R=k.createPinia(),_="authenticationToken",y="jwtAccessToken",x="jwtRefreshToken",L=(t,o=null)=>C(t)(o),C=t=>k.defineStore("backend",()=>j(t));function j(t){switch(t.authenticationType){case"TOKEN":return E();case"JWT":return q();default:throw new Error(`Unknown authentication type: ${t.authenticationType}`)}}function b(t,o,r){let l=null;function i(n){o.value=n}function d(n){r.value=n}function f(n){l=e.watch(t,(p,h)=>{p!=h&&n.push({path:n.currentRoute.value.path,force:!0}).then(()=>{})})}function a(){l&&l()}return{setPostLogin:i,setPostLogout:d,setupAuthRouteGuard:f,unsetAuthRouteGuard:a,authRouteGuardWatcher:l}}function E(){const t=e.ref(!1),o=e.ref(null),r=e.ref(()=>{}),l=e.ref(()=>{}),i=localStorage.getItem(_),d=b(t,l,r);i&&(o.value=i,t.value=!0),e.watch(o,()=>{localStorage.setItem(_,o.value??"")}),c.axiosInstance.defaults.withCredentials=!0,c.axiosInstance.defaults.headers.common["Content-Type"]="application/json",c.axiosInstance.interceptors.request.use(async n=>(t.value&&o.value&&(n.headers.Authorization=`Token ${o.value}`),n),n=>Promise.reject(n)),c.axiosInstance.interceptors.response.use(n=>n,async n=>(n.response.status===403&&n.response.data?.detail==="Authentication credentials were not provided."&&a(),Promise.reject(n)));async function f(n){const p=await c.axiosInstance.post("/api/token-auth/",n);return p.status===200&&(t.value=!0,o.value=p.data.token),l.value(),p}function a(){localStorage.removeItem(_),t.value=!1,o.value=null,r.value()}return{axiosInstance:c.axiosInstance,authenticated:t,login:f,logout:a,setPostLogin:d.setPostLogin,setPostLogout:d.setPostLogout,setupAuthRouteGuard:d.setupAuthRouteGuard,unsetAuthRouteGuard:d.unsetAuthRouteGuard}}function q(){const t=e.ref(!1),o=e.ref(null),r=e.ref(null),l=e.ref(()=>{}),i=e.ref(()=>{}),d=localStorage.getItem(y),f=localStorage.getItem(x),a="/api/token/refresh/",n=b(t,i,l);d&&f&&(o.value=d,r.value=f,t.value=!0),e.watch(o,()=>{localStorage.setItem(y,o.value??"")}),e.watch(r,()=>{localStorage.setItem(x,r.value??"")}),c.axiosInstance.defaults.withCredentials=!0,c.axiosInstance.defaults.headers.common["Content-Type"]="application/json",c.axiosInstance.interceptors.request.use(async s=>(t.value&&o.value&&(s.headers.Authorization=`Bearer ${o.value}`),s),s=>Promise.reject(s));function p(s){return!!(s.response&&[401,403].includes(s.response.status)&&(s.response?.data?.code==="token_not_valid"||!o.value||!r.value))}async function h(s){const u=await c.axiosInstance.post(a,{refresh:r.value});if(u.status===200)return o.value=u.data.access,u.data.refresh&&(r.value=u.data.refresh),s.headers.Authorization=`Bearer ${o.value}`,c.axiosInstance(s);throw new Error("Token refresh failed")}c.axiosInstance.interceptors.response.use(s=>s,async s=>{if(!p(s))return Promise.reject(s);const u=s.config;if(!(u.url===a)&&r.value)try{return await h(u)}catch(S){return m(),Promise.reject(S)}else m();return Promise.reject(s)});async function g(s){const u=await c.axiosInstance.post("/api/token/",s);return u.status===200&&(t.value=!0,o.value=u.data.access,r.value=u.data.refresh),i.value(),u}function m(){localStorage.removeItem(y),localStorage.removeItem(x),t.value=!1,o.value=null,r.value=null,l.value()}return{axiosInstance:c.axiosInstance,authenticated:t,login:g,logout:m,setPostLogin:n.setPostLogin,setPostLogout:n.setPostLogout,setupAuthRouteGuard:n.setupAuthRouteGuard,unsetAuthRouteGuard:n.unsetAuthRouteGuard}}const G=L({authenticationType:"TOKEN"},R),B={class:"text-center"},$={class:"text-2xl font-bold text-gray-900 dark:text-gray-100 mb-2"},F={class:"space-y-4"},D={class:"text-gray-700 dark:text-gray-300 text-center"},K={class:"text-center space-y-2"},z={class:"flex items-center gap-3 p-3 border border-gray-200 dark:border-gray-700 rounded-lg"},U={for:"consent-checkbox",class:"text-sm text-gray-700 dark:text-gray-300 cursor-pointer"},O={class:"flex gap-3 pt-4"},W=e.defineComponent({__name:"LegalConsent",setup(t){const o=w.useRouter(),r=o.currentRoute.value.redirectedFrom,l=v.useLegalStore(),i=I(),d=N(),f=e.ref(!1),{t:a}=P.useI18nLib(),n=async()=>{try{await l.acceptLegalConsent();const h=r?{path:r.path}:"/";o.push(h).then(()=>{i.add({severity:"success",summary:a("legal_consent.toast_accept_summary"),detail:a("legal_consent.toast_accept_detail"),life:5e3})})}catch(h){console.error("Failed to accept legal consent:",h),i.add({severity:"error",summary:a("legal_consent.error_summary"),detail:a("legal_consent.error_detail"),life:5e3})}},p=()=>{d.require({message:a("legal_consent.confirm_message"),header:a("legal_consent.confirm_header"),icon:"pi pi-exclamation-triangle",rejectProps:{label:a("legal_consent.reject_label"),severity:"secondary",outlined:!0},acceptProps:{label:a("legal_consent.accept_label"),severity:"danger"},accept:()=>{i.add({severity:"warn",summary:a("legal_consent.disconnected_summary"),detail:a("legal_consent.disconnected_detail"),life:5e3}),G.logout()}})};return(h,g)=>{const m=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",null,[e.createVNode(e.unref(T.script),{class:"w-full max-w-md"},{title:e.withCtx(()=>[e.createElementVNode("div",B,[e.createElementVNode("h1",$,e.toDisplayString(e.unref(a)("legal_consent.title")),1)])]),content:e.withCtx(()=>[e.createElementVNode("div",F,[e.createElementVNode("p",D,e.toDisplayString(e.unref(a)("legal_consent.intro")),1),e.createElementVNode("div",K,[e.createElementVNode("div",null,[e.createVNode(m,{to:"/terms-of-use",class:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 underline",target:"_blank"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("legal_consent.terms_of_use")),1)]),_:1})]),e.createElementVNode("div",null,[e.createVNode(m,{to:"/privacy-notice",class:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 underline",target:"_blank"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("legal_consent.privacy_notice")),1)]),_:1})])]),e.createElementVNode("div",z,[e.createVNode(e.unref(v.script),{modelValue:f.value,"onUpdate:modelValue":g[0]||(g[0]=s=>f.value=s),"input-id":"consent-checkbox",binary:!0},null,8,["modelValue"]),e.createElementVNode("label",U,e.toDisplayString(e.unref(a)("legal_consent.checkbox_label")),1)]),e.createElementVNode("div",O,[e.createVNode(e.unref(v.script$1),{label:e.unref(a)("legal_consent.accept"),icon:"pi pi-check",disabled:!f.value,class:"flex-1",severity:"success",onClick:n},null,8,["label","disabled"]),e.createVNode(e.unref(v.script$1),{label:e.unref(a)("legal_consent.cancel"),icon:"pi pi-times",severity:"secondary",outlined:"",class:"flex-1",onClick:p},null,8,["label"])])])]),_:1})])}}});exports.default=W;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),w=require("vue-router"),v=require("./lib-BEVtXpEW.cjs"),T=require("./index-52nB-rKK.cjs"),k=require("pinia"),c=require("./axios-BompFBxL.cjs"),P=require("./index-TM4WIzFN.cjs");var V=Symbol();function I(){var t=e.inject(V);if(!t)throw new Error("No PrimeVue Toast provided!");return t}var A=Symbol();function N(){var t=e.inject(A);if(!t)throw new Error("No PrimeVue Confirmation provided!");return t}const R=k.createPinia(),_="authenticationToken",y="jwtAccessToken",x="jwtRefreshToken",L=(t,o=null)=>C(t)(o),C=t=>k.defineStore("backend",()=>j(t));function j(t){switch(t.authenticationType){case"TOKEN":return E();case"JWT":return q();default:throw new Error(`Unknown authentication type: ${t.authenticationType}`)}}function b(t,o,r){let l=null;function i(n){o.value=n}function d(n){r.value=n}function f(n){l=e.watch(t,(p,h)=>{p!=h&&n.push({path:n.currentRoute.value.path,force:!0}).then(()=>{})})}function a(){l&&l()}return{setPostLogin:i,setPostLogout:d,setupAuthRouteGuard:f,unsetAuthRouteGuard:a,authRouteGuardWatcher:l}}function E(){const t=e.ref(!1),o=e.ref(null),r=e.ref(()=>{}),l=e.ref(()=>{}),i=localStorage.getItem(_),d=b(t,l,r);i&&(o.value=i,t.value=!0),e.watch(o,()=>{localStorage.setItem(_,o.value??"")}),c.axiosInstance.defaults.withCredentials=!0,c.axiosInstance.defaults.headers.common["Content-Type"]="application/json",c.axiosInstance.interceptors.request.use(async n=>(t.value&&o.value&&(n.headers.Authorization=`Token ${o.value}`),n),n=>Promise.reject(n)),c.axiosInstance.interceptors.response.use(n=>n,async n=>(n.response.status===403&&n.response.data?.detail==="Authentication credentials were not provided."&&a(),Promise.reject(n)));async function f(n){const p=await c.axiosInstance.post("/api/token-auth/",n);return p.status===200&&(t.value=!0,o.value=p.data.token),l.value(),p}function a(){localStorage.removeItem(_),t.value=!1,o.value=null,r.value()}return{axiosInstance:c.axiosInstance,authenticated:t,login:f,logout:a,setPostLogin:d.setPostLogin,setPostLogout:d.setPostLogout,setupAuthRouteGuard:d.setupAuthRouteGuard,unsetAuthRouteGuard:d.unsetAuthRouteGuard}}function q(){const t=e.ref(!1),o=e.ref(null),r=e.ref(null),l=e.ref(()=>{}),i=e.ref(()=>{}),d=localStorage.getItem(y),f=localStorage.getItem(x),a="/api/token/refresh/",n=b(t,i,l);d&&f&&(o.value=d,r.value=f,t.value=!0),e.watch(o,()=>{localStorage.setItem(y,o.value??"")}),e.watch(r,()=>{localStorage.setItem(x,r.value??"")}),c.axiosInstance.defaults.withCredentials=!0,c.axiosInstance.defaults.headers.common["Content-Type"]="application/json",c.axiosInstance.interceptors.request.use(async s=>(t.value&&o.value&&(s.headers.Authorization=`Bearer ${o.value}`),s),s=>Promise.reject(s));function p(s){return!!(s.response&&[401,403].includes(s.response.status)&&(s.response?.data?.code==="token_not_valid"||!o.value||!r.value))}async function h(s){const u=await c.axiosInstance.post(a,{refresh:r.value});if(u.status===200)return o.value=u.data.access,u.data.refresh&&(r.value=u.data.refresh),s.headers.Authorization=`Bearer ${o.value}`,c.axiosInstance(s);throw new Error("Token refresh failed")}c.axiosInstance.interceptors.response.use(s=>s,async s=>{if(!p(s))return Promise.reject(s);const u=s.config;if(!(u.url===a)&&r.value)try{return await h(u)}catch(S){return m(),Promise.reject(S)}else m();return Promise.reject(s)});async function g(s){const u=await c.axiosInstance.post("/api/token/",s);return u.status===200&&(t.value=!0,o.value=u.data.access,r.value=u.data.refresh),i.value(),u}function m(){localStorage.removeItem(y),localStorage.removeItem(x),t.value=!1,o.value=null,r.value=null,l.value()}return{axiosInstance:c.axiosInstance,authenticated:t,login:g,logout:m,setPostLogin:n.setPostLogin,setPostLogout:n.setPostLogout,setupAuthRouteGuard:n.setupAuthRouteGuard,unsetAuthRouteGuard:n.unsetAuthRouteGuard}}const G=L({authenticationType:"TOKEN"},R),B={class:"text-center"},$={class:"text-2xl font-bold text-gray-900 dark:text-gray-100 mb-2"},F={class:"space-y-4"},D={class:"text-gray-700 dark:text-gray-300 text-center"},K={class:"text-center space-y-2"},z={class:"flex items-center gap-3 p-3 border border-gray-200 dark:border-gray-700 rounded-lg"},U={for:"consent-checkbox",class:"text-sm text-gray-700 dark:text-gray-300 cursor-pointer"},O={class:"flex gap-3 pt-4"},W=e.defineComponent({__name:"LegalConsent",setup(t){const o=w.useRouter(),r=o.currentRoute.value.redirectedFrom,l=v.useLegalStore(),i=I(),d=N(),f=e.ref(!1),{t:a}=P.useI18nLib(),n=async()=>{try{await l.acceptLegalConsent();const h=r?{path:r.path}:"/";o.push(h).then(()=>{i.add({severity:"success",summary:a("legal_consent.toast_accept_summary"),detail:a("legal_consent.toast_accept_detail"),life:5e3})})}catch(h){console.error("Failed to accept legal consent:",h),i.add({severity:"error",summary:a("legal_consent.error_summary"),detail:a("legal_consent.error_detail"),life:5e3})}},p=()=>{d.require({message:a("legal_consent.confirm_message"),header:a("legal_consent.confirm_header"),icon:"pi pi-exclamation-triangle",rejectProps:{label:a("legal_consent.reject_label"),severity:"secondary",outlined:!0},acceptProps:{label:a("legal_consent.accept_label"),severity:"danger"},accept:()=>{i.add({severity:"warn",summary:a("legal_consent.disconnected_summary"),detail:a("legal_consent.disconnected_detail"),life:5e3}),G.logout()}})};return(h,g)=>{const m=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",null,[e.createVNode(e.unref(T.script),{class:"w-full max-w-md"},{title:e.withCtx(()=>[e.createElementVNode("div",B,[e.createElementVNode("h1",$,e.toDisplayString(e.unref(a)("legal_consent.title")),1)])]),content:e.withCtx(()=>[e.createElementVNode("div",F,[e.createElementVNode("p",D,e.toDisplayString(e.unref(a)("legal_consent.intro")),1),e.createElementVNode("div",K,[e.createElementVNode("div",null,[e.createVNode(m,{to:"/terms-of-use",class:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 underline",target:"_blank"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("legal_consent.terms_of_use")),1)]),_:1})]),e.createElementVNode("div",null,[e.createVNode(m,{to:"/privacy-notice",class:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 underline",target:"_blank"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("legal_consent.privacy_notice")),1)]),_:1})])]),e.createElementVNode("div",z,[e.createVNode(e.unref(v.script),{modelValue:f.value,"onUpdate:modelValue":g[0]||(g[0]=s=>f.value=s),"input-id":"consent-checkbox",binary:!0},null,8,["modelValue"]),e.createElementVNode("label",U,e.toDisplayString(e.unref(a)("legal_consent.checkbox_label")),1)]),e.createElementVNode("div",O,[e.createVNode(e.unref(v.script$1),{label:e.unref(a)("legal_consent.accept"),icon:"pi pi-check",disabled:!f.value,class:"flex-1",severity:"success",onClick:n},null,8,["label","disabled"]),e.createVNode(e.unref(v.script$1),{label:e.unref(a)("legal_consent.cancel"),icon:"pi pi-times",severity:"secondary",outlined:"",class:"flex-1",onClick:p},null,8,["label"])])])]),_:1})])}}});exports.default=W;
@@ -1,6 +1,6 @@
1
1
  import { inject as L, ref as h, watch as x, defineComponent as C, resolveComponent as V, createElementBlock as G, openBlock as I, createVNode as v, unref as d, withCtx as b, createElementVNode as f, toDisplayString as y, createTextVNode as P } from "vue";
2
2
  import { useRouter as E } from "vue-router";
3
- import { u as B, s as N, b as A } from "./lib-a417Oeyw.js";
3
+ import { u as B, s as N, b as A } from "./lib-CA1k4S8X.js";
4
4
  import { s as F } from "./index-BctaqoUB.js";
5
5
  import { createPinia as $, defineStore as q } from "pinia";
6
6
  import { a as r } from "./axios-C7yNV7KF.js";
@@ -1,7 +1,7 @@
1
1
  import { createElementBlock as ce, openBlock as D, mergeProps as $e, defineComponent as Re, useTemplateRef as Te, ref as ze, watch as Ae, onMounted as ve, createBlock as _e, createCommentVNode as Pe, createElementVNode as Ie, unref as ne, normalizeClass as Le } from "vue";
2
2
  import "./axios-C7yNV7KF.js";
3
- import { b as Be } from "./apiClient-BVTjfFf0.js";
4
- import { u as Ce, a as Ee } from "./lib-a417Oeyw.js";
3
+ import { b as Be } from "./apiClient-BAzNCKuU.js";
4
+ import { u as Ce, a as Ee } from "./lib-CA1k4S8X.js";
5
5
  import { B as qe, s as Ze } from "./index-Dd7rSEka.js";
6
6
  import { f as Me } from "./index-CowW14sC.js";
7
7
  function H() {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("vue");require("./axios-BompFBxL.cjs");const $e=require("./apiClient-D5dnUKXi.cjs"),ne=require("./lib-CNCjqOo9.cjs"),ce=require("./index-BCKqvrXF.cjs"),Re=require("./index-TM4WIzFN.cjs");function H(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var R=H();function he(n){R=n}var _={exec:()=>null};function p(n,e=""){let r=typeof n=="string"?n:n.source,s={replace:(t,i)=>{let l=typeof i=="string"?i:i.source;return l=l.replace(b.caret,"$1"),r=r.replace(t,l),s},getRegex:()=>new RegExp(r,e)};return s}var b={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:n=>new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}#`),htmlBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}<(?:[a-z].*>|!--)`,"i")},Te=/^(?:[ \t]*(?:\n|$))+/,ze=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ae=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,I=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ve=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Q=/(?:[*+-]|\d{1,9}[.)])/,pe=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ue=p(pe).replace(/bull/g,Q).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),_e=p(pe).replace(/bull/g,Q).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),G=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Pe=/^[^\n]+/,X=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Ie=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",X).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Be=p(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Q).getRegex(),E="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",F=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ce=p("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",F).replace("tag",E).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ge=p(G).replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",E).getRegex(),Le=p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ge).getRegex(),W={blockquote:Le,code:ze,def:Ie,fences:Ae,heading:ve,hr:I,html:Ce,lheading:ue,list:Be,newline:Te,paragraph:ge,table:_,text:Pe},re=p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",E).getRegex(),qe={...W,lheading:_e,table:re,paragraph:p(G).replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",re).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",E).getRegex()},Ee={...W,html:p(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",F).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:_,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(G).replace("hr",I).replace("heading",` *#{1,6} *[^
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("vue");require("./axios-BompFBxL.cjs");const $e=require("./apiClient-B6fJs4NI.cjs"),ne=require("./lib-BEVtXpEW.cjs"),ce=require("./index-BCKqvrXF.cjs"),Re=require("./index-TM4WIzFN.cjs");function H(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var R=H();function he(n){R=n}var _={exec:()=>null};function p(n,e=""){let r=typeof n=="string"?n:n.source,s={replace:(t,i)=>{let l=typeof i=="string"?i:i.source;return l=l.replace(b.caret,"$1"),r=r.replace(t,l),s},getRegex:()=>new RegExp(r,e)};return s}var b={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:n=>new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}#`),htmlBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}<(?:[a-z].*>|!--)`,"i")},Te=/^(?:[ \t]*(?:\n|$))+/,ze=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ae=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,I=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ve=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Q=/(?:[*+-]|\d{1,9}[.)])/,pe=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ue=p(pe).replace(/bull/g,Q).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),_e=p(pe).replace(/bull/g,Q).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),G=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Pe=/^[^\n]+/,X=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Ie=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",X).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Be=p(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Q).getRegex(),E="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",F=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ce=p("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",F).replace("tag",E).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ge=p(G).replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",E).getRegex(),Le=p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ge).getRegex(),W={blockquote:Le,code:ze,def:Ie,fences:Ae,heading:ve,hr:I,html:Ce,lheading:ue,list:Be,newline:Te,paragraph:ge,table:_,text:Pe},re=p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",E).getRegex(),qe={...W,lheading:_e,table:re,paragraph:p(G).replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",re).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",E).getRegex()},Ee={...W,html:p(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",F).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:_,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(G).replace("hr",I).replace("heading",` *#{1,6} *[^
2
2
  ]`).replace("lheading",ue).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ze=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Me=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ke=/^( {2,}|\\)\n(?!\s*$)/,De=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Z=/[\p{P}\p{S}]/u,U=/[\s\p{P}\p{S}]/u,de=/[^\s\p{P}\p{S}]/u,Oe=p(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,U).getRegex(),fe=/(?!~)[\p{P}\p{S}]/u,je=/(?!~)[\s\p{P}\p{S}]/u,Ne=/(?:[^\s\p{P}\p{S}]|~)/u,He=/\[(?:[^\[\]`]|`[^`]*?`)*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,xe=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Qe=p(xe,"u").replace(/punct/g,Z).getRegex(),Ge=p(xe,"u").replace(/punct/g,fe).getRegex(),be="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Xe=p(be,"gu").replace(/notPunctSpace/g,de).replace(/punctSpace/g,U).replace(/punct/g,Z).getRegex(),Fe=p(be,"gu").replace(/notPunctSpace/g,Ne).replace(/punctSpace/g,je).replace(/punct/g,fe).getRegex(),We=p("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,de).replace(/punctSpace/g,U).replace(/punct/g,Z).getRegex(),Ue=p(/\\(punct)/,"gu").replace(/punct/g,Z).getRegex(),Ve=p(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ke=p(F).replace("(?:-->|$)","-->").getRegex(),Je=p("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Ke).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),C=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Ye=p(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",C).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),me=p(/^!?\[(label)\]\[(ref)\]/).replace("label",C).replace("ref",X).getRegex(),we=p(/^!?\[(ref)\](?:\[\])?/).replace("ref",X).getRegex(),et=p("reflink|nolink(?!\\()","g").replace("reflink",me).replace("nolink",we).getRegex(),se=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,V={_backpedal:_,anyPunctuation:Ue,autolink:Ve,blockSkip:He,br:ke,code:Me,del:_,emStrongLDelim:Qe,emStrongRDelimAst:Xe,emStrongRDelimUnd:We,escape:Ze,link:Ye,nolink:we,punctuation:Oe,reflink:me,reflinkSearch:et,tag:Je,text:De,url:_},tt={...V,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",C).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",C).getRegex()},O={...V,emStrongRDelimAst:Fe,emStrongLDelim:Ge,url:p(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",se).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:p(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",se).getRegex()},nt={...O,br:p(ke).replace("{2,}","*").getRegex(),text:p(O.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},B={normal:W,gfm:qe,pedantic:Ee},z={normal:V,gfm:O,breaks:nt,pedantic:tt},rt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},le=n=>rt[n];function S(n,e){if(e){if(b.escapeTest.test(n))return n.replace(b.escapeReplace,le)}else if(b.escapeTestNoEncode.test(n))return n.replace(b.escapeReplaceNoEncode,le);return n}function ie(n){try{n=encodeURI(n).replace(b.percentDecode,"%")}catch{return null}return n}function ae(n,e){let r=n.replace(b.findPipe,(i,l,a)=>{let o=!1,c=l;for(;--c>=0&&a[c]==="\\";)o=!o;return o?"|":" |"}),s=r.split(b.splitPipe),t=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;t<s.length;t++)s[t]=s[t].trim().replace(b.slashPipe,"|");return s}function A(n,e,r){let s=n.length;if(s===0)return"";let t=0;for(;t<s&&n.charAt(s-t-1)===e;)t++;return n.slice(0,s-t)}function st(n,e){if(n.indexOf(e[1])===-1)return-1;let r=0;for(let s=0;s<n.length;s++)if(n[s]==="\\")s++;else if(n[s]===e[0])r++;else if(n[s]===e[1]&&(r--,r<0))return s;return r>0?-2:-1}function oe(n,e,r,s,t){let i=e.href,l=e.title||null,a=n[1].replace(t.other.outputLinkReplace,"$1");s.state.inLink=!0;let o={type:n[0].charAt(0)==="!"?"image":"link",raw:r,href:i,title:l,text:a,tokens:s.inlineTokens(a)};return s.state.inLink=!1,o}function lt(n,e,r){let s=n.match(r.other.indentCodeCompensation);if(s===null)return e;let t=s[1];return e.split(`
3
3
  `).map(i=>{let l=i.match(r.other.beginningSpace);if(l===null)return i;let[a]=l;return a.length>=t.length?i.slice(t.length):i}).join(`
4
4
  `)}var L=class{options;rules;lexer;constructor(n){this.options=n||R}space(n){let e=this.rules.block.newline.exec(n);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(n){let e=this.rules.block.code.exec(n);if(e){let r=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:A(r,`
@@ -0,0 +1 @@
1
+ "use strict";const u=require("vue"),Y=require("./axios-BompFBxL.cjs");var P=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},et={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},st=class{#e=et;#t=!1;setTimeoutProvider(t){process.env.NODE_ENV!=="production"&&this.#t&&t!==this.#e&&console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:this.#e,provider:t}),this.#e=t,process.env.NODE_ENV!=="production"&&(this.#t=!1)}setTimeout(t,e){return process.env.NODE_ENV!=="production"&&(this.#t=!0),this.#e.setTimeout(t,e)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,e){return process.env.NODE_ENV!=="production"&&(this.#t=!0),this.#e.setInterval(t,e)}clearInterval(t){this.#e.clearInterval(t)}},T=new st;function it(t){setTimeout(t,0)}var F=typeof window>"u"||"Deno"in globalThis;function nt(){}function q(t){return typeof t=="number"&&t>=0&&t!==1/0}function rt(t,e){return Math.max(t+(e||0)-Date.now(),0)}function E(t,e){return typeof t=="function"?t(e):t}function y(t,e){return typeof t=="function"?t(e):t}function K(t){return JSON.stringify(t,(e,s)=>U(s)?Object.keys(s).sort().reduce((n,i)=>(n[i]=s[i],n),{}):s)}var ot=Object.prototype.hasOwnProperty;function L(t,e){if(t===e)return t;const s=z(t)&&z(e);if(!s&&!(U(t)&&U(e)))return e;const i=(s?t:Object.keys(t)).length,r=s?e:Object.keys(e),c=r.length,o=s?new Array(c):{};let f=0;for(let p=0;p<c;p++){const a=s?p:r[p],d=t[a],h=e[a];if(d===h){o[a]=d,(s?p<i:ot.call(t,a))&&f++;continue}if(d===null||h===null||typeof d!="object"||typeof h!="object"){o[a]=h;continue}const l=L(d,h);o[a]=l,l===d&&f++}return i===c&&f===i?t:o}function M(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function z(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function U(t){if(!$(t))return!1;const e=t.constructor;if(e===void 0)return!0;const s=e.prototype;return!(!$(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function $(t){return Object.prototype.toString.call(t)==="[object Object]"}function B(t,e,s){if(typeof s.structuralSharing=="function")return s.structuralSharing(t,e);if(s.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return L(t,e)}catch(n){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${s.queryHash}]: ${n}`),n}return L(t,e)}return e}function D(t,e){return typeof t=="function"?t(...e):!!t}var at=class extends P{#e;#t;#s;constructor(){super(),this.#s=t=>{if(!F&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#t||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#s=t,this.#t?.(),this.#t=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},ut=new at;function W(){let t,e;const s=new Promise((i,r)=>{t=i,e=r});s.status="pending",s.catch(()=>{});function n(i){Object.assign(s,i),delete s.resolve,delete s.reject}return s.resolve=i=>{n({status:"fulfilled",value:i}),t(i)},s.reject=i=>{n({status:"rejected",reason:i}),e(i)},s}var ct=it;function ht(){let t=[],e=0,s=o=>{o()},n=o=>{o()},i=ct;const r=o=>{e?t.push(o):i(()=>{s(o)})},c=()=>{const o=t;t=[],o.length&&i(()=>{n(()=>{o.forEach(f=>{s(f)})})})};return{batch:o=>{let f;e++;try{f=o()}finally{e--,e||c()}return f},batchCalls:o=>(...f)=>{r(()=>{o(...f)})},schedule:r,setNotifyFunction:o=>{s=o},setBatchNotifyFunction:o=>{n=o},setScheduler:o=>{i=o}}}var Z=ht(),lt=class extends P{#e=!0;#t;#s;constructor(){super(),this.#s=t=>{if(!F&&window.addEventListener){const e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#t||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#s=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#e}},ft=new lt;function dt(t){return(t??"online")==="online"?ft.isOnline():!0}function pt(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dt(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}var bt=class extends P{constructor(t,e){super(),this.options=e,this.#e=t,this.#a=null,this.#o=W(),this.bindMethods(),this.setOptions(e)}#e;#t=void 0;#s=void 0;#i=void 0;#n;#r;#o;#a;#b;#f;#d;#c;#h;#u;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),H(this.#t,this.options)?this.#l():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return x(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return x(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#O(),this.#w(),this.#t.removeObserver(this)}setOptions(t){const e=this.options,s=this.#t;if(this.options=this.#e.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof y(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#R(),this.#t.setOptions(this.options),e._defaulted&&!M(this.options,e)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const n=this.hasListeners();n&&J(this.#t,s,this.options,e)&&this.#l(),this.updateResult(),n&&(this.#t!==s||y(this.options.enabled,this.#t)!==y(e.enabled,this.#t)||E(this.options.staleTime,this.#t)!==E(e.staleTime,this.#t))&&this.#v();const i=this.#y();n&&(this.#t!==s||y(this.options.enabled,this.#t)!==y(e.enabled,this.#t)||i!==this.#u)&&this.#m(i)}getOptimisticResult(t){const e=this.#e.getQueryCache().build(this.#e,t),s=this.createResult(e,t);return yt(this,s)&&(this.#i=s,this.#r=this.options,this.#n=this.#t.state),s}getCurrentResult(){return this.#i}trackResult(t,e){return new Proxy(t,{get:(s,n)=>(this.trackProp(n),e?.(n),n==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,n))})}trackProp(t){this.#p.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#e.defaultQueryOptions(t),s=this.#e.getQueryCache().build(this.#e,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#l({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#l(t){this.#R();let e=this.#t.fetch(this.options,t);return t?.throwOnError||(e=e.catch(nt)),e}#v(){this.#O();const t=E(this.options.staleTime,this.#t);if(F||this.#i.isStale||!q(t))return;const s=rt(this.#i.dataUpdatedAt,t)+1;this.#c=T.setTimeout(()=>{this.#i.isStale||this.updateResult()},s)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#m(t){this.#w(),this.#u=t,!(F||y(this.options.enabled,this.#t)===!1||!q(this.#u)||this.#u===0)&&(this.#h=T.setInterval(()=>{(this.options.refetchIntervalInBackground||ut.isFocused())&&this.#l()},this.#u))}#g(){this.#v(),this.#m(this.#y())}#O(){this.#c&&(T.clearTimeout(this.#c),this.#c=void 0)}#w(){this.#h&&(T.clearInterval(this.#h),this.#h=void 0)}createResult(t,e){const s=this.#t,n=this.options,i=this.#i,r=this.#n,c=this.#r,f=t!==s?t.state:this.#s,{state:p}=t;let a={...p},d=!1,h;if(e._optimisticResults){const b=this.hasListeners(),I=!b&&H(t,e),R=b&&J(t,s,e,n);(I||R)&&(a={...a,...pt(p.data,t.options)}),e._optimisticResults==="isRestoring"&&(a.fetchStatus="idle")}let{error:l,errorUpdatedAt:g,status:v}=a;h=a.data;let S=!1;if(e.placeholderData!==void 0&&h===void 0&&v==="pending"){let b;i?.isPlaceholderData&&e.placeholderData===c?.placeholderData?(b=i.data,S=!0):b=typeof e.placeholderData=="function"?e.placeholderData(this.#d?.state.data,this.#d):e.placeholderData,b!==void 0&&(v="success",h=B(i?.data,b,e),d=!0)}if(e.select&&h!==void 0&&!S)if(i&&h===r?.data&&e.select===this.#b)h=this.#f;else try{this.#b=e.select,h=e.select(h),h=B(i?.data,h,e),this.#f=h,this.#a=null}catch(b){this.#a=b}this.#a&&(l=this.#a,h=this.#f,g=Date.now(),v="error");const O=a.fetchStatus==="fetching",w=v==="pending",Q=v==="error",A=w&&O,V=h!==void 0,m={status:v,fetchStatus:a.fetchStatus,isPending:w,isSuccess:v==="success",isError:Q,isInitialLoading:A,isLoading:A,data:h,dataUpdatedAt:a.dataUpdatedAt,error:l,errorUpdatedAt:g,failureCount:a.fetchFailureCount,failureReason:a.fetchFailureReason,errorUpdateCount:a.errorUpdateCount,isFetched:a.dataUpdateCount>0||a.errorUpdateCount>0,isFetchedAfterMount:a.dataUpdateCount>f.dataUpdateCount||a.errorUpdateCount>f.errorUpdateCount,isFetching:O,isRefetching:O&&!w,isLoadingError:Q&&!V,isPaused:a.fetchStatus==="paused",isPlaceholderData:d,isRefetchError:Q&&V,isStale:_(t,e),refetch:this.refetch,promise:this.#o,isEnabled:y(e.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const b=j=>{m.status==="error"?j.reject(m.error):m.data!==void 0&&j.resolve(m.data)},I=()=>{const j=this.#o=m.promise=W();b(j)},R=this.#o;switch(R.status){case"pending":t.queryHash===s.queryHash&&b(R);break;case"fulfilled":(m.status==="error"||m.data!==R.value)&&I();break;case"rejected":(m.status!=="error"||m.error!==R.reason)&&I();break}}return m}updateResult(){const t=this.#i,e=this.createResult(this.#t,this.options);if(this.#n=this.#t.state,this.#r=this.options,this.#n.data!==void 0&&(this.#d=this.#t),M(e,t))return;this.#i=e;const s=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,i=typeof n=="function"?n():n;if(i==="all"||!i&&!this.#p.size)return!0;const r=new Set(i??this.#p);return this.options.throwOnError&&r.add("error"),Object.keys(this.#i).some(c=>{const o=c;return this.#i[o]!==t[o]&&r.has(o)})};this.#S({listeners:s()})}#R(){const t=this.#e.getQueryCache().build(this.#e,this.options);if(t===this.#t)return;const e=this.#t;this.#t=t,this.#s=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#S(t){Z.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(this.#i)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function vt(t,e){return y(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function H(t,e){return vt(t,e)||t.state.data!==void 0&&x(t,e,e.refetchOnMount)}function x(t,e,s){if(y(e.enabled,t)!==!1&&E(e.staleTime,t)!=="static"){const n=typeof s=="function"?s(t):s;return n==="always"||n!==!1&&_(t,e)}return!1}function J(t,e,s,n){return(t!==e||y(n.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&_(t,s)}function _(t,e){return y(e.enabled,t)!==!1&&t.isStaleByTime(E(e.staleTime,t))}function yt(t,e){return!M(t.getCurrentResult(),e)}function mt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var gt=class extends P{#e;#t=void 0;#s;#i;constructor(t,e){super(),this.#e=t,this.setOptions(e),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const e=this.options;this.options=this.#e.defaultMutationOptions(t),M(this.options,e)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&K(e.mutationKey)!==K(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#n(),this.#r(t)}getCurrentResult(){return this.#t}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#n(),this.#r()}mutate(t,e){return this.#i=e,this.#s?.removeObserver(this),this.#s=this.#e.getMutationCache().build(this.#e,this.options),this.#s.addObserver(this),this.#s.execute(t)}#n(){const t=this.#s?.state??mt();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#r(t){Z.batch(()=>{if(this.#i&&this.hasListeners()){const e=this.#t.variables,s=this.#t.context,n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#i.onSuccess?.(t.data,e,s,n),this.#i.onSettled?.(t.data,null,e,s,n)):t?.type==="error"&&(this.#i.onError?.(t.error,e,s,n),this.#i.onSettled?.(void 0,t.error,e,s,n))}this.listeners.forEach(e=>{e(this.#t)})})}},Ot="VUE_QUERY_CLIENT";function wt(t){const e=t?`:${t}`:"";return`${Ot}${e}`}function N(t,e){Object.keys(t).forEach(s=>{t[s]=e[s]})}function k(t,e,s="",n=0){if(e){const i=e(t,s,n);if(i===void 0&&u.isRef(t)||i!==void 0)return i}if(Array.isArray(t))return t.map((i,r)=>k(i,e,String(r),n+1));if(typeof t=="object"&&St(t)){const i=Object.entries(t).map(([r,c])=>[r,k(c,e,r,n+1)]);return Object.fromEntries(i)}return t}function Rt(t,e){return k(t,e)}function C(t,e=!1){return Rt(t,(s,n,i)=>{if(i===1&&n==="queryKey")return C(s,!0);if(e&&Et(s))return C(s(),e);if(u.isRef(s))return C(u.unref(s),e)})}function St(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function Et(t){return typeof t=="function"}function X(t=""){if(!u.hasInjectionContext())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const e=wt(t),s=u.inject(e);if(!s)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return s}function Ct(t,e,s){process.env.NODE_ENV==="development"&&(u.getCurrentScope()||console.warn('vue-query composable like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.'));const n=X(),i=u.computed(()=>{const l=C(e);typeof l.enabled=="function"&&(l.enabled=l.enabled());const g=n.defaultQueryOptions(l);return g._optimisticResults=n.isRestoring?.value?"isRestoring":"optimistic",g}),r=new t(n,i.value),c=i.value.shallow?u.shallowReactive(r.getCurrentResult()):u.reactive(r.getCurrentResult());let o=()=>{};n.isRestoring&&u.watch(n.isRestoring,l=>{l||(o(),o=r.subscribe(g=>{N(c,g)}))},{immediate:!0});const f=()=>{r.setOptions(i.value),N(c,r.getCurrentResult())};u.watch(i,f),u.onScopeDispose(()=>{o()});const p=(...l)=>(f(),c.refetch(...l)),a=()=>new Promise((l,g)=>{let v=()=>{};const S=()=>{if(i.value.enabled!==!1){r.setOptions(i.value);const O=r.getOptimisticResult(i.value);O.isStale?(v(),r.fetchOptimistic(i.value).then(l,w=>{D(i.value.throwOnError,[w,r.getCurrentQuery()])?g(w):l(r.getCurrentResult())})):(v(),l(O))}};S(),v=u.watch(i,S)});u.watch(()=>c.error,l=>{if(c.isError&&!c.isFetching&&D(i.value.throwOnError,[l,r.getCurrentQuery()]))throw l});const d=i.value.shallow?u.shallowReadonly(c):u.readonly(c),h=u.toRefs(d);for(const l in c)typeof c[l]=="function"&&(h[l]=c[l]);return h.suspense=a,h.refetch=p,h}function G(t,e){return Ct(bt,t)}function tt(t,e){process.env.NODE_ENV==="development"&&(u.getCurrentScope()||console.warn('vue-query composable like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.'));const s=X(),n=u.computed(()=>s.defaultMutationOptions(C(t))),i=new gt(s,n.value),r=n.value.shallow?u.shallowReactive(i.getCurrentResult()):u.reactive(i.getCurrentResult()),c=i.subscribe(a=>{N(r,a)}),o=(a,d)=>{i.mutate(a,d).catch(()=>{})};u.watch(n,()=>{i.setOptions(n.value)}),u.onScopeDispose(()=>{c()});const f=n.value.shallow?u.shallowReadonly(r):u.readonly(r),p=u.toRefs(f);return u.watch(()=>r.error,a=>{if(a&&D(n.value.throwOnError,[a]))throw a}),{...p,mutate:o,mutateAsync:r.mutate,reset:r.reset}}function It(t,e){return G({queryKey:[t],queryFn:async()=>t.value?(await Y.axiosInstance.get(t.value)).data:void 0,enabled:()=>!!t.value,...e})}function jt(t,e){return tt({mutationFn:async s=>t.value?(await Y.axiosInstance.post(t.value,s)).data:void 0,...e})}const Tt={query:It,mutation:jt};exports.apiClient=Tt;exports.useMutation=tt;exports.useQuery=G;
@@ -1,6 +1,6 @@
1
1
  import { isRef as Y, unref as ut, hasInjectionContext as ht, inject as ct, getCurrentScope as Z, computed as X, shallowReactive as G, reactive as tt, watch as R, onScopeDispose as et, shallowReadonly as st, readonly as it, toRefs as nt } from "vue";
2
2
  import { a as rt } from "./axios-C7yNV7KF.js";
3
- var L = class {
3
+ var P = class {
4
4
  constructor() {
5
5
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
6
6
  }
@@ -148,7 +148,7 @@ function B(t, e, s) {
148
148
  function D(t, e) {
149
149
  return typeof t == "function" ? t(...e) : !!t;
150
150
  }
151
- var yt = class extends L {
151
+ var yt = class extends P {
152
152
  #e;
153
153
  #t;
154
154
  #s;
@@ -268,7 +268,7 @@ function Ot() {
268
268
  }
269
269
  };
270
270
  }
271
- var ot = Ot(), wt = class extends L {
271
+ var ot = Ot(), wt = class extends P {
272
272
  #e = !0;
273
273
  #t;
274
274
  #s;
@@ -314,7 +314,7 @@ function Et(t, e) {
314
314
  }
315
315
  };
316
316
  }
317
- var Ct = class extends L {
317
+ var Ct = class extends P {
318
318
  constructor(t, e) {
319
319
  super(), this.options = e, this.#e = t, this.#a = null, this.#o = W(), this.bindMethods(), this.setOptions(e);
320
320
  }
@@ -391,11 +391,11 @@ var Ct = class extends L {
391
391
  }
392
392
  trackResult(t, e) {
393
393
  return new Proxy(t, {
394
- get: (s, n) => (this.trackProp(n), e?.(n), n === "promise" && !this.options.experimental_prefetchInRender && this.#o.status === "pending" && this.#o.reject(
394
+ get: (s, n) => (this.trackProp(n), e?.(n), n === "promise" && (this.trackProp("data"), !this.options.experimental_prefetchInRender && this.#o.status === "pending" && this.#o.reject(
395
395
  new Error(
396
396
  "experimental_prefetchInRender feature flag is not enabled"
397
397
  )
398
- ), Reflect.get(s, n))
398
+ )), Reflect.get(s, n))
399
399
  });
400
400
  }
401
401
  trackProp(t) {
@@ -491,12 +491,12 @@ var Ct = class extends L {
491
491
  this.#a = p;
492
492
  }
493
493
  this.#a && (c = this.#a, h = this.#f, m = Date.now(), b = "error");
494
- const g = a.fetchStatus === "fetching", O = b === "pending", P = b === "error", A = O && g, V = h !== void 0, y = {
494
+ const g = a.fetchStatus === "fetching", O = b === "pending", L = b === "error", A = O && g, V = h !== void 0, y = {
495
495
  status: b,
496
496
  fetchStatus: a.fetchStatus,
497
497
  isPending: O,
498
498
  isSuccess: b === "success",
499
- isError: P,
499
+ isError: L,
500
500
  isInitialLoading: A,
501
501
  isLoading: A,
502
502
  data: h,
@@ -510,10 +510,10 @@ var Ct = class extends L {
510
510
  isFetchedAfterMount: a.dataUpdateCount > l.dataUpdateCount || a.errorUpdateCount > l.errorUpdateCount,
511
511
  isFetching: g,
512
512
  isRefetching: g && !O,
513
- isLoadingError: P && !V,
513
+ isLoadingError: L && !V,
514
514
  isPaused: a.fetchStatus === "paused",
515
515
  isPlaceholderData: f,
516
- isRefetchError: P && V,
516
+ isRefetchError: L && V,
517
517
  isStale: _(t, e),
518
518
  refetch: this.refetch,
519
519
  promise: this.#o,
@@ -617,7 +617,7 @@ function Tt() {
617
617
  submittedAt: 0
618
618
  };
619
619
  }
620
- var Ft = class extends L {
620
+ var Ft = class extends P {
621
621
  #e;
622
622
  #t = void 0;
623
623
  #s;
@@ -701,7 +701,7 @@ var Ft = class extends L {
701
701
  });
702
702
  }
703
703
  }, Mt = "VUE_QUERY_CLIENT";
704
- function Lt(t) {
704
+ function Pt(t) {
705
705
  const e = t ? `:${t}` : "";
706
706
  return `${Mt}${e}`;
707
707
  }
@@ -729,11 +729,11 @@ function k(t, e, s = "", n = 0) {
729
729
  }
730
730
  return t;
731
731
  }
732
- function Pt(t, e) {
732
+ function Lt(t, e) {
733
733
  return k(t, e);
734
734
  }
735
735
  function C(t, e = !1) {
736
- return Pt(t, (s, n, i) => {
736
+ return Lt(t, (s, n, i) => {
737
737
  if (i === 1 && n === "queryKey")
738
738
  return C(s, !0);
739
739
  if (e && Ut(s))
@@ -756,7 +756,7 @@ function at(t = "") {
756
756
  throw new Error(
757
757
  "vue-query hooks can only be used inside setup() function or functions that support injection context."
758
758
  );
759
- const e = Lt(t), s = ct(e);
759
+ const e = Pt(t), s = ct(e);
760
760
  if (!s)
761
761
  throw new Error(
762
762
  "No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library."
@@ -1,7 +1,7 @@
1
1
  import { B as S, j as w, g as O } from "./index-Dd7rSEka.js";
2
2
  import { b as h, f as m } from "./index-CowW14sC.js";
3
3
  import { createElementBlock as d, openBlock as l, mergeProps as s, createElementVNode as u, Fragment as k, renderList as B, renderSlot as y, normalizeClass as b, createBlock as v, resolveDynamicComponent as I } from "vue";
4
- import { g as F } from "./lib-a417Oeyw.js";
4
+ import { g as F } from "./lib-CA1k4S8X.js";
5
5
  var $ = {
6
6
  name: "BanIcon",
7
7
  extends: h
@@ -1,7 +1,7 @@
1
1
  import { B as we, K as De, F as Me, f as he, a as ie, t as U, z as O, x as J, w as W, a7 as Ce, b as Se, I as Te, v as ae, D as Ve, h as Pe, S as Ie } from "./index-Dd7rSEka.js";
2
2
  import { b as ke, R as Ee, s as Be, d as Fe, f as X, O as Ye, C as Le, x as oe } from "./index-CowW14sC.js";
3
3
  import { createElementBlock as k, openBlock as d, mergeProps as u, createElementVNode as M, resolveComponent as ee, resolveDirective as Oe, createBlock as P, createCommentVNode as g, renderSlot as v, createVNode as T, normalizeStyle as Ke, normalizeClass as Z, resolveDynamicComponent as E, Fragment as Y, withCtx as B, Transition as He, renderList as Q, withDirectives as x, vShow as fe, toDisplayString as D, createTextVNode as $, withKeys as w } from "vue";
4
- import { c as Ae, d as Ne, b as Ue, e as Re, f as ze } from "./lib-a417Oeyw.js";
4
+ import { c as Ae, d as Ne, b as Ue, e as Re, f as ze } from "./lib-CA1k4S8X.js";
5
5
  import { s as je } from "./index-CXJz1iyq.js";
6
6
  var ye = {
7
7
  name: "CalendarIcon",
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-BCKqvrXF.cjs"),s=require("./index-TM4WIzFN.cjs"),o=require("vue"),b=require("./lib-CNCjqOo9.cjs");var m={name:"BanIcon",extends:s.script$2};function v(n){return k(n)||L(n)||$(n)||I()}function I(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-BCKqvrXF.cjs"),s=require("./index-TM4WIzFN.cjs"),o=require("vue"),b=require("./lib-BEVtXpEW.cjs");var m={name:"BanIcon",extends:s.script$2};function v(n){return k(n)||L(n)||$(n)||I()}function I(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $(n,t){if(n){if(typeof n=="string")return p(n,t);var e={}.toString.call(n).slice(8,-1);return e==="Object"&&n.constructor&&(e=n.constructor.name),e==="Map"||e==="Set"?Array.from(n):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?p(n,t):void 0}}function L(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function k(n){if(Array.isArray(n))return p(n)}function p(n,t){(t==null||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function A(n,t,e,r,c,a){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),v(t[0]||(t[0]=[o.createElementVNode("path",{d:"M7 0C5.61553 0 4.26215 0.410543 3.11101 1.17971C1.95987 1.94888 1.06266 3.04213 0.532846 4.32122C0.00303296 5.6003 -0.13559 7.00776 0.134506 8.36563C0.404603 9.7235 1.07129 10.9708 2.05026 11.9497C3.02922 12.9287 4.2765 13.5954 5.63437 13.8655C6.99224 14.1356 8.3997 13.997 9.67879 13.4672C10.9579 12.9373 12.0511 12.0401 12.8203 10.889C13.5895 9.73785 14 8.38447 14 7C14 5.14348 13.2625 3.36301 11.9497 2.05025C10.637 0.737498 8.85652 0 7 0ZM1.16667 7C1.16549 5.65478 1.63303 4.35118 2.48889 3.31333L10.6867 11.5111C9.83309 12.2112 8.79816 12.6544 7.70243 12.789C6.60669 12.9236 5.49527 12.744 4.49764 12.2713C3.50001 11.7986 2.65724 11.0521 2.06751 10.1188C1.47778 9.18558 1.16537 8.10397 1.16667 7ZM11.5111 10.6867L3.31334 2.48889C4.43144 1.57388 5.84966 1.10701 7.29265 1.1789C8.73565 1.2508 10.1004 1.85633 11.1221 2.87795C12.1437 3.89956 12.7492 5.26435 12.8211 6.70735C12.893 8.15034 12.4261 9.56856 11.5111 10.6867Z",fill:"currentColor"},null,-1)])),16)}m.render=A;var C={name:"StarIcon",extends:s.script$2};function S(n){return F(n)||O(n)||B(n)||w()}function w(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B(n,t){if(n){if(typeof n=="string")return f(n,t);var e={}.toString.call(n).slice(8,-1);return e==="Object"&&n.constructor&&(e=n.constructor.name),e==="Map"||e==="Set"?Array.from(n):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?f(n,t):void 0}}function O(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function F(n){if(Array.isArray(n))return f(n)}function f(n,t){(t==null||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function T(n,t,e,r,c,a){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),S(t[0]||(t[0]=[o.createElementVNode("path",{d:"M10.9741 13.6721C10.8806 13.6719 10.7886 13.6483 10.7066 13.6033L7.00002 11.6545L3.29345 13.6033C3.19926 13.6539 3.09281 13.6771 2.98612 13.6703C2.87943 13.6636 2.77676 13.6271 2.6897 13.5651C2.60277 13.5014 2.53529 13.4147 2.4948 13.3148C2.45431 13.215 2.44241 13.1058 2.46042 12.9995L3.17881 8.87264L0.167699 5.95324C0.0922333 5.8777 0.039368 5.78258 0.0150625 5.67861C-0.00924303 5.57463 -0.00402231 5.46594 0.030136 5.36477C0.0621323 5.26323 0.122141 5.17278 0.203259 5.10383C0.284377 5.03488 0.383311 4.99023 0.488681 4.97501L4.63087 4.37126L6.48797 0.618832C6.54083 0.530159 6.61581 0.456732 6.70556 0.405741C6.79532 0.35475 6.89678 0.327942 7.00002 0.327942C7.10325 0.327942 7.20471 0.35475 7.29447 0.405741C7.38422 0.456732 7.4592 0.530159 7.51206 0.618832L9.36916 4.37126L13.5114 4.97501C13.6167 4.99023 13.7157 5.03488 13.7968 5.10383C13.8779 5.17278 13.9379 5.26323 13.9699 5.36477C14.0041 5.46594 14.0093 5.57463 13.985 5.67861C13.9607 5.78258 13.9078 5.8777 13.8323 5.95324L10.8212 8.87264L11.532 12.9995C11.55 13.1058 11.5381 13.215 11.4976 13.3148C11.4571 13.4147 11.3896 13.5014 11.3027 13.5651C11.2059 13.632 11.0917 13.6692 10.9741 13.6721ZM7.00002 10.4393C7.09251 10.4404 7.18371 10.4613 7.2675 10.5005L10.2098 12.029L9.65193 8.75036C9.6368 8.6584 9.64343 8.56418 9.6713 8.47526C9.69918 8.38633 9.74751 8.30518 9.81242 8.23832L12.1969 5.94559L8.90298 5.45648C8.81188 5.44198 8.72555 5.406 8.65113 5.35152C8.57671 5.29703 8.51633 5.2256 8.475 5.14314L7.00002 2.1626L5.52503 5.15078C5.4837 5.23324 5.42332 5.30467 5.3489 5.35916C5.27448 5.41365 5.18815 5.44963 5.09705 5.46412L1.80318 5.94559L4.18761 8.23832C4.25252 8.30518 4.30085 8.38633 4.32873 8.47526C4.3566 8.56418 4.36323 8.6584 4.3481 8.75036L3.7902 12.0519L6.73253 10.5234C6.81451 10.4762 6.9058 10.4475 7.00002 10.4393Z",fill:"currentColor"},null,-1)])),16)}C.render=T;var h={name:"StarFillIcon",extends:s.script$2};function x(n){return _(n)||M(n)||E(n)||P()}function P(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
4
4
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E(n,t){if(n){if(typeof n=="string")return g(n,t);var e={}.toString.call(n).slice(8,-1);return e==="Object"&&n.constructor&&(e=n.constructor.name),e==="Map"||e==="Set"?Array.from(n):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?g(n,t):void 0}}function M(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function _(n){if(Array.isArray(n))return g(n)}function g(n,t){(t==null||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function V(n,t,e,r,c,a){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),x(t[0]||(t[0]=[o.createElementVNode("path",{d:"M13.9718 5.36453C13.9398 5.26298 13.8798 5.17252 13.7986 5.10356C13.7175 5.0346 13.6186 4.98994 13.5132 4.97472L9.37043 4.37088L7.51307 0.617955C7.46021 0.529271 7.38522 0.455834 7.29545 0.404836C7.20568 0.353838 7.1042 0.327026 7.00096 0.327026C6.89771 0.327026 6.79624 0.353838 6.70647 0.404836C6.6167 0.455834 6.54171 0.529271 6.48885 0.617955L4.63149 4.37088L0.488746 4.97472C0.383363 4.98994 0.284416 5.0346 0.203286 5.10356C0.122157 5.17252 0.0621407 5.26298 0.03014 5.36453C-0.00402286 5.46571 -0.00924428 5.57442 0.0150645 5.67841C0.0393733 5.7824 0.0922457 5.87753 0.167722 5.95308L3.17924 8.87287L2.4684 13.0003C2.45038 13.1066 2.46229 13.2158 2.50278 13.3157C2.54328 13.4156 2.61077 13.5022 2.6977 13.5659C2.78477 13.628 2.88746 13.6644 2.99416 13.6712C3.10087 13.678 3.20733 13.6547 3.30153 13.6042L7.00096 11.6551L10.708 13.6042C10.79 13.6491 10.882 13.6728 10.9755 13.673C11.0958 13.6716 11.2129 13.6343 11.3119 13.5659C11.3988 13.5022 11.4663 13.4156 11.5068 13.3157C11.5473 13.2158 11.5592 13.1066 11.5412 13.0003L10.8227 8.87287L13.8266 5.95308C13.9033 5.87835 13.9577 5.7836 13.9833 5.67957C14.009 5.57554 14.005 5.4664 13.9718 5.36453Z",fill:"currentColor"},null,-1)])),16)}h.render=V;var j=`
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index-BCKqvrXF.cjs"),g=require("./index-TM4WIzFN.cjs"),r=require("vue"),Y=require("./lib-CNCjqOo9.cjs"),X=require("./index-DDCFRGsr.cjs");var Z={name:"CalendarIcon",extends:g.script$2};function x(t){return te(t)||ee(t)||_(t)||$()}function $(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index-BCKqvrXF.cjs"),g=require("./index-TM4WIzFN.cjs"),r=require("vue"),Y=require("./lib-BEVtXpEW.cjs"),X=require("./index-DDCFRGsr.cjs");var Z={name:"CalendarIcon",extends:g.script$2};function x(t){return te(t)||ee(t)||_(t)||$()}function $(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(t,e){if(t){if(typeof t=="string")return z(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(t,e):void 0}}function ee(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function te(t){if(Array.isArray(t))return z(t)}function z(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function ne(t,e,n,i,o,a){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),x(e[0]||(e[0]=[r.createElementVNode("path",{d:"M10.7838 1.51351H9.83783V0.567568C9.83783 0.417039 9.77804 0.272676 9.6716 0.166237C9.56516 0.0597971 9.42079 0 9.27027 0C9.11974 0 8.97538 0.0597971 8.86894 0.166237C8.7625 0.272676 8.7027 0.417039 8.7027 0.567568V1.51351H5.29729V0.567568C5.29729 0.417039 5.2375 0.272676 5.13106 0.166237C5.02462 0.0597971 4.88025 0 4.72973 0C4.5792 0 4.43484 0.0597971 4.3284 0.166237C4.22196 0.272676 4.16216 0.417039 4.16216 0.567568V1.51351H3.21621C2.66428 1.51351 2.13494 1.73277 1.74467 2.12305C1.35439 2.51333 1.13513 3.04266 1.13513 3.59459V11.9189C1.13513 12.4709 1.35439 13.0002 1.74467 13.3905C2.13494 13.7807 2.66428 14 3.21621 14H10.7838C11.3357 14 11.865 13.7807 12.2553 13.3905C12.6456 13.0002 12.8649 12.4709 12.8649 11.9189V3.59459C12.8649 3.04266 12.6456 2.51333 12.2553 2.12305C11.865 1.73277 11.3357 1.51351 10.7838 1.51351ZM3.21621 2.64865H4.16216V3.59459C4.16216 3.74512 4.22196 3.88949 4.3284 3.99593C4.43484 4.10237 4.5792 4.16216 4.72973 4.16216C4.88025 4.16216 5.02462 4.10237 5.13106 3.99593C5.2375 3.88949 5.29729 3.74512 5.29729 3.59459V2.64865H8.7027V3.59459C8.7027 3.74512 8.7625 3.88949 8.86894 3.99593C8.97538 4.10237 9.11974 4.16216 9.27027 4.16216C9.42079 4.16216 9.56516 4.10237 9.6716 3.99593C9.77804 3.88949 9.83783 3.74512 9.83783 3.59459V2.64865H10.7838C11.0347 2.64865 11.2753 2.74831 11.4527 2.92571C11.6301 3.10311 11.7297 3.34371 11.7297 3.59459V5.67568H2.27027V3.59459C2.27027 3.34371 2.36993 3.10311 2.54733 2.92571C2.72473 2.74831 2.96533 2.64865 3.21621 2.64865ZM10.7838 12.8649H3.21621C2.96533 12.8649 2.72473 12.7652 2.54733 12.5878C2.36993 12.4104 2.27027 12.1698 2.27027 11.9189V6.81081H11.7297V11.9189C11.7297 12.1698 11.6301 12.4104 11.4527 12.5878C11.2753 12.7652 11.0347 12.8649 10.7838 12.8649Z",fill:"currentColor"},null,-1)])),16)}Z.render=ne;var Q={name:"ChevronUpIcon",extends:g.script$2};function re(t){return le(t)||oe(t)||ae(t)||ie()}function ie(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ae(t,e){if(t){if(typeof t=="string")return R(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(t,e):void 0}}function oe(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function le(t){if(Array.isArray(t))return R(t)}function R(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function se(t,e,n,i,o,a){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),re(e[0]||(e[0]=[r.createElementVNode("path",{d:"M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z",fill:"currentColor"},null,-1)])),16)}Q.render=se;var ue=`
4
4
  .p-datepicker {
@@ -1,5 +1,5 @@
1
1
  import { mergeProps as d, createElementBlock as l, openBlock as s } from "vue";
2
- import { f as u } from "./lib-a417Oeyw.js";
2
+ import { f as u } from "./lib-CA1k4S8X.js";
3
3
  import { B as p } from "./index-Dd7rSEka.js";
4
4
  import { f as c } from "./index-CowW14sC.js";
5
5
  var f = `
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),s=require("./lib-CNCjqOo9.cjs"),u=require("./index-BCKqvrXF.cjs"),c=require("./index-TM4WIzFN.cjs");var p=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),s=require("./lib-BEVtXpEW.cjs"),u=require("./index-BCKqvrXF.cjs"),c=require("./index-TM4WIzFN.cjs");var p=`
2
2
  .p-textarea {
3
3
  font-family: inherit;
4
4
  font-feature-settings: inherit;
@@ -67,7 +67,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
67
67
  .p-breadcrumb-item-link:hover .p-breadcrumb-item-icon {
68
68
  color: dt('breadcrumb.item.icon.hover.color');
69
69
  }
70
- `,Ri={root:"p-breadcrumb p-component",list:"p-breadcrumb-list",homeItem:"p-breadcrumb-home-item",separator:"p-breadcrumb-separator",separatorIcon:"p-breadcrumb-separator-icon",item:function(e){var n=e.instance;return["p-breadcrumb-item",{"p-disabled":n.disabled()}]},itemLink:"p-breadcrumb-item-link",itemIcon:"p-breadcrumb-item-icon",itemLabel:"p-breadcrumb-item-label"},Ei=c.BaseStyle.extend({name:"breadcrumb",style:Bi,classes:Ri}),Ti={name:"BaseBreadcrumb",extends:c.script,props:{model:{type:Array,default:null},home:{type:null,default:null}},style:Ei,provide:function(){return{$pcBreadcrumb:this,$parentInstance:this}}},uo={name:"BreadcrumbItem",hostName:"Breadcrumb",extends:c.script,props:{item:null,templates:null,index:null},methods:{onClick:function(e){this.item.command&&this.item.command({originalEvent:e,item:this.item})},visible:function(){return typeof this.item.visible=="function"?this.item.visible():this.item.visible!==!1},disabled:function(){return typeof this.item.disabled=="function"?this.item.disabled():this.item.disabled},label:function(){return typeof this.item.label=="function"?this.item.label():this.item.label},isCurrentUrl:function(){var e=this.item,n=e.to,r=e.url,a=typeof window<"u"?window.location.pathname:"";return n===a||r===a?"page":void 0}},computed:{ptmOptions:function(){return{context:{item:this.item,index:this.index}}},getMenuItemProps:function(){var e=this;return{action:o.mergeProps({class:this.cx("itemLink"),"aria-current":this.isCurrentUrl(),onClick:function(r){return e.onClick(r)}},this.ptm("itemLink",this.ptmOptions)),icon:o.mergeProps({class:[this.cx("icon"),this.item.icon]},this.ptm("icon",this.ptmOptions)),label:o.mergeProps({class:this.cx("label")},this.ptm("label",this.ptmOptions))}}}},$i=["href","target","aria-current"];function Mi(t,e,n,r,a,i){return i.visible()?(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:0,class:[t.cx("item"),n.item.class]},t.ptm("item",i.ptmOptions)),[n.templates.item?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.templates.item),{key:1,item:n.item,label:i.label(),props:i.getMenuItemProps},null,8,["item","label","props"])):(o.openBlock(),o.createElementBlock("a",o.mergeProps({key:0,href:n.item.url||"#",class:t.cx("itemLink"),target:n.item.target,"aria-current":i.isCurrentUrl(),onClick:e[0]||(e[0]=function(){return i.onClick&&i.onClick.apply(i,arguments)})},t.ptm("itemLink",i.ptmOptions)),[n.templates&&n.templates.itemicon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.templates.itemicon),{key:0,item:n.item,class:o.normalizeClass(t.cx("itemIcon",i.ptmOptions))},null,8,["item","class"])):n.item.icon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:1,class:[t.cx("itemIcon"),n.item.icon]},t.ptm("itemIcon",i.ptmOptions)),null,16)):o.createCommentVNode("",!0),n.item.label?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:2,class:t.cx("itemLabel")},t.ptm("itemLabel",i.ptmOptions)),o.toDisplayString(i.label()),17)):o.createCommentVNode("",!0)],16,$i))],16)):o.createCommentVNode("",!0)}uo.render=Mi;var co={name:"Breadcrumb",extends:Ti,inheritAttrs:!1,components:{BreadcrumbItem:uo,ChevronRightIcon:g.script}};function Ai(t,e,n,r,a,i){var l=o.resolveComponent("BreadcrumbItem"),s=o.resolveComponent("ChevronRightIcon");return o.openBlock(),o.createElementBlock("nav",o.mergeProps({class:t.cx("root")},t.ptmi("root")),[o.createElementVNode("ol",o.mergeProps({class:t.cx("list")},t.ptm("list")),[t.home?(o.openBlock(),o.createBlock(l,o.mergeProps({key:0,item:t.home,class:t.cx("homeItem"),templates:t.$slots,pt:t.pt,unstyled:t.unstyled},t.ptm("homeItem")),null,16,["item","class","templates","pt","unstyled"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.model,function(d,u){return o.openBlock(),o.createElementBlock(o.Fragment,{key:d.label+"_"+u},[t.home||u!==0?(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:0,class:t.cx("separator")},{ref_for:!0},t.ptm("separator")),[o.renderSlot(t.$slots,"separator",{},function(){return[o.createVNode(s,o.mergeProps({"aria-hidden":"true",class:t.cx("separatorIcon")},{ref_for:!0},t.ptm("separatorIcon")),null,16,["class"])]})],16)):o.createCommentVNode("",!0),o.createVNode(l,{item:d,index:u,templates:t.$slots,pt:t.pt,unstyled:t.unstyled},null,8,["item","index","templates","pt","unstyled"])],64)}),128))],16)],16)}co.render=Ai;const Di=["href","onClick"],Li={key:1,class:"text-primary font-semibold"},Fi=o.defineComponent({__name:"AutoroutedBreadcrumb",props:{homeRoute:{default:null}},setup(t){const e=qn.useRoute(),n=o.computed(()=>e.matched),r=o.computed(()=>n.value.map(i=>{const l=i.meta||{},s={...e.params};delete s.id,delete s.itemId;const d={name:i.name,query:e.query,hash:e.hash};return i.path!=="/"&&(d.params=s),{label:l.title||i.name?.toString()||"",icon:l.icon,route:d}})),a=o.computed(()=>{if(t.homeRoute&&e.path!==t.homeRoute)return{icon:"pi pi-home",route:{path:t.homeRoute,query:{...e.query},hash:e.hash}}});return(i,l)=>(o.openBlock(),o.createBlock(o.unref(co),{home:a.value,model:r.value},{item:o.withCtx(({item:s,props:d})=>[o.createVNode(o.unref(qn.RouterLink),{to:s.route,custom:""},{default:o.withCtx(({href:u,navigate:p})=>[o.createElementVNode("a",o.mergeProps({href:u},d.action,{role:"link",class:"flex flex-row gap-1",onClick:p}),[s.icon?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass([s.icon,"text-color"])},null,2)):o.createCommentVNode("",!0),s.label?(o.openBlock(),o.createElementBlock("span",Li,o.toDisplayString(i.$t(s.label)),1)):o.createCommentVNode("",!0)],16,Di)]),_:2},1032,["to"])]),_:1},8,["home","model"]))}}),ht=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},zi={},ji={class:"flex flex-row gap-1 items-stretch flex-wrap"};function Vi(t,e){return o.openBlock(),o.createElementBlock("div",ji,[o.renderSlot(t.$slots,"default")])}const po=ht(zi,[["render",Vi]]),Ni={class:"flex flex-col px-0.5 py-1 box-border"},_i={class:"font-medium"},Hi={class:"flex-grow flex items-center"},Ki={class:"w-full"},fo=o.defineComponent({__name:"ControlBarItemComponent",props:{title:{}},setup(t){const e={root:"!my-2 !w-[calc(100%+0.5rem)]"};return(n,r)=>(o.openBlock(),o.createElementBlock("div",Ni,[o.createElementVNode("span",_i,o.toDisplayString(t.title),1),o.createVNode(o.unref(g.script$1),{pt:e}),o.createElementVNode("div",Hi,[o.createElementVNode("div",Ki,[o.renderSlot(n.$slots,"default")])])]))}}),ie=new Map;ie.set("InputText",o.defineAsyncComponent(()=>Promise.resolve().then(()=>To)));ie.set("InputNumber",o.defineAsyncComponent(()=>Promise.resolve().then(()=>bd)));ie.set("Select",o.defineAsyncComponent(()=>Promise.resolve().then(()=>Gu)));ie.set("Calendar",o.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-9I6MBBVe.cjs"))));ie.set("Checkbox",o.defineAsyncComponent(()=>Promise.resolve().then(()=>Sc)));ie.set("Textarea",o.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-syJrQasA.cjs"))));ie.set("Chip",o.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-9kXqZ0Ez.cjs"))));ie.set("ProgressBar",o.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BqxW11im.cjs"))));ie.set("Rating",o.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CS4hUwBJ.cjs"))));ie.set("Badge",o.defineAsyncComponent(()=>Promise.resolve().then(()=>da)));function zn(t="span"){return{resolve:n=>{const r=ie.get(n);return r||(console.warn(`Component "${n}" not registered in the registry.`),t)}}}const Gi=o.defineComponent({__name:"ConfiguredControlBarComponent",props:o.mergeModels({config:{}},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const{resolve:e}=zn(),n=o.useModel(t,"modelValue");return(r,a)=>(o.openBlock(),o.createBlock(po,null,{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.config,(i,l)=>(o.openBlock(),o.createBlock(fo,{key:l,title:i.title},{default:o.withCtx(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(e)(i.component)),o.mergeProps({"model-value":n.value[i.data],value:n.value[i.data],label:n.value[i.data]},{ref_for:!0},i.props),null,16,["model-value","value","label"]))]),_:2},1032,["title"]))),128))]),_:1}))}}),Ui=o.defineComponent({__name:"DashboardComponent",props:{orientation:{default:"horizontal"},boxedPanels:{type:Boolean,default:!0}},setup(t){const e=o.computed(()=>t.orientation==="horizontal"?"vertical":"horizontal");return o.provide("wefa-orientation",e),(n,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["wefa-dashboard",{horizontal:t.orientation==="horizontal",vertical:t.orientation==="vertical","wefa-boxed-panels":t.boxedPanels}])},[o.renderSlot(n.$slots,"default",{},void 0,!0)],2))}}),Wi=ht(Ui,[["__scopeId","data-v-6628e29d"]]),Zi=o.defineComponent({__name:"DashboardGroupComponent",props:{orientation:{},weight:{default:1},hugContent:{type:Boolean,default:!1},maxWidth:{default:""},maxHeight:{default:""},stayVisibleWhenOtherExpand:{type:Boolean,default:!1}},setup(t){const e=o.inject("wefa-orientation",o.ref("vertical")),n=o.computed(()=>t.orientation??e.value),r=o.computed(()=>n.value==="horizontal"?"vertical":"horizontal");return o.provide("wefa-orientation",r),(a,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["wefa-dashboard-group",{horizontal:n.value==="horizontal",vertical:n.value==="vertical","hug-content":t.hugContent,"has-max-width":!!t.maxWidth,"has-max-height":!!t.maxHeight,"wefa-group-still-visible-when-other-expands":t.stayVisibleWhenOtherExpand}]),style:o.normalizeStyle({"--weight":t.weight,"--maxWidth":t.maxWidth})},[o.renderSlot(a.$slots,"default",{},void 0,!0)],6))}}),qi=ht(Zi,[["__scopeId","data-v-9ce2cd6a"]]);var bt={name:"SpinnerIcon",extends:g.script$2};function Ji(t){return ea(t)||Xi(t)||Qi(t)||Yi()}function Yi(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
70
+ `,Ri={root:"p-breadcrumb p-component",list:"p-breadcrumb-list",homeItem:"p-breadcrumb-home-item",separator:"p-breadcrumb-separator",separatorIcon:"p-breadcrumb-separator-icon",item:function(e){var n=e.instance;return["p-breadcrumb-item",{"p-disabled":n.disabled()}]},itemLink:"p-breadcrumb-item-link",itemIcon:"p-breadcrumb-item-icon",itemLabel:"p-breadcrumb-item-label"},Ei=c.BaseStyle.extend({name:"breadcrumb",style:Bi,classes:Ri}),Ti={name:"BaseBreadcrumb",extends:c.script,props:{model:{type:Array,default:null},home:{type:null,default:null}},style:Ei,provide:function(){return{$pcBreadcrumb:this,$parentInstance:this}}},uo={name:"BreadcrumbItem",hostName:"Breadcrumb",extends:c.script,props:{item:null,templates:null,index:null},methods:{onClick:function(e){this.item.command&&this.item.command({originalEvent:e,item:this.item})},visible:function(){return typeof this.item.visible=="function"?this.item.visible():this.item.visible!==!1},disabled:function(){return typeof this.item.disabled=="function"?this.item.disabled():this.item.disabled},label:function(){return typeof this.item.label=="function"?this.item.label():this.item.label},isCurrentUrl:function(){var e=this.item,n=e.to,r=e.url,a=typeof window<"u"?window.location.pathname:"";return n===a||r===a?"page":void 0}},computed:{ptmOptions:function(){return{context:{item:this.item,index:this.index}}},getMenuItemProps:function(){var e=this;return{action:o.mergeProps({class:this.cx("itemLink"),"aria-current":this.isCurrentUrl(),onClick:function(r){return e.onClick(r)}},this.ptm("itemLink",this.ptmOptions)),icon:o.mergeProps({class:[this.cx("icon"),this.item.icon]},this.ptm("icon",this.ptmOptions)),label:o.mergeProps({class:this.cx("label")},this.ptm("label",this.ptmOptions))}}}},$i=["href","target","aria-current"];function Mi(t,e,n,r,a,i){return i.visible()?(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:0,class:[t.cx("item"),n.item.class]},t.ptm("item",i.ptmOptions)),[n.templates.item?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.templates.item),{key:1,item:n.item,label:i.label(),props:i.getMenuItemProps},null,8,["item","label","props"])):(o.openBlock(),o.createElementBlock("a",o.mergeProps({key:0,href:n.item.url||"#",class:t.cx("itemLink"),target:n.item.target,"aria-current":i.isCurrentUrl(),onClick:e[0]||(e[0]=function(){return i.onClick&&i.onClick.apply(i,arguments)})},t.ptm("itemLink",i.ptmOptions)),[n.templates&&n.templates.itemicon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.templates.itemicon),{key:0,item:n.item,class:o.normalizeClass(t.cx("itemIcon",i.ptmOptions))},null,8,["item","class"])):n.item.icon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:1,class:[t.cx("itemIcon"),n.item.icon]},t.ptm("itemIcon",i.ptmOptions)),null,16)):o.createCommentVNode("",!0),n.item.label?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:2,class:t.cx("itemLabel")},t.ptm("itemLabel",i.ptmOptions)),o.toDisplayString(i.label()),17)):o.createCommentVNode("",!0)],16,$i))],16)):o.createCommentVNode("",!0)}uo.render=Mi;var co={name:"Breadcrumb",extends:Ti,inheritAttrs:!1,components:{BreadcrumbItem:uo,ChevronRightIcon:g.script}};function Ai(t,e,n,r,a,i){var l=o.resolveComponent("BreadcrumbItem"),s=o.resolveComponent("ChevronRightIcon");return o.openBlock(),o.createElementBlock("nav",o.mergeProps({class:t.cx("root")},t.ptmi("root")),[o.createElementVNode("ol",o.mergeProps({class:t.cx("list")},t.ptm("list")),[t.home?(o.openBlock(),o.createBlock(l,o.mergeProps({key:0,item:t.home,class:t.cx("homeItem"),templates:t.$slots,pt:t.pt,unstyled:t.unstyled},t.ptm("homeItem")),null,16,["item","class","templates","pt","unstyled"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.model,function(d,u){return o.openBlock(),o.createElementBlock(o.Fragment,{key:d.label+"_"+u},[t.home||u!==0?(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:0,class:t.cx("separator")},{ref_for:!0},t.ptm("separator")),[o.renderSlot(t.$slots,"separator",{},function(){return[o.createVNode(s,o.mergeProps({"aria-hidden":"true",class:t.cx("separatorIcon")},{ref_for:!0},t.ptm("separatorIcon")),null,16,["class"])]})],16)):o.createCommentVNode("",!0),o.createVNode(l,{item:d,index:u,templates:t.$slots,pt:t.pt,unstyled:t.unstyled},null,8,["item","index","templates","pt","unstyled"])],64)}),128))],16)],16)}co.render=Ai;const Di=["href","onClick"],Li={key:1,class:"text-primary font-semibold"},Fi=o.defineComponent({__name:"AutoroutedBreadcrumb",props:{homeRoute:{default:null}},setup(t){const e=qn.useRoute(),n=o.computed(()=>e.matched),r=o.computed(()=>n.value.map(i=>{const l=i.meta||{},s={...e.params};delete s.id,delete s.itemId;const d={name:i.name,query:e.query,hash:e.hash};return i.path!=="/"&&(d.params=s),{label:l.title||i.name?.toString()||"",icon:l.icon,route:d}})),a=o.computed(()=>{if(t.homeRoute&&e.path!==t.homeRoute)return{icon:"pi pi-home",route:{path:t.homeRoute,query:{...e.query},hash:e.hash}}});return(i,l)=>(o.openBlock(),o.createBlock(o.unref(co),{home:a.value,model:r.value},{item:o.withCtx(({item:s,props:d})=>[o.createVNode(o.unref(qn.RouterLink),{to:s.route,custom:""},{default:o.withCtx(({href:u,navigate:p})=>[o.createElementVNode("a",o.mergeProps({href:u},d.action,{role:"link",class:"flex flex-row gap-1",onClick:p}),[s.icon?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass([s.icon,"text-color"])},null,2)):o.createCommentVNode("",!0),s.label?(o.openBlock(),o.createElementBlock("span",Li,o.toDisplayString(i.$t(s.label)),1)):o.createCommentVNode("",!0)],16,Di)]),_:2},1032,["to"])]),_:1},8,["home","model"]))}}),ht=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},zi={},ji={class:"flex flex-row gap-1 items-stretch flex-wrap"};function Vi(t,e){return o.openBlock(),o.createElementBlock("div",ji,[o.renderSlot(t.$slots,"default")])}const po=ht(zi,[["render",Vi]]),Ni={class:"flex flex-col px-0.5 py-1 box-border"},_i={class:"font-medium"},Hi={class:"flex-grow flex items-center"},Ki={class:"w-full"},fo=o.defineComponent({__name:"ControlBarItemComponent",props:{title:{}},setup(t){const e={root:"!my-2 !w-[calc(100%+0.5rem)]"};return(n,r)=>(o.openBlock(),o.createElementBlock("div",Ni,[o.createElementVNode("span",_i,o.toDisplayString(t.title),1),o.createVNode(o.unref(g.script$1),{pt:e}),o.createElementVNode("div",Hi,[o.createElementVNode("div",Ki,[o.renderSlot(n.$slots,"default")])])]))}}),ie=new Map;ie.set("InputText",o.defineAsyncComponent(()=>Promise.resolve().then(()=>To)));ie.set("InputNumber",o.defineAsyncComponent(()=>Promise.resolve().then(()=>bd)));ie.set("Select",o.defineAsyncComponent(()=>Promise.resolve().then(()=>Gu)));ie.set("Calendar",o.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-D7KjmN8m.cjs"))));ie.set("Checkbox",o.defineAsyncComponent(()=>Promise.resolve().then(()=>Sc)));ie.set("Textarea",o.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-yOMKz8lD.cjs"))));ie.set("Chip",o.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-9kXqZ0Ez.cjs"))));ie.set("ProgressBar",o.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BqxW11im.cjs"))));ie.set("Rating",o.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CeYaMyhs.cjs"))));ie.set("Badge",o.defineAsyncComponent(()=>Promise.resolve().then(()=>da)));function zn(t="span"){return{resolve:n=>{const r=ie.get(n);return r||(console.warn(`Component "${n}" not registered in the registry.`),t)}}}const Gi=o.defineComponent({__name:"ConfiguredControlBarComponent",props:o.mergeModels({config:{}},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const{resolve:e}=zn(),n=o.useModel(t,"modelValue");return(r,a)=>(o.openBlock(),o.createBlock(po,null,{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.config,(i,l)=>(o.openBlock(),o.createBlock(fo,{key:l,title:i.title},{default:o.withCtx(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(e)(i.component)),o.mergeProps({"model-value":n.value[i.data],value:n.value[i.data],label:n.value[i.data]},{ref_for:!0},i.props),null,16,["model-value","value","label"]))]),_:2},1032,["title"]))),128))]),_:1}))}}),Ui=o.defineComponent({__name:"DashboardComponent",props:{orientation:{default:"horizontal"},boxedPanels:{type:Boolean,default:!0}},setup(t){const e=o.computed(()=>t.orientation==="horizontal"?"vertical":"horizontal");return o.provide("wefa-orientation",e),(n,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["wefa-dashboard",{horizontal:t.orientation==="horizontal",vertical:t.orientation==="vertical","wefa-boxed-panels":t.boxedPanels}])},[o.renderSlot(n.$slots,"default",{},void 0,!0)],2))}}),Wi=ht(Ui,[["__scopeId","data-v-6628e29d"]]),Zi=o.defineComponent({__name:"DashboardGroupComponent",props:{orientation:{},weight:{default:1},hugContent:{type:Boolean,default:!1},maxWidth:{default:""},maxHeight:{default:""},stayVisibleWhenOtherExpand:{type:Boolean,default:!1}},setup(t){const e=o.inject("wefa-orientation",o.ref("vertical")),n=o.computed(()=>t.orientation??e.value),r=o.computed(()=>n.value==="horizontal"?"vertical":"horizontal");return o.provide("wefa-orientation",r),(a,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["wefa-dashboard-group",{horizontal:n.value==="horizontal",vertical:n.value==="vertical","hug-content":t.hugContent,"has-max-width":!!t.maxWidth,"has-max-height":!!t.maxHeight,"wefa-group-still-visible-when-other-expands":t.stayVisibleWhenOtherExpand}]),style:o.normalizeStyle({"--weight":t.weight,"--maxWidth":t.maxWidth})},[o.renderSlot(a.$slots,"default",{},void 0,!0)],6))}}),qi=ht(Zi,[["__scopeId","data-v-9ce2cd6a"]]);var bt={name:"SpinnerIcon",extends:g.script$2};function Ji(t){return ea(t)||Xi(t)||Qi(t)||Yi()}function Yi(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
71
71
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qi(t,e){if(t){if(typeof t=="string")return Qt(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qt(t,e):void 0}}function Xi(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ea(t){if(Array.isArray(t))return Qt(t)}function Qt(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function ta(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),Ji(e[0]||(e[0]=[o.createElementVNode("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)])),16)}bt.render=ta;var na=`
72
72
  .p-badge {
73
73
  display: inline-flex;
@@ -2774,4 +2774,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2774
2774
  `).concat(r,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(i+1,`) {
2775
2775
  `).concat(l,`
2776
2776
  }
2777
- `)}),this.styleElement.innerHTML=n},restoreColumnWidths:function(){if(this.columnWidthsState){var e=this.columnWidthsState.split(",");this.columnResizeMode==="expand"&&this.tableWidthState&&(this.$refs.table.style.width=this.tableWidthState,this.$refs.table.style.minWidth=this.tableWidthState),c.s(e)&&this.addColumnWidthStyles(e)}},onCellEditInit:function(e){this.$emit("cell-edit-init",e)},onCellEditComplete:function(e){this.$emit("cell-edit-complete",e)},onCellEditCancel:function(e){this.$emit("cell-edit-cancel",e)},onRowEditInit:function(e){var n=this.editingRows?U(this.editingRows):[];n.push(e.data),this.$emit("update:editingRows",n),this.$emit("row-edit-init",e)},onRowEditSave:function(e){var n=U(this.editingRows);n.splice(this.findIndex(e.data,n),1),this.$emit("update:editingRows",n),this.$emit("row-edit-save",e)},onRowEditCancel:function(e){var n=U(this.editingRows);n.splice(this.findIndex(e.data,n),1),this.$emit("update:editingRows",n),this.$emit("row-edit-cancel",e)},onEditingMetaChange:function(e){var n=e.data,r=e.field,a=e.index,i=e.editing,l=X({},this.d_editingMeta),s=l[a];if(i)!s&&(s=l[a]={data:X({},n),fields:[]}),s.fields.push(r);else if(s){var d=s.fields.filter(function(u){return u!==r});d.length?s.fields=d:delete l[a]}this.d_editingMeta=l},clearEditingMetaData:function(){this.editMode&&(this.d_editingMeta={})},createLazyLoadEvent:function(e){return{originalEvent:e,first:this.d_first,rows:this.d_rows,sortField:this.d_sortField,sortOrder:this.d_sortOrder,multiSortMeta:this.d_multiSortMeta,filters:this.d_filters}},hasGlobalFilter:function(){return this.filters&&Object.prototype.hasOwnProperty.call(this.filters,"global")},onFilterChange:function(e){this.d_filters=e},onFilterApply:function(){this.d_first=0,this.$emit("update:first",this.d_first),this.$emit("update:filters",this.d_filters),this.lazy&&this.$emit("filter",this.createLazyLoadEvent())},cloneFilters:function(e){var n={};return e&&Object.entries(e).forEach(function(r){var a=oo(r,2),i=a[0],l=a[1];n[i]=l.operator?{operator:l.operator,constraints:l.constraints.map(function(s){return X({},s)})}:X({},l)}),n},updateReorderableColumns:function(){var e=this,n=[];this.columns.forEach(function(r){return n.push(e.columnProp(r,"columnKey")||e.columnProp(r,"field"))}),this.d_columnOrder=n},createStyleElement:function(){var e;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",c.Kt(this.styleElement,"nonce",(e=this.$primevue)===null||e===void 0||(e=e.config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce),document.head.appendChild(this.styleElement)},destroyStyleElement:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},dataToRender:function(e){var n=e||this.processedData;if(n&&this.paginator){var r=this.lazy?0:this.d_first;return n.slice(r,r+this.d_rows)}return n},getVirtualScrollerRef:function(){return this.$refs.virtualScroller},hasSpacerStyle:function(e){return c.s(e)}},computed:{columns:function(){var e=this.d_columns.get(this);if(e&&this.reorderableColumns&&this.d_columnOrder){var n=[],r=Ae(this.d_columnOrder),a;try{for(r.s();!(a=r.n()).done;){var i=a.value,l=this.findColumnByKey(e,i);l&&!this.columnProp(l,"hidden")&&n.push(l)}}catch(s){r.e(s)}finally{r.f()}return[].concat(n,U(e.filter(function(s){return n.indexOf(s)<0})))}return e},columnGroups:function(){return this.d_columnGroups.get(this)},headerColumnGroup:function(){var e,n=this;return(e=this.columnGroups)===null||e===void 0?void 0:e.find(function(r){return n.columnProp(r,"type")==="header"})},footerColumnGroup:function(){var e,n=this;return(e=this.columnGroups)===null||e===void 0?void 0:e.find(function(r){return n.columnProp(r,"type")==="footer"})},hasFilters:function(){return this.filters&&Object.keys(this.filters).length>0&&this.filters.constructor===Object},processedData:function(){var e,n=this.value||[];return!this.lazy&&!((e=this.virtualScrollerOptions)!==null&&e!==void 0&&e.lazy)&&n&&n.length&&(this.hasFilters&&(n=this.filter(n)),this.sorted&&(this.sortMode==="single"?n=this.sortSingle(n):this.sortMode==="multiple"&&(n=this.sortMultiple(n)))),n},totalRecordsLength:function(){if(this.lazy)return this.totalRecords;var e=this.processedData;return e?e.length:0},empty:function(){var e=this.processedData;return!e||e.length===0},paginatorTop:function(){return this.paginator&&(this.paginatorPosition!=="bottom"||this.paginatorPosition==="both")},paginatorBottom:function(){return this.paginator&&(this.paginatorPosition!=="top"||this.paginatorPosition==="both")},sorted:function(){return this.d_sortField||this.d_multiSortMeta&&this.d_multiSortMeta.length>0},allRowsSelected:function(){var e=this;if(this.selectAll!==null)return this.selectAll;var n=this.frozenValue?[].concat(U(this.frozenValue),U(this.processedData)):this.processedData;return c.s(n)&&this.selection&&Array.isArray(this.selection)&&n.every(function(r){return e.selection.some(function(a){return e.equals(a,r)})})},groupRowSortField:function(){return this.sortMode==="single"?this.sortField:this.d_groupRowsSortMeta?this.d_groupRowsSortMeta.field:null},headerFilterButtonProps:function(){return X(X({filter:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps),{},{inline:X({clear:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps.inline),popover:X({addRule:{severity:"info",text:!0,size:"small"},removeRule:{severity:"danger",text:!0,size:"small"},apply:{size:"small"},clear:{outlined:!0,size:"small"}},this.filterButtonProps.popover)})},rowEditButtonProps:function(){return X(X({},{init:{severity:"secondary",text:!0,rounded:!0},save:{severity:"secondary",text:!0,rounded:!0},cancel:{severity:"secondary",text:!0,rounded:!0}}),this.editButtonProps)},virtualScrollerDisabled:function(){return c.a(this.virtualScrollerOptions)||!this.scrollable},dataP:function(){return g.f($t($t($t({scrollable:this.scrollable,"flex-scrollable":this.scrollable&&this.scrollHeight==="flex"},this.size,this.size),"loading",this.loading),"empty",this.empty))}},components:{DTPaginator:Go,DTTableHeader:ui,DTTableBody:oi,DTTableFooter:ai,DTVirtualScroller:Vn,ArrowDownIcon:So,ArrowUpIcon:xo,SpinnerIcon:bt}};function mt(t){"@babel/helpers - typeof";return mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mt(t)}function io(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function ao(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?io(Object(n),!0).forEach(function(r){rm(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):io(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function rm(t,e,n){return(e=om(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function om(t){var e=im(t,"string");return mt(e)=="symbol"?e:e+""}function im(t,e){if(mt(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(mt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var am=["data-p"],lm=["data-p"];function sm(t,e,n,r,a,i){var l=o.resolveComponent("SpinnerIcon"),s=o.resolveComponent("DTPaginator"),d=o.resolveComponent("DTTableHeader"),u=o.resolveComponent("DTTableBody"),p=o.resolveComponent("DTTableFooter"),h=o.resolveComponent("DTVirtualScroller");return o.openBlock(),o.createElementBlock("div",o.mergeProps({class:t.cx("root"),"data-scrollselectors":".p-datatable-wrapper","data-p":i.dataP},t.ptmi("root")),[o.renderSlot(t.$slots,"default"),t.loading?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,class:t.cx("mask")},t.ptm("mask")),[t.$slots.loading?o.renderSlot(t.$slots,"loading",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[t.$slots.loadingicon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.$slots.loadingicon),{key:0,class:o.normalizeClass(t.cx("loadingIcon"))},null,8,["class"])):t.loadingIcon?(o.openBlock(),o.createElementBlock("i",o.mergeProps({key:1,class:[t.cx("loadingIcon"),"pi-spin",t.loadingIcon]},t.ptm("loadingIcon")),null,16)):(o.openBlock(),o.createBlock(l,o.mergeProps({key:2,spin:"",class:t.cx("loadingIcon")},t.ptm("loadingIcon")),null,16,["class"]))],64))],16)):o.createCommentVNode("",!0),t.$slots.header?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:1,class:t.cx("header")},t.ptm("header")),[o.renderSlot(t.$slots,"header")],16)):o.createCommentVNode("",!0),i.paginatorTop?(o.openBlock(),o.createBlock(s,{key:2,rows:a.d_rows,first:a.d_first,totalRecords:i.totalRecordsLength,pageLinkSize:t.pageLinkSize,template:t.paginatorTemplate,rowsPerPageOptions:t.rowsPerPageOptions,currentPageReportTemplate:t.currentPageReportTemplate,class:o.normalizeClass(t.cx("pcPaginator",{position:"top"})),onPage:e[0]||(e[0]=function(m){return i.onPage(m)}),alwaysShow:t.alwaysShowPaginator,unstyled:t.unstyled,"data-p-top":!0,pt:t.ptm("pcPaginator")},o.createSlots({_:2},[t.$slots.paginatorcontainer?{name:"container",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorcontainer",{first:m.first,last:m.last,rows:m.rows,page:m.page,pageCount:m.pageCount,pageLinks:m.pageLinks,totalRecords:m.totalRecords,firstPageCallback:m.firstPageCallback,lastPageCallback:m.lastPageCallback,prevPageCallback:m.prevPageCallback,nextPageCallback:m.nextPageCallback,rowChangeCallback:m.rowChangeCallback,changePageCallback:m.changePageCallback})]}),key:"0"}:void 0,t.$slots.paginatorstart?{name:"start",fn:o.withCtx(function(){return[o.renderSlot(t.$slots,"paginatorstart")]}),key:"1"}:void 0,t.$slots.paginatorend?{name:"end",fn:o.withCtx(function(){return[o.renderSlot(t.$slots,"paginatorend")]}),key:"2"}:void 0,t.$slots.paginatorfirstpagelinkicon?{name:"firstpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorfirstpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"3"}:void 0,t.$slots.paginatorprevpagelinkicon?{name:"prevpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorprevpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"4"}:void 0,t.$slots.paginatornextpagelinkicon?{name:"nextpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatornextpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"5"}:void 0,t.$slots.paginatorlastpagelinkicon?{name:"lastpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorlastpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"6"}:void 0,t.$slots.paginatorjumptopagedropdownicon?{name:"jumptopagedropdownicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorjumptopagedropdownicon",{class:o.normalizeClass(m.class)})]}),key:"7"}:void 0,t.$slots.paginatorrowsperpagedropdownicon?{name:"rowsperpagedropdownicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorrowsperpagedropdownicon",{class:o.normalizeClass(m.class)})]}),key:"8"}:void 0]),1032,["rows","first","totalRecords","pageLinkSize","template","rowsPerPageOptions","currentPageReportTemplate","class","alwaysShow","unstyled","pt"])):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({class:t.cx("tableContainer"),style:[t.sx("tableContainer"),{maxHeight:i.virtualScrollerDisabled?t.scrollHeight:""}],"data-p":i.dataP},t.ptm("tableContainer")),[o.createVNode(h,o.mergeProps({ref:"virtualScroller"},t.virtualScrollerOptions,{items:i.processedData,columns:i.columns,style:t.scrollHeight!=="flex"?{height:t.scrollHeight}:void 0,scrollHeight:t.scrollHeight!=="flex"?void 0:"100%",disabled:i.virtualScrollerDisabled,loaderDisabled:"",inline:"",autoSize:"",showSpacer:!1,pt:t.ptm("virtualScroller")}),{content:o.withCtx(function(m){return[o.createElementVNode("table",o.mergeProps({ref:"table",role:"table",class:[t.cx("table"),t.tableClass],style:[t.tableStyle,m.spacerStyle]},ao(ao({},t.tableProps),t.ptm("table"))),[t.showHeaders?(o.openBlock(),o.createBlock(d,{key:0,columnGroup:i.headerColumnGroup,columns:m.columns,rowGroupMode:t.rowGroupMode,groupRowsBy:t.groupRowsBy,groupRowSortField:i.groupRowSortField,reorderableColumns:t.reorderableColumns,resizableColumns:t.resizableColumns,allRowsSelected:i.allRowsSelected,empty:i.empty,sortMode:t.sortMode,sortField:a.d_sortField,sortOrder:a.d_sortOrder,multiSortMeta:a.d_multiSortMeta,filters:a.d_filters,filtersStore:t.filters,filterDisplay:t.filterDisplay,filterButtonProps:i.headerFilterButtonProps,filterInputProps:t.filterInputProps,first:a.d_first,onColumnClick:e[1]||(e[1]=function(f){return i.onColumnHeaderClick(f)}),onColumnMousedown:e[2]||(e[2]=function(f){return i.onColumnHeaderMouseDown(f)}),onFilterChange:i.onFilterChange,onFilterApply:i.onFilterApply,onColumnDragstart:e[3]||(e[3]=function(f){return i.onColumnHeaderDragStart(f)}),onColumnDragover:e[4]||(e[4]=function(f){return i.onColumnHeaderDragOver(f)}),onColumnDragleave:e[5]||(e[5]=function(f){return i.onColumnHeaderDragLeave(f)}),onColumnDrop:e[6]||(e[6]=function(f){return i.onColumnHeaderDrop(f)}),onColumnResizestart:e[7]||(e[7]=function(f){return i.onColumnResizeStart(f)}),onCheckboxChange:e[8]||(e[8]=function(f){return i.toggleRowsWithCheckbox(f)}),unstyled:t.unstyled,pt:t.pt},null,8,["columnGroup","columns","rowGroupMode","groupRowsBy","groupRowSortField","reorderableColumns","resizableColumns","allRowsSelected","empty","sortMode","sortField","sortOrder","multiSortMeta","filters","filtersStore","filterDisplay","filterButtonProps","filterInputProps","first","onFilterChange","onFilterApply","unstyled","pt"])):o.createCommentVNode("",!0),t.frozenValue?(o.openBlock(),o.createBlock(u,{key:1,ref:"frozenBodyRef",value:t.frozenValue,frozenRow:!0,columns:m.columns,first:a.d_first,dataKey:t.dataKey,selection:t.selection,selectionKeys:a.d_selectionKeys,selectionMode:t.selectionMode,rowHover:t.rowHover,contextMenu:t.contextMenu,contextMenuSelection:t.contextMenuSelection,rowGroupMode:t.rowGroupMode,groupRowsBy:t.groupRowsBy,expandableRowGroups:t.expandableRowGroups,rowClass:t.rowClass,rowStyle:t.rowStyle,editMode:t.editMode,compareSelectionBy:t.compareSelectionBy,scrollable:t.scrollable,expandedRowIcon:t.expandedRowIcon,collapsedRowIcon:t.collapsedRowIcon,expandedRows:t.expandedRows,expandedRowGroups:t.expandedRowGroups,editingRows:t.editingRows,editingRowKeys:a.d_editingRowKeys,templates:t.$slots,editButtonProps:i.rowEditButtonProps,isVirtualScrollerDisabled:!0,onRowgroupToggle:i.toggleRowGroup,onRowClick:e[9]||(e[9]=function(f){return i.onRowClick(f)}),onRowDblclick:e[10]||(e[10]=function(f){return i.onRowDblClick(f)}),onRowRightclick:e[11]||(e[11]=function(f){return i.onRowRightClick(f)}),onRowTouchend:i.onRowTouchEnd,onRowKeydown:i.onRowKeyDown,onRowMousedown:i.onRowMouseDown,onRowDragstart:e[12]||(e[12]=function(f){return i.onRowDragStart(f)}),onRowDragover:e[13]||(e[13]=function(f){return i.onRowDragOver(f)}),onRowDragleave:e[14]||(e[14]=function(f){return i.onRowDragLeave(f)}),onRowDragend:e[15]||(e[15]=function(f){return i.onRowDragEnd(f)}),onRowDrop:e[16]||(e[16]=function(f){return i.onRowDrop(f)}),onRowToggle:e[17]||(e[17]=function(f){return i.toggleRow(f)}),onRadioChange:e[18]||(e[18]=function(f){return i.toggleRowWithRadio(f)}),onCheckboxChange:e[19]||(e[19]=function(f){return i.toggleRowWithCheckbox(f)}),onCellEditInit:e[20]||(e[20]=function(f){return i.onCellEditInit(f)}),onCellEditComplete:e[21]||(e[21]=function(f){return i.onCellEditComplete(f)}),onCellEditCancel:e[22]||(e[22]=function(f){return i.onCellEditCancel(f)}),onRowEditInit:e[23]||(e[23]=function(f){return i.onRowEditInit(f)}),onRowEditSave:e[24]||(e[24]=function(f){return i.onRowEditSave(f)}),onRowEditCancel:e[25]||(e[25]=function(f){return i.onRowEditCancel(f)}),editingMeta:a.d_editingMeta,onEditingMetaChange:i.onEditingMetaChange,unstyled:t.unstyled,pt:t.pt},null,8,["value","columns","first","dataKey","selection","selectionKeys","selectionMode","rowHover","contextMenu","contextMenuSelection","rowGroupMode","groupRowsBy","expandableRowGroups","rowClass","rowStyle","editMode","compareSelectionBy","scrollable","expandedRowIcon","collapsedRowIcon","expandedRows","expandedRowGroups","editingRows","editingRowKeys","templates","editButtonProps","onRowgroupToggle","onRowTouchend","onRowKeydown","onRowMousedown","editingMeta","onEditingMetaChange","unstyled","pt"])):o.createCommentVNode("",!0),o.createVNode(u,{ref:"bodyRef",value:i.dataToRender(m.rows),class:o.normalizeClass(m.styleClass),columns:m.columns,empty:i.empty,first:a.d_first,dataKey:t.dataKey,selection:t.selection,selectionKeys:a.d_selectionKeys,selectionMode:t.selectionMode,rowHover:t.rowHover,contextMenu:t.contextMenu,contextMenuSelection:t.contextMenuSelection,rowGroupMode:t.rowGroupMode,groupRowsBy:t.groupRowsBy,expandableRowGroups:t.expandableRowGroups,rowClass:t.rowClass,rowStyle:t.rowStyle,editMode:t.editMode,compareSelectionBy:t.compareSelectionBy,scrollable:t.scrollable,expandedRowIcon:t.expandedRowIcon,collapsedRowIcon:t.collapsedRowIcon,expandedRows:t.expandedRows,expandedRowGroups:t.expandedRowGroups,editingRows:t.editingRows,editingRowKeys:a.d_editingRowKeys,templates:t.$slots,editButtonProps:i.rowEditButtonProps,virtualScrollerContentProps:m,isVirtualScrollerDisabled:i.virtualScrollerDisabled,onRowgroupToggle:i.toggleRowGroup,onRowClick:e[26]||(e[26]=function(f){return i.onRowClick(f)}),onRowDblclick:e[27]||(e[27]=function(f){return i.onRowDblClick(f)}),onRowRightclick:e[28]||(e[28]=function(f){return i.onRowRightClick(f)}),onRowTouchend:i.onRowTouchEnd,onRowKeydown:function(w){return i.onRowKeyDown(w,m)},onRowMousedown:i.onRowMouseDown,onRowDragstart:e[29]||(e[29]=function(f){return i.onRowDragStart(f)}),onRowDragover:e[30]||(e[30]=function(f){return i.onRowDragOver(f)}),onRowDragleave:e[31]||(e[31]=function(f){return i.onRowDragLeave(f)}),onRowDragend:e[32]||(e[32]=function(f){return i.onRowDragEnd(f)}),onRowDrop:e[33]||(e[33]=function(f){return i.onRowDrop(f)}),onRowToggle:e[34]||(e[34]=function(f){return i.toggleRow(f)}),onRadioChange:e[35]||(e[35]=function(f){return i.toggleRowWithRadio(f)}),onCheckboxChange:e[36]||(e[36]=function(f){return i.toggleRowWithCheckbox(f)}),onCellEditInit:e[37]||(e[37]=function(f){return i.onCellEditInit(f)}),onCellEditComplete:e[38]||(e[38]=function(f){return i.onCellEditComplete(f)}),onCellEditCancel:e[39]||(e[39]=function(f){return i.onCellEditCancel(f)}),onRowEditInit:e[40]||(e[40]=function(f){return i.onRowEditInit(f)}),onRowEditSave:e[41]||(e[41]=function(f){return i.onRowEditSave(f)}),onRowEditCancel:e[42]||(e[42]=function(f){return i.onRowEditCancel(f)}),editingMeta:a.d_editingMeta,onEditingMetaChange:i.onEditingMetaChange,unstyled:t.unstyled,pt:t.pt},null,8,["value","class","columns","empty","first","dataKey","selection","selectionKeys","selectionMode","rowHover","contextMenu","contextMenuSelection","rowGroupMode","groupRowsBy","expandableRowGroups","rowClass","rowStyle","editMode","compareSelectionBy","scrollable","expandedRowIcon","collapsedRowIcon","expandedRows","expandedRowGroups","editingRows","editingRowKeys","templates","editButtonProps","virtualScrollerContentProps","isVirtualScrollerDisabled","onRowgroupToggle","onRowTouchend","onRowKeydown","onRowMousedown","editingMeta","onEditingMetaChange","unstyled","pt"]),i.hasSpacerStyle(m.spacerStyle)?(o.openBlock(),o.createElementBlock("tbody",o.mergeProps({key:2,class:t.cx("virtualScrollerSpacer"),style:{height:"calc(".concat(m.spacerStyle.height," - ").concat(m.rows.length*m.itemSize,"px)")}},t.ptm("virtualScrollerSpacer")),null,16)):o.createCommentVNode("",!0),o.createVNode(p,{columnGroup:i.footerColumnGroup,columns:m.columns,pt:t.pt},null,8,["columnGroup","columns","pt"])],16)]}),_:1},16,["items","columns","style","scrollHeight","disabled","pt"])],16,lm),i.paginatorBottom?(o.openBlock(),o.createBlock(s,{key:3,rows:a.d_rows,first:a.d_first,totalRecords:i.totalRecordsLength,pageLinkSize:t.pageLinkSize,template:t.paginatorTemplate,rowsPerPageOptions:t.rowsPerPageOptions,currentPageReportTemplate:t.currentPageReportTemplate,class:o.normalizeClass(t.cx("pcPaginator",{position:"bottom"})),onPage:e[43]||(e[43]=function(m){return i.onPage(m)}),alwaysShow:t.alwaysShowPaginator,unstyled:t.unstyled,"data-p-bottom":!0,pt:t.ptm("pcPaginator")},o.createSlots({_:2},[t.$slots.paginatorcontainer?{name:"container",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorcontainer",{first:m.first,last:m.last,rows:m.rows,page:m.page,pageCount:m.pageCount,pageLinks:m.pageLinks,totalRecords:m.totalRecords,firstPageCallback:m.firstPageCallback,lastPageCallback:m.lastPageCallback,prevPageCallback:m.prevPageCallback,nextPageCallback:m.nextPageCallback,rowChangeCallback:m.rowChangeCallback,changePageCallback:m.changePageCallback})]}),key:"0"}:void 0,t.$slots.paginatorstart?{name:"start",fn:o.withCtx(function(){return[o.renderSlot(t.$slots,"paginatorstart")]}),key:"1"}:void 0,t.$slots.paginatorend?{name:"end",fn:o.withCtx(function(){return[o.renderSlot(t.$slots,"paginatorend")]}),key:"2"}:void 0,t.$slots.paginatorfirstpagelinkicon?{name:"firstpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorfirstpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"3"}:void 0,t.$slots.paginatorprevpagelinkicon?{name:"prevpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorprevpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"4"}:void 0,t.$slots.paginatornextpagelinkicon?{name:"nextpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatornextpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"5"}:void 0,t.$slots.paginatorlastpagelinkicon?{name:"lastpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorlastpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"6"}:void 0,t.$slots.paginatorjumptopagedropdownicon?{name:"jumptopagedropdownicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorjumptopagedropdownicon",{class:o.normalizeClass(m.class)})]}),key:"7"}:void 0,t.$slots.paginatorrowsperpagedropdownicon?{name:"rowsperpagedropdownicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorrowsperpagedropdownicon",{class:o.normalizeClass(m.class)})]}),key:"8"}:void 0]),1032,["rows","first","totalRecords","pageLinkSize","template","rowsPerPageOptions","currentPageReportTemplate","class","alwaysShow","unstyled","pt"])):o.createCommentVNode("",!0),t.$slots.footer?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:4,class:t.cx("footer")},t.ptm("footer")),[o.renderSlot(t.$slots,"footer")],16)):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({ref:"resizeHelper",class:t.cx("columnResizeIndicator"),style:{display:"none"}},t.ptm("columnResizeIndicator")),null,16),t.reorderableColumns?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:5,ref:"reorderIndicatorUp",class:t.cx("rowReorderIndicatorUp"),style:{position:"absolute",display:"none"}},t.ptm("rowReorderIndicatorUp")),[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.$slots.rowreorderindicatorupicon||t.$slots.reorderindicatorupicon||"ArrowDownIcon")))],16)):o.createCommentVNode("",!0),t.reorderableColumns?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:6,ref:"reorderIndicatorDown",class:t.cx("rowReorderIndicatorDown"),style:{position:"absolute",display:"none"}},t.ptm("rowReorderIndicatorDown")),[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.$slots.rowreorderindicatordownicon||t.$slots.reorderindicatordownicon||"ArrowUpIcon")))],16)):o.createCommentVNode("",!0)],16,am)}di.render=sm;var um=c.BaseStyle.extend({name:"column"}),dm={name:"BaseColumn",extends:c.script,props:{columnKey:{type:null,default:null},field:{type:[String,Function],default:null},sortField:{type:[String,Function],default:null},filterField:{type:[String,Function],default:null},dataType:{type:String,default:"text"},sortable:{type:Boolean,default:!1},header:{type:null,default:null},footer:{type:null,default:null},style:{type:null,default:null},class:{type:String,default:null},headerStyle:{type:null,default:null},headerClass:{type:String,default:null},bodyStyle:{type:null,default:null},bodyClass:{type:String,default:null},footerStyle:{type:null,default:null},footerClass:{type:String,default:null},showFilterMenu:{type:Boolean,default:!0},showFilterOperator:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!1},showApplyButton:{type:Boolean,default:!0},showFilterMatchModes:{type:Boolean,default:!0},showAddButton:{type:Boolean,default:!0},filterMatchModeOptions:{type:Array,default:null},maxConstraints:{type:Number,default:2},excludeGlobalFilter:{type:Boolean,default:!1},filterHeaderClass:{type:String,default:null},filterHeaderStyle:{type:null,default:null},filterMenuClass:{type:String,default:null},filterMenuStyle:{type:null,default:null},selectionMode:{type:String,default:null},expander:{type:Boolean,default:!1},colspan:{type:Number,default:null},rowspan:{type:Number,default:null},rowReorder:{type:Boolean,default:!1},rowReorderIcon:{type:String,default:void 0},reorderableColumn:{type:Boolean,default:!0},rowEditor:{type:Boolean,default:!1},frozen:{type:Boolean,default:!1},alignFrozen:{type:String,default:"left"},exportable:{type:Boolean,default:!0},exportHeader:{type:String,default:null},exportFooter:{type:String,default:null},filterMatchMode:{type:String,default:null},hidden:{type:Boolean,default:!1}},style:um,provide:function(){return{$pcColumn:this,$parentInstance:this}}},lo={name:"Column",extends:dm,inheritAttrs:!1,inject:["$columns"],mounted:function(){var e;(e=this.$columns)===null||e===void 0||e.add(this.$)},unmounted:function(){var e;(e=this.$columns)===null||e===void 0||e.delete(this.$)},render:function(){return null}};const cm=o.defineComponent({__name:"TableComponent",props:o.mergeModels({columns:{},editMode:{default:()=>{}},tableProps:{default:()=>({})}},{modelValue:{type:Array,required:!0},modelModifiers:{}}),emits:o.mergeModels(["row-edit-save","cell-edit-save"],["update:modelValue"]),setup(t,{emit:e}){const{t:n}=g.useI18nLib(),r=o.useModel(t,"modelValue"),{resolve:a}=zn(),i=o.ref([]),l=e,s=p=>{l("row-edit-save",p),r.value[p.index]=p.newData},d=p=>{l("cell-edit-save",p),p.data[p.field]=p.newValue},u=o.computed(()=>`${100/(t.columns.length+(t.editMode==="row"?1:0))}%`);return(p,h)=>(o.openBlock(),o.createBlock(o.unref(di),o.mergeProps({"editing-rows":i.value,"onUpdate:editingRows":h[0]||(h[0]=m=>i.value=m),value:r.value,"edit-mode":t.editMode,"data-key":"id"},t.tableProps,{onRowEditSave:s,onCellEditComplete:d}),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.columns,(m,f)=>(o.openBlock(),o.createBlock(o.unref(lo),o.mergeProps({key:f,field:m.field,header:o.unref(n)(m.header),style:{width:u.value,"min-width":"8rem"}},{ref_for:!0},m.columnProps),o.createSlots({_:2},[m.body?{name:"body",fn:o.withCtx(({data:w})=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(a)(m.body)),o.mergeProps({value:w[m.field],label:w[m.field]},{ref_for:!0},m.bodyProps),null,16,["value","label"]))]),key:"0"}:void 0,m.editor?{name:"editor",fn:o.withCtx(({data:w,field:S})=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(a)(m.editor)),o.mergeProps({modelValue:w[S],"onUpdate:modelValue":P=>w[S]=P,data:w,field:S},{ref_for:!0},m.editorProps),null,16,["modelValue","onUpdate:modelValue","data","field"]))]),key:"1"}:void 0]),1040,["field","header","style"]))),128)),t.editMode==="row"?(o.openBlock(),o.createBlock(o.unref(lo),{key:0,"row-editor":!0,style:o.normalizeStyle({width:u.value,"min-width":"8rem"})},null,8,["style"])):o.createCommentVNode("",!0)]),_:1},16,["editing-rows","value","edit-mode"]))}}),pm=so.defineStore("wefaDarkMode",()=>{const t=o.ref("app-dark-mode");function e(p){t.value=p}const n=o.ref("dark-mode-wefa");function r(p){n.value=p;const h=localStorage.getItem(p);h==="light"?l():h==="dark"?s():d()}const a=window.matchMedia("(prefers-color-scheme: dark)"),i=o.ref("system");function l(){i.value="light",document.documentElement.classList.remove(t.value)}function s(){i.value="dark",document.documentElement.classList.add(t.value)}function d(){i.value="system",u()}function u(){i.value==="system"&&(a.matches?document.documentElement.classList.add(t.value):document.documentElement.classList.remove(t.value))}return a.addEventListener("change",()=>{u()}),o.watch(i,()=>{localStorage.setItem(n.value,i.value),i.value==="light"?document.documentElement.classList.remove(t.value):i.value==="dark"?document.documentElement.classList.add(t.value):u()}),{mode:i,setLightMode:l,setDarkMode:s,setSystemMode:d,setDarkModeSelector:e,setLocalStorageKey:r}}),ci={path:"/terms-of-use",name:"terms-of-use",component:()=>Promise.resolve().then(()=>require("./LegalDocument-0Qeu21YK.cjs")),props:{documentEndpoint:"terms-of-use"}},pi={path:"/privacy-notice",name:"privacy-notice",component:()=>Promise.resolve().then(()=>require("./LegalDocument-0Qeu21YK.cjs")),props:{documentEndpoint:"privacy-notice"}},fi={path:"/legal-consent",name:"legal-consent",component:()=>Promise.resolve().then(()=>require("./LegalConsent-GeSaAVS1.cjs"))},fm={async install(t,e){const n=e.termsOfUseRoute||ci,r=e.privacyNoticeRoute||pi,a=e.legalConsentRoute||fi;e.router.addRoute(n),e.router.addRoute(r),e.router.addRoute(a),await e.router.isReady();const i=mi();i.legalEndpoint=e.path;const l=e.backendStore;e.router.beforeEach((s,d,u)=>{const p=[n.name,r.name].includes(s.name),h=s.name===a.name,m=i.legalConsent,f=l.authenticated;if(p){u();return}if(!m){u();return}if(m.valid){if(h){u(!1);return}u();return}if(!h&&f){u({name:a.name});return}u()}),await i.fetchLegalConsent(),e.router.push({path:e.router.currentRoute.value.path}).then(()=>{})}},mi=so.defineStore("legalStore",()=>{const t=o.ref(null),e=o.ref(void 0);async function n(){const a=await It.axiosInstance.get(`${It.axiosInstance.defaults.baseURL}/${e.value}/agreement/`);t.value=a.data}async function r(){const a=await It.axiosInstance.patch(`${It.axiosInstance.defaults.baseURL}/${e.value}/agreement/`);t.value=a.data}return{legalEndpoint:e,legalConsent:t,fetchLegalConsent:n,acceptLegalConsent:r}}),Fn={h1:"text-3xl font-bold text-gray-900 dark:text-gray-100 mb-6 mt-8 first:mt-0",h2:"text-2xl font-semibold text-gray-800 dark:text-gray-100 mb-4 mt-6",h3:"text-xl font-semibold text-gray-800 dark:text-gray-100 mb-3 mt-5",h4:"text-lg font-medium text-gray-700 dark:text-gray-200 mb-2 mt-4",h5:"text-base font-medium text-gray-700 dark:text-gray-200 mb-2 mt-3",h6:"text-sm font-medium text-gray-600 dark:text-gray-300 mb-2 mt-3",p:"text-gray-700 dark:text-gray-300 leading-relaxed mb-4",ul:"list-disc list-inside mb-4 text-gray-700 dark:text-gray-300",ol:"list-decimal list-inside mb-4 text-gray-700 dark:text-gray-300",li:"mb-2",blockquote:"border-l-4 border-gray-300 dark:border-gray-600 pl-4 italic text-gray-600 dark:text-gray-300 mb-4",code:"bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-gray-100 px-1 py-0.5 rounded text-sm font-mono",pre:"bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-gray-100 p-4 rounded-lg overflow-x-auto mb-4",a:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 underline",strong:"font-semibold",em:"italic"};function mm(t){Object.keys(Fn).forEach(e=>{t.querySelectorAll(e).forEach(r=>{r.className=Fn[e]})})}const hm={install(t,e){e?.pinia&&t.use(e.pinia)}};exports.ControlBarComponent=po;exports.DashboardComponent=Wi;exports.DashboardGroupComponent=qi;exports.DashboardPanelComponent=Sa;exports.PlotlyComponent=Co;exports.PrimeVue=Oi;exports._sfc_main=Fi;exports._sfc_main$1=fo;exports._sfc_main$2=Gi;exports._sfc_main$3=ql;exports._sfc_main$4=Jl;exports._sfc_main$5=Yl;exports._sfc_main$6=rs;exports._sfc_main$7=as;exports._sfc_main$8=cm;exports.applyMarkdownClasses=mm;exports.defaultLegalConsentRoute=fi;exports.defaultPrivacyNoticeRoute=pi;exports.defaultTermsOfUseRoute=ci;exports.legalConsentPlugin=fm;exports.lib=hm;exports.markdownElementsToTailwindClasses=Fn;exports.script=Ct;exports.script$1=ue;exports.script$2=Be;exports.script$3=vt;exports.script$4=wt;exports.script$5=Ee;exports.script$6=Eo;exports.useDarkModeStore=pm;exports.useLegalStore=mi;
2777
+ `)}),this.styleElement.innerHTML=n},restoreColumnWidths:function(){if(this.columnWidthsState){var e=this.columnWidthsState.split(",");this.columnResizeMode==="expand"&&this.tableWidthState&&(this.$refs.table.style.width=this.tableWidthState,this.$refs.table.style.minWidth=this.tableWidthState),c.s(e)&&this.addColumnWidthStyles(e)}},onCellEditInit:function(e){this.$emit("cell-edit-init",e)},onCellEditComplete:function(e){this.$emit("cell-edit-complete",e)},onCellEditCancel:function(e){this.$emit("cell-edit-cancel",e)},onRowEditInit:function(e){var n=this.editingRows?U(this.editingRows):[];n.push(e.data),this.$emit("update:editingRows",n),this.$emit("row-edit-init",e)},onRowEditSave:function(e){var n=U(this.editingRows);n.splice(this.findIndex(e.data,n),1),this.$emit("update:editingRows",n),this.$emit("row-edit-save",e)},onRowEditCancel:function(e){var n=U(this.editingRows);n.splice(this.findIndex(e.data,n),1),this.$emit("update:editingRows",n),this.$emit("row-edit-cancel",e)},onEditingMetaChange:function(e){var n=e.data,r=e.field,a=e.index,i=e.editing,l=X({},this.d_editingMeta),s=l[a];if(i)!s&&(s=l[a]={data:X({},n),fields:[]}),s.fields.push(r);else if(s){var d=s.fields.filter(function(u){return u!==r});d.length?s.fields=d:delete l[a]}this.d_editingMeta=l},clearEditingMetaData:function(){this.editMode&&(this.d_editingMeta={})},createLazyLoadEvent:function(e){return{originalEvent:e,first:this.d_first,rows:this.d_rows,sortField:this.d_sortField,sortOrder:this.d_sortOrder,multiSortMeta:this.d_multiSortMeta,filters:this.d_filters}},hasGlobalFilter:function(){return this.filters&&Object.prototype.hasOwnProperty.call(this.filters,"global")},onFilterChange:function(e){this.d_filters=e},onFilterApply:function(){this.d_first=0,this.$emit("update:first",this.d_first),this.$emit("update:filters",this.d_filters),this.lazy&&this.$emit("filter",this.createLazyLoadEvent())},cloneFilters:function(e){var n={};return e&&Object.entries(e).forEach(function(r){var a=oo(r,2),i=a[0],l=a[1];n[i]=l.operator?{operator:l.operator,constraints:l.constraints.map(function(s){return X({},s)})}:X({},l)}),n},updateReorderableColumns:function(){var e=this,n=[];this.columns.forEach(function(r){return n.push(e.columnProp(r,"columnKey")||e.columnProp(r,"field"))}),this.d_columnOrder=n},createStyleElement:function(){var e;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",c.Kt(this.styleElement,"nonce",(e=this.$primevue)===null||e===void 0||(e=e.config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce),document.head.appendChild(this.styleElement)},destroyStyleElement:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},dataToRender:function(e){var n=e||this.processedData;if(n&&this.paginator){var r=this.lazy?0:this.d_first;return n.slice(r,r+this.d_rows)}return n},getVirtualScrollerRef:function(){return this.$refs.virtualScroller},hasSpacerStyle:function(e){return c.s(e)}},computed:{columns:function(){var e=this.d_columns.get(this);if(e&&this.reorderableColumns&&this.d_columnOrder){var n=[],r=Ae(this.d_columnOrder),a;try{for(r.s();!(a=r.n()).done;){var i=a.value,l=this.findColumnByKey(e,i);l&&!this.columnProp(l,"hidden")&&n.push(l)}}catch(s){r.e(s)}finally{r.f()}return[].concat(n,U(e.filter(function(s){return n.indexOf(s)<0})))}return e},columnGroups:function(){return this.d_columnGroups.get(this)},headerColumnGroup:function(){var e,n=this;return(e=this.columnGroups)===null||e===void 0?void 0:e.find(function(r){return n.columnProp(r,"type")==="header"})},footerColumnGroup:function(){var e,n=this;return(e=this.columnGroups)===null||e===void 0?void 0:e.find(function(r){return n.columnProp(r,"type")==="footer"})},hasFilters:function(){return this.filters&&Object.keys(this.filters).length>0&&this.filters.constructor===Object},processedData:function(){var e,n=this.value||[];return!this.lazy&&!((e=this.virtualScrollerOptions)!==null&&e!==void 0&&e.lazy)&&n&&n.length&&(this.hasFilters&&(n=this.filter(n)),this.sorted&&(this.sortMode==="single"?n=this.sortSingle(n):this.sortMode==="multiple"&&(n=this.sortMultiple(n)))),n},totalRecordsLength:function(){if(this.lazy)return this.totalRecords;var e=this.processedData;return e?e.length:0},empty:function(){var e=this.processedData;return!e||e.length===0},paginatorTop:function(){return this.paginator&&(this.paginatorPosition!=="bottom"||this.paginatorPosition==="both")},paginatorBottom:function(){return this.paginator&&(this.paginatorPosition!=="top"||this.paginatorPosition==="both")},sorted:function(){return this.d_sortField||this.d_multiSortMeta&&this.d_multiSortMeta.length>0},allRowsSelected:function(){var e=this;if(this.selectAll!==null)return this.selectAll;var n=this.frozenValue?[].concat(U(this.frozenValue),U(this.processedData)):this.processedData;return c.s(n)&&this.selection&&Array.isArray(this.selection)&&n.every(function(r){return e.selection.some(function(a){return e.equals(a,r)})})},groupRowSortField:function(){return this.sortMode==="single"?this.sortField:this.d_groupRowsSortMeta?this.d_groupRowsSortMeta.field:null},headerFilterButtonProps:function(){return X(X({filter:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps),{},{inline:X({clear:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps.inline),popover:X({addRule:{severity:"info",text:!0,size:"small"},removeRule:{severity:"danger",text:!0,size:"small"},apply:{size:"small"},clear:{outlined:!0,size:"small"}},this.filterButtonProps.popover)})},rowEditButtonProps:function(){return X(X({},{init:{severity:"secondary",text:!0,rounded:!0},save:{severity:"secondary",text:!0,rounded:!0},cancel:{severity:"secondary",text:!0,rounded:!0}}),this.editButtonProps)},virtualScrollerDisabled:function(){return c.a(this.virtualScrollerOptions)||!this.scrollable},dataP:function(){return g.f($t($t($t({scrollable:this.scrollable,"flex-scrollable":this.scrollable&&this.scrollHeight==="flex"},this.size,this.size),"loading",this.loading),"empty",this.empty))}},components:{DTPaginator:Go,DTTableHeader:ui,DTTableBody:oi,DTTableFooter:ai,DTVirtualScroller:Vn,ArrowDownIcon:So,ArrowUpIcon:xo,SpinnerIcon:bt}};function mt(t){"@babel/helpers - typeof";return mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mt(t)}function io(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function ao(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?io(Object(n),!0).forEach(function(r){rm(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):io(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function rm(t,e,n){return(e=om(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function om(t){var e=im(t,"string");return mt(e)=="symbol"?e:e+""}function im(t,e){if(mt(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(mt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var am=["data-p"],lm=["data-p"];function sm(t,e,n,r,a,i){var l=o.resolveComponent("SpinnerIcon"),s=o.resolveComponent("DTPaginator"),d=o.resolveComponent("DTTableHeader"),u=o.resolveComponent("DTTableBody"),p=o.resolveComponent("DTTableFooter"),h=o.resolveComponent("DTVirtualScroller");return o.openBlock(),o.createElementBlock("div",o.mergeProps({class:t.cx("root"),"data-scrollselectors":".p-datatable-wrapper","data-p":i.dataP},t.ptmi("root")),[o.renderSlot(t.$slots,"default"),t.loading?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,class:t.cx("mask")},t.ptm("mask")),[t.$slots.loading?o.renderSlot(t.$slots,"loading",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[t.$slots.loadingicon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.$slots.loadingicon),{key:0,class:o.normalizeClass(t.cx("loadingIcon"))},null,8,["class"])):t.loadingIcon?(o.openBlock(),o.createElementBlock("i",o.mergeProps({key:1,class:[t.cx("loadingIcon"),"pi-spin",t.loadingIcon]},t.ptm("loadingIcon")),null,16)):(o.openBlock(),o.createBlock(l,o.mergeProps({key:2,spin:"",class:t.cx("loadingIcon")},t.ptm("loadingIcon")),null,16,["class"]))],64))],16)):o.createCommentVNode("",!0),t.$slots.header?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:1,class:t.cx("header")},t.ptm("header")),[o.renderSlot(t.$slots,"header")],16)):o.createCommentVNode("",!0),i.paginatorTop?(o.openBlock(),o.createBlock(s,{key:2,rows:a.d_rows,first:a.d_first,totalRecords:i.totalRecordsLength,pageLinkSize:t.pageLinkSize,template:t.paginatorTemplate,rowsPerPageOptions:t.rowsPerPageOptions,currentPageReportTemplate:t.currentPageReportTemplate,class:o.normalizeClass(t.cx("pcPaginator",{position:"top"})),onPage:e[0]||(e[0]=function(m){return i.onPage(m)}),alwaysShow:t.alwaysShowPaginator,unstyled:t.unstyled,"data-p-top":!0,pt:t.ptm("pcPaginator")},o.createSlots({_:2},[t.$slots.paginatorcontainer?{name:"container",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorcontainer",{first:m.first,last:m.last,rows:m.rows,page:m.page,pageCount:m.pageCount,pageLinks:m.pageLinks,totalRecords:m.totalRecords,firstPageCallback:m.firstPageCallback,lastPageCallback:m.lastPageCallback,prevPageCallback:m.prevPageCallback,nextPageCallback:m.nextPageCallback,rowChangeCallback:m.rowChangeCallback,changePageCallback:m.changePageCallback})]}),key:"0"}:void 0,t.$slots.paginatorstart?{name:"start",fn:o.withCtx(function(){return[o.renderSlot(t.$slots,"paginatorstart")]}),key:"1"}:void 0,t.$slots.paginatorend?{name:"end",fn:o.withCtx(function(){return[o.renderSlot(t.$slots,"paginatorend")]}),key:"2"}:void 0,t.$slots.paginatorfirstpagelinkicon?{name:"firstpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorfirstpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"3"}:void 0,t.$slots.paginatorprevpagelinkicon?{name:"prevpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorprevpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"4"}:void 0,t.$slots.paginatornextpagelinkicon?{name:"nextpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatornextpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"5"}:void 0,t.$slots.paginatorlastpagelinkicon?{name:"lastpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorlastpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"6"}:void 0,t.$slots.paginatorjumptopagedropdownicon?{name:"jumptopagedropdownicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorjumptopagedropdownicon",{class:o.normalizeClass(m.class)})]}),key:"7"}:void 0,t.$slots.paginatorrowsperpagedropdownicon?{name:"rowsperpagedropdownicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorrowsperpagedropdownicon",{class:o.normalizeClass(m.class)})]}),key:"8"}:void 0]),1032,["rows","first","totalRecords","pageLinkSize","template","rowsPerPageOptions","currentPageReportTemplate","class","alwaysShow","unstyled","pt"])):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({class:t.cx("tableContainer"),style:[t.sx("tableContainer"),{maxHeight:i.virtualScrollerDisabled?t.scrollHeight:""}],"data-p":i.dataP},t.ptm("tableContainer")),[o.createVNode(h,o.mergeProps({ref:"virtualScroller"},t.virtualScrollerOptions,{items:i.processedData,columns:i.columns,style:t.scrollHeight!=="flex"?{height:t.scrollHeight}:void 0,scrollHeight:t.scrollHeight!=="flex"?void 0:"100%",disabled:i.virtualScrollerDisabled,loaderDisabled:"",inline:"",autoSize:"",showSpacer:!1,pt:t.ptm("virtualScroller")}),{content:o.withCtx(function(m){return[o.createElementVNode("table",o.mergeProps({ref:"table",role:"table",class:[t.cx("table"),t.tableClass],style:[t.tableStyle,m.spacerStyle]},ao(ao({},t.tableProps),t.ptm("table"))),[t.showHeaders?(o.openBlock(),o.createBlock(d,{key:0,columnGroup:i.headerColumnGroup,columns:m.columns,rowGroupMode:t.rowGroupMode,groupRowsBy:t.groupRowsBy,groupRowSortField:i.groupRowSortField,reorderableColumns:t.reorderableColumns,resizableColumns:t.resizableColumns,allRowsSelected:i.allRowsSelected,empty:i.empty,sortMode:t.sortMode,sortField:a.d_sortField,sortOrder:a.d_sortOrder,multiSortMeta:a.d_multiSortMeta,filters:a.d_filters,filtersStore:t.filters,filterDisplay:t.filterDisplay,filterButtonProps:i.headerFilterButtonProps,filterInputProps:t.filterInputProps,first:a.d_first,onColumnClick:e[1]||(e[1]=function(f){return i.onColumnHeaderClick(f)}),onColumnMousedown:e[2]||(e[2]=function(f){return i.onColumnHeaderMouseDown(f)}),onFilterChange:i.onFilterChange,onFilterApply:i.onFilterApply,onColumnDragstart:e[3]||(e[3]=function(f){return i.onColumnHeaderDragStart(f)}),onColumnDragover:e[4]||(e[4]=function(f){return i.onColumnHeaderDragOver(f)}),onColumnDragleave:e[5]||(e[5]=function(f){return i.onColumnHeaderDragLeave(f)}),onColumnDrop:e[6]||(e[6]=function(f){return i.onColumnHeaderDrop(f)}),onColumnResizestart:e[7]||(e[7]=function(f){return i.onColumnResizeStart(f)}),onCheckboxChange:e[8]||(e[8]=function(f){return i.toggleRowsWithCheckbox(f)}),unstyled:t.unstyled,pt:t.pt},null,8,["columnGroup","columns","rowGroupMode","groupRowsBy","groupRowSortField","reorderableColumns","resizableColumns","allRowsSelected","empty","sortMode","sortField","sortOrder","multiSortMeta","filters","filtersStore","filterDisplay","filterButtonProps","filterInputProps","first","onFilterChange","onFilterApply","unstyled","pt"])):o.createCommentVNode("",!0),t.frozenValue?(o.openBlock(),o.createBlock(u,{key:1,ref:"frozenBodyRef",value:t.frozenValue,frozenRow:!0,columns:m.columns,first:a.d_first,dataKey:t.dataKey,selection:t.selection,selectionKeys:a.d_selectionKeys,selectionMode:t.selectionMode,rowHover:t.rowHover,contextMenu:t.contextMenu,contextMenuSelection:t.contextMenuSelection,rowGroupMode:t.rowGroupMode,groupRowsBy:t.groupRowsBy,expandableRowGroups:t.expandableRowGroups,rowClass:t.rowClass,rowStyle:t.rowStyle,editMode:t.editMode,compareSelectionBy:t.compareSelectionBy,scrollable:t.scrollable,expandedRowIcon:t.expandedRowIcon,collapsedRowIcon:t.collapsedRowIcon,expandedRows:t.expandedRows,expandedRowGroups:t.expandedRowGroups,editingRows:t.editingRows,editingRowKeys:a.d_editingRowKeys,templates:t.$slots,editButtonProps:i.rowEditButtonProps,isVirtualScrollerDisabled:!0,onRowgroupToggle:i.toggleRowGroup,onRowClick:e[9]||(e[9]=function(f){return i.onRowClick(f)}),onRowDblclick:e[10]||(e[10]=function(f){return i.onRowDblClick(f)}),onRowRightclick:e[11]||(e[11]=function(f){return i.onRowRightClick(f)}),onRowTouchend:i.onRowTouchEnd,onRowKeydown:i.onRowKeyDown,onRowMousedown:i.onRowMouseDown,onRowDragstart:e[12]||(e[12]=function(f){return i.onRowDragStart(f)}),onRowDragover:e[13]||(e[13]=function(f){return i.onRowDragOver(f)}),onRowDragleave:e[14]||(e[14]=function(f){return i.onRowDragLeave(f)}),onRowDragend:e[15]||(e[15]=function(f){return i.onRowDragEnd(f)}),onRowDrop:e[16]||(e[16]=function(f){return i.onRowDrop(f)}),onRowToggle:e[17]||(e[17]=function(f){return i.toggleRow(f)}),onRadioChange:e[18]||(e[18]=function(f){return i.toggleRowWithRadio(f)}),onCheckboxChange:e[19]||(e[19]=function(f){return i.toggleRowWithCheckbox(f)}),onCellEditInit:e[20]||(e[20]=function(f){return i.onCellEditInit(f)}),onCellEditComplete:e[21]||(e[21]=function(f){return i.onCellEditComplete(f)}),onCellEditCancel:e[22]||(e[22]=function(f){return i.onCellEditCancel(f)}),onRowEditInit:e[23]||(e[23]=function(f){return i.onRowEditInit(f)}),onRowEditSave:e[24]||(e[24]=function(f){return i.onRowEditSave(f)}),onRowEditCancel:e[25]||(e[25]=function(f){return i.onRowEditCancel(f)}),editingMeta:a.d_editingMeta,onEditingMetaChange:i.onEditingMetaChange,unstyled:t.unstyled,pt:t.pt},null,8,["value","columns","first","dataKey","selection","selectionKeys","selectionMode","rowHover","contextMenu","contextMenuSelection","rowGroupMode","groupRowsBy","expandableRowGroups","rowClass","rowStyle","editMode","compareSelectionBy","scrollable","expandedRowIcon","collapsedRowIcon","expandedRows","expandedRowGroups","editingRows","editingRowKeys","templates","editButtonProps","onRowgroupToggle","onRowTouchend","onRowKeydown","onRowMousedown","editingMeta","onEditingMetaChange","unstyled","pt"])):o.createCommentVNode("",!0),o.createVNode(u,{ref:"bodyRef",value:i.dataToRender(m.rows),class:o.normalizeClass(m.styleClass),columns:m.columns,empty:i.empty,first:a.d_first,dataKey:t.dataKey,selection:t.selection,selectionKeys:a.d_selectionKeys,selectionMode:t.selectionMode,rowHover:t.rowHover,contextMenu:t.contextMenu,contextMenuSelection:t.contextMenuSelection,rowGroupMode:t.rowGroupMode,groupRowsBy:t.groupRowsBy,expandableRowGroups:t.expandableRowGroups,rowClass:t.rowClass,rowStyle:t.rowStyle,editMode:t.editMode,compareSelectionBy:t.compareSelectionBy,scrollable:t.scrollable,expandedRowIcon:t.expandedRowIcon,collapsedRowIcon:t.collapsedRowIcon,expandedRows:t.expandedRows,expandedRowGroups:t.expandedRowGroups,editingRows:t.editingRows,editingRowKeys:a.d_editingRowKeys,templates:t.$slots,editButtonProps:i.rowEditButtonProps,virtualScrollerContentProps:m,isVirtualScrollerDisabled:i.virtualScrollerDisabled,onRowgroupToggle:i.toggleRowGroup,onRowClick:e[26]||(e[26]=function(f){return i.onRowClick(f)}),onRowDblclick:e[27]||(e[27]=function(f){return i.onRowDblClick(f)}),onRowRightclick:e[28]||(e[28]=function(f){return i.onRowRightClick(f)}),onRowTouchend:i.onRowTouchEnd,onRowKeydown:function(w){return i.onRowKeyDown(w,m)},onRowMousedown:i.onRowMouseDown,onRowDragstart:e[29]||(e[29]=function(f){return i.onRowDragStart(f)}),onRowDragover:e[30]||(e[30]=function(f){return i.onRowDragOver(f)}),onRowDragleave:e[31]||(e[31]=function(f){return i.onRowDragLeave(f)}),onRowDragend:e[32]||(e[32]=function(f){return i.onRowDragEnd(f)}),onRowDrop:e[33]||(e[33]=function(f){return i.onRowDrop(f)}),onRowToggle:e[34]||(e[34]=function(f){return i.toggleRow(f)}),onRadioChange:e[35]||(e[35]=function(f){return i.toggleRowWithRadio(f)}),onCheckboxChange:e[36]||(e[36]=function(f){return i.toggleRowWithCheckbox(f)}),onCellEditInit:e[37]||(e[37]=function(f){return i.onCellEditInit(f)}),onCellEditComplete:e[38]||(e[38]=function(f){return i.onCellEditComplete(f)}),onCellEditCancel:e[39]||(e[39]=function(f){return i.onCellEditCancel(f)}),onRowEditInit:e[40]||(e[40]=function(f){return i.onRowEditInit(f)}),onRowEditSave:e[41]||(e[41]=function(f){return i.onRowEditSave(f)}),onRowEditCancel:e[42]||(e[42]=function(f){return i.onRowEditCancel(f)}),editingMeta:a.d_editingMeta,onEditingMetaChange:i.onEditingMetaChange,unstyled:t.unstyled,pt:t.pt},null,8,["value","class","columns","empty","first","dataKey","selection","selectionKeys","selectionMode","rowHover","contextMenu","contextMenuSelection","rowGroupMode","groupRowsBy","expandableRowGroups","rowClass","rowStyle","editMode","compareSelectionBy","scrollable","expandedRowIcon","collapsedRowIcon","expandedRows","expandedRowGroups","editingRows","editingRowKeys","templates","editButtonProps","virtualScrollerContentProps","isVirtualScrollerDisabled","onRowgroupToggle","onRowTouchend","onRowKeydown","onRowMousedown","editingMeta","onEditingMetaChange","unstyled","pt"]),i.hasSpacerStyle(m.spacerStyle)?(o.openBlock(),o.createElementBlock("tbody",o.mergeProps({key:2,class:t.cx("virtualScrollerSpacer"),style:{height:"calc(".concat(m.spacerStyle.height," - ").concat(m.rows.length*m.itemSize,"px)")}},t.ptm("virtualScrollerSpacer")),null,16)):o.createCommentVNode("",!0),o.createVNode(p,{columnGroup:i.footerColumnGroup,columns:m.columns,pt:t.pt},null,8,["columnGroup","columns","pt"])],16)]}),_:1},16,["items","columns","style","scrollHeight","disabled","pt"])],16,lm),i.paginatorBottom?(o.openBlock(),o.createBlock(s,{key:3,rows:a.d_rows,first:a.d_first,totalRecords:i.totalRecordsLength,pageLinkSize:t.pageLinkSize,template:t.paginatorTemplate,rowsPerPageOptions:t.rowsPerPageOptions,currentPageReportTemplate:t.currentPageReportTemplate,class:o.normalizeClass(t.cx("pcPaginator",{position:"bottom"})),onPage:e[43]||(e[43]=function(m){return i.onPage(m)}),alwaysShow:t.alwaysShowPaginator,unstyled:t.unstyled,"data-p-bottom":!0,pt:t.ptm("pcPaginator")},o.createSlots({_:2},[t.$slots.paginatorcontainer?{name:"container",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorcontainer",{first:m.first,last:m.last,rows:m.rows,page:m.page,pageCount:m.pageCount,pageLinks:m.pageLinks,totalRecords:m.totalRecords,firstPageCallback:m.firstPageCallback,lastPageCallback:m.lastPageCallback,prevPageCallback:m.prevPageCallback,nextPageCallback:m.nextPageCallback,rowChangeCallback:m.rowChangeCallback,changePageCallback:m.changePageCallback})]}),key:"0"}:void 0,t.$slots.paginatorstart?{name:"start",fn:o.withCtx(function(){return[o.renderSlot(t.$slots,"paginatorstart")]}),key:"1"}:void 0,t.$slots.paginatorend?{name:"end",fn:o.withCtx(function(){return[o.renderSlot(t.$slots,"paginatorend")]}),key:"2"}:void 0,t.$slots.paginatorfirstpagelinkicon?{name:"firstpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorfirstpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"3"}:void 0,t.$slots.paginatorprevpagelinkicon?{name:"prevpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorprevpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"4"}:void 0,t.$slots.paginatornextpagelinkicon?{name:"nextpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatornextpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"5"}:void 0,t.$slots.paginatorlastpagelinkicon?{name:"lastpagelinkicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorlastpagelinkicon",{class:o.normalizeClass(m.class)})]}),key:"6"}:void 0,t.$slots.paginatorjumptopagedropdownicon?{name:"jumptopagedropdownicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorjumptopagedropdownicon",{class:o.normalizeClass(m.class)})]}),key:"7"}:void 0,t.$slots.paginatorrowsperpagedropdownicon?{name:"rowsperpagedropdownicon",fn:o.withCtx(function(m){return[o.renderSlot(t.$slots,"paginatorrowsperpagedropdownicon",{class:o.normalizeClass(m.class)})]}),key:"8"}:void 0]),1032,["rows","first","totalRecords","pageLinkSize","template","rowsPerPageOptions","currentPageReportTemplate","class","alwaysShow","unstyled","pt"])):o.createCommentVNode("",!0),t.$slots.footer?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:4,class:t.cx("footer")},t.ptm("footer")),[o.renderSlot(t.$slots,"footer")],16)):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({ref:"resizeHelper",class:t.cx("columnResizeIndicator"),style:{display:"none"}},t.ptm("columnResizeIndicator")),null,16),t.reorderableColumns?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:5,ref:"reorderIndicatorUp",class:t.cx("rowReorderIndicatorUp"),style:{position:"absolute",display:"none"}},t.ptm("rowReorderIndicatorUp")),[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.$slots.rowreorderindicatorupicon||t.$slots.reorderindicatorupicon||"ArrowDownIcon")))],16)):o.createCommentVNode("",!0),t.reorderableColumns?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:6,ref:"reorderIndicatorDown",class:t.cx("rowReorderIndicatorDown"),style:{position:"absolute",display:"none"}},t.ptm("rowReorderIndicatorDown")),[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.$slots.rowreorderindicatordownicon||t.$slots.reorderindicatordownicon||"ArrowUpIcon")))],16)):o.createCommentVNode("",!0)],16,am)}di.render=sm;var um=c.BaseStyle.extend({name:"column"}),dm={name:"BaseColumn",extends:c.script,props:{columnKey:{type:null,default:null},field:{type:[String,Function],default:null},sortField:{type:[String,Function],default:null},filterField:{type:[String,Function],default:null},dataType:{type:String,default:"text"},sortable:{type:Boolean,default:!1},header:{type:null,default:null},footer:{type:null,default:null},style:{type:null,default:null},class:{type:String,default:null},headerStyle:{type:null,default:null},headerClass:{type:String,default:null},bodyStyle:{type:null,default:null},bodyClass:{type:String,default:null},footerStyle:{type:null,default:null},footerClass:{type:String,default:null},showFilterMenu:{type:Boolean,default:!0},showFilterOperator:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!1},showApplyButton:{type:Boolean,default:!0},showFilterMatchModes:{type:Boolean,default:!0},showAddButton:{type:Boolean,default:!0},filterMatchModeOptions:{type:Array,default:null},maxConstraints:{type:Number,default:2},excludeGlobalFilter:{type:Boolean,default:!1},filterHeaderClass:{type:String,default:null},filterHeaderStyle:{type:null,default:null},filterMenuClass:{type:String,default:null},filterMenuStyle:{type:null,default:null},selectionMode:{type:String,default:null},expander:{type:Boolean,default:!1},colspan:{type:Number,default:null},rowspan:{type:Number,default:null},rowReorder:{type:Boolean,default:!1},rowReorderIcon:{type:String,default:void 0},reorderableColumn:{type:Boolean,default:!0},rowEditor:{type:Boolean,default:!1},frozen:{type:Boolean,default:!1},alignFrozen:{type:String,default:"left"},exportable:{type:Boolean,default:!0},exportHeader:{type:String,default:null},exportFooter:{type:String,default:null},filterMatchMode:{type:String,default:null},hidden:{type:Boolean,default:!1}},style:um,provide:function(){return{$pcColumn:this,$parentInstance:this}}},lo={name:"Column",extends:dm,inheritAttrs:!1,inject:["$columns"],mounted:function(){var e;(e=this.$columns)===null||e===void 0||e.add(this.$)},unmounted:function(){var e;(e=this.$columns)===null||e===void 0||e.delete(this.$)},render:function(){return null}};const cm=o.defineComponent({__name:"TableComponent",props:o.mergeModels({columns:{},editMode:{default:()=>{}},tableProps:{default:()=>({})}},{modelValue:{type:Array,required:!0},modelModifiers:{}}),emits:o.mergeModels(["row-edit-save","cell-edit-save"],["update:modelValue"]),setup(t,{emit:e}){const{t:n}=g.useI18nLib(),r=o.useModel(t,"modelValue"),{resolve:a}=zn(),i=o.ref([]),l=e,s=p=>{l("row-edit-save",p),r.value[p.index]=p.newData},d=p=>{l("cell-edit-save",p),p.data[p.field]=p.newValue},u=o.computed(()=>`${100/(t.columns.length+(t.editMode==="row"?1:0))}%`);return(p,h)=>(o.openBlock(),o.createBlock(o.unref(di),o.mergeProps({"editing-rows":i.value,"onUpdate:editingRows":h[0]||(h[0]=m=>i.value=m),value:r.value,"edit-mode":t.editMode,"data-key":"id"},t.tableProps,{onRowEditSave:s,onCellEditComplete:d}),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.columns,(m,f)=>(o.openBlock(),o.createBlock(o.unref(lo),o.mergeProps({key:f,field:m.field,header:o.unref(n)(m.header),style:{width:u.value,"min-width":"8rem"}},{ref_for:!0},m.columnProps),o.createSlots({_:2},[m.body?{name:"body",fn:o.withCtx(({data:w})=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(a)(m.body)),o.mergeProps({value:w[m.field],label:w[m.field]},{ref_for:!0},m.bodyProps),null,16,["value","label"]))]),key:"0"}:void 0,m.editor?{name:"editor",fn:o.withCtx(({data:w,field:S})=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(a)(m.editor)),o.mergeProps({modelValue:w[S],"onUpdate:modelValue":P=>w[S]=P,data:w,field:S},{ref_for:!0},m.editorProps),null,16,["modelValue","onUpdate:modelValue","data","field"]))]),key:"1"}:void 0]),1040,["field","header","style"]))),128)),t.editMode==="row"?(o.openBlock(),o.createBlock(o.unref(lo),{key:0,"row-editor":!0,style:o.normalizeStyle({width:u.value,"min-width":"8rem"})},null,8,["style"])):o.createCommentVNode("",!0)]),_:1},16,["editing-rows","value","edit-mode"]))}}),pm=so.defineStore("wefaDarkMode",()=>{const t=o.ref("app-dark-mode");function e(p){t.value=p}const n=o.ref("dark-mode-wefa");function r(p){n.value=p;const h=localStorage.getItem(p);h==="light"?l():h==="dark"?s():d()}const a=window.matchMedia("(prefers-color-scheme: dark)"),i=o.ref("system");function l(){i.value="light",document.documentElement.classList.remove(t.value)}function s(){i.value="dark",document.documentElement.classList.add(t.value)}function d(){i.value="system",u()}function u(){i.value==="system"&&(a.matches?document.documentElement.classList.add(t.value):document.documentElement.classList.remove(t.value))}return a.addEventListener("change",()=>{u()}),o.watch(i,()=>{localStorage.setItem(n.value,i.value),i.value==="light"?document.documentElement.classList.remove(t.value):i.value==="dark"?document.documentElement.classList.add(t.value):u()}),{mode:i,setLightMode:l,setDarkMode:s,setSystemMode:d,setDarkModeSelector:e,setLocalStorageKey:r}}),ci={path:"/terms-of-use",name:"terms-of-use",component:()=>Promise.resolve().then(()=>require("./LegalDocument-CU8uyoKh.cjs")),props:{documentEndpoint:"terms-of-use"}},pi={path:"/privacy-notice",name:"privacy-notice",component:()=>Promise.resolve().then(()=>require("./LegalDocument-CU8uyoKh.cjs")),props:{documentEndpoint:"privacy-notice"}},fi={path:"/legal-consent",name:"legal-consent",component:()=>Promise.resolve().then(()=>require("./LegalConsent-Cn3qx30k.cjs"))},fm={async install(t,e){const n=e.termsOfUseRoute||ci,r=e.privacyNoticeRoute||pi,a=e.legalConsentRoute||fi;e.router.addRoute(n),e.router.addRoute(r),e.router.addRoute(a),await e.router.isReady();const i=mi();i.legalEndpoint=e.path;const l=e.backendStore;e.router.beforeEach((s,d,u)=>{const p=[n.name,r.name].includes(s.name),h=s.name===a.name,m=i.legalConsent,f=l.authenticated;if(p){u();return}if(!m){u();return}if(m.valid){if(h){u(!1);return}u();return}if(!h&&f){u({name:a.name});return}u()}),await i.fetchLegalConsent(),e.router.push({path:e.router.currentRoute.value.path}).then(()=>{})}},mi=so.defineStore("legalStore",()=>{const t=o.ref(null),e=o.ref(void 0);async function n(){const a=await It.axiosInstance.get(`${It.axiosInstance.defaults.baseURL}/${e.value}/agreement/`);t.value=a.data}async function r(){const a=await It.axiosInstance.patch(`${It.axiosInstance.defaults.baseURL}/${e.value}/agreement/`);t.value=a.data}return{legalEndpoint:e,legalConsent:t,fetchLegalConsent:n,acceptLegalConsent:r}}),Fn={h1:"text-3xl font-bold text-gray-900 dark:text-gray-100 mb-6 mt-8 first:mt-0",h2:"text-2xl font-semibold text-gray-800 dark:text-gray-100 mb-4 mt-6",h3:"text-xl font-semibold text-gray-800 dark:text-gray-100 mb-3 mt-5",h4:"text-lg font-medium text-gray-700 dark:text-gray-200 mb-2 mt-4",h5:"text-base font-medium text-gray-700 dark:text-gray-200 mb-2 mt-3",h6:"text-sm font-medium text-gray-600 dark:text-gray-300 mb-2 mt-3",p:"text-gray-700 dark:text-gray-300 leading-relaxed mb-4",ul:"list-disc list-inside mb-4 text-gray-700 dark:text-gray-300",ol:"list-decimal list-inside mb-4 text-gray-700 dark:text-gray-300",li:"mb-2",blockquote:"border-l-4 border-gray-300 dark:border-gray-600 pl-4 italic text-gray-600 dark:text-gray-300 mb-4",code:"bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-gray-100 px-1 py-0.5 rounded text-sm font-mono",pre:"bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-gray-100 p-4 rounded-lg overflow-x-auto mb-4",a:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 underline",strong:"font-semibold",em:"italic"};function mm(t){Object.keys(Fn).forEach(e=>{t.querySelectorAll(e).forEach(r=>{r.className=Fn[e]})})}const hm={install(t,e){e?.pinia&&t.use(e.pinia)}};exports.ControlBarComponent=po;exports.DashboardComponent=Wi;exports.DashboardGroupComponent=qi;exports.DashboardPanelComponent=Sa;exports.PlotlyComponent=Co;exports.PrimeVue=Oi;exports._sfc_main=Fi;exports._sfc_main$1=fo;exports._sfc_main$2=Gi;exports._sfc_main$3=ql;exports._sfc_main$4=Jl;exports._sfc_main$5=Yl;exports._sfc_main$6=rs;exports._sfc_main$7=as;exports._sfc_main$8=cm;exports.applyMarkdownClasses=mm;exports.defaultLegalConsentRoute=fi;exports.defaultPrivacyNoticeRoute=pi;exports.defaultTermsOfUseRoute=ci;exports.legalConsentPlugin=fm;exports.lib=hm;exports.markdownElementsToTailwindClasses=Fn;exports.script=Ct;exports.script$1=ue;exports.script$2=Be;exports.script$3=vt;exports.script$4=wt;exports.script$5=Ee;exports.script$6=Eo;exports.useDarkModeStore=pm;exports.useLegalStore=mi;
@@ -813,7 +813,7 @@ $e.set(
813
813
  );
814
814
  $e.set(
815
815
  "Calendar",
816
- Ae(() => import("./index-DKHhlA6W.js"))
816
+ Ae(() => import("./index-BVwluHCk.js"))
817
817
  );
818
818
  $e.set(
819
819
  "Checkbox",
@@ -821,7 +821,7 @@ $e.set(
821
821
  );
822
822
  $e.set(
823
823
  "Textarea",
824
- Ae(() => import("./index-Z_ITvhTj.js"))
824
+ Ae(() => import("./index-jIUtvXF6.js"))
825
825
  );
826
826
  $e.set(
827
827
  "Chip",
@@ -833,7 +833,7 @@ $e.set(
833
833
  );
834
834
  $e.set(
835
835
  "Rating",
836
- Ae(() => import("./index-Dx9O6tmw.js"))
836
+ Ae(() => import("./index--nRVi6aV.js"))
837
837
  );
838
838
  $e.set(
839
839
  "Badge",
@@ -20731,17 +20731,17 @@ const Pb = /* @__PURE__ */ Ie({
20731
20731
  }), tb = {
20732
20732
  path: "/terms-of-use",
20733
20733
  name: "terms-of-use",
20734
- component: () => import("./LegalDocument-D6q5xxka.js"),
20734
+ component: () => import("./LegalDocument-BHtPY9AH.js"),
20735
20735
  props: { documentEndpoint: "terms-of-use" }
20736
20736
  }, nb = {
20737
20737
  path: "/privacy-notice",
20738
20738
  name: "privacy-notice",
20739
- component: () => import("./LegalDocument-D6q5xxka.js"),
20739
+ component: () => import("./LegalDocument-BHtPY9AH.js"),
20740
20740
  props: { documentEndpoint: "privacy-notice" }
20741
20741
  }, rb = {
20742
20742
  path: "/legal-consent",
20743
20743
  name: "legal-consent",
20744
- component: () => import("./LegalConsent-CJmBf_dh.js")
20744
+ component: () => import("./LegalConsent-pUADprVB.js")
20745
20745
  }, Ob = {
20746
20746
  /**
20747
20747
  * Installs the legal consent plugin
package/dist/lib.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./lib-CNCjqOo9.cjs");require("vue");const o=require("./index-TM4WIzFN.cjs");exports.ApiMutationButton=e._sfc_main$4;exports.ApiQueryButton=e._sfc_main$5;exports.AutoroutedBreadcrumb=e._sfc_main;exports.ConfiguredControlBarComponent=e._sfc_main$2;exports.ControlBarComponent=e.ControlBarComponent;exports.ControlBarItemComponent=e._sfc_main$1;exports.DashboardComponent=e.DashboardComponent;exports.DashboardGroupComponent=e.DashboardGroupComponent;exports.DashboardPanelComponent=e.DashboardPanelComponent;exports.FormComponent=e._sfc_main$3;exports.NotFound=e._sfc_main$6;exports.PlotlyComponent=e.PlotlyComponent;exports.PlotlyFromTableComponent=e._sfc_main$7;exports.PrimeVueLibConfig=e.PrimeVue;exports.TableComponent=e._sfc_main$8;exports.applyMarkdownClasses=e.applyMarkdownClasses;exports.default=e.lib;exports.defaultLegalConsentRoute=e.defaultLegalConsentRoute;exports.defaultPrivacyNoticeRoute=e.defaultPrivacyNoticeRoute;exports.defaultTermsOfUseRoute=e.defaultTermsOfUseRoute;exports.legalConsentPlugin=e.legalConsentPlugin;exports.markdownElementsToTailwindClasses=e.markdownElementsToTailwindClasses;exports.useDarkModeStore=e.useDarkModeStore;exports.useLegalStore=e.useLegalStore;exports.createLibI18n=o.createLibI18n;exports.loadTranslations=o.loadTranslations;exports.registerTranslations=o.registerTranslations;exports.useI18nLib=o.useI18nLib;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./lib-BEVtXpEW.cjs");require("vue");const o=require("./index-TM4WIzFN.cjs");exports.ApiMutationButton=e._sfc_main$4;exports.ApiQueryButton=e._sfc_main$5;exports.AutoroutedBreadcrumb=e._sfc_main;exports.ConfiguredControlBarComponent=e._sfc_main$2;exports.ControlBarComponent=e.ControlBarComponent;exports.ControlBarItemComponent=e._sfc_main$1;exports.DashboardComponent=e.DashboardComponent;exports.DashboardGroupComponent=e.DashboardGroupComponent;exports.DashboardPanelComponent=e.DashboardPanelComponent;exports.FormComponent=e._sfc_main$3;exports.NotFound=e._sfc_main$6;exports.PlotlyComponent=e.PlotlyComponent;exports.PlotlyFromTableComponent=e._sfc_main$7;exports.PrimeVueLibConfig=e.PrimeVue;exports.TableComponent=e._sfc_main$8;exports.applyMarkdownClasses=e.applyMarkdownClasses;exports.default=e.lib;exports.defaultLegalConsentRoute=e.defaultLegalConsentRoute;exports.defaultPrivacyNoticeRoute=e.defaultPrivacyNoticeRoute;exports.defaultTermsOfUseRoute=e.defaultTermsOfUseRoute;exports.legalConsentPlugin=e.legalConsentPlugin;exports.markdownElementsToTailwindClasses=e.markdownElementsToTailwindClasses;exports.useDarkModeStore=e.useDarkModeStore;exports.useLegalStore=e.useLegalStore;exports.createLibI18n=o.createLibI18n;exports.loadTranslations=o.loadTranslations;exports.registerTranslations=o.registerTranslations;exports.useI18nLib=o.useI18nLib;
package/dist/lib.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as s, o as n, _ as t, i as r, C as l, h as u, D as m, j as C, k as i, m as p, p as d, q as b, r as f, P as g, t as P, a as T, l as y, y as B, x as c, z as D, w as L, A as h, v as k, u as w } from "./lib-a417Oeyw.js";
1
+ import { n as s, o as n, _ as t, i as r, C as l, h as u, D as m, j as C, k as i, m as p, p as d, q as b, r as f, P as g, t as P, a as T, l as y, y as B, x as c, z as D, w as L, A as h, v as k, u as w } from "./lib-CA1k4S8X.js";
2
2
  import "vue";
3
3
  import { j as x, l as F, r as I, c as M } from "./index-CowW14sC.js";
4
4
  export {
package/dist/network.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./axios-BompFBxL.cjs"),i=require("./apiClient-D5dnUKXi.cjs");function s(e){e.setConfig({axios:a.axiosInstance})}function o(e,n,r){return i.useQuery({queryKey:[e.name,n],queryFn:async()=>{if(!n.value)return;const t=await e(n.value);if(t&&t.isAxiosError)throw t;return t.data},enabled:()=>!!n.value,...r})}function c(e,n){return i.useMutation({mutationFn:async u=>{const t=await e(u);if(t&&t.isAxiosError)throw t;return t.data},...n})}const l={query:o,mutation:c,setupOpenApiClient:s};exports.axiosInstance=a.axiosInstance;exports.apiClient=i.apiClient;exports.typedApiClient=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./axios-BompFBxL.cjs"),i=require("./apiClient-B6fJs4NI.cjs");function s(e){e.setConfig({axios:a.axiosInstance})}function o(e,n,r){return i.useQuery({queryKey:[e.name,n],queryFn:async()=>{if(!n.value)return;const t=await e(n.value);if(t&&t.isAxiosError)throw t;return t.data},enabled:()=>!!n.value,...r})}function c(e,n){return i.useMutation({mutationFn:async u=>{const t=await e(u);if(t&&t.isAxiosError)throw t;return t.data},...n})}const l={query:o,mutation:c,setupOpenApiClient:s};exports.axiosInstance=a.axiosInstance;exports.apiClient=i.apiClient;exports.typedApiClient=l;
package/dist/network.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a } from "./axios-C7yNV7KF.js";
2
- import { u as i, a as o } from "./apiClient-BVTjfFf0.js";
3
- import { b as d } from "./apiClient-BVTjfFf0.js";
2
+ import { u as i, a as o } from "./apiClient-BAzNCKuU.js";
3
+ import { b as d } from "./apiClient-BAzNCKuU.js";
4
4
  function s(r) {
5
5
  r.setConfig({
6
6
  axios: a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nside/wefa",
3
- "version": "0.1.0-rc3",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "main": "./dist/lib.umd.cjs",
6
6
  "module": "./dist/lib.js",
@@ -69,35 +69,35 @@
69
69
  "@primevue/forms": "^4.4.1",
70
70
  "@tailwindcss/vite": "^4.1.14",
71
71
  "@tailwindcss/cli": "^4.1.14",
72
- "@tanstack/vue-query": "^5.85.9",
72
+ "@tanstack/vue-query": "^5.90.5",
73
73
  "@vee-validate/zod": "^4.15.1",
74
74
  "axios": "^1.11.0",
75
75
  "markdown-it": "^14.1.0",
76
76
  "marked": "^16.3.0",
77
77
  "pinia": "^3.0.3",
78
- "plotly.js-dist-min": "^3.1.1",
78
+ "plotly.js-dist-min": "^3.1.2",
79
79
  "primeicons": "^7.0.0",
80
80
  "primevue": "^4.4.1",
81
81
  "tailwindcss-primeui": "^0.6.1",
82
82
  "vue": "^3.5.22",
83
83
  "vue-i18n": "^11.1.11",
84
- "vue-router": "^4.6.0"
84
+ "vue-router": "^4.6.3"
85
85
  },
86
86
  "devDependencies": {
87
87
  "@chromatic-com/storybook": "^4.1.1",
88
88
  "@cspell/eslint-plugin": "^9.2.1",
89
89
  "@hey-api/openapi-ts": "^0.85.0",
90
- "@playwright/test": "^1.56.0",
91
- "@storybook/addon-a11y": "^9.1.10",
92
- "@storybook/addon-docs": "^9.1.10",
93
- "@storybook/addon-onboarding": "^9.1.10",
94
- "@storybook/addon-themes": "^9.1.10",
95
- "@storybook/addon-vitest": "^9.1.10",
96
- "@storybook/vue3-vite": "^9.1.10",
90
+ "@playwright/test": "^1.56.1",
91
+ "@storybook/addon-a11y": "^9.1.12",
92
+ "@storybook/addon-docs": "^9.1.12",
93
+ "@storybook/addon-onboarding": "^9.1.12",
94
+ "@storybook/addon-themes": "^9.1.12",
95
+ "@storybook/addon-vitest": "^9.1.12",
96
+ "@storybook/vue3-vite": "^9.1.12",
97
97
  "@tsconfig/node22": "^22.0.2",
98
98
  "@types/eslint-plugin-security": "^3.0.0",
99
99
  "@types/jsdom": "^27.0.0",
100
- "@types/node": "^24.7.2",
100
+ "@types/node": "^24.8.1",
101
101
  "@types/plotly.js-dist-min": "^2.3.4",
102
102
  "@vitejs/plugin-vue": "^6.0.1",
103
103
  "@vitest/browser": "3.2.4",
@@ -110,13 +110,13 @@
110
110
  "autoprefixer": "^10.4.21",
111
111
  "axios-mock-adapter": "^2.1.0",
112
112
  "eslint": "^9.37.0",
113
- "eslint-plugin-jsdoc": "^61.1.3",
114
- "to-valid-identifier": "^0.1.1",
113
+ "eslint-plugin-jsdoc": "^61.1.4",
114
+ "to-valid-identifier": "^1.0.0",
115
115
  "eslint-plugin-playwright": "^2.2.2",
116
116
  "eslint-plugin-security": "^3.0.1",
117
117
  "eslint-plugin-sonarjs": "^3.0.5",
118
- "eslint-plugin-storybook": "^9.1.10",
119
- "eslint-plugin-vue": "~10.5.0",
118
+ "eslint-plugin-storybook": "^9.1.12",
119
+ "eslint-plugin-vue": "~10.5.1",
120
120
  "jiti": "^2.6.1",
121
121
  "jsdom": "^27.0.0",
122
122
  "npm-run-all2": "^8.0.4",
@@ -1 +0,0 @@
1
- "use strict";const u=require("vue"),Y=require("./axios-BompFBxL.cjs");var Q=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},et={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},st=class{#e=et;#t=!1;setTimeoutProvider(t){process.env.NODE_ENV!=="production"&&this.#t&&t!==this.#e&&console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:this.#e,provider:t}),this.#e=t,process.env.NODE_ENV!=="production"&&(this.#t=!1)}setTimeout(t,e){return process.env.NODE_ENV!=="production"&&(this.#t=!0),this.#e.setTimeout(t,e)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,e){return process.env.NODE_ENV!=="production"&&(this.#t=!0),this.#e.setInterval(t,e)}clearInterval(t){this.#e.clearInterval(t)}},T=new st;function it(t){setTimeout(t,0)}var F=typeof window>"u"||"Deno"in globalThis;function nt(){}function q(t){return typeof t=="number"&&t>=0&&t!==1/0}function rt(t,e){return Math.max(t+(e||0)-Date.now(),0)}function E(t,e){return typeof t=="function"?t(e):t}function y(t,e){return typeof t=="function"?t(e):t}function K(t){return JSON.stringify(t,(e,s)=>U(s)?Object.keys(s).sort().reduce((n,i)=>(n[i]=s[i],n),{}):s)}var ot=Object.prototype.hasOwnProperty;function P(t,e){if(t===e)return t;const s=z(t)&&z(e);if(!s&&!(U(t)&&U(e)))return e;const i=(s?t:Object.keys(t)).length,r=s?e:Object.keys(e),c=r.length,o=s?new Array(c):{};let f=0;for(let p=0;p<c;p++){const a=s?p:r[p],d=t[a],h=e[a];if(d===h){o[a]=d,(s?p<i:ot.call(t,a))&&f++;continue}if(d===null||h===null||typeof d!="object"||typeof h!="object"){o[a]=h;continue}const l=P(d,h);o[a]=l,l===d&&f++}return i===c&&f===i?t:o}function M(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function z(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function U(t){if(!$(t))return!1;const e=t.constructor;if(e===void 0)return!0;const s=e.prototype;return!(!$(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function $(t){return Object.prototype.toString.call(t)==="[object Object]"}function B(t,e,s){if(typeof s.structuralSharing=="function")return s.structuralSharing(t,e);if(s.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return P(t,e)}catch(n){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${s.queryHash}]: ${n}`),n}return P(t,e)}return e}function D(t,e){return typeof t=="function"?t(...e):!!t}var at=class extends Q{#e;#t;#s;constructor(){super(),this.#s=t=>{if(!F&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#t||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#s=t,this.#t?.(),this.#t=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},ut=new at;function W(){let t,e;const s=new Promise((i,r)=>{t=i,e=r});s.status="pending",s.catch(()=>{});function n(i){Object.assign(s,i),delete s.resolve,delete s.reject}return s.resolve=i=>{n({status:"fulfilled",value:i}),t(i)},s.reject=i=>{n({status:"rejected",reason:i}),e(i)},s}var ct=it;function ht(){let t=[],e=0,s=o=>{o()},n=o=>{o()},i=ct;const r=o=>{e?t.push(o):i(()=>{s(o)})},c=()=>{const o=t;t=[],o.length&&i(()=>{n(()=>{o.forEach(f=>{s(f)})})})};return{batch:o=>{let f;e++;try{f=o()}finally{e--,e||c()}return f},batchCalls:o=>(...f)=>{r(()=>{o(...f)})},schedule:r,setNotifyFunction:o=>{s=o},setBatchNotifyFunction:o=>{n=o},setScheduler:o=>{i=o}}}var Z=ht(),lt=class extends Q{#e=!0;#t;#s;constructor(){super(),this.#s=t=>{if(!F&&window.addEventListener){const e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#t||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#s=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#e}},ft=new lt;function dt(t){return(t??"online")==="online"?ft.isOnline():!0}function pt(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dt(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}var bt=class extends Q{constructor(t,e){super(),this.options=e,this.#e=t,this.#a=null,this.#o=W(),this.bindMethods(),this.setOptions(e)}#e;#t=void 0;#s=void 0;#i=void 0;#n;#r;#o;#a;#b;#f;#d;#c;#h;#u;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),H(this.#t,this.options)?this.#l():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return x(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return x(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#O(),this.#w(),this.#t.removeObserver(this)}setOptions(t){const e=this.options,s=this.#t;if(this.options=this.#e.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof y(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#R(),this.#t.setOptions(this.options),e._defaulted&&!M(this.options,e)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const n=this.hasListeners();n&&J(this.#t,s,this.options,e)&&this.#l(),this.updateResult(),n&&(this.#t!==s||y(this.options.enabled,this.#t)!==y(e.enabled,this.#t)||E(this.options.staleTime,this.#t)!==E(e.staleTime,this.#t))&&this.#v();const i=this.#y();n&&(this.#t!==s||y(this.options.enabled,this.#t)!==y(e.enabled,this.#t)||i!==this.#u)&&this.#m(i)}getOptimisticResult(t){const e=this.#e.getQueryCache().build(this.#e,t),s=this.createResult(e,t);return yt(this,s)&&(this.#i=s,this.#r=this.options,this.#n=this.#t.state),s}getCurrentResult(){return this.#i}trackResult(t,e){return new Proxy(t,{get:(s,n)=>(this.trackProp(n),e?.(n),n==="promise"&&!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(s,n))})}trackProp(t){this.#p.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#e.defaultQueryOptions(t),s=this.#e.getQueryCache().build(this.#e,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#l({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#l(t){this.#R();let e=this.#t.fetch(this.options,t);return t?.throwOnError||(e=e.catch(nt)),e}#v(){this.#O();const t=E(this.options.staleTime,this.#t);if(F||this.#i.isStale||!q(t))return;const s=rt(this.#i.dataUpdatedAt,t)+1;this.#c=T.setTimeout(()=>{this.#i.isStale||this.updateResult()},s)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#m(t){this.#w(),this.#u=t,!(F||y(this.options.enabled,this.#t)===!1||!q(this.#u)||this.#u===0)&&(this.#h=T.setInterval(()=>{(this.options.refetchIntervalInBackground||ut.isFocused())&&this.#l()},this.#u))}#g(){this.#v(),this.#m(this.#y())}#O(){this.#c&&(T.clearTimeout(this.#c),this.#c=void 0)}#w(){this.#h&&(T.clearInterval(this.#h),this.#h=void 0)}createResult(t,e){const s=this.#t,n=this.options,i=this.#i,r=this.#n,c=this.#r,f=t!==s?t.state:this.#s,{state:p}=t;let a={...p},d=!1,h;if(e._optimisticResults){const b=this.hasListeners(),I=!b&&H(t,e),R=b&&J(t,s,e,n);(I||R)&&(a={...a,...pt(p.data,t.options)}),e._optimisticResults==="isRestoring"&&(a.fetchStatus="idle")}let{error:l,errorUpdatedAt:g,status:v}=a;h=a.data;let S=!1;if(e.placeholderData!==void 0&&h===void 0&&v==="pending"){let b;i?.isPlaceholderData&&e.placeholderData===c?.placeholderData?(b=i.data,S=!0):b=typeof e.placeholderData=="function"?e.placeholderData(this.#d?.state.data,this.#d):e.placeholderData,b!==void 0&&(v="success",h=B(i?.data,b,e),d=!0)}if(e.select&&h!==void 0&&!S)if(i&&h===r?.data&&e.select===this.#b)h=this.#f;else try{this.#b=e.select,h=e.select(h),h=B(i?.data,h,e),this.#f=h,this.#a=null}catch(b){this.#a=b}this.#a&&(l=this.#a,h=this.#f,g=Date.now(),v="error");const O=a.fetchStatus==="fetching",w=v==="pending",L=v==="error",A=w&&O,V=h!==void 0,m={status:v,fetchStatus:a.fetchStatus,isPending:w,isSuccess:v==="success",isError:L,isInitialLoading:A,isLoading:A,data:h,dataUpdatedAt:a.dataUpdatedAt,error:l,errorUpdatedAt:g,failureCount:a.fetchFailureCount,failureReason:a.fetchFailureReason,errorUpdateCount:a.errorUpdateCount,isFetched:a.dataUpdateCount>0||a.errorUpdateCount>0,isFetchedAfterMount:a.dataUpdateCount>f.dataUpdateCount||a.errorUpdateCount>f.errorUpdateCount,isFetching:O,isRefetching:O&&!w,isLoadingError:L&&!V,isPaused:a.fetchStatus==="paused",isPlaceholderData:d,isRefetchError:L&&V,isStale:_(t,e),refetch:this.refetch,promise:this.#o,isEnabled:y(e.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const b=j=>{m.status==="error"?j.reject(m.error):m.data!==void 0&&j.resolve(m.data)},I=()=>{const j=this.#o=m.promise=W();b(j)},R=this.#o;switch(R.status){case"pending":t.queryHash===s.queryHash&&b(R);break;case"fulfilled":(m.status==="error"||m.data!==R.value)&&I();break;case"rejected":(m.status!=="error"||m.error!==R.reason)&&I();break}}return m}updateResult(){const t=this.#i,e=this.createResult(this.#t,this.options);if(this.#n=this.#t.state,this.#r=this.options,this.#n.data!==void 0&&(this.#d=this.#t),M(e,t))return;this.#i=e;const s=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,i=typeof n=="function"?n():n;if(i==="all"||!i&&!this.#p.size)return!0;const r=new Set(i??this.#p);return this.options.throwOnError&&r.add("error"),Object.keys(this.#i).some(c=>{const o=c;return this.#i[o]!==t[o]&&r.has(o)})};this.#S({listeners:s()})}#R(){const t=this.#e.getQueryCache().build(this.#e,this.options);if(t===this.#t)return;const e=this.#t;this.#t=t,this.#s=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#S(t){Z.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(this.#i)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function vt(t,e){return y(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function H(t,e){return vt(t,e)||t.state.data!==void 0&&x(t,e,e.refetchOnMount)}function x(t,e,s){if(y(e.enabled,t)!==!1&&E(e.staleTime,t)!=="static"){const n=typeof s=="function"?s(t):s;return n==="always"||n!==!1&&_(t,e)}return!1}function J(t,e,s,n){return(t!==e||y(n.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&_(t,s)}function _(t,e){return y(e.enabled,t)!==!1&&t.isStaleByTime(E(e.staleTime,t))}function yt(t,e){return!M(t.getCurrentResult(),e)}function mt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var gt=class extends Q{#e;#t=void 0;#s;#i;constructor(t,e){super(),this.#e=t,this.setOptions(e),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const e=this.options;this.options=this.#e.defaultMutationOptions(t),M(this.options,e)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&K(e.mutationKey)!==K(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#n(),this.#r(t)}getCurrentResult(){return this.#t}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#n(),this.#r()}mutate(t,e){return this.#i=e,this.#s?.removeObserver(this),this.#s=this.#e.getMutationCache().build(this.#e,this.options),this.#s.addObserver(this),this.#s.execute(t)}#n(){const t=this.#s?.state??mt();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#r(t){Z.batch(()=>{if(this.#i&&this.hasListeners()){const e=this.#t.variables,s=this.#t.context,n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#i.onSuccess?.(t.data,e,s,n),this.#i.onSettled?.(t.data,null,e,s,n)):t?.type==="error"&&(this.#i.onError?.(t.error,e,s,n),this.#i.onSettled?.(void 0,t.error,e,s,n))}this.listeners.forEach(e=>{e(this.#t)})})}},Ot="VUE_QUERY_CLIENT";function wt(t){const e=t?`:${t}`:"";return`${Ot}${e}`}function N(t,e){Object.keys(t).forEach(s=>{t[s]=e[s]})}function k(t,e,s="",n=0){if(e){const i=e(t,s,n);if(i===void 0&&u.isRef(t)||i!==void 0)return i}if(Array.isArray(t))return t.map((i,r)=>k(i,e,String(r),n+1));if(typeof t=="object"&&St(t)){const i=Object.entries(t).map(([r,c])=>[r,k(c,e,r,n+1)]);return Object.fromEntries(i)}return t}function Rt(t,e){return k(t,e)}function C(t,e=!1){return Rt(t,(s,n,i)=>{if(i===1&&n==="queryKey")return C(s,!0);if(e&&Et(s))return C(s(),e);if(u.isRef(s))return C(u.unref(s),e)})}function St(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function Et(t){return typeof t=="function"}function X(t=""){if(!u.hasInjectionContext())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const e=wt(t),s=u.inject(e);if(!s)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return s}function Ct(t,e,s){process.env.NODE_ENV==="development"&&(u.getCurrentScope()||console.warn('vue-query composable like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.'));const n=X(),i=u.computed(()=>{const l=C(e);typeof l.enabled=="function"&&(l.enabled=l.enabled());const g=n.defaultQueryOptions(l);return g._optimisticResults=n.isRestoring?.value?"isRestoring":"optimistic",g}),r=new t(n,i.value),c=i.value.shallow?u.shallowReactive(r.getCurrentResult()):u.reactive(r.getCurrentResult());let o=()=>{};n.isRestoring&&u.watch(n.isRestoring,l=>{l||(o(),o=r.subscribe(g=>{N(c,g)}))},{immediate:!0});const f=()=>{r.setOptions(i.value),N(c,r.getCurrentResult())};u.watch(i,f),u.onScopeDispose(()=>{o()});const p=(...l)=>(f(),c.refetch(...l)),a=()=>new Promise((l,g)=>{let v=()=>{};const S=()=>{if(i.value.enabled!==!1){r.setOptions(i.value);const O=r.getOptimisticResult(i.value);O.isStale?(v(),r.fetchOptimistic(i.value).then(l,w=>{D(i.value.throwOnError,[w,r.getCurrentQuery()])?g(w):l(r.getCurrentResult())})):(v(),l(O))}};S(),v=u.watch(i,S)});u.watch(()=>c.error,l=>{if(c.isError&&!c.isFetching&&D(i.value.throwOnError,[l,r.getCurrentQuery()]))throw l});const d=i.value.shallow?u.shallowReadonly(c):u.readonly(c),h=u.toRefs(d);for(const l in c)typeof c[l]=="function"&&(h[l]=c[l]);return h.suspense=a,h.refetch=p,h}function G(t,e){return Ct(bt,t)}function tt(t,e){process.env.NODE_ENV==="development"&&(u.getCurrentScope()||console.warn('vue-query composable like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.'));const s=X(),n=u.computed(()=>s.defaultMutationOptions(C(t))),i=new gt(s,n.value),r=n.value.shallow?u.shallowReactive(i.getCurrentResult()):u.reactive(i.getCurrentResult()),c=i.subscribe(a=>{N(r,a)}),o=(a,d)=>{i.mutate(a,d).catch(()=>{})};u.watch(n,()=>{i.setOptions(n.value)}),u.onScopeDispose(()=>{c()});const f=n.value.shallow?u.shallowReadonly(r):u.readonly(r),p=u.toRefs(f);return u.watch(()=>r.error,a=>{if(a&&D(n.value.throwOnError,[a]))throw a}),{...p,mutate:o,mutateAsync:r.mutate,reset:r.reset}}function It(t,e){return G({queryKey:[t],queryFn:async()=>t.value?(await Y.axiosInstance.get(t.value)).data:void 0,enabled:()=>!!t.value,...e})}function jt(t,e){return tt({mutationFn:async s=>t.value?(await Y.axiosInstance.post(t.value,s)).data:void 0,...e})}const Tt={query:It,mutation:jt};exports.apiClient=Tt;exports.useMutation=tt;exports.useQuery=G;