@feedmepos/mf-report 5.4.22 → 5.4.24-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{App-DNgpJqdO.js → App-Cij0eM2J.js} +42 -42
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-CIDrrVrf.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-BaVjCBz9.js} +2 -2
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-QaO-A2KF.js → Default.vue_vue_type_script_setup_true_lang-DF2k79j3.js} +2 -2
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BOZ2aYFX.js → DynamicWidget.vue_vue_type_script_setup_true_lang-B9lO4Xn1.js} +4 -4
  5. package/dist/{InsightView-BDEkCY5x.js → InsightView-DGe9I2eo.js} +6 -6
  6. package/dist/{Integration-CQmN91F8.js → Integration-ClrG1i5Y.js} +571 -560
  7. package/dist/{Integrations-C0KEvLA9.js → Integrations-OOJ4jft8.js} +3 -3
  8. package/dist/{Layout-D_1xOC3n.js → Layout-DG22wg9C.js} +1 -1
  9. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-CGsQmh3S.js → LocationSelect.vue_vue_type_script_setup_true_lang-DtCmKms0.js} +2 -2
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-oIsq1i1c.js → MenuTab.vue_vue_type_script_setup_true_lang-CwPa5SJD.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-JQ8q5zdC.js → NavigationTab.vue_vue_type_script_setup_true_lang-C9O5yO0_.js} +4 -4
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-O7qHGZkw.js → NoData.vue_vue_type_script_setup_true_lang-8iT-uGdI.js} +1 -1
  13. package/dist/{OverviewView-CWRciv3c.js → OverviewView-DfATrawV.js} +5 -5
  14. package/dist/{Report-BPF-9gdd.js → Report-038EPMeP.js} +4 -4
  15. package/dist/{ReportEditor-CzyPup9N.js → ReportEditor-BcC_gLX7.js} +5 -5
  16. package/dist/{ReportView-zOENNxNw.js → ReportView-CBv6vAEA.js} +7 -7
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-B5OLIl_Y.js → SelectComponent.vue_vue_type_script_setup_true_lang-gtUCqf4j.js} +1 -1
  18. package/dist/{Setting-BDAU2rhU.js → Setting-DUTaqkHT.js} +4 -4
  19. package/dist/{TileEditor-CWYj_7FE.js → TileEditor-BnxzyDyT.js} +8 -8
  20. package/dist/{TransitionFade-CmvrKBHp.js → TransitionFade-ZVhmbHPE.js} +4 -4
  21. package/dist/app.js +15 -11
  22. package/dist/{global-loader-D9UMph7l.js → global-loader-BKQvLNRz.js} +308 -308
  23. package/dist/{index-CxVnRxOJ.js → index-2OLtpO8C.js} +1 -1
  24. package/dist/{report-schema-BEEUlheS.js → report-schema-D791R8wK.js} +1 -1
  25. package/dist/{timeFormat-BRqkZ3bP.js → timeFormat-DWBAXBup.js} +1 -1
  26. package/dist/{v4-DnHLPdn4.js → v4-6qwV7ITU.js} +1 -1
  27. package/package.json +1 -1
@@ -2,7 +2,7 @@ var hi = Object.defineProperty;
2
2
  var pi = (e, t, n) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ct = (e, t, n) => pi(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { defineStore as Vt, storeToRefs as Et } from "pinia";
5
- import { ref as ye, computed as je, readonly as Qn, getCurrentInstance as cr, inject as mi, shallowRef as vi, watch as wr, onMounted as Oi, onUnmounted as Ci, defineComponent as fr, h as vs, createVNode as Ii, Text as yi, Fragment as Os } from "vue";
5
+ import { ref as ye, computed as je, readonly as Qn, getCurrentInstance as cr, inject as vi, shallowRef as mi, watch as wr, onMounted as Oi, onUnmounted as Ci, defineComponent as fr, h as ms, createVNode as Ii, Text as yi, Fragment as Os } from "vue";
6
6
  import "@vue/devtools-api";
7
7
  var It = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
8
8
  function Ar(e) {
@@ -321,8 +321,8 @@ function fn(e, t, n) {
321
321
  metaTokens: !0,
322
322
  dots: !1,
323
323
  indexes: !1
324
- }, !1, function(v, O) {
325
- return !R.isUndefined(O[v]);
324
+ }, !1, function(m, O) {
325
+ return !R.isUndefined(O[m]);
326
326
  });
327
327
  const r = n.metaTokens, s = n.visitor || E, i = n.dots, o = n.indexes, u = (n.Blob || typeof Blob < "u" && Blob) && R.isSpecCompliantForm(t);
328
328
  if (!R.isFunction(s))
@@ -335,40 +335,40 @@ function fn(e, t, n) {
335
335
  throw new ee("Blob is not supported. Use a Buffer instead.");
336
336
  return R.isArrayBuffer(T) || R.isTypedArray(T) ? u && typeof Blob == "function" ? new Blob([T]) : Buffer.from(T) : T;
337
337
  }
338
- function E(T, v, O) {
338
+ function E(T, m, O) {
339
339
  let h = T;
340
340
  if (T && !O && typeof T == "object") {
341
- if (R.endsWith(v, "{}"))
342
- v = r ? v : v.slice(0, -2), T = JSON.stringify(T);
343
- else if (R.isArray(T) && fo(T) || (R.isFileList(T) || R.endsWith(v, "[]")) && (h = R.toArray(T)))
344
- return v = Ps(v), h.forEach(function(y, B) {
341
+ if (R.endsWith(m, "{}"))
342
+ m = r ? m : m.slice(0, -2), T = JSON.stringify(T);
343
+ else if (R.isArray(T) && fo(T) || (R.isFileList(T) || R.endsWith(m, "[]")) && (h = R.toArray(T)))
344
+ return m = Ps(m), h.forEach(function(y, B) {
345
345
  !(R.isUndefined(y) || y === null) && t.append(
346
346
  // eslint-disable-next-line no-nested-ternary
347
- o === !0 ? Pr([v], B, i) : o === null ? v : v + "[]",
347
+ o === !0 ? Pr([m], B, i) : o === null ? m : m + "[]",
348
348
  f(y)
349
349
  );
350
350
  }), !1;
351
351
  }
352
- return Xn(T) ? !0 : (t.append(Pr(O, v, i), f(T)), !1);
352
+ return Xn(T) ? !0 : (t.append(Pr(O, m, i), f(T)), !1);
353
353
  }
354
- const m = [], S = Object.assign(Ao, {
354
+ const v = [], S = Object.assign(Ao, {
355
355
  defaultVisitor: E,
356
356
  convertValue: f,
357
357
  isVisitable: Xn
358
358
  });
359
- function F(T, v) {
359
+ function F(T, m) {
360
360
  if (!R.isUndefined(T)) {
361
- if (m.indexOf(T) !== -1)
362
- throw Error("Circular reference detected in " + v.join("."));
363
- m.push(T), R.forEach(T, function(h, I) {
361
+ if (v.indexOf(T) !== -1)
362
+ throw Error("Circular reference detected in " + m.join("."));
363
+ v.push(T), R.forEach(T, function(h, I) {
364
364
  (!(R.isUndefined(h) || h === null) && s.call(
365
365
  t,
366
366
  h,
367
367
  R.isString(I) ? I.trim() : I,
368
- v,
368
+ m,
369
369
  S
370
- )) === !0 && F(h, v ? v.concat(I) : [I]);
371
- }), m.pop();
370
+ )) === !0 && F(h, m ? m.concat(I) : [I]);
371
+ }), v.pop();
372
372
  }
373
373
  }
374
374
  if (!R.isObject(e))
@@ -480,7 +480,7 @@ const Fs = {
480
480
  silentJSONParsing: !0,
481
481
  forcedJSONParsing: !0,
482
482
  clarifyTimeoutError: !1
483
- }, Eo = typeof URLSearchParams < "u" ? URLSearchParams : gr, ho = typeof FormData < "u" ? FormData : null, po = typeof Blob < "u" ? Blob : null, mo = {
483
+ }, Eo = typeof URLSearchParams < "u" ? URLSearchParams : gr, ho = typeof FormData < "u" ? FormData : null, po = typeof Blob < "u" ? Blob : null, vo = {
484
484
  isBrowser: !0,
485
485
  classes: {
486
486
  URLSearchParams: Eo,
@@ -488,17 +488,17 @@ const Fs = {
488
488
  Blob: po
489
489
  },
490
490
  protocols: ["http", "https", "file", "blob", "url", "data"]
491
- }, Er = typeof window < "u" && typeof document < "u", Yn = typeof navigator == "object" && navigator || void 0, vo = Er && (!Yn || ["ReactNative", "NativeScript", "NS"].indexOf(Yn.product) < 0), Oo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
491
+ }, Er = typeof window < "u" && typeof document < "u", Yn = typeof navigator == "object" && navigator || void 0, mo = Er && (!Yn || ["ReactNative", "NativeScript", "NS"].indexOf(Yn.product) < 0), Oo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
492
492
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Co = Er && window.location.href || "http://localhost", Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
493
493
  __proto__: null,
494
494
  hasBrowserEnv: Er,
495
- hasStandardBrowserEnv: vo,
495
+ hasStandardBrowserEnv: mo,
496
496
  hasStandardBrowserWebWorkerEnv: Oo,
497
497
  navigator: Yn,
498
498
  origin: Co
499
499
  }, Symbol.toStringTag, { value: "Module" })), Pe = {
500
500
  ...Io,
501
- ...mo
501
+ ...vo
502
502
  };
503
503
  function yo(e, t) {
504
504
  return fn(e, new Pe.classes.URLSearchParams(), Object.assign({
@@ -687,8 +687,8 @@ let Le = class {
687
687
  const E = Lt(u);
688
688
  if (!E)
689
689
  throw new Error("header name must be a non-empty string");
690
- const m = R.findKey(s, E);
691
- (!m || s[m] === void 0 || f === !0 || f === void 0 && s[m] !== !1) && (s[m || u] = $t(a));
690
+ const v = R.findKey(s, E);
691
+ (!v || s[v] === void 0 || f === !0 || f === void 0 && s[v] !== !1) && (s[v || u] = $t(a));
692
692
  }
693
693
  const o = (a, u) => R.forEach(a, (f, E) => i(f, E, u));
694
694
  if (R.isPlainObject(t) || t instanceof this.constructor)
@@ -843,9 +843,9 @@ function Fo(e, t) {
843
843
  return t = t !== void 0 ? t : 1e3, function(u) {
844
844
  const f = Date.now(), E = r[i];
845
845
  o || (o = f), n[s] = u, r[s] = f;
846
- let m = i, S = 0;
847
- for (; m !== s; )
848
- S += n[m++], m = m % e;
846
+ let v = i, S = 0;
847
+ for (; v !== s; )
848
+ S += n[v++], v = v % e;
849
849
  if (s = (s + 1) % e, s === i && (i = (i + 1) % e), f - o < t)
850
850
  return;
851
851
  const F = E && f - E;
@@ -858,10 +858,10 @@ function Mo(e, t) {
858
858
  n = E, s = null, i && (clearTimeout(i), i = null), e.apply(null, f);
859
859
  };
860
860
  return [(...f) => {
861
- const E = Date.now(), m = E - n;
862
- m >= r ? o(f, E) : (s = f, i || (i = setTimeout(() => {
861
+ const E = Date.now(), v = E - n;
862
+ v >= r ? o(f, E) : (s = f, i || (i = setTimeout(() => {
863
863
  i = null, o(s);
864
- }, r - m)));
864
+ }, r - v)));
865
865
  }, () => s && o(s)];
866
866
  }
867
867
  const nn = (e, t, n = 3) => {
@@ -870,7 +870,7 @@ const nn = (e, t, n = 3) => {
870
870
  return Mo((i) => {
871
871
  const o = i.loaded, a = i.lengthComputable ? i.total : void 0, u = o - r, f = s(u), E = o <= a;
872
872
  r = o;
873
- const m = {
873
+ const v = {
874
874
  loaded: o,
875
875
  total: a,
876
876
  progress: a ? o / a : void 0,
@@ -881,7 +881,7 @@ const nn = (e, t, n = 3) => {
881
881
  lengthComputable: a != null,
882
882
  [t ? "download" : "upload"]: !0
883
883
  };
884
- e(m);
884
+ e(v);
885
885
  }, n);
886
886
  }, Mr = (e, t) => {
887
887
  const n = e != null;
@@ -933,14 +933,14 @@ const Qr = (e) => e instanceof Le ? { ...e } : e;
933
933
  function St(e, t) {
934
934
  t = t || {};
935
935
  const n = {};
936
- function r(f, E, m, S) {
936
+ function r(f, E, v, S) {
937
937
  return R.isPlainObject(f) && R.isPlainObject(E) ? R.merge.call({ caseless: S }, f, E) : R.isPlainObject(E) ? R.merge({}, E) : R.isArray(E) ? E.slice() : E;
938
938
  }
939
- function s(f, E, m, S) {
939
+ function s(f, E, v, S) {
940
940
  if (R.isUndefined(E)) {
941
941
  if (!R.isUndefined(f))
942
- return r(void 0, f, m, S);
943
- } else return r(f, E, m, S);
942
+ return r(void 0, f, v, S);
943
+ } else return r(f, E, v, S);
944
944
  }
945
945
  function i(f, E) {
946
946
  if (!R.isUndefined(E))
@@ -952,10 +952,10 @@ function St(e, t) {
952
952
  return r(void 0, f);
953
953
  } else return r(void 0, E);
954
954
  }
955
- function a(f, E, m) {
956
- if (m in t)
955
+ function a(f, E, v) {
956
+ if (v in t)
957
957
  return r(f, E);
958
- if (m in e)
958
+ if (v in e)
959
959
  return r(void 0, f);
960
960
  }
961
961
  const u = {
@@ -987,11 +987,11 @@ function St(e, t) {
987
987
  socketPath: o,
988
988
  responseEncoding: o,
989
989
  validateStatus: a,
990
- headers: (f, E, m) => s(Qr(f), Qr(E), m, !0)
990
+ headers: (f, E, v) => s(Qr(f), Qr(E), v, !0)
991
991
  };
992
992
  return R.forEach(Object.keys(Object.assign({}, e, t)), function(E) {
993
- const m = u[E] || s, S = m(e[E], t[E], E);
994
- R.isUndefined(S) && m !== a || (n[E] = S);
993
+ const v = u[E] || s, S = v(e[E], t[E], E);
994
+ R.isUndefined(S) && v !== a || (n[E] = S);
995
995
  }), n;
996
996
  }
997
997
  const ks = (e) => {
@@ -1006,7 +1006,7 @@ const ks = (e) => {
1006
1006
  if (Pe.hasStandardBrowserEnv || Pe.hasStandardBrowserWebWorkerEnv)
1007
1007
  o.setContentType(void 0);
1008
1008
  else if ((u = o.getContentType()) !== !1) {
1009
- const [f, ...E] = u ? u.split(";").map((m) => m.trim()).filter(Boolean) : [];
1009
+ const [f, ...E] = u ? u.split(";").map((v) => v.trim()).filter(Boolean) : [];
1010
1010
  o.setContentType([f || "multipart/form-data", ...E].join("; "));
1011
1011
  }
1012
1012
  }
@@ -1020,8 +1020,8 @@ const ks = (e) => {
1020
1020
  const s = ks(e);
1021
1021
  let i = s.data;
1022
1022
  const o = Le.from(s.headers).normalize();
1023
- let { responseType: a, onUploadProgress: u, onDownloadProgress: f } = s, E, m, S, F, T;
1024
- function v() {
1023
+ let { responseType: a, onUploadProgress: u, onDownloadProgress: f } = s, E, v, S, F, T;
1024
+ function m() {
1025
1025
  F && F(), T && T(), s.cancelToken && s.cancelToken.unsubscribe(E), s.signal && s.signal.removeEventListener("abort", E);
1026
1026
  }
1027
1027
  let O = new XMLHttpRequest();
@@ -1040,9 +1040,9 @@ const ks = (e) => {
1040
1040
  request: O
1041
1041
  };
1042
1042
  Qs(function(b) {
1043
- n(b), v();
1043
+ n(b), m();
1044
1044
  }, function(b) {
1045
- r(b), v();
1045
+ r(b), m();
1046
1046
  }, P), O = null;
1047
1047
  }
1048
1048
  "onloadend" in O ? O.onloadend = h : O.onreadystatechange = function() {
@@ -1062,7 +1062,7 @@ const ks = (e) => {
1062
1062
  )), O = null;
1063
1063
  }, i === void 0 && o.setContentType(null), "setRequestHeader" in O && R.forEach(o.toJSON(), function(B, P) {
1064
1064
  O.setRequestHeader(P, B);
1065
- }), R.isUndefined(s.withCredentials) || (O.withCredentials = !!s.withCredentials), a && a !== "json" && (O.responseType = s.responseType), f && ([S, T] = nn(f, !0), O.addEventListener("progress", S)), u && O.upload && ([m, F] = nn(u), O.upload.addEventListener("progress", m), O.upload.addEventListener("loadend", F)), (s.cancelToken || s.signal) && (E = (y) => {
1065
+ }), R.isUndefined(s.withCredentials) || (O.withCredentials = !!s.withCredentials), a && a !== "json" && (O.responseType = s.responseType), f && ([S, T] = nn(f, !0), O.addEventListener("progress", S)), u && O.upload && ([v, F] = nn(u), O.upload.addEventListener("progress", v), O.upload.addEventListener("loadend", F)), (s.cancelToken || s.signal) && (E = (y) => {
1066
1066
  O && (r(!y || y.type ? new Ft(null, e, O) : y), O.abort(), O = null);
1067
1067
  }, s.cancelToken && s.cancelToken.subscribe(E), s.signal && (s.signal.aborted ? E() : s.signal.addEventListener("abort", E)));
1068
1068
  const I = No(s.url);
@@ -1136,9 +1136,9 @@ const ks = (e) => {
1136
1136
  a(), u.close();
1137
1137
  return;
1138
1138
  }
1139
- let m = E.byteLength;
1139
+ let v = E.byteLength;
1140
1140
  if (n) {
1141
- let S = i += m;
1141
+ let S = i += v;
1142
1142
  n(S);
1143
1143
  }
1144
1144
  u.enqueue(new Uint8Array(E));
@@ -1207,12 +1207,12 @@ const Yo = async (e) => {
1207
1207
  onUploadProgress: u,
1208
1208
  responseType: f,
1209
1209
  headers: E,
1210
- withCredentials: m = "same-origin",
1210
+ withCredentials: v = "same-origin",
1211
1211
  fetchOptions: S
1212
1212
  } = ks(e);
1213
1213
  f = f ? (f + "").toLowerCase() : "text";
1214
1214
  let F = jo([s, i && i.toAbortSignal()], o), T;
1215
- const v = F && F.unsubscribe && (() => {
1215
+ const m = F && F.unsubscribe && (() => {
1216
1216
  F.unsubscribe();
1217
1217
  });
1218
1218
  let O;
@@ -1231,7 +1231,7 @@ const Yo = async (e) => {
1231
1231
  r = xr(P.body, kr, b, Y);
1232
1232
  }
1233
1233
  }
1234
- R.isString(m) || (m = m ? "include" : "omit");
1234
+ R.isString(v) || (v = v ? "include" : "omit");
1235
1235
  const h = "credentials" in Request.prototype;
1236
1236
  T = new Request(t, {
1237
1237
  ...S,
@@ -1240,11 +1240,11 @@ const Yo = async (e) => {
1240
1240
  headers: E.normalize().toJSON(),
1241
1241
  body: r,
1242
1242
  duplex: "half",
1243
- credentials: h ? m : void 0
1243
+ credentials: h ? v : void 0
1244
1244
  });
1245
1245
  let I = await fetch(T);
1246
1246
  const y = Jn && (f === "stream" || f === "response");
1247
- if (Jn && (a || y && v)) {
1247
+ if (Jn && (a || y && m)) {
1248
1248
  const P = {};
1249
1249
  ["status", "statusText", "headers"].forEach((Z) => {
1250
1250
  P[Z] = I[Z];
@@ -1255,14 +1255,14 @@ const Yo = async (e) => {
1255
1255
  ) || [];
1256
1256
  I = new Response(
1257
1257
  xr(I.body, kr, b, () => {
1258
- Y && Y(), v && v();
1258
+ Y && Y(), m && m();
1259
1259
  }),
1260
1260
  P
1261
1261
  );
1262
1262
  }
1263
1263
  f = f || "text";
1264
1264
  let B = await rn[R.findKey(rn, f) || "text"](I, e);
1265
- return !y && v && v(), await new Promise((P, L) => {
1265
+ return !y && m && m(), await new Promise((P, L) => {
1266
1266
  Qs(P, L, {
1267
1267
  data: B,
1268
1268
  headers: Le.from(I.headers),
@@ -1273,7 +1273,7 @@ const Yo = async (e) => {
1273
1273
  });
1274
1274
  });
1275
1275
  } catch (h) {
1276
- throw v && v(), h && h.name === "TypeError" && /fetch/i.test(h.message) ? Object.assign(
1276
+ throw m && m(), h && h.name === "TypeError" && /fetch/i.test(h.message) ? Object.assign(
1277
1277
  new ee("Network Error", ee.ERR_NETWORK, e, T),
1278
1278
  {
1279
1279
  cause: h.cause || h
@@ -1456,28 +1456,28 @@ let Rt = class {
1456
1456
  ), n.headers = Le.concat(o, i);
1457
1457
  const a = [];
1458
1458
  let u = !0;
1459
- this.interceptors.request.forEach(function(v) {
1460
- typeof v.runWhen == "function" && v.runWhen(n) === !1 || (u = u && v.synchronous, a.unshift(v.fulfilled, v.rejected));
1459
+ this.interceptors.request.forEach(function(m) {
1460
+ typeof m.runWhen == "function" && m.runWhen(n) === !1 || (u = u && m.synchronous, a.unshift(m.fulfilled, m.rejected));
1461
1461
  });
1462
1462
  const f = [];
1463
- this.interceptors.response.forEach(function(v) {
1464
- f.push(v.fulfilled, v.rejected);
1463
+ this.interceptors.response.forEach(function(m) {
1464
+ f.push(m.fulfilled, m.rejected);
1465
1465
  });
1466
- let E, m = 0, S;
1466
+ let E, v = 0, S;
1467
1467
  if (!u) {
1468
1468
  const T = [Hr.bind(this), void 0];
1469
- for (T.unshift.apply(T, a), T.push.apply(T, f), S = T.length, E = Promise.resolve(n); m < S; )
1470
- E = E.then(T[m++], T[m++]);
1469
+ for (T.unshift.apply(T, a), T.push.apply(T, f), S = T.length, E = Promise.resolve(n); v < S; )
1470
+ E = E.then(T[v++], T[v++]);
1471
1471
  return E;
1472
1472
  }
1473
1473
  S = a.length;
1474
1474
  let F = n;
1475
- for (m = 0; m < S; ) {
1476
- const T = a[m++], v = a[m++];
1475
+ for (v = 0; v < S; ) {
1476
+ const T = a[v++], m = a[v++];
1477
1477
  try {
1478
1478
  F = T(F);
1479
1479
  } catch (O) {
1480
- v.call(this, O);
1480
+ m.call(this, O);
1481
1481
  break;
1482
1482
  }
1483
1483
  }
@@ -1486,8 +1486,8 @@ let Rt = class {
1486
1486
  } catch (T) {
1487
1487
  return Promise.reject(T);
1488
1488
  }
1489
- for (m = 0, S = f.length; m < S; )
1490
- E = E.then(f[m++], f[m++]);
1489
+ for (v = 0, S = f.length; v < S; )
1490
+ E = E.then(f[v++], f[v++]);
1491
1491
  return E;
1492
1492
  }
1493
1493
  getUri(t) {
@@ -1710,10 +1710,10 @@ const {
1710
1710
  AxiosHeaders: Ec,
1711
1711
  HttpStatusCode: hc,
1712
1712
  formToJSON: pc,
1713
- getAdapter: mc,
1714
- mergeConfig: vc
1713
+ getAdapter: vc,
1714
+ mergeConfig: mc
1715
1715
  } = Oe;
1716
- var Qt = { myQueryEngineBackendUrl: "https://query-engine.feedmeapi.com", idQueryEngineBackendUrl: "https://query-engine.id.feedmeapi.com", sgQueryEngineBackendUrl: "https://query-engine.sg.feedmeapi.com" }, he = /* @__PURE__ */ ((e) => (e.Get = "get", e.Post = "post", e.Put = "put", e.Delete = "delete", e))(he || {});
1716
+ var Qt = { myQueryEngineBackendUrl: "https://query-engine-dev.feedmeapi.com", idQueryEngineBackendUrl: "https://query-engine.id.feedmeapi.dev", sgQueryEngineBackendUrl: "https://query-engine.sg.feedmeapi.dev" }, he = /* @__PURE__ */ ((e) => (e.Get = "get", e.Post = "post", e.Put = "put", e.Delete = "delete", e))(he || {});
1717
1717
  class na extends Error {
1718
1718
  constructor(n, r) {
1719
1719
  super(n);
@@ -1782,13 +1782,13 @@ class ra {
1782
1782
  };
1783
1783
  }
1784
1784
  }
1785
- const me = new ra();
1785
+ const ve = new ra();
1786
1786
  var Vs = { exports: {} };
1787
1787
  (function(e, t) {
1788
1788
  (function(n, r) {
1789
1789
  e.exports = r();
1790
1790
  })(It, function() {
1791
- var n = 1e3, r = 6e4, s = 36e5, i = "millisecond", o = "second", a = "minute", u = "hour", f = "day", E = "week", m = "month", S = "quarter", F = "year", T = "date", v = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, h = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(V) {
1791
+ var n = 1e3, r = 6e4, s = 36e5, i = "millisecond", o = "second", a = "minute", u = "hour", f = "day", E = "week", v = "month", S = "quarter", F = "year", T = "date", m = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, h = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(V) {
1792
1792
  var k = ["th", "st", "nd", "rd"], Q = V % 100;
1793
1793
  return "[" + V + (k[(Q - 20) % 10] || k[Q] || k[0]) + "]";
1794
1794
  } }, y = function(V, k, Q) {
@@ -1799,12 +1799,12 @@ var Vs = { exports: {} };
1799
1799
  return (k <= 0 ? "+" : "-") + y(G, 2, "0") + ":" + y(x, 2, "0");
1800
1800
  }, m: function V(k, Q) {
1801
1801
  if (k.date() < Q.date()) return -V(Q, k);
1802
- var G = 12 * (Q.year() - k.year()) + (Q.month() - k.month()), x = k.clone().add(G, m), C = Q - x < 0, c = k.clone().add(G + (C ? -1 : 1), m);
1802
+ var G = 12 * (Q.year() - k.year()) + (Q.month() - k.month()), x = k.clone().add(G, v), C = Q - x < 0, c = k.clone().add(G + (C ? -1 : 1), v);
1803
1803
  return +(-(G + (Q - x) / (C ? x - c : c - x)) || 0);
1804
1804
  }, a: function(V) {
1805
1805
  return V < 0 ? Math.ceil(V) || 0 : Math.floor(V);
1806
1806
  }, p: function(V) {
1807
- return { M: m, y: F, w: E, d: f, D: T, h: u, m: a, s: o, ms: i, Q: S }[V] || String(V || "").toLowerCase().replace(/s$/, "");
1807
+ return { M: v, y: F, w: E, d: f, D: T, h: u, m: a, s: o, ms: i, Q: S }[V] || String(V || "").toLowerCase().replace(/s$/, "");
1808
1808
  }, u: function(V) {
1809
1809
  return V === void 0;
1810
1810
  } }, P = "en", L = {};
@@ -1858,7 +1858,7 @@ var Vs = { exports: {} };
1858
1858
  }, k.$utils = function() {
1859
1859
  return $;
1860
1860
  }, k.isValid = function() {
1861
- return this.$d.toString() !== v;
1861
+ return this.$d.toString() !== m;
1862
1862
  }, k.isSame = function(Q, G) {
1863
1863
  var x = _(Q);
1864
1864
  return this.startOf(G) <= x && x <= this.endOf(G);
@@ -1882,7 +1882,7 @@ var Vs = { exports: {} };
1882
1882
  switch (c) {
1883
1883
  case F:
1884
1884
  return C ? l(1, 0) : l(31, 11);
1885
- case m:
1885
+ case v:
1886
1886
  return C ? l(1, w) : l(0, w + 1);
1887
1887
  case E:
1888
1888
  var z = this.$locale().weekStart || 0, te = (g < z ? g + 7 : g) - z;
@@ -1902,8 +1902,8 @@ var Vs = { exports: {} };
1902
1902
  }, k.endOf = function(Q) {
1903
1903
  return this.startOf(Q, !1);
1904
1904
  }, k.$set = function(Q, G) {
1905
- var x, C = $.p(Q), c = "set" + (this.$u ? "UTC" : ""), l = (x = {}, x[f] = c + "Date", x[T] = c + "Date", x[m] = c + "Month", x[F] = c + "FullYear", x[u] = c + "Hours", x[a] = c + "Minutes", x[o] = c + "Seconds", x[i] = c + "Milliseconds", x)[C], p = C === f ? this.$D + (G - this.$W) : G;
1906
- if (C === m || C === F) {
1905
+ var x, C = $.p(Q), c = "set" + (this.$u ? "UTC" : ""), l = (x = {}, x[f] = c + "Date", x[T] = c + "Date", x[v] = c + "Month", x[F] = c + "FullYear", x[u] = c + "Hours", x[a] = c + "Minutes", x[o] = c + "Seconds", x[i] = c + "Milliseconds", x)[C], p = C === f ? this.$D + (G - this.$W) : G;
1906
+ if (C === v || C === F) {
1907
1907
  var g = this.clone().set(T, 1);
1908
1908
  g.$d[l](p), g.init(), this.$d = g.set(T, Math.min(this.$D, g.daysInMonth())).$d;
1909
1909
  } else l && this.$d[l](p);
@@ -1919,7 +1919,7 @@ var Vs = { exports: {} };
1919
1919
  var M = _(C);
1920
1920
  return $.w(M.date(M.date() + Math.round(w * Q)), C);
1921
1921
  };
1922
- if (c === m) return this.set(m, this.$M + Q);
1922
+ if (c === v) return this.set(v, this.$M + Q);
1923
1923
  if (c === F) return this.set(F, this.$y + Q);
1924
1924
  if (c === f) return l(1);
1925
1925
  if (c === E) return l(7);
@@ -1929,7 +1929,7 @@ var Vs = { exports: {} };
1929
1929
  return this.add(-1 * Q, G);
1930
1930
  }, k.format = function(Q) {
1931
1931
  var G = this, x = this.$locale();
1932
- if (!this.isValid()) return x.invalidDate || v;
1932
+ if (!this.isValid()) return x.invalidDate || m;
1933
1933
  var C = Q || "YYYY-MM-DDTHH:mm:ssZ", c = $.z(this), l = this.$H, p = this.$m, g = this.$M, w = x.weekdays, M = x.months, K = x.meridiem, z = function(W, ue, Ce, Ee) {
1934
1934
  return W && (W[ue] || W(G, C)) || Ce[ue].slice(0, Ee);
1935
1935
  }, te = function(W) {
@@ -2003,7 +2003,7 @@ var Vs = { exports: {} };
2003
2003
  case F:
2004
2004
  C = M() / 12;
2005
2005
  break;
2006
- case m:
2006
+ case v:
2007
2007
  C = M();
2008
2008
  break;
2009
2009
  case S:
@@ -2029,7 +2029,7 @@ var Vs = { exports: {} };
2029
2029
  }
2030
2030
  return x ? C : $.a(C);
2031
2031
  }, k.daysInMonth = function() {
2032
- return this.endOf(m).$D;
2032
+ return this.endOf(v).$D;
2033
2033
  }, k.$locale = function() {
2034
2034
  return L[this.$L];
2035
2035
  }, k.locale = function(Q, G) {
@@ -2048,7 +2048,7 @@ var Vs = { exports: {} };
2048
2048
  return this.$d.toUTCString();
2049
2049
  }, V;
2050
2050
  }(), ke = le.prototype;
2051
- return _.prototype = ke, [["$ms", i], ["$s", o], ["$m", a], ["$H", u], ["$W", f], ["$M", m], ["$y", F], ["$D", T]].forEach(function(V) {
2051
+ return _.prototype = ke, [["$ms", i], ["$s", o], ["$m", a], ["$H", u], ["$W", f], ["$M", v], ["$y", F], ["$D", T]].forEach(function(V) {
2052
2052
  ke[V[1]] = function(k) {
2053
2053
  return this.$g(k, V[0], V[1]);
2054
2054
  };
@@ -2073,26 +2073,26 @@ const re = /* @__PURE__ */ Ar(sa), ia = (e) => ({
2073
2073
  const { businessId: e } = Et(fe()), t = {
2074
2074
  fetchType: he.Get,
2075
2075
  url: `/${e.value}/restaurants`
2076
- }, n = (await me.fetch(t)).map((r) => ia(r));
2076
+ }, n = (await ve.fetch(t)).map((r) => ia(r));
2077
2077
  return n.sort((r, s) => r.name.localeCompare(s.name)), n;
2078
2078
  }, la = async () => {
2079
2079
  const { businessId: e } = Et(fe()), t = {
2080
2080
  fetchType: he.Get,
2081
2081
  url: `/${e.value}/warehouses`
2082
- }, n = (await me.fetch(t)).map((r) => oa(r));
2082
+ }, n = (await ve.fetch(t)).map((r) => oa(r));
2083
2083
  return n.sort((r, s) => r.name.localeCompare(s.name)), n;
2084
2084
  }, ua = () => {
2085
2085
  const { businessId: e } = Et(fe()), t = {
2086
2086
  fetchType: he.Get,
2087
2087
  url: `/${e.value}`
2088
2088
  };
2089
- return me.fetch(t);
2089
+ return ve.fetch(t);
2090
2090
  }, ca = () => {
2091
2091
  const { businessId: e } = Et(fe()), t = {
2092
2092
  fetchType: he.Get,
2093
2093
  url: `/report-settings/${e.value}/date-settings`
2094
2094
  };
2095
- return me.fetch(t);
2095
+ return ve.fetch(t);
2096
2096
  }, Gr = (e) => {
2097
2097
  const { businessId: t } = Et(fe()), n = {
2098
2098
  fetchType: he.Put,
@@ -2101,7 +2101,7 @@ const re = /* @__PURE__ */ Ar(sa), ia = (e) => ({
2101
2101
  ...e
2102
2102
  }
2103
2103
  };
2104
- return me.fetch(n);
2104
+ return ve.fetch(n);
2105
2105
  };
2106
2106
  var Xs = { exports: {} };
2107
2107
  (function(e, t) {
@@ -2111,52 +2111,52 @@ var Xs = { exports: {} };
2111
2111
  var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, s = /([+-]|\d\d)/g;
2112
2112
  return function(i, o, a) {
2113
2113
  var u = o.prototype;
2114
- a.utc = function(v) {
2115
- var O = { date: v, utc: !0, args: arguments };
2114
+ a.utc = function(m) {
2115
+ var O = { date: m, utc: !0, args: arguments };
2116
2116
  return new o(O);
2117
- }, u.utc = function(v) {
2117
+ }, u.utc = function(m) {
2118
2118
  var O = a(this.toDate(), { locale: this.$L, utc: !0 });
2119
- return v ? O.add(this.utcOffset(), n) : O;
2119
+ return m ? O.add(this.utcOffset(), n) : O;
2120
2120
  }, u.local = function() {
2121
2121
  return a(this.toDate(), { locale: this.$L, utc: !1 });
2122
2122
  };
2123
2123
  var f = u.parse;
2124
- u.parse = function(v) {
2125
- v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), f.call(this, v);
2124
+ u.parse = function(m) {
2125
+ m.utc && (this.$u = !0), this.$utils().u(m.$offset) || (this.$offset = m.$offset), f.call(this, m);
2126
2126
  };
2127
2127
  var E = u.init;
2128
2128
  u.init = function() {
2129
2129
  if (this.$u) {
2130
- var v = this.$d;
2131
- this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
2130
+ var m = this.$d;
2131
+ this.$y = m.getUTCFullYear(), this.$M = m.getUTCMonth(), this.$D = m.getUTCDate(), this.$W = m.getUTCDay(), this.$H = m.getUTCHours(), this.$m = m.getUTCMinutes(), this.$s = m.getUTCSeconds(), this.$ms = m.getUTCMilliseconds();
2132
2132
  } else E.call(this);
2133
2133
  };
2134
- var m = u.utcOffset;
2135
- u.utcOffset = function(v, O) {
2134
+ var v = u.utcOffset;
2135
+ u.utcOffset = function(m, O) {
2136
2136
  var h = this.$utils().u;
2137
- if (h(v)) return this.$u ? 0 : h(this.$offset) ? m.call(this) : this.$offset;
2138
- if (typeof v == "string" && (v = function(P) {
2137
+ if (h(m)) return this.$u ? 0 : h(this.$offset) ? v.call(this) : this.$offset;
2138
+ if (typeof m == "string" && (m = function(P) {
2139
2139
  P === void 0 && (P = "");
2140
2140
  var L = P.match(r);
2141
2141
  if (!L) return null;
2142
2142
  var b = ("" + L[0]).match(s) || ["-", 0, 0], Y = b[0], Z = 60 * +b[1] + +b[2];
2143
2143
  return Z === 0 ? 0 : Y === "+" ? Z : -Z;
2144
- }(v), v === null)) return this;
2145
- var I = Math.abs(v) <= 16 ? 60 * v : v, y = this;
2146
- if (O) return y.$offset = I, y.$u = v === 0, y;
2147
- if (v !== 0) {
2144
+ }(m), m === null)) return this;
2145
+ var I = Math.abs(m) <= 16 ? 60 * m : m, y = this;
2146
+ if (O) return y.$offset = I, y.$u = m === 0, y;
2147
+ if (m !== 0) {
2148
2148
  var B = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
2149
2149
  (y = this.local().add(I + B, n)).$offset = I, y.$x.$localOffset = B;
2150
2150
  } else y = this.utc();
2151
2151
  return y;
2152
2152
  };
2153
2153
  var S = u.format;
2154
- u.format = function(v) {
2155
- var O = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
2154
+ u.format = function(m) {
2155
+ var O = m || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
2156
2156
  return S.call(this, O);
2157
2157
  }, u.valueOf = function() {
2158
- var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
2159
- return this.$d.valueOf() - 6e4 * v;
2158
+ var m = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
2159
+ return this.$d.valueOf() - 6e4 * m;
2160
2160
  }, u.isUTC = function() {
2161
2161
  return !!this.$u;
2162
2162
  }, u.toISOString = function() {
@@ -2165,13 +2165,13 @@ var Xs = { exports: {} };
2165
2165
  return this.toDate().toUTCString();
2166
2166
  };
2167
2167
  var F = u.toDate;
2168
- u.toDate = function(v) {
2169
- return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : F.call(this);
2168
+ u.toDate = function(m) {
2169
+ return m === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : F.call(this);
2170
2170
  };
2171
2171
  var T = u.diff;
2172
- u.diff = function(v, O, h) {
2173
- if (v && this.$u === v.$u) return T.call(this, v, O, h);
2174
- var I = this.local(), y = a(v).local();
2172
+ u.diff = function(m, O, h) {
2173
+ if (m && this.$u === m.$u) return T.call(this, m, O, h);
2174
+ var I = this.local(), y = a(m).local();
2175
2175
  return T.call(I, y, O, h);
2176
2176
  };
2177
2177
  };
@@ -2252,7 +2252,7 @@ const pe = "YYYY-MM-DD", ha = [
2252
2252
  ], gn = Vt(ga, () => {
2253
2253
  async function e() {
2254
2254
  try {
2255
- m.value = await aa(), S.value = await la();
2255
+ v.value = await aa(), S.value = await la();
2256
2256
  const O = await ua();
2257
2257
  F.value = O[0], i.value = [
2258
2258
  ...o.value.map((h) => h.id)
@@ -2332,7 +2332,7 @@ const pe = "YYYY-MM-DD", ha = [
2332
2332
  defaultCompareType: "PRECEDING_PERIOD",
2333
2333
  defaultDateRange: rt.TODAY,
2334
2334
  timeOptions: []
2335
- }), i = ye([]), o = je(() => [...m.value, ...S.value]), a = ye({
2335
+ }), i = ye([]), o = je(() => [...v.value, ...S.value]), a = ye({
2336
2336
  startDate: re().startOf("day").utc().toISOString(),
2337
2337
  endDate: re().startOf("day").utc().toISOString()
2338
2338
  }), u = ye({
@@ -2340,18 +2340,18 @@ const pe = "YYYY-MM-DD", ha = [
2340
2340
  endDate: re().startOf("day").subtract(1, "day").utc().toISOString()
2341
2341
  }), f = ye({ start: { hour: 0, minute: 0 }, end: { hour: 23, minute: 59 } }), E = ye(
2342
2342
  s.value.timeOptions.findIndex((O) => O.isDefault) + 1
2343
- ), m = ye([]), S = ye([]), F = ye(null), T = je(
2344
- () => m.value.filter((O) => i.value.includes(O.id)).map((O) => O.id)
2345
- ), v = je(
2343
+ ), v = ye([]), S = ye([]), F = ye(null), T = je(
2344
+ () => v.value.filter((O) => i.value.includes(O.id)).map((O) => O.id)
2345
+ ), m = je(
2346
2346
  () => S.value.filter((O) => i.value.includes(O.id)).map((O) => O.id)
2347
2347
  );
2348
2348
  return {
2349
- restaurants: m,
2349
+ restaurants: v,
2350
2350
  business: F,
2351
2351
  warehouses: S,
2352
2352
  selectedLocationIds: i,
2353
2353
  selectedRestaurantIds: T,
2354
- selectedWarehouseIds: v,
2354
+ selectedWarehouseIds: m,
2355
2355
  defaultDateSetting: s,
2356
2356
  dateRange: a,
2357
2357
  timeRange: f,
@@ -2518,7 +2518,7 @@ var _n = { exports: {} };
2518
2518
  Object.keys(c || {}).includes(p) || l.push(p);
2519
2519
  }), Object.keys(l).length ? l : null;
2520
2520
  }
2521
- var E, m;
2521
+ var E, v;
2522
2522
  function S(C, c, l) {
2523
2523
  var p = "shortString", g = !0;
2524
2524
  typeof l == "number" && (p = "javaDouble", g = !1), C[p] = C[p] || {}, C[p][c] = g ? l + "" : l;
@@ -2532,7 +2532,7 @@ var _n = { exports: {} };
2532
2532
  return [l, F(p) ? p : { value: p }];
2533
2533
  }));
2534
2534
  }
2535
- function v(C) {
2535
+ function m(C) {
2536
2536
  return s(s({}, C), { identity: C.identity ? s(s({}, C.identity), { traits: T(C.identity.traits || {}) }) : void 0 });
2537
2537
  }
2538
2538
  (function(C) {
@@ -2622,7 +2622,7 @@ var _n = { exports: {} };
2622
2622
  return [w, M == null ? void 0 : M.value];
2623
2623
  }));
2624
2624
  }, this.setContext = function(p) {
2625
- var g = v(p);
2625
+ var g = m(p);
2626
2626
  return l.evaluationContext = s(s({}, g), { environment: g.environment || l.evaluationContext.environment }), l.initialised ? l.getFlags() : Promise.resolve();
2627
2627
  }, this.getContext = function() {
2628
2628
  return l.evaluationContext;
@@ -2648,9 +2648,9 @@ var _n = { exports: {} };
2648
2648
  var M, K = l;
2649
2649
  K.evaluationContext;
2650
2650
  var z = K.headers, te = { method: g || "GET", body: w, cache: "no-cache", headers: {} };
2651
- l.evaluationContext.environment && (te.headers["X-Environment-Key"] = l.evaluationContext.environment.apiKey), g && g !== "GET" && (te.headers["Content-Type"] = "application/json; charset=utf-8"), z && Object.assign(te.headers, z), m || console.error("Flagsmith: fetch is undefined, please specify a fetch implementation into flagsmith.init to support SSR.");
2651
+ l.evaluationContext.environment && (te.headers["X-Environment-Key"] = l.evaluationContext.environment.apiKey), g && g !== "GET" && (te.headers["Content-Type"] = "application/json; charset=utf-8"), z && Object.assign(te.headers, z), v || console.error("Flagsmith: fetch is undefined, please specify a fetch implementation into flagsmith.init to support SSR.");
2652
2652
  var q = "".concat((M = l.evaluationContext.identity) === null || M === void 0 ? void 0 : M.identifier);
2653
- return m(p, te).then(function(W) {
2653
+ return v(p, te).then(function(W) {
2654
2654
  var ue, Ce, Ee = "".concat((ue = l.evaluationContext.identity) === null || ue === void 0 ? void 0 : ue.identifier);
2655
2655
  if (q === Ee) {
2656
2656
  var we = (Ce = W.headers) === null || Ce === void 0 ? void 0 : Ce.get("x-flagsmith-document-updated-at");
@@ -2681,23 +2681,23 @@ var _n = { exports: {} };
2681
2681
  }, this._onChange = function(p, g, w) {
2682
2682
  var M, K;
2683
2683
  l.setLoadingState(w), (M = l.onChange) === null || M === void 0 || M.call(l, p, g, l.loadingState), (K = l._trigger) === null || K === void 0 || K.call(l);
2684
- }, m = c.fetch ? c.fetch : typeof fetch < "u" ? fetch : It == null ? void 0 : It.fetch, this.canUseStorage = typeof window < "u" || !!c.browserlessStorage, this.log("Constructing flagsmith instance " + c), c.eventSource && (O = c.eventSource), c.AsyncStorage && (h = c.AsyncStorage);
2684
+ }, v = c.fetch ? c.fetch : typeof fetch < "u" ? fetch : It == null ? void 0 : It.fetch, this.canUseStorage = typeof window < "u" || !!c.browserlessStorage, this.log("Constructing flagsmith instance " + c), c.eventSource && (O = c.eventSource), c.AsyncStorage && (h = c.AsyncStorage);
2685
2685
  }
2686
2686
  return C.prototype.init = function(c) {
2687
2687
  var l, p, g;
2688
2688
  return i(this, void 0, void 0, function() {
2689
- var w, M, K, z, te, q, W, ue, Ce, Ee, we, Ie, Re, Ne, A, d, U, H, X, ce, ne, D, N, se, Ae, Xe, at, $e, Ge, vt, et, Rr, Fe = this;
2689
+ var w, M, K, z, te, q, W, ue, Ce, Ee, we, Ie, Re, Ne, A, d, U, H, X, ce, ne, D, N, se, Ae, Xe, at, $e, Ge, mt, et, Rr, Fe = this;
2690
2690
  return o(this, function(Ke) {
2691
2691
  switch (Ke.label) {
2692
2692
  case 0:
2693
- w = v(c.evaluationContext || this.evaluationContext), Ke.label = 1;
2693
+ w = m(c.evaluationContext || this.evaluationContext), Ke.label = 1;
2694
2694
  case 1:
2695
2695
  if (Ke.trys.push([1, 13, , 14]), M = c.environmentID, K = c.api, z = K === void 0 ? B : K, te = c.headers, q = c.onChange, W = c.cacheFlags, ue = c.datadogRum, Ce = c.onError, Ee = c.defaultFlags, we = c.fetch, Ie = c.preventFetch, Re = c.enableLogs, Ne = c.enableDynatrace, A = c.enableAnalytics, d = c.realtime, U = c.eventSourceUrl, H = U === void 0 ? "https://realtime.flagsmith.com/" : U, X = c.AsyncStorage, ce = c.identity, ne = c.traits, D = c.state, N = c.cacheOptions, se = c.angularHttpClient, Ae = c._trigger, Xe = c._triggerLoadingState, w.environment = M ? { apiKey: M } : w.environment, !w.environment || !w.environment.apiKey) throw new Error("Please provide `evaluationContext.environment` with non-empty `apiKey`");
2696
2696
  if (w.identity = ce || ne ? { identifier: ce, traits: ne ? Object.fromEntries(Object.entries(ne).map(function(qe) {
2697
2697
  return [qe[0], { value: qe[1] }];
2698
2698
  })) : {} } : w.identity, this.evaluationContext = w, this.api = z, this.headers = te, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = q, at = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger = Ae || this._trigger, this._triggerLoadingState = Xe || this._triggerLoadingState, this.onError = function(qe) {
2699
2699
  Fe.setLoadingState(s(s({}, Fe.loadingState), { isFetching: !1, isLoading: !1, error: qe })), Ce == null || Ce(qe);
2700
- }, this.enableLogs = Re || !1, this.cacheOptions = N ? { skipAPI: !!N.skipAPI, ttl: N.ttl || 0, storageKey: N.storageKey, loadStale: !!N.loadStale } : this.cacheOptions, !this.cacheOptions.ttl && this.cacheOptions.skipAPI && console.warn("Flagsmith: you have set a cache ttl of 0 and are skipping API calls, this means the API will not be hit unless you clear local storage."), we && (m = we), this.enableAnalytics = A || !1, this.flags = Object.assign({}, Ee) || {}, this.datadogRum = ue || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = h !== void 0 && !!W, y = "FLAGSMITH_EVENT_" + w.environment.apiKey, X && (h = X), d && typeof window < "u" && this.setupRealtime(H, w.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = s(s({}, this.loadingState), { isLoading: !1, source: E.DEFAULT_FLAGS })), this.setState(D), this.log("Initialising with properties", c, this), Ne && (typeof dtrum > "u" ? console.error("You have attempted to enable dynatrace but dtrum is undefined, please check you have the Dynatrace RUM JavaScript API installed.") : this.dtrum = dtrum), se && (m = /* @__PURE__ */ function(qe) {
2700
+ }, this.enableLogs = Re || !1, this.cacheOptions = N ? { skipAPI: !!N.skipAPI, ttl: N.ttl || 0, storageKey: N.storageKey, loadStale: !!N.loadStale } : this.cacheOptions, !this.cacheOptions.ttl && this.cacheOptions.skipAPI && console.warn("Flagsmith: you have set a cache ttl of 0 and are skipping API calls, this means the API will not be hit unless you clear local storage."), we && (v = we), this.enableAnalytics = A || !1, this.flags = Object.assign({}, Ee) || {}, this.datadogRum = ue || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = h !== void 0 && !!W, y = "FLAGSMITH_EVENT_" + w.environment.apiKey, X && (h = X), d && typeof window < "u" && this.setupRealtime(H, w.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = s(s({}, this.loadingState), { isLoading: !1, source: E.DEFAULT_FLAGS })), this.setState(D), this.log("Initialising with properties", c, this), Ne && (typeof dtrum > "u" ? console.error("You have attempted to enable dynatrace but dtrum is undefined, please check you have the Dynatrace RUM JavaScript API installed.") : this.dtrum = dtrum), se && (v = /* @__PURE__ */ function(qe) {
2701
2701
  return function(Ye, Je) {
2702
2702
  var lt = Je.headers, de = Je.method, Tt = Je.body;
2703
2703
  return new Promise(function(Ot) {
@@ -2737,14 +2737,14 @@ var _n = { exports: {} };
2737
2737
  if (!h || !this.canUseStorage) return [3, 8];
2738
2738
  $e = function(qe, Ye) {
2739
2739
  return i(Fe, void 0, void 0, function() {
2740
- var Je, lt, de, Tt, Ot, tt, vn, Sr, On, Cn, In, yn, Bn, Rn, Sn, Dn, wn, bn, Tn, Pn, Un, Nn, Fn, Mn, Dr = this;
2740
+ var Je, lt, de, Tt, Ot, tt, mn, Sr, On, Cn, In, yn, Bn, Rn, Sn, Dn, wn, bn, Tn, Pn, Un, Nn, Fn, Mn, Dr = this;
2741
2741
  return o(this, function(ut) {
2742
2742
  switch (ut.label) {
2743
2743
  case 0:
2744
2744
  if (!Ye) return [3, 7];
2745
2745
  Je = null, lt = null, ut.label = 1;
2746
2746
  case 1:
2747
- return ut.trys.push([1, 5, , 6]), de = JSON.parse(Ye), Tt = !1, Ot = !1, de && de.api === this.api && ((Cn = (On = de.evaluationContext) === null || On === void 0 ? void 0 : On.environment) === null || Cn === void 0 ? void 0 : Cn.apiKey) === ((In = this.evaluationContext.environment) === null || In === void 0 ? void 0 : In.apiKey) && (tt = !0, this.evaluationContext.identity && ((Bn = (yn = de.evaluationContext) === null || yn === void 0 ? void 0 : yn.identity) === null || Bn === void 0 ? void 0 : Bn.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((Sn = (Rn = de.evaluationContext) === null || Rn === void 0 ? void 0 : Rn.identity) === null || Sn === void 0 ? void 0 : Sn.identifier) + " to " + this.evaluationContext.identity.identifier), tt = !1), this.cacheOptions.ttl && (!de.ts || (/* @__PURE__ */ new Date()).valueOf() - de.ts > this.cacheOptions.ttl) && (de.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + de.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - de.ts) + "ms"), tt = !1) : de.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + de.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - de.ts) + "ms"), Ot = !0, tt = !0)), tt && (Tt = !0, lt = f((Dn = this.evaluationContext.identity) === null || Dn === void 0 ? void 0 : Dn.traits, (bn = (wn = de.evaluationContext) === null || wn === void 0 ? void 0 : wn.identity) === null || bn === void 0 ? void 0 : bn.traits), Je = f(this.flags, de.flags), this.setState(s(s({}, de), { evaluationContext: v(s(s({}, de.evaluationContext), { identity: !((Tn = de.evaluationContext) === null || Tn === void 0) && Tn.identity ? s(s({}, (Pn = de.evaluationContext) === null || Pn === void 0 ? void 0 : Pn.identity), { traits: s(s({}, ((Nn = (Un = de.evaluationContext) === null || Un === void 0 ? void 0 : Un.identity) === null || Nn === void 0 ? void 0 : Nn.traits) || {}), ne || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", de))), Tt ? (vn = !Ie && (!this.cacheOptions.skipAPI || Ot), this._onChange(null, { isFromServer: !1, flagsChanged: Je, traitsChanged: lt }, this._loadedState(null, E.CACHE, vn)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && Tt && !Ot && this.log("Skipping API, using cache"), vn && this.getFlags().catch(function(Ei) {
2747
+ return ut.trys.push([1, 5, , 6]), de = JSON.parse(Ye), Tt = !1, Ot = !1, de && de.api === this.api && ((Cn = (On = de.evaluationContext) === null || On === void 0 ? void 0 : On.environment) === null || Cn === void 0 ? void 0 : Cn.apiKey) === ((In = this.evaluationContext.environment) === null || In === void 0 ? void 0 : In.apiKey) && (tt = !0, this.evaluationContext.identity && ((Bn = (yn = de.evaluationContext) === null || yn === void 0 ? void 0 : yn.identity) === null || Bn === void 0 ? void 0 : Bn.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((Sn = (Rn = de.evaluationContext) === null || Rn === void 0 ? void 0 : Rn.identity) === null || Sn === void 0 ? void 0 : Sn.identifier) + " to " + this.evaluationContext.identity.identifier), tt = !1), this.cacheOptions.ttl && (!de.ts || (/* @__PURE__ */ new Date()).valueOf() - de.ts > this.cacheOptions.ttl) && (de.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + de.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - de.ts) + "ms"), tt = !1) : de.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + de.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - de.ts) + "ms"), Ot = !0, tt = !0)), tt && (Tt = !0, lt = f((Dn = this.evaluationContext.identity) === null || Dn === void 0 ? void 0 : Dn.traits, (bn = (wn = de.evaluationContext) === null || wn === void 0 ? void 0 : wn.identity) === null || bn === void 0 ? void 0 : bn.traits), Je = f(this.flags, de.flags), this.setState(s(s({}, de), { evaluationContext: m(s(s({}, de.evaluationContext), { identity: !((Tn = de.evaluationContext) === null || Tn === void 0) && Tn.identity ? s(s({}, (Pn = de.evaluationContext) === null || Pn === void 0 ? void 0 : Pn.identity), { traits: s(s({}, ((Nn = (Un = de.evaluationContext) === null || Un === void 0 ? void 0 : Un.identity) === null || Nn === void 0 ? void 0 : Nn.traits) || {}), ne || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", de))), Tt ? (mn = !Ie && (!this.cacheOptions.skipAPI || Ot), this._onChange(null, { isFromServer: !1, flagsChanged: Je, traitsChanged: lt }, this._loadedState(null, E.CACHE, mn)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && Tt && !Ot && this.log("Skipping API, using cache"), mn && this.getFlags().catch(function(Ei) {
2748
2748
  var Ln;
2749
2749
  (Ln = Dr.onError) === null || Ln === void 0 || Ln.call(Dr, Ei);
2750
2750
  }), [3, 4]) : [3, 2];
@@ -2794,7 +2794,7 @@ var _n = { exports: {} };
2794
2794
  return Ke.sent(), [3, 12];
2795
2795
  case 11:
2796
2796
  if (Ee) this._onChange(null, { isFromServer: !1, flagsChanged: f({}, Ee), traitsChanged: f({}, (l = w.identity) === null || l === void 0 ? void 0 : l.traits) }, this._loadedState(null, E.DEFAULT_FLAGS));
2797
- else if (this.flags && (vt = null, Object.keys(this.flags).length === 0 && (vt = at), this._onChange(null, { isFromServer: !1, flagsChanged: f({}, this.flags), traitsChanged: f({}, (p = w.identity) === null || p === void 0 ? void 0 : p.traits) }, this._loadedState(vt, E.DEFAULT_FLAGS)), vt)) throw new Error(vt);
2797
+ else if (this.flags && (mt = null, Object.keys(this.flags).length === 0 && (mt = at), this._onChange(null, { isFromServer: !1, flagsChanged: f({}, this.flags), traitsChanged: f({}, (p = w.identity) === null || p === void 0 ? void 0 : p.traits) }, this._loadedState(mt, E.DEFAULT_FLAGS)), mt)) throw new Error(mt);
2798
2798
  Ke.label = 12;
2799
2799
  case 12:
2800
2800
  return [3, 14];
@@ -3017,7 +3017,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
3017
3017
  var pa = _n.exports, Kr = {
3018
3018
  NOT_INITIALIZED: "FeatureFlag not initialized. Call init() first.",
3019
3019
  NO_USER_CONTEXT: "User context not set. Call setUser() first."
3020
- }, _e, ma = (_e = class {
3020
+ }, _e, va = (_e = class {
3021
3021
  constructor() {
3022
3022
  ct(this, "flagsmithClient", null);
3023
3023
  ct(this, "userContext", null);
@@ -3125,8 +3125,8 @@ var pa = _n.exports, Kr = {
3125
3125
  reset() {
3126
3126
  this.flagsmithClient = null, this.userContext = null;
3127
3127
  }
3128
- }, ct(_e, "instance"), _e), va = ma.getInstance(), xt = ye(!1), kt = ye([]), ft = ye(null);
3129
- function Oa(e = va) {
3128
+ }, ct(_e, "instance"), _e), ma = va.getInstance(), xt = ye(!1), kt = ye([]), ft = ye(null);
3129
+ function Oa(e = ma) {
3130
3130
  const t = () => xt.value ? !0 : (console.warn("FeatureFlag is not initialized. Using default values."), !1), n = async (f, E = []) => {
3131
3131
  if (xt.value) {
3132
3132
  console.warn("FeatureFlag is already initialized.");
@@ -3134,15 +3134,15 @@ function Oa(e = va) {
3134
3134
  }
3135
3135
  try {
3136
3136
  await e.init(f, E), kt.value = await e.getFlags(), xt.value = !0, ft.value = null;
3137
- } catch (m) {
3138
- console.error("Failed to initialize feature flags:", m), ft.value = m;
3137
+ } catch (v) {
3138
+ console.error("Failed to initialize feature flags:", v), ft.value = v;
3139
3139
  }
3140
3140
  }, r = async (f, E) => {
3141
3141
  if (t())
3142
3142
  try {
3143
3143
  await e.setUser(f, E), kt.value = await e.getFlags(), ft.value = null;
3144
- } catch (m) {
3145
- console.error("Failed to set user:", m), ft.value = m;
3144
+ } catch (v) {
3145
+ console.error("Failed to set user:", v), ft.value = v;
3146
3146
  }
3147
3147
  }, s = async (f) => {
3148
3148
  if (t())
@@ -3151,26 +3151,26 @@ function Oa(e = va) {
3151
3151
  } catch (E) {
3152
3152
  console.error("Failed to add traits:", E), ft.value = E;
3153
3153
  }
3154
- }, i = (f, E, m = null) => {
3155
- if (!t()) return m;
3154
+ }, i = (f, E, v = null) => {
3155
+ if (!t()) return v;
3156
3156
  try {
3157
- return e.getFlagValue(f, E) ?? m;
3157
+ return e.getFlagValue(f, E) ?? v;
3158
3158
  } catch (S) {
3159
- return console.error(`Error getting flag value for ${f}:`, S), m;
3159
+ return console.error(`Error getting flag value for ${f}:`, S), v;
3160
3160
  }
3161
3161
  }, o = (f, E) => {
3162
3162
  if (!t()) return E ?? null;
3163
3163
  try {
3164
3164
  return e.getFlag(f) ?? E ?? null;
3165
- } catch (m) {
3166
- return console.error(`Error getting flag for ${f}:`, m), E ?? null;
3165
+ } catch (v) {
3166
+ return console.error(`Error getting flag for ${f}:`, v), E ?? null;
3167
3167
  }
3168
- }, a = async (f, E, m = null) => {
3169
- if (!t()) return m;
3168
+ }, a = async (f, E, v = null) => {
3169
+ if (!t()) return v;
3170
3170
  try {
3171
- return await e.getUserFlagValue(f, E, m);
3171
+ return await e.getUserFlagValue(f, E, v);
3172
3172
  } catch (S) {
3173
- return console.error(`Error getting user flag value for ${E}:`, S), m;
3173
+ return console.error(`Error getting user flag value for ${E}:`, S), v;
3174
3174
  }
3175
3175
  }, u = () => {
3176
3176
  try {
@@ -3228,7 +3228,7 @@ function Ba() {
3228
3228
  fetchType: he.Get,
3229
3229
  url: `/${e}/integration`
3230
3230
  };
3231
- return me.fetch(t);
3231
+ return ve.fetch(t);
3232
3232
  }
3233
3233
  function Oc(e) {
3234
3234
  const { businessId: t } = fe(), { dateRange: n } = gn(), r = re(n.endDate).diff(n.startDate, "day"), s = [...new Array(r + 1)].map(
@@ -3238,7 +3238,7 @@ function Oc(e) {
3238
3238
  url: `/${t}/integration/${e}/refresh-setting`,
3239
3239
  data: { dates: s }
3240
3240
  };
3241
- return me.fetch(i);
3241
+ return ve.fetch(i);
3242
3242
  }
3243
3243
  function Cc(e) {
3244
3244
  const { businessId: t } = fe(), n = {
@@ -3246,7 +3246,7 @@ function Cc(e) {
3246
3246
  url: `/${t}/integration`,
3247
3247
  data: e
3248
3248
  };
3249
- return me.fetch(n);
3249
+ return ve.fetch(n);
3250
3250
  }
3251
3251
  function Ic(e, t) {
3252
3252
  const { businessId: n } = fe(), r = {
@@ -3254,21 +3254,21 @@ function Ic(e, t) {
3254
3254
  url: `/${n}/integration/${e}`,
3255
3255
  data: t
3256
3256
  };
3257
- return me.fetch(r);
3257
+ return ve.fetch(r);
3258
3258
  }
3259
3259
  async function yc(e) {
3260
3260
  const { businessId: t } = fe(), n = {
3261
3261
  fetchType: he.Delete,
3262
3262
  url: `/${t}/integration/${e}`
3263
3263
  };
3264
- await me.fetch(n);
3264
+ await ve.fetch(n);
3265
3265
  }
3266
3266
  async function Ra() {
3267
3267
  const { businessId: e } = fe(), t = {
3268
3268
  fetchType: he.Get,
3269
3269
  url: `/${e}/integration/valid`
3270
3270
  };
3271
- return await me.fetch(t);
3271
+ return await ve.fetch(t);
3272
3272
  }
3273
3273
  async function Bc(e) {
3274
3274
  const { businessId: t } = fe(), { selectedLocationIds: n, dateRange: r } = gn(), s = re(r.endDate).diff(r.startDate, "day"), o = {
@@ -3284,7 +3284,7 @@ async function Bc(e) {
3284
3284
  timeout: 1e3 * 60 * 3
3285
3285
  }
3286
3286
  };
3287
- await me.fetch(a);
3287
+ await ve.fetch(a);
3288
3288
  }
3289
3289
  async function Rc(e) {
3290
3290
  const { businessId: t } = fe(), { dateRange: n } = gn(), r = re(n.endDate).diff(n.startDate, "day"), i = {
@@ -3299,42 +3299,42 @@ async function Rc(e) {
3299
3299
  timeout: 1e3 * 60 * 3
3300
3300
  }
3301
3301
  };
3302
- return await me.fetch(o);
3302
+ return await ve.fetch(o);
3303
3303
  }
3304
3304
  async function Sc(e) {
3305
3305
  const { businessId: t } = fe(), n = {
3306
3306
  fetchType: he.Get,
3307
3307
  url: `/xero/${t}/disconnect?id=${e}`
3308
3308
  };
3309
- return await me.fetch(n);
3309
+ return await ve.fetch(n);
3310
3310
  }
3311
3311
  async function Dc(e) {
3312
3312
  const { businessId: t } = fe(), n = {
3313
3313
  fetchType: he.Get,
3314
3314
  url: `/xero/${t}/connect?id=${e}`
3315
3315
  };
3316
- return await me.fetch(n);
3316
+ return await ve.fetch(n);
3317
3317
  }
3318
3318
  async function wc(e) {
3319
3319
  const { businessId: t } = fe(), n = {
3320
3320
  fetchType: he.Get,
3321
3321
  url: `/xero/${t}/tenants?id=${e}`
3322
3322
  };
3323
- return await me.fetch(n);
3323
+ return await ve.fetch(n);
3324
3324
  }
3325
3325
  async function bc(e) {
3326
3326
  const { businessId: t } = fe(), n = {
3327
3327
  fetchType: he.Get,
3328
3328
  url: `/xero/${t}/taxes?id=${e}`
3329
3329
  };
3330
- return await me.fetch(n);
3330
+ return await ve.fetch(n);
3331
3331
  }
3332
3332
  async function Tc(e) {
3333
3333
  const { businessId: t } = fe(), n = {
3334
3334
  fetchType: he.Get,
3335
3335
  url: `/xero/${t}/accounts?id=${e}`
3336
3336
  };
3337
- return await me.fetch(n);
3337
+ return await ve.fetch(n);
3338
3338
  }
3339
3339
  async function Pc(e) {
3340
3340
  let t = [];
@@ -3351,7 +3351,7 @@ async function Pc(e) {
3351
3351
  timeout: 1e3 * 60 * 3
3352
3352
  }
3353
3353
  };
3354
- t = await me.fetch(a);
3354
+ t = await ve.fetch(a);
3355
3355
  const u = t.map(async (f) => {
3356
3356
  await Sa(e, f);
3357
3357
  });
@@ -3370,7 +3370,7 @@ async function Sa(e, t) {
3370
3370
  timeout: 1e3 * 60 * 60,
3371
3371
  responseType: "arraybuffer"
3372
3372
  }
3373
- }, { headers: s, data: i } = await me.rawFetch(r), o = s["content-disposition"].split("filename=")[1].replaceAll('"', ""), a = window.URL.createObjectURL(new Blob([new Uint8Array(i).buffer])), u = document.createElement("a");
3373
+ }, { headers: s, data: i } = await ve.rawFetch(r), o = s["content-disposition"].split("filename=")[1].replaceAll('"', ""), a = window.URL.createObjectURL(new Blob([new Uint8Array(i).buffer])), u = document.createElement("a");
3374
3374
  u.href = a, u.setAttribute("download", o), document.body.appendChild(u), u.click(), u.remove();
3375
3375
  }
3376
3376
  async function Uc(e) {
@@ -3378,14 +3378,14 @@ async function Uc(e) {
3378
3378
  fetchType: he.Get,
3379
3379
  url: `/${t}/biztory/${e}/payments`
3380
3380
  };
3381
- return await me.fetch(n);
3381
+ return await ve.fetch(n);
3382
3382
  }
3383
3383
  async function Nc(e) {
3384
3384
  const { businessId: t } = fe(), n = {
3385
3385
  fetchType: he.Get,
3386
3386
  url: `/${t}/biztory/${e}/customers`
3387
3387
  };
3388
- return await me.fetch(n);
3388
+ return await ve.fetch(n);
3389
3389
  }
3390
3390
  const Da = "mf-reportfeature-flag", wa = Vt(Da, () => {
3391
3391
  const e = ye([]), t = ye(!1);
@@ -3481,7 +3481,7 @@ const Ga = Object.prototype.hasOwnProperty;
3481
3481
  function ze(e, t) {
3482
3482
  return Ga.call(e, t);
3483
3483
  }
3484
- const Be = Array.isArray, ge = (e) => typeof e == "function", j = (e) => typeof e == "string", ve = (e) => typeof e == "boolean", oe = (e) => e !== null && typeof e == "object", Ka = (e) => oe(e) && ge(e.then) && ge(e.catch), Ws = Object.prototype.toString, hr = (e) => Ws.call(e), ie = (e) => hr(e) === "[object Object]", za = (e) => e == null ? "" : Be(e) || ie(e) && e.toString === Ws ? JSON.stringify(e, null, 2) : String(e);
3484
+ const Be = Array.isArray, ge = (e) => typeof e == "function", j = (e) => typeof e == "string", me = (e) => typeof e == "boolean", oe = (e) => e !== null && typeof e == "object", Ka = (e) => oe(e) && ge(e.then) && ge(e.catch), Ws = Object.prototype.toString, hr = (e) => Ws.call(e), ie = (e) => hr(e) === "[object Object]", za = (e) => e == null ? "" : Be(e) || ie(e) && e.toString === Ws ? JSON.stringify(e, null, 2) : String(e);
3485
3485
  function pr(e, t = "") {
3486
3486
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
3487
3487
  }
@@ -3499,8 +3499,8 @@ function Va(e, t = 0, n = e.length) {
3499
3499
  i.push(`${u}${" ".repeat(3 - String(u).length)}| ${r[a]}`);
3500
3500
  const f = r[a].length;
3501
3501
  if (a === o) {
3502
- const E = t - (s - f) + 1, m = Math.max(1, n > s ? f - E : n - t);
3503
- i.push(" | " + " ".repeat(E) + "^".repeat(m));
3502
+ const E = t - (s - f) + 1, v = Math.max(1, n > s ? f - E : n - t);
3503
+ i.push(" | " + " ".repeat(E) + "^".repeat(v));
3504
3504
  } else if (a > o) {
3505
3505
  if (n > s) {
3506
3506
  const E = Math.max(Math.min(n - s, f), 1);
@@ -3616,7 +3616,7 @@ const $a = /<\/?[\w\s="/.':;#-\/]+>/, el = (e) => $a.test(e), nt = " ", tl = "\r
3616
3616
  function sl(e) {
3617
3617
  const t = e;
3618
3618
  let n = 0, r = 1, s = 1, i = 0;
3619
- const o = (b) => t[b] === tl && t[b + 1] === Ue, a = (b) => t[b] === Ue, u = (b) => t[b] === rl, f = (b) => t[b] === nl, E = (b) => o(b) || a(b) || u(b) || f(b), m = () => n, S = () => r, F = () => s, T = () => i, v = (b) => o(b) || u(b) || f(b) ? Ue : t[b], O = () => v(n), h = () => v(n + i);
3619
+ const o = (b) => t[b] === tl && t[b + 1] === Ue, a = (b) => t[b] === Ue, u = (b) => t[b] === rl, f = (b) => t[b] === nl, E = (b) => o(b) || a(b) || u(b) || f(b), v = () => n, S = () => r, F = () => s, T = () => i, m = (b) => o(b) || u(b) || f(b) ? Ue : t[b], O = () => m(n), h = () => m(n + i);
3620
3620
  function I() {
3621
3621
  return i = 0, E(n) && (r++, s = 0), o(n) && n++, n++, s++, t[n];
3622
3622
  }
@@ -3636,11 +3636,11 @@ function sl(e) {
3636
3636
  i = 0;
3637
3637
  }
3638
3638
  return {
3639
- index: m,
3639
+ index: v,
3640
3640
  line: S,
3641
3641
  column: F,
3642
3642
  peekOffset: T,
3643
- charAt: v,
3643
+ charAt: m,
3644
3644
  currentChar: O,
3645
3645
  currentPeek: h,
3646
3646
  next: I,
@@ -3665,7 +3665,7 @@ function al(e, t = {}) {
3665
3665
  inLinked: !1,
3666
3666
  text: ""
3667
3667
  }, f = () => u, { onError: E } = t;
3668
- function m(A, d, U, ...H) {
3668
+ function v(A, d, U, ...H) {
3669
3669
  const X = f();
3670
3670
  if (d.column += U, d.offset += U, E) {
3671
3671
  const ce = n ? $n(X.startLoc, d) : null, ne = Mt(A, ce, {
@@ -3686,16 +3686,16 @@ function al(e, t = {}) {
3686
3686
  /* TokenTypes.EOF */
3687
3687
  );
3688
3688
  function T(A, d) {
3689
- return A.currentChar() === d ? (A.next(), d) : (m(J.EXPECTED_TOKEN, i(), 0, d), "");
3689
+ return A.currentChar() === d ? (A.next(), d) : (v(J.EXPECTED_TOKEN, i(), 0, d), "");
3690
3690
  }
3691
- function v(A) {
3691
+ function m(A) {
3692
3692
  let d = "";
3693
3693
  for (; A.currentPeek() === nt || A.currentPeek() === Ue; )
3694
3694
  d += A.currentPeek(), A.peek();
3695
3695
  return d;
3696
3696
  }
3697
3697
  function O(A) {
3698
- const d = v(A);
3698
+ const d = m(A);
3699
3699
  return A.skipToPeek(), d;
3700
3700
  }
3701
3701
  function h(A) {
@@ -3716,7 +3716,7 @@ function al(e, t = {}) {
3716
3716
  const { currentType: U } = d;
3717
3717
  if (U !== 2)
3718
3718
  return !1;
3719
- v(A);
3719
+ m(A);
3720
3720
  const H = h(A.currentPeek());
3721
3721
  return A.resetPeek(), H;
3722
3722
  }
@@ -3724,7 +3724,7 @@ function al(e, t = {}) {
3724
3724
  const { currentType: U } = d;
3725
3725
  if (U !== 2)
3726
3726
  return !1;
3727
- v(A);
3727
+ m(A);
3728
3728
  const H = A.currentPeek() === "-" ? A.peek() : A.currentPeek(), X = I(H);
3729
3729
  return A.resetPeek(), X;
3730
3730
  }
@@ -3732,7 +3732,7 @@ function al(e, t = {}) {
3732
3732
  const { currentType: U } = d;
3733
3733
  if (U !== 2)
3734
3734
  return !1;
3735
- v(A);
3735
+ m(A);
3736
3736
  const H = A.currentPeek() === Jr;
3737
3737
  return A.resetPeek(), H;
3738
3738
  }
@@ -3740,7 +3740,7 @@ function al(e, t = {}) {
3740
3740
  const { currentType: U } = d;
3741
3741
  if (U !== 7)
3742
3742
  return !1;
3743
- v(A);
3743
+ m(A);
3744
3744
  const H = A.currentPeek() === ".";
3745
3745
  return A.resetPeek(), H;
3746
3746
  }
@@ -3748,7 +3748,7 @@ function al(e, t = {}) {
3748
3748
  const { currentType: U } = d;
3749
3749
  if (U !== 8)
3750
3750
  return !1;
3751
- v(A);
3751
+ m(A);
3752
3752
  const H = h(A.currentPeek());
3753
3753
  return A.resetPeek(), H;
3754
3754
  }
@@ -3756,7 +3756,7 @@ function al(e, t = {}) {
3756
3756
  const { currentType: U } = d;
3757
3757
  if (!(U === 7 || U === 11))
3758
3758
  return !1;
3759
- v(A);
3759
+ m(A);
3760
3760
  const H = A.currentPeek() === ":";
3761
3761
  return A.resetPeek(), H;
3762
3762
  }
@@ -3771,7 +3771,7 @@ function al(e, t = {}) {
3771
3771
  return A.resetPeek(), X;
3772
3772
  }
3773
3773
  function _(A) {
3774
- v(A);
3774
+ m(A);
3775
3775
  const d = A.currentPeek() === "|";
3776
3776
  return A.resetPeek(), d;
3777
3777
  }
@@ -3855,12 +3855,12 @@ function al(e, t = {}) {
3855
3855
  let d = "", U = "";
3856
3856
  for (; d = Q(A); )
3857
3857
  U += d;
3858
- return A.currentChar() === At && m(J.UNTERMINATED_CLOSING_BRACE, i(), 0), U;
3858
+ return A.currentChar() === At && v(J.UNTERMINATED_CLOSING_BRACE, i(), 0), U;
3859
3859
  }
3860
3860
  function w(A) {
3861
3861
  O(A);
3862
3862
  let d = "";
3863
- return A.currentChar() === "-" ? (A.next(), d += `-${l(A)}`) : d += l(A), A.currentChar() === At && m(J.UNTERMINATED_CLOSING_BRACE, i(), 0), d;
3863
+ return A.currentChar() === "-" ? (A.next(), d += `-${l(A)}`) : d += l(A), A.currentChar() === At && v(J.UNTERMINATED_CLOSING_BRACE, i(), 0), d;
3864
3864
  }
3865
3865
  function M(A) {
3866
3866
  return A !== Jr && A !== Ue;
@@ -3871,7 +3871,7 @@ function al(e, t = {}) {
3871
3871
  for (; d = le(A, M); )
3872
3872
  d === "\\" ? U += z(A) : U += d;
3873
3873
  const H = A.currentChar();
3874
- return H === Ue || H === At ? (m(J.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), H === Ue && (A.next(), T(A, "'")), U) : (T(A, "'"), U);
3874
+ return H === Ue || H === At ? (v(J.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), H === Ue && (A.next(), T(A, "'")), U) : (T(A, "'"), U);
3875
3875
  }
3876
3876
  function z(A) {
3877
3877
  const d = A.currentChar();
@@ -3884,7 +3884,7 @@ function al(e, t = {}) {
3884
3884
  case "U":
3885
3885
  return te(A, d, 6);
3886
3886
  default:
3887
- return m(J.UNKNOWN_ESCAPE_SEQUENCE, i(), 0, d), "";
3887
+ return v(J.UNKNOWN_ESCAPE_SEQUENCE, i(), 0, d), "";
3888
3888
  }
3889
3889
  }
3890
3890
  function te(A, d, U) {
@@ -3893,7 +3893,7 @@ function al(e, t = {}) {
3893
3893
  for (let X = 0; X < U; X++) {
3894
3894
  const ce = c(A);
3895
3895
  if (!ce) {
3896
- m(J.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${d}${H}${A.currentChar()}`);
3896
+ v(J.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${d}${H}${A.currentChar()}`);
3897
3897
  break;
3898
3898
  }
3899
3899
  H += ce;
@@ -3936,27 +3936,27 @@ function al(e, t = {}) {
3936
3936
  let U = null;
3937
3937
  switch (A.currentChar()) {
3938
3938
  case "{":
3939
- return d.braceNest >= 1 && m(J.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), A.next(), U = S(
3939
+ return d.braceNest >= 1 && v(J.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), A.next(), U = S(
3940
3940
  d,
3941
3941
  2,
3942
3942
  "{"
3943
3943
  /* TokenChars.BraceLeft */
3944
3944
  ), O(A), d.braceNest++, U;
3945
3945
  case "}":
3946
- return d.braceNest > 0 && d.currentType === 2 && m(J.EMPTY_PLACEHOLDER, i(), 0), A.next(), U = S(
3946
+ return d.braceNest > 0 && d.currentType === 2 && v(J.EMPTY_PLACEHOLDER, i(), 0), A.next(), U = S(
3947
3947
  d,
3948
3948
  3,
3949
3949
  "}"
3950
3950
  /* TokenChars.BraceRight */
3951
3951
  ), d.braceNest--, d.braceNest > 0 && O(A), d.inLinked && d.braceNest === 0 && (d.inLinked = !1), U;
3952
3952
  case "@":
3953
- return d.braceNest > 0 && m(J.UNTERMINATED_CLOSING_BRACE, i(), 0), U = Ie(A, d) || F(d), d.braceNest = 0, U;
3953
+ return d.braceNest > 0 && v(J.UNTERMINATED_CLOSING_BRACE, i(), 0), U = Ie(A, d) || F(d), d.braceNest = 0, U;
3954
3954
  default: {
3955
3955
  let X = !0, ce = !0, ne = !0;
3956
3956
  if (_(A))
3957
- return d.braceNest > 0 && m(J.UNTERMINATED_CLOSING_BRACE, i(), 0), U = S(d, 1, Ee(A)), d.braceNest = 0, d.inLinked = !1, U;
3957
+ return d.braceNest > 0 && v(J.UNTERMINATED_CLOSING_BRACE, i(), 0), U = S(d, 1, Ee(A)), d.braceNest = 0, d.inLinked = !1, U;
3958
3958
  if (d.braceNest > 0 && (d.currentType === 4 || d.currentType === 5 || d.currentType === 6))
3959
- return m(J.UNTERMINATED_CLOSING_BRACE, i(), 0), d.braceNest = 0, Re(A, d);
3959
+ return v(J.UNTERMINATED_CLOSING_BRACE, i(), 0), d.braceNest = 0, Re(A, d);
3960
3960
  if (X = y(A, d))
3961
3961
  return U = S(d, 4, g(A)), O(A), U;
3962
3962
  if (ce = B(A, d))
@@ -3964,7 +3964,7 @@ function al(e, t = {}) {
3964
3964
  if (ne = P(A, d))
3965
3965
  return U = S(d, 6, K(A)), O(A), U;
3966
3966
  if (!X && !ce && !ne)
3967
- return U = S(d, 12, W(A)), m(J.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, U.value), O(A), U;
3967
+ return U = S(d, 12, W(A)), v(J.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, U.value), O(A), U;
3968
3968
  break;
3969
3969
  }
3970
3970
  }
@@ -3974,7 +3974,7 @@ function al(e, t = {}) {
3974
3974
  const { currentType: U } = d;
3975
3975
  let H = null;
3976
3976
  const X = A.currentChar();
3977
- switch ((U === 7 || U === 8 || U === 11 || U === 9) && (X === Ue || X === nt) && m(J.INVALID_LINKED_FORMAT, i(), 0), X) {
3977
+ switch ((U === 7 || U === 8 || U === 11 || U === 9) && (X === Ue || X === nt) && v(J.INVALID_LINKED_FORMAT, i(), 0), X) {
3978
3978
  case "@":
3979
3979
  return A.next(), H = S(
3980
3980
  d,
@@ -3997,7 +3997,7 @@ function al(e, t = {}) {
3997
3997
  /* TokenChars.LinkedDelimiter */
3998
3998
  );
3999
3999
  default:
4000
- return _(A) ? (H = S(d, 1, Ee(A)), d.braceNest = 0, d.inLinked = !1, H) : L(A, d) || Y(A, d) ? (O(A), Ie(A, d)) : b(A, d) ? (O(A), S(d, 11, ue(A))) : Z(A, d) ? (O(A), X === "{" ? we(A, d) || H : S(d, 10, Ce(A))) : (U === 7 && m(J.INVALID_LINKED_FORMAT, i(), 0), d.braceNest = 0, d.inLinked = !1, Re(A, d));
4000
+ return _(A) ? (H = S(d, 1, Ee(A)), d.braceNest = 0, d.inLinked = !1, H) : L(A, d) || Y(A, d) ? (O(A), Ie(A, d)) : b(A, d) ? (O(A), S(d, 11, ue(A))) : Z(A, d) ? (O(A), X === "{" ? we(A, d) || H : S(d, 10, Ce(A))) : (U === 7 && v(J.INVALID_LINKED_FORMAT, i(), 0), d.braceNest = 0, d.inLinked = !1, Re(A, d));
4001
4001
  }
4002
4002
  }
4003
4003
  function Re(A, d) {
@@ -4013,7 +4013,7 @@ function al(e, t = {}) {
4013
4013
  case "{":
4014
4014
  return we(A, d) || F(d);
4015
4015
  case "}":
4016
- return m(J.UNBALANCED_CLOSING_BRACE, i(), 0), A.next(), S(
4016
+ return v(J.UNBALANCED_CLOSING_BRACE, i(), 0), A.next(), S(
4017
4017
  d,
4018
4018
  3,
4019
4019
  "}"
@@ -4103,7 +4103,7 @@ function fl(e = {}) {
4103
4103
  node: L
4104
4104
  });
4105
4105
  }
4106
- function m(h, I) {
4106
+ function v(h, I) {
4107
4107
  const y = h.context(), B = s(7, y.offset, y.startLoc);
4108
4108
  return B.value = I, i(B, h.currentOffset(), h.currentPosition()), B;
4109
4109
  }
@@ -4116,7 +4116,7 @@ function fl(e = {}) {
4116
4116
  }
4117
4117
  switch (B.type !== 9 && r(h, J.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, Ze(B)), B = h.nextToken(), B.type === 2 && (B = h.nextToken()), B.type) {
4118
4118
  case 10:
4119
- B.value == null && r(h, J.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, Ze(B)), y.key = m(h, B.value || "");
4119
+ B.value == null && r(h, J.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, Ze(B)), y.key = v(h, B.value || "");
4120
4120
  break;
4121
4121
  case 4:
4122
4122
  B.value == null && r(h, J.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, Ze(B)), y.key = u(h, B.value || "");
@@ -4180,13 +4180,13 @@ function fl(e = {}) {
4180
4180
  } while (P.currentType !== 13);
4181
4181
  return L && r(h, J.MUST_HAVE_MESSAGES_IN_PLURAL, y, 0), i(b, h.currentOffset(), h.currentPosition()), b;
4182
4182
  }
4183
- function v(h) {
4183
+ function m(h) {
4184
4184
  const I = h.context(), { offset: y, startLoc: B } = I, P = F(h);
4185
4185
  return I.currentType === 13 ? P : T(h, y, B, P);
4186
4186
  }
4187
4187
  function O(h) {
4188
4188
  const I = al(h, De({}, e)), y = I.context(), B = s(0, y.offset, y.startLoc);
4189
- return t && B.loc && (B.loc.source = h), B.body = v(I), e.onCacheKey && (B.cacheKey = e.onCacheKey(h)), y.currentType !== 13 && r(I, J.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, h[y.offset] || ""), i(B, I.currentOffset(), I.currentPosition()), B;
4189
+ return t && B.loc && (B.loc.source = h), B.body = m(I), e.onCacheKey && (B.cacheKey = e.onCacheKey(h)), y.currentType !== 13 && r(I, J.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, h[y.offset] || ""), i(B, I.currentOffset(), I.currentPosition()), B;
4190
4190
  }
4191
4191
  return { parse: O };
4192
4192
  }
@@ -4205,9 +4205,9 @@ function Al(e, t = {}) {
4205
4205
  }
4206
4206
  function Wr(e, t) {
4207
4207
  for (let n = 0; n < e.length; n++)
4208
- mr(e[n], t);
4208
+ vr(e[n], t);
4209
4209
  }
4210
- function mr(e, t) {
4210
+ function vr(e, t) {
4211
4211
  switch (e.type) {
4212
4212
  case 1:
4213
4213
  Wr(e.cases, t), t.helper(
@@ -4219,7 +4219,7 @@ function mr(e, t) {
4219
4219
  Wr(e.items, t);
4220
4220
  break;
4221
4221
  case 6: {
4222
- mr(e.key, t), t.helper(
4222
+ vr(e.key, t), t.helper(
4223
4223
  "linked"
4224
4224
  /* HelperNameMap.LINKED */
4225
4225
  ), t.helper(
@@ -4253,7 +4253,7 @@ function dl(e, t = {}) {
4253
4253
  n.helper(
4254
4254
  "normalize"
4255
4255
  /* HelperNameMap.NORMALIZE */
4256
- ), e.body && mr(e.body, n);
4256
+ ), e.body && vr(e.body, n);
4257
4257
  const r = n.context();
4258
4258
  e.helpers = Array.from(r.helpers);
4259
4259
  }
@@ -4351,20 +4351,20 @@ function pl(e, t) {
4351
4351
  };
4352
4352
  i && e.loc && (o.source = e.loc.source);
4353
4353
  const a = () => o;
4354
- function u(v, O) {
4355
- o.code += v;
4354
+ function u(m, O) {
4355
+ o.code += m;
4356
4356
  }
4357
- function f(v, O = !0) {
4357
+ function f(m, O = !0) {
4358
4358
  const h = O ? r : "";
4359
- u(s ? h + " ".repeat(v) : h);
4359
+ u(s ? h + " ".repeat(m) : h);
4360
4360
  }
4361
- function E(v = !0) {
4361
+ function E(m = !0) {
4362
4362
  const O = ++o.indentLevel;
4363
- v && f(O);
4363
+ m && f(O);
4364
4364
  }
4365
- function m(v = !0) {
4365
+ function v(m = !0) {
4366
4366
  const O = --o.indentLevel;
4367
- v && f(O);
4367
+ m && f(O);
4368
4368
  }
4369
4369
  function S() {
4370
4370
  f(o.indentLevel);
@@ -4373,20 +4373,20 @@ function pl(e, t) {
4373
4373
  context: a,
4374
4374
  push: u,
4375
4375
  indent: E,
4376
- deindent: m,
4376
+ deindent: v,
4377
4377
  newline: S,
4378
- helper: (v) => `_${v}`,
4378
+ helper: (m) => `_${m}`,
4379
4379
  needIndent: () => o.needIndent
4380
4380
  };
4381
4381
  }
4382
- function ml(e, t) {
4382
+ function vl(e, t) {
4383
4383
  const { helper: n } = e;
4384
4384
  e.push(`${n(
4385
4385
  "linked"
4386
4386
  /* HelperNameMap.LINKED */
4387
4387
  )}(`), Ut(e, t.key), t.modifier ? (e.push(", "), Ut(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
4388
4388
  }
4389
- function vl(e, t) {
4389
+ function ml(e, t) {
4390
4390
  const { helper: n, needIndent: r } = e;
4391
4391
  e.push(`${n(
4392
4392
  "normalize"
@@ -4423,10 +4423,10 @@ function Ut(e, t) {
4423
4423
  Ol(e, t);
4424
4424
  break;
4425
4425
  case 2:
4426
- vl(e, t);
4426
+ ml(e, t);
4427
4427
  break;
4428
4428
  case 6:
4429
- ml(e, t);
4429
+ vl(e, t);
4430
4430
  break;
4431
4431
  case 8:
4432
4432
  e.push(JSON.stringify(t.value), t);
@@ -4506,7 +4506,7 @@ function Rl(e, t) {
4506
4506
  0
4507
4507
  /* NodeTypes.Resource */
4508
4508
  );
4509
- if (vr(n) === 1) {
4509
+ if (mr(n) === 1) {
4510
4510
  const i = bl(n);
4511
4511
  return e.plural(i.reduce((o, a) => [
4512
4512
  ...o,
@@ -4541,7 +4541,7 @@ function Nl(e) {
4541
4541
  return pt(e, Ul, []);
4542
4542
  }
4543
4543
  function er(e, t) {
4544
- const n = vr(t);
4544
+ const n = mr(t);
4545
4545
  switch (n) {
4546
4546
  case 3:
4547
4547
  return Wt(t, n);
@@ -4576,7 +4576,7 @@ function er(e, t) {
4576
4576
  }
4577
4577
  }
4578
4578
  const Fl = ["t", "type"];
4579
- function vr(e) {
4579
+ function mr(e) {
4580
4580
  return pt(e, Fl);
4581
4581
  }
4582
4582
  const Ml = ["v", "value"];
@@ -4618,7 +4618,7 @@ function Hl(e, t) {
4618
4618
  const jl = (e) => e;
4619
4619
  let Zt = ae();
4620
4620
  function wt(e) {
4621
- return oe(e) && vr(e) === 0 && (ze(e, "b") || ze(e, "body"));
4621
+ return oe(e) && mr(e) === 0 && (ze(e, "b") || ze(e, "body"));
4622
4622
  }
4623
4623
  function Gl(e, t = {}) {
4624
4624
  let n = !1;
@@ -4630,7 +4630,7 @@ function Gl(e, t = {}) {
4630
4630
  // @__NO_SIDE_EFFECTS__
4631
4631
  function Kl(e, t) {
4632
4632
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && j(e)) {
4633
- const n = ve(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
4633
+ const n = me(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
4634
4634
  process.env.NODE_ENV !== "production" && Hl(e, n);
4635
4635
  const s = (t.onCacheKey || jl)(e), i = Zt[s];
4636
4636
  if (i)
@@ -4732,7 +4732,7 @@ function Zs(e, t, n) {
4732
4732
  }
4733
4733
  function es(e, t, n) {
4734
4734
  let r = !0;
4735
- for (let s = 0; s < t.length && ve(r); s++) {
4735
+ for (let s = 0; s < t.length && me(r); s++) {
4736
4736
  const i = t[s];
4737
4737
  j(i) && (r = _l(e, t[s], n));
4738
4738
  }
@@ -4756,8 +4756,8 @@ function $l(e, t, n) {
4756
4756
  }
4757
4757
  return r;
4758
4758
  }
4759
- const mt = [];
4760
- mt[
4759
+ const vt = [];
4760
+ vt[
4761
4761
  0
4762
4762
  /* States.BEFORE_PATH */
4763
4763
  ] = {
@@ -4779,7 +4779,7 @@ mt[
4779
4779
  /* States.AFTER_PATH */
4780
4780
  ]
4781
4781
  };
4782
- mt[
4782
+ vt[
4783
4783
  1
4784
4784
  /* States.IN_PATH */
4785
4785
  ] = {
@@ -4800,7 +4800,7 @@ mt[
4800
4800
  /* States.AFTER_PATH */
4801
4801
  ]
4802
4802
  };
4803
- mt[
4803
+ vt[
4804
4804
  2
4805
4805
  /* States.BEFORE_IDENT */
4806
4806
  ] = {
@@ -4819,7 +4819,7 @@ mt[
4819
4819
  /* Actions.APPEND */
4820
4820
  ]
4821
4821
  };
4822
- mt[
4822
+ vt[
4823
4823
  3
4824
4824
  /* States.IN_IDENT */
4825
4825
  ] = {
@@ -4854,7 +4854,7 @@ mt[
4854
4854
  /* Actions.PUSH */
4855
4855
  ]
4856
4856
  };
4857
- mt[
4857
+ vt[
4858
4858
  4
4859
4859
  /* States.IN_SUB_PATH */
4860
4860
  ] = {
@@ -4885,7 +4885,7 @@ mt[
4885
4885
  /* Actions.APPEND */
4886
4886
  ]
4887
4887
  };
4888
- mt[
4888
+ vt[
4889
4889
  5
4890
4890
  /* States.IN_SINGLE_QUOTE */
4891
4891
  ] = {
@@ -4901,7 +4901,7 @@ mt[
4901
4901
  /* Actions.APPEND */
4902
4902
  ]
4903
4903
  };
4904
- mt[
4904
+ vt[
4905
4905
  6
4906
4906
  /* States.IN_DOUBLE_QUOTE */
4907
4907
  ] = {
@@ -4956,7 +4956,7 @@ function su(e) {
4956
4956
  }
4957
4957
  function iu(e) {
4958
4958
  const t = [];
4959
- let n = -1, r = 0, s = 0, i, o, a, u, f, E, m;
4959
+ let n = -1, r = 0, s = 0, i, o, a, u, f, E, v;
4960
4960
  const S = [];
4961
4961
  S[
4962
4962
  0
@@ -5004,7 +5004,7 @@ function iu(e) {
5004
5004
  }
5005
5005
  for (; r !== null; )
5006
5006
  if (n++, i = e[n], !(i === "\\" && F())) {
5007
- if (u = ru(i), m = mt[r], f = m[u] || m.l || 8, f === 8 || (r = f[0], f[1] !== void 0 && (E = S[f[1]], E && (a = i, E() === !1))))
5007
+ if (u = ru(i), v = vt[r], f = v[u] || v.l || 8, f === 8 || (r = f[0], f[1] !== void 0 && (E = S[f[1]], E && (a = i, E() === !1))))
5008
5008
  return;
5009
5009
  if (r === 7)
5010
5010
  return t;
@@ -5079,8 +5079,8 @@ const rs = (e) => {
5079
5079
  ni = e;
5080
5080
  }, pu = () => ni;
5081
5081
  let ss = 0;
5082
- function mu(e = {}) {
5083
- const t = ge(e.onWarn) ? e.onWarn : ht, n = j(e.version) ? e.version : cu, r = j(e.locale) || ge(e.locale) ? e.locale : on, s = ge(r) ? on : r, i = Be(e.fallbackLocale) || ie(e.fallbackLocale) || j(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = ie(e.messages) ? e.messages : zn(s), a = ie(e.datetimeFormats) ? e.datetimeFormats : zn(s), u = ie(e.numberFormats) ? e.numberFormats : zn(s), f = De(ae(), e.modifiers, fu()), E = e.pluralRules || ae(), m = ge(e.missing) ? e.missing : null, S = ve(e.missingWarn) || sn(e.missingWarn) ? e.missingWarn : !0, F = ve(e.fallbackWarn) || sn(e.fallbackWarn) ? e.fallbackWarn : !0, T = !!e.fallbackFormat, v = !!e.unresolving, O = ge(e.postTranslation) ? e.postTranslation : null, h = ie(e.processor) ? e.processor : null, I = ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, B = ge(e.messageCompiler) ? e.messageCompiler : _s;
5082
+ function vu(e = {}) {
5083
+ const t = ge(e.onWarn) ? e.onWarn : ht, n = j(e.version) ? e.version : cu, r = j(e.locale) || ge(e.locale) ? e.locale : on, s = ge(r) ? on : r, i = Be(e.fallbackLocale) || ie(e.fallbackLocale) || j(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = ie(e.messages) ? e.messages : zn(s), a = ie(e.datetimeFormats) ? e.datetimeFormats : zn(s), u = ie(e.numberFormats) ? e.numberFormats : zn(s), f = De(ae(), e.modifiers, fu()), E = e.pluralRules || ae(), v = ge(e.missing) ? e.missing : null, S = me(e.missingWarn) || sn(e.missingWarn) ? e.missingWarn : !0, F = me(e.fallbackWarn) || sn(e.fallbackWarn) ? e.fallbackWarn : !0, T = !!e.fallbackFormat, m = !!e.unresolving, O = ge(e.postTranslation) ? e.postTranslation : null, h = ie(e.processor) ? e.processor : null, I = me(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, B = ge(e.messageCompiler) ? e.messageCompiler : _s;
5084
5084
  process.env.NODE_ENV !== "production" && ge(e.messageCompiler) && Xa(bt(Me.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
5085
5085
  const P = ge(e.messageResolver) ? e.messageResolver : $s || ou, L = ge(e.localeFallbacker) ? e.localeFallbacker : ei || Zl, b = oe(e.fallbackContext) ? e.fallbackContext : void 0, Y = e, Z = oe(Y.__datetimeFormatters) ? Y.__datetimeFormatters : /* @__PURE__ */ new Map(), _ = oe(Y.__numberFormatters) ? Y.__numberFormatters : /* @__PURE__ */ new Map(), $ = oe(Y.__meta) ? Y.__meta : {};
5086
5086
  ss++;
@@ -5092,11 +5092,11 @@ function mu(e = {}) {
5092
5092
  messages: o,
5093
5093
  modifiers: f,
5094
5094
  pluralRules: E,
5095
- missing: m,
5095
+ missing: v,
5096
5096
  missingWarn: S,
5097
5097
  fallbackWarn: F,
5098
5098
  fallbackFormat: T,
5099
- unresolving: v,
5099
+ unresolving: m,
5100
5100
  postTranslation: O,
5101
5101
  processor: h,
5102
5102
  warnHtmlMessage: I,
@@ -5111,7 +5111,7 @@ function mu(e = {}) {
5111
5111
  return le.datetimeFormats = a, le.numberFormats = u, le.__datetimeFormatters = Z, le.__numberFormatters = _, process.env.NODE_ENV !== "production" && (le.__v_emitter = Y.__v_emitter != null ? Y.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Vl(le, n, $), le;
5112
5112
  }
5113
5113
  const zn = (e) => ({ [e]: ae() });
5114
- function mn(e, t) {
5114
+ function vn(e, t) {
5115
5115
  return e instanceof RegExp ? e.test(t) : e;
5116
5116
  }
5117
5117
  function ri(e, t) {
@@ -5141,7 +5141,7 @@ function qt(e, t, n) {
5141
5141
  function si(e, t) {
5142
5142
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
5143
5143
  }
5144
- function vu(e, t) {
5144
+ function mu(e, t) {
5145
5145
  const n = t.indexOf(e);
5146
5146
  if (n === -1)
5147
5147
  return !1;
@@ -5158,21 +5158,21 @@ function os(e, ...t) {
5158
5158
  const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: i, localeFallbacker: o } = e, { __datetimeFormatters: a } = e;
5159
5159
  if (process.env.NODE_ENV !== "production" && !ii.dateTimeFormat)
5160
5160
  return i(bt(Me.CANNOT_FORMAT_DATE)), an;
5161
- const [u, f, E, m] = tr(...t), S = ve(E.missingWarn) ? E.missingWarn : e.missingWarn, F = ve(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, T = !!E.part, v = Or(e, E), O = o(
5161
+ const [u, f, E, v] = tr(...t), S = me(E.missingWarn) ? E.missingWarn : e.missingWarn, F = me(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, T = !!E.part, m = Or(e, E), O = o(
5162
5162
  e,
5163
5163
  // eslint-disable-line @typescript-eslint/no-explicit-any
5164
5164
  s,
5165
- v
5165
+ m
5166
5166
  );
5167
5167
  if (!j(u) || u === "")
5168
- return new Intl.DateTimeFormat(v, m).format(f);
5169
- let h = {}, I, y = null, B = v, P = null;
5168
+ return new Intl.DateTimeFormat(m, v).format(f);
5169
+ let h = {}, I, y = null, B = m, P = null;
5170
5170
  const L = "datetime format";
5171
5171
  for (let Z = 0; Z < O.length; Z++) {
5172
- if (I = P = O[Z], process.env.NODE_ENV !== "production" && v !== I && mn(F, u) && i(bt(Me.FALLBACK_TO_DATE_FORMAT, {
5172
+ if (I = P = O[Z], process.env.NODE_ENV !== "production" && m !== I && vn(F, u) && i(bt(Me.FALLBACK_TO_DATE_FORMAT, {
5173
5173
  key: u,
5174
5174
  target: I
5175
- })), process.env.NODE_ENV !== "production" && v !== I) {
5175
+ })), process.env.NODE_ENV !== "production" && m !== I) {
5176
5176
  const _ = e.__v_emitter;
5177
5177
  _ && _.emit("fallback", {
5178
5178
  type: L,
@@ -5189,9 +5189,9 @@ function os(e, ...t) {
5189
5189
  if (!ie(y) || !j(I))
5190
5190
  return r ? pn : u;
5191
5191
  let b = `${I}__${u}`;
5192
- hn(m) || (b = `${b}__${JSON.stringify(m)}`);
5192
+ hn(v) || (b = `${b}__${JSON.stringify(v)}`);
5193
5193
  let Y = a.get(b);
5194
- return Y || (Y = new Intl.DateTimeFormat(I, De({}, y, m)), a.set(b, Y)), T ? Y.formatToParts(f) : Y.format(f);
5194
+ return Y || (Y = new Intl.DateTimeFormat(I, De({}, y, v)), a.set(b, Y)), T ? Y.formatToParts(f) : Y.format(f);
5195
5195
  }
5196
5196
  const oi = [
5197
5197
  "localeMatcher",
@@ -5252,21 +5252,21 @@ function ls(e, ...t) {
5252
5252
  const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: i, localeFallbacker: o } = e, { __numberFormatters: a } = e;
5253
5253
  if (process.env.NODE_ENV !== "production" && !ii.numberFormat)
5254
5254
  return i(bt(Me.CANNOT_FORMAT_NUMBER)), an;
5255
- const [u, f, E, m] = nr(...t), S = ve(E.missingWarn) ? E.missingWarn : e.missingWarn, F = ve(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, T = !!E.part, v = Or(e, E), O = o(
5255
+ const [u, f, E, v] = nr(...t), S = me(E.missingWarn) ? E.missingWarn : e.missingWarn, F = me(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, T = !!E.part, m = Or(e, E), O = o(
5256
5256
  e,
5257
5257
  // eslint-disable-line @typescript-eslint/no-explicit-any
5258
5258
  s,
5259
- v
5259
+ m
5260
5260
  );
5261
5261
  if (!j(u) || u === "")
5262
- return new Intl.NumberFormat(v, m).format(f);
5263
- let h = {}, I, y = null, B = v, P = null;
5262
+ return new Intl.NumberFormat(m, v).format(f);
5263
+ let h = {}, I, y = null, B = m, P = null;
5264
5264
  const L = "number format";
5265
5265
  for (let Z = 0; Z < O.length; Z++) {
5266
- if (I = P = O[Z], process.env.NODE_ENV !== "production" && v !== I && mn(F, u) && i(bt(Me.FALLBACK_TO_NUMBER_FORMAT, {
5266
+ if (I = P = O[Z], process.env.NODE_ENV !== "production" && m !== I && vn(F, u) && i(bt(Me.FALLBACK_TO_NUMBER_FORMAT, {
5267
5267
  key: u,
5268
5268
  target: I
5269
- })), process.env.NODE_ENV !== "production" && v !== I) {
5269
+ })), process.env.NODE_ENV !== "production" && m !== I) {
5270
5270
  const _ = e.__v_emitter;
5271
5271
  _ && _.emit("fallback", {
5272
5272
  type: L,
@@ -5283,9 +5283,9 @@ function ls(e, ...t) {
5283
5283
  if (!ie(y) || !j(I))
5284
5284
  return r ? pn : u;
5285
5285
  let b = `${I}__${u}`;
5286
- hn(m) || (b = `${b}__${JSON.stringify(m)}`);
5286
+ hn(v) || (b = `${b}__${JSON.stringify(v)}`);
5287
5287
  let Y = a.get(b);
5288
- return Y || (Y = new Intl.NumberFormat(I, De({}, y, m)), a.set(b, Y)), T ? Y.formatToParts(f) : Y.format(f);
5288
+ return Y || (Y = new Intl.NumberFormat(I, De({}, y, v)), a.set(b, Y)), T ? Y.formatToParts(f) : Y.format(f);
5289
5289
  }
5290
5290
  const ai = [
5291
5291
  "localeMatcher",
@@ -5345,7 +5345,7 @@ function Du(e = {}) {
5345
5345
  const y = ge(e.messages) ? e.messages(h, !!I) : oe(e.messages) ? e.messages[h] : !1;
5346
5346
  return y || (e.parent ? e.parent.message(h) : Cu);
5347
5347
  }
5348
- const m = (h) => e.modifiers ? e.modifiers[h] : Ou, S = ie(e.processor) && ge(e.processor.normalize) ? e.processor.normalize : yu, F = ie(e.processor) && ge(e.processor.interpolate) ? e.processor.interpolate : Bu, T = ie(e.processor) && j(e.processor.type) ? e.processor.type : Iu, O = {
5348
+ const v = (h) => e.modifiers ? e.modifiers[h] : Ou, S = ie(e.processor) && ge(e.processor.normalize) ? e.processor.normalize : yu, F = ie(e.processor) && ge(e.processor.interpolate) ? e.processor.interpolate : Bu, T = ie(e.processor) && j(e.processor.type) ? e.processor.type : Iu, O = {
5349
5349
  list: a,
5350
5350
  named: f,
5351
5351
  plural: i,
@@ -5357,7 +5357,7 @@ function Du(e = {}) {
5357
5357
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
5358
5358
  P === "vnode" && Be(b) && L ? b[0] : b
5359
5359
  );
5360
- return L ? m(L)(Y, P) : Y;
5360
+ return L ? v(L)(Y, P) : Y;
5361
5361
  },
5362
5362
  message: E,
5363
5363
  type: T,
@@ -5369,14 +5369,14 @@ function Du(e = {}) {
5369
5369
  }
5370
5370
  const fs = () => "", He = (e) => ge(e);
5371
5371
  function As(e, ...t) {
5372
- const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: i, fallbackLocale: o, messages: a } = e, [u, f] = rr(...t), E = ve(f.missingWarn) ? f.missingWarn : e.missingWarn, m = ve(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, S = ve(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, F = !!f.resolvedMessage, T = j(f.default) || ve(f.default) ? ve(f.default) ? i ? u : () => u : f.default : n ? i ? u : () => u : null, v = n || T != null && (j(T) || ge(T)), O = Or(e, f);
5372
+ const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: i, fallbackLocale: o, messages: a } = e, [u, f] = rr(...t), E = me(f.missingWarn) ? f.missingWarn : e.missingWarn, v = me(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, S = me(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, F = !!f.resolvedMessage, T = j(f.default) || me(f.default) ? me(f.default) ? i ? u : () => u : f.default : n ? i ? u : () => u : null, m = n || T != null && (j(T) || ge(T)), O = Or(e, f);
5373
5373
  S && wu(f);
5374
5374
  let [h, I, y] = F ? [
5375
5375
  u,
5376
5376
  O,
5377
5377
  a[O] || ae()
5378
- ] : li(e, u, O, o, m, E), B = h, P = u;
5379
- if (!F && !(j(B) || wt(B) || He(B)) && v && (B = T, P = B), !F && (!(j(B) || wt(B) || He(B)) || !j(I)))
5378
+ ] : li(e, u, O, o, v, E), B = h, P = u;
5379
+ if (!F && !(j(B) || wt(B) || He(B)) && m && (B = T, P = B), !F && (!(j(B) || wt(B) || He(B)) || !j(I)))
5380
5380
  return s ? pn : u;
5381
5381
  if (process.env.NODE_ENV !== "production" && j(B) && e.messageCompiler == null)
5382
5382
  return ht(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`), u;
@@ -5406,10 +5406,10 @@ function wu(e) {
5406
5406
  }
5407
5407
  function li(e, t, n, r, s, i) {
5408
5408
  const { messages: o, onWarn: a, messageResolver: u, localeFallbacker: f } = e, E = f(e, r, n);
5409
- let m = ae(), S, F = null, T = n, v = null;
5409
+ let v = ae(), S, F = null, T = n, m = null;
5410
5410
  const O = "translate";
5411
5411
  for (let h = 0; h < E.length; h++) {
5412
- if (S = v = E[h], process.env.NODE_ENV !== "production" && n !== S && !si(n, S) && mn(s, t) && a(bt(Me.FALLBACK_TO_TRANSLATE, {
5412
+ if (S = m = E[h], process.env.NODE_ENV !== "production" && n !== S && !si(n, S) && vn(s, t) && a(bt(Me.FALLBACK_TO_TRANSLATE, {
5413
5413
  key: t,
5414
5414
  target: S
5415
5415
  })), process.env.NODE_ENV !== "production" && n !== S) {
@@ -5418,13 +5418,13 @@ function li(e, t, n, r, s, i) {
5418
5418
  type: O,
5419
5419
  key: t,
5420
5420
  from: T,
5421
- to: v,
5421
+ to: m,
5422
5422
  groupId: `${O}:${t}`
5423
5423
  });
5424
5424
  }
5425
- m = o[S] || ae();
5425
+ v = o[S] || ae();
5426
5426
  let I = null, y, B;
5427
- if (process.env.NODE_ENV !== "production" && it && (I = window.performance.now(), y = "intlify-message-resolve-start", B = "intlify-message-resolve-end", Qe && Qe(y)), (F = u(m, t)) === null && (F = m[t]), process.env.NODE_ENV !== "production" && it) {
5427
+ if (process.env.NODE_ENV !== "production" && it && (I = window.performance.now(), y = "intlify-message-resolve-start", B = "intlify-message-resolve-end", Qe && Qe(y)), (F = u(v, t)) === null && (F = v[t]), process.env.NODE_ENV !== "production" && it) {
5428
5428
  const P = window.performance.now(), L = e.__v_emitter;
5429
5429
  L && I && F && L.emit("message-resolve", {
5430
5430
  type: "message-resolve",
@@ -5436,7 +5436,7 @@ function li(e, t, n, r, s, i) {
5436
5436
  }
5437
5437
  if (j(F) || wt(F) || He(F))
5438
5438
  break;
5439
- if (!vu(S, E)) {
5439
+ if (!mu(S, E)) {
5440
5440
  const P = Cr(
5441
5441
  e,
5442
5442
  // eslint-disable-line @typescript-eslint/no-explicit-any
@@ -5447,9 +5447,9 @@ function li(e, t, n, r, s, i) {
5447
5447
  );
5448
5448
  P !== t && (F = P);
5449
5449
  }
5450
- T = v;
5450
+ T = m;
5451
5451
  }
5452
- return [F, S, m];
5452
+ return [F, S, v];
5453
5453
  }
5454
5454
  function ui(e, t, n, r, s, i) {
5455
5455
  const { messageCompiler: o, warnHtmlMessage: a } = e;
@@ -5463,7 +5463,7 @@ function ui(e, t, n, r, s, i) {
5463
5463
  }
5464
5464
  let u = null, f, E;
5465
5465
  process.env.NODE_ENV !== "production" && it && (u = window.performance.now(), f = "intlify-message-compilation-start", E = "intlify-message-compilation-end", Qe && Qe(f));
5466
- const m = o(r, Tu(e, n, s, r, a, i));
5466
+ const v = o(r, Tu(e, n, s, r, a, i));
5467
5467
  if (process.env.NODE_ENV !== "production" && it) {
5468
5468
  const S = window.performance.now(), F = e.__v_emitter;
5469
5469
  F && u && F.emit("message-compilation", {
@@ -5473,7 +5473,7 @@ function ui(e, t, n, r, s, i) {
5473
5473
  groupId: `translate:${t}`
5474
5474
  }), f && E && Qe && Dt && (Qe(E), Dt("intlify message compilation", f, E));
5475
5475
  }
5476
- return m.locale = n, m.key = t, m.source = r, m;
5476
+ return v.locale = n, v.key = t, v.source = r, v;
5477
5477
  }
5478
5478
  function bu(e, t, n) {
5479
5479
  let r = null, s, i;
@@ -5531,8 +5531,8 @@ function Uu(e, t, n, r) {
5531
5531
  modifiers: s,
5532
5532
  pluralRules: i,
5533
5533
  messages: (F, T) => {
5534
- let v = o(n, F);
5535
- if (v == null && (E || T)) {
5534
+ let m = o(n, F);
5535
+ if (m == null && (E || T)) {
5536
5536
  const [, , O] = li(
5537
5537
  E || e,
5538
5538
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
@@ -5542,15 +5542,15 @@ function Uu(e, t, n, r) {
5542
5542
  u,
5543
5543
  f
5544
5544
  );
5545
- v = o(O, F);
5545
+ m = o(O, F);
5546
5546
  }
5547
- if (j(v) || wt(v)) {
5547
+ if (j(m) || wt(m)) {
5548
5548
  let O = !1;
5549
- const I = ui(e, F, t, v, F, () => {
5549
+ const I = ui(e, F, t, m, F, () => {
5550
5550
  O = !0;
5551
5551
  });
5552
5552
  return O ? fs : I;
5553
- } else return He(v) ? v : fs;
5553
+ } else return He(m) ? m : fs;
5554
5554
  }
5555
5555
  };
5556
5556
  return e.processor && (S.processor = e.processor), r.list && (S.list = r.list), r.named && (S.named = r.named), Se(r.plural) && (S.pluralIndex = r.plural), S;
@@ -5710,16 +5710,16 @@ const qu = /* @__NO_SIDE_EFFECTS__ */ () => {
5710
5710
  return e && (t = Ai(e)[gs]) ? { [gs]: t } : null;
5711
5711
  };
5712
5712
  function Hu(e = {}) {
5713
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, i = it ? ye : vi;
5714
- let o = ve(e.inheritLocale) ? e.inheritLocale : !0;
5713
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, i = it ? ye : mi;
5714
+ let o = me(e.inheritLocale) ? e.inheritLocale : !0;
5715
5715
  const a = i(
5716
5716
  // prettier-ignore
5717
5717
  t && o ? t.locale.value : j(e.locale) ? e.locale : on
5718
5718
  ), u = i(
5719
5719
  // prettier-ignore
5720
5720
  t && o ? t.fallbackLocale.value : j(e.fallbackLocale) || Be(e.fallbackLocale) || ie(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
5721
- ), f = i(fi(a.value, e)), E = i(ie(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), m = i(ie(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
5722
- let S = t ? t.missingWarn : ve(e.missingWarn) || sn(e.missingWarn) ? e.missingWarn : !0, F = t ? t.fallbackWarn : ve(e.fallbackWarn) || sn(e.fallbackWarn) ? e.fallbackWarn : !0, T = t ? t.fallbackRoot : ve(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat, O = ge(e.missing) ? e.missing : null, h = ge(e.missing) ? ps(e.missing) : null, I = ge(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, B = !!e.escapeParameter;
5721
+ ), f = i(fi(a.value, e)), E = i(ie(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), v = i(ie(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
5722
+ let S = t ? t.missingWarn : me(e.missingWarn) || sn(e.missingWarn) ? e.missingWarn : !0, F = t ? t.fallbackWarn : me(e.fallbackWarn) || sn(e.fallbackWarn) ? e.fallbackWarn : !0, T = t ? t.fallbackRoot : me(e.fallbackRoot) ? e.fallbackRoot : !0, m = !!e.fallbackFormat, O = ge(e.missing) ? e.missing : null, h = ge(e.missing) ? ps(e.missing) : null, I = ge(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : me(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, B = !!e.escapeParameter;
5723
5723
  const P = t ? t.modifiers : ie(e.modifiers) ? e.modifiers : {};
5724
5724
  let L = e.pluralRules || t && t.pluralRules, b;
5725
5725
  b = (() => {
@@ -5734,7 +5734,7 @@ function Hu(e = {}) {
5734
5734
  missing: h === null ? void 0 : h,
5735
5735
  missingWarn: S,
5736
5736
  fallbackWarn: F,
5737
- fallbackFormat: v,
5737
+ fallbackFormat: m,
5738
5738
  unresolving: !0,
5739
5739
  postTranslation: I === null ? void 0 : I,
5740
5740
  warnHtmlMessage: y,
@@ -5743,8 +5743,8 @@ function Hu(e = {}) {
5743
5743
  messageCompiler: e.messageCompiler,
5744
5744
  __meta: { framework: "vue" }
5745
5745
  };
5746
- D.datetimeFormats = E.value, D.numberFormats = m.value, D.__datetimeFormatters = ie(b) ? b.__datetimeFormatters : void 0, D.__numberFormatters = ie(b) ? b.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (D.__v_emitter = ie(b) ? b.__v_emitter : void 0);
5747
- const N = mu(D);
5746
+ D.datetimeFormats = E.value, D.numberFormats = v.value, D.__datetimeFormatters = ie(b) ? b.__datetimeFormatters : void 0, D.__numberFormatters = ie(b) ? b.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (D.__v_emitter = ie(b) ? b.__v_emitter : void 0);
5747
+ const N = vu(D);
5748
5748
  return r && rs(N), N;
5749
5749
  })(), qt(b, a.value, u.value);
5750
5750
  function Z() {
@@ -5753,7 +5753,7 @@ function Hu(e = {}) {
5753
5753
  u.value,
5754
5754
  f.value,
5755
5755
  E.value,
5756
- m.value
5756
+ v.value
5757
5757
  ];
5758
5758
  }
5759
5759
  const _ = je({
@@ -5766,7 +5766,7 @@ function Hu(e = {}) {
5766
5766
  set: (D) => {
5767
5767
  b.fallbackLocale = D, u.value = D, qt(b, a.value, D);
5768
5768
  }
5769
- }), le = je(() => f.value), ke = /* @__PURE__ */ je(() => E.value), V = /* @__PURE__ */ je(() => m.value);
5769
+ }), le = je(() => f.value), ke = /* @__PURE__ */ je(() => E.value), V = /* @__PURE__ */ je(() => v.value);
5770
5770
  function k() {
5771
5771
  return ge(I) ? I : null;
5772
5772
  }
@@ -5792,8 +5792,8 @@ function Hu(e = {}) {
5792
5792
  }
5793
5793
  if (se !== "translate exists" && // for not `te` (e.g `t`)
5794
5794
  Se($e) && $e === pn || se === "translate exists" && !$e) {
5795
- const [Ge, vt] = N();
5796
- if (process.env.NODE_ENV !== "production" && t && j(Ge) && C(se, vt) && (T && (mn(F, Ge) || ri(S, Ge)) && ht(Ir(gt.FALLBACK_TO_ROOT, {
5795
+ const [Ge, mt] = N();
5796
+ if (process.env.NODE_ENV !== "production" && t && j(Ge) && C(se, mt) && (T && (vn(F, Ge) || ri(S, Ge)) && ht(Ir(gt.FALLBACK_TO_ROOT, {
5797
5797
  key: Ge,
5798
5798
  type: se
5799
5799
  })), process.env.NODE_ENV !== "production")) {
@@ -5828,7 +5828,7 @@ function Hu(e = {}) {
5828
5828
  return c((N) => Reflect.apply(ls, null, [N, ...D]), () => nr(...D), "number format", (N) => Reflect.apply(N.n, N, [...D]), () => an, (N) => j(N));
5829
5829
  }
5830
5830
  function M(D) {
5831
- return D.map((N) => j(N) || Se(N) || ve(N) ? ds(String(N)) : N);
5831
+ return D.map((N) => j(N) || Se(N) || me(N) ? ds(String(N)) : N);
5832
5832
  }
5833
5833
  const z = {
5834
5834
  normalize: M,
@@ -5862,7 +5862,7 @@ function Hu(e = {}) {
5862
5862
  return !1;
5863
5863
  const se = j(N) ? N : a.value, Ae = Ie(se), Xe = b.messageResolver(Ae, D);
5864
5864
  return wt(Xe) || He(Xe) || j(Xe);
5865
- }, () => [D], "translate exists", (se) => Reflect.apply(se.te, se, [D, N]), ku, (se) => ve(se));
5865
+ }, () => [D], "translate exists", (se) => Reflect.apply(se.te, se, [D, N]), ku, (se) => me(se));
5866
5866
  }
5867
5867
  function Ee(D) {
5868
5868
  let N = null;
@@ -5910,13 +5910,13 @@ function Hu(e = {}) {
5910
5910
  E.value[D] = De(E.value[D] || {}, N), b.datetimeFormats = E.value, as(b, D, N);
5911
5911
  }
5912
5912
  function H(D) {
5913
- return m.value[D] || {};
5913
+ return v.value[D] || {};
5914
5914
  }
5915
5915
  function X(D, N) {
5916
- m.value[D] = N, b.numberFormats = m.value, us(b, D, N);
5916
+ v.value[D] = N, b.numberFormats = v.value, us(b, D, N);
5917
5917
  }
5918
5918
  function ce(D, N) {
5919
- m.value[D] = De(m.value[D] || {}, N), b.numberFormats = m.value, us(b, D, N);
5919
+ v.value[D] = De(v.value[D] || {}, N), b.numberFormats = v.value, us(b, D, N);
5920
5920
  }
5921
5921
  hs++, t && it && (wr(t.locale, (D) => {
5922
5922
  o && (a.value = D, b.locale = D, qt(b, a.value, u.value));
@@ -5965,10 +5965,10 @@ function Hu(e = {}) {
5965
5965
  T = D;
5966
5966
  },
5967
5967
  get fallbackFormat() {
5968
- return v;
5968
+ return m;
5969
5969
  },
5970
5970
  set fallbackFormat(D) {
5971
- v = D, b.fallbackFormat = v;
5971
+ m = D, b.fallbackFormat = m;
5972
5972
  },
5973
5973
  get warnHtmlMessage() {
5974
5974
  return y;
@@ -5998,7 +5998,7 @@ function Hu(e = {}) {
5998
5998
  b.__v_emitter = void 0;
5999
5999
  }), ne;
6000
6000
  }
6001
- function ms(e, t) {
6001
+ function vs(e, t) {
6002
6002
  }
6003
6003
  const yr = {
6004
6004
  tag: {
@@ -6053,11 +6053,11 @@ function gi(e, t, n, r) {
6053
6053
  const u = r(e.value, o, a);
6054
6054
  let f = [o.key];
6055
6055
  Be(u) ? f = u.map((S, F) => {
6056
- const T = s[S.type], v = T ? T({ [S.type]: S.value, index: F, parts: u }) : [S.value];
6057
- return Gu(v) && (v[0].key = `${S.type}-${F}`), v;
6056
+ const T = s[S.type], m = T ? T({ [S.type]: S.value, index: F, parts: u }) : [S.value];
6057
+ return Gu(m) && (m[0].key = `${S.type}-${F}`), m;
6058
6058
  }) : j(u) && (f = [u]);
6059
- const E = De(ae(), i), m = j(e.tag) || oe(e.tag) ? e.tag : di();
6060
- return vs(m, E, f);
6059
+ const E = De(ae(), i), v = j(e.tag) || oe(e.tag) ? e.tag : di();
6060
+ return ms(v, E, f);
6061
6061
  };
6062
6062
  }
6063
6063
  De({
@@ -6092,7 +6092,7 @@ function Br(e = {}) {
6092
6092
  return a;
6093
6093
  }
6094
6094
  function zu(e) {
6095
- const t = mi(e.isCE ? Ku : e.appContext.app.__VUE_I18N_SYMBOL__);
6095
+ const t = vi(e.isCE ? Ku : e.appContext.app.__VUE_I18N_SYMBOL__);
6096
6096
  if (!t)
6097
6097
  throw Kt(e.isCE ? be.NOT_INSTALLED_WITH_PROVIDE : be.UNEXPECTED_ERROR);
6098
6098
  return t;
@@ -6130,11 +6130,11 @@ function Wu(e, t, n) {
6130
6130
  if (process.env.NODE_ENV !== "production" && t.vnode.el) {
6131
6131
  t.vnode.el.__VUE_I18N__ = n, r = Ya();
6132
6132
  const s = n;
6133
- s[ar] && s[ar](r), r.on("*", ms);
6133
+ s[ar] && s[ar](r), r.on("*", vs);
6134
6134
  }
6135
6135
  }, t), Ci(() => {
6136
6136
  const s = n;
6137
- process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (r && r.off("*", ms), s[lr] && s[lr](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
6137
+ process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (r && r.off("*", vs), s[lr] && s[lr](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
6138
6138
  const i = s[ur];
6139
6139
  i && (i(), delete s[ur]);
6140
6140
  }, t);
@@ -6187,7 +6187,7 @@ export {
6187
6187
  Fc as e,
6188
6188
  Mc as f,
6189
6189
  Ca as g,
6190
- me as h,
6190
+ ve as h,
6191
6191
  Ar as i,
6192
6192
  It as j,
6193
6193
  Ys as k,