@feedmepos/mf-connect 0.1.63-prod → 0.1.65-prod

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 (92) hide show
  1. package/dist/{Analytic-CG3hA6fW.js → Analytic-C5DE9NQJ.js} +27 -28
  2. package/dist/{App-CQUFVNES.js → App-DgEd6GLa.js} +7 -7
  3. package/dist/{Bin-whBityJo.js → Bin-DyWpGeoP.js} +8 -8
  4. package/dist/{Broadcast-BRgmIWF2.js → Broadcast-eqjJulx4.js} +10 -11
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DfATb_0G.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BfgttR2V.js} +6 -6
  6. package/dist/{Card-BgIT9bSV.js → Card-hFexO-iT.js} +16 -16
  7. package/dist/{Collections-DgBll2HL.js → Collections-BtBugjnH.js} +179 -165
  8. package/dist/{Credit-FVqQqTve.js → Credit-98wQjJxS.js} +10 -11
  9. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CIApefkS.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-IrMeqHYK.js} +31 -31
  10. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CVRvxR02.js → EffectSheet.vue_vue_type_style_index_0_lang-QM5-F282.js} +6 -6
  11. package/dist/{Experience-C23g_MfA.js → Experience-eVl9fAYr.js} +27 -28
  12. package/dist/{Game-CqbQTIqS.js → Game-C1oQthuo.js} +11 -12
  13. package/dist/{Index-D32I90Uf.js → Index-BACzirfP.js} +10 -10
  14. package/dist/{Marketing-ApmF9GMZ.js → Marketing-BOuh3JQF.js} +6 -6
  15. package/dist/{Member-p-MDnwdo.js → Member-DHcw5SAF.js} +10 -10
  16. package/dist/{MemberList-CWS216Oq.js → MemberList-BNVIjVXb.js} +25 -25
  17. package/dist/{MemberTransactions-1NaCYExP.js → MemberTransactions-DMpNrtT4.js} +1 -1
  18. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Ds28eMF3.js → MessageInput.vue_vue_type_script_setup_true_lang-MYkwax61.js} +7 -7
  19. package/dist/{Mission-D2EklQ6k.js → Mission-O9thc-xh.js} +19 -20
  20. package/dist/{Overview-Q2_jChHL.js → Overview-DYDTEJpf.js} +18 -18
  21. package/dist/{Point-D7IFoiQ5.js → Point-AoMfVDyc.js} +10 -11
  22. package/dist/{Promotion-BMKAj_VJ.js → Promotion-Bdmmnd5n.js} +11 -12
  23. package/dist/{Queue-CckukUf2.js → Queue-C59v4zpR.js} +10 -10
  24. package/dist/{Record-sjJx9Rxr.js → Record-DJimfMy6.js} +8 -8
  25. package/dist/{Reward-C33_2GAs.js → Reward-DoRA5oe0.js} +15 -15
  26. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-4Ah1HGJW.js → RewardGroup.vue_vue_type_script_setup_true_lang-ys_Vh6MC.js} +11 -11
  27. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-CpDZBVmB.js → RuleGroup.vue_vue_type_script_setup_true_lang-ClQbIu9q.js} +13 -13
  28. package/dist/{Segment-CR4_Y82e.js → Segment-B1bvEg9R.js} +22 -22
  29. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-CDZw5i96.js → SelectItems.vue_vue_type_script_setup_true_lang-BKdjRWtr.js} +2 -2
  30. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-pW_AdLpP.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CDOOVRwr.js} +11 -11
  31. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BS62Yf0v.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CvZRK_DV.js} +3 -3
  32. package/dist/{Setting-D4RTLzZM.js → Setting-puwRxs7w.js} +12 -12
  33. package/dist/{SettingAdvertisements-Cc9IMI41.js → SettingAdvertisements-D0e9lyCy.js} +65 -63
  34. package/dist/Store-BSbLeEpY.js +1924 -0
  35. package/dist/{StoreRewards-CzrZS5Au.js → StoreRewards-DDtlg3wU.js} +13 -13
  36. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Ci3xQrAn.js → StoreTransactions.vue_vue_type_script_setup_true_lang-xWPIvf68.js} +361 -343
  37. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DG7dPhv0.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-6gvUWrB_.js} +1 -1
  38. package/dist/{Tier-9-iKsHxM.js → Tier-C3ZY5wI7.js} +97 -98
  39. package/dist/{Title-C6TY3BbS.js → Title-D9FHvMc0.js} +27 -28
  40. package/dist/{Transaction-BGxgNf0y.js → Transaction-hopVsT0g.js} +2 -2
  41. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-xiH9sxVn.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-CsL3d7xM.js} +6 -6
  42. package/dist/{Voucher-Cdh0PqeF.js → Voucher-D1WfKPnA.js} +132 -117
  43. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BRw2nedI.js → VoucherEditor.vue_vue_type_script_setup_true_lang-BCorf-T-.js} +10 -10
  44. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-D6En5sRQ.js → ZodTextField.vue_vue_type_script_setup_true_lang-fp4U_C6t.js} +1 -1
  45. package/dist/{app-DIFcDSPz.js → app-BOEkcROx.js} +1 -1
  46. package/dist/{app-qOoNoXsj.js → app-VcIY7uz8.js} +496 -454
  47. package/dist/app.js +1 -1
  48. package/dist/{business-D8WOIwU3.js → business-CxrnbBG7.js} +1 -1
  49. package/dist/{campaign-B5Zcg5dG.js → campaign-DOOGvk7s.js} +9 -9
  50. package/dist/campaign-OdVtlvIh.js +213 -0
  51. package/dist/{campaign.enum-BVGqtpbT.js → campaign.enum-jzknDWsU.js} +1 -1
  52. package/dist/{campaign.fn-BJksX0lC.js → campaign.fn-C8KE-0gy.js} +40 -40
  53. package/dist/{collectible.enum-CDt5sCg-.js → collectible.enum-GH2dIJq0.js} +1 -1
  54. package/dist/{collection.fn-BmkwrIEt.js → collection.fn-BAhwf5Jh.js} +2 -2
  55. package/dist/{dto-BazhL1Wz.js → dto-B7m1l1UL.js} +4 -4
  56. package/dist/{effect-CERxlyga.js → effect-Cu0scI-k.js} +1 -1
  57. package/dist/{email-addresses-XWcL2s8u.js → email-addresses-C0c1x8Vz.js} +1 -1
  58. package/dist/{export-Ctk6xkHX.js → export-BR2VkJmz.js} +3 -3
  59. package/dist/{helper-C36sBB0k.js → helper-DNkQl8J2.js} +1 -1
  60. package/dist/{index-CYHzkVmf.js → index-BsQsj910.js} +3 -3
  61. package/dist/{index-BHPj_XYw.js → index-ByfJpxsf.js} +4 -4
  62. package/dist/{index-B9gRFG1Q.js → index-C23lCiVv.js} +1 -1
  63. package/dist/{index-Dz55oJOD.js → index-CO55xRbh.js} +530 -523
  64. package/dist/{index-D-cA3r-f.js → index-C_rW5Zzv.js} +1 -1
  65. package/dist/{index-1xCqie-s.js → index-CszV-kA7.js} +1 -1
  66. package/dist/{index-COJnc6ip.js → index-DWMboOMi.js} +1 -1
  67. package/dist/{index-Dr1iOdke.js → index-Dfi4M9Ap.js} +112 -104
  68. package/dist/{index-BSdS5JkE.js → index-DlgPQvBd.js} +1 -1
  69. package/dist/{index-BGirRSvf.js → index-Drvx6WWC.js} +1 -1
  70. package/dist/{index-Ctu4ZSkP.js → index-RkjhZsEw.js} +1 -1
  71. package/dist/{index-BhcuNARt.js → index-WCOWzb_D.js} +3 -3
  72. package/dist/{index-BAjS-mNm.js → index-WY8Y3SjU.js} +3 -3
  73. package/dist/{index.esm2017-CwEbNcAn.js → index.esm2017-DBFvix-C.js} +1 -1
  74. package/dist/{loading-DsAWzrAU.js → loading-DfP4ZQcW.js} +1 -1
  75. package/dist/{membership-CIWA-YIz.js → membership-CiLwVV-2.js} +3 -3
  76. package/dist/{money-B8_RYpfI.js → money-B92Ui9aH.js} +1 -1
  77. package/dist/{number-ClNyxrPX.js → number-CHYDMZpy.js} +1 -1
  78. package/dist/{objectid-B7Hb21TR.js → objectid-CsToJ4hH.js} +6 -6
  79. package/dist/{plugins-BaCcQwW_.js → plugins-GAf1L8Pd.js} +2 -2
  80. package/dist/{reward-Br3L7Y4x.js → reward-FLVXCKuH.js} +1 -1
  81. package/dist/{rule-CELh8Paa.js → rule-BHV4bC-1.js} +3 -3
  82. package/dist/{rule-builder-Dw3JpYy8.js → rule-builder-5WcDxoUM.js} +1 -1
  83. package/dist/{template-BIOneLeZ.js → template-C-y0046H.js} +4 -4
  84. package/dist/{timezone-Jr40C0YQ.js → timezone-Bdf9qSCF.js} +1 -1
  85. package/dist/{trigger-Bl_yRkKF.js → trigger-CjZQ4Gch.js} +4 -4
  86. package/dist/{user-C3J0hjK-.js → user-C5qgJUwB.js} +1 -1
  87. package/dist/{vue-i18n-DbCbvmTz.js → vue-i18n-6i4pn5bC.js} +99 -99
  88. package/dist/{xlsx-ClGRNHcc.js → xlsx-C4iuxJ6i.js} +166 -166
  89. package/package.json +1 -1
  90. package/dist/Store-BTE44D1j.js +0 -1842
  91. package/dist/campaign-IEgssyOs.js +0 -94
  92. package/dist/index-DTvC-nBb.js +0 -124
@@ -1,52 +1,54 @@
1
- import { defineComponent as J, ref as y, computed as E, onMounted as K, resolveComponent as A, openBlock as u, createElementBlock as b, createElementVNode as s, createVNode as d, createTextVNode as W, toDisplayString as v, unref as e, withCtx as S, createBlock as B, Fragment as Y, renderList as Z, createCommentVNode as N, isRef as ee } from "vue";
2
- import { u as te } from "./loading-DsAWzrAU.js";
1
+ import { defineComponent as J, ref as y, computed as z, onMounted as K, resolveComponent as A, openBlock as u, createElementBlock as b, createElementVNode as s, createVNode as d, createTextVNode as W, toDisplayString as v, unref as e, withCtx as S, createBlock as B, Fragment as Y, renderList as Z, createCommentVNode as N, isRef as ee } from "vue";
2
+ import { u as te } from "./loading-DfP4ZQcW.js";
3
3
  import { u as ne } from "./app-wDQR6dpb.js";
4
- import { u as se } from "./business-D8WOIwU3.js";
5
- import { u as oe } from "./membership-CIWA-YIz.js";
6
- import "./index-BAjS-mNm.js";
7
- import { k as ae } from "./index-BHPj_XYw.js";
4
+ import { u as se } from "./business-CxrnbBG7.js";
5
+ import { u as oe } from "./membership-CiLwVV-2.js";
6
+ import "./index-WY8Y3SjU.js";
7
+ import { k as ae } from "./index-ByfJpxsf.js";
8
+ import "./index-DWMboOMi.js";
8
9
  import { _ as le } from "./ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js";
9
- import { f as Q, p as ie } from "./plugins-BaCcQwW_.js";
10
- import { _ as re } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-DG7dPhv0.js";
11
- import { u as ce } from "./vue-i18n-DbCbvmTz.js";
10
+ import { f as D, p as ie } from "./plugins-GAf1L8Pd.js";
11
+ import { _ as re } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-6gvUWrB_.js";
12
+ import { u as ce } from "./vue-i18n-6i4pn5bC.js";
12
13
  import { useRouter as de } from "vue-router";
13
- import { m as me } from "./index-1xCqie-s.js";
14
- import { a as ue } from "./object-qECH92oz.js";
15
- const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class: "bg-white border-b border-fm-color-neutral-gray-100 sticky top-0 z-10" }, fe = { class: "px-24 py-16 flex items-center justify-between" }, ge = { class: "flex items-center gap-16" }, _e = { class: "fm-typo-en-title-md-800 flex items-center gap-8" }, he = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, ye = {
14
+ import { m as me } from "./index-CszV-kA7.js";
15
+ import { R as ue } from "./app-VcIY7uz8.js";
16
+ import { a as ve } from "./object-qECH92oz.js";
17
+ const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class: "bg-white border-b border-fm-color-neutral-gray-100 sticky top-0 z-10" }, ge = { class: "px-24 py-16 flex items-center justify-between" }, _e = { class: "flex items-center gap-16" }, he = { class: "fm-typo-en-title-md-800 flex items-center gap-8" }, ye = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, be = {
16
18
  key: 0,
17
19
  class: "px-24 py-24"
18
- }, be = { class: "flex items-center gap-24 mb-24" }, we = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, xe = { class: "fm-typo-en-body-lg-600" }, ke = { class: "fm-typo-en-title-sm-800 mb-8" }, Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary mb-16" }, Ae = {
20
+ }, we = { class: "flex items-center gap-24 mb-24" }, xe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ke = { class: "fm-typo-en-body-lg-600" }, Se = { class: "fm-typo-en-title-sm-800 mb-8" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary mb-16" }, Ce = {
19
21
  key: 1,
20
22
  class: "grid grid-cols-5 gap-16 lg:grid-cols-4 md:grid-cols-3 sm:grid-cols-2"
21
- }, Ce = { class: "absolute top-8 right-8 z-10" }, Fe = { class: "aspect-[3/4] bg-fm-color-neutral-gray-100" }, je = ["src"], Le = ["src", "alt"], Ve = {
23
+ }, Fe = { class: "absolute top-8 right-8 z-10" }, je = { class: "aspect-[3/4] bg-fm-color-neutral-gray-100" }, Le = ["src"], Me = ["src", "alt"], Ve = {
22
24
  key: 2,
23
25
  class: "w-full h-full flex items-center justify-center text-fm-color-typo-disabled"
24
- }, Me = { class: "w-48 h-48 rounded-full bg-fm-color-neutral-gray-100 flex items-center justify-center mb-8" }, $e = { class: "fm-typo-en-body-md-600 mb-4" }, Be = { class: "fm-typo-en-body-xs-400 text-fm-color-typo-secondary" }, Pe = { class: "space-y-[40px]" }, Ie = { class: "flex" }, ze = { class: "flex flex-wrap" }, De = { class: "flex items-center gap-8" }, P = 20, Ze = /* @__PURE__ */ J({
26
+ }, $e = { class: "w-48 h-48 rounded-full bg-fm-color-neutral-gray-100 flex items-center justify-center mb-8" }, Be = { class: "fm-typo-en-body-md-600 mb-4" }, Ie = { class: "fm-typo-en-body-xs-400 text-fm-color-typo-secondary" }, Pe = { class: "space-y-[40px]" }, Ee = { class: "flex" }, Te = { class: "flex flex-wrap" }, ze = { class: "flex items-center gap-8" }, I = 20, nt = /* @__PURE__ */ J({
25
27
  __name: "SettingAdvertisements",
26
- setup(Ee) {
27
- const T = de(), C = ne(), V = se(), F = oe(), { global: U, minor: R } = te, { t: o } = ce(), c = y(), f = y([]), _ = y([]), w = y(!1), g = y(null), j = y(null), L = y(null), M = E(() => {
28
+ setup(Ne) {
29
+ const U = de(), C = ne(), M = se(), F = oe(), { global: Q, minor: R } = te, { t: o } = ce(), c = y(), f = y([]), _ = y([]), w = y(!1), g = y(null), j = y(null), L = y(null), V = z(() => {
28
30
  var n, t;
29
31
  return ((t = (n = c.value) == null ? void 0 : n.advertisements) == null ? void 0 : t.length) ?? 0;
30
- }), I = E(() => M.value < P);
32
+ }), P = z(() => V.value < I);
31
33
  function x(n) {
32
34
  var a, p;
33
35
  const t = (p = (a = c.value) == null ? void 0 : a.advertisements) == null ? void 0 : p[n];
34
36
  if (t)
35
37
  return typeof t == "string" ? t : t.url;
36
38
  }
37
- function q(n) {
39
+ function O(n) {
38
40
  return n ? [".mp4", ".webm", ".ogg", ".mov"].some((a) => n.toLowerCase().includes(a)) : !1;
39
41
  }
40
42
  async function $() {
41
43
  await R(
42
44
  async () => {
43
- const n = ue(c.value), t = ae.parse(n), a = Date.now(), p = (m) => `${a}-${m}-${Math.random().toString(36).substring(2, 15)}`, k = await Promise.all(
45
+ const n = ve(c.value), t = ae.parse(n), a = Date.now(), p = (m) => `${a}-${m}-${Math.random().toString(36).substring(2, 15)}`, k = await Promise.all(
44
46
  f.value.map(async (m, h) => {
45
47
  var r;
46
48
  const i = (r = t.advertisements) == null ? void 0 : r[h];
47
49
  let l;
48
- return m ? l = await Q.update(
49
- Q.advertisementPath(h, m),
50
+ return m ? l = await D.update(
51
+ D.advertisementPath(h, m),
50
52
  m
51
53
  ) : typeof i == "string" ? l = i : i && typeof i == "object" && (l = i.url), l ? {
52
54
  _id: typeof i == "object" && (i == null ? void 0 : i._id) || p(h),
@@ -64,18 +66,18 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
64
66
  }
65
67
  );
66
68
  }
67
- function z(n) {
69
+ function E(n) {
68
70
  g.value = n, j.value = f.value[n], L.value = _.value[n], w.value = !0;
69
71
  }
70
- function H() {
71
- if (!I.value) return;
72
+ function q() {
73
+ if (!P.value) return;
72
74
  const n = f.value.length;
73
- f.value.push(null), _.value.push(null), z(n);
75
+ f.value.push(null), _.value.push(null), E(n);
74
76
  }
75
- async function O() {
77
+ async function G() {
76
78
  g.value !== null && (f.value[g.value] = j.value, _.value[g.value] = L.value, await $(), w.value = !1);
77
79
  }
78
- async function X(n, t) {
80
+ async function H(n, t) {
79
81
  var a, p;
80
82
  n.stopPropagation(), await ie.remove(
81
83
  o("connect.setting.advertisement.deleteConfirm"),
@@ -83,34 +85,34 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
83
85
  o("connect.setting.advertisement.delete")
84
86
  ) && ((p = (a = c.value) == null ? void 0 : a.advertisements) == null || p.splice(t, 1), f.value.splice(t, 1), _.value.splice(t, 1), await $());
85
87
  }
86
- function G() {
87
- T.push("/setting");
88
+ function X() {
89
+ U.push({ name: ue["$connect-SETTING"] });
88
90
  }
89
91
  return K(async () => {
90
- await U(async () => {
92
+ await Q(async () => {
91
93
  var n, t;
92
- await V.readPremium(), await V.readLocations(), await F.readMembership(), c.value = F.membership, (t = (n = c.value) == null ? void 0 : n.advertisements) != null && t.length ? (f.value = c.value.advertisements.map(() => null), _.value = c.value.advertisements.map(
94
+ await M.readPremium(), await M.readLocations(), await F.readMembership(), c.value = F.membership, (t = (n = c.value) == null ? void 0 : n.advertisements) != null && t.length ? (f.value = c.value.advertisements.map(() => null), _.value = c.value.advertisements.map(
93
95
  (a) => typeof a == "string" ? null : a.targetLocation || null
94
96
  )) : (f.value = [], _.value = []);
95
97
  });
96
98
  }), (n, t) => {
97
99
  var i;
98
100
  const a = A("FmButton"), p = A("FmPill"), k = A("FmCard"), m = A("FmIcon"), h = A("FmSideSheet");
99
- return u(), b("div", ve, [
100
- s("div", pe, [
101
- s("div", fe, [
102
- s("div", ge, [
101
+ return u(), b("div", pe, [
102
+ s("div", fe, [
103
+ s("div", ge, [
104
+ s("div", _e, [
103
105
  d(a, {
104
106
  icon: "arrow_back",
105
107
  variant: "tertiary",
106
- onClick: G
108
+ onClick: X
107
109
  }),
108
110
  s("div", null, [
109
- s("div", _e, [
111
+ s("div", he, [
110
112
  W(v(e(o)("connect.setting.advertisement.title")) + " ", 1),
111
113
  d(p, { variant: "premium" })
112
114
  ]),
113
- s("div", he, v(e(o)("connect.setting.advertisement.subtitle")), 1)
115
+ s("div", ye, v(e(o)("connect.setting.advertisement.subtitle")), 1)
114
116
  ])
115
117
  ]),
116
118
  d(a, {
@@ -121,38 +123,38 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
121
123
  }, null, 8, ["label", "disabled", "loading"])
122
124
  ])
123
125
  ]),
124
- e(c) ? (u(), b("div", ye, [
125
- s("div", be, [
126
+ e(c) ? (u(), b("div", be, [
127
+ s("div", we, [
126
128
  d(k, {
127
129
  variant: "outlined",
128
130
  class: "px-16 py-12 flex items-center gap-8"
129
131
  }, {
130
132
  default: S(() => [
131
- s("span", we, v(e(o)("connect.setting.advertisement.activeAds")), 1),
132
- s("span", xe, v(e(M)) + " / " + v(P), 1)
133
+ s("span", xe, v(e(o)("connect.setting.advertisement.activeAds")), 1),
134
+ s("span", ke, v(e(V)) + " / " + v(I), 1)
133
135
  ]),
134
136
  _: 1
135
137
  })
136
138
  ]),
137
- e(V).isPremium ? (u(), b("div", Ae, [
139
+ e(M).isPremium ? (u(), b("div", Ce, [
138
140
  (u(!0), b(Y, null, Z(((i = e(c).advertisements) == null ? void 0 : i.length) || 0, (l, r) => (u(), B(k, {
139
141
  key: r,
140
142
  variant: "outlined",
141
143
  class: "cursor-pointer hover:shadow-lg transition-shadow overflow-hidden relative",
142
- onClick: (D) => z(r)
144
+ onClick: (T) => E(r)
143
145
  }, {
144
146
  default: S(() => [
145
- s("div", Ce, [
147
+ s("div", Fe, [
146
148
  d(a, {
147
149
  icon: "delete",
148
150
  variant: "tertiary",
149
151
  size: "sm",
150
152
  class: "bg-white/90 hover:bg-white shadow-sm",
151
- onClick: (D) => X(D, r)
153
+ onClick: (T) => H(T, r)
152
154
  }, null, 8, ["onClick"])
153
155
  ]),
154
- s("div", Fe, [
155
- x(r) && q(x(r)) ? (u(), b("video", {
156
+ s("div", je, [
157
+ x(r) && O(x(r)) ? (u(), b("video", {
156
158
  key: 0,
157
159
  src: x(r),
158
160
  class: "w-full h-full object-cover",
@@ -160,12 +162,12 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
160
162
  loop: "",
161
163
  autoplay: "",
162
164
  playsinline: ""
163
- }, null, 8, je)) : x(r) ? (u(), b("img", {
165
+ }, null, 8, Le)) : x(r) ? (u(), b("img", {
164
166
  key: 1,
165
167
  src: x(r),
166
168
  class: "w-full h-full object-cover",
167
169
  alt: `Ad ${r + 1}`
168
- }, null, 8, Le)) : (u(), b("div", Ve, [
170
+ }, null, 8, Me)) : (u(), b("div", Ve, [
169
171
  d(m, {
170
172
  name: "image",
171
173
  size: "48"
@@ -175,22 +177,22 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
175
177
  ]),
176
178
  _: 2
177
179
  }, 1032, ["onClick"]))), 128)),
178
- e(I) ? (u(), B(k, {
180
+ e(P) ? (u(), B(k, {
179
181
  key: 0,
180
182
  variant: "outlined",
181
183
  class: "cursor-pointer hover:bg-fm-color-neutral-gray-50 transition-colors border-dashed aspect-[3/4] flex flex-col items-center justify-center",
182
- onClick: H
184
+ onClick: q
183
185
  }, {
184
186
  default: S(() => [
185
- s("div", Me, [
187
+ s("div", $e, [
186
188
  d(m, {
187
189
  name: "add",
188
190
  size: "24",
189
191
  class: "text-fm-color-typo-secondary"
190
192
  })
191
193
  ]),
192
- s("div", $e, v(e(o)("connect.setting.advertisement.addAd")), 1),
193
- s("div", Be, v(P - e(M)) + " " + v(e(o)("connect.setting.advertisement.left")), 1)
194
+ s("div", Be, v(e(o)("connect.setting.advertisement.addAd")), 1),
195
+ s("div", Ie, v(I - e(V)) + " " + v(e(o)("connect.setting.advertisement.left")), 1)
194
196
  ]),
195
197
  _: 1
196
198
  })) : N("", !0)
@@ -200,8 +202,8 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
200
202
  class: "p-24 text-center mb-24 bg-fm-color-warning-50"
201
203
  }, {
202
204
  default: S(() => [
203
- s("div", ke, v(e(o)("connect.setting.advertisement.premiumFeatureTitle")), 1),
204
- s("div", Se, v(e(o)("connect.setting.advertisement.premiumFeatureDescription")), 1)
205
+ s("div", Se, v(e(o)("connect.setting.advertisement.premiumFeatureTitle")), 1),
206
+ s("div", Ae, v(e(o)("connect.setting.advertisement.premiumFeatureDescription")), 1)
205
207
  ]),
206
208
  _: 1
207
209
  }))
@@ -216,10 +218,10 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
216
218
  header: e(g) !== null ? `${e(o)("connect.setting.advertisement.manageAd")} #${e(g) + 1}` : e(o)("connect.setting.advertisement.addAdvertisement")
217
219
  }, {
218
220
  "side-sheet-footer": S(() => [
219
- s("div", De, [
221
+ s("div", ze, [
220
222
  d(a, {
221
223
  label: e(o)("connect.setting.advertisement.save"),
222
- onClick: O,
224
+ onClick: G,
223
225
  loading: !!e(C).loadingQueue.length,
224
226
  disabled: !!e(C).loadingQueue.length
225
227
  }, null, 8, ["label", "loading", "disabled"])
@@ -227,8 +229,8 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
227
229
  ]),
228
230
  default: S(() => [
229
231
  s("div", Pe, [
230
- s("div", Ie, [
231
- s("div", ze, [
232
+ s("div", Ee, [
233
+ s("div", Te, [
232
234
  d(le, {
233
235
  label: e(o)("connect.setting.advertisement.advertisementImage"),
234
236
  "image-fit": "cover",
@@ -258,5 +260,5 @@ const ve = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, pe = { class:
258
260
  }
259
261
  });
260
262
  export {
261
- Ze as default
263
+ nt as default
262
264
  };