@weni/unnnic-system 3.7.1-alpha.0 → 3.7.1-alpha.1

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.
package/dist/unnnic.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { bq as c, bm as s, bR as e, a_ as o, bx as r, bA as t, aS as u, aT as U, bn as l, bo as b, b3 as d, b5 as C, b6 as g, b7 as p, b9 as m, bL as D, b8 as T, bt as h, bN as I, c1 as S, bO as P, b$ as M, bM as v, bJ as A, bU as x, bV as w, bW as B, bX as R, bZ as k, b_ as L, ba as N, bb as F, cb as f, bS as j, bc as E, by as y, bD as H, ca as z, bI as G, bz as q, ch as J, cn as K, ci as O, cj as Q, ck as V, cl as W, cm as X, c2 as Y, c3 as Z, bF as _, aY as $, aZ as nn, c0 as an, aO as cn, a$ as sn, b1 as en, b0 as on, bH as rn, br as tn, aP as un, aR as Un, aQ as ln, bu as bn, bf as dn, bg as Cn, bh as gn, bi as pn, bP as mn, bl as Dn, c6 as Tn, bE as hn, ce as In, cf as Sn, cg as Pn, bT as Mn, bd as vn, bY as An, bk as xn, bj as wn, c7 as Bn, aU as Rn, aV as kn, b4 as Ln, bs as Nn, bC as Fn, bQ as fn, bB as jn, bv as En, aW as yn, c4 as Hn, aX as zn, bw as Gn, bp as qn, c8 as Jn, c9 as Kn, bK as On, cc as Qn, cd as Vn, b2 as Wn, c5 as Xn, bG as Yn, be as Zn, c as _n, U as $n, R as na, N as aa, ah as ia, o as ca, Z as sa, a0 as ea, f as oa, g as ra, O as ta, P as ua, t as Ua, w as la, x as ba, y as da, A as Ca, ab as ga, z as pa, V as ma, ad as Da, at as Ta, ae as ha, ar as Ia, ac as Sa, a9 as Pa, ak as Ma, al as va, am as Aa, an as xa, ap as wa, aq as Ba, B as Ra, C as ka, aD as La, ai as Na, D as Fa, _ as fa, a3 as ja, aC as Ea, a8 as ya, $ as Ha, aH as za, aN as Ga, aI as qa, aJ as Ja, aK as Ka, aL as Oa, aM as Qa, au as Va, av as Wa, a5 as Xa, m as Ya, n as Za, as as _a, u as $a, a as ni, p as ai, r as ii, q as ci, a7 as si, S as ei, b as oi, e as ri, d as ti, W as ui, G as Ui, H as li, I as bi, J as di, af as Ci, M as gi, ay as pi, a4 as mi, aE as Di, aF as Ti, aG as hi, aj as Ii, E as Si, ao as Pi, L as Mi, K as vi, az as Ai, i as xi, j as wi, v as Bi, T as Ri, a2 as ki, ag as Li, a1 as Ni, X as Fi, k as fi, aw as ji, l as Ei, Y as yi, Q as Hi, aA as zi, aB as Gi, aa as qi, s as Ji, ax as Ki, a6 as Oi, F as Qi } from "./index-8cf13f7a.mjs";
1
+ import { bq as c, bm as s, bR as e, a_ as o, bx as r, bA as t, aS as u, aT as U, bn as l, bo as b, b3 as d, b5 as C, b6 as g, b7 as p, b9 as m, bL as D, b8 as T, bt as h, bN as I, c1 as S, bO as P, b$ as M, bM as v, bJ as A, bU as x, bV as w, bW as B, bX as R, bZ as k, b_ as L, ba as N, bb as F, cb as f, bS as j, bc as E, by as y, bD as H, ca as z, bI as G, bz as q, ch as J, cn as K, ci as O, cj as Q, ck as V, cl as W, cm as X, c2 as Y, c3 as Z, bF as _, aY as $, aZ as nn, c0 as an, aO as cn, a$ as sn, b1 as en, b0 as on, bH as rn, br as tn, aP as un, aR as Un, aQ as ln, bu as bn, bf as dn, bg as Cn, bh as gn, bi as pn, bP as mn, bl as Dn, c6 as Tn, bE as hn, ce as In, cf as Sn, cg as Pn, bT as Mn, bd as vn, bY as An, bk as xn, bj as wn, c7 as Bn, aU as Rn, aV as kn, b4 as Ln, bs as Nn, bC as Fn, bQ as fn, bB as jn, bv as En, aW as yn, c4 as Hn, aX as zn, bw as Gn, bp as qn, c8 as Jn, c9 as Kn, bK as On, cc as Qn, cd as Vn, b2 as Wn, c5 as Xn, bG as Yn, be as Zn, c as _n, U as $n, R as na, N as aa, ah as ia, o as ca, Z as sa, a0 as ea, f as oa, g as ra, O as ta, P as ua, t as Ua, w as la, x as ba, y as da, A as Ca, ab as ga, z as pa, V as ma, ad as Da, at as Ta, ae as ha, ar as Ia, ac as Sa, a9 as Pa, ak as Ma, al as va, am as Aa, an as xa, ap as wa, aq as Ba, B as Ra, C as ka, aD as La, ai as Na, D as Fa, _ as fa, a3 as ja, aC as Ea, a8 as ya, $ as Ha, aH as za, aN as Ga, aI as qa, aJ as Ja, aK as Ka, aL as Oa, aM as Qa, au as Va, av as Wa, a5 as Xa, m as Ya, n as Za, as as _a, u as $a, a as ni, p as ai, r as ii, q as ci, a7 as si, S as ei, b as oi, e as ri, d as ti, W as ui, G as Ui, H as li, I as bi, J as di, af as Ci, M as gi, ay as pi, a4 as mi, aE as Di, aF as Ti, aG as hi, aj as Ii, E as Si, ao as Pi, L as Mi, K as vi, az as Ai, i as xi, j as wi, v as Bi, T as Ri, a2 as ki, ag as Li, a1 as Ni, X as Fi, k as fi, aw as ji, l as Ei, Y as yi, Q as Hi, aA as zi, aB as Gi, aa as qi, s as Ji, ax as Ki, a6 as Oi, F as Qi } from "./index-5e29f949.mjs";
2
2
  import "vue";
3
3
  export {
4
4
  c as UnnnicAccordion,
@@ -56,7 +56,7 @@ ${_}`:f)}else throw u},onCacheKey:u=>xk(n,a,u)}}function l9(e){if($(e))return e;
56
56
  * vue-i18n v9.14.5
57
57
  * (c) 2025 kazuya kawaguchi
58
58
  * Released under the MIT License.
59
- */const p9="9.14.5";function b9(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(mn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(mn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(mn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(mn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(mn().__INTLIFY_PROD_DEVTOOLS__=!1)}const ng=Pt.__EXTEND_POINT__,pn=is(ng),ot={FALLBACK_TO_ROOT:ng,NOT_SUPPORTED_PRESERVE:pn(),NOT_SUPPORTED_FORMATTER:pn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:pn(),NOT_SUPPORTED_GET_CHOICE_INDEX:pn(),COMPONENT_NAME_LEGACY_COMPATIBLE:pn(),NOT_FOUND_PARENT_SCOPE:pn(),IGNORE_OBJ_FLATTEN:pn(),NOTICE_DROP_ALLOW_COMPOSITION:pn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:pn()},y9={[ot.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ot.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ot.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ot.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ot.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ot.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ot.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ot.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[ot.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Gt(e,...n){return Nu(y9[e],...n)}const ig=Et.__EXTEND_POINT__,Wt=is(ig),Le={UNEXPECTED_RETURN_TYPE:ig,INVALID_ARGUMENT:Wt(),MUST_BE_CALL_SETUP_TOP:Wt(),NOT_INSTALLED:Wt(),NOT_AVAILABLE_IN_LEGACY_MODE:Wt(),REQUIRED_VALUE:Wt(),INVALID_VALUE:Wt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Wt(),NOT_INSTALLED_WITH_PROVIDE:Wt(),UNEXPECTED_ERROR:Wt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Wt(),BRIDGE_SUPPORT_VUE_2_ONLY:Wt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Wt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Wt(),__EXTEND_POINT__:Wt()};function bt(e,...n){return Hi(e,null,process.env.NODE_ENV!=="production"?{messages:w9,args:n}:void 0)}const w9={[Le.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Le.INVALID_ARGUMENT]:"Invalid argument",[Le.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Le.NOT_INSTALLED]:"Need to install with `app.use` function",[Le.UNEXPECTED_ERROR]:"Unexpected error",[Le.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Le.REQUIRED_VALUE]:"Required in value: {0}",[Le.INVALID_VALUE]:"Invalid value",[Le.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Le.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Le.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Le.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Qu=Xa("__translateVNode"),Gu=Xa("__datetimeParts"),Wu=Xa("__numberParts"),gi=Xa("__enableEmitter"),Vr=Xa("__disableEmitter"),rg=Xa("__setPluralRules"),og=Xa("__injectWithOption"),Xu=Xa("__dispose");function Ur(e){if(!Se(e)||Fa(e))return e;for(const n in e)if(Oa(e,n))if(!n.includes("."))Se(e[n])&&Ur(e[n]);else{const a=n.split("."),i=a.length-1;let o=e,s=!1;for(let u=0;u<i;u++){if(a[u]==="__proto__")throw new Error(`unsafe key: ${a[u]}`);if(a[u]in o||(o[a[u]]=We()),!Se(o[a[u]])){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.IGNORE_OBJ_FLATTEN,{key:a[u]})),s=!0;break}o=o[a[u]]}if(s||(Fa(o)?b_.includes(a[i])||delete e[n]:(o[a[i]]=e[n],delete e[n])),!Fa(o)){const u=o[a[i]];Se(u)&&Ur(u)}}return e}function _s(e,n){const{messages:a,__i18n:i,messageResolver:o,flatJson:s}=n,u=Fe(a)?a:Ze(i)?We():{[e]:We()};if(Ze(i)&&i.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:f,resource:_}=c;f?(u[f]=u[f]||We(),os(_,u[f])):os(_,u)}else $(c)&&os(JSON.parse(c),u)}),o==null&&s)for(const c in u)Oa(u,c)&&Ur(u[c]);return u}function sg(e){return e.type}function lg(e,n,a){let i=Se(n.messages)?n.messages:We();"__i18nGlobal"in a&&(i=_s(e.locale.value,{messages:i,__i18n:a.__i18nGlobal}));const o=Object.keys(i);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,i[s])});{if(Se(n.datetimeFormats)){const s=Object.keys(n.datetimeFormats);s.length&&s.forEach(u=>{e.mergeDateTimeFormat(u,n.datetimeFormats[u])})}if(Se(n.numberFormats)){const s=Object.keys(n.numberFormats);s.length&&s.forEach(u=>{e.mergeNumberFormat(u,n.numberFormats[u])})}}}function ug(e){return t.createVNode(t.Text,null,e,0)}const cg="__INTLIFY_META__",dg=()=>[],k9=()=>!1;let fg=0;function _g(e){return(n,a,i,o)=>e(a,i,t.getCurrentInstance()||void 0,o)}const D9=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=sg(e)[cg])?{[cg]:n}:null};function Ku(e={},n){const{__root:a,__injectWithOption:i}=e,o=a===void 0,s=e.flatJson,u=Ia?t.ref:t.shallowRef,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&Z0(Gt(ot.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let f=Ae(e.inheritLocale)?e.inheritLocale:!0;const _=u(a&&f?a.locale.value:$(e.locale)?e.locale:Wi),g=u(a&&f?a.fallbackLocale.value:$(e.fallbackLocale)||Ze(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:_.value),m=u(_s(_.value,e)),F=u(Fe(e.datetimeFormats)?e.datetimeFormats:{[_.value]:{}}),b=u(Fe(e.numberFormats)?e.numberFormats:{[_.value]:{}});let k=a?a.missingWarn:Ae(e.missingWarn)||On(e.missingWarn)?e.missingWarn:!0,x=a?a.fallbackWarn:Ae(e.fallbackWarn)||On(e.fallbackWarn)?e.fallbackWarn:!0,D=a?a.fallbackRoot:Ae(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,L=Xe(e.missing)?e.missing:null,E=Xe(e.missing)?_g(e.missing):null,j=Xe(e.postTranslation)?e.postTranslation:null,q=a?a.warnHtmlMessage:Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const P=a?a.modifiers:Fe(e.modifiers)?e.modifiers:{};let O=e.pluralRules||a&&a.pluralRules,U;U=(()=>{o&&I_(null);const R={version:p9,locale:_.value,fallbackLocale:g.value,messages:m.value,modifiers:P,pluralRules:O,missing:E===null?void 0:E,missingWarn:k,fallbackWarn:x,fallbackFormat:N,unresolving:!0,postTranslation:j===null?void 0:j,warnHtmlMessage:q,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=F.value,R.numberFormats=b.value,R.__datetimeFormatters=Fe(U)?U.__datetimeFormatters:void 0,R.__numberFormatters=Fe(U)?U.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=Fe(U)?U.__v_emitter:void 0);const X=$D(R);return o&&I_(X),X})(),Pr(U,_.value,g.value);function ke(){return[_.value,g.value,m.value,F.value,b.value]}const le=t.computed({get:()=>_.value,set:R=>{_.value=R,U.locale=_.value}}),fe=t.computed({get:()=>g.value,set:R=>{g.value=R,U.fallbackLocale=g.value,Pr(U,_.value,R)}}),ze=t.computed(()=>m.value),He=t.computed(()=>F.value),Ce=t.computed(()=>b.value);function Me(){return Xe(j)?j:null}function te(R){j=R,U.postTranslation=R}function st(){return L}function Vt(R){R!==null&&(E=_g(R)),L=R,U.missing=E}function wt(R,X){return R!=="translate"||!X.resolvedMessage}const Ct=(R,X,Te,nt,wa,Xn)=>{ke();let an;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&S_(D9()),o||(U.fallbackContext=a?JD():void 0),an=R(U)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&S_(null),o||(U.fallbackContext=void 0)}if(Te!=="translate exists"&&gt(an)&&an===cs||Te==="translate exists"&&!an){const[Pa,uo]=X();if(process.env.NODE_ENV!=="production"&&a&&$(Pa)&&wt(Te,uo)&&(D&&(fs(x,Pa)||L_(k,Pa))&&Ft(Gt(ot.FALLBACK_TO_ROOT,{key:Pa,type:Te})),process.env.NODE_ENV!=="production")){const{__v_emitter:lr}=U;lr&&D&&lr.emit("fallback",{type:Te,key:Pa,to:"global",groupId:`${Te}:${Pa}`})}return a&&D?nt(a):wa(Pa)}else{if(Xn(an))return an;throw bt(Le.UNEXPECTED_RETURN_TYPE)}};function lt(...R){return Ct(X=>Reflect.apply(H_,null,[X,...R]),()=>Uu(...R),"translate",X=>Reflect.apply(X.t,X,[...R]),X=>X,X=>$(X))}function dt(...R){const[X,Te,nt]=R;if(nt&&!Se(nt))throw bt(Le.INVALID_ARGUMENT);return lt(X,Te,Mt({resolvedMessage:!0},nt||{}))}function jt(...R){return Ct(X=>Reflect.apply(K_,null,[X,...R]),()=>Ru(...R),"datetime format",X=>Reflect.apply(X.d,X,[...R]),()=>ds,X=>$(X))}function ra(...R){return Ct(X=>Reflect.apply($_,null,[X,...R]),()=>Yu(...R),"number format",X=>Reflect.apply(X.n,X,[...R]),()=>ds,X=>$(X))}function Je(R){return R.map(X=>$(X)||gt(X)||Ae(X)?ug(String(X)):X)}const Ot={normalize:Je,interpolate:R=>R,type:"vnode"};function sa(...R){return Ct(X=>{let Te;const nt=X;try{nt.processor=Ot,Te=Reflect.apply(H_,null,[nt,...R])}finally{nt.processor=null}return Te},()=>Uu(...R),"translate",X=>X[Qu](...R),X=>[ug(X)],X=>Ze(X))}function Kt(...R){return Ct(X=>Reflect.apply($_,null,[X,...R]),()=>Yu(...R),"number format",X=>X[Wu](...R),dg,X=>$(X)||Ze(X))}function Ut(...R){return Ct(X=>Reflect.apply(K_,null,[X,...R]),()=>Ru(...R),"datetime format",X=>X[Gu](...R),dg,X=>$(X)||Ze(X))}function Gn(R){O=R,U.pluralRules=O}function K(R,X){return Ct(()=>{if(!R)return!1;const Te=$(X)?X:_.value,nt=Nt(Te),wa=U.messageResolver(nt,R);return c?wa!=null:Fa(wa)||pa(wa)||$(wa)},()=>[R],"translate exists",Te=>Reflect.apply(Te.te,Te,[R,X]),k9,Te=>Ae(Te))}function Be(R){let X=null;const Te=E_(U,g.value,_.value);for(let nt=0;nt<Te.length;nt++){const wa=m.value[Te[nt]]||{},Xn=U.messageResolver(wa,R);if(Xn!=null){X=Xn;break}}return X}function ki(R){const X=Be(R);return X??(a?a.tm(R)||{}:{})}function Nt(R){return m.value[R]||{}}function Wn(R,X){if(s){const Te={[R]:X};for(const nt in Te)Oa(Te,nt)&&Ur(Te[nt]);X=Te[R]}m.value[R]=X,U.messages=m.value}function lo(R,X){m.value[R]=m.value[R]||{};const Te={[R]:X};if(s)for(const nt in Te)Oa(Te,nt)&&Ur(Te[nt]);X=Te[R],os(X,m.value[R]),U.messages=m.value}function C(R){return F.value[R]||{}}function v(R,X){F.value[R]=X,U.datetimeFormats=F.value,J_(U,R,X)}function G(R,X){F.value[R]=Mt(F.value[R]||{},X),U.datetimeFormats=F.value,J_(U,R,X)}function ue(R){return b.value[R]||{}}function $e(R,X){b.value[R]=X,U.numberFormats=b.value,tg(U,R,X)}function qe(R,X){b.value[R]=Mt(b.value[R]||{},X),U.numberFormats=b.value,tg(U,R,X)}fg++,a&&Ia&&(t.watch(a.locale,R=>{f&&(_.value=R,U.locale=R,Pr(U,_.value,g.value))}),t.watch(a.fallbackLocale,R=>{f&&(g.value=R,U.fallbackLocale=R,Pr(U,_.value,g.value))}));const Ue={id:fg,locale:le,fallbackLocale:fe,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&a&&(_.value=a.locale.value,g.value=a.fallbackLocale.value,Pr(U,_.value,g.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:ze,get modifiers(){return P},get pluralRules(){return O||{}},get isGlobal(){return o},get missingWarn(){return k},set missingWarn(R){k=R,U.missingWarn=k},get fallbackWarn(){return x},set fallbackWarn(R){x=R,U.fallbackWarn=x},get fallbackRoot(){return D},set fallbackRoot(R){D=R},get fallbackFormat(){return N},set fallbackFormat(R){N=R,U.fallbackFormat=N},get warnHtmlMessage(){return q},set warnHtmlMessage(R){q=R,U.warnHtmlMessage=R},get escapeParameter(){return T},set escapeParameter(R){T=R,U.escapeParameter=R},t:lt,getLocaleMessage:Nt,setLocaleMessage:Wn,mergeLocaleMessage:lo,getPostTranslationHandler:Me,setPostTranslationHandler:te,getMissingHandler:st,setMissingHandler:Vt,[rg]:Gn};return Ue.datetimeFormats=He,Ue.numberFormats=Ce,Ue.rt=dt,Ue.te=K,Ue.tm=ki,Ue.d=jt,Ue.n=ra,Ue.getDateTimeFormat=C,Ue.setDateTimeFormat=v,Ue.mergeDateTimeFormat=G,Ue.getNumberFormat=ue,Ue.setNumberFormat=$e,Ue.mergeNumberFormat=qe,Ue[og]=i,Ue[Qu]=sa,Ue[Gu]=Ut,Ue[Wu]=Kt,process.env.NODE_ENV!=="production"&&(Ue[gi]=R=>{U.__v_emitter=R},Ue[Vr]=()=>{U.__v_emitter=void 0}),Ue}function A9(e){const n=$(e.locale)?e.locale:Wi,a=$(e.fallbackLocale)||Ze(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=Xe(e.missing)?e.missing:void 0,o=Ae(e.silentTranslationWarn)||On(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Ae(e.silentFallbackWarn)||On(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=Ae(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,f=Fe(e.modifiers)?e.modifiers:{},_=e.pluralizationRules,g=Xe(e.postTranslation)?e.postTranslation:void 0,m=$(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,F=!!e.escapeParameterHtml,b=Ae(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let k=e.messages;if(Fe(e.sharedMessages)){const T=e.sharedMessages;k=Object.keys(T).reduce((O,U)=>{const se=O[U]||(O[U]={});return Mt(se,T[U]),O},k||{})}const{__i18n:x,__root:D,__injectWithOption:N}=e,L=e.datetimeFormats,E=e.numberFormats,j=e.flatJson,q=e.translateExistCompatible;return{locale:n,fallbackLocale:a,messages:k,flatJson:j,datetimeFormats:L,numberFormats:E,missing:i,missingWarn:o,fallbackWarn:s,fallbackRoot:u,fallbackFormat:c,modifiers:f,pluralRules:_,postTranslation:g,warnHtmlMessage:m,escapeParameter:F,messageResolver:e.messageResolver,inheritLocale:b,translateExistCompatible:q,__i18n:x,__root:D,__injectWithOption:N}}function Zu(e={},n){{const a=Ku(A9(e)),{__extender:i}=e,o={id:a.id,get locale(){return a.locale.value},set locale(s){a.locale.value=s},get fallbackLocale(){return a.fallbackLocale.value},set fallbackLocale(s){a.fallbackLocale.value=s},get messages(){return a.messages.value},get datetimeFormats(){return a.datetimeFormats.value},get numberFormats(){return a.numberFormats.value},get availableLocales(){return a.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER))},get missing(){return a.getMissingHandler()},set missing(s){a.setMissingHandler(s)},get silentTranslationWarn(){return Ae(a.missingWarn)?!a.missingWarn:a.missingWarn},set silentTranslationWarn(s){a.missingWarn=Ae(s)?!s:s},get silentFallbackWarn(){return Ae(a.fallbackWarn)?!a.fallbackWarn:a.fallbackWarn},set silentFallbackWarn(s){a.fallbackWarn=Ae(s)?!s:s},get modifiers(){return a.modifiers},get formatFallbackMessages(){return a.fallbackFormat},set formatFallbackMessages(s){a.fallbackFormat=s},get postTranslation(){return a.getPostTranslationHandler()},set postTranslation(s){a.setPostTranslationHandler(s)},get sync(){return a.inheritLocale},set sync(s){a.inheritLocale=s},get warnHtmlInMessage(){return a.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){a.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return a.escapeParameter},set escapeParameterHtml(s){a.escapeParameter=s},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return a.pluralRules||{}},__composer:a,t(...s){const[u,c,f]=s,_={};let g=null,m=null;if(!$(u))throw bt(Le.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:Ze(c)?g=c:Fe(c)&&(m=c),Ze(f)?g=f:Fe(f)&&(m=f),Reflect.apply(a.t,a,[F,g||m||{},_])},rt(...s){return Reflect.apply(a.rt,a,[...s])},tc(...s){const[u,c,f]=s,_={plural:1};let g=null,m=null;if(!$(u))throw bt(Le.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:gt(c)?_.plural=c:Ze(c)?g=c:Fe(c)&&(m=c),$(f)?_.locale=f:Ze(f)?g=f:Fe(f)&&(m=f),Reflect.apply(a.t,a,[F,g||m||{},_])},te(s,u){return a.te(s,u)},tm(s){return a.tm(s)},getLocaleMessage(s){return a.getLocaleMessage(s)},setLocaleMessage(s,u){a.setLocaleMessage(s,u)},mergeLocaleMessage(s,u){a.mergeLocaleMessage(s,u)},d(...s){return Reflect.apply(a.d,a,[...s])},getDateTimeFormat(s){return a.getDateTimeFormat(s)},setDateTimeFormat(s,u){a.setDateTimeFormat(s,u)},mergeDateTimeFormat(s,u){a.mergeDateTimeFormat(s,u)},n(...s){return Reflect.apply(a.n,a,[...s])},getNumberFormat(s){return a.getNumberFormat(s)},setNumberFormat(s,u){a.setNumberFormat(s,u)},mergeNumberFormat(s,u){a.mergeNumberFormat(s,u)},getChoiceIndex(s,u){return process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=i,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=s=>{const u=a;u[gi]&&u[gi](s)},o.__disableEmitter=()=>{const s=a;s[Vr]&&s[Vr]()}),o}}const Ju={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function E9({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((i,o)=>[...i,...o.type===t.Fragment?o.children:[o]],[]):n.reduce((a,i)=>{const o=e[i];return o&&(a[i]=o()),a},We())}function gg(e){return t.Fragment}const $u=t.defineComponent({name:"i18n-t",props:Mt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>gt(e)||!isNaN(e)}},Ju),setup(e,n){const{slots:a,attrs:i}=n,o=e.i18n||nc({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(a).filter(m=>m!=="_"),u=We();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=$(e.plural)?+e.plural:e.plural);const c=E9(n,s),f=o[Qu](e.keypath,c,u),_=Mt(We(),i),g=$(e.tag)||Se(e.tag)?e.tag:gg();return t.h(g,_,f)}}});function C9(e){return Ze(e)&&!$(e[0])}function hg(e,n,a,i){const{slots:o,attrs:s}=n;return()=>{const u={part:!0};let c=We();e.locale&&(u.locale=e.locale),$(e.format)?u.key=e.format:Se(e.format)&&($(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((F,b)=>a.includes(b)?Mt(We(),F,{[b]:e.format[b]}):F,We()));const f=i(e.value,u,c);let _=[u.key];Ze(f)?_=f.map((F,b)=>{const k=o[F.type],x=k?k({[F.type]:F.value,index:b,parts:f}):[F.value];return C9(x)&&(x[0].key=`${F.type}-${b}`),x}):$(f)&&(_=[f]);const g=Mt(We(),s),m=$(e.tag)||Se(e.tag)?e.tag:gg();return t.h(m,g,_)}}const mg=t.defineComponent({name:"i18n-n",props:Mt({value:{type:Number,required:!0},format:{type:[String,Object]}},Ju),setup(e,n){const a=e.i18n||nc({useScope:e.scope,__useComponent:!0});return hg(e,n,eg,(...i)=>a[Wu](...i))}}),Fg=t.defineComponent({name:"i18n-d",props:Mt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ju),setup(e,n){const a=e.i18n||nc({useScope:e.scope,__useComponent:!0});return hg(e,n,Z_,(...i)=>a[Gu](...i))}});function x9(e,n){const a=e;if(e.mode==="composition")return a.__getInstance(n)||e.global;{const i=a.__getInstance(n);return i!=null?i.__composer:e.global.__composer}}function M9(e){const n=u=>{const{instance:c,modifiers:f,value:_}=u;if(!c||!c.$)throw bt(Le.UNEXPECTED_ERROR);const g=x9(e,c.$);process.env.NODE_ENV!=="production"&&f.preserve&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE));const m=pg(_);return[Reflect.apply(g.t,g,[...bg(m)]),g]};return{created:(u,c)=>{const[f,_]=n(c);Ia&&e.global===_&&(u.__i18nWatcher=t.watch(_.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=_,u.textContent=f},unmounted:u=>{Ia&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:c})=>{if(u.__composer){const f=u.__composer,_=pg(c);u.textContent=Reflect.apply(f.t,f,[...bg(_)])}},getSSRProps:u=>{const[c]=n(u);return{textContent:c}}}}function pg(e){if($(e))return{path:e};if(Fe(e)){if(!("path"in e))throw bt(Le.REQUIRED_VALUE,"path");return e}else throw bt(Le.INVALID_VALUE)}function bg(e){const{path:n,locale:a,args:i,choice:o,plural:s}=e,u={},c=i||{};return $(a)&&(u.locale=a),gt(o)&&(u.plural=o),gt(s)&&(u.plural=s),[n,c,u]}function B9(e,n,...a){const i=Fe(a[0])?a[0]:{},o=!!i.useI18nComponentName,s=Ae(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&o&&Ft(Gt(ot.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:$u.name})),s&&([o?"i18n":$u.name,"I18nT"].forEach(u=>e.component(u,$u)),[mg.name,"I18nN"].forEach(u=>e.component(u,mg)),[Fg.name,"I18nD"].forEach(u=>e.component(u,Fg))),e.directive("t",M9(n))}const ec={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},v9={["vue-i18n-resource-inspector"]:"Search for scopes ..."},j9={["vue-i18n-timeline"]:16764185},yg="vue-i18n: composer properties";let tc;async function N9(e,n){return new Promise((a,i)=>{try{F9({id:"vue-devtools-plugin-vue-i18n",label:ec["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[yg],app:e},o=>{tc=o,o.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{S9(u,c,n)}),o.on.inspectComponent(({componentInstance:u,instanceData:c})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&c&&(n.mode==="legacy"?u.vnode.el.__VUE_I18N__!==n.global.__composer&&kg(c,u.vnode.el.__VUE_I18N__):kg(c,u.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:ec["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:v9["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&z9(u,n)});const s=new Map;o.on.getInspectorState(async u=>{if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),P9(u,n),u.nodeId==="global"){if(!s.has(u.app)){const[c]=await o.getComponentInstances(u.app);s.set(u.app,c)}o.highlightElement(s.get(u.app))}else{const c=q9(u.nodeId,n);c&&o.highlightElement(c)}}),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&U9(u,n)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:ec["vue-i18n-timeline"],color:j9["vue-i18n-timeline"]}),a(!0)})}catch(o){console.error(o),i(!1)}})}function wg(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function S9(e,n,a){const i=a.mode==="composition"?a.global:a.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==i){const o={label:`i18n (${wg(e)} Scope)`,textColor:0,backgroundColor:16764185};n.tags.push(o)}}function kg(e,n){const a=yg;e.state.push({type:a,key:"locale",editable:!0,value:n.locale.value}),e.state.push({type:a,key:"availableLocales",editable:!1,value:n.availableLocales}),e.state.push({type:a,key:"fallbackLocale",editable:!0,value:n.fallbackLocale.value}),e.state.push({type:a,key:"inheritLocale",editable:!0,value:n.inheritLocale}),e.state.push({type:a,key:"messages",editable:!1,value:ac(n.messages.value)}),e.state.push({type:a,key:"datetimeFormats",editable:!1,value:n.datetimeFormats.value}),e.state.push({type:a,key:"numberFormats",editable:!1,value:n.numberFormats.value})}function ac(e){const n={};return Object.keys(e).forEach(a=>{const i=e[a];Xe(i)&&"source"in i?n[a]=L9(i):Fa(i)&&i.loc&&i.loc.source?n[a]=i.loc.source:Se(i)?n[a]=ac(i):n[a]=i}),n}const T9={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function I9(e){return e.replace(/[<>"&]/g,O9)}function O9(e){return T9[e]||e}function L9(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${I9(e.source)}")`:"(?)"}`}}}function z9(e,n){e.rootNodes.push({id:"global",label:"Global Scope"});const a=n.mode==="composition"?n.global:n.global.__composer;for(const[i,o]of n.__instances){const s=n.mode==="composition"?o:o.__composer;a!==s&&e.rootNodes.push({id:s.id.toString(),label:`${wg(i)} Scope`})}}function q9(e,n){let a=null;if(e!=="global"){for(const[i,o]of n.__instances.entries())if(o.id.toString()===e){a=i;break}}return a}function Dg(e,n){if(e==="global")return n.mode==="composition"?n.global:n.global.__composer;{const a=Array.from(n.__instances.values()).find(i=>i.id.toString()===e);return a?n.mode==="composition"?a:a.__composer:null}}function P9(e,n){const a=Dg(e.nodeId,n);return a&&(e.state=V9(a)),null}function V9(e){const n={},a="Locale related info",i=[{type:a,key:"locale",editable:!0,value:e.locale.value},{type:a,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:a,key:"availableLocales",editable:!1,value:e.availableLocales},{type:a,key:"inheritLocale",editable:!0,value:e.inheritLocale}];n[a]=i;const o="Locale messages info",s=[{type:o,key:"messages",editable:!1,value:ac(e.messages.value)}];n[o]=s;{const u="Datetime formats info",c=[{type:u,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];n[u]=c;const f="Datetime formats info",_=[{type:f,key:"numberFormats",editable:!1,value:e.numberFormats.value}];n[f]=_}return n}function Rr(e,n){if(tc){let a;n&&"groupId"in n&&(a=n.groupId,delete n.groupId),tc.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:a,time:Date.now(),meta:{},data:n||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function U9(e,n){const a=Dg(e.nodeId,n);if(a){const[i]=e.path;i==="locale"&&$(e.state.value)?a.locale.value=e.state.value:i==="fallbackLocale"&&($(e.state.value)||Ze(e.state.value)||Se(e.state.value))?a.fallbackLocale.value=e.state.value:i==="inheritLocale"&&Ae(e.state.value)&&(a.inheritLocale=e.state.value)}}function R9(e,n,a){return{beforeCreate(){const i=t.getCurrentInstance();if(!i)throw bt(Le.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=n,this===this.$root)this.$i18n=Ag(e,s);else{s.__injectWithOption=!0,s.__extender=a.__vueI18nExtend,this.$i18n=Zu(s);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Ag(e,o);else{this.$i18n=Zu({__i18n:o.__i18n,__injectWithOption:!0,__extender:a.__vueI18nExtend,__root:n});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&lg(n,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,u)=>this.$i18n.te(s,u),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),a.__setInstance(i,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const o=this.__v_emitter=Su();i.__enableEmitter&&i.__enableEmitter(o),o.on("*",Rr)}},unmounted(){const i=t.getCurrentInstance();if(!i)throw bt(Le.UNEXPECTED_ERROR);const o=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Rr),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),a.__deleteInstance(i),delete this.$i18n}}}function Ag(e,n){e.locale=n.locale||e.locale,e.fallbackLocale=n.fallbackLocale||e.fallbackLocale,e.missing=n.missing||e.missing,e.silentTranslationWarn=n.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=n.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=n.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=n.postTranslation||e.postTranslation,e.warnHtmlInMessage=n.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=n.escapeParameterHtml||e.escapeParameterHtml,e.sync=n.sync||e.sync,e.__composer[rg](n.pluralizationRules||e.pluralizationRules);const a=_s(e.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(a).forEach(i=>e.mergeLocaleMessage(i,a[i])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(i=>e.mergeDateTimeFormat(i,n.datetimeFormats[i])),n.numberFormats&&Object.keys(n.numberFormats).forEach(i=>e.mergeNumberFormat(i,n.numberFormats[i])),e}const Y9=Xa("global-vue-i18n");function H9(e={},n){const a=__VUE_I18N_LEGACY_API__&&Ae(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,i=Ae(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&a?!!e.allowComposition:!0,s=new Map,[u,c]=Q9(e,a),f=Xa(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&a&&o&&Ft(Gt(ot.NOTICE_DROP_ALLOW_COMPOSITION));function _(F){return s.get(F)||null}function g(F,b){s.set(F,b)}function m(F){s.delete(F)}{const F={get mode(){return __VUE_I18N_LEGACY_API__&&a?"legacy":"composition"},get allowComposition(){return o},async install(b,...k){if(process.env.NODE_ENV!=="production"&&(b.__VUE_I18N__=F),b.__VUE_I18N_SYMBOL__=f,b.provide(b.__VUE_I18N_SYMBOL__,F),Fe(k[0])){const N=k[0];F.__composerExtend=N.__composerExtend,F.__vueI18nExtend=N.__vueI18nExtend}let x=null;!a&&i&&(x=t5(b,F.global)),__VUE_I18N_FULL_INSTALL__&&B9(b,F,...k),__VUE_I18N_LEGACY_API__&&a&&b.mixin(R9(c,c.__composer,F));const D=b.unmount;if(b.unmount=()=>{x&&x(),F.dispose(),D()},process.env.NODE_ENV!=="production"){if(!await N9(b,F))throw bt(Le.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const L=Su();if(a){const E=c;E.__enableEmitter&&E.__enableEmitter(L)}else{const E=c;E[gi]&&E[gi](L)}L.on("*",Rr)}},get global(){return c},dispose(){u.stop()},__instances:s,__getInstance:_,__setInstance:g,__deleteInstance:m};return F}}function nc(e={}){const n=t.getCurrentInstance();if(n==null)throw bt(Le.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw bt(Le.NOT_INSTALLED);const a=G9(n),i=X9(a),o=sg(n),s=W9(e,o);if(__VUE_I18N_LEGACY_API__&&a.mode==="legacy"&&!e.__useComponent){if(!a.allowComposition)throw bt(Le.NOT_AVAILABLE_IN_LEGACY_MODE);return $9(n,s,i,e)}if(s==="global")return lg(i,e,o),i;if(s==="parent"){let f=K9(a,n,e.__useComponent);return f==null&&(process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_FOUND_PARENT_SCOPE)),f=i),f}const u=a;let c=u.__getInstance(n);if(c==null){const f=Mt({},e);"__i18n"in o&&(f.__i18n=o.__i18n),i&&(f.__root=i),c=Ku(f),u.__composerExtend&&(c[Xu]=u.__composerExtend(c)),J9(u,n,c),u.__setInstance(n,c)}return c}function Q9(e,n,a){const i=t.effectScope();{const o=__VUE_I18N_LEGACY_API__&&n?i.run(()=>Zu(e)):i.run(()=>Ku(e));if(o==null)throw bt(Le.UNEXPECTED_ERROR);return[i,o]}}function G9(e){{const n=t.inject(e.isCE?Y9:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw bt(e.isCE?Le.NOT_INSTALLED_WITH_PROVIDE:Le.UNEXPECTED_ERROR);return n}}function W9(e,n){return ns(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function X9(e){return e.mode==="composition"?e.global:e.global.__composer}function K9(e,n,a=!1){let i=null;const o=n.root;let s=Z9(n,a);for(;s!=null;){const u=e;if(e.mode==="composition")i=u.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const c=u.__getInstance(s);c!=null&&(i=c.__composer,a&&i&&!i[og]&&(i=null))}if(i!=null||o===s)break;s=s.parent}return i}function Z9(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function J9(e,n,a){let i=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=a,i=Su();const o=a;o[gi]&&o[gi](i),i.on("*",Rr)}},n),t.onUnmounted(()=>{const o=a;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(i&&i.off("*",Rr),o[Vr]&&o[Vr](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const s=o[Xu];s&&(s(),delete o[Xu])},n)}function $9(e,n,a,i={}){const o=n==="local",s=t.shallowRef(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw bt(Le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=Ae(i.inheritLocale)?i.inheritLocale:!$(i.locale),c=t.ref(!o||u?a.locale.value:$(i.locale)?i.locale:Wi),f=t.ref(!o||u?a.fallbackLocale.value:$(i.fallbackLocale)||Ze(i.fallbackLocale)||Fe(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:c.value),_=t.ref(_s(c.value,i)),g=t.ref(Fe(i.datetimeFormats)?i.datetimeFormats:{[c.value]:{}}),m=t.ref(Fe(i.numberFormats)?i.numberFormats:{[c.value]:{}}),F=o?a.missingWarn:Ae(i.missingWarn)||On(i.missingWarn)?i.missingWarn:!0,b=o?a.fallbackWarn:Ae(i.fallbackWarn)||On(i.fallbackWarn)?i.fallbackWarn:!0,k=o?a.fallbackRoot:Ae(i.fallbackRoot)?i.fallbackRoot:!0,x=!!i.fallbackFormat,D=Xe(i.missing)?i.missing:null,N=Xe(i.postTranslation)?i.postTranslation:null,L=o?a.warnHtmlMessage:Ae(i.warnHtmlMessage)?i.warnHtmlMessage:!0,E=!!i.escapeParameter,j=o?a.modifiers:Fe(i.modifiers)?i.modifiers:{},q=i.pluralRules||o&&a.pluralRules;function T(){return[c.value,f.value,_.value,g.value,m.value]}const P=t.computed({get:()=>s.value?s.value.locale.value:c.value,set:K=>{s.value&&(s.value.locale.value=K),c.value=K}}),O=t.computed({get:()=>s.value?s.value.fallbackLocale.value:f.value,set:K=>{s.value&&(s.value.fallbackLocale.value=K),f.value=K}}),U=t.computed(()=>s.value?s.value.messages.value:_.value),se=t.computed(()=>g.value),ke=t.computed(()=>m.value);function le(){return s.value?s.value.getPostTranslationHandler():N}function fe(K){s.value&&s.value.setPostTranslationHandler(K)}function ze(){return s.value?s.value.getMissingHandler():D}function He(K){s.value&&s.value.setMissingHandler(K)}function Ce(K){return T(),K()}function Me(...K){return s.value?Ce(()=>Reflect.apply(s.value.t,null,[...K])):Ce(()=>"")}function te(...K){return s.value?Reflect.apply(s.value.rt,null,[...K]):""}function st(...K){return s.value?Ce(()=>Reflect.apply(s.value.d,null,[...K])):Ce(()=>"")}function Vt(...K){return s.value?Ce(()=>Reflect.apply(s.value.n,null,[...K])):Ce(()=>"")}function wt(K){return s.value?s.value.tm(K):{}}function Ct(K,Be){return s.value?s.value.te(K,Be):!1}function lt(K){return s.value?s.value.getLocaleMessage(K):{}}function dt(K,Be){s.value&&(s.value.setLocaleMessage(K,Be),_.value[K]=Be)}function jt(K,Be){s.value&&s.value.mergeLocaleMessage(K,Be)}function ra(K){return s.value?s.value.getDateTimeFormat(K):{}}function Je(K,Be){s.value&&(s.value.setDateTimeFormat(K,Be),g.value[K]=Be)}function oa(K,Be){s.value&&s.value.mergeDateTimeFormat(K,Be)}function Ot(K){return s.value?s.value.getNumberFormat(K):{}}function sa(K,Be){s.value&&(s.value.setNumberFormat(K,Be),m.value[K]=Be)}function Kt(K,Be){s.value&&s.value.mergeNumberFormat(K,Be)}const Ut={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:O,messages:U,datetimeFormats:se,numberFormats:ke,get inheritLocale(){return s.value?s.value.inheritLocale:u},set inheritLocale(K){s.value&&(s.value.inheritLocale=K)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(_.value)},get modifiers(){return s.value?s.value.modifiers:j},get pluralRules(){return s.value?s.value.pluralRules:q},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:F},set missingWarn(K){s.value&&(s.value.missingWarn=K)},get fallbackWarn(){return s.value?s.value.fallbackWarn:b},set fallbackWarn(K){s.value&&(s.value.missingWarn=K)},get fallbackRoot(){return s.value?s.value.fallbackRoot:k},set fallbackRoot(K){s.value&&(s.value.fallbackRoot=K)},get fallbackFormat(){return s.value?s.value.fallbackFormat:x},set fallbackFormat(K){s.value&&(s.value.fallbackFormat=K)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:L},set warnHtmlMessage(K){s.value&&(s.value.warnHtmlMessage=K)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(K){s.value&&(s.value.escapeParameter=K)},t:Me,getPostTranslationHandler:le,setPostTranslationHandler:fe,getMissingHandler:ze,setMissingHandler:He,rt:te,d:st,n:Vt,tm:wt,te:Ct,getLocaleMessage:lt,setLocaleMessage:dt,mergeLocaleMessage:jt,getDateTimeFormat:ra,setDateTimeFormat:Je,mergeDateTimeFormat:oa,getNumberFormat:Ot,setNumberFormat:sa,mergeNumberFormat:Kt};function Gn(K){K.locale.value=c.value,K.fallbackLocale.value=f.value,Object.keys(_.value).forEach(Be=>{K.mergeLocaleMessage(Be,_.value[Be])}),Object.keys(g.value).forEach(Be=>{K.mergeDateTimeFormat(Be,g.value[Be])}),Object.keys(m.value).forEach(Be=>{K.mergeNumberFormat(Be,m.value[Be])}),K.escapeParameter=E,K.fallbackFormat=x,K.fallbackRoot=k,K.fallbackWarn=b,K.missingWarn=F,K.warnHtmlMessage=L}return t.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw bt(Le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const K=s.value=e.proxy.$i18n.__composer;n==="global"?(c.value=K.locale.value,f.value=K.fallbackLocale.value,_.value=K.messages.value,g.value=K.datetimeFormats.value,m.value=K.numberFormats.value):o&&Gn(K)}),Ut}const e5=["locale","fallbackLocale","availableLocales"],Eg=["t","rt","d","n","tm","te"];function t5(e,n){const a=Object.create(null);return e5.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s)throw bt(Le.UNEXPECTED_ERROR);const u=t.isRef(s.value)?{get(){return s.value.value},set(c){s.value.value=c}}:{get(){return s.get&&s.get()}};Object.defineProperty(a,o,u)}),e.config.globalProperties.$i18n=a,Eg.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s||!s.value)throw bt(Le.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Eg.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(b9(),__INTLIFY_JIT_COMPILATION__?B_(i9):B_(n9),XD(BD),KD(E_),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=mn();e.__INTLIFY__=!0,zD(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const a5={upload_area:{title:{text:"Drag your file here or",highlight:"search it"},invalid:{subtitle:"File not supported, select supported formats:"},subtitle:"Supported formats:"},import_card:{importing:"Importing"},audio_recorder:{discard_button:"Discard"},chat_message:{reply_message:{you:"You",video:"Video",image:"Image",audio:"Audio message"}},emoji_picker:{title:"Pick your emoji...",search:"Search",notfound:"No Emoji Found",categories:{search:"Search Results",recent:"Frequently Used",smileys:"Smileys & Emotion",people:"People & Body",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"}},search:"Search"},n5={upload_area:{title:{text:"Arrastra tu archivo aquí o",highlight:"búscalo"},invalid:{subtitle:"Archivo no compatible, seleccione los formatos compatibles:"},subtitle:"Formatos compatibles:"},import_card:{importing:"Importando"},audio_recorder:{discard_button:"Descartar"},chat_message:{reply_message:{you:"Tú",video:"Vídeo",image:"Imagen",audio:"Mensaje de audio"}},emoji_picker:{title:"Elige tu emoji...",search:"Buscar",notfound:"No se encontró ningún emoji",categories:{search:"Resultados de búsqueda",recent:"Usados frecuentemente",smileys:"Caritas y Emociones",people:"Personas y Cuerpo",nature:"Animales y Naturaleza",foods:"Comidas y Bebidas",activity:"Actividades",places:"Viajes y Lugares",objects:"Objetos",symbols:"Símbolos",flags:"Banderas",custom:"Personalizados"}},search:"Buscar"},Cg={upload_area:{title:{text:"Arraste seu arquivo aqui, ou",highlight:"procure-o"},invalid:{subtitle:"Arquivo não compatível, selecione formatos suportados:"},subtitle:"Formatos suportados:"},import_card:{importing:"Importando"},audio_recorder:{discard_button:"Descartar"},chat_message:{reply_message:{you:"Você",video:"Vídeo",image:"Imagem",audio:"Mensagem de áudio"}},emoji_picker:{title:"Escolha seu emoji...",search:"Buscar",notfound:"Nenhum emoji encontrado",categories:{search:"Resultados da busca",recent:"Usados frequentemente",smileys:"Carinhas & Pessoas",people:"Pessoas e Corpo",nature:"Animais e Natureza",foods:"Comidas e Bebidas",activity:"Atividades",places:"Viagens e Lugares",objects:"Objetos",symbols:"Símbolos",flags:"Bandeiras",custom:"Personalizados"}},search:"Buscar"},i5=Object.assign({en:a5,es:n5,"pt-br":Cg,"pt-BR":Cg}),gs=H9({locale:"en",fallbackLocale:"en",messages:i5}),Xt={props:{locale:{type:String},translations:{type:Object}},methods:{i18n(...e){const[n,a]=e,i=Object.keys(gs.global.messages);let{locale:o}=this;const s=Ta.get(gs,"global.locale")==="en-us"?"en":Ta.get(gs,"global.locale");o=i.includes(o)?o:s,o=o==null?void 0:o.toLowerCase();let u=Ta.get(this.translations,`${n}.${o}`,Ta.get(this.translations,n));if(u||(u=Ta.get(Ta.get(this.defaultTranslations,n),o,a)),u!=null&&u.includes("|")&&typeof e[1]=="number"){const f=e[1],_=u.split("|");_.length===3?u=_[f]||_[2]:_.length===2&&(u=f===1?_[0]:_[1])}let c={};return Object.values(e).slice(1).forEach(f=>{!(f instanceof Array)&&f instanceof Object&&(c=f)}),Object.keys(c).forEach(f=>{u=u==null?void 0:u.replaceAll(new RegExp(`{ *${f} *}`,"g"),c[f])}),u}}},eZ="",r5={name:"IconLoading",components:{UnnnicIcon:ee},props:{scheme:{type:String,default:"neutral-dark"},size:{type:String,default:"lg"}}};function o5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createBlock(u,{class:"unnnic-icon-loading",icon:"progress_activity",scheme:a.scheme,size:a.size},null,8,["scheme","size"])}const hi=z(r5,[["render",o5],["__scopeId","data-v-97257015"]]),s5=["disabled"],l5=t.defineComponent({name:"UnnnicButton",__name:"Button",props:{size:{default:"large"},text:{default:""},type:{default:"primary"},float:{type:Boolean,default:!1},iconLeft:{default:""},iconRight:{default:""},iconCenter:{default:""},iconsFilled:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},setup(e){const n=e,a=t.useSlots(),i=t.computed(()=>n.disabled||n.loading),o=t.computed(()=>n.size==="extra-large"?"lg":"ant"),s=t.computed(()=>a.default?!0:n.text&&n.text.length>0),u=t.computed(()=>i.value?"neutral-clean":{primary:"neutral-white",secondary:"neutral-dark",tertiary:"neutral-dark",warning:"neutral-white",attention:"neutral-white"}[f.value]||"neutral-white"),c=t.computed(()=>n.size==="large"||!n.float&&n.size==="small"||n.float&&n.size==="extra-large"),f=t.computed(()=>({alternative:"tertiary"})[n.type]||n.type),_=t.computed(()=>["primary","secondary","tertiary","warning","attention"].includes(f.value)),g=()=>{if(!c.value||!_.value){let m="TypeError:";throw c.value||(m+=" Invalid size prop.",m+=" Please provide 'large', 'small' (only if float prop is false), or 'extra-large' (only if float prop is true)."),_.value||(m+=" Invalid type prop.",m+=" Please provide one of the following types: primary, secondary, tertiary, warning, attention. Alternative is discontinued and it was forced renamed to tertiary."),new Error(m)}};return t.watch(()=>n,()=>{g()},{deep:!0,immediate:!0}),(m,F)=>(t.openBlock(),t.createElementBlock("button",t.mergeProps(m.$attrs,{disabled:i.value,class:["unnnic-button",`unnnic-button--size-${m.size}`,`unnnic-button--${f.value}`,m.iconCenter?"unnnic-button--icon-on-center":null,m.float?"unnnic-button--float":null]}),[m.loading?(t.openBlock(),t.createBlock(hi,{key:0,scheme:u.value,size:o.value,style:{position:"absolute"},"data-testid":"icon-loading"},null,8,["scheme","size"])):t.createCommentVNode("",!0),m.iconLeft?(t.openBlock(),t.createBlock(ee,{key:1,icon:m.iconLeft,scheme:u.value,size:o.value,filled:m.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-left":s.value}),style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),next:m.next,"data-testid":"icon-left"},null,8,["icon","scheme","size","filled","class","style","next"])):t.createCommentVNode("",!0),m.iconCenter?(t.openBlock(),t.createBlock(ee,{key:2,icon:m.iconCenter,scheme:u.value,style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),size:o.value,filled:m.iconsFilled,next:m.next,"data-testid":"icon-center"},null,8,["icon","scheme","style","size","filled","next"])):t.createCommentVNode("",!0),m.float?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:3,class:"unnnic-button__label",style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),"data-testid":"button-label"},[t.renderSlot(m.$slots,"default",{},void 0,!0),t.createTextVNode(" "+t.toDisplayString(m.text),1)],4)),m.iconRight?(t.openBlock(),t.createBlock(ee,{key:4,icon:m.iconRight,scheme:u.value,size:o.value,filled:m.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-right":s.value}),style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),next:m.next,"data-testid":"icon-right"},null,8,["icon","scheme","size","filled","class","style","next"])):t.createCommentVNode("",!0)],16,s5))}}),tZ="",aZ="",nZ="",Bt=z(l5,[["__scopeId","data-v-35cd149c"]]),iZ="",u5={components:{UnnnicButton:Bt},mixins:[Xt],props:{initialStartDate:{type:String,default:""},initialEndDate:{type:String,default:""},minDate:{type:String,default:""},maxDate:{type:String,default:""},equivalentOption:{type:String,default:""},type:{type:String,default:"day",validator(e){return["day","month","year"].includes(e)}},size:{type:String,default:"large",validator(e){return["small","large"].includes(e)}},clearLabel:{type:String,default:""},actionLabel:{type:String,default:""},months:{type:Array,default:()=>[],validator(e){return[0,12].includes(e.length)}},days:{type:Array,default:()=>[],validator(e){return[0,7].includes(e.length)}},options:{type:Array,default:()=>[]},disableClear:{type:Boolean,default:!1}},emits:["change","submit","update:equivalentOption"],data(){const e=new Date;return{referenceDate:`${e.getMonth()+1} 1 ${e.getFullYear()}`,startDate:(this.initialStartDate||"").replace(/-/g," "),endDate:(this.initialEndDate||"").replace(/-/g," "),optionSelected:"",defaultTranslations:{clean:{"pt-br":"Limpar",en:"Clean",es:"Limpiar"},filter:{"pt-br":"Filtrar",en:"Filter",es:"Filtrar"}}}},computed:{openMonths(){return[this.addMonth(this.referenceDate,-1),this.referenceDate]},value(){return{startDate:this.startDate.replaceAll(" ","-"),endDate:this.endDate.replaceAll(" ","-")}},i18nLocale(){return this.$i18n.locale.toLowerCase()},monthsLocale(){const{months:e}=this;return e.length?e:Dk[this.i18nLocale]},daysLocale(){const{days:e}=this;return e.length?e:Ak[this.i18nLocale]},periodsLocale(){const{options:e}=this;return e.length?e:Ek[this.i18nLocale]},clearText(){return this.clearLabel||ts[this.i18nLocale].clear},filterText(){return this.actionLabel||ts[this.i18nLocale].filter}},watch:{value(){this.updateOptionSelected(),this.$emit("change",this.value)}},mounted(){this.updateOptionSelected()},methods:{submit(){var e;this.$emit("submit",this.value),this.optionSelected==="custom"?this.$emit("update:equivalentOption",""):this.$emit("update:equivalentOption",((e=this.periodsLocale.find(({id:n})=>n===this.optionSelected))==null?void 0:e.name)||"")},updateOptionSelected(){const{startDate:e,endDate:n}=this.value;function a(o,s){return new Date(o).getTime()===new Date(s).getTime()}const i=this.periodsLocale.find(({id:o})=>{const{startDate:s,endDate:u}=this.getStartAndEndDateByPeriod(o);return a(e,s)&&a(n,u)});this.optionSelected=e||n?i?i.id:"custom":""},dateToString(e){return`${e.getMonth()+1} ${e.getDate()} ${e.getFullYear()}`},dateToStringMonth(e){return`${e.getMonth()+1} ${e.getFullYear()}`},dateToStringYear(e){return e.getFullYear()},stringToTime(e){const[n,a,i]=e.split(" ");return new Date(i,Number(n)-1,a).getTime()},getDate(e){return e.toString().split(" ")[1]},getMonth(e){return e.toString().split(" ")[0]},getFullYear(e){const[n,a,i]=e.split(" ");return new Date(i,Number(n)-1,a).getFullYear()},addMonth(e,n){const[a,i,o]=e.split(" "),s=new Date(o,Number(a)-1,i);return s.setMonth(s.getMonth()+n),this.dateToString(s)},isDateBetween(e){if(this.startDate&&this.endDate){if(e>=this.stringToTime(this.startDate)&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=this.stringToTime(this.startDate))return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},isDateBetweenMonth(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setDate(1);const s=o.getTime();if(this.startDate&&this.endDate){if(e>=s&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=s)return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},isDateBetweenYear(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setDate(1),o.setMonth(0);const s=o.getTime();if(this.startDate&&this.endDate){if(e>=s&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=s)return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},getDatesOfTheMonth(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a),s=o.getMonth(),u=86400;o.setDate(1-o.getDay());const c=[];for(let f=0;f<6*7;f+=1){const _=this.dateToString(o),g=[];if(this.minDate){const[m,F,b]=this.minDate.split("-"),k=new Date(m,Number(F)-1,b);o<k&&g.push("out of range")}if(this.maxDate){const[m,F,b]=this.maxDate.split("-"),k=new Date(m,Number(F)-1,b);o>k&&g.push("out of range")}if(s===o.getMonth()){g.push("inside month");const m=this.stringToTime(this.dateToString(o)),F=m-u,b=m+u;this.isDateBetween(m)&&(g.push("selected"),this.isDateBetween(F)||g.push("left-highlighted"),this.isDateBetween(b)||g.push("right-highlighted"),(g.includes("left-highlighted")||g.includes("right-highlighted"))&&g.push("highlighted"))}this.dateToString(o)===this.dateToString(new Date)&&g.push("today"),c.push({properties:g,toString:()=>_}),o.setDate(o.getDate()+1)}return c},getMonthsOfTheYear(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setMonth(0);const s=[];for(let u=0;u<3*4;u+=1){const c=this.dateToString(o),f=[];f.push("inside month");const _=this.stringToTime(this.dateToString(o));let g=new Date(_),m=new Date(_);g.setMonth(g.getMonth()-1),m.setMonth(m.getMonth()+1),g=g.getTime(),m=m.getTime(),this.isDateBetweenMonth(_)&&(f.push("selected"),this.isDateBetweenMonth(g)||f.push("left-highlighted"),this.isDateBetweenMonth(m)||f.push("right-highlighted"),(f.includes("left-highlighted")||f.includes("right-highlighted"))&&f.push("highlighted")),this.dateToStringMonth(o)===this.dateToStringMonth(new Date)&&f.push("today"),s.push({properties:f,date:c,toString:()=>c}),o.setMonth(o.getMonth()+1)}return s},getYears(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setMonth(0);const s=[];for(let u=0;u<3*4;u+=1){const c=this.dateToString(o),f=[];f.push("inside month");const _=this.stringToTime(this.dateToString(o)),[g,m,F]=e.split(" ");let b=new Date(F,Number(g)-1,m),k=new Date(F,Number(g)-1,m);b.setMonth(b.getMonth()-12),k.setMonth(k.getMonth()+12),b=b.getTime(),k=k.getTime(),this.isDateBetweenYear(_)&&(f.push("selected"),this.isDateBetweenYear(b)||f.push("left-highlighted"),this.isDateBetweenYear(k)||f.push("right-highlighted"),(f.includes("left-highlighted")||f.includes("right-highlighted"))&&f.push("highlighted")),this.dateToStringYear(o)===this.dateToStringYear(new Date)&&f.push("today"),s.push({properties:f,date:o.getFullYear(),toString:()=>c}),o.setFullYear(o.getFullYear()+1)}return s},selectDate(e){if(!this.startDate||!this.endDate)this.startDate=e.toString(),this.endDate=this.startDate;else{const n=this.stringToTime(e.toString()),a=this.stringToTime(this.startDate),i=this.stringToTime(this.endDate);a!==i?(this.startDate=e.toString(),this.endDate=this.startDate):n>i?this.endDate=e.toString():n<a?this.startDate=e.toString():n===a||n===i?(this.startDate=e.toString(),this.endDate=this.startDate):n-a<i-n?this.startDate=e.toString():this.endDate=e.toString()}},clear(){this.startDate="",this.endDate="",this.optionSelected=""},getStartAndEndDateByPeriod(e){let n,a;const i=new Date,o=e.match(/^last-(\d+)-days$/),s=e.match(/^last-(\d+)-months$/);if(o){const u=Number(o[1]);a=this.dateToString(i),i.setDate(i.getDate()-u+1),n=this.dateToString(i)}else if(s){const u=Number(s[1]);a=this.dateToString(i),i.setDate(i.getDate()+1),i.setMonth(i.getMonth()-u),n=this.dateToString(i)}else if(e==="current-month"){const u=new Date;i.setDate(1),n=this.dateToString(i);const c=u.getDate();i.setDate(c),a=this.dateToString(i)}else e==="previous-month"&&(i.setDate(1),i.setMonth(i.getMonth()-1),n=this.dateToString(i),i.setMonth(i.getMonth()+1),i.setDate(0),a=this.dateToString(i));return{startDate:n,endDate:a}},autoSelect(e){const{startDate:n,endDate:a}=this.getStartAndEndDateByPeriod(e);if(this.startDate=n,this.endDate=a,this.endDate){const i=this.addMonth(this.referenceDate,1),o=`${Number(this.getMonth(this.endDate))} 1 ${this.getFullYear(this.endDate)}`;[this.referenceDate,i].includes(o)||(this.referenceDate=o)}this.$nextTick(()=>{this.optionSelected=e})}}},c5={class:"unnnic-date-picker"},d5={class:"month-container"},f5=["onClick"],_5={class:"month-container"},g5=["onClick"],h5={class:"month-container"},m5=["onClick"],F5={key:3,class:"options-container"},p5={class:"options"},b5=["onClick"],y5={class:"actions"};function w5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",c5,[a.type==="day"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(s.openMonths,(c,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",d5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:`keyboard_arrow_${f===0?"left":"right"}`,type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:t.normalizeStyle({gridArea:`${f===0?"left":"right"}-button`}),onClick:t.withModifiers(_=>o.referenceDate=s.addMonth(o.referenceDate,f===0?-1:1),["stop"])},null,8,["iconCenter","type","style","onClick"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.monthsLocale[Number(s.getMonth(c))-1])+" "+t.toDisplayString(s.getFullYear(c)),3)],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`days--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.daysLocale,(_,g)=>(t.openBlock(),t.createElementBlock("div",{key:g,class:"name"},t.toDisplayString(_),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getDatesOfTheMonth(c),(_,g)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${g}`,class:t.normalizeClass({disabled:!_.properties.includes("inside month")||_.properties.includes("out of range"),selectable:_.properties.includes("inside month")&&!_.properties.includes("out of range"),today:_.properties.includes("today"),selected:_.properties.includes("selected"),highlighted:_.properties.includes("highlighted"),left:_.properties.includes("left-highlighted"),right:_.properties.includes("right-highlighted")}),onClick:m=>_.properties.includes("inside month")&&!_.properties.includes("out of range")&&s.selectDate(_)},t.toDisplayString(s.getDate(_)),11,f5))),128))],2)]),n[4]||(n[4]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):a.type==="month"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList([o.referenceDate],c=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",_5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:"keyboard_arrow_left",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},onClick:n[0]||(n[0]=f=>o.referenceDate=s.addMonth(o.referenceDate,-12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.getFullYear(c)),3),t.createVNode(u,{size:"small",iconCenter:"keyboard_arrow_right",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},onClick:n[1]||(n[1]=f=>o.referenceDate=s.addMonth(o.referenceDate,12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getMonthsOfTheYear(c),(f,_)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${_}`,class:t.normalizeClass({disabled:!f.properties.includes("inside month"),selectable:f.properties.includes("inside month"),today:f.properties.includes("today"),selected:f.properties.includes("selected"),highlighted:f.properties.includes("highlighted"),left:f.properties.includes("left-highlighted"),right:f.properties.includes("right-highlighted")}),onClick:g=>f.properties.includes("inside month")&&s.selectDate(f)},t.toDisplayString(s.monthsLocale[s.getMonth(f)].substr(0,3)),11,g5))),128))],2)]),n[5]||(n[5]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):a.type==="year"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList([o.referenceDate],c=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",h5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:"arrow-left-1-1",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},onClick:n[2]||(n[2]=f=>o.referenceDate=s.addMonth(o.referenceDate,-12*12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.getFullYear(c)),3),t.createVNode(u,{size:"small",iconCenter:"arrow-right-1-1",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},onClick:n[3]||(n[3]=f=>o.referenceDate=s.addMonth(o.referenceDate,12*12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getYears(c),(f,_)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${_}`,class:t.normalizeClass({disabled:!f.properties.includes("inside month"),selectable:f.properties.includes("inside month"),today:f.properties.includes("today"),selected:f.properties.includes("selected"),highlighted:f.properties.includes("highlighted"),left:f.properties.includes("left-highlighted"),right:f.properties.includes("right-highlighted")}),onClick:g=>f.properties.includes("inside month")&&s.selectDate(f)},t.toDisplayString(f.date),11,m5))),128))],2)]),n[6]||(n[6]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):t.createCommentVNode("",!0),a.size!=="small"?(t.openBlock(),t.createElementBlock("div",F5,[t.createElementVNode("div",p5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.periodsLocale,(c,f)=>(t.openBlock(),t.createElementBlock("div",{key:f,class:t.normalizeClass(["option",{selectable:c.id!=="custom",selected:o.optionSelected===c.id}]),onClick:_=>c.id==="custom"?null:s.autoSelect(c.id)},t.toDisplayString(c.name),11,b5))),128))]),t.createElementVNode("div",y5,[a.disableClear?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(u,{key:0,size:"small",text:s.clearText,type:"tertiary",onClick:s.clear},null,8,["text","onClick"])),t.createVNode(u,{size:"small",text:s.filterText,type:"secondary",onClick:s.submit},null,8,["text","onClick"])])])):t.createCommentVNode("",!0)])}const hs=z(u5,[["render",w5],["__scopeId","data-v-546e8a09"]]),rZ="",k5={components:{UnnnicInput:Ii,UnnnicDatePicker:hs},model:{event:"changed"},props:{modelValue:{type:Object,required:!0},iconPosition:{type:String,default:"left",validator(e){return["left","right"].includes(e)}},minDate:{type:String,default:""},maxDate:{type:String,default:""},fillW:{type:Boolean,default:!1},type:{type:String,default:"day"},size:{type:String,default:"md"},clearText:{type:String,default:"Clear"},actionText:{type:String,default:"Filter"},months:{type:Array,default:()=>[]},days:{type:Array,default:()=>[]},options:{type:Array,default:()=>[]},next:{type:Boolean,default:!1},format:{type:String,default:"YYYY-MM-DD"},inputFormat:{type:String,default:"MM-DD-YYYY"},position:{type:String,default:"left"},disableClear:{type:Boolean,default:!1}},emits:["update:model-value","selectDate"],data(){return{showCalendarFilter:!1,overwrittenValue:""}},computed:{filterText(){var n,a,i,o;const e=[];return(n=this.modelValue)!=null&&n.start&&e.push(J((a=this.modelValue)==null?void 0:a.start,this.format).format(this.inputFormat)),(i=this.modelValue)!=null&&i.end&&e.push(J((o=this.modelValue)==null?void 0:o.end,this.format).format(this.inputFormat)),e.length?e.join(" ~ "):String(this.inputFormat).replaceAll("-","/").toLowerCase()},initialStartDate(){return this.modelValue.start?J(this.modelValue.start,this.format).format("MM DD YYYY"):null},initialEndDate(){return this.modelValue.end?J(this.modelValue.end,this.format).format("MM DD YYYY"):null}},mounted(){window.document.body.addEventListener("click",this.mouseout)},beforeUnmount(){window.document.body.removeEventListener("click",this.mouseout)},methods:{emitSelectDate(e){const{startDate:n,endDate:a}=e,i={start:J(n,"MM-DD-YYYY").format(this.format),end:J(a,"MM-DD-YYYY").format(this.format)};this.$emit("selectDate",i)},mouseout(e){var n;(n=this.$refs.dropdown)!=null&&n.contains(e.target)||(this.showCalendarFilter=!1)},changeDate(e){const n=e.startDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2"),a=e.endDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2");this.showCalendarFilter=!1,this.$emit("update:model-value",{start:n?J(n,"YYYY-MM-DD").format(this.format):null,end:a?J(a,"YYYY-MM-DD").format(this.format):null})}}};function D5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicInput"),c=t.resolveComponent("UnnnicDatePicker");return t.openBlock(),t.createElementBlock("div",{ref:"dropdown",class:t.normalizeClass(["dropdown",{active:o.showCalendarFilter,"fill-w":a.fillW}])},[t.createVNode(u,{class:t.normalizeClass(["input",{"date-picker-input-next":a.next}]),size:a.size,iconLeft:a.iconPosition==="left"&&"calendar_month",iconRight:a.iconPosition==="right"&&"calendar_month",hasCloudyColor:"",readonly:"",modelValue:o.overwrittenValue||s.filterText,onFocus:n[0]||(n[0]=f=>o.showCalendarFilter=!0)},null,8,["class","size","iconLeft","iconRight","modelValue"]),t.createElementVNode("div",{class:"dropdown-data",style:t.normalizeStyle({[a.position]:"0"})},[o.showCalendarFilter?(t.openBlock(),t.createBlock(c,{key:0,equivalentOption:o.overwrittenValue,"onUpdate:equivalentOption":n[1]||(n[1]=f=>o.overwrittenValue=f),type:a.type,clearLabel:a.clearText,actionLabel:a.actionText,months:a.months,days:a.days,options:a.options,initialStartDate:s.initialStartDate,initialEndDate:s.initialEndDate,minDate:a.minDate,maxDate:a.maxDate,disableClear:a.disableClear,onChange:s.emitSelectDate,onSubmit:s.changeDate},null,8,["equivalentOption","type","clearLabel","actionLabel","months","days","options","initialStartDate","initialEndDate","minDate","maxDate","disableClear","onChange","onSubmit"])):t.createCommentVNode("",!0)],4)],2)}const ic=z(k5,[["render",D5],["__scopeId","data-v-d2a4c41c"]]),oZ="",A5={components:{UnnnicIcon:ee},props:{type:{type:String,default:"secondary"},size:{type:String,required:!0,validator(e){return["small","large"].includes(e)}},icon:{type:String,required:!0}},computed:{iconScheme(){return this.type==="primary"?"neutral-snow":"neutral-darkest"}}};function E5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("button",t.mergeProps({class:["button-icon",a.size,a.type]},e.$attrs),[t.createVNode(u,{icon:a.icon,scheme:s.iconScheme,size:"ant"},null,8,["icon","scheme"])],16)}const rc=z(A5,[["render",E5],["__scopeId","data-v-46ae4cf4"]]),oc=e=>{const{label:n,children:a}=e;if(!!!n.trim())throw new Error('Each item in "items" must have "label".');return a&&Array.isArray(a)&&a.forEach(oc),!0},C5=e=>{if(!(e!=null&&e[0]))throw new Error("Items property cannot be an empty array.");return e.forEach(oc),!0},sZ="",x5=["title"],M5={key:0,class:"unnnic-sidebar-item-children"},B5=["onClick"],v5=["title"],ms=z(Object.assign({name:"UnnnicSidebarItem"},{props:{item:{type:Object,required:!0,validator:oc},active:{type:Object,default:()=>({item:!1,childIndex:null})},autoNavigateFirstChild:{type:Boolean,default:!1}},emits:["navigate"],setup(e,{emit:n}){const a=e;t.onMounted(()=>{const{childIndex:g,item:m}=a.active;typeof g=="number"&&g>=0&&m&&s()});const i=t.computed(()=>{var g;return!!((g=a.item.children)!=null&&g.length)}),o=t.ref(!1),s=()=>{o.value=!o.value,o.value&&a.autoNavigateFirstChild&&_("navigate",{item:a.item,child:a.item.children[0]})},u=g=>{const{item:m,childIndex:F}=a.active;return typeof F!="number"?m:m&&F===g},c=()=>{i.value?s():f()},f=()=>{a.active.item||_("navigate",{item:a.item,child:null})},_=n;return(g,m)=>{var F;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("section",{"data-testid":"sidebar-item",class:t.normalizeClass({"unnnic-sidebar-item":!0,active:e.active.item}),onClick:t.withModifiers(c,["stop"])},[e.item.icon?(t.openBlock(),t.createBlock(ee,{key:0,class:"unnnic-sidebar-item__icon",icon:e.item.icon,size:"ant",scheme:e.active.item?"weni-600":"neutral-cloudy","data-testid":"item-icon"},null,8,["icon","scheme"])):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass({"unnnic-sidebar-item__label":!0,active:e.active.item}),title:e.item.label},t.toDisplayString(e.item.label),11,x5),(F=e.item.children)!=null&&F.length?(t.openBlock(),t.createBlock(ee,{key:1,class:"unnnic-sidebar-item__arrow",icon:o.value?"keyboard_arrow_up":"keyboard_arrow_down",size:"ant",scheme:"neutral-cloudy","data-testid":"arrow-icon"},null,8,["icon"])):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:"slide-fade"},{default:t.withCtx(()=>[o.value?(t.openBlock(),t.createElementBlock("ul",M5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.item.children,(b,k)=>(t.openBlock(),t.createElementBlock("li",{key:b,class:t.normalizeClass({"unnnic-sidebar-item-child":!0,active:u(k)}),"data-testid":"sidebar-item-child",onClick:t.withModifiers(x=>!u(k)&&_("navigate",{item:e.item,child:b}),["stop"])},[b.icon?(t.openBlock(),t.createBlock(ee,{key:0,class:"unnnic-sidebar-item-child__icon",icon:b.icon,size:"ant",scheme:u(k)?"weni-600":"neutral-cloudy"},null,8,["icon","scheme"])):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass({"unnnic-sidebar-item-child__label":!0,active:u(k)}),title:b.label},t.toDisplayString(b.label),11,v5)],10,B5))),128))])):t.createCommentVNode("",!0)]),_:1})],64)}}}),[["__scopeId","data-v-418b1f69"]]),cZ="",j5={class:"unnnic-sidebar-items"},sc=z(Object.assign({name:"UnnnicSidebar"},{props:{position:{type:String,default:"left",validator(e){return["left","right"].includes(e)}},width:{type:String,default:"200px",validator(e){const n=/^\d+(\.\d+)?px$/,a=/^\d+(\.\d+)?%$/;return n.test(e)||a.test(e)}},items:{type:Array,required:!0,validator:C5},active:{type:Object,default:()=>({itemIndex:null,childIndex:null})},autoNavigateFirstChild:{type:Boolean,default:!1}},emits:["navigate"],setup(e,{emit:n}){t.useCssVars(s=>({"6c03e4b5":a.width}));const a=e,i=n,o=({item:s,child:u})=>{i("navigate",{item:s,child:u})};return(s,u)=>(t.openBlock(),t.createElementBlock("nav",{class:t.normalizeClass(["unnnic-sidebar",`unnnic-sidebar--${e.position}`])},[t.renderSlot(s.$slots,"top",{class:"unnnic-sidebar-top"},void 0,!0),t.createElementVNode("ul",j5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(c,f)=>(t.openBlock(),t.createElementBlock("li",{key:c},[t.createVNode(ms,{item:c,active:{item:e.active.itemIndex===f,childIndex:e.active.childIndex},autoNavigateFirstChild:e.autoNavigateFirstChild,"data-testid":"sidebar-item",onNavigate:u[0]||(u[0]=_=>o(_))},null,8,["item","active","autoNavigateFirstChild"])]))),128))]),t.renderSlot(s.$slots,"bottom",{class:"unnnic-sidebar-bottom"},void 0,!0)],2))}}),[["__scopeId","data-v-7bdf478e"]]),_Z="",N5={name:"UnnnicTable",components:{},props:{items:{type:Array}},data(){return{value:!1}},computed:{}},S5={class:"unnnic-table"},T5={class:"header"},I5={class:"scroll"};function O5(e,n,a,i,o,s){return t.withDirectives((t.openBlock(),t.createElementBlock("div",S5,[t.createElementVNode("div",T5,[t.renderSlot(e.$slots,"header",{},void 0,!0)]),n[0]||(n[0]=t.createElementVNode("div",null,[t.createElementVNode("div",{class:"item-spacer"})],-1)),t.createElementVNode("div",I5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.items,(u,c)=>(t.openBlock(),t.createElementBlock("div",{key:c,class:"item"},[t.renderSlot(e.$slots,"item",{item:u},void 0,!0)]))),128))])],512)),[[t.vShow,!0]])}const lc=z(N5,[["render",O5],["__scopeId","data-v-b2229274"]]),gZ="",hZ="",L5={name:"UnnnicTableRow",props:{headers:{type:Array}},data(){return{}}},z5={class:"table-row"},q5={class:"break-text"};function P5(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",z5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.headers,(u,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:u.id},[t.createElementVNode("div",{class:"col",style:t.normalizeStyle({width:u.width,flex:u.flex,minWidth:0})},[t.renderSlot(e.$slots,u.id,{},()=>[t.createElementVNode("div",q5,t.toDisplayString(u.text),1)],!0)],4),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["divider",{condensed:u.condensed}])},null,2),[[t.vShow,c+1!==a.headers.length]])],64))),128))])}const uc=z(L5,[["render",P5],["__scopeId","data-v-cb0c6b93"]]);function xg(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Yr(e){return typeof e=="function"?e():t.unref(e)}const Mg=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const V5=Object.prototype.toString,U5=e=>V5.call(e)==="[object Object]",Hr=()=>{},cc=R5();function R5(){var e,n;return Mg&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const Bg={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function Y5(...e){if(e.length!==1)return t.toRef(...e);const n=e[0];return typeof n=="function"?t.readonly(t.customRef(()=>({get:n,set:Hr}))):t.ref(n)}function Qr(e){var n;const a=Yr(e);return(n=a==null?void 0:a.$el)!=null?n:a}const vg=Mg?window:void 0;function Fs(...e){let n,a,i,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,o]=e,n=vg):[n,a,i,o]=e,!n)return Hr;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const s=[],u=()=>{s.forEach(g=>g()),s.length=0},c=(g,m,F,b)=>(g.addEventListener(m,F,b),()=>g.removeEventListener(m,F,b)),f=t.watch(()=>[Qr(n),Yr(o)],([g,m])=>{if(u(),!g)return;const F=U5(m)?{...m}:m;s.push(...a.flatMap(b=>i.map(k=>c(g,b,k,F))))},{immediate:!0,flush:"post"}),_=()=>{f(),u()};return xg(_),_}let jg=!1;function Ng(e,n,a={}){const{window:i=vg,ignore:o=[],capture:s=!0,detectIframe:u=!1}=a;if(!i)return Hr;cc&&!jg&&(jg=!0,Array.from(i.document.body.children).forEach(F=>F.addEventListener("click",Hr)),i.document.documentElement.addEventListener("click",Hr));let c=!0;const f=F=>o.some(b=>{if(typeof b=="string")return Array.from(i.document.querySelectorAll(b)).some(k=>k===F.target||F.composedPath().includes(k));{const k=Qr(b);return k&&(F.target===k||F.composedPath().includes(k))}}),g=[Fs(i,"click",F=>{const b=Qr(e);if(!(!b||b===F.target||F.composedPath().includes(b))){if(F.detail===0&&(c=!f(F)),!c){c=!0;return}n(F)}},{passive:!0,capture:s}),Fs(i,"pointerdown",F=>{const b=Qr(e);c=!f(F)&&!!(b&&!F.composedPath().includes(b))},{passive:!0}),u&&Fs(i,"blur",F=>{setTimeout(()=>{var b;const k=Qr(e);((b=i.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!(k!=null&&k.contains(i.document.activeElement))&&n(F)},0)})].filter(Boolean);return()=>g.forEach(F=>F())}const Gr={[Bg.mounted](e,n){const a=!n.modifiers.bubble;if(typeof n.value=="function")e.__onClickOutside_stop=Ng(e,n.value,{capture:a});else{const[i,o]=n.value;e.__onClickOutside_stop=Ng(e,i,Object.assign({capture:a},o))}},[Bg.unmounted](e){e.__onClickOutside_stop()}};function dc(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Sg(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const a=e.parentNode;return!a||a.tagName==="BODY"?!1:Sg(a)}}function H5(e){const n=e||window.event,a=n.target;return Sg(a)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const fc=new WeakMap;function Q5(e,n=!1){const a=t.ref(n);let i=null,o="";t.watch(Y5(e),c=>{const f=dc(Yr(c));if(f){const _=f;if(fc.get(_)||fc.set(_,_.style.overflow),_.style.overflow!=="hidden"&&(o=_.style.overflow),_.style.overflow==="hidden")return a.value=!0;if(a.value)return _.style.overflow="hidden"}},{immediate:!0});const s=()=>{const c=dc(Yr(e));!c||a.value||(cc&&(i=Fs(c,"touchmove",f=>{H5(f)},{passive:!1})),c.style.overflow="hidden",a.value=!0)},u=()=>{const c=dc(Yr(e));!c||!a.value||(cc&&(i==null||i()),c.style.overflow=o,fc.delete(c),a.value=!1)};return xg(u),t.computed({get(){return a.value},set(c){c?s():u()}})}function G5(){let e=!1;const n=t.ref(!1);return(a,i)=>{if(n.value=i.value,e)return;e=!0;const o=Q5(a,i.value);t.watch(n,s=>o.value=s)}}G5();const mZ="",W5={name:"UnnnicDropdown",directives:{onClickOutside:Gr},props:{useOpenProp:{type:Boolean,default:!1},open:{type:Boolean,default:!1},forceOpen:{type:Boolean,default:!1},position:{type:String,default:"bottom-left",validator(e){return["top-left","top-right","none","bottom-left","bottom-right"].indexOf(e)!==-1}}},emits:["update:open"],data(){return{active:!1}},watch:{open:{handler(){this.active=this.open},immediate:!0},active(){this.useOpenProp||this.$emit("update:open",this.active)}},methods:{onClickTrigger(){this.forceOpen||(this.useOpenProp?this.$emit("update:open",!this.open):this.active=!this.active)},onClickOutside(){if(!this.forceOpen){if(this.useOpenProp&&this.open){this.$emit("update:open",!1);return}this.active&&(this.active=!1)}}}},X5={class:"unnnic-dropdown__trigger"};function K5(e,n,a,i,o,s){const u=t.resolveDirective("on-click-outside");return t.openBlock(),t.createElementBlock("div",{class:"unnnic-dropdown",onClick:n[0]||(n[0]=t.withModifiers((...c)=>s.onClickTrigger&&s.onClickTrigger(...c),["stop"]))},[t.createElementVNode("div",X5,[t.renderSlot(e.$slots,"trigger",{},void 0,!0),(a.useOpenProp?a.open:o.active)?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:0,"data-testid":"dropdown-content",class:t.normalizeClass(["unnnic-dropdown__content",a.useOpenProp?a.open:o.active?"":"unnnic-dropdown__content--hidden",`unnnic-dropdown__content__position-${a.position}`])},[t.renderSlot(e.$slots,"default",{},void 0,!0)],2)),[[u,s.onClickOutside]]):t.createCommentVNode("",!0)])])}const Wr=z(W5,[["render",K5],["__scopeId","data-v-eb4f06f5"]]),FZ="",Z5={name:"UnnnicDropdownItem"},J5={class:"unnnic-dropdown-item unnnic--clickable","data-testid":"dropdown-item"};function $5(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("a",J5,[t.renderSlot(e.$slots,"default")])}const ps=z(Z5,[["render",$5]]),pZ="",e8={components:{UnnnicIcon:ee},props:{enabled:{type:Boolean,default:!0},icon:{type:String,default:"graph-stats-1"},size:{type:String,default:"sm",validator(e){return["nano","xs","sm","lg","xl"].indexOf(e)!==-1}},scheme:{type:String,default:"aux-blue"},filled:{type:Boolean,default:!1},opacity:{type:Boolean,default:!0}},computed:{iconSize(){return{nano:"xs",xs:"sm",sm:"md",lg:"lg",xl:"xl"}[this.size]}}};function t8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-avatar-icon",a.scheme,a.size,{disabled:!a.enabled},a.filled,{opacity:!a.opacity}])},[t.createVNode(u,{icon:a.icon,scheme:a.enabled?a.scheme:"neutral-cloudy",size:s.iconSize,filled:a.filled},null,8,["icon","scheme","size","filled"])],2)}const Pn=z(e8,[["render",t8],["__scopeId","data-v-d0742329"]]),bZ="",a8={name:"UnnnicCard",components:{UnnnicIcon:ee,UnnnicAvatarIcon:Pn},props:{title:{type:String,default:null},value:{type:Number,default:null},icon:{type:String,default:null},percent:{type:Number,default:0},invertedPercentage:{type:Boolean,default:!1},scheme:{type:String,default:null}},computed:{color(){return this.invertedPercentage?this.percent<0?"green":"red":this.percent<0?"red":"green"}}},n8={class:"unnnic-card-dash"},i8={class:"header"},r8={class:"label"},o8={class:"content"},s8={class:"value"},l8={class:"label"};function u8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicAvatarIcon"),c=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",n8,[t.createElementVNode("div",i8,[t.createVNode(u,{size:"sm",scheme:a.scheme,icon:a.icon},null,8,["scheme","icon"]),t.createElementVNode("div",r8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",o8,[t.createElementVNode("div",s8,t.toDisplayString(a.value),1),a.percent?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["percent",`unnnic-card-scheme--feedback-${s.color}`])},[t.createVNode(c,{icon:`graph-stats-${a.percent>=0?"ascend":"descend"}-2`,scheme:`feedback-${s.color}`,size:"sm",class:"icon"},null,8,["icon","scheme"]),t.createElementVNode("div",l8,t.toDisplayString(a.percent>=0?`+${a.percent}%`:`${a.percent}%`),1)],2)):t.createCommentVNode("",!0)])])}const c8=z(a8,[["render",u8],["__scopeId","data-v-aab8cf56"]]),yZ="",d8={name:"UnnnicCard",components:{ToolTip:At,UnnnicIcon:ee},props:{title:{type:String,default:null},info:{type:String,default:null},icon:{type:String,default:null},infoPosition:{type:String,default:"right"},scheme:{type:String,default:null},hasInformationIcon:{type:Boolean,default:!0},enabled:{type:Boolean,default:!0}}},f8={class:"unnnic-card-title"},_8={class:"title"};function g8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("ToolTip");return t.openBlock(),t.createElementBlock("div",f8,[t.createElementVNode("div",{class:t.normalizeClass(["avatar-icon",`unnnic-card-scheme--${a.scheme}`])},[t.createVNode(u,{icon:a.icon,scheme:a.scheme,size:"md"},null,8,["icon","scheme"])],2),t.createElementVNode("div",_8,t.toDisplayString(a.title),1),a.hasInformationIcon?(t.openBlock(),t.createBlock(c,{key:0,class:"information",side:a.infoPosition,text:a.info,enabled:a.enabled},{default:t.withCtx(()=>[t.createVNode(u,{icon:"information-circle-4",class:"unnnic-card-title__content_info",size:"sm",scheme:"neutral-soft"})]),_:1},8,["side","text","enabled"])):t.createCommentVNode("",!0)])}const Tg=z(d8,[["render",g8],["__scopeId","data-v-14d9d015"]]),wZ="",h8={name:"UnnnicCard",components:{UnnnicIcon:ee},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},status:{type:String,default:null},scheme:{type:String,default:null}}},m8={class:"header"},F8={class:"label"},p8={class:"content"},b8={class:"title-container"},y8={class:"title"},w8={class:"description"};function k8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-card-status",`unnnic-card-scheme--${a.scheme}--border`])},[t.createElementVNode("div",m8,[t.createVNode(u,{icon:a.icon,scheme:"neutral-dark",size:"md",class:"icon"},null,8,["icon"]),t.createElementVNode("div",F8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",p8,[t.createElementVNode("div",b8,[t.createVNode(u,{icon:"indicator",scheme:a.scheme,size:"sm"},null,8,["scheme"]),t.createElementVNode("div",y8,t.toDisplayString(a.status),1)]),t.createElementVNode("div",w8,t.toDisplayString(a.description),1)])],2)}const D8=z(h8,[["render",k8],["__scopeId","data-v-1fc599bf"]]),kZ="",A8={name:"UnnnicCard",components:{UnnnicAvatarIcon:Pn},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},enabled:{type:Boolean,default:!0},scheme:{type:String,default:null}}},E8={class:"icon"},C8={class:"content"},x8={class:"title"},M8={class:"description"};function B8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-account":!0,enabled:a.enabled})},[t.createElementVNode("div",E8,[t.createVNode(u,{size:"xs",scheme:a.scheme,icon:a.icon,enabled:a.enabled},null,8,["scheme","icon","enabled"])]),t.createElementVNode("div",C8,[t.createElementVNode("div",x8,t.toDisplayString(a.title),1),t.createElementVNode("div",M8,t.toDisplayString(a.description),1)])],2)}const v8=z(A8,[["render",B8],["__scopeId","data-v-7f42cb11"]]),DZ="",j8={name:"UnnnicCard",props:{title:{type:String,default:null},description:{type:String,default:null},clickable:{type:Boolean,default:!1}}},N8={class:"unnnic-card-default__content"},S8={class:"unnnic-card-default__title"},T8=["title"];function I8(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-default":!0,"unnnic-card-default__clickable":a.clickable})},[t.createElementVNode("div",N8,[t.createElementVNode("div",S8,t.toDisplayString(a.title),1),t.createElementVNode("p",{class:"unnnic-card-default__description",title:a.description},t.toDisplayString(a.description),9,T8)])],2)}const O8=z(j8,[["render",I8]]),AZ="",L8={name:"UnnnicCard",components:{UnnnicIcon:ee},props:{text:{type:String,default:null},icon:{type:String,default:null},clickable:{type:Boolean,default:!1}}},z8={class:"unnnic-card-blank__content"},q8={class:"unnnic-card-blank__content__text"};function P8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-blank":!0,"unnnic-card-blank__clickable":a.clickable})},[t.createElementVNode("div",z8,[t.createVNode(u,{icon:a.icon,scheme:"neutral-clean",class:"unnnic-card-blank__content__icon",size:"xl"},null,8,["icon"]),t.createElementVNode("div",q8,t.toDisplayString(a.text),1)])],2)}const V8=z(L8,[["render",P8]]),EZ="",U8={name:"UnnnicCard",components:{UnnnicIcon:ee},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},enabled:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1}}},R8={class:"unnnic-card-content__content"},Y8={class:"unnnic-card-content__content__title"},H8={class:"unnnic-card-content__content__description"};function Q8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-content":!0,"unnnic-card-content--disabled":!a.enabled,"unnnic-card-content__clickable":a.clickable})},[t.createElementVNode("div",{class:t.normalizeClass(["unnnic-card-content__icon",a.enabled&&"unnnic-card-content__icon--disabled"])},[t.createVNode(u,{icon:a.icon,scheme:"neutral-cloudy",size:"sm"},null,8,["icon"])],2),t.createElementVNode("div",R8,[t.createElementVNode("div",Y8,t.toDisplayString(a.title),1),t.createElementVNode("div",H8,t.toDisplayString(a.description),1)])],2)}const G8=z(U8,[["render",Q8]]),CZ="",W8={name:"UnnnicCard",components:{UnnnicIcon:ee},props:{title:{type:String,default:null},description:{type:String,default:null},comments:{type:String,default:null},clickable:{type:Boolean,default:!1},iconSrc:{type:String,default:null},rating:{type:Number,default:0},typeAction:{type:String,default:null}},methods:{cardClick(){this.$emit("openModal")}}},X8={class:t.normalizeClass(["unnnic-card-marketplace__icons"])},K8=["src"],Z8={class:"unnnic-card-marketplace__content"},J8={class:"unnnic-card-marketplace__content__title"},$8=["title"],e7={key:0,class:"unnnic-card-marketplace__content__rating"},t7={class:"unnnic-card-marketplace__content__rating__value"},a7={class:"unnnic-card-marketplace__content__rating__comments"};function n7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-marketplace":!0,"unnnic-card-marketplace__clickable":a.clickable,"unnnic-card-marketplace__add":a.typeAction==="add","unnnic-card-marketplace__config":a.typeAction==="config","unnnic-card-marketplace__edit":a.typeAction==="edit"}),onClick:n[0]||(n[0]=(...c)=>s.cardClick&&s.cardClick(...c))},[t.createElementVNode("div",X8,[t.createElementVNode("img",{class:"unnnic-card-marketplace__icons__app",src:a.iconSrc},null,8,K8),t.renderSlot(e.$slots,"actions")]),t.createElementVNode("div",Z8,[t.createElementVNode("div",J8,t.toDisplayString(a.title),1),t.createElementVNode("div",{class:"unnnic-card-marketplace__content__description",title:a.description},t.toDisplayString(a.description),9,$8),a.typeAction==="add"?(t.openBlock(),t.createElementBlock("div",e7,[t.createVNode(u,{class:"unnnic-card-marketplace__content__rating__star",scheme:"feedback-yellow",icon:"rating-star-1",size:"ant"}),t.createElementVNode("div",t7,t.toDisplayString(a.rating),1),t.createElementVNode("div",a7," ("+t.toDisplayString(a.comments)+") ",1)])):t.createCommentVNode("",!0)])],2)}const i7=z(W8,[["render",n7]]),xZ="",r7={name:"UnnnicCard",props:{type:{type:String,default:"title",validator(e){return["title","status","dash","account","default","blank","content","marketplace"].indexOf(e)!==-1}},title:{type:String,default:null},description:{type:String,default:null},status:{type:String,default:null},info:{type:String,default:null},text:{type:String,default:null},value:{type:Number,default:null},percent:{type:Number,default:0},invertedPercentage:{type:Boolean,default:!1},rating:{type:Number,default:0},comments:{type:String,default:null},enabled:{type:Boolean,default:!0},icon:{type:String,default:null},iconSrc:{type:String,default:null},infoPosition:{type:String,default:"right"},hasInformationIcon:{type:Boolean,default:!0},scheme:{type:String,default:"aux-blue",validator(e){return["feedback-red","feedback-green","feedback-yellow","feedback-blue","feedback-grey","aux-blue","aux-purple","aux-orange","aux-lemon","aux-pink","brand-weni-soft"].indexOf(e)!==-1}},clickable:{type:Boolean,default:!1},typeAction:{type:String,default:null,validator(e){return["add","config","edit"].indexOf(e)!==-1}},buttonAction:{type:Function,default:()=>{}}},computed:{currentTypeIcon(){return this.icon?this.icon:this.type==="title"?"graph-stats-1":this.type==="dash"?"messages-bubble-1":this.type==="status"?"science-fiction-robot-2":this.type==="account"?"single-neutral-2":null},currentComponent(){return this.type==="title"?Tg:this.type==="dash"?c8:this.type==="status"?D8:this.type==="account"?v8:this.type==="default"?O8:this.type==="blank"?V8:this.type==="content"?G8:this.type==="marketplace"?i7:Tg}},methods:{openModal(){this.$emit("openModal")}}};function o7(e,n,a,i,o,s){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(s.currentComponent),t.mergeProps({class:"unnnic-card-component"},e.$attrs,{title:a.title,text:a.text,info:a.info,icon:s.currentTypeIcon,iconSrc:a.iconSrc,rating:a.rating,comments:a.comments,typeAction:a.typeAction,buttonAction:a.buttonAction,value:a.value,percent:a.percent,invertedPercentage:a.invertedPercentage||null,status:a.status,description:a.description,infoPosition:a.infoPosition,enabled:a.enabled,scheme:a.scheme,clickable:a.clickable||null,hasInformationIcon:a.hasInformationIcon||null,onOpenModal:s.openModal}),t.createSlots({_:2},[t.renderList(e.$slots,(u,c)=>({name:c,fn:t.withCtx(()=>[t.renderSlot(e.$slots,c)])}))]),1040,["title","text","info","icon","iconSrc","rating","comments","typeAction","buttonAction","value","percent","invertedPercentage","status","description","infoPosition","enabled","scheme","clickable","hasInformationIcon","onOpenModal"])}const _c=z(r7,[["render",o7]]),MZ="",gc={name:"UnnnicSimpleCard",components:{UnnnicToolTip:At,UnnnicIcon:ee},props:{title:{type:String,default:""},titleSize:{type:String,default:"16px"},titleTooltip:{type:String,default:""},text:{type:String,default:""},clickable:{type:Boolean,default:!1}},emits:["click"]},Ig=()=>{t.useCssVars(e=>({"14ad6579":e.titleSize}))},Og=gc.setup;gc.setup=Og?(e,n)=>(Ig(),Og(e,n)):Ig;const s7={key:0,class:"unnnic-simple-card__header"},l7={class:"unnnic-simple-card-header-container"},u7={class:"unnnic-simple-card-header-container__title"},c7={key:0,class:"unnnic-simple-card__header-slot"},d7=["title"],f7={key:2,class:"unnnic-simple-card__footer"};function _7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicToolTip");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass({"unnnic-simple-card":!0,"unnnic-simple-card--clickable":a.clickable}),onClick:n[0]||(n[0]=t.withModifiers(f=>a.clickable&&e.$emit("click"),["stop"]))},[a.title||e.$slots.headerSlot?(t.openBlock(),t.createElementBlock("section",s7,[t.createElementVNode("section",l7,[t.createElementVNode("h1",u7,t.toDisplayString(a.title),1),a.titleTooltip?(t.openBlock(),t.createBlock(c,{key:0,text:a.titleTooltip,enabled:"",class:"unnnic-simple-card-header-container__title-tooltip"},{default:t.withCtx(()=>[t.createVNode(u,{icon:"info",size:"nano",scheme:"neutral-cloudy"})]),_:1},8,["text"])):t.createCommentVNode("",!0)]),e.$slots.headerSlot?(t.openBlock(),t.createElementBlock("section",c7,[t.renderSlot(e.$slots,"headerSlot",{},void 0,!0)])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),a.text?(t.openBlock(),t.createElementBlock("p",{key:1,class:"unnnic-simple-card__text",title:a.text},t.toDisplayString(a.text),9,d7)):t.createCommentVNode("",!0),e.$slots.footer?(t.openBlock(),t.createElementBlock("section",f7,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])):t.createCommentVNode("",!0)],2)}const hc=z(gc,[["render",_7],["__scopeId","data-v-80dbbab7"]]),BZ="",g7={name:"UnnnicTag",components:{UnnnicIcon:ee},props:{text:{type:String,default:null},clickable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},hasCloseIcon:{type:Boolean,default:!1},scheme:{type:String,default:"aux-purple"},leftIcon:{type:String,default:null},rightIcon:{type:String,default:null}},methods:{closeClicked(){this.closeClicked&&this.$emit("close-click")},emitClose(){this.$emit("close")}}},h7={key:0,class:"unnnic-tag__icon"};function m7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(`unnnic-tag
59
+ */const p9="9.14.5";function b9(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(mn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(mn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(mn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(mn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(mn().__INTLIFY_PROD_DEVTOOLS__=!1)}const ng=Pt.__EXTEND_POINT__,pn=is(ng),ot={FALLBACK_TO_ROOT:ng,NOT_SUPPORTED_PRESERVE:pn(),NOT_SUPPORTED_FORMATTER:pn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:pn(),NOT_SUPPORTED_GET_CHOICE_INDEX:pn(),COMPONENT_NAME_LEGACY_COMPATIBLE:pn(),NOT_FOUND_PARENT_SCOPE:pn(),IGNORE_OBJ_FLATTEN:pn(),NOTICE_DROP_ALLOW_COMPOSITION:pn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:pn()},y9={[ot.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ot.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ot.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ot.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ot.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ot.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ot.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ot.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[ot.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Gt(e,...n){return Nu(y9[e],...n)}const ig=Et.__EXTEND_POINT__,Wt=is(ig),Le={UNEXPECTED_RETURN_TYPE:ig,INVALID_ARGUMENT:Wt(),MUST_BE_CALL_SETUP_TOP:Wt(),NOT_INSTALLED:Wt(),NOT_AVAILABLE_IN_LEGACY_MODE:Wt(),REQUIRED_VALUE:Wt(),INVALID_VALUE:Wt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Wt(),NOT_INSTALLED_WITH_PROVIDE:Wt(),UNEXPECTED_ERROR:Wt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Wt(),BRIDGE_SUPPORT_VUE_2_ONLY:Wt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Wt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Wt(),__EXTEND_POINT__:Wt()};function bt(e,...n){return Hi(e,null,process.env.NODE_ENV!=="production"?{messages:w9,args:n}:void 0)}const w9={[Le.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Le.INVALID_ARGUMENT]:"Invalid argument",[Le.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Le.NOT_INSTALLED]:"Need to install with `app.use` function",[Le.UNEXPECTED_ERROR]:"Unexpected error",[Le.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Le.REQUIRED_VALUE]:"Required in value: {0}",[Le.INVALID_VALUE]:"Invalid value",[Le.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Le.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Le.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Le.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Qu=Xa("__translateVNode"),Gu=Xa("__datetimeParts"),Wu=Xa("__numberParts"),gi=Xa("__enableEmitter"),Vr=Xa("__disableEmitter"),rg=Xa("__setPluralRules"),og=Xa("__injectWithOption"),Xu=Xa("__dispose");function Ur(e){if(!Se(e)||Fa(e))return e;for(const n in e)if(Oa(e,n))if(!n.includes("."))Se(e[n])&&Ur(e[n]);else{const a=n.split("."),i=a.length-1;let o=e,s=!1;for(let u=0;u<i;u++){if(a[u]==="__proto__")throw new Error(`unsafe key: ${a[u]}`);if(a[u]in o||(o[a[u]]=We()),!Se(o[a[u]])){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.IGNORE_OBJ_FLATTEN,{key:a[u]})),s=!0;break}o=o[a[u]]}if(s||(Fa(o)?b_.includes(a[i])||delete e[n]:(o[a[i]]=e[n],delete e[n])),!Fa(o)){const u=o[a[i]];Se(u)&&Ur(u)}}return e}function _s(e,n){const{messages:a,__i18n:i,messageResolver:o,flatJson:s}=n,u=Fe(a)?a:Ze(i)?We():{[e]:We()};if(Ze(i)&&i.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:f,resource:_}=c;f?(u[f]=u[f]||We(),os(_,u[f])):os(_,u)}else $(c)&&os(JSON.parse(c),u)}),o==null&&s)for(const c in u)Oa(u,c)&&Ur(u[c]);return u}function sg(e){return e.type}function lg(e,n,a){let i=Se(n.messages)?n.messages:We();"__i18nGlobal"in a&&(i=_s(e.locale.value,{messages:i,__i18n:a.__i18nGlobal}));const o=Object.keys(i);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,i[s])});{if(Se(n.datetimeFormats)){const s=Object.keys(n.datetimeFormats);s.length&&s.forEach(u=>{e.mergeDateTimeFormat(u,n.datetimeFormats[u])})}if(Se(n.numberFormats)){const s=Object.keys(n.numberFormats);s.length&&s.forEach(u=>{e.mergeNumberFormat(u,n.numberFormats[u])})}}}function ug(e){return t.createVNode(t.Text,null,e,0)}const cg="__INTLIFY_META__",dg=()=>[],k9=()=>!1;let fg=0;function _g(e){return(n,a,i,o)=>e(a,i,t.getCurrentInstance()||void 0,o)}const D9=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=sg(e)[cg])?{[cg]:n}:null};function Ku(e={},n){const{__root:a,__injectWithOption:i}=e,o=a===void 0,s=e.flatJson,u=Ia?t.ref:t.shallowRef,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&Z0(Gt(ot.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let f=Ae(e.inheritLocale)?e.inheritLocale:!0;const _=u(a&&f?a.locale.value:$(e.locale)?e.locale:Wi),g=u(a&&f?a.fallbackLocale.value:$(e.fallbackLocale)||Ze(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:_.value),m=u(_s(_.value,e)),F=u(Fe(e.datetimeFormats)?e.datetimeFormats:{[_.value]:{}}),b=u(Fe(e.numberFormats)?e.numberFormats:{[_.value]:{}});let k=a?a.missingWarn:Ae(e.missingWarn)||On(e.missingWarn)?e.missingWarn:!0,x=a?a.fallbackWarn:Ae(e.fallbackWarn)||On(e.fallbackWarn)?e.fallbackWarn:!0,D=a?a.fallbackRoot:Ae(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,L=Xe(e.missing)?e.missing:null,E=Xe(e.missing)?_g(e.missing):null,j=Xe(e.postTranslation)?e.postTranslation:null,q=a?a.warnHtmlMessage:Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const P=a?a.modifiers:Fe(e.modifiers)?e.modifiers:{};let O=e.pluralRules||a&&a.pluralRules,U;U=(()=>{o&&I_(null);const R={version:p9,locale:_.value,fallbackLocale:g.value,messages:m.value,modifiers:P,pluralRules:O,missing:E===null?void 0:E,missingWarn:k,fallbackWarn:x,fallbackFormat:N,unresolving:!0,postTranslation:j===null?void 0:j,warnHtmlMessage:q,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=F.value,R.numberFormats=b.value,R.__datetimeFormatters=Fe(U)?U.__datetimeFormatters:void 0,R.__numberFormatters=Fe(U)?U.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=Fe(U)?U.__v_emitter:void 0);const X=$D(R);return o&&I_(X),X})(),Pr(U,_.value,g.value);function ke(){return[_.value,g.value,m.value,F.value,b.value]}const le=t.computed({get:()=>_.value,set:R=>{_.value=R,U.locale=_.value}}),fe=t.computed({get:()=>g.value,set:R=>{g.value=R,U.fallbackLocale=g.value,Pr(U,_.value,R)}}),ze=t.computed(()=>m.value),He=t.computed(()=>F.value),Ce=t.computed(()=>b.value);function Me(){return Xe(j)?j:null}function te(R){j=R,U.postTranslation=R}function st(){return L}function Vt(R){R!==null&&(E=_g(R)),L=R,U.missing=E}function wt(R,X){return R!=="translate"||!X.resolvedMessage}const Ct=(R,X,Te,nt,wa,Xn)=>{ke();let an;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&S_(D9()),o||(U.fallbackContext=a?JD():void 0),an=R(U)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&S_(null),o||(U.fallbackContext=void 0)}if(Te!=="translate exists"&&gt(an)&&an===cs||Te==="translate exists"&&!an){const[Pa,uo]=X();if(process.env.NODE_ENV!=="production"&&a&&$(Pa)&&wt(Te,uo)&&(D&&(fs(x,Pa)||L_(k,Pa))&&Ft(Gt(ot.FALLBACK_TO_ROOT,{key:Pa,type:Te})),process.env.NODE_ENV!=="production")){const{__v_emitter:lr}=U;lr&&D&&lr.emit("fallback",{type:Te,key:Pa,to:"global",groupId:`${Te}:${Pa}`})}return a&&D?nt(a):wa(Pa)}else{if(Xn(an))return an;throw bt(Le.UNEXPECTED_RETURN_TYPE)}};function lt(...R){return Ct(X=>Reflect.apply(H_,null,[X,...R]),()=>Uu(...R),"translate",X=>Reflect.apply(X.t,X,[...R]),X=>X,X=>$(X))}function dt(...R){const[X,Te,nt]=R;if(nt&&!Se(nt))throw bt(Le.INVALID_ARGUMENT);return lt(X,Te,Mt({resolvedMessage:!0},nt||{}))}function jt(...R){return Ct(X=>Reflect.apply(K_,null,[X,...R]),()=>Ru(...R),"datetime format",X=>Reflect.apply(X.d,X,[...R]),()=>ds,X=>$(X))}function ra(...R){return Ct(X=>Reflect.apply($_,null,[X,...R]),()=>Yu(...R),"number format",X=>Reflect.apply(X.n,X,[...R]),()=>ds,X=>$(X))}function Je(R){return R.map(X=>$(X)||gt(X)||Ae(X)?ug(String(X)):X)}const Ot={normalize:Je,interpolate:R=>R,type:"vnode"};function sa(...R){return Ct(X=>{let Te;const nt=X;try{nt.processor=Ot,Te=Reflect.apply(H_,null,[nt,...R])}finally{nt.processor=null}return Te},()=>Uu(...R),"translate",X=>X[Qu](...R),X=>[ug(X)],X=>Ze(X))}function Kt(...R){return Ct(X=>Reflect.apply($_,null,[X,...R]),()=>Yu(...R),"number format",X=>X[Wu](...R),dg,X=>$(X)||Ze(X))}function Ut(...R){return Ct(X=>Reflect.apply(K_,null,[X,...R]),()=>Ru(...R),"datetime format",X=>X[Gu](...R),dg,X=>$(X)||Ze(X))}function Gn(R){O=R,U.pluralRules=O}function K(R,X){return Ct(()=>{if(!R)return!1;const Te=$(X)?X:_.value,nt=Nt(Te),wa=U.messageResolver(nt,R);return c?wa!=null:Fa(wa)||pa(wa)||$(wa)},()=>[R],"translate exists",Te=>Reflect.apply(Te.te,Te,[R,X]),k9,Te=>Ae(Te))}function Be(R){let X=null;const Te=E_(U,g.value,_.value);for(let nt=0;nt<Te.length;nt++){const wa=m.value[Te[nt]]||{},Xn=U.messageResolver(wa,R);if(Xn!=null){X=Xn;break}}return X}function ki(R){const X=Be(R);return X??(a?a.tm(R)||{}:{})}function Nt(R){return m.value[R]||{}}function Wn(R,X){if(s){const Te={[R]:X};for(const nt in Te)Oa(Te,nt)&&Ur(Te[nt]);X=Te[R]}m.value[R]=X,U.messages=m.value}function lo(R,X){m.value[R]=m.value[R]||{};const Te={[R]:X};if(s)for(const nt in Te)Oa(Te,nt)&&Ur(Te[nt]);X=Te[R],os(X,m.value[R]),U.messages=m.value}function C(R){return F.value[R]||{}}function v(R,X){F.value[R]=X,U.datetimeFormats=F.value,J_(U,R,X)}function G(R,X){F.value[R]=Mt(F.value[R]||{},X),U.datetimeFormats=F.value,J_(U,R,X)}function ue(R){return b.value[R]||{}}function $e(R,X){b.value[R]=X,U.numberFormats=b.value,tg(U,R,X)}function qe(R,X){b.value[R]=Mt(b.value[R]||{},X),U.numberFormats=b.value,tg(U,R,X)}fg++,a&&Ia&&(t.watch(a.locale,R=>{f&&(_.value=R,U.locale=R,Pr(U,_.value,g.value))}),t.watch(a.fallbackLocale,R=>{f&&(g.value=R,U.fallbackLocale=R,Pr(U,_.value,g.value))}));const Ue={id:fg,locale:le,fallbackLocale:fe,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&a&&(_.value=a.locale.value,g.value=a.fallbackLocale.value,Pr(U,_.value,g.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:ze,get modifiers(){return P},get pluralRules(){return O||{}},get isGlobal(){return o},get missingWarn(){return k},set missingWarn(R){k=R,U.missingWarn=k},get fallbackWarn(){return x},set fallbackWarn(R){x=R,U.fallbackWarn=x},get fallbackRoot(){return D},set fallbackRoot(R){D=R},get fallbackFormat(){return N},set fallbackFormat(R){N=R,U.fallbackFormat=N},get warnHtmlMessage(){return q},set warnHtmlMessage(R){q=R,U.warnHtmlMessage=R},get escapeParameter(){return T},set escapeParameter(R){T=R,U.escapeParameter=R},t:lt,getLocaleMessage:Nt,setLocaleMessage:Wn,mergeLocaleMessage:lo,getPostTranslationHandler:Me,setPostTranslationHandler:te,getMissingHandler:st,setMissingHandler:Vt,[rg]:Gn};return Ue.datetimeFormats=He,Ue.numberFormats=Ce,Ue.rt=dt,Ue.te=K,Ue.tm=ki,Ue.d=jt,Ue.n=ra,Ue.getDateTimeFormat=C,Ue.setDateTimeFormat=v,Ue.mergeDateTimeFormat=G,Ue.getNumberFormat=ue,Ue.setNumberFormat=$e,Ue.mergeNumberFormat=qe,Ue[og]=i,Ue[Qu]=sa,Ue[Gu]=Ut,Ue[Wu]=Kt,process.env.NODE_ENV!=="production"&&(Ue[gi]=R=>{U.__v_emitter=R},Ue[Vr]=()=>{U.__v_emitter=void 0}),Ue}function A9(e){const n=$(e.locale)?e.locale:Wi,a=$(e.fallbackLocale)||Ze(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=Xe(e.missing)?e.missing:void 0,o=Ae(e.silentTranslationWarn)||On(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Ae(e.silentFallbackWarn)||On(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=Ae(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,f=Fe(e.modifiers)?e.modifiers:{},_=e.pluralizationRules,g=Xe(e.postTranslation)?e.postTranslation:void 0,m=$(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,F=!!e.escapeParameterHtml,b=Ae(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let k=e.messages;if(Fe(e.sharedMessages)){const T=e.sharedMessages;k=Object.keys(T).reduce((O,U)=>{const se=O[U]||(O[U]={});return Mt(se,T[U]),O},k||{})}const{__i18n:x,__root:D,__injectWithOption:N}=e,L=e.datetimeFormats,E=e.numberFormats,j=e.flatJson,q=e.translateExistCompatible;return{locale:n,fallbackLocale:a,messages:k,flatJson:j,datetimeFormats:L,numberFormats:E,missing:i,missingWarn:o,fallbackWarn:s,fallbackRoot:u,fallbackFormat:c,modifiers:f,pluralRules:_,postTranslation:g,warnHtmlMessage:m,escapeParameter:F,messageResolver:e.messageResolver,inheritLocale:b,translateExistCompatible:q,__i18n:x,__root:D,__injectWithOption:N}}function Zu(e={},n){{const a=Ku(A9(e)),{__extender:i}=e,o={id:a.id,get locale(){return a.locale.value},set locale(s){a.locale.value=s},get fallbackLocale(){return a.fallbackLocale.value},set fallbackLocale(s){a.fallbackLocale.value=s},get messages(){return a.messages.value},get datetimeFormats(){return a.datetimeFormats.value},get numberFormats(){return a.numberFormats.value},get availableLocales(){return a.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER))},get missing(){return a.getMissingHandler()},set missing(s){a.setMissingHandler(s)},get silentTranslationWarn(){return Ae(a.missingWarn)?!a.missingWarn:a.missingWarn},set silentTranslationWarn(s){a.missingWarn=Ae(s)?!s:s},get silentFallbackWarn(){return Ae(a.fallbackWarn)?!a.fallbackWarn:a.fallbackWarn},set silentFallbackWarn(s){a.fallbackWarn=Ae(s)?!s:s},get modifiers(){return a.modifiers},get formatFallbackMessages(){return a.fallbackFormat},set formatFallbackMessages(s){a.fallbackFormat=s},get postTranslation(){return a.getPostTranslationHandler()},set postTranslation(s){a.setPostTranslationHandler(s)},get sync(){return a.inheritLocale},set sync(s){a.inheritLocale=s},get warnHtmlInMessage(){return a.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){a.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return a.escapeParameter},set escapeParameterHtml(s){a.escapeParameter=s},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return a.pluralRules||{}},__composer:a,t(...s){const[u,c,f]=s,_={};let g=null,m=null;if(!$(u))throw bt(Le.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:Ze(c)?g=c:Fe(c)&&(m=c),Ze(f)?g=f:Fe(f)&&(m=f),Reflect.apply(a.t,a,[F,g||m||{},_])},rt(...s){return Reflect.apply(a.rt,a,[...s])},tc(...s){const[u,c,f]=s,_={plural:1};let g=null,m=null;if(!$(u))throw bt(Le.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:gt(c)?_.plural=c:Ze(c)?g=c:Fe(c)&&(m=c),$(f)?_.locale=f:Ze(f)?g=f:Fe(f)&&(m=f),Reflect.apply(a.t,a,[F,g||m||{},_])},te(s,u){return a.te(s,u)},tm(s){return a.tm(s)},getLocaleMessage(s){return a.getLocaleMessage(s)},setLocaleMessage(s,u){a.setLocaleMessage(s,u)},mergeLocaleMessage(s,u){a.mergeLocaleMessage(s,u)},d(...s){return Reflect.apply(a.d,a,[...s])},getDateTimeFormat(s){return a.getDateTimeFormat(s)},setDateTimeFormat(s,u){a.setDateTimeFormat(s,u)},mergeDateTimeFormat(s,u){a.mergeDateTimeFormat(s,u)},n(...s){return Reflect.apply(a.n,a,[...s])},getNumberFormat(s){return a.getNumberFormat(s)},setNumberFormat(s,u){a.setNumberFormat(s,u)},mergeNumberFormat(s,u){a.mergeNumberFormat(s,u)},getChoiceIndex(s,u){return process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=i,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=s=>{const u=a;u[gi]&&u[gi](s)},o.__disableEmitter=()=>{const s=a;s[Vr]&&s[Vr]()}),o}}const Ju={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function E9({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((i,o)=>[...i,...o.type===t.Fragment?o.children:[o]],[]):n.reduce((a,i)=>{const o=e[i];return o&&(a[i]=o()),a},We())}function gg(e){return t.Fragment}const $u=t.defineComponent({name:"i18n-t",props:Mt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>gt(e)||!isNaN(e)}},Ju),setup(e,n){const{slots:a,attrs:i}=n,o=e.i18n||nc({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(a).filter(m=>m!=="_"),u=We();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=$(e.plural)?+e.plural:e.plural);const c=E9(n,s),f=o[Qu](e.keypath,c,u),_=Mt(We(),i),g=$(e.tag)||Se(e.tag)?e.tag:gg();return t.h(g,_,f)}}});function C9(e){return Ze(e)&&!$(e[0])}function hg(e,n,a,i){const{slots:o,attrs:s}=n;return()=>{const u={part:!0};let c=We();e.locale&&(u.locale=e.locale),$(e.format)?u.key=e.format:Se(e.format)&&($(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((F,b)=>a.includes(b)?Mt(We(),F,{[b]:e.format[b]}):F,We()));const f=i(e.value,u,c);let _=[u.key];Ze(f)?_=f.map((F,b)=>{const k=o[F.type],x=k?k({[F.type]:F.value,index:b,parts:f}):[F.value];return C9(x)&&(x[0].key=`${F.type}-${b}`),x}):$(f)&&(_=[f]);const g=Mt(We(),s),m=$(e.tag)||Se(e.tag)?e.tag:gg();return t.h(m,g,_)}}const mg=t.defineComponent({name:"i18n-n",props:Mt({value:{type:Number,required:!0},format:{type:[String,Object]}},Ju),setup(e,n){const a=e.i18n||nc({useScope:e.scope,__useComponent:!0});return hg(e,n,eg,(...i)=>a[Wu](...i))}}),Fg=t.defineComponent({name:"i18n-d",props:Mt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ju),setup(e,n){const a=e.i18n||nc({useScope:e.scope,__useComponent:!0});return hg(e,n,Z_,(...i)=>a[Gu](...i))}});function x9(e,n){const a=e;if(e.mode==="composition")return a.__getInstance(n)||e.global;{const i=a.__getInstance(n);return i!=null?i.__composer:e.global.__composer}}function M9(e){const n=u=>{const{instance:c,modifiers:f,value:_}=u;if(!c||!c.$)throw bt(Le.UNEXPECTED_ERROR);const g=x9(e,c.$);process.env.NODE_ENV!=="production"&&f.preserve&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE));const m=pg(_);return[Reflect.apply(g.t,g,[...bg(m)]),g]};return{created:(u,c)=>{const[f,_]=n(c);Ia&&e.global===_&&(u.__i18nWatcher=t.watch(_.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=_,u.textContent=f},unmounted:u=>{Ia&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:c})=>{if(u.__composer){const f=u.__composer,_=pg(c);u.textContent=Reflect.apply(f.t,f,[...bg(_)])}},getSSRProps:u=>{const[c]=n(u);return{textContent:c}}}}function pg(e){if($(e))return{path:e};if(Fe(e)){if(!("path"in e))throw bt(Le.REQUIRED_VALUE,"path");return e}else throw bt(Le.INVALID_VALUE)}function bg(e){const{path:n,locale:a,args:i,choice:o,plural:s}=e,u={},c=i||{};return $(a)&&(u.locale=a),gt(o)&&(u.plural=o),gt(s)&&(u.plural=s),[n,c,u]}function B9(e,n,...a){const i=Fe(a[0])?a[0]:{},o=!!i.useI18nComponentName,s=Ae(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&o&&Ft(Gt(ot.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:$u.name})),s&&([o?"i18n":$u.name,"I18nT"].forEach(u=>e.component(u,$u)),[mg.name,"I18nN"].forEach(u=>e.component(u,mg)),[Fg.name,"I18nD"].forEach(u=>e.component(u,Fg))),e.directive("t",M9(n))}const ec={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},v9={["vue-i18n-resource-inspector"]:"Search for scopes ..."},j9={["vue-i18n-timeline"]:16764185},yg="vue-i18n: composer properties";let tc;async function N9(e,n){return new Promise((a,i)=>{try{F9({id:"vue-devtools-plugin-vue-i18n",label:ec["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[yg],app:e},o=>{tc=o,o.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{S9(u,c,n)}),o.on.inspectComponent(({componentInstance:u,instanceData:c})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&c&&(n.mode==="legacy"?u.vnode.el.__VUE_I18N__!==n.global.__composer&&kg(c,u.vnode.el.__VUE_I18N__):kg(c,u.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:ec["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:v9["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&z9(u,n)});const s=new Map;o.on.getInspectorState(async u=>{if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),P9(u,n),u.nodeId==="global"){if(!s.has(u.app)){const[c]=await o.getComponentInstances(u.app);s.set(u.app,c)}o.highlightElement(s.get(u.app))}else{const c=q9(u.nodeId,n);c&&o.highlightElement(c)}}),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&U9(u,n)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:ec["vue-i18n-timeline"],color:j9["vue-i18n-timeline"]}),a(!0)})}catch(o){console.error(o),i(!1)}})}function wg(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function S9(e,n,a){const i=a.mode==="composition"?a.global:a.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==i){const o={label:`i18n (${wg(e)} Scope)`,textColor:0,backgroundColor:16764185};n.tags.push(o)}}function kg(e,n){const a=yg;e.state.push({type:a,key:"locale",editable:!0,value:n.locale.value}),e.state.push({type:a,key:"availableLocales",editable:!1,value:n.availableLocales}),e.state.push({type:a,key:"fallbackLocale",editable:!0,value:n.fallbackLocale.value}),e.state.push({type:a,key:"inheritLocale",editable:!0,value:n.inheritLocale}),e.state.push({type:a,key:"messages",editable:!1,value:ac(n.messages.value)}),e.state.push({type:a,key:"datetimeFormats",editable:!1,value:n.datetimeFormats.value}),e.state.push({type:a,key:"numberFormats",editable:!1,value:n.numberFormats.value})}function ac(e){const n={};return Object.keys(e).forEach(a=>{const i=e[a];Xe(i)&&"source"in i?n[a]=L9(i):Fa(i)&&i.loc&&i.loc.source?n[a]=i.loc.source:Se(i)?n[a]=ac(i):n[a]=i}),n}const T9={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function I9(e){return e.replace(/[<>"&]/g,O9)}function O9(e){return T9[e]||e}function L9(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${I9(e.source)}")`:"(?)"}`}}}function z9(e,n){e.rootNodes.push({id:"global",label:"Global Scope"});const a=n.mode==="composition"?n.global:n.global.__composer;for(const[i,o]of n.__instances){const s=n.mode==="composition"?o:o.__composer;a!==s&&e.rootNodes.push({id:s.id.toString(),label:`${wg(i)} Scope`})}}function q9(e,n){let a=null;if(e!=="global"){for(const[i,o]of n.__instances.entries())if(o.id.toString()===e){a=i;break}}return a}function Dg(e,n){if(e==="global")return n.mode==="composition"?n.global:n.global.__composer;{const a=Array.from(n.__instances.values()).find(i=>i.id.toString()===e);return a?n.mode==="composition"?a:a.__composer:null}}function P9(e,n){const a=Dg(e.nodeId,n);return a&&(e.state=V9(a)),null}function V9(e){const n={},a="Locale related info",i=[{type:a,key:"locale",editable:!0,value:e.locale.value},{type:a,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:a,key:"availableLocales",editable:!1,value:e.availableLocales},{type:a,key:"inheritLocale",editable:!0,value:e.inheritLocale}];n[a]=i;const o="Locale messages info",s=[{type:o,key:"messages",editable:!1,value:ac(e.messages.value)}];n[o]=s;{const u="Datetime formats info",c=[{type:u,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];n[u]=c;const f="Datetime formats info",_=[{type:f,key:"numberFormats",editable:!1,value:e.numberFormats.value}];n[f]=_}return n}function Rr(e,n){if(tc){let a;n&&"groupId"in n&&(a=n.groupId,delete n.groupId),tc.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:a,time:Date.now(),meta:{},data:n||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function U9(e,n){const a=Dg(e.nodeId,n);if(a){const[i]=e.path;i==="locale"&&$(e.state.value)?a.locale.value=e.state.value:i==="fallbackLocale"&&($(e.state.value)||Ze(e.state.value)||Se(e.state.value))?a.fallbackLocale.value=e.state.value:i==="inheritLocale"&&Ae(e.state.value)&&(a.inheritLocale=e.state.value)}}function R9(e,n,a){return{beforeCreate(){const i=t.getCurrentInstance();if(!i)throw bt(Le.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=n,this===this.$root)this.$i18n=Ag(e,s);else{s.__injectWithOption=!0,s.__extender=a.__vueI18nExtend,this.$i18n=Zu(s);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Ag(e,o);else{this.$i18n=Zu({__i18n:o.__i18n,__injectWithOption:!0,__extender:a.__vueI18nExtend,__root:n});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&lg(n,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,u)=>this.$i18n.te(s,u),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),a.__setInstance(i,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const o=this.__v_emitter=Su();i.__enableEmitter&&i.__enableEmitter(o),o.on("*",Rr)}},unmounted(){const i=t.getCurrentInstance();if(!i)throw bt(Le.UNEXPECTED_ERROR);const o=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Rr),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),a.__deleteInstance(i),delete this.$i18n}}}function Ag(e,n){e.locale=n.locale||e.locale,e.fallbackLocale=n.fallbackLocale||e.fallbackLocale,e.missing=n.missing||e.missing,e.silentTranslationWarn=n.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=n.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=n.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=n.postTranslation||e.postTranslation,e.warnHtmlInMessage=n.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=n.escapeParameterHtml||e.escapeParameterHtml,e.sync=n.sync||e.sync,e.__composer[rg](n.pluralizationRules||e.pluralizationRules);const a=_s(e.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(a).forEach(i=>e.mergeLocaleMessage(i,a[i])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(i=>e.mergeDateTimeFormat(i,n.datetimeFormats[i])),n.numberFormats&&Object.keys(n.numberFormats).forEach(i=>e.mergeNumberFormat(i,n.numberFormats[i])),e}const Y9=Xa("global-vue-i18n");function H9(e={},n){const a=__VUE_I18N_LEGACY_API__&&Ae(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,i=Ae(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&a?!!e.allowComposition:!0,s=new Map,[u,c]=Q9(e,a),f=Xa(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&a&&o&&Ft(Gt(ot.NOTICE_DROP_ALLOW_COMPOSITION));function _(F){return s.get(F)||null}function g(F,b){s.set(F,b)}function m(F){s.delete(F)}{const F={get mode(){return __VUE_I18N_LEGACY_API__&&a?"legacy":"composition"},get allowComposition(){return o},async install(b,...k){if(process.env.NODE_ENV!=="production"&&(b.__VUE_I18N__=F),b.__VUE_I18N_SYMBOL__=f,b.provide(b.__VUE_I18N_SYMBOL__,F),Fe(k[0])){const N=k[0];F.__composerExtend=N.__composerExtend,F.__vueI18nExtend=N.__vueI18nExtend}let x=null;!a&&i&&(x=t5(b,F.global)),__VUE_I18N_FULL_INSTALL__&&B9(b,F,...k),__VUE_I18N_LEGACY_API__&&a&&b.mixin(R9(c,c.__composer,F));const D=b.unmount;if(b.unmount=()=>{x&&x(),F.dispose(),D()},process.env.NODE_ENV!=="production"){if(!await N9(b,F))throw bt(Le.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const L=Su();if(a){const E=c;E.__enableEmitter&&E.__enableEmitter(L)}else{const E=c;E[gi]&&E[gi](L)}L.on("*",Rr)}},get global(){return c},dispose(){u.stop()},__instances:s,__getInstance:_,__setInstance:g,__deleteInstance:m};return F}}function nc(e={}){const n=t.getCurrentInstance();if(n==null)throw bt(Le.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw bt(Le.NOT_INSTALLED);const a=G9(n),i=X9(a),o=sg(n),s=W9(e,o);if(__VUE_I18N_LEGACY_API__&&a.mode==="legacy"&&!e.__useComponent){if(!a.allowComposition)throw bt(Le.NOT_AVAILABLE_IN_LEGACY_MODE);return $9(n,s,i,e)}if(s==="global")return lg(i,e,o),i;if(s==="parent"){let f=K9(a,n,e.__useComponent);return f==null&&(process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_FOUND_PARENT_SCOPE)),f=i),f}const u=a;let c=u.__getInstance(n);if(c==null){const f=Mt({},e);"__i18n"in o&&(f.__i18n=o.__i18n),i&&(f.__root=i),c=Ku(f),u.__composerExtend&&(c[Xu]=u.__composerExtend(c)),J9(u,n,c),u.__setInstance(n,c)}return c}function Q9(e,n,a){const i=t.effectScope();{const o=__VUE_I18N_LEGACY_API__&&n?i.run(()=>Zu(e)):i.run(()=>Ku(e));if(o==null)throw bt(Le.UNEXPECTED_ERROR);return[i,o]}}function G9(e){{const n=t.inject(e.isCE?Y9:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw bt(e.isCE?Le.NOT_INSTALLED_WITH_PROVIDE:Le.UNEXPECTED_ERROR);return n}}function W9(e,n){return ns(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function X9(e){return e.mode==="composition"?e.global:e.global.__composer}function K9(e,n,a=!1){let i=null;const o=n.root;let s=Z9(n,a);for(;s!=null;){const u=e;if(e.mode==="composition")i=u.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const c=u.__getInstance(s);c!=null&&(i=c.__composer,a&&i&&!i[og]&&(i=null))}if(i!=null||o===s)break;s=s.parent}return i}function Z9(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function J9(e,n,a){let i=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=a,i=Su();const o=a;o[gi]&&o[gi](i),i.on("*",Rr)}},n),t.onUnmounted(()=>{const o=a;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(i&&i.off("*",Rr),o[Vr]&&o[Vr](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const s=o[Xu];s&&(s(),delete o[Xu])},n)}function $9(e,n,a,i={}){const o=n==="local",s=t.shallowRef(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw bt(Le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=Ae(i.inheritLocale)?i.inheritLocale:!$(i.locale),c=t.ref(!o||u?a.locale.value:$(i.locale)?i.locale:Wi),f=t.ref(!o||u?a.fallbackLocale.value:$(i.fallbackLocale)||Ze(i.fallbackLocale)||Fe(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:c.value),_=t.ref(_s(c.value,i)),g=t.ref(Fe(i.datetimeFormats)?i.datetimeFormats:{[c.value]:{}}),m=t.ref(Fe(i.numberFormats)?i.numberFormats:{[c.value]:{}}),F=o?a.missingWarn:Ae(i.missingWarn)||On(i.missingWarn)?i.missingWarn:!0,b=o?a.fallbackWarn:Ae(i.fallbackWarn)||On(i.fallbackWarn)?i.fallbackWarn:!0,k=o?a.fallbackRoot:Ae(i.fallbackRoot)?i.fallbackRoot:!0,x=!!i.fallbackFormat,D=Xe(i.missing)?i.missing:null,N=Xe(i.postTranslation)?i.postTranslation:null,L=o?a.warnHtmlMessage:Ae(i.warnHtmlMessage)?i.warnHtmlMessage:!0,E=!!i.escapeParameter,j=o?a.modifiers:Fe(i.modifiers)?i.modifiers:{},q=i.pluralRules||o&&a.pluralRules;function T(){return[c.value,f.value,_.value,g.value,m.value]}const P=t.computed({get:()=>s.value?s.value.locale.value:c.value,set:K=>{s.value&&(s.value.locale.value=K),c.value=K}}),O=t.computed({get:()=>s.value?s.value.fallbackLocale.value:f.value,set:K=>{s.value&&(s.value.fallbackLocale.value=K),f.value=K}}),U=t.computed(()=>s.value?s.value.messages.value:_.value),se=t.computed(()=>g.value),ke=t.computed(()=>m.value);function le(){return s.value?s.value.getPostTranslationHandler():N}function fe(K){s.value&&s.value.setPostTranslationHandler(K)}function ze(){return s.value?s.value.getMissingHandler():D}function He(K){s.value&&s.value.setMissingHandler(K)}function Ce(K){return T(),K()}function Me(...K){return s.value?Ce(()=>Reflect.apply(s.value.t,null,[...K])):Ce(()=>"")}function te(...K){return s.value?Reflect.apply(s.value.rt,null,[...K]):""}function st(...K){return s.value?Ce(()=>Reflect.apply(s.value.d,null,[...K])):Ce(()=>"")}function Vt(...K){return s.value?Ce(()=>Reflect.apply(s.value.n,null,[...K])):Ce(()=>"")}function wt(K){return s.value?s.value.tm(K):{}}function Ct(K,Be){return s.value?s.value.te(K,Be):!1}function lt(K){return s.value?s.value.getLocaleMessage(K):{}}function dt(K,Be){s.value&&(s.value.setLocaleMessage(K,Be),_.value[K]=Be)}function jt(K,Be){s.value&&s.value.mergeLocaleMessage(K,Be)}function ra(K){return s.value?s.value.getDateTimeFormat(K):{}}function Je(K,Be){s.value&&(s.value.setDateTimeFormat(K,Be),g.value[K]=Be)}function oa(K,Be){s.value&&s.value.mergeDateTimeFormat(K,Be)}function Ot(K){return s.value?s.value.getNumberFormat(K):{}}function sa(K,Be){s.value&&(s.value.setNumberFormat(K,Be),m.value[K]=Be)}function Kt(K,Be){s.value&&s.value.mergeNumberFormat(K,Be)}const Ut={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:O,messages:U,datetimeFormats:se,numberFormats:ke,get inheritLocale(){return s.value?s.value.inheritLocale:u},set inheritLocale(K){s.value&&(s.value.inheritLocale=K)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(_.value)},get modifiers(){return s.value?s.value.modifiers:j},get pluralRules(){return s.value?s.value.pluralRules:q},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:F},set missingWarn(K){s.value&&(s.value.missingWarn=K)},get fallbackWarn(){return s.value?s.value.fallbackWarn:b},set fallbackWarn(K){s.value&&(s.value.missingWarn=K)},get fallbackRoot(){return s.value?s.value.fallbackRoot:k},set fallbackRoot(K){s.value&&(s.value.fallbackRoot=K)},get fallbackFormat(){return s.value?s.value.fallbackFormat:x},set fallbackFormat(K){s.value&&(s.value.fallbackFormat=K)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:L},set warnHtmlMessage(K){s.value&&(s.value.warnHtmlMessage=K)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(K){s.value&&(s.value.escapeParameter=K)},t:Me,getPostTranslationHandler:le,setPostTranslationHandler:fe,getMissingHandler:ze,setMissingHandler:He,rt:te,d:st,n:Vt,tm:wt,te:Ct,getLocaleMessage:lt,setLocaleMessage:dt,mergeLocaleMessage:jt,getDateTimeFormat:ra,setDateTimeFormat:Je,mergeDateTimeFormat:oa,getNumberFormat:Ot,setNumberFormat:sa,mergeNumberFormat:Kt};function Gn(K){K.locale.value=c.value,K.fallbackLocale.value=f.value,Object.keys(_.value).forEach(Be=>{K.mergeLocaleMessage(Be,_.value[Be])}),Object.keys(g.value).forEach(Be=>{K.mergeDateTimeFormat(Be,g.value[Be])}),Object.keys(m.value).forEach(Be=>{K.mergeNumberFormat(Be,m.value[Be])}),K.escapeParameter=E,K.fallbackFormat=x,K.fallbackRoot=k,K.fallbackWarn=b,K.missingWarn=F,K.warnHtmlMessage=L}return t.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw bt(Le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const K=s.value=e.proxy.$i18n.__composer;n==="global"?(c.value=K.locale.value,f.value=K.fallbackLocale.value,_.value=K.messages.value,g.value=K.datetimeFormats.value,m.value=K.numberFormats.value):o&&Gn(K)}),Ut}const e5=["locale","fallbackLocale","availableLocales"],Eg=["t","rt","d","n","tm","te"];function t5(e,n){const a=Object.create(null);return e5.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s)throw bt(Le.UNEXPECTED_ERROR);const u=t.isRef(s.value)?{get(){return s.value.value},set(c){s.value.value=c}}:{get(){return s.get&&s.get()}};Object.defineProperty(a,o,u)}),e.config.globalProperties.$i18n=a,Eg.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s||!s.value)throw bt(Le.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Eg.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(b9(),__INTLIFY_JIT_COMPILATION__?B_(i9):B_(n9),XD(BD),KD(E_),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=mn();e.__INTLIFY__=!0,zD(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const a5={upload_area:{title:{text:"Drag your file here or",highlight:"search it"},invalid:{subtitle:"File not supported, select supported formats:"},subtitle:"Supported formats:"},import_card:{importing:"Importing"},audio_recorder:{discard_button:"Discard"},chat_message:{reply_message:{you:"You",video:"Video",image:"Image",audio:"Audio message"}},emoji_picker:{title:"Pick your emoji...",search:"Search",notfound:"No Emoji Found",categories:{search:"Search Results",recent:"Frequently Used",smileys:"Smileys & Emotion",people:"People & Body",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"}},search:"Search"},n5={upload_area:{title:{text:"Arrastra tu archivo aquí o",highlight:"búscalo"},invalid:{subtitle:"Archivo no compatible, seleccione los formatos compatibles:"},subtitle:"Formatos compatibles:"},import_card:{importing:"Importando"},audio_recorder:{discard_button:"Descartar"},chat_message:{reply_message:{you:"Tú",video:"Vídeo",image:"Imagen",audio:"Mensaje de audio"}},emoji_picker:{title:"Elige tu emoji...",search:"Buscar",notfound:"No se encontró ningún emoji",categories:{search:"Resultados de búsqueda",recent:"Usados frecuentemente",smileys:"Caritas y Emociones",people:"Personas y Cuerpo",nature:"Animales y Naturaleza",foods:"Comidas y Bebidas",activity:"Actividades",places:"Viajes y Lugares",objects:"Objetos",symbols:"Símbolos",flags:"Banderas",custom:"Personalizados"}},search:"Buscar"},Cg={upload_area:{title:{text:"Arraste seu arquivo aqui, ou",highlight:"procure-o"},invalid:{subtitle:"Arquivo não compatível, selecione formatos suportados:"},subtitle:"Formatos suportados:"},import_card:{importing:"Importando"},audio_recorder:{discard_button:"Descartar"},chat_message:{reply_message:{you:"Você",video:"Vídeo",image:"Imagem",audio:"Mensagem de áudio"}},emoji_picker:{title:"Escolha seu emoji...",search:"Buscar",notfound:"Nenhum emoji encontrado",categories:{search:"Resultados da busca",recent:"Usados frequentemente",smileys:"Carinhas & Pessoas",people:"Pessoas e Corpo",nature:"Animais e Natureza",foods:"Comidas e Bebidas",activity:"Atividades",places:"Viagens e Lugares",objects:"Objetos",symbols:"Símbolos",flags:"Bandeiras",custom:"Personalizados"}},search:"Buscar"},i5=Object.assign({en:a5,es:n5,"pt-br":Cg,"pt-BR":Cg}),gs=H9({locale:"en",fallbackLocale:"en",messages:i5}),Xt={props:{locale:{type:String},translations:{type:Object}},methods:{i18n(...e){const[n,a]=e,i=Object.keys(gs.global.messages);let{locale:o}=this;const s=Ta.get(gs,"global.locale")==="en-us"?"en":Ta.get(gs,"global.locale");o=i.includes(o)?o:s,o=o==null?void 0:o.toLowerCase();let u=Ta.get(this.translations,`${n}.${o}`,Ta.get(this.translations,n));if(u||(u=Ta.get(Ta.get(this.defaultTranslations,n),o,a)),u!=null&&u.includes("|")&&typeof e[1]=="number"){const f=e[1],_=u.split("|");_.length===3?u=_[f]||_[2]:_.length===2&&(u=f===1?_[0]:_[1])}let c={};return Object.values(e).slice(1).forEach(f=>{!(f instanceof Array)&&f instanceof Object&&(c=f)}),Object.keys(c).forEach(f=>{u=u==null?void 0:u.replaceAll(new RegExp(`{ *${f} *}`,"g"),c[f])}),u}}},eZ="",r5={name:"IconLoading",components:{UnnnicIcon:ee},props:{scheme:{type:String,default:"neutral-dark"},size:{type:String,default:"lg"}}};function o5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createBlock(u,{class:"unnnic-icon-loading",icon:"progress_activity",scheme:a.scheme,size:a.size},null,8,["scheme","size"])}const hi=z(r5,[["render",o5],["__scopeId","data-v-97257015"]]),s5=["disabled"],l5=t.defineComponent({name:"UnnnicButton",__name:"Button",props:{size:{default:"large"},text:{default:""},type:{default:"primary"},float:{type:Boolean,default:!1},iconLeft:{default:""},iconRight:{default:""},iconCenter:{default:""},iconsFilled:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},setup(e){const n=e,a=t.useSlots(),i=t.computed(()=>n.disabled||n.loading),o=t.computed(()=>n.size==="extra-large"?"lg":"ant"),s=t.computed(()=>a.default?!0:n.text&&n.text.length>0),u=t.computed(()=>i.value?"neutral-clean":{primary:"neutral-white",secondary:"neutral-dark",tertiary:"neutral-dark",warning:"neutral-white",attention:"neutral-white"}[f.value]||"neutral-white"),c=t.computed(()=>n.size==="large"||!n.float&&n.size==="small"||n.float&&n.size==="extra-large"),f=t.computed(()=>({alternative:"tertiary"})[n.type]||n.type),_=t.computed(()=>["primary","secondary","tertiary","warning","attention"].includes(f.value)),g=()=>{if(!c.value||!_.value){let m="TypeError:";throw c.value||(m+=" Invalid size prop.",m+=" Please provide 'large', 'small' (only if float prop is false), or 'extra-large' (only if float prop is true)."),_.value||(m+=" Invalid type prop.",m+=" Please provide one of the following types: primary, secondary, tertiary, warning, attention. Alternative is discontinued and it was forced renamed to tertiary."),new Error(m)}};return t.watch(()=>n,()=>{g()},{deep:!0,immediate:!0}),(m,F)=>(t.openBlock(),t.createElementBlock("button",t.mergeProps(m.$attrs,{disabled:i.value,class:["unnnic-button",`unnnic-button--size-${m.size}`,`unnnic-button--${f.value}`,m.iconCenter?"unnnic-button--icon-on-center":null,m.float?"unnnic-button--float":null]}),[m.loading?(t.openBlock(),t.createBlock(hi,{key:0,scheme:u.value,size:o.value,style:{position:"absolute"},"data-testid":"icon-loading"},null,8,["scheme","size"])):t.createCommentVNode("",!0),m.iconLeft?(t.openBlock(),t.createBlock(ee,{key:1,icon:m.iconLeft,scheme:u.value,size:o.value,filled:m.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-left":s.value}),style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),clickable:"","data-testid":"icon-left"},null,8,["icon","scheme","size","filled","class","style"])):t.createCommentVNode("",!0),m.iconCenter?(t.openBlock(),t.createBlock(ee,{key:2,icon:m.iconCenter,scheme:u.value,style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),size:o.value,filled:m.iconsFilled,clickable:"","data-testid":"icon-center"},null,8,["icon","scheme","style","size","filled"])):t.createCommentVNode("",!0),m.float?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:3,class:"unnnic-button__label",style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),"data-testid":"button-label"},[t.renderSlot(m.$slots,"default",{},void 0,!0),t.createTextVNode(" "+t.toDisplayString(m.text),1)],4)),m.iconRight?(t.openBlock(),t.createBlock(ee,{key:4,icon:m.iconRight,scheme:u.value,size:o.value,filled:m.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-right":s.value}),style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),clickable:"","data-testid":"icon-right"},null,8,["icon","scheme","size","filled","class","style"])):t.createCommentVNode("",!0)],16,s5))}}),tZ="",aZ="",nZ="",Bt=z(l5,[["__scopeId","data-v-69d07815"]]),iZ="",u5={components:{UnnnicButton:Bt},mixins:[Xt],props:{initialStartDate:{type:String,default:""},initialEndDate:{type:String,default:""},minDate:{type:String,default:""},maxDate:{type:String,default:""},equivalentOption:{type:String,default:""},type:{type:String,default:"day",validator(e){return["day","month","year"].includes(e)}},size:{type:String,default:"large",validator(e){return["small","large"].includes(e)}},clearLabel:{type:String,default:""},actionLabel:{type:String,default:""},months:{type:Array,default:()=>[],validator(e){return[0,12].includes(e.length)}},days:{type:Array,default:()=>[],validator(e){return[0,7].includes(e.length)}},options:{type:Array,default:()=>[]},disableClear:{type:Boolean,default:!1}},emits:["change","submit","update:equivalentOption"],data(){const e=new Date;return{referenceDate:`${e.getMonth()+1} 1 ${e.getFullYear()}`,startDate:(this.initialStartDate||"").replace(/-/g," "),endDate:(this.initialEndDate||"").replace(/-/g," "),optionSelected:"",defaultTranslations:{clean:{"pt-br":"Limpar",en:"Clean",es:"Limpiar"},filter:{"pt-br":"Filtrar",en:"Filter",es:"Filtrar"}}}},computed:{openMonths(){return[this.addMonth(this.referenceDate,-1),this.referenceDate]},value(){return{startDate:this.startDate.replaceAll(" ","-"),endDate:this.endDate.replaceAll(" ","-")}},i18nLocale(){return this.$i18n.locale.toLowerCase()},monthsLocale(){const{months:e}=this;return e.length?e:Dk[this.i18nLocale]},daysLocale(){const{days:e}=this;return e.length?e:Ak[this.i18nLocale]},periodsLocale(){const{options:e}=this;return e.length?e:Ek[this.i18nLocale]},clearText(){return this.clearLabel||ts[this.i18nLocale].clear},filterText(){return this.actionLabel||ts[this.i18nLocale].filter}},watch:{value(){this.updateOptionSelected(),this.$emit("change",this.value)}},mounted(){this.updateOptionSelected()},methods:{submit(){var e;this.$emit("submit",this.value),this.optionSelected==="custom"?this.$emit("update:equivalentOption",""):this.$emit("update:equivalentOption",((e=this.periodsLocale.find(({id:n})=>n===this.optionSelected))==null?void 0:e.name)||"")},updateOptionSelected(){const{startDate:e,endDate:n}=this.value;function a(o,s){return new Date(o).getTime()===new Date(s).getTime()}const i=this.periodsLocale.find(({id:o})=>{const{startDate:s,endDate:u}=this.getStartAndEndDateByPeriod(o);return a(e,s)&&a(n,u)});this.optionSelected=e||n?i?i.id:"custom":""},dateToString(e){return`${e.getMonth()+1} ${e.getDate()} ${e.getFullYear()}`},dateToStringMonth(e){return`${e.getMonth()+1} ${e.getFullYear()}`},dateToStringYear(e){return e.getFullYear()},stringToTime(e){const[n,a,i]=e.split(" ");return new Date(i,Number(n)-1,a).getTime()},getDate(e){return e.toString().split(" ")[1]},getMonth(e){return e.toString().split(" ")[0]},getFullYear(e){const[n,a,i]=e.split(" ");return new Date(i,Number(n)-1,a).getFullYear()},addMonth(e,n){const[a,i,o]=e.split(" "),s=new Date(o,Number(a)-1,i);return s.setMonth(s.getMonth()+n),this.dateToString(s)},isDateBetween(e){if(this.startDate&&this.endDate){if(e>=this.stringToTime(this.startDate)&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=this.stringToTime(this.startDate))return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},isDateBetweenMonth(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setDate(1);const s=o.getTime();if(this.startDate&&this.endDate){if(e>=s&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=s)return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},isDateBetweenYear(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setDate(1),o.setMonth(0);const s=o.getTime();if(this.startDate&&this.endDate){if(e>=s&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=s)return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},getDatesOfTheMonth(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a),s=o.getMonth(),u=86400;o.setDate(1-o.getDay());const c=[];for(let f=0;f<6*7;f+=1){const _=this.dateToString(o),g=[];if(this.minDate){const[m,F,b]=this.minDate.split("-"),k=new Date(m,Number(F)-1,b);o<k&&g.push("out of range")}if(this.maxDate){const[m,F,b]=this.maxDate.split("-"),k=new Date(m,Number(F)-1,b);o>k&&g.push("out of range")}if(s===o.getMonth()){g.push("inside month");const m=this.stringToTime(this.dateToString(o)),F=m-u,b=m+u;this.isDateBetween(m)&&(g.push("selected"),this.isDateBetween(F)||g.push("left-highlighted"),this.isDateBetween(b)||g.push("right-highlighted"),(g.includes("left-highlighted")||g.includes("right-highlighted"))&&g.push("highlighted"))}this.dateToString(o)===this.dateToString(new Date)&&g.push("today"),c.push({properties:g,toString:()=>_}),o.setDate(o.getDate()+1)}return c},getMonthsOfTheYear(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setMonth(0);const s=[];for(let u=0;u<3*4;u+=1){const c=this.dateToString(o),f=[];f.push("inside month");const _=this.stringToTime(this.dateToString(o));let g=new Date(_),m=new Date(_);g.setMonth(g.getMonth()-1),m.setMonth(m.getMonth()+1),g=g.getTime(),m=m.getTime(),this.isDateBetweenMonth(_)&&(f.push("selected"),this.isDateBetweenMonth(g)||f.push("left-highlighted"),this.isDateBetweenMonth(m)||f.push("right-highlighted"),(f.includes("left-highlighted")||f.includes("right-highlighted"))&&f.push("highlighted")),this.dateToStringMonth(o)===this.dateToStringMonth(new Date)&&f.push("today"),s.push({properties:f,date:c,toString:()=>c}),o.setMonth(o.getMonth()+1)}return s},getYears(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setMonth(0);const s=[];for(let u=0;u<3*4;u+=1){const c=this.dateToString(o),f=[];f.push("inside month");const _=this.stringToTime(this.dateToString(o)),[g,m,F]=e.split(" ");let b=new Date(F,Number(g)-1,m),k=new Date(F,Number(g)-1,m);b.setMonth(b.getMonth()-12),k.setMonth(k.getMonth()+12),b=b.getTime(),k=k.getTime(),this.isDateBetweenYear(_)&&(f.push("selected"),this.isDateBetweenYear(b)||f.push("left-highlighted"),this.isDateBetweenYear(k)||f.push("right-highlighted"),(f.includes("left-highlighted")||f.includes("right-highlighted"))&&f.push("highlighted")),this.dateToStringYear(o)===this.dateToStringYear(new Date)&&f.push("today"),s.push({properties:f,date:o.getFullYear(),toString:()=>c}),o.setFullYear(o.getFullYear()+1)}return s},selectDate(e){if(!this.startDate||!this.endDate)this.startDate=e.toString(),this.endDate=this.startDate;else{const n=this.stringToTime(e.toString()),a=this.stringToTime(this.startDate),i=this.stringToTime(this.endDate);a!==i?(this.startDate=e.toString(),this.endDate=this.startDate):n>i?this.endDate=e.toString():n<a?this.startDate=e.toString():n===a||n===i?(this.startDate=e.toString(),this.endDate=this.startDate):n-a<i-n?this.startDate=e.toString():this.endDate=e.toString()}},clear(){this.startDate="",this.endDate="",this.optionSelected=""},getStartAndEndDateByPeriod(e){let n,a;const i=new Date,o=e.match(/^last-(\d+)-days$/),s=e.match(/^last-(\d+)-months$/);if(o){const u=Number(o[1]);a=this.dateToString(i),i.setDate(i.getDate()-u+1),n=this.dateToString(i)}else if(s){const u=Number(s[1]);a=this.dateToString(i),i.setDate(i.getDate()+1),i.setMonth(i.getMonth()-u),n=this.dateToString(i)}else if(e==="current-month"){const u=new Date;i.setDate(1),n=this.dateToString(i);const c=u.getDate();i.setDate(c),a=this.dateToString(i)}else e==="previous-month"&&(i.setDate(1),i.setMonth(i.getMonth()-1),n=this.dateToString(i),i.setMonth(i.getMonth()+1),i.setDate(0),a=this.dateToString(i));return{startDate:n,endDate:a}},autoSelect(e){const{startDate:n,endDate:a}=this.getStartAndEndDateByPeriod(e);if(this.startDate=n,this.endDate=a,this.endDate){const i=this.addMonth(this.referenceDate,1),o=`${Number(this.getMonth(this.endDate))} 1 ${this.getFullYear(this.endDate)}`;[this.referenceDate,i].includes(o)||(this.referenceDate=o)}this.$nextTick(()=>{this.optionSelected=e})}}},c5={class:"unnnic-date-picker"},d5={class:"month-container"},f5=["onClick"],_5={class:"month-container"},g5=["onClick"],h5={class:"month-container"},m5=["onClick"],F5={key:3,class:"options-container"},p5={class:"options"},b5=["onClick"],y5={class:"actions"};function w5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",c5,[a.type==="day"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(s.openMonths,(c,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",d5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:`keyboard_arrow_${f===0?"left":"right"}`,type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:t.normalizeStyle({gridArea:`${f===0?"left":"right"}-button`}),onClick:t.withModifiers(_=>o.referenceDate=s.addMonth(o.referenceDate,f===0?-1:1),["stop"])},null,8,["iconCenter","type","style","onClick"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.monthsLocale[Number(s.getMonth(c))-1])+" "+t.toDisplayString(s.getFullYear(c)),3)],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`days--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.daysLocale,(_,g)=>(t.openBlock(),t.createElementBlock("div",{key:g,class:"name"},t.toDisplayString(_),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getDatesOfTheMonth(c),(_,g)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${g}`,class:t.normalizeClass({disabled:!_.properties.includes("inside month")||_.properties.includes("out of range"),selectable:_.properties.includes("inside month")&&!_.properties.includes("out of range"),today:_.properties.includes("today"),selected:_.properties.includes("selected"),highlighted:_.properties.includes("highlighted"),left:_.properties.includes("left-highlighted"),right:_.properties.includes("right-highlighted")}),onClick:m=>_.properties.includes("inside month")&&!_.properties.includes("out of range")&&s.selectDate(_)},t.toDisplayString(s.getDate(_)),11,f5))),128))],2)]),n[4]||(n[4]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):a.type==="month"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList([o.referenceDate],c=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",_5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:"keyboard_arrow_left",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},onClick:n[0]||(n[0]=f=>o.referenceDate=s.addMonth(o.referenceDate,-12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.getFullYear(c)),3),t.createVNode(u,{size:"small",iconCenter:"keyboard_arrow_right",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},onClick:n[1]||(n[1]=f=>o.referenceDate=s.addMonth(o.referenceDate,12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getMonthsOfTheYear(c),(f,_)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${_}`,class:t.normalizeClass({disabled:!f.properties.includes("inside month"),selectable:f.properties.includes("inside month"),today:f.properties.includes("today"),selected:f.properties.includes("selected"),highlighted:f.properties.includes("highlighted"),left:f.properties.includes("left-highlighted"),right:f.properties.includes("right-highlighted")}),onClick:g=>f.properties.includes("inside month")&&s.selectDate(f)},t.toDisplayString(s.monthsLocale[s.getMonth(f)].substr(0,3)),11,g5))),128))],2)]),n[5]||(n[5]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):a.type==="year"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList([o.referenceDate],c=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",h5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:"arrow-left-1-1",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},onClick:n[2]||(n[2]=f=>o.referenceDate=s.addMonth(o.referenceDate,-12*12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.getFullYear(c)),3),t.createVNode(u,{size:"small",iconCenter:"arrow-right-1-1",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},onClick:n[3]||(n[3]=f=>o.referenceDate=s.addMonth(o.referenceDate,12*12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getYears(c),(f,_)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${_}`,class:t.normalizeClass({disabled:!f.properties.includes("inside month"),selectable:f.properties.includes("inside month"),today:f.properties.includes("today"),selected:f.properties.includes("selected"),highlighted:f.properties.includes("highlighted"),left:f.properties.includes("left-highlighted"),right:f.properties.includes("right-highlighted")}),onClick:g=>f.properties.includes("inside month")&&s.selectDate(f)},t.toDisplayString(f.date),11,m5))),128))],2)]),n[6]||(n[6]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):t.createCommentVNode("",!0),a.size!=="small"?(t.openBlock(),t.createElementBlock("div",F5,[t.createElementVNode("div",p5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.periodsLocale,(c,f)=>(t.openBlock(),t.createElementBlock("div",{key:f,class:t.normalizeClass(["option",{selectable:c.id!=="custom",selected:o.optionSelected===c.id}]),onClick:_=>c.id==="custom"?null:s.autoSelect(c.id)},t.toDisplayString(c.name),11,b5))),128))]),t.createElementVNode("div",y5,[a.disableClear?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(u,{key:0,size:"small",text:s.clearText,type:"tertiary",onClick:s.clear},null,8,["text","onClick"])),t.createVNode(u,{size:"small",text:s.filterText,type:"secondary",onClick:s.submit},null,8,["text","onClick"])])])):t.createCommentVNode("",!0)])}const hs=z(u5,[["render",w5],["__scopeId","data-v-546e8a09"]]),rZ="",k5={components:{UnnnicInput:Ii,UnnnicDatePicker:hs},model:{event:"changed"},props:{modelValue:{type:Object,required:!0},iconPosition:{type:String,default:"left",validator(e){return["left","right"].includes(e)}},minDate:{type:String,default:""},maxDate:{type:String,default:""},fillW:{type:Boolean,default:!1},type:{type:String,default:"day"},size:{type:String,default:"md"},clearText:{type:String,default:"Clear"},actionText:{type:String,default:"Filter"},months:{type:Array,default:()=>[]},days:{type:Array,default:()=>[]},options:{type:Array,default:()=>[]},next:{type:Boolean,default:!1},format:{type:String,default:"YYYY-MM-DD"},inputFormat:{type:String,default:"MM-DD-YYYY"},position:{type:String,default:"left"},disableClear:{type:Boolean,default:!1}},emits:["update:model-value","selectDate"],data(){return{showCalendarFilter:!1,overwrittenValue:""}},computed:{filterText(){var n,a,i,o;const e=[];return(n=this.modelValue)!=null&&n.start&&e.push(J((a=this.modelValue)==null?void 0:a.start,this.format).format(this.inputFormat)),(i=this.modelValue)!=null&&i.end&&e.push(J((o=this.modelValue)==null?void 0:o.end,this.format).format(this.inputFormat)),e.length?e.join(" ~ "):String(this.inputFormat).replaceAll("-","/").toLowerCase()},initialStartDate(){return this.modelValue.start?J(this.modelValue.start,this.format).format("MM DD YYYY"):null},initialEndDate(){return this.modelValue.end?J(this.modelValue.end,this.format).format("MM DD YYYY"):null}},mounted(){window.document.body.addEventListener("click",this.mouseout)},beforeUnmount(){window.document.body.removeEventListener("click",this.mouseout)},methods:{emitSelectDate(e){const{startDate:n,endDate:a}=e,i={start:J(n,"MM-DD-YYYY").format(this.format),end:J(a,"MM-DD-YYYY").format(this.format)};this.$emit("selectDate",i)},mouseout(e){var n;(n=this.$refs.dropdown)!=null&&n.contains(e.target)||(this.showCalendarFilter=!1)},changeDate(e){const n=e.startDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2"),a=e.endDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2");this.showCalendarFilter=!1,this.$emit("update:model-value",{start:n?J(n,"YYYY-MM-DD").format(this.format):null,end:a?J(a,"YYYY-MM-DD").format(this.format):null})}}};function D5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicInput"),c=t.resolveComponent("UnnnicDatePicker");return t.openBlock(),t.createElementBlock("div",{ref:"dropdown",class:t.normalizeClass(["dropdown",{active:o.showCalendarFilter,"fill-w":a.fillW}])},[t.createVNode(u,{class:t.normalizeClass(["input",{"date-picker-input-next":a.next}]),size:a.size,iconLeft:a.iconPosition==="left"&&"calendar_month",iconRight:a.iconPosition==="right"&&"calendar_month",hasCloudyColor:"",readonly:"",modelValue:o.overwrittenValue||s.filterText,onFocus:n[0]||(n[0]=f=>o.showCalendarFilter=!0)},null,8,["class","size","iconLeft","iconRight","modelValue"]),t.createElementVNode("div",{class:"dropdown-data",style:t.normalizeStyle({[a.position]:"0"})},[o.showCalendarFilter?(t.openBlock(),t.createBlock(c,{key:0,equivalentOption:o.overwrittenValue,"onUpdate:equivalentOption":n[1]||(n[1]=f=>o.overwrittenValue=f),type:a.type,clearLabel:a.clearText,actionLabel:a.actionText,months:a.months,days:a.days,options:a.options,initialStartDate:s.initialStartDate,initialEndDate:s.initialEndDate,minDate:a.minDate,maxDate:a.maxDate,disableClear:a.disableClear,onChange:s.emitSelectDate,onSubmit:s.changeDate},null,8,["equivalentOption","type","clearLabel","actionLabel","months","days","options","initialStartDate","initialEndDate","minDate","maxDate","disableClear","onChange","onSubmit"])):t.createCommentVNode("",!0)],4)],2)}const ic=z(k5,[["render",D5],["__scopeId","data-v-d2a4c41c"]]),oZ="",A5={components:{UnnnicIcon:ee},props:{type:{type:String,default:"secondary"},size:{type:String,required:!0,validator(e){return["small","large"].includes(e)}},icon:{type:String,required:!0}},computed:{iconScheme(){return this.type==="primary"?"neutral-snow":"neutral-darkest"}}};function E5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("button",t.mergeProps({class:["button-icon",a.size,a.type]},e.$attrs),[t.createVNode(u,{icon:a.icon,scheme:s.iconScheme,size:"ant"},null,8,["icon","scheme"])],16)}const rc=z(A5,[["render",E5],["__scopeId","data-v-46ae4cf4"]]),oc=e=>{const{label:n,children:a}=e;if(!!!n.trim())throw new Error('Each item in "items" must have "label".');return a&&Array.isArray(a)&&a.forEach(oc),!0},C5=e=>{if(!(e!=null&&e[0]))throw new Error("Items property cannot be an empty array.");return e.forEach(oc),!0},sZ="",x5=["title"],M5={key:0,class:"unnnic-sidebar-item-children"},B5=["onClick"],v5=["title"],ms=z(Object.assign({name:"UnnnicSidebarItem"},{props:{item:{type:Object,required:!0,validator:oc},active:{type:Object,default:()=>({item:!1,childIndex:null})},autoNavigateFirstChild:{type:Boolean,default:!1}},emits:["navigate"],setup(e,{emit:n}){const a=e;t.onMounted(()=>{const{childIndex:g,item:m}=a.active;typeof g=="number"&&g>=0&&m&&s()});const i=t.computed(()=>{var g;return!!((g=a.item.children)!=null&&g.length)}),o=t.ref(!1),s=()=>{o.value=!o.value,o.value&&a.autoNavigateFirstChild&&_("navigate",{item:a.item,child:a.item.children[0]})},u=g=>{const{item:m,childIndex:F}=a.active;return typeof F!="number"?m:m&&F===g},c=()=>{i.value?s():f()},f=()=>{a.active.item||_("navigate",{item:a.item,child:null})},_=n;return(g,m)=>{var F;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("section",{"data-testid":"sidebar-item",class:t.normalizeClass({"unnnic-sidebar-item":!0,active:e.active.item}),onClick:t.withModifiers(c,["stop"])},[e.item.icon?(t.openBlock(),t.createBlock(ee,{key:0,class:"unnnic-sidebar-item__icon",icon:e.item.icon,size:"ant",scheme:e.active.item?"weni-600":"neutral-cloudy","data-testid":"item-icon"},null,8,["icon","scheme"])):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass({"unnnic-sidebar-item__label":!0,active:e.active.item}),title:e.item.label},t.toDisplayString(e.item.label),11,x5),(F=e.item.children)!=null&&F.length?(t.openBlock(),t.createBlock(ee,{key:1,class:"unnnic-sidebar-item__arrow",icon:o.value?"keyboard_arrow_up":"keyboard_arrow_down",size:"ant",scheme:"neutral-cloudy","data-testid":"arrow-icon"},null,8,["icon"])):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:"slide-fade"},{default:t.withCtx(()=>[o.value?(t.openBlock(),t.createElementBlock("ul",M5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.item.children,(b,k)=>(t.openBlock(),t.createElementBlock("li",{key:b,class:t.normalizeClass({"unnnic-sidebar-item-child":!0,active:u(k)}),"data-testid":"sidebar-item-child",onClick:t.withModifiers(x=>!u(k)&&_("navigate",{item:e.item,child:b}),["stop"])},[b.icon?(t.openBlock(),t.createBlock(ee,{key:0,class:"unnnic-sidebar-item-child__icon",icon:b.icon,size:"ant",scheme:u(k)?"weni-600":"neutral-cloudy"},null,8,["icon","scheme"])):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass({"unnnic-sidebar-item-child__label":!0,active:u(k)}),title:b.label},t.toDisplayString(b.label),11,v5)],10,B5))),128))])):t.createCommentVNode("",!0)]),_:1})],64)}}}),[["__scopeId","data-v-418b1f69"]]),cZ="",j5={class:"unnnic-sidebar-items"},sc=z(Object.assign({name:"UnnnicSidebar"},{props:{position:{type:String,default:"left",validator(e){return["left","right"].includes(e)}},width:{type:String,default:"200px",validator(e){const n=/^\d+(\.\d+)?px$/,a=/^\d+(\.\d+)?%$/;return n.test(e)||a.test(e)}},items:{type:Array,required:!0,validator:C5},active:{type:Object,default:()=>({itemIndex:null,childIndex:null})},autoNavigateFirstChild:{type:Boolean,default:!1}},emits:["navigate"],setup(e,{emit:n}){t.useCssVars(s=>({"6c03e4b5":a.width}));const a=e,i=n,o=({item:s,child:u})=>{i("navigate",{item:s,child:u})};return(s,u)=>(t.openBlock(),t.createElementBlock("nav",{class:t.normalizeClass(["unnnic-sidebar",`unnnic-sidebar--${e.position}`])},[t.renderSlot(s.$slots,"top",{class:"unnnic-sidebar-top"},void 0,!0),t.createElementVNode("ul",j5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(c,f)=>(t.openBlock(),t.createElementBlock("li",{key:c},[t.createVNode(ms,{item:c,active:{item:e.active.itemIndex===f,childIndex:e.active.childIndex},autoNavigateFirstChild:e.autoNavigateFirstChild,"data-testid":"sidebar-item",onNavigate:u[0]||(u[0]=_=>o(_))},null,8,["item","active","autoNavigateFirstChild"])]))),128))]),t.renderSlot(s.$slots,"bottom",{class:"unnnic-sidebar-bottom"},void 0,!0)],2))}}),[["__scopeId","data-v-7bdf478e"]]),_Z="",N5={name:"UnnnicTable",components:{},props:{items:{type:Array}},data(){return{value:!1}},computed:{}},S5={class:"unnnic-table"},T5={class:"header"},I5={class:"scroll"};function O5(e,n,a,i,o,s){return t.withDirectives((t.openBlock(),t.createElementBlock("div",S5,[t.createElementVNode("div",T5,[t.renderSlot(e.$slots,"header",{},void 0,!0)]),n[0]||(n[0]=t.createElementVNode("div",null,[t.createElementVNode("div",{class:"item-spacer"})],-1)),t.createElementVNode("div",I5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.items,(u,c)=>(t.openBlock(),t.createElementBlock("div",{key:c,class:"item"},[t.renderSlot(e.$slots,"item",{item:u},void 0,!0)]))),128))])],512)),[[t.vShow,!0]])}const lc=z(N5,[["render",O5],["__scopeId","data-v-b2229274"]]),gZ="",hZ="",L5={name:"UnnnicTableRow",props:{headers:{type:Array}},data(){return{}}},z5={class:"table-row"},q5={class:"break-text"};function P5(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",z5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.headers,(u,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:u.id},[t.createElementVNode("div",{class:"col",style:t.normalizeStyle({width:u.width,flex:u.flex,minWidth:0})},[t.renderSlot(e.$slots,u.id,{},()=>[t.createElementVNode("div",q5,t.toDisplayString(u.text),1)],!0)],4),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["divider",{condensed:u.condensed}])},null,2),[[t.vShow,c+1!==a.headers.length]])],64))),128))])}const uc=z(L5,[["render",P5],["__scopeId","data-v-cb0c6b93"]]);function xg(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Yr(e){return typeof e=="function"?e():t.unref(e)}const Mg=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const V5=Object.prototype.toString,U5=e=>V5.call(e)==="[object Object]",Hr=()=>{},cc=R5();function R5(){var e,n;return Mg&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const Bg={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function Y5(...e){if(e.length!==1)return t.toRef(...e);const n=e[0];return typeof n=="function"?t.readonly(t.customRef(()=>({get:n,set:Hr}))):t.ref(n)}function Qr(e){var n;const a=Yr(e);return(n=a==null?void 0:a.$el)!=null?n:a}const vg=Mg?window:void 0;function Fs(...e){let n,a,i,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,o]=e,n=vg):[n,a,i,o]=e,!n)return Hr;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const s=[],u=()=>{s.forEach(g=>g()),s.length=0},c=(g,m,F,b)=>(g.addEventListener(m,F,b),()=>g.removeEventListener(m,F,b)),f=t.watch(()=>[Qr(n),Yr(o)],([g,m])=>{if(u(),!g)return;const F=U5(m)?{...m}:m;s.push(...a.flatMap(b=>i.map(k=>c(g,b,k,F))))},{immediate:!0,flush:"post"}),_=()=>{f(),u()};return xg(_),_}let jg=!1;function Ng(e,n,a={}){const{window:i=vg,ignore:o=[],capture:s=!0,detectIframe:u=!1}=a;if(!i)return Hr;cc&&!jg&&(jg=!0,Array.from(i.document.body.children).forEach(F=>F.addEventListener("click",Hr)),i.document.documentElement.addEventListener("click",Hr));let c=!0;const f=F=>o.some(b=>{if(typeof b=="string")return Array.from(i.document.querySelectorAll(b)).some(k=>k===F.target||F.composedPath().includes(k));{const k=Qr(b);return k&&(F.target===k||F.composedPath().includes(k))}}),g=[Fs(i,"click",F=>{const b=Qr(e);if(!(!b||b===F.target||F.composedPath().includes(b))){if(F.detail===0&&(c=!f(F)),!c){c=!0;return}n(F)}},{passive:!0,capture:s}),Fs(i,"pointerdown",F=>{const b=Qr(e);c=!f(F)&&!!(b&&!F.composedPath().includes(b))},{passive:!0}),u&&Fs(i,"blur",F=>{setTimeout(()=>{var b;const k=Qr(e);((b=i.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!(k!=null&&k.contains(i.document.activeElement))&&n(F)},0)})].filter(Boolean);return()=>g.forEach(F=>F())}const Gr={[Bg.mounted](e,n){const a=!n.modifiers.bubble;if(typeof n.value=="function")e.__onClickOutside_stop=Ng(e,n.value,{capture:a});else{const[i,o]=n.value;e.__onClickOutside_stop=Ng(e,i,Object.assign({capture:a},o))}},[Bg.unmounted](e){e.__onClickOutside_stop()}};function dc(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Sg(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const a=e.parentNode;return!a||a.tagName==="BODY"?!1:Sg(a)}}function H5(e){const n=e||window.event,a=n.target;return Sg(a)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const fc=new WeakMap;function Q5(e,n=!1){const a=t.ref(n);let i=null,o="";t.watch(Y5(e),c=>{const f=dc(Yr(c));if(f){const _=f;if(fc.get(_)||fc.set(_,_.style.overflow),_.style.overflow!=="hidden"&&(o=_.style.overflow),_.style.overflow==="hidden")return a.value=!0;if(a.value)return _.style.overflow="hidden"}},{immediate:!0});const s=()=>{const c=dc(Yr(e));!c||a.value||(cc&&(i=Fs(c,"touchmove",f=>{H5(f)},{passive:!1})),c.style.overflow="hidden",a.value=!0)},u=()=>{const c=dc(Yr(e));!c||!a.value||(cc&&(i==null||i()),c.style.overflow=o,fc.delete(c),a.value=!1)};return xg(u),t.computed({get(){return a.value},set(c){c?s():u()}})}function G5(){let e=!1;const n=t.ref(!1);return(a,i)=>{if(n.value=i.value,e)return;e=!0;const o=Q5(a,i.value);t.watch(n,s=>o.value=s)}}G5();const mZ="",W5={name:"UnnnicDropdown",directives:{onClickOutside:Gr},props:{useOpenProp:{type:Boolean,default:!1},open:{type:Boolean,default:!1},forceOpen:{type:Boolean,default:!1},position:{type:String,default:"bottom-left",validator(e){return["top-left","top-right","none","bottom-left","bottom-right"].indexOf(e)!==-1}}},emits:["update:open"],data(){return{active:!1}},watch:{open:{handler(){this.active=this.open},immediate:!0},active(){this.useOpenProp||this.$emit("update:open",this.active)}},methods:{onClickTrigger(){this.forceOpen||(this.useOpenProp?this.$emit("update:open",!this.open):this.active=!this.active)},onClickOutside(){if(!this.forceOpen){if(this.useOpenProp&&this.open){this.$emit("update:open",!1);return}this.active&&(this.active=!1)}}}},X5={class:"unnnic-dropdown__trigger"};function K5(e,n,a,i,o,s){const u=t.resolveDirective("on-click-outside");return t.openBlock(),t.createElementBlock("div",{class:"unnnic-dropdown",onClick:n[0]||(n[0]=t.withModifiers((...c)=>s.onClickTrigger&&s.onClickTrigger(...c),["stop"]))},[t.createElementVNode("div",X5,[t.renderSlot(e.$slots,"trigger",{},void 0,!0),(a.useOpenProp?a.open:o.active)?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:0,"data-testid":"dropdown-content",class:t.normalizeClass(["unnnic-dropdown__content",a.useOpenProp?a.open:o.active?"":"unnnic-dropdown__content--hidden",`unnnic-dropdown__content__position-${a.position}`])},[t.renderSlot(e.$slots,"default",{},void 0,!0)],2)),[[u,s.onClickOutside]]):t.createCommentVNode("",!0)])])}const Wr=z(W5,[["render",K5],["__scopeId","data-v-eb4f06f5"]]),FZ="",Z5={name:"UnnnicDropdownItem"},J5={class:"unnnic-dropdown-item unnnic--clickable","data-testid":"dropdown-item"};function $5(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("a",J5,[t.renderSlot(e.$slots,"default")])}const ps=z(Z5,[["render",$5]]),pZ="",e8={components:{UnnnicIcon:ee},props:{enabled:{type:Boolean,default:!0},icon:{type:String,default:"graph-stats-1"},size:{type:String,default:"sm",validator(e){return["nano","xs","sm","lg","xl"].indexOf(e)!==-1}},scheme:{type:String,default:"aux-blue"},filled:{type:Boolean,default:!1},opacity:{type:Boolean,default:!0}},computed:{iconSize(){return{nano:"xs",xs:"sm",sm:"md",lg:"lg",xl:"xl"}[this.size]}}};function t8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-avatar-icon",a.scheme,a.size,{disabled:!a.enabled},a.filled,{opacity:!a.opacity}])},[t.createVNode(u,{icon:a.icon,scheme:a.enabled?a.scheme:"neutral-cloudy",size:s.iconSize,filled:a.filled},null,8,["icon","scheme","size","filled"])],2)}const Pn=z(e8,[["render",t8],["__scopeId","data-v-d0742329"]]),bZ="",a8={name:"UnnnicCard",components:{UnnnicIcon:ee,UnnnicAvatarIcon:Pn},props:{title:{type:String,default:null},value:{type:Number,default:null},icon:{type:String,default:null},percent:{type:Number,default:0},invertedPercentage:{type:Boolean,default:!1},scheme:{type:String,default:null}},computed:{color(){return this.invertedPercentage?this.percent<0?"green":"red":this.percent<0?"red":"green"}}},n8={class:"unnnic-card-dash"},i8={class:"header"},r8={class:"label"},o8={class:"content"},s8={class:"value"},l8={class:"label"};function u8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicAvatarIcon"),c=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",n8,[t.createElementVNode("div",i8,[t.createVNode(u,{size:"sm",scheme:a.scheme,icon:a.icon},null,8,["scheme","icon"]),t.createElementVNode("div",r8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",o8,[t.createElementVNode("div",s8,t.toDisplayString(a.value),1),a.percent?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["percent",`unnnic-card-scheme--feedback-${s.color}`])},[t.createVNode(c,{icon:`graph-stats-${a.percent>=0?"ascend":"descend"}-2`,scheme:`feedback-${s.color}`,size:"sm",class:"icon"},null,8,["icon","scheme"]),t.createElementVNode("div",l8,t.toDisplayString(a.percent>=0?`+${a.percent}%`:`${a.percent}%`),1)],2)):t.createCommentVNode("",!0)])])}const c8=z(a8,[["render",u8],["__scopeId","data-v-aab8cf56"]]),yZ="",d8={name:"UnnnicCard",components:{ToolTip:At,UnnnicIcon:ee},props:{title:{type:String,default:null},info:{type:String,default:null},icon:{type:String,default:null},infoPosition:{type:String,default:"right"},scheme:{type:String,default:null},hasInformationIcon:{type:Boolean,default:!0},enabled:{type:Boolean,default:!0}}},f8={class:"unnnic-card-title"},_8={class:"title"};function g8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("ToolTip");return t.openBlock(),t.createElementBlock("div",f8,[t.createElementVNode("div",{class:t.normalizeClass(["avatar-icon",`unnnic-card-scheme--${a.scheme}`])},[t.createVNode(u,{icon:a.icon,scheme:a.scheme,size:"md"},null,8,["icon","scheme"])],2),t.createElementVNode("div",_8,t.toDisplayString(a.title),1),a.hasInformationIcon?(t.openBlock(),t.createBlock(c,{key:0,class:"information",side:a.infoPosition,text:a.info,enabled:a.enabled},{default:t.withCtx(()=>[t.createVNode(u,{icon:"information-circle-4",class:"unnnic-card-title__content_info",size:"sm",scheme:"neutral-soft"})]),_:1},8,["side","text","enabled"])):t.createCommentVNode("",!0)])}const Tg=z(d8,[["render",g8],["__scopeId","data-v-14d9d015"]]),wZ="",h8={name:"UnnnicCard",components:{UnnnicIcon:ee},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},status:{type:String,default:null},scheme:{type:String,default:null}}},m8={class:"header"},F8={class:"label"},p8={class:"content"},b8={class:"title-container"},y8={class:"title"},w8={class:"description"};function k8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-card-status",`unnnic-card-scheme--${a.scheme}--border`])},[t.createElementVNode("div",m8,[t.createVNode(u,{icon:a.icon,scheme:"neutral-dark",size:"md",class:"icon"},null,8,["icon"]),t.createElementVNode("div",F8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",p8,[t.createElementVNode("div",b8,[t.createVNode(u,{icon:"indicator",scheme:a.scheme,size:"sm"},null,8,["scheme"]),t.createElementVNode("div",y8,t.toDisplayString(a.status),1)]),t.createElementVNode("div",w8,t.toDisplayString(a.description),1)])],2)}const D8=z(h8,[["render",k8],["__scopeId","data-v-1fc599bf"]]),kZ="",A8={name:"UnnnicCard",components:{UnnnicAvatarIcon:Pn},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},enabled:{type:Boolean,default:!0},scheme:{type:String,default:null}}},E8={class:"icon"},C8={class:"content"},x8={class:"title"},M8={class:"description"};function B8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-account":!0,enabled:a.enabled})},[t.createElementVNode("div",E8,[t.createVNode(u,{size:"xs",scheme:a.scheme,icon:a.icon,enabled:a.enabled},null,8,["scheme","icon","enabled"])]),t.createElementVNode("div",C8,[t.createElementVNode("div",x8,t.toDisplayString(a.title),1),t.createElementVNode("div",M8,t.toDisplayString(a.description),1)])],2)}const v8=z(A8,[["render",B8],["__scopeId","data-v-7f42cb11"]]),DZ="",j8={name:"UnnnicCard",props:{title:{type:String,default:null},description:{type:String,default:null},clickable:{type:Boolean,default:!1}}},N8={class:"unnnic-card-default__content"},S8={class:"unnnic-card-default__title"},T8=["title"];function I8(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-default":!0,"unnnic-card-default__clickable":a.clickable})},[t.createElementVNode("div",N8,[t.createElementVNode("div",S8,t.toDisplayString(a.title),1),t.createElementVNode("p",{class:"unnnic-card-default__description",title:a.description},t.toDisplayString(a.description),9,T8)])],2)}const O8=z(j8,[["render",I8]]),AZ="",L8={name:"UnnnicCard",components:{UnnnicIcon:ee},props:{text:{type:String,default:null},icon:{type:String,default:null},clickable:{type:Boolean,default:!1}}},z8={class:"unnnic-card-blank__content"},q8={class:"unnnic-card-blank__content__text"};function P8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-blank":!0,"unnnic-card-blank__clickable":a.clickable})},[t.createElementVNode("div",z8,[t.createVNode(u,{icon:a.icon,scheme:"neutral-clean",class:"unnnic-card-blank__content__icon",size:"xl"},null,8,["icon"]),t.createElementVNode("div",q8,t.toDisplayString(a.text),1)])],2)}const V8=z(L8,[["render",P8]]),EZ="",U8={name:"UnnnicCard",components:{UnnnicIcon:ee},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},enabled:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1}}},R8={class:"unnnic-card-content__content"},Y8={class:"unnnic-card-content__content__title"},H8={class:"unnnic-card-content__content__description"};function Q8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-content":!0,"unnnic-card-content--disabled":!a.enabled,"unnnic-card-content__clickable":a.clickable})},[t.createElementVNode("div",{class:t.normalizeClass(["unnnic-card-content__icon",a.enabled&&"unnnic-card-content__icon--disabled"])},[t.createVNode(u,{icon:a.icon,scheme:"neutral-cloudy",size:"sm"},null,8,["icon"])],2),t.createElementVNode("div",R8,[t.createElementVNode("div",Y8,t.toDisplayString(a.title),1),t.createElementVNode("div",H8,t.toDisplayString(a.description),1)])],2)}const G8=z(U8,[["render",Q8]]),CZ="",W8={name:"UnnnicCard",components:{UnnnicIcon:ee},props:{title:{type:String,default:null},description:{type:String,default:null},comments:{type:String,default:null},clickable:{type:Boolean,default:!1},iconSrc:{type:String,default:null},rating:{type:Number,default:0},typeAction:{type:String,default:null}},methods:{cardClick(){this.$emit("openModal")}}},X8={class:t.normalizeClass(["unnnic-card-marketplace__icons"])},K8=["src"],Z8={class:"unnnic-card-marketplace__content"},J8={class:"unnnic-card-marketplace__content__title"},$8=["title"],e7={key:0,class:"unnnic-card-marketplace__content__rating"},t7={class:"unnnic-card-marketplace__content__rating__value"},a7={class:"unnnic-card-marketplace__content__rating__comments"};function n7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-marketplace":!0,"unnnic-card-marketplace__clickable":a.clickable,"unnnic-card-marketplace__add":a.typeAction==="add","unnnic-card-marketplace__config":a.typeAction==="config","unnnic-card-marketplace__edit":a.typeAction==="edit"}),onClick:n[0]||(n[0]=(...c)=>s.cardClick&&s.cardClick(...c))},[t.createElementVNode("div",X8,[t.createElementVNode("img",{class:"unnnic-card-marketplace__icons__app",src:a.iconSrc},null,8,K8),t.renderSlot(e.$slots,"actions")]),t.createElementVNode("div",Z8,[t.createElementVNode("div",J8,t.toDisplayString(a.title),1),t.createElementVNode("div",{class:"unnnic-card-marketplace__content__description",title:a.description},t.toDisplayString(a.description),9,$8),a.typeAction==="add"?(t.openBlock(),t.createElementBlock("div",e7,[t.createVNode(u,{class:"unnnic-card-marketplace__content__rating__star",scheme:"feedback-yellow",icon:"rating-star-1",size:"ant"}),t.createElementVNode("div",t7,t.toDisplayString(a.rating),1),t.createElementVNode("div",a7," ("+t.toDisplayString(a.comments)+") ",1)])):t.createCommentVNode("",!0)])],2)}const i7=z(W8,[["render",n7]]),xZ="",r7={name:"UnnnicCard",props:{type:{type:String,default:"title",validator(e){return["title","status","dash","account","default","blank","content","marketplace"].indexOf(e)!==-1}},title:{type:String,default:null},description:{type:String,default:null},status:{type:String,default:null},info:{type:String,default:null},text:{type:String,default:null},value:{type:Number,default:null},percent:{type:Number,default:0},invertedPercentage:{type:Boolean,default:!1},rating:{type:Number,default:0},comments:{type:String,default:null},enabled:{type:Boolean,default:!0},icon:{type:String,default:null},iconSrc:{type:String,default:null},infoPosition:{type:String,default:"right"},hasInformationIcon:{type:Boolean,default:!0},scheme:{type:String,default:"aux-blue",validator(e){return["feedback-red","feedback-green","feedback-yellow","feedback-blue","feedback-grey","aux-blue","aux-purple","aux-orange","aux-lemon","aux-pink","brand-weni-soft"].indexOf(e)!==-1}},clickable:{type:Boolean,default:!1},typeAction:{type:String,default:null,validator(e){return["add","config","edit"].indexOf(e)!==-1}},buttonAction:{type:Function,default:()=>{}}},computed:{currentTypeIcon(){return this.icon?this.icon:this.type==="title"?"graph-stats-1":this.type==="dash"?"messages-bubble-1":this.type==="status"?"science-fiction-robot-2":this.type==="account"?"single-neutral-2":null},currentComponent(){return this.type==="title"?Tg:this.type==="dash"?c8:this.type==="status"?D8:this.type==="account"?v8:this.type==="default"?O8:this.type==="blank"?V8:this.type==="content"?G8:this.type==="marketplace"?i7:Tg}},methods:{openModal(){this.$emit("openModal")}}};function o7(e,n,a,i,o,s){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(s.currentComponent),t.mergeProps({class:"unnnic-card-component"},e.$attrs,{title:a.title,text:a.text,info:a.info,icon:s.currentTypeIcon,iconSrc:a.iconSrc,rating:a.rating,comments:a.comments,typeAction:a.typeAction,buttonAction:a.buttonAction,value:a.value,percent:a.percent,invertedPercentage:a.invertedPercentage||null,status:a.status,description:a.description,infoPosition:a.infoPosition,enabled:a.enabled,scheme:a.scheme,clickable:a.clickable||null,hasInformationIcon:a.hasInformationIcon||null,onOpenModal:s.openModal}),t.createSlots({_:2},[t.renderList(e.$slots,(u,c)=>({name:c,fn:t.withCtx(()=>[t.renderSlot(e.$slots,c)])}))]),1040,["title","text","info","icon","iconSrc","rating","comments","typeAction","buttonAction","value","percent","invertedPercentage","status","description","infoPosition","enabled","scheme","clickable","hasInformationIcon","onOpenModal"])}const _c=z(r7,[["render",o7]]),MZ="",gc={name:"UnnnicSimpleCard",components:{UnnnicToolTip:At,UnnnicIcon:ee},props:{title:{type:String,default:""},titleSize:{type:String,default:"16px"},titleTooltip:{type:String,default:""},text:{type:String,default:""},clickable:{type:Boolean,default:!1}},emits:["click"]},Ig=()=>{t.useCssVars(e=>({"14ad6579":e.titleSize}))},Og=gc.setup;gc.setup=Og?(e,n)=>(Ig(),Og(e,n)):Ig;const s7={key:0,class:"unnnic-simple-card__header"},l7={class:"unnnic-simple-card-header-container"},u7={class:"unnnic-simple-card-header-container__title"},c7={key:0,class:"unnnic-simple-card__header-slot"},d7=["title"],f7={key:2,class:"unnnic-simple-card__footer"};function _7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicToolTip");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass({"unnnic-simple-card":!0,"unnnic-simple-card--clickable":a.clickable}),onClick:n[0]||(n[0]=t.withModifiers(f=>a.clickable&&e.$emit("click"),["stop"]))},[a.title||e.$slots.headerSlot?(t.openBlock(),t.createElementBlock("section",s7,[t.createElementVNode("section",l7,[t.createElementVNode("h1",u7,t.toDisplayString(a.title),1),a.titleTooltip?(t.openBlock(),t.createBlock(c,{key:0,text:a.titleTooltip,enabled:"",class:"unnnic-simple-card-header-container__title-tooltip"},{default:t.withCtx(()=>[t.createVNode(u,{icon:"info",size:"nano",scheme:"neutral-cloudy"})]),_:1},8,["text"])):t.createCommentVNode("",!0)]),e.$slots.headerSlot?(t.openBlock(),t.createElementBlock("section",c7,[t.renderSlot(e.$slots,"headerSlot",{},void 0,!0)])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),a.text?(t.openBlock(),t.createElementBlock("p",{key:1,class:"unnnic-simple-card__text",title:a.text},t.toDisplayString(a.text),9,d7)):t.createCommentVNode("",!0),e.$slots.footer?(t.openBlock(),t.createElementBlock("section",f7,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])):t.createCommentVNode("",!0)],2)}const hc=z(gc,[["render",_7],["__scopeId","data-v-80dbbab7"]]),BZ="",g7={name:"UnnnicTag",components:{UnnnicIcon:ee},props:{text:{type:String,default:null},clickable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},hasCloseIcon:{type:Boolean,default:!1},scheme:{type:String,default:"aux-purple"},leftIcon:{type:String,default:null},rightIcon:{type:String,default:null}},methods:{closeClicked(){this.closeClicked&&this.$emit("close-click")},emitClose(){this.$emit("close")}}},h7={key:0,class:"unnnic-tag__icon"};function m7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(`unnnic-tag
60
60
  ${a.disabled?"unnnic-tag--disabled":`unnnic-tag-scheme--${a.scheme}`}
61
61
  ${a.clickable?"unnnic-tag--clickable":""}`)},[a.leftIcon?(t.openBlock(),t.createElementBlock("section",h7,[t.createVNode(u,{icon:a.leftIcon,scheme:a.scheme,size:"sm"},null,8,["icon","scheme"])])):t.createCommentVNode("",!0),t.createElementVNode("span",{class:t.normalizeClass(`unnnic-tag__label
62
62
  ${a.disabled?"unnnic-tag__label--disabled":""}`)},t.toDisplayString(a.text),3),a.rightIcon||a.hasCloseIcon?(t.openBlock(),t.createElementBlock("section",{key:1,class:t.normalizeClass({"unnnic-tag__icon":!0,clickable:!a.rightIcon}),onClick:n[0]||(n[0]=t.withModifiers(c=>a.hasCloseIcon?s.emitClose():()=>{},["stop"]))},[t.createVNode(u,{icon:a.rightIcon||"close",scheme:a.rightIcon?a.scheme:"neutral-darkest",size:"sm"},null,8,["icon","scheme"])],2)):t.createCommentVNode("",!0)],2)}const F7=z(g7,[["render",m7],["__scopeId","data-v-618eeccb"]]),vZ="",p7={name:"UnnnicTag",components:{UnnnicIcon:ee,ToolTip:At},props:{text:{type:String,default:null},tooltipText:{type:String,default:null},count:{type:Number,default:0},clickable:{type:Boolean,default:!1},hasBackButton:{type:Boolean,default:!1},enableTooltip:{type:Boolean,default:!1}}},b7={class:"unnnic-tag__count"},y7={class:"unnnic-tag__label"};function w7(e,n,a,i,o,s){const u=t.resolveComponent("ToolTip"),c=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(`unnnic-tag
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weni/unnnic-system",
3
- "version": "3.7.1-alpha.0",
3
+ "version": "3.7.1-alpha.1",
4
4
  "type": "commonjs",
5
5
  "files": [
6
6
  "dist",
@@ -27,7 +27,7 @@
27
27
  :filled="iconsFilled"
28
28
  :class="{ 'unnnic-button__icon-left': hasText }"
29
29
  :style="{ visibility: loading ? 'hidden' : 'visible' }"
30
- :next="next"
30
+ clickable
31
31
  data-testid="icon-left"
32
32
  />
33
33
 
@@ -38,7 +38,7 @@
38
38
  :style="{ visibility: loading ? 'hidden' : 'visible' }"
39
39
  :size="iconSize"
40
40
  :filled="iconsFilled"
41
- :next="next"
41
+ clickable
42
42
  data-testid="icon-center"
43
43
  />
44
44
 
@@ -59,7 +59,7 @@
59
59
  :filled="iconsFilled"
60
60
  :class="{ 'unnnic-button__icon-right': hasText }"
61
61
  :style="{ visibility: loading ? 'hidden' : 'visible' }"
62
- :next="next"
62
+ clickable
63
63
  data-testid="icon-right"
64
64
  />
65
65
  </button>
@@ -214,10 +214,6 @@ watch(
214
214
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
215
215
  transition-duration: 0.15s;
216
216
 
217
- * > {
218
- cursor: pointer;
219
- }
220
-
221
217
  &__icon {
222
218
  &-left {
223
219
  margin-right: $unnnic-inline-nano;
@@ -11,6 +11,7 @@
11
11
 
12
12
  &:focus,
13
13
  &.focus {
14
+ transition: border-color 0.1s ease-in-out;
14
15
  border-color: $unnnic-color-border-active;
15
16
  }
16
17