@feedmepos/mf-connect 0.1.97-prod → 0.1.98-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-DHAyGCKP.js → App-EPNXLOQz.js} +118 -106
- package/dist/AuditLogs-CadZXkap.js +2013 -0
- package/dist/{Bin-BxyU2xtK.js → Bin-CEWFX1MK.js} +8 -8
- package/dist/{Broadcast-BJjehb02.js → Broadcast-DC8W46mc.js} +18 -17
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BCxP8rEW.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DsojUEnT.js} +5 -6
- package/dist/{Card-BYDuADCn.js → Card-BLFHOVL5.js} +19 -19
- package/dist/{Collections-BlPEkNm8.js → Collections-CVQV9gAI.js} +197 -185
- package/dist/{Credit-D9Eqxv2E.js → Credit-Bvd1uiUU.js} +18 -17
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js +58 -0
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DMHQ36PW.js +3377 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-hpNgkLOt.js → EffectSheet.vue_vue_type_style_index_0_lang-L8fftBYg.js} +6 -6
- package/dist/{Experience-DGumSpYK.js → Experience-bKhm3DP2.js} +35 -34
- package/dist/{FileSaver.min-D_TpPHp3.js → FileSaver.min-CgnAdnBE.js} +1 -1
- package/dist/{Game-DDsYLdKu.js → Game-BTZ5Ftp5.js} +16 -15
- package/dist/Grab-DMuSoVGl.js +300 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-R00i7YNe.js → ImageInput.vue_vue_type_script_setup_true_lang-hMmCNoZI.js} +1 -1
- package/dist/{Index-DwRbFOsj.js → Index-BNh-_EZa.js} +10 -10
- package/dist/LocationPicker.vue_vue_type_script_setup_true_lang-COoygUYu.js +48 -0
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-D_HOJBzW.js → LottieAnimation.vue_vue_type_script_setup_true_lang-D0wKkrBj.js} +1 -1
- package/dist/LoyaltyDashboard-Do06Mjzo.js +1082 -0
- package/dist/{MainLayout-BEUAguIP.js → MainLayout-C_Zu8e2b.js} +1 -1
- package/dist/{Marketing-WdhEZvmz.js → Marketing-DHTow_lX.js} +4 -4
- package/dist/{MarketingMaterialEdit-DUIkUA79.js → MarketingMaterialEdit-BZqVEaXl.js} +214 -211
- package/dist/{Member-jL3RMGsZ.js → Member-DNQICbO9.js} +20 -20
- package/dist/{MemberList-B1bdPK63.js → MemberList-B5f-zT_3.js} +50 -51
- package/dist/{MemberTransactions-BNKJ0wtr.js → MemberTransactions-BmmgHC1I.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Cvsz00_4.js → MessageInput.vue_vue_type_script_setup_true_lang-DhlFz8So.js} +11 -11
- package/dist/{Mission-CoXzS7U6.js → Mission-CyUldhj4.js} +35 -34
- package/dist/{Overview-B16wZUSV.js → Overview-If_YcRY8.js} +19 -19
- package/dist/{Point-CORBv0y2.js → Point-DXgR4D2b.js} +30 -29
- package/dist/{Promotion-DQ4WnFkH.js → Promotion-8KrS5PGT.js} +111 -105
- package/dist/{Queue-BW97QEY2.js → Queue-ypegp0sQ.js} +43 -43
- package/dist/{Record-DZOhwf13.js → Record-C1eVdBIL.js} +10 -10
- package/dist/Review-fsYAsdHU.js +871 -0
- package/dist/ReviewFacebookCallback-zNKnoxr_.js +243 -0
- package/dist/ReviewGoogleCallback-CpCT0ZYL.js +213 -0
- package/dist/{Reward-Bi9mpuyH.js → Reward-B_k-VLJn.js} +17 -17
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Dtosx1wE.js → RewardGroup.vue_vue_type_script_setup_true_lang-BUl5B7lH.js} +12 -12
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-D93zAujE.js +1911 -0
- package/dist/{Segment-COhS8SPv.js → Segment-PJLbJ6YE.js} +77 -78
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-By_BQodK.js → SelectItems.vue_vue_type_script_setup_true_lang-BLwf6QCO.js} +3 -3
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-BoEnwoYd.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-VoddUHxA.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DonadRJT.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DOXfYdxf.js} +4 -4
- package/dist/{Setting-BNtYrzdN.js → Setting-DItVUJHA.js} +259 -248
- package/dist/{SettingAdvertisements-Cne8GikV.js → SettingAdvertisements-Bfvr60OW.js} +13 -13
- package/dist/{Store-iTgtmUVL.js → Store-hyTJyNWv.js} +24 -24
- package/dist/{StoreRewards-DLawXBsl.js → StoreRewards-B7c20AF5.js} +16 -16
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Bl438tVa.js +1130 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DBb3Zfuz.js +7007 -0
- package/dist/{Tier-BbZMbFSd.js → Tier-CuulnY8J.js} +544 -469
- package/dist/{Title-Co5XWIJm.js → Title-Bf9ZiFGW.js} +93 -92
- package/dist/{Transaction-CoUbt5rr.js → Transaction-reVAaf86.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CzJpNT94.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BZP9jfwG.js} +6 -6
- package/dist/{Voucher-CXojttH0.js → Voucher-E8R2cCl-.js} +28 -27
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-Bxkds9_4.js → VoucherEditor.vue_vue_type_script_setup_true_lang-1mclPYkp.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CHVqFzLm.js → ZodTextField.vue_vue_type_script_setup_true_lang-xP5smS4G.js} +2 -2
- package/dist/{app-_LtKE4PZ.js → app-BdRRCAGj.js} +3524 -3049
- package/dist/app.js +4 -3
- package/dist/{business-CchrWCX9.js → business-caUtvXxX.js} +1 -1
- package/dist/{campaign-D2RzC0L1.js → campaign-CDFEhdIH.js} +13 -7
- package/dist/{campaign-N2x2N6OP.js → campaign-CPtzFxiR.js} +114 -64
- package/dist/{campaign.enum-DqJsu1At.js → campaign.enum-p1buII_I.js} +3 -2
- package/dist/campaign.fn-DerIK7yj.js +776 -0
- package/dist/{collectible.enum-CHheiKkA.js → collectible.enum-CJ30_XmW.js} +1 -1
- package/dist/duplicateCampaign-DLfhHm07.js +51 -0
- package/dist/{effect-DADvE7lZ.js → effect-BJC34M9S.js} +1 -1
- package/dist/{email-addresses-DzUHQuVs.js → email-addresses-D1aYCi0p.js} +2 -2
- package/dist/{export-uzECYleM.js → export-ChFEuUc5.js} +3 -3
- package/dist/{helper-DMsYRFIM.js → helper-BNWd3eM2.js} +1 -1
- package/dist/{timezone-B_KZGqyd.js → index-0SZADZbB.js} +21 -20
- package/dist/{index-C2h4SP0A.js → index-6ZSFSZ-H.js} +769 -205
- package/dist/index-B4dazSVT.js +48 -0
- package/dist/{index-B9RmImNP.js → index-B9xvXnEM.js} +3 -3
- package/dist/{index-KYtKBtvK.js → index-BWQK3rqq.js} +3 -3
- package/dist/{index-DXl_Qtu-.js → index-BoeHTTcl.js} +1 -1
- package/dist/{index-Bc-pgOn6.js → index-Br17eSOV.js} +1 -1
- package/dist/{index-DQ6H1MEw.js → index-CAVSuo6k.js} +1996 -1968
- package/dist/{index-Ct1Qf7kH.js → index-CIin0Pv0.js} +1 -1
- package/dist/{index-r8TuEpzi.js → index-CeSEAz_T.js} +1 -1
- package/dist/{index-CrPHsZg1.js → index-DNsYSxpY.js} +1539 -1267
- package/dist/index-Dcn4qaYt.js +67 -0
- package/dist/{index-XJX8_Wlh.js → index-Do2cnzep.js} +1 -1
- package/dist/{index-CEVpWmjC.js → index-Dp3CLZSg.js} +7 -7
- package/dist/{index.esm2017-D9jjiQqn.js → index.esm2017-CYGo-PcK.js} +173 -173
- package/dist/{loading-DK8UdxtS.js → loading-DtPQnEA5.js} +1 -1
- package/dist/{lodash-CgcQgDO8.js → lodash-BvTKz5Pn.js} +1 -1
- package/dist/{membership-Cs4GzRnn.js → membership-Csnvqeql.js} +3 -3
- package/dist/{money-TgbWserQ.js → money-CwRxILG1.js} +1 -1
- package/dist/{number-fLCh4B45.js → number-qcECHCpu.js} +1 -1
- package/dist/object-BYyQ0PZp.js +18 -0
- package/dist/objectid-BKWyHH4F.js +145 -0
- package/dist/{plugins-DYcrIMpx.js → plugins-BBpKk0ld.js} +94 -95
- package/dist/{reward-uQ8Oz8Fd.js → reward-CX1axU5-.js} +1 -1
- package/dist/{rule-BcbgF0xS.js → rule-pKsATz8r.js} +505 -487
- package/dist/style.css +1 -1
- package/dist/template-BSuapoPb.js +188 -0
- package/dist/{trigger-c-_77EFL.js → trigger-DnMktlx-.js} +5 -5
- package/dist/{useMarketingMaterialActions-BCqwGe4e.js → useMarketingMaterialActions-Bu0-ny3z.js} +3 -3
- package/dist/{usePagination-C3cT5BmC.js → usePagination-CzfJhepV.js} +1 -1
- package/dist/{user-CRIo5MyA.js → user-BLDWqYm_.js} +1 -1
- package/dist/{vue-i18n-BU_SuDqj.js → vue-i18n-bssxjuw_.js} +424 -424
- package/dist/{xlsx-Bw1AshOG.js → xlsx-xNwsJDub.js} +166 -166
- package/dist/{zod-CzlTW8Al.js → zod-Cu18aMVT.js} +1 -1
- package/package.json +8 -4
- package/dist/Analytic-Ccb5IKBy.js +0 -426
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-Bf8Rc-Eh.js +0 -2223
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CrvTdEPu.js +0 -1888
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Cl8JEYjx.js +0 -1118
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DEEz7iEu.js +0 -142
- package/dist/campaign.fn-Da4r_dvc.js +0 -776
- package/dist/collection.fn-BqDPyvUe.js +0 -26
- package/dist/dto-CstKk_3g.js +0 -216
- package/dist/index-_KlH62Ed.js +0 -55
- package/dist/object-qECH92oz.js +0 -26
- package/dist/objectid-CVxLIQ5K.js +0 -145
- package/dist/rule-builder-CIkRKgap.js +0 -102
- package/dist/template-wZEVj8lZ.js +0 -236
|
@@ -1,19 +1,52 @@
|
|
|
1
|
-
import { u as fe, v as ge, x as Ee, w as Ie, y as Fe } from "./index.esm2017-
|
|
1
|
+
import { u as fe, v as ge, x as Ee, w as Ie, y as Fe } from "./index.esm2017-CYGo-PcK.js";
|
|
2
2
|
import { u as oe } from "./app-wDQR6dpb.js";
|
|
3
|
-
import { e as Ae, Z as O, b as de, i as ke, z as De } from "./app-
|
|
3
|
+
import { e as Ae, Z as O, b as de, i as ke, z as De } from "./app-BdRRCAGj.js";
|
|
4
4
|
import { detectLocale as Te, createFeedMeI18n as Ke } from "@feedmepos/mf-common";
|
|
5
|
-
import { S as k } from "./index-
|
|
5
|
+
import { S as k } from "./index-Dp3CLZSg.js";
|
|
6
|
+
var b = [];
|
|
7
|
+
for (var ee = 0; ee < 256; ++ee)
|
|
8
|
+
b.push((ee + 256).toString(16).slice(1));
|
|
9
|
+
function Me(n, e = 0) {
|
|
10
|
+
return (b[n[e + 0]] + b[n[e + 1]] + b[n[e + 2]] + b[n[e + 3]] + "-" + b[n[e + 4]] + b[n[e + 5]] + "-" + b[n[e + 6]] + b[n[e + 7]] + "-" + b[n[e + 8]] + b[n[e + 9]] + "-" + b[n[e + 10]] + b[n[e + 11]] + b[n[e + 12]] + b[n[e + 13]] + b[n[e + 14]] + b[n[e + 15]]).toLowerCase();
|
|
11
|
+
}
|
|
12
|
+
var _, Ue = new Uint8Array(16);
|
|
13
|
+
function He() {
|
|
14
|
+
if (!_ && (_ = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !_))
|
|
15
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
16
|
+
return _(Ue);
|
|
17
|
+
}
|
|
18
|
+
var te, W, se = 0, ie = 0;
|
|
19
|
+
function Be(n, e, t) {
|
|
20
|
+
var s = e && t || 0, i = e || new Array(16);
|
|
21
|
+
n = n || {};
|
|
22
|
+
var r = n.node, a = n.clockseq;
|
|
23
|
+
if (n._v6 || (r || (r = te), a == null && (a = W)), r == null || a == null) {
|
|
24
|
+
var o = n.random || (n.rng || He)();
|
|
25
|
+
r == null && (r = [o[0], o[1], o[2], o[3], o[4], o[5]], !te && !n._v6 && (r[0] |= 1, te = r)), a == null && (a = (o[6] << 8 | o[7]) & 16383, W === void 0 && !n._v6 && (W = a));
|
|
26
|
+
}
|
|
27
|
+
var l = n.msecs !== void 0 ? n.msecs : Date.now(), u = n.nsecs !== void 0 ? n.nsecs : ie + 1, h = l - se + (u - ie) / 1e4;
|
|
28
|
+
if (h < 0 && n.clockseq === void 0 && (a = a + 1 & 16383), (h < 0 || l > se) && n.nsecs === void 0 && (u = 0), u >= 1e4)
|
|
29
|
+
throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
|
|
30
|
+
se = l, ie = u, W = a, l += 122192928e5;
|
|
31
|
+
var f = ((l & 268435455) * 1e4 + u) % 4294967296;
|
|
32
|
+
i[s++] = f >>> 24 & 255, i[s++] = f >>> 16 & 255, i[s++] = f >>> 8 & 255, i[s++] = f & 255;
|
|
33
|
+
var c = l / 4294967296 * 1e4 & 268435455;
|
|
34
|
+
i[s++] = c >>> 8 & 255, i[s++] = c & 255, i[s++] = c >>> 24 & 15 | 16, i[s++] = c >>> 16 & 255, i[s++] = a >>> 8 | 128, i[s++] = a & 255;
|
|
35
|
+
for (var p = 0; p < 6; ++p)
|
|
36
|
+
i[s + p] = r[p];
|
|
37
|
+
return e || Me(i);
|
|
38
|
+
}
|
|
6
39
|
const d = (n) => typeof n == "string", H = () => {
|
|
7
40
|
let n, e;
|
|
8
41
|
const t = new Promise((s, i) => {
|
|
9
42
|
n = s, e = i;
|
|
10
43
|
});
|
|
11
44
|
return t.resolve = n, t.reject = e, t;
|
|
12
|
-
}, pe = (n) => n == null ? "" : "" + n,
|
|
45
|
+
}, pe = (n) => n == null ? "" : "" + n, ze = (n, e, t) => {
|
|
13
46
|
n.forEach((s) => {
|
|
14
47
|
e[s] && (t[s] = e[s]);
|
|
15
48
|
});
|
|
16
|
-
},
|
|
49
|
+
}, Je = /###/g, me = (n) => n && n.indexOf("###") > -1 ? n.replace(Je, ".") : n, ve = (n) => !n || d(n), B = (n, e, t) => {
|
|
17
50
|
const s = d(e) ? e.split(".") : e;
|
|
18
51
|
let i = 0;
|
|
19
52
|
for (; i < s.length - 1; ) {
|
|
@@ -38,7 +71,7 @@ const d = (n) => typeof n == "string", H = () => {
|
|
|
38
71
|
for (; o.obj === void 0 && a.length; )
|
|
39
72
|
r = `${a[a.length - 1]}.${r}`, a = a.slice(0, a.length - 1), o = B(n, a, Object), o != null && o.obj && typeof o.obj[`${o.k}.${r}`] < "u" && (o.obj = void 0);
|
|
40
73
|
o.obj[`${o.k}.${r}`] = t;
|
|
41
|
-
},
|
|
74
|
+
}, _e = (n, e, t, s) => {
|
|
42
75
|
const {
|
|
43
76
|
obj: i,
|
|
44
77
|
k: r
|
|
@@ -51,7 +84,7 @@ const d = (n) => typeof n == "string", H = () => {
|
|
|
51
84
|
} = B(n, e);
|
|
52
85
|
if (t && Object.prototype.hasOwnProperty.call(t, s))
|
|
53
86
|
return t[s];
|
|
54
|
-
},
|
|
87
|
+
}, We = (n, e, t) => {
|
|
55
88
|
const s = Y(n, t);
|
|
56
89
|
return s !== void 0 ? s : Y(e, t);
|
|
57
90
|
}, Ne = (n, e, t) => {
|
|
@@ -59,7 +92,7 @@ const d = (n) => typeof n == "string", H = () => {
|
|
|
59
92
|
s !== "__proto__" && s !== "constructor" && (s in n ? d(n[s]) || n[s] instanceof String || d(e[s]) || e[s] instanceof String ? t && (n[s] = e[s]) : Ne(n[s], e[s], t) : n[s] = e[s]);
|
|
60
93
|
return n;
|
|
61
94
|
}, F = (n) => n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
62
|
-
var
|
|
95
|
+
var Ze = {
|
|
63
96
|
"&": "&",
|
|
64
97
|
"<": "<",
|
|
65
98
|
">": ">",
|
|
@@ -67,8 +100,8 @@ var ze = {
|
|
|
67
100
|
"'": "'",
|
|
68
101
|
"/": "/"
|
|
69
102
|
};
|
|
70
|
-
const
|
|
71
|
-
class
|
|
103
|
+
const Ye = (n) => d(n) ? n.replace(/[&<>"'\/]/g, (e) => Ze[e]) : n;
|
|
104
|
+
class Qe {
|
|
72
105
|
constructor(e) {
|
|
73
106
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
74
107
|
}
|
|
@@ -80,11 +113,11 @@ class _e {
|
|
|
80
113
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
81
114
|
}
|
|
82
115
|
}
|
|
83
|
-
const
|
|
116
|
+
const Ge = [" ", ",", "?", "!", ";"], qe = new Qe(20), Xe = (n, e, t) => {
|
|
84
117
|
e = e || "", t = t || "";
|
|
85
|
-
const s =
|
|
118
|
+
const s = Ge.filter((a) => e.indexOf(a) < 0 && t.indexOf(a) < 0);
|
|
86
119
|
if (s.length === 0) return !0;
|
|
87
|
-
const i =
|
|
120
|
+
const i = qe.getRegExp(`(${s.map((a) => a === "?" ? "\\?" : a).join("|")})`);
|
|
88
121
|
let r = !i.test(n);
|
|
89
122
|
if (!r) {
|
|
90
123
|
const a = n.indexOf(t);
|
|
@@ -112,7 +145,7 @@ const We = [" ", ",", "?", "!", ";"], Ze = new _e(20), Ye = (n, e, t) => {
|
|
|
112
145
|
i = a;
|
|
113
146
|
}
|
|
114
147
|
return i;
|
|
115
|
-
}, Q = (n) => n == null ? void 0 : n.replace("_", "-"),
|
|
148
|
+
}, Q = (n) => n == null ? void 0 : n.replace("_", "-"), et = {
|
|
116
149
|
type: "logger",
|
|
117
150
|
log(n) {
|
|
118
151
|
this.output("log", n);
|
|
@@ -135,7 +168,7 @@ class G {
|
|
|
135
168
|
}
|
|
136
169
|
init(e) {
|
|
137
170
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
138
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
171
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || et, this.options = t, this.debug = t.debug;
|
|
139
172
|
}
|
|
140
173
|
log() {
|
|
141
174
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -295,7 +328,7 @@ const be = {};
|
|
|
295
328
|
class q extends X {
|
|
296
329
|
constructor(e) {
|
|
297
330
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
298
|
-
super(),
|
|
331
|
+
super(), ze(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = P.create("translator");
|
|
299
332
|
}
|
|
300
333
|
changeLanguage(e) {
|
|
301
334
|
e && (this.language = e);
|
|
@@ -314,7 +347,7 @@ class q extends X {
|
|
|
314
347
|
s === void 0 && (s = ":");
|
|
315
348
|
const i = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
316
349
|
let r = t.ns || this.options.defaultNS || [];
|
|
317
|
-
const a = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
350
|
+
const a = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Xe(e, s, i);
|
|
318
351
|
if (a && !o) {
|
|
319
352
|
const l = e.match(this.interpolator.nestingRegexp);
|
|
320
353
|
if (l && l.length > 0)
|
|
@@ -618,7 +651,7 @@ const Oe = {
|
|
|
618
651
|
pluralCategories: ["one", "other"]
|
|
619
652
|
})
|
|
620
653
|
};
|
|
621
|
-
class
|
|
654
|
+
class tt {
|
|
622
655
|
constructor(e) {
|
|
623
656
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
624
657
|
this.languageUtils = e, this.options = t, this.logger = P.create("pluralResolver"), this.pluralRulesCache = {};
|
|
@@ -670,10 +703,10 @@ class Ge {
|
|
|
670
703
|
}
|
|
671
704
|
}
|
|
672
705
|
const we = function(n, e, t) {
|
|
673
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, r =
|
|
706
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, r = We(n, e, t);
|
|
674
707
|
return !r && i && d(t) && (r = ae(n, t, s), r === void 0 && (r = ae(e, t, s))), r;
|
|
675
|
-
},
|
|
676
|
-
class
|
|
708
|
+
}, re = (n) => n.replace(/\$/g, "$$$$");
|
|
709
|
+
class st {
|
|
677
710
|
constructor() {
|
|
678
711
|
var t;
|
|
679
712
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -703,7 +736,7 @@ class qe {
|
|
|
703
736
|
maxReplaces: w,
|
|
704
737
|
alwaysFormat: C
|
|
705
738
|
} = e.interpolation;
|
|
706
|
-
this.escape = t !== void 0 ? t :
|
|
739
|
+
this.escape = t !== void 0 ? t : Ye, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = r ? F(r) : a || "{{", this.suffix = o ? F(o) : l || "}}", this.formatSeparator = u || ",", this.unescapePrefix = h ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : h || "", this.nestingPrefix = c ? F(c) : p || F("$t("), this.nestingSuffix = g ? F(g) : m || F(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = C !== void 0 ? C : !1, this.resetRegExp();
|
|
707
740
|
}
|
|
708
741
|
reset() {
|
|
709
742
|
this.options && this.init(this.options);
|
|
@@ -735,10 +768,10 @@ class qe {
|
|
|
735
768
|
const h = (i == null ? void 0 : i.missingInterpolationHandler) || this.options.missingInterpolationHandler, f = ((p = i == null ? void 0 : i.interpolation) == null ? void 0 : p.skipOnVariables) !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
736
769
|
return [{
|
|
737
770
|
regex: this.regexpUnescape,
|
|
738
|
-
safeValue: (g) =>
|
|
771
|
+
safeValue: (g) => re(g)
|
|
739
772
|
}, {
|
|
740
773
|
regex: this.regexp,
|
|
741
|
-
safeValue: (g) => this.escapeValue ?
|
|
774
|
+
safeValue: (g) => this.escapeValue ? re(this.escape(g)) : re(g)
|
|
742
775
|
}].forEach((g) => {
|
|
743
776
|
for (o = 0; r = g.regex.exec(e); ) {
|
|
744
777
|
const m = r[1].trim();
|
|
@@ -799,7 +832,7 @@ class qe {
|
|
|
799
832
|
return e;
|
|
800
833
|
}
|
|
801
834
|
}
|
|
802
|
-
const
|
|
835
|
+
const it = (n) => {
|
|
803
836
|
let e = n.toLowerCase().trim();
|
|
804
837
|
const t = {};
|
|
805
838
|
if (n.indexOf("(") > -1) {
|
|
@@ -830,7 +863,7 @@ const Xe = (n) => {
|
|
|
830
863
|
return o || (o = n(Q(s), i), e[a] = o), o(t);
|
|
831
864
|
};
|
|
832
865
|
};
|
|
833
|
-
class
|
|
866
|
+
class rt {
|
|
834
867
|
constructor() {
|
|
835
868
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
836
869
|
this.logger = P.create("formatter"), this.options = e, this.formats = {
|
|
@@ -891,7 +924,7 @@ class et {
|
|
|
891
924
|
const {
|
|
892
925
|
formatName: u,
|
|
893
926
|
formatOptions: h
|
|
894
|
-
} =
|
|
927
|
+
} = it(l);
|
|
895
928
|
if (this.formats[u]) {
|
|
896
929
|
let c = o;
|
|
897
930
|
try {
|
|
@@ -911,10 +944,10 @@ class et {
|
|
|
911
944
|
}, e);
|
|
912
945
|
}
|
|
913
946
|
}
|
|
914
|
-
const
|
|
947
|
+
const nt = (n, e) => {
|
|
915
948
|
n.pending[e] !== void 0 && (delete n.pending[e], n.pendingCount--);
|
|
916
949
|
};
|
|
917
|
-
class
|
|
950
|
+
class at extends X {
|
|
918
951
|
constructor(e, t, s) {
|
|
919
952
|
var r, a;
|
|
920
953
|
let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
@@ -948,7 +981,7 @@ class st extends X {
|
|
|
948
981
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
949
982
|
const o = {};
|
|
950
983
|
this.queue.forEach((l) => {
|
|
951
|
-
|
|
984
|
+
_e(l.loaded, [r], a), nt(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
|
|
952
985
|
o[u] || (o[u] = {});
|
|
953
986
|
const h = l.loaded[u];
|
|
954
987
|
h.length && h.forEach((f) => {
|
|
@@ -1110,8 +1143,8 @@ const $e = () => ({
|
|
|
1110
1143
|
}), Ce = (n) => {
|
|
1111
1144
|
var e, t;
|
|
1112
1145
|
return d(n.ns) && (n.ns = [n.ns]), d(n.fallbackLng) && (n.fallbackLng = [n.fallbackLng]), d(n.fallbackNS) && (n.fallbackNS = [n.fallbackNS]), ((t = (e = n.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), typeof n.initImmediate == "boolean" && (n.initAsync = n.initImmediate), n;
|
|
1113
|
-
},
|
|
1114
|
-
},
|
|
1146
|
+
}, Z = () => {
|
|
1147
|
+
}, ot = (n) => {
|
|
1115
1148
|
Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((t) => {
|
|
1116
1149
|
typeof n[t] == "function" && (n[t] = n[t].bind(n));
|
|
1117
1150
|
});
|
|
@@ -1121,7 +1154,7 @@ class z extends X {
|
|
|
1121
1154
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
1122
1155
|
if (super(), this.options = Ce(e), this.services = {}, this.logger = P, this.modules = {
|
|
1123
1156
|
external: []
|
|
1124
|
-
},
|
|
1157
|
+
}, ot(this), t && !this.isInitialized && !e.isClone) {
|
|
1125
1158
|
if (!this.options.initAsync)
|
|
1126
1159
|
return this.init(e, t), this;
|
|
1127
1160
|
setTimeout(() => {
|
|
@@ -1146,16 +1179,16 @@ class z extends X {
|
|
|
1146
1179
|
if (!this.options.isClone) {
|
|
1147
1180
|
this.modules.logger ? P.init(r(this.modules.logger), this.options) : P.init(null, this.options);
|
|
1148
1181
|
let h;
|
|
1149
|
-
this.modules.formatter ? h = this.modules.formatter : h =
|
|
1182
|
+
this.modules.formatter ? h = this.modules.formatter : h = rt;
|
|
1150
1183
|
const f = new Se(this.options);
|
|
1151
1184
|
this.store = new ye(this.options.resources, this.options);
|
|
1152
1185
|
const c = this.services;
|
|
1153
|
-
c.logger = P, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new
|
|
1186
|
+
c.logger = P, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new tt(f, {
|
|
1154
1187
|
prepend: this.options.pluralSeparator,
|
|
1155
1188
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1156
|
-
}), h && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = r(h), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new
|
|
1189
|
+
}), h && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = r(h), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new st(this.options), c.utils = {
|
|
1157
1190
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
1158
|
-
}, c.backendConnector = new
|
|
1191
|
+
}, c.backendConnector = new at(r(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(p) {
|
|
1159
1192
|
for (var g = arguments.length, m = new Array(g > 1 ? g - 1 : 0), v = 1; v < g; v++)
|
|
1160
1193
|
m[v - 1] = arguments[v];
|
|
1161
1194
|
e.emit(p, ...m);
|
|
@@ -1167,7 +1200,7 @@ class z extends X {
|
|
|
1167
1200
|
p.init && p.init(this);
|
|
1168
1201
|
});
|
|
1169
1202
|
}
|
|
1170
|
-
if (this.format = this.options.interpolation.format, s || (s =
|
|
1203
|
+
if (this.format = this.options.interpolation.format, s || (s = Z), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
1171
1204
|
const h = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
1172
1205
|
h.length > 0 && h[0] !== "dev" && (this.options.lng = h[0]);
|
|
1173
1206
|
}
|
|
@@ -1191,7 +1224,7 @@ class z extends X {
|
|
|
1191
1224
|
}
|
|
1192
1225
|
loadResources(e) {
|
|
1193
1226
|
var r, a;
|
|
1194
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
1227
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Z;
|
|
1195
1228
|
const i = d(e) ? e : this.language;
|
|
1196
1229
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
1197
1230
|
if ((i == null ? void 0 : i.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
@@ -1209,7 +1242,7 @@ class z extends X {
|
|
|
1209
1242
|
}
|
|
1210
1243
|
reloadResources(e, t, s) {
|
|
1211
1244
|
const i = H();
|
|
1212
|
-
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s =
|
|
1245
|
+
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = Z), this.services.backendConnector.reload(e, t, (r) => {
|
|
1213
1246
|
i.resolve(), s(r);
|
|
1214
1247
|
}), i;
|
|
1215
1248
|
}
|
|
@@ -1330,7 +1363,7 @@ class z extends X {
|
|
|
1330
1363
|
return new z(e, t);
|
|
1331
1364
|
}
|
|
1332
1365
|
cloneInstance() {
|
|
1333
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
1366
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Z;
|
|
1334
1367
|
const s = e.forkResourceStore;
|
|
1335
1368
|
s && delete e.forkResourceStore;
|
|
1336
1369
|
const i = {
|
|
@@ -1386,8 +1419,8 @@ S.setDefaultNamespace;
|
|
|
1386
1419
|
S.hasLoadedNamespace;
|
|
1387
1420
|
S.loadNamespaces;
|
|
1388
1421
|
S.loadLanguages;
|
|
1389
|
-
var
|
|
1390
|
-
function
|
|
1422
|
+
var lt = (n, e) => typeof e == "bigint" ? e.toString() : e;
|
|
1423
|
+
function ne(n, e = " | ") {
|
|
1391
1424
|
return n.map((t) => typeof t == "string" ? `'${t}'` : t).join(e);
|
|
1392
1425
|
}
|
|
1393
1426
|
var Pe = (n) => {
|
|
@@ -1397,7 +1430,7 @@ var Pe = (n) => {
|
|
|
1397
1430
|
if (!Object.prototype.hasOwnProperty.call(n, e))
|
|
1398
1431
|
return !1;
|
|
1399
1432
|
return !0;
|
|
1400
|
-
},
|
|
1433
|
+
}, ut = (n, e) => {
|
|
1401
1434
|
if (typeof n == "string")
|
|
1402
1435
|
return { key: n, values: {} };
|
|
1403
1436
|
if (Pe(n)) {
|
|
@@ -1405,7 +1438,7 @@ var Pe = (n) => {
|
|
|
1405
1438
|
return { key: t, values: s };
|
|
1406
1439
|
}
|
|
1407
1440
|
return { key: e, values: {} };
|
|
1408
|
-
}, Re = "zod",
|
|
1441
|
+
}, Re = "zod", ct = (n) => (e, t) => {
|
|
1409
1442
|
var l;
|
|
1410
1443
|
const { t: s, ns: i, handlePath: r } = {
|
|
1411
1444
|
t: S.t,
|
|
@@ -1456,7 +1489,7 @@ var Pe = (n) => {
|
|
|
1456
1489
|
break;
|
|
1457
1490
|
case O.invalid_literal:
|
|
1458
1491
|
a = s("errors.invalid_literal", {
|
|
1459
|
-
expected: JSON.stringify(e.expected,
|
|
1492
|
+
expected: JSON.stringify(e.expected, lt),
|
|
1460
1493
|
ns: i,
|
|
1461
1494
|
defaultValue: a,
|
|
1462
1495
|
...o
|
|
@@ -1464,7 +1497,7 @@ var Pe = (n) => {
|
|
|
1464
1497
|
break;
|
|
1465
1498
|
case O.unrecognized_keys:
|
|
1466
1499
|
a = s("errors.unrecognized_keys", {
|
|
1467
|
-
keys:
|
|
1500
|
+
keys: ne(e.keys, ", "),
|
|
1468
1501
|
count: e.keys.length,
|
|
1469
1502
|
ns: i,
|
|
1470
1503
|
defaultValue: a,
|
|
@@ -1480,7 +1513,7 @@ var Pe = (n) => {
|
|
|
1480
1513
|
break;
|
|
1481
1514
|
case O.invalid_union_discriminator:
|
|
1482
1515
|
a = s("errors.invalid_union_discriminator", {
|
|
1483
|
-
options:
|
|
1516
|
+
options: ne(e.options),
|
|
1484
1517
|
ns: i,
|
|
1485
1518
|
defaultValue: a,
|
|
1486
1519
|
...o
|
|
@@ -1488,7 +1521,7 @@ var Pe = (n) => {
|
|
|
1488
1521
|
break;
|
|
1489
1522
|
case O.invalid_enum_value:
|
|
1490
1523
|
a = s("errors.invalid_enum_value", {
|
|
1491
|
-
options:
|
|
1524
|
+
options: ne(e.options),
|
|
1492
1525
|
received: e.received,
|
|
1493
1526
|
ns: i,
|
|
1494
1527
|
defaultValue: a,
|
|
@@ -1564,7 +1597,7 @@ var Pe = (n) => {
|
|
|
1564
1597
|
);
|
|
1565
1598
|
break;
|
|
1566
1599
|
case O.custom:
|
|
1567
|
-
const { key: f, values: c } =
|
|
1600
|
+
const { key: f, values: c } = ut(
|
|
1568
1601
|
(l = e.params) == null ? void 0 : l.i18n,
|
|
1569
1602
|
"errors.custom"
|
|
1570
1603
|
);
|
|
@@ -1600,7 +1633,7 @@ var Pe = (n) => {
|
|
|
1600
1633
|
}
|
|
1601
1634
|
return { message: a };
|
|
1602
1635
|
};
|
|
1603
|
-
const le = Te(),
|
|
1636
|
+
const le = Te(), D = Ke({
|
|
1604
1637
|
locale: le,
|
|
1605
1638
|
messages: ke
|
|
1606
1639
|
});
|
|
@@ -1609,42 +1642,8 @@ S.init({
|
|
|
1609
1642
|
lng: le,
|
|
1610
1643
|
resources: ke
|
|
1611
1644
|
});
|
|
1612
|
-
De.setErrorMap(
|
|
1613
|
-
|
|
1614
|
-
var b = [];
|
|
1615
|
-
for (var se = 0; se < 256; ++se)
|
|
1616
|
-
b.push((se + 256).toString(16).slice(1));
|
|
1617
|
-
function lt(n, e = 0) {
|
|
1618
|
-
return (b[n[e + 0]] + b[n[e + 1]] + b[n[e + 2]] + b[n[e + 3]] + "-" + b[n[e + 4]] + b[n[e + 5]] + "-" + b[n[e + 6]] + b[n[e + 7]] + "-" + b[n[e + 8]] + b[n[e + 9]] + "-" + b[n[e + 10]] + b[n[e + 11]] + b[n[e + 12]] + b[n[e + 13]] + b[n[e + 14]] + b[n[e + 15]]).toLowerCase();
|
|
1619
|
-
}
|
|
1620
|
-
var W, ut = new Uint8Array(16);
|
|
1621
|
-
function ct() {
|
|
1622
|
-
if (!W && (W = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !W))
|
|
1623
|
-
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
1624
|
-
return W(ut);
|
|
1625
|
-
}
|
|
1626
|
-
var ie, Z, re = 0, ne = 0;
|
|
1627
|
-
function ht(n, e, t) {
|
|
1628
|
-
var s = e && t || 0, i = e || new Array(16);
|
|
1629
|
-
n = n || {};
|
|
1630
|
-
var r = n.node, a = n.clockseq;
|
|
1631
|
-
if (n._v6 || (r || (r = ie), a == null && (a = Z)), r == null || a == null) {
|
|
1632
|
-
var o = n.random || (n.rng || ct)();
|
|
1633
|
-
r == null && (r = [o[0], o[1], o[2], o[3], o[4], o[5]], !ie && !n._v6 && (r[0] |= 1, ie = r)), a == null && (a = (o[6] << 8 | o[7]) & 16383, Z === void 0 && !n._v6 && (Z = a));
|
|
1634
|
-
}
|
|
1635
|
-
var l = n.msecs !== void 0 ? n.msecs : Date.now(), u = n.nsecs !== void 0 ? n.nsecs : ne + 1, h = l - re + (u - ne) / 1e4;
|
|
1636
|
-
if (h < 0 && n.clockseq === void 0 && (a = a + 1 & 16383), (h < 0 || l > re) && n.nsecs === void 0 && (u = 0), u >= 1e4)
|
|
1637
|
-
throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
|
|
1638
|
-
re = l, ne = u, Z = a, l += 122192928e5;
|
|
1639
|
-
var f = ((l & 268435455) * 1e4 + u) % 4294967296;
|
|
1640
|
-
i[s++] = f >>> 24 & 255, i[s++] = f >>> 16 & 255, i[s++] = f >>> 8 & 255, i[s++] = f & 255;
|
|
1641
|
-
var c = l / 4294967296 * 1e4 & 268435455;
|
|
1642
|
-
i[s++] = c >>> 8 & 255, i[s++] = c & 255, i[s++] = c >>> 24 & 15 | 16, i[s++] = c >>> 16 & 255, i[s++] = a >>> 8 | 128, i[s++] = a & 255;
|
|
1643
|
-
for (var p = 0; p < 6; ++p)
|
|
1644
|
-
i[s + p] = r[p];
|
|
1645
|
-
return e || lt(i);
|
|
1646
|
-
}
|
|
1647
|
-
async function xt(n, e) {
|
|
1645
|
+
De.setErrorMap(ct({ ns: ["connectZod", "connectZodCustom"] }));
|
|
1646
|
+
async function vt(n, e) {
|
|
1648
1647
|
await new Promise((t) => {
|
|
1649
1648
|
const s = document.createElement("input");
|
|
1650
1649
|
s.value = n, document.body.appendChild(s), s.select(), document.execCommand("copy"), document.body.removeChild(s), t("");
|
|
@@ -1657,12 +1656,12 @@ async function xt(n, e) {
|
|
|
1657
1656
|
});
|
|
1658
1657
|
});
|
|
1659
1658
|
}
|
|
1660
|
-
const
|
|
1659
|
+
const xt = {
|
|
1661
1660
|
fileExtension(n) {
|
|
1662
1661
|
return (n == null ? void 0 : n.type.replace(/video\/|image\//, "")) || void 0;
|
|
1663
1662
|
},
|
|
1664
1663
|
generateId(n) {
|
|
1665
|
-
return [
|
|
1664
|
+
return [Be(), this.fileExtension(n)].filter(Boolean).join(".");
|
|
1666
1665
|
},
|
|
1667
1666
|
campaignPath(n) {
|
|
1668
1667
|
return `business/${k.getBusinessId()}/campaigns/${n || this.generateId()}`;
|
|
@@ -1696,7 +1695,7 @@ const yt = {
|
|
|
1696
1695
|
const t = fe(void 0, e), s = ge(t, n);
|
|
1697
1696
|
await Fe(s);
|
|
1698
1697
|
}
|
|
1699
|
-
},
|
|
1698
|
+
}, yt = {
|
|
1700
1699
|
get dialog() {
|
|
1701
1700
|
return oe().dialog;
|
|
1702
1701
|
},
|
|
@@ -1751,7 +1750,7 @@ const yt = {
|
|
|
1751
1750
|
});
|
|
1752
1751
|
});
|
|
1753
1752
|
}
|
|
1754
|
-
},
|
|
1753
|
+
}, bt = {
|
|
1755
1754
|
get snackbar() {
|
|
1756
1755
|
return oe().snackbar;
|
|
1757
1756
|
},
|
|
@@ -1781,9 +1780,9 @@ const yt = {
|
|
|
1781
1780
|
}
|
|
1782
1781
|
};
|
|
1783
1782
|
export {
|
|
1784
|
-
|
|
1785
|
-
|
|
1783
|
+
vt as c,
|
|
1784
|
+
xt as f,
|
|
1786
1785
|
D as i,
|
|
1787
|
-
|
|
1788
|
-
|
|
1786
|
+
bt as n,
|
|
1787
|
+
yt as p
|
|
1789
1788
|
};
|