@feedmepos/mf-connect 0.1.38-beta.33 → 0.1.38-beta.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/{Analytic-B1hvdnhQ.js → Analytic-DBUfOGXN.js} +13 -13
  2. package/dist/{App-BCjFwtVu.js → App-BKoC43t0.js} +8 -8
  3. package/dist/{AuditLogs-DwOzstOt.js → AuditLogs-DfcDKAAx.js} +9 -9
  4. package/dist/{Bin-BgnnzoZS.js → Bin-K1LAZ7Il.js} +8 -8
  5. package/dist/{Broadcast-DqSOAE01.js → Broadcast-dPQylejk.js} +9 -9
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CBMG8_Sk.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CADc94lG.js} +6 -6
  7. package/dist/{Card-A9CkhfVY.js → Card-DqXEthXd.js} +16 -16
  8. package/dist/{Collections-BgnFnaWo.js → Collections-2higR9xt.js} +6 -6
  9. package/dist/{Credit-a_OpuZJM.js → Credit-C0zUwRx_.js} +9 -9
  10. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CNBh1Id6.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-DiMkp8eD.js} +32 -32
  11. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-oao_UwRf.js → EffectSheet.vue_vue_type_style_index_0_lang-CeZvW4CN.js} +6 -6
  12. package/dist/{Experience-CpGj9JqO.js → Experience-B2an8JbD.js} +9 -9
  13. package/dist/{Game-D0e3MyPK.js → Game-BO7F7MwC.js} +10 -10
  14. package/dist/{Grab-Exo0vj4b.js → Grab-DhHyUon4.js} +9 -9
  15. package/dist/{Index-DU0reBq4.js → Index-uadi-EZ6.js} +10 -10
  16. package/dist/{Marketing-BZtDNsA-.js → Marketing-BWpOwWf0.js} +7 -7
  17. package/dist/{Member-D8buIkBR.js → Member-Mcwja1E6.js} +10 -10
  18. package/dist/{MemberList-CDwYfTlS.js → MemberList-BPGNOKXn.js} +25 -25
  19. package/dist/{MemberTransactions-DRkpizb_.js → MemberTransactions-DaBU7MOW.js} +1 -1
  20. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-VzyI4O5z.js → MessageInput.vue_vue_type_script_setup_true_lang-DYuWH0OF.js} +8 -8
  21. package/dist/{Mission-BTzIK2Yx.js → Mission-DSRwwQMw.js} +10 -10
  22. package/dist/{Overview-CMkljRYt.js → Overview-B897q3qA.js} +18 -18
  23. package/dist/{Point-DGPLd8z-.js → Point-lhl01-GA.js} +9 -9
  24. package/dist/{Promotion-D8K2pFnv.js → Promotion-BvO0BUst.js} +10 -10
  25. package/dist/{Queue-CySghWZm.js → Queue-ec2IpEuf.js} +10 -10
  26. package/dist/{Record-CxloqLoN.js → Record-BXLVpbR2.js} +8 -8
  27. package/dist/{Reward-DxvFaqzm.js → Reward-DCzxzMzn.js} +15 -15
  28. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-WOC3rplt.js → RewardGroup.vue_vue_type_script_setup_true_lang-COiUXYSb.js} +11 -11
  29. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-C4zhGkBY.js → RuleGroup.vue_vue_type_script_setup_true_lang-Bz3lj9Ng.js} +13 -13
  30. package/dist/{Segment-DKD6P0cE.js → Segment-CYk3w6PO.js} +22 -22
  31. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-bpblaVLq.js → SelectItems.vue_vue_type_script_setup_true_lang-ITaqten3.js} +2 -2
  32. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-B1g0fHPV.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-ViJglQse.js} +11 -11
  33. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CSR5EuVO.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DSm11Q46.js} +3 -3
  34. package/dist/{Setting-khHGWePA.js → Setting-DZtcRs0k.js} +141 -141
  35. package/dist/SettingAdvertisements-DBQEaFBm.js +262 -0
  36. package/dist/{Store-0cJJpCIV.js → Store-5svFOdbG.js} +20 -20
  37. package/dist/{StoreRewards-CV8XStEA.js → StoreRewards-DImHNqJA.js} +13 -13
  38. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Bqw4ayC4.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BUnlE8_-.js} +20 -20
  39. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BprUyeOJ.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CiDVA4p8.js} +1 -1
  40. package/dist/{Tier-BgahD6Rs.js → Tier-B43j8PN_.js} +20 -20
  41. package/dist/{Title-DKGqu5SL.js → Title-6ThYGwPj.js} +19 -19
  42. package/dist/{Transaction-Bu-Zaa-_.js → Transaction-CGkAjZ9A.js} +2 -2
  43. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-cDZZz9DR.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Cvr5u0Zs.js} +6 -6
  44. package/dist/{Voucher-sko-4yOv.js → Voucher-Blbht91D.js} +14 -14
  45. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DVlYxnyk.js → VoucherEditor.vue_vue_type_script_setup_true_lang-Bi0Z03Ai.js} +10 -10
  46. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CeNxiT5A.js → ZodTextField.vue_vue_type_script_setup_true_lang-CWoUnCAa.js} +1 -1
  47. package/dist/{app-DivOpQ--.js → app-C6urTnJ4.js} +1 -1
  48. package/dist/{app-B06WmmlS.js → app-xTCQAKl2.js} +2209 -1122
  49. package/dist/app.js +1 -1
  50. package/dist/{business-ClV-3_wH.js → business-B7k-tZEN.js} +1 -1
  51. package/dist/{campaign-C-DtV5gs.js → campaign-Bz9UcS_m.js} +2 -2
  52. package/dist/{campaign-ChCAqzSE.js → campaign-muSKe19-.js} +71 -71
  53. package/dist/{campaign.enum-HJvL6WCW.js → campaign.enum-hDvXhq3o.js} +1 -1
  54. package/dist/{campaign.fn-FkHPIhXx.js → campaign.fn-dcycsEgm.js} +3 -3
  55. package/dist/{collectible.enum-DlxRyJMy.js → collectible.enum-wxQMWK6c.js} +1 -1
  56. package/dist/{collection.fn-DmYKiZsL.js → collection.fn-DDzDInuW.js} +2 -2
  57. package/dist/{dto-BKG9T2I2.js → dto-CunCCKYQ.js} +4 -4
  58. package/dist/{effect-qQUWG0In.js → effect-BXObGcbg.js} +1 -1
  59. package/dist/{email-addresses-Dqyt8I7s.js → email-addresses-C6eoXJGp.js} +1 -1
  60. package/dist/{export-CUcU1l-K.js → export-BDFxcaL0.js} +3 -3
  61. package/dist/{helper-Bxi0o7m8.js → helper-BvwYqXjY.js} +1 -1
  62. package/dist/{index-B5SrWi06.js → index--EQGC2IH.js} +3 -3
  63. package/dist/{index-C06Q7hpx.js → index-3EjNf2am.js} +1 -1
  64. package/dist/{index-BWq6tQbu.js → index-B41wOGTO.js} +1 -1
  65. package/dist/{index-Dhh1sEG_.js → index-BuvsKdUo.js} +6 -6
  66. package/dist/{index-BAv3BkZY.js → index-C-Y8B9_g.js} +1023 -1023
  67. package/dist/{index-DlK01rGI.js → index-CVG-2gDW.js} +1 -1
  68. package/dist/{index-DdekcTG4.js → index-CkdgYD-t.js} +1 -1
  69. package/dist/{index-Ct2-fiN2.js → index-D23WXsuy.js} +1 -1
  70. package/dist/{index-BEN3tBqd.js → index-DQqUeKpy.js} +2 -2
  71. package/dist/{index-BL_1CL4C.js → index-DVL-x7W6.js} +4 -4
  72. package/dist/{index-B94mBxiL.js → index-DtFTHQOJ.js} +1 -1
  73. package/dist/{index-DzELBV8R.js → index-RKOwESmg.js} +1 -1
  74. package/dist/{index-TKz_0Ysa.js → index-_9R9an9a.js} +1 -1
  75. package/dist/{index-UjD7i6Rs.js → index-tz_n5lEb.js} +4 -4
  76. package/dist/{index.esm2017-DHCRXeWh.js → index.esm2017-wyZHjxJg.js} +1 -1
  77. package/dist/{loading-B_UZCyhK.js → loading-CVL-OePP.js} +1 -1
  78. package/dist/{membership-_kM8eXz7.js → membership-Cwolq8Cj.js} +3 -3
  79. package/dist/{money-CoVA-srK.js → money-hSkLuGRM.js} +1 -1
  80. package/dist/{number-YRitPV2s.js → number-C6FRJ2M7.js} +1 -1
  81. package/dist/{objectid-C1na7D-x.js → objectid-aShDJfER.js} +4 -4
  82. package/dist/{plugins-CRzS5EeK.js → plugins-CPwW8rZp.js} +2 -2
  83. package/dist/{reward-BzSjQxTf.js → reward-BRjFlh6E.js} +1 -1
  84. package/dist/{rule-BTgu7Yg-.js → rule-CYMGrUxS.js} +3 -3
  85. package/dist/{rule-builder-DqxBZKm0.js → rule-builder-TdDaDyR7.js} +1 -1
  86. package/dist/{template-Cb_6r-V_.js → template-C78lPPQn.js} +4 -4
  87. package/dist/{timezone-_t4BbV7Q.js → timezone-CAUT5KZd.js} +1 -1
  88. package/dist/{trigger-B0ldNAaK.js → trigger-CQKxXHDL.js} +4 -4
  89. package/dist/{user-B4J6WtQq.js → user-8R-3y6sK.js} +1 -1
  90. package/dist/{vue-i18n-c1uC6tyM.js → vue-i18n-LviVr_kr.js} +2 -2
  91. package/dist/{xlsx-BRAFCQ59.js → xlsx-mDgALSyS.js} +1 -1
  92. package/package.json +1 -1
  93. package/dist/SettingAdvertisements-DJHKjE95.js +0 -264
@@ -2,21 +2,21 @@ import { defineComponent as Ge, ref as O, computed as Ee, onMounted as qe, resol
2
2
  import { h as Ct } from "./moment-D7p2TMB-.js";
3
3
  import { Z as He } from "./zod-Bg2FbC-D.js";
4
4
  import { useDialog as Qe } from "@feedmepos/ui-library";
5
- import { u as Et } from "./loading-B_UZCyhK.js";
5
+ import { u as Et } from "./loading-CVL-OePP.js";
6
6
  import { u as At } from "./app-wDQR6dpb.js";
7
- import { u as Be, l as We } from "./business-ClV-3_wH.js";
8
- import { u as Xe } from "./membership-_kM8eXz7.js";
9
- import "./index-BAv3BkZY.js";
10
- import { s as Bt, k as Mt } from "./index-UjD7i6Rs.js";
11
- import { a as Ze, p as St, f as oe } from "./plugins-CRzS5EeK.js";
12
- import { _ as It } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-BprUyeOJ.js";
13
- import { M as _t, _ as Tt } from "./MessageInput.vue_vue_type_script_setup_true_lang-VzyI4O5z.js";
14
- import { u as Pt } from "./vue-i18n-c1uC6tyM.js";
7
+ import { u as Be, l as We } from "./business-B7k-tZEN.js";
8
+ import { u as Xe } from "./membership-Cwolq8Cj.js";
9
+ import "./index-C-Y8B9_g.js";
10
+ import { s as Bt, k as Mt } from "./index-tz_n5lEb.js";
11
+ import { a as Ze, p as St, f as oe } from "./plugins-CPwW8rZp.js";
12
+ import { _ as It } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-CiDVA4p8.js";
13
+ import { M as _t, _ as Tt } from "./MessageInput.vue_vue_type_script_setup_true_lang-DYuWH0OF.js";
14
+ import { u as Pt } from "./vue-i18n-LviVr_kr.js";
15
15
  import { useCoreStore as Nt } from "@feedmepos/mf-common";
16
16
  import { useRouter as Ut } from "vue-router";
17
- import { R as Rt } from "./app-B06WmmlS.js";
18
- import { m as Oe } from "./index-B94mBxiL.js";
19
- import { S as Ke } from "./index-BL_1CL4C.js";
17
+ import { R as Rt } from "./app-xTCQAKl2.js";
18
+ import { m as Oe } from "./index-DtFTHQOJ.js";
19
+ import { S as Ke } from "./index-DVL-x7W6.js";
20
20
  import { o as Lt } from "./objectId-dwaoBfJX.js";
21
21
  import { a as Ft } from "./object-qECH92oz.js";
22
22
  var X = {}, kt = function() {
@@ -222,12 +222,12 @@ var rt = {};
222
222
  return t.isValid(o) ? parseInt(o, 10) : void 0;
223
223
  }, t.getPenaltyN1 = function(o) {
224
224
  const n = o.size;
225
- let s = 0, a = 0, l = 0, c = null, m = null;
225
+ let s = 0, a = 0, l = 0, u = null, m = null;
226
226
  for (let B = 0; B < n; B++) {
227
- a = l = 0, c = m = null;
227
+ a = l = 0, u = m = null;
228
228
  for (let g = 0; g < n; g++) {
229
229
  let f = o.get(B, g);
230
- f === c ? a++ : (a >= 5 && (s += e.N1 + (a - 5)), c = f, a = 1), f = o.get(g, B), f === m ? l++ : (l >= 5 && (s += e.N1 + (l - 5)), m = f, l = 1);
230
+ f === u ? a++ : (a >= 5 && (s += e.N1 + (a - 5)), u = f, a = 1), f = o.get(g, B), f === m ? l++ : (l >= 5 && (s += e.N1 + (l - 5)), m = f, l = 1);
231
231
  }
232
232
  a >= 5 && (s += e.N1 + (a - 5)), l >= 5 && (s += e.N1 + (l - 5));
233
233
  }
@@ -237,17 +237,17 @@ var rt = {};
237
237
  let s = 0;
238
238
  for (let a = 0; a < n - 1; a++)
239
239
  for (let l = 0; l < n - 1; l++) {
240
- const c = o.get(a, l) + o.get(a, l + 1) + o.get(a + 1, l) + o.get(a + 1, l + 1);
241
- (c === 4 || c === 0) && s++;
240
+ const u = o.get(a, l) + o.get(a, l + 1) + o.get(a + 1, l) + o.get(a + 1, l + 1);
241
+ (u === 4 || u === 0) && s++;
242
242
  }
243
243
  return s * e.N2;
244
244
  }, t.getPenaltyN3 = function(o) {
245
245
  const n = o.size;
246
246
  let s = 0, a = 0, l = 0;
247
- for (let c = 0; c < n; c++) {
247
+ for (let u = 0; u < n; u++) {
248
248
  a = l = 0;
249
249
  for (let m = 0; m < n; m++)
250
- a = a << 1 & 2047 | o.get(c, m), m >= 10 && (a === 1488 || a === 93) && s++, l = l << 1 & 2047 | o.get(m, c), m >= 10 && (l === 1488 || l === 93) && s++;
250
+ a = a << 1 & 2047 | o.get(u, m), m >= 10 && (a === 1488 || a === 93) && s++, l = l << 1 & 2047 | o.get(m, u), m >= 10 && (l === 1488 || l === 93) && s++;
251
251
  }
252
252
  return s * e.N3;
253
253
  }, t.getPenaltyN4 = function(o) {
@@ -286,15 +286,15 @@ var rt = {};
286
286
  }, t.getBestMask = function(o, n) {
287
287
  const s = Object.keys(t.Patterns).length;
288
288
  let a = 0, l = 1 / 0;
289
- for (let c = 0; c < s; c++) {
290
- n(c), t.applyMask(c, o);
289
+ for (let u = 0; u < s; u++) {
290
+ n(u), t.applyMask(u, o);
291
291
  const m = t.getPenaltyN1(o) + t.getPenaltyN2(o) + t.getPenaltyN3(o) + t.getPenaltyN4(o);
292
- t.applyMask(c, o), m < l && (l = m, a = c);
292
+ t.applyMask(u, o), m < l && (l = m, a = u);
293
293
  }
294
294
  return a;
295
295
  };
296
296
  })(rt);
297
- var ce = {};
297
+ var ue = {};
298
298
  const x = ae, re = [
299
299
  // L M Q H
300
300
  1,
@@ -620,7 +620,7 @@ const x = ae, re = [
620
620
  2040,
621
621
  2430
622
622
  ];
623
- ce.getBlocksCount = function(e, i) {
623
+ ue.getBlocksCount = function(e, i) {
624
624
  switch (i) {
625
625
  case x.L:
626
626
  return re[(e - 1) * 4 + 0];
@@ -634,7 +634,7 @@ ce.getBlocksCount = function(e, i) {
634
634
  return;
635
635
  }
636
636
  };
637
- ce.getTotalCodewordsCount = function(e, i) {
637
+ ue.getTotalCodewordsCount = function(e, i) {
638
638
  switch (i) {
639
639
  case x.L:
640
640
  return ie[(e - 1) * 4 + 0];
@@ -648,7 +648,7 @@ ce.getTotalCodewordsCount = function(e, i) {
648
648
  return;
649
649
  }
650
650
  };
651
- var it = {}, ue = {};
651
+ var it = {}, ce = {};
652
652
  const Q = new Uint8Array(512), se = new Uint8Array(256);
653
653
  (function() {
654
654
  let e = 1;
@@ -657,18 +657,18 @@ const Q = new Uint8Array(512), se = new Uint8Array(256);
657
657
  for (let i = 255; i < 512; i++)
658
658
  Q[i] = Q[i - 255];
659
659
  })();
660
- ue.log = function(e) {
660
+ ce.log = function(e) {
661
661
  if (e < 1) throw new Error("log(" + e + ")");
662
662
  return se[e];
663
663
  };
664
- ue.exp = function(e) {
664
+ ce.exp = function(e) {
665
665
  return Q[e];
666
666
  };
667
- ue.mul = function(e, i) {
667
+ ce.mul = function(e, i) {
668
668
  return e === 0 || i === 0 ? 0 : Q[se[e] + se[i]];
669
669
  };
670
670
  (function(t) {
671
- const e = ue;
671
+ const e = ce;
672
672
  t.mul = function(r, o) {
673
673
  const n = new Uint8Array(r.length + o.length - 1);
674
674
  for (let s = 0; s < r.length; s++)
@@ -797,19 +797,19 @@ D.testAlphanumeric = function(e) {
797
797
  };
798
798
  })(z);
799
799
  (function(t) {
800
- const e = U, i = ce, r = ae, o = z, n = Ne, s = 7973, a = e.getBCHDigit(s);
800
+ const e = U, i = ue, r = ae, o = z, n = Ne, s = 7973, a = e.getBCHDigit(s);
801
801
  function l(g, f, v) {
802
802
  for (let C = 1; C <= 40; C++)
803
803
  if (f <= t.getCapacity(C, v, g))
804
804
  return C;
805
805
  }
806
- function c(g, f) {
806
+ function u(g, f) {
807
807
  return o.getCharCountIndicator(g, f) + 4;
808
808
  }
809
809
  function m(g, f) {
810
810
  let v = 0;
811
811
  return g.forEach(function(C) {
812
- const _ = c(C.mode, f);
812
+ const _ = u(C.mode, f);
813
813
  v += _ + C.getBitsLength();
814
814
  }), v;
815
815
  }
@@ -826,7 +826,7 @@ D.testAlphanumeric = function(e) {
826
826
  typeof C > "u" && (C = o.BYTE);
827
827
  const _ = e.getSymbolTotalCodewords(f), p = i.getTotalCodewordsCount(f, v), b = (_ - p) * 8;
828
828
  if (C === o.MIXED) return b;
829
- const w = b - c(C, f);
829
+ const w = b - u(C, f);
830
830
  switch (C) {
831
831
  case o.NUMERIC:
832
832
  return Math.floor(w / 10 * 3);
@@ -859,13 +859,13 @@ D.testAlphanumeric = function(e) {
859
859
  return f << 12 | v;
860
860
  };
861
861
  })(lt);
862
- var ct = {};
863
- const Me = U, ut = 1335, jt = 21522, Je = Me.getBCHDigit(ut);
864
- ct.getEncodedBits = function(e, i) {
862
+ var ut = {};
863
+ const Me = U, ct = 1335, jt = 21522, Je = Me.getBCHDigit(ct);
864
+ ut.getEncodedBits = function(e, i) {
865
865
  const r = e.bit << 3 | i;
866
866
  let o = r << 10;
867
867
  for (; Me.getBCHDigit(o) - Je >= 0; )
868
- o ^= ut << Me.getBCHDigit(o) - Je;
868
+ o ^= ct << Me.getBCHDigit(o) - Je;
869
869
  return (r << 10 | o) ^ jt;
870
870
  };
871
871
  var dt = {};
@@ -1039,10 +1039,10 @@ var rn = G, ft = { exports: {} };
1039
1039
  s[r] = 0;
1040
1040
  var a = e.PriorityQueue.make();
1041
1041
  a.push(r, 0);
1042
- for (var l, c, m, B, g, f, v, C, _; !a.empty(); ) {
1043
- l = a.pop(), c = l.value, B = l.cost, g = i[c] || {};
1042
+ for (var l, u, m, B, g, f, v, C, _; !a.empty(); ) {
1043
+ l = a.pop(), u = l.value, B = l.cost, g = i[u] || {};
1044
1044
  for (m in g)
1045
- g.hasOwnProperty(m) && (f = g[m], v = B + f, C = s[m], _ = typeof s[m] > "u", (_ || C > v) && (s[m] = v, a.push(m, v), n[m] = c));
1045
+ g.hasOwnProperty(m) && (f = g[m], v = B + f, C = s[m], _ = typeof s[m] > "u", (_ || C > v) && (s[m] = v, a.push(m, v), n[m] = u));
1046
1046
  }
1047
1047
  if (typeof o < "u" && typeof s[o] > "u") {
1048
1048
  var p = ["Could not find a path from ", r, " to ", o, "."].join("");
@@ -1100,7 +1100,7 @@ var rn = G, ft = { exports: {} };
1100
1100
  var sn = ft.exports;
1101
1101
  (function(t) {
1102
1102
  const e = z, i = qt, r = Wt, o = tn, n = rn, s = D, a = U, l = sn;
1103
- function c(p) {
1103
+ function u(p) {
1104
1104
  return unescape(encodeURIComponent(p)).length;
1105
1105
  }
1106
1106
  function m(p, b, w) {
@@ -1167,12 +1167,12 @@ var sn = ft.exports;
1167
1167
  case e.KANJI:
1168
1168
  b.push([
1169
1169
  y,
1170
- { data: y.data, mode: e.BYTE, length: c(y.data) }
1170
+ { data: y.data, mode: e.BYTE, length: u(y.data) }
1171
1171
  ]);
1172
1172
  break;
1173
1173
  case e.BYTE:
1174
1174
  b.push([
1175
- { data: y.data, mode: e.BYTE, length: c(y.data) }
1175
+ { data: y.data, mode: e.BYTE, length: u(y.data) }
1176
1176
  ]);
1177
1177
  }
1178
1178
  }
@@ -1184,11 +1184,11 @@ var sn = ft.exports;
1184
1184
  for (let I = 0; I < p.length; I++) {
1185
1185
  const T = p[I], N = [];
1186
1186
  for (let k = 0; k < T.length; k++) {
1187
- const A = T[k], u = "" + I + k;
1188
- N.push(u), w[u] = { node: A, lastCount: 0 }, y[u] = {};
1187
+ const A = T[k], c = "" + I + k;
1188
+ N.push(c), w[c] = { node: A, lastCount: 0 }, y[c] = {};
1189
1189
  for (let V = 0; V < M.length; V++) {
1190
1190
  const P = M[V];
1191
- w[P] && w[P].node.mode === A.mode ? (y[P][u] = g(w[P].lastCount + A.length, A.mode) - g(w[P].lastCount, A.mode), w[P].lastCount += A.length) : (w[P] && (w[P].lastCount = A.length), y[P][u] = g(A.length, A.mode) + 4 + e.getCharCountIndicator(A.mode, b));
1191
+ w[P] && w[P].node.mode === A.mode ? (y[P][c] = g(w[P].lastCount + A.length, A.mode) - g(w[P].lastCount, A.mode), w[P].lastCount += A.length) : (w[P] && (w[P].lastCount = A.length), y[P][c] = g(A.length, A.mode) + 4 + e.getCharCountIndicator(A.mode, b));
1192
1192
  }
1193
1193
  }
1194
1194
  M = N;
@@ -1229,9 +1229,9 @@ var sn = ft.exports;
1229
1229
  );
1230
1230
  };
1231
1231
  })(dt);
1232
- const de = U, ye = ae, ln = Vt, an = $t, cn = nt, un = ot, Se = rt, Ie = ce, dn = zt, le = lt, fn = ct, mn = z, we = dt;
1232
+ const de = U, ye = ae, ln = Vt, an = $t, un = nt, cn = ot, Se = rt, Ie = ue, dn = zt, le = lt, fn = ut, mn = z, we = dt;
1233
1233
  function gn(t, e) {
1234
- const i = t.size, r = un.getPositions(e);
1234
+ const i = t.size, r = cn.getPositions(e);
1235
1235
  for (let o = 0; o < r.length; o++) {
1236
1236
  const n = r[o][0], s = r[o][1];
1237
1237
  for (let a = -1; a <= 7; a++)
@@ -1248,7 +1248,7 @@ function hn(t) {
1248
1248
  }
1249
1249
  }
1250
1250
  function pn(t, e) {
1251
- const i = cn.getPositions(e);
1251
+ const i = un.getPositions(e);
1252
1252
  for (let r = 0; r < i.length; r++) {
1253
1253
  const o = i[r][0], n = i[r][1];
1254
1254
  for (let s = -2; s <= 2; s++)
@@ -1276,8 +1276,8 @@ function wn(t, e) {
1276
1276
  for (a === 6 && a--; ; ) {
1277
1277
  for (let l = 0; l < 2; l++)
1278
1278
  if (!t.isReserved(o, a - l)) {
1279
- let c = !1;
1280
- s < e.length && (c = (e[s] >>> n & 1) === 1), t.set(o, a - l, c), n--, n === -1 && (s++, n = 7);
1279
+ let u = !1;
1280
+ s < e.length && (u = (e[s] >>> n & 1) === 1), t.set(o, a - l, u), n--, n === -1 && (s++, n = 7);
1281
1281
  }
1282
1282
  if (o += r, o < 0 || i <= o) {
1283
1283
  o -= r, r = -r;
@@ -1299,7 +1299,7 @@ function bn(t, e, i) {
1299
1299
  return vn(r, t, e);
1300
1300
  }
1301
1301
  function vn(t, e, i) {
1302
- const r = de.getSymbolTotalCodewords(e), o = Ie.getTotalCodewordsCount(e, i), n = r - o, s = Ie.getBlocksCount(e, i), a = r % s, l = s - a, c = Math.floor(r / s), m = Math.floor(n / s), B = m + 1, g = c - m, f = new dn(g);
1302
+ const r = de.getSymbolTotalCodewords(e), o = Ie.getTotalCodewordsCount(e, i), n = r - o, s = Ie.getBlocksCount(e, i), a = r % s, l = s - a, u = Math.floor(r / s), m = Math.floor(n / s), B = m + 1, g = u - m, f = new dn(g);
1303
1303
  let v = 0;
1304
1304
  const C = new Array(s), _ = new Array(s);
1305
1305
  let p = 0;
@@ -1323,12 +1323,12 @@ function Cn(t, e, i, r) {
1323
1323
  if (Array.isArray(t))
1324
1324
  o = we.fromArray(t);
1325
1325
  else if (typeof t == "string") {
1326
- let c = e;
1327
- if (!c) {
1326
+ let u = e;
1327
+ if (!u) {
1328
1328
  const m = we.rawSplit(t);
1329
- c = le.getBestVersionForData(m, i);
1329
+ u = le.getBestVersionForData(m, i);
1330
1330
  }
1331
- o = we.fromString(t, c || 40);
1331
+ o = we.fromString(t, u || 40);
1332
1332
  } else
1333
1333
  throw new Error("Invalid data");
1334
1334
  const n = le.getBestVersionForData(o, i);
@@ -1401,11 +1401,11 @@ var mt = {}, Ue = {};
1401
1401
  const n = t.getScale(r, o);
1402
1402
  return Math.floor((r + o.margin * 2) * n);
1403
1403
  }, t.qrToImageData = function(r, o, n) {
1404
- const s = o.modules.size, a = o.modules.data, l = t.getScale(s, n), c = Math.floor((s + n.margin * 2) * l), m = n.margin * l, B = [n.color.light, n.color.dark];
1405
- for (let g = 0; g < c; g++)
1406
- for (let f = 0; f < c; f++) {
1407
- let v = (g * c + f) * 4, C = n.color.light;
1408
- if (g >= m && f >= m && g < c - m && f < c - m) {
1404
+ const s = o.modules.size, a = o.modules.data, l = t.getScale(s, n), u = Math.floor((s + n.margin * 2) * l), m = n.margin * l, B = [n.color.light, n.color.dark];
1405
+ for (let g = 0; g < u; g++)
1406
+ for (let f = 0; f < u; f++) {
1407
+ let v = (g * u + f) * 4, C = n.color.light;
1408
+ if (g >= m && f >= m && g < u - m && f < u - m) {
1409
1409
  const _ = Math.floor((g - m) / l), p = Math.floor((f - m) / l);
1410
1410
  C = B[a[_ * s + p] ? 1 : 0];
1411
1411
  }
@@ -1426,15 +1426,15 @@ var mt = {}, Ue = {};
1426
1426
  }
1427
1427
  }
1428
1428
  t.render = function(n, s, a) {
1429
- let l = a, c = s;
1430
- typeof l > "u" && (!s || !s.getContext) && (l = s, s = void 0), s || (c = r()), l = e.getOptions(l);
1431
- const m = e.getImageWidth(n.modules.size, l), B = c.getContext("2d"), g = B.createImageData(m, m);
1432
- return e.qrToImageData(g.data, n, l), i(B, c, m), B.putImageData(g, 0, 0), c;
1429
+ let l = a, u = s;
1430
+ typeof l > "u" && (!s || !s.getContext) && (l = s, s = void 0), s || (u = r()), l = e.getOptions(l);
1431
+ const m = e.getImageWidth(n.modules.size, l), B = u.getContext("2d"), g = B.createImageData(m, m);
1432
+ return e.qrToImageData(g.data, n, l), i(B, u, m), B.putImageData(g, 0, 0), u;
1433
1433
  }, t.renderToDataURL = function(n, s, a) {
1434
1434
  let l = a;
1435
1435
  typeof l > "u" && (!s || !s.getContext) && (l = s, s = void 0), l || (l = {});
1436
- const c = t.render(n, s, l), m = l.type || "image/png", B = l.rendererOpts || {};
1437
- return c.toDataURL(m, B.quality);
1436
+ const u = t.render(n, s, l), m = l.type || "image/png", B = l.rendererOpts || {};
1437
+ return u.toDataURL(m, B.quality);
1438
1438
  };
1439
1439
  })(mt);
1440
1440
  var gt = {};
@@ -1450,13 +1450,13 @@ function ve(t, e, i) {
1450
1450
  function An(t, e, i) {
1451
1451
  let r = "", o = 0, n = !1, s = 0;
1452
1452
  for (let a = 0; a < t.length; a++) {
1453
- const l = Math.floor(a % e), c = Math.floor(a / e);
1454
- !l && !n && (n = !0), t[a] ? (s++, a > 0 && l > 0 && t[a - 1] || (r += n ? ve("M", l + i, 0.5 + c + i) : ve("m", o, 0), o = 0, n = !1), l + 1 < e && t[a + 1] || (r += ve("h", s), s = 0)) : o++;
1453
+ const l = Math.floor(a % e), u = Math.floor(a / e);
1454
+ !l && !n && (n = !0), t[a] ? (s++, a > 0 && l > 0 && t[a - 1] || (r += n ? ve("M", l + i, 0.5 + u + i) : ve("m", o, 0), o = 0, n = !1), l + 1 < e && t[a + 1] || (r += ve("h", s), s = 0)) : o++;
1455
1455
  }
1456
1456
  return r;
1457
1457
  }
1458
1458
  gt.render = function(e, i, r) {
1459
- const o = En.getOptions(i), n = e.modules.size, s = e.modules.data, a = n + o.margin * 2, l = o.color.light.a ? "<path " + je(o.color.light, "fill") + ' d="M0 0h' + a + "v" + a + 'H0z"/>' : "", c = "<path " + je(o.color.dark, "stroke") + ' d="' + An(s, n, o.margin) + '"/>', m = 'viewBox="0 0 ' + a + " " + a + '"', g = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + m + ' shape-rendering="crispEdges">' + l + c + `</svg>
1459
+ const o = En.getOptions(i), n = e.modules.size, s = e.modules.data, a = n + o.margin * 2, l = o.color.light.a ? "<path " + je(o.color.light, "fill") + ' d="M0 0h' + a + "v" + a + 'H0z"/>' : "", u = "<path " + je(o.color.dark, "stroke") + ' d="' + An(s, n, o.margin) + '"/>', m = 'viewBox="0 0 ' + a + " " + a + '"', g = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + m + ' shape-rendering="crispEdges">' + l + u + `</svg>
1460
1460
  `;
1461
1461
  return typeof r == "function" && r(null, g), g;
1462
1462
  };
@@ -1472,12 +1472,12 @@ function Re(t, e, i, r, o) {
1472
1472
  } else {
1473
1473
  if (s < 1)
1474
1474
  throw new Error("Too few arguments provided");
1475
- return s === 1 ? (i = e, e = r = void 0) : s === 2 && !e.getContext && (r = i, i = e, e = void 0), new Promise(function(l, c) {
1475
+ return s === 1 ? (i = e, e = r = void 0) : s === 2 && !e.getContext && (r = i, i = e, e = void 0), new Promise(function(l, u) {
1476
1476
  try {
1477
1477
  const m = _e.create(i, r);
1478
1478
  l(t(m, e, r));
1479
1479
  } catch (m) {
1480
- c(m);
1480
+ u(m);
1481
1481
  }
1482
1482
  });
1483
1483
  }
@@ -1504,17 +1504,17 @@ async function Sn(t, e = 350) {
1504
1504
  console.error(i);
1505
1505
  }
1506
1506
  }
1507
- var In = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedmedev.cc", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
1507
+ var In = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedmedev.vip", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
1508
1508
  const _n = { class: "flex items-start" }, Tn = { class: "flex flex-col gap-16 mt-16" }, Pn = ["src"], Nn = /* @__PURE__ */ Ge({
1509
1509
  __name: "LinkDeviceDialog",
1510
1510
  setup(t) {
1511
- const e = Be(), i = Xe(), r = Qe(), o = O(), n = O(), s = In.crmUrl, a = O(), l = Ee(() => i.membership), c = Ee(() => {
1511
+ const e = Be(), i = Xe(), r = Qe(), o = O(), n = O(), s = In.crmUrl, a = O(), l = Ee(() => i.membership), u = Ee(() => {
1512
1512
  var g, f;
1513
1513
  return `https://${(g = l.value) != null && g.url ? l.value.url : (f = l.value) == null ? void 0 : f.business}.${s}`;
1514
1514
  });
1515
1515
  async function m(g) {
1516
1516
  const f = await We.getOtp(g);
1517
- return `${c.value}?link-device=${f.otp}`;
1517
+ return `${u.value}?link-device=${f.otp}`;
1518
1518
  }
1519
1519
  async function B(g) {
1520
1520
  const f = await m(g);
@@ -1569,19 +1569,19 @@ const _n = { class: "flex items-start" }, Tn = { class: "flex flex-col gap-16 mt
1569
1569
  };
1570
1570
  }
1571
1571
  });
1572
- var Ce = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedmedev.cc", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
1572
+ var Ce = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedmedev.vip", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
1573
1573
  const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 border-b border-fm-color-neutral-gray-100" }, Rn = { class: "fm-typo-en-title-md-800" }, Ln = {
1574
1574
  key: 0,
1575
1575
  class: "px-24 gap-32 grid grid-cols-3 xs:pt-16"
1576
1576
  }, Fn = { class: "col-span-2 flex flex-col xs:col-span-3 space-y-8" }, kn = { class: "fm-typo-en-title-sm-800" }, Dn = { class: "space-y-24" }, Vn = { class: "space-y-8" }, $n = { class: "fm-typo-en-title-sm-800" }, xn = { class: "fm-typo-body-lg-400" }, zn = { class: "fm-typo-body-md-400 text-fm-color-typo-secondary" }, Hn = { class: "fm-typo-body-md-400 text-fm-color-typo-secondary" }, On = { class: "space-y-8" }, Kn = { class: "fm-typo-en-title-sm-800 flex items-center gap-8" }, Yn = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Jn = { class: "space-y-8" }, jn = { class: "space-y-8" }, Gn = { class: "space-y-8" }, qn = { class: "space-y-8" }, Qn = { class: "space-y-8" }, Wn = { class: "fm-typo-en-title-sm-800 flex items-center gap-8" }, Xn = { class: "space-y-8" }, Zn = { class: "space-y-8" }, eo = { class: "flex justify-end pb-24" }, to = { class: "col-span-1 space-y-8 xs:hidden" }, no = { class: "fm-typo-en-body-lg-600" }, oo = { class: "fm-typo-en-body-lg-600" }, ro = { class: "fm-typo-en-body-lg-600" }, io = { class: "fm-typo-en-body-lg-600" }, _o = /* @__PURE__ */ Ge({
1577
1577
  __name: "Setting",
1578
1578
  setup(t) {
1579
- const e = Ut(), i = At(), r = Nt(), o = Be(), n = Xe(), { global: s, minor: a } = Et, l = Qe(), c = O(), m = O([]), B = O(null), g = Bt, f = [
1579
+ const e = Ut(), i = At(), r = Nt(), o = Be(), n = Xe(), { global: s, minor: a } = Et, l = Qe(), u = O(), m = O([]), B = O(null), g = Bt, f = [
1580
1580
  (A) => !A || A.length >= 6 || "Invalid URL format, please enter at least 6 characters",
1581
1581
  (A) => !A || new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/).test(A) || "Invalid URL format, url should start with a letter or number and can only include lowercase letters, numbers, or hyphens"
1582
1582
  ], v = Ce.appUrl, C = Ee(() => {
1583
1583
  var A;
1584
- return `https://${(A = c.value) == null ? void 0 : A.business}.${v}`;
1584
+ return `https://${(A = u.value) == null ? void 0 : A.business}.${v}`;
1585
1585
  }), _ = O(), { t: p } = Pt(), b = r.currentCountry.value || "MY", w = [
1586
1586
  "user.name",
1587
1587
  "user.gender",
@@ -1590,8 +1590,8 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1590
1590
  "membership.url"
1591
1591
  ].filter(
1592
1592
  (A) => {
1593
- var u;
1594
- return !((u = _t[b]) != null && u.includes(A));
1593
+ var c;
1594
+ return !((c = _t[b]) != null && c.includes(A));
1595
1595
  }
1596
1596
  );
1597
1597
  async function y() {
@@ -1620,13 +1620,13 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1620
1620
  await a(
1621
1621
  async () => {
1622
1622
  var V;
1623
- const A = Ft(c.value);
1624
- console.log(c.value), A.welcomeMessage && !((V = A.welcomeMessage) != null && V.content) && (A.welcomeMessage.content = "Hi there, you have been invited to join our membership"), console.log("Cleaned data", A);
1625
- const u = Mt.parse(A);
1626
- _.value === null && u.image ? await oe.delete(oe.coverImagePath()) : _.value && (u.image = await oe.update(
1623
+ const A = Ft(u.value);
1624
+ console.log(u.value), A.welcomeMessage && !((V = A.welcomeMessage) != null && V.content) && (A.welcomeMessage.content = "Hi there, you have been invited to join our membership");
1625
+ const c = Mt.parse(A);
1626
+ _.value === null && c.image ? await oe.delete(oe.coverImagePath()) : _.value && (c.image = await oe.update(
1627
1627
  oe.coverImagePath(),
1628
1628
  _.value
1629
- )), await Oe.update(u), await n.readMembership(), c.value = n.membership;
1629
+ )), await Oe.update(c), await n.readMembership(), u.value = n.membership;
1630
1630
  },
1631
1631
  {
1632
1632
  message: "Updating membership",
@@ -1636,7 +1636,7 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1636
1636
  }
1637
1637
  async function T() {
1638
1638
  const A = await Oe.getEmailAddresses();
1639
- console.log(A), m.value = A, B.value = A.find((u) => u.default.includes("Marketing"));
1639
+ console.log(A), m.value = A, B.value = A.find((c) => c.default.includes("Marketing"));
1640
1640
  }
1641
1641
  async function N() {
1642
1642
  window.open(
@@ -1650,9 +1650,9 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1650
1650
  }
1651
1651
  return qe(async () => {
1652
1652
  await s(async () => {
1653
- await o.readPremium(), await o.readLocations(), await o.readLocationDevices(), await n.readMembership(), await T(), c.value = n.membership;
1653
+ await o.readPremium(), await o.readLocations(), await o.readLocationDevices(), await n.readMembership(), await T(), u.value = n.membership;
1654
1654
  });
1655
- }), (A, u) => {
1655
+ }), (A, c) => {
1656
1656
  var Fe, ke, De, Ve, $e, xe, ze;
1657
1657
  const V = L("FmPageHead"), P = L("FmButton"), ee = L("FmTextField"), fe = L("FmCard"), Le = L("FmPill"), pt = L("FmSelect"), me = L("FmSwitch"), yt = L("FmMenuDivider");
1658
1658
  return H(), te(he, null, [
@@ -1667,26 +1667,26 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1667
1667
  variant: "tertiary"
1668
1668
  })
1669
1669
  ]),
1670
- d(c) ? (H(), te("div", Ln, [
1670
+ d(u) ? (H(), te("div", Ln, [
1671
1671
  h("div", Fn, [
1672
1672
  h("div", kn, R(d(p)("connect.setting.basicInfo.title")), 1),
1673
1673
  h("div", Dn, [
1674
1674
  S(ee, {
1675
1675
  label: d(p)("connect.setting.basicInfo.membershipTitle"),
1676
- modelValue: d(c).name,
1677
- "onUpdate:modelValue": u[0] || (u[0] = (E) => d(c).name = E)
1676
+ modelValue: d(u).name,
1677
+ "onUpdate:modelValue": c[0] || (c[0] = (E) => d(u).name = E)
1678
1678
  }, null, 8, ["label", "modelValue"]),
1679
1679
  S(ee, {
1680
1680
  disabled: !0,
1681
- "model-value": d(c).business,
1681
+ "model-value": d(u).business,
1682
1682
  rules: f,
1683
1683
  required: !0,
1684
1684
  label: d(p)("connect.setting.basicInfo.memberAppUrl"),
1685
1685
  "helper-text": d(C),
1686
- placeholder: d(c).business.toString(),
1687
- "onUpdate:modelValue": u[2] || (u[2] = (E) => d(c).url = E)
1686
+ placeholder: d(u).business.toString(),
1687
+ "onUpdate:modelValue": c[2] || (c[2] = (E) => d(u).url = E)
1688
1688
  }, {
1689
- prepend: K(() => [...u[14] || (u[14] = [
1689
+ prepend: K(() => [...c[14] || (c[14] = [
1690
1690
  q(" https:// ", -1)
1691
1691
  ])]),
1692
1692
  append: K(() => [
@@ -1694,7 +1694,7 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1694
1694
  S(P, {
1695
1695
  icon: "content_copy",
1696
1696
  variant: "tertiary",
1697
- onClick: u[1] || (u[1] = (E) => d(Ze)(d(C)))
1697
+ onClick: c[1] || (c[1] = (E) => d(Ze)(d(C)))
1698
1698
  })
1699
1699
  ]),
1700
1700
  _: 1
@@ -1732,7 +1732,7 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1732
1732
  ]),
1733
1733
  h("div", On, [
1734
1734
  h("div", Kn, [
1735
- u[15] || (u[15] = q(" Advertisement ", -1)),
1735
+ c[15] || (c[15] = q(" Advertisement ", -1)),
1736
1736
  S(Le, { variant: "premium" })
1737
1737
  ]),
1738
1738
  S(fe, {
@@ -1743,15 +1743,15 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1743
1743
  var E;
1744
1744
  return [
1745
1745
  h("div", null, [
1746
- u[16] || (u[16] = h("div", { class: "fm-typo-en-body-lg-600" }, "Manage Advertisements", -1)),
1747
- h("div", Yn, R(((E = d(c).advertisements) == null ? void 0 : E.length) ?? 0) + " active ad(s) showing on FeedMe ordering app ", 1)
1746
+ c[16] || (c[16] = h("div", { class: "fm-typo-en-body-lg-600" }, "Manage Advertisements", -1)),
1747
+ h("div", Yn, R(((E = d(u).advertisements) == null ? void 0 : E.length) ?? 0) + " active ad(s) showing on FeedMe ordering app ", 1)
1748
1748
  ]),
1749
1749
  S(P, {
1750
1750
  label: "Manage",
1751
1751
  icon: "arrow_forward",
1752
1752
  "icon-position": "right",
1753
1753
  disabled: !d(o).isPremium,
1754
- onClick: u[4] || (u[4] = (F) => d(e).push({
1754
+ onClick: c[4] || (c[4] = (F) => d(e).push({
1755
1755
  name: d(Rt)["$connect-SETTING_ADVERTISEMENTS"]
1756
1756
  }))
1757
1757
  }, null, 8, ["disabled"])
@@ -1761,25 +1761,25 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1761
1761
  })
1762
1762
  ]),
1763
1763
  h("div", Jn, [
1764
- u[17] || (u[17] = h("div", { class: "fm-typo-en-title-sm-800" }, "SMS", -1)),
1764
+ c[17] || (c[17] = h("div", { class: "fm-typo-en-title-sm-800" }, "SMS", -1)),
1765
1765
  S(ee, {
1766
- "model-value": ((Fe = d(c)) == null ? void 0 : Fe.brand) || "",
1766
+ "model-value": ((Fe = d(u)) == null ? void 0 : Fe.brand) || "",
1767
1767
  "max-length": 15,
1768
1768
  label: "Brand Name",
1769
1769
  "show-word-count": "",
1770
- "helper-text": `RM 0 ${((ke = d(c)) == null ? void 0 : ke.brand) || ""}: YOUR CUSTOMER MESSAGE`,
1771
- "onUpdate:modelValue": u[5] || (u[5] = (E) => d(c).brand = E)
1770
+ "helper-text": `RM 0 ${((ke = d(u)) == null ? void 0 : ke.brand) || ""}: YOUR CUSTOMER MESSAGE`,
1771
+ "onUpdate:modelValue": c[5] || (c[5] = (E) => d(u).brand = E)
1772
1772
  }, null, 8, ["model-value", "helper-text"]),
1773
1773
  S(Tt, {
1774
- modelValue: d(c).welcomeMessage,
1775
- "onUpdate:modelValue": u[6] || (u[6] = (E) => d(c).welcomeMessage = E),
1774
+ modelValue: d(u).welcomeMessage,
1775
+ "onUpdate:modelValue": c[6] || (c[6] = (E) => d(u).welcomeMessage = E),
1776
1776
  variables: d(w),
1777
1777
  placeholder: "Hi there, you have been invited to join membership"
1778
1778
  }, null, 8, ["modelValue", "variables"])
1779
1779
  ]),
1780
1780
  h("div", jn, [
1781
- u[18] || (u[18] = h("div", { class: "fm-typo-en-title-sm-800" }, "Email", -1)),
1782
- u[19] || (u[19] = h("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Email address that will be used to send email broadcast ", -1)),
1781
+ c[18] || (c[18] = h("div", { class: "fm-typo-en-title-sm-800" }, "Email", -1)),
1782
+ c[19] || (c[19] = h("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Email address that will be used to send email broadcast ", -1)),
1783
1783
  d(m).length ? ne("", !0) : (H(), Ae(P, {
1784
1784
  key: 0,
1785
1785
  onClick: N,
@@ -1787,54 +1787,54 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1787
1787
  })),
1788
1788
  d(m).length ? (H(), te(he, { key: 1 }, [
1789
1789
  S(pt, {
1790
- "model-value": ((Ve = (De = d(c)) == null ? void 0 : De.email) == null ? void 0 : Ve.from) || null,
1790
+ "model-value": ((Ve = (De = d(u)) == null ? void 0 : De.email) == null ? void 0 : Ve.from) || null,
1791
1791
  label: "From Address",
1792
1792
  items: d(m).map((E) => ({
1793
1793
  label: E.emailAddress,
1794
1794
  value: E.emailAddress
1795
1795
  })),
1796
1796
  placeholder: d(B) ? d(B).emailAddress : "No email address available",
1797
- "onUpdate:modelValue": u[7] || (u[7] = (E) => {
1797
+ "onUpdate:modelValue": c[7] || (c[7] = (E) => {
1798
1798
  var F, $;
1799
- (F = d(c)) != null && F.email || (d(c).email = {
1799
+ (F = d(u)) != null && F.email || (d(u).email = {
1800
1800
  from: E,
1801
1801
  name: ($ = d(m).find((ge) => ge.emailAddress == E)) == null ? void 0 : $.name
1802
- }), d(c).email.from = E || null;
1802
+ }), d(u).email.from = E || null;
1803
1803
  }),
1804
1804
  rules: [d(He).ruleAtPath(d(g), "email.from")]
1805
1805
  }, null, 8, ["model-value", "items", "placeholder", "rules"]),
1806
1806
  S(ee, {
1807
- "model-value": ((xe = ($e = d(c)) == null ? void 0 : $e.email) == null ? void 0 : xe.name) || null,
1807
+ "model-value": ((xe = ($e = d(u)) == null ? void 0 : $e.email) == null ? void 0 : xe.name) || null,
1808
1808
  label: "Sender name",
1809
1809
  disabled: "",
1810
1810
  placeholder: ((ze = d(B)) == null ? void 0 : ze.name) || null,
1811
- "onUpdate:modelValue": u[8] || (u[8] = (E) => {
1811
+ "onUpdate:modelValue": c[8] || (c[8] = (E) => {
1812
1812
  var F;
1813
- (F = d(c)) != null && F.email || (d(c).email = {
1813
+ (F = d(u)) != null && F.email || (d(u).email = {
1814
1814
  name: E
1815
- }), d(c).email.name = E || null;
1815
+ }), d(u).email.name = E || null;
1816
1816
  }),
1817
1817
  rules: [d(He).ruleAtPath(d(g), "email.name")]
1818
1818
  }, null, 8, ["model-value", "placeholder", "rules"])
1819
1819
  ], 64)) : ne("", !0)
1820
1820
  ]),
1821
1821
  h("div", Gn, [
1822
- u[20] || (u[20] = h("div", { class: "fm-typo-en-title-sm-800" }, "Whatsapp Channel", -1)),
1823
- u[21] || (u[21] = h("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Whatsapp phone number that will be used to send whatsapp broadcast ", -1)),
1822
+ c[20] || (c[20] = h("div", { class: "fm-typo-en-title-sm-800" }, "Whatsapp Channel", -1)),
1823
+ c[21] || (c[21] = h("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Whatsapp phone number that will be used to send whatsapp broadcast ", -1)),
1824
1824
  S(P, {
1825
1825
  label: "Manage Whatsapp Channel",
1826
1826
  icon: "open_in_new",
1827
- onClick: u[9] || (u[9] = (E) => k())
1827
+ onClick: c[9] || (c[9] = (E) => k())
1828
1828
  })
1829
1829
  ]),
1830
1830
  h("div", qn, [
1831
- u[22] || (u[22] = h("div", { class: "fm-typo-en-title-sm-800" }, [
1831
+ c[22] || (c[22] = h("div", { class: "fm-typo-en-title-sm-800" }, [
1832
1832
  q(" Free Credit as Discount "),
1833
1833
  h("span", { class: "fm-typo-en-body-md-400 text-fm-color-typo-error" }, "*POS v6.56 or above")
1834
1834
  ], -1)),
1835
1835
  S(me, {
1836
- "model-value": d(c).freeCreditAsDiscount ?? !1,
1837
- "onUpdate:modelValue": u[10] || (u[10] = (E) => d(c).freeCreditAsDiscount = E),
1836
+ "model-value": d(u).freeCreditAsDiscount ?? !1,
1837
+ "onUpdate:modelValue": c[10] || (c[10] = (E) => d(u).freeCreditAsDiscount = E),
1838
1838
  label: "Free Credit as Discount",
1839
1839
  sublabel: "When enabled, this will allow free credit to be used as discount in the bill (POS >=v6.56)",
1840
1840
  "label-placement": "right",
@@ -1843,12 +1843,12 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1843
1843
  ]),
1844
1844
  h("div", Qn, [
1845
1845
  h("div", Wn, [
1846
- u[23] || (u[23] = q(" Member Card ", -1)),
1846
+ c[23] || (c[23] = q(" Member Card ", -1)),
1847
1847
  S(Le, { variant: "premium" })
1848
1848
  ]),
1849
1849
  S(me, {
1850
- "model-value": d(c).cardEnable ?? !1,
1851
- "onUpdate:modelValue": u[11] || (u[11] = (E) => d(c).cardEnable = E),
1850
+ "model-value": d(u).cardEnable ?? !1,
1851
+ "onUpdate:modelValue": c[11] || (c[11] = (E) => d(u).cardEnable = E),
1852
1852
  label: "",
1853
1853
  sublabel: "Allow member to bind card via member app",
1854
1854
  "label-placement": "right",
@@ -1857,10 +1857,10 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1857
1857
  }, null, 8, ["model-value", "disabled"])
1858
1858
  ]),
1859
1859
  h("div", Xn, [
1860
- u[24] || (u[24] = h("div", { class: "fm-typo-en-title-sm-800 flex items-center gap-8" }, " Auto Revert Reward ", -1)),
1860
+ c[24] || (c[24] = h("div", { class: "fm-typo-en-title-sm-800 flex items-center gap-8" }, " Auto Revert Reward ", -1)),
1861
1861
  S(me, {
1862
- "model-value": d(c).autoRevertReward ?? !1,
1863
- "onUpdate:modelValue": u[12] || (u[12] = (E) => d(c).autoRevertReward = E),
1862
+ "model-value": d(u).autoRevertReward ?? !1,
1863
+ "onUpdate:modelValue": c[12] || (c[12] = (E) => d(u).autoRevertReward = E),
1864
1864
  label: "",
1865
1865
  sublabel: "When enabled, rewards are automatically revert when if a refund is processed in POS",
1866
1866
  "label-placement": "right",
@@ -1868,11 +1868,11 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1868
1868
  }, null, 8, ["model-value"])
1869
1869
  ]),
1870
1870
  h("div", Zn, [
1871
- u[25] || (u[25] = h("div", { class: "fm-typo-en-title-sm-800" }, "Activation Location", -1)),
1871
+ c[25] || (c[25] = h("div", { class: "fm-typo-en-title-sm-800" }, "Activation Location", -1)),
1872
1872
  S(It, {
1873
1873
  label: "Select restaurant",
1874
- "model-value": d(c).targetLocation ?? null,
1875
- "onUpdate:modelValue": u[13] || (u[13] = (E) => d(c).targetLocation = E)
1874
+ "model-value": d(u).targetLocation ?? null,
1875
+ "onUpdate:modelValue": c[13] || (c[13] = (E) => d(u).targetLocation = E)
1876
1876
  }, null, 8, ["model-value"])
1877
1877
  ]),
1878
1878
  h("div", eo, [
@@ -1894,23 +1894,23 @@ const Un = { class: "hidden xs:flex items-center justify-between px-16 py-12 bor
1894
1894
  default: K(() => {
1895
1895
  var E, F, $;
1896
1896
  return [
1897
- u[30] || (u[30] = h("div", { class: "fm-typo-en-body-lg-600" }, "Loyalty setting summary", -1)),
1897
+ c[30] || (c[30] = h("div", { class: "fm-typo-en-body-lg-600" }, "Loyalty setting summary", -1)),
1898
1898
  S(yt, { class: "my-4" }),
1899
1899
  h("div", null, [
1900
- u[26] || (u[26] = h("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Name ", -1)),
1901
- h("div", no, R(d(c).name), 1)
1900
+ c[26] || (c[26] = h("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Name ", -1)),
1901
+ h("div", no, R(d(u).name), 1)
1902
1902
  ]),
1903
1903
  h("div", null, [
1904
- u[27] || (u[27] = h("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Advertisement ", -1)),
1905
- h("div", oo, R((((E = d(c).advertisements) == null ? void 0 : E.length) ?? 0) || "No advertisments"), 1)
1904
+ c[27] || (c[27] = h("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Advertisement ", -1)),
1905
+ h("div", oo, R((((E = d(u).advertisements) == null ? void 0 : E.length) ?? 0) || "No advertisments"), 1)
1906
1906
  ]),
1907
1907
  h("div", null, [
1908
- u[28] || (u[28] = h("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Free Credit as Discount ", -1)),
1909
- h("div", ro, R(d(c).freeCreditAsDiscount ? "Enabled" : "Disabled"), 1)
1908
+ c[28] || (c[28] = h("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Free Credit as Discount ", -1)),
1909
+ h("div", ro, R(d(u).freeCreditAsDiscount ? "Enabled" : "Disabled"), 1)
1910
1910
  ]),
1911
1911
  h("div", null, [
1912
- u[29] || (u[29] = h("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Activated locations ", -1)),
1913
- h("div", io, R(!d(c).targetLocation || d(c).targetLocation.length == d(Be)().locations.length ? "All locations" : ($ = (F = d(c)) == null ? void 0 : F.targetLocation) == null ? void 0 : $.map(
1912
+ c[29] || (c[29] = h("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Activated locations ", -1)),
1913
+ h("div", io, R(!d(u).targetLocation || d(u).targetLocation.length == d(Be)().locations.length ? "All locations" : ($ = (F = d(u)) == null ? void 0 : F.targetLocation) == null ? void 0 : $.map(
1914
1914
  (ge) => d(o).locations.find((wt) => wt._id == ge).name
1915
1915
  ).join(", ")), 1)
1916
1916
  ])