@feedmepos/mf-inventory-portal 1.7.9-dev.4 → 1.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App-CT5mXYl4.js +311 -0
- package/dist/{ApprovalView-B0MC_Gv4.js → ApprovalView-4CriKmQs.js} +9 -9
- package/dist/{BindingsDialog-CUyLeRvh.js → BindingsDialog-D5avj8DX.js} +2 -2
- package/dist/{BindingsPicker-UkwLozYB.js → BindingsPicker-B2JyOm_w.js} +2 -2
- package/dist/{BindingsTable-4WbqclQu.js → BindingsTable-DJfkWc5P.js} +4 -4
- package/dist/BulkReceiveRequestView-C4r4B2n6.js +2595 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-aHOlyDp1.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CRY1w8Uc.js} +1 -1
- package/dist/{ClosingDraftView-BZChpOPr.js → ClosingDraftView-C_JJDMNJ.js} +19 -19
- package/dist/{ClosingHistoryView-B8kE6kDk.js → ClosingHistoryView-Cy9fcVVb.js} +5 -5
- package/dist/{ClosingTemplateView-cJuk2ph0.js → ClosingTemplateView-CFrmV6RZ.js} +16 -16
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CraIMmym.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-D_Y4h8g5.js} +1 -1
- package/dist/{DefaultView-2P-3baXd.js → DefaultView-CyhHLBCD.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-JrmelmiW.js → DeliveryOrderPrintPreview-BOzx-kfp.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DK8FWZde.js → EmailDialog.vue_vue_type_script_setup_true_lang-Wvxs_biL.js} +3432 -3437
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DSO8GPQh.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CWmS36Up.js} +6 -6
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BX4lkn8x.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CNGKBlwp.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D4ASSJTr.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CWqr4ICd.js} +2 -2
- package/dist/{FmMultiselectDialog-C3KVaJ4n.js → FmMultiselectDialog-A3tJaEBt.js} +2 -2
- package/dist/{FmMultiselectDialog-Cf2O3ZGm.js → FmMultiselectDialog-JvuPIzZ9.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B8Iz9egz.js → FmUnitInput.vue_vue_type_script_setup_true_lang-FATEPxnN.js} +6 -6
- package/dist/{ImportView-BpcbGOsq.js → ImportView-Jok6zpZ0.js} +496 -499
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CPqxv23A.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CxxVwj29.js} +1 -1
- package/dist/{IngredientGroupView-DGiHqjGP.js → IngredientGroupView-BB6OBLUK.js} +5 -5
- package/dist/{IngredientsView-CymfMlp3.js → IngredientsView-DcGhQPOm.js} +17 -18
- package/dist/{IntegrationExplorerView-B4ihljuB.js → IntegrationExplorerView-D8GhmHTT.js} +4 -4
- package/dist/{IntegrationView-DBC5-V2I.js → IntegrationView-QMy0h7t-.js} +925 -912
- package/dist/{InventoryBindingForm-BrC9MQI_.js → InventoryBindingForm-CKvocLMW.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-GcuRE825.js +441 -0
- package/dist/{InventoryBindingSummary-DJnyHxXU.js → InventoryBindingSummary-C8eGVfFI.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cu7JdR_i.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BplA_VhH.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D29jHwzz.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BkvJ-zUb.js} +1 -1
- package/dist/{ProductionView-BFXAINYn.js → ProductionView-DumThbF9.js} +7 -7
- package/dist/{PublishView-C2ZKNjV0.js → PublishView-Dz2d8J5W.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DUaNv22q.js → PurchaseOrderPrintPreview-BWuFnitC.js} +2 -2
- package/dist/{ReceiveRequestView-B0bHSidO.js → ReceiveRequestView-D3RFPv1X.js} +14 -14
- package/dist/RecipeView-8KT5mjQG.js +3584 -0
- package/dist/{SettingsView-GU0zqJPQ.js → SettingsView-D7N5tJ1d.js} +4 -4
- package/dist/{StockView-KEXdcwRV.js → StockView-Du9YBbV4.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CrF431ux.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Oj_EIBiV.js} +1 -1
- package/dist/{SupplierView-J5XPtBtn.js → SupplierView-C3g_atPq.js} +12 -12
- package/dist/{SurchargeView-vbWzu1yC.js → SurchargeView-uumxAdLb.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DO3XuHWt.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DjpAimFP.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CnATZ2gf.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BrDA6x40.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BekwCPEW.js → TransferDetails.vue_vue_type_script_setup_true_lang-DoeW6SAT.js} +1575 -1639
- package/dist/{TransferTemplateView-V4XgaVtH.js → TransferTemplateView-DLTlaG0Q.js} +20 -20
- package/dist/{UnitCostHistoryView-CLC3Bk51.js → UnitCostHistoryView-D7lguCzD.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-QfJddUKl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-B1ULmOk_.js} +4 -4
- package/dist/{UnitView-zdd28Okm.js → UnitView-CiWarwFw.js} +8 -8
- package/dist/{WarehouseView-80yYhx0q.js → WarehouseView-D_viW3um.js} +5 -5
- package/dist/{WastageTemplateView-BdkoxGXU.js → WastageTemplateView-BsGkTDVl.js} +14 -14
- package/dist/api/codemax.d.ts +5 -1
- package/dist/api/purchase-order.d.ts +0 -2
- package/dist/{app-BNb3mgP7.js → app-CmK8hghR.js} +18885 -19669
- package/dist/app.d.ts +9 -900
- package/dist/app.js +1 -1
- package/dist/{closing-template-B0OnLwK4.js → closing-template-DgGSyate.js} +1 -1
- package/dist/{date2-CEZilXJj.js → date2-CQePW31N.js} +5 -5
- package/dist/{dayjs.min-CM9pMep8.js → dayjs.min-lHU_s16T.js} +1 -1
- package/dist/{decimal-C7T3duiU.js → decimal-Q-0yK4sD.js} +2 -2
- package/dist/{defineDeepModel-BqXFlLTg.js → defineDeepModel-DTWu03v1.js} +1 -1
- package/dist/{duplicate-template-DNNNayq0.js → duplicate-template-BVN2zmVh.js} +1 -1
- package/dist/{feature-TVuArq91.js → feature-DskgoIu-.js} +2 -2
- package/dist/{format-time-from-id-BnKJ6XGj.js → format-time-from-id-DFIRpxdl.js} +1 -1
- package/dist/{format-unit-display-CXPWPWDC.js → format-unit-display-DnU4JEjD.js} +27 -27
- package/dist/{import-export.helper-BD5ZmNlI.js → import-export.helper-D7rPvGnr.js} +6 -6
- package/dist/{index-HB5HxMo3.js → index-Ck0KnOaw.js} +33 -27
- package/dist/{index-B6exMf0H.js → index-CzKCjhD3.js} +1 -1
- package/dist/{index-DB5lmTJv.js → index-N5G5c2tx.js} +3232 -3306
- package/dist/{inventory-core-dart.default-DIZjn9Qf.js → inventory-core-dart.default-B_ynwM9E.js} +1 -1
- package/dist/{lz-string-Ba7A8pQ9.js → lz-string-Dqta9kLv.js} +1 -1
- package/dist/{netsuite-DfDg_rIm.js → netsuite-C6tsULzY.js} +2 -3
- package/dist/{number-Da0xDyut.js → number-B_a5obOf.js} +3 -3
- package/dist/{predefined-templates-6OB7_XaD.js → predefined-templates-DQRYYpsy.js} +1 -1
- package/dist/{purchase-order-template-B5tBswYT.js → purchase-order-template-C85h_67x.js} +1 -1
- package/dist/{recalculationUtils-De3fjfMb.js → recalculationUtils-B4_UwPtC.js} +1 -1
- package/dist/{rules-CEMsIT_O.js → rules-CepJg59P.js} +2 -2
- package/dist/{stock-v1xKxzUF.js → stock-CXK2UPZu.js} +1 -1
- package/dist/{stock-B8Es7Hve.js → stock-Cz3EmZVG.js} +3 -3
- package/dist/stores/bulk-job.d.ts +0 -13
- package/dist/style.css +1 -1
- package/dist/{supplier-CutnfZkn.js → supplier-CeTkaUn4.js} +2 -2
- package/dist/{surcharge-B_J4MXnT.js → surcharge-CZZH4mHP.js} +8 -8
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-iPENmQml.js → uom-rules-T1KgfW3u.js} +1 -1
- package/dist/{use-ingredient-select-dialog-pf4BGGJC.js → use-ingredient-select-dialog-BwIL8Qbe.js} +2 -2
- package/dist/{use-inventory-binding-dialog-EQZqHiBh.js → use-inventory-binding-dialog-D41PpdND.js} +2 -2
- package/dist/{use-template-enabled-locations-BBWgOLck.js → use-template-enabled-locations-BMX79cCz.js} +2 -2
- package/dist/{use-transfer-locations-BN_jm_Uj.js → use-transfer-locations-DXULS6Qy.js} +2 -2
- package/dist/{useHrmPermission-C0Uv8j0R.js → useHrmPermission-Cbo_q33w.js} +1 -1
- package/dist/{useNavigationMenu-DK7Fgr5l.js → useNavigationMenu-DrDBMCyh.js} +2 -2
- package/dist/{useSseClient-EppRU129.js → useSseClient-BBQaDkMe.js} +1 -1
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -2
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -2
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +0 -4
- package/dist/views/receive-request/components/email-dialog/EmailDialogProps.d.ts +9 -23
- package/dist/views/recipe/composables/use-recipe-table.d.ts +0 -11
- package/dist/{vue-i18n-CKFIvxhf.js → vue-i18n-AIAscLzr.js} +421 -421
- package/dist/{xlsx.util-DIO7WN8q.js → xlsx.util-Bws7po4u.js} +2 -2
- package/package.json +5 -5
- package/dist/App-Bte0vWY7.js +0 -1434
- package/dist/BulkReceiveRequestView-Bt_Kz7Pw.js +0 -2657
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CHTlQULY.js +0 -563
- package/dist/RecipeView-D8lfLSJW.js +0 -3625
- package/dist/api/changelog.d.ts +0 -132
- package/dist/views/changelog/components/ChangelogDialog.vue.d.ts +0 -19
- package/dist/views/changelog/components/ChangelogFloatingButton.vue.d.ts +0 -2
- package/dist/views/changelog/components/ChangelogPanel.spec.d.ts +0 -1
- package/dist/views/changelog/components/ChangelogPanel.vue.d.ts +0 -20
- package/dist/views/changelog/composables/change-path.d.ts +0 -10
- package/dist/views/changelog/composables/commit-message.d.ts +0 -9
- package/dist/views/changelog/composables/commit-message.spec.d.ts +0 -1
- package/dist/views/changelog/composables/json-line-diff.d.ts +0 -10
- package/dist/views/changelog/composables/json-line-diff.spec.d.ts +0 -1
- package/dist/views/changelog/composables/use-changelog.d.ts +0 -90
- package/dist/views/changelog/composables/use-changelog.spec.d.ts +0 -1
- package/dist/views/changelog/composables/use-inventory-record-commits.d.ts +0 -97
- package/dist/views/changelog/composables/use-inventory-record-commits.spec.d.ts +0 -1
- package/dist/views/changelog/composables/use-snapshot-diff.d.ts +0 -29
- package/dist/views/changelog/composables/use-snapshot-diff.spec.d.ts +0 -1
- package/dist/views/changelog/composables/value-tree.d.ts +0 -14
- package/dist/views/changelog/composables/value-tree.spec.d.ts +0 -1
- package/dist/views/import/helper/submit-rows.d.ts +0 -13
- package/dist/views/import/helper/submit-rows.spec.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/RecipeBindingBreakdown.vue.d.ts +0 -25
- package/dist/views/ingredients/components/inventory-binding/composables/recipe-breakdown.d.ts +0 -34
- package/dist/views/ingredients/components/inventory-binding/composables/recipe-breakdown.spec.d.ts +0 -1
- package/dist/views/receive-request/components/email-dialog/EmailDialog.spec.d.ts +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { getCurrentInstance as fn, inject as
|
|
1
|
+
import { getCurrentInstance as fn, inject as dt, ref as Et, shallowRef as gt, computed as he, watch as On, onMounted as Tt, onUnmounted as ht, defineComponent as mn, h as qn, createVNode as Nt, Text as bt, Fragment as Qn } from "vue";
|
|
2
2
|
import "@vue/devtools-api";
|
|
3
3
|
/*!
|
|
4
4
|
* shared v10.0.5
|
|
5
5
|
* (c) 2024 kazuya kawaguchi
|
|
6
6
|
* Released under the MIT License.
|
|
7
7
|
*/
|
|
8
|
-
const Ln = typeof window < "u", ie = (e, n = !1) => n ? Symbol.for(e) : Symbol(e),
|
|
8
|
+
const Ln = typeof window < "u", ie = (e, n = !1) => n ? Symbol.for(e) : Symbol(e), It = (e, n, t) => Ot({ l: e, k: n, s: t }), Ot = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), x = (e) => typeof e == "number" && isFinite(e), Lt = (e) => pn(e) === "[object Date]", Pe = (e) => pn(e) === "[object RegExp]", Ue = (e) => D(e) && Object.keys(e).length === 0, K = Object.assign, kt = Object.create, U = (e = null) => kt(e);
|
|
9
9
|
let kn;
|
|
10
10
|
const ce = () => kn || (kn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : U());
|
|
11
11
|
function vn(e) {
|
|
@@ -15,14 +15,14 @@ const vt = Object.prototype.hasOwnProperty;
|
|
|
15
15
|
function Q(e, n) {
|
|
16
16
|
return vt.call(e, n);
|
|
17
17
|
}
|
|
18
|
-
const
|
|
19
|
-
function
|
|
18
|
+
const Y = Array.isArray, w = (e) => typeof e == "function", O = (e) => typeof e == "string", B = (e) => typeof e == "boolean", P = (e) => e !== null && typeof e == "object", yt = (e) => P(e) && w(e.then) && w(e.catch), Zn = Object.prototype.toString, pn = (e) => Zn.call(e), D = (e) => pn(e) === "[object Object]", Rt = (e) => e == null ? "" : Y(e) || D(e) && e.toString === Zn ? JSON.stringify(e, null, 2) : String(e);
|
|
19
|
+
function dn(e, n = "") {
|
|
20
20
|
return e.reduce((t, r, c) => c === 0 ? t + r : t + n + r, "");
|
|
21
21
|
}
|
|
22
22
|
function At(e, n) {
|
|
23
23
|
typeof console < "u" && (console.warn("[intlify] " + e), n && console.warn(n.stack));
|
|
24
24
|
}
|
|
25
|
-
const Ae = (e) => !P(e) ||
|
|
25
|
+
const Ae = (e) => !P(e) || Y(e);
|
|
26
26
|
function De(e, n) {
|
|
27
27
|
if (Ae(e) || Ae(n))
|
|
28
28
|
throw new Error("Invalid value");
|
|
@@ -70,8 +70,8 @@ const ee = " ", Pt = "\r", X = `
|
|
|
70
70
|
function Ft(e) {
|
|
71
71
|
const n = e;
|
|
72
72
|
let t = 0, r = 1, c = 1, o = 0;
|
|
73
|
-
const l = (T) => n[T] === Pt && n[T + 1] === X, f = (T) => n[T] === X, _ = (T) => n[T] === Ut, g = (T) => n[T] === Mt, k = (T) => l(T) || f(T) || _(T) || g(T), L = () => t, N = () => r, A = () => c, S = () => o, v = (T) => l(T) || _(T) || g(T) ? X : n[T],
|
|
74
|
-
function
|
|
73
|
+
const l = (T) => n[T] === Pt && n[T + 1] === X, f = (T) => n[T] === X, _ = (T) => n[T] === Ut, g = (T) => n[T] === Mt, k = (T) => l(T) || f(T) || _(T) || g(T), L = () => t, N = () => r, A = () => c, S = () => o, v = (T) => l(T) || _(T) || g(T) ? X : n[T], y = () => v(t), i = () => v(t + o);
|
|
74
|
+
function d() {
|
|
75
75
|
return o = 0, k(t) && (r++, c = 0), l(t) && t++, t++, c++, n[t];
|
|
76
76
|
}
|
|
77
77
|
function h() {
|
|
@@ -80,13 +80,13 @@ function Ft(e) {
|
|
|
80
80
|
function m() {
|
|
81
81
|
t = 0, r = 1, c = 1, o = 0;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function I(T = 0) {
|
|
84
84
|
o = T;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function b() {
|
|
87
87
|
const T = t + o;
|
|
88
88
|
for (; T !== t; )
|
|
89
|
-
|
|
89
|
+
d();
|
|
90
90
|
o = 0;
|
|
91
91
|
}
|
|
92
92
|
return {
|
|
@@ -95,16 +95,16 @@ function Ft(e) {
|
|
|
95
95
|
column: A,
|
|
96
96
|
peekOffset: S,
|
|
97
97
|
charAt: v,
|
|
98
|
-
currentChar:
|
|
98
|
+
currentChar: y,
|
|
99
99
|
currentPeek: i,
|
|
100
|
-
next:
|
|
100
|
+
next: d,
|
|
101
101
|
peek: h,
|
|
102
102
|
reset: m,
|
|
103
|
-
resetPeek:
|
|
104
|
-
skipToPeek:
|
|
103
|
+
resetPeek: I,
|
|
104
|
+
skipToPeek: b
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
const re = void 0, wt = ".",
|
|
107
|
+
const re = void 0, wt = ".", yn = "'", Ht = "tokenizer";
|
|
108
108
|
function Gt(e, n = {}) {
|
|
109
109
|
const t = n.location !== !1, r = Ft(e), c = () => r.index(), o = () => St(r.line(), r.column(), r.index()), l = o(), f = c(), _ = {
|
|
110
110
|
currentType: 13,
|
|
@@ -119,20 +119,20 @@ function Gt(e, n = {}) {
|
|
|
119
119
|
inLinked: !1,
|
|
120
120
|
text: ""
|
|
121
121
|
}, g = () => _, { onError: k } = n;
|
|
122
|
-
function L(s, a,
|
|
122
|
+
function L(s, a, p, ...R) {
|
|
123
123
|
const V = g();
|
|
124
|
-
if (a.column +=
|
|
124
|
+
if (a.column += p, a.offset += p, k) {
|
|
125
125
|
const C = t ? tn(V.startLoc, a) : null, u = Fe(s, C, {
|
|
126
126
|
domain: Ht,
|
|
127
|
-
args:
|
|
127
|
+
args: R
|
|
128
128
|
});
|
|
129
129
|
k(u);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
function N(s, a,
|
|
132
|
+
function N(s, a, p) {
|
|
133
133
|
s.endLoc = o(), s.currentType = a;
|
|
134
|
-
const
|
|
135
|
-
return t && (
|
|
134
|
+
const R = { type: a };
|
|
135
|
+
return t && (R.loc = tn(s.startLoc, s.endLoc)), p != null && (R.value = p), R;
|
|
136
136
|
}
|
|
137
137
|
const A = (s) => N(
|
|
138
138
|
s,
|
|
@@ -148,7 +148,7 @@ function Gt(e, n = {}) {
|
|
|
148
148
|
a += s.currentPeek(), s.peek();
|
|
149
149
|
return a;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function y(s) {
|
|
152
152
|
const a = v(s);
|
|
153
153
|
return s.skipToPeek(), a;
|
|
154
154
|
}
|
|
@@ -160,68 +160,68 @@ function Gt(e, n = {}) {
|
|
|
160
160
|
a >= 65 && a <= 90 || // A-Z
|
|
161
161
|
a === 95;
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function d(s) {
|
|
164
164
|
if (s === re)
|
|
165
165
|
return !1;
|
|
166
166
|
const a = s.charCodeAt(0);
|
|
167
167
|
return a >= 48 && a <= 57;
|
|
168
168
|
}
|
|
169
169
|
function h(s, a) {
|
|
170
|
-
const { currentType:
|
|
171
|
-
if (
|
|
170
|
+
const { currentType: p } = a;
|
|
171
|
+
if (p !== 2)
|
|
172
172
|
return !1;
|
|
173
173
|
v(s);
|
|
174
|
-
const
|
|
175
|
-
return s.resetPeek(),
|
|
174
|
+
const R = i(s.currentPeek());
|
|
175
|
+
return s.resetPeek(), R;
|
|
176
176
|
}
|
|
177
177
|
function m(s, a) {
|
|
178
|
-
const { currentType:
|
|
179
|
-
if (
|
|
178
|
+
const { currentType: p } = a;
|
|
179
|
+
if (p !== 2)
|
|
180
180
|
return !1;
|
|
181
181
|
v(s);
|
|
182
|
-
const
|
|
182
|
+
const R = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), V = d(R);
|
|
183
183
|
return s.resetPeek(), V;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
const { currentType:
|
|
187
|
-
if (
|
|
185
|
+
function I(s, a) {
|
|
186
|
+
const { currentType: p } = a;
|
|
187
|
+
if (p !== 2)
|
|
188
188
|
return !1;
|
|
189
189
|
v(s);
|
|
190
|
-
const
|
|
191
|
-
return s.resetPeek(),
|
|
190
|
+
const R = s.currentPeek() === yn;
|
|
191
|
+
return s.resetPeek(), R;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
const { currentType:
|
|
195
|
-
if (
|
|
193
|
+
function b(s, a) {
|
|
194
|
+
const { currentType: p } = a;
|
|
195
|
+
if (p !== 7)
|
|
196
196
|
return !1;
|
|
197
197
|
v(s);
|
|
198
|
-
const
|
|
199
|
-
return s.resetPeek(),
|
|
198
|
+
const R = s.currentPeek() === ".";
|
|
199
|
+
return s.resetPeek(), R;
|
|
200
200
|
}
|
|
201
201
|
function T(s, a) {
|
|
202
|
-
const { currentType:
|
|
203
|
-
if (
|
|
202
|
+
const { currentType: p } = a;
|
|
203
|
+
if (p !== 8)
|
|
204
204
|
return !1;
|
|
205
205
|
v(s);
|
|
206
|
-
const
|
|
207
|
-
return s.resetPeek(),
|
|
206
|
+
const R = i(s.currentPeek());
|
|
207
|
+
return s.resetPeek(), R;
|
|
208
208
|
}
|
|
209
209
|
function H(s, a) {
|
|
210
|
-
const { currentType:
|
|
211
|
-
if (!(
|
|
210
|
+
const { currentType: p } = a;
|
|
211
|
+
if (!(p === 7 || p === 11))
|
|
212
212
|
return !1;
|
|
213
213
|
v(s);
|
|
214
|
-
const
|
|
215
|
-
return s.resetPeek(),
|
|
214
|
+
const R = s.currentPeek() === ":";
|
|
215
|
+
return s.resetPeek(), R;
|
|
216
216
|
}
|
|
217
217
|
function G(s, a) {
|
|
218
|
-
const { currentType:
|
|
219
|
-
if (
|
|
218
|
+
const { currentType: p } = a;
|
|
219
|
+
if (p !== 9)
|
|
220
220
|
return !1;
|
|
221
|
-
const
|
|
221
|
+
const R = () => {
|
|
222
222
|
const C = s.currentPeek();
|
|
223
|
-
return C === "{" ? i(s.peek()) : C === "@" || C === "|" || C === ":" || C === "." || C === ee || !C ? !1 : C === X ? (s.peek(),
|
|
224
|
-
}, V =
|
|
223
|
+
return C === "{" ? i(s.peek()) : C === "@" || C === "|" || C === ":" || C === "." || C === ee || !C ? !1 : C === X ? (s.peek(), R()) : q(s, !1);
|
|
224
|
+
}, V = R();
|
|
225
225
|
return s.resetPeek(), V;
|
|
226
226
|
}
|
|
227
227
|
function $(s) {
|
|
@@ -230,15 +230,15 @@ function Gt(e, n = {}) {
|
|
|
230
230
|
return s.resetPeek(), a;
|
|
231
231
|
}
|
|
232
232
|
function q(s, a = !0) {
|
|
233
|
-
const
|
|
233
|
+
const p = (V = !1, C = "") => {
|
|
234
234
|
const u = s.currentPeek();
|
|
235
|
-
return u === "{" || u === "@" || !u ? V : u === "|" ? !(C === ee || C === X) : u === ee ? (s.peek(),
|
|
236
|
-
},
|
|
237
|
-
return a && s.resetPeek(),
|
|
235
|
+
return u === "{" || u === "@" || !u ? V : u === "|" ? !(C === ee || C === X) : u === ee ? (s.peek(), p(!0, ee)) : u === X ? (s.peek(), p(!0, X)) : !0;
|
|
236
|
+
}, R = p();
|
|
237
|
+
return a && s.resetPeek(), R;
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
const
|
|
241
|
-
return
|
|
239
|
+
function j(s, a) {
|
|
240
|
+
const p = s.currentChar();
|
|
241
|
+
return p === re ? re : a(p) ? (s.next(), p) : null;
|
|
242
242
|
}
|
|
243
243
|
function le(s) {
|
|
244
244
|
const a = s.charCodeAt(0);
|
|
@@ -249,7 +249,7 @@ function Gt(e, n = {}) {
|
|
|
249
249
|
a === 36;
|
|
250
250
|
}
|
|
251
251
|
function He(s) {
|
|
252
|
-
return
|
|
252
|
+
return j(s, le);
|
|
253
253
|
}
|
|
254
254
|
function Ge(s) {
|
|
255
255
|
const a = s.charCodeAt(0);
|
|
@@ -261,14 +261,14 @@ function Gt(e, n = {}) {
|
|
|
261
261
|
a === 45;
|
|
262
262
|
}
|
|
263
263
|
function Ve(s) {
|
|
264
|
-
return
|
|
264
|
+
return j(s, Ge);
|
|
265
265
|
}
|
|
266
266
|
function We(s) {
|
|
267
267
|
const a = s.charCodeAt(0);
|
|
268
268
|
return a >= 48 && a <= 57;
|
|
269
269
|
}
|
|
270
270
|
function Be(s) {
|
|
271
|
-
return
|
|
271
|
+
return j(s, We);
|
|
272
272
|
}
|
|
273
273
|
function z(s) {
|
|
274
274
|
const a = s.charCodeAt(0);
|
|
@@ -277,55 +277,55 @@ function Gt(e, n = {}) {
|
|
|
277
277
|
a >= 97 && a <= 102;
|
|
278
278
|
}
|
|
279
279
|
function ke(s) {
|
|
280
|
-
return
|
|
280
|
+
return j(s, z);
|
|
281
281
|
}
|
|
282
282
|
function ve(s) {
|
|
283
|
-
let a = "",
|
|
283
|
+
let a = "", p = "";
|
|
284
284
|
for (; a = Be(s); )
|
|
285
|
-
|
|
286
|
-
return
|
|
285
|
+
p += a;
|
|
286
|
+
return p;
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Ye(s) {
|
|
289
289
|
let a = "";
|
|
290
290
|
for (; ; ) {
|
|
291
|
-
const
|
|
292
|
-
if (
|
|
291
|
+
const p = s.currentChar();
|
|
292
|
+
if (p === "{" || p === "}" || p === "@" || p === "|" || !p)
|
|
293
293
|
break;
|
|
294
|
-
if (
|
|
294
|
+
if (p === ee || p === X)
|
|
295
295
|
if (q(s))
|
|
296
|
-
a +=
|
|
296
|
+
a += p, s.next();
|
|
297
297
|
else {
|
|
298
298
|
if ($(s))
|
|
299
299
|
break;
|
|
300
|
-
a +=
|
|
300
|
+
a += p, s.next();
|
|
301
301
|
}
|
|
302
302
|
else
|
|
303
|
-
a +=
|
|
303
|
+
a += p, s.next();
|
|
304
304
|
}
|
|
305
305
|
return a;
|
|
306
306
|
}
|
|
307
|
-
function
|
|
308
|
-
|
|
309
|
-
let a = "",
|
|
307
|
+
function je(s) {
|
|
308
|
+
y(s);
|
|
309
|
+
let a = "", p = "";
|
|
310
310
|
for (; a = Ve(s); )
|
|
311
|
-
|
|
312
|
-
return s.currentChar() === re && L(M.UNTERMINATED_CLOSING_BRACE, o(), 0),
|
|
311
|
+
p += a;
|
|
312
|
+
return s.currentChar() === re && L(M.UNTERMINATED_CLOSING_BRACE, o(), 0), p;
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
|
|
314
|
+
function xe(s) {
|
|
315
|
+
y(s);
|
|
316
316
|
let a = "";
|
|
317
317
|
return s.currentChar() === "-" ? (s.next(), a += `-${ve(s)}`) : a += ve(s), s.currentChar() === re && L(M.UNTERMINATED_CLOSING_BRACE, o(), 0), a;
|
|
318
318
|
}
|
|
319
|
-
function
|
|
320
|
-
return s !==
|
|
319
|
+
function In(s) {
|
|
320
|
+
return s !== yn && s !== X;
|
|
321
321
|
}
|
|
322
322
|
function Ke(s) {
|
|
323
|
-
|
|
324
|
-
let a = "",
|
|
325
|
-
for (; a =
|
|
326
|
-
a === "\\" ?
|
|
327
|
-
const
|
|
328
|
-
return
|
|
323
|
+
y(s), S(s, "'");
|
|
324
|
+
let a = "", p = "";
|
|
325
|
+
for (; a = j(s, In); )
|
|
326
|
+
a === "\\" ? p += Xe(s) : p += a;
|
|
327
|
+
const R = s.currentChar();
|
|
328
|
+
return R === X || R === re ? (L(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), R === X && (s.next(), S(s, "'")), p) : (S(s, "'"), p);
|
|
329
329
|
}
|
|
330
330
|
function Xe(s) {
|
|
331
331
|
const a = s.currentChar();
|
|
@@ -334,128 +334,128 @@ function Gt(e, n = {}) {
|
|
|
334
334
|
case "'":
|
|
335
335
|
return s.next(), `\\${a}`;
|
|
336
336
|
case "u":
|
|
337
|
-
return
|
|
337
|
+
return ye(s, a, 4);
|
|
338
338
|
case "U":
|
|
339
|
-
return
|
|
339
|
+
return ye(s, a, 6);
|
|
340
340
|
default:
|
|
341
341
|
return L(M.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, a), "";
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function ye(s, a, p) {
|
|
345
345
|
S(s, a);
|
|
346
|
-
let
|
|
347
|
-
for (let V = 0; V <
|
|
346
|
+
let R = "";
|
|
347
|
+
for (let V = 0; V < p; V++) {
|
|
348
348
|
const C = ke(s);
|
|
349
349
|
if (!C) {
|
|
350
|
-
L(M.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${a}${
|
|
350
|
+
L(M.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${a}${R}${s.currentChar()}`);
|
|
351
351
|
break;
|
|
352
352
|
}
|
|
353
|
-
|
|
353
|
+
R += C;
|
|
354
354
|
}
|
|
355
|
-
return `\\${a}${
|
|
355
|
+
return `\\${a}${R}`;
|
|
356
356
|
}
|
|
357
357
|
function $e(s) {
|
|
358
358
|
return s !== "{" && s !== "}" && s !== ee && s !== X;
|
|
359
359
|
}
|
|
360
360
|
function Je(s) {
|
|
361
|
-
|
|
362
|
-
let a = "",
|
|
363
|
-
for (; a =
|
|
364
|
-
|
|
365
|
-
return
|
|
361
|
+
y(s);
|
|
362
|
+
let a = "", p = "";
|
|
363
|
+
for (; a = j(s, $e); )
|
|
364
|
+
p += a;
|
|
365
|
+
return p;
|
|
366
366
|
}
|
|
367
367
|
function qe(s) {
|
|
368
|
-
let a = "",
|
|
368
|
+
let a = "", p = "";
|
|
369
369
|
for (; a = He(s); )
|
|
370
|
-
|
|
371
|
-
return
|
|
370
|
+
p += a;
|
|
371
|
+
return p;
|
|
372
372
|
}
|
|
373
373
|
function Qe(s) {
|
|
374
|
-
const a = (
|
|
375
|
-
const
|
|
376
|
-
return
|
|
374
|
+
const a = (p) => {
|
|
375
|
+
const R = s.currentChar();
|
|
376
|
+
return R === "{" || R === "@" || R === "|" || R === "(" || R === ")" || !R || R === ee ? p : (p += R, s.next(), a(p));
|
|
377
377
|
};
|
|
378
378
|
return a("");
|
|
379
379
|
}
|
|
380
380
|
function ge(s) {
|
|
381
|
-
|
|
381
|
+
y(s);
|
|
382
382
|
const a = S(
|
|
383
383
|
s,
|
|
384
384
|
"|"
|
|
385
385
|
/* TokenChars.Pipe */
|
|
386
386
|
);
|
|
387
|
-
return
|
|
387
|
+
return y(s), a;
|
|
388
388
|
}
|
|
389
389
|
function ue(s, a) {
|
|
390
|
-
let
|
|
390
|
+
let p = null;
|
|
391
391
|
switch (s.currentChar()) {
|
|
392
392
|
case "{":
|
|
393
|
-
return a.braceNest >= 1 && L(M.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), s.next(),
|
|
393
|
+
return a.braceNest >= 1 && L(M.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), s.next(), p = N(
|
|
394
394
|
a,
|
|
395
395
|
2,
|
|
396
396
|
"{"
|
|
397
397
|
/* TokenChars.BraceLeft */
|
|
398
|
-
),
|
|
398
|
+
), y(s), a.braceNest++, p;
|
|
399
399
|
case "}":
|
|
400
|
-
return a.braceNest > 0 && a.currentType === 2 && L(M.EMPTY_PLACEHOLDER, o(), 0), s.next(),
|
|
400
|
+
return a.braceNest > 0 && a.currentType === 2 && L(M.EMPTY_PLACEHOLDER, o(), 0), s.next(), p = N(
|
|
401
401
|
a,
|
|
402
402
|
3,
|
|
403
403
|
"}"
|
|
404
404
|
/* TokenChars.BraceRight */
|
|
405
|
-
), a.braceNest--, a.braceNest > 0 &&
|
|
405
|
+
), a.braceNest--, a.braceNest > 0 && y(s), a.inLinked && a.braceNest === 0 && (a.inLinked = !1), p;
|
|
406
406
|
case "@":
|
|
407
|
-
return a.braceNest > 0 && L(M.UNTERMINATED_CLOSING_BRACE, o(), 0),
|
|
407
|
+
return a.braceNest > 0 && L(M.UNTERMINATED_CLOSING_BRACE, o(), 0), p = _e(s, a) || A(a), a.braceNest = 0, p;
|
|
408
408
|
default: {
|
|
409
409
|
let V = !0, C = !0, u = !0;
|
|
410
410
|
if ($(s))
|
|
411
|
-
return a.braceNest > 0 && L(M.UNTERMINATED_CLOSING_BRACE, o(), 0),
|
|
411
|
+
return a.braceNest > 0 && L(M.UNTERMINATED_CLOSING_BRACE, o(), 0), p = N(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, p;
|
|
412
412
|
if (a.braceNest > 0 && (a.currentType === 4 || a.currentType === 5 || a.currentType === 6))
|
|
413
413
|
return L(M.UNTERMINATED_CLOSING_BRACE, o(), 0), a.braceNest = 0, Te(s, a);
|
|
414
414
|
if (V = h(s, a))
|
|
415
|
-
return
|
|
415
|
+
return p = N(a, 4, je(s)), y(s), p;
|
|
416
416
|
if (C = m(s, a))
|
|
417
|
-
return
|
|
418
|
-
if (u =
|
|
419
|
-
return
|
|
417
|
+
return p = N(a, 5, xe(s)), y(s), p;
|
|
418
|
+
if (u = I(s, a))
|
|
419
|
+
return p = N(a, 6, Ke(s)), y(s), p;
|
|
420
420
|
if (!V && !C && !u)
|
|
421
|
-
return
|
|
421
|
+
return p = N(a, 12, Je(s)), L(M.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, p.value), y(s), p;
|
|
422
422
|
break;
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
return
|
|
425
|
+
return p;
|
|
426
426
|
}
|
|
427
427
|
function _e(s, a) {
|
|
428
|
-
const { currentType:
|
|
429
|
-
let
|
|
428
|
+
const { currentType: p } = a;
|
|
429
|
+
let R = null;
|
|
430
430
|
const V = s.currentChar();
|
|
431
|
-
switch ((
|
|
431
|
+
switch ((p === 7 || p === 8 || p === 11 || p === 9) && (V === X || V === ee) && L(M.INVALID_LINKED_FORMAT, o(), 0), V) {
|
|
432
432
|
case "@":
|
|
433
|
-
return s.next(),
|
|
433
|
+
return s.next(), R = N(
|
|
434
434
|
a,
|
|
435
435
|
7,
|
|
436
436
|
"@"
|
|
437
437
|
/* TokenChars.LinkedAlias */
|
|
438
|
-
), a.inLinked = !0,
|
|
438
|
+
), a.inLinked = !0, R;
|
|
439
439
|
case ".":
|
|
440
|
-
return
|
|
440
|
+
return y(s), s.next(), N(
|
|
441
441
|
a,
|
|
442
442
|
8,
|
|
443
443
|
"."
|
|
444
444
|
/* TokenChars.LinkedDot */
|
|
445
445
|
);
|
|
446
446
|
case ":":
|
|
447
|
-
return
|
|
447
|
+
return y(s), s.next(), N(
|
|
448
448
|
a,
|
|
449
449
|
9,
|
|
450
450
|
":"
|
|
451
451
|
/* TokenChars.LinkedDelimiter */
|
|
452
452
|
);
|
|
453
453
|
default:
|
|
454
|
-
return $(s) ? (
|
|
454
|
+
return $(s) ? (R = N(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, R) : b(s, a) || H(s, a) ? (y(s), _e(s, a)) : T(s, a) ? (y(s), N(a, 11, qe(s))) : G(s, a) ? (y(s), V === "{" ? ue(s, a) || R : N(a, 10, Qe(s))) : (p === 7 && L(M.INVALID_LINKED_FORMAT, o(), 0), a.braceNest = 0, a.inLinked = !1, Te(s, a));
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
function Te(s, a) {
|
|
458
|
-
let
|
|
458
|
+
let p = {
|
|
459
459
|
type: 13
|
|
460
460
|
/* TokenTypes.EOF */
|
|
461
461
|
};
|
|
@@ -477,17 +477,17 @@ function Gt(e, n = {}) {
|
|
|
477
477
|
return _e(s, a) || A(a);
|
|
478
478
|
default: {
|
|
479
479
|
if ($(s))
|
|
480
|
-
return
|
|
480
|
+
return p = N(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, p;
|
|
481
481
|
if (q(s))
|
|
482
|
-
return N(a, 0,
|
|
482
|
+
return N(a, 0, Ye(s));
|
|
483
483
|
break;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
return
|
|
486
|
+
return p;
|
|
487
487
|
}
|
|
488
488
|
function Ze() {
|
|
489
|
-
const { currentType: s, offset: a, startLoc:
|
|
490
|
-
return _.lastType = s, _.lastOffset = a, _.lastStartLoc =
|
|
489
|
+
const { currentType: s, offset: a, startLoc: p, endLoc: R } = _;
|
|
490
|
+
return _.lastType = s, _.lastOffset = a, _.lastStartLoc = p, _.lastEndLoc = R, _.offset = c(), _.startLoc = o(), r.currentChar() === re ? N(
|
|
491
491
|
_,
|
|
492
492
|
13
|
|
493
493
|
/* TokenTypes.EOF */
|
|
@@ -513,78 +513,78 @@ function Bt(e, n, t) {
|
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Yt(e = {}) {
|
|
517
517
|
const n = e.location !== !1, { onError: t } = e;
|
|
518
|
-
function r(i,
|
|
519
|
-
const
|
|
520
|
-
if (
|
|
521
|
-
const T = n ? tn(h,
|
|
518
|
+
function r(i, d, h, m, ...I) {
|
|
519
|
+
const b = i.currentPosition();
|
|
520
|
+
if (b.offset += m, b.column += m, t) {
|
|
521
|
+
const T = n ? tn(h, b) : null, H = Fe(d, T, {
|
|
522
522
|
domain: Vt,
|
|
523
|
-
args:
|
|
523
|
+
args: I
|
|
524
524
|
});
|
|
525
525
|
t(H);
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
|
-
function c(i,
|
|
528
|
+
function c(i, d, h) {
|
|
529
529
|
const m = { type: i };
|
|
530
|
-
return n && (m.start =
|
|
530
|
+
return n && (m.start = d, m.end = d, m.loc = { start: h, end: h }), m;
|
|
531
531
|
}
|
|
532
|
-
function o(i,
|
|
533
|
-
n && (i.end =
|
|
532
|
+
function o(i, d, h, m) {
|
|
533
|
+
n && (i.end = d, i.loc && (i.loc.end = h));
|
|
534
534
|
}
|
|
535
|
-
function l(i,
|
|
535
|
+
function l(i, d) {
|
|
536
536
|
const h = i.context(), m = c(3, h.offset, h.startLoc);
|
|
537
|
-
return m.value =
|
|
537
|
+
return m.value = d, o(m, i.currentOffset(), i.currentPosition()), m;
|
|
538
538
|
}
|
|
539
|
-
function f(i,
|
|
540
|
-
const h = i.context(), { lastOffset: m, lastStartLoc:
|
|
541
|
-
return
|
|
539
|
+
function f(i, d) {
|
|
540
|
+
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h, b = c(5, m, I);
|
|
541
|
+
return b.index = parseInt(d, 10), i.nextToken(), o(b, i.currentOffset(), i.currentPosition()), b;
|
|
542
542
|
}
|
|
543
|
-
function _(i,
|
|
544
|
-
const h = i.context(), { lastOffset: m, lastStartLoc:
|
|
545
|
-
return
|
|
543
|
+
function _(i, d) {
|
|
544
|
+
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h, b = c(4, m, I);
|
|
545
|
+
return b.key = d, i.nextToken(), o(b, i.currentOffset(), i.currentPosition()), b;
|
|
546
546
|
}
|
|
547
|
-
function g(i,
|
|
548
|
-
const h = i.context(), { lastOffset: m, lastStartLoc:
|
|
549
|
-
return
|
|
547
|
+
function g(i, d) {
|
|
548
|
+
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h, b = c(9, m, I);
|
|
549
|
+
return b.value = d.replace(Wt, Bt), i.nextToken(), o(b, i.currentOffset(), i.currentPosition()), b;
|
|
550
550
|
}
|
|
551
551
|
function k(i) {
|
|
552
|
-
const
|
|
553
|
-
return
|
|
554
|
-
nextConsumeToken:
|
|
555
|
-
node:
|
|
556
|
-
}) : (
|
|
557
|
-
node:
|
|
552
|
+
const d = i.nextToken(), h = i.context(), { lastOffset: m, lastStartLoc: I } = h, b = c(8, m, I);
|
|
553
|
+
return d.type !== 11 ? (r(i, M.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), b.value = "", o(b, m, I), {
|
|
554
|
+
nextConsumeToken: d,
|
|
555
|
+
node: b
|
|
556
|
+
}) : (d.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Z(d)), b.value = d.value || "", o(b, i.currentOffset(), i.currentPosition()), {
|
|
557
|
+
node: b
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
function L(i,
|
|
560
|
+
function L(i, d) {
|
|
561
561
|
const h = i.context(), m = c(7, h.offset, h.startLoc);
|
|
562
|
-
return m.value =
|
|
562
|
+
return m.value = d, o(m, i.currentOffset(), i.currentPosition()), m;
|
|
563
563
|
}
|
|
564
564
|
function N(i) {
|
|
565
|
-
const
|
|
565
|
+
const d = i.context(), h = c(6, d.offset, d.startLoc);
|
|
566
566
|
let m = i.nextToken();
|
|
567
567
|
if (m.type === 8) {
|
|
568
|
-
const
|
|
569
|
-
h.modifier =
|
|
568
|
+
const I = k(i);
|
|
569
|
+
h.modifier = I.node, m = I.nextConsumeToken || i.nextToken();
|
|
570
570
|
}
|
|
571
|
-
switch (m.type !== 9 && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
571
|
+
switch (m.type !== 9 && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), m = i.nextToken(), m.type === 2 && (m = i.nextToken()), m.type) {
|
|
572
572
|
case 10:
|
|
573
|
-
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
573
|
+
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), h.key = L(i, m.value || "");
|
|
574
574
|
break;
|
|
575
575
|
case 4:
|
|
576
|
-
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
576
|
+
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), h.key = _(i, m.value || "");
|
|
577
577
|
break;
|
|
578
578
|
case 5:
|
|
579
|
-
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
579
|
+
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), h.key = f(i, m.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 6:
|
|
582
|
-
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
582
|
+
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), h.key = g(i, m.value || "");
|
|
583
583
|
break;
|
|
584
584
|
default: {
|
|
585
|
-
r(i, M.UNEXPECTED_EMPTY_LINKED_KEY,
|
|
586
|
-
const
|
|
587
|
-
return
|
|
585
|
+
r(i, M.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
586
|
+
const I = i.context(), b = c(7, I.offset, I.startLoc);
|
|
587
|
+
return b.value = "", o(b, I.offset, I.startLoc), h.key = b, o(h, I.offset, I.startLoc), {
|
|
588
588
|
nextConsumeToken: m,
|
|
589
589
|
node: h
|
|
590
590
|
};
|
|
@@ -595,54 +595,54 @@ function xt(e = {}) {
|
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
function A(i) {
|
|
598
|
-
const
|
|
599
|
-
|
|
600
|
-
let
|
|
598
|
+
const d = i.context(), h = d.currentType === 1 ? i.currentOffset() : d.offset, m = d.currentType === 1 ? d.endLoc : d.startLoc, I = c(2, h, m);
|
|
599
|
+
I.items = [];
|
|
600
|
+
let b = null;
|
|
601
601
|
do {
|
|
602
|
-
const G =
|
|
603
|
-
switch (
|
|
602
|
+
const G = b || i.nextToken();
|
|
603
|
+
switch (b = null, G.type) {
|
|
604
604
|
case 0:
|
|
605
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
605
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)), I.items.push(l(i, G.value || ""));
|
|
606
606
|
break;
|
|
607
607
|
case 5:
|
|
608
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
608
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)), I.items.push(f(i, G.value || ""));
|
|
609
609
|
break;
|
|
610
610
|
case 4:
|
|
611
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
611
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)), I.items.push(_(i, G.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 6:
|
|
614
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
614
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)), I.items.push(g(i, G.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 7: {
|
|
617
617
|
const $ = N(i);
|
|
618
|
-
|
|
618
|
+
I.items.push($.node), b = $.nextConsumeToken || null;
|
|
619
619
|
break;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
} while (
|
|
623
|
-
const T =
|
|
624
|
-
return o(
|
|
625
|
-
}
|
|
626
|
-
function S(i,
|
|
627
|
-
const
|
|
628
|
-
let
|
|
629
|
-
const T = c(1,
|
|
622
|
+
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
623
|
+
const T = d.currentType === 1 ? d.lastOffset : i.currentOffset(), H = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
624
|
+
return o(I, T, H), I;
|
|
625
|
+
}
|
|
626
|
+
function S(i, d, h, m) {
|
|
627
|
+
const I = i.context();
|
|
628
|
+
let b = m.items.length === 0;
|
|
629
|
+
const T = c(1, d, h);
|
|
630
630
|
T.cases = [], T.cases.push(m);
|
|
631
631
|
do {
|
|
632
632
|
const H = A(i);
|
|
633
|
-
|
|
634
|
-
} while (
|
|
635
|
-
return
|
|
633
|
+
b || (b = H.items.length === 0), T.cases.push(H);
|
|
634
|
+
} while (I.currentType !== 13);
|
|
635
|
+
return b && r(i, M.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), o(T, i.currentOffset(), i.currentPosition()), T;
|
|
636
636
|
}
|
|
637
637
|
function v(i) {
|
|
638
|
-
const
|
|
639
|
-
return
|
|
638
|
+
const d = i.context(), { offset: h, startLoc: m } = d, I = A(i);
|
|
639
|
+
return d.currentType === 13 ? I : S(i, h, m, I);
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
const
|
|
643
|
-
return n && m.loc && (m.loc.source = i), m.body = v(
|
|
641
|
+
function y(i) {
|
|
642
|
+
const d = Gt(i, K({}, e)), h = d.context(), m = c(0, h.offset, h.startLoc);
|
|
643
|
+
return n && m.loc && (m.loc.source = i), m.body = v(d), e.onCacheKey && (m.cacheKey = e.onCacheKey(i)), h.currentType !== 13 && r(d, M.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, i[h.offset] || ""), o(m, d.currentOffset(), d.currentPosition()), m;
|
|
644
644
|
}
|
|
645
|
-
return { parse:
|
|
645
|
+
return { parse: y };
|
|
646
646
|
}
|
|
647
647
|
function Z(e) {
|
|
648
648
|
if (e.type === 13)
|
|
@@ -650,27 +650,27 @@ function Z(e) {
|
|
|
650
650
|
const n = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
651
651
|
return n.length > 10 ? n.slice(0, 9) + "…" : n;
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function jt(e, n = {}) {
|
|
654
654
|
const t = {
|
|
655
655
|
ast: e,
|
|
656
656
|
helpers: /* @__PURE__ */ new Set()
|
|
657
657
|
};
|
|
658
658
|
return { context: () => t, helper: (o) => (t.helpers.add(o), o) };
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function Rn(e, n) {
|
|
661
661
|
for (let t = 0; t < e.length; t++)
|
|
662
662
|
En(e[t], n);
|
|
663
663
|
}
|
|
664
664
|
function En(e, n) {
|
|
665
665
|
switch (e.type) {
|
|
666
666
|
case 1:
|
|
667
|
-
|
|
667
|
+
Rn(e.cases, n), n.helper(
|
|
668
668
|
"plural"
|
|
669
669
|
/* HelperNameMap.PLURAL */
|
|
670
670
|
);
|
|
671
671
|
break;
|
|
672
672
|
case 2:
|
|
673
|
-
|
|
673
|
+
Rn(e.items, n);
|
|
674
674
|
break;
|
|
675
675
|
case 6: {
|
|
676
676
|
En(e.key, n), n.helper(
|
|
@@ -702,8 +702,8 @@ function En(e, n) {
|
|
|
702
702
|
break;
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
function
|
|
706
|
-
const t =
|
|
705
|
+
function xt(e, n = {}) {
|
|
706
|
+
const t = jt(e);
|
|
707
707
|
t.helper(
|
|
708
708
|
"normalize"
|
|
709
709
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -728,7 +728,7 @@ function An(e) {
|
|
|
728
728
|
n.push(r.value);
|
|
729
729
|
}
|
|
730
730
|
if (n.length === e.items.length) {
|
|
731
|
-
e.static =
|
|
731
|
+
e.static = dn(n);
|
|
732
732
|
for (let t = 0; t < e.items.length; t++) {
|
|
733
733
|
const r = e.items[t];
|
|
734
734
|
(r.type === 3 || r.type === 9) && delete r.value;
|
|
@@ -797,20 +797,20 @@ function Xt(e, n) {
|
|
|
797
797
|
};
|
|
798
798
|
o && e.loc && (l.source = e.loc.source);
|
|
799
799
|
const f = () => l;
|
|
800
|
-
function _(v,
|
|
800
|
+
function _(v, y) {
|
|
801
801
|
l.code += v;
|
|
802
802
|
}
|
|
803
|
-
function g(v,
|
|
804
|
-
const i =
|
|
803
|
+
function g(v, y = !0) {
|
|
804
|
+
const i = y ? r : "";
|
|
805
805
|
_(c ? i + " ".repeat(v) : i);
|
|
806
806
|
}
|
|
807
807
|
function k(v = !0) {
|
|
808
|
-
const
|
|
809
|
-
v && g(
|
|
808
|
+
const y = ++l.indentLevel;
|
|
809
|
+
v && g(y);
|
|
810
810
|
}
|
|
811
811
|
function L(v = !0) {
|
|
812
|
-
const
|
|
813
|
-
v && g(
|
|
812
|
+
const y = --l.indentLevel;
|
|
813
|
+
v && g(y);
|
|
814
814
|
}
|
|
815
815
|
function N() {
|
|
816
816
|
g(l.indentLevel);
|
|
@@ -830,7 +830,7 @@ function $t(e, n) {
|
|
|
830
830
|
e.push(`${t(
|
|
831
831
|
"linked"
|
|
832
832
|
/* HelperNameMap.LINKED */
|
|
833
|
-
)}(`),
|
|
833
|
+
)}(`), pe(e, n.key), n.modifier ? (e.push(", "), pe(e, n.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
834
834
|
}
|
|
835
835
|
function Jt(e, n) {
|
|
836
836
|
const { helper: t, needIndent: r } = e;
|
|
@@ -839,7 +839,7 @@ function Jt(e, n) {
|
|
|
839
839
|
/* HelperNameMap.NORMALIZE */
|
|
840
840
|
)}([`), e.indent(r());
|
|
841
841
|
const c = n.items.length;
|
|
842
|
-
for (let o = 0; o < c && (
|
|
842
|
+
for (let o = 0; o < c && (pe(e, n.items[o]), o !== c - 1); o++)
|
|
843
843
|
e.push(", ");
|
|
844
844
|
e.deindent(r()), e.push("])");
|
|
845
845
|
}
|
|
@@ -851,15 +851,15 @@ function qt(e, n) {
|
|
|
851
851
|
/* HelperNameMap.PLURAL */
|
|
852
852
|
)}([`), e.indent(r());
|
|
853
853
|
const c = n.cases.length;
|
|
854
|
-
for (let o = 0; o < c && (
|
|
854
|
+
for (let o = 0; o < c && (pe(e, n.cases[o]), o !== c - 1); o++)
|
|
855
855
|
e.push(", ");
|
|
856
856
|
e.deindent(r()), e.push("])");
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
859
|
function Qt(e, n) {
|
|
860
|
-
n.body ?
|
|
860
|
+
n.body ? pe(e, n.body) : e.push("null");
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function pe(e, n) {
|
|
863
863
|
const { helper: t } = e;
|
|
864
864
|
switch (n.type) {
|
|
865
865
|
case 0:
|
|
@@ -907,7 +907,7 @@ function de(e, n) {
|
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
909
|
const Zt = (e, n = {}) => {
|
|
910
|
-
const t =
|
|
910
|
+
const t = O(n.mode) ? n.mode : "normal", r = O(n.filename) ? n.filename : "message.intl";
|
|
911
911
|
n.sourceMap;
|
|
912
912
|
const c = n.breakLineCode != null ? n.breakLineCode : t === "arrow" ? ";" : `
|
|
913
913
|
`, o = n.needIndent ? n.needIndent : t !== "arrow", l = e.helpers || [], f = Xt(e, {
|
|
@@ -915,7 +915,7 @@ const Zt = (e, n = {}) => {
|
|
|
915
915
|
breakLineCode: c,
|
|
916
916
|
needIndent: o
|
|
917
917
|
});
|
|
918
|
-
f.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), f.indent(o), l.length > 0 && (f.push(`const { ${
|
|
918
|
+
f.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), f.indent(o), l.length > 0 && (f.push(`const { ${dn(l.map((k) => `${k}: _${k}`), ", ")} } = ctx`), f.newline()), f.push("return "), pe(f, e), f.deindent(o), f.push("}"), delete e.helpers;
|
|
919
919
|
const { code: _, map: g } = f.context();
|
|
920
920
|
return {
|
|
921
921
|
ast: e,
|
|
@@ -925,8 +925,8 @@ const Zt = (e, n = {}) => {
|
|
|
925
925
|
};
|
|
926
926
|
};
|
|
927
927
|
function zt(e, n = {}) {
|
|
928
|
-
const t = K({}, n), r = !!t.jit, c = !!t.minify, o = t.optimize == null ? !0 : t.optimize, f =
|
|
929
|
-
return r ? (o && Kt(f), c && me(f), { ast: f, code: "" }) : (
|
|
928
|
+
const t = K({}, n), r = !!t.jit, c = !!t.minify, o = t.optimize == null ? !0 : t.optimize, f = Yt(t).parse(e);
|
|
929
|
+
return r ? (o && Kt(f), c && me(f), { ast: f, code: "" }) : (xt(f, t), Zt(f, t));
|
|
930
930
|
}
|
|
931
931
|
var er = { env: { NODE_ENV: "production" } };
|
|
932
932
|
function nr() {
|
|
@@ -938,7 +938,7 @@ function ze(e) {
|
|
|
938
938
|
function tr(e, n) {
|
|
939
939
|
const t = sr(n);
|
|
940
940
|
if (t == null)
|
|
941
|
-
throw
|
|
941
|
+
throw be(
|
|
942
942
|
0
|
|
943
943
|
/* NodeTypes.Resource */
|
|
944
944
|
);
|
|
@@ -989,18 +989,18 @@ function rn(e, n) {
|
|
|
989
989
|
return e.interpolate(e.named(r.k));
|
|
990
990
|
if (Q(r, "key") && r.key)
|
|
991
991
|
return e.interpolate(e.named(r.key));
|
|
992
|
-
throw
|
|
992
|
+
throw be(t);
|
|
993
993
|
}
|
|
994
994
|
case 5: {
|
|
995
995
|
const r = n;
|
|
996
|
-
if (Q(r, "i") &&
|
|
996
|
+
if (Q(r, "i") && x(r.i))
|
|
997
997
|
return e.interpolate(e.list(r.i));
|
|
998
|
-
if (Q(r, "index") &&
|
|
998
|
+
if (Q(r, "index") && x(r.index))
|
|
999
999
|
return e.interpolate(e.list(r.index));
|
|
1000
|
-
throw
|
|
1000
|
+
throw be(t);
|
|
1001
1001
|
}
|
|
1002
1002
|
case 6: {
|
|
1003
|
-
const r = n, c =
|
|
1003
|
+
const r = n, c = pr(r), o = Er(r);
|
|
1004
1004
|
return e.linked(rn(e, o), c ? rn(e, c) : void 0, e.type);
|
|
1005
1005
|
}
|
|
1006
1006
|
case 7:
|
|
@@ -1020,18 +1020,18 @@ function Se(e, n) {
|
|
|
1020
1020
|
const t = se(e, fr);
|
|
1021
1021
|
if (t)
|
|
1022
1022
|
return t;
|
|
1023
|
-
throw
|
|
1023
|
+
throw be(n);
|
|
1024
1024
|
}
|
|
1025
1025
|
const mr = ["m", "modifier"];
|
|
1026
|
-
function
|
|
1026
|
+
function pr(e) {
|
|
1027
1027
|
return se(e, mr);
|
|
1028
1028
|
}
|
|
1029
|
-
const
|
|
1029
|
+
const dr = ["k", "key"];
|
|
1030
1030
|
function Er(e) {
|
|
1031
|
-
const n = se(e,
|
|
1031
|
+
const n = se(e, dr);
|
|
1032
1032
|
if (n)
|
|
1033
1033
|
return n;
|
|
1034
|
-
throw
|
|
1034
|
+
throw be(
|
|
1035
1035
|
6
|
|
1036
1036
|
/* NodeTypes.Linked */
|
|
1037
1037
|
);
|
|
@@ -1044,12 +1044,12 @@ function se(e, n, t) {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
return t;
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function be(e) {
|
|
1048
1048
|
return new Error(`unhandled node type: ${e}`);
|
|
1049
1049
|
}
|
|
1050
1050
|
const gr = (e) => e;
|
|
1051
1051
|
let Ce = U();
|
|
1052
|
-
function
|
|
1052
|
+
function de(e) {
|
|
1053
1053
|
return P(e) && gn(e) === 0 && (Q(e, "b") || Q(e, "body"));
|
|
1054
1054
|
}
|
|
1055
1055
|
function Tr(e, n = {}) {
|
|
@@ -1061,7 +1061,7 @@ function Tr(e, n = {}) {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
// @__NO_SIDE_EFFECTS__
|
|
1063
1063
|
function hr(e, n) {
|
|
1064
|
-
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ &&
|
|
1064
|
+
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && O(e)) {
|
|
1065
1065
|
B(n.warnHtmlMessage) && n.warnHtmlMessage;
|
|
1066
1066
|
const r = (n.onCacheKey || gr)(e), c = Ce[r];
|
|
1067
1067
|
if (c)
|
|
@@ -1081,21 +1081,21 @@ function hr(e, n) {
|
|
|
1081
1081
|
return ze(e);
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
|
-
let
|
|
1084
|
+
let Ie = null;
|
|
1085
1085
|
function Nr(e) {
|
|
1086
|
-
|
|
1086
|
+
Ie = e;
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1089
|
-
|
|
1088
|
+
function br(e, n, t) {
|
|
1089
|
+
Ie && Ie.emit("i18n:init", {
|
|
1090
1090
|
timestamp: Date.now(),
|
|
1091
1091
|
i18n: e,
|
|
1092
1092
|
version: n,
|
|
1093
1093
|
meta: t
|
|
1094
1094
|
});
|
|
1095
1095
|
}
|
|
1096
|
-
const
|
|
1097
|
-
function
|
|
1098
|
-
return (n) =>
|
|
1096
|
+
const Ir = /* @__PURE__ */ Or("function:translate");
|
|
1097
|
+
function Or(e) {
|
|
1098
|
+
return (n) => Ie && Ie.emit(e, n);
|
|
1099
1099
|
}
|
|
1100
1100
|
const ne = {
|
|
1101
1101
|
INVALID_ARGUMENT: Ct,
|
|
@@ -1114,14 +1114,14 @@ function Tn(e, n) {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
let en;
|
|
1116
1116
|
function Cn(e) {
|
|
1117
|
-
if (
|
|
1117
|
+
if (O(e))
|
|
1118
1118
|
return e;
|
|
1119
1119
|
if (w(e)) {
|
|
1120
1120
|
if (e.resolvedOnce && en != null)
|
|
1121
1121
|
return en;
|
|
1122
1122
|
if (e.constructor.name === "Function") {
|
|
1123
1123
|
const n = e();
|
|
1124
|
-
if (
|
|
1124
|
+
if (yt(n))
|
|
1125
1125
|
throw te(ne.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1126
1126
|
return en = n;
|
|
1127
1127
|
} else
|
|
@@ -1132,20 +1132,20 @@ function Cn(e) {
|
|
|
1132
1132
|
function kr(e, n, t) {
|
|
1133
1133
|
return [.../* @__PURE__ */ new Set([
|
|
1134
1134
|
t,
|
|
1135
|
-
...
|
|
1135
|
+
...Y(n) ? n : P(n) ? Object.keys(n) : O(n) ? [n] : [t]
|
|
1136
1136
|
])];
|
|
1137
1137
|
}
|
|
1138
1138
|
function zn(e, n, t) {
|
|
1139
|
-
const r =
|
|
1139
|
+
const r = O(t) ? t : Me, c = e;
|
|
1140
1140
|
c.__localeChainCache || (c.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1141
1141
|
let o = c.__localeChainCache.get(r);
|
|
1142
1142
|
if (!o) {
|
|
1143
1143
|
o = [];
|
|
1144
1144
|
let l = [t];
|
|
1145
|
-
for (;
|
|
1145
|
+
for (; Y(l); )
|
|
1146
1146
|
l = Dn(o, l, n);
|
|
1147
|
-
const f =
|
|
1148
|
-
l =
|
|
1147
|
+
const f = Y(n) || !D(n) ? n : n.default ? n.default : null;
|
|
1148
|
+
l = O(f) ? [f] : f, Y(l) && Dn(o, l, !1), c.__localeChainCache.set(r, o);
|
|
1149
1149
|
}
|
|
1150
1150
|
return o;
|
|
1151
1151
|
}
|
|
@@ -1153,7 +1153,7 @@ function Dn(e, n, t) {
|
|
|
1153
1153
|
let r = !0;
|
|
1154
1154
|
for (let c = 0; c < n.length && B(r); c++) {
|
|
1155
1155
|
const o = n[c];
|
|
1156
|
-
|
|
1156
|
+
O(o) && (r = vr(e, n[c], t));
|
|
1157
1157
|
}
|
|
1158
1158
|
return r;
|
|
1159
1159
|
}
|
|
@@ -1162,16 +1162,16 @@ function vr(e, n, t) {
|
|
|
1162
1162
|
const c = n.split("-");
|
|
1163
1163
|
do {
|
|
1164
1164
|
const o = c.join("-");
|
|
1165
|
-
r =
|
|
1165
|
+
r = yr(e, o, t), c.splice(-1, 1);
|
|
1166
1166
|
} while (c.length && r === !0);
|
|
1167
1167
|
return r;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function yr(e, n, t) {
|
|
1170
1170
|
let r = !1;
|
|
1171
1171
|
if (!e.includes(n) && (r = !0, n)) {
|
|
1172
1172
|
r = n[n.length - 1] !== "!";
|
|
1173
1173
|
const c = n.replace(/!/g, "");
|
|
1174
|
-
e.push(c), (
|
|
1174
|
+
e.push(c), (Y(t) || D(t)) && t[c] && (r = t[c]);
|
|
1175
1175
|
}
|
|
1176
1176
|
return r;
|
|
1177
1177
|
}
|
|
@@ -1336,9 +1336,9 @@ ae[
|
|
|
1336
1336
|
/* Actions.APPEND */
|
|
1337
1337
|
]
|
|
1338
1338
|
};
|
|
1339
|
-
const
|
|
1339
|
+
const Rr = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1340
1340
|
function Ar(e) {
|
|
1341
|
-
return
|
|
1341
|
+
return Rr.test(e);
|
|
1342
1342
|
}
|
|
1343
1343
|
function Sr(e) {
|
|
1344
1344
|
const n = e.charCodeAt(0), t = e.charCodeAt(e.length - 1);
|
|
@@ -1452,9 +1452,9 @@ function Ur(e, n) {
|
|
|
1452
1452
|
const Fr = "10.0.5", we = -1, Me = "en-US", Mn = "", Un = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1453
1453
|
function wr() {
|
|
1454
1454
|
return {
|
|
1455
|
-
upper: (e, n) => n === "text" &&
|
|
1456
|
-
lower: (e, n) => n === "text" &&
|
|
1457
|
-
capitalize: (e, n) => n === "text" &&
|
|
1455
|
+
upper: (e, n) => n === "text" && O(e) ? e.toUpperCase() : n === "vnode" && P(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1456
|
+
lower: (e, n) => n === "text" && O(e) ? e.toLowerCase() : n === "vnode" && P(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1457
|
+
capitalize: (e, n) => n === "text" && O(e) ? Un(e) : n === "vnode" && P(e) && "__v_isVNode" in e ? Un(e.children) : e
|
|
1458
1458
|
};
|
|
1459
1459
|
}
|
|
1460
1460
|
let et;
|
|
@@ -1476,12 +1476,12 @@ const Wr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
1476
1476
|
let st = null;
|
|
1477
1477
|
const Fn = (e) => {
|
|
1478
1478
|
st = e;
|
|
1479
|
-
},
|
|
1479
|
+
}, Yr = () => st;
|
|
1480
1480
|
let wn = 0;
|
|
1481
|
-
function
|
|
1482
|
-
const n = w(e.onWarn) ? e.onWarn : At, t =
|
|
1481
|
+
function jr(e = {}) {
|
|
1482
|
+
const n = w(e.onWarn) ? e.onWarn : At, t = O(e.version) ? e.version : Fr, r = O(e.locale) || w(e.locale) ? e.locale : Me, c = w(r) ? Me : r, o = Y(e.fallbackLocale) || D(e.fallbackLocale) || O(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, l = D(e.messages) ? e.messages : nn(c), f = D(e.datetimeFormats) ? e.datetimeFormats : nn(c), _ = D(e.numberFormats) ? e.numberFormats : nn(c), g = K(U(), e.modifiers, wr()), k = e.pluralRules || U(), L = w(e.missing) ? e.missing : null, N = B(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = B(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, S = !!e.fallbackFormat, v = !!e.unresolving, y = w(e.postTranslation) ? e.postTranslation : null, i = D(e.processor) ? e.processor : null, d = B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, m = w(e.messageCompiler) ? e.messageCompiler : et, I = w(e.messageResolver) ? e.messageResolver : nt || Mr, b = w(e.localeFallbacker) ? e.localeFallbacker : tt || kr, T = P(e.fallbackContext) ? e.fallbackContext : void 0, H = e, G = P(H.__datetimeFormatters) ? H.__datetimeFormatters : /* @__PURE__ */ new Map(), $ = P(H.__numberFormatters) ? H.__numberFormatters : /* @__PURE__ */ new Map(), q = P(H.__meta) ? H.__meta : {};
|
|
1483
1483
|
wn++;
|
|
1484
|
-
const
|
|
1484
|
+
const j = {
|
|
1485
1485
|
version: t,
|
|
1486
1486
|
cid: wn,
|
|
1487
1487
|
locale: r,
|
|
@@ -1494,25 +1494,25 @@ function Yr(e = {}) {
|
|
|
1494
1494
|
fallbackWarn: A,
|
|
1495
1495
|
fallbackFormat: S,
|
|
1496
1496
|
unresolving: v,
|
|
1497
|
-
postTranslation:
|
|
1497
|
+
postTranslation: y,
|
|
1498
1498
|
processor: i,
|
|
1499
|
-
warnHtmlMessage:
|
|
1499
|
+
warnHtmlMessage: d,
|
|
1500
1500
|
escapeParameter: h,
|
|
1501
1501
|
messageCompiler: m,
|
|
1502
|
-
messageResolver:
|
|
1503
|
-
localeFallbacker:
|
|
1502
|
+
messageResolver: I,
|
|
1503
|
+
localeFallbacker: b,
|
|
1504
1504
|
fallbackContext: T,
|
|
1505
1505
|
onWarn: n,
|
|
1506
1506
|
__meta: q
|
|
1507
1507
|
};
|
|
1508
|
-
return
|
|
1508
|
+
return j.datetimeFormats = f, j.numberFormats = _, j.__datetimeFormatters = G, j.__numberFormatters = $, __INTLIFY_PROD_DEVTOOLS__ && br(j, t, q), j;
|
|
1509
1509
|
}
|
|
1510
1510
|
const nn = (e) => ({ [e]: U() });
|
|
1511
1511
|
function hn(e, n, t, r, c) {
|
|
1512
1512
|
const { missing: o, onWarn: l } = e;
|
|
1513
1513
|
if (o !== null) {
|
|
1514
1514
|
const f = o(e, t, n, c);
|
|
1515
|
-
return
|
|
1515
|
+
return O(f) ? f : n;
|
|
1516
1516
|
} else
|
|
1517
1517
|
return n;
|
|
1518
1518
|
}
|
|
@@ -1520,7 +1520,7 @@ function Ne(e, n, t) {
|
|
|
1520
1520
|
const r = e;
|
|
1521
1521
|
r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, t, n);
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function xr(e, n) {
|
|
1524
1524
|
return e === n ? !1 : e.split("-")[0] === n.split("-")[0];
|
|
1525
1525
|
}
|
|
1526
1526
|
function Kr(e, n) {
|
|
@@ -1528,7 +1528,7 @@ function Kr(e, n) {
|
|
|
1528
1528
|
if (t === -1)
|
|
1529
1529
|
return !1;
|
|
1530
1530
|
for (let r = t + 1; r < n.length; r++)
|
|
1531
|
-
if (
|
|
1531
|
+
if (xr(e, n[r]))
|
|
1532
1532
|
return !0;
|
|
1533
1533
|
return !1;
|
|
1534
1534
|
}
|
|
@@ -1541,18 +1541,18 @@ function Hn(e, ...n) {
|
|
|
1541
1541
|
c,
|
|
1542
1542
|
S
|
|
1543
1543
|
);
|
|
1544
|
-
if (!
|
|
1544
|
+
if (!O(_) || _ === "")
|
|
1545
1545
|
return new Intl.DateTimeFormat(S, L).format(g);
|
|
1546
|
-
let
|
|
1546
|
+
let y = {}, i, d = null;
|
|
1547
1547
|
const h = "datetime format";
|
|
1548
|
-
for (let
|
|
1548
|
+
for (let b = 0; b < v.length && (i = v[b], y = t[i] || {}, d = y[_], !D(d)); b++)
|
|
1549
1549
|
hn(e, _, i, N, h);
|
|
1550
|
-
if (!D(
|
|
1550
|
+
if (!D(d) || !O(i))
|
|
1551
1551
|
return r ? we : _;
|
|
1552
1552
|
let m = `${i}__${_}`;
|
|
1553
1553
|
Ue(L) || (m = `${m}__${JSON.stringify(L)}`);
|
|
1554
|
-
let
|
|
1555
|
-
return
|
|
1554
|
+
let I = f.get(m);
|
|
1555
|
+
return I || (I = new Intl.DateTimeFormat(i, K({}, d, L)), f.set(m, I)), A ? I.formatToParts(g) : I.format(g);
|
|
1556
1556
|
}
|
|
1557
1557
|
const at = [
|
|
1558
1558
|
"localeMatcher",
|
|
@@ -1579,7 +1579,7 @@ const at = [
|
|
|
1579
1579
|
function sn(...e) {
|
|
1580
1580
|
const [n, t, r, c] = e, o = U();
|
|
1581
1581
|
let l = U(), f;
|
|
1582
|
-
if (
|
|
1582
|
+
if (O(n)) {
|
|
1583
1583
|
const _ = n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1584
1584
|
if (!_)
|
|
1585
1585
|
throw te(ne.INVALID_ISO_DATE_ARGUMENT);
|
|
@@ -1594,13 +1594,13 @@ function sn(...e) {
|
|
|
1594
1594
|
if (isNaN(n.getTime()))
|
|
1595
1595
|
throw te(ne.INVALID_DATE_ARGUMENT);
|
|
1596
1596
|
f = n;
|
|
1597
|
-
} else if (
|
|
1597
|
+
} else if (x(n))
|
|
1598
1598
|
f = n;
|
|
1599
1599
|
else
|
|
1600
1600
|
throw te(ne.INVALID_ARGUMENT);
|
|
1601
|
-
return
|
|
1601
|
+
return O(t) ? o.key = t : D(t) && Object.keys(t).forEach((_) => {
|
|
1602
1602
|
at.includes(_) ? l[_] = t[_] : o[_] = t[_];
|
|
1603
|
-
}),
|
|
1603
|
+
}), O(r) ? o.locale = r : D(r) && (l = r), D(c) && (l = c), [o.key || "", f, o, l];
|
|
1604
1604
|
}
|
|
1605
1605
|
function Gn(e, n, t) {
|
|
1606
1606
|
const r = e;
|
|
@@ -1618,18 +1618,18 @@ function Vn(e, ...n) {
|
|
|
1618
1618
|
c,
|
|
1619
1619
|
S
|
|
1620
1620
|
);
|
|
1621
|
-
if (!
|
|
1621
|
+
if (!O(_) || _ === "")
|
|
1622
1622
|
return new Intl.NumberFormat(S, L).format(g);
|
|
1623
|
-
let
|
|
1623
|
+
let y = {}, i, d = null;
|
|
1624
1624
|
const h = "number format";
|
|
1625
|
-
for (let
|
|
1625
|
+
for (let b = 0; b < v.length && (i = v[b], y = t[i] || {}, d = y[_], !D(d)); b++)
|
|
1626
1626
|
hn(e, _, i, N, h);
|
|
1627
|
-
if (!D(
|
|
1627
|
+
if (!D(d) || !O(i))
|
|
1628
1628
|
return r ? we : _;
|
|
1629
1629
|
let m = `${i}__${_}`;
|
|
1630
1630
|
Ue(L) || (m = `${m}__${JSON.stringify(L)}`);
|
|
1631
|
-
let
|
|
1632
|
-
return
|
|
1631
|
+
let I = f.get(m);
|
|
1632
|
+
return I || (I = new Intl.NumberFormat(i, K({}, d, L)), f.set(m, I)), A ? I.formatToParts(g) : I.format(g);
|
|
1633
1633
|
}
|
|
1634
1634
|
const ot = [
|
|
1635
1635
|
"localeMatcher",
|
|
@@ -1656,12 +1656,12 @@ const ot = [
|
|
|
1656
1656
|
function an(...e) {
|
|
1657
1657
|
const [n, t, r, c] = e, o = U();
|
|
1658
1658
|
let l = U();
|
|
1659
|
-
if (!
|
|
1659
|
+
if (!x(n))
|
|
1660
1660
|
throw te(ne.INVALID_ARGUMENT);
|
|
1661
1661
|
const f = n;
|
|
1662
|
-
return
|
|
1662
|
+
return O(t) ? o.key = t : D(t) && Object.keys(t).forEach((_) => {
|
|
1663
1663
|
ot.includes(_) ? l[_] = t[_] : o[_] = t[_];
|
|
1664
|
-
}),
|
|
1664
|
+
}), O(r) ? o.locale = r : D(r) && (l = r), D(c) && (l = c), [o.key || "", f, o, l];
|
|
1665
1665
|
}
|
|
1666
1666
|
function Wn(e, n, t) {
|
|
1667
1667
|
const r = e;
|
|
@@ -1670,38 +1670,38 @@ function Wn(e, n, t) {
|
|
|
1670
1670
|
r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
|
|
1671
1671
|
}
|
|
1672
1672
|
}
|
|
1673
|
-
const Xr = (e) => e, $r = (e) => "", Jr = "text", qr = (e) => e.length === 0 ? "" :
|
|
1673
|
+
const Xr = (e) => e, $r = (e) => "", Jr = "text", qr = (e) => e.length === 0 ? "" : dn(e), Qr = Rt;
|
|
1674
1674
|
function Bn(e, n) {
|
|
1675
1675
|
return e = Math.abs(e), n === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1676
1676
|
}
|
|
1677
1677
|
function Zr(e) {
|
|
1678
|
-
const n =
|
|
1679
|
-
return e.named && (
|
|
1678
|
+
const n = x(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1679
|
+
return e.named && (x(e.named.count) || x(e.named.n)) ? x(e.named.count) ? e.named.count : x(e.named.n) ? e.named.n : n : n;
|
|
1680
1680
|
}
|
|
1681
1681
|
function zr(e, n) {
|
|
1682
1682
|
n.count || (n.count = e), n.n || (n.n = e);
|
|
1683
1683
|
}
|
|
1684
1684
|
function es(e = {}) {
|
|
1685
|
-
const n = e.locale, t = Zr(e), r = P(e.pluralRules) &&
|
|
1686
|
-
|
|
1685
|
+
const n = e.locale, t = Zr(e), r = P(e.pluralRules) && O(n) && w(e.pluralRules[n]) ? e.pluralRules[n] : Bn, c = P(e.pluralRules) && O(n) && w(e.pluralRules[n]) ? Bn : void 0, o = (i) => i[r(t, i.length, c)], l = e.list || [], f = (i) => l[i], _ = e.named || U();
|
|
1686
|
+
x(e.pluralIndex) && zr(t, _);
|
|
1687
1687
|
const g = (i) => _[i];
|
|
1688
|
-
function k(i,
|
|
1689
|
-
const h = w(e.messages) ? e.messages(i, !!
|
|
1688
|
+
function k(i, d) {
|
|
1689
|
+
const h = w(e.messages) ? e.messages(i, !!d) : P(e.messages) ? e.messages[i] : !1;
|
|
1690
1690
|
return h || (e.parent ? e.parent.message(i) : $r);
|
|
1691
1691
|
}
|
|
1692
|
-
const L = (i) => e.modifiers ? e.modifiers[i] : Xr, N = D(e.processor) && w(e.processor.normalize) ? e.processor.normalize : qr, A = D(e.processor) && w(e.processor.interpolate) ? e.processor.interpolate : Qr, S = D(e.processor) &&
|
|
1692
|
+
const L = (i) => e.modifiers ? e.modifiers[i] : Xr, N = D(e.processor) && w(e.processor.normalize) ? e.processor.normalize : qr, A = D(e.processor) && w(e.processor.interpolate) ? e.processor.interpolate : Qr, S = D(e.processor) && O(e.processor.type) ? e.processor.type : Jr, y = {
|
|
1693
1693
|
list: f,
|
|
1694
1694
|
named: g,
|
|
1695
1695
|
plural: o,
|
|
1696
|
-
linked: (i, ...
|
|
1697
|
-
const [h, m] =
|
|
1698
|
-
let
|
|
1699
|
-
|
|
1700
|
-
const T = k(i, !0)(
|
|
1696
|
+
linked: (i, ...d) => {
|
|
1697
|
+
const [h, m] = d;
|
|
1698
|
+
let I = "text", b = "";
|
|
1699
|
+
d.length === 1 ? P(h) ? (b = h.modifier || b, I = h.type || I) : O(h) && (b = h || b) : d.length === 2 && (O(h) && (b = h || b), O(m) && (I = m || I));
|
|
1700
|
+
const T = k(i, !0)(y), H = (
|
|
1701
1701
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1702
|
-
|
|
1702
|
+
I === "vnode" && Y(T) && b ? T[0] : T
|
|
1703
1703
|
);
|
|
1704
|
-
return
|
|
1704
|
+
return b ? L(b)(H, I) : H;
|
|
1705
1705
|
},
|
|
1706
1706
|
message: k,
|
|
1707
1707
|
type: S,
|
|
@@ -1709,50 +1709,50 @@ function es(e = {}) {
|
|
|
1709
1709
|
normalize: N,
|
|
1710
1710
|
values: K(U(), l, _)
|
|
1711
1711
|
};
|
|
1712
|
-
return
|
|
1712
|
+
return y;
|
|
1713
1713
|
}
|
|
1714
|
-
const
|
|
1715
|
-
function
|
|
1716
|
-
const { fallbackFormat: t, postTranslation: r, unresolving: c, messageCompiler: o, fallbackLocale: l, messages: f } = e, [_, g] = on(...n), k = B(g.missingWarn) ? g.missingWarn : e.missingWarn, L = B(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = B(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, A = !!g.resolvedMessage, S =
|
|
1714
|
+
const Yn = () => "", J = (e) => w(e);
|
|
1715
|
+
function jn(e, ...n) {
|
|
1716
|
+
const { fallbackFormat: t, postTranslation: r, unresolving: c, messageCompiler: o, fallbackLocale: l, messages: f } = e, [_, g] = on(...n), k = B(g.missingWarn) ? g.missingWarn : e.missingWarn, L = B(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = B(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, A = !!g.resolvedMessage, S = O(g.default) || B(g.default) ? B(g.default) ? o ? _ : () => _ : g.default : t ? o ? _ : () => _ : null, v = t || S != null && (O(S) || w(S)), y = Tn(e, g);
|
|
1717
1717
|
N && ns(g);
|
|
1718
|
-
let [i,
|
|
1718
|
+
let [i, d, h] = A ? [
|
|
1719
1719
|
_,
|
|
1720
|
-
|
|
1721
|
-
f[
|
|
1722
|
-
] : ct(e, _,
|
|
1723
|
-
if (!A && !(
|
|
1720
|
+
y,
|
|
1721
|
+
f[y] || U()
|
|
1722
|
+
] : ct(e, _, y, l, L, k), m = i, I = _;
|
|
1723
|
+
if (!A && !(O(m) || de(m) || J(m)) && v && (m = S, I = m), !A && (!(O(m) || de(m) || J(m)) || !O(d)))
|
|
1724
1724
|
return c ? we : _;
|
|
1725
|
-
let
|
|
1725
|
+
let b = !1;
|
|
1726
1726
|
const T = () => {
|
|
1727
|
-
|
|
1728
|
-
}, H = J(m) ? m : it(e, _,
|
|
1729
|
-
if (
|
|
1727
|
+
b = !0;
|
|
1728
|
+
}, H = J(m) ? m : it(e, _, d, m, I, T);
|
|
1729
|
+
if (b)
|
|
1730
1730
|
return m;
|
|
1731
|
-
const G = ss(e,
|
|
1731
|
+
const G = ss(e, d, h, g), $ = es(G), q = ts(e, H, $), j = r ? r(q, _) : q;
|
|
1732
1732
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1733
1733
|
const le = {
|
|
1734
1734
|
timestamp: Date.now(),
|
|
1735
|
-
key:
|
|
1736
|
-
locale:
|
|
1737
|
-
format:
|
|
1738
|
-
message:
|
|
1735
|
+
key: O(_) ? _ : J(m) ? m.key : "",
|
|
1736
|
+
locale: d || (J(m) ? m.locale : ""),
|
|
1737
|
+
format: O(m) ? m : J(m) ? m.source : "",
|
|
1738
|
+
message: j
|
|
1739
1739
|
};
|
|
1740
|
-
le.meta = K({}, e.__meta, /* @__PURE__ */ Br() || {}),
|
|
1740
|
+
le.meta = K({}, e.__meta, /* @__PURE__ */ Br() || {}), Ir(le);
|
|
1741
1741
|
}
|
|
1742
|
-
return
|
|
1742
|
+
return j;
|
|
1743
1743
|
}
|
|
1744
1744
|
function ns(e) {
|
|
1745
|
-
|
|
1746
|
-
|
|
1745
|
+
Y(e.list) ? e.list = e.list.map((n) => O(n) ? vn(n) : n) : P(e.named) && Object.keys(e.named).forEach((n) => {
|
|
1746
|
+
O(e.named[n]) && (e.named[n] = vn(e.named[n]));
|
|
1747
1747
|
});
|
|
1748
1748
|
}
|
|
1749
1749
|
function ct(e, n, t, r, c, o) {
|
|
1750
1750
|
const { messages: l, onWarn: f, messageResolver: _, localeFallbacker: g } = e, k = g(e, r, t);
|
|
1751
1751
|
let L = U(), N, A = null;
|
|
1752
1752
|
const S = "translate";
|
|
1753
|
-
for (let v = 0; v < k.length && (N = k[v], L = l[N] || U(), (A = _(L, n)) === null && (A = L[n]), !(
|
|
1753
|
+
for (let v = 0; v < k.length && (N = k[v], L = l[N] || U(), (A = _(L, n)) === null && (A = L[n]), !(O(A) || de(A) || J(A))); v++)
|
|
1754
1754
|
if (!Kr(N, k)) {
|
|
1755
|
-
const
|
|
1755
|
+
const y = hn(
|
|
1756
1756
|
e,
|
|
1757
1757
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1758
1758
|
n,
|
|
@@ -1760,7 +1760,7 @@ function ct(e, n, t, r, c, o) {
|
|
|
1760
1760
|
o,
|
|
1761
1761
|
S
|
|
1762
1762
|
);
|
|
1763
|
-
|
|
1763
|
+
y !== n && (A = y);
|
|
1764
1764
|
}
|
|
1765
1765
|
return [A, N, L];
|
|
1766
1766
|
}
|
|
@@ -1782,10 +1782,10 @@ function ts(e, n, t) {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
function on(...e) {
|
|
1784
1784
|
const [n, t, r] = e, c = U();
|
|
1785
|
-
if (!
|
|
1785
|
+
if (!O(n) && !x(n) && !J(n) && !de(n))
|
|
1786
1786
|
throw te(ne.INVALID_ARGUMENT);
|
|
1787
|
-
const o =
|
|
1788
|
-
return
|
|
1787
|
+
const o = x(n) ? String(n) : (J(n), n);
|
|
1788
|
+
return x(t) ? c.plural = t : O(t) ? c.default = t : D(t) && !Ue(t) ? c.named = t : Y(t) && (c.list = t), x(r) ? c.plural = r : O(r) ? c.default = r : D(r) && K(c, r), [o, c];
|
|
1789
1789
|
}
|
|
1790
1790
|
function rs(e, n, t, r, c, o) {
|
|
1791
1791
|
return {
|
|
@@ -1795,7 +1795,7 @@ function rs(e, n, t, r, c, o) {
|
|
|
1795
1795
|
onError: (l) => {
|
|
1796
1796
|
throw o && o(l), l;
|
|
1797
1797
|
},
|
|
1798
|
-
onCacheKey: (l) =>
|
|
1798
|
+
onCacheKey: (l) => It(n, t, l)
|
|
1799
1799
|
};
|
|
1800
1800
|
}
|
|
1801
1801
|
function ss(e, n, t, r) {
|
|
@@ -1806,7 +1806,7 @@ function ss(e, n, t, r) {
|
|
|
1806
1806
|
messages: (A, S) => {
|
|
1807
1807
|
let v = l(t, A);
|
|
1808
1808
|
if (v == null && (k || S)) {
|
|
1809
|
-
const [, ,
|
|
1809
|
+
const [, , y] = ct(
|
|
1810
1810
|
k || e,
|
|
1811
1811
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1812
1812
|
A,
|
|
@@ -1815,21 +1815,21 @@ function ss(e, n, t, r) {
|
|
|
1815
1815
|
_,
|
|
1816
1816
|
g
|
|
1817
1817
|
);
|
|
1818
|
-
v = l(
|
|
1818
|
+
v = l(y, A);
|
|
1819
1819
|
}
|
|
1820
|
-
if (
|
|
1821
|
-
let
|
|
1822
|
-
const
|
|
1823
|
-
|
|
1820
|
+
if (O(v) || de(v)) {
|
|
1821
|
+
let y = !1;
|
|
1822
|
+
const d = it(e, A, n, v, A, () => {
|
|
1823
|
+
y = !0;
|
|
1824
1824
|
});
|
|
1825
|
-
return
|
|
1826
|
-
} else return J(v) ? v :
|
|
1825
|
+
return y ? Yn : d;
|
|
1826
|
+
} else return J(v) ? v : Yn;
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
|
-
return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named),
|
|
1829
|
+
return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), x(r.plural) && (N.pluralIndex = r.plural), N;
|
|
1830
1830
|
}
|
|
1831
1831
|
nr();
|
|
1832
|
-
var as = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ff42974d-7f19-4d38-969a-edaf531c190f", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ff42974d-7f19-4d38-969a-edaf531c190f", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "^6.0.2", npm_package_dependencies_html2pdf_js: "^0.14.0", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.29.11", npm_package_dependencies_handlebars: "^4.7.8", npm_package_devDependencies_code_inspector_plugin: "^1.4.5", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1781", ACTIONS_ORCHESTRATION_ID: "f6c4cf8e-2557-4af3-a306-6d1d94804582.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "^4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260810.271.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies_prettier: "^3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_ff42974d-7f19-4d38-969a-edaf531c190f", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.7.9-dev.4", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:10162", GITHUB_WORKFLOW: "[CD:dev] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "31795405621", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "222dc86847680330da0a706945a097e22af5e567", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-dev.yaml@refs/heads/development", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/home/runner/.pub-cache/bin:/opt/hostedtoolcache/dart/3.4.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_f529622d-b9c6-4b1e-9d73-71790a7b8e82", INVOCATION_ID: "8db5ff31a5164fbabf37b9fd1a95f849", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "1156", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:^", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", npm_package_devDependencies__types_dompurify: "^3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", DART_HOME: "/opt/hostedtoolcache/dart/3.4.3/x64", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000110992", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "development", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.40", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies__feedmepos_netsuite_core: "workspace:^", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.7.9-dev.4", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "222dc86847680330da0a706945a097e22af5e567", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/development", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "^1.5.0", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ff42974d-7f19-4d38-969a-edaf531c190f", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ff42974d-7f19-4d38-969a-edaf531c190f", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", npm_package_dependencies_dompurify: "^3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PUB_CACHE: "/home/runner/.pub-cache", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_ff42974d-7f19-4d38-969a-edaf531c190f", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ff42974d-7f19-4d38-969a-edaf531c190f", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:^", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
1832
|
+
var as = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f574e8ac-7e92-4e6c-b653-e30794ccdac6", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f574e8ac-7e92-4e6c-b653-e30794ccdac6", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "^6.0.2", npm_package_dependencies_html2pdf_js: "^0.14.0", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.29.11", npm_package_dependencies_handlebars: "^4.7.8", npm_package_devDependencies_code_inspector_plugin: "^1.4.5", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1653", ACTIONS_ORCHESTRATION_ID: "754f8618-9a75-481b-9260-b382414d4e44.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "^4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260810.271.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies_prettier: "^3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_f574e8ac-7e92-4e6c-b653-e30794ccdac6", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.7.10", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:10980", GITHUB_WORKFLOW: "[CD:prod] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "31806116669", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "142db10a89ea4cf20625e7631392a244c15e1ea8", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-prod.yaml@refs/tags/inventory-portal-v1.7.10", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_95cbeaf0-1d52-4485-8f90-23a2d616629f", INVOCATION_ID: "d7189bd061a545c2812ed5976f74d35c", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "456", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:^", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", npm_package_devDependencies__types_dompurify: "^3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000111034", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "inventory-portal-v1.7.10", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.40", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies__feedmepos_netsuite_core: "workspace:^", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.7.10", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "142db10a89ea4cf20625e7631392a244c15e1ea8", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/inventory-portal-v1.7.10", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "^1.5.0", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_f574e8ac-7e92-4e6c-b653-e30794ccdac6", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f574e8ac-7e92-4e6c-b653-e30794ccdac6", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", npm_package_dependencies_dompurify: "^3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_f574e8ac-7e92-4e6c-b653-e30794ccdac6", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f574e8ac-7e92-4e6c-b653-e30794ccdac6", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:^", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
1833
1833
|
const os = "10.0.5";
|
|
1834
1834
|
function cs() {
|
|
1835
1835
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (ce().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (ce().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ce().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ce().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1847,7 +1847,7 @@ const Ee = {
|
|
|
1847
1847
|
// unexpected error
|
|
1848
1848
|
UNEXPECTED_ERROR: 32
|
|
1849
1849
|
};
|
|
1850
|
-
function
|
|
1850
|
+
function Oe(e, ...n) {
|
|
1851
1851
|
return Fe(e, null, void 0);
|
|
1852
1852
|
}
|
|
1853
1853
|
const cn = /* @__PURE__ */ ie("__translateVNode"), ln = /* @__PURE__ */ ie("__datetimeParts"), un = /* @__PURE__ */ ie("__numberParts"), is = ie("__setPluralRules"), lt = /* @__PURE__ */ ie("__injectWithOption"), _n = /* @__PURE__ */ ie("__dispose");
|
|
@@ -1873,13 +1873,13 @@ function Le(e) {
|
|
|
1873
1873
|
return e;
|
|
1874
1874
|
}
|
|
1875
1875
|
function ut(e, n) {
|
|
1876
|
-
const { messages: t, __i18n: r, messageResolver: c, flatJson: o } = n, l = D(t) ? t :
|
|
1877
|
-
if (
|
|
1876
|
+
const { messages: t, __i18n: r, messageResolver: c, flatJson: o } = n, l = D(t) ? t : Y(r) ? U() : { [e]: U() };
|
|
1877
|
+
if (Y(r) && r.forEach((f) => {
|
|
1878
1878
|
if ("locale" in f && "resource" in f) {
|
|
1879
1879
|
const { locale: _, resource: g } = f;
|
|
1880
1880
|
_ ? (l[_] = l[_] || U(), De(g, l[_])) : De(g, l);
|
|
1881
1881
|
} else
|
|
1882
|
-
|
|
1882
|
+
O(f) && De(JSON.parse(f), l);
|
|
1883
1883
|
}), c == null && o)
|
|
1884
1884
|
for (const f in l)
|
|
1885
1885
|
Q(l, f) && Le(l[f]);
|
|
@@ -1913,8 +1913,8 @@ function ls(e, n, t) {
|
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
|
-
function
|
|
1917
|
-
return Nt(
|
|
1916
|
+
function xn(e) {
|
|
1917
|
+
return Nt(bt, null, e, 0);
|
|
1918
1918
|
}
|
|
1919
1919
|
const Kn = "__INTLIFY_META__", Xn = () => [], us = () => !1;
|
|
1920
1920
|
let $n = 0;
|
|
@@ -1931,14 +1931,14 @@ function fs(e = {}) {
|
|
|
1931
1931
|
let l = B(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1932
1932
|
const f = o(
|
|
1933
1933
|
// prettier-ignore
|
|
1934
|
-
n && l ? n.locale.value :
|
|
1934
|
+
n && l ? n.locale.value : O(e.locale) ? e.locale : Me
|
|
1935
1935
|
), _ = o(
|
|
1936
1936
|
// prettier-ignore
|
|
1937
|
-
n && l ? n.fallbackLocale.value :
|
|
1937
|
+
n && l ? n.fallbackLocale.value : O(e.fallbackLocale) || Y(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : f.value
|
|
1938
1938
|
), g = o(ut(f.value, e)), k = o(D(e.datetimeFormats) ? e.datetimeFormats : { [f.value]: {} }), L = o(D(e.numberFormats) ? e.numberFormats : { [f.value]: {} });
|
|
1939
|
-
let N = n ? n.missingWarn : B(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = n ? n.fallbackWarn : B(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, S = n ? n.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat,
|
|
1940
|
-
const
|
|
1941
|
-
let
|
|
1939
|
+
let N = n ? n.missingWarn : B(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = n ? n.fallbackWarn : B(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, S = n ? n.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat, y = w(e.missing) ? e.missing : null, i = w(e.missing) ? Jn(e.missing) : null, d = w(e.postTranslation) ? e.postTranslation : null, h = n ? n.warnHtmlMessage : B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
|
|
1940
|
+
const I = n ? n.modifiers : D(e.modifiers) ? e.modifiers : {};
|
|
1941
|
+
let b = e.pluralRules || n && n.pluralRules, T;
|
|
1942
1942
|
T = (() => {
|
|
1943
1943
|
r && Fn(null);
|
|
1944
1944
|
const u = {
|
|
@@ -1946,14 +1946,14 @@ function fs(e = {}) {
|
|
|
1946
1946
|
locale: f.value,
|
|
1947
1947
|
fallbackLocale: _.value,
|
|
1948
1948
|
messages: g.value,
|
|
1949
|
-
modifiers:
|
|
1950
|
-
pluralRules:
|
|
1949
|
+
modifiers: I,
|
|
1950
|
+
pluralRules: b,
|
|
1951
1951
|
missing: i === null ? void 0 : i,
|
|
1952
1952
|
missingWarn: N,
|
|
1953
1953
|
fallbackWarn: A,
|
|
1954
1954
|
fallbackFormat: v,
|
|
1955
1955
|
unresolving: !0,
|
|
1956
|
-
postTranslation:
|
|
1956
|
+
postTranslation: d === null ? void 0 : d,
|
|
1957
1957
|
warnHtmlMessage: h,
|
|
1958
1958
|
escapeParameter: m,
|
|
1959
1959
|
messageResolver: e.messageResolver,
|
|
@@ -1961,7 +1961,7 @@ function fs(e = {}) {
|
|
|
1961
1961
|
__meta: { framework: "vue" }
|
|
1962
1962
|
};
|
|
1963
1963
|
u.datetimeFormats = k.value, u.numberFormats = L.value, u.__datetimeFormatters = D(T) ? T.__datetimeFormatters : void 0, u.__numberFormatters = D(T) ? T.__numberFormatters : void 0;
|
|
1964
|
-
const E =
|
|
1964
|
+
const E = jr(u);
|
|
1965
1965
|
return r && Fn(E), E;
|
|
1966
1966
|
})(), Ne(T, f.value, _.value);
|
|
1967
1967
|
function G() {
|
|
@@ -1983,57 +1983,57 @@ function fs(e = {}) {
|
|
|
1983
1983
|
set: (u) => {
|
|
1984
1984
|
_.value = u, T.fallbackLocale = _.value, Ne(T, f.value, u);
|
|
1985
1985
|
}
|
|
1986
|
-
}),
|
|
1986
|
+
}), j = he(() => g.value), le = /* @__PURE__ */ he(() => k.value), He = /* @__PURE__ */ he(() => L.value);
|
|
1987
1987
|
function Ge() {
|
|
1988
|
-
return w(
|
|
1988
|
+
return w(d) ? d : null;
|
|
1989
1989
|
}
|
|
1990
1990
|
function Ve(u) {
|
|
1991
|
-
|
|
1991
|
+
d = u, T.postTranslation = u;
|
|
1992
1992
|
}
|
|
1993
1993
|
function We() {
|
|
1994
|
-
return
|
|
1994
|
+
return y;
|
|
1995
1995
|
}
|
|
1996
1996
|
function Be(u) {
|
|
1997
|
-
u !== null && (i = Jn(u)),
|
|
1997
|
+
u !== null && (i = Jn(u)), y = u, T.missing = i;
|
|
1998
1998
|
}
|
|
1999
|
-
const z = (u, E, F, W, oe,
|
|
1999
|
+
const z = (u, E, F, W, oe, Re) => {
|
|
2000
2000
|
G();
|
|
2001
2001
|
let fe;
|
|
2002
2002
|
try {
|
|
2003
|
-
as.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = n ?
|
|
2003
|
+
as.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = n ? Yr() : void 0), fe = u(T);
|
|
2004
2004
|
} finally {
|
|
2005
2005
|
__INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = void 0);
|
|
2006
2006
|
}
|
|
2007
2007
|
if (F !== "translate exists" && // for not `te` (e.g `t`)
|
|
2008
|
-
|
|
2009
|
-
const [
|
|
2010
|
-
return n && S ? W(n) : oe(
|
|
2008
|
+
x(fe) && fe === we || F === "translate exists" && !fe) {
|
|
2009
|
+
const [pt, Is] = E();
|
|
2010
|
+
return n && S ? W(n) : oe(pt);
|
|
2011
2011
|
} else {
|
|
2012
|
-
if (
|
|
2012
|
+
if (Re(fe))
|
|
2013
2013
|
return fe;
|
|
2014
|
-
throw
|
|
2014
|
+
throw Oe(Ee.UNEXPECTED_RETURN_TYPE);
|
|
2015
2015
|
}
|
|
2016
2016
|
};
|
|
2017
2017
|
function ke(...u) {
|
|
2018
|
-
return z((E) => Reflect.apply(
|
|
2018
|
+
return z((E) => Reflect.apply(jn, null, [E, ...u]), () => on(...u), "translate", (E) => Reflect.apply(E.t, E, [...u]), (E) => E, (E) => O(E));
|
|
2019
2019
|
}
|
|
2020
2020
|
function ve(...u) {
|
|
2021
2021
|
const [E, F, W] = u;
|
|
2022
2022
|
if (W && !P(W))
|
|
2023
|
-
throw
|
|
2023
|
+
throw Oe(Ee.INVALID_ARGUMENT);
|
|
2024
2024
|
return ke(E, F, K({ resolvedMessage: !0 }, W || {}));
|
|
2025
2025
|
}
|
|
2026
|
-
function xe(...u) {
|
|
2027
|
-
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => Reflect.apply(E.d, E, [...u]), () => Mn, (E) => b(E));
|
|
2028
|
-
}
|
|
2029
2026
|
function Ye(...u) {
|
|
2030
|
-
return z((E) => Reflect.apply(
|
|
2027
|
+
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => Reflect.apply(E.d, E, [...u]), () => Mn, (E) => O(E));
|
|
2028
|
+
}
|
|
2029
|
+
function je(...u) {
|
|
2030
|
+
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () => an(...u), "number format", (E) => Reflect.apply(E.n, E, [...u]), () => Mn, (E) => O(E));
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2033
|
-
return u.map((E) =>
|
|
2032
|
+
function xe(u) {
|
|
2033
|
+
return u.map((E) => O(E) || x(E) || B(E) ? xn(String(E)) : E);
|
|
2034
2034
|
}
|
|
2035
2035
|
const Ke = {
|
|
2036
|
-
normalize:
|
|
2036
|
+
normalize: xe,
|
|
2037
2037
|
interpolate: (u) => u,
|
|
2038
2038
|
type: "vnode"
|
|
2039
2039
|
};
|
|
@@ -2042,37 +2042,37 @@ function fs(e = {}) {
|
|
|
2042
2042
|
let F;
|
|
2043
2043
|
const W = E;
|
|
2044
2044
|
try {
|
|
2045
|
-
W.processor = Ke, F = Reflect.apply(
|
|
2045
|
+
W.processor = Ke, F = Reflect.apply(jn, null, [W, ...u]);
|
|
2046
2046
|
} finally {
|
|
2047
2047
|
W.processor = null;
|
|
2048
2048
|
}
|
|
2049
2049
|
return F;
|
|
2050
|
-
}, () => on(...u), "translate", (E) => E[cn](...u), (E) => [
|
|
2050
|
+
}, () => on(...u), "translate", (E) => E[cn](...u), (E) => [xn(E)], (E) => Y(E));
|
|
2051
2051
|
}
|
|
2052
|
-
function
|
|
2053
|
-
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () => an(...u), "number format", (E) => E[un](...u), Xn, (E) =>
|
|
2052
|
+
function ye(...u) {
|
|
2053
|
+
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () => an(...u), "number format", (E) => E[un](...u), Xn, (E) => O(E) || Y(E));
|
|
2054
2054
|
}
|
|
2055
2055
|
function $e(...u) {
|
|
2056
|
-
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => E[ln](...u), Xn, (E) =>
|
|
2056
|
+
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => E[ln](...u), Xn, (E) => O(E) || Y(E));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(u) {
|
|
2059
|
-
|
|
2059
|
+
b = u, T.pluralRules = b;
|
|
2060
2060
|
}
|
|
2061
2061
|
function qe(u, E) {
|
|
2062
2062
|
return z(() => {
|
|
2063
2063
|
if (!u)
|
|
2064
2064
|
return !1;
|
|
2065
|
-
const F =
|
|
2066
|
-
return
|
|
2065
|
+
const F = O(E) ? E : f.value, W = ue(F), oe = T.messageResolver(W, u);
|
|
2066
|
+
return de(oe) || J(oe) || O(oe);
|
|
2067
2067
|
}, () => [u], "translate exists", (F) => Reflect.apply(F.te, F, [u, E]), us, (F) => B(F));
|
|
2068
2068
|
}
|
|
2069
2069
|
function Qe(u) {
|
|
2070
2070
|
let E = null;
|
|
2071
2071
|
const F = zn(T, _.value, f.value);
|
|
2072
2072
|
for (let W = 0; W < F.length; W++) {
|
|
2073
|
-
const oe = g.value[F[W]] || {},
|
|
2074
|
-
if (
|
|
2075
|
-
E =
|
|
2073
|
+
const oe = g.value[F[W]] || {}, Re = T.messageResolver(oe, u);
|
|
2074
|
+
if (Re != null) {
|
|
2075
|
+
E = Re;
|
|
2076
2076
|
break;
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
@@ -2111,18 +2111,18 @@ function fs(e = {}) {
|
|
|
2111
2111
|
function a(u, E) {
|
|
2112
2112
|
k.value[u] = K(k.value[u] || {}, E), T.datetimeFormats = k.value, Gn(T, u, E);
|
|
2113
2113
|
}
|
|
2114
|
-
function
|
|
2114
|
+
function p(u) {
|
|
2115
2115
|
return L.value[u] || {};
|
|
2116
2116
|
}
|
|
2117
|
-
function
|
|
2117
|
+
function R(u, E) {
|
|
2118
2118
|
L.value[u] = E, T.numberFormats = L.value, Wn(T, u, E);
|
|
2119
2119
|
}
|
|
2120
2120
|
function V(u, E) {
|
|
2121
2121
|
L.value[u] = K(L.value[u] || {}, E), T.numberFormats = L.value, Wn(T, u, E);
|
|
2122
2122
|
}
|
|
2123
|
-
$n++, n && Ln && (
|
|
2123
|
+
$n++, n && Ln && (On(n.locale, (u) => {
|
|
2124
2124
|
l && (f.value = u, T.locale = u, Ne(T, f.value, _.value));
|
|
2125
|
-
}),
|
|
2125
|
+
}), On(n.fallbackLocale, (u) => {
|
|
2126
2126
|
l && (_.value = u, T.fallbackLocale = u, Ne(T, f.value, _.value));
|
|
2127
2127
|
}));
|
|
2128
2128
|
const C = {
|
|
@@ -2138,12 +2138,12 @@ function fs(e = {}) {
|
|
|
2138
2138
|
get availableLocales() {
|
|
2139
2139
|
return Object.keys(g.value).sort();
|
|
2140
2140
|
},
|
|
2141
|
-
messages:
|
|
2141
|
+
messages: j,
|
|
2142
2142
|
get modifiers() {
|
|
2143
|
-
return
|
|
2143
|
+
return I;
|
|
2144
2144
|
},
|
|
2145
2145
|
get pluralRules() {
|
|
2146
|
-
return
|
|
2146
|
+
return b || {};
|
|
2147
2147
|
},
|
|
2148
2148
|
get isGlobal() {
|
|
2149
2149
|
return r;
|
|
@@ -2194,7 +2194,7 @@ function fs(e = {}) {
|
|
|
2194
2194
|
setMissingHandler: Be,
|
|
2195
2195
|
[is]: Je
|
|
2196
2196
|
};
|
|
2197
|
-
return C.datetimeFormats = le, C.numberFormats = He, C.rt = ve, C.te = qe, C.tm = ge, C.d =
|
|
2197
|
+
return C.datetimeFormats = le, C.numberFormats = He, C.rt = ve, C.te = qe, C.tm = ge, C.d = Ye, C.n = je, C.getDateTimeFormat = Ze, C.setDateTimeFormat = s, C.mergeDateTimeFormat = a, C.getNumberFormat = p, C.setNumberFormat = R, C.mergeNumberFormat = V, C[lt] = t, C[cn] = Xe, C[ln] = $e, C[un] = ye, C;
|
|
2198
2198
|
}
|
|
2199
2199
|
const Nn = {
|
|
2200
2200
|
tag: {
|
|
@@ -2234,25 +2234,25 @@ K({
|
|
|
2234
2234
|
},
|
|
2235
2235
|
plural: {
|
|
2236
2236
|
type: [Number, String],
|
|
2237
|
-
validator: (e) =>
|
|
2237
|
+
validator: (e) => x(e) || !isNaN(e)
|
|
2238
2238
|
}
|
|
2239
2239
|
}, Nn);
|
|
2240
|
-
function
|
|
2241
|
-
return
|
|
2240
|
+
function ps(e) {
|
|
2241
|
+
return Y(e) && !O(e[0]);
|
|
2242
2242
|
}
|
|
2243
2243
|
function mt(e, n, t, r) {
|
|
2244
2244
|
const { slots: c, attrs: o } = n;
|
|
2245
2245
|
return () => {
|
|
2246
2246
|
const l = { part: !0 };
|
|
2247
2247
|
let f = U();
|
|
2248
|
-
e.locale && (l.locale = e.locale),
|
|
2248
|
+
e.locale && (l.locale = e.locale), O(e.format) ? l.key = e.format : P(e.format) && (O(e.format.key) && (l.key = e.format.key), f = Object.keys(e.format).reduce((N, A) => t.includes(A) ? K(U(), N, { [A]: e.format[A] }) : N, U()));
|
|
2249
2249
|
const _ = r(e.value, l, f);
|
|
2250
2250
|
let g = [l.key];
|
|
2251
|
-
|
|
2251
|
+
Y(_) ? g = _.map((N, A) => {
|
|
2252
2252
|
const S = c[N.type], v = S ? S({ [N.type]: N.value, index: A, parts: _ }) : [N.value];
|
|
2253
|
-
return
|
|
2254
|
-
}) :
|
|
2255
|
-
const k = K(U(), o), L =
|
|
2253
|
+
return ps(v) && (v[0].key = `${N.type}-${A}`), v;
|
|
2254
|
+
}) : O(_) && (g = [_]);
|
|
2255
|
+
const k = K(U(), o), L = O(e.tag) || P(e.tag) ? e.tag : ft();
|
|
2256
2256
|
return qn(L, k, g);
|
|
2257
2257
|
};
|
|
2258
2258
|
}
|
|
@@ -2274,13 +2274,13 @@ K({
|
|
|
2274
2274
|
type: [String, Object]
|
|
2275
2275
|
}
|
|
2276
2276
|
}, Nn);
|
|
2277
|
-
const
|
|
2278
|
-
function
|
|
2277
|
+
const ds = /* @__PURE__ */ ie("global-vue-i18n");
|
|
2278
|
+
function bn(e = {}) {
|
|
2279
2279
|
const n = fn();
|
|
2280
2280
|
if (n == null)
|
|
2281
|
-
throw
|
|
2281
|
+
throw Oe(Ee.MUST_BE_CALL_SETUP_TOP);
|
|
2282
2282
|
if (!n.isCE && n.appContext.app != null && !n.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2283
|
-
throw
|
|
2283
|
+
throw Oe(Ee.NOT_INSTALLED);
|
|
2284
2284
|
const t = Es(n), r = Ts(t), c = _t(n), o = gs(e, c);
|
|
2285
2285
|
if (o === "global")
|
|
2286
2286
|
return ls(r, e, c), r;
|
|
@@ -2292,14 +2292,14 @@ function In(e = {}) {
|
|
|
2292
2292
|
let f = l.__getInstance(n);
|
|
2293
2293
|
if (f == null) {
|
|
2294
2294
|
const _ = K({}, e);
|
|
2295
|
-
"__i18n" in c && (_.__i18n = c.__i18n), r && (_.__root = r), f = fs(_), l.__composerExtend && (f[_n] = l.__composerExtend(f)),
|
|
2295
|
+
"__i18n" in c && (_.__i18n = c.__i18n), r && (_.__root = r), f = fs(_), l.__composerExtend && (f[_n] = l.__composerExtend(f)), bs(l, n, f), l.__setInstance(n, f);
|
|
2296
2296
|
}
|
|
2297
2297
|
return f;
|
|
2298
2298
|
}
|
|
2299
2299
|
function Es(e) {
|
|
2300
|
-
const n =
|
|
2300
|
+
const n = dt(e.isCE ? ds : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2301
2301
|
if (!n)
|
|
2302
|
-
throw
|
|
2302
|
+
throw Oe(e.isCE ? Ee.NOT_INSTALLED_WITH_PROVIDE : Ee.UNEXPECTED_ERROR);
|
|
2303
2303
|
return n;
|
|
2304
2304
|
}
|
|
2305
2305
|
function gs(e, n) {
|
|
@@ -2329,7 +2329,7 @@ function hs(e, n, t = !1) {
|
|
|
2329
2329
|
function Ns(e, n = !1) {
|
|
2330
2330
|
return e == null ? null : n && e.vnode.ctx || e.parent;
|
|
2331
2331
|
}
|
|
2332
|
-
function
|
|
2332
|
+
function bs(e, n, t) {
|
|
2333
2333
|
Tt(() => {
|
|
2334
2334
|
}, n), ht(() => {
|
|
2335
2335
|
const r = t;
|
|
@@ -2347,5 +2347,5 @@ if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
|
2347
2347
|
e.__INTLIFY__ = !0, Nr(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2348
2348
|
}
|
|
2349
2349
|
export {
|
|
2350
|
-
|
|
2350
|
+
bn as u
|
|
2351
2351
|
};
|