@feedmepos/mf-connect 0.1.38-beta.83 → 0.1.38-beta.85
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/{Analytic-DJAlQ2pL.js → Analytic-b8mA9c9Y.js} +13 -13
- package/dist/{App-Be9v2Mex.js → App-XFiefZAx.js} +595 -592
- package/dist/{AuditLogs-DwtO0cf4.js → AuditLogs-DTcAAlxV.js} +9 -9
- package/dist/{Bin-Cxa9zQnN.js → Bin-CzsWUmIN.js} +8 -8
- package/dist/{Broadcast-D5KL5PdU.js → Broadcast-D_3C1KYk.js} +9 -9
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Bggy1rRH.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DX5JM6sI.js} +6 -6
- package/dist/{Card-lZQHWj1I.js → Card-BmEm66lU.js} +18 -18
- package/dist/{Collections-C8qPkQLj.js → Collections-Ry-MQM44.js} +7 -7
- package/dist/{Credit-9ysOHfc_.js → Credit-DVVJjxgZ.js} +9 -9
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-PsT33T3z.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-_WZUfwnP.js} +33 -33
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BL3eRbqu.js → EffectSheet.vue_vue_type_style_index_0_lang-B6KcW1Rh.js} +6 -6
- package/dist/{Experience-CA4lgQXP.js → Experience-DyOeEZu2.js} +9 -9
- package/dist/{FileSaver.min-BbU3im0h.js → FileSaver.min-D0Xa_nbt.js} +1 -1
- package/dist/{Game-YhxaGafX.js → Game-C25Rgy7x.js} +10 -10
- package/dist/{Grab-TKwe3os8.js → Grab-BaG_Xwvt.js} +8 -8
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-CbEUTniY.js → ImageInput.vue_vue_type_script_setup_true_lang-X9zk3Atr.js} +1 -1
- package/dist/{Index-D1LAt3Np.js → Index-BIFAhH2O.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-57wNU0SV.js → LocationPicker.vue_vue_type_script_setup_true_lang-DQQVh3ap.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-B3YaW9Ot.js → LottieAnimation.vue_vue_type_script_setup_true_lang-BwJaLc8D.js} +1 -1
- package/dist/{MainLayout-D6_st4qp.js → MainLayout-BhCYNX3n.js} +1 -1
- package/dist/{Marketing-DL5qQws0.js → Marketing-C19yd_BK.js} +99 -100
- package/dist/{MarketingMaterialEdit-D1cfcfBu.js → MarketingMaterialEdit-CyKJp44W.js} +411 -409
- package/dist/{Member-DTD0mS4Z.js → Member-CINhmBJN.js} +11 -11
- package/dist/{MemberList-BUjxE5NK.js → MemberList-BWvurFcu.js} +26 -26
- package/dist/{MemberTransactions-CcZDFo0g.js → MemberTransactions-DjxllAVe.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-HUuPLKIl.js → MessageInput.vue_vue_type_script_setup_true_lang-BOohwOuN.js} +9 -9
- package/dist/{Mission-BzSCDXcq.js → Mission-DHS0FPgm.js} +10 -10
- package/dist/{Overview-BSGHpRSU.js → Overview-DFKG3hyX.js} +18 -18
- package/dist/{Point-CrQhN0Vf.js → Point-C0lV-lkL.js} +9 -9
- package/dist/{Promotion-DeOhdHkm.js → Promotion-aDnFW2P_.js} +10 -10
- package/dist/{Queue-DOv6c0Ge.js → Queue-CtH9-eLs.js} +14 -14
- package/dist/{Record-M_U9BsVx.js → Record-CQydFJqp.js} +9 -9
- package/dist/{Review-BjTjYx14.js → Review-CKsWMX2o.js} +4 -4
- package/dist/{ReviewFacebookCallback-YC7Z3b93.js → ReviewFacebookCallback-D4jb1HC4.js} +4 -4
- package/dist/{ReviewGoogleCallback-CyyVC3LZ.js → ReviewGoogleCallback-CCXJc9fi.js} +4 -4
- package/dist/{Reward-CwoLTenr.js → Reward-BRr8fWN4.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-C6Ji5bXQ.js → RewardGroup.vue_vue_type_script_setup_true_lang-t4cBlpPd.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DS4VODfI.js → RuleGroup.vue_vue_type_script_setup_true_lang-oiLK2FWO.js} +14 -14
- package/dist/Segment-BMNT_K48.js +1015 -0
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-DZ2CbKu6.js → SelectItems.vue_vue_type_script_setup_true_lang-Co9D6B80.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DSLOGG9z.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-RMfUCmZH.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CNO95DBX.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-B7BP9ow8.js} +4 -4
- package/dist/{Setting-DPsDvTr-.js → Setting-Bv6KoqKT.js} +160 -160
- package/dist/{SettingAdvertisements-B78nHQWZ.js → SettingAdvertisements-C5EdDN8V.js} +29 -29
- package/dist/{Store-CtOsS8xI.js → Store-Iiwd-cqe.js} +21 -21
- package/dist/{StoreRewards-DYiTSy_e.js → StoreRewards-B8GCy9Q8.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-CWjC-H8n.js → StoreTransactions.vue_vue_type_script_setup_true_lang-DCuLpnZz.js} +21 -21
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BsWr5iPt.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CKjg0o86.js} +2 -2
- package/dist/{Tier-BjA-f408.js → Tier-C5QHgi86.js} +23 -23
- package/dist/{Title-CCyLBahF.js → Title-DCpgwhkh.js} +20 -20
- package/dist/{Transaction-CtF7MpPV.js → Transaction-p-jqY2uR.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-_GgNR8VU.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-z_pRXQs5.js} +6 -6
- package/dist/{Voucher-CiB7KTLn.js → Voucher-CwPK7CI3.js} +13 -13
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BH4xZfZN.js → VoucherEditor.vue_vue_type_script_setup_true_lang-U3lPcMsO.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-Desirrtn.js → ZodTextField.vue_vue_type_script_setup_true_lang-DZK3Vhgl.js} +2 -2
- package/dist/{app-DwodX_i8.js → app-Bd1PovAE.js} +201 -51
- package/dist/app.js +1 -1
- package/dist/{business-Cn27thty.js → business-DY9T_8D6.js} +1 -1
- package/dist/{campaign-B5A9loZe.js → campaign-Cj8ykwZM.js} +1 -1
- package/dist/{campaign-6X21-84u.js → campaign-D9-2cfGS.js} +8 -8
- package/dist/{campaign.enum-C4XI-2uW.js → campaign.enum-Dn1IZjm3.js} +1 -1
- package/dist/{campaign.fn-Cy8xHdXa.js → campaign.fn-BpmRNefC.js} +49 -49
- package/dist/{collectible.enum-BwXbunhX.js → collectible.enum-DwDiqgOQ.js} +1 -1
- package/dist/{collection.fn-CoZvQLXf.js → collection.fn-DxxhNNiS.js} +2 -2
- package/dist/{dto-CJPgpJeE.js → dto-exJWIIFh.js} +4 -4
- package/dist/{duplicateCampaign-Co8IUe8o.js → duplicateCampaign-VlwdEOpi.js} +2 -2
- package/dist/{effect-OOGMytqr.js → effect-B1gX3HYy.js} +1 -1
- package/dist/{email-addresses-C9y4CjuV.js → email-addresses-C0tfIamr.js} +2 -2
- package/dist/{export-CvC5ed4-.js → export-D2LYUW7D.js} +3 -3
- package/dist/{helper-CDsjQExO.js → helper-9iFjiuBS.js} +1 -1
- package/dist/{index-BqerQCGe.js → index--0-PrELA.js} +1 -1
- package/dist/{index-kSWGToWZ.js → index-CBMnWVoT.js} +1 -1
- package/dist/{index-B9nPYjQB.js → index-CdANllE-.js} +1 -1
- package/dist/index-DBXGg3yg.js +36 -0
- package/dist/{index-sFHmfWSg.js → index-DWi7IG9Q.js} +1 -1
- package/dist/{index-BfyCSqKW.js → index-DZr_AJes.js} +1 -1
- package/dist/{index-Bd45J3-G.js → index-DaIOBj8s.js} +1 -1
- package/dist/{index-C1qWtbsk.js → index-E19Gtmxw.js} +3 -3
- package/dist/{index-DuFCtWQR.js → index-I9yn8pHU.js} +2 -2
- package/dist/{index-BLT69c7j.js → index-TwCRZqdr.js} +557 -559
- package/dist/{index-CXx7eJq-.js → index-VnQA51n7.js} +6 -6
- package/dist/{index-OpxeXVwt.js → index-_ax9IcMt.js} +1499 -1328
- package/dist/{index-Bb4k_x_l.js → index-mkNRK108.js} +1 -1
- package/dist/{index-BF8lJP43.js → index-mynItfLE.js} +3 -3
- package/dist/{index.esm2017-DaR3DCu-.js → index.esm2017-CbwAxX_t.js} +1 -1
- package/dist/{loading-C6rG0eo_.js → loading-BUUuNRb8.js} +1 -1
- package/dist/{lodash-CjEq2BFu.js → lodash-DzFwGhp3.js} +1 -1
- package/dist/{membership-F6iQ9MVy.js → membership-BSY7S3nW.js} +13 -6
- package/dist/{money-5QzsxME5.js → money-DB8eMVCB.js} +1 -1
- package/dist/{number-D4fGOH1o.js → number-CmlQv3bk.js} +1 -1
- package/dist/{objectid--IshXbfs.js → objectid-DN-4NnaP.js} +5 -5
- package/dist/{plugins-DXS2Wod6.js → plugins-DATxgRFK.js} +3 -3
- package/dist/remy-D_Deb3ue.js +13 -0
- package/dist/{reward-C0xdUVfq.js → reward-C3NsvqTO.js} +1 -1
- package/dist/{rule-builder-D0vYClpg.js → rule-builder-EOj4zyYT.js} +1 -1
- package/dist/{rule-DOM5_QUx.js → rule-zKaaqUwQ.js} +3 -3
- package/dist/{template-B_TviSPw.js → template-KUFfOua-.js} +6 -6
- package/dist/{timezone-Ds--TfLn.js → timezone-HIZKEUxS.js} +2 -2
- package/dist/{trigger-3i4tC4VG.js → trigger-8HJ7QGEI.js} +12 -12
- package/dist/{usePagination-9ioQud_y.js → usePagination-CvSSPoM-.js} +1 -1
- package/dist/{user-QfaNByCY.js → user-C5FK05SW.js} +1 -1
- package/dist/{vue-i18n-C8QhQx73.js → vue-i18n-VE9cLms0.js} +327 -327
- package/dist/{xlsx-DwXQmhHW.js → xlsx-C_8oyTCI.js} +1 -1
- package/dist/{zod-BbCQlI-1.js → zod-DrlA6hIW.js} +1 -1
- package/package.json +1 -1
- package/dist/Segment-CKPt2gET.js +0 -891
- package/dist/remy-BnbV5Fsx.js +0 -46
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as mn, h as qn, getCurrentInstance as
|
|
1
|
+
import { defineComponent as mn, h as qn, getCurrentInstance as dn, inject as ft, onMounted as Et, onUnmounted as gt, computed as Ie, watch as bn, Fragment as Qn, ref as Tt, shallowRef as It, createVNode as Ot, Text as Nt } 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 = () =>
|
|
11
|
-
function
|
|
8
|
+
const hn = typeof window < "u", ie = (e, n = !1) => n ? Symbol.for(e) : Symbol(e), kt = (e, n, t) => bt({ l: e, k: n, s: t }), bt = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), K = (e) => typeof e == "number" && isFinite(e), ht = (e) => pn(e) === "[object Date]", ye = (e) => pn(e) === "[object RegExp]", Me = (e) => P(e) && Object.keys(e).length === 0, j = Object.assign, Rt = Object.create, M = (e = null) => Rt(e);
|
|
9
|
+
let Rn;
|
|
10
|
+
const ce = () => Rn || (Rn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : M());
|
|
11
|
+
function An(e) {
|
|
12
12
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const At = Object.prototype.hasOwnProperty;
|
|
15
15
|
function Q(e, n) {
|
|
16
|
-
return
|
|
16
|
+
return At.call(e, n);
|
|
17
17
|
}
|
|
18
|
-
const x = Array.isArray, H = (e) => typeof e == "function",
|
|
18
|
+
const x = Array.isArray, H = (e) => typeof e == "function", h = (e) => typeof e == "string", W = (e) => typeof e == "boolean", y = (e) => e !== null && typeof e == "object", Lt = (e) => y(e) && H(e.then) && H(e.catch), Zn = Object.prototype.toString, pn = (e) => Zn.call(e), P = (e) => pn(e) === "[object Object]", vt = (e) => e == null ? "" : x(e) || P(e) && e.toString === Zn ? JSON.stringify(e, null, 2) : String(e);
|
|
19
19
|
function fn(e, n = "") {
|
|
20
20
|
return e.reduce((t, r, c) => c === 0 ? t + r : t + n + r, "");
|
|
21
21
|
}
|
|
@@ -74,14 +74,14 @@ const ee = " ", yt = "\r", X = `
|
|
|
74
74
|
function Ft(e) {
|
|
75
75
|
const n = e;
|
|
76
76
|
let t = 0, r = 1, c = 1, o = 0;
|
|
77
|
-
const _ = (T) => n[T] === yt && n[T + 1] === X, m = (T) => n[T] === X, l = (T) => n[T] === Mt, g = (T) => n[T] === Ut,
|
|
77
|
+
const _ = (T) => n[T] === yt && n[T + 1] === X, m = (T) => n[T] === X, l = (T) => n[T] === Mt, g = (T) => n[T] === Ut, R = (T) => _(T) || m(T) || l(T) || g(T), b = () => t, O = () => r, v = () => c, D = () => o, S = (T) => _(T) || l(T) || g(T) ? X : n[T], A = () => S(t), i = () => S(t + o);
|
|
78
78
|
function f() {
|
|
79
|
-
return o = 0,
|
|
79
|
+
return o = 0, R(t) && (r++, c = 0), _(t) && t++, t++, c++, n[t];
|
|
80
80
|
}
|
|
81
81
|
function I() {
|
|
82
82
|
return _(t + o) && o++, o++, n[t + o];
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function d() {
|
|
85
85
|
t = 0, r = 1, c = 1, o = 0;
|
|
86
86
|
}
|
|
87
87
|
function k(T = 0) {
|
|
@@ -94,16 +94,16 @@ function Ft(e) {
|
|
|
94
94
|
o = 0;
|
|
95
95
|
}
|
|
96
96
|
return {
|
|
97
|
-
index:
|
|
97
|
+
index: b,
|
|
98
98
|
line: O,
|
|
99
99
|
column: v,
|
|
100
100
|
peekOffset: D,
|
|
101
101
|
charAt: S,
|
|
102
|
-
currentChar:
|
|
102
|
+
currentChar: A,
|
|
103
103
|
currentPeek: i,
|
|
104
104
|
next: f,
|
|
105
105
|
peek: I,
|
|
106
|
-
reset:
|
|
106
|
+
reset: d,
|
|
107
107
|
resetPeek: k,
|
|
108
108
|
skipToPeek: N
|
|
109
109
|
};
|
|
@@ -122,21 +122,21 @@ function wt(e, n = {}) {
|
|
|
122
122
|
braceNest: 0,
|
|
123
123
|
inLinked: !1,
|
|
124
124
|
text: ""
|
|
125
|
-
}, g = () => l, { onError:
|
|
126
|
-
function
|
|
125
|
+
}, g = () => l, { onError: R } = n;
|
|
126
|
+
function b(s, a, p, ...L) {
|
|
127
127
|
const B = g();
|
|
128
|
-
if (a.column +=
|
|
128
|
+
if (a.column += p, a.offset += p, R) {
|
|
129
129
|
const C = t ? tn(B.startLoc, a) : null, u = Fe(s, C, {
|
|
130
130
|
domain: Gt,
|
|
131
131
|
args: L
|
|
132
132
|
});
|
|
133
|
-
|
|
133
|
+
R(u);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
function O(s, a,
|
|
136
|
+
function O(s, a, p) {
|
|
137
137
|
s.endLoc = o(), s.currentType = a;
|
|
138
138
|
const L = { type: a };
|
|
139
|
-
return t && (L.loc = tn(s.startLoc, s.endLoc)),
|
|
139
|
+
return t && (L.loc = tn(s.startLoc, s.endLoc)), p != null && (L.value = p), L;
|
|
140
140
|
}
|
|
141
141
|
const v = (s) => O(
|
|
142
142
|
s,
|
|
@@ -144,7 +144,7 @@ function wt(e, n = {}) {
|
|
|
144
144
|
/* TokenTypes.EOF */
|
|
145
145
|
);
|
|
146
146
|
function D(s, a) {
|
|
147
|
-
return s.currentChar() === a ? (s.next(), a) : (
|
|
147
|
+
return s.currentChar() === a ? (s.next(), a) : (b(U.EXPECTED_TOKEN, o(), 0, a), "");
|
|
148
148
|
}
|
|
149
149
|
function S(s) {
|
|
150
150
|
let a = "";
|
|
@@ -152,7 +152,7 @@ function wt(e, n = {}) {
|
|
|
152
152
|
a += s.currentPeek(), s.peek();
|
|
153
153
|
return a;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function A(s) {
|
|
156
156
|
const a = S(s);
|
|
157
157
|
return s.skipToPeek(), a;
|
|
158
158
|
}
|
|
@@ -171,56 +171,56 @@ function wt(e, n = {}) {
|
|
|
171
171
|
return a >= 48 && a <= 57;
|
|
172
172
|
}
|
|
173
173
|
function I(s, a) {
|
|
174
|
-
const { currentType:
|
|
175
|
-
if (
|
|
174
|
+
const { currentType: p } = a;
|
|
175
|
+
if (p !== 2)
|
|
176
176
|
return !1;
|
|
177
177
|
S(s);
|
|
178
178
|
const L = i(s.currentPeek());
|
|
179
179
|
return s.resetPeek(), L;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
const { currentType:
|
|
183
|
-
if (
|
|
181
|
+
function d(s, a) {
|
|
182
|
+
const { currentType: p } = a;
|
|
183
|
+
if (p !== 2)
|
|
184
184
|
return !1;
|
|
185
185
|
S(s);
|
|
186
186
|
const L = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), B = f(L);
|
|
187
187
|
return s.resetPeek(), B;
|
|
188
188
|
}
|
|
189
189
|
function k(s, a) {
|
|
190
|
-
const { currentType:
|
|
191
|
-
if (
|
|
190
|
+
const { currentType: p } = a;
|
|
191
|
+
if (p !== 2)
|
|
192
192
|
return !1;
|
|
193
193
|
S(s);
|
|
194
194
|
const L = s.currentPeek() === Ln;
|
|
195
195
|
return s.resetPeek(), L;
|
|
196
196
|
}
|
|
197
197
|
function N(s, a) {
|
|
198
|
-
const { currentType:
|
|
199
|
-
if (
|
|
198
|
+
const { currentType: p } = a;
|
|
199
|
+
if (p !== 7)
|
|
200
200
|
return !1;
|
|
201
201
|
S(s);
|
|
202
202
|
const L = s.currentPeek() === ".";
|
|
203
203
|
return s.resetPeek(), L;
|
|
204
204
|
}
|
|
205
205
|
function T(s, a) {
|
|
206
|
-
const { currentType:
|
|
207
|
-
if (
|
|
206
|
+
const { currentType: p } = a;
|
|
207
|
+
if (p !== 8)
|
|
208
208
|
return !1;
|
|
209
209
|
S(s);
|
|
210
210
|
const L = i(s.currentPeek());
|
|
211
211
|
return s.resetPeek(), L;
|
|
212
212
|
}
|
|
213
213
|
function G(s, a) {
|
|
214
|
-
const { currentType:
|
|
215
|
-
if (!(
|
|
214
|
+
const { currentType: p } = a;
|
|
215
|
+
if (!(p === 7 || p === 11))
|
|
216
216
|
return !1;
|
|
217
217
|
S(s);
|
|
218
218
|
const L = s.currentPeek() === ":";
|
|
219
219
|
return s.resetPeek(), L;
|
|
220
220
|
}
|
|
221
221
|
function w(s, a) {
|
|
222
|
-
const { currentType:
|
|
223
|
-
if (
|
|
222
|
+
const { currentType: p } = a;
|
|
223
|
+
if (p !== 9)
|
|
224
224
|
return !1;
|
|
225
225
|
const L = () => {
|
|
226
226
|
const C = s.currentPeek();
|
|
@@ -234,15 +234,15 @@ function wt(e, n = {}) {
|
|
|
234
234
|
return s.resetPeek(), a;
|
|
235
235
|
}
|
|
236
236
|
function q(s, a = !0) {
|
|
237
|
-
const
|
|
237
|
+
const p = (B = !1, C = "") => {
|
|
238
238
|
const u = s.currentPeek();
|
|
239
|
-
return u === "{" || u === "@" || !u ? B : u === "|" ? !(C === ee || C === X) : u === ee ? (s.peek(),
|
|
240
|
-
}, L =
|
|
239
|
+
return u === "{" || u === "@" || !u ? B : u === "|" ? !(C === ee || C === X) : u === ee ? (s.peek(), p(!0, ee)) : u === X ? (s.peek(), p(!0, X)) : !0;
|
|
240
|
+
}, L = p();
|
|
241
241
|
return a && s.resetPeek(), L;
|
|
242
242
|
}
|
|
243
243
|
function Y(s, a) {
|
|
244
|
-
const
|
|
245
|
-
return
|
|
244
|
+
const p = s.currentChar();
|
|
245
|
+
return p === re ? re : a(p) ? (s.next(), p) : null;
|
|
246
246
|
}
|
|
247
247
|
function _e(s) {
|
|
248
248
|
const a = s.charCodeAt(0);
|
|
@@ -280,56 +280,56 @@ function wt(e, n = {}) {
|
|
|
280
280
|
a >= 65 && a <= 70 || // A-F
|
|
281
281
|
a >= 97 && a <= 102;
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function Re(s) {
|
|
284
284
|
return Y(s, z);
|
|
285
285
|
}
|
|
286
|
-
function
|
|
287
|
-
let a = "",
|
|
286
|
+
function Ae(s) {
|
|
287
|
+
let a = "", p = "";
|
|
288
288
|
for (; a = We(s); )
|
|
289
|
-
|
|
290
|
-
return
|
|
289
|
+
p += a;
|
|
290
|
+
return p;
|
|
291
291
|
}
|
|
292
292
|
function xe(s) {
|
|
293
293
|
let a = "";
|
|
294
294
|
for (; ; ) {
|
|
295
|
-
const
|
|
296
|
-
if (
|
|
295
|
+
const p = s.currentChar();
|
|
296
|
+
if (p === "{" || p === "}" || p === "@" || p === "|" || !p)
|
|
297
297
|
break;
|
|
298
|
-
if (
|
|
298
|
+
if (p === ee || p === X)
|
|
299
299
|
if (q(s))
|
|
300
|
-
a +=
|
|
300
|
+
a += p, s.next();
|
|
301
301
|
else {
|
|
302
302
|
if ($(s))
|
|
303
303
|
break;
|
|
304
|
-
a +=
|
|
304
|
+
a += p, s.next();
|
|
305
305
|
}
|
|
306
306
|
else
|
|
307
|
-
a +=
|
|
307
|
+
a += p, s.next();
|
|
308
308
|
}
|
|
309
309
|
return a;
|
|
310
310
|
}
|
|
311
311
|
function Ye(s) {
|
|
312
|
-
|
|
313
|
-
let a = "",
|
|
312
|
+
A(s);
|
|
313
|
+
let a = "", p = "";
|
|
314
314
|
for (; a = Be(s); )
|
|
315
|
-
|
|
316
|
-
return s.currentChar() === re &&
|
|
315
|
+
p += a;
|
|
316
|
+
return s.currentChar() === re && b(U.UNTERMINATED_CLOSING_BRACE, o(), 0), p;
|
|
317
317
|
}
|
|
318
318
|
function Ke(s) {
|
|
319
|
-
|
|
319
|
+
A(s);
|
|
320
320
|
let a = "";
|
|
321
|
-
return s.currentChar() === "-" ? (s.next(), a += `-${
|
|
321
|
+
return s.currentChar() === "-" ? (s.next(), a += `-${Ae(s)}`) : a += Ae(s), s.currentChar() === re && b(U.UNTERMINATED_CLOSING_BRACE, o(), 0), a;
|
|
322
322
|
}
|
|
323
323
|
function kn(s) {
|
|
324
324
|
return s !== Ln && s !== X;
|
|
325
325
|
}
|
|
326
326
|
function je(s) {
|
|
327
|
-
|
|
328
|
-
let a = "",
|
|
327
|
+
A(s), D(s, "'");
|
|
328
|
+
let a = "", p = "";
|
|
329
329
|
for (; a = Y(s, kn); )
|
|
330
|
-
a === "\\" ?
|
|
330
|
+
a === "\\" ? p += Xe(s) : p += a;
|
|
331
331
|
const L = s.currentChar();
|
|
332
|
-
return L === X || L === re ? (
|
|
332
|
+
return L === X || L === re ? (b(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), L === X && (s.next(), D(s, "'")), p) : (D(s, "'"), p);
|
|
333
333
|
}
|
|
334
334
|
function Xe(s) {
|
|
335
335
|
const a = s.currentChar();
|
|
@@ -342,16 +342,16 @@ function wt(e, n = {}) {
|
|
|
342
342
|
case "U":
|
|
343
343
|
return Le(s, a, 6);
|
|
344
344
|
default:
|
|
345
|
-
return
|
|
345
|
+
return b(U.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, a), "";
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
function Le(s, a,
|
|
348
|
+
function Le(s, a, p) {
|
|
349
349
|
D(s, a);
|
|
350
350
|
let L = "";
|
|
351
|
-
for (let B = 0; B <
|
|
352
|
-
const C =
|
|
351
|
+
for (let B = 0; B < p; B++) {
|
|
352
|
+
const C = Re(s);
|
|
353
353
|
if (!C) {
|
|
354
|
-
|
|
354
|
+
b(U.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${a}${L}${s.currentChar()}`);
|
|
355
355
|
break;
|
|
356
356
|
}
|
|
357
357
|
L += C;
|
|
@@ -362,77 +362,77 @@ function wt(e, n = {}) {
|
|
|
362
362
|
return s !== "{" && s !== "}" && s !== ee && s !== X;
|
|
363
363
|
}
|
|
364
364
|
function Je(s) {
|
|
365
|
-
|
|
366
|
-
let a = "",
|
|
365
|
+
A(s);
|
|
366
|
+
let a = "", p = "";
|
|
367
367
|
for (; a = Y(s, $e); )
|
|
368
|
-
|
|
369
|
-
return
|
|
368
|
+
p += a;
|
|
369
|
+
return p;
|
|
370
370
|
}
|
|
371
371
|
function qe(s) {
|
|
372
|
-
let a = "",
|
|
372
|
+
let a = "", p = "";
|
|
373
373
|
for (; a = Ge(s); )
|
|
374
|
-
|
|
375
|
-
return
|
|
374
|
+
p += a;
|
|
375
|
+
return p;
|
|
376
376
|
}
|
|
377
377
|
function Qe(s) {
|
|
378
|
-
const a = (
|
|
378
|
+
const a = (p) => {
|
|
379
379
|
const L = s.currentChar();
|
|
380
|
-
return L === "{" || L === "@" || L === "|" || L === "(" || L === ")" || !L || L === ee ?
|
|
380
|
+
return L === "{" || L === "@" || L === "|" || L === "(" || L === ")" || !L || L === ee ? p : (p += L, s.next(), a(p));
|
|
381
381
|
};
|
|
382
382
|
return a("");
|
|
383
383
|
}
|
|
384
384
|
function ge(s) {
|
|
385
|
-
|
|
385
|
+
A(s);
|
|
386
386
|
const a = D(
|
|
387
387
|
s,
|
|
388
388
|
"|"
|
|
389
389
|
/* TokenChars.Pipe */
|
|
390
390
|
);
|
|
391
|
-
return
|
|
391
|
+
return A(s), a;
|
|
392
392
|
}
|
|
393
393
|
function le(s, a) {
|
|
394
|
-
let
|
|
394
|
+
let p = null;
|
|
395
395
|
switch (s.currentChar()) {
|
|
396
396
|
case "{":
|
|
397
|
-
return a.braceNest >= 1 &&
|
|
397
|
+
return a.braceNest >= 1 && b(U.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), s.next(), p = O(
|
|
398
398
|
a,
|
|
399
399
|
2,
|
|
400
400
|
"{"
|
|
401
401
|
/* TokenChars.BraceLeft */
|
|
402
|
-
),
|
|
402
|
+
), A(s), a.braceNest++, p;
|
|
403
403
|
case "}":
|
|
404
|
-
return a.braceNest > 0 && a.currentType === 2 &&
|
|
404
|
+
return a.braceNest > 0 && a.currentType === 2 && b(U.EMPTY_PLACEHOLDER, o(), 0), s.next(), p = O(
|
|
405
405
|
a,
|
|
406
406
|
3,
|
|
407
407
|
"}"
|
|
408
408
|
/* TokenChars.BraceRight */
|
|
409
|
-
), a.braceNest--, a.braceNest > 0 &&
|
|
409
|
+
), a.braceNest--, a.braceNest > 0 && A(s), a.inLinked && a.braceNest === 0 && (a.inLinked = !1), p;
|
|
410
410
|
case "@":
|
|
411
|
-
return a.braceNest > 0 &&
|
|
411
|
+
return a.braceNest > 0 && b(U.UNTERMINATED_CLOSING_BRACE, o(), 0), p = ue(s, a) || v(a), a.braceNest = 0, p;
|
|
412
412
|
default: {
|
|
413
413
|
let B = !0, C = !0, u = !0;
|
|
414
414
|
if ($(s))
|
|
415
|
-
return a.braceNest > 0 &&
|
|
415
|
+
return a.braceNest > 0 && b(U.UNTERMINATED_CLOSING_BRACE, o(), 0), p = O(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, p;
|
|
416
416
|
if (a.braceNest > 0 && (a.currentType === 4 || a.currentType === 5 || a.currentType === 6))
|
|
417
|
-
return
|
|
417
|
+
return b(U.UNTERMINATED_CLOSING_BRACE, o(), 0), a.braceNest = 0, Te(s, a);
|
|
418
418
|
if (B = I(s, a))
|
|
419
|
-
return
|
|
420
|
-
if (C =
|
|
421
|
-
return
|
|
419
|
+
return p = O(a, 4, Ye(s)), A(s), p;
|
|
420
|
+
if (C = d(s, a))
|
|
421
|
+
return p = O(a, 5, Ke(s)), A(s), p;
|
|
422
422
|
if (u = k(s, a))
|
|
423
|
-
return
|
|
423
|
+
return p = O(a, 6, je(s)), A(s), p;
|
|
424
424
|
if (!B && !C && !u)
|
|
425
|
-
return
|
|
425
|
+
return p = O(a, 12, Je(s)), b(U.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, p.value), A(s), p;
|
|
426
426
|
break;
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
return
|
|
429
|
+
return p;
|
|
430
430
|
}
|
|
431
431
|
function ue(s, a) {
|
|
432
|
-
const { currentType:
|
|
432
|
+
const { currentType: p } = a;
|
|
433
433
|
let L = null;
|
|
434
434
|
const B = s.currentChar();
|
|
435
|
-
switch ((
|
|
435
|
+
switch ((p === 7 || p === 8 || p === 11 || p === 9) && (B === X || B === ee) && b(U.INVALID_LINKED_FORMAT, o(), 0), B) {
|
|
436
436
|
case "@":
|
|
437
437
|
return s.next(), L = O(
|
|
438
438
|
a,
|
|
@@ -441,25 +441,25 @@ function wt(e, n = {}) {
|
|
|
441
441
|
/* TokenChars.LinkedAlias */
|
|
442
442
|
), a.inLinked = !0, L;
|
|
443
443
|
case ".":
|
|
444
|
-
return
|
|
444
|
+
return A(s), s.next(), O(
|
|
445
445
|
a,
|
|
446
446
|
8,
|
|
447
447
|
"."
|
|
448
448
|
/* TokenChars.LinkedDot */
|
|
449
449
|
);
|
|
450
450
|
case ":":
|
|
451
|
-
return
|
|
451
|
+
return A(s), s.next(), O(
|
|
452
452
|
a,
|
|
453
453
|
9,
|
|
454
454
|
":"
|
|
455
455
|
/* TokenChars.LinkedDelimiter */
|
|
456
456
|
);
|
|
457
457
|
default:
|
|
458
|
-
return $(s) ? (L = O(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, L) : N(s, a) || G(s, a) ? (
|
|
458
|
+
return $(s) ? (L = O(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, L) : N(s, a) || G(s, a) ? (A(s), ue(s, a)) : T(s, a) ? (A(s), O(a, 11, qe(s))) : w(s, a) ? (A(s), B === "{" ? le(s, a) || L : O(a, 10, Qe(s))) : (p === 7 && b(U.INVALID_LINKED_FORMAT, o(), 0), a.braceNest = 0, a.inLinked = !1, Te(s, a));
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
function Te(s, a) {
|
|
462
|
-
let
|
|
462
|
+
let p = {
|
|
463
463
|
type: 13
|
|
464
464
|
/* TokenTypes.EOF */
|
|
465
465
|
};
|
|
@@ -471,7 +471,7 @@ function wt(e, n = {}) {
|
|
|
471
471
|
case "{":
|
|
472
472
|
return le(s, a) || v(a);
|
|
473
473
|
case "}":
|
|
474
|
-
return
|
|
474
|
+
return b(U.UNBALANCED_CLOSING_BRACE, o(), 0), s.next(), O(
|
|
475
475
|
a,
|
|
476
476
|
3,
|
|
477
477
|
"}"
|
|
@@ -481,17 +481,17 @@ function wt(e, n = {}) {
|
|
|
481
481
|
return ue(s, a) || v(a);
|
|
482
482
|
default: {
|
|
483
483
|
if ($(s))
|
|
484
|
-
return
|
|
484
|
+
return p = O(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, p;
|
|
485
485
|
if (q(s))
|
|
486
486
|
return O(a, 0, xe(s));
|
|
487
487
|
break;
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
return
|
|
490
|
+
return p;
|
|
491
491
|
}
|
|
492
492
|
function Ze() {
|
|
493
|
-
const { currentType: s, offset: a, startLoc:
|
|
494
|
-
return l.lastType = s, l.lastOffset = a, l.lastStartLoc =
|
|
493
|
+
const { currentType: s, offset: a, startLoc: p, endLoc: L } = l;
|
|
494
|
+
return l.lastType = s, l.lastOffset = a, l.lastStartLoc = p, l.lastEndLoc = L, l.offset = c(), l.startLoc = o(), r.currentChar() === re ? O(
|
|
495
495
|
l,
|
|
496
496
|
13
|
|
497
497
|
/* TokenTypes.EOF */
|
|
@@ -519,9 +519,9 @@ function Wt(e, n, t) {
|
|
|
519
519
|
}
|
|
520
520
|
function xt(e = {}) {
|
|
521
521
|
const n = e.location !== !1, { onError: t } = e;
|
|
522
|
-
function r(i, f, I,
|
|
522
|
+
function r(i, f, I, d, ...k) {
|
|
523
523
|
const N = i.currentPosition();
|
|
524
|
-
if (N.offset +=
|
|
524
|
+
if (N.offset += d, N.column += d, t) {
|
|
525
525
|
const T = n ? tn(I, N) : null, G = Fe(f, T, {
|
|
526
526
|
domain: Bt,
|
|
527
527
|
args: k
|
|
@@ -530,66 +530,66 @@ function xt(e = {}) {
|
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
function c(i, f, I) {
|
|
533
|
-
const
|
|
534
|
-
return n && (
|
|
533
|
+
const d = { type: i };
|
|
534
|
+
return n && (d.start = f, d.end = f, d.loc = { start: I, end: I }), d;
|
|
535
535
|
}
|
|
536
|
-
function o(i, f, I,
|
|
536
|
+
function o(i, f, I, d) {
|
|
537
537
|
n && (i.end = f, i.loc && (i.loc.end = I));
|
|
538
538
|
}
|
|
539
539
|
function _(i, f) {
|
|
540
|
-
const I = i.context(),
|
|
541
|
-
return
|
|
540
|
+
const I = i.context(), d = c(3, I.offset, I.startLoc);
|
|
541
|
+
return d.value = f, o(d, i.currentOffset(), i.currentPosition()), d;
|
|
542
542
|
}
|
|
543
543
|
function m(i, f) {
|
|
544
|
-
const I = i.context(), { lastOffset:
|
|
544
|
+
const I = i.context(), { lastOffset: d, lastStartLoc: k } = I, N = c(5, d, k);
|
|
545
545
|
return N.index = parseInt(f, 10), i.nextToken(), o(N, i.currentOffset(), i.currentPosition()), N;
|
|
546
546
|
}
|
|
547
547
|
function l(i, f) {
|
|
548
|
-
const I = i.context(), { lastOffset:
|
|
548
|
+
const I = i.context(), { lastOffset: d, lastStartLoc: k } = I, N = c(4, d, k);
|
|
549
549
|
return N.key = f, i.nextToken(), o(N, i.currentOffset(), i.currentPosition()), N;
|
|
550
550
|
}
|
|
551
551
|
function g(i, f) {
|
|
552
|
-
const I = i.context(), { lastOffset:
|
|
552
|
+
const I = i.context(), { lastOffset: d, lastStartLoc: k } = I, N = c(9, d, k);
|
|
553
553
|
return N.value = f.replace(Vt, Wt), i.nextToken(), o(N, i.currentOffset(), i.currentPosition()), N;
|
|
554
554
|
}
|
|
555
|
-
function
|
|
556
|
-
const f = i.nextToken(), I = i.context(), { lastOffset:
|
|
557
|
-
return f.type !== 11 ? (r(i, U.UNEXPECTED_EMPTY_LINKED_MODIFIER, I.lastStartLoc, 0), N.value = "", o(N,
|
|
555
|
+
function R(i) {
|
|
556
|
+
const f = i.nextToken(), I = i.context(), { lastOffset: d, lastStartLoc: k } = I, N = c(8, d, k);
|
|
557
|
+
return f.type !== 11 ? (r(i, U.UNEXPECTED_EMPTY_LINKED_MODIFIER, I.lastStartLoc, 0), N.value = "", o(N, d, k), {
|
|
558
558
|
nextConsumeToken: f,
|
|
559
559
|
node: N
|
|
560
560
|
}) : (f.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, Z(f)), N.value = f.value || "", o(N, i.currentOffset(), i.currentPosition()), {
|
|
561
561
|
node: N
|
|
562
562
|
});
|
|
563
563
|
}
|
|
564
|
-
function
|
|
565
|
-
const I = i.context(),
|
|
566
|
-
return
|
|
564
|
+
function b(i, f) {
|
|
565
|
+
const I = i.context(), d = c(7, I.offset, I.startLoc);
|
|
566
|
+
return d.value = f, o(d, i.currentOffset(), i.currentPosition()), d;
|
|
567
567
|
}
|
|
568
568
|
function O(i) {
|
|
569
569
|
const f = i.context(), I = c(6, f.offset, f.startLoc);
|
|
570
|
-
let
|
|
571
|
-
if (
|
|
572
|
-
const k =
|
|
573
|
-
I.modifier = k.node,
|
|
570
|
+
let d = i.nextToken();
|
|
571
|
+
if (d.type === 8) {
|
|
572
|
+
const k = R(i);
|
|
573
|
+
I.modifier = k.node, d = k.nextConsumeToken || i.nextToken();
|
|
574
574
|
}
|
|
575
|
-
switch (
|
|
575
|
+
switch (d.type !== 9 && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)), d = i.nextToken(), d.type === 2 && (d = i.nextToken()), d.type) {
|
|
576
576
|
case 10:
|
|
577
|
-
|
|
577
|
+
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)), I.key = b(i, d.value || "");
|
|
578
578
|
break;
|
|
579
579
|
case 4:
|
|
580
|
-
|
|
580
|
+
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)), I.key = l(i, d.value || "");
|
|
581
581
|
break;
|
|
582
582
|
case 5:
|
|
583
|
-
|
|
583
|
+
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)), I.key = m(i, d.value || "");
|
|
584
584
|
break;
|
|
585
585
|
case 6:
|
|
586
|
-
|
|
586
|
+
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)), I.key = g(i, d.value || "");
|
|
587
587
|
break;
|
|
588
588
|
default: {
|
|
589
589
|
r(i, U.UNEXPECTED_EMPTY_LINKED_KEY, f.lastStartLoc, 0);
|
|
590
590
|
const k = i.context(), N = c(7, k.offset, k.startLoc);
|
|
591
591
|
return N.value = "", o(N, k.offset, k.startLoc), I.key = N, o(I, k.offset, k.startLoc), {
|
|
592
|
-
nextConsumeToken:
|
|
592
|
+
nextConsumeToken: d,
|
|
593
593
|
node: I
|
|
594
594
|
};
|
|
595
595
|
}
|
|
@@ -599,7 +599,7 @@ function xt(e = {}) {
|
|
|
599
599
|
};
|
|
600
600
|
}
|
|
601
601
|
function v(i) {
|
|
602
|
-
const f = i.context(), I = f.currentType === 1 ? i.currentOffset() : f.offset,
|
|
602
|
+
const f = i.context(), I = f.currentType === 1 ? i.currentOffset() : f.offset, d = f.currentType === 1 ? f.endLoc : f.startLoc, k = c(2, I, d);
|
|
603
603
|
k.items = [];
|
|
604
604
|
let N = null;
|
|
605
605
|
do {
|
|
@@ -627,11 +627,11 @@ function xt(e = {}) {
|
|
|
627
627
|
const T = f.currentType === 1 ? f.lastOffset : i.currentOffset(), G = f.currentType === 1 ? f.lastEndLoc : i.currentPosition();
|
|
628
628
|
return o(k, T, G), k;
|
|
629
629
|
}
|
|
630
|
-
function D(i, f, I,
|
|
630
|
+
function D(i, f, I, d) {
|
|
631
631
|
const k = i.context();
|
|
632
|
-
let N =
|
|
632
|
+
let N = d.items.length === 0;
|
|
633
633
|
const T = c(1, f, I);
|
|
634
|
-
T.cases = [], T.cases.push(
|
|
634
|
+
T.cases = [], T.cases.push(d);
|
|
635
635
|
do {
|
|
636
636
|
const G = v(i);
|
|
637
637
|
N || (N = G.items.length === 0), T.cases.push(G);
|
|
@@ -639,14 +639,14 @@ function xt(e = {}) {
|
|
|
639
639
|
return N && r(i, U.MUST_HAVE_MESSAGES_IN_PLURAL, I, 0), o(T, i.currentOffset(), i.currentPosition()), T;
|
|
640
640
|
}
|
|
641
641
|
function S(i) {
|
|
642
|
-
const f = i.context(), { offset: I, startLoc:
|
|
643
|
-
return f.currentType === 13 ? k : D(i, I,
|
|
642
|
+
const f = i.context(), { offset: I, startLoc: d } = f, k = v(i);
|
|
643
|
+
return f.currentType === 13 ? k : D(i, I, d, k);
|
|
644
644
|
}
|
|
645
|
-
function
|
|
646
|
-
const f = wt(i, j({}, e)), I = f.context(),
|
|
647
|
-
return n &&
|
|
645
|
+
function A(i) {
|
|
646
|
+
const f = wt(i, j({}, e)), I = f.context(), d = c(0, I.offset, I.startLoc);
|
|
647
|
+
return n && d.loc && (d.loc.source = i), d.body = S(f), e.onCacheKey && (d.cacheKey = e.onCacheKey(i)), I.currentType !== 13 && r(f, U.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, i[I.offset] || ""), o(d, f.currentOffset(), f.currentPosition()), d;
|
|
648
648
|
}
|
|
649
|
-
return { parse:
|
|
649
|
+
return { parse: A };
|
|
650
650
|
}
|
|
651
651
|
function Z(e) {
|
|
652
652
|
if (e.type === 13)
|
|
@@ -740,24 +740,24 @@ function Sn(e) {
|
|
|
740
740
|
}
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function de(e) {
|
|
744
744
|
switch (e.t = e.type, e.type) {
|
|
745
745
|
case 0: {
|
|
746
746
|
const n = e;
|
|
747
|
-
|
|
747
|
+
de(n.body), n.b = n.body, delete n.body;
|
|
748
748
|
break;
|
|
749
749
|
}
|
|
750
750
|
case 1: {
|
|
751
751
|
const n = e, t = n.cases;
|
|
752
752
|
for (let r = 0; r < t.length; r++)
|
|
753
|
-
|
|
753
|
+
de(t[r]);
|
|
754
754
|
n.c = t, delete n.cases;
|
|
755
755
|
break;
|
|
756
756
|
}
|
|
757
757
|
case 2: {
|
|
758
758
|
const n = e, t = n.items;
|
|
759
759
|
for (let r = 0; r < t.length; r++)
|
|
760
|
-
|
|
760
|
+
de(t[r]);
|
|
761
761
|
n.i = t, delete n.items, n.static && (n.s = n.static, delete n.static);
|
|
762
762
|
break;
|
|
763
763
|
}
|
|
@@ -771,7 +771,7 @@ function pe(e) {
|
|
|
771
771
|
}
|
|
772
772
|
case 6: {
|
|
773
773
|
const n = e;
|
|
774
|
-
|
|
774
|
+
de(n.key), n.k = n.key, delete n.key, n.modifier && (de(n.modifier), n.m = n.modifier, delete n.modifier);
|
|
775
775
|
break;
|
|
776
776
|
}
|
|
777
777
|
case 5: {
|
|
@@ -801,31 +801,31 @@ function Xt(e, n) {
|
|
|
801
801
|
};
|
|
802
802
|
_ && e.loc && (m.source = e.loc.source);
|
|
803
803
|
const l = () => m;
|
|
804
|
-
function g(
|
|
805
|
-
m.code +=
|
|
804
|
+
function g(A, i) {
|
|
805
|
+
m.code += A;
|
|
806
806
|
}
|
|
807
|
-
function A
|
|
807
|
+
function R(A, i = !0) {
|
|
808
808
|
const f = i ? c : "";
|
|
809
|
-
g(o ? f + " ".repeat(
|
|
809
|
+
g(o ? f + " ".repeat(A) : f);
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function b(A = !0) {
|
|
812
812
|
const i = ++m.indentLevel;
|
|
813
|
-
|
|
813
|
+
A && R(i);
|
|
814
814
|
}
|
|
815
|
-
function O(
|
|
815
|
+
function O(A = !0) {
|
|
816
816
|
const i = --m.indentLevel;
|
|
817
|
-
|
|
817
|
+
A && R(i);
|
|
818
818
|
}
|
|
819
819
|
function v() {
|
|
820
|
-
|
|
820
|
+
R(m.indentLevel);
|
|
821
821
|
}
|
|
822
822
|
return {
|
|
823
823
|
context: l,
|
|
824
824
|
push: g,
|
|
825
|
-
indent:
|
|
825
|
+
indent: b,
|
|
826
826
|
deindent: O,
|
|
827
827
|
newline: v,
|
|
828
|
-
helper: (
|
|
828
|
+
helper: (A) => `_${A}`,
|
|
829
829
|
needIndent: () => m.needIndent
|
|
830
830
|
};
|
|
831
831
|
}
|
|
@@ -834,7 +834,7 @@ function $t(e, n) {
|
|
|
834
834
|
e.push(`${t(
|
|
835
835
|
"linked"
|
|
836
836
|
/* HelperNameMap.LINKED */
|
|
837
|
-
)}(`),
|
|
837
|
+
)}(`), pe(e, n.key), n.modifier ? (e.push(", "), pe(e, n.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
838
838
|
}
|
|
839
839
|
function Jt(e, n) {
|
|
840
840
|
const { helper: t, needIndent: r } = e;
|
|
@@ -843,7 +843,7 @@ function Jt(e, n) {
|
|
|
843
843
|
/* HelperNameMap.NORMALIZE */
|
|
844
844
|
)}([`), e.indent(r());
|
|
845
845
|
const c = n.items.length;
|
|
846
|
-
for (let o = 0; o < c && (
|
|
846
|
+
for (let o = 0; o < c && (pe(e, n.items[o]), o !== c - 1); o++)
|
|
847
847
|
e.push(", ");
|
|
848
848
|
e.deindent(r()), e.push("])");
|
|
849
849
|
}
|
|
@@ -855,15 +855,15 @@ function qt(e, n) {
|
|
|
855
855
|
/* HelperNameMap.PLURAL */
|
|
856
856
|
)}([`), e.indent(r());
|
|
857
857
|
const c = n.cases.length;
|
|
858
|
-
for (let o = 0; o < c && (
|
|
858
|
+
for (let o = 0; o < c && (pe(e, n.cases[o]), o !== c - 1); o++)
|
|
859
859
|
e.push(", ");
|
|
860
860
|
e.deindent(r()), e.push("])");
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
function Qt(e, n) {
|
|
864
|
-
n.body ?
|
|
864
|
+
n.body ? pe(e, n.body) : e.push("null");
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function pe(e, n) {
|
|
867
867
|
const { helper: t } = e;
|
|
868
868
|
switch (n.type) {
|
|
869
869
|
case 0:
|
|
@@ -911,7 +911,7 @@ function de(e, n) {
|
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
913
|
const Zt = (e, n = {}) => {
|
|
914
|
-
const t =
|
|
914
|
+
const t = h(n.mode) ? n.mode : "normal", r = h(n.filename) ? n.filename : "message.intl", c = !!n.sourceMap, o = n.breakLineCode != null ? n.breakLineCode : t === "arrow" ? ";" : `
|
|
915
915
|
`, _ = n.needIndent ? n.needIndent : t !== "arrow", m = e.helpers || [], l = Xt(e, {
|
|
916
916
|
mode: t,
|
|
917
917
|
filename: r,
|
|
@@ -919,20 +919,20 @@ const Zt = (e, n = {}) => {
|
|
|
919
919
|
breakLineCode: o,
|
|
920
920
|
needIndent: _
|
|
921
921
|
});
|
|
922
|
-
l.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(_), m.length > 0 && (l.push(`const { ${fn(m.map((
|
|
923
|
-
const { code: g, map:
|
|
922
|
+
l.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(_), m.length > 0 && (l.push(`const { ${fn(m.map((b) => `${b}: _${b}`), ", ")} } = ctx`), l.newline()), l.push("return "), pe(l, e), l.deindent(_), l.push("}"), delete e.helpers;
|
|
923
|
+
const { code: g, map: R } = l.context();
|
|
924
924
|
return {
|
|
925
925
|
ast: e,
|
|
926
926
|
code: g,
|
|
927
|
-
map:
|
|
927
|
+
map: R ? R.toJSON() : void 0
|
|
928
928
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
929
929
|
};
|
|
930
930
|
};
|
|
931
931
|
function zt(e, n = {}) {
|
|
932
932
|
const t = j({}, n), r = !!t.jit, c = !!t.minify, o = t.optimize == null ? !0 : t.optimize, m = xt(t).parse(e);
|
|
933
|
-
return r ? (o && jt(m), c &&
|
|
933
|
+
return r ? (o && jt(m), c && de(m), { ast: m, code: "" }) : (Kt(m, t), Zt(m, t));
|
|
934
934
|
}
|
|
935
|
-
var er = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_629103ac-44d9-4372-90c4-918c9a68f302", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", 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", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_629103ac-44d9-4372-90c4-918c9a68f302", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", 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", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", 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: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.5.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_dependencies__feedmepos_mf_common: "1.29.23", npm_package_dependencies_fabric: "^5.5.1", npm_package_dependencies_ua_parser_js: "^2.0.3", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1870", ACTIONS_ORCHESTRATION_ID: "08502a94-03a4-45c6-a0f5-5a3b07ce192d.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.4", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260615.205.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^14.1.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15492", GITHUB_WORKFLOW: "[CD:dev] connect-portal (mf-connect)", _: "/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_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.11/x64", GITHUB_RUN_ID: "28087176089", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ee97028ebdecd8bf25a866e93825fb7f2affbe30", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] deploy-mf-connect.yml@refs/heads/dev", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", 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/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-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_95c12a66-4214-45dc-af04-d23355419203", INVOCATION_ID: "fefae7f9c93646848b4a6ccf2b2330cc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "218", GITHUB_TRIGGERING_ACTOR: "yyueniao", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.25", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000080110", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.21", 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 run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/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: "0.1.38-beta.83", npm_package_dependencies__feedmepos_hrm_permission: "1.0.6", npm_package_dependencies_ckeditor5: "^44.3.0", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "ee97028ebdecd8bf25a866e93825fb7f2affbe30", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "yyueniao", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_629103ac-44d9-4372-90c4-918c9a68f302", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "91043129", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", 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_629103ac-44d9-4372-90c4-918c9a68f302", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", 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.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_629103ac-44d9-4372-90c4-918c9a68f302", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.5.1", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", IMPORT_FILES_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "feedmedev.vip", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedmedev.cc/", VOUCHER_APP_URL: "https://voucher.feedmedev.cc/" } };
|
|
935
|
+
var er = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6b46caea-dd7f-44cb-8c19-a2b4ab99d154", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", 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", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6b46caea-dd7f-44cb-8c19-a2b4ab99d154", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", 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", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", 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: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.5.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_dependencies__feedmepos_mf_common: "1.29.23", npm_package_dependencies_fabric: "^5.5.1", npm_package_dependencies_ua_parser_js: "^2.0.3", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1857", ACTIONS_ORCHESTRATION_ID: "7c911d4e-2e06-45ec-a985-a5d2d5eaa1fe.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.4", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260615.205.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^14.1.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15397", GITHUB_WORKFLOW: "[CD:dev] connect-portal (mf-connect)", _: "/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_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.11/x64", GITHUB_RUN_ID: "28138659377", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2158efe447aeba2c1f1ffebeab732ef9b90739dc", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] deploy-mf-connect.yml@refs/heads/dev", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", 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/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-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_1f07ab55-29dd-44f8-a1fe-f61f00bb448c", INVOCATION_ID: "4b7d169afde54d56a58890de1f4a1a0a", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "222", GITHUB_TRIGGERING_ACTOR: "yyueniao", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.25", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000080495", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.21", 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 run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/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: "0.1.38-beta.85", npm_package_dependencies__feedmepos_hrm_permission: "1.0.6", npm_package_dependencies_ckeditor5: "^44.3.0", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "2158efe447aeba2c1f1ffebeab732ef9b90739dc", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "yyueniao", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6b46caea-dd7f-44cb-8c19-a2b4ab99d154", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "91043129", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", 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_6b46caea-dd7f-44cb-8c19-a2b4ab99d154", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", 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.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6b46caea-dd7f-44cb-8c19-a2b4ab99d154", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.5.1", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", IMPORT_FILES_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "feedmedev.vip", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedmedev.cc/", VOUCHER_APP_URL: "https://voucher.feedmedev.cc/" } };
|
|
936
936
|
function nr() {
|
|
937
937
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ce().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ce().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
938
938
|
}
|
|
@@ -1004,7 +1004,7 @@ function rn(e, n) {
|
|
|
1004
1004
|
throw Ne(t);
|
|
1005
1005
|
}
|
|
1006
1006
|
case 6: {
|
|
1007
|
-
const r = n, c =
|
|
1007
|
+
const r = n, c = pr(r), o = Er(r);
|
|
1008
1008
|
return e.linked(rn(e, o), c ? rn(e, c) : void 0, e.type);
|
|
1009
1009
|
}
|
|
1010
1010
|
case 7:
|
|
@@ -1026,9 +1026,9 @@ function De(e, n) {
|
|
|
1026
1026
|
return t;
|
|
1027
1027
|
throw Ne(n);
|
|
1028
1028
|
}
|
|
1029
|
-
const
|
|
1030
|
-
function
|
|
1031
|
-
return se(e,
|
|
1029
|
+
const dr = ["m", "modifier"];
|
|
1030
|
+
function pr(e) {
|
|
1031
|
+
return se(e, dr);
|
|
1032
1032
|
}
|
|
1033
1033
|
const fr = ["k", "key"];
|
|
1034
1034
|
function Er(e) {
|
|
@@ -1065,7 +1065,7 @@ function Tr(e, n = {}) {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
// @__NO_SIDE_EFFECTS__
|
|
1067
1067
|
function Ir(e, n) {
|
|
1068
|
-
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ &&
|
|
1068
|
+
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && h(e)) {
|
|
1069
1069
|
W(n.warnHtmlMessage) && n.warnHtmlMessage;
|
|
1070
1070
|
const r = (n.onCacheKey || gr)(e), c = Ce[r];
|
|
1071
1071
|
if (c)
|
|
@@ -1097,8 +1097,8 @@ function Nr(e, n, t) {
|
|
|
1097
1097
|
meta: t
|
|
1098
1098
|
});
|
|
1099
1099
|
}
|
|
1100
|
-
const kr = /* @__PURE__ */
|
|
1101
|
-
function
|
|
1100
|
+
const kr = /* @__PURE__ */ br("function:translate");
|
|
1101
|
+
function br(e) {
|
|
1102
1102
|
return (n) => ke && ke.emit(e, n);
|
|
1103
1103
|
}
|
|
1104
1104
|
const ne = {
|
|
@@ -1110,7 +1110,7 @@ const ne = {
|
|
|
1110
1110
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1111
1111
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1112
1112
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1113
|
-
},
|
|
1113
|
+
}, hr = 24;
|
|
1114
1114
|
function te(e) {
|
|
1115
1115
|
return Fe(e, null, void 0);
|
|
1116
1116
|
}
|
|
@@ -1119,7 +1119,7 @@ function Tn(e, n) {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
let en;
|
|
1121
1121
|
function Cn(e) {
|
|
1122
|
-
if (
|
|
1122
|
+
if (h(e))
|
|
1123
1123
|
return e;
|
|
1124
1124
|
if (H(e)) {
|
|
1125
1125
|
if (e.resolvedOnce && en != null)
|
|
@@ -1134,14 +1134,14 @@ function Cn(e) {
|
|
|
1134
1134
|
} else
|
|
1135
1135
|
throw te(ne.NOT_SUPPORT_LOCALE_TYPE);
|
|
1136
1136
|
}
|
|
1137
|
-
function
|
|
1137
|
+
function Rr(e, n, t) {
|
|
1138
1138
|
return [.../* @__PURE__ */ new Set([
|
|
1139
1139
|
t,
|
|
1140
|
-
...x(n) ? n : y(n) ? Object.keys(n) :
|
|
1140
|
+
...x(n) ? n : y(n) ? Object.keys(n) : h(n) ? [n] : [t]
|
|
1141
1141
|
])];
|
|
1142
1142
|
}
|
|
1143
1143
|
function zn(e, n, t) {
|
|
1144
|
-
const r =
|
|
1144
|
+
const r = h(t) ? t : Ue, c = e;
|
|
1145
1145
|
c.__localeChainCache || (c.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1146
1146
|
let o = c.__localeChainCache.get(r);
|
|
1147
1147
|
if (!o) {
|
|
@@ -1150,7 +1150,7 @@ function zn(e, n, t) {
|
|
|
1150
1150
|
for (; x(_); )
|
|
1151
1151
|
_ = Pn(o, _, n);
|
|
1152
1152
|
const m = x(n) || !P(n) ? n : n.default ? n.default : null;
|
|
1153
|
-
_ =
|
|
1153
|
+
_ = h(m) ? [m] : m, x(_) && Pn(o, _, !1), c.__localeChainCache.set(r, o);
|
|
1154
1154
|
}
|
|
1155
1155
|
return o;
|
|
1156
1156
|
}
|
|
@@ -1158,11 +1158,11 @@ function Pn(e, n, t) {
|
|
|
1158
1158
|
let r = !0;
|
|
1159
1159
|
for (let c = 0; c < n.length && W(r); c++) {
|
|
1160
1160
|
const o = n[c];
|
|
1161
|
-
|
|
1161
|
+
h(o) && (r = Ar(e, n[c], t));
|
|
1162
1162
|
}
|
|
1163
1163
|
return r;
|
|
1164
1164
|
}
|
|
1165
|
-
function
|
|
1165
|
+
function Ar(e, n, t) {
|
|
1166
1166
|
let r;
|
|
1167
1167
|
const c = n.split("-");
|
|
1168
1168
|
do {
|
|
@@ -1380,7 +1380,7 @@ function Pr(e) {
|
|
|
1380
1380
|
}
|
|
1381
1381
|
function yr(e) {
|
|
1382
1382
|
const n = [];
|
|
1383
|
-
let t = -1, r = 0, c = 0, o, _, m, l, g,
|
|
1383
|
+
let t = -1, r = 0, c = 0, o, _, m, l, g, R, b;
|
|
1384
1384
|
const O = [];
|
|
1385
1385
|
O[
|
|
1386
1386
|
0
|
|
@@ -1428,7 +1428,7 @@ function yr(e) {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
for (; r !== null; )
|
|
1430
1430
|
if (t++, o = e[t], !(o === "\\" && v())) {
|
|
1431
|
-
if (l = Cr(o),
|
|
1431
|
+
if (l = Cr(o), b = ae[r], g = b[l] || b.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (R = O[g[1]], R && (m = o, R() === !1))))
|
|
1432
1432
|
return;
|
|
1433
1433
|
if (r === 7)
|
|
1434
1434
|
return n;
|
|
@@ -1457,9 +1457,9 @@ function Mr(e, n) {
|
|
|
1457
1457
|
const Fr = "10.0.5", He = -1, Ue = "en-US", Un = "", Mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
1458
|
function Hr() {
|
|
1459
1459
|
return {
|
|
1460
|
-
upper: (e, n) => n === "text" &&
|
|
1461
|
-
lower: (e, n) => n === "text" &&
|
|
1462
|
-
capitalize: (e, n) => n === "text" &&
|
|
1460
|
+
upper: (e, n) => n === "text" && h(e) ? e.toUpperCase() : n === "vnode" && y(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1461
|
+
lower: (e, n) => n === "text" && h(e) ? e.toLowerCase() : n === "vnode" && y(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1462
|
+
capitalize: (e, n) => n === "text" && h(e) ? Mn(e) : n === "vnode" && y(e) && "__v_isVNode" in e ? Mn(e.children) : e
|
|
1463
1463
|
};
|
|
1464
1464
|
}
|
|
1465
1465
|
let et;
|
|
@@ -1484,7 +1484,7 @@ const Fn = (e) => {
|
|
|
1484
1484
|
}, xr = () => st;
|
|
1485
1485
|
let Hn = 0;
|
|
1486
1486
|
function Yr(e = {}) {
|
|
1487
|
-
const n = H(e.onWarn) ? e.onWarn : St, t =
|
|
1487
|
+
const n = H(e.onWarn) ? e.onWarn : St, t = h(e.version) ? e.version : Fr, r = h(e.locale) || H(e.locale) ? e.locale : Ue, c = H(r) ? Ue : r, o = x(e.fallbackLocale) || P(e.fallbackLocale) || h(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, _ = P(e.messages) ? e.messages : nn(c), m = P(e.datetimeFormats) ? e.datetimeFormats : nn(c), l = P(e.numberFormats) ? e.numberFormats : nn(c), g = j(M(), e.modifiers, Hr()), R = e.pluralRules || M(), b = H(e.missing) ? e.missing : null, O = W(e.missingWarn) || ye(e.missingWarn) ? e.missingWarn : !0, v = W(e.fallbackWarn) || ye(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, S = !!e.unresolving, A = H(e.postTranslation) ? e.postTranslation : null, i = P(e.processor) ? e.processor : null, f = W(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, I = !!e.escapeParameter, d = H(e.messageCompiler) ? e.messageCompiler : et, k = H(e.messageResolver) ? e.messageResolver : nt || Ur, N = H(e.localeFallbacker) ? e.localeFallbacker : tt || Rr, T = y(e.fallbackContext) ? e.fallbackContext : void 0, G = e, w = y(G.__datetimeFormatters) ? G.__datetimeFormatters : /* @__PURE__ */ new Map(), $ = y(G.__numberFormatters) ? G.__numberFormatters : /* @__PURE__ */ new Map(), q = y(G.__meta) ? G.__meta : {};
|
|
1488
1488
|
Hn++;
|
|
1489
1489
|
const Y = {
|
|
1490
1490
|
version: t,
|
|
@@ -1493,17 +1493,17 @@ function Yr(e = {}) {
|
|
|
1493
1493
|
fallbackLocale: o,
|
|
1494
1494
|
messages: _,
|
|
1495
1495
|
modifiers: g,
|
|
1496
|
-
pluralRules:
|
|
1497
|
-
missing:
|
|
1496
|
+
pluralRules: R,
|
|
1497
|
+
missing: b,
|
|
1498
1498
|
missingWarn: O,
|
|
1499
1499
|
fallbackWarn: v,
|
|
1500
1500
|
fallbackFormat: D,
|
|
1501
1501
|
unresolving: S,
|
|
1502
|
-
postTranslation:
|
|
1502
|
+
postTranslation: A,
|
|
1503
1503
|
processor: i,
|
|
1504
1504
|
warnHtmlMessage: f,
|
|
1505
1505
|
escapeParameter: I,
|
|
1506
|
-
messageCompiler:
|
|
1506
|
+
messageCompiler: d,
|
|
1507
1507
|
messageResolver: k,
|
|
1508
1508
|
localeFallbacker: N,
|
|
1509
1509
|
fallbackContext: T,
|
|
@@ -1517,7 +1517,7 @@ function In(e, n, t, r, c) {
|
|
|
1517
1517
|
const { missing: o, onWarn: _ } = e;
|
|
1518
1518
|
if (o !== null) {
|
|
1519
1519
|
const m = o(e, t, n, c);
|
|
1520
|
-
return
|
|
1520
|
+
return h(m) ? m : n;
|
|
1521
1521
|
} else
|
|
1522
1522
|
return n;
|
|
1523
1523
|
}
|
|
@@ -1538,26 +1538,26 @@ function jr(e, n) {
|
|
|
1538
1538
|
return !1;
|
|
1539
1539
|
}
|
|
1540
1540
|
function Gn(e, ...n) {
|
|
1541
|
-
const { datetimeFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: _ } = e, { __datetimeFormatters: m } = e, [l, g,
|
|
1542
|
-
W(
|
|
1543
|
-
const v = !!
|
|
1541
|
+
const { datetimeFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: _ } = e, { __datetimeFormatters: m } = e, [l, g, R, b] = sn(...n), O = W(R.missingWarn) ? R.missingWarn : e.missingWarn;
|
|
1542
|
+
W(R.fallbackWarn) ? R.fallbackWarn : e.fallbackWarn;
|
|
1543
|
+
const v = !!R.part, D = Tn(e, R), S = _(
|
|
1544
1544
|
e,
|
|
1545
1545
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1546
1546
|
c,
|
|
1547
1547
|
D
|
|
1548
1548
|
);
|
|
1549
|
-
if (!
|
|
1550
|
-
return new Intl.DateTimeFormat(D,
|
|
1551
|
-
let
|
|
1549
|
+
if (!h(l) || l === "")
|
|
1550
|
+
return new Intl.DateTimeFormat(D, b).format(g);
|
|
1551
|
+
let A = {}, i, f = null;
|
|
1552
1552
|
const I = "datetime format";
|
|
1553
|
-
for (let N = 0; N < S.length && (i = S[N],
|
|
1553
|
+
for (let N = 0; N < S.length && (i = S[N], A = t[i] || {}, f = A[l], !P(f)); N++)
|
|
1554
1554
|
In(e, l, i, O, I);
|
|
1555
|
-
if (!P(f) || !
|
|
1555
|
+
if (!P(f) || !h(i))
|
|
1556
1556
|
return r ? He : l;
|
|
1557
|
-
let
|
|
1558
|
-
Me(
|
|
1559
|
-
let k = m.get(
|
|
1560
|
-
return k || (k = new Intl.DateTimeFormat(i, j({}, f,
|
|
1557
|
+
let d = `${i}__${l}`;
|
|
1558
|
+
Me(b) || (d = `${d}__${JSON.stringify(b)}`);
|
|
1559
|
+
let k = m.get(d);
|
|
1560
|
+
return k || (k = new Intl.DateTimeFormat(i, j({}, f, b)), m.set(d, k)), v ? k.formatToParts(g) : k.format(g);
|
|
1561
1561
|
}
|
|
1562
1562
|
const at = [
|
|
1563
1563
|
"localeMatcher",
|
|
@@ -1584,7 +1584,7 @@ const at = [
|
|
|
1584
1584
|
function sn(...e) {
|
|
1585
1585
|
const [n, t, r, c] = e, o = M();
|
|
1586
1586
|
let _ = M(), m;
|
|
1587
|
-
if (
|
|
1587
|
+
if (h(n)) {
|
|
1588
1588
|
const l = n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1589
1589
|
if (!l)
|
|
1590
1590
|
throw te(ne.INVALID_ISO_DATE_ARGUMENT);
|
|
@@ -1595,7 +1595,7 @@ function sn(...e) {
|
|
|
1595
1595
|
} catch {
|
|
1596
1596
|
throw te(ne.INVALID_ISO_DATE_ARGUMENT);
|
|
1597
1597
|
}
|
|
1598
|
-
} else if (
|
|
1598
|
+
} else if (ht(n)) {
|
|
1599
1599
|
if (isNaN(n.getTime()))
|
|
1600
1600
|
throw te(ne.INVALID_DATE_ARGUMENT);
|
|
1601
1601
|
m = n;
|
|
@@ -1603,9 +1603,9 @@ function sn(...e) {
|
|
|
1603
1603
|
m = n;
|
|
1604
1604
|
else
|
|
1605
1605
|
throw te(ne.INVALID_ARGUMENT);
|
|
1606
|
-
return
|
|
1606
|
+
return h(t) ? o.key = t : P(t) && Object.keys(t).forEach((l) => {
|
|
1607
1607
|
at.includes(l) ? _[l] = t[l] : o[l] = t[l];
|
|
1608
|
-
}),
|
|
1608
|
+
}), h(r) ? o.locale = r : P(r) && (_ = r), P(c) && (_ = c), [o.key || "", m, o, _];
|
|
1609
1609
|
}
|
|
1610
1610
|
function wn(e, n, t) {
|
|
1611
1611
|
const r = e;
|
|
@@ -1615,26 +1615,26 @@ function wn(e, n, t) {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
1617
|
function Bn(e, ...n) {
|
|
1618
|
-
const { numberFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: _ } = e, { __numberFormatters: m } = e, [l, g,
|
|
1619
|
-
W(
|
|
1620
|
-
const v = !!
|
|
1618
|
+
const { numberFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: _ } = e, { __numberFormatters: m } = e, [l, g, R, b] = an(...n), O = W(R.missingWarn) ? R.missingWarn : e.missingWarn;
|
|
1619
|
+
W(R.fallbackWarn) ? R.fallbackWarn : e.fallbackWarn;
|
|
1620
|
+
const v = !!R.part, D = Tn(e, R), S = _(
|
|
1621
1621
|
e,
|
|
1622
1622
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1623
1623
|
c,
|
|
1624
1624
|
D
|
|
1625
1625
|
);
|
|
1626
|
-
if (!
|
|
1627
|
-
return new Intl.NumberFormat(D,
|
|
1628
|
-
let
|
|
1626
|
+
if (!h(l) || l === "")
|
|
1627
|
+
return new Intl.NumberFormat(D, b).format(g);
|
|
1628
|
+
let A = {}, i, f = null;
|
|
1629
1629
|
const I = "number format";
|
|
1630
|
-
for (let N = 0; N < S.length && (i = S[N],
|
|
1630
|
+
for (let N = 0; N < S.length && (i = S[N], A = t[i] || {}, f = A[l], !P(f)); N++)
|
|
1631
1631
|
In(e, l, i, O, I);
|
|
1632
|
-
if (!P(f) || !
|
|
1632
|
+
if (!P(f) || !h(i))
|
|
1633
1633
|
return r ? He : l;
|
|
1634
|
-
let
|
|
1635
|
-
Me(
|
|
1636
|
-
let k = m.get(
|
|
1637
|
-
return k || (k = new Intl.NumberFormat(i, j({}, f,
|
|
1634
|
+
let d = `${i}__${l}`;
|
|
1635
|
+
Me(b) || (d = `${d}__${JSON.stringify(b)}`);
|
|
1636
|
+
let k = m.get(d);
|
|
1637
|
+
return k || (k = new Intl.NumberFormat(i, j({}, f, b)), m.set(d, k)), v ? k.formatToParts(g) : k.format(g);
|
|
1638
1638
|
}
|
|
1639
1639
|
const ot = [
|
|
1640
1640
|
"localeMatcher",
|
|
@@ -1664,9 +1664,9 @@ function an(...e) {
|
|
|
1664
1664
|
if (!K(n))
|
|
1665
1665
|
throw te(ne.INVALID_ARGUMENT);
|
|
1666
1666
|
const m = n;
|
|
1667
|
-
return
|
|
1667
|
+
return h(t) ? o.key = t : P(t) && Object.keys(t).forEach((l) => {
|
|
1668
1668
|
ot.includes(l) ? _[l] = t[l] : o[l] = t[l];
|
|
1669
|
-
}),
|
|
1669
|
+
}), h(r) ? o.locale = r : P(r) && (_ = r), P(c) && (_ = c), [o.key || "", m, o, _];
|
|
1670
1670
|
}
|
|
1671
1671
|
function Vn(e, n, t) {
|
|
1672
1672
|
const r = e;
|
|
@@ -1687,59 +1687,59 @@ function zr(e, n) {
|
|
|
1687
1687
|
n.count || (n.count = e), n.n || (n.n = e);
|
|
1688
1688
|
}
|
|
1689
1689
|
function es(e = {}) {
|
|
1690
|
-
const n = e.locale, t = Zr(e), r = y(e.pluralRules) &&
|
|
1690
|
+
const n = e.locale, t = Zr(e), r = y(e.pluralRules) && h(n) && H(e.pluralRules[n]) ? e.pluralRules[n] : Wn, c = y(e.pluralRules) && h(n) && H(e.pluralRules[n]) ? Wn : void 0, o = (i) => i[r(t, i.length, c)], _ = e.list || [], m = (i) => _[i], l = e.named || M();
|
|
1691
1691
|
K(e.pluralIndex) && zr(t, l);
|
|
1692
1692
|
const g = (i) => l[i];
|
|
1693
|
-
function
|
|
1693
|
+
function R(i, f) {
|
|
1694
1694
|
const I = H(e.messages) ? e.messages(i, !!f) : y(e.messages) ? e.messages[i] : !1;
|
|
1695
1695
|
return I || (e.parent ? e.parent.message(i) : $r);
|
|
1696
1696
|
}
|
|
1697
|
-
const
|
|
1697
|
+
const b = (i) => e.modifiers ? e.modifiers[i] : Xr, O = P(e.processor) && H(e.processor.normalize) ? e.processor.normalize : qr, v = P(e.processor) && H(e.processor.interpolate) ? e.processor.interpolate : Qr, D = P(e.processor) && h(e.processor.type) ? e.processor.type : Jr, A = {
|
|
1698
1698
|
list: m,
|
|
1699
1699
|
named: g,
|
|
1700
1700
|
plural: o,
|
|
1701
1701
|
linked: (i, ...f) => {
|
|
1702
|
-
const [I,
|
|
1702
|
+
const [I, d] = f;
|
|
1703
1703
|
let k = "text", N = "";
|
|
1704
|
-
f.length === 1 ? y(I) ? (N = I.modifier || N, k = I.type || k) :
|
|
1705
|
-
const T =
|
|
1704
|
+
f.length === 1 ? y(I) ? (N = I.modifier || N, k = I.type || k) : h(I) && (N = I || N) : f.length === 2 && (h(I) && (N = I || N), h(d) && (k = d || k));
|
|
1705
|
+
const T = R(i, !0)(A), G = (
|
|
1706
1706
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1707
1707
|
k === "vnode" && x(T) && N ? T[0] : T
|
|
1708
1708
|
);
|
|
1709
|
-
return N ?
|
|
1709
|
+
return N ? b(N)(G, k) : G;
|
|
1710
1710
|
},
|
|
1711
|
-
message:
|
|
1711
|
+
message: R,
|
|
1712
1712
|
type: D,
|
|
1713
1713
|
interpolate: v,
|
|
1714
1714
|
normalize: O,
|
|
1715
1715
|
values: j(M(), _, l)
|
|
1716
1716
|
};
|
|
1717
|
-
return
|
|
1717
|
+
return A;
|
|
1718
1718
|
}
|
|
1719
1719
|
const xn = () => "", J = (e) => H(e);
|
|
1720
1720
|
function Yn(e, ...n) {
|
|
1721
|
-
const { fallbackFormat: t, postTranslation: r, unresolving: c, messageCompiler: o, fallbackLocale: _, messages: m } = e, [l, g] = on(...n),
|
|
1721
|
+
const { fallbackFormat: t, postTranslation: r, unresolving: c, messageCompiler: o, fallbackLocale: _, messages: m } = e, [l, g] = on(...n), R = W(g.missingWarn) ? g.missingWarn : e.missingWarn, b = W(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, O = W(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, v = !!g.resolvedMessage, D = h(g.default) || W(g.default) ? W(g.default) ? o ? l : () => l : g.default : t ? o ? l : () => l : null, S = t || D != null && (h(D) || H(D)), A = Tn(e, g);
|
|
1722
1722
|
O && ns(g);
|
|
1723
1723
|
let [i, f, I] = v ? [
|
|
1724
1724
|
l,
|
|
1725
|
-
|
|
1726
|
-
m[
|
|
1727
|
-
] : ct(e, l,
|
|
1728
|
-
if (!v && !(
|
|
1725
|
+
A,
|
|
1726
|
+
m[A] || M()
|
|
1727
|
+
] : ct(e, l, A, _, b, R), d = i, k = l;
|
|
1728
|
+
if (!v && !(h(d) || fe(d) || J(d)) && S && (d = D, k = d), !v && (!(h(d) || fe(d) || J(d)) || !h(f)))
|
|
1729
1729
|
return c ? He : l;
|
|
1730
1730
|
let N = !1;
|
|
1731
1731
|
const T = () => {
|
|
1732
1732
|
N = !0;
|
|
1733
|
-
}, G = J(
|
|
1733
|
+
}, G = J(d) ? d : it(e, l, f, d, k, T);
|
|
1734
1734
|
if (N)
|
|
1735
|
-
return
|
|
1735
|
+
return d;
|
|
1736
1736
|
const w = ss(e, f, I, g), $ = es(w), q = ts(e, G, $), Y = r ? r(q, l) : q;
|
|
1737
1737
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1738
1738
|
const _e = {
|
|
1739
1739
|
timestamp: Date.now(),
|
|
1740
|
-
key:
|
|
1741
|
-
locale: f || (J(
|
|
1742
|
-
format:
|
|
1740
|
+
key: h(l) ? l : J(d) ? d.key : "",
|
|
1741
|
+
locale: f || (J(d) ? d.locale : ""),
|
|
1742
|
+
format: h(d) ? d : J(d) ? d.source : "",
|
|
1743
1743
|
message: Y
|
|
1744
1744
|
};
|
|
1745
1745
|
_e.meta = j({}, e.__meta, /* @__PURE__ */ Wr() || {}), kr(_e);
|
|
@@ -1747,17 +1747,17 @@ function Yn(e, ...n) {
|
|
|
1747
1747
|
return Y;
|
|
1748
1748
|
}
|
|
1749
1749
|
function ns(e) {
|
|
1750
|
-
x(e.list) ? e.list = e.list.map((n) =>
|
|
1751
|
-
|
|
1750
|
+
x(e.list) ? e.list = e.list.map((n) => h(n) ? An(n) : n) : y(e.named) && Object.keys(e.named).forEach((n) => {
|
|
1751
|
+
h(e.named[n]) && (e.named[n] = An(e.named[n]));
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
1754
|
function ct(e, n, t, r, c, o) {
|
|
1755
|
-
const { messages: _, onWarn: m, messageResolver: l, localeFallbacker: g } = e,
|
|
1756
|
-
let
|
|
1755
|
+
const { messages: _, onWarn: m, messageResolver: l, localeFallbacker: g } = e, R = g(e, r, t);
|
|
1756
|
+
let b = M(), O, v = null;
|
|
1757
1757
|
const D = "translate";
|
|
1758
|
-
for (let S = 0; S <
|
|
1759
|
-
if (!jr(O,
|
|
1760
|
-
const
|
|
1758
|
+
for (let S = 0; S < R.length && (O = R[S], b = _[O] || M(), (v = l(b, n)) === null && (v = b[n]), !(h(v) || fe(v) || J(v))); S++)
|
|
1759
|
+
if (!jr(O, R)) {
|
|
1760
|
+
const A = In(
|
|
1761
1761
|
e,
|
|
1762
1762
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1763
1763
|
n,
|
|
@@ -1765,9 +1765,9 @@ function ct(e, n, t, r, c, o) {
|
|
|
1765
1765
|
o,
|
|
1766
1766
|
D
|
|
1767
1767
|
);
|
|
1768
|
-
|
|
1768
|
+
A !== n && (v = A);
|
|
1769
1769
|
}
|
|
1770
|
-
return [v, O,
|
|
1770
|
+
return [v, O, b];
|
|
1771
1771
|
}
|
|
1772
1772
|
function it(e, n, t, r, c, o) {
|
|
1773
1773
|
const { messageCompiler: _, warnHtmlMessage: m } = e;
|
|
@@ -1787,10 +1787,10 @@ function ts(e, n, t) {
|
|
|
1787
1787
|
}
|
|
1788
1788
|
function on(...e) {
|
|
1789
1789
|
const [n, t, r] = e, c = M();
|
|
1790
|
-
if (!
|
|
1790
|
+
if (!h(n) && !K(n) && !J(n) && !fe(n))
|
|
1791
1791
|
throw te(ne.INVALID_ARGUMENT);
|
|
1792
1792
|
const o = K(n) ? String(n) : (J(n), n);
|
|
1793
|
-
return K(t) ? c.plural = t :
|
|
1793
|
+
return K(t) ? c.plural = t : h(t) ? c.default = t : P(t) && !Me(t) ? c.named = t : x(t) && (c.list = t), K(r) ? c.plural = r : h(r) ? c.default = r : P(r) && j(c, r), [o, c];
|
|
1794
1794
|
}
|
|
1795
1795
|
function rs(e, n, t, r, c, o) {
|
|
1796
1796
|
return {
|
|
@@ -1804,15 +1804,15 @@ function rs(e, n, t, r, c, o) {
|
|
|
1804
1804
|
};
|
|
1805
1805
|
}
|
|
1806
1806
|
function ss(e, n, t, r) {
|
|
1807
|
-
const { modifiers: c, pluralRules: o, messageResolver: _, fallbackLocale: m, fallbackWarn: l, missingWarn: g, fallbackContext:
|
|
1807
|
+
const { modifiers: c, pluralRules: o, messageResolver: _, fallbackLocale: m, fallbackWarn: l, missingWarn: g, fallbackContext: R } = e, O = {
|
|
1808
1808
|
locale: n,
|
|
1809
1809
|
modifiers: c,
|
|
1810
1810
|
pluralRules: o,
|
|
1811
1811
|
messages: (v, D) => {
|
|
1812
1812
|
let S = _(t, v);
|
|
1813
|
-
if (S == null && (
|
|
1814
|
-
const [, ,
|
|
1815
|
-
|
|
1813
|
+
if (S == null && (R || D)) {
|
|
1814
|
+
const [, , A] = ct(
|
|
1815
|
+
R || e,
|
|
1816
1816
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1817
1817
|
v,
|
|
1818
1818
|
n,
|
|
@@ -1820,28 +1820,28 @@ function ss(e, n, t, r) {
|
|
|
1820
1820
|
l,
|
|
1821
1821
|
g
|
|
1822
1822
|
);
|
|
1823
|
-
S = _(
|
|
1823
|
+
S = _(A, v);
|
|
1824
1824
|
}
|
|
1825
|
-
if (
|
|
1826
|
-
let
|
|
1825
|
+
if (h(S) || fe(S)) {
|
|
1826
|
+
let A = !1;
|
|
1827
1827
|
const f = it(e, v, n, S, v, () => {
|
|
1828
|
-
|
|
1828
|
+
A = !0;
|
|
1829
1829
|
});
|
|
1830
|
-
return
|
|
1830
|
+
return A ? xn : f;
|
|
1831
1831
|
} else return J(S) ? S : xn;
|
|
1832
1832
|
}
|
|
1833
1833
|
};
|
|
1834
1834
|
return e.processor && (O.processor = e.processor), r.list && (O.list = r.list), r.named && (O.named = r.named), K(r.plural) && (O.pluralIndex = r.plural), O;
|
|
1835
1835
|
}
|
|
1836
1836
|
nr();
|
|
1837
|
-
var as = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_629103ac-44d9-4372-90c4-918c9a68f302", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", 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", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_629103ac-44d9-4372-90c4-918c9a68f302", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", 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", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", 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: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.5.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_dependencies__feedmepos_mf_common: "1.29.23", npm_package_dependencies_fabric: "^5.5.1", npm_package_dependencies_ua_parser_js: "^2.0.3", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1870", ACTIONS_ORCHESTRATION_ID: "08502a94-03a4-45c6-a0f5-5a3b07ce192d.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.4", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260615.205.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^14.1.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15492", GITHUB_WORKFLOW: "[CD:dev] connect-portal (mf-connect)", _: "/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_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.11/x64", GITHUB_RUN_ID: "28087176089", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ee97028ebdecd8bf25a866e93825fb7f2affbe30", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] deploy-mf-connect.yml@refs/heads/dev", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", 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/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-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_95c12a66-4214-45dc-af04-d23355419203", INVOCATION_ID: "fefae7f9c93646848b4a6ccf2b2330cc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "218", GITHUB_TRIGGERING_ACTOR: "yyueniao", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.25", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000080110", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.21", 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 run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/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: "0.1.38-beta.83", npm_package_dependencies__feedmepos_hrm_permission: "1.0.6", npm_package_dependencies_ckeditor5: "^44.3.0", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "ee97028ebdecd8bf25a866e93825fb7f2affbe30", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "yyueniao", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_629103ac-44d9-4372-90c4-918c9a68f302", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "91043129", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", 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_629103ac-44d9-4372-90c4-918c9a68f302", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", 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.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_629103ac-44d9-4372-90c4-918c9a68f302", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.5.1", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", IMPORT_FILES_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "feedmedev.vip", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedmedev.cc/", VOUCHER_APP_URL: "https://voucher.feedmedev.cc/" } };
|
|
1837
|
+
var as = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6b46caea-dd7f-44cb-8c19-a2b4ab99d154", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", 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", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6b46caea-dd7f-44cb-8c19-a2b4ab99d154", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", 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", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", 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: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.5.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_dependencies__feedmepos_mf_common: "1.29.23", npm_package_dependencies_fabric: "^5.5.1", npm_package_dependencies_ua_parser_js: "^2.0.3", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1857", ACTIONS_ORCHESTRATION_ID: "7c911d4e-2e06-45ec-a985-a5d2d5eaa1fe.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.4", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260615.205.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^14.1.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15397", GITHUB_WORKFLOW: "[CD:dev] connect-portal (mf-connect)", _: "/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_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.11/x64", GITHUB_RUN_ID: "28138659377", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2158efe447aeba2c1f1ffebeab732ef9b90739dc", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] deploy-mf-connect.yml@refs/heads/dev", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", 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/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-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_1f07ab55-29dd-44f8-a1fe-f61f00bb448c", INVOCATION_ID: "4b7d169afde54d56a58890de1f4a1a0a", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "222", GITHUB_TRIGGERING_ACTOR: "yyueniao", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.25", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000080495", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.21", 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 run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/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: "0.1.38-beta.85", npm_package_dependencies__feedmepos_hrm_permission: "1.0.6", npm_package_dependencies_ckeditor5: "^44.3.0", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "2158efe447aeba2c1f1ffebeab732ef9b90739dc", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "yyueniao", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6b46caea-dd7f-44cb-8c19-a2b4ab99d154", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "91043129", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", 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_6b46caea-dd7f-44cb-8c19-a2b4ab99d154", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", 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.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6b46caea-dd7f-44cb-8c19-a2b4ab99d154", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.5.1", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", IMPORT_FILES_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "feedmedev.vip", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedmedev.cc/", VOUCHER_APP_URL: "https://voucher.feedmedev.cc/" } };
|
|
1838
1838
|
const os = "10.0.5";
|
|
1839
1839
|
function cs() {
|
|
1840
1840
|
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);
|
|
1841
1841
|
}
|
|
1842
1842
|
const Ee = {
|
|
1843
1843
|
// composer module errors
|
|
1844
|
-
UNEXPECTED_RETURN_TYPE:
|
|
1844
|
+
UNEXPECTED_RETURN_TYPE: hr,
|
|
1845
1845
|
// 24
|
|
1846
1846
|
// legacy module errors
|
|
1847
1847
|
INVALID_ARGUMENT: 25,
|
|
@@ -1861,17 +1861,17 @@ const Ee = {
|
|
|
1861
1861
|
// Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
|
|
1862
1862
|
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
|
|
1863
1863
|
};
|
|
1864
|
-
function
|
|
1864
|
+
function be(e, ...n) {
|
|
1865
1865
|
return Fe(e, null, void 0);
|
|
1866
1866
|
}
|
|
1867
1867
|
const cn = /* @__PURE__ */ ie("__translateVNode"), _n = /* @__PURE__ */ ie("__datetimeParts"), ln = /* @__PURE__ */ ie("__numberParts"), is = ie("__setPluralRules"), _t = /* @__PURE__ */ ie("__injectWithOption"), un = /* @__PURE__ */ ie("__dispose");
|
|
1868
|
-
function
|
|
1868
|
+
function he(e) {
|
|
1869
1869
|
if (!y(e))
|
|
1870
1870
|
return e;
|
|
1871
1871
|
for (const n in e)
|
|
1872
1872
|
if (Q(e, n))
|
|
1873
1873
|
if (!n.includes("."))
|
|
1874
|
-
y(e[n]) &&
|
|
1874
|
+
y(e[n]) && he(e[n]);
|
|
1875
1875
|
else {
|
|
1876
1876
|
const t = n.split("."), r = t.length - 1;
|
|
1877
1877
|
let c = e, o = !1;
|
|
@@ -1882,7 +1882,7 @@ function Re(e) {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
c = c[t[_]];
|
|
1884
1884
|
}
|
|
1885
|
-
o || (c[t[r]] = e[n], delete e[n]), y(c[t[r]]) &&
|
|
1885
|
+
o || (c[t[r]] = e[n], delete e[n]), y(c[t[r]]) && he(c[t[r]]);
|
|
1886
1886
|
}
|
|
1887
1887
|
return e;
|
|
1888
1888
|
}
|
|
@@ -1893,10 +1893,10 @@ function lt(e, n) {
|
|
|
1893
1893
|
const { locale: l, resource: g } = m;
|
|
1894
1894
|
l ? (_[l] = _[l] || M(), Pe(g, _[l])) : Pe(g, _);
|
|
1895
1895
|
} else
|
|
1896
|
-
|
|
1896
|
+
h(m) && Pe(JSON.parse(m), _);
|
|
1897
1897
|
}), c == null && o)
|
|
1898
1898
|
for (const m in _)
|
|
1899
|
-
Q(_, m) &&
|
|
1899
|
+
Q(_, m) && he(_[m]);
|
|
1900
1900
|
return _;
|
|
1901
1901
|
}
|
|
1902
1902
|
function ut(e) {
|
|
@@ -1933,24 +1933,24 @@ function Kn(e) {
|
|
|
1933
1933
|
const jn = "__INTLIFY_META__", Xn = () => [], ls = () => !1;
|
|
1934
1934
|
let $n = 0;
|
|
1935
1935
|
function Jn(e) {
|
|
1936
|
-
return (n, t, r, c) => e(t, r,
|
|
1936
|
+
return (n, t, r, c) => e(t, r, dn() || void 0, c);
|
|
1937
1937
|
}
|
|
1938
1938
|
const us = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1939
|
-
const e =
|
|
1939
|
+
const e = dn();
|
|
1940
1940
|
let n = null;
|
|
1941
1941
|
return e && (n = ut(e)[jn]) ? { [jn]: n } : null;
|
|
1942
1942
|
};
|
|
1943
1943
|
function ms(e = {}) {
|
|
1944
|
-
const { __root: n, __injectWithOption: t } = e, r = n === void 0, c = e.flatJson, o =
|
|
1944
|
+
const { __root: n, __injectWithOption: t } = e, r = n === void 0, c = e.flatJson, o = hn ? Tt : It;
|
|
1945
1945
|
let _ = W(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1946
1946
|
const m = o(
|
|
1947
1947
|
// prettier-ignore
|
|
1948
|
-
n && _ ? n.locale.value :
|
|
1948
|
+
n && _ ? n.locale.value : h(e.locale) ? e.locale : Ue
|
|
1949
1949
|
), l = o(
|
|
1950
1950
|
// prettier-ignore
|
|
1951
|
-
n && _ ? n.fallbackLocale.value :
|
|
1952
|
-
), g = o(lt(m.value, e)),
|
|
1953
|
-
let O = n ? n.missingWarn : W(e.missingWarn) || ye(e.missingWarn) ? e.missingWarn : !0, v = n ? n.fallbackWarn : W(e.fallbackWarn) || ye(e.fallbackWarn) ? e.fallbackWarn : !0, D = n ? n.fallbackRoot : W(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat,
|
|
1951
|
+
n && _ ? n.fallbackLocale.value : h(e.fallbackLocale) || x(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1952
|
+
), g = o(lt(m.value, e)), R = o(P(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), b = o(P(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1953
|
+
let O = n ? n.missingWarn : W(e.missingWarn) || ye(e.missingWarn) ? e.missingWarn : !0, v = n ? n.fallbackWarn : W(e.fallbackWarn) || ye(e.fallbackWarn) ? e.fallbackWarn : !0, D = n ? n.fallbackRoot : W(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, A = H(e.missing) ? e.missing : null, i = H(e.missing) ? Jn(e.missing) : null, f = H(e.postTranslation) ? e.postTranslation : null, I = n ? n.warnHtmlMessage : W(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, d = !!e.escapeParameter;
|
|
1954
1954
|
const k = n ? n.modifiers : P(e.modifiers) ? e.modifiers : {};
|
|
1955
1955
|
let N = e.pluralRules || n && n.pluralRules, T;
|
|
1956
1956
|
T = (() => {
|
|
@@ -1969,12 +1969,12 @@ function ms(e = {}) {
|
|
|
1969
1969
|
unresolving: !0,
|
|
1970
1970
|
postTranslation: f === null ? void 0 : f,
|
|
1971
1971
|
warnHtmlMessage: I,
|
|
1972
|
-
escapeParameter:
|
|
1972
|
+
escapeParameter: d,
|
|
1973
1973
|
messageResolver: e.messageResolver,
|
|
1974
1974
|
messageCompiler: e.messageCompiler,
|
|
1975
1975
|
__meta: { framework: "vue" }
|
|
1976
1976
|
};
|
|
1977
|
-
u.datetimeFormats =
|
|
1977
|
+
u.datetimeFormats = R.value, u.numberFormats = b.value, u.__datetimeFormatters = P(T) ? T.__datetimeFormatters : void 0, u.__numberFormatters = P(T) ? T.__numberFormatters : void 0;
|
|
1978
1978
|
const E = Yr(u);
|
|
1979
1979
|
return r && Fn(E), E;
|
|
1980
1980
|
})(), Oe(T, m.value, l.value);
|
|
@@ -1983,8 +1983,8 @@ function ms(e = {}) {
|
|
|
1983
1983
|
m.value,
|
|
1984
1984
|
l.value,
|
|
1985
1985
|
g.value,
|
|
1986
|
-
|
|
1987
|
-
|
|
1986
|
+
R.value,
|
|
1987
|
+
b.value
|
|
1988
1988
|
];
|
|
1989
1989
|
}
|
|
1990
1990
|
const $ = Ie({
|
|
@@ -1997,7 +1997,7 @@ function ms(e = {}) {
|
|
|
1997
1997
|
set: (u) => {
|
|
1998
1998
|
l.value = u, T.fallbackLocale = l.value, Oe(T, m.value, u);
|
|
1999
1999
|
}
|
|
2000
|
-
}), Y = Ie(() => g.value), _e = /* @__PURE__ */ Ie(() =>
|
|
2000
|
+
}), Y = Ie(() => g.value), _e = /* @__PURE__ */ Ie(() => R.value), Ge = /* @__PURE__ */ Ie(() => b.value);
|
|
2001
2001
|
function we() {
|
|
2002
2002
|
return H(f) ? f : null;
|
|
2003
2003
|
}
|
|
@@ -2005,10 +2005,10 @@ function ms(e = {}) {
|
|
|
2005
2005
|
f = u, T.postTranslation = u;
|
|
2006
2006
|
}
|
|
2007
2007
|
function Ve() {
|
|
2008
|
-
return
|
|
2008
|
+
return A;
|
|
2009
2009
|
}
|
|
2010
2010
|
function We(u) {
|
|
2011
|
-
u !== null && (i = Jn(u)),
|
|
2011
|
+
u !== null && (i = Jn(u)), A = u, T.missing = i;
|
|
2012
2012
|
}
|
|
2013
2013
|
const z = (u, E, F, V, oe, ve) => {
|
|
2014
2014
|
w();
|
|
@@ -2020,31 +2020,31 @@ function ms(e = {}) {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
if (F !== "translate exists" && // for not `te` (e.g `t`)
|
|
2022
2022
|
K(me) && me === He || F === "translate exists" && !me) {
|
|
2023
|
-
const [
|
|
2024
|
-
return n && D ? V(n) : oe(
|
|
2023
|
+
const [pt, ks] = E();
|
|
2024
|
+
return n && D ? V(n) : oe(pt);
|
|
2025
2025
|
} else {
|
|
2026
2026
|
if (ve(me))
|
|
2027
2027
|
return me;
|
|
2028
|
-
throw
|
|
2028
|
+
throw be(Ee.UNEXPECTED_RETURN_TYPE);
|
|
2029
2029
|
}
|
|
2030
2030
|
};
|
|
2031
|
-
function
|
|
2032
|
-
return z((E) => Reflect.apply(Yn, null, [E, ...u]), () => on(...u), "translate", (E) => Reflect.apply(E.t, E, [...u]), (E) => E, (E) =>
|
|
2031
|
+
function Re(...u) {
|
|
2032
|
+
return z((E) => Reflect.apply(Yn, null, [E, ...u]), () => on(...u), "translate", (E) => Reflect.apply(E.t, E, [...u]), (E) => E, (E) => h(E));
|
|
2033
2033
|
}
|
|
2034
|
-
function
|
|
2034
|
+
function Ae(...u) {
|
|
2035
2035
|
const [E, F, V] = u;
|
|
2036
2036
|
if (V && !y(V))
|
|
2037
|
-
throw
|
|
2038
|
-
return
|
|
2037
|
+
throw be(Ee.INVALID_ARGUMENT);
|
|
2038
|
+
return Re(E, F, j({ resolvedMessage: !0 }, V || {}));
|
|
2039
2039
|
}
|
|
2040
2040
|
function xe(...u) {
|
|
2041
|
-
return z((E) => Reflect.apply(Gn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => Reflect.apply(E.d, E, [...u]), () => Un, (E) =>
|
|
2041
|
+
return z((E) => Reflect.apply(Gn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => Reflect.apply(E.d, E, [...u]), () => Un, (E) => h(E));
|
|
2042
2042
|
}
|
|
2043
2043
|
function Ye(...u) {
|
|
2044
|
-
return z((E) => Reflect.apply(Bn, null, [E, ...u]), () => an(...u), "number format", (E) => Reflect.apply(E.n, E, [...u]), () => Un, (E) =>
|
|
2044
|
+
return z((E) => Reflect.apply(Bn, null, [E, ...u]), () => an(...u), "number format", (E) => Reflect.apply(E.n, E, [...u]), () => Un, (E) => h(E));
|
|
2045
2045
|
}
|
|
2046
2046
|
function Ke(u) {
|
|
2047
|
-
return u.map((E) =>
|
|
2047
|
+
return u.map((E) => h(E) || K(E) || W(E) ? Kn(String(E)) : E);
|
|
2048
2048
|
}
|
|
2049
2049
|
const je = {
|
|
2050
2050
|
normalize: Ke,
|
|
@@ -2064,10 +2064,10 @@ function ms(e = {}) {
|
|
|
2064
2064
|
}, () => on(...u), "translate", (E) => E[cn](...u), (E) => [Kn(E)], (E) => x(E));
|
|
2065
2065
|
}
|
|
2066
2066
|
function Le(...u) {
|
|
2067
|
-
return z((E) => Reflect.apply(Bn, null, [E, ...u]), () => an(...u), "number format", (E) => E[ln](...u), Xn, (E) =>
|
|
2067
|
+
return z((E) => Reflect.apply(Bn, null, [E, ...u]), () => an(...u), "number format", (E) => E[ln](...u), Xn, (E) => h(E) || x(E));
|
|
2068
2068
|
}
|
|
2069
2069
|
function $e(...u) {
|
|
2070
|
-
return z((E) => Reflect.apply(Gn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => E[_n](...u), Xn, (E) =>
|
|
2070
|
+
return z((E) => Reflect.apply(Gn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => E[_n](...u), Xn, (E) => h(E) || x(E));
|
|
2071
2071
|
}
|
|
2072
2072
|
function Je(u) {
|
|
2073
2073
|
N = u, T.pluralRules = N;
|
|
@@ -2076,8 +2076,8 @@ function ms(e = {}) {
|
|
|
2076
2076
|
return z(() => {
|
|
2077
2077
|
if (!u)
|
|
2078
2078
|
return !1;
|
|
2079
|
-
const F =
|
|
2080
|
-
return fe(oe) || J(oe) ||
|
|
2079
|
+
const F = h(E) ? E : m.value, V = le(F), oe = T.messageResolver(V, u);
|
|
2080
|
+
return fe(oe) || J(oe) || h(oe);
|
|
2081
2081
|
}, () => [u], "translate exists", (F) => Reflect.apply(F.te, F, [u, E]), ls, (F) => W(F));
|
|
2082
2082
|
}
|
|
2083
2083
|
function Qe(u) {
|
|
@@ -2103,7 +2103,7 @@ function ms(e = {}) {
|
|
|
2103
2103
|
if (c) {
|
|
2104
2104
|
const F = { [u]: E };
|
|
2105
2105
|
for (const V in F)
|
|
2106
|
-
Q(F, V) &&
|
|
2106
|
+
Q(F, V) && he(F[V]);
|
|
2107
2107
|
E = F[u];
|
|
2108
2108
|
}
|
|
2109
2109
|
g.value[u] = E, T.messages = g.value;
|
|
@@ -2113,30 +2113,30 @@ function ms(e = {}) {
|
|
|
2113
2113
|
const F = { [u]: E };
|
|
2114
2114
|
if (c)
|
|
2115
2115
|
for (const V in F)
|
|
2116
|
-
Q(F, V) &&
|
|
2116
|
+
Q(F, V) && he(F[V]);
|
|
2117
2117
|
E = F[u], Pe(E, g.value[u]), T.messages = g.value;
|
|
2118
2118
|
}
|
|
2119
2119
|
function Ze(u) {
|
|
2120
|
-
return
|
|
2120
|
+
return R.value[u] || {};
|
|
2121
2121
|
}
|
|
2122
2122
|
function s(u, E) {
|
|
2123
|
-
|
|
2123
|
+
R.value[u] = E, T.datetimeFormats = R.value, wn(T, u, E);
|
|
2124
2124
|
}
|
|
2125
2125
|
function a(u, E) {
|
|
2126
|
-
|
|
2126
|
+
R.value[u] = j(R.value[u] || {}, E), T.datetimeFormats = R.value, wn(T, u, E);
|
|
2127
2127
|
}
|
|
2128
|
-
function
|
|
2129
|
-
return
|
|
2128
|
+
function p(u) {
|
|
2129
|
+
return b.value[u] || {};
|
|
2130
2130
|
}
|
|
2131
2131
|
function L(u, E) {
|
|
2132
|
-
|
|
2132
|
+
b.value[u] = E, T.numberFormats = b.value, Vn(T, u, E);
|
|
2133
2133
|
}
|
|
2134
2134
|
function B(u, E) {
|
|
2135
|
-
|
|
2135
|
+
b.value[u] = j(b.value[u] || {}, E), T.numberFormats = b.value, Vn(T, u, E);
|
|
2136
2136
|
}
|
|
2137
|
-
$n++, n &&
|
|
2137
|
+
$n++, n && hn && (bn(n.locale, (u) => {
|
|
2138
2138
|
_ && (m.value = u, T.locale = u, Oe(T, m.value, l.value));
|
|
2139
|
-
}),
|
|
2139
|
+
}), bn(n.fallbackLocale, (u) => {
|
|
2140
2140
|
_ && (l.value = u, T.fallbackLocale = u, Oe(T, m.value, l.value));
|
|
2141
2141
|
}));
|
|
2142
2142
|
const C = {
|
|
@@ -2193,12 +2193,12 @@ function ms(e = {}) {
|
|
|
2193
2193
|
I = u, T.warnHtmlMessage = u;
|
|
2194
2194
|
},
|
|
2195
2195
|
get escapeParameter() {
|
|
2196
|
-
return
|
|
2196
|
+
return d;
|
|
2197
2197
|
},
|
|
2198
2198
|
set escapeParameter(u) {
|
|
2199
|
-
|
|
2199
|
+
d = u, T.escapeParameter = u;
|
|
2200
2200
|
},
|
|
2201
|
-
t:
|
|
2201
|
+
t: Re,
|
|
2202
2202
|
getLocaleMessage: le,
|
|
2203
2203
|
setLocaleMessage: ue,
|
|
2204
2204
|
mergeLocaleMessage: Te,
|
|
@@ -2208,7 +2208,7 @@ function ms(e = {}) {
|
|
|
2208
2208
|
setMissingHandler: We,
|
|
2209
2209
|
[is]: Je
|
|
2210
2210
|
};
|
|
2211
|
-
return C.datetimeFormats = _e, C.numberFormats = Ge, C.rt =
|
|
2211
|
+
return C.datetimeFormats = _e, C.numberFormats = Ge, C.rt = Ae, 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 = L, C.mergeNumberFormat = B, C[_t] = t, C[cn] = Xe, C[_n] = $e, C[ln] = Le, C;
|
|
2212
2212
|
}
|
|
2213
2213
|
const On = {
|
|
2214
2214
|
tag: {
|
|
@@ -2228,7 +2228,7 @@ const On = {
|
|
|
2228
2228
|
type: Object
|
|
2229
2229
|
}
|
|
2230
2230
|
};
|
|
2231
|
-
function
|
|
2231
|
+
function ds({ slots: e }, n) {
|
|
2232
2232
|
return n.length === 1 && n[0] === "default" ? (e.default ? e.default() : []).reduce((r, c) => [
|
|
2233
2233
|
...r,
|
|
2234
2234
|
// prettier-ignore
|
|
@@ -2251,23 +2251,23 @@ j({
|
|
|
2251
2251
|
validator: (e) => K(e) || !isNaN(e)
|
|
2252
2252
|
}
|
|
2253
2253
|
}, On);
|
|
2254
|
-
function
|
|
2255
|
-
return x(e) && !
|
|
2254
|
+
function ps(e) {
|
|
2255
|
+
return x(e) && !h(e[0]);
|
|
2256
2256
|
}
|
|
2257
|
-
function
|
|
2257
|
+
function dt(e, n, t, r) {
|
|
2258
2258
|
const { slots: c, attrs: o } = n;
|
|
2259
2259
|
return () => {
|
|
2260
2260
|
const _ = { part: !0 };
|
|
2261
2261
|
let m = M();
|
|
2262
|
-
e.locale && (_.locale = e.locale),
|
|
2262
|
+
e.locale && (_.locale = e.locale), h(e.format) ? _.key = e.format : y(e.format) && (h(e.format.key) && (_.key = e.format.key), m = Object.keys(e.format).reduce((O, v) => t.includes(v) ? j(M(), O, { [v]: e.format[v] }) : O, M()));
|
|
2263
2263
|
const l = r(e.value, _, m);
|
|
2264
2264
|
let g = [_.key];
|
|
2265
2265
|
x(l) ? g = l.map((O, v) => {
|
|
2266
2266
|
const D = c[O.type], S = D ? D({ [O.type]: O.value, index: v, parts: l }) : [O.value];
|
|
2267
|
-
return
|
|
2268
|
-
}) :
|
|
2269
|
-
const
|
|
2270
|
-
return qn(
|
|
2267
|
+
return ps(S) && (S[0].key = `${O.type}-${v}`), S;
|
|
2268
|
+
}) : h(l) && (g = [l]);
|
|
2269
|
+
const R = j(M(), o), b = h(e.tag) || y(e.tag) ? e.tag : mt();
|
|
2270
|
+
return qn(b, R, g);
|
|
2271
2271
|
};
|
|
2272
2272
|
}
|
|
2273
2273
|
j({
|
|
@@ -2290,11 +2290,11 @@ j({
|
|
|
2290
2290
|
}, On);
|
|
2291
2291
|
const fs = /* @__PURE__ */ ie("global-vue-i18n");
|
|
2292
2292
|
function Nn(e = {}) {
|
|
2293
|
-
const n =
|
|
2293
|
+
const n = dn();
|
|
2294
2294
|
if (n == null)
|
|
2295
|
-
throw
|
|
2295
|
+
throw be(Ee.MUST_BE_CALL_SETUP_TOP);
|
|
2296
2296
|
if (!n.isCE && n.appContext.app != null && !n.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2297
|
-
throw
|
|
2297
|
+
throw be(Ee.NOT_INSTALLED);
|
|
2298
2298
|
const t = Es(n), r = Ts(t), c = ut(n), o = gs(e, c);
|
|
2299
2299
|
if (o === "global")
|
|
2300
2300
|
return _s(r, e, c), r;
|
|
@@ -2313,7 +2313,7 @@ function Nn(e = {}) {
|
|
|
2313
2313
|
function Es(e) {
|
|
2314
2314
|
const n = ft(e.isCE ? fs : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2315
2315
|
if (!n)
|
|
2316
|
-
throw
|
|
2316
|
+
throw be(e.isCE ? Ee.NOT_INSTALLED_WITH_PROVIDE : Ee.UNEXPECTED_ERROR);
|
|
2317
2317
|
return n;
|
|
2318
2318
|
}
|
|
2319
2319
|
function gs(e, n) {
|