@cling-se/widget 0.9.23 → 0.9.24

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 (122) hide show
  1. package/dist/{AddClientCallout-49655a64.js → AddClientCallout-4afb07ff.js} +5 -5
  2. package/dist/{AnswerModal-6f4004e1.js → AnswerModal-2b11381b.js} +84 -27
  3. package/dist/{AttachmentItem-e3bfcd82.js → AttachmentItem-c666fb74.js} +7 -5
  4. package/dist/{BaseDatePicker-d04f761f.js → BaseDatePicker-e1efcf48.js} +1 -1
  5. package/dist/{BaseInput-e14e8b12.js → BaseInput-44c3af54.js} +6 -2
  6. package/dist/{BaseUpload-0fa8ad72.js → BaseUpload-740b1f88.js} +28 -11
  7. package/dist/{BlockMedia-b49a63f3.js → BlockMedia-f5086397.js} +5 -3
  8. package/dist/{CCallout-baeb732f.js → CCallout-1a1feea0.js} +6 -9
  9. package/dist/{CDropdownItem-e0cecd02.js → CDropdownItem-cc274799.js} +3 -3
  10. package/dist/{CField-c10f5951.js → CField-372bd9c7.js} +18 -4
  11. package/dist/{CPhoneFormat-636103a1.js → CPhoneFormat-b273a499.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-d964f857.js → CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js} +4 -2
  13. package/dist/{ClientAutocomplete-28bf2076.js → ClientAutocomplete-0f51c1cd.js} +3 -3
  14. package/dist/{ClientModal-b94206f4.js → ClientModal-1bec5a45.js} +34 -19
  15. package/dist/{ColorPicker-b5a7f700.js → ColorPicker-43c741fb.js} +2 -2
  16. package/dist/{CompanyModal-c47e7c55.js → CompanyModal-adec1d7e.js} +8 -5
  17. package/dist/{ContentWrapper-8293109f.js → ContentWrapper-48e69342.js} +40 -27
  18. package/dist/{CoverBlockSettings-2242d653.js → CoverBlockSettings-c0a57bee.js} +49 -34
  19. package/dist/{DocAnswer-75f53dd5.js → DocAnswer-f0f7d55d.js} +4 -4
  20. package/dist/{DocDetails-1bdecff4.js → DocDetails-0e25552f.js} +71 -46
  21. package/dist/{DocForm-263bac20.js → DocForm-2ab0c521.js} +515 -291
  22. package/dist/{DocFormSend-5b098ca6.js → DocFormSend-e60808ca.js} +18 -18
  23. package/dist/{DocLinks-500b61b0.js → DocLinks-20719644.js} +2 -2
  24. package/dist/{DocModalBase-b64e792b.js → DocModalBase-039f53c2.js} +4 -4
  25. package/dist/{DocPrint-555475c6.js → DocPrint-aafc72e2.js} +2 -2
  26. package/dist/{DocReceipt-5a393f79.js → DocReceipt-641b141c.js} +33 -10
  27. package/dist/{DocSendReminder-8d875174.js → DocSendReminder-aabc0994.js} +30 -5
  28. package/dist/{DocTextEditor-7fd7ca5f.js → DocTextEditor-3eb97671.js} +86 -37
  29. package/dist/{DocTimeline-0273acd1.js → DocTimeline-9d765ded.js} +11 -2
  30. package/dist/{DocumentClient-342454c2.js → DocumentClient-8d59d823.js} +7 -7
  31. package/dist/{DocumentLayout-00ec1c6f.js → DocumentLayout-a659ce2a.js} +31 -11
  32. package/dist/{DocumentLogotype-137fd8f5.js → DocumentLogotype-393d1610.js} +8 -8
  33. package/dist/{DocumentVoided-584cbee7.js → DocumentVoided-9294f5d4.js} +1 -1
  34. package/dist/{EmbedInput-19362c0b.js → EmbedInput-e6a9ee21.js} +2 -2
  35. package/dist/{EmbedSettings-cbffd133.js → EmbedSettings-e31ccfdc.js} +7 -7
  36. package/dist/ErrorCallout-d6c77efa.js +30 -0
  37. package/dist/{FilePreviewModal-80a5f1fc.js → FilePreviewModal-84d6ab65.js} +6 -6
  38. package/dist/{HeaderSettings-e5e52b5a.js → HeaderSettings-51d44d2d.js} +65 -63
  39. package/dist/{ImageSelectModal-f54699a2.js → ImageSelectModal-051e0929.js} +27 -27
  40. package/dist/{ImageUploadWrapper-d4291dd3.js → ImageUploadWrapper-dcceec48.js} +11 -5
  41. package/dist/{Index-dbeaf863.js → Index-06045b22.js} +9 -10
  42. package/dist/{Index-d60eb16f.js → Index-0932b744.js} +32 -20
  43. package/dist/{Index-468190f0.js → Index-20c0168b.js} +15 -15
  44. package/dist/{Index-e813c8cd.js → Index-3571dbbe.js} +2 -2
  45. package/dist/{Index-8ef32146.js → Index-36ba2c7c.js} +20 -16
  46. package/dist/{Index-c89d17d9.js → Index-39d0e781.js} +17 -17
  47. package/dist/{Index-7fe05fe5.js → Index-3bdfc806.js} +3 -3
  48. package/dist/{Index-a3ee21e6.js → Index-3cb4cf49.js} +4 -4
  49. package/dist/Index-42639492.js +28 -0
  50. package/dist/{Index-4df3c1d2.js → Index-494c3112.js} +300 -147
  51. package/dist/{Index-d6635896.js → Index-51ceb867.js} +20 -16
  52. package/dist/{Index-630c21f5.js → Index-54695ef1.js} +13 -11
  53. package/dist/{Index-9afa091c.js → Index-5b2c568a.js} +13 -11
  54. package/dist/{Index-843f81bd.js → Index-5def7508.js} +17 -12
  55. package/dist/{Index-5093d646.js → Index-5ead0dc5.js} +2 -2
  56. package/dist/{Index-a79cd9b6.js → Index-652a82d0.js} +6 -6
  57. package/dist/{Index-0f2bf3b1.js → Index-75922cfc.js} +13 -13
  58. package/dist/{Index-bf0e9351.js → Index-9a162ce6.js} +2 -2
  59. package/dist/{Index-7c60cb32.js → Index-a94f257f.js} +56 -31
  60. package/dist/{Index-7dec77f5.js → Index-a98c290d.js} +21 -18
  61. package/dist/{Index-0eb9d45b.js → Index-b33109a3.js} +13 -9
  62. package/dist/{Index-12a6485f.js → Index-c1aa1453.js} +3 -3
  63. package/dist/{Index-a36c3418.js → Index-c2008029.js} +2 -2
  64. package/dist/{Index-bb62e92d.js → Index-c4942c4e.js} +22 -27
  65. package/dist/{Index-aad34e7e.js → Index-c5983b2b.js} +13 -15
  66. package/dist/{Index-f640eb29.js → Index-c8ded03a.js} +2 -2
  67. package/dist/{Index-16155aba.js → Index-cc56dad6.js} +7 -7
  68. package/dist/{Index-29147f73.js → Index-d77ba606.js} +51 -43
  69. package/dist/{Index-4c78a308.js → Index-d7a7de69.js} +24 -17
  70. package/dist/{Index-0b1a9238.js → Index-e8a3b12b.js} +4 -4
  71. package/dist/{Index-bf2ed6a3.js → Index-e9da5a9c.js} +3 -3
  72. package/dist/{Index-b66d1e1a.js → Index-f36accd7.js} +4 -4
  73. package/dist/{Index-96725e56.js → Index-fd6da129.js} +7 -7
  74. package/dist/{Index-64236029.js → Index-fdb53118.js} +6 -9
  75. package/dist/{InputToggleRow-40b7b57e.js → InputToggleRow-79bbd6c6.js} +4 -4
  76. package/dist/{IsPremiumPreStep-d2ceb183.js → IsPremiumPreStep-f0524e76.js} +81 -36
  77. package/dist/{ManualPopover-58c3f059.js → ManualPopover-8a1e53a5.js} +5 -2
  78. package/dist/{MediaWrapper-0e3ff436.js → MediaWrapper-b128c707.js} +3 -3
  79. package/dist/{NotBindingText-38e6e74c.js → NotBindingText-561df6d3.js} +2 -2
  80. package/dist/{PackageGroup-6e6dd719.js → PackageGroup-3eaff6a7.js} +184 -69
  81. package/dist/{PdfTerms-3be0f8d1.js → PdfTerms-27d7ea41.js} +8 -8
  82. package/dist/{PdfViewer-991eb731.js → PdfViewer-5b2bcbb5.js} +2 -2
  83. package/dist/{PlainHtml-4aaf6438.js → PlainHtml-c743e90e.js} +1 -1
  84. package/dist/{PriceHeader-f3e7b525.js → PriceHeader-287b8219.js} +48 -32
  85. package/dist/{SearchApi-2523a5fb.js → SearchApi-1cd32dd3.js} +40 -20
  86. package/dist/{Setup-2849b519.js → Setup-647c8d19.js} +1 -1
  87. package/dist/{TermsSettings-6d3dfe8d.js → TermsSettings-28e00bdf.js} +11 -11
  88. package/dist/{ThemeColorRow-a33d04b5.js → ThemeColorRow-87aad7e1.js} +4 -4
  89. package/dist/{ToggleBinding-7c726915.js → ToggleBinding-86912659.js} +3 -3
  90. package/dist/{UploadModal-814fc3af.js → UploadModal-4065d410.js} +16 -14
  91. package/dist/{VideoPlayerInput-fa0774c1.js → VideoPlayerInput-1b402e91.js} +3 -3
  92. package/dist/{VideoPlayerSettings-ff82938f.js → VideoPlayerSettings-4dcca863.js} +5 -5
  93. package/dist/{VideoSelectModal-7b213a09.js → VideoSelectModal-4f9def15.js} +32 -36
  94. package/dist/{answerDocumentMixin-b2488be9.js → answerDocumentMixin-6b6cfdb6.js} +3 -3
  95. package/dist/{debounce-0451fa9d.js → debounce-97bb38ac.js} +1 -1
  96. package/dist/{focusDrawerMixin-0d406532.js → focusDrawerMixin-0d00dfeb.js} +1 -1
  97. package/dist/{formComponentsInstall-9c59efba.js → formComponentsInstall-0e28cca8.js} +210 -168
  98. package/dist/{formDrawerState-6c57d51e.js → formDrawerState-68670778.js} +1 -1
  99. package/dist/{formValidationMixin-7603171e.js → formValidationMixin-cb6f10e2.js} +1 -1
  100. package/dist/{image-58c45661.js → image-456aa00c.js} +1 -1
  101. package/dist/{index-b20167b3.js → index-1f6e36c5.js} +4 -4
  102. package/dist/{index-cf014fd4.js → index-2710ab1c.js} +2 -2
  103. package/dist/{index-c0b45aa7.js → index-63ab2d14.js} +12 -12
  104. package/dist/{index-4afc771b.js → index-b8207e2a.js} +1 -1
  105. package/dist/{index-47e427b4.js → index-e4f936ec.js} +8 -6
  106. package/dist/{index-0c493549.js → index-ea1c7f84.js} +17 -9
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +95 -66
  109. package/dist/{main-8d566a02.js → main-b5eb6366.js} +134 -76
  110. package/dist/{mapFormMixin-4446a1bd.js → mapFormMixin-e0c45bbd.js} +1 -1
  111. package/dist/{publicSenderState-02c0c9eb.js → publicSenderState-4163b1b6.js} +1 -1
  112. package/dist/{simplebar.min-d30d6e1f.js → simplebar.min-147772cd.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-e04cc32f.js → template-6e93622c.js} +7 -7
  115. package/dist/{throttle-b0a5ba09.js → throttle-7a7a1299.js} +2 -2
  116. package/dist/{tinycolor-c6f29f33.js → tinycolor-bb8652ea.js} +1 -1
  117. package/dist/{tippy.esm-2cb937d0.js → tippy.esm-f533f77b.js} +8 -8
  118. package/dist/{utils-36338df7.js → utils-066c47a5.js} +1 -1
  119. package/dist/{vuedraggable.umd-a0d21ce9.js → vuedraggable.umd-76911d11.js} +1 -1
  120. package/package.json +2 -2
  121. package/dist/ErrorCallout-4ce34a95.js +0 -30
  122. package/dist/Index-66295ea9.js +0 -28
@@ -1,8 +1,8 @@
1
- import { m as o } from "./mapFormMixin-4446a1bd.js";
2
- import { f as r } from "./focusDrawerMixin-0d406532.js";
3
- import { g as n } from "./utils-36338df7.js";
4
- import { n as a } from "./main-8d566a02.js";
5
- import "./formDrawerState-6c57d51e.js";
1
+ import { m as o } from "./mapFormMixin-e0c45bbd.js";
2
+ import { f as r } from "./focusDrawerMixin-0d00dfeb.js";
3
+ import { g as n } from "./utils-066c47a5.js";
4
+ import { n as a } from "./main-b5eb6366.js";
5
+ import "./formDrawerState-68670778.js";
6
6
  const d = {
7
7
  name: "VideoPlayer",
8
8
  i18nOptions: {
@@ -10,8 +10,8 @@ const d = {
10
10
  keyPrefix: "document.videoPlayer"
11
11
  },
12
12
  components: {
13
- VideoPlayerSettings: () => import("./VideoPlayerSettings-ff82938f.js"),
14
- VideoPlayerInput: () => import("./VideoPlayerInput-fa0774c1.js")
13
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-4dcca863.js"),
14
+ VideoPlayerInput: () => import("./VideoPlayerInput-1b402e91.js")
15
15
  },
16
16
  mixins: [o(["videoPlayer"]), r],
17
17
  data() {
@@ -1,7 +1,7 @@
1
- import { m as r } from "./mapFormMixin-4446a1bd.js";
2
- import { I as n } from "./InputToggleRow-40b7b57e.js";
3
- import { B as l } from "./BaseDatePicker-d04f761f.js";
4
- import { n as s } from "./main-8d566a02.js";
1
+ import { m as r } from "./mapFormMixin-e0c45bbd.js";
2
+ import { I as n } from "./InputToggleRow-79bbd6c6.js";
3
+ import { B as l } from "./BaseDatePicker-e1efcf48.js";
4
+ import { n as s } from "./main-b5eb6366.js";
5
5
  const c = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeStartEnd",
@@ -29,10 +29,7 @@ const c = {
29
29
  InputToggleRow: n,
30
30
  BaseDatePicker: l
31
31
  },
32
- mixins: [r([
33
- "startAt",
34
- "endAt"
35
- ])]
32
+ mixins: [r(["startAt", "endAt"])]
36
33
  };
37
34
  var i = function() {
38
35
  var t = this, a = t._self._c;
@@ -42,7 +39,7 @@ var i = function() {
42
39
  e.preventDefault();
43
40
  } }, model: { value: t.startAt, callback: function(e) {
44
41
  t.startAt = e;
45
- }, expression: "startAt" } }), a("div", { staticStyle: { "line-height": "calc(3 * var(--rem))", margin: "0 calc(0.5 * var(--rem))", "font-size": "calc(calc(1 * var(--rem)) + 2px)" } }, [t._v("→")]), a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "calc(8 * var(--rem))" }, attrs: { static: !0, placeholder: t.$t("placeholders.end") }, on: { click: function(e) {
42
+ }, expression: "startAt" } }), a("div", { staticStyle: { "line-height": "calc(3 * var(--rem))", margin: "0 calc(0.5 * var(--rem))", "font-size": "calc(calc(1 * var(--rem)) + 2px)" } }, [t._v(" ")]), a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "calc(8 * var(--rem))" }, attrs: { static: !0, placeholder: t.$t("placeholders.end") }, on: { click: function(e) {
46
43
  e.preventDefault();
47
44
  } }, model: { value: t.endAt, callback: function(e) {
48
45
  t.endAt = e;
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-8d566a02.js";
1
+ import { n as s } from "./main-b5eb6366.js";
2
2
  const n = {
3
3
  name: "InputCompactRow",
4
4
  props: {
@@ -37,19 +37,19 @@ var l = function() {
37
37
  return e("div", { staticClass: "input-row" }, [e("div", { staticClass: "flex justify-between w-full" }, [e("div", { staticClass: "input-label" }, [t._t("label", function() {
38
38
  return [t._v(t._s(t.label))];
39
39
  })], 2), e("div", { staticClass: "flex justify-end w-full", staticStyle: { width: "initial" } }, [t._t("toggle", function() {
40
- return [t.showClear ? e("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("remove"), expression: "$t('remove')" }], staticClass: "clear-input-button", attrs: { size: "small", icon: "x" }, on: { click: function(r) {
40
+ return [t.showClear ? e("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("remove"), expression: "$t('remove')" }], staticClass: "clear-input-button", attrs: { size: "small", icon: "x" }, on: { click: function(c) {
41
41
  return t.$emit("remove");
42
42
  } } }) : t._e(), t.isEditing ? t.$scopedSlots.bottom ? t._e() : e("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: t.closeEdit, expression: "closeEdit" }], ref: "inputContainer" }, [t._t("default")], 2) : e("CButton", { staticClass: "input-toggle-button", class: { "is-edit": t.isEditing }, attrs: { type: "none", pattern: "secondary", size: "small" }, on: { click: t.openEdit } }, [t._t("displayValue", function() {
43
43
  return [t._v(t._s(t.displayValue))];
44
44
  })], 2)];
45
- })], 2)]), t.$scopedSlots.bottom ? e("div", [e("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: () => t.isEditing ? t.closeEdit : null, expression: "() => isEditing ? closeEdit : null" }] }, [t._t("bottom", null, { isEditing: t.isEditing, closeEdit: t.closeEdit })], 2)]) : t._e()]);
45
+ })], 2)]), t.$scopedSlots.bottom ? e("div", [e("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: () => t.isEditing ? t.closeEdit : null, expression: "() => (isEditing ? closeEdit : null)" }] }, [t._t("bottom", null, { isEditing: t.isEditing, closeEdit: t.closeEdit })], 2)]) : t._e()]);
46
46
  }, o = [], a = /* @__PURE__ */ s(
47
47
  n,
48
48
  l,
49
49
  o,
50
50
  !1,
51
51
  null,
52
- "567090b7",
52
+ "9cac2cce",
53
53
  null,
54
54
  null
55
55
  );
@@ -1,8 +1,8 @@
1
- import { c as h, X as L, ay as B, b as C, az as M, aA as Z, aB as K, aC as Y, aD as W, V as F, aE as X, aF as Q, n as d, u as P, E as J, T as y, aG as ee, g as m, aH as _, aI as te, aJ as ne, aK as ae, aL as H, p as re, h as D, I as E, aM as U, J as ie, aN as se, ao as oe } from "./main-8d566a02.js";
1
+ import { c as h, X as L, ay as B, b as C, az as M, aA as Z, aB as K, aC as Y, aD as W, V as F, aE as X, aF as Q, n as d, u as P, E as J, T as y, aG as ee, g as m, aH as _, aI as te, aJ as ne, aK as ae, aL as H, p as re, h as D, I as E, aM as U, J as ie, aN as se, ao as oe } from "./main-b5eb6366.js";
2
2
  import { m as v, a as T, b as le } from "./vuex.esm-4a0fff7c.js";
3
3
  import { a as u } from "./anime.es-e284c852.js";
4
- import { g as k } from "./image-58c45661.js";
5
- import "./index-4afc771b.js";
4
+ import { g as k } from "./image-456aa00c.js";
5
+ import "./index-b8207e2a.js";
6
6
  import { g as ce } from "./dom-962579a6.js";
7
7
  import { v as b } from "./index-805c56e4.js";
8
8
  const x = {
@@ -1760,7 +1760,7 @@ var be = function() {
1760
1760
  Pe,
1761
1761
  !1,
1762
1762
  null,
1763
- "1254a889",
1763
+ "ebe417f7",
1764
1764
  null,
1765
1765
  null
1766
1766
  );
@@ -1838,16 +1838,15 @@ const xe = {
1838
1838
  if (typeof e > "u" || typeof t > "u")
1839
1839
  return "";
1840
1840
  const a = e / (this.interval === "month" ? 1 : 12);
1841
- return `${P(a, { currency: t })}/${this.$t("_common:month")}`;
1841
+ return `${P(a, { currency: t })}/${this.$t(
1842
+ "_common:month"
1843
+ )}`;
1842
1844
  }
1843
1845
  }
1844
1846
  };
1845
1847
  var we = function() {
1846
1848
  var e = this, t = e._self._c;
1847
- return t("div", { staticClass: "flex flex-col items-center w-full animating", staticStyle: { "padding-top": "30px" } }, [t("div", { staticClass: "flex flex-col items-center w-full text-center anim-block", staticStyle: { "margin-bottom": "50px" } }, [t("div", { staticStyle: { "font-size": "22px", "font-weight": "600", "margin-bottom": "20px", "max-width": "20ch" }, domProps: { innerHTML: e._s(e.$t("title", { brand: e.$t("_common:brand.name") })) } }), t("div", { staticStyle: { position: "relative" } }, [t("div", { staticClass: "tgl-btn-group" }, e._l([
1848
- "month",
1849
- "year"
1850
- ], function(a) {
1849
+ return t("div", { staticClass: "flex flex-col items-center w-full animating", staticStyle: { "padding-top": "30px" } }, [t("div", { staticClass: "flex flex-col items-center w-full text-center anim-block", staticStyle: { "margin-bottom": "50px" } }, [t("div", { staticStyle: { "font-size": "22px", "font-weight": "600", "margin-bottom": "20px", "max-width": "20ch" }, domProps: { innerHTML: e._s(e.$t("title", { brand: e.$t("_common:brand.name") })) } }), t("div", { staticStyle: { position: "relative" } }, [t("div", { staticClass: "tgl-btn-group" }, e._l(["month", "year"], function(a) {
1851
1850
  return t("div", { key: a, staticClass: "tgl-btn", class: {
1852
1851
  selected: e.interval === a
1853
1852
  }, domProps: { textContent: e._s(e.$t(`_common:paymentInterval.${a}`).capitalize()) }, on: { click: function(r) {
@@ -1858,7 +1857,7 @@ var we = function() {
1858
1857
  selected: e.plan === a.accountType
1859
1858
  }, on: { click: function(i) {
1860
1859
  return e.$emit("update:plan", a.accountType);
1861
- } } }, [t("div", [t("img", { staticStyle: { "box-shadow": "0 4px 6px rgba(240, 147, 234, 0.34)", "border-radius": "50%" }, attrs: { src: a.img, alt: a.name, width: "50", height: "50" } })]), t("div", { staticClass: "PriceItem__title" }, [t("span", { domProps: { textContent: e._s(a.name) } }), e._v("   ")]), e.currentAccountType === a.accountType ? t("svg", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("currentPlan"), expression: "$t('currentPlan')" }], staticClass: "absolute right-0 top-0 rounded-tr-lg text-gray-400 [.selected_&]:text-primary-500", attrs: { width: "50", height: "50", viewBox: "0 0 70 70", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M0 0H70V70L0 0Z", fill: "currentColor" } }), t("path", { attrs: { d: "M39.4203 23.5667L45 29.1464L57.0732 17.0732", stroke: "white", "stroke-width": "4" } })]) : e._e(), t("div", { staticClass: "PriceItem__cost" }, [t("span", { staticStyle: { display: "inline-block" }, domProps: { textContent: e._s(e.getPriceFormatted(a)) } }), e._v("   ")]), t("div", { staticStyle: { "font-size": "14px", "margin-bottom": "20px", color: "hsl(240, 8%, 45%)", "min-height": "2em" } }, [t("transition", { attrs: { name: "vertical-fader" } }, [e.interval === "year" && a.accountType !== "free" ? t("span", { staticStyle: { display: "inline-block" }, domProps: { textContent: e._s(e.$t("billedYearly")) } }) : e._e()])], 1), t("ul", { staticClass: "PriceItem__text" }, e._l(a.features, function(i) {
1860
+ } } }, [t("div", [t("img", { staticStyle: { "box-shadow": "0 4px 6px rgba(240, 147, 234, 0.34)", "border-radius": "50%" }, attrs: { src: a.img, alt: a.name, width: "50", height: "50" } })]), t("div", { staticClass: "PriceItem__title" }, [t("span", { domProps: { textContent: e._s(a.name) } }), e._v("  ")]), e.currentAccountType === a.accountType ? t("svg", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("currentPlan"), expression: "$t('currentPlan')" }], staticClass: "absolute right-0 top-0 rounded-tr-lg text-gray-400 [.selected_&]:text-primary-500", attrs: { width: "50", height: "50", viewBox: "0 0 70 70", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M0 0H70V70L0 0Z", fill: "currentColor" } }), t("path", { attrs: { d: "M39.4203 23.5667L45 29.1464L57.0732 17.0732", stroke: "white", "stroke-width": "4" } })]) : e._e(), t("div", { staticClass: "PriceItem__cost" }, [t("span", { staticStyle: { display: "inline-block" }, domProps: { textContent: e._s(e.getPriceFormatted(a)) } }), e._v("   ")]), t("div", { staticStyle: { "font-size": "14px", "margin-bottom": "20px", color: "hsl(240, 8%, 45%)", "min-height": "2em" } }, [t("transition", { attrs: { name: "vertical-fader" } }, [e.interval === "year" && a.accountType !== "free" ? t("span", { staticStyle: { display: "inline-block" }, domProps: { textContent: e._s(e.$t("billedYearly")) } }) : e._e()])], 1), t("ul", { staticClass: "PriceItem__text" }, e._l(a.features, function(i) {
1862
1861
  return t("li", { key: i }, [t("span", { domProps: { textContent: e._s(i) } })]);
1863
1862
  }), 0)]);
1864
1863
  }), 0), t("CButton", { staticClass: "anim-block sticky-btn", attrs: { disabled: e.currentAccountType === e.plan && e.currentInterval === e.interval || e.plan === "free", type: "secondary", "icon-right": "arrow-right" }, on: { click: function(a) {
@@ -1870,7 +1869,7 @@ var we = function() {
1870
1869
  Te,
1871
1870
  !1,
1872
1871
  null,
1873
- "8473061a",
1872
+ "8640a593",
1874
1873
  null,
1875
1874
  null
1876
1875
  );
@@ -2384,7 +2383,11 @@ const He = {
2384
2383
  return (n = this.customer) == null ? void 0 : n.paymentMethodLast4;
2385
2384
  },
2386
2385
  sortedRegions() {
2387
- return (Object.keys(x) || []).map((n) => ({ key: n, title: `${x[n].name} (${n})`, callingCode: x[n].callingCode })).sort((n, e) => n.title.localeCompare(e.title));
2386
+ return (Object.keys(x) || []).map((n) => ({
2387
+ key: n,
2388
+ title: `${x[n].name} (${n})`,
2389
+ callingCode: x[n].callingCode
2390
+ })).sort((n, e) => n.title.localeCompare(e.title));
2388
2391
  },
2389
2392
  currency() {
2390
2393
  return this.formPrices.currency;
@@ -2412,10 +2415,12 @@ const He = {
2412
2415
  const l = this.getMeteredProduct(s);
2413
2416
  if (!l)
2414
2417
  return;
2415
- const o = l.prices.find((p) => {
2416
- var g;
2417
- return p.active && ((g = p == null ? void 0 : p.metadata) == null ? void 0 : g.visible) === !0;
2418
- });
2418
+ const o = l.prices.find(
2419
+ (p) => {
2420
+ var g;
2421
+ return p.active && ((g = p == null ? void 0 : p.metadata) == null ? void 0 : g.visible) === !0;
2422
+ }
2423
+ );
2419
2424
  if (!o)
2420
2425
  return;
2421
2426
  const c = P(o.amount, {
@@ -2446,7 +2451,10 @@ const He = {
2446
2451
  }), this.customer) {
2447
2452
  const n = !!this.customer.paymentMethodId;
2448
2453
  this.useExistingCard = n, this.useExistingCustomer = n, ["name", "region", "email"].forEach((t) => {
2449
- this.customer[t] && this.$emit("input", { key: `customer.${t}`, value: this.customer[t] });
2454
+ this.customer[t] && this.$emit("input", {
2455
+ key: `customer.${t}`,
2456
+ value: this.customer[t]
2457
+ });
2450
2458
  });
2451
2459
  const { data: e } = await ee();
2452
2460
  this.setPromotion({ promotionDetails: e });
@@ -2470,7 +2478,9 @@ const He = {
2470
2478
  this.elementsError = this.$t("missingCard");
2471
2479
  return;
2472
2480
  }
2473
- await this.submitPlan({ ...!this.useExistingCard && { cardElement: this.card } }) && this.$emit("success");
2481
+ await this.submitPlan({
2482
+ ...!this.useExistingCard && { cardElement: this.card }
2483
+ }) && this.$emit("success");
2474
2484
  },
2475
2485
  async verifyPromotionCode(n) {
2476
2486
  if (!n) {
@@ -2484,14 +2494,17 @@ const He = {
2484
2494
  var Ue = function() {
2485
2495
  var e = this, t = e._self._c;
2486
2496
  return t("div", { staticClass: "root font-inter anime-payment-modal" }, [t("div", { staticClass: "flex w-full", staticStyle: { overflow: "hidden" } }, [t("div", { staticClass: "anim-block p-aside" }, [t("div", { staticClass: "p-callout", class: e.uiPlan.accountType }, [t("div", { staticStyle: { "font-size": "11px", position: "absolute", right: "calc(0.5 * var(--rem))", top: "calc(1.5 * var(--rem))", display: "flex", "line-height": "1.2" } }, [t("div", { staticStyle: { "text-align": "right", "padding-right": "0.5em" } }, [t("div", { staticStyle: { opacity: "0.7" }, domProps: { textContent: e._s(e.$t("payYearly")) } }), t("div", { staticClass: "font-medium text-primary-500", domProps: { textContent: e._s(e.$t("saveAmount")) } })]), t("CSwitch", { attrs: { value: e.formPlan.interval === "year", size: "small", type: "secondary" }, on: { input: function(a) {
2487
- return e.$emit("update:interval", e.formPlan.interval === "year" ? "month" : "year");
2497
+ return e.$emit(
2498
+ "update:interval",
2499
+ e.formPlan.interval === "year" ? "month" : "year"
2500
+ );
2488
2501
  } } })], 1), t("div", [t("img", { staticStyle: { "box-shadow": "0 4px 6px rgba(240, 147, 234, 0.34)", "border-radius": "50%", "margin-bottom": "calc(1 * var(--rem))" }, attrs: { src: e.uiPlan.img, alt: e.uiPlan.name, width: "50", height: "50" } })]), t("div", { staticStyle: { "font-weight": "600", "font-size": "21px" } }, [e._v(" " + e._s(e.$t("cardTitle", { plan: e.uiPlan.name })) + " ")]), t("div", { staticClass: "text-[15px] py-4" }, [e._l(e.formPrices.intervals, function(a, r) {
2489
2502
  return t("div", { key: `interval-${r}`, staticClass: "pb-2 mb-4 border-b border-gray-200" }, [t("div", { staticClass: "flex justify-between w-full" }, [t("div", { staticClass: "font-medium" }, [e._v(e._s(e.getIntervalTitle(r)))]), t("div", { staticClass: "text-right" }, [t("div", { staticClass: "font-semibold leading-none text-[17px]" }, [e._v(" " + e._s(e.priceFormat(a.subTotal, { currency: e.currency })) + " ")]), t("div", { staticClass: "opacity-70 text-[13px]" }, [e._v(" " + e._s(a.vatAmount ? e.$t("_common:vat.exVat", { thing: e.$t("_common:vat.vat") }) : e.$t("_common:total").capitalize()) + " "), r !== "oneOff" ? [e._v("/ " + e._s(e.$t(`_common:${r}`)) + " ")] : e._e()], 2)])]), e._l(a.items, function(i, s) {
2490
- return t("div", { key: s, staticClass: "flex justify-between w-full pb-1 mt-2" }, [t("div", { staticClass: "font-medium opacity-70" }, [e._v(" " + e._s(e.disableQuantity ? "" : `${i.quantity} x `) + e._s(i.name.capitalize()) + " ")]), t("div", { staticClass: "text-right opacity-70" }, [e._v(e._s(e.priceFormat(i.amount, { currency: e.currency })))])]);
2503
+ return t("div", { key: s, staticClass: "flex justify-between w-full pb-1 mt-2" }, [t("div", { staticClass: "font-medium opacity-70" }, [e._v(" " + e._s(e.disableQuantity ? "" : `${i.quantity} x `) + e._s(i.name.capitalize()) + " ")]), t("div", { staticClass: "text-right opacity-70" }, [e._v(" " + e._s(e.priceFormat(i.amount, { currency: e.currency })) + " ")])]);
2491
2504
  })], 2);
2492
- }), e.promotion ? t("div", { staticClass: "flex justify-between w-full", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(e._s(e.promotion.code || e.promotion.name) + " ")]), t("div", { staticClass: "text-right has-text-danger", staticStyle: { display: "inline-flex", "justify-content": "flex-end", "align-items": "center" } }, [t("CButton", { staticStyle: { height: "inherit", "margin-right": "3px" }, attrs: { disabled: e.isEditLock, "icon-props": { size: 15 }, size: "small", type: "none", pattern: "tertiary", icon: "trash" }, on: { click: function(a) {
2505
+ }), e.promotion ? t("div", { staticClass: "flex justify-between w-full", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.promotion.code || e.promotion.name) + " ")]), t("div", { staticClass: "text-right has-text-danger", staticStyle: { display: "inline-flex", "justify-content": "flex-end", "align-items": "center" } }, [t("CButton", { staticStyle: { height: "inherit", "margin-right": "3px" }, attrs: { disabled: e.isEditLock, "icon-props": { size: 15 }, size: "small", type: "none", pattern: "tertiary", icon: "trash" }, on: { click: function(a) {
2493
2506
  return e.$emit("input", { key: "promotion", value: null });
2494
- } } }), t("div", { domProps: { textContent: e._s(e.promotionDescription) } })], 1)]) : e._e(), e.formPrices.vatAmount ? [t("div", { staticClass: "flex justify-between w-full", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(e._s(e.$t("_common:vat.vat").capitalize()))]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(e._s(e.priceFormat(e.formPrices.vatAmount, { currency: e.currency })))])]), t("div", { staticClass: "flex justify-between w-full", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(e._s(e.$t("_common:vat.incVat", { thing: e.$t("_common:vat.vat") }).capitalize()))]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.totalAmount, { currency: e.currency })) + " ")])])] : e._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: !e.promotion, expression: "!promotion" }], staticClass: "flex justify-end w-full" }, [e.promoInputVisible ? t("CField", { staticStyle: { "padding-top": "1em", width: "100%" }, attrs: { expanded: "" } }, [t("CInput", { attrs: { placeholder: e.$t("promotion.placeholder"), "custom-class": e.isInvalidPromotionCode ? "is-danger shake" : "", autofocus: "", size: "small" }, on: { blur: function(a) {
2507
+ } } }), t("div", { domProps: { textContent: e._s(e.promotionDescription) } })], 1)]) : e._e(), e.formPrices.vatAmount ? [t("div", { staticClass: "flex justify-between w-full", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.$t("_common:vat.vat").capitalize()) + " ")]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.vatAmount, { currency: e.currency })) + " ")])]), t("div", { staticClass: "flex justify-between w-full", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.$t("_common:vat.incVat", { thing: e.$t("_common:vat.vat") }).capitalize()) + " ")]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.totalAmount, { currency: e.currency })) + " ")])])] : e._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: !e.promotion, expression: "!promotion" }], staticClass: "flex justify-end w-full" }, [e.promoInputVisible ? t("CField", { staticStyle: { "padding-top": "1em", width: "100%" }, attrs: { expanded: "" } }, [t("CInput", { attrs: { placeholder: e.$t("promotion.placeholder"), "custom-class": e.isInvalidPromotionCode ? "is-danger shake" : "", autofocus: "", size: "small" }, on: { blur: function(a) {
2495
2508
  return e.verifyPromotionCode(e.inputPromotionCode);
2496
2509
  } }, nativeOn: { keyup: function(a) {
2497
2510
  return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.verifyPromotionCode(e.inputPromotionCode);
@@ -2517,7 +2530,9 @@ var Ue = function() {
2517
2530
  e.quantity++;
2518
2531
  } } })], 1)])]), e.useExistingCustomer ? t("div", { staticClass: "p-callout", staticStyle: { position: "relative", padding: "calc(1 * var(--rem))", "border-radius": "8px" } }, [t("CButton", { staticStyle: { position: "absolute", top: "calc(1 * var(--rem))", right: "calc(1 * var(--rem))" }, attrs: { size: "small", rounded: "" }, on: { click: function(a) {
2519
2532
  e.useExistingCustomer = !1;
2520
- } } }, [e._v(" " + e._s(e.$t("_common:change")) + " ")]), t("div", { staticClass: "flex items-center w-full" }, [t("div", { domProps: { innerHTML: e._s(e.cardBrands.get(e.customer.paymentMethodBrand, { width: 36 }).logo) } }), t("div", { staticStyle: { "margin-left": "calc(0.5 * var(--rem))" } }, [t("span", { staticStyle: { "margin-right": "5px" } }, [e._v(e._s(e.cardBrands.get(e.customer.paymentMethodBrand).name))]), e._v(" •••• " + e._s(e.customer.paymentMethodLast4 || "") + " ")])]), t("div", [e._v(e._s(e.customer.name))]), t("div", [e._v(e._s(e.customer.email))]), e.regions[e.customer.region] ? t("div", [e._v(e._s(e.regions[e.customer.region].name))]) : e._e()], 1) : [t("div", { staticClass: "p-block" }, [e.useExistingCard ? e._e() : t("div", { staticClass: "flex items-center w-full p-block-title" }, [t("div", [e._v(e._s(e.$t("paymentInfoLabel")))])]), t("div", [e.useExistingCard && e.existingCardLast4 ? t("div", { staticClass: "p-block" }, [e._v(" " + e._s(e.$t("paymentInfoLabel")) + " "), t("CField", { attrs: { messages: e.messages.email, expanded: "" } }, [t("CInput", { attrs: { value: `•••• •••• •••• ${e.existingCardLast4}`, size: "medium", disabled: "", filled: "" } }, [t("CButton", { attrs: { slot: "suffix", type: "secondary", size: "small" }, on: { click: function(a) {
2533
+ } } }, [e._v(" " + e._s(e.$t("_common:change")) + " ")]), t("div", { staticClass: "flex items-center w-full" }, [t("div", { domProps: { innerHTML: e._s(
2534
+ e.cardBrands.get(e.customer.paymentMethodBrand, { width: 36 }).logo
2535
+ ) } }), t("div", { staticStyle: { "margin-left": "calc(0.5 * var(--rem))" } }, [t("span", { staticStyle: { "margin-right": "5px" } }, [e._v(e._s(e.cardBrands.get(e.customer.paymentMethodBrand).name))]), e._v(" •••• " + e._s(e.customer.paymentMethodLast4 || "") + " ")])]), t("div", [e._v(e._s(e.customer.name))]), t("div", [e._v(e._s(e.customer.email))]), e.regions[e.customer.region] ? t("div", [e._v(" " + e._s(e.regions[e.customer.region].name) + " ")]) : e._e()], 1) : [t("div", { staticClass: "p-block" }, [e.useExistingCard ? e._e() : t("div", { staticClass: "flex items-center w-full p-block-title" }, [t("div", [e._v(e._s(e.$t("paymentInfoLabel")))])]), t("div", [e.useExistingCard && e.existingCardLast4 ? t("div", { staticClass: "p-block" }, [e._v(" " + e._s(e.$t("paymentInfoLabel")) + " "), t("CField", { attrs: { messages: e.messages.email, expanded: "" } }, [t("CInput", { attrs: { value: `•••• •••• •••• ${e.existingCardLast4}`, size: "medium", disabled: "", filled: "" } }, [t("CButton", { attrs: { slot: "suffix", type: "secondary", size: "small" }, on: { click: function(a) {
2521
2536
  e.useExistingCard = !1;
2522
2537
  } }, slot: "suffix" }, [e._v(" " + e._s(e.$t("_common:change")) + " ")])], 1)], 1)], 1) : e._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: !e.useExistingCard, expression: "!useExistingCard" }], staticClass: "bg-gray-100", staticStyle: { width: "400px", padding: "1em 1em", "border-radius": "0.5em", "min-height": "54px" }, attrs: { id: "card-element" } }), t("div", { directives: [{ name: "show", rawName: "v-show", value: e.elementsError && !e.useExistingCard, expression: "elementsError && !useExistingCard" }], staticClass: "pt-2 text-red-500", domProps: { textContent: e._s(e.elementsError) } })])]), t("div", { staticClass: "p-block" }, [e._v(" " + e._s(e.$t("name.label")) + " "), t("CInput", { attrs: { value: e.formCustomer.name, placeholder: e.$t("name.placeholder"), size: "medium", filled: "" }, on: { input: function(a) {
2523
2538
  return e.$emit("input", { key: "customer.name", value: a });
@@ -2531,10 +2546,16 @@ var Ue = function() {
2531
2546
  e.consent = a;
2532
2547
  }, expression: "consent" } }, [t("div", { class: [
2533
2548
  e.$v.consent.$invalid && e.$v.consent.$dirty ? "has-text-danger" : "has-text-grey-dark"
2534
- ] }, [e._v(" " + e._s(e.$t("consent.label", { brand: e.$t("_common:brand.name") })) + " "), t("a", { staticClass: "underline", attrs: { href: e.$t("_common:brand.termsOfService.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.termsAndConditions")) + " ")]), e._v(" " + e._s(e.$t("_common:and")) + " "), t("a", { staticClass: "underline", attrs: { href: e.$t("_common:brand.privacyPolicy.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.privacyPolicy")) + " ")])])])], 1) : e._e(), t("div", { staticClass: "anim-block p-block" }, [t("CButton", { staticStyle: { "margin-top": "calc(1 * var(--rem))" }, attrs: { loading: e.isPosting, type: "secondary", wide: "", size: "medium", "icon-right": "arrow-right" }, on: { click: e.submit } }, [e._v(" " + e._s(e.$t("submitButton", { plan: e.uiPlan.name })) + " ")])], 1)])]), t("modal", { staticClass: "overflow-visible primary", attrs: { adaptive: !0, scrollable: !0, "max-width": 400, height: "auto", width: "90%", classes: "primary overflow-visible", name: "faq" } }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, [t("div", { staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "600", "margin-bottom": ".5em", padding: "calc(1 * var(--rem))" }, domProps: { textContent: e._s(e.$t("faq.title")) } }), e._l(6, function(a) {
2549
+ ] }, [e._v(" " + e._s(e.$t("consent.label", { brand: e.$t("_common:brand.name") })) + " "), t("a", { staticClass: "underline", attrs: { href: e.$t("_common:brand.termsOfService.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.termsAndConditions")) + " ")]), e._v(" " + e._s(e.$t("_common:and")) + " "), t("a", { staticClass: "underline", attrs: { href: e.$t("_common:brand.privacyPolicy.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.privacyPolicy")) + " ")])])])], 1) : e._e(), t("div", { staticClass: "anim-block p-block" }, [t("CButton", { staticStyle: { "margin-top": "calc(1 * var(--rem))" }, attrs: { loading: e.isPosting, type: "secondary", wide: "", size: "medium", "icon-right": "arrow-right" }, on: { click: e.submit } }, [e._v(" " + e._s(e.$t("submitButton", { plan: e.uiPlan.name })) + " ")])], 1)])]), t("modal", { staticClass: "overflow-visible primary", attrs: { adaptive: !0, scrollable: !0, "max-width": 400, height: "auto", width: "90%", classes: "primary overflow-visible", name: "faq" } }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, [t("div", { staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "600", "margin-bottom": "0.5em", padding: "calc(1 * var(--rem))" }, domProps: { textContent: e._s(e.$t("faq.title")) } }), e._l(6, function(a) {
2535
2550
  return t("CAccordion", { key: a, attrs: { "default-open": null }, scopedSlots: e._u([{ key: "trigger", fn: function({ expanded: r }) {
2536
- return t("div", { staticClass: "list-button" }, [t("span", { domProps: { textContent: e._s(e.$t(`faq.items.${a - 1}.title`, { brand: e.$t("_common:brand.name") })) } }), t("BaseIcon", { staticStyle: { transition: "200ms" }, style: { transform: `rotate(${r ? "0deg" : "180deg"})` }, attrs: { type: "chevron-down", size: "15" } })], 1);
2537
- } }], null, !0) }, [t("div", { staticStyle: { "font-size": "14px", opacity: "0.65", padding: "0 calc(.5 * var(--rem)) calc(2 * var(--rem)) calc(.5 * var(--rem))" }, domProps: { textContent: e._s(e.$t(`faq.items.${a - 1}.text`, { brand: e.$t("_common:brand.name") })) } })]);
2551
+ return t("div", { staticClass: "list-button" }, [t("span", { domProps: { textContent: e._s(
2552
+ e.$t(`faq.items.${a - 1}.title`, {
2553
+ brand: e.$t("_common:brand.name")
2554
+ })
2555
+ ) } }), t("BaseIcon", { staticStyle: { transition: "200ms" }, style: { transform: `rotate(${r ? "0deg" : "180deg"})` }, attrs: { type: "chevron-down", size: "15" } })], 1);
2556
+ } }], null, !0) }, [t("div", { staticStyle: { "font-size": "14px", opacity: "0.65", padding: "0 calc(0.5 * var(--rem)) calc(2 * var(--rem))" }, domProps: { textContent: e._s(
2557
+ e.$t(`faq.items.${a - 1}.text`, { brand: e.$t("_common:brand.name") })
2558
+ ) } })]);
2538
2559
  })], 2)]), t("modal", { staticClass: "overflow-visible primary", attrs: { adaptive: !0, scrollable: !0, "max-width": 400, height: "auto", width: "90%", classes: "primary overflow-visible", name: "reasonableUse" } }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, [t("div", { staticStyle: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "600", padding: "calc(1 * var(--rem))" }, domProps: { textContent: e._s(e.$t("reasonableUse.title")) } }), t("div", { staticStyle: { "font-size": "15px", opacity: "0.75", padding: "0 calc(1 * var(--rem)) calc(2 * var(--rem))" }, domProps: { textContent: e._s(e.$t("reasonableUse.text", { brand: e.$t("_common:brand.name") })) } }), t("div", { staticStyle: { padding: "0 calc(1 * var(--rem))" } }, e._l(e.reasonableUseQuotas, function(a, r) {
2539
2560
  return t("div", { key: r, staticStyle: { "font-size": "14px", "margin-bottom": "calc(1 * var(--rem))" } }, [t("span", { staticStyle: { "font-weight": "500", "padding-right": "0.5ch" }, domProps: { textContent: e._s(e.$t(`reasonableUse.${a.type}`) + ":") } }), t("span", { staticStyle: { opacity: "0.75", "padding-right": "0.5ch" }, domProps: { textContent: e._s(e.$t("reasonableUse.quotaIncluded", { count: a.count })) } }), a.cost ? t("span", { staticStyle: { opacity: "0.75" }, domProps: { textContent: e._s(e.$t("reasonableUse.quotaExtra", { cost: a.cost })) } }) : e._e()]);
2540
2561
  }), 0)])])], 1);
@@ -2544,7 +2565,7 @@ var Ue = function() {
2544
2565
  Ae,
2545
2566
  !1,
2546
2567
  null,
2547
- "4bbf7593",
2568
+ "4ba7e094",
2548
2569
  null,
2549
2570
  null
2550
2571
  );
@@ -2903,7 +2924,10 @@ const Oe = Ve.exports, Ne = {
2903
2924
  const t = [];
2904
2925
  Object.keys(e.items).forEach((a) => {
2905
2926
  const r = this.getProductByPriceId(a);
2906
- r && t.push({ ...r, quantity: e.items[a] });
2927
+ r && t.push({
2928
+ ...r,
2929
+ quantity: e.items[a]
2930
+ });
2907
2931
  }), t.length && this.setFormValue({
2908
2932
  key: "products",
2909
2933
  value: [
@@ -2966,7 +2990,8 @@ const Ze = je.exports, Ke = {
2966
2990
  return !0;
2967
2991
  },
2968
2992
  canCreateDocument() {
2969
- return this.subscription.freeDocumentsLeft > 0 || C(this.companyAccount, "documentQuota.priceExtra.value") !== null;
2993
+ return this.subscription.freeDocumentsLeft > 0 || // Has free quota left
2994
+ C(this.companyAccount, "documentQuota.priceExtra.value") !== null;
2970
2995
  },
2971
2996
  canCreateTemplate() {
2972
2997
  return this.feature("createDocTemplate");
@@ -3000,7 +3025,11 @@ const Ze = je.exports, Ke = {
3000
3025
  * @param {Function} obj.callback Optional callback to run after upgrade
3001
3026
  * @param {Function} obj.onClosed Optional callback to run after Stripe modal is closed
3002
3027
  */
3003
- openUpgradeModal({ suggestedQuantity: n = null, callback: e = null, onClosed: t = null } = {}) {
3028
+ openUpgradeModal({
3029
+ suggestedQuantity: n = null,
3030
+ callback: e = null,
3031
+ onClosed: t = null
3032
+ } = {}) {
3004
3033
  let a = () => null, r = () => null;
3005
3034
  typeof e == "function" && (a = e), typeof t == "function" && (r = t), this.$modal.show(
3006
3035
  Ze,
@@ -3211,7 +3240,7 @@ var it = function() {
3211
3240
  st,
3212
3241
  !1,
3213
3242
  null,
3214
- "993cb5cc",
3243
+ "e80b3ec2",
3215
3244
  null,
3216
3245
  null
3217
3246
  );
@@ -3359,20 +3388,31 @@ const yt = ft.exports, Ct = {
3359
3388
  var e, t;
3360
3389
  if (this.canUseFreeDocVoucher = !1, ((e = this.account) == null ? void 0 : e.accountType) !== "free")
3361
3390
  return;
3362
- const n = JSON.parse(E.getItem("voucher-freeUserDocs-company-id"));
3391
+ const n = JSON.parse(
3392
+ E.getItem("voucher-freeUserDocs-company-id")
3393
+ );
3363
3394
  ((t = this.account) == null ? void 0 : t.CompanyId) !== n && (this.canUseFreeDocVoucher = await this.canUseVoucher());
3364
3395
  },
3365
3396
  async canUseVoucher() {
3366
3397
  try {
3367
3398
  return await U.canUse("freeUserDocs"), !0;
3368
3399
  } catch {
3369
- return E.setItem("voucher-freeUserDocs-company-id", this.account.CompanyId), !1;
3400
+ return E.setItem(
3401
+ "voucher-freeUserDocs-company-id",
3402
+ this.account.CompanyId
3403
+ ), !1;
3370
3404
  }
3371
3405
  },
3372
3406
  async useFreeDocsVoucher() {
3373
3407
  this.isLoading = !0;
3374
3408
  try {
3375
- await U.post({ code: "freeUserDocs" }), E.setItem("voucher-freeUserDocs-company-id", this.account.CompanyId), await this.loadCurrentCompany(), ie("success", this.$t("voucherSuccessMessage", { count: this.voucherDocCount })), this.onUpgrade && typeof this.onUpgrade == "function" && this.onUpgrade(), this.$emit("close");
3409
+ await U.post({ code: "freeUserDocs" }), E.setItem(
3410
+ "voucher-freeUserDocs-company-id",
3411
+ this.account.CompanyId
3412
+ ), await this.loadCurrentCompany(), ie(
3413
+ "success",
3414
+ this.$t("voucherSuccessMessage", { count: this.voucherDocCount })
3415
+ ), this.onUpgrade && typeof this.onUpgrade == "function" && this.onUpgrade(), this.$emit("close");
3376
3416
  } catch (n) {
3377
3417
  D(n);
3378
3418
  } finally {
@@ -3504,14 +3544,19 @@ const $t = {
3504
3544
  else if (this.subscription.paymentMethod === "invoice")
3505
3545
  await this.addInvoiceLicense(), e = !0;
3506
3546
  else
3507
- throw new Error("Cannot upgrade license as current paymentMethod is not valid");
3547
+ throw new Error(
3548
+ "Cannot upgrade license as current paymentMethod is not valid"
3549
+ );
3508
3550
  } catch (t) {
3509
3551
  D(t);
3510
3552
  }
3511
3553
  e && await n();
3512
3554
  },
3513
3555
  async addStripeLicense() {
3514
- this.updateFormValue({ key: "plan.quantity", value: this.currentPlan.quantity + 1 });
3556
+ this.updateFormValue({
3557
+ key: "plan.quantity",
3558
+ value: this.currentPlan.quantity + 1
3559
+ });
3515
3560
  const n = await this.submitPlan({});
3516
3561
  return await this.loadCurrentCompany(), n;
3517
3562
  },
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-8d566a02.js";
1
+ import { n as s } from "./main-b5eb6366.js";
2
2
  const r = {
3
3
  name: "ManualPopover",
4
4
  data() {
@@ -13,7 +13,10 @@ const r = {
13
13
  },
14
14
  beforeDestroy() {
15
15
  var o, t, e;
16
- (e = (t = (o = this.$slots.default) == null ? void 0 : o[0]) == null ? void 0 : t.elm) == null || e.removeEventListener("click", this.onButtonClick), this.getRootElm().removeEventListener("click", this.onClickOutside);
16
+ (e = (t = (o = this.$slots.default) == null ? void 0 : o[0]) == null ? void 0 : t.elm) == null || e.removeEventListener(
17
+ "click",
18
+ this.onButtonClick
19
+ ), this.getRootElm().removeEventListener("click", this.onClickOutside);
17
20
  },
18
21
  methods: {
19
22
  onButtonClick() {
@@ -1,6 +1,6 @@
1
- import { B as n } from "./BlockMedia-b49a63f3.js";
2
- import { m as a } from "./mapFormMixin-4446a1bd.js";
3
- import { n as m } from "./main-8d566a02.js";
1
+ import { B as n } from "./BlockMedia-f5086397.js";
2
+ import { m as a } from "./mapFormMixin-e0c45bbd.js";
3
+ import { n as m } from "./main-b5eb6366.js";
4
4
  import "./color-71c20583.js";
5
5
  const o = {
6
6
  name: "MediaWrapper",
@@ -1,5 +1,5 @@
1
- import { P as t } from "./PlainHtml-4aaf6438.js";
2
- import { n as e } from "./main-8d566a02.js";
1
+ import { P as t } from "./PlainHtml-c743e90e.js";
2
+ import { n as e } from "./main-b5eb6366.js";
3
3
  const r = {
4
4
  name: "NotBindingText",
5
5
  i18nOptions: {