@feedmepos/mf-connect 0.1.119-dev → 0.1.119-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 (146) hide show
  1. package/dist/{App-z-u6skb5.js → App-BN2LKM3u.js} +135 -147
  2. package/dist/{Bin-Dh9RAgYi.js → Bin-DpQ1atb7.js} +8 -8
  3. package/dist/{Broadcast-Dg6azPS8.js → Broadcast-c1ZyYClI.js} +21 -22
  4. package/dist/{CampaignAnalytic-CVB4dstO.js → CampaignAnalytic-w1hIlc2r.js} +7 -7
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DYgBeT23.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D7U6evm1.js} +9 -8
  6. package/dist/{Card-CY736Ul0.js → Card-De53Xgbe.js} +22 -22
  7. package/dist/{Collections-CdTKWkZZ.js → Collections-BL2RD3FU.js} +185 -197
  8. package/dist/{Credit-CUhEKlMI.js → Credit-2KvFFcwR.js} +20 -21
  9. package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-CBwgeTXh.js → DateRangeChip.vue_vue_type_script_setup_true_lang-CKSs2nYE.js} +1 -1
  10. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BXb7v7wc.js +3493 -0
  11. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-D5-EKqG9.js → EffectSheet.vue_vue_type_style_index_0_lang-Jy7HkK5Z.js} +30 -30
  12. package/dist/{Experience-CMp09U-6.js → Experience-Cb0jHtVo.js} +31 -32
  13. package/dist/{FileSaver.min-Bq5McdmK.js → FileSaver.min-UDgZF_Cv.js} +1 -1
  14. package/dist/{Game-Dv5NvG-q.js → Game-BnysxSMs.js} +18 -19
  15. package/dist/{GiftCardSetup-SO2Tk5In.js → GiftCardSetup-s1OR6xQq.js} +31 -31
  16. package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-CgG5vHCp.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-D108r20x.js} +7 -7
  17. package/dist/{Goals-BEwQP4cY.js → Goals-BAieLPzR.js} +4 -4
  18. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BDGEqsWE.js → ImageInput.vue_vue_type_script_setup_true_lang-B9Jgq5Bp.js} +1 -1
  19. package/dist/{Index-8F2LOWng.js → Index-DnX16GAE.js} +10 -10
  20. package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-BwAjki7Y.js → LocationPicker.vue_vue_type_script_setup_true_lang-DeM-WG6m.js} +1 -1
  21. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-DK4C0Y9j.js → LottieAnimation.vue_vue_type_script_setup_true_lang-BAN69FOS.js} +1 -1
  22. package/dist/{LoyaltyDashboard-rWm0b8cm.js → LoyaltyDashboard-D8g6OSbC.js} +15 -15
  23. package/dist/{MainLayout-ezbgp2IQ.js → MainLayout-DWABjpQn.js} +1 -1
  24. package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-1QY5-U5y.js → MainLayout.vue_vue_type_script_setup_true_lang-COp7iulq.js} +3 -3
  25. package/dist/{Marketing-DcWF4xVc.js → Marketing-Dagatr0y.js} +4 -4
  26. package/dist/{MarketingMaterialEdit-C1bXj_hU.js → MarketingMaterialEdit-DYVzNDpM.js} +211 -214
  27. package/dist/{Member-CgDZqGsV.js → Member-DAxdEF_Z.js} +7 -7
  28. package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-Dh1_j06F.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-nBg7Hckj.js} +47 -39
  29. package/dist/{MemberImportHistory-DT3QJ5se.js → MemberImportHistory-2gx6FnLh.js} +7 -7
  30. package/dist/{MemberList-Bm05jnbk.js → MemberList-By_gGl-J.js} +105 -103
  31. package/dist/{MemberTransactions-D90tTpdC.js → MemberTransactions-BEF-4ZNp.js} +1 -1
  32. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-jvgjOXXA.js → MessageInput.vue_vue_type_script_setup_true_lang-Bs8wKx9B.js} +12 -12
  33. package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-CxL-Nh6i.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DN3mWfKj.js} +1 -1
  34. package/dist/{Mission-D_l2eJI3.js → Mission-jg15lBxo.js} +21 -22
  35. package/dist/{Overview-BOZBnorP.js → Overview-BFKLTAk1.js} +144 -145
  36. package/dist/{Overview-1AYfTeMD.js → Overview-C7WfdzfV.js} +20 -20
  37. package/dist/{Point-Cqy4XzeG.js → Point-dv9WgWTQ.js} +21 -22
  38. package/dist/{Promotion-9RDNbCgB.js → Promotion-mFPF_8jO.js} +131 -137
  39. package/dist/{Queue-D2Eie_np.js → Queue-BQoR_M5H.js} +45 -45
  40. package/dist/{Record-e4B--FD8.js → Record-1JZ1N5iX.js} +9 -9
  41. package/dist/{Review-DcUpSvc-.js → Review-B52AxCeT.js} +2 -2
  42. package/dist/ReviewFacebookCallback-ihTdiI8V.js +238 -0
  43. package/dist/{ReviewGoogleCallback-JPkamgo2.js → ReviewGoogleCallback-DO6SVFIC.js} +5 -5
  44. package/dist/{Reward-BQJw-R8V.js → Reward-Cp4jPAB0.js} +16 -16
  45. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-D_DSQ8q2.js → RewardGroup.vue_vue_type_script_setup_true_lang-DLD6X13Z.js} +13 -13
  46. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-pdHRjCt8.js +1884 -0
  47. package/dist/{Segment-Cjdqsqqg.js → Segment-DaKw0YXF.js} +306 -303
  48. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-g-CJUZBF.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-Bj3OQ_JJ.js} +14 -14
  49. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-lbH0b170.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-B1Otak97.js} +4 -4
  50. package/dist/{Setting-B3HK4mtx.js → Setting-DveUrt8J.js} +148 -159
  51. package/dist/{SettingAdvertisements-BQFJpdIm.js → SettingAdvertisements-QRXOMNnM.js} +12 -12
  52. package/dist/Settings-D9D-mkBa.js +179 -0
  53. package/dist/{Store-mp1LyXwr.js → Store-DjdXRw3V.js} +28 -28
  54. package/dist/{StoreRewards-DiSB6d7_.js → StoreRewards-CjlGrc9E.js} +15 -15
  55. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-DnwMpqzf.js +1265 -0
  56. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-I5-5BV4h.js +142 -0
  57. package/dist/{Tier-CxaXh96q.js → Tier-D74Oh2np.js} +687 -2575
  58. package/dist/{Title-Byz0TGpi.js → Title-CeeviOW8.js} +94 -95
  59. package/dist/{Transaction-CNXulI3o.js → Transaction-CWdw0ITl.js} +2 -2
  60. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-C0bfVZf8.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-B9nf-9s0.js} +26 -26
  61. package/dist/{Voucher-CVw3E8Y4.js → Voucher-C0nNXMtv.js} +19 -19
  62. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-C0d3ktXA.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DxZLsQq9.js} +12 -12
  63. package/dist/{WhatsappAccount-5vLzjaIV.js → WhatsappAccount-CoLSjCQ2.js} +6 -6
  64. package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-CwGBRX-Q.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DkHPlGgT.js} +1 -1
  65. package/dist/{WhatsappBot-BWJbD7Gk.js → WhatsappBot-kLb3kUav.js} +6 -6
  66. package/dist/{WhatsappBotLogs-C8gpmZyC.js → WhatsappBotLogs-jcYaHs0t.js} +6 -6
  67. package/dist/{WhatsappBotSettings-BvPnKHz-.js → WhatsappBotSettings-B6jJD61h.js} +4 -4
  68. package/dist/{WhatsappLayout-DJXhXeXf.js → WhatsappLayout-C24bIjI2.js} +3 -3
  69. package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-BxUYjrWQ.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-9a_grP76.js} +3 -3
  70. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CkjzVKif.js → ZodTextField.vue_vue_type_script_setup_true_lang-i8Wc2mCr.js} +2 -2
  71. package/dist/{app-BF1vds2J.js → app-C06bAZj3.js} +10806 -11561
  72. package/dist/app.js +3 -4
  73. package/dist/{base.export-B7FU8J4P.js → base.export-CgNRhKu8.js} +2 -2
  74. package/dist/{business-DkUMhys1.js → business-D23Dt1x4.js} +1 -1
  75. package/dist/{campaign-C9cVkGMF.js → campaign-DfEvGigm.js} +94 -121
  76. package/dist/{campaign-0AgQP43B.js → campaign-FVcbXtrP.js} +28 -34
  77. package/dist/{campaign.enum-Dx-Zo68Q.js → campaign.enum-BqekIiiN.js} +1 -2
  78. package/dist/campaign.fn-0MNUj1fZ.js +776 -0
  79. package/dist/{collection.fn-B_QnW0e3.js → collection.fn-DC1AMI9o.js} +2 -2
  80. package/dist/{currency-XQmondpC.js → currency-Bra2RJK4.js} +1 -1
  81. package/dist/{effect-Mwn1x6qN.js → effect-EL4V3pAu.js} +1 -1
  82. package/dist/{email-addresses-DQQAi6-l.js → email-addresses-Ddtf1x_y.js} +2 -2
  83. package/dist/{feature-flag-B1VMMZMd.js → feature-flag-umACX47C.js} +70 -70
  84. package/dist/google-C3S8u0mT.js +4 -0
  85. package/dist/{helper-D1R8vyjc.js → helper-DqDOnLCf.js} +1 -1
  86. package/dist/{index-Rs75lw-x.js → index-B2lqC_hH.js} +1 -1
  87. package/dist/{index-C9Nbb7wc.js → index-B3U3KZl0.js} +2 -2
  88. package/dist/{index-CRAuAyO3.js → index-BTjhdlN_.js} +1 -1
  89. package/dist/{index-Bm43wR8L.js → index-B_BmgKrh.js} +2613 -2699
  90. package/dist/{index-DMfCzjiA.js → index-BkKu2G2c.js} +2 -2
  91. package/dist/{index-ug7pxPAX.js → index-BroF2fC8.js} +251 -608
  92. package/dist/{index-P8DDRVa3.js → index-Bvk61_w_.js} +1 -1
  93. package/dist/{index-DQnCdGWe.js → index-ByVPdKdB.js} +581 -682
  94. package/dist/{index-Bym-ZIcv.js → index-BzwwXWpZ.js} +1 -1
  95. package/dist/{index-DaUhJ6xV.js → index-C3hAzzS2.js} +15 -29
  96. package/dist/{index-CzE9ZPDV.js → index-C3lk4GHF.js} +4 -4
  97. package/dist/{index-CLlGMbnP.js → index-C6p9Lsvf.js} +1 -1
  98. package/dist/{index-eR9mqPPV.js → index-CEh6ryp2.js} +6 -19
  99. package/dist/{index-mOGrVzUV.js → index-DK9zxpDu.js} +3 -3
  100. package/dist/{index-ytSMcSMt.js → index-DuCJtx1m.js} +1 -1
  101. package/dist/{index-ZYrey0SM.js → index-LjoAs_nX.js} +10 -10
  102. package/dist/{index-BU6CU5MP.js → index-TDCPGtW3.js} +232 -389
  103. package/dist/{index-CPB7j8Wn.js → index-iVbjwKxc.js} +10 -10
  104. package/dist/{index-Cg8Z5eYT.js → index-pfmx-Gor.js} +2 -2
  105. package/dist/{index-D5BwAYuA.js → index-rcfcslIC.js} +197 -197
  106. package/dist/{index.esm2017-Gkctw9Mb.js → index.esm2017-DCuQPCX2.js} +111 -111
  107. package/dist/{loading-kUQqT44G.js → loading-CQm1DKWE.js} +1 -1
  108. package/dist/{lodash-B4AjV7YZ.js → lodash-C2wVbAap.js} +1 -1
  109. package/dist/{member-import-CwDUG5mj.js → member-import-BLEmTRso.js} +1 -1
  110. package/dist/{membership-BI6U8-eM.js → membership-XycnxPEW.js} +2 -2
  111. package/dist/{money-Bum-AbB7.js → money-DY_QGzd1.js} +1 -1
  112. package/dist/{number-uAoNqG-N.js → number-BHthf4qF.js} +1 -1
  113. package/dist/objectid-CPCAqIiC.js +145 -0
  114. package/dist/{onboarding-wtYzQipv.js → onboarding-BOJw54Fn.js} +36 -36
  115. package/dist/{onboardingSetup-DlYM-oqd.js → onboardingSetup-Cf2u1tXu.js} +2 -2
  116. package/dist/{plugins-BGyTPNfc.js → plugins-DKQeoL_e.js} +3 -3
  117. package/dist/{reward-D0xtG-bp.js → reward-D4RIYSpl.js} +1 -1
  118. package/dist/{rule-BAA5-vRj.js → rule-Ba-s0L_w.js} +492 -572
  119. package/dist/rule-builder-D0B0DPao.js +102 -0
  120. package/dist/style.css +1 -1
  121. package/dist/template-B40I16Yg.js +236 -0
  122. package/dist/{timezone-Bbw2OeEP.js → timezone-CAc8xi1h.js} +1 -1
  123. package/dist/{transaction.fn-DZdNjP_E.js → transaction.fn-Cp2hnhyU.js} +2 -2
  124. package/dist/{trigger-BpotFb7G.js → trigger-3ebhNBX7.js} +9 -9
  125. package/dist/{useMarketingMaterialActions-CQ1M0N9c.js → useMarketingMaterialActions-6URv8neP.js} +4 -4
  126. package/dist/{usePagination-qALFI_Td.js → usePagination-C-fyMmiy.js} +1 -1
  127. package/dist/{user-X_94TRIK.js → user-T-iXTrYV.js} +1 -1
  128. package/dist/vue-i18n-DzsxJorb.js +2365 -0
  129. package/dist/{xlsx-DW48eXDT.js → xlsx-B8OqaJfb.js} +224 -224
  130. package/dist/{zod-BAP9II5C.js → zod-DZkNj425.js} +1 -1
  131. package/package.json +3 -8
  132. package/dist/AuditLogs-J0UJ3HJW.js +0 -2016
  133. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BC4jTtVY.js +0 -4439
  134. package/dist/Grab-npbL7p7S.js +0 -301
  135. package/dist/ReviewFacebookCallback-BhHdYb4X.js +0 -225
  136. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DfWjXTx3.js +0 -1923
  137. package/dist/Settings-DKWkiRuA.js +0 -286
  138. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BAYKqf-Y.js +0 -1319
  139. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-be7ksTJw.js +0 -7007
  140. package/dist/Upselling-Dto64bmE.js +0 -1013
  141. package/dist/campaign.fn-N6rJeDUx.js +0 -776
  142. package/dist/duplicateCampaign-CvQRWP-Z.js +0 -51
  143. package/dist/google-BQK68wbe.js +0 -5
  144. package/dist/objectid-CPTCMH2h.js +0 -145
  145. package/dist/template-DKgW9ul3.js +0 -188
  146. package/dist/vue-i18n-CRFpVnMa.js +0 -2365
@@ -1,17 +1,17 @@
1
- import { defineComponent as C, resolveComponent as b, openBlock as s, createBlock as T, withCtx as j, createElementVNode as e, createVNode as c, createElementBlock as u, unref as t, ref as M, watch as V, Fragment as B, createCommentVNode as $, withModifiers as N, Teleport as J, Transition as Q, toDisplayString as f, renderList as L, createTextVNode as q, computed as E, normalizeClass as D, onMounted as X, isRef as Y, resolveDynamicComponent as ee } from "vue";
2
- import { _ as O } from "./lodash-B4AjV7YZ.js";
3
- import "./index-Bym-ZIcv.js";
4
- import { useRoute as G, useRouter as te } from "vue-router";
5
- import { u as I } from "./vue-i18n-CRFpVnMa.js";
6
- import { u as K, m as H } from "./useMarketingMaterialActions-CQ1M0N9c.js";
7
- import { useClientEvent as Z } from "@feedmepos/mf-remy-panel";
1
+ import { defineComponent as C, resolveComponent as b, openBlock as s, createBlock as T, withCtx as j, createElementVNode as e, createVNode as r, createElementBlock as u, unref as t, ref as M, watch as V, Fragment as B, createCommentVNode as $, withModifiers as N, Teleport as Z, Transition as J, toDisplayString as f, renderList as L, createTextVNode as Q, computed as E, normalizeClass as D, onMounted as X, isRef as Y, resolveDynamicComponent as ee } from "vue";
2
+ import { _ as O } from "./lodash-C2wVbAap.js";
3
+ import "./index-BzwwXWpZ.js";
4
+ import { useRoute as q, useRouter as te } from "vue-router";
5
+ import { u as I } from "./vue-i18n-DzsxJorb.js";
6
+ import { u as G, m as H } from "./useMarketingMaterialActions-6URv8neP.js";
7
+ import { useClientEvent as K } from "@feedmepos/mf-remy-panel";
8
8
  import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  import { _ as ne } from "./remy-icon-BhUGu2NI.js";
10
10
  import { useSnackbar as ae, useDialog as se } from "@feedmepos/ui-library";
11
11
  import { u as le } from "./remy-Qz_pNsUS.js";
12
12
  import { useCoreStore as R } from "@feedmepos/mf-common";
13
- import { u as ie } from "./loading-kUQqT44G.js";
14
- import { R as A } from "./app-BF1vds2J.js";
13
+ import { u as ie } from "./loading-CQm1DKWE.js";
14
+ import { R as A } from "./app-C06bAZj3.js";
15
15
  const S = /* @__PURE__ */ C({
16
16
  __name: "ActionToolbarButton",
17
17
  props: {
@@ -19,10 +19,10 @@ const S = /* @__PURE__ */ C({
19
19
  tooltip: {}
20
20
  },
21
21
  emits: ["click"],
22
- setup(l, { emit: m }) {
23
- const d = m;
24
- return (p, i) => {
25
- const r = b("FmIcon"), o = b("FmTooltip");
22
+ setup(l, { emit: c }) {
23
+ const d = c;
24
+ return (p, m) => {
25
+ const i = b("FmIcon"), o = b("FmTooltip");
26
26
  return s(), T(o, {
27
27
  content: l.tooltip,
28
28
  placement: "bottom",
@@ -32,9 +32,9 @@ const S = /* @__PURE__ */ C({
32
32
  default: j(() => [
33
33
  e("button", {
34
34
  class: "p-2 rounded-lg bg-white/10 hover:bg-white/20 transition-colors text-white flex items-center justify-center",
35
- onClick: i[0] || (i[0] = (n) => d("click"))
35
+ onClick: m[0] || (m[0] = (n) => d("click"))
36
36
  }, [
37
- c(r, {
37
+ r(i, {
38
38
  name: l.icon,
39
39
  size: "md"
40
40
  }, null, 8, ["name"])
@@ -50,9 +50,9 @@ const S = /* @__PURE__ */ C({
50
50
  imageUrl: {}
51
51
  },
52
52
  emits: ["edit", "close"],
53
- setup(l, { emit: m }) {
54
- const d = l, p = m, { t: i } = I();
55
- async function r() {
53
+ setup(l, { emit: c }) {
54
+ const d = l, p = c, { t: m } = I();
55
+ async function i() {
56
56
  if (d.imageUrl)
57
57
  try {
58
58
  const n = await (await fetch(d.imageUrl)).blob(), v = URL.createObjectURL(n), _ = document.createElement("a");
@@ -62,19 +62,19 @@ const S = /* @__PURE__ */ C({
62
62
  }
63
63
  }
64
64
  return (o, n) => (s(), u("div", re, [
65
- c(S, {
65
+ r(S, {
66
66
  icon: "edit",
67
- tooltip: t(i)("connect.common.edit"),
67
+ tooltip: t(m)("connect.common.edit"),
68
68
  onClick: n[0] || (n[0] = (v) => p("edit"))
69
69
  }, null, 8, ["tooltip"]),
70
- c(S, {
70
+ r(S, {
71
71
  icon: "download",
72
- tooltip: t(i)("connect.marketing.actions.download"),
73
- onClick: r
72
+ tooltip: t(m)("connect.marketing.actions.download"),
73
+ onClick: i
74
74
  }, null, 8, ["tooltip"]),
75
- c(S, {
75
+ r(S, {
76
76
  icon: "close",
77
- tooltip: t(i)("connect.marketing.actions.close"),
77
+ tooltip: t(m)("connect.marketing.actions.close"),
78
78
  onClick: n[1] || (n[1] = (v) => p("close"))
79
79
  }, null, 8, ["tooltip"])
80
80
  ]));
@@ -88,8 +88,8 @@ const S = /* @__PURE__ */ C({
88
88
  imageUrl: {}
89
89
  },
90
90
  emits: ["edit", "update:imageUrl"],
91
- setup(l, { emit: m }) {
92
- const d = l, p = m, { t: i } = I(), r = G(), o = M(!1), n = M(d.imageUrl);
91
+ setup(l, { emit: c }) {
92
+ const d = l, p = c, { t: m } = I(), i = q(), o = M(!1), n = M(d.imageUrl);
93
93
  V(
94
94
  () => d.imageUrl,
95
95
  (y) => {
@@ -100,13 +100,13 @@ const S = /* @__PURE__ */ C({
100
100
  function _() {
101
101
  o.value = !1, p("edit", n.value);
102
102
  }
103
- Z(
103
+ K(
104
104
  "apply-edited-banner",
105
105
  async ({ imageUrl: y }) => {
106
- r.query.id && (n.value = y, p("update:imageUrl", y));
106
+ i.query.id && (n.value = y, p("update:imageUrl", y));
107
107
  }
108
108
  );
109
- const { downloadMaterialImage: k, copyMaterialLink: h } = K();
109
+ const { downloadMaterialImage: k, copyMaterialLink: h } = G();
110
110
  async function F() {
111
111
  n.value && await k(n.value);
112
112
  }
@@ -126,7 +126,7 @@ const S = /* @__PURE__ */ C({
126
126
  t(n) ? (s(), u("img", {
127
127
  key: 0,
128
128
  src: t(n),
129
- alt: t(i)("connect.marketing.materialEdit.generatedMaterial"),
129
+ alt: t(m)("connect.marketing.materialEdit.generatedMaterial"),
130
130
  class: "w-full h-full object-contain"
131
131
  }, null, 8, me)) : $("", !0),
132
132
  e("div", {
@@ -134,33 +134,33 @@ const S = /* @__PURE__ */ C({
134
134
  onClick: a[0] || (a[0] = N(() => {
135
135
  }, ["stop"]))
136
136
  }, [
137
- c(P, { placement: "right-start" }, {
137
+ r(P, { placement: "right-start" }, {
138
138
  "menu-button": j(() => [
139
- c(g, {
139
+ r(g, {
140
140
  icon: "more_horiz",
141
141
  variant: "tertiary",
142
142
  class: "bg-white hover:bg-gray-100 text-black shadow-sm"
143
143
  })
144
144
  ]),
145
145
  default: j(() => [
146
- c(x, {
146
+ r(x, {
147
147
  icon: "open_in_new",
148
- label: t(i)("connect.marketing.actions.openInNewTab"),
148
+ label: t(m)("connect.marketing.actions.openInNewTab"),
149
149
  onClick: U
150
150
  }, null, 8, ["label"]),
151
- c(x, {
151
+ r(x, {
152
152
  icon: "download",
153
- label: t(i)("connect.marketing.actions.download"),
153
+ label: t(m)("connect.marketing.actions.download"),
154
154
  onClick: F
155
155
  }, null, 8, ["label"]),
156
- c(x, {
156
+ r(x, {
157
157
  icon: "content_copy",
158
- label: t(i)("connect.marketing.actions.copyLink"),
158
+ label: t(m)("connect.marketing.actions.copyLink"),
159
159
  onClick: w
160
160
  }, null, 8, ["label"]),
161
- c(x, {
161
+ r(x, {
162
162
  icon: "edit",
163
- label: t(i)("connect.marketing.actions.regenerateImage"),
163
+ label: t(m)("connect.marketing.actions.regenerateImage"),
164
164
  onClick: _
165
165
  }, null, 8, ["label"])
166
166
  ]),
@@ -171,8 +171,8 @@ const S = /* @__PURE__ */ C({
171
171
  e("div", { class: "w-10 h-10 rounded-full border-4 border-white/30 border-t-white animate-spin" }, null, -1)
172
172
  ])])) : $("", !0)
173
173
  ]),
174
- (s(), T(J, { to: "body" }, [
175
- c(Q, { name: "fade" }, {
174
+ (s(), T(Z, { to: "body" }, [
175
+ r(J, { name: "fade" }, {
176
176
  default: j(() => [
177
177
  t(o) ? (s(), u("div", {
178
178
  key: 0,
@@ -180,7 +180,7 @@ const S = /* @__PURE__ */ C({
180
180
  onClick: a[3] || (a[3] = N((z) => o.value = !1, ["self"]))
181
181
  }, [
182
182
  e("div", ue, [
183
- c(ce, {
183
+ r(ce, {
184
184
  class: "absolute top-0 right-0 z-10 -translate-y-full p-4",
185
185
  "image-url": t(n),
186
186
  onEdit: _,
@@ -189,7 +189,7 @@ const S = /* @__PURE__ */ C({
189
189
  t(n) ? (s(), u("img", {
190
190
  key: 0,
191
191
  src: t(n),
192
- alt: t(i)("connect.marketing.materialEdit.preview"),
192
+ alt: t(m)("connect.marketing.materialEdit.preview"),
193
193
  class: "max-h-[80vh] max-w-[90vw] object-contain rounded-xl"
194
194
  }, null, 8, pe)) : $("", !0)
195
195
  ])
@@ -207,20 +207,20 @@ const S = /* @__PURE__ */ C({
207
207
  text: {}
208
208
  },
209
209
  emits: ["editWithRemy"],
210
- setup(l, { emit: m }) {
211
- const d = m, { t: p } = I(), i = ae();
212
- async function r(o) {
210
+ setup(l, { emit: c }) {
211
+ const d = c, { t: p } = I(), m = ae();
212
+ async function i(o) {
213
213
  if (o)
214
214
  try {
215
- await navigator.clipboard.writeText(o), i.open({ message: p("connect.marketing.actions.copied"), type: "success" });
215
+ await navigator.clipboard.writeText(o), m.open({ message: p("connect.marketing.actions.copied"), type: "success" });
216
216
  } catch {
217
- i.open({ message: p("connect.marketing.actions.failedToCopy"), type: "error" });
217
+ m.open({ message: p("connect.marketing.actions.failedToCopy"), type: "error" });
218
218
  }
219
219
  }
220
220
  return (o, n) => {
221
221
  const v = b("FmIcon"), _ = b("FmTooltip");
222
222
  return s(), u("div", ve, [
223
- c(_, {
223
+ r(_, {
224
224
  content: t(p)("connect.marketing.actions.copy"),
225
225
  placement: "top",
226
226
  "hide-arrow": !1
@@ -228,9 +228,9 @@ const S = /* @__PURE__ */ C({
228
228
  default: j(() => [
229
229
  e("button", {
230
230
  class: "p-8 rounded-full hover:bg-fm-color-neutral-gray-100 transition-all opacity-0 group-hover:opacity-100 focus:opacity-100 flex items-center justify-center",
231
- onClick: n[0] || (n[0] = (k) => r(l.text))
231
+ onClick: n[0] || (n[0] = (k) => i(l.text))
232
232
  }, [
233
- c(v, {
233
+ r(v, {
234
234
  name: "content_copy",
235
235
  size: "sm",
236
236
  color: "neutral-gray-400"
@@ -239,7 +239,7 @@ const S = /* @__PURE__ */ C({
239
239
  ]),
240
240
  _: 1
241
241
  }, 8, ["content"]),
242
- c(_, {
242
+ r(_, {
243
243
  content: t(p)("connect.marketing.actions.remyAi"),
244
244
  placement: "top",
245
245
  "hide-arrow": !1
@@ -266,8 +266,8 @@ const S = /* @__PURE__ */ C({
266
266
  marketingMaterial: {}
267
267
  },
268
268
  emits: ["update:imageUrl", "update:headline", "update:caption"],
269
- setup(l, { emit: m }) {
270
- const d = l, p = m, { t: i } = I(), r = le(), o = M(d.marketingMaterial.headline), n = M(d.marketingMaterial.caption), v = M(d.marketingMaterial.headline), _ = M(d.marketingMaterial.caption), k = M(!1), h = M(!1);
269
+ setup(l, { emit: c }) {
270
+ const d = l, p = c, { t: m } = I(), i = le(), o = M(d.marketingMaterial.headline), n = M(d.marketingMaterial.caption), v = M(d.marketingMaterial.headline), _ = M(d.marketingMaterial.caption), k = M(!1), h = M(!1);
271
271
  V(
272
272
  () => d.marketingMaterial.headline,
273
273
  (a) => {
@@ -286,14 +286,14 @@ const S = /* @__PURE__ */ C({
286
286
  }
287
287
  n.value = a ?? "", _.value = a;
288
288
  }
289
- ), Z(
289
+ ), K(
290
290
  "apply-edited-copy",
291
291
  async ({ headline: a, caption: g }) => {
292
292
  a !== void 0 && (o.value = a, v.value = a, k.value = !0, p("update:headline", a)), g !== void 0 && (n.value = g, _.value = g, h.value = !0, p("update:caption", g));
293
293
  }
294
294
  );
295
295
  function F() {
296
- r.activate({
296
+ i.activate({
297
297
  command: "editMarketingBanner",
298
298
  prompt: "",
299
299
  attachments: [
@@ -305,7 +305,7 @@ const S = /* @__PURE__ */ C({
305
305
  });
306
306
  }
307
307
  function U() {
308
- r.activate({
308
+ i.activate({
309
309
  command: "editCopy",
310
310
  attachments: [
311
311
  {
@@ -325,26 +325,26 @@ const S = /* @__PURE__ */ C({
325
325
  return (a, g) => {
326
326
  const x = b("FmTextField"), P = b("FmTextarea");
327
327
  return s(), u("section", _e, [
328
- e("h2", he, f(t(i)("connect.marketing.materialEdit.contentDetails")), 1),
328
+ e("h2", he, f(t(m)("connect.marketing.materialEdit.contentDetails")), 1),
329
329
  e("div", ye, [
330
330
  e("div", be, [
331
- e("p", xe, f(t(i)("connect.marketing.materialEdit.image")), 1),
332
- c(fe, {
331
+ e("p", xe, f(t(m)("connect.marketing.materialEdit.image")), 1),
332
+ r(fe, {
333
333
  "image-url": l.marketingMaterial.imageUrl,
334
334
  onEdit: F,
335
335
  "onUpdate:imageUrl": g[0] || (g[0] = (z) => p("update:imageUrl", z))
336
336
  }, null, 8, ["image-url"])
337
337
  ]),
338
338
  e("div", ke, [
339
- e("p", we, f(t(i)("connect.marketing.materialEdit.headline")), 1),
339
+ e("p", we, f(t(m)("connect.marketing.materialEdit.headline")), 1),
340
340
  e("div", $e, [
341
- c(x, {
341
+ r(x, {
342
342
  "model-value": t(o),
343
343
  "onUpdate:modelValue": g[1] || (g[1] = (z) => y("headline", z)),
344
344
  onFocusChanged: g[2] || (g[2] = (z) => !z && w("headline"))
345
345
  }, null, 8, ["model-value"]),
346
346
  e("div", Me, [
347
- c(W, {
347
+ r(W, {
348
348
  text: t(o),
349
349
  onEditWithRemy: U
350
350
  }, null, 8, ["text"])
@@ -352,16 +352,16 @@ const S = /* @__PURE__ */ C({
352
352
  ])
353
353
  ]),
354
354
  e("div", Ce, [
355
- e("p", Fe, f(t(i)("connect.marketing.materialEdit.caption")), 1),
355
+ e("p", Fe, f(t(m)("connect.marketing.materialEdit.caption")), 1),
356
356
  e("div", Ue, [
357
- c(P, {
357
+ r(P, {
358
358
  "model-value": t(n),
359
359
  "onUpdate:modelValue": g[3] || (g[3] = (z) => y("caption", z)),
360
360
  onFocusChanged: g[4] || (g[4] = (z) => !z && w("caption")),
361
361
  rows: "4"
362
362
  }, null, 8, ["model-value"]),
363
363
  e("div", ze, [
364
- c(W, {
364
+ r(W, {
365
365
  text: t(n),
366
366
  onEditWithRemy: U
367
367
  }, null, 8, ["text"])
@@ -375,26 +375,26 @@ const S = /* @__PURE__ */ C({
375
375
  }), je = { class: "flex items-center px-4" }, Ee = { class: "px-[4px] py-[6px] text-xs text-fm-color-typo-secondary" }, Te = /* @__PURE__ */ C({
376
376
  __name: "ActionBar",
377
377
  setup(l) {
378
- const m = [
378
+ const c = [
379
379
  { icon: "thumb_up", count: "10k+" },
380
380
  { icon: "mode_comment", count: "128" },
381
381
  { icon: "share", count: "56" }
382
382
  ];
383
383
  return (d, p) => {
384
- const i = b("FmIcon");
384
+ const m = b("FmIcon");
385
385
  return s(), u("div", je, [
386
- (s(), u(B, null, L(m, (r) => e("button", {
387
- key: r.icon,
386
+ (s(), u(B, null, L(c, (i) => e("button", {
387
+ key: i.icon,
388
388
  class: "flex px-12 py-[6px] items-center justify-center text-fm-color-typo-secondary hover:bg-fm-color-neutral-gray-50 transition-colors fm-typo-en-body-sm-400"
389
389
  }, [
390
- c(i, {
390
+ r(m, {
391
391
  class: "px-[4px] py-[6px]",
392
- name: r.icon,
392
+ name: i.icon,
393
393
  size: "md",
394
394
  color: "neutral-gray-400",
395
395
  outline: ""
396
396
  }, null, 8, ["name"]),
397
- e("span", Ee, f(r.count), 1)
397
+ e("span", Ee, f(i.count), 1)
398
398
  ])), 64))
399
399
  ]);
400
400
  };
@@ -413,10 +413,10 @@ const S = /* @__PURE__ */ C({
413
413
  caption: {}
414
414
  },
415
415
  setup(l) {
416
- const { t: m } = I(), { currentBusiness: d } = R();
417
- return (p, i) => {
416
+ const { t: c } = I(), { currentBusiness: d } = R();
417
+ return (p, m) => {
418
418
  var o, n;
419
- const r = b("FmIcon");
419
+ const i = b("FmIcon");
420
420
  return s(), u("div", Be, [
421
421
  e("div", Re, [
422
422
  e("div", Pe, [
@@ -424,8 +424,8 @@ const S = /* @__PURE__ */ C({
424
424
  key: 0,
425
425
  src: t(d).thumbnail,
426
426
  class: "w-full h-full object-cover",
427
- alt: t(m)("connect.marketing.preview.businessLogo")
428
- }, null, 8, Ae)) : (s(), T(r, {
427
+ alt: t(c)("connect.marketing.preview.businessLogo")
428
+ }, null, 8, Ae)) : (s(), T(i, {
429
429
  key: 1,
430
430
  name: "storefront",
431
431
  size: "sm",
@@ -433,17 +433,17 @@ const S = /* @__PURE__ */ C({
433
433
  }))
434
434
  ]),
435
435
  e("div", Se, [
436
- e("p", Ve, f(((n = t(d)) == null ? void 0 : n.name) ?? t(m)("connect.marketing.preview.yourBusiness")), 1),
436
+ e("p", Ve, f(((n = t(d)) == null ? void 0 : n.name) ?? t(c)("connect.marketing.preview.yourBusiness")), 1),
437
437
  e("p", Le, [
438
- q(f(t(m)("connect.marketing.preview.sponsored")) + " · ", 1),
439
- c(r, {
438
+ Q(f(t(c)("connect.marketing.preview.sponsored")) + " · ", 1),
439
+ r(i, {
440
440
  name: "public",
441
441
  size: "sm",
442
442
  color: "neutral-gray-400"
443
443
  })
444
444
  ])
445
445
  ]),
446
- c(r, {
446
+ r(i, {
447
447
  name: "more_horiz",
448
448
  size: "sm",
449
449
  color: "neutral-gray-400"
@@ -456,10 +456,10 @@ const S = /* @__PURE__ */ C({
456
456
  l.imageUrl ? (s(), u("img", {
457
457
  key: 0,
458
458
  src: l.imageUrl,
459
- alt: t(m)("connect.marketing.preview.postImage"),
459
+ alt: t(c)("connect.marketing.preview.postImage"),
460
460
  class: "w-full h-auto block"
461
461
  }, null, 8, He)) : (s(), u("div", We, [
462
- c(r, {
462
+ r(i, {
463
463
  name: "image",
464
464
  size: "xl",
465
465
  color: "neutral-gray-300"
@@ -467,10 +467,10 @@ const S = /* @__PURE__ */ C({
467
467
  ]))
468
468
  ]),
469
469
  e("div", qe, [
470
- i[0] || (i[0] = e("p", { class: "fm-typo-en-body-xs-400 text-fm-color-typo-secondary uppercase tracking-wide mb-2" }, " yourbusiness.com ", -1)),
470
+ m[0] || (m[0] = e("p", { class: "fm-typo-en-body-xs-400 text-fm-color-typo-secondary uppercase tracking-wide mb-2" }, " yourbusiness.com ", -1)),
471
471
  e("p", Ge, f(l.headline ?? "—"), 1)
472
472
  ]),
473
- c(Te)
473
+ r(Te)
474
474
  ]);
475
475
  };
476
476
  }
@@ -488,67 +488,64 @@ const S = /* @__PURE__ */ C({
488
488
  caption: {}
489
489
  },
490
490
  setup(l) {
491
- const { t: m } = I(), { currentBusiness: d } = R();
492
- return (p, i) => {
491
+ const { t: c } = I(), { currentBusiness: d } = R();
492
+ return (p, m) => {
493
493
  var o, n;
494
- const r = b("FmIcon");
495
- return s(), u(B, null, [
496
- e("div", Ze, [
497
- l.imageUrl ? (s(), u("img", {
498
- key: 0,
499
- src: l.imageUrl,
500
- alt: t(m)("connect.marketing.preview.storyImage"),
501
- class: "absolute inset-0 w-full h-full object-contain"
502
- }, null, 8, Je)) : (s(), u("div", Qe, [
503
- c(r, {
504
- name: "image",
505
- size: "xl",
506
- color: "neutral-gray-500"
507
- })
508
- ])),
509
- e("div", Xe, [
510
- i[0] || (i[0] = e("div", { class: "flex gap-4 mb-10" }, [
511
- e("div", { class: "h-[2px] flex-1 rounded-full bg-white" })
512
- ], -1)),
513
- e("div", Ye, [
514
- e("div", et, [
515
- (o = t(d)) != null && o.thumbnail ? (s(), u("img", {
516
- key: 0,
517
- src: t(d).thumbnail,
518
- class: "w-full h-full object-cover",
519
- alt: t(m)("connect.marketing.preview.businessLogo")
520
- }, null, 8, tt)) : (s(), T(r, {
521
- key: 1,
522
- name: "storefront",
523
- size: "sm",
524
- color: "neutral-gray-400"
525
- }))
526
- ]),
527
- e("div", ot, [
528
- e("p", nt, f(((n = t(d)) == null ? void 0 : n.name) ?? t(m)("connect.marketing.preview.yourBusiness")), 1),
529
- e("p", at, f(t(m)("connect.marketing.preview.sponsored")), 1)
530
- ]),
531
- c(r, {
532
- name: "more_vert",
533
- size: "sm",
534
- color: "neutral-white"
535
- }),
536
- c(r, {
537
- name: "close",
494
+ const i = b("FmIcon");
495
+ return s(), u("div", Ze, [
496
+ l.imageUrl ? (s(), u("img", {
497
+ key: 0,
498
+ src: l.imageUrl,
499
+ alt: t(c)("connect.marketing.preview.storyImage"),
500
+ class: "absolute inset-0 w-full h-full object-contain"
501
+ }, null, 8, Je)) : (s(), u("div", Qe, [
502
+ r(i, {
503
+ name: "image",
504
+ size: "xl",
505
+ color: "neutral-gray-500"
506
+ })
507
+ ])),
508
+ e("div", Xe, [
509
+ m[0] || (m[0] = e("div", { class: "flex gap-4 mb-10" }, [
510
+ e("div", { class: "h-[2px] flex-1 rounded-full bg-white" })
511
+ ], -1)),
512
+ e("div", Ye, [
513
+ e("div", et, [
514
+ (o = t(d)) != null && o.thumbnail ? (s(), u("img", {
515
+ key: 0,
516
+ src: t(d).thumbnail,
517
+ class: "w-full h-full object-cover",
518
+ alt: t(c)("connect.marketing.preview.businessLogo")
519
+ }, null, 8, tt)) : (s(), T(i, {
520
+ key: 1,
521
+ name: "storefront",
538
522
  size: "sm",
539
- color: "neutral-white"
540
- })
541
- ])
542
- ]),
543
- e("div", st, [
544
- l.caption ? (s(), u("p", lt, f(l.caption), 1)) : $("", !0),
545
- e("div", it, [
546
- e("button", rt, f(l.headline ?? t(m)("connect.marketing.preview.learnMore")), 1)
547
- ])
523
+ color: "neutral-gray-400"
524
+ }))
525
+ ]),
526
+ e("div", ot, [
527
+ e("p", nt, f(((n = t(d)) == null ? void 0 : n.name) ?? t(c)("connect.marketing.preview.yourBusiness")), 1),
528
+ e("p", at, f(t(c)("connect.marketing.preview.sponsored")), 1)
529
+ ]),
530
+ r(i, {
531
+ name: "more_vert",
532
+ size: "sm",
533
+ color: "neutral-white"
534
+ }),
535
+ r(i, {
536
+ name: "close",
537
+ size: "sm",
538
+ color: "neutral-white"
539
+ })
548
540
  ])
549
541
  ]),
550
- i[1] || (i[1] = q(" /template> ", -1))
551
- ], 64);
542
+ e("div", st, [
543
+ l.caption ? (s(), u("p", lt, f(l.caption), 1)) : $("", !0),
544
+ e("div", it, [
545
+ e("button", rt, f(l.headline ?? t(c)("connect.marketing.preview.learnMore")), 1)
546
+ ])
547
+ ])
548
+ ]);
552
549
  };
553
550
  }
554
551
  }), mt = { class: "max-w-[400px] mx-auto rounded-lg border border-fm-color-neutral-gray-200 fm-shadow-light-200 overflow-hidden bg-white" }, dt = { class: "flex items-center gap-12 px-12 py-10" }, ut = { class: "w-32 h-32 rounded-full bg-gradient-to-tr from-yellow-400 via-pink-500 to-purple-600 p-[2px] shrink-0" }, pt = { class: "w-full h-full rounded-full bg-white p-[1px] overflow-hidden" }, gt = ["src", "alt"], ft = {
@@ -568,10 +565,10 @@ const S = /* @__PURE__ */ C({
568
565
  caption: {}
569
566
  },
570
567
  setup(l) {
571
- const { t: m } = I(), { currentBusiness: d } = R();
572
- return (p, i) => {
568
+ const { t: c } = I(), { currentBusiness: d } = R();
569
+ return (p, m) => {
573
570
  var o, n, v;
574
- const r = b("FmIcon");
571
+ const i = b("FmIcon");
575
572
  return s(), u("div", mt, [
576
573
  e("div", dt, [
577
574
  e("div", ut, [
@@ -580,9 +577,9 @@ const S = /* @__PURE__ */ C({
580
577
  key: 0,
581
578
  src: t(d).thumbnail,
582
579
  class: "w-full h-full object-cover rounded-full",
583
- alt: t(m)("connect.marketing.preview.businessLogo")
580
+ alt: t(c)("connect.marketing.preview.businessLogo")
584
581
  }, null, 8, gt)) : (s(), u("div", ft, [
585
- c(r, {
582
+ r(i, {
586
583
  name: "storefront",
587
584
  size: "sm",
588
585
  color: "neutral-gray-400"
@@ -591,10 +588,10 @@ const S = /* @__PURE__ */ C({
591
588
  ])
592
589
  ]),
593
590
  e("div", vt, [
594
- e("p", _t, f(((n = t(d)) == null ? void 0 : n.name) ?? t(m)("connect.marketing.preview.yourBusiness")), 1),
595
- e("p", ht, f(t(m)("connect.marketing.preview.sponsored")), 1)
591
+ e("p", _t, f(((n = t(d)) == null ? void 0 : n.name) ?? t(c)("connect.marketing.preview.yourBusiness")), 1),
592
+ e("p", ht, f(t(c)("connect.marketing.preview.sponsored")), 1)
596
593
  ]),
597
- c(r, {
594
+ r(i, {
598
595
  name: "more_horiz",
599
596
  size: "sm",
600
597
  color: "neutral-gray-400"
@@ -604,10 +601,10 @@ const S = /* @__PURE__ */ C({
604
601
  l.imageUrl ? (s(), u("img", {
605
602
  key: 0,
606
603
  src: l.imageUrl,
607
- alt: t(m)("connect.marketing.preview.postImage"),
604
+ alt: t(c)("connect.marketing.preview.postImage"),
608
605
  class: "w-full h-auto block"
609
606
  }, null, 8, bt)) : (s(), u("div", xt, [
610
- c(r, {
607
+ r(i, {
611
608
  name: "image",
612
609
  size: "xl",
613
610
  color: "neutral-gray-300"
@@ -615,35 +612,35 @@ const S = /* @__PURE__ */ C({
615
612
  ]))
616
613
  ]),
617
614
  e("div", kt, [
618
- c(r, {
615
+ r(i, {
619
616
  name: "favorite_border",
620
617
  size: "md",
621
618
  color: "neutral-gray-700"
622
619
  }),
623
- c(r, {
620
+ r(i, {
624
621
  name: "mode_comment",
625
622
  size: "md",
626
623
  color: "neutral-gray-700",
627
624
  outline: ""
628
625
  }),
629
- c(r, {
626
+ r(i, {
630
627
  name: "send",
631
628
  size: "md",
632
629
  color: "neutral-gray-700"
633
630
  }),
634
- i[0] || (i[0] = e("div", { class: "flex-1" }, null, -1)),
635
- c(r, {
631
+ m[0] || (m[0] = e("div", { class: "flex-1" }, null, -1)),
632
+ r(i, {
636
633
  name: "bookmark_border",
637
634
  size: "md",
638
635
  color: "neutral-gray-700"
639
636
  })
640
637
  ]),
641
638
  e("div", wt, [
642
- e("p", $t, f(t(m)("connect.marketing.preview.likes", { count: "10,428" })), 1)
639
+ e("p", $t, f(t(c)("connect.marketing.preview.likes", { count: "10,428" })), 1)
643
640
  ]),
644
641
  l.caption || l.headline ? (s(), u("div", Mt, [
645
642
  e("p", Ct, [
646
- e("span", Ft, f(((v = t(d)) == null ? void 0 : v.name) ?? t(m)("connect.marketing.preview.yourBusiness")), 1),
643
+ e("span", Ft, f(((v = t(d)) == null ? void 0 : v.name) ?? t(c)("connect.marketing.preview.yourBusiness")), 1),
647
644
  e("span", Ut, f(l.caption ?? l.headline), 1)
648
645
  ])
649
646
  ])) : $("", !0)
@@ -667,25 +664,25 @@ const S = /* @__PURE__ */ C({
667
664
  caption: {}
668
665
  },
669
666
  setup(l) {
670
- const { t: m } = I(), { currentBusiness: d } = R();
671
- return (p, i) => {
667
+ const { t: c } = I(), { currentBusiness: d } = R();
668
+ return (p, m) => {
672
669
  var o, n;
673
- const r = b("FmIcon");
670
+ const i = b("FmIcon");
674
671
  return s(), u("div", It, [
675
672
  l.imageUrl ? (s(), u("img", {
676
673
  key: 0,
677
674
  src: l.imageUrl,
678
- alt: t(m)("connect.marketing.preview.storyImage"),
675
+ alt: t(c)("connect.marketing.preview.storyImage"),
679
676
  class: "absolute inset-0 w-full h-full object-contain"
680
677
  }, null, 8, jt)) : (s(), u("div", Et, [
681
- c(r, {
678
+ r(i, {
682
679
  name: "image",
683
680
  size: "xl",
684
681
  color: "neutral-gray-500"
685
682
  })
686
683
  ])),
687
684
  e("div", Tt, [
688
- i[0] || (i[0] = e("div", { class: "flex gap-4 mb-10" }, [
685
+ m[0] || (m[0] = e("div", { class: "flex gap-4 mb-10" }, [
689
686
  e("div", { class: "h-[2px] flex-1 rounded-full bg-white" })
690
687
  ], -1)),
691
688
  e("div", Bt, [
@@ -695,9 +692,9 @@ const S = /* @__PURE__ */ C({
695
692
  key: 0,
696
693
  src: t(d).thumbnail,
697
694
  class: "w-full h-full object-cover",
698
- alt: t(m)("connect.marketing.preview.businessLogo")
695
+ alt: t(c)("connect.marketing.preview.businessLogo")
699
696
  }, null, 8, At)) : (s(), u("div", St, [
700
- c(r, {
697
+ r(i, {
701
698
  name: "storefront",
702
699
  size: "sm",
703
700
  color: "neutral-gray-400"
@@ -706,15 +703,15 @@ const S = /* @__PURE__ */ C({
706
703
  ])
707
704
  ]),
708
705
  e("div", Vt, [
709
- e("p", Lt, f(((n = t(d)) == null ? void 0 : n.name) ?? t(m)("connect.marketing.preview.yourBusiness")), 1),
710
- e("p", Nt, f(t(m)("connect.marketing.preview.sponsored")), 1)
706
+ e("p", Lt, f(((n = t(d)) == null ? void 0 : n.name) ?? t(c)("connect.marketing.preview.yourBusiness")), 1),
707
+ e("p", Nt, f(t(c)("connect.marketing.preview.sponsored")), 1)
711
708
  ]),
712
- c(r, {
709
+ r(i, {
713
710
  name: "more_vert",
714
711
  size: "sm",
715
712
  color: "neutral-white"
716
713
  }),
717
- c(r, {
714
+ r(i, {
718
715
  name: "close",
719
716
  size: "sm",
720
717
  color: "neutral-white"
@@ -724,7 +721,7 @@ const S = /* @__PURE__ */ C({
724
721
  e("div", Dt, [
725
722
  l.caption ? (s(), u("p", Ot, f(l.caption), 1)) : $("", !0),
726
723
  e("div", Ht, [
727
- e("button", Wt, f(l.headline ?? t(m)("connect.marketing.preview.learnMore")), 1)
724
+ e("button", Wt, f(l.headline ?? t(c)("connect.marketing.preview.learnMore")), 1)
728
725
  ])
729
726
  ])
730
727
  ]);
@@ -745,21 +742,21 @@ const S = /* @__PURE__ */ C({
745
742
  modelValue: {}
746
743
  },
747
744
  emits: ["update:modelValue"],
748
- setup(l, { emit: m }) {
749
- const d = l, p = m, { t: i } = I(), r = M(!1), o = E(() => [
745
+ setup(l, { emit: c }) {
746
+ const d = l, p = c, { t: m } = I(), i = M(!1), o = E(() => [
750
747
  {
751
- name: i("connect.marketing.preview.facebook"),
748
+ name: m("connect.marketing.preview.facebook"),
752
749
  iconColor: "#1877F2",
753
750
  iconPath: "M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z",
754
751
  options: [
755
752
  {
756
- label: i("connect.marketing.preview.facebookPost"),
753
+ label: m("connect.marketing.preview.facebookPost"),
757
754
  value: "facebook-post",
758
755
  icon: "draft",
759
756
  aspectRatio: "1:1"
760
757
  },
761
758
  {
762
- label: i("connect.marketing.preview.facebookStory"),
759
+ label: m("connect.marketing.preview.facebookStory"),
763
760
  value: "facebook-story",
764
761
  icon: "motion_play",
765
762
  aspectRatio: "9:16"
@@ -767,18 +764,18 @@ const S = /* @__PURE__ */ C({
767
764
  ]
768
765
  },
769
766
  {
770
- name: i("connect.marketing.preview.instagram"),
767
+ name: m("connect.marketing.preview.instagram"),
771
768
  iconColor: "#E1306C",
772
769
  iconPath: "M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm5.882-10.55a1.44 1.44 0 10-2.88 0 1.44 1.44 0 002.88 0z",
773
770
  options: [
774
771
  {
775
- label: i("connect.marketing.preview.instagramPost"),
772
+ label: m("connect.marketing.preview.instagramPost"),
776
773
  value: "instagram-post",
777
774
  icon: "draft",
778
775
  aspectRatio: "1:1"
779
776
  },
780
777
  {
781
- label: i("connect.marketing.preview.instagramStory"),
778
+ label: m("connect.marketing.preview.instagramStory"),
782
779
  value: "instagram-story",
783
780
  icon: "motion_play",
784
781
  aspectRatio: "9:16"
@@ -790,19 +787,19 @@ const S = /* @__PURE__ */ C({
790
787
  ), _ = E(
791
788
  () => o.value.find((h) => h.options.some((F) => F.value === d.modelValue))
792
789
  ), k = (h) => {
793
- p("update:modelValue", h), r.value = !1;
790
+ p("update:modelValue", h), i.value = !1;
794
791
  };
795
792
  return (h, F) => {
796
793
  const U = b("FmIcon");
797
794
  return s(), u("div", Gt, [
798
- r.value ? (s(), u("div", {
795
+ i.value ? (s(), u("div", {
799
796
  key: 0,
800
797
  class: "fixed inset-0 z-10",
801
- onClick: F[0] || (F[0] = (w) => r.value = !1)
798
+ onClick: F[0] || (F[0] = (w) => i.value = !1)
802
799
  })) : $("", !0),
803
800
  e("button", {
804
801
  type: "button",
805
- onClick: F[1] || (F[1] = (w) => r.value = !r.value),
802
+ onClick: F[1] || (F[1] = (w) => i.value = !i.value),
806
803
  class: "relative z-20 flex items-center justify-between w-full px-16 py-12 bg-white border border-fm-color-neutral-gray-200 rounded-lg hover:border-fm-color-primary-300 focus:outline-none focus:border-fm-color-primary-500 transition-colors shadow-sm"
807
804
  }, [
808
805
  v.value && _.value ? (s(), u("div", Kt, [
@@ -818,13 +815,13 @@ const S = /* @__PURE__ */ C({
818
815
  ], 8, Zt)),
819
816
  e("span", Qt, f(v.value.label), 1)
820
817
  ])) : $("", !0),
821
- c(U, {
818
+ r(U, {
822
819
  name: "expand_more",
823
820
  size: "md",
824
821
  color: "neutral-gray-400"
825
822
  })
826
823
  ]),
827
- r.value ? (s(), u("div", Xt, [
824
+ i.value ? (s(), u("div", Xt, [
828
825
  e("div", Yt, [
829
826
  (s(!0), u(B, null, L(o.value, (w, y) => (s(), u("div", {
830
827
  key: w.name,
@@ -852,7 +849,7 @@ const S = /* @__PURE__ */ C({
852
849
  ]])
853
850
  }, [
854
851
  e("div", lo, [
855
- c(U, {
852
+ r(U, {
856
853
  name: a.icon,
857
854
  size: "sm",
858
855
  outline: "",
@@ -882,24 +879,24 @@ const S = /* @__PURE__ */ C({
882
879
  marketingMaterial: {}
883
880
  },
884
881
  emits: ["save"],
885
- setup(l, { emit: m }) {
886
- const d = l, { t: p } = I(), { shareMaterial: i } = K();
887
- async function r() {
888
- await i(d.marketingMaterial);
882
+ setup(l, { emit: c }) {
883
+ const d = l, { t: p } = I(), { shareMaterial: m } = G();
884
+ async function i() {
885
+ await m(d.marketingMaterial);
889
886
  }
890
887
  return (o, n) => {
891
888
  const v = b("FmButton"), _ = b("FmMenuItem"), k = b("FmMenu");
892
889
  return s(), u("div", mo, [
893
- c(v, {
890
+ r(v, {
894
891
  variant: "primary",
895
892
  disabled: l.disabled,
896
893
  class: "!rounded-r-none",
897
894
  label: t(p)("connect.common.save"),
898
895
  onClick: n[0] || (n[0] = (h) => o.$emit("save"))
899
896
  }, null, 8, ["disabled", "label"]),
900
- c(k, { placement: "bottom-end" }, {
897
+ r(k, { placement: "bottom-end" }, {
901
898
  "menu-button": j(() => [
902
- c(v, {
899
+ r(v, {
903
900
  variant: "primary",
904
901
  icon: "arrow_drop_down",
905
902
  disabled: l.disabled,
@@ -907,10 +904,10 @@ const S = /* @__PURE__ */ C({
907
904
  }, null, 8, ["disabled"])
908
905
  ]),
909
906
  default: j(() => [
910
- c(_, {
907
+ r(_, {
911
908
  label: t(p)("connect.marketing.actions.share"),
912
909
  disabled: !l.marketingMaterial || l.disabled,
913
- onClick: r
910
+ onClick: i
914
911
  }, null, 8, ["label", "disabled"])
915
912
  ]),
916
913
  _: 1
@@ -921,31 +918,31 @@ const S = /* @__PURE__ */ C({
921
918
  }), po = { class: "mx-auto mb-24 grid max-w-[856px] grid-cols-1 lg:grid-cols-2 rounded-2xl xs:rounded-none border border-fm-color-neutral-gray-200 xs:border-none overflow-hidden" }, go = { class: "min-w-0 bg-fm-color-neutral-gray-50 xs:p-16" }, fo = { class: "mx-auto flex max-w-[560px] flex-col" }, vo = { class: "p-24 xs:p-16" }, _o = { class: "bg-fm-color-neutral-gray-100 p-24 xs:p-12" }, Eo = /* @__PURE__ */ C({
922
919
  __name: "MarketingMaterialEdit",
923
920
  setup(l) {
924
- const { t: m } = I(), d = te(), p = G(), i = se(), { minor: r } = ie, o = M(null), n = M(null), v = E(() => !o.value || !n.value ? !1 : o.value.imageUrl !== n.value.imageUrl || o.value.headline !== n.value.headline || o.value.caption !== n.value.caption), _ = {
925
- label: m("connect.common.cancel"),
921
+ const { t: c } = I(), d = te(), p = q(), m = se(), { minor: i } = ie, o = M(null), n = M(null), v = E(() => !o.value || !n.value ? !1 : o.value.imageUrl !== n.value.imageUrl || o.value.headline !== n.value.headline || o.value.caption !== n.value.caption), _ = {
922
+ label: c("connect.common.cancel"),
926
923
  value: "cancel",
927
924
  isPrimary: !1
928
925
  };
929
926
  async function k() {
930
- v.value ? i.open({
931
- title: m("connect.campaign.common.unsaved_changes"),
932
- message: m("connect.campaign.common.unsaved_changes"),
927
+ v.value ? m.open({
928
+ title: c("connect.campaign.common.unsaved_changes"),
929
+ message: c("connect.campaign.common.unsaved_changes"),
933
930
  primaryActions: {
934
- text: m("connect.campaign.common.unsaved_changes_confirm"),
931
+ text: c("connect.campaign.common.unsaved_changes_confirm"),
935
932
  close: !0
936
933
  },
937
934
  secondaryActions: {
938
- text: m("connect.campaign.common.unsaved_changes_cancel"),
935
+ text: c("connect.campaign.common.unsaved_changes_cancel"),
939
936
  close: !1
940
937
  }
941
938
  }).onPrimary(() => {
942
939
  d.push({ name: A["$connect-MARKETING"] });
943
940
  }).onSecondary(() => {
944
- i.close();
941
+ m.close();
945
942
  }) : d.push({ name: A["$connect-MARKETING"] });
946
943
  }
947
944
  async function h() {
948
- o.value && await r(
945
+ o.value && await i(
949
946
  async () => {
950
947
  const y = o.value._id, a = await H.updateMarketingMaterial(y, {
951
948
  imageUrl: o.value.imageUrl,
@@ -955,8 +952,8 @@ const S = /* @__PURE__ */ C({
955
952
  o.value = a, n.value = O.cloneDeep(a);
956
953
  },
957
954
  {
958
- message: m("connect.marketing.materialEdit.saving"),
959
- successMessage: m("connect.marketing.materialEdit.save_success")
955
+ message: c("connect.marketing.materialEdit.saving"),
956
+ successMessage: c("connect.marketing.materialEdit.save_success")
960
957
  }
961
958
  );
962
959
  }
@@ -986,15 +983,15 @@ const S = /* @__PURE__ */ C({
986
983
  }), (y, a) => {
987
984
  const g = b("FmPageHead");
988
985
  return s(), u(B, null, [
989
- c(g, {
986
+ r(g, {
990
987
  "back-button": !0,
991
- title: t(m)("connect.marketing.materialEdit.title"),
988
+ title: t(c)("connect.marketing.materialEdit.title"),
992
989
  actions: [_],
993
990
  "onClick:back": k,
994
991
  "onClick:action": F
995
992
  }, {
996
993
  append: j(() => [
997
- c(uo, {
994
+ r(uo, {
998
995
  "marketing-material": t(o),
999
996
  onSave: h
1000
997
  }, null, 8, ["marketing-material"])
@@ -1005,7 +1002,7 @@ const S = /* @__PURE__ */ C({
1005
1002
  e("section", go, [
1006
1003
  e("div", fo, [
1007
1004
  e("div", vo, [
1008
- c(co, {
1005
+ r(co, {
1009
1006
  modelValue: t(U),
1010
1007
  "onUpdate:modelValue": a[0] || (a[0] = (x) => Y(U) ? U.value = x : null)
1011
1008
  }, null, 8, ["modelValue"])