@feedmepos/mf-hrm-portal 2.0.8-dev.10 → 2.0.8-dev.11

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.
Files changed (25) hide show
  1. package/dist/{AuditLogList-CNrMFE7u.js → AuditLogList-CYoUWLEX.js} +6 -6
  2. package/dist/{EmployeeList-cOmlbt40.js → EmployeeList-DFocs_BJ.js} +5 -5
  3. package/dist/{Main-BJh3lH16.js → Main-C2gZX1AT.js} +4 -4
  4. package/dist/{Main-C3koRp1u.js → Main-CZAGXvvi.js} +6 -6
  5. package/dist/{Main-BDXOkOE2.js → Main-DkkkR5h8.js} +9 -9
  6. package/dist/{PermissionSetList-CLJn0V0J.js → PermissionSetList-DZ2P4mKk.js} +5 -5
  7. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bcr-EX6B.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-D5_uFNqA.js} +924 -924
  8. package/dist/{RoleList-Bd3v0EoJ.js → RoleList-C21eCooe.js} +7 -7
  9. package/dist/{TeamMemberList-CbfbIqYV.js → TeamMemberList-BEJpfmbN.js} +8 -8
  10. package/dist/{TimesheetList-DkJWAHEN.js → TimesheetList-Bq0z6v_2.js} +7 -7
  11. package/dist/{app-CBCdQFuQ.js → app-B285_m2n.js} +4 -4
  12. package/dist/app.js +1 -1
  13. package/dist/{dayjs.min-D-dyRkoG.js → dayjs.min-BxzxUB_-.js} +1 -1
  14. package/dist/{employee-BUIgpjQN.js → employee-m_0kWAh4.js} +4 -4
  15. package/dist/{index-BMJS_Lkf.js → index-BnHa9Fqh.js} +1 -1
  16. package/dist/{index-CPrEayXj.js → index-Bq0fqdmL.js} +2 -2
  17. package/dist/{iteration-CsLWDBUl.js → iteration-DwHZ7vH4.js} +1 -1
  18. package/dist/{lodash-B9IFDgiG.js → lodash-C_oqURUo.js} +1 -1
  19. package/dist/{team-6mA14lfK.js → team-DfLxBGup.js} +1 -1
  20. package/dist/{timesheet-DG2p1hTy.js → timesheet-kIuiHl_B.js} +3 -3
  21. package/dist/tsconfig.app.tsbuildinfo +1 -1
  22. package/dist/{useAppStore-CmUOIsdB.js → useAppStore-Gfzjp5eI.js} +1 -1
  23. package/dist/{useLoading-Ct9N6Ir6.js → useLoading-DGTaKnpg.js} +1 -1
  24. package/dist/{useReportPermissions-D_KEL6RC.js → useReportPermissions-CDY1iQtG.js} +3 -3
  25. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- import { getCurrentInstance as xt, inject as $n, ref as je, shallowRef as Kn, computed as q, watch as St, onMounted as Zt, onUnmounted as Rn, defineComponent as Ie, h as Sn, createVNode as me, Text as zn, Fragment as Ne, resolveComponent as Xe, createBlock as Se, openBlock as H, withCtx as he, createElementVNode as te, createElementBlock as ee, toDisplayString as Re, unref as B, renderList as pe, renderSlot as ge, createCommentVNode as Oe, createTextVNode as Qn, useSlots as qn, normalizeStyle as ct, normalizeClass as qe, toRef as Qt, createSlots as Fe, nextTick as es, mergeModels as qt, useModel as ts } from "vue";
1
+ import { getCurrentInstance as xt, inject as $n, ref as Ue, shallowRef as zn, computed as q, watch as St, onMounted as Xt, onUnmounted as An, defineComponent as Ne, h as Sn, createVNode as de, Text as Kn, Fragment as Ie, resolveComponent as Ze, createBlock as Se, openBlock as H, withCtx as he, createElementVNode as te, createElementBlock as ee, toDisplayString as Ae, unref as B, renderList as pe, renderSlot as ge, createCommentVNode as Oe, createTextVNode as Qn, useSlots as qn, normalizeStyle as ct, normalizeClass as qe, toRef as Qt, createSlots as Fe, nextTick as es, mergeModels as qt, useModel as ts } from "vue";
2
2
  import { useI18n as _t, useCoreStore as ns } from "@feedmepos/mf-common";
3
3
  import "@vue/devtools-api";
4
- import { p as Dt, j as ss, x as as, y as It, z as rs, l as ls, $ as Tt } from "./index-CPrEayXj.js";
5
- import { d as ut, g as os, b as is } from "./iteration-CsLWDBUl.js";
6
- import { i as cs, u as ce, N as us, a as kt } from "./app-CBCdQFuQ.js";
7
- import { u as ds } from "./index-BMJS_Lkf.js";
8
- import { u as ms } from "./useAppStore-CmUOIsdB.js";
4
+ import { p as Mt, j as ss, x as as, y as Nt, z as rs, l as ls, $ as kt } from "./index-Bq0fqdmL.js";
5
+ import { d as ut, g as os, b as is } from "./iteration-DwHZ7vH4.js";
6
+ import { i as cs, u as ce, N as us, a as Tt } from "./app-B285_m2n.js";
7
+ import { u as ms } from "./index-BnHa9Fqh.js";
8
+ import { u as ds } from "./useAppStore-Gfzjp5eI.js";
9
9
  /*!
10
10
  * shared v10.0.5
11
11
  * (c) 2024 kazuya kawaguchi
12
12
  * Released under the MIT License.
13
13
  */
14
- const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ue = (e) => typeof e == "number" && isFinite(e), ps = (e) => Xt(e) === "[object Date]", mt = (e) => Xt(e) === "[object RegExp]", pt = (e) => J(e) && Object.keys(e).length === 0, de = Object.assign, hs = Object.create, z = (e = null) => hs(e);
14
+ const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ue = (e) => typeof e == "number" && isFinite(e), ps = (e) => Zt(e) === "[object Date]", dt = (e) => Zt(e) === "[object RegExp]", pt = (e) => J(e) && Object.keys(e).length === 0, me = Object.assign, hs = Object.create, K = (e = null) => hs(e);
15
15
  let tn;
16
- const Ue = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : z());
16
+ const je = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : K());
17
17
  function nn(e) {
18
18
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
19
19
  }
@@ -21,7 +21,7 @@ const gs = Object.prototype.hasOwnProperty;
21
21
  function ye(e, t) {
22
22
  return gs.call(e, t);
23
23
  }
24
- const ie = Array.isArray, se = (e) => typeof e == "function", P = (e) => typeof e == "string", oe = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", bs = (e) => $(e) && se(e.then) && se(e.catch), Dn = Object.prototype.toString, Xt = (e) => Dn.call(e), J = (e) => Xt(e) === "[object Object]", vs = (e) => e == null ? "" : ie(e) || J(e) && e.toString === Dn ? JSON.stringify(e, null, 2) : String(e);
24
+ const ie = Array.isArray, se = (e) => typeof e == "function", P = (e) => typeof e == "string", oe = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", bs = (e) => $(e) && se(e.then) && se(e.catch), Mn = Object.prototype.toString, Zt = (e) => Mn.call(e), J = (e) => Zt(e) === "[object Object]", vs = (e) => e == null ? "" : ie(e) || J(e) && e.toString === Mn ? JSON.stringify(e, null, 2) : String(e);
25
25
  function Yt(e, t = "") {
26
26
  return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
27
27
  }
@@ -29,24 +29,24 @@ function Es(e, t) {
29
29
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
30
30
  }
31
31
  const rt = (e) => !$(e) || ie(e);
32
- function dt(e, t) {
32
+ function mt(e, t) {
33
33
  if (rt(e) || rt(t))
34
34
  throw new Error("Invalid value");
35
35
  const n = [{ src: e, des: t }];
36
36
  for (; n.length; ) {
37
37
  const { src: s, des: l } = n.pop();
38
38
  Object.keys(s).forEach((a) => {
39
- a !== "__proto__" && ($(s[a]) && !$(l[a]) && (l[a] = Array.isArray(s[a]) ? [] : z()), rt(l[a]) || rt(s[a]) ? l[a] = s[a] : n.push({ src: s[a], des: l[a] }));
39
+ a !== "__proto__" && ($(s[a]) && !$(l[a]) && (l[a] = Array.isArray(s[a]) ? [] : K()), rt(l[a]) || rt(s[a]) ? l[a] = s[a] : n.push({ src: s[a], des: l[a] }));
40
40
  });
41
41
  }
42
42
  }
43
- function Ns(e, t, n) {
43
+ function Is(e, t, n) {
44
44
  return { line: e, column: t, offset: n };
45
45
  }
46
- function wt(e, t, n) {
46
+ function Dt(e, t, n) {
47
47
  return { start: e, end: t };
48
48
  }
49
- const K = {
49
+ const z = {
50
50
  // tokenizer error codes
51
51
  EXPECTED_TOKEN: 1,
52
52
  INVALID_TOKEN_IN_PLACEHOLDER: 2,
@@ -65,20 +65,20 @@ const K = {
65
65
  UNEXPECTED_LEXICAL_ANALYSIS: 14
66
66
  }, ys = 17;
67
67
  function ht(e, t, n = {}) {
68
- const { domain: s, messages: l, args: a } = n, c = e, m = new SyntaxError(String(c));
69
- return m.code = e, t && (m.location = t), m.domain = s, m;
68
+ const { domain: s, messages: l, args: a } = n, c = e, d = new SyntaxError(String(c));
69
+ return d.code = e, t && (d.location = t), d.domain = s, d;
70
70
  }
71
- function Is(e) {
71
+ function Ns(e) {
72
72
  throw e;
73
73
  }
74
- const ke = " ", Ts = "\r", fe = `
75
- `, ks = "\u2028", Os = "\u2029";
74
+ const Te = " ", ks = "\r", fe = `
75
+ `, Ts = "\u2028", Os = "\u2029";
76
76
  function Ls(e) {
77
77
  const t = e;
78
78
  let n = 0, s = 1, l = 1, a = 0;
79
- const c = (d) => t[d] === Ts && t[d + 1] === fe, m = (d) => t[d] === fe, u = (d) => t[d] === Os, g = (d) => t[d] === ks, T = (d) => c(d) || m(d) || u(d) || g(d), O = () => n, N = () => s, M = () => l, V = () => a, I = (d) => c(d) || u(d) || g(d) ? fe : t[d], R = () => I(n), i = () => I(n + a);
79
+ const c = (m) => t[m] === ks && t[m + 1] === fe, d = (m) => t[m] === fe, u = (m) => t[m] === Os, g = (m) => t[m] === Ts, k = (m) => c(m) || d(m) || u(m) || g(m), O = () => n, I = () => s, w = () => l, V = () => a, N = (m) => c(m) || u(m) || g(m) ? fe : t[m], A = () => N(n), i = () => N(n + a);
80
80
  function f() {
81
- return a = 0, T(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
81
+ return a = 0, k(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
82
82
  }
83
83
  function y() {
84
84
  return c(n + a) && a++, a++, t[n + a];
@@ -86,80 +86,80 @@ function Ls(e) {
86
86
  function h() {
87
87
  n = 0, s = 1, l = 1, a = 0;
88
88
  }
89
- function S(d = 0) {
90
- a = d;
89
+ function S(m = 0) {
90
+ a = m;
91
91
  }
92
- function A() {
93
- const d = n + a;
94
- for (; d !== n; )
92
+ function R() {
93
+ const m = n + a;
94
+ for (; m !== n; )
95
95
  f();
96
96
  a = 0;
97
97
  }
98
98
  return {
99
99
  index: O,
100
- line: N,
101
- column: M,
100
+ line: I,
101
+ column: w,
102
102
  peekOffset: V,
103
- charAt: I,
104
- currentChar: R,
103
+ charAt: N,
104
+ currentChar: A,
105
105
  currentPeek: i,
106
106
  next: f,
107
107
  peek: y,
108
108
  reset: h,
109
109
  resetPeek: S,
110
- skipToPeek: A
110
+ skipToPeek: R
111
111
  };
112
112
  }
113
- const Ae = void 0, Cs = ".", sn = "'", As = "tokenizer";
114
- function Rs(e, t = {}) {
115
- const n = t.location !== !1, s = Ls(e), l = () => s.index(), a = () => Ns(s.line(), s.column(), s.index()), c = a(), m = l(), u = {
113
+ const Re = void 0, Cs = ".", sn = "'", Rs = "tokenizer";
114
+ function As(e, t = {}) {
115
+ const n = t.location !== !1, s = Ls(e), l = () => s.index(), a = () => Is(s.line(), s.column(), s.index()), c = a(), d = l(), u = {
116
116
  currentType: 13,
117
- offset: m,
117
+ offset: d,
118
118
  startLoc: c,
119
119
  endLoc: c,
120
120
  lastType: 13,
121
- lastOffset: m,
121
+ lastOffset: d,
122
122
  lastStartLoc: c,
123
123
  lastEndLoc: c,
124
124
  braceNest: 0,
125
125
  inLinked: !1,
126
126
  text: ""
127
- }, g = () => u, { onError: T } = t;
128
- function O(r, o, b, ...U) {
127
+ }, g = () => u, { onError: k } = t;
128
+ function O(r, o, b, ...j) {
129
129
  const re = g();
130
- if (o.column += b, o.offset += b, T) {
131
- const X = n ? wt(re.startLoc, o) : null, _ = ht(r, X, {
132
- domain: As,
133
- args: U
130
+ if (o.column += b, o.offset += b, k) {
131
+ const Z = n ? Dt(re.startLoc, o) : null, _ = ht(r, Z, {
132
+ domain: Rs,
133
+ args: j
134
134
  });
135
- T(_);
135
+ k(_);
136
136
  }
137
137
  }
138
- function N(r, o, b) {
138
+ function I(r, o, b) {
139
139
  r.endLoc = a(), r.currentType = o;
140
- const U = { type: o };
141
- return n && (U.loc = wt(r.startLoc, r.endLoc)), b != null && (U.value = b), U;
140
+ const j = { type: o };
141
+ return n && (j.loc = Dt(r.startLoc, r.endLoc)), b != null && (j.value = b), j;
142
142
  }
143
- const M = (r) => N(
143
+ const w = (r) => I(
144
144
  r,
145
145
  13
146
146
  /* TokenTypes.EOF */
147
147
  );
148
148
  function V(r, o) {
149
- return r.currentChar() === o ? (r.next(), o) : (O(K.EXPECTED_TOKEN, a(), 0, o), "");
149
+ return r.currentChar() === o ? (r.next(), o) : (O(z.EXPECTED_TOKEN, a(), 0, o), "");
150
150
  }
151
- function I(r) {
151
+ function N(r) {
152
152
  let o = "";
153
- for (; r.currentPeek() === ke || r.currentPeek() === fe; )
153
+ for (; r.currentPeek() === Te || r.currentPeek() === fe; )
154
154
  o += r.currentPeek(), r.peek();
155
155
  return o;
156
156
  }
157
- function R(r) {
158
- const o = I(r);
157
+ function A(r) {
158
+ const o = N(r);
159
159
  return r.skipToPeek(), o;
160
160
  }
161
161
  function i(r) {
162
- if (r === Ae)
162
+ if (r === Re)
163
163
  return !1;
164
164
  const o = r.charCodeAt(0);
165
165
  return o >= 97 && o <= 122 || // a-z
@@ -167,7 +167,7 @@ function Rs(e, t = {}) {
167
167
  o === 95;
168
168
  }
169
169
  function f(r) {
170
- if (r === Ae)
170
+ if (r === Re)
171
171
  return !1;
172
172
  const o = r.charCodeAt(0);
173
173
  return o >= 48 && o <= 57;
@@ -176,77 +176,77 @@ function Rs(e, t = {}) {
176
176
  const { currentType: b } = o;
177
177
  if (b !== 2)
178
178
  return !1;
179
- I(r);
180
- const U = i(r.currentPeek());
181
- return r.resetPeek(), U;
179
+ N(r);
180
+ const j = i(r.currentPeek());
181
+ return r.resetPeek(), j;
182
182
  }
183
183
  function h(r, o) {
184
184
  const { currentType: b } = o;
185
185
  if (b !== 2)
186
186
  return !1;
187
- I(r);
188
- const U = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), re = f(U);
187
+ N(r);
188
+ const j = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), re = f(j);
189
189
  return r.resetPeek(), re;
190
190
  }
191
191
  function S(r, o) {
192
192
  const { currentType: b } = o;
193
193
  if (b !== 2)
194
194
  return !1;
195
- I(r);
196
- const U = r.currentPeek() === sn;
197
- return r.resetPeek(), U;
195
+ N(r);
196
+ const j = r.currentPeek() === sn;
197
+ return r.resetPeek(), j;
198
198
  }
199
- function A(r, o) {
199
+ function R(r, o) {
200
200
  const { currentType: b } = o;
201
201
  if (b !== 7)
202
202
  return !1;
203
- I(r);
204
- const U = r.currentPeek() === ".";
205
- return r.resetPeek(), U;
203
+ N(r);
204
+ const j = r.currentPeek() === ".";
205
+ return r.resetPeek(), j;
206
206
  }
207
- function d(r, o) {
207
+ function m(r, o) {
208
208
  const { currentType: b } = o;
209
209
  if (b !== 8)
210
210
  return !1;
211
- I(r);
212
- const U = i(r.currentPeek());
213
- return r.resetPeek(), U;
211
+ N(r);
212
+ const j = i(r.currentPeek());
213
+ return r.resetPeek(), j;
214
214
  }
215
215
  function C(r, o) {
216
216
  const { currentType: b } = o;
217
217
  if (!(b === 7 || b === 11))
218
218
  return !1;
219
- I(r);
220
- const U = r.currentPeek() === ":";
221
- return r.resetPeek(), U;
219
+ N(r);
220
+ const j = r.currentPeek() === ":";
221
+ return r.resetPeek(), j;
222
222
  }
223
223
  function v(r, o) {
224
224
  const { currentType: b } = o;
225
225
  if (b !== 9)
226
226
  return !1;
227
- const U = () => {
228
- const X = r.currentPeek();
229
- return X === "{" ? i(r.peek()) : X === "@" || X === "|" || X === ":" || X === "." || X === ke || !X ? !1 : X === fe ? (r.peek(), U()) : D(r, !1);
230
- }, re = U();
227
+ const j = () => {
228
+ const Z = r.currentPeek();
229
+ return Z === "{" ? i(r.peek()) : Z === "@" || Z === "|" || Z === ":" || Z === "." || Z === Te || !Z ? !1 : Z === fe ? (r.peek(), j()) : M(r, !1);
230
+ }, re = j();
231
231
  return r.resetPeek(), re;
232
232
  }
233
233
  function p(r) {
234
- I(r);
234
+ N(r);
235
235
  const o = r.currentPeek() === "|";
236
236
  return r.resetPeek(), o;
237
237
  }
238
- function D(r, o = !0) {
239
- const b = (re = !1, X = "") => {
238
+ function M(r, o = !0) {
239
+ const b = (re = !1, Z = "") => {
240
240
  const _ = r.currentPeek();
241
- return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(X === ke || X === fe) : _ === ke ? (r.peek(), b(!0, ke)) : _ === fe ? (r.peek(), b(!0, fe)) : !0;
242
- }, U = b();
243
- return o && r.resetPeek(), U;
241
+ return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(Z === Te || Z === fe) : _ === Te ? (r.peek(), b(!0, Te)) : _ === fe ? (r.peek(), b(!0, fe)) : !0;
242
+ }, j = b();
243
+ return o && r.resetPeek(), j;
244
244
  }
245
245
  function F(r, o) {
246
246
  const b = r.currentChar();
247
- return b === Ae ? Ae : o(b) ? (r.next(), b) : null;
247
+ return b === Re ? Re : o(b) ? (r.next(), b) : null;
248
248
  }
249
- function j(r) {
249
+ function U(r) {
250
250
  const o = r.charCodeAt(0);
251
251
  return o >= 97 && o <= 122 || // a-z
252
252
  o >= 65 && o <= 90 || // A-Z
@@ -255,7 +255,7 @@ function Rs(e, t = {}) {
255
255
  o === 36;
256
256
  }
257
257
  function ae(r) {
258
- return F(r, j);
258
+ return F(r, U);
259
259
  }
260
260
  function L(r) {
261
261
  const o = r.charCodeAt(0);
@@ -266,15 +266,15 @@ function Rs(e, t = {}) {
266
266
  o === 36 || // $
267
267
  o === 45;
268
268
  }
269
- function k(r) {
269
+ function T(r) {
270
270
  return F(r, L);
271
271
  }
272
- function w(r) {
272
+ function D(r) {
273
273
  const o = r.charCodeAt(0);
274
274
  return o >= 48 && o <= 57;
275
275
  }
276
276
  function Y(r) {
277
- return F(r, w);
277
+ return F(r, D);
278
278
  }
279
279
  function x(r) {
280
280
  const o = r.charCodeAt(0);
@@ -282,23 +282,23 @@ function Rs(e, t = {}) {
282
282
  o >= 65 && o <= 70 || // A-F
283
283
  o >= 97 && o <= 102;
284
284
  }
285
- function W(r) {
285
+ function G(r) {
286
286
  return F(r, x);
287
287
  }
288
- function G(r) {
288
+ function W(r) {
289
289
  let o = "", b = "";
290
290
  for (; o = Y(r); )
291
291
  b += o;
292
292
  return b;
293
293
  }
294
- function Z(r) {
294
+ function X(r) {
295
295
  let o = "";
296
296
  for (; ; ) {
297
297
  const b = r.currentChar();
298
298
  if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
299
299
  break;
300
- if (b === ke || b === fe)
301
- if (D(r))
300
+ if (b === Te || b === fe)
301
+ if (M(r))
302
302
  o += b, r.next();
303
303
  else {
304
304
  if (p(r))
@@ -311,27 +311,27 @@ function Rs(e, t = {}) {
311
311
  return o;
312
312
  }
313
313
  function ve(r) {
314
- R(r);
314
+ A(r);
315
315
  let o = "", b = "";
316
- for (; o = k(r); )
316
+ for (; o = T(r); )
317
317
  b += o;
318
- return r.currentChar() === Ae && O(K.UNTERMINATED_CLOSING_BRACE, a(), 0), b;
318
+ return r.currentChar() === Re && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b;
319
319
  }
320
320
  function _e(r) {
321
- R(r);
321
+ A(r);
322
322
  let o = "";
323
- return r.currentChar() === "-" ? (r.next(), o += `-${G(r)}`) : o += G(r), r.currentChar() === Ae && O(K.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
323
+ return r.currentChar() === "-" ? (r.next(), o += `-${W(r)}`) : o += W(r), r.currentChar() === Re && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
324
324
  }
325
- function Me(r) {
325
+ function we(r) {
326
326
  return r !== sn && r !== fe;
327
327
  }
328
328
  function ne(r) {
329
- R(r), V(r, "'");
329
+ A(r), V(r, "'");
330
330
  let o = "", b = "";
331
- for (; o = F(r, Me); )
331
+ for (; o = F(r, we); )
332
332
  o === "\\" ? b += Ee(r) : b += o;
333
- const U = r.currentChar();
334
- return U === fe || U === Ae ? (O(K.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), U === fe && (r.next(), V(r, "'")), b) : (V(r, "'"), b);
333
+ const j = r.currentChar();
334
+ return j === fe || j === Re ? (O(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), j === fe && (r.next(), V(r, "'")), b) : (V(r, "'"), b);
335
335
  }
336
336
  function Ee(r) {
337
337
  const o = r.currentChar();
@@ -344,27 +344,27 @@ function Rs(e, t = {}) {
344
344
  case "U":
345
345
  return Je(r, o, 6);
346
346
  default:
347
- return O(K.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
347
+ return O(z.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
348
348
  }
349
349
  }
350
350
  function Je(r, o, b) {
351
351
  V(r, o);
352
- let U = "";
352
+ let j = "";
353
353
  for (let re = 0; re < b; re++) {
354
- const X = W(r);
355
- if (!X) {
356
- O(K.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${U}${r.currentChar()}`);
354
+ const Z = G(r);
355
+ if (!Z) {
356
+ O(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${j}${r.currentChar()}`);
357
357
  break;
358
358
  }
359
- U += X;
359
+ j += Z;
360
360
  }
361
- return `\\${o}${U}`;
361
+ return `\\${o}${j}`;
362
362
  }
363
363
  function $e(r) {
364
- return r !== "{" && r !== "}" && r !== ke && r !== fe;
364
+ return r !== "{" && r !== "}" && r !== Te && r !== fe;
365
365
  }
366
366
  function vt(r) {
367
- R(r);
367
+ A(r);
368
368
  let o = "", b = "";
369
369
  for (; o = F(r, $e); )
370
370
  b += o;
@@ -376,128 +376,128 @@ function Rs(e, t = {}) {
376
376
  b += o;
377
377
  return b;
378
378
  }
379
- function Nt(r) {
379
+ function It(r) {
380
380
  const o = (b) => {
381
- const U = r.currentChar();
382
- return U === "{" || U === "@" || U === "|" || U === "(" || U === ")" || !U || U === ke ? b : (b += U, r.next(), o(b));
381
+ const j = r.currentChar();
382
+ return j === "{" || j === "@" || j === "|" || j === "(" || j === ")" || !j || j === Te ? b : (b += j, r.next(), o(b));
383
383
  };
384
384
  return o("");
385
385
  }
386
- function Ke(r) {
387
- R(r);
386
+ function ze(r) {
387
+ A(r);
388
388
  const o = V(
389
389
  r,
390
390
  "|"
391
391
  /* TokenChars.Pipe */
392
392
  );
393
- return R(r), o;
393
+ return A(r), o;
394
394
  }
395
- function We(r, o) {
395
+ function Ge(r, o) {
396
396
  let b = null;
397
397
  switch (r.currentChar()) {
398
398
  case "{":
399
- return o.braceNest >= 1 && O(K.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), b = N(
399
+ return o.braceNest >= 1 && O(z.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), b = I(
400
400
  o,
401
401
  2,
402
402
  "{"
403
403
  /* TokenChars.BraceLeft */
404
- ), R(r), o.braceNest++, b;
404
+ ), A(r), o.braceNest++, b;
405
405
  case "}":
406
- return o.braceNest > 0 && o.currentType === 2 && O(K.EMPTY_PLACEHOLDER, a(), 0), r.next(), b = N(
406
+ return o.braceNest > 0 && o.currentType === 2 && O(z.EMPTY_PLACEHOLDER, a(), 0), r.next(), b = I(
407
407
  o,
408
408
  3,
409
409
  "}"
410
410
  /* TokenChars.BraceRight */
411
- ), o.braceNest--, o.braceNest > 0 && R(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
411
+ ), o.braceNest--, o.braceNest > 0 && A(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
412
412
  case "@":
413
- return o.braceNest > 0 && O(K.UNTERMINATED_CLOSING_BRACE, a(), 0), b = Ge(r, o) || M(o), o.braceNest = 0, b;
413
+ return o.braceNest > 0 && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b = We(r, o) || w(o), o.braceNest = 0, b;
414
414
  default: {
415
- let re = !0, X = !0, _ = !0;
415
+ let re = !0, Z = !0, _ = !0;
416
416
  if (p(r))
417
- return o.braceNest > 0 && O(K.UNTERMINATED_CLOSING_BRACE, a(), 0), b = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, b;
417
+ return o.braceNest > 0 && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, b;
418
418
  if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
419
- return O(K.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, ze(r, o);
419
+ return O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ke(r, o);
420
420
  if (re = y(r, o))
421
- return b = N(o, 4, ve(r)), R(r), b;
422
- if (X = h(r, o))
423
- return b = N(o, 5, _e(r)), R(r), b;
421
+ return b = I(o, 4, ve(r)), A(r), b;
422
+ if (Z = h(r, o))
423
+ return b = I(o, 5, _e(r)), A(r), b;
424
424
  if (_ = S(r, o))
425
- return b = N(o, 6, ne(r)), R(r), b;
426
- if (!re && !X && !_)
427
- return b = N(o, 12, vt(r)), O(K.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, b.value), R(r), b;
425
+ return b = I(o, 6, ne(r)), A(r), b;
426
+ if (!re && !Z && !_)
427
+ return b = I(o, 12, vt(r)), O(z.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, b.value), A(r), b;
428
428
  break;
429
429
  }
430
430
  }
431
431
  return b;
432
432
  }
433
- function Ge(r, o) {
433
+ function We(r, o) {
434
434
  const { currentType: b } = o;
435
- let U = null;
435
+ let j = null;
436
436
  const re = r.currentChar();
437
- switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === fe || re === ke) && O(K.INVALID_LINKED_FORMAT, a(), 0), re) {
437
+ switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === fe || re === Te) && O(z.INVALID_LINKED_FORMAT, a(), 0), re) {
438
438
  case "@":
439
- return r.next(), U = N(
439
+ return r.next(), j = I(
440
440
  o,
441
441
  7,
442
442
  "@"
443
443
  /* TokenChars.LinkedAlias */
444
- ), o.inLinked = !0, U;
444
+ ), o.inLinked = !0, j;
445
445
  case ".":
446
- return R(r), r.next(), N(
446
+ return A(r), r.next(), I(
447
447
  o,
448
448
  8,
449
449
  "."
450
450
  /* TokenChars.LinkedDot */
451
451
  );
452
452
  case ":":
453
- return R(r), r.next(), N(
453
+ return A(r), r.next(), I(
454
454
  o,
455
455
  9,
456
456
  ":"
457
457
  /* TokenChars.LinkedDelimiter */
458
458
  );
459
459
  default:
460
- return p(r) ? (U = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, U) : A(r, o) || C(r, o) ? (R(r), Ge(r, o)) : d(r, o) ? (R(r), N(o, 11, Et(r))) : v(r, o) ? (R(r), re === "{" ? We(r, o) || U : N(o, 10, Nt(r))) : (b === 7 && O(K.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, ze(r, o));
460
+ return p(r) ? (j = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, j) : R(r, o) || C(r, o) ? (A(r), We(r, o)) : m(r, o) ? (A(r), I(o, 11, Et(r))) : v(r, o) ? (A(r), re === "{" ? Ge(r, o) || j : I(o, 10, It(r))) : (b === 7 && O(z.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ke(r, o));
461
461
  }
462
462
  }
463
- function ze(r, o) {
463
+ function Ke(r, o) {
464
464
  let b = {
465
465
  type: 13
466
466
  /* TokenTypes.EOF */
467
467
  };
468
468
  if (o.braceNest > 0)
469
- return We(r, o) || M(o);
469
+ return Ge(r, o) || w(o);
470
470
  if (o.inLinked)
471
- return Ge(r, o) || M(o);
471
+ return We(r, o) || w(o);
472
472
  switch (r.currentChar()) {
473
473
  case "{":
474
- return We(r, o) || M(o);
474
+ return Ge(r, o) || w(o);
475
475
  case "}":
476
- return O(K.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), N(
476
+ return O(z.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), I(
477
477
  o,
478
478
  3,
479
479
  "}"
480
480
  /* TokenChars.BraceRight */
481
481
  );
482
482
  case "@":
483
- return Ge(r, o) || M(o);
483
+ return We(r, o) || w(o);
484
484
  default: {
485
485
  if (p(r))
486
- return b = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, b;
487
- if (D(r))
488
- return N(o, 0, Z(r));
486
+ return b = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, b;
487
+ if (M(r))
488
+ return I(o, 0, X(r));
489
489
  break;
490
490
  }
491
491
  }
492
492
  return b;
493
493
  }
494
494
  function yt() {
495
- const { currentType: r, offset: o, startLoc: b, endLoc: U } = u;
496
- return u.lastType = r, u.lastOffset = o, u.lastStartLoc = b, u.lastEndLoc = U, u.offset = l(), u.startLoc = a(), s.currentChar() === Ae ? N(
495
+ const { currentType: r, offset: o, startLoc: b, endLoc: j } = u;
496
+ return u.lastType = r, u.lastOffset = o, u.lastStartLoc = b, u.lastEndLoc = j, u.offset = l(), u.startLoc = a(), s.currentChar() === Re ? I(
497
497
  u,
498
498
  13
499
499
  /* TokenTypes.EOF */
500
- ) : ze(s, u);
500
+ ) : Ke(s, u);
501
501
  }
502
502
  return {
503
503
  nextToken: yt,
@@ -506,8 +506,8 @@ function Rs(e, t = {}) {
506
506
  context: g
507
507
  };
508
508
  }
509
- const Ss = "parser", Ds = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
510
- function ws(e, t, n) {
509
+ const Ss = "parser", Ms = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
510
+ function Ds(e, t, n) {
511
511
  switch (e) {
512
512
  case "\\\\":
513
513
  return "\\";
@@ -519,12 +519,12 @@ function ws(e, t, n) {
519
519
  }
520
520
  }
521
521
  }
522
- function Ms(e = {}) {
522
+ function ws(e = {}) {
523
523
  const t = e.location !== !1, { onError: n } = e;
524
524
  function s(i, f, y, h, ...S) {
525
- const A = i.currentPosition();
526
- if (A.offset += h, A.column += h, n) {
527
- const d = t ? wt(y, A) : null, C = ht(f, d, {
525
+ const R = i.currentPosition();
526
+ if (R.offset += h, R.column += h, n) {
527
+ const m = t ? Dt(y, R) : null, C = ht(f, m, {
528
528
  domain: Ss,
529
529
  args: S
530
530
  });
@@ -542,55 +542,55 @@ function Ms(e = {}) {
542
542
  const y = i.context(), h = l(3, y.offset, y.startLoc);
543
543
  return h.value = f, a(h, i.currentOffset(), i.currentPosition()), h;
544
544
  }
545
- function m(i, f) {
546
- const y = i.context(), { lastOffset: h, lastStartLoc: S } = y, A = l(5, h, S);
547
- return A.index = parseInt(f, 10), i.nextToken(), a(A, i.currentOffset(), i.currentPosition()), A;
545
+ function d(i, f) {
546
+ const y = i.context(), { lastOffset: h, lastStartLoc: S } = y, R = l(5, h, S);
547
+ return R.index = parseInt(f, 10), i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
548
548
  }
549
549
  function u(i, f) {
550
- const y = i.context(), { lastOffset: h, lastStartLoc: S } = y, A = l(4, h, S);
551
- return A.key = f, i.nextToken(), a(A, i.currentOffset(), i.currentPosition()), A;
550
+ const y = i.context(), { lastOffset: h, lastStartLoc: S } = y, R = l(4, h, S);
551
+ return R.key = f, i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
552
552
  }
553
553
  function g(i, f) {
554
- const y = i.context(), { lastOffset: h, lastStartLoc: S } = y, A = l(9, h, S);
555
- return A.value = f.replace(Ds, ws), i.nextToken(), a(A, i.currentOffset(), i.currentPosition()), A;
554
+ const y = i.context(), { lastOffset: h, lastStartLoc: S } = y, R = l(9, h, S);
555
+ return R.value = f.replace(Ms, Ds), i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
556
556
  }
557
- function T(i) {
558
- const f = i.nextToken(), y = i.context(), { lastOffset: h, lastStartLoc: S } = y, A = l(8, h, S);
559
- return f.type !== 11 ? (s(i, K.UNEXPECTED_EMPTY_LINKED_MODIFIER, y.lastStartLoc, 0), A.value = "", a(A, h, S), {
557
+ function k(i) {
558
+ const f = i.nextToken(), y = i.context(), { lastOffset: h, lastStartLoc: S } = y, R = l(8, h, S);
559
+ return f.type !== 11 ? (s(i, z.UNEXPECTED_EMPTY_LINKED_MODIFIER, y.lastStartLoc, 0), R.value = "", a(R, h, S), {
560
560
  nextConsumeToken: f,
561
- node: A
562
- }) : (f.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, Te(f)), A.value = f.value || "", a(A, i.currentOffset(), i.currentPosition()), {
563
- node: A
561
+ node: R
562
+ }) : (f.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, ke(f)), R.value = f.value || "", a(R, i.currentOffset(), i.currentPosition()), {
563
+ node: R
564
564
  });
565
565
  }
566
566
  function O(i, f) {
567
567
  const y = i.context(), h = l(7, y.offset, y.startLoc);
568
568
  return h.value = f, a(h, i.currentOffset(), i.currentPosition()), h;
569
569
  }
570
- function N(i) {
570
+ function I(i) {
571
571
  const f = i.context(), y = l(6, f.offset, f.startLoc);
572
572
  let h = i.nextToken();
573
573
  if (h.type === 8) {
574
- const S = T(i);
574
+ const S = k(i);
575
575
  y.modifier = S.node, h = S.nextConsumeToken || i.nextToken();
576
576
  }
577
- switch (h.type !== 9 && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), h = i.nextToken(), h.type === 2 && (h = i.nextToken()), h.type) {
577
+ switch (h.type !== 9 && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), h = i.nextToken(), h.type === 2 && (h = i.nextToken()), h.type) {
578
578
  case 10:
579
- h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), y.key = O(i, h.value || "");
579
+ h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), y.key = O(i, h.value || "");
580
580
  break;
581
581
  case 4:
582
- h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), y.key = u(i, h.value || "");
582
+ h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), y.key = u(i, h.value || "");
583
583
  break;
584
584
  case 5:
585
- h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), y.key = m(i, h.value || "");
585
+ h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), y.key = d(i, h.value || "");
586
586
  break;
587
587
  case 6:
588
- h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), y.key = g(i, h.value || "");
588
+ h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), y.key = g(i, h.value || "");
589
589
  break;
590
590
  default: {
591
- s(i, K.UNEXPECTED_EMPTY_LINKED_KEY, f.lastStartLoc, 0);
592
- const S = i.context(), A = l(7, S.offset, S.startLoc);
593
- return A.value = "", a(A, S.offset, S.startLoc), y.key = A, a(y, S.offset, S.startLoc), {
591
+ s(i, z.UNEXPECTED_EMPTY_LINKED_KEY, f.lastStartLoc, 0);
592
+ const S = i.context(), R = l(7, S.offset, S.startLoc);
593
+ return R.value = "", a(R, S.offset, S.startLoc), y.key = R, a(y, S.offset, S.startLoc), {
594
594
  nextConsumeToken: h,
595
595
  node: y
596
596
  };
@@ -600,57 +600,57 @@ function Ms(e = {}) {
600
600
  node: y
601
601
  };
602
602
  }
603
- function M(i) {
603
+ function w(i) {
604
604
  const f = i.context(), y = f.currentType === 1 ? i.currentOffset() : f.offset, h = f.currentType === 1 ? f.endLoc : f.startLoc, S = l(2, y, h);
605
605
  S.items = [];
606
- let A = null;
606
+ let R = null;
607
607
  do {
608
- const v = A || i.nextToken();
609
- switch (A = null, v.type) {
608
+ const v = R || i.nextToken();
609
+ switch (R = null, v.type) {
610
610
  case 0:
611
- v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(v)), S.items.push(c(i, v.value || ""));
611
+ v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(c(i, v.value || ""));
612
612
  break;
613
613
  case 5:
614
- v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(v)), S.items.push(m(i, v.value || ""));
614
+ v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(d(i, v.value || ""));
615
615
  break;
616
616
  case 4:
617
- v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(v)), S.items.push(u(i, v.value || ""));
617
+ v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(u(i, v.value || ""));
618
618
  break;
619
619
  case 6:
620
- v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(v)), S.items.push(g(i, v.value || ""));
620
+ v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(g(i, v.value || ""));
621
621
  break;
622
622
  case 7: {
623
- const p = N(i);
624
- S.items.push(p.node), A = p.nextConsumeToken || null;
623
+ const p = I(i);
624
+ S.items.push(p.node), R = p.nextConsumeToken || null;
625
625
  break;
626
626
  }
627
627
  }
628
628
  } while (f.currentType !== 13 && f.currentType !== 1);
629
- const d = f.currentType === 1 ? f.lastOffset : i.currentOffset(), C = f.currentType === 1 ? f.lastEndLoc : i.currentPosition();
630
- return a(S, d, C), S;
629
+ const m = f.currentType === 1 ? f.lastOffset : i.currentOffset(), C = f.currentType === 1 ? f.lastEndLoc : i.currentPosition();
630
+ return a(S, m, C), S;
631
631
  }
632
632
  function V(i, f, y, h) {
633
633
  const S = i.context();
634
- let A = h.items.length === 0;
635
- const d = l(1, f, y);
636
- d.cases = [], d.cases.push(h);
634
+ let R = h.items.length === 0;
635
+ const m = l(1, f, y);
636
+ m.cases = [], m.cases.push(h);
637
637
  do {
638
- const C = M(i);
639
- A || (A = C.items.length === 0), d.cases.push(C);
638
+ const C = w(i);
639
+ R || (R = C.items.length === 0), m.cases.push(C);
640
640
  } while (S.currentType !== 13);
641
- return A && s(i, K.MUST_HAVE_MESSAGES_IN_PLURAL, y, 0), a(d, i.currentOffset(), i.currentPosition()), d;
641
+ return R && s(i, z.MUST_HAVE_MESSAGES_IN_PLURAL, y, 0), a(m, i.currentOffset(), i.currentPosition()), m;
642
642
  }
643
- function I(i) {
644
- const f = i.context(), { offset: y, startLoc: h } = f, S = M(i);
643
+ function N(i) {
644
+ const f = i.context(), { offset: y, startLoc: h } = f, S = w(i);
645
645
  return f.currentType === 13 ? S : V(i, y, h, S);
646
646
  }
647
- function R(i) {
648
- const f = Rs(i, de({}, e)), y = f.context(), h = l(0, y.offset, y.startLoc);
649
- return t && h.loc && (h.loc.source = i), h.body = I(f), e.onCacheKey && (h.cacheKey = e.onCacheKey(i)), y.currentType !== 13 && s(f, K.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, i[y.offset] || ""), a(h, f.currentOffset(), f.currentPosition()), h;
647
+ function A(i) {
648
+ const f = As(i, me({}, e)), y = f.context(), h = l(0, y.offset, y.startLoc);
649
+ return t && h.loc && (h.loc.source = i), h.body = N(f), e.onCacheKey && (h.cacheKey = e.onCacheKey(i)), y.currentType !== 13 && s(f, z.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, i[y.offset] || ""), a(h, f.currentOffset(), f.currentPosition()), h;
650
650
  }
651
- return { parse: R };
651
+ return { parse: A };
652
652
  }
653
- function Te(e) {
653
+ function ke(e) {
654
654
  if (e.type === 13)
655
655
  return "EOF";
656
656
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
@@ -717,7 +717,7 @@ function Fs(e, t = {}) {
717
717
  const s = n.context();
718
718
  e.helpers = Array.from(s.helpers);
719
719
  }
720
- function Us(e) {
720
+ function js(e) {
721
721
  const t = e.body;
722
722
  return t.type === 2 ? rn(t) : t.cases.forEach((n) => rn(n)), e;
723
723
  }
@@ -742,24 +742,24 @@ function rn(e) {
742
742
  }
743
743
  }
744
744
  }
745
- function Ze(e) {
745
+ function Xe(e) {
746
746
  switch (e.t = e.type, e.type) {
747
747
  case 0: {
748
748
  const t = e;
749
- Ze(t.body), t.b = t.body, delete t.body;
749
+ Xe(t.body), t.b = t.body, delete t.body;
750
750
  break;
751
751
  }
752
752
  case 1: {
753
753
  const t = e, n = t.cases;
754
754
  for (let s = 0; s < n.length; s++)
755
- Ze(n[s]);
755
+ Xe(n[s]);
756
756
  t.c = n, delete t.cases;
757
757
  break;
758
758
  }
759
759
  case 2: {
760
760
  const t = e, n = t.items;
761
761
  for (let s = 0; s < n.length; s++)
762
- Ze(n[s]);
762
+ Xe(n[s]);
763
763
  t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
764
764
  break;
765
765
  }
@@ -773,7 +773,7 @@ function Ze(e) {
773
773
  }
774
774
  case 6: {
775
775
  const t = e;
776
- Ze(t.key), t.k = t.key, delete t.key, t.modifier && (Ze(t.modifier), t.m = t.modifier, delete t.modifier);
776
+ Xe(t.key), t.k = t.key, delete t.key, t.modifier && (Xe(t.modifier), t.m = t.modifier, delete t.modifier);
777
777
  break;
778
778
  }
779
779
  case 5: {
@@ -789,7 +789,7 @@ function Ze(e) {
789
789
  }
790
790
  delete e.type;
791
791
  }
792
- function js(e, t) {
792
+ function Us(e, t) {
793
793
  const { filename: n, breakLineCode: s, needIndent: l } = t, a = t.location !== !1, c = {
794
794
  filename: n,
795
795
  code: "",
@@ -802,32 +802,32 @@ function js(e, t) {
802
802
  indentLevel: 0
803
803
  };
804
804
  a && e.loc && (c.source = e.loc.source);
805
- const m = () => c;
806
- function u(I, R) {
807
- c.code += I;
805
+ const d = () => c;
806
+ function u(N, A) {
807
+ c.code += N;
808
808
  }
809
- function g(I, R = !0) {
810
- const i = R ? s : "";
811
- u(l ? i + " ".repeat(I) : i);
809
+ function g(N, A = !0) {
810
+ const i = A ? s : "";
811
+ u(l ? i + " ".repeat(N) : i);
812
812
  }
813
- function T(I = !0) {
814
- const R = ++c.indentLevel;
815
- I && g(R);
813
+ function k(N = !0) {
814
+ const A = ++c.indentLevel;
815
+ N && g(A);
816
816
  }
817
- function O(I = !0) {
818
- const R = --c.indentLevel;
819
- I && g(R);
817
+ function O(N = !0) {
818
+ const A = --c.indentLevel;
819
+ N && g(A);
820
820
  }
821
- function N() {
821
+ function I() {
822
822
  g(c.indentLevel);
823
823
  }
824
824
  return {
825
- context: m,
825
+ context: d,
826
826
  push: u,
827
- indent: T,
827
+ indent: k,
828
828
  deindent: O,
829
- newline: N,
830
- helper: (I) => `_${I}`,
829
+ newline: I,
830
+ helper: (N) => `_${N}`,
831
831
  needIndent: () => c.needIndent
832
832
  };
833
833
  }
@@ -838,7 +838,7 @@ function Vs(e, t) {
838
838
  /* HelperNameMap.LINKED */
839
839
  )}(`), Ye(e, t.key), t.modifier ? (e.push(", "), Ye(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
840
840
  }
841
- function Ws(e, t) {
841
+ function Gs(e, t) {
842
842
  const { helper: n, needIndent: s } = e;
843
843
  e.push(`${n(
844
844
  "normalize"
@@ -849,7 +849,7 @@ function Ws(e, t) {
849
849
  e.push(", ");
850
850
  e.deindent(s()), e.push("])");
851
851
  }
852
- function Gs(e, t) {
852
+ function Ws(e, t) {
853
853
  const { helper: n, needIndent: s } = e;
854
854
  if (t.cases.length > 1) {
855
855
  e.push(`${n(
@@ -872,10 +872,10 @@ function Ye(e, t) {
872
872
  xs(e, t);
873
873
  break;
874
874
  case 1:
875
- Gs(e, t);
875
+ Ws(e, t);
876
876
  break;
877
877
  case 2:
878
- Ws(e, t);
878
+ Gs(e, t);
879
879
  break;
880
880
  case 6:
881
881
  Vs(e, t);
@@ -912,17 +912,17 @@ function Ye(e, t) {
912
912
  break;
913
913
  }
914
914
  }
915
- const Zs = (e, t = {}) => {
915
+ const Xs = (e, t = {}) => {
916
916
  const n = P(t.mode) ? t.mode : "normal", s = P(t.filename) ? t.filename : "message.intl";
917
917
  t.sourceMap;
918
918
  const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
919
- `, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], m = js(e, {
919
+ `, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], d = Us(e, {
920
920
  filename: s,
921
921
  breakLineCode: l,
922
922
  needIndent: a
923
923
  });
924
- m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(a), c.length > 0 && (m.push(`const { ${Yt(c.map((T) => `${T}: _${T}`), ", ")} } = ctx`), m.newline()), m.push("return "), Ye(m, e), m.deindent(a), m.push("}"), delete e.helpers;
925
- const { code: u, map: g } = m.context();
924
+ d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(a), c.length > 0 && (d.push(`const { ${Yt(c.map((k) => `${k}: _${k}`), ", ")} } = ctx`), d.newline()), d.push("return "), Ye(d, e), d.deindent(a), d.push("}"), delete e.helpers;
925
+ const { code: u, map: g } = d.context();
926
926
  return {
927
927
  ast: e,
928
928
  code: u,
@@ -930,13 +930,13 @@ const Zs = (e, t = {}) => {
930
930
  // eslint-disable-line @typescript-eslint/no-explicit-any
931
931
  };
932
932
  };
933
- function Xs(e, t = {}) {
934
- const n = de({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, m = Ms(n).parse(e);
935
- return s ? (a && Us(m), l && Ze(m), { ast: m, code: "" }) : (Fs(m, n), Zs(m, n));
933
+ function Zs(e, t = {}) {
934
+ const n = me({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, d = ws(n).parse(e);
935
+ return s ? (a && js(d), l && Xe(d), { ast: d, code: "" }) : (Fs(d, n), Xs(d, n));
936
936
  }
937
937
  var Ys = { env: { NODE_ENV: "production" } };
938
938
  function Hs() {
939
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ue().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ue().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
939
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
940
940
  }
941
941
  function Ot(e) {
942
942
  return (n) => Bs(n, e);
@@ -949,40 +949,40 @@ function Bs(e, t) {
949
949
  /* NodeTypes.Resource */
950
950
  );
951
951
  if (Bt(n) === 1) {
952
- const a = zs(n);
953
- return e.plural(a.reduce((c, m) => [
952
+ const a = Ks(n);
953
+ return e.plural(a.reduce((c, d) => [
954
954
  ...c,
955
- ln(e, m)
955
+ ln(e, d)
956
956
  ], []));
957
957
  } else
958
958
  return ln(e, n);
959
959
  }
960
960
  const Js = ["b", "body"];
961
961
  function $s(e) {
962
- return De(e, Js);
962
+ return Me(e, Js);
963
963
  }
964
- const Ks = ["c", "cases"];
965
- function zs(e) {
966
- return De(e, Ks, []);
964
+ const zs = ["c", "cases"];
965
+ function Ks(e) {
966
+ return Me(e, zs, []);
967
967
  }
968
968
  function ln(e, t) {
969
969
  const n = qs(t);
970
970
  if (n != null)
971
971
  return e.type === "text" ? n : e.normalize([n]);
972
972
  {
973
- const s = ta(t).reduce((l, a) => [...l, Mt(e, a)], []);
973
+ const s = ta(t).reduce((l, a) => [...l, wt(e, a)], []);
974
974
  return e.normalize(s);
975
975
  }
976
976
  }
977
977
  const Qs = ["s", "static"];
978
978
  function qs(e) {
979
- return De(e, Qs);
979
+ return Me(e, Qs);
980
980
  }
981
981
  const ea = ["i", "items"];
982
982
  function ta(e) {
983
- return De(e, ea, []);
983
+ return Me(e, ea, []);
984
984
  }
985
- function Mt(e, t) {
985
+ function wt(e, t) {
986
986
  const n = Bt(t);
987
987
  switch (n) {
988
988
  case 3:
@@ -1007,7 +1007,7 @@ function Mt(e, t) {
1007
1007
  }
1008
1008
  case 6: {
1009
1009
  const s = t, l = ra(s), a = oa(s);
1010
- return e.linked(Mt(e, a), l ? Mt(e, l) : void 0, e.type);
1010
+ return e.linked(wt(e, a), l ? wt(e, l) : void 0, e.type);
1011
1011
  }
1012
1012
  case 7:
1013
1013
  return lt(t, n);
@@ -1019,22 +1019,22 @@ function Mt(e, t) {
1019
1019
  }
1020
1020
  const na = ["t", "type"];
1021
1021
  function Bt(e) {
1022
- return De(e, na);
1022
+ return Me(e, na);
1023
1023
  }
1024
1024
  const sa = ["v", "value"];
1025
1025
  function lt(e, t) {
1026
- const n = De(e, sa);
1026
+ const n = Me(e, sa);
1027
1027
  if (n)
1028
1028
  return n;
1029
1029
  throw et(t);
1030
1030
  }
1031
1031
  const aa = ["m", "modifier"];
1032
1032
  function ra(e) {
1033
- return De(e, aa);
1033
+ return Me(e, aa);
1034
1034
  }
1035
1035
  const la = ["k", "key"];
1036
1036
  function oa(e) {
1037
- const t = De(e, la);
1037
+ const t = Me(e, la);
1038
1038
  if (t)
1039
1039
  return t;
1040
1040
  throw et(
@@ -1042,7 +1042,7 @@ function oa(e) {
1042
1042
  /* NodeTypes.Linked */
1043
1043
  );
1044
1044
  }
1045
- function De(e, t, n) {
1045
+ function Me(e, t, n) {
1046
1046
  for (let s = 0; s < t.length; s++) {
1047
1047
  const l = t[s];
1048
1048
  if (ye(e, l) && e[l] != null)
@@ -1054,16 +1054,16 @@ function et(e) {
1054
1054
  return new Error(`unhandled node type: ${e}`);
1055
1055
  }
1056
1056
  const ia = (e) => e;
1057
- let ot = z();
1057
+ let ot = K();
1058
1058
  function He(e) {
1059
1059
  return $(e) && Bt(e) === 0 && (ye(e, "b") || ye(e, "body"));
1060
1060
  }
1061
1061
  function ca(e, t = {}) {
1062
1062
  let n = !1;
1063
- const s = t.onError || Is;
1063
+ const s = t.onError || Ns;
1064
1064
  return t.onError = (l) => {
1065
1065
  n = !0, s(l);
1066
- }, { ...Xs(e, t), detectError: n };
1066
+ }, { ...Zs(e, t), detectError: n };
1067
1067
  }
1068
1068
  // @__NO_SIDE_EFFECTS__
1069
1069
  function ua(e, t) {
@@ -1076,8 +1076,8 @@ function ua(e, t) {
1076
1076
  ...t,
1077
1077
  location: Ys.env.NODE_ENV !== "production",
1078
1078
  jit: !0
1079
- }), m = Ot(a);
1080
- return c ? m : ot[s] = m;
1079
+ }), d = Ot(a);
1080
+ return c ? d : ot[s] = d;
1081
1081
  } else {
1082
1082
  const n = e.cacheKey;
1083
1083
  if (n) {
@@ -1088,10 +1088,10 @@ function ua(e, t) {
1088
1088
  }
1089
1089
  }
1090
1090
  let tt = null;
1091
- function da(e) {
1091
+ function ma(e) {
1092
1092
  tt = e;
1093
1093
  }
1094
- function ma(e, t, n) {
1094
+ function da(e, t, n) {
1095
1095
  tt && tt.emit("i18n:init", {
1096
1096
  timestamp: Date.now(),
1097
1097
  i18n: e,
@@ -1141,7 +1141,7 @@ function ha(e, t, n) {
1141
1141
  ...ie(t) ? t : $(t) ? Object.keys(t) : P(t) ? [t] : [n]
1142
1142
  ])];
1143
1143
  }
1144
- function wn(e, t, n) {
1144
+ function Dn(e, t, n) {
1145
1145
  const s = P(n) ? n : ft, l = e;
1146
1146
  l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
1147
1147
  let a = l.__localeChainCache.get(s);
@@ -1150,8 +1150,8 @@ function wn(e, t, n) {
1150
1150
  let c = [n];
1151
1151
  for (; ie(c); )
1152
1152
  c = cn(a, c, t);
1153
- const m = ie(t) || !J(t) ? t : t.default ? t.default : null;
1154
- c = P(m) ? [m] : m, ie(c) && cn(a, c, !1), l.__localeChainCache.set(s, a);
1153
+ const d = ie(t) || !J(t) ? t : t.default ? t.default : null;
1154
+ c = P(d) ? [d] : d, ie(c) && cn(a, c, !1), l.__localeChainCache.set(s, a);
1155
1155
  }
1156
1156
  return a;
1157
1157
  }
@@ -1181,8 +1181,8 @@ function ba(e, t, n) {
1181
1181
  }
1182
1182
  return s;
1183
1183
  }
1184
- const we = [];
1185
- we[
1184
+ const De = [];
1185
+ De[
1186
1186
  0
1187
1187
  /* States.BEFORE_PATH */
1188
1188
  ] = {
@@ -1204,7 +1204,7 @@ we[
1204
1204
  /* States.AFTER_PATH */
1205
1205
  ]
1206
1206
  };
1207
- we[
1207
+ De[
1208
1208
  1
1209
1209
  /* States.IN_PATH */
1210
1210
  ] = {
@@ -1225,7 +1225,7 @@ we[
1225
1225
  /* States.AFTER_PATH */
1226
1226
  ]
1227
1227
  };
1228
- we[
1228
+ De[
1229
1229
  2
1230
1230
  /* States.BEFORE_IDENT */
1231
1231
  ] = {
@@ -1244,7 +1244,7 @@ we[
1244
1244
  /* Actions.APPEND */
1245
1245
  ]
1246
1246
  };
1247
- we[
1247
+ De[
1248
1248
  3
1249
1249
  /* States.IN_IDENT */
1250
1250
  ] = {
@@ -1279,7 +1279,7 @@ we[
1279
1279
  /* Actions.PUSH */
1280
1280
  ]
1281
1281
  };
1282
- we[
1282
+ De[
1283
1283
  4
1284
1284
  /* States.IN_SUB_PATH */
1285
1285
  ] = {
@@ -1310,7 +1310,7 @@ we[
1310
1310
  /* Actions.APPEND */
1311
1311
  ]
1312
1312
  };
1313
- we[
1313
+ De[
1314
1314
  5
1315
1315
  /* States.IN_SINGLE_QUOTE */
1316
1316
  ] = {
@@ -1326,7 +1326,7 @@ we[
1326
1326
  /* Actions.APPEND */
1327
1327
  ]
1328
1328
  };
1329
- we[
1329
+ De[
1330
1330
  6
1331
1331
  /* States.IN_DOUBLE_QUOTE */
1332
1332
  ] = {
@@ -1346,7 +1346,7 @@ const va = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1346
1346
  function Ea(e) {
1347
1347
  return va.test(e);
1348
1348
  }
1349
- function Na(e) {
1349
+ function Ia(e) {
1350
1350
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1351
1351
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1352
1352
  }
@@ -1375,75 +1375,75 @@ function ya(e) {
1375
1375
  }
1376
1376
  return "i";
1377
1377
  }
1378
- function Ia(e) {
1378
+ function Na(e) {
1379
1379
  const t = e.trim();
1380
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ea(t) ? Na(t) : "*" + t;
1380
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ea(t) ? Ia(t) : "*" + t;
1381
1381
  }
1382
- function Ta(e) {
1382
+ function ka(e) {
1383
1383
  const t = [];
1384
- let n = -1, s = 0, l = 0, a, c, m, u, g, T, O;
1385
- const N = [];
1386
- N[
1384
+ let n = -1, s = 0, l = 0, a, c, d, u, g, k, O;
1385
+ const I = [];
1386
+ I[
1387
1387
  0
1388
1388
  /* Actions.APPEND */
1389
1389
  ] = () => {
1390
- c === void 0 ? c = m : c += m;
1391
- }, N[
1390
+ c === void 0 ? c = d : c += d;
1391
+ }, I[
1392
1392
  1
1393
1393
  /* Actions.PUSH */
1394
1394
  ] = () => {
1395
1395
  c !== void 0 && (t.push(c), c = void 0);
1396
- }, N[
1396
+ }, I[
1397
1397
  2
1398
1398
  /* Actions.INC_SUB_PATH_DEPTH */
1399
1399
  ] = () => {
1400
- N[
1400
+ I[
1401
1401
  0
1402
1402
  /* Actions.APPEND */
1403
1403
  ](), l++;
1404
- }, N[
1404
+ }, I[
1405
1405
  3
1406
1406
  /* Actions.PUSH_SUB_PATH */
1407
1407
  ] = () => {
1408
1408
  if (l > 0)
1409
- l--, s = 4, N[
1409
+ l--, s = 4, I[
1410
1410
  0
1411
1411
  /* Actions.APPEND */
1412
1412
  ]();
1413
1413
  else {
1414
- if (l = 0, c === void 0 || (c = Ia(c), c === !1))
1414
+ if (l = 0, c === void 0 || (c = Na(c), c === !1))
1415
1415
  return !1;
1416
- N[
1416
+ I[
1417
1417
  1
1418
1418
  /* Actions.PUSH */
1419
1419
  ]();
1420
1420
  }
1421
1421
  };
1422
- function M() {
1422
+ function w() {
1423
1423
  const V = e[n + 1];
1424
1424
  if (s === 5 && V === "'" || s === 6 && V === '"')
1425
- return n++, m = "\\" + V, N[
1425
+ return n++, d = "\\" + V, I[
1426
1426
  0
1427
1427
  /* Actions.APPEND */
1428
1428
  ](), !0;
1429
1429
  }
1430
1430
  for (; s !== null; )
1431
- if (n++, a = e[n], !(a === "\\" && M())) {
1432
- if (u = ya(a), O = we[s], g = O[u] || O.l || 8, g === 8 || (s = g[0], g[1] !== void 0 && (T = N[g[1]], T && (m = a, T() === !1))))
1431
+ if (n++, a = e[n], !(a === "\\" && w())) {
1432
+ if (u = ya(a), O = De[s], g = O[u] || O.l || 8, g === 8 || (s = g[0], g[1] !== void 0 && (k = I[g[1]], k && (d = a, k() === !1))))
1433
1433
  return;
1434
1434
  if (s === 7)
1435
1435
  return t;
1436
1436
  }
1437
1437
  }
1438
1438
  const un = /* @__PURE__ */ new Map();
1439
- function ka(e, t) {
1439
+ function Ta(e, t) {
1440
1440
  return $(e) ? e[t] : null;
1441
1441
  }
1442
1442
  function Oa(e, t) {
1443
1443
  if (!$(e))
1444
1444
  return null;
1445
1445
  let n = un.get(t);
1446
- if (n || (n = Ta(t), n && un.set(t, n)), !n)
1446
+ if (n || (n = ka(t), n && un.set(t, n)), !n)
1447
1447
  return null;
1448
1448
  const s = n.length;
1449
1449
  let l = e, a = 0;
@@ -1455,37 +1455,37 @@ function Oa(e, t) {
1455
1455
  }
1456
1456
  return l;
1457
1457
  }
1458
- const La = "10.0.5", gt = -1, ft = "en-US", dn = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1458
+ const La = "10.0.5", gt = -1, ft = "en-US", mn = "", dn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1459
1459
  function Ca() {
1460
1460
  return {
1461
1461
  upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1462
1462
  lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1463
- capitalize: (e, t) => t === "text" && P(e) ? mn(e) : t === "vnode" && $(e) && "__v_isVNode" in e ? mn(e.children) : e
1463
+ capitalize: (e, t) => t === "text" && P(e) ? dn(e) : t === "vnode" && $(e) && "__v_isVNode" in e ? dn(e.children) : e
1464
1464
  };
1465
1465
  }
1466
- let Mn;
1467
- function Aa(e) {
1468
- Mn = e;
1466
+ let wn;
1467
+ function Ra(e) {
1468
+ wn = e;
1469
1469
  }
1470
1470
  let Pn;
1471
- function Ra(e) {
1471
+ function Aa(e) {
1472
1472
  Pn = e;
1473
1473
  }
1474
1474
  let Fn;
1475
1475
  function Sa(e) {
1476
1476
  Fn = e;
1477
1477
  }
1478
- let Un = null;
1479
- const Da = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1480
- Un = e;
1481
- }, wa = /* @__NO_SIDE_EFFECTS__ */ () => Un;
1482
1478
  let jn = null;
1483
- const fn = (e) => {
1479
+ const Ma = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1484
1480
  jn = e;
1485
- }, Ma = () => jn;
1481
+ }, Da = /* @__NO_SIDE_EFFECTS__ */ () => jn;
1482
+ let Un = null;
1483
+ const fn = (e) => {
1484
+ Un = e;
1485
+ }, wa = () => Un;
1486
1486
  let _n = 0;
1487
1487
  function Pa(e = {}) {
1488
- const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = ie(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : Ct(l), m = J(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = J(e.numberFormats) ? e.numberFormats : Ct(l), g = de(z(), e.modifiers, Ca()), T = e.pluralRules || z(), O = se(e.missing) ? e.missing : null, N = oe(e.missingWarn) || mt(e.missingWarn) ? e.missingWarn : !0, M = oe(e.fallbackWarn) || mt(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, I = !!e.unresolving, R = se(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, f = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, h = se(e.messageCompiler) ? e.messageCompiler : Mn, S = se(e.messageResolver) ? e.messageResolver : Pn || ka, A = se(e.localeFallbacker) ? e.localeFallbacker : Fn || ha, d = $(e.fallbackContext) ? e.fallbackContext : void 0, C = e, v = $(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), p = $(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), D = $(C.__meta) ? C.__meta : {};
1488
+ const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = ie(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : Ct(l), d = J(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = J(e.numberFormats) ? e.numberFormats : Ct(l), g = me(K(), e.modifiers, Ca()), k = e.pluralRules || K(), O = se(e.missing) ? e.missing : null, I = oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, N = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, f = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, h = se(e.messageCompiler) ? e.messageCompiler : wn, S = se(e.messageResolver) ? e.messageResolver : Pn || Ta, R = se(e.localeFallbacker) ? e.localeFallbacker : Fn || ha, m = $(e.fallbackContext) ? e.fallbackContext : void 0, C = e, v = $(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), p = $(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), M = $(C.__meta) ? C.__meta : {};
1489
1489
  _n++;
1490
1490
  const F = {
1491
1491
  version: n,
@@ -1494,31 +1494,31 @@ function Pa(e = {}) {
1494
1494
  fallbackLocale: a,
1495
1495
  messages: c,
1496
1496
  modifiers: g,
1497
- pluralRules: T,
1497
+ pluralRules: k,
1498
1498
  missing: O,
1499
- missingWarn: N,
1500
- fallbackWarn: M,
1499
+ missingWarn: I,
1500
+ fallbackWarn: w,
1501
1501
  fallbackFormat: V,
1502
- unresolving: I,
1503
- postTranslation: R,
1502
+ unresolving: N,
1503
+ postTranslation: A,
1504
1504
  processor: i,
1505
1505
  warnHtmlMessage: f,
1506
1506
  escapeParameter: y,
1507
1507
  messageCompiler: h,
1508
1508
  messageResolver: S,
1509
- localeFallbacker: A,
1510
- fallbackContext: d,
1509
+ localeFallbacker: R,
1510
+ fallbackContext: m,
1511
1511
  onWarn: t,
1512
- __meta: D
1512
+ __meta: M
1513
1513
  };
1514
- return F.datetimeFormats = m, F.numberFormats = u, F.__datetimeFormatters = v, F.__numberFormatters = p, __INTLIFY_PROD_DEVTOOLS__ && ma(F, n, D), F;
1514
+ return F.datetimeFormats = d, F.numberFormats = u, F.__datetimeFormatters = v, F.__numberFormatters = p, __INTLIFY_PROD_DEVTOOLS__ && da(F, n, M), F;
1515
1515
  }
1516
- const Ct = (e) => ({ [e]: z() });
1516
+ const Ct = (e) => ({ [e]: K() });
1517
1517
  function $t(e, t, n, s, l) {
1518
1518
  const { missing: a, onWarn: c } = e;
1519
1519
  if (a !== null) {
1520
- const m = a(e, n, t, l);
1521
- return P(m) ? m : t;
1520
+ const d = a(e, n, t, l);
1521
+ return P(d) ? d : t;
1522
1522
  } else
1523
1523
  return t;
1524
1524
  }
@@ -1529,7 +1529,7 @@ function Qe(e, t, n) {
1529
1529
  function Fa(e, t) {
1530
1530
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1531
1531
  }
1532
- function Ua(e, t) {
1532
+ function ja(e, t) {
1533
1533
  const n = t.indexOf(e);
1534
1534
  if (n === -1)
1535
1535
  return !1;
@@ -1539,9 +1539,9 @@ function Ua(e, t) {
1539
1539
  return !1;
1540
1540
  }
1541
1541
  function pn(e, ...t) {
1542
- const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, g, T, O] = Pt(...t), N = oe(T.missingWarn) ? T.missingWarn : e.missingWarn;
1543
- oe(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
1544
- const M = !!T.part, V = Jt(e, T), I = c(
1542
+ const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: d } = e, [u, g, k, O] = Pt(...t), I = oe(k.missingWarn) ? k.missingWarn : e.missingWarn;
1543
+ oe(k.fallbackWarn) ? k.fallbackWarn : e.fallbackWarn;
1544
+ const w = !!k.part, V = Jt(e, k), N = c(
1545
1545
  e,
1546
1546
  // eslint-disable-line @typescript-eslint/no-explicit-any
1547
1547
  l,
@@ -1549,16 +1549,16 @@ function pn(e, ...t) {
1549
1549
  );
1550
1550
  if (!P(u) || u === "")
1551
1551
  return new Intl.DateTimeFormat(V, O).format(g);
1552
- let R = {}, i, f = null;
1552
+ let A = {}, i, f = null;
1553
1553
  const y = "datetime format";
1554
- for (let A = 0; A < I.length && (i = I[A], R = n[i] || {}, f = R[u], !J(f)); A++)
1555
- $t(e, u, i, N, y);
1554
+ for (let R = 0; R < N.length && (i = N[R], A = n[i] || {}, f = A[u], !J(f)); R++)
1555
+ $t(e, u, i, I, y);
1556
1556
  if (!J(f) || !P(i))
1557
1557
  return s ? gt : u;
1558
1558
  let h = `${i}__${u}`;
1559
1559
  pt(O) || (h = `${h}__${JSON.stringify(O)}`);
1560
- let S = m.get(h);
1561
- return S || (S = new Intl.DateTimeFormat(i, de({}, f, O)), m.set(h, S)), M ? S.formatToParts(g) : S.format(g);
1560
+ let S = d.get(h);
1561
+ return S || (S = new Intl.DateTimeFormat(i, me({}, f, O)), d.set(h, S)), w ? S.formatToParts(g) : S.format(g);
1562
1562
  }
1563
1563
  const Vn = [
1564
1564
  "localeMatcher",
@@ -1583,30 +1583,30 @@ const Vn = [
1583
1583
  "fractionalSecondDigits"
1584
1584
  ];
1585
1585
  function Pt(...e) {
1586
- const [t, n, s, l] = e, a = z();
1587
- let c = z(), m;
1586
+ const [t, n, s, l] = e, a = K();
1587
+ let c = K(), d;
1588
1588
  if (P(t)) {
1589
1589
  const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1590
1590
  if (!u)
1591
1591
  throw Ce(Le.INVALID_ISO_DATE_ARGUMENT);
1592
1592
  const g = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
1593
- m = new Date(g);
1593
+ d = new Date(g);
1594
1594
  try {
1595
- m.toISOString();
1595
+ d.toISOString();
1596
1596
  } catch {
1597
1597
  throw Ce(Le.INVALID_ISO_DATE_ARGUMENT);
1598
1598
  }
1599
1599
  } else if (ps(t)) {
1600
1600
  if (isNaN(t.getTime()))
1601
1601
  throw Ce(Le.INVALID_DATE_ARGUMENT);
1602
- m = t;
1602
+ d = t;
1603
1603
  } else if (ue(t))
1604
- m = t;
1604
+ d = t;
1605
1605
  else
1606
1606
  throw Ce(Le.INVALID_ARGUMENT);
1607
1607
  return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((u) => {
1608
1608
  Vn.includes(u) ? c[u] = n[u] : a[u] = n[u];
1609
- }), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", m, a, c];
1609
+ }), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", d, a, c];
1610
1610
  }
1611
1611
  function hn(e, t, n) {
1612
1612
  const s = e;
@@ -1616,9 +1616,9 @@ function hn(e, t, n) {
1616
1616
  }
1617
1617
  }
1618
1618
  function gn(e, ...t) {
1619
- const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, g, T, O] = Ft(...t), N = oe(T.missingWarn) ? T.missingWarn : e.missingWarn;
1620
- oe(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
1621
- const M = !!T.part, V = Jt(e, T), I = c(
1619
+ const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: d } = e, [u, g, k, O] = Ft(...t), I = oe(k.missingWarn) ? k.missingWarn : e.missingWarn;
1620
+ oe(k.fallbackWarn) ? k.fallbackWarn : e.fallbackWarn;
1621
+ const w = !!k.part, V = Jt(e, k), N = c(
1622
1622
  e,
1623
1623
  // eslint-disable-line @typescript-eslint/no-explicit-any
1624
1624
  l,
@@ -1626,18 +1626,18 @@ function gn(e, ...t) {
1626
1626
  );
1627
1627
  if (!P(u) || u === "")
1628
1628
  return new Intl.NumberFormat(V, O).format(g);
1629
- let R = {}, i, f = null;
1629
+ let A = {}, i, f = null;
1630
1630
  const y = "number format";
1631
- for (let A = 0; A < I.length && (i = I[A], R = n[i] || {}, f = R[u], !J(f)); A++)
1632
- $t(e, u, i, N, y);
1631
+ for (let R = 0; R < N.length && (i = N[R], A = n[i] || {}, f = A[u], !J(f)); R++)
1632
+ $t(e, u, i, I, y);
1633
1633
  if (!J(f) || !P(i))
1634
1634
  return s ? gt : u;
1635
1635
  let h = `${i}__${u}`;
1636
1636
  pt(O) || (h = `${h}__${JSON.stringify(O)}`);
1637
- let S = m.get(h);
1638
- return S || (S = new Intl.NumberFormat(i, de({}, f, O)), m.set(h, S)), M ? S.formatToParts(g) : S.format(g);
1637
+ let S = d.get(h);
1638
+ return S || (S = new Intl.NumberFormat(i, me({}, f, O)), d.set(h, S)), w ? S.formatToParts(g) : S.format(g);
1639
1639
  }
1640
- const Wn = [
1640
+ const Gn = [
1641
1641
  "localeMatcher",
1642
1642
  "style",
1643
1643
  "currency",
@@ -1660,14 +1660,14 @@ const Wn = [
1660
1660
  "trailingZeroDisplay"
1661
1661
  ];
1662
1662
  function Ft(...e) {
1663
- const [t, n, s, l] = e, a = z();
1664
- let c = z();
1663
+ const [t, n, s, l] = e, a = K();
1664
+ let c = K();
1665
1665
  if (!ue(t))
1666
1666
  throw Ce(Le.INVALID_ARGUMENT);
1667
- const m = t;
1667
+ const d = t;
1668
1668
  return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((u) => {
1669
- Wn.includes(u) ? c[u] = n[u] : a[u] = n[u];
1670
- }), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", m, a, c];
1669
+ Gn.includes(u) ? c[u] = n[u] : a[u] = n[u];
1670
+ }), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", d, a, c];
1671
1671
  }
1672
1672
  function bn(e, t, n) {
1673
1673
  const s = e;
@@ -1676,74 +1676,74 @@ function bn(e, t, n) {
1676
1676
  s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
1677
1677
  }
1678
1678
  }
1679
- const ja = (e) => e, Va = (e) => "", Wa = "text", Ga = (e) => e.length === 0 ? "" : Yt(e), xa = vs;
1679
+ const Ua = (e) => e, Va = (e) => "", Ga = "text", Wa = (e) => e.length === 0 ? "" : Yt(e), xa = vs;
1680
1680
  function vn(e, t) {
1681
1681
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1682
1682
  }
1683
- function Za(e) {
1683
+ function Xa(e) {
1684
1684
  const t = ue(e.pluralIndex) ? e.pluralIndex : -1;
1685
1685
  return e.named && (ue(e.named.count) || ue(e.named.n)) ? ue(e.named.count) ? e.named.count : ue(e.named.n) ? e.named.n : t : t;
1686
1686
  }
1687
- function Xa(e, t) {
1687
+ function Za(e, t) {
1688
1688
  t.count || (t.count = e), t.n || (t.n = e);
1689
1689
  }
1690
1690
  function Ya(e = {}) {
1691
- const t = e.locale, n = Za(e), s = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? vn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], m = (i) => c[i], u = e.named || z();
1692
- ue(e.pluralIndex) && Xa(n, u);
1691
+ const t = e.locale, n = Xa(e), s = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? vn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], d = (i) => c[i], u = e.named || K();
1692
+ ue(e.pluralIndex) && Za(n, u);
1693
1693
  const g = (i) => u[i];
1694
- function T(i, f) {
1694
+ function k(i, f) {
1695
1695
  const y = se(e.messages) ? e.messages(i, !!f) : $(e.messages) ? e.messages[i] : !1;
1696
1696
  return y || (e.parent ? e.parent.message(i) : Va);
1697
1697
  }
1698
- const O = (i) => e.modifiers ? e.modifiers[i] : ja, N = J(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Ga, M = J(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : xa, V = J(e.processor) && P(e.processor.type) ? e.processor.type : Wa, R = {
1699
- list: m,
1698
+ const O = (i) => e.modifiers ? e.modifiers[i] : Ua, I = J(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Wa, w = J(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : xa, V = J(e.processor) && P(e.processor.type) ? e.processor.type : Ga, A = {
1699
+ list: d,
1700
1700
  named: g,
1701
1701
  plural: a,
1702
1702
  linked: (i, ...f) => {
1703
1703
  const [y, h] = f;
1704
- let S = "text", A = "";
1705
- f.length === 1 ? $(y) ? (A = y.modifier || A, S = y.type || S) : P(y) && (A = y || A) : f.length === 2 && (P(y) && (A = y || A), P(h) && (S = h || S));
1706
- const d = T(i, !0)(R), C = (
1704
+ let S = "text", R = "";
1705
+ f.length === 1 ? $(y) ? (R = y.modifier || R, S = y.type || S) : P(y) && (R = y || R) : f.length === 2 && (P(y) && (R = y || R), P(h) && (S = h || S));
1706
+ const m = k(i, !0)(A), C = (
1707
1707
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1708
- S === "vnode" && ie(d) && A ? d[0] : d
1708
+ S === "vnode" && ie(m) && R ? m[0] : m
1709
1709
  );
1710
- return A ? O(A)(C, S) : C;
1710
+ return R ? O(R)(C, S) : C;
1711
1711
  },
1712
- message: T,
1712
+ message: k,
1713
1713
  type: V,
1714
- interpolate: M,
1715
- normalize: N,
1716
- values: de(z(), c, u)
1714
+ interpolate: w,
1715
+ normalize: I,
1716
+ values: me(K(), c, u)
1717
1717
  };
1718
- return R;
1718
+ return A;
1719
1719
  }
1720
1720
  const En = () => "", be = (e) => se(e);
1721
- function Nn(e, ...t) {
1722
- const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, g] = Ut(...t), T = oe(g.missingWarn) ? g.missingWarn : e.missingWarn, O = oe(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = oe(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, M = !!g.resolvedMessage, V = P(g.default) || oe(g.default) ? oe(g.default) ? a ? u : () => u : g.default : n ? a ? u : () => u : null, I = n || V != null && (P(V) || se(V)), R = Jt(e, g);
1723
- N && Ha(g);
1724
- let [i, f, y] = M ? [
1721
+ function In(e, ...t) {
1722
+ const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: d } = e, [u, g] = jt(...t), k = oe(g.missingWarn) ? g.missingWarn : e.missingWarn, O = oe(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, I = oe(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, w = !!g.resolvedMessage, V = P(g.default) || oe(g.default) ? oe(g.default) ? a ? u : () => u : g.default : n ? a ? u : () => u : null, N = n || V != null && (P(V) || se(V)), A = Jt(e, g);
1723
+ I && Ha(g);
1724
+ let [i, f, y] = w ? [
1725
1725
  u,
1726
- R,
1727
- m[R] || z()
1728
- ] : Gn(e, u, R, c, O, T), h = i, S = u;
1729
- if (!M && !(P(h) || He(h) || be(h)) && I && (h = V, S = h), !M && (!(P(h) || He(h) || be(h)) || !P(f)))
1726
+ A,
1727
+ d[A] || K()
1728
+ ] : Wn(e, u, A, c, O, k), h = i, S = u;
1729
+ if (!w && !(P(h) || He(h) || be(h)) && N && (h = V, S = h), !w && (!(P(h) || He(h) || be(h)) || !P(f)))
1730
1730
  return l ? gt : u;
1731
- let A = !1;
1732
- const d = () => {
1733
- A = !0;
1734
- }, C = be(h) ? h : xn(e, u, f, h, S, d);
1735
- if (A)
1731
+ let R = !1;
1732
+ const m = () => {
1733
+ R = !0;
1734
+ }, C = be(h) ? h : xn(e, u, f, h, S, m);
1735
+ if (R)
1736
1736
  return h;
1737
- const v = $a(e, f, y, g), p = Ya(v), D = Ba(e, C, p), F = s ? s(D, u) : D;
1737
+ const v = $a(e, f, y, g), p = Ya(v), M = Ba(e, C, p), F = s ? s(M, u) : M;
1738
1738
  if (__INTLIFY_PROD_DEVTOOLS__) {
1739
- const j = {
1739
+ const U = {
1740
1740
  timestamp: Date.now(),
1741
1741
  key: P(u) ? u : be(h) ? h.key : "",
1742
1742
  locale: f || (be(h) ? h.locale : ""),
1743
1743
  format: P(h) ? h : be(h) ? h.source : "",
1744
1744
  message: F
1745
1745
  };
1746
- j.meta = de({}, e.__meta, /* @__PURE__ */ wa() || {}), fa(j);
1746
+ U.meta = me({}, e.__meta, /* @__PURE__ */ Da() || {}), fa(U);
1747
1747
  }
1748
1748
  return F;
1749
1749
  }
@@ -1752,26 +1752,26 @@ function Ha(e) {
1752
1752
  P(e.named[t]) && (e.named[t] = nn(e.named[t]));
1753
1753
  });
1754
1754
  }
1755
- function Gn(e, t, n, s, l, a) {
1756
- const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: g } = e, T = g(e, s, n);
1757
- let O = z(), N, M = null;
1755
+ function Wn(e, t, n, s, l, a) {
1756
+ const { messages: c, onWarn: d, messageResolver: u, localeFallbacker: g } = e, k = g(e, s, n);
1757
+ let O = K(), I, w = null;
1758
1758
  const V = "translate";
1759
- for (let I = 0; I < T.length && (N = T[I], O = c[N] || z(), (M = u(O, t)) === null && (M = O[t]), !(P(M) || He(M) || be(M))); I++)
1760
- if (!Ua(N, T)) {
1761
- const R = $t(
1759
+ for (let N = 0; N < k.length && (I = k[N], O = c[I] || K(), (w = u(O, t)) === null && (w = O[t]), !(P(w) || He(w) || be(w))); N++)
1760
+ if (!ja(I, k)) {
1761
+ const A = $t(
1762
1762
  e,
1763
1763
  // eslint-disable-line @typescript-eslint/no-explicit-any
1764
1764
  t,
1765
- N,
1765
+ I,
1766
1766
  a,
1767
1767
  V
1768
1768
  );
1769
- R !== t && (M = R);
1769
+ A !== t && (w = A);
1770
1770
  }
1771
- return [M, N, O];
1771
+ return [w, I, O];
1772
1772
  }
1773
1773
  function xn(e, t, n, s, l, a) {
1774
- const { messageCompiler: c, warnHtmlMessage: m } = e;
1774
+ const { messageCompiler: c, warnHtmlMessage: d } = e;
1775
1775
  if (be(s)) {
1776
1776
  const g = s;
1777
1777
  return g.locale = g.locale || n, g.key = g.key || t, g;
@@ -1780,18 +1780,18 @@ function xn(e, t, n, s, l, a) {
1780
1780
  const g = () => s;
1781
1781
  return g.locale = n, g.key = t, g;
1782
1782
  }
1783
- const u = c(s, Ja(e, n, l, s, m, a));
1783
+ const u = c(s, Ja(e, n, l, s, d, a));
1784
1784
  return u.locale = n, u.key = t, u.source = s, u;
1785
1785
  }
1786
1786
  function Ba(e, t, n) {
1787
1787
  return t(n);
1788
1788
  }
1789
- function Ut(...e) {
1790
- const [t, n, s] = e, l = z();
1789
+ function jt(...e) {
1790
+ const [t, n, s] = e, l = K();
1791
1791
  if (!P(t) && !ue(t) && !be(t) && !He(t))
1792
1792
  throw Ce(Le.INVALID_ARGUMENT);
1793
1793
  const a = ue(t) ? String(t) : (be(t), t);
1794
- return ue(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !pt(n) ? l.named = n : ie(n) && (l.list = n), ue(s) ? l.plural = s : P(s) ? l.default = s : J(s) && de(l, s), [a, l];
1794
+ return ue(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !pt(n) ? l.named = n : ie(n) && (l.list = n), ue(s) ? l.plural = s : P(s) ? l.default = s : J(s) && me(l, s), [a, l];
1795
1795
  }
1796
1796
  function Ja(e, t, n, s, l, a) {
1797
1797
  return {
@@ -1805,40 +1805,40 @@ function Ja(e, t, n, s, l, a) {
1805
1805
  };
1806
1806
  }
1807
1807
  function $a(e, t, n, s) {
1808
- const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: g, fallbackContext: T } = e, N = {
1808
+ const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: d, fallbackWarn: u, missingWarn: g, fallbackContext: k } = e, I = {
1809
1809
  locale: t,
1810
1810
  modifiers: l,
1811
1811
  pluralRules: a,
1812
- messages: (M, V) => {
1813
- let I = c(n, M);
1814
- if (I == null && (T || V)) {
1815
- const [, , R] = Gn(
1816
- T || e,
1812
+ messages: (w, V) => {
1813
+ let N = c(n, w);
1814
+ if (N == null && (k || V)) {
1815
+ const [, , A] = Wn(
1816
+ k || e,
1817
1817
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
1818
- M,
1818
+ w,
1819
1819
  t,
1820
- m,
1820
+ d,
1821
1821
  u,
1822
1822
  g
1823
1823
  );
1824
- I = c(R, M);
1824
+ N = c(A, w);
1825
1825
  }
1826
- if (P(I) || He(I)) {
1827
- let R = !1;
1828
- const f = xn(e, M, t, I, M, () => {
1829
- R = !0;
1826
+ if (P(N) || He(N)) {
1827
+ let A = !1;
1828
+ const f = xn(e, w, t, N, w, () => {
1829
+ A = !0;
1830
1830
  });
1831
- return R ? En : f;
1832
- } else return be(I) ? I : En;
1831
+ return A ? En : f;
1832
+ } else return be(N) ? N : En;
1833
1833
  }
1834
1834
  };
1835
- return e.processor && (N.processor = e.processor), s.list && (N.list = s.list), s.named && (N.named = s.named), ue(s.plural) && (N.pluralIndex = s.plural), N;
1835
+ return e.processor && (I.processor = e.processor), s.list && (I.list = s.list), s.named && (I.named = s.named), ue(s.plural) && (I.pluralIndex = s.plural), I;
1836
1836
  }
1837
1837
  Hs();
1838
- var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6d6c0177-cd4b-4d5a-a0d9-5ca397f4fbe9", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.2.0", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v24.5.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", npm_package_devDependencies_vue_i18n: "10.0.5", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6d6c0177-cd4b-4d5a-a0d9-5ca397f4fbe9", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1918", ACTIONS_ORCHESTRATION_ID: "e7520656-05f7-48ee-a96d-c57a601802e8.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260413.86.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15662", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.9/x64", GITHUB_RUN_ID: "25382700874", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7c424615cd65b1112bfe50d6384107913ec13475", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/add-export-audit-log", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc4MDEzNzM1LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzc5OTE1MzUsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI5MDQ1NzllZS0wN2U2LTUxMWEtOGFlOC0xY2JjZmNmMmIwMmQiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzc5OTEyMzUsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwiQ2FzdGEtbWVyZVwiLFwiYWN0b3JfaWRcIjpcIjgyMjk4MDE3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjc0NDM1MTE1NzEyXCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjN2IwMjNkNmIzODE0MTllMzJhZGMwYzc3YmJmODJhZmM2MzgxMDk5XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9hZGQtZXhwb3J0LWF1ZGl0LWxvZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNTM4MjcwMDg3NFwiLFwicnVuX251bWJlclwiOlwiNjNcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCI3YzQyNDYxNWNkNjViMTExMmJmZTUwZDYzODQxMDc5MTNlYzEzNDc1XCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJ3b3JrZmxvd19zaGFcIjpcIjdjNDI0NjE1Y2Q2NWIxMTEyYmZlNTBkNjM4NDEwNzkxM2VjMTM0NzVcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYWRkLWV4cG9ydC1hdWRpdC1sb2ciLCJvcmNoX2lkIjoiZTc1MjA2NTYtMDVmNy00OGVlLWE5NmQtYzU3YTYwMTgwMmU4LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiJlNzUyMDY1Ni0wNWY3LTQ4ZWUtYTk2ZC1jNTdhNjAxODAyZTgiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI1MzgyNzAwODc0IiwicnVuX251bWJlciI6IjYzIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2NTk4MCIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmU3NTIwNjU2LTA1ZjctNDhlZS1hOTZkLWM1N2E2MDE4MDJlODo5MDQ1NzllZS0wN2U2LTUxMWEtOGFlOC0xY2JjZmNmMmIwMmQgQWN0aW9ucy5SdW5uZXI6ZTc1MjA2NTYtMDVmNy00OGVlLWE5NmQtYzU3YTYwMTgwMmU4OjkwNDU3OWVlLTA3ZTYtNTExYS04YWU4LTFjYmNmY2YyYjAyZCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czplNzUyMDY1Ni0wNWY3LTQ4ZWUtYTk2ZC1jNTdhNjAxODAyZTg6OTA0NTc5ZWUtMDdlNi01MTFhLThhZTgtMWNiY2ZjZjJiMDJkIGdlbmVyYXRlX2lkX3Rva2VuOmU3NTIwNjU2LTA1ZjctNDhlZS1hOTZkLWM1N2E2MDE4MDJlODo5MDQ1NzllZS0wN2U2LTUxMWEtOGFlOC0xY2JjZmNmMmIwMmQgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI3YzQyNDYxNWNkNjViMTExMmJmZTUwZDYzODQxMDc5MTNlYzEzNDc1IiwidHJ1c3RfdGllciI6IjEifQ.T5iuVZvqp0WwoJZChoVOT9S30-eza1KS86mM68qPzHjboyzGxR0FtBVshLeDcdxlae-yOO9QWEZha-V8jAtjMOyyyqtth5hXIy4_Ey7EvM4aBMnuXywn89AzdZhdE8lBe4AaGsqBGvPe7w6MG57fTQ4K8vWE6Lh3udK85qlCFbERRFgwszMKqvq55kH2SnT37sN3XlGWoyK7hjWqeTq_QwfTn7fjygpIbECzAYZpuYon9aK2VrFpWWZjp-fm05rN5iGdz430QpdTR4490WuQzDICM2Soqf3LJp_QflWLtN1geNqNn7xLDYz9z5r29PxcuzKxPN48IAUjrsBYnZ5MvA", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.7", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_edd0d164-152a-4a0d-9620-e85fe92460e6", INVOCATION_ID: "e56caad9e4834319b04db56f975eed87", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "63", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000065980", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/add-export-audit-log", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.8-dev.10", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "7c424615cd65b1112bfe50d6384107913ec13475", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/add-export-audit-log", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6d6c0177-cd4b-4d5a-a0d9-5ca397f4fbe9", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/11//idtoken/e7520656-05f7-48ee-a96d-c57a601802e8/904579ee-07e6-511a-8ae8-1cbcfcf2b02d?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_6d6c0177-cd4b-4d5a-a0d9-5ca397f4fbe9", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6d6c0177-cd4b-4d5a-a0d9-5ca397f4fbe9", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
1839
- const za = "10.0.5";
1838
+ var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7c9c59ac-1160-46bd-a7ab-6d5c879d7521", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.2.0", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v24.5.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", npm_package_devDependencies_vue_i18n: "10.0.5", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_7c9c59ac-1160-46bd-a7ab-6d5c879d7521", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1909", ACTIONS_ORCHESTRATION_ID: "fd03ba7c-b7fe-49c2-a0bf-82297cdf43ff.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260413.86.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15107", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.9/x64", GITHUB_RUN_ID: "25383565567", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "bb30c97ae2a3557df5c09044582340e4aa33197e", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/add-export-audit-log", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc4MDE0Njg0LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzc5OTI0ODQsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJmZDE3MDM3Ni1hODk2LTU2N2EtOWUyMy01MzhiOTE4OTI0MzMiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzc5OTIxODQsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwiQ2FzdGEtbWVyZVwiLFwiYWN0b3JfaWRcIjpcIjgyMjk4MDE3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjc0NDM4MjYzNjEyXCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjN2IwMjNkNmIzODE0MTllMzJhZGMwYzc3YmJmODJhZmM2MzgxMDk5XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9hZGQtZXhwb3J0LWF1ZGl0LWxvZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNTM4MzU2NTU2N1wiLFwicnVuX251bWJlclwiOlwiNjRcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJiYjMwYzk3YWUyYTM1NTdkZjVjMDkwNDQ1ODIzNDBlNGFhMzMxOTdlXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJ3b3JrZmxvd19zaGFcIjpcImJiMzBjOTdhZTJhMzU1N2RmNWMwOTA0NDU4MjM0MGU0YWEzMzE5N2VcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYWRkLWV4cG9ydC1hdWRpdC1sb2ciLCJvcmNoX2lkIjoiZmQwM2JhN2MtYjdmZS00OWMyLWEwYmYtODIyOTdjZGY0M2ZmLnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiJmZDAzYmE3Yy1iN2ZlLTQ5YzItYTBiZi04MjI5N2NkZjQzZmYiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI1MzgzNTY1NTY3IiwicnVuX251bWJlciI6IjY0IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2NTk5MyIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmZkMDNiYTdjLWI3ZmUtNDljMi1hMGJmLTgyMjk3Y2RmNDNmZjpmZDE3MDM3Ni1hODk2LTU2N2EtOWUyMy01MzhiOTE4OTI0MzMgQWN0aW9ucy5SdW5uZXI6ZmQwM2JhN2MtYjdmZS00OWMyLWEwYmYtODIyOTdjZGY0M2ZmOmZkMTcwMzc2LWE4OTYtNTY3YS05ZTIzLTUzOGI5MTg5MjQzMyBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czpmZDAzYmE3Yy1iN2ZlLTQ5YzItYTBiZi04MjI5N2NkZjQzZmY6ZmQxNzAzNzYtYTg5Ni01NjdhLTllMjMtNTM4YjkxODkyNDMzIGdlbmVyYXRlX2lkX3Rva2VuOmZkMDNiYTdjLWI3ZmUtNDljMi1hMGJmLTgyMjk3Y2RmNDNmZjpmZDE3MDM3Ni1hODk2LTU2N2EtOWUyMy01MzhiOTE4OTI0MzMgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJiYjMwYzk3YWUyYTM1NTdkZjVjMDkwNDQ1ODIzNDBlNGFhMzMxOTdlIiwidHJ1c3RfdGllciI6IjEifQ.4_7A5H5EjuwN_JgkXB8PLX9xBhaPxXfWmY7gQSmnQ4IGHLKQcMmRqDJmZSCXKvYqVEgrQWuIbAP8OEfvwMIhHz6G5JzPjinomQfch-jmXuaFIO6DklKaeGmTjvZ3jwgrkeBdNsK9SIFzZtvm8IUuHgZcAmdlyrAULEY7NRFOH8CIjoiqj6Bfn5WlQ_6LbSqMVcATjOzARQHHAY4gYpobXVzmtt1aHDhiiv4M6rzRMqUDBm2PEd1ojQR0n8MBz1ScmXYRUsBLHi9vtMTYtPcrGSGRkN_x3oKPsmjONsMRtioQdbnXQAFU06CSCdATOel1tCRmYH-n-ZCMvmWlJ6lsOg", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.7", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_5abb2a9d-de82-4b22-a9a9-50ca0959faa0", INVOCATION_ID: "dc82f8adf5264a7a9494063f45c7dfa6", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "64", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000065993", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/add-export-audit-log", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.8-dev.11", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "bb30c97ae2a3557df5c09044582340e4aa33197e", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/add-export-audit-log", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7c9c59ac-1160-46bd-a7ab-6d5c879d7521", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-3-azure-eastus.actions.githubusercontent.com/136//idtoken/fd03ba7c-b7fe-49c2-a0bf-82297cdf43ff/fd170376-a896-567a-9e23-538b91892433?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_7c9c59ac-1160-46bd-a7ab-6d5c879d7521", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_7c9c59ac-1160-46bd-a7ab-6d5c879d7521", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
1839
+ const Ka = "10.0.5";
1840
1840
  function Qa() {
1841
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ue().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ue().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ue().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ue().__INTLIFY_PROD_DEVTOOLS__ = !1);
1841
+ typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (je().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (je().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1);
1842
1842
  }
1843
1843
  const Be = {
1844
1844
  // composer module errors
@@ -1856,7 +1856,7 @@ const Be = {
1856
1856
  function nt(e, ...t) {
1857
1857
  return ht(e, null, void 0);
1858
1858
  }
1859
- const jt = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Wt = /* @__PURE__ */ Ve("__numberParts"), qa = Ve("__setPluralRules"), Zn = /* @__PURE__ */ Ve("__injectWithOption"), Gt = /* @__PURE__ */ Ve("__dispose");
1859
+ const Ut = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Gt = /* @__PURE__ */ Ve("__numberParts"), qa = Ve("__setPluralRules"), Xn = /* @__PURE__ */ Ve("__injectWithOption"), Wt = /* @__PURE__ */ Ve("__dispose");
1860
1860
  function st(e) {
1861
1861
  if (!$(e))
1862
1862
  return e;
@@ -1868,7 +1868,7 @@ function st(e) {
1868
1868
  const n = t.split("."), s = n.length - 1;
1869
1869
  let l = e, a = !1;
1870
1870
  for (let c = 0; c < s; c++) {
1871
- if (n[c] in l || (l[n[c]] = z()), !$(l[n[c]])) {
1871
+ if (n[c] in l || (l[n[c]] = K()), !$(l[n[c]])) {
1872
1872
  a = !0;
1873
1873
  break;
1874
1874
  }
@@ -1878,25 +1878,25 @@ function st(e) {
1878
1878
  }
1879
1879
  return e;
1880
1880
  }
1881
- function Xn(e, t) {
1882
- const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = J(n) ? n : ie(s) ? z() : { [e]: z() };
1883
- if (ie(s) && s.forEach((m) => {
1884
- if ("locale" in m && "resource" in m) {
1885
- const { locale: u, resource: g } = m;
1886
- u ? (c[u] = c[u] || z(), dt(g, c[u])) : dt(g, c);
1881
+ function Zn(e, t) {
1882
+ const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = J(n) ? n : ie(s) ? K() : { [e]: K() };
1883
+ if (ie(s) && s.forEach((d) => {
1884
+ if ("locale" in d && "resource" in d) {
1885
+ const { locale: u, resource: g } = d;
1886
+ u ? (c[u] = c[u] || K(), mt(g, c[u])) : mt(g, c);
1887
1887
  } else
1888
- P(m) && dt(JSON.parse(m), c);
1888
+ P(d) && mt(JSON.parse(d), c);
1889
1889
  }), l == null && a)
1890
- for (const m in c)
1891
- ye(c, m) && st(c[m]);
1890
+ for (const d in c)
1891
+ ye(c, d) && st(c[d]);
1892
1892
  return c;
1893
1893
  }
1894
1894
  function Yn(e) {
1895
1895
  return e.type;
1896
1896
  }
1897
1897
  function er(e, t, n) {
1898
- let s = $(t.messages) ? t.messages : z();
1899
- "__i18nGlobal" in n && (s = Xn(e.locale.value, {
1898
+ let s = $(t.messages) ? t.messages : K();
1899
+ "__i18nGlobal" in n && (s = Zn(e.locale.value, {
1900
1900
  messages: s,
1901
1901
  __i18n: n.__i18nGlobal
1902
1902
  }));
@@ -1920,44 +1920,44 @@ function er(e, t, n) {
1920
1920
  }
1921
1921
  }
1922
1922
  function yn(e) {
1923
- return me(zn, null, e, 0);
1923
+ return de(Kn, null, e, 0);
1924
1924
  }
1925
- const In = "__INTLIFY_META__", Tn = () => [], tr = () => !1;
1926
- let kn = 0;
1925
+ const Nn = "__INTLIFY_META__", kn = () => [], tr = () => !1;
1926
+ let Tn = 0;
1927
1927
  function On(e) {
1928
1928
  return (t, n, s, l) => e(n, s, xt() || void 0, l);
1929
1929
  }
1930
1930
  const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
1931
1931
  const e = xt();
1932
1932
  let t = null;
1933
- return e && (t = Yn(e)[In]) ? { [In]: t } : null;
1933
+ return e && (t = Yn(e)[Nn]) ? { [Nn]: t } : null;
1934
1934
  };
1935
1935
  function sr(e = {}) {
1936
- const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? je : Kn;
1936
+ const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? Ue : zn;
1937
1937
  let c = oe(e.inheritLocale) ? e.inheritLocale : !0;
1938
- const m = a(
1938
+ const d = a(
1939
1939
  // prettier-ignore
1940
1940
  t && c ? t.locale.value : P(e.locale) ? e.locale : ft
1941
1941
  ), u = a(
1942
1942
  // prettier-ignore
1943
- t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ie(e.fallbackLocale) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
1944
- ), g = a(Xn(m.value, e)), T = a(J(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), O = a(J(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
1945
- let N = t ? t.missingWarn : oe(e.missingWarn) || mt(e.missingWarn) ? e.missingWarn : !0, M = t ? t.fallbackWarn : oe(e.fallbackWarn) || mt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : oe(e.fallbackRoot) ? e.fallbackRoot : !0, I = !!e.fallbackFormat, R = se(e.missing) ? e.missing : null, i = se(e.missing) ? On(e.missing) : null, f = se(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
1943
+ t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ie(e.fallbackLocale) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : d.value
1944
+ ), g = a(Zn(d.value, e)), k = a(J(e.datetimeFormats) ? e.datetimeFormats : { [d.value]: {} }), O = a(J(e.numberFormats) ? e.numberFormats : { [d.value]: {} });
1945
+ let I = t ? t.missingWarn : oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : oe(e.fallbackRoot) ? e.fallbackRoot : !0, N = !!e.fallbackFormat, A = se(e.missing) ? e.missing : null, i = se(e.missing) ? On(e.missing) : null, f = se(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
1946
1946
  const S = t ? t.modifiers : J(e.modifiers) ? e.modifiers : {};
1947
- let A = e.pluralRules || t && t.pluralRules, d;
1948
- d = (() => {
1947
+ let R = e.pluralRules || t && t.pluralRules, m;
1948
+ m = (() => {
1949
1949
  s && fn(null);
1950
1950
  const _ = {
1951
- version: za,
1952
- locale: m.value,
1951
+ version: Ka,
1952
+ locale: d.value,
1953
1953
  fallbackLocale: u.value,
1954
1954
  messages: g.value,
1955
1955
  modifiers: S,
1956
- pluralRules: A,
1956
+ pluralRules: R,
1957
1957
  missing: i === null ? void 0 : i,
1958
- missingWarn: N,
1959
- fallbackWarn: M,
1960
- fallbackFormat: I,
1958
+ missingWarn: I,
1959
+ fallbackWarn: w,
1960
+ fallbackFormat: N,
1961
1961
  unresolving: !0,
1962
1962
  postTranslation: f === null ? void 0 : f,
1963
1963
  warnHtmlMessage: y,
@@ -1966,49 +1966,49 @@ function sr(e = {}) {
1966
1966
  messageCompiler: e.messageCompiler,
1967
1967
  __meta: { framework: "vue" }
1968
1968
  };
1969
- _.datetimeFormats = T.value, _.numberFormats = O.value, _.__datetimeFormatters = J(d) ? d.__datetimeFormatters : void 0, _.__numberFormatters = J(d) ? d.__numberFormatters : void 0;
1969
+ _.datetimeFormats = k.value, _.numberFormats = O.value, _.__datetimeFormatters = J(m) ? m.__datetimeFormatters : void 0, _.__numberFormatters = J(m) ? m.__numberFormatters : void 0;
1970
1970
  const E = Pa(_);
1971
1971
  return s && fn(E), E;
1972
- })(), Qe(d, m.value, u.value);
1972
+ })(), Qe(m, d.value, u.value);
1973
1973
  function v() {
1974
1974
  return [
1975
- m.value,
1975
+ d.value,
1976
1976
  u.value,
1977
1977
  g.value,
1978
- T.value,
1978
+ k.value,
1979
1979
  O.value
1980
1980
  ];
1981
1981
  }
1982
1982
  const p = q({
1983
- get: () => m.value,
1983
+ get: () => d.value,
1984
1984
  set: (_) => {
1985
- m.value = _, d.locale = m.value;
1985
+ d.value = _, m.locale = d.value;
1986
1986
  }
1987
- }), D = q({
1987
+ }), M = q({
1988
1988
  get: () => u.value,
1989
1989
  set: (_) => {
1990
- u.value = _, d.fallbackLocale = u.value, Qe(d, m.value, _);
1990
+ u.value = _, m.fallbackLocale = u.value, Qe(m, d.value, _);
1991
1991
  }
1992
- }), F = q(() => g.value), j = /* @__PURE__ */ q(() => T.value), ae = /* @__PURE__ */ q(() => O.value);
1992
+ }), F = q(() => g.value), U = /* @__PURE__ */ q(() => k.value), ae = /* @__PURE__ */ q(() => O.value);
1993
1993
  function L() {
1994
1994
  return se(f) ? f : null;
1995
1995
  }
1996
- function k(_) {
1997
- f = _, d.postTranslation = _;
1996
+ function T(_) {
1997
+ f = _, m.postTranslation = _;
1998
1998
  }
1999
- function w() {
2000
- return R;
1999
+ function D() {
2000
+ return A;
2001
2001
  }
2002
2002
  function Y(_) {
2003
- _ !== null && (i = On(_)), R = _, d.missing = i;
2003
+ _ !== null && (i = On(_)), A = _, m.missing = i;
2004
2004
  }
2005
2005
  const x = (_, E, Q, le, Pe, at) => {
2006
2006
  v();
2007
2007
  let xe;
2008
2008
  try {
2009
- Ka.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (d.fallbackContext = t ? Ma() : void 0), xe = _(d);
2009
+ za.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = t ? wa() : void 0), xe = _(m);
2010
2010
  } finally {
2011
- __INTLIFY_PROD_DEVTOOLS__, s || (d.fallbackContext = void 0);
2011
+ __INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = void 0);
2012
2012
  }
2013
2013
  if (Q !== "translate exists" && // for not `te` (e.g `t`)
2014
2014
  ue(xe) && xe === gt || Q === "translate exists" && !xe) {
@@ -2020,20 +2020,20 @@ function sr(e = {}) {
2020
2020
  throw nt(Be.UNEXPECTED_RETURN_TYPE);
2021
2021
  }
2022
2022
  };
2023
- function W(..._) {
2024
- return x((E) => Reflect.apply(Nn, null, [E, ..._]), () => Ut(..._), "translate", (E) => Reflect.apply(E.t, E, [..._]), (E) => E, (E) => P(E));
2025
- }
2026
2023
  function G(..._) {
2024
+ return x((E) => Reflect.apply(In, null, [E, ..._]), () => jt(..._), "translate", (E) => Reflect.apply(E.t, E, [..._]), (E) => E, (E) => P(E));
2025
+ }
2026
+ function W(..._) {
2027
2027
  const [E, Q, le] = _;
2028
2028
  if (le && !$(le))
2029
2029
  throw nt(Be.INVALID_ARGUMENT);
2030
- return W(E, Q, de({ resolvedMessage: !0 }, le || {}));
2030
+ return G(E, Q, me({ resolvedMessage: !0 }, le || {}));
2031
2031
  }
2032
- function Z(..._) {
2033
- return x((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => Reflect.apply(E.d, E, [..._]), () => dn, (E) => P(E));
2032
+ function X(..._) {
2033
+ return x((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => Reflect.apply(E.d, E, [..._]), () => mn, (E) => P(E));
2034
2034
  }
2035
2035
  function ve(..._) {
2036
- return x((E) => Reflect.apply(gn, null, [E, ..._]), () => Ft(..._), "number format", (E) => Reflect.apply(E.n, E, [..._]), () => dn, (E) => P(E));
2036
+ return x((E) => Reflect.apply(gn, null, [E, ..._]), () => Ft(..._), "number format", (E) => Reflect.apply(E.n, E, [..._]), () => mn, (E) => P(E));
2037
2037
  }
2038
2038
  function _e(_) {
2039
2039
  return _.map((E) => P(E) || ue(E) || oe(E) ? yn(String(E)) : E);
@@ -2048,35 +2048,35 @@ function sr(e = {}) {
2048
2048
  let Q;
2049
2049
  const le = E;
2050
2050
  try {
2051
- le.processor = ne, Q = Reflect.apply(Nn, null, [le, ..._]);
2051
+ le.processor = ne, Q = Reflect.apply(In, null, [le, ..._]);
2052
2052
  } finally {
2053
2053
  le.processor = null;
2054
2054
  }
2055
2055
  return Q;
2056
- }, () => Ut(..._), "translate", (E) => E[jt](..._), (E) => [yn(E)], (E) => ie(E));
2056
+ }, () => jt(..._), "translate", (E) => E[Ut](..._), (E) => [yn(E)], (E) => ie(E));
2057
2057
  }
2058
2058
  function Je(..._) {
2059
- return x((E) => Reflect.apply(gn, null, [E, ..._]), () => Ft(..._), "number format", (E) => E[Wt](..._), Tn, (E) => P(E) || ie(E));
2059
+ return x((E) => Reflect.apply(gn, null, [E, ..._]), () => Ft(..._), "number format", (E) => E[Gt](..._), kn, (E) => P(E) || ie(E));
2060
2060
  }
2061
2061
  function $e(..._) {
2062
- return x((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => E[Vt](..._), Tn, (E) => P(E) || ie(E));
2062
+ return x((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => E[Vt](..._), kn, (E) => P(E) || ie(E));
2063
2063
  }
2064
2064
  function vt(_) {
2065
- A = _, d.pluralRules = A;
2065
+ R = _, m.pluralRules = R;
2066
2066
  }
2067
2067
  function Et(_, E) {
2068
2068
  return x(() => {
2069
2069
  if (!_)
2070
2070
  return !1;
2071
- const Q = P(E) ? E : m.value, le = We(Q), Pe = d.messageResolver(le, _);
2071
+ const Q = P(E) ? E : d.value, le = Ge(Q), Pe = m.messageResolver(le, _);
2072
2072
  return He(Pe) || be(Pe) || P(Pe);
2073
2073
  }, () => [_], "translate exists", (Q) => Reflect.apply(Q.te, Q, [_, E]), tr, (Q) => oe(Q));
2074
2074
  }
2075
- function Nt(_) {
2075
+ function It(_) {
2076
2076
  let E = null;
2077
- const Q = wn(d, u.value, m.value);
2077
+ const Q = Dn(m, u.value, d.value);
2078
2078
  for (let le = 0; le < Q.length; le++) {
2079
- const Pe = g.value[Q[le]] || {}, at = d.messageResolver(Pe, _);
2079
+ const Pe = g.value[Q[le]] || {}, at = m.messageResolver(Pe, _);
2080
2080
  if (at != null) {
2081
2081
  E = at;
2082
2082
  break;
@@ -2084,62 +2084,62 @@ function sr(e = {}) {
2084
2084
  }
2085
2085
  return E;
2086
2086
  }
2087
- function Ke(_) {
2088
- const E = Nt(_);
2087
+ function ze(_) {
2088
+ const E = It(_);
2089
2089
  return E ?? (t ? t.tm(_) || {} : {});
2090
2090
  }
2091
- function We(_) {
2091
+ function Ge(_) {
2092
2092
  return g.value[_] || {};
2093
2093
  }
2094
- function Ge(_, E) {
2094
+ function We(_, E) {
2095
2095
  if (l) {
2096
2096
  const Q = { [_]: E };
2097
2097
  for (const le in Q)
2098
2098
  ye(Q, le) && st(Q[le]);
2099
2099
  E = Q[_];
2100
2100
  }
2101
- g.value[_] = E, d.messages = g.value;
2101
+ g.value[_] = E, m.messages = g.value;
2102
2102
  }
2103
- function ze(_, E) {
2103
+ function Ke(_, E) {
2104
2104
  g.value[_] = g.value[_] || {};
2105
2105
  const Q = { [_]: E };
2106
2106
  if (l)
2107
2107
  for (const le in Q)
2108
2108
  ye(Q, le) && st(Q[le]);
2109
- E = Q[_], dt(E, g.value[_]), d.messages = g.value;
2109
+ E = Q[_], mt(E, g.value[_]), m.messages = g.value;
2110
2110
  }
2111
2111
  function yt(_) {
2112
- return T.value[_] || {};
2112
+ return k.value[_] || {};
2113
2113
  }
2114
2114
  function r(_, E) {
2115
- T.value[_] = E, d.datetimeFormats = T.value, hn(d, _, E);
2115
+ k.value[_] = E, m.datetimeFormats = k.value, hn(m, _, E);
2116
2116
  }
2117
2117
  function o(_, E) {
2118
- T.value[_] = de(T.value[_] || {}, E), d.datetimeFormats = T.value, hn(d, _, E);
2118
+ k.value[_] = me(k.value[_] || {}, E), m.datetimeFormats = k.value, hn(m, _, E);
2119
2119
  }
2120
2120
  function b(_) {
2121
2121
  return O.value[_] || {};
2122
2122
  }
2123
- function U(_, E) {
2124
- O.value[_] = E, d.numberFormats = O.value, bn(d, _, E);
2123
+ function j(_, E) {
2124
+ O.value[_] = E, m.numberFormats = O.value, bn(m, _, E);
2125
2125
  }
2126
2126
  function re(_, E) {
2127
- O.value[_] = de(O.value[_] || {}, E), d.numberFormats = O.value, bn(d, _, E);
2127
+ O.value[_] = me(O.value[_] || {}, E), m.numberFormats = O.value, bn(m, _, E);
2128
2128
  }
2129
- kn++, t && en && (St(t.locale, (_) => {
2130
- c && (m.value = _, d.locale = _, Qe(d, m.value, u.value));
2129
+ Tn++, t && en && (St(t.locale, (_) => {
2130
+ c && (d.value = _, m.locale = _, Qe(m, d.value, u.value));
2131
2131
  }), St(t.fallbackLocale, (_) => {
2132
- c && (u.value = _, d.fallbackLocale = _, Qe(d, m.value, u.value));
2132
+ c && (u.value = _, m.fallbackLocale = _, Qe(m, d.value, u.value));
2133
2133
  }));
2134
- const X = {
2135
- id: kn,
2134
+ const Z = {
2135
+ id: Tn,
2136
2136
  locale: p,
2137
- fallbackLocale: D,
2137
+ fallbackLocale: M,
2138
2138
  get inheritLocale() {
2139
2139
  return c;
2140
2140
  },
2141
2141
  set inheritLocale(_) {
2142
- c = _, _ && t && (m.value = t.locale.value, u.value = t.fallbackLocale.value, Qe(d, m.value, u.value));
2142
+ c = _, _ && t && (d.value = t.locale.value, u.value = t.fallbackLocale.value, Qe(m, d.value, u.value));
2143
2143
  },
2144
2144
  get availableLocales() {
2145
2145
  return Object.keys(g.value).sort();
@@ -2149,22 +2149,22 @@ function sr(e = {}) {
2149
2149
  return S;
2150
2150
  },
2151
2151
  get pluralRules() {
2152
- return A || {};
2152
+ return R || {};
2153
2153
  },
2154
2154
  get isGlobal() {
2155
2155
  return s;
2156
2156
  },
2157
2157
  get missingWarn() {
2158
- return N;
2158
+ return I;
2159
2159
  },
2160
2160
  set missingWarn(_) {
2161
- N = _, d.missingWarn = N;
2161
+ I = _, m.missingWarn = I;
2162
2162
  },
2163
2163
  get fallbackWarn() {
2164
- return M;
2164
+ return w;
2165
2165
  },
2166
2166
  set fallbackWarn(_) {
2167
- M = _, d.fallbackWarn = M;
2167
+ w = _, m.fallbackWarn = w;
2168
2168
  },
2169
2169
  get fallbackRoot() {
2170
2170
  return V;
@@ -2173,36 +2173,36 @@ function sr(e = {}) {
2173
2173
  V = _;
2174
2174
  },
2175
2175
  get fallbackFormat() {
2176
- return I;
2176
+ return N;
2177
2177
  },
2178
2178
  set fallbackFormat(_) {
2179
- I = _, d.fallbackFormat = I;
2179
+ N = _, m.fallbackFormat = N;
2180
2180
  },
2181
2181
  get warnHtmlMessage() {
2182
2182
  return y;
2183
2183
  },
2184
2184
  set warnHtmlMessage(_) {
2185
- y = _, d.warnHtmlMessage = _;
2185
+ y = _, m.warnHtmlMessage = _;
2186
2186
  },
2187
2187
  get escapeParameter() {
2188
2188
  return h;
2189
2189
  },
2190
2190
  set escapeParameter(_) {
2191
- h = _, d.escapeParameter = _;
2191
+ h = _, m.escapeParameter = _;
2192
2192
  },
2193
- t: W,
2194
- getLocaleMessage: We,
2195
- setLocaleMessage: Ge,
2196
- mergeLocaleMessage: ze,
2193
+ t: G,
2194
+ getLocaleMessage: Ge,
2195
+ setLocaleMessage: We,
2196
+ mergeLocaleMessage: Ke,
2197
2197
  getPostTranslationHandler: L,
2198
- setPostTranslationHandler: k,
2199
- getMissingHandler: w,
2198
+ setPostTranslationHandler: T,
2199
+ getMissingHandler: D,
2200
2200
  setMissingHandler: Y,
2201
2201
  [qa]: vt
2202
2202
  };
2203
- return X.datetimeFormats = j, X.numberFormats = ae, X.rt = G, X.te = Et, X.tm = Ke, X.d = Z, X.n = ve, X.getDateTimeFormat = yt, X.setDateTimeFormat = r, X.mergeDateTimeFormat = o, X.getNumberFormat = b, X.setNumberFormat = U, X.mergeNumberFormat = re, X[Zn] = n, X[jt] = Ee, X[Vt] = $e, X[Wt] = Je, X;
2203
+ return Z.datetimeFormats = U, Z.numberFormats = ae, Z.rt = W, Z.te = Et, Z.tm = ze, Z.d = X, Z.n = ve, Z.getDateTimeFormat = yt, Z.setDateTimeFormat = r, Z.mergeDateTimeFormat = o, Z.getNumberFormat = b, Z.setNumberFormat = j, Z.mergeNumberFormat = re, Z[Xn] = n, Z[Ut] = Ee, Z[Vt] = $e, Z[Gt] = Je, Z;
2204
2204
  }
2205
- const Kt = {
2205
+ const zt = {
2206
2206
  tag: {
2207
2207
  type: [String, Object]
2208
2208
  },
@@ -2224,16 +2224,16 @@ function ar({ slots: e }, t) {
2224
2224
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, l) => [
2225
2225
  ...s,
2226
2226
  // prettier-ignore
2227
- ...l.type === Ne ? l.children : [l]
2227
+ ...l.type === Ie ? l.children : [l]
2228
2228
  ], []) : t.reduce((n, s) => {
2229
2229
  const l = e[s];
2230
2230
  return l && (n[s] = l()), n;
2231
- }, z());
2231
+ }, K());
2232
2232
  }
2233
2233
  function Hn() {
2234
- return Ne;
2234
+ return Ie;
2235
2235
  }
2236
- de({
2236
+ me({
2237
2237
  keypath: {
2238
2238
  type: String,
2239
2239
  required: !0
@@ -2242,7 +2242,7 @@ de({
2242
2242
  type: [Number, String],
2243
2243
  validator: (e) => ue(e) || !isNaN(e)
2244
2244
  }
2245
- }, Kt);
2245
+ }, zt);
2246
2246
  function rr(e) {
2247
2247
  return ie(e) && !P(e[0]);
2248
2248
  }
@@ -2250,19 +2250,19 @@ function Bn(e, t, n, s) {
2250
2250
  const { slots: l, attrs: a } = t;
2251
2251
  return () => {
2252
2252
  const c = { part: !0 };
2253
- let m = z();
2254
- e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : $(e.format) && (P(e.format.key) && (c.key = e.format.key), m = Object.keys(e.format).reduce((N, M) => n.includes(M) ? de(z(), N, { [M]: e.format[M] }) : N, z()));
2255
- const u = s(e.value, c, m);
2253
+ let d = K();
2254
+ e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : $(e.format) && (P(e.format.key) && (c.key = e.format.key), d = Object.keys(e.format).reduce((I, w) => n.includes(w) ? me(K(), I, { [w]: e.format[w] }) : I, K()));
2255
+ const u = s(e.value, c, d);
2256
2256
  let g = [c.key];
2257
- ie(u) ? g = u.map((N, M) => {
2258
- const V = l[N.type], I = V ? V({ [N.type]: N.value, index: M, parts: u }) : [N.value];
2259
- return rr(I) && (I[0].key = `${N.type}-${M}`), I;
2257
+ ie(u) ? g = u.map((I, w) => {
2258
+ const V = l[I.type], N = V ? V({ [I.type]: I.value, index: w, parts: u }) : [I.value];
2259
+ return rr(N) && (N[0].key = `${I.type}-${w}`), N;
2260
2260
  }) : P(u) && (g = [u]);
2261
- const T = de(z(), a), O = P(e.tag) || $(e.tag) ? e.tag : Hn();
2262
- return Sn(O, T, g);
2261
+ const k = me(K(), a), O = P(e.tag) || $(e.tag) ? e.tag : Hn();
2262
+ return Sn(O, k, g);
2263
2263
  };
2264
2264
  }
2265
- de({
2265
+ me({
2266
2266
  value: {
2267
2267
  type: Number,
2268
2268
  required: !0
@@ -2270,8 +2270,8 @@ de({
2270
2270
  format: {
2271
2271
  type: [String, Object]
2272
2272
  }
2273
- }, Kt);
2274
- de({
2273
+ }, zt);
2274
+ me({
2275
2275
  value: {
2276
2276
  type: [Number, Date],
2277
2277
  required: !0
@@ -2279,7 +2279,7 @@ de({
2279
2279
  format: {
2280
2280
  type: [String, Object]
2281
2281
  }
2282
- }, Kt);
2282
+ }, zt);
2283
2283
  const lr = /* @__PURE__ */ Ve("global-vue-i18n");
2284
2284
  function bt(e = {}) {
2285
2285
  const t = xt();
@@ -2295,12 +2295,12 @@ function bt(e = {}) {
2295
2295
  return u == null && (u = s), u;
2296
2296
  }
2297
2297
  const c = n;
2298
- let m = c.__getInstance(t);
2299
- if (m == null) {
2300
- const u = de({}, e);
2301
- "__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m = sr(u), c.__composerExtend && (m[Gt] = c.__composerExtend(m)), mr(c, t, m), c.__setInstance(t, m);
2298
+ let d = c.__getInstance(t);
2299
+ if (d == null) {
2300
+ const u = me({}, e);
2301
+ "__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), d = sr(u), c.__composerExtend && (d[Wt] = c.__composerExtend(d)), dr(c, t, d), c.__setInstance(t, d);
2302
2302
  }
2303
- return m;
2303
+ return d;
2304
2304
  }
2305
2305
  function or(e) {
2306
2306
  const t = $n(e.isCE ? lr : e.appContext.app.__VUE_I18N_SYMBOL__);
@@ -2317,14 +2317,14 @@ function cr(e) {
2317
2317
  function ur(e, t, n = !1) {
2318
2318
  let s = null;
2319
2319
  const l = t.root;
2320
- let a = dr(t, n);
2320
+ let a = mr(t, n);
2321
2321
  for (; a != null; ) {
2322
2322
  const c = e;
2323
2323
  if (e.mode === "composition")
2324
2324
  s = c.__getInstance(a);
2325
2325
  else if (__VUE_I18N_LEGACY_API__) {
2326
- const m = c.__getInstance(a);
2327
- m != null && (s = m.__composer, n && s && !s[Zn] && (s = null));
2326
+ const d = c.__getInstance(a);
2327
+ d != null && (s = d.__composer, n && s && !s[Xn] && (s = null));
2328
2328
  }
2329
2329
  if (s != null || l === a)
2330
2330
  break;
@@ -2332,27 +2332,27 @@ function ur(e, t, n = !1) {
2332
2332
  }
2333
2333
  return s;
2334
2334
  }
2335
- function dr(e, t = !1) {
2335
+ function mr(e, t = !1) {
2336
2336
  return e == null ? null : t && e.vnode.ctx || e.parent;
2337
2337
  }
2338
- function mr(e, t, n) {
2339
- Zt(() => {
2340
- }, t), Rn(() => {
2338
+ function dr(e, t, n) {
2339
+ Xt(() => {
2340
+ }, t), An(() => {
2341
2341
  const s = n;
2342
2342
  e.__deleteInstance(t);
2343
- const l = s[Gt];
2344
- l && (l(), delete s[Gt]);
2343
+ const l = s[Wt];
2344
+ l && (l(), delete s[Wt]);
2345
2345
  }, t);
2346
2346
  }
2347
2347
  Qa();
2348
- Aa(ua);
2349
- Ra(Oa);
2350
- Sa(wn);
2348
+ Ra(ua);
2349
+ Aa(Oa);
2350
+ Sa(Dn);
2351
2351
  if (__INTLIFY_PROD_DEVTOOLS__) {
2352
- const e = Ue();
2353
- e.__INTLIFY__ = !0, da(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
2352
+ const e = je();
2353
+ e.__INTLIFY__ = !0, ma(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
2354
2354
  }
2355
- const it = /* @__PURE__ */ Ie({
2355
+ const it = /* @__PURE__ */ Ne({
2356
2356
  __name: "InheritPermissionTooltip",
2357
2357
  props: {
2358
2358
  item: {
@@ -2363,20 +2363,20 @@ const it = /* @__PURE__ */ Ie({
2363
2363
  setup(e) {
2364
2364
  const { t } = bt();
2365
2365
  return (n, s) => {
2366
- const l = Xe("FmIcon"), a = Xe("FmTooltip");
2366
+ const l = Ze("FmIcon"), a = Ze("FmTooltip");
2367
2367
  return H(), Se(a, {
2368
2368
  variant: "plain",
2369
2369
  placement: "right",
2370
2370
  "z-index": 50
2371
2371
  }, {
2372
2372
  content: he(() => [
2373
- te("div", null, Re(B(t)("team.memberForm.permissions.inherited")), 1),
2374
- (H(!0), ee(Ne, null, pe(e.item.setNames, (c) => (H(), ee("div", { key: c }, [
2375
- te("div", null, "- " + Re(c), 1)
2373
+ te("div", null, Ae(B(t)("team.memberForm.permissions.inherited")), 1),
2374
+ (H(!0), ee(Ie, null, pe(e.item.setNames, (c) => (H(), ee("div", { key: c }, [
2375
+ te("div", null, "- " + Ae(c), 1)
2376
2376
  ]))), 128))
2377
2377
  ]),
2378
2378
  default: he(() => [
2379
- me(l, {
2379
+ de(l, {
2380
2380
  name: "admin_panel_settings",
2381
2381
  size: "sm",
2382
2382
  class: "ml-1 text-fm-color-typo-info"
@@ -2392,7 +2392,7 @@ const it = /* @__PURE__ */ Ie({
2392
2392
  }, pr = {
2393
2393
  key: 0,
2394
2394
  class: "q-mr-xs text-red col"
2395
- }, hr = { class: "form-input" }, gr = /* @__PURE__ */ Ie({
2395
+ }, hr = { class: "form-input" }, gr = /* @__PURE__ */ Ne({
2396
2396
  __name: "AppForm",
2397
2397
  props: {
2398
2398
  title: {
@@ -2415,7 +2415,7 @@ const it = /* @__PURE__ */ Ie({
2415
2415
  t.title ? (H(), ee("div", _r, [
2416
2416
  te("div", null, [
2417
2417
  t.required ? (H(), ee("span", pr, "*")) : Oe("", !0),
2418
- Qn(Re(t.title), 1)
2418
+ Qn(Ae(t.title), 1)
2419
2419
  ]),
2420
2420
  ge(n.$slots, "title-right")
2421
2421
  ])) : Oe("", !0)
@@ -2436,7 +2436,7 @@ function br(e, t) {
2436
2436
  const vr = { class: "col flex items-center" }, Er = {
2437
2437
  key: 1,
2438
2438
  class: "q-pa-sm form-error-message text-error"
2439
- }, zt = /* @__PURE__ */ Ie({
2439
+ }, Kt = /* @__PURE__ */ Ne({
2440
2440
  __name: "CheckboxInput",
2441
2441
  props: {
2442
2442
  options: {
@@ -2494,47 +2494,47 @@ const vr = { class: "col flex items-center" }, Er = {
2494
2494
  },
2495
2495
  emits: ["update:model-value"],
2496
2496
  setup(e, { emit: t }) {
2497
- const n = e, s = t, { t: l } = _t(), a = je(!1), c = qn(), m = q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), u = `checkbox-${br(6)}`, g = q(() => m.value !== !0), T = q(
2498
- () => n.modelValue.filter((I) => n.options.some((R) => R.value === I))
2497
+ const n = e, s = t, { t: l } = _t(), a = Ue(!1), c = qn(), d = q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), u = `checkbox-${br(6)}`, g = q(() => d.value !== !0), k = q(
2498
+ () => n.modelValue.filter((N) => n.options.some((A) => A.value === N))
2499
2499
  ), O = q(
2500
2500
  () => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
2501
- ), N = q(() => n.options.length > 0 && n.options.length === T.value.length);
2502
- function M() {
2503
- const I = n.modelValue.filter((R) => !T.value.includes(R));
2504
- if (N.value === !0)
2505
- s("update:model-value", I);
2501
+ ), I = q(() => n.options.length > 0 && n.options.length === k.value.length);
2502
+ function w() {
2503
+ const N = n.modelValue.filter((A) => !k.value.includes(A));
2504
+ if (I.value === !0)
2505
+ s("update:model-value", N);
2506
2506
  else {
2507
- const R = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
2508
- s("update:model-value", [...I, ...R]);
2507
+ const A = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
2508
+ s("update:model-value", [...N, ...A]);
2509
2509
  }
2510
2510
  }
2511
- function V(I, R) {
2511
+ function V(N, A) {
2512
2512
  let i = ut(n.modelValue);
2513
- R ? i.every((f) => f !== I) && i.push(I) : i = i.filter((f) => f !== I), s("update:model-value", i);
2513
+ A ? i.every((f) => f !== N) && i.push(N) : i = i.filter((f) => f !== N), s("update:model-value", i);
2514
2514
  }
2515
- return (I, R) => {
2516
- const i = Xe("FmCheckbox");
2515
+ return (N, A) => {
2516
+ const i = Ze("FmCheckbox");
2517
2517
  return H(), Se(gr, {
2518
2518
  id: u,
2519
2519
  title: e.title,
2520
2520
  required: !1
2521
2521
  }, {
2522
2522
  top: he(() => [
2523
- ge(I.$slots, "top")
2523
+ ge(N.$slots, "top")
2524
2524
  ]),
2525
2525
  default: he(() => [
2526
2526
  n.showAllToggle ? (H(), Se(i, {
2527
2527
  key: 0,
2528
- "model-value": N.value,
2528
+ "model-value": I.value,
2529
2529
  disabled: e.disable,
2530
2530
  label: O.value,
2531
2531
  style: ct(`margin-bottom: ${n.gutter}px`),
2532
2532
  size: "sm",
2533
2533
  dense: "",
2534
2534
  value: O.value,
2535
- "onUpdate:modelValue": M
2535
+ "onUpdate:modelValue": w
2536
2536
  }, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Oe("", !0),
2537
- (H(!0), ee(Ne, null, pe(e.options, (f, y) => (H(), ee("div", {
2537
+ (H(!0), ee(Ie, null, pe(e.options, (f, y) => (H(), ee("div", {
2538
2538
  key: f.value,
2539
2539
  style: ct(`margin-bottom: ${y < e.options.length - 1 ? n.gutter : 0}px`),
2540
2540
  class: qe(y < e.options.length - 1 ? "q-mb-sm" : "")
@@ -2543,7 +2543,7 @@ const vr = { class: "col flex items-center" }, Er = {
2543
2543
  class: qe(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
2544
2544
  }, [
2545
2545
  te("div", vr, [
2546
- me(i, {
2546
+ de(i, {
2547
2547
  "model-value": e.modelValue.includes(f.value),
2548
2548
  disabled: e.disable || f.disabled,
2549
2549
  size: "sm",
@@ -2551,7 +2551,7 @@ const vr = { class: "col flex items-center" }, Er = {
2551
2551
  value: f.label,
2552
2552
  "onUpdate:modelValue": (h) => V(f.value, h)
2553
2553
  }, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
2554
- ge(I.$slots, `checkbox-${f.key || f.value}-append`, {
2554
+ ge(N.$slots, `checkbox-${f.key || f.value}-append`, {
2555
2555
  option: f,
2556
2556
  selected: e.modelValue.includes(f.value)
2557
2557
  })
@@ -2560,7 +2560,7 @@ const vr = { class: "col flex items-center" }, Er = {
2560
2560
  key: 0,
2561
2561
  class: qe([{ "q-checkbox disabled": e.disable || f.disabled }, "col"])
2562
2562
  }, [
2563
- ge(I.$slots, `checkbox-${f.key || f.value}-end`, {
2563
+ ge(N.$slots, `checkbox-${f.key || f.value}-end`, {
2564
2564
  option: f,
2565
2565
  value: e.modelValue.includes(f.value),
2566
2566
  disable: e.disable || f.disabled
@@ -2572,14 +2572,14 @@ const vr = { class: "col flex items-center" }, Er = {
2572
2572
  class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || f.disabled }]),
2573
2573
  style: ct(`margin-left: ${e.bottomSlotIndent}`)
2574
2574
  }, [
2575
- ge(I.$slots, `checkbox-${f.key || f.value}-bottom`, {
2575
+ ge(N.$slots, `checkbox-${f.key || f.value}-bottom`, {
2576
2576
  option: f,
2577
2577
  disable: e.disable || f.disabled,
2578
2578
  value: e.modelValue.includes(f.value)
2579
2579
  })
2580
2580
  ], 6)) : Oe("", !0)
2581
2581
  ], 6))), 128)),
2582
- a.value && g.value ? (H(), ee("div", Er, Re(m.value), 1)) : Oe("", !0)
2582
+ a.value && g.value ? (H(), ee("div", Er, Ae(d.value), 1)) : Oe("", !0)
2583
2583
  ]),
2584
2584
  _: 3
2585
2585
  }, 8, ["title"]);
@@ -2587,11 +2587,11 @@ const vr = { class: "col flex items-center" }, Er = {
2587
2587
  }
2588
2588
  });
2589
2589
  function Ln(e, t, n) {
2590
- const s = n.filter((m) => m !== "manage");
2590
+ const s = n.filter((d) => d !== "manage");
2591
2591
  if (s.length === 0) return;
2592
- const l = e.findIndex((m) => m.subject === t && !m.inverted);
2592
+ const l = e.findIndex((d) => d.subject === t && !d.inverted);
2593
2593
  if (l < 0) return;
2594
- const a = new Set(e[l].actions), c = s.every((m) => a.has(m));
2594
+ const a = new Set(e[l].actions), c = s.every((d) => a.has(d));
2595
2595
  c && !a.has("manage") ? (a.add("manage"), e[l] = {
2596
2596
  ...e[l],
2597
2597
  actions: Array.from(a)
@@ -2601,102 +2601,102 @@ function Ln(e, t, n) {
2601
2601
  });
2602
2602
  }
2603
2603
  const Cn = Object.values(cs);
2604
- function Nr(e, t, n, s) {
2605
- const { getFlagValue: l } = ds(), a = q(() => {
2606
- const d = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map();
2604
+ function Ir(e, t, n, s) {
2605
+ const { getFlagValue: l } = ms(), a = q(() => {
2606
+ const m = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map();
2607
2607
  for (const p of t.value) {
2608
- const D = p.category;
2609
- D && (n.value.includes(p.subject) || p.showByFeatureFlag && l(p.showByFeatureFlag) === "false" || (d.has(D) || d.set(D, []), d.get(D).push({ label: p.label, value: p.subject }), C.set(p.subject, p)));
2608
+ const M = p.category;
2609
+ M && (n.value.includes(p.subject) || p.showByFeatureFlag && l(p.showByFeatureFlag) === "false" || (m.has(M) || m.set(M, []), m.get(M).push({ label: p.label, value: p.subject }), C.set(p.subject, p)));
2610
2610
  }
2611
- return [...d.keys()].sort((p, D) => {
2612
- const F = Cn.indexOf(p), j = Cn.indexOf(D);
2613
- return F === -1 && j === -1 ? p.localeCompare(D) : F === -1 ? 1 : j === -1 ? -1 : F - j;
2611
+ return [...m.keys()].sort((p, M) => {
2612
+ const F = Cn.indexOf(p), U = Cn.indexOf(M);
2613
+ return F === -1 && U === -1 ? p.localeCompare(M) : F === -1 ? 1 : U === -1 ? -1 : F - U;
2614
2614
  }).map((p) => {
2615
- const D = d.get(p), F = /* @__PURE__ */ new Map();
2616
- for (const G of D) {
2617
- const Z = C.get(G.value);
2618
- Z && F.set(G.value, Z.actions);
2615
+ const M = m.get(p), F = /* @__PURE__ */ new Map();
2616
+ for (const W of M) {
2617
+ const X = C.get(W.value);
2618
+ X && F.set(W.value, X.actions);
2619
2619
  }
2620
- const j = D.some((G) => {
2621
- const Z = F.get(G.value);
2622
- return Z && Z.length > 1;
2623
- }), ae = j ? [
2620
+ const U = M.some((W) => {
2621
+ const X = F.get(W.value);
2622
+ return X && X.length > 1;
2623
+ }), ae = U ? [
2624
2624
  ...new Set(
2625
- D.flatMap((G) => F.get(G.value) ?? []).filter((G) => G !== "manage")
2625
+ M.flatMap((W) => F.get(W.value) ?? []).filter((W) => W !== "manage")
2626
2626
  )
2627
2627
  ] : [], L = /* @__PURE__ */ new Map();
2628
- for (const G of e.value)
2629
- D.some((Z) => Z.value === G.subject) && !G.inverted && L.set(G.subject, new Set(G.actions));
2630
- const k = j ? e.value.filter(
2631
- (G) => D.some((Z) => Z.value === G.subject) && !G.inverted && G.actions.includes("manage")
2632
- ).map((G) => G.subject) : e.value.filter((G) => D.some((Z) => Z.value === G.subject) && !G.inverted).map((G) => G.subject), w = D.find((G) => {
2633
- var Z;
2634
- return (Z = C.get(G.value)) == null ? void 0 : Z.isCategoryCover;
2635
- }), Y = (w == null ? void 0 : w.value) ?? null, x = Y ? L.get(Y) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), W = x.has("manage");
2628
+ for (const W of e.value)
2629
+ M.some((X) => X.value === W.subject) && !W.inverted && L.set(W.subject, new Set(W.actions));
2630
+ const T = U ? e.value.filter(
2631
+ (W) => M.some((X) => X.value === W.subject) && !W.inverted && W.actions.includes("manage")
2632
+ ).map((W) => W.subject) : e.value.filter((W) => M.some((X) => X.value === W.subject) && !W.inverted).map((W) => W.subject), D = M.find((W) => {
2633
+ var X;
2634
+ return (X = C.get(W.value)) == null ? void 0 : X.isCategoryCover;
2635
+ }), Y = (D == null ? void 0 : D.value) ?? null, x = Y ? L.get(Y) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), G = x.has("manage");
2636
2636
  return {
2637
2637
  category: p,
2638
- options: D,
2639
- selectedSubjects: k,
2640
- isMultiAction: j,
2638
+ options: M,
2639
+ selectedSubjects: T,
2640
+ isMultiAction: U,
2641
2641
  actionColumns: ae,
2642
2642
  permissionActionsMap: F,
2643
2643
  selectedActionsMap: L,
2644
2644
  coverSubject: Y,
2645
2645
  coverSelectedActions: x,
2646
- coverCoversAll: W
2646
+ coverCoversAll: G
2647
2647
  };
2648
2648
  });
2649
2649
  });
2650
- function c(d, C) {
2650
+ function c(m, C) {
2651
2651
  var p;
2652
- const v = ((p = a.value.find((D) => D.category === d)) == null ? void 0 : p.options) ?? [];
2652
+ const v = ((p = a.value.find((M) => M.category === m)) == null ? void 0 : p.options) ?? [];
2653
2653
  s("update:model-value", [
2654
- ...e.value.filter((D) => !v.some((F) => F.value === D.subject)),
2655
- ...t.value.filter((D) => C.includes(D.subject)).map(
2656
- ({ category: D, showByFeatureFlag: F, isCategoryCover: j, ...ae }) => ae
2654
+ ...e.value.filter((M) => !v.some((F) => F.value === M.subject)),
2655
+ ...t.value.filter((M) => C.includes(M.subject)).map(
2656
+ ({ category: M, showByFeatureFlag: F, isCategoryCover: U, ...ae }) => ae
2657
2657
  )
2658
2658
  ]);
2659
2659
  }
2660
- function m(d) {
2661
- return d.options.length > 0 && d.options.every((C) => d.selectedSubjects.includes(C.value));
2660
+ function d(m) {
2661
+ return m.options.length > 0 && m.options.every((C) => m.selectedSubjects.includes(C.value));
2662
2662
  }
2663
- function u(d) {
2663
+ function u(m) {
2664
2664
  const C = e.value.filter(
2665
- (v) => !d.options.some((p) => p.value === v.subject)
2665
+ (v) => !m.options.some((p) => p.value === v.subject)
2666
2666
  );
2667
- if (m(d))
2667
+ if (d(m))
2668
2668
  s("update:model-value", C);
2669
2669
  else {
2670
- const v = t.value.filter((p) => d.options.some((D) => D.value === p.subject)).map(
2671
- ({ category: p, showByFeatureFlag: D, isCategoryCover: F, ...j }) => j
2670
+ const v = t.value.filter((p) => m.options.some((M) => M.value === p.subject)).map(
2671
+ ({ category: p, showByFeatureFlag: M, isCategoryCover: F, ...U }) => U
2672
2672
  );
2673
2673
  s("update:model-value", [...C, ...v]);
2674
2674
  }
2675
2675
  }
2676
- function g(d, C) {
2677
- const v = d.selectedActionsMap.get(C);
2676
+ function g(m, C) {
2677
+ const v = m.selectedActionsMap.get(C);
2678
2678
  return v ? v.has("manage") : !1;
2679
2679
  }
2680
- function T(d, C) {
2681
- const v = d.permissionActionsMap.get(C);
2680
+ function k(m, C) {
2681
+ const v = m.permissionActionsMap.get(C);
2682
2682
  if (!v) return !1;
2683
- const p = v.filter((j) => j !== "manage");
2683
+ const p = v.filter((U) => U !== "manage");
2684
2684
  if (p.length === 0) return !1;
2685
- const D = d.selectedActionsMap.get(C);
2686
- if (!D) return !1;
2687
- const F = p.filter((j) => D.has(j));
2685
+ const M = m.selectedActionsMap.get(C);
2686
+ if (!M) return !1;
2687
+ const F = p.filter((U) => M.has(U));
2688
2688
  return F.length > 0 && F.length < p.length;
2689
2689
  }
2690
- function O(d, C, v) {
2690
+ function O(m, C, v) {
2691
2691
  if (v) {
2692
- const p = t.value.find((k) => k.subject === C);
2692
+ const p = t.value.find((T) => T.subject === C);
2693
2693
  if (!p) return;
2694
2694
  const {
2695
- category: D,
2695
+ category: M,
2696
2696
  showByFeatureFlag: F,
2697
- isCategoryCover: j,
2697
+ isCategoryCover: U,
2698
2698
  ...ae
2699
- } = p, L = e.value.filter((k) => k.subject !== C);
2699
+ } = p, L = e.value.filter((T) => T.subject !== C);
2700
2700
  L.push(ae), s("update:model-value", L);
2701
2701
  } else
2702
2702
  s(
@@ -2704,91 +2704,91 @@ function Nr(e, t, n, s) {
2704
2704
  e.value.filter((p) => p.subject !== C)
2705
2705
  );
2706
2706
  }
2707
- function N(d, C) {
2708
- const v = d.permissionActionsMap.get(C);
2707
+ function I(m, C) {
2708
+ const v = m.permissionActionsMap.get(C);
2709
2709
  return v ? v.some((p) => p !== "manage") : !1;
2710
2710
  }
2711
- function M(d, C, v) {
2712
- const p = d.selectedActionsMap.get(C);
2711
+ function w(m, C, v) {
2712
+ const p = m.selectedActionsMap.get(C);
2713
2713
  return p ? p.has(v) : !1;
2714
2714
  }
2715
- function V(d, C) {
2716
- return !d.coverSubject || C === d.coverSubject ? !1 : d.coverCoversAll;
2715
+ function V(m, C) {
2716
+ return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll;
2717
2717
  }
2718
- function I(d, C, v) {
2719
- return !d.coverSubject || C === d.coverSubject ? !1 : d.coverCoversAll ? !0 : d.coverSelectedActions.has(v);
2718
+ function N(m, C, v) {
2719
+ return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll ? !0 : m.coverSelectedActions.has(v);
2720
2720
  }
2721
- function R(d, C, v) {
2722
- const p = d.permissionActionsMap.get(C);
2721
+ function A(m, C, v) {
2722
+ const p = m.permissionActionsMap.get(C);
2723
2723
  return p ? p.includes(v) : !1;
2724
2724
  }
2725
- function i(d, C, v) {
2726
- const p = [...e.value], D = p.findIndex((j) => j.subject === d && !j.inverted);
2725
+ function i(m, C, v) {
2726
+ const p = [...e.value], M = p.findIndex((U) => U.subject === m && !U.inverted);
2727
2727
  if (v)
2728
- if (D >= 0) {
2729
- const j = { ...p[D] }, ae = new Set(j.actions);
2730
- ae.add(C), j.actions = Array.from(ae), p[D] = j;
2728
+ if (M >= 0) {
2729
+ const U = { ...p[M] }, ae = new Set(U.actions);
2730
+ ae.add(C), U.actions = Array.from(ae), p[M] = U;
2731
2731
  } else {
2732
- const j = t.value.find((Y) => Y.subject === d);
2733
- if (!j) return;
2732
+ const U = t.value.find((Y) => Y.subject === m);
2733
+ if (!U) return;
2734
2734
  const {
2735
2735
  category: ae,
2736
2736
  showByFeatureFlag: L,
2737
- isCategoryCover: k,
2738
- ...w
2739
- } = j;
2740
- p.push({ ...w, actions: [C] });
2737
+ isCategoryCover: T,
2738
+ ...D
2739
+ } = U;
2740
+ p.push({ ...D, actions: [C] });
2741
2741
  }
2742
- else if (D >= 0) {
2743
- const j = { ...p[D] }, ae = j.actions.filter((L) => L !== C);
2744
- ae.length === 0 ? p.splice(D, 1) : (j.actions = ae, p[D] = j);
2742
+ else if (M >= 0) {
2743
+ const U = { ...p[M] }, ae = U.actions.filter((L) => L !== C);
2744
+ ae.length === 0 ? p.splice(M, 1) : (U.actions = ae, p[M] = U);
2745
2745
  }
2746
- const F = t.value.find((j) => j.subject === d);
2747
- F && Ln(p, d, F.actions), s("update:model-value", p);
2746
+ const F = t.value.find((U) => U.subject === m);
2747
+ F && Ln(p, m, F.actions), s("update:model-value", p);
2748
2748
  }
2749
- function f(d, C) {
2750
- const v = d.options.filter(
2751
- (p) => R(d, p.value, C)
2749
+ function f(m, C) {
2750
+ const v = m.options.filter(
2751
+ (p) => A(m, p.value, C)
2752
2752
  );
2753
2753
  return v.length === 0 ? !1 : v.every(
2754
- (p) => M(d, p.value, C) || I(d, p.value, C)
2754
+ (p) => w(m, p.value, C) || N(m, p.value, C)
2755
2755
  );
2756
2756
  }
2757
- function y(d, C) {
2758
- const v = d.options.filter(
2759
- (D) => R(d, D.value, C)
2757
+ function y(m, C) {
2758
+ const v = m.options.filter(
2759
+ (M) => A(m, M.value, C)
2760
2760
  );
2761
2761
  if (v.length === 0) return !1;
2762
2762
  const p = v.filter(
2763
- (D) => M(d, D.value, C) || I(d, D.value, C)
2763
+ (M) => w(m, M.value, C) || N(m, M.value, C)
2764
2764
  ).length;
2765
2765
  return p > 0 && p < v.length;
2766
2766
  }
2767
- function h(d, C, v) {
2767
+ function h(m, C, v) {
2768
2768
  const p = [...e.value];
2769
- for (const D of d.options) {
2770
- if (!R(d, D.value, C)) continue;
2771
- const F = D.value, j = p.findIndex(
2769
+ for (const M of m.options) {
2770
+ if (!A(m, M.value, C)) continue;
2771
+ const F = M.value, U = p.findIndex(
2772
2772
  (L) => L.subject === F && !L.inverted
2773
2773
  );
2774
2774
  if (v)
2775
- if (j >= 0) {
2776
- const L = { ...p[j] }, k = new Set(L.actions);
2777
- k.add(C), L.actions = Array.from(k), p[j] = L;
2775
+ if (U >= 0) {
2776
+ const L = { ...p[U] }, T = new Set(L.actions);
2777
+ T.add(C), L.actions = Array.from(T), p[U] = L;
2778
2778
  } else {
2779
- const L = t.value.find((W) => W.subject === F);
2779
+ const L = t.value.find((G) => G.subject === F);
2780
2780
  if (!L) continue;
2781
2781
  const {
2782
- category: k,
2783
- showByFeatureFlag: w,
2782
+ category: T,
2783
+ showByFeatureFlag: D,
2784
2784
  isCategoryCover: Y,
2785
2785
  ...x
2786
2786
  } = L;
2787
2787
  p.push({ ...x, actions: [C] });
2788
2788
  }
2789
- else if (j >= 0) {
2790
- const L = { ...p[j] }, k = L.actions.filter((w) => w !== C);
2791
- k.length === 0 ? p.splice(j, 1) : (L.actions = k, p[j] = L);
2789
+ else if (U >= 0) {
2790
+ const L = { ...p[U] }, T = L.actions.filter((D) => D !== C);
2791
+ T.length === 0 ? p.splice(U, 1) : (L.actions = T, p[U] = L);
2792
2792
  }
2793
2793
  const ae = t.value.find((L) => L.subject === F);
2794
2794
  ae && Ln(p, F, ae.actions);
@@ -2800,36 +2800,36 @@ function Nr(e, t, n, s) {
2800
2800
  create: "Duplicate",
2801
2801
  update: "Edit"
2802
2802
  };
2803
- function A(d) {
2804
- return S[d] ?? d.charAt(0).toUpperCase() + d.slice(1);
2803
+ function R(m) {
2804
+ return S[m] ?? m.charAt(0).toUpperCase() + m.slice(1);
2805
2805
  }
2806
2806
  return {
2807
2807
  categoryGroups: a,
2808
2808
  toggleCategory: c,
2809
- isAllManageChecked: m,
2809
+ isAllManageChecked: d,
2810
2810
  toggleAllManage: u,
2811
2811
  isManageChecked: g,
2812
- isManageIndeterminate: T,
2812
+ isManageIndeterminate: k,
2813
2813
  toggleManage: O,
2814
- hasNonManageActions: N,
2815
- isActionChecked: M,
2814
+ hasNonManageActions: I,
2815
+ isActionChecked: w,
2816
2816
  isRowFullyCoveredByCover: V,
2817
- isActionCoveredByCover: I,
2818
- permissionDefinesAction: R,
2817
+ isActionCoveredByCover: N,
2818
+ permissionDefinesAction: A,
2819
2819
  toggleAction: i,
2820
2820
  isAllActionChecked: f,
2821
2821
  isAllActionIndeterminate: y,
2822
2822
  toggleAllAction: h,
2823
- actionLabel: A
2823
+ actionLabel: R
2824
2824
  };
2825
2825
  }
2826
- const yr = { class: "flex flex-col gap-16" }, Ir = {
2826
+ const yr = { class: "flex flex-col gap-16" }, Nr = {
2827
2827
  key: 1,
2828
2828
  class: "space-y-16"
2829
- }, Tr = { class: "flex items-end justify-between" }, kr = { class: "fm-typo-en-title-sm-600" }, Or = { class: "flex" }, Lr = { class: "form-input" }, Cr = { class: "flex items-center justify-between q-mb-xs" }, Ar = { class: "flex shrink-0" }, Rr = { class: "flex items-center justify-between gap-4" }, Sr = { class: "flex items-center min-w-0 flex-1 gap-8" }, Dr = ["title", "onClick"], wr = {
2829
+ }, kr = { class: "flex items-end justify-between" }, Tr = { class: "fm-typo-en-title-sm-600" }, Or = { class: "flex" }, Lr = { class: "form-input" }, Cr = { class: "flex items-center justify-between q-mb-xs" }, Rr = { class: "flex shrink-0" }, Ar = { class: "flex items-center justify-between gap-4" }, Sr = { class: "flex items-center min-w-0 flex-1 gap-8" }, Mr = ["title", "onClick"], Dr = {
2830
2830
  key: 0,
2831
2831
  class: "flex shrink-0"
2832
- }, Mr = /* @__PURE__ */ Ie({
2832
+ }, wr = /* @__PURE__ */ Ne({
2833
2833
  __name: "BasePermission",
2834
2834
  props: {
2835
2835
  modelValue: {
@@ -2851,50 +2851,50 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
2851
2851
  },
2852
2852
  emits: ["update:model-value"],
2853
2853
  setup(e, { emit: t }) {
2854
- const n = e, s = t, l = q(() => [...Dt, ...n.additionalPermissions]), {
2854
+ const n = e, s = t, l = q(() => [...Mt, ...n.additionalPermissions]), {
2855
2855
  categoryGroups: a,
2856
2856
  toggleCategory: c,
2857
- isAllManageChecked: m,
2857
+ isAllManageChecked: d,
2858
2858
  toggleAllManage: u,
2859
2859
  isManageChecked: g,
2860
- isManageIndeterminate: T,
2860
+ isManageIndeterminate: k,
2861
2861
  toggleManage: O,
2862
- hasNonManageActions: N,
2863
- isActionChecked: M,
2862
+ hasNonManageActions: I,
2863
+ isActionChecked: w,
2864
2864
  isRowFullyCoveredByCover: V,
2865
- isActionCoveredByCover: I,
2866
- permissionDefinesAction: R,
2865
+ isActionCoveredByCover: N,
2866
+ permissionDefinesAction: A,
2867
2867
  toggleAction: i,
2868
2868
  isAllActionChecked: f,
2869
2869
  isAllActionIndeterminate: y,
2870
2870
  toggleAllAction: h,
2871
2871
  actionLabel: S
2872
- } = Nr(
2872
+ } = Ir(
2873
2873
  Qt(n, "modelValue"),
2874
2874
  l,
2875
2875
  Qt(n, "excludedSubjects"),
2876
- (A, d) => s("update:model-value", d)
2876
+ (R, m) => s("update:model-value", m)
2877
2877
  );
2878
- return (A, d) => {
2879
- const C = Xe("FmCheckbox");
2878
+ return (R, m) => {
2879
+ const C = Ze("FmCheckbox");
2880
2880
  return H(), ee("div", yr, [
2881
- (H(!0), ee(Ne, null, pe(B(a), (v) => (H(), ee(Ne, {
2881
+ (H(!0), ee(Ie, null, pe(B(a), (v) => (H(), ee(Ie, {
2882
2882
  key: v.category
2883
2883
  }, [
2884
- v.isMultiAction ? (H(), ee("div", Ir, [
2885
- te("div", Tr, [
2886
- te("div", kr, Re(v.category), 1),
2884
+ v.isMultiAction ? (H(), ee("div", Nr, [
2885
+ te("div", kr, [
2886
+ te("div", Tr, Ae(v.category), 1),
2887
2887
  te("div", Or, [
2888
- (H(!0), ee(Ne, null, pe(v.actionColumns, (p) => (H(), ee("span", {
2888
+ (H(!0), ee(Ie, null, pe(v.actionColumns, (p) => (H(), ee("span", {
2889
2889
  key: p,
2890
2890
  class: "w-[56px] text-center fm-typo-en-body-sm-400 text-fm-color-neutral-gray-600"
2891
- }, Re(B(S)(p)), 1))), 128))
2891
+ }, Ae(B(S)(p)), 1))), 128))
2892
2892
  ])
2893
2893
  ]),
2894
2894
  te("div", Lr, [
2895
2895
  te("div", Cr, [
2896
- me(C, {
2897
- "model-value": B(m)(v),
2896
+ de(C, {
2897
+ "model-value": B(d)(v),
2898
2898
  value: !0,
2899
2899
  disabled: e.disable,
2900
2900
  label: "All",
@@ -2902,34 +2902,34 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
2902
2902
  dense: "",
2903
2903
  "onUpdate:modelValue": (p) => B(u)(v)
2904
2904
  }, null, 8, ["model-value", "disabled", "onUpdate:modelValue"]),
2905
- te("div", Ar, [
2906
- (H(!0), ee(Ne, null, pe(v.actionColumns, (p) => (H(), ee("div", {
2905
+ te("div", Rr, [
2906
+ (H(!0), ee(Ie, null, pe(v.actionColumns, (p) => (H(), ee("div", {
2907
2907
  key: p,
2908
2908
  class: "w-[56px] flex justify-center"
2909
2909
  }, [
2910
- me(C, {
2910
+ de(C, {
2911
2911
  "model-value": B(f)(v, p),
2912
2912
  indeterminate: B(y)(v, p),
2913
2913
  value: p,
2914
2914
  disabled: e.disable,
2915
2915
  size: "sm",
2916
2916
  dense: "",
2917
- "onUpdate:modelValue": (D) => B(h)(v, p, D)
2917
+ "onUpdate:modelValue": (M) => B(h)(v, p, M)
2918
2918
  }, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
2919
2919
  ]))), 128))
2920
2920
  ])
2921
2921
  ]),
2922
- (H(!0), ee(Ne, null, pe(v.options, (p, D) => (H(), ee("div", {
2922
+ (H(!0), ee(Ie, null, pe(v.options, (p, M) => (H(), ee("div", {
2923
2923
  key: p.value,
2924
- class: qe(D < v.options.length - 1 ? "q-mb-xs" : "")
2924
+ class: qe(M < v.options.length - 1 ? "q-mb-xs" : "")
2925
2925
  }, [
2926
- te("div", Rr, [
2926
+ te("div", Ar, [
2927
2927
  te("div", Sr, [
2928
- me(C, {
2928
+ de(C, {
2929
2929
  "model-value": B(g)(v, p.value) || B(V)(v, p.value),
2930
2930
  value: p.value,
2931
2931
  disabled: e.disable || B(V)(v, p.value),
2932
- indeterminate: B(T)(v, p.value),
2932
+ indeterminate: B(k)(v, p.value),
2933
2933
  size: "sm",
2934
2934
  class: "shrink-0",
2935
2935
  "onUpdate:modelValue": (F) => B(O)(v, p.value, F)
@@ -2938,28 +2938,28 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
2938
2938
  class: "block truncate cursor-pointer",
2939
2939
  title: p.label,
2940
2940
  onClick: (F) => !e.disable && !B(V)(v, p.value) && B(O)(v, p.value, !B(g)(v, p.value))
2941
- }, Re(p.label), 9, Dr),
2942
- ge(A.$slots, `checkbox-${p.value}-append`, { option: p })
2941
+ }, Ae(p.label), 9, Mr),
2942
+ ge(R.$slots, `checkbox-${p.value}-append`, { option: p })
2943
2943
  ]),
2944
- B(N)(v, p.value) ? (H(), ee("div", wr, [
2945
- (H(!0), ee(Ne, null, pe(v.actionColumns, (F) => (H(), ee("div", {
2944
+ B(I)(v, p.value) ? (H(), ee("div", Dr, [
2945
+ (H(!0), ee(Ie, null, pe(v.actionColumns, (F) => (H(), ee("div", {
2946
2946
  key: F,
2947
2947
  class: "w-[56px] flex justify-center"
2948
2948
  }, [
2949
- B(R)(v, p.value, F) ? (H(), Se(C, {
2949
+ B(A)(v, p.value, F) ? (H(), Se(C, {
2950
2950
  key: 0,
2951
- "model-value": B(M)(v, p.value, F) || B(I)(v, p.value, F),
2951
+ "model-value": B(w)(v, p.value, F) || B(N)(v, p.value, F),
2952
2952
  value: F,
2953
- disabled: e.disable || B(I)(v, p.value, F),
2953
+ disabled: e.disable || B(N)(v, p.value, F),
2954
2954
  size: "sm",
2955
- "onUpdate:modelValue": (j) => B(i)(p.value, F, j)
2955
+ "onUpdate:modelValue": (U) => B(i)(p.value, F, U)
2956
2956
  }, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Oe("", !0)
2957
2957
  ]))), 128))
2958
2958
  ])) : Oe("", !0)
2959
2959
  ])
2960
2960
  ], 2))), 128))
2961
2961
  ])
2962
- ])) : (H(), Se(zt, {
2962
+ ])) : (H(), Se(Kt, {
2963
2963
  key: 0,
2964
2964
  "model-value": v.selectedSubjects,
2965
2965
  options: v.options,
@@ -2969,8 +2969,8 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
2969
2969
  }, Fe({ _: 2 }, [
2970
2970
  pe(v.options, (p) => ({
2971
2971
  name: `checkbox-${p.value}-append`,
2972
- fn: he(({ option: D }) => [
2973
- ge(A.$slots, `checkbox-${p.value}-append`, { option: D })
2972
+ fn: he(({ option: M }) => [
2973
+ ge(R.$slots, `checkbox-${p.value}-append`, { option: M })
2974
2974
  ])
2975
2975
  }))
2976
2976
  ]), 1032, ["model-value", "options", "disable", "title", "onUpdate:modelValue"]))
@@ -2978,35 +2978,35 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
2978
2978
  ]);
2979
2979
  };
2980
2980
  }
2981
- }), Pr = { class: "flex items-center" }, Fr = { class: "ml-auto" }, Ur = /* @__PURE__ */ Ie({
2981
+ }), Pr = { class: "flex items-center" }, Fr = { class: "ml-auto" }, jr = /* @__PURE__ */ Ne({
2982
2982
  __name: "CollapsibleWrapper",
2983
2983
  props: {
2984
2984
  title: { default: "" },
2985
2985
  initiallyCollapsed: { type: Boolean, default: !1 }
2986
2986
  },
2987
2987
  setup(e) {
2988
- const n = je(e.initiallyCollapsed), s = je(), l = je(0);
2988
+ const n = Ue(e.initiallyCollapsed), s = Ue(), l = Ue(0);
2989
2989
  let a;
2990
2990
  function c() {
2991
2991
  n.value = !n.value;
2992
2992
  }
2993
- function m() {
2993
+ function d() {
2994
2994
  s.value && (l.value = s.value.scrollHeight);
2995
2995
  }
2996
- return Zt(async () => {
2996
+ return Xt(async () => {
2997
2997
  await es(), s.value && (a = new ResizeObserver(() => {
2998
- m();
2998
+ d();
2999
2999
  }), a.observe(s.value));
3000
- }), Rn(() => {
3000
+ }), An(() => {
3001
3001
  a == null || a.disconnect();
3002
3002
  }), (u, g) => {
3003
- const T = Xe("FmButton");
3004
- return H(), ee(Ne, null, [
3003
+ const k = Ze("FmButton");
3004
+ return H(), ee(Ie, null, [
3005
3005
  te("div", { onClick: c }, [
3006
3006
  te("div", Pr, [
3007
3007
  ge(u.$slots, "title"),
3008
3008
  te("div", Fr, [
3009
- me(T, {
3009
+ de(k, {
3010
3010
  icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
3011
3011
  "text-color": "neutral-gray-400",
3012
3012
  variant: "tertiary",
@@ -3026,7 +3026,7 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
3026
3026
  ], 64);
3027
3027
  };
3028
3028
  }
3029
- }), jr = { class: "fm-typo-en-title-sm-600" }, At = "includedFuture", An = /* @__PURE__ */ Ie({
3029
+ }), Ur = { class: "fm-typo-en-title-sm-600" }, Rt = "includedFuture", Rn = /* @__PURE__ */ Ne({
3030
3030
  __name: "ConditionPermission",
3031
3031
  props: {
3032
3032
  modelValue: {
@@ -3051,34 +3051,34 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
3051
3051
  const n = e, s = t, { t: l } = _t(), a = q(() => [
3052
3052
  {
3053
3053
  label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
3054
- value: At,
3054
+ value: Rt,
3055
3055
  // Can only be selected if all other options are selected
3056
3056
  disable: !!n.modelValue && n.options.length > n.modelValue.length
3057
3057
  },
3058
3058
  ...n.options.filter(
3059
3059
  (g) => g.label.toLocaleLowerCase().includes(u.value.toLocaleLowerCase())
3060
3060
  )
3061
- ]), c = q(() => n.modelValue ? n.modelValue : [At, ...n.options.map((g) => g.value)]);
3062
- function m(g) {
3063
- const T = g.length === a.value.length;
3064
- s("update:model-value", T ? null : g.filter((O) => O !== At));
3061
+ ]), c = q(() => n.modelValue ? n.modelValue : [Rt, ...n.options.map((g) => g.value)]);
3062
+ function d(g) {
3063
+ const k = g.length === a.value.length;
3064
+ s("update:model-value", k ? null : g.filter((O) => O !== Rt));
3065
3065
  }
3066
- const u = je("");
3067
- return (g, T) => {
3068
- const O = Xe("fm-search");
3069
- return H(), Se(Ur, null, {
3066
+ const u = Ue("");
3067
+ return (g, k) => {
3068
+ const O = Ze("fm-search");
3069
+ return H(), Se(jr, null, {
3070
3070
  title: he(() => [
3071
- te("p", jr, Re(B(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
3071
+ te("p", Ur, Ae(B(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
3072
3072
  ]),
3073
3073
  default: he(() => [
3074
3074
  e.options.length > 1 ? (H(), Se(O, {
3075
3075
  key: 0,
3076
3076
  modelValue: u.value,
3077
- "onUpdate:modelValue": T[0] || (T[0] = (N) => u.value = N),
3077
+ "onUpdate:modelValue": k[0] || (k[0] = (I) => u.value = I),
3078
3078
  class: "mt-16",
3079
3079
  placeholder: B(l)("team.memberForm.permissions.search", { context: e.context })
3080
3080
  }, null, 8, ["modelValue", "placeholder"])) : Oe("", !0),
3081
- me(zt, {
3081
+ de(Kt, {
3082
3082
  "model-value": c.value,
3083
3083
  options: a.value,
3084
3084
  "show-intermediate": !1,
@@ -3087,12 +3087,12 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
3087
3087
  "include-disabled-options-when-select-all": !0,
3088
3088
  title: "",
3089
3089
  class: "mt-16",
3090
- "onUpdate:modelValue": m
3090
+ "onUpdate:modelValue": d
3091
3091
  }, Fe({ _: 2 }, [
3092
- pe(a.value, (N) => ({
3093
- name: `checkbox-${N.value}-append`,
3094
- fn: he(({ option: M }) => [
3095
- ge(g.$slots, `checkbox-${N.value}-append`, { option: M })
3092
+ pe(a.value, (I) => ({
3093
+ name: `checkbox-${I.value}-append`,
3094
+ fn: he(({ option: w }) => [
3095
+ ge(g.$slots, `checkbox-${I.value}-append`, { option: w })
3096
3096
  ])
3097
3097
  }))
3098
3098
  ]), 1032, ["model-value", "options", "disable"])
@@ -3101,7 +3101,7 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
3101
3101
  });
3102
3102
  };
3103
3103
  }
3104
- }), Rt = "includedNewRole", Vr = /* @__PURE__ */ Ie({
3104
+ }), At = "includedNewRole", Vr = /* @__PURE__ */ Ne({
3105
3105
  __name: "PosRolePermission",
3106
3106
  props: {
3107
3107
  modelValue: {
@@ -3128,42 +3128,42 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
3128
3128
  return [
3129
3129
  {
3130
3130
  label: l("team.memberForm.permissions.includedNewRole"),
3131
- value: Rt,
3131
+ value: At,
3132
3132
  disable: !!n.modelValue && n.roles.length > n.modelValue.length
3133
3133
  },
3134
3134
  ...n.roles.map((g) => ({
3135
3135
  label: g.name,
3136
3136
  value: g._id,
3137
- disable: !!u && g.restaurants.every(({ id: T }) => !u.includes(T))
3137
+ disable: !!u && g.restaurants.every(({ id: k }) => !u.includes(k))
3138
3138
  }))
3139
3139
  ];
3140
- }), c = q(() => n.modelValue ? n.modelValue : [Rt, ...n.roles.map((u) => u._id)]);
3141
- function m(u) {
3140
+ }), c = q(() => n.modelValue ? n.modelValue : [At, ...n.roles.map((u) => u._id)]);
3141
+ function d(u) {
3142
3142
  const g = u.length === a.value.length;
3143
- s("update:model-value", g ? null : u.filter((T) => T !== Rt));
3143
+ s("update:model-value", g ? null : u.filter((k) => k !== At));
3144
3144
  }
3145
- return (u, g) => (H(), Se(zt, {
3145
+ return (u, g) => (H(), Se(Kt, {
3146
3146
  "model-value": c.value,
3147
3147
  options: a.value,
3148
3148
  "show-intermediate": !1,
3149
3149
  "show-all-toggle": !1,
3150
3150
  disable: e.disable,
3151
3151
  title: B(l)("team.memberForm.permissions.roles"),
3152
- "onUpdate:modelValue": m
3152
+ "onUpdate:modelValue": d
3153
3153
  }, Fe({ _: 2 }, [
3154
- pe(a.value, (T) => ({
3155
- name: `checkbox-${T.value}-append`,
3154
+ pe(a.value, (k) => ({
3155
+ name: `checkbox-${k.value}-append`,
3156
3156
  fn: he(({ option: O }) => [
3157
- ge(u.$slots, `checkbox-${T.value}-append`, { option: O })
3157
+ ge(u.$slots, `checkbox-${k.value}-append`, { option: O })
3158
3158
  ])
3159
3159
  }))
3160
3160
  ]), 1032, ["model-value", "options", "disable", "title"]));
3161
3161
  }
3162
- }), Wr = {
3162
+ }), Gr = {
3163
3163
  async readWarehouses() {
3164
3164
  return os(await is().get("/warehouses"));
3165
3165
  }
3166
- }, Gr = { class: "flex flex-col gap-32" }, xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Zr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Yr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, tl = /* @__PURE__ */ Ie({
3166
+ }, Wr = { class: "flex flex-col gap-32" }, xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Zr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Yr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, tl = /* @__PURE__ */ Ne({
3167
3167
  __name: "PortalPermissionEditor",
3168
3168
  props: /* @__PURE__ */ qt({
3169
3169
  disable: {
@@ -3180,218 +3180,218 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
3180
3180
  }),
3181
3181
  emits: /* @__PURE__ */ qt(["permissionChanged"], ["update:modelValue"]),
3182
3182
  setup(e, { emit: t }) {
3183
- const n = ts(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions: m } = ss();
3183
+ const n = ts(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions: d } = ss();
3184
3184
  function u(L) {
3185
- return Dt.find((k) => k.subject === L) ?? m.value.find((k) => k.subject === L);
3185
+ return Mt.find((T) => T.subject === L) ?? d.value.find((T) => T.subject === L);
3186
3186
  }
3187
3187
  const g = q(() => {
3188
- const L = [...Dt, ...m.value].filter((w) => !M.includes(w.subject)).map((w) => w.subject);
3188
+ const L = [...Mt, ...d.value].filter((D) => !w.includes(D.subject)).map((D) => D.subject);
3189
3189
  return as(
3190
- s.inheritPermissions.map((w) => ({
3191
- ...w,
3192
- permissions: w.permissions.filter((Y) => L.includes(Y.subject))
3190
+ s.inheritPermissions.map((D) => ({
3191
+ ...D,
3192
+ permissions: D.permissions.filter((Y) => L.includes(Y.subject))
3193
3193
  }))
3194
- ).map((w) => ({
3195
- id: w.subject,
3196
- setNames: w.setNames
3194
+ ).map((D) => ({
3195
+ id: D.subject,
3196
+ setNames: D.setNames
3197
3197
  }));
3198
- }), T = q(() => {
3199
- const L = s.inheritPermissions.map((k) => ({
3200
- ...k,
3201
- permissions: k.permissions.filter(
3202
- (w) => w.subject === ce.Subject.Business.inventory_stock
3198
+ }), k = q(() => {
3199
+ const L = s.inheritPermissions.map((T) => ({
3200
+ ...T,
3201
+ permissions: T.permissions.filter(
3202
+ (D) => D.subject === ce.Subject.Business.inventory_stock
3203
3203
  )
3204
3204
  }));
3205
- return It(
3205
+ return Nt(
3206
3206
  L,
3207
3207
  "warehouseId",
3208
- I.value.map((k) => k._id)
3208
+ N.value.map((T) => T._id)
3209
3209
  );
3210
3210
  }), O = q(() => {
3211
- const L = s.inheritPermissions.map((k) => ({
3212
- ...k,
3213
- permissions: k.permissions.filter(
3214
- (w) => w.subject === ce.Subject.Restaurant.restaurant
3211
+ const L = s.inheritPermissions.map((T) => ({
3212
+ ...T,
3213
+ permissions: T.permissions.filter(
3214
+ (D) => D.subject === ce.Subject.Restaurant.restaurant
3215
3215
  )
3216
3216
  }));
3217
- return It(
3217
+ return Nt(
3218
3218
  L,
3219
3219
  "restaurantId",
3220
- y.value.map((k) => k._id)
3220
+ y.value.map((T) => T._id)
3221
3221
  );
3222
- }), N = q(() => {
3223
- const L = s.inheritPermissions.map((k) => ({
3224
- ...k,
3225
- permissions: k.permissions.filter((w) => w.subject === ce.Subject.Business.role)
3222
+ }), I = q(() => {
3223
+ const L = s.inheritPermissions.map((T) => ({
3224
+ ...T,
3225
+ permissions: T.permissions.filter((D) => D.subject === ce.Subject.Business.role)
3226
3226
  }));
3227
- return It(
3227
+ return Nt(
3228
3228
  L,
3229
3229
  "roleId",
3230
- h.value.map((k) => k._id)
3230
+ h.value.map((T) => T._id)
3231
3231
  );
3232
- }), M = [
3232
+ }), w = [
3233
3233
  ce.Subject.Business.restaurant,
3234
3234
  ce.Subject.Business.role,
3235
3235
  ce.Subject.Restaurant.restaurant,
3236
3236
  ce.Subject.Business.inventory_stock
3237
3237
  ], V = q(() => {
3238
- var k;
3239
- const L = (k = n.value) == null ? void 0 : k.find(
3240
- (w) => w.subject === ce.Subject.Business.inventory_stock
3238
+ var T;
3239
+ const L = (T = n.value) == null ? void 0 : T.find(
3240
+ (D) => D.subject === ce.Subject.Business.inventory_stock
3241
3241
  );
3242
3242
  return L ? L.conditions ? JSON.parse(L.conditions).warehouseId.$in : null : [];
3243
- }), I = je([]), R = q(() => I.value.map((L) => ({
3243
+ }), N = Ue([]), A = q(() => N.value.map((L) => ({
3244
3244
  label: L.profile.name,
3245
3245
  value: L._id
3246
3246
  })));
3247
3247
  function i(L) {
3248
- const k = f(n.value, L);
3249
- n.value = k;
3248
+ const T = f(n.value, L);
3249
+ n.value = T;
3250
3250
  }
3251
- function f(L, k) {
3252
- let w = ut(
3251
+ function f(L, T) {
3252
+ let D = ut(
3253
3253
  L.filter((Y) => Y.subject !== ce.Subject.Business.inventory_stock)
3254
3254
  );
3255
- if (!k || k.length > 0) {
3255
+ if (!T || T.length > 0) {
3256
3256
  const Y = {
3257
3257
  actions: [ce.Action.manage],
3258
3258
  subject: ce.Subject.Business.inventory_stock
3259
3259
  };
3260
- k && (Y.conditions = JSON.stringify({ warehouseId: { $in: k } })), w.push(Y);
3260
+ T && (Y.conditions = JSON.stringify({ warehouseId: { $in: T } })), D.push(Y);
3261
3261
  }
3262
- return w;
3262
+ return D;
3263
3263
  }
3264
- const { restaurants: y } = ns(), h = ms().roles, S = q(() => y.value.map((L) => ({
3264
+ const { restaurants: y } = ns(), h = ds().roles, S = q(() => y.value.map((L) => ({
3265
3265
  label: `${L.profile.code ? L.profile.code + "-" : ""}${L.profile.name}`,
3266
3266
  value: L._id
3267
- }))), A = q(() => y.value.reduce((L, k) => (L[k._id] = h.value.filter((w) => w.restaurants.some((Y) => Y.id === k._id)).map((w) => w._id), L), {})), d = q(() => rs(n.value));
3267
+ }))), R = q(() => y.value.reduce((L, T) => (L[T._id] = h.value.filter((D) => D.restaurants.some((Y) => Y.id === T._id)).map((D) => D._id), L), {})), m = q(() => rs(n.value));
3268
3268
  function C(L) {
3269
- const k = p(n.value, L);
3270
- n.value = k;
3269
+ const T = p(n.value, L);
3270
+ n.value = T;
3271
3271
  }
3272
3272
  const v = q(() => ls(n.value));
3273
- function p(L, k) {
3273
+ function p(L, T) {
3274
3274
  var Y;
3275
- let w = ut(
3275
+ let D = ut(
3276
3276
  L.filter(
3277
3277
  (x) => x.subject !== ce.Subject.Business.restaurant && x.subject !== ce.Subject.Restaurant.restaurant
3278
3278
  )
3279
3279
  );
3280
- if (!k || k.length > 0) {
3280
+ if (!T || T.length > 0) {
3281
3281
  const {
3282
3282
  category: x,
3283
- showByFeatureFlag: W,
3284
- ...G
3283
+ showByFeatureFlag: G,
3284
+ ...W
3285
3285
  } = us.restaurant;
3286
- w.push(G);
3287
- const Z = {
3286
+ D.push(W);
3287
+ const X = {
3288
3288
  actions: [ce.Action.manage],
3289
3289
  subject: ce.Subject.Restaurant.restaurant
3290
3290
  };
3291
- k && (Z.conditions = JSON.stringify({ restaurantId: { $in: k } })), w.push(Z);
3291
+ T && (X.conditions = JSON.stringify({ restaurantId: { $in: T } })), D.push(X);
3292
3292
  }
3293
- if (k) {
3293
+ if (T) {
3294
3294
  const x = [
3295
- ...new Set(k.map((G) => A.value[G]).flatMap((G) => G))
3296
- ], W = h.value.map((G) => G._id);
3297
- x.length !== W.length && (w = F(
3298
- w,
3299
- (Y = v.value || W) == null ? void 0 : Y.filter((G) => x.includes(G))
3295
+ ...new Set(T.map((W) => R.value[W]).flatMap((W) => W))
3296
+ ], G = h.value.map((W) => W._id);
3297
+ x.length !== G.length && (D = F(
3298
+ D,
3299
+ (Y = v.value || G) == null ? void 0 : Y.filter((W) => x.includes(W))
3300
3300
  ));
3301
3301
  }
3302
- return w;
3302
+ return D;
3303
3303
  }
3304
- function D(L) {
3305
- const k = F(n.value, L);
3306
- n.value = k;
3304
+ function M(L) {
3305
+ const T = F(n.value, L);
3306
+ n.value = T;
3307
3307
  }
3308
- function F(L, k) {
3309
- let w = ut(
3308
+ function F(L, T) {
3309
+ let D = ut(
3310
3310
  L.filter((Y) => Y.subject !== ce.Subject.Business.role)
3311
3311
  );
3312
- if (k && k.length > 0) {
3312
+ if (T && T.length > 0) {
3313
3313
  const Y = {
3314
3314
  actions: [ce.Action.manage],
3315
3315
  subject: ce.Subject.Business.role,
3316
- conditions: JSON.stringify({ roleId: { $in: k } })
3316
+ conditions: JSON.stringify({ roleId: { $in: T } })
3317
3317
  };
3318
- w.push(Y);
3318
+ D.push(Y);
3319
3319
  }
3320
- return w;
3320
+ return D;
3321
3321
  }
3322
- Zt(async () => {
3322
+ Xt(async () => {
3323
3323
  await Promise.all([
3324
- Wr.readWarehouses().then((L) => I.value = L),
3324
+ Gr.readWarehouses().then((L) => N.value = L),
3325
3325
  c()
3326
3326
  ]);
3327
3327
  });
3328
- const j = q(() => Tt(
3328
+ const U = q(() => kt(
3329
3329
  n.value,
3330
- kt
3331
- ).map((k) => {
3332
- if (k.inverted) return k;
3333
- const w = k.actions;
3334
- if (!w.includes("manage")) return k;
3335
- const Y = u(k.subject);
3336
- if (!Y) return k;
3330
+ Tt
3331
+ ).map((T) => {
3332
+ if (T.inverted) return T;
3333
+ const D = T.actions;
3334
+ if (!D.includes("manage")) return T;
3335
+ const Y = u(T.subject);
3336
+ if (!Y) return T;
3337
3337
  const x = Y.actions;
3338
- return x.length <= 1 || x.filter((G) => !w.includes(G)).length === 0 ? k : { ...k, actions: [...x] };
3338
+ return x.length <= 1 || x.filter((W) => !D.includes(W)).length === 0 ? T : { ...T, actions: [...x] };
3339
3339
  }));
3340
3340
  function ae(L) {
3341
- const k = new Set(
3342
- j.value.filter((W) => !W.inverted).map((W) => W.subject)
3343
- ), w = new Set(
3344
- L.filter((W) => !W.inverted).map((W) => W.subject)
3341
+ const T = new Set(
3342
+ U.value.filter((G) => !G.inverted).map((G) => G.subject)
3343
+ ), D = new Set(
3344
+ L.filter((G) => !G.inverted).map((G) => G.subject)
3345
3345
  ), Y = new Set(
3346
- n.value.filter((W) => !W.inverted).map((W) => W.subject)
3346
+ n.value.filter((G) => !G.inverted).map((G) => G.subject)
3347
3347
  );
3348
3348
  let x = [...n.value];
3349
- for (const W of k)
3350
- w.has(W) || (Y.has(W) && (x = x.filter((Z) => Z.subject !== W)), (!Y.has(W) || Tt(
3349
+ for (const G of T)
3350
+ D.has(G) || (Y.has(G) && (x = x.filter((X) => X.subject !== G)), (!Y.has(G) || kt(
3351
3351
  x,
3352
- kt
3353
- ).some((Z) => Z.subject === W && !Z.inverted)) && !x.some((Z) => Z.subject === W && Z.inverted) && x.push({ subject: W, actions: ["manage"], inverted: !0 }));
3354
- for (const W of w)
3355
- if (!k.has(W)) {
3356
- const G = x.some((Z) => Z.subject === W && Z.inverted);
3357
- if (x = x.filter((Z) => !(Z.subject === W && Z.inverted)), !G && !Y.has(W)) {
3358
- const Z = L.find(
3359
- (_e) => _e.subject === W && !_e.inverted
3360
- ), ve = u(W);
3361
- if (ve && Z) {
3362
- const { category: _e, showByFeatureFlag: Me, ...ne } = ve;
3363
- x.push({ ...ne, actions: Z.actions });
3352
+ Tt
3353
+ ).some((X) => X.subject === G && !X.inverted)) && !x.some((X) => X.subject === G && X.inverted) && x.push({ subject: G, actions: ["manage"], inverted: !0 }));
3354
+ for (const G of D)
3355
+ if (!T.has(G)) {
3356
+ const W = x.some((X) => X.subject === G && X.inverted);
3357
+ if (x = x.filter((X) => !(X.subject === G && X.inverted)), !W && !Y.has(G)) {
3358
+ const X = L.find(
3359
+ (_e) => _e.subject === G && !_e.inverted
3360
+ ), ve = u(G);
3361
+ if (ve && X) {
3362
+ const { category: _e, showByFeatureFlag: we, ...ne } = ve;
3363
+ x.push({ ...ne, actions: X.actions });
3364
3364
  }
3365
3365
  }
3366
3366
  }
3367
- for (const W of w) {
3368
- if (!k.has(W)) continue;
3369
- const G = j.value.find(
3370
- (ne) => ne.subject === W && !ne.inverted
3371
- ), Z = L.find((ne) => ne.subject === W && !ne.inverted);
3372
- if (!G || !Z) continue;
3373
- const ve = new Set(G.actions), _e = new Set(Z.actions);
3367
+ for (const G of D) {
3368
+ if (!T.has(G)) continue;
3369
+ const W = U.value.find(
3370
+ (ne) => ne.subject === G && !ne.inverted
3371
+ ), X = L.find((ne) => ne.subject === G && !ne.inverted);
3372
+ if (!W || !X) continue;
3373
+ const ve = new Set(W.actions), _e = new Set(X.actions);
3374
3374
  if (ve.size === _e.size && [...ve].every((ne) => _e.has(ne)))
3375
3375
  continue;
3376
- const Me = x.findIndex((ne) => ne.subject === W && !ne.inverted);
3377
- if (Me >= 0)
3378
- x[Me] = {
3379
- ...x[Me],
3376
+ const we = x.findIndex((ne) => ne.subject === G && !ne.inverted);
3377
+ if (we >= 0)
3378
+ x[we] = {
3379
+ ...x[we],
3380
3380
  actions: Array.from(_e)
3381
3381
  };
3382
3382
  else {
3383
- const ne = u(W);
3383
+ const ne = u(G);
3384
3384
  if (ne) {
3385
3385
  const { category: Ee, showByFeatureFlag: Je, ...$e } = ne;
3386
3386
  x.push({ ...$e, actions: Array.from(_e) });
3387
3387
  }
3388
3388
  }
3389
- ve.has("manage") && !_e.has("manage") && Tt(
3389
+ ve.has("manage") && !_e.has("manage") && kt(
3390
3390
  x,
3391
- kt
3391
+ Tt
3392
3392
  ).some(
3393
- (Ee) => Ee.subject === W && !Ee.inverted && Ee.actions.includes("manage")
3394
- ) && !x.some((Ee) => Ee.subject === W && Ee.inverted) && x.push({ subject: W, actions: ["manage"], inverted: !0 }), !ve.has("manage") && _e.has("manage") && (x = x.filter((ne) => !(ne.subject === W && ne.inverted)));
3393
+ (Ee) => Ee.subject === G && !Ee.inverted && Ee.actions.includes("manage")
3394
+ ) && !x.some((Ee) => Ee.subject === G && Ee.inverted) && x.push({ subject: G, actions: ["manage"], inverted: !0 }), !ve.has("manage") && _e.has("manage") && (x = x.filter((ne) => !(ne.subject === G && ne.inverted)));
3395
3395
  }
3396
3396
  n.value = x;
3397
3397
  }
@@ -3401,63 +3401,63 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
3401
3401
  l("permissionChanged", L);
3402
3402
  },
3403
3403
  { deep: !0 }
3404
- ), (L, k) => (H(), ee("div", Gr, [
3404
+ ), (L, T) => (H(), ee("div", Wr, [
3405
3405
  te("div", xr, [
3406
- me(Mr, {
3407
- "model-value": j.value,
3408
- "excluded-subjects": M,
3409
- "additional-permissions": B(m),
3406
+ de(wr, {
3407
+ "model-value": U.value,
3408
+ "excluded-subjects": w,
3409
+ "additional-permissions": B(d),
3410
3410
  "onUpdate:modelValue": ae
3411
3411
  }, Fe({ _: 2 }, [
3412
- pe(g.value, (w) => ({
3413
- name: `checkbox-${w.id}-append`,
3412
+ pe(g.value, (D) => ({
3413
+ name: `checkbox-${D.id}-append`,
3414
3414
  fn: he(() => [
3415
- me(it, { item: w }, null, 8, ["item"])
3415
+ de(it, { item: D }, null, 8, ["item"])
3416
3416
  ])
3417
3417
  }))
3418
3418
  ]), 1032, ["model-value", "additional-permissions"])
3419
3419
  ]),
3420
- te("div", Zr, [
3421
- me(An, {
3420
+ te("div", Xr, [
3421
+ de(Rn, {
3422
3422
  "model-value": V.value,
3423
- options: R.value,
3423
+ options: A.value,
3424
3424
  context: B(a)("team.labels.warehouse"),
3425
3425
  "onUpdate:modelValue": i
3426
3426
  }, Fe({ _: 2 }, [
3427
- pe(T.value, (w) => ({
3428
- name: `checkbox-${w.id}-append`,
3427
+ pe(k.value, (D) => ({
3428
+ name: `checkbox-${D.id}-append`,
3429
3429
  fn: he(() => [
3430
- me(it, { item: w }, null, 8, ["item"])
3430
+ de(it, { item: D }, null, 8, ["item"])
3431
3431
  ])
3432
3432
  }))
3433
3433
  ]), 1032, ["model-value", "options", "context"])
3434
3434
  ]),
3435
- te("div", Xr, [
3436
- me(An, {
3437
- "model-value": d.value,
3435
+ te("div", Zr, [
3436
+ de(Rn, {
3437
+ "model-value": m.value,
3438
3438
  options: S.value,
3439
3439
  context: B(a)("team.labels.restaurant"),
3440
3440
  "onUpdate:modelValue": C
3441
3441
  }, Fe({ _: 2 }, [
3442
- pe(O.value, (w) => ({
3443
- name: `checkbox-${w.id}-append`,
3442
+ pe(O.value, (D) => ({
3443
+ name: `checkbox-${D.id}-append`,
3444
3444
  fn: he(() => [
3445
- me(it, { item: w }, null, 8, ["item"])
3445
+ de(it, { item: D }, null, 8, ["item"])
3446
3446
  ])
3447
3447
  }))
3448
3448
  ]), 1032, ["model-value", "options", "context"])
3449
3449
  ]),
3450
3450
  te("div", Yr, [
3451
- me(Vr, {
3451
+ de(Vr, {
3452
3452
  roles: B(h),
3453
3453
  "model-value": v.value,
3454
- "restaurant-ids": d.value,
3455
- "onUpdate:modelValue": D
3454
+ "restaurant-ids": m.value,
3455
+ "onUpdate:modelValue": M
3456
3456
  }, Fe({ _: 2 }, [
3457
- pe(N.value, (w) => ({
3458
- name: `checkbox-${w.id}-append`,
3457
+ pe(I.value, (D) => ({
3458
+ name: `checkbox-${D.id}-append`,
3459
3459
  fn: he(() => [
3460
- me(it, { item: w }, null, 8, ["item"])
3460
+ de(it, { item: D }, null, 8, ["item"])
3461
3461
  ])
3462
3462
  }))
3463
3463
  ]), 1032, ["roles", "model-value", "restaurant-ids"])
@@ -3466,6 +3466,6 @@ const yr = { class: "flex flex-col gap-16" }, Ir = {
3466
3466
  }
3467
3467
  });
3468
3468
  export {
3469
- zt as _,
3469
+ Kt as _,
3470
3470
  tl as a
3471
3471
  };