@feedmepos/mf-inventory-portal 1.7.9 → 1.7.11-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App-8RkTRU8A.js +1434 -0
- package/dist/{ApprovalView-DRT6Qd2e.js → ApprovalView-3pDiNOMO.js} +10 -10
- package/dist/{BindingsDialog-CdAUadBI.js → BindingsDialog-CEXDujwo.js} +2 -2
- package/dist/{BindingsPicker-BN_wX0N8.js → BindingsPicker-UfogQ71P.js} +2 -2
- package/dist/{BindingsTable-CK6m-C2K.js → BindingsTable-qxNINfoB.js} +4 -4
- package/dist/BulkReceiveRequestView-BOz0aMxF.js +2657 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CFX666Wz.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Dyy-mkOF.js} +1 -1
- package/dist/ClosingDraftView-DgLOKZZv.js +4656 -0
- package/dist/{ClosingHistoryView-DrI5Qo6C.js → ClosingHistoryView-BMcoewSW.js} +6 -6
- package/dist/{ClosingTemplateView-DilRh_vH.js → ClosingTemplateView-C85_eRfx.js} +17 -17
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Dzaimy8_.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CIXV7TwL.js} +1 -1
- package/dist/{DefaultView-DAud5FWQ.js → DefaultView-BCPdBP97.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-V-x1xvBl.js → DeliveryOrderPrintPreview-DvKOE8bs.js} +8 -8
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-KUJLmR7a.js → EmailDialog.vue_vue_type_script_setup_true_lang-D0XF1ILm.js} +5072 -5067
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BStqqCMn.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-kTHffgJ0.js} +6 -6
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BnHM1BX1.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D6T3zCf3.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BPyrxPpe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-NuIzfwdk.js} +3 -3
- package/dist/{FmMultiselectDialog-BniqAG4j.js → FmMultiselectDialog-CE-n4_oS.js} +1 -1
- package/dist/{FmMultiselectDialog-C2PspPWe.js → FmMultiselectDialog-DAJZwLbn.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Bf3SW_Cs.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BKfT_BMX.js} +6 -6
- package/dist/{ImportView-DWRmu0QT.js → ImportView-CGgk98bu.js} +499 -496
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DY0kkryN.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-D19a-cBS.js} +1 -1
- package/dist/{IngredientGroupView-C6VVdwdq.js → IngredientGroupView-CQ-spqfv.js} +6 -6
- package/dist/{IngredientsView-DuEBYiLy.js → IngredientsView-BDuPrYSY.js} +19 -18
- package/dist/{IntegrationExplorerView-DJh7dTAl.js → IntegrationExplorerView-DXMTYLFQ.js} +5 -5
- package/dist/{IntegrationView-DsH2Hs1K.js → IntegrationView-B6qaoyfJ.js} +15 -15
- package/dist/{InventoryBindingForm-BACENuFH.js → InventoryBindingForm-Cj5DSxr7.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bj4R7KQF.js +563 -0
- package/dist/{InventoryBindingSummary-BncS50eD.js → InventoryBindingSummary-DTdjcASy.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-LzXw3Flm.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-L_Mk0z6y.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dra4APix.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BnjSVqIF.js} +1 -1
- package/dist/{ProductionView-CJ6Oi2ae.js → ProductionView-W2-oSNQn.js} +8 -8
- package/dist/{PublishView-30yz5vFX.js → PublishView-DEX148S9.js} +4 -4
- package/dist/{PurchaseOrderPrintPreview-CclxLcCT.js → PurchaseOrderPrintPreview-DN8TnmIP.js} +5 -5
- package/dist/{ReceiveRequestView-DIQeDhuy.js → ReceiveRequestView-C3ExFs2T.js} +15 -15
- package/dist/RecipeView-BYeKfM6_.js +3625 -0
- package/dist/{SettingsView-Bfp1K782.js → SettingsView-Bv0BdRhB.js} +5 -5
- package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js} +39 -37
- package/dist/{StockView-BNqzu1Rt.js → StockView-Cx2I8wc7.js} +22 -22
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DFI2fuD0.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D3AxBfTX.js} +1 -1
- package/dist/{SupplierView-Bnw_eUE1.js → SupplierView-n8tQo7GX.js} +13 -13
- package/dist/{SurchargeView-B0VoAU4k.js → SurchargeView-BSq_i2LS.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Cymvi3zl.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DrVYEbqs.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DBQx6RAo.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DHbTvUSw.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BMpUm52g.js → TransferDetails.vue_vue_type_script_setup_true_lang-AZjFZAHD.js} +1648 -1584
- package/dist/{TransferTemplateView-BjfxrwzR.js → TransferTemplateView-D29atWbe.js} +21 -21
- package/dist/{UnitCostHistoryView-C3ffDyKS.js → UnitCostHistoryView-Bc75dnSv.js} +5 -5
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-VG2ecWER.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-BL-N9tyu.js} +4 -4
- package/dist/{UnitView-BaR_a9Kw.js → UnitView-CP452QJB.js} +9 -9
- package/dist/{WarehouseView-RQjCcteZ.js → WarehouseView-hAFZ3OgC.js} +6 -6
- package/dist/{WastageTemplateView-D4z8zpwb.js → WastageTemplateView-BHoD95B4.js} +15 -15
- package/dist/api/changelog.d.ts +132 -0
- package/dist/api/purchase-order.d.ts +2 -0
- package/dist/{app-CyTU8N3H.js → app-DMuIqNOV.js} +22057 -21089
- package/dist/app.d.ts +906 -15
- package/dist/app.js +1 -1
- package/dist/{closing-template-B2tB7sQC.js → closing-template-vfraoomZ.js} +1 -1
- package/dist/{date2-DQH6DhKn.js → date2-nHWr0vbq.js} +5 -5
- package/dist/{dayjs.min-BOciSc8b.js → dayjs.min-CWDZGPnC.js} +5 -5
- package/dist/{decimal-yQvd_IOl.js → decimal-BRpZx0Ku.js} +2 -2
- package/dist/{defineDeepModel-DXNMJH2I.js → defineDeepModel-Cpd1mYyq.js} +1 -1
- package/dist/{duplicate-template-DO7WYSTm.js → duplicate-template-D0SC2p3z.js} +1 -1
- package/dist/{feature-v0qFoj-w.js → feature-_LWb4rW0.js} +2 -2
- package/dist/{format-time-from-id-BuBtGQBF.js → format-time-from-id-Dl3MwzI7.js} +1 -1
- package/dist/{format-unit-display-sljdJGi2.js → format-unit-display-DWI0rLun.js} +27 -27
- package/dist/{import-export.helper-B72QRGIw.js → import-export.helper-B0Y6WK3R.js} +6 -6
- package/dist/{index-CU4Kuswf.js → index-7XQuT32d.js} +1 -1
- package/dist/{index-BCGkKprE.js → index-BSnZJjFV.js} +3 -3
- package/dist/{index-TQcHaMrv.js → index-BpvlLCUv.js} +3306 -3232
- package/dist/{inventory-core-dart.default-BgoK1eTS.js → inventory-core-dart.default-DGcUQGOR.js} +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -0
- package/dist/{lz-string-BjdS2wyT.js → lz-string-Lbge8hci.js} +1 -1
- package/dist/{netsuite-z7vVdCsZ.js → netsuite-CFXLrvd1.js} +3 -2
- package/dist/{number-CPj4E2k6.js → number-B7y_oaIm.js} +3 -3
- package/dist/{predefined-templates-Bhig3JBF.js → predefined-templates-SX1B-fCF.js} +1 -1
- package/dist/{purchase-order-template-CNDfnM86.js → purchase-order-template-qKmMGW-y.js} +1 -1
- package/dist/{recalculationUtils-CQNmwxc2.js → recalculationUtils-DdG6rZr1.js} +1 -1
- package/dist/{rules-9N5HIcET.js → rules-DRizXY3Q.js} +2 -2
- package/dist/{stock-uZA1to9T.js → stock-BAMK_7xp.js} +1 -1
- package/dist/{stock-B7QJYZif.js → stock-CAlt5MDT.js} +3 -3
- package/dist/stores/bulk-job.d.ts +13 -0
- package/dist/stores/inventory.d.ts +11 -2
- package/dist/style.css +1 -1
- package/dist/{supplier-B8DQBfvr.js → supplier-B34rnmVy.js} +2 -2
- package/dist/{surcharge-DHf5QM_k.js → surcharge-CMBDRIiD.js} +8 -8
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-IHu3f_dQ.js → uom-rules-DE4OV7iK.js} +1 -1
- package/dist/{use-ingredient-select-dialog-Cd3IeQRi.js → use-ingredient-select-dialog-4yUGH4g0.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BG0l9YPD.js → use-inventory-binding-dialog-CY42PPSW.js} +2 -2
- package/dist/{use-template-enabled-locations-b39RUsFB.js → use-template-enabled-locations-BhYnNMZ_.js} +2 -2
- package/dist/{use-transfer-locations-BPzNKZEi.js → use-transfer-locations-agCdJKE0.js} +2 -2
- package/dist/{useHrmPermission-BpoNpgJ-.js → useHrmPermission-BQxDr0db.js} +1 -1
- package/dist/{useNavigationMenu-CaG9YOud.js → useNavigationMenu-Cm5dPWI-.js} +2 -2
- package/dist/{useSseClient-B2KhM-LZ.js → useSseClient-DkX7GX1_.js} +1 -1
- package/dist/views/changelog/components/ChangelogDialog.vue.d.ts +19 -0
- package/dist/views/changelog/components/ChangelogFloatingButton.vue.d.ts +2 -0
- package/dist/views/changelog/components/ChangelogPanel.spec.d.ts +1 -0
- package/dist/views/changelog/components/ChangelogPanel.vue.d.ts +20 -0
- package/dist/views/changelog/composables/change-path.d.ts +10 -0
- package/dist/views/changelog/composables/commit-message.d.ts +9 -0
- package/dist/views/changelog/composables/commit-message.spec.d.ts +1 -0
- package/dist/views/changelog/composables/json-line-diff.d.ts +10 -0
- package/dist/views/changelog/composables/json-line-diff.spec.d.ts +1 -0
- package/dist/views/changelog/composables/use-changelog.d.ts +90 -0
- package/dist/views/changelog/composables/use-changelog.spec.d.ts +1 -0
- package/dist/views/changelog/composables/use-inventory-record-commits.d.ts +97 -0
- package/dist/views/changelog/composables/use-inventory-record-commits.spec.d.ts +1 -0
- package/dist/views/changelog/composables/use-snapshot-diff.d.ts +29 -0
- package/dist/views/changelog/composables/use-snapshot-diff.spec.d.ts +1 -0
- package/dist/views/changelog/composables/value-tree.d.ts +14 -0
- package/dist/views/changelog/composables/value-tree.spec.d.ts +1 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftOutdatedApproveWarning.spec.d.ts +1 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftOutdatedApproveWarning.vue.d.ts +24 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftSkuCell.spec.d.ts +1 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftSkuCell.vue.d.ts +23 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/closing-draft-bridge.d.ts +4 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/use-outdated-draft-items.d.ts +10 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/use-outdated-draft-items.spec.d.ts +1 -0
- package/dist/views/import/helper/submit-rows.d.ts +13 -0
- package/dist/views/import/helper/submit-rows.spec.d.ts +1 -0
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +2 -0
- package/dist/views/ingredients/components/inventory-binding/RecipeBindingBreakdown.vue.d.ts +25 -0
- package/dist/views/ingredients/components/inventory-binding/composables/recipe-breakdown.d.ts +34 -0
- package/dist/views/ingredients/components/inventory-binding/composables/recipe-breakdown.spec.d.ts +1 -0
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +2 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +4 -0
- package/dist/views/receive-request/components/email-dialog/EmailDialog.spec.d.ts +1 -0
- package/dist/views/receive-request/components/email-dialog/EmailDialogProps.d.ts +23 -9
- package/dist/views/recipe/composables/use-recipe-table.d.ts +11 -0
- package/dist/{vue-i18n-DgJpgCMa.js → vue-i18n-CsKZo5u4.js} +271 -271
- package/dist/{xlsx.util-Bkd2A_If.js → xlsx.util-Cy5DyLlu.js} +2 -2
- package/package.json +4 -2
- package/dist/App-wSwzHKiz.js +0 -311
- package/dist/BulkReceiveRequestView-BXs22T-g.js +0 -2584
- package/dist/ClosingDraftView-IffpT50J.js +0 -4496
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-BlxNT4bV.js +0 -441
- package/dist/RecipeView-D8DyqwP-.js +0 -3584
|
@@ -1,13 +1,13 @@
|
|
|
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
|
|
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 bt, Text as Nt, 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
|
|
9
|
-
let
|
|
10
|
-
const ce = () =>
|
|
8
|
+
const kn = 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"), j = (e) => typeof e == "number" && isFinite(e), kt = (e) => pn(e) === "[object Date]", Pe = (e) => pn(e) === "[object RegExp]", Ue = (e) => D(e) && Object.keys(e).length === 0, K = Object.assign, Lt = Object.create, U = (e = null) => Lt(e);
|
|
9
|
+
let Ln;
|
|
10
|
+
const ce = () => Ln || (Ln = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : U());
|
|
11
11
|
function vn(e) {
|
|
12
12
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
13
13
|
}
|
|
@@ -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
|
|
18
|
+
const x = 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 ? "" : x(e) || D(e) && e.toString === Zn ? JSON.stringify(e, null, 2) : String(e);
|
|
19
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) || x(e);
|
|
26
26
|
function De(e, n) {
|
|
27
27
|
if (Ae(e) || Ae(n))
|
|
28
28
|
throw new Error("Invalid value");
|
|
@@ -70,9 +70,9 @@ 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,
|
|
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, L = (T) => l(T) || f(T) || _(T) || g(T), k = () => t, b = () => r, A = () => c, S = () => o, v = (T) => l(T) || _(T) || g(T) ? X : n[T], y = () => v(t), i = () => v(t + o);
|
|
74
74
|
function d() {
|
|
75
|
-
return o = 0,
|
|
75
|
+
return o = 0, L(t) && (r++, c = 0), l(t) && t++, t++, c++, n[t];
|
|
76
76
|
}
|
|
77
77
|
function h() {
|
|
78
78
|
return l(t + o) && o++, o++, n[t + o];
|
|
@@ -83,15 +83,15 @@ function Ft(e) {
|
|
|
83
83
|
function I(T = 0) {
|
|
84
84
|
o = T;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function N() {
|
|
87
87
|
const T = t + o;
|
|
88
88
|
for (; T !== t; )
|
|
89
89
|
d();
|
|
90
90
|
o = 0;
|
|
91
91
|
}
|
|
92
92
|
return {
|
|
93
|
-
index:
|
|
94
|
-
line:
|
|
93
|
+
index: k,
|
|
94
|
+
line: b,
|
|
95
95
|
column: A,
|
|
96
96
|
peekOffset: S,
|
|
97
97
|
charAt: v,
|
|
@@ -101,7 +101,7 @@ function Ft(e) {
|
|
|
101
101
|
peek: h,
|
|
102
102
|
reset: m,
|
|
103
103
|
resetPeek: I,
|
|
104
|
-
skipToPeek:
|
|
104
|
+
skipToPeek: N
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
const re = void 0, wt = ".", yn = "'", Ht = "tokenizer";
|
|
@@ -118,29 +118,29 @@ function Gt(e, n = {}) {
|
|
|
118
118
|
braceNest: 0,
|
|
119
119
|
inLinked: !1,
|
|
120
120
|
text: ""
|
|
121
|
-
}, g = () => _, { onError:
|
|
122
|
-
function
|
|
121
|
+
}, g = () => _, { onError: L } = n;
|
|
122
|
+
function k(s, a, p, ...R) {
|
|
123
123
|
const V = g();
|
|
124
|
-
if (a.column += p, a.offset += p,
|
|
124
|
+
if (a.column += p, a.offset += p, L) {
|
|
125
125
|
const C = t ? tn(V.startLoc, a) : null, u = Fe(s, C, {
|
|
126
126
|
domain: Ht,
|
|
127
127
|
args: R
|
|
128
128
|
});
|
|
129
|
-
|
|
129
|
+
L(u);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function b(s, a, p) {
|
|
133
133
|
s.endLoc = o(), s.currentType = a;
|
|
134
134
|
const R = { type: a };
|
|
135
135
|
return t && (R.loc = tn(s.startLoc, s.endLoc)), p != null && (R.value = p), R;
|
|
136
136
|
}
|
|
137
|
-
const A = (s) =>
|
|
137
|
+
const A = (s) => b(
|
|
138
138
|
s,
|
|
139
139
|
13
|
|
140
140
|
/* TokenTypes.EOF */
|
|
141
141
|
);
|
|
142
142
|
function S(s, a) {
|
|
143
|
-
return s.currentChar() === a ? (s.next(), a) : (
|
|
143
|
+
return s.currentChar() === a ? (s.next(), a) : (k(M.EXPECTED_TOKEN, o(), 0, a), "");
|
|
144
144
|
}
|
|
145
145
|
function v(s) {
|
|
146
146
|
let a = "";
|
|
@@ -190,7 +190,7 @@ function Gt(e, n = {}) {
|
|
|
190
190
|
const R = s.currentPeek() === yn;
|
|
191
191
|
return s.resetPeek(), R;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function N(s, a) {
|
|
194
194
|
const { currentType: p } = a;
|
|
195
195
|
if (p !== 7)
|
|
196
196
|
return !1;
|
|
@@ -236,7 +236,7 @@ function Gt(e, n = {}) {
|
|
|
236
236
|
}, R = p();
|
|
237
237
|
return a && s.resetPeek(), R;
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function Y(s, a) {
|
|
240
240
|
const p = s.currentChar();
|
|
241
241
|
return p === re ? re : a(p) ? (s.next(), p) : null;
|
|
242
242
|
}
|
|
@@ -249,7 +249,7 @@ function Gt(e, n = {}) {
|
|
|
249
249
|
a === 36;
|
|
250
250
|
}
|
|
251
251
|
function He(s) {
|
|
252
|
-
return
|
|
252
|
+
return Y(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 Y(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 Y(s, We);
|
|
272
272
|
}
|
|
273
273
|
function z(s) {
|
|
274
274
|
const a = s.charCodeAt(0);
|
|
@@ -276,8 +276,8 @@ function Gt(e, n = {}) {
|
|
|
276
276
|
a >= 65 && a <= 70 || // A-F
|
|
277
277
|
a >= 97 && a <= 102;
|
|
278
278
|
}
|
|
279
|
-
function
|
|
280
|
-
return
|
|
279
|
+
function Le(s) {
|
|
280
|
+
return Y(s, z);
|
|
281
281
|
}
|
|
282
282
|
function ve(s) {
|
|
283
283
|
let a = "", p = "";
|
|
@@ -285,7 +285,7 @@ function Gt(e, n = {}) {
|
|
|
285
285
|
p += a;
|
|
286
286
|
return p;
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function xe(s) {
|
|
289
289
|
let a = "";
|
|
290
290
|
for (; ; ) {
|
|
291
291
|
const p = s.currentChar();
|
|
@@ -304,17 +304,17 @@ function Gt(e, n = {}) {
|
|
|
304
304
|
}
|
|
305
305
|
return a;
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Ye(s) {
|
|
308
308
|
y(s);
|
|
309
309
|
let a = "", p = "";
|
|
310
310
|
for (; a = Ve(s); )
|
|
311
311
|
p += a;
|
|
312
|
-
return s.currentChar() === re &&
|
|
312
|
+
return s.currentChar() === re && k(M.UNTERMINATED_CLOSING_BRACE, o(), 0), p;
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function je(s) {
|
|
315
315
|
y(s);
|
|
316
316
|
let a = "";
|
|
317
|
-
return s.currentChar() === "-" ? (s.next(), a += `-${ve(s)}`) : a += ve(s), s.currentChar() === re &&
|
|
317
|
+
return s.currentChar() === "-" ? (s.next(), a += `-${ve(s)}`) : a += ve(s), s.currentChar() === re && k(M.UNTERMINATED_CLOSING_BRACE, o(), 0), a;
|
|
318
318
|
}
|
|
319
319
|
function In(s) {
|
|
320
320
|
return s !== yn && s !== X;
|
|
@@ -322,10 +322,10 @@ function Gt(e, n = {}) {
|
|
|
322
322
|
function Ke(s) {
|
|
323
323
|
y(s), S(s, "'");
|
|
324
324
|
let a = "", p = "";
|
|
325
|
-
for (; a =
|
|
325
|
+
for (; a = Y(s, In); )
|
|
326
326
|
a === "\\" ? p += Xe(s) : p += a;
|
|
327
327
|
const R = s.currentChar();
|
|
328
|
-
return R === X || R === re ? (
|
|
328
|
+
return R === X || R === re ? (k(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();
|
|
@@ -338,16 +338,16 @@ function Gt(e, n = {}) {
|
|
|
338
338
|
case "U":
|
|
339
339
|
return ye(s, a, 6);
|
|
340
340
|
default:
|
|
341
|
-
return
|
|
341
|
+
return k(M.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, a), "";
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
function ye(s, a, p) {
|
|
345
345
|
S(s, a);
|
|
346
346
|
let R = "";
|
|
347
347
|
for (let V = 0; V < p; V++) {
|
|
348
|
-
const C =
|
|
348
|
+
const C = Le(s);
|
|
349
349
|
if (!C) {
|
|
350
|
-
|
|
350
|
+
k(M.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${a}${R}${s.currentChar()}`);
|
|
351
351
|
break;
|
|
352
352
|
}
|
|
353
353
|
R += C;
|
|
@@ -360,7 +360,7 @@ function Gt(e, n = {}) {
|
|
|
360
360
|
function Je(s) {
|
|
361
361
|
y(s);
|
|
362
362
|
let a = "", p = "";
|
|
363
|
-
for (; a =
|
|
363
|
+
for (; a = Y(s, $e); )
|
|
364
364
|
p += a;
|
|
365
365
|
return p;
|
|
366
366
|
}
|
|
@@ -390,35 +390,35 @@ function Gt(e, n = {}) {
|
|
|
390
390
|
let p = null;
|
|
391
391
|
switch (s.currentChar()) {
|
|
392
392
|
case "{":
|
|
393
|
-
return a.braceNest >= 1 &&
|
|
393
|
+
return a.braceNest >= 1 && k(M.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), s.next(), p = b(
|
|
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 &&
|
|
400
|
+
return a.braceNest > 0 && a.currentType === 2 && k(M.EMPTY_PLACEHOLDER, o(), 0), s.next(), p = b(
|
|
401
401
|
a,
|
|
402
402
|
3,
|
|
403
403
|
"}"
|
|
404
404
|
/* TokenChars.BraceRight */
|
|
405
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 &&
|
|
407
|
+
return a.braceNest > 0 && k(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 &&
|
|
411
|
+
return a.braceNest > 0 && k(M.UNTERMINATED_CLOSING_BRACE, o(), 0), p = b(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
|
-
return
|
|
413
|
+
return k(M.UNTERMINATED_CLOSING_BRACE, o(), 0), a.braceNest = 0, Te(s, a);
|
|
414
414
|
if (V = h(s, a))
|
|
415
|
-
return p =
|
|
415
|
+
return p = b(a, 4, Ye(s)), y(s), p;
|
|
416
416
|
if (C = m(s, a))
|
|
417
|
-
return p =
|
|
417
|
+
return p = b(a, 5, je(s)), y(s), p;
|
|
418
418
|
if (u = I(s, a))
|
|
419
|
-
return p =
|
|
419
|
+
return p = b(a, 6, Ke(s)), y(s), p;
|
|
420
420
|
if (!V && !C && !u)
|
|
421
|
-
return p =
|
|
421
|
+
return p = b(a, 12, Je(s)), k(M.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, p.value), y(s), p;
|
|
422
422
|
break;
|
|
423
423
|
}
|
|
424
424
|
}
|
|
@@ -428,30 +428,30 @@ function Gt(e, n = {}) {
|
|
|
428
428
|
const { currentType: p } = a;
|
|
429
429
|
let R = null;
|
|
430
430
|
const V = s.currentChar();
|
|
431
|
-
switch ((p === 7 || p === 8 || p === 11 || p === 9) && (V === X || V === ee) &&
|
|
431
|
+
switch ((p === 7 || p === 8 || p === 11 || p === 9) && (V === X || V === ee) && k(M.INVALID_LINKED_FORMAT, o(), 0), V) {
|
|
432
432
|
case "@":
|
|
433
|
-
return s.next(), R =
|
|
433
|
+
return s.next(), R = b(
|
|
434
434
|
a,
|
|
435
435
|
7,
|
|
436
436
|
"@"
|
|
437
437
|
/* TokenChars.LinkedAlias */
|
|
438
438
|
), a.inLinked = !0, R;
|
|
439
439
|
case ".":
|
|
440
|
-
return y(s), s.next(),
|
|
440
|
+
return y(s), s.next(), b(
|
|
441
441
|
a,
|
|
442
442
|
8,
|
|
443
443
|
"."
|
|
444
444
|
/* TokenChars.LinkedDot */
|
|
445
445
|
);
|
|
446
446
|
case ":":
|
|
447
|
-
return y(s), s.next(),
|
|
447
|
+
return y(s), s.next(), b(
|
|
448
448
|
a,
|
|
449
449
|
9,
|
|
450
450
|
":"
|
|
451
451
|
/* TokenChars.LinkedDelimiter */
|
|
452
452
|
);
|
|
453
453
|
default:
|
|
454
|
-
return $(s) ? (R =
|
|
454
|
+
return $(s) ? (R = b(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, R) : N(s, a) || H(s, a) ? (y(s), _e(s, a)) : T(s, a) ? (y(s), b(a, 11, qe(s))) : G(s, a) ? (y(s), V === "{" ? ue(s, a) || R : b(a, 10, Qe(s))) : (p === 7 && k(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) {
|
|
@@ -467,7 +467,7 @@ function Gt(e, n = {}) {
|
|
|
467
467
|
case "{":
|
|
468
468
|
return ue(s, a) || A(a);
|
|
469
469
|
case "}":
|
|
470
|
-
return
|
|
470
|
+
return k(M.UNBALANCED_CLOSING_BRACE, o(), 0), s.next(), b(
|
|
471
471
|
a,
|
|
472
472
|
3,
|
|
473
473
|
"}"
|
|
@@ -477,9 +477,9 @@ function Gt(e, n = {}) {
|
|
|
477
477
|
return _e(s, a) || A(a);
|
|
478
478
|
default: {
|
|
479
479
|
if ($(s))
|
|
480
|
-
return p =
|
|
480
|
+
return p = b(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, p;
|
|
481
481
|
if (q(s))
|
|
482
|
-
return
|
|
482
|
+
return b(a, 0, xe(s));
|
|
483
483
|
break;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
@@ -487,7 +487,7 @@ function Gt(e, n = {}) {
|
|
|
487
487
|
}
|
|
488
488
|
function Ze() {
|
|
489
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 ?
|
|
490
|
+
return _.lastType = s, _.lastOffset = a, _.lastStartLoc = p, _.lastEndLoc = R, _.offset = c(), _.startLoc = o(), r.currentChar() === re ? b(
|
|
491
491
|
_,
|
|
492
492
|
13
|
|
493
493
|
/* TokenTypes.EOF */
|
|
@@ -513,12 +513,12 @@ function Bt(e, n, t) {
|
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function xt(e = {}) {
|
|
517
517
|
const n = e.location !== !1, { onError: t } = e;
|
|
518
518
|
function r(i, d, h, m, ...I) {
|
|
519
|
-
const
|
|
520
|
-
if (
|
|
521
|
-
const T = n ? tn(h,
|
|
519
|
+
const N = i.currentPosition();
|
|
520
|
+
if (N.offset += m, N.column += m, t) {
|
|
521
|
+
const T = n ? tn(h, N) : null, H = Fe(d, T, {
|
|
522
522
|
domain: Vt,
|
|
523
523
|
args: I
|
|
524
524
|
});
|
|
@@ -537,40 +537,40 @@ function Yt(e = {}) {
|
|
|
537
537
|
return m.value = d, o(m, i.currentOffset(), i.currentPosition()), m;
|
|
538
538
|
}
|
|
539
539
|
function f(i, d) {
|
|
540
|
-
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h,
|
|
541
|
-
return
|
|
540
|
+
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h, N = c(5, m, I);
|
|
541
|
+
return N.index = parseInt(d, 10), i.nextToken(), o(N, i.currentOffset(), i.currentPosition()), N;
|
|
542
542
|
}
|
|
543
543
|
function _(i, d) {
|
|
544
|
-
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h,
|
|
545
|
-
return
|
|
544
|
+
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h, N = c(4, m, I);
|
|
545
|
+
return N.key = d, i.nextToken(), o(N, i.currentOffset(), i.currentPosition()), N;
|
|
546
546
|
}
|
|
547
547
|
function g(i, d) {
|
|
548
|
-
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h,
|
|
549
|
-
return
|
|
548
|
+
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h, N = c(9, m, I);
|
|
549
|
+
return N.value = d.replace(Wt, Bt), i.nextToken(), o(N, i.currentOffset(), i.currentPosition()), N;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
552
|
-
const d = i.nextToken(), h = i.context(), { lastOffset: m, lastStartLoc: I } = h,
|
|
553
|
-
return d.type !== 11 ? (r(i, M.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0),
|
|
551
|
+
function L(i) {
|
|
552
|
+
const d = i.nextToken(), h = i.context(), { lastOffset: m, lastStartLoc: I } = h, N = c(8, m, I);
|
|
553
|
+
return d.type !== 11 ? (r(i, M.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), N.value = "", o(N, m, I), {
|
|
554
554
|
nextConsumeToken: d,
|
|
555
|
-
node:
|
|
556
|
-
}) : (d.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Z(d)),
|
|
557
|
-
node:
|
|
555
|
+
node: N
|
|
556
|
+
}) : (d.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Z(d)), N.value = d.value || "", o(N, i.currentOffset(), i.currentPosition()), {
|
|
557
|
+
node: N
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function k(i, d) {
|
|
561
561
|
const h = i.context(), m = c(7, h.offset, h.startLoc);
|
|
562
562
|
return m.value = d, o(m, i.currentOffset(), i.currentPosition()), m;
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function b(i) {
|
|
565
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 I =
|
|
568
|
+
const I = L(i);
|
|
569
569
|
h.modifier = I.node, m = I.nextConsumeToken || i.nextToken();
|
|
570
570
|
}
|
|
571
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, d.lastStartLoc, 0, Z(m)), h.key =
|
|
573
|
+
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), h.key = k(i, m.value || "");
|
|
574
574
|
break;
|
|
575
575
|
case 4:
|
|
576
576
|
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), h.key = _(i, m.value || "");
|
|
@@ -583,8 +583,8 @@ function Yt(e = {}) {
|
|
|
583
583
|
break;
|
|
584
584
|
default: {
|
|
585
585
|
r(i, M.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
586
|
-
const I = i.context(),
|
|
587
|
-
return
|
|
586
|
+
const I = i.context(), N = c(7, I.offset, I.startLoc);
|
|
587
|
+
return N.value = "", o(N, I.offset, I.startLoc), h.key = N, o(h, I.offset, I.startLoc), {
|
|
588
588
|
nextConsumeToken: m,
|
|
589
589
|
node: h
|
|
590
590
|
};
|
|
@@ -597,10 +597,10 @@ function Yt(e = {}) {
|
|
|
597
597
|
function A(i) {
|
|
598
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
599
|
I.items = [];
|
|
600
|
-
let
|
|
600
|
+
let N = null;
|
|
601
601
|
do {
|
|
602
|
-
const G =
|
|
603
|
-
switch (
|
|
602
|
+
const G = N || i.nextToken();
|
|
603
|
+
switch (N = null, G.type) {
|
|
604
604
|
case 0:
|
|
605
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;
|
|
@@ -614,8 +614,8 @@ function Yt(e = {}) {
|
|
|
614
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
|
-
const $ =
|
|
618
|
-
I.items.push($.node),
|
|
617
|
+
const $ = b(i);
|
|
618
|
+
I.items.push($.node), N = $.nextConsumeToken || null;
|
|
619
619
|
break;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
@@ -625,14 +625,14 @@ function Yt(e = {}) {
|
|
|
625
625
|
}
|
|
626
626
|
function S(i, d, h, m) {
|
|
627
627
|
const I = i.context();
|
|
628
|
-
let
|
|
628
|
+
let N = m.items.length === 0;
|
|
629
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
|
-
|
|
633
|
+
N || (N = H.items.length === 0), T.cases.push(H);
|
|
634
634
|
} while (I.currentType !== 13);
|
|
635
|
-
return
|
|
635
|
+
return N && 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
638
|
const d = i.context(), { offset: h, startLoc: m } = d, I = A(i);
|
|
@@ -650,7 +650,7 @@ 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 Yt(e, n = {}) {
|
|
654
654
|
const t = {
|
|
655
655
|
ast: e,
|
|
656
656
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -702,8 +702,8 @@ function En(e, n) {
|
|
|
702
702
|
break;
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
function
|
|
706
|
-
const t =
|
|
705
|
+
function jt(e, n = {}) {
|
|
706
|
+
const t = Yt(e);
|
|
707
707
|
t.helper(
|
|
708
708
|
"normalize"
|
|
709
709
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -804,23 +804,23 @@ function Xt(e, n) {
|
|
|
804
804
|
const i = y ? r : "";
|
|
805
805
|
_(c ? i + " ".repeat(v) : i);
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function L(v = !0) {
|
|
808
808
|
const y = ++l.indentLevel;
|
|
809
809
|
v && g(y);
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function k(v = !0) {
|
|
812
812
|
const y = --l.indentLevel;
|
|
813
813
|
v && g(y);
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function b() {
|
|
816
816
|
g(l.indentLevel);
|
|
817
817
|
}
|
|
818
818
|
return {
|
|
819
819
|
context: f,
|
|
820
820
|
push: _,
|
|
821
|
-
indent:
|
|
822
|
-
deindent:
|
|
823
|
-
newline:
|
|
821
|
+
indent: L,
|
|
822
|
+
deindent: k,
|
|
823
|
+
newline: b,
|
|
824
824
|
helper: (v) => `_${v}`,
|
|
825
825
|
needIndent: () => l.needIndent
|
|
826
826
|
};
|
|
@@ -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 { ${dn(l.map((
|
|
918
|
+
f.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), f.indent(o), l.length > 0 && (f.push(`const { ${dn(l.map((L) => `${L}: _${L}`), ", ")} } = 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 = xt(t).parse(e);
|
|
929
|
+
return r ? (o && Kt(f), c && me(f), { ast: f, code: "" }) : (jt(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 Ne(
|
|
942
942
|
0
|
|
943
943
|
/* NodeTypes.Resource */
|
|
944
944
|
);
|
|
@@ -989,15 +989,15 @@ 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 Ne(t);
|
|
993
993
|
}
|
|
994
994
|
case 5: {
|
|
995
995
|
const r = n;
|
|
996
|
-
if (Q(r, "i") &&
|
|
996
|
+
if (Q(r, "i") && j(r.i))
|
|
997
997
|
return e.interpolate(e.list(r.i));
|
|
998
|
-
if (Q(r, "index") &&
|
|
998
|
+
if (Q(r, "index") && j(r.index))
|
|
999
999
|
return e.interpolate(e.list(r.index));
|
|
1000
|
-
throw
|
|
1000
|
+
throw Ne(t);
|
|
1001
1001
|
}
|
|
1002
1002
|
case 6: {
|
|
1003
1003
|
const r = n, c = pr(r), o = Er(r);
|
|
@@ -1020,7 +1020,7 @@ function Se(e, n) {
|
|
|
1020
1020
|
const t = se(e, fr);
|
|
1021
1021
|
if (t)
|
|
1022
1022
|
return t;
|
|
1023
|
-
throw
|
|
1023
|
+
throw Ne(n);
|
|
1024
1024
|
}
|
|
1025
1025
|
const mr = ["m", "modifier"];
|
|
1026
1026
|
function pr(e) {
|
|
@@ -1031,7 +1031,7 @@ function Er(e) {
|
|
|
1031
1031
|
const n = se(e, dr);
|
|
1032
1032
|
if (n)
|
|
1033
1033
|
return n;
|
|
1034
|
-
throw
|
|
1034
|
+
throw Ne(
|
|
1035
1035
|
6
|
|
1036
1036
|
/* NodeTypes.Linked */
|
|
1037
1037
|
);
|
|
@@ -1044,7 +1044,7 @@ function se(e, n, t) {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
return t;
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function Ne(e) {
|
|
1048
1048
|
return new Error(`unhandled node type: ${e}`);
|
|
1049
1049
|
}
|
|
1050
1050
|
const gr = (e) => e;
|
|
@@ -1082,10 +1082,10 @@ function hr(e, n) {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
1084
|
let Ie = null;
|
|
1085
|
-
function
|
|
1085
|
+
function br(e) {
|
|
1086
1086
|
Ie = e;
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1088
|
+
function Nr(e, n, t) {
|
|
1089
1089
|
Ie && Ie.emit("i18n:init", {
|
|
1090
1090
|
timestamp: Date.now(),
|
|
1091
1091
|
i18n: e,
|
|
@@ -1105,7 +1105,7 @@ const ne = {
|
|
|
1105
1105
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1106
1106
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1107
1107
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1108
|
-
},
|
|
1108
|
+
}, kr = 24;
|
|
1109
1109
|
function te(e) {
|
|
1110
1110
|
return Fe(e, null, void 0);
|
|
1111
1111
|
}
|
|
@@ -1129,10 +1129,10 @@ function Cn(e) {
|
|
|
1129
1129
|
} else
|
|
1130
1130
|
throw te(ne.NOT_SUPPORT_LOCALE_TYPE);
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function Lr(e, n, t) {
|
|
1133
1133
|
return [.../* @__PURE__ */ new Set([
|
|
1134
1134
|
t,
|
|
1135
|
-
...
|
|
1135
|
+
...x(n) ? n : P(n) ? Object.keys(n) : O(n) ? [n] : [t]
|
|
1136
1136
|
])];
|
|
1137
1137
|
}
|
|
1138
1138
|
function zn(e, n, t) {
|
|
@@ -1142,10 +1142,10 @@ function zn(e, n, t) {
|
|
|
1142
1142
|
if (!o) {
|
|
1143
1143
|
o = [];
|
|
1144
1144
|
let l = [t];
|
|
1145
|
-
for (;
|
|
1145
|
+
for (; x(l); )
|
|
1146
1146
|
l = Dn(o, l, n);
|
|
1147
|
-
const f =
|
|
1148
|
-
l = O(f) ? [f] : f,
|
|
1147
|
+
const f = x(n) || !D(n) ? n : n.default ? n.default : null;
|
|
1148
|
+
l = O(f) ? [f] : f, x(l) && Dn(o, l, !1), c.__localeChainCache.set(r, o);
|
|
1149
1149
|
}
|
|
1150
1150
|
return o;
|
|
1151
1151
|
}
|
|
@@ -1171,7 +1171,7 @@ function yr(e, n, t) {
|
|
|
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), (x(t) || D(t)) && t[c] && (r = t[c]);
|
|
1175
1175
|
}
|
|
1176
1176
|
return r;
|
|
1177
1177
|
}
|
|
@@ -1375,39 +1375,39 @@ function Dr(e) {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
function Pr(e) {
|
|
1377
1377
|
const n = [];
|
|
1378
|
-
let t = -1, r = 0, c = 0, o, l, f, _, g,
|
|
1379
|
-
const
|
|
1380
|
-
|
|
1378
|
+
let t = -1, r = 0, c = 0, o, l, f, _, g, L, k;
|
|
1379
|
+
const b = [];
|
|
1380
|
+
b[
|
|
1381
1381
|
0
|
|
1382
1382
|
/* Actions.APPEND */
|
|
1383
1383
|
] = () => {
|
|
1384
1384
|
l === void 0 ? l = f : l += f;
|
|
1385
|
-
},
|
|
1385
|
+
}, b[
|
|
1386
1386
|
1
|
|
1387
1387
|
/* Actions.PUSH */
|
|
1388
1388
|
] = () => {
|
|
1389
1389
|
l !== void 0 && (n.push(l), l = void 0);
|
|
1390
|
-
},
|
|
1390
|
+
}, b[
|
|
1391
1391
|
2
|
|
1392
1392
|
/* Actions.INC_SUB_PATH_DEPTH */
|
|
1393
1393
|
] = () => {
|
|
1394
|
-
|
|
1394
|
+
b[
|
|
1395
1395
|
0
|
|
1396
1396
|
/* Actions.APPEND */
|
|
1397
1397
|
](), c++;
|
|
1398
|
-
},
|
|
1398
|
+
}, b[
|
|
1399
1399
|
3
|
|
1400
1400
|
/* Actions.PUSH_SUB_PATH */
|
|
1401
1401
|
] = () => {
|
|
1402
1402
|
if (c > 0)
|
|
1403
|
-
c--, r = 4,
|
|
1403
|
+
c--, r = 4, b[
|
|
1404
1404
|
0
|
|
1405
1405
|
/* Actions.APPEND */
|
|
1406
1406
|
]();
|
|
1407
1407
|
else {
|
|
1408
1408
|
if (c = 0, l === void 0 || (l = Dr(l), l === !1))
|
|
1409
1409
|
return !1;
|
|
1410
|
-
|
|
1410
|
+
b[
|
|
1411
1411
|
1
|
|
1412
1412
|
/* Actions.PUSH */
|
|
1413
1413
|
]();
|
|
@@ -1416,14 +1416,14 @@ function Pr(e) {
|
|
|
1416
1416
|
function A() {
|
|
1417
1417
|
const S = e[t + 1];
|
|
1418
1418
|
if (r === 5 && S === "'" || r === 6 && S === '"')
|
|
1419
|
-
return t++, f = "\\" + S,
|
|
1419
|
+
return t++, f = "\\" + S, b[
|
|
1420
1420
|
0
|
|
1421
1421
|
/* Actions.APPEND */
|
|
1422
1422
|
](), !0;
|
|
1423
1423
|
}
|
|
1424
1424
|
for (; r !== null; )
|
|
1425
1425
|
if (t++, o = e[t], !(o === "\\" && A())) {
|
|
1426
|
-
if (_ = Cr(o),
|
|
1426
|
+
if (_ = Cr(o), k = ae[r], g = k[_] || k.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (L = b[g[1]], L && (f = o, L() === !1))))
|
|
1427
1427
|
return;
|
|
1428
1428
|
if (r === 7)
|
|
1429
1429
|
return n;
|
|
@@ -1476,21 +1476,21 @@ const Wr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
1476
1476
|
let st = null;
|
|
1477
1477
|
const Fn = (e) => {
|
|
1478
1478
|
st = e;
|
|
1479
|
-
},
|
|
1479
|
+
}, xr = () => st;
|
|
1480
1480
|
let wn = 0;
|
|
1481
|
-
function
|
|
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 =
|
|
1481
|
+
function Yr(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 = x(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()), L = e.pluralRules || U(), k = w(e.missing) ? e.missing : null, b = 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, N = w(e.localeFallbacker) ? e.localeFallbacker : tt || Lr, 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 Y = {
|
|
1485
1485
|
version: t,
|
|
1486
1486
|
cid: wn,
|
|
1487
1487
|
locale: r,
|
|
1488
1488
|
fallbackLocale: o,
|
|
1489
1489
|
messages: l,
|
|
1490
1490
|
modifiers: g,
|
|
1491
|
-
pluralRules:
|
|
1492
|
-
missing:
|
|
1493
|
-
missingWarn:
|
|
1491
|
+
pluralRules: L,
|
|
1492
|
+
missing: k,
|
|
1493
|
+
missingWarn: b,
|
|
1494
1494
|
fallbackWarn: A,
|
|
1495
1495
|
fallbackFormat: S,
|
|
1496
1496
|
unresolving: v,
|
|
@@ -1500,12 +1500,12 @@ function jr(e = {}) {
|
|
|
1500
1500
|
escapeParameter: h,
|
|
1501
1501
|
messageCompiler: m,
|
|
1502
1502
|
messageResolver: I,
|
|
1503
|
-
localeFallbacker:
|
|
1503
|
+
localeFallbacker: N,
|
|
1504
1504
|
fallbackContext: T,
|
|
1505
1505
|
onWarn: n,
|
|
1506
1506
|
__meta: q
|
|
1507
1507
|
};
|
|
1508
|
-
return
|
|
1508
|
+
return Y.datetimeFormats = f, Y.numberFormats = _, Y.__datetimeFormatters = G, Y.__numberFormatters = $, __INTLIFY_PROD_DEVTOOLS__ && Nr(Y, t, q), Y;
|
|
1509
1509
|
}
|
|
1510
1510
|
const nn = (e) => ({ [e]: U() });
|
|
1511
1511
|
function hn(e, n, t, r, c) {
|
|
@@ -1516,11 +1516,11 @@ function hn(e, n, t, r, c) {
|
|
|
1516
1516
|
} else
|
|
1517
1517
|
return n;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1519
|
+
function be(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 jr(e, n) {
|
|
1524
1524
|
return e === n ? !1 : e.split("-")[0] === n.split("-")[0];
|
|
1525
1525
|
}
|
|
1526
1526
|
function Kr(e, n) {
|
|
@@ -1528,31 +1528,31 @@ 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 (jr(e, n[r]))
|
|
1532
1532
|
return !0;
|
|
1533
1533
|
return !1;
|
|
1534
1534
|
}
|
|
1535
1535
|
function Hn(e, ...n) {
|
|
1536
|
-
const { datetimeFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __datetimeFormatters: f } = e, [_, g,
|
|
1537
|
-
B(
|
|
1538
|
-
const A = !!
|
|
1536
|
+
const { datetimeFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __datetimeFormatters: f } = e, [_, g, L, k] = sn(...n), b = B(L.missingWarn) ? L.missingWarn : e.missingWarn;
|
|
1537
|
+
B(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn;
|
|
1538
|
+
const A = !!L.part, S = Tn(e, L), v = l(
|
|
1539
1539
|
e,
|
|
1540
1540
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1541
1541
|
c,
|
|
1542
1542
|
S
|
|
1543
1543
|
);
|
|
1544
1544
|
if (!O(_) || _ === "")
|
|
1545
|
-
return new Intl.DateTimeFormat(S,
|
|
1545
|
+
return new Intl.DateTimeFormat(S, k).format(g);
|
|
1546
1546
|
let y = {}, i, d = null;
|
|
1547
1547
|
const h = "datetime format";
|
|
1548
|
-
for (let
|
|
1549
|
-
hn(e, _, i,
|
|
1548
|
+
for (let N = 0; N < v.length && (i = v[N], y = t[i] || {}, d = y[_], !D(d)); N++)
|
|
1549
|
+
hn(e, _, i, b, h);
|
|
1550
1550
|
if (!D(d) || !O(i))
|
|
1551
1551
|
return r ? we : _;
|
|
1552
1552
|
let m = `${i}__${_}`;
|
|
1553
|
-
Ue(
|
|
1553
|
+
Ue(k) || (m = `${m}__${JSON.stringify(k)}`);
|
|
1554
1554
|
let I = f.get(m);
|
|
1555
|
-
return I || (I = new Intl.DateTimeFormat(i, K({}, d,
|
|
1555
|
+
return I || (I = new Intl.DateTimeFormat(i, K({}, d, k)), f.set(m, I)), A ? I.formatToParts(g) : I.format(g);
|
|
1556
1556
|
}
|
|
1557
1557
|
const at = [
|
|
1558
1558
|
"localeMatcher",
|
|
@@ -1590,11 +1590,11 @@ function sn(...e) {
|
|
|
1590
1590
|
} catch {
|
|
1591
1591
|
throw te(ne.INVALID_ISO_DATE_ARGUMENT);
|
|
1592
1592
|
}
|
|
1593
|
-
} else if (
|
|
1593
|
+
} else if (kt(n)) {
|
|
1594
1594
|
if (isNaN(n.getTime()))
|
|
1595
1595
|
throw te(ne.INVALID_DATE_ARGUMENT);
|
|
1596
1596
|
f = n;
|
|
1597
|
-
} else if (
|
|
1597
|
+
} else if (j(n))
|
|
1598
1598
|
f = n;
|
|
1599
1599
|
else
|
|
1600
1600
|
throw te(ne.INVALID_ARGUMENT);
|
|
@@ -1610,26 +1610,26 @@ function Gn(e, n, t) {
|
|
|
1610
1610
|
}
|
|
1611
1611
|
}
|
|
1612
1612
|
function Vn(e, ...n) {
|
|
1613
|
-
const { numberFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __numberFormatters: f } = e, [_, g,
|
|
1614
|
-
B(
|
|
1615
|
-
const A = !!
|
|
1613
|
+
const { numberFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __numberFormatters: f } = e, [_, g, L, k] = an(...n), b = B(L.missingWarn) ? L.missingWarn : e.missingWarn;
|
|
1614
|
+
B(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn;
|
|
1615
|
+
const A = !!L.part, S = Tn(e, L), v = l(
|
|
1616
1616
|
e,
|
|
1617
1617
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1618
1618
|
c,
|
|
1619
1619
|
S
|
|
1620
1620
|
);
|
|
1621
1621
|
if (!O(_) || _ === "")
|
|
1622
|
-
return new Intl.NumberFormat(S,
|
|
1622
|
+
return new Intl.NumberFormat(S, k).format(g);
|
|
1623
1623
|
let y = {}, i, d = null;
|
|
1624
1624
|
const h = "number format";
|
|
1625
|
-
for (let
|
|
1626
|
-
hn(e, _, i,
|
|
1625
|
+
for (let N = 0; N < v.length && (i = v[N], y = t[i] || {}, d = y[_], !D(d)); N++)
|
|
1626
|
+
hn(e, _, i, b, h);
|
|
1627
1627
|
if (!D(d) || !O(i))
|
|
1628
1628
|
return r ? we : _;
|
|
1629
1629
|
let m = `${i}__${_}`;
|
|
1630
|
-
Ue(
|
|
1630
|
+
Ue(k) || (m = `${m}__${JSON.stringify(k)}`);
|
|
1631
1631
|
let I = f.get(m);
|
|
1632
|
-
return I || (I = new Intl.NumberFormat(i, K({}, d,
|
|
1632
|
+
return I || (I = new Intl.NumberFormat(i, K({}, d, k)), f.set(m, I)), A ? I.formatToParts(g) : I.format(g);
|
|
1633
1633
|
}
|
|
1634
1634
|
const ot = [
|
|
1635
1635
|
"localeMatcher",
|
|
@@ -1656,7 +1656,7 @@ 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 (!j(n))
|
|
1660
1660
|
throw te(ne.INVALID_ARGUMENT);
|
|
1661
1661
|
const f = n;
|
|
1662
1662
|
return O(t) ? o.key = t : D(t) && Object.keys(t).forEach((_) => {
|
|
@@ -1675,94 +1675,94 @@ 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 = j(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1679
|
+
return e.named && (j(e.named.count) || j(e.named.n)) ? j(e.named.count) ? e.named.count : j(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
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
|
-
|
|
1686
|
+
j(e.pluralIndex) && zr(t, _);
|
|
1687
1687
|
const g = (i) => _[i];
|
|
1688
|
-
function
|
|
1688
|
+
function L(i, d) {
|
|
1689
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
|
|
1692
|
+
const k = (i) => e.modifiers ? e.modifiers[i] : Xr, b = 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
1696
|
linked: (i, ...d) => {
|
|
1697
1697
|
const [h, m] = d;
|
|
1698
|
-
let I = "text",
|
|
1699
|
-
d.length === 1 ? P(h) ? (
|
|
1700
|
-
const T =
|
|
1698
|
+
let I = "text", N = "";
|
|
1699
|
+
d.length === 1 ? P(h) ? (N = h.modifier || N, I = h.type || I) : O(h) && (N = h || N) : d.length === 2 && (O(h) && (N = h || N), O(m) && (I = m || I));
|
|
1700
|
+
const T = L(i, !0)(y), H = (
|
|
1701
1701
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1702
|
-
I === "vnode" &&
|
|
1702
|
+
I === "vnode" && x(T) && N ? T[0] : T
|
|
1703
1703
|
);
|
|
1704
|
-
return
|
|
1704
|
+
return N ? k(N)(H, I) : H;
|
|
1705
1705
|
},
|
|
1706
|
-
message:
|
|
1706
|
+
message: L,
|
|
1707
1707
|
type: S,
|
|
1708
1708
|
interpolate: A,
|
|
1709
|
-
normalize:
|
|
1709
|
+
normalize: b,
|
|
1710
1710
|
values: K(U(), l, _)
|
|
1711
1711
|
};
|
|
1712
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),
|
|
1717
|
-
|
|
1714
|
+
const xn = () => "", J = (e) => w(e);
|
|
1715
|
+
function Yn(e, ...n) {
|
|
1716
|
+
const { fallbackFormat: t, postTranslation: r, unresolving: c, messageCompiler: o, fallbackLocale: l, messages: f } = e, [_, g] = on(...n), L = B(g.missingWarn) ? g.missingWarn : e.missingWarn, k = B(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, b = 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
|
+
b && ns(g);
|
|
1718
1718
|
let [i, d, h] = A ? [
|
|
1719
1719
|
_,
|
|
1720
1720
|
y,
|
|
1721
1721
|
f[y] || U()
|
|
1722
|
-
] : ct(e, _, y, l,
|
|
1722
|
+
] : ct(e, _, y, l, k, L), m = i, I = _;
|
|
1723
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 N = !1;
|
|
1726
1726
|
const T = () => {
|
|
1727
|
-
|
|
1727
|
+
N = !0;
|
|
1728
1728
|
}, H = J(m) ? m : it(e, _, d, m, I, T);
|
|
1729
|
-
if (
|
|
1729
|
+
if (N)
|
|
1730
1730
|
return m;
|
|
1731
|
-
const G = ss(e, d, h, g), $ = es(G), q = ts(e, H, $),
|
|
1731
|
+
const G = ss(e, d, h, g), $ = es(G), q = ts(e, H, $), Y = r ? r(q, _) : q;
|
|
1732
1732
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1733
1733
|
const le = {
|
|
1734
1734
|
timestamp: Date.now(),
|
|
1735
1735
|
key: O(_) ? _ : J(m) ? m.key : "",
|
|
1736
1736
|
locale: d || (J(m) ? m.locale : ""),
|
|
1737
1737
|
format: O(m) ? m : J(m) ? m.source : "",
|
|
1738
|
-
message:
|
|
1738
|
+
message: Y
|
|
1739
1739
|
};
|
|
1740
1740
|
le.meta = K({}, e.__meta, /* @__PURE__ */ Br() || {}), Ir(le);
|
|
1741
1741
|
}
|
|
1742
|
-
return
|
|
1742
|
+
return Y;
|
|
1743
1743
|
}
|
|
1744
1744
|
function ns(e) {
|
|
1745
|
-
|
|
1745
|
+
x(e.list) ? e.list = e.list.map((n) => O(n) ? vn(n) : n) : P(e.named) && Object.keys(e.named).forEach((n) => {
|
|
1746
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
|
-
const { messages: l, onWarn: f, messageResolver: _, localeFallbacker: g } = e,
|
|
1751
|
-
let
|
|
1750
|
+
const { messages: l, onWarn: f, messageResolver: _, localeFallbacker: g } = e, L = g(e, r, t);
|
|
1751
|
+
let k = U(), b, A = null;
|
|
1752
1752
|
const S = "translate";
|
|
1753
|
-
for (let v = 0; v <
|
|
1754
|
-
if (!Kr(
|
|
1753
|
+
for (let v = 0; v < L.length && (b = L[v], k = l[b] || U(), (A = _(k, n)) === null && (A = k[n]), !(O(A) || de(A) || J(A))); v++)
|
|
1754
|
+
if (!Kr(b, L)) {
|
|
1755
1755
|
const y = hn(
|
|
1756
1756
|
e,
|
|
1757
1757
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1758
1758
|
n,
|
|
1759
|
-
|
|
1759
|
+
b,
|
|
1760
1760
|
o,
|
|
1761
1761
|
S
|
|
1762
1762
|
);
|
|
1763
1763
|
y !== n && (A = y);
|
|
1764
1764
|
}
|
|
1765
|
-
return [A,
|
|
1765
|
+
return [A, b, k];
|
|
1766
1766
|
}
|
|
1767
1767
|
function it(e, n, t, r, c, o) {
|
|
1768
1768
|
const { messageCompiler: l, warnHtmlMessage: f } = e;
|
|
@@ -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 (!O(n) && !
|
|
1785
|
+
if (!O(n) && !j(n) && !J(n) && !de(n))
|
|
1786
1786
|
throw te(ne.INVALID_ARGUMENT);
|
|
1787
|
-
const o =
|
|
1788
|
-
return
|
|
1787
|
+
const o = j(n) ? String(n) : (J(n), n);
|
|
1788
|
+
return j(t) ? c.plural = t : O(t) ? c.default = t : D(t) && !Ue(t) ? c.named = t : x(t) && (c.list = t), j(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 {
|
|
@@ -1799,15 +1799,15 @@ function rs(e, n, t, r, c, o) {
|
|
|
1799
1799
|
};
|
|
1800
1800
|
}
|
|
1801
1801
|
function ss(e, n, t, r) {
|
|
1802
|
-
const { modifiers: c, pluralRules: o, messageResolver: l, fallbackLocale: f, fallbackWarn: _, missingWarn: g, fallbackContext:
|
|
1802
|
+
const { modifiers: c, pluralRules: o, messageResolver: l, fallbackLocale: f, fallbackWarn: _, missingWarn: g, fallbackContext: L } = e, b = {
|
|
1803
1803
|
locale: n,
|
|
1804
1804
|
modifiers: c,
|
|
1805
1805
|
pluralRules: o,
|
|
1806
1806
|
messages: (A, S) => {
|
|
1807
1807
|
let v = l(t, A);
|
|
1808
|
-
if (v == null && (
|
|
1808
|
+
if (v == null && (L || S)) {
|
|
1809
1809
|
const [, , y] = ct(
|
|
1810
|
-
|
|
1810
|
+
L || e,
|
|
1811
1811
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1812
1812
|
A,
|
|
1813
1813
|
n,
|
|
@@ -1822,21 +1822,21 @@ function ss(e, n, t, r) {
|
|
|
1822
1822
|
const d = it(e, A, n, v, A, () => {
|
|
1823
1823
|
y = !0;
|
|
1824
1824
|
});
|
|
1825
|
-
return y ?
|
|
1826
|
-
} else return J(v) ? v :
|
|
1825
|
+
return y ? xn : d;
|
|
1826
|
+
} else return J(v) ? v : xn;
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
|
-
return e.processor && (
|
|
1829
|
+
return e.processor && (b.processor = e.processor), r.list && (b.list = r.list), r.named && (b.named = r.named), j(r.plural) && (b.pluralIndex = r.plural), b;
|
|
1830
1830
|
}
|
|
1831
1831
|
nr();
|
|
1832
|
-
var as = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_49f5ce91-80ce-470f-b6e3-d2380aa4dd7e", 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_49f5ce91-80ce-470f-b6e3-d2380aa4dd7e", 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.6.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --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: "1790", ACTIONS_ORCHESTRATION_ID: "6458c774-1d95-4926-9311-395ea2b5f942.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: "20260720.247.2", 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_49f5ce91-80ce-470f-b6e3-d2380aa4dd7e", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.7.9", 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:10748", 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: "31156826564", 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: "f497144915c69e84abd6be19f0b95472c0238c42", 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.9", 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_73692f21-9ef8-4507-82cb-d3a4f977ffff", INVOCATION_ID: "3562434c5f5f469a933baa80008c1e80", 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: "455", 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 1000106583", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "inventory-portal-v1.7.9", 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", 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: "f497144915c69e84abd6be19f0b95472c0238c42", 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.9", 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_49f5ce91-80ce-470f-b6e3-d2380aa4dd7e", 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_49f5ce91-80ce-470f-b6e3-d2380aa4dd7e", 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_49f5ce91-80ce-470f-b6e3-d2380aa4dd7e", 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_49f5ce91-80ce-470f-b6e3-d2380aa4dd7e", 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_72081f9d-4bc9-4eb4-baf2-5db60ca507f9", 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_72081f9d-4bc9-4eb4-baf2-5db60ca507f9", 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: "1740", ACTIONS_ORCHESTRATION_ID: "b51a4713-aa99-4ba8-b688-3e7002387865.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__playwright_test: "1.61.1", 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_72081f9d-4bc9-4eb4-baf2-5db60ca507f9", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.7.11-dev.0", 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:9924", 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: "32011735696", 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: "02c2289ae115ed9362337ff3a5b6742265bd0806", 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_9c90617e-2d1f-4eed-873d-7c1f3cd86689", INVOCATION_ID: "75ebdfdf035b4c87a08c4e5e8059b1c1", 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: "1157", 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_e2e: "playwright test", 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 1000112231", 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.11-dev.0", 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: "02c2289ae115ed9362337ff3a5b6742265bd0806", 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_72081f9d-4bc9-4eb4-baf2-5db60ca507f9", 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_72081f9d-4bc9-4eb4-baf2-5db60ca507f9", 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_72081f9d-4bc9-4eb4-baf2-5db60ca507f9", 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_72081f9d-4bc9-4eb4-baf2-5db60ca507f9", 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);
|
|
1836
1836
|
}
|
|
1837
1837
|
const Ee = {
|
|
1838
1838
|
// composer module errors
|
|
1839
|
-
UNEXPECTED_RETURN_TYPE:
|
|
1839
|
+
UNEXPECTED_RETURN_TYPE: kr,
|
|
1840
1840
|
// 24
|
|
1841
1841
|
// legacy module errors
|
|
1842
1842
|
INVALID_ARGUMENT: 25,
|
|
@@ -1851,13 +1851,13 @@ 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");
|
|
1854
|
-
function
|
|
1854
|
+
function ke(e) {
|
|
1855
1855
|
if (!P(e))
|
|
1856
1856
|
return e;
|
|
1857
1857
|
for (const n in e)
|
|
1858
1858
|
if (Q(e, n))
|
|
1859
1859
|
if (!n.includes("."))
|
|
1860
|
-
P(e[n]) &&
|
|
1860
|
+
P(e[n]) && ke(e[n]);
|
|
1861
1861
|
else {
|
|
1862
1862
|
const t = n.split("."), r = t.length - 1;
|
|
1863
1863
|
let c = e, o = !1;
|
|
@@ -1868,13 +1868,13 @@ function Le(e) {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
c = c[t[l]];
|
|
1870
1870
|
}
|
|
1871
|
-
o || (c[t[r]] = e[n], delete e[n]), P(c[t[r]]) &&
|
|
1871
|
+
o || (c[t[r]] = e[n], delete e[n]), P(c[t[r]]) && ke(c[t[r]]);
|
|
1872
1872
|
}
|
|
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 : x(r) ? U() : { [e]: U() };
|
|
1877
|
+
if (x(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);
|
|
@@ -1882,7 +1882,7 @@ function ut(e, n) {
|
|
|
1882
1882
|
O(f) && De(JSON.parse(f), l);
|
|
1883
1883
|
}), c == null && o)
|
|
1884
1884
|
for (const f in l)
|
|
1885
|
-
Q(l, f) &&
|
|
1885
|
+
Q(l, f) && ke(l[f]);
|
|
1886
1886
|
return l;
|
|
1887
1887
|
}
|
|
1888
1888
|
function _t(e) {
|
|
@@ -1913,8 +1913,8 @@ function ls(e, n, t) {
|
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
|
-
function
|
|
1917
|
-
return Nt
|
|
1916
|
+
function jn(e) {
|
|
1917
|
+
return bt(Nt, null, e, 0);
|
|
1918
1918
|
}
|
|
1919
1919
|
const Kn = "__INTLIFY_META__", Xn = () => [], us = () => !1;
|
|
1920
1920
|
let $n = 0;
|
|
@@ -1927,18 +1927,18 @@ const _s = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
1927
1927
|
return e && (n = _t(e)[Kn]) ? { [Kn]: n } : null;
|
|
1928
1928
|
};
|
|
1929
1929
|
function fs(e = {}) {
|
|
1930
|
-
const { __root: n, __injectWithOption: t } = e, r = n === void 0, c = e.flatJson, o =
|
|
1930
|
+
const { __root: n, __injectWithOption: t } = e, r = n === void 0, c = e.flatJson, o = kn ? Et : gt;
|
|
1931
1931
|
let l = B(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1932
1932
|
const f = o(
|
|
1933
1933
|
// prettier-ignore
|
|
1934
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 : O(e.fallbackLocale) ||
|
|
1938
|
-
), g = o(ut(f.value, e)),
|
|
1939
|
-
let
|
|
1937
|
+
n && l ? n.fallbackLocale.value : O(e.fallbackLocale) || x(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : f.value
|
|
1938
|
+
), g = o(ut(f.value, e)), L = o(D(e.datetimeFormats) ? e.datetimeFormats : { [f.value]: {} }), k = o(D(e.numberFormats) ? e.numberFormats : { [f.value]: {} });
|
|
1939
|
+
let b = 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
1940
|
const I = n ? n.modifiers : D(e.modifiers) ? e.modifiers : {};
|
|
1941
|
-
let
|
|
1941
|
+
let N = e.pluralRules || n && n.pluralRules, T;
|
|
1942
1942
|
T = (() => {
|
|
1943
1943
|
r && Fn(null);
|
|
1944
1944
|
const u = {
|
|
@@ -1947,9 +1947,9 @@ function fs(e = {}) {
|
|
|
1947
1947
|
fallbackLocale: _.value,
|
|
1948
1948
|
messages: g.value,
|
|
1949
1949
|
modifiers: I,
|
|
1950
|
-
pluralRules:
|
|
1950
|
+
pluralRules: N,
|
|
1951
1951
|
missing: i === null ? void 0 : i,
|
|
1952
|
-
missingWarn:
|
|
1952
|
+
missingWarn: b,
|
|
1953
1953
|
fallbackWarn: A,
|
|
1954
1954
|
fallbackFormat: v,
|
|
1955
1955
|
unresolving: !0,
|
|
@@ -1960,17 +1960,17 @@ function fs(e = {}) {
|
|
|
1960
1960
|
messageCompiler: e.messageCompiler,
|
|
1961
1961
|
__meta: { framework: "vue" }
|
|
1962
1962
|
};
|
|
1963
|
-
u.datetimeFormats =
|
|
1964
|
-
const E =
|
|
1963
|
+
u.datetimeFormats = L.value, u.numberFormats = k.value, u.__datetimeFormatters = D(T) ? T.__datetimeFormatters : void 0, u.__numberFormatters = D(T) ? T.__numberFormatters : void 0;
|
|
1964
|
+
const E = Yr(u);
|
|
1965
1965
|
return r && Fn(E), E;
|
|
1966
|
-
})(),
|
|
1966
|
+
})(), be(T, f.value, _.value);
|
|
1967
1967
|
function G() {
|
|
1968
1968
|
return [
|
|
1969
1969
|
f.value,
|
|
1970
1970
|
_.value,
|
|
1971
1971
|
g.value,
|
|
1972
|
-
|
|
1973
|
-
|
|
1972
|
+
L.value,
|
|
1973
|
+
k.value
|
|
1974
1974
|
];
|
|
1975
1975
|
}
|
|
1976
1976
|
const $ = he({
|
|
@@ -1981,9 +1981,9 @@ function fs(e = {}) {
|
|
|
1981
1981
|
}), q = he({
|
|
1982
1982
|
get: () => _.value,
|
|
1983
1983
|
set: (u) => {
|
|
1984
|
-
_.value = u, T.fallbackLocale = _.value,
|
|
1984
|
+
_.value = u, T.fallbackLocale = _.value, be(T, f.value, u);
|
|
1985
1985
|
}
|
|
1986
|
-
}),
|
|
1986
|
+
}), Y = he(() => g.value), le = /* @__PURE__ */ he(() => L.value), He = /* @__PURE__ */ he(() => k.value);
|
|
1987
1987
|
function Ge() {
|
|
1988
1988
|
return w(d) ? d : null;
|
|
1989
1989
|
}
|
|
@@ -2000,12 +2000,12 @@ function fs(e = {}) {
|
|
|
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 ? xr() : 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
|
-
|
|
2008
|
+
j(fe) && fe === we || F === "translate exists" && !fe) {
|
|
2009
2009
|
const [pt, Is] = E();
|
|
2010
2010
|
return n && S ? W(n) : oe(pt);
|
|
2011
2011
|
} else {
|
|
@@ -2014,26 +2014,26 @@ function fs(e = {}) {
|
|
|
2014
2014
|
throw Oe(Ee.UNEXPECTED_RETURN_TYPE);
|
|
2015
2015
|
}
|
|
2016
2016
|
};
|
|
2017
|
-
function
|
|
2018
|
-
return z((E) => Reflect.apply(
|
|
2017
|
+
function Le(...u) {
|
|
2018
|
+
return z((E) => Reflect.apply(Yn, 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
2023
|
throw Oe(Ee.INVALID_ARGUMENT);
|
|
2024
|
-
return
|
|
2024
|
+
return Le(E, F, K({ resolvedMessage: !0 }, W || {}));
|
|
2025
2025
|
}
|
|
2026
|
-
function
|
|
2026
|
+
function xe(...u) {
|
|
2027
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
2028
|
}
|
|
2029
|
-
function
|
|
2029
|
+
function Ye(...u) {
|
|
2030
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) => O(E) ||
|
|
2032
|
+
function je(u) {
|
|
2033
|
+
return u.map((E) => O(E) || j(E) || B(E) ? jn(String(E)) : E);
|
|
2034
2034
|
}
|
|
2035
2035
|
const Ke = {
|
|
2036
|
-
normalize:
|
|
2036
|
+
normalize: je,
|
|
2037
2037
|
interpolate: (u) => u,
|
|
2038
2038
|
type: "vnode"
|
|
2039
2039
|
};
|
|
@@ -2042,21 +2042,21 @@ 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(Yn, 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) => [jn(E)], (E) => x(E));
|
|
2051
2051
|
}
|
|
2052
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) ||
|
|
2053
|
+
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () => an(...u), "number format", (E) => E[un](...u), Xn, (E) => O(E) || x(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) => O(E) ||
|
|
2056
|
+
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => E[ln](...u), Xn, (E) => O(E) || x(E));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(u) {
|
|
2059
|
-
|
|
2059
|
+
N = u, T.pluralRules = N;
|
|
2060
2060
|
}
|
|
2061
2061
|
function qe(u, E) {
|
|
2062
2062
|
return z(() => {
|
|
@@ -2089,7 +2089,7 @@ function fs(e = {}) {
|
|
|
2089
2089
|
if (c) {
|
|
2090
2090
|
const F = { [u]: E };
|
|
2091
2091
|
for (const W in F)
|
|
2092
|
-
Q(F, W) &&
|
|
2092
|
+
Q(F, W) && ke(F[W]);
|
|
2093
2093
|
E = F[u];
|
|
2094
2094
|
}
|
|
2095
2095
|
g.value[u] = E, T.messages = g.value;
|
|
@@ -2099,31 +2099,31 @@ function fs(e = {}) {
|
|
|
2099
2099
|
const F = { [u]: E };
|
|
2100
2100
|
if (c)
|
|
2101
2101
|
for (const W in F)
|
|
2102
|
-
Q(F, W) &&
|
|
2102
|
+
Q(F, W) && ke(F[W]);
|
|
2103
2103
|
E = F[u], De(E, g.value[u]), T.messages = g.value;
|
|
2104
2104
|
}
|
|
2105
2105
|
function Ze(u) {
|
|
2106
|
-
return
|
|
2106
|
+
return L.value[u] || {};
|
|
2107
2107
|
}
|
|
2108
2108
|
function s(u, E) {
|
|
2109
|
-
|
|
2109
|
+
L.value[u] = E, T.datetimeFormats = L.value, Gn(T, u, E);
|
|
2110
2110
|
}
|
|
2111
2111
|
function a(u, E) {
|
|
2112
|
-
|
|
2112
|
+
L.value[u] = K(L.value[u] || {}, E), T.datetimeFormats = L.value, Gn(T, u, E);
|
|
2113
2113
|
}
|
|
2114
2114
|
function p(u) {
|
|
2115
|
-
return
|
|
2115
|
+
return k.value[u] || {};
|
|
2116
2116
|
}
|
|
2117
2117
|
function R(u, E) {
|
|
2118
|
-
|
|
2118
|
+
k.value[u] = E, T.numberFormats = k.value, Wn(T, u, E);
|
|
2119
2119
|
}
|
|
2120
2120
|
function V(u, E) {
|
|
2121
|
-
|
|
2121
|
+
k.value[u] = K(k.value[u] || {}, E), T.numberFormats = k.value, Wn(T, u, E);
|
|
2122
2122
|
}
|
|
2123
|
-
$n++, n &&
|
|
2124
|
-
l && (f.value = u, T.locale = u,
|
|
2123
|
+
$n++, n && kn && (On(n.locale, (u) => {
|
|
2124
|
+
l && (f.value = u, T.locale = u, be(T, f.value, _.value));
|
|
2125
2125
|
}), On(n.fallbackLocale, (u) => {
|
|
2126
|
-
l && (_.value = u, T.fallbackLocale = u,
|
|
2126
|
+
l && (_.value = u, T.fallbackLocale = u, be(T, f.value, _.value));
|
|
2127
2127
|
}));
|
|
2128
2128
|
const C = {
|
|
2129
2129
|
id: $n,
|
|
@@ -2133,26 +2133,26 @@ function fs(e = {}) {
|
|
|
2133
2133
|
return l;
|
|
2134
2134
|
},
|
|
2135
2135
|
set inheritLocale(u) {
|
|
2136
|
-
l = u, u && n && (f.value = n.locale.value, _.value = n.fallbackLocale.value,
|
|
2136
|
+
l = u, u && n && (f.value = n.locale.value, _.value = n.fallbackLocale.value, be(T, f.value, _.value));
|
|
2137
2137
|
},
|
|
2138
2138
|
get availableLocales() {
|
|
2139
2139
|
return Object.keys(g.value).sort();
|
|
2140
2140
|
},
|
|
2141
|
-
messages:
|
|
2141
|
+
messages: Y,
|
|
2142
2142
|
get modifiers() {
|
|
2143
2143
|
return I;
|
|
2144
2144
|
},
|
|
2145
2145
|
get pluralRules() {
|
|
2146
|
-
return
|
|
2146
|
+
return N || {};
|
|
2147
2147
|
},
|
|
2148
2148
|
get isGlobal() {
|
|
2149
2149
|
return r;
|
|
2150
2150
|
},
|
|
2151
2151
|
get missingWarn() {
|
|
2152
|
-
return
|
|
2152
|
+
return b;
|
|
2153
2153
|
},
|
|
2154
2154
|
set missingWarn(u) {
|
|
2155
|
-
|
|
2155
|
+
b = u, T.missingWarn = b;
|
|
2156
2156
|
},
|
|
2157
2157
|
get fallbackWarn() {
|
|
2158
2158
|
return A;
|
|
@@ -2184,7 +2184,7 @@ function fs(e = {}) {
|
|
|
2184
2184
|
set escapeParameter(u) {
|
|
2185
2185
|
m = u, T.escapeParameter = u;
|
|
2186
2186
|
},
|
|
2187
|
-
t:
|
|
2187
|
+
t: Le,
|
|
2188
2188
|
getLocaleMessage: ue,
|
|
2189
2189
|
setLocaleMessage: _e,
|
|
2190
2190
|
mergeLocaleMessage: Te,
|
|
@@ -2194,9 +2194,9 @@ 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 = xe, C.n = Ye, 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
|
-
const
|
|
2199
|
+
const bn = {
|
|
2200
2200
|
tag: {
|
|
2201
2201
|
type: [String, Object]
|
|
2202
2202
|
},
|
|
@@ -2234,26 +2234,26 @@ K({
|
|
|
2234
2234
|
},
|
|
2235
2235
|
plural: {
|
|
2236
2236
|
type: [Number, String],
|
|
2237
|
-
validator: (e) =>
|
|
2237
|
+
validator: (e) => j(e) || !isNaN(e)
|
|
2238
2238
|
}
|
|
2239
|
-
},
|
|
2239
|
+
}, bn);
|
|
2240
2240
|
function ps(e) {
|
|
2241
|
-
return
|
|
2241
|
+
return x(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), 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((
|
|
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((b, A) => t.includes(A) ? K(U(), b, { [A]: e.format[A] }) : b, U()));
|
|
2249
2249
|
const _ = r(e.value, l, f);
|
|
2250
2250
|
let g = [l.key];
|
|
2251
|
-
|
|
2252
|
-
const S = c[
|
|
2253
|
-
return ps(v) && (v[0].key = `${
|
|
2251
|
+
x(_) ? g = _.map((b, A) => {
|
|
2252
|
+
const S = c[b.type], v = S ? S({ [b.type]: b.value, index: A, parts: _ }) : [b.value];
|
|
2253
|
+
return ps(v) && (v[0].key = `${b.type}-${A}`), v;
|
|
2254
2254
|
}) : O(_) && (g = [_]);
|
|
2255
|
-
const
|
|
2256
|
-
return qn(
|
|
2255
|
+
const L = K(U(), o), k = O(e.tag) || P(e.tag) ? e.tag : ft();
|
|
2256
|
+
return qn(k, L, g);
|
|
2257
2257
|
};
|
|
2258
2258
|
}
|
|
2259
2259
|
K({
|
|
@@ -2264,7 +2264,7 @@ K({
|
|
|
2264
2264
|
format: {
|
|
2265
2265
|
type: [String, Object]
|
|
2266
2266
|
}
|
|
2267
|
-
},
|
|
2267
|
+
}, bn);
|
|
2268
2268
|
K({
|
|
2269
2269
|
value: {
|
|
2270
2270
|
type: [Number, Date],
|
|
@@ -2273,9 +2273,9 @@ K({
|
|
|
2273
2273
|
format: {
|
|
2274
2274
|
type: [String, Object]
|
|
2275
2275
|
}
|
|
2276
|
-
},
|
|
2276
|
+
}, bn);
|
|
2277
2277
|
const ds = /* @__PURE__ */ ie("global-vue-i18n");
|
|
2278
|
-
function
|
|
2278
|
+
function Nn(e = {}) {
|
|
2279
2279
|
const n = fn();
|
|
2280
2280
|
if (n == null)
|
|
2281
2281
|
throw Oe(Ee.MUST_BE_CALL_SETUP_TOP);
|
|
@@ -2292,7 +2292,7 @@ function bn(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)), Ns(l, n, f), l.__setInstance(n, f);
|
|
2296
2296
|
}
|
|
2297
2297
|
return f;
|
|
2298
2298
|
}
|
|
@@ -2311,7 +2311,7 @@ function Ts(e) {
|
|
|
2311
2311
|
function hs(e, n, t = !1) {
|
|
2312
2312
|
let r = null;
|
|
2313
2313
|
const c = n.root;
|
|
2314
|
-
let o =
|
|
2314
|
+
let o = bs(n, t);
|
|
2315
2315
|
for (; o != null; ) {
|
|
2316
2316
|
const l = e;
|
|
2317
2317
|
if (e.mode === "composition")
|
|
@@ -2326,10 +2326,10 @@ function hs(e, n, t = !1) {
|
|
|
2326
2326
|
}
|
|
2327
2327
|
return r;
|
|
2328
2328
|
}
|
|
2329
|
-
function
|
|
2329
|
+
function bs(e, n = !1) {
|
|
2330
2330
|
return e == null ? null : n && e.vnode.ctx || e.parent;
|
|
2331
2331
|
}
|
|
2332
|
-
function
|
|
2332
|
+
function Ns(e, n, t) {
|
|
2333
2333
|
Tt(() => {
|
|
2334
2334
|
}, n), ht(() => {
|
|
2335
2335
|
const r = t;
|
|
@@ -2344,8 +2344,8 @@ Gr(Ur);
|
|
|
2344
2344
|
Vr(zn);
|
|
2345
2345
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2346
2346
|
const e = ce();
|
|
2347
|
-
e.__INTLIFY__ = !0,
|
|
2347
|
+
e.__INTLIFY__ = !0, br(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2348
2348
|
}
|
|
2349
2349
|
export {
|
|
2350
|
-
|
|
2350
|
+
Nn as u
|
|
2351
2351
|
};
|