@cling-se/widget 0.12.2 → 0.12.4

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 (120) hide show
  1. package/dist/{AddClientCallout-55d62947.js → AddClientCallout-96e94ad9.js} +7 -7
  2. package/dist/{AnswerModal-b6711c04.js → AnswerModal-6990ea17.js} +225 -266
  3. package/dist/{AttachmentItem-ae30a5f1.js → AttachmentItem-0d327381.js} +6 -6
  4. package/dist/{BaseDatePicker-eb8f882d.js → BaseDatePicker-e2e1ea6e.js} +2 -2
  5. package/dist/{BaseInput-2937b370.js → BaseInput-d9c734b0.js} +1 -1
  6. package/dist/{BaseUpload-43e14bd0.js → BaseUpload-9efbce6d.js} +2 -2
  7. package/dist/{BlockMedia-8360c785.js → BlockMedia-70d92534.js} +1 -1
  8. package/dist/{CCallout-0151c27a.js → CCallout-419f1eac.js} +4 -4
  9. package/dist/{CDropdownItem-b1e4c6f3.js → CDropdownItem-60893039.js} +2 -2
  10. package/dist/{CField-fdd6dcfd.js → CField-2e027461.js} +1 -1
  11. package/dist/{CPhoneFormat-df833bce.js → CPhoneFormat-b0670312.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js → CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js} +1 -1
  13. package/dist/{ClientAutocomplete-205a7590.js → ClientAutocomplete-44998c42.js} +2 -2
  14. package/dist/{ClientModal-68127a2f.js → ClientModal-d4ebef77.js} +11 -11
  15. package/dist/{ColorPicker-43c3cfaf.js → ColorPicker-cd9e1cc0.js} +2 -2
  16. package/dist/{CompanyModal-71ebe768.js → CompanyModal-36820c26.js} +3 -3
  17. package/dist/{ContentWrapper-8f8bee09.js → ContentWrapper-520e4761.js} +19 -19
  18. package/dist/{CoverBlockSettings-d5369ff3.js → CoverBlockSettings-0251d18f.js} +17 -17
  19. package/dist/{DocAnswer-5e76d312.js → DocAnswer-dad0bf7f.js} +4 -4
  20. package/dist/{DocDetails-66a88018.js → DocDetails-31009b60.js} +29 -29
  21. package/dist/{DocForm-6bd82138.js → DocForm-3e6d9d83.js} +88 -85
  22. package/dist/{DocFormSend-c216bd22.js → DocFormSend-3b8e9604.js} +19 -19
  23. package/dist/{DocLinks-c970a046.js → DocLinks-1467ba01.js} +2 -2
  24. package/dist/{DocModalBase-cbaaa05d.js → DocModalBase-c596787a.js} +7 -7
  25. package/dist/{DocPrint-8151565c.js → DocPrint-3970f8e8.js} +13 -13
  26. package/dist/{DocReceipt-493488a1.js → DocReceipt-dd5c7d5b.js} +7 -7
  27. package/dist/{DocSendReminder-ffc469ba.js → DocSendReminder-a3909a71.js} +6 -6
  28. package/dist/{DocTextEditor-4892f553.js → DocTextEditor-f0223af8.js} +16 -16
  29. package/dist/{DocTimeline-7a10530a.js → DocTimeline-9b29e5f6.js} +4 -4
  30. package/dist/{DocumentClient-414f097b.js → DocumentClient-f77bc578.js} +46 -32
  31. package/dist/{DocumentLayout-2cca22a1.js → DocumentLayout-9cc2a08e.js} +6 -6
  32. package/dist/{DocumentLogotype-e77e7f40.js → DocumentLogotype-20216f74.js} +9 -9
  33. package/dist/{DocumentVoided-09d10c10.js → DocumentVoided-1198114e.js} +2 -2
  34. package/dist/{EmbedInput-25566df2.js → EmbedInput-df3aa286.js} +2 -2
  35. package/dist/{EmbedSettings-167509c0.js → EmbedSettings-b71e059b.js} +3 -3
  36. package/dist/{ErrorCallout-42eae3f2.js → ErrorCallout-a39eba4d.js} +1 -1
  37. package/dist/{FilePreviewModal-8e1122db.js → FilePreviewModal-b5edeee0.js} +8 -8
  38. package/dist/{Flag-38700bb4.js → Flag-c7a354cd.js} +1 -1
  39. package/dist/{HeaderSettings-081d2355.js → HeaderSettings-db6e32c8.js} +24 -24
  40. package/dist/{ImageSelectModal-6a1cd80d.js → ImageSelectModal-856e363b.js} +8 -8
  41. package/dist/{ImageUploadWrapper-9a6f033f.js → ImageUploadWrapper-24dadc15.js} +5 -5
  42. package/dist/{Index-0e0ad8c0.js → Index-007a1233.js} +5 -5
  43. package/dist/{Index-a934610b.js → Index-0099e82e.js} +1 -1
  44. package/dist/{Index-9502eaff.js → Index-014d0ac2.js} +47 -41
  45. package/dist/{Index-39261a3a.js → Index-12ea21c5.js} +1 -1
  46. package/dist/{Index-3e206913.js → Index-139b1013.js} +2 -2
  47. package/dist/{Index-79894831.js → Index-1bf76a16.js} +4 -4
  48. package/dist/{Index-8e921bc3.js → Index-3378fcf6.js} +4 -4
  49. package/dist/{Index-c25f3084.js → Index-34978d11.js} +2 -2
  50. package/dist/{Index-54fd8589.js → Index-3889e134.js} +4 -4
  51. package/dist/{Index-d1ab5e5c.js → Index-40083942.js} +14 -14
  52. package/dist/{Index-8f01dd46.js → Index-4e675d8a.js} +4 -4
  53. package/dist/{Index-bf5c0b5b.js → Index-4f25825f.js} +10 -10
  54. package/dist/{Index-b62d0ef2.js → Index-4f9afe72.js} +6 -6
  55. package/dist/{Index-1273cdc7.js → Index-5355b449.js} +7 -7
  56. package/dist/{Index-7114ff1a.js → Index-54a78fad.js} +6 -6
  57. package/dist/{Index-34195119.js → Index-607f6640.js} +6 -6
  58. package/dist/{Index-4a8142d1.js → Index-6d22d9d1.js} +2 -2
  59. package/dist/{Index-b925e767.js → Index-73cee68c.js} +5 -5
  60. package/dist/{Index-fdaebd99.js → Index-75368b48.js} +2 -2
  61. package/dist/{Index-7c04c559.js → Index-7b2e5ac5.js} +24 -24
  62. package/dist/{Index-a75ce263.js → Index-8ac2ed05.js} +4 -4
  63. package/dist/{Index-4369488e.js → Index-9891ee1a.js} +6 -6
  64. package/dist/{Index-915af180.js → Index-99ac0ac2.js} +4 -4
  65. package/dist/{Index-2c33f7e6.js → Index-a5a82682.js} +9 -9
  66. package/dist/{Index-a8e9faf7.js → Index-b5480383.js} +9 -9
  67. package/dist/{Index-ddb1face.js → Index-bc5f3ca9.js} +4 -4
  68. package/dist/{Index-88084849.js → Index-c551781f.js} +6 -6
  69. package/dist/{Index-c55a7553.js → Index-cada810e.js} +7 -7
  70. package/dist/{Index-860a7def.js → Index-d689466d.js} +2 -2
  71. package/dist/{Index-ba70d622.js → Index-dcbfb822.js} +2 -2
  72. package/dist/{Index-614cfe86.js → Index-dd5f8fc7.js} +9 -9
  73. package/dist/{Index-b0b08a5f.js → Index-ef955a66.js} +3 -3
  74. package/dist/{Index-f5620e99.js → Index-f05fe2a1.js} +4 -4
  75. package/dist/{Index-ae9bb0e5.js → Index-f06fcb76.js} +48 -38
  76. package/dist/{InputToggleRow-afcabf8b.js → InputToggleRow-a9229972.js} +6 -6
  77. package/dist/{IsPremiumPreStep-231700e7.js → IsPremiumPreStep-4e9e2883.js} +27 -27
  78. package/dist/{ManualPopover-07af41a9.js → ManualPopover-720770bb.js} +1 -1
  79. package/dist/{MediaWrapper-3f16a687.js → MediaWrapper-90c72ae5.js} +3 -3
  80. package/dist/{NotBindingText-4ba4eb33.js → NotBindingText-832d5350.js} +2 -2
  81. package/dist/{PackageGroup-bb70a242.js → PackageGroup-22cbb76c.js} +87 -73
  82. package/dist/{PdfTerms-73cdcc78.js → PdfTerms-ce2d5d5e.js} +5 -5
  83. package/dist/{PdfViewer-0ca6548a.js → PdfViewer-ebff4b6c.js} +4 -4
  84. package/dist/{PlainHtml-834d9eb9.js → PlainHtml-faae67a3.js} +1 -1
  85. package/dist/{PriceHeader-27bc4ab4.js → PriceHeader-67ac2108.js} +37 -37
  86. package/dist/{SearchApi-e24cb043.js → SearchApi-d90fd0d2.js} +2 -2
  87. package/dist/{Setup-38eb90ad.js → Setup-88387515.js} +2 -2
  88. package/dist/{TermsSettings-0566ebc2.js → TermsSettings-82f18edc.js} +7 -7
  89. package/dist/{ThemeColorRow-6bb39c8c.js → ThemeColorRow-ca0c7f34.js} +4 -4
  90. package/dist/{ToggleBinding-b399a2d3.js → ToggleBinding-87b13b54.js} +3 -3
  91. package/dist/{UploadModal-69feba8c.js → UploadModal-9c6b64dc.js} +8 -8
  92. package/dist/{VideoPlayerInput-0289e1ad.js → VideoPlayerInput-87ae1e67.js} +3 -3
  93. package/dist/{VideoPlayerSettings-cc63392e.js → VideoPlayerSettings-ab7c9dd9.js} +4 -4
  94. package/dist/{VideoSelectModal-c98090a3.js → VideoSelectModal-b9c128a2.js} +15 -15
  95. package/dist/answerDocumentMixin-1a04710f.js +51 -0
  96. package/dist/{debounce-ceac3c0c.js → debounce-5f4cc346.js} +1 -1
  97. package/dist/{focusDrawerMixin-6b40c0e4.js → focusDrawerMixin-fcfab690.js} +1 -1
  98. package/dist/{formComponentsInstall-4bc1ca62.js → formComponentsInstall-f2198c99.js} +41 -41
  99. package/dist/{formDrawerState-2389a9f5.js → formDrawerState-6ff961ac.js} +1 -1
  100. package/dist/{formValidationMixin-198347ab.js → formValidationMixin-5882b9a7.js} +1 -1
  101. package/dist/{i18nMessages-45c6bfd6.js → i18nMessages-6b279c15.js} +4 -2
  102. package/dist/{index-4e8daf4c.js → index-069b282b.js} +3 -3
  103. package/dist/{index-323657a2.js → index-09727136.js} +1 -1
  104. package/dist/{index-2e4624f0.js → index-383fefaf.js} +1 -1
  105. package/dist/{index-df8dbf78.js → index-525e4866.js} +13 -13
  106. package/dist/{index-f44b504d.js → index-7fa7534f.js} +14 -14
  107. package/dist/{index-e3f717e9.js → index-9d8996e9.js} +1 -1
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +144 -144
  110. package/dist/{main-e7c2bb1b.js → main-0ba93efc.js} +6037 -6233
  111. package/dist/{mapFormMixin-cb52494b.js → mapFormMixin-46fe94a8.js} +1 -1
  112. package/dist/{publicSenderState-60a99040.js → publicSenderState-644bb177.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{throttle-27be8808.js → throttle-61f5ee70.js} +2 -2
  115. package/dist/{tinycolor-314fba6f.js → tinycolor-4773d945.js} +1 -1
  116. package/dist/{tippy.esm-4fc6fa67.js → tippy.esm-b5320973.js} +6 -6
  117. package/dist/{utils-e42920bb.js → utils-8d533496.js} +1 -1
  118. package/dist/{vuedraggable.umd-945498e7.js → vuedraggable.umd-37bf712b.js} +1 -1
  119. package/package.json +2 -2
  120. package/dist/answerDocumentMixin-a2c8c0c9.js +0 -54
@@ -1,19 +1,19 @@
1
- import { m as c } from "./mapFormMixin-cb52494b.js";
2
- import { B as l } from "./BlockMedia-8360c785.js";
3
- import { n, b as r, v as d, a7 as m } from "./main-e7c2bb1b.js";
4
- import { T as u } from "./DocTextEditor-4892f553.js";
5
- import { i as p } from "./i18nMessages-45c6bfd6.js";
6
- import { t as _ } from "./tinycolor-314fba6f.js";
1
+ import { m as c } from "./mapFormMixin-46fe94a8.js";
2
+ import { B as l } from "./BlockMedia-70d92534.js";
3
+ import { n, b as r, v as d, a7 as m } from "./main-0ba93efc.js";
4
+ import { T as u } from "./DocTextEditor-f0223af8.js";
5
+ import { i as p } from "./i18nMessages-6b279c15.js";
6
+ import { t as _ } from "./tinycolor-4773d945.js";
7
7
  import { s as y } from "./dom-962579a6.js";
8
8
  import "./color-71c20583.js";
9
- import "./tippy.esm-4fc6fa67.js";
10
- import "./ColorPicker-43c3cfaf.js";
11
- import "./DocumentLayout-2cca22a1.js";
12
- import "./debounce-ceac3c0c.js";
13
- import "./CDropdownItem-b1e4c6f3.js";
14
- import "./CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js";
9
+ import "./tippy.esm-b5320973.js";
10
+ import "./ColorPicker-cd9e1cc0.js";
11
+ import "./DocumentLayout-9cc2a08e.js";
12
+ import "./debounce-5f4cc346.js";
13
+ import "./CDropdownItem-60893039.js";
14
+ import "./CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-07af41a9.js";
16
+ import "./ManualPopover-720770bb.js";
17
17
  const h = {
18
18
  name: "SummaryTop",
19
19
  i18nOptions: {
@@ -22,7 +22,7 @@ const h = {
22
22
  },
23
23
  components: {
24
24
  TextEditor: u,
25
- DocumentLogotype: () => import("./DocumentLogotype-e77e7f40.js")
25
+ DocumentLogotype: () => import("./DocumentLogotype-20216f74.js")
26
26
  },
27
27
  inject: ["parentSize"],
28
28
  mixins: [c([])],
@@ -88,7 +88,7 @@ const h = {
88
88
  };
89
89
  var v = function() {
90
90
  var t = this, e = t._self._c;
91
- return e("section", { staticClass: "flex justify-center w-full summary-top" }, [e("div", { staticClass: "doc-summary-top-wrapper" }, [e("div", { staticClass: "doc-summary-top-wrapper__background" }), e("div", { staticClass: "flex justify-between w-full", staticStyle: { "margin-bottom": "calc(2.5 * var(--rem))" } }, [t.showLogo && (t.logotype || t.companyLogotype) || t.canEdit ? e("DocumentLogotype", t._g({ attrs: { value: t.logotype, "show-logo": t.showLogo, "company-logotype": t.companyLogotype, "has-hover": t.hasHover } }, t.logotypeListeners)) : e("div", { staticClass: "company-name" }, [t._v(" " + t._s(t.senderName) + " ")]), e("div", { staticClass: "top-right-text-wrapper" }, [t.sentAt ? e("div", [t._v(t._s(t.$formatDate(t.sentAt)))]) : t._e(), t.docNumber ? e("div", [t._v(" #" + t._s(t.docNumber) + " ")]) : t._e()])], 1), e("div", { staticClass: "title-text" }, [t.canEdit ? e("TextEditor", { ref: "editor", staticClass: "no-drag", staticStyle: { "will-change": "opacity" }, attrs: { value: t.docName, placeholder: t.$t("name.placeholder"), extensions: {
91
+ return e("section", { staticClass: "summary-top flex w-full justify-center" }, [e("div", { staticClass: "doc-summary-top-wrapper" }, [e("div", { staticClass: "doc-summary-top-wrapper__background" }), e("div", { staticClass: "flex w-full justify-between", staticStyle: { "margin-bottom": "calc(2.5 * var(--rem))" } }, [t.showLogo && (t.logotype || t.companyLogotype) || t.canEdit ? e("DocumentLogotype", t._g({ attrs: { value: t.logotype, "show-logo": t.showLogo, "company-logotype": t.companyLogotype, "has-hover": t.hasHover } }, t.logotypeListeners)) : e("div", { staticClass: "company-name" }, [t._v(" " + t._s(t.senderName) + " ")]), e("div", { staticClass: "top-right-text-wrapper" }, [t.sentAt ? e("div", [t._v(t._s(t.$formatDate(t.sentAt)))]) : t._e(), t.docNumber ? e("div", [t._v(" #" + t._s(t.docNumber) + " ")]) : t._e()])], 1), e("div", { staticClass: "title-text" }, [t.canEdit ? e("TextEditor", { ref: "editor", staticClass: "no-drag", staticStyle: { "will-change": "opacity" }, attrs: { value: t.docName, placeholder: t.$t("name.placeholder"), extensions: {
92
92
  bulletList: !1,
93
93
  heading: [1, 2, 3],
94
94
  bold: !1,
@@ -98,19 +98,19 @@ var v = function() {
98
98
  table: !1
99
99
  }, unstyled: "", static: "" }, on: { input: function(s) {
100
100
  return t.$emit("update:doc-name", s);
101
- } } }) : e("div", { staticClass: "quill-custom", domProps: { innerHTML: t._s(t.docName) } })], 1), e("div", { staticClass: "flex justify-between w-full" }, [t.expiresAt ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(t._s(t._document.$t("replyBy")))]), e("div", { staticClass: "data-text" }, [t._v(t._s(t.$formatDate(t.expiresAt)))])]) : t._e(), t.docType !== "document" ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(" " + t._s(t._document.$t("document").capitalize()) + " ")]), e("div", { staticClass: "data-text" }, [t._v(" " + t._s(t._document.$t(`series.${t.docType}`).capitalize()) + " ")])]) : t._e(), t.parentSize.width >= 576 ? [t.estimatedTime ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(t._s(t.$t("time.estimatedTime")))]), e("div", { staticClass: "data-text" }, [t._v(" " + t._s(t._document.$t("approx")) + " " + t._s(t.estimatedTime) + " ")])]) : t._e()] : t._e()], 2)])]);
101
+ } } }) : e("div", { staticClass: "quill-custom", domProps: { innerHTML: t._s(t.docName) } })], 1), e("div", { staticClass: "flex w-full justify-between" }, [t.expiresAt ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(t._s(t._document.$t("replyBy")))]), e("div", { staticClass: "data-text" }, [t._v(t._s(t.$formatDate(t.expiresAt)))])]) : t._e(), t.docType !== "document" ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(" " + t._s(t._document.$t("document").capitalize()) + " ")]), e("div", { staticClass: "data-text" }, [t._v(" " + t._s(t._document.$t(`series.${t.docType}`).capitalize()) + " ")])]) : t._e(), t.parentSize.width >= 576 ? [t.estimatedTime ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(t._s(t.$t("estimatedTime")))]), e("div", { staticClass: "data-text" }, [t._v(" " + t._s(t._document.$t("approx")) + " " + t._s(t.estimatedTime) + " ")])]) : t._e()] : t._e()], 2)])]);
102
102
  }, g = [], f = /* @__PURE__ */ n(
103
103
  h,
104
104
  v,
105
105
  g,
106
106
  !1,
107
107
  null,
108
- "53650981",
108
+ "4e2c274a",
109
109
  null,
110
110
  null
111
111
  );
112
112
  const S = f.exports;
113
- const x = {
113
+ const b = {
114
114
  name: "SummaryBottom",
115
115
  mixins: [c([])],
116
116
  props: {
@@ -210,7 +210,7 @@ const x = {
210
210
  }
211
211
  }
212
212
  };
213
- var b = function() {
213
+ var x = function() {
214
214
  var t = this, e = t._self._c;
215
215
  return e("section", { staticClass: "summary-bottom-root" }, [e("div", { staticClass: "summary-bottom", style: [
216
216
  {
@@ -221,19 +221,19 @@ var b = function() {
221
221
  overflow: "hidden",
222
222
  padding: 0
223
223
  }
224
- ] }, [t.options.length ? e("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { height: "108px" } }, [e("div", { staticStyle: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, [e("div", { staticStyle: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, [t._v(" " + t._s(t._document.$t("price.proposal")) + " ")]), e("div", [t._v(t._s(t._document.$t("summaryBottom.chooseFrom")))])]), e("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, [t.base ? e("div", { staticStyle: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" } }, [e("div", { staticStyle: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } }, [t._v(" " + t._s(t.priceFormat(t.base.prices.total, { currency: t.currency, decimals: 2, hideZeroDecimals: !0 })) + " ")]), e("div", [t._v(" + " + t._s(t._document.$tc("summaryBottom.option", { count: t.options.length })) + " ")])]) : e("div", { staticStyle: { padding: "calc(2 * var(--rem))", display: "inline-flex", "align-items": "center", "justify-content": "center", "font-weight": "900", "font-size": "calc(2.5 * var(--rem))" } }, [t._v(" " + t._s(t._document.$t("summaryBottom.noOfOptions", { count: t.options.length })) + " ")])]), e("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.4)", overflow: "hidden", width: "calc(1.5 * var(--rem))", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center", height: "100%", color: "hsla(0, 0%, 100%, 0.2)" } })]) : e("div", { staticClass: "flex justify-between w-full", class: [
224
+ ] }, [t.options.length ? e("div", { staticClass: "flex w-full items-center justify-end", staticStyle: { height: "108px" } }, [e("div", { staticStyle: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, [e("div", { staticStyle: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, [t._v(" " + t._s(t._document.$t("price.proposal")) + " ")]), e("div", [t._v(t._s(t._document.$t("summaryBottom.chooseFrom")))])]), e("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, [t.base ? e("div", { staticStyle: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" } }, [e("div", { staticStyle: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } }, [t._v(" " + t._s(t.priceFormat(t.base.prices.total, { currency: t.currency, decimals: 2, hideZeroDecimals: !0 })) + " ")]), e("div", [t._v(" + " + t._s(t._document.$tc("summaryBottom.option", { count: t.options.length })) + " ")])]) : e("div", { staticStyle: { padding: "calc(2 * var(--rem))", display: "inline-flex", "align-items": "center", "justify-content": "center", "font-weight": "900", "font-size": "calc(2.5 * var(--rem))" } }, [t._v(" " + t._s(t._document.$t("summaryBottom.noOfOptions", { count: t.options.length })) + " ")])]), e("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.4)", overflow: "hidden", width: "calc(1.5 * var(--rem))", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center", height: "100%", color: "hsla(0, 0%, 100%, 0.2)" } })]) : e("div", { staticClass: "flex w-full justify-between", class: [
225
225
  {
226
226
  column: t.isSmallScreen,
227
227
  sm: t.isSmallScreen
228
228
  }
229
- ], staticStyle: { position: "relative" } }, [e("div", { staticClass: "flex flex-col w-full", class: [{ "fixed-price-type-string": t.isSmallScreen }], staticStyle: { "background-color": "hsl(224, 57%, 39%)" }, style: [t.backgroundSecondary] }, [e("div", { staticClass: "price-type-string data-text" }, [t._v(" " + t._s(t.priceTypeString) + " ")]), t.isSmallScreen ? t._e() : e("div", { staticClass: "price-deduction-text" }, [t._v(" " + t._s(t.priceDeductionVatString) + " ")])]), t.priceType.some((s) => ["openAcc", "openAccMaxPrice"].includes(s)) ? e("div", { staticClass: "open-acc-wrapper" }, [t.openAccMaxPrice ? e("div", { staticClass: "open-acc-item" }, [e("div", [t._v(" " + t._s(t._document.$t("price.maxPrice").capitalize()) + " " + t._s(t._document.$t("vat.exVat", { thing: t._document.$t(`vat.${t.vatType}`) })) + ": ")]), e("div", [t._v(t._s(t.priceFormat(t.openAccMaxPrice, { currency: t.currency })))])]) : t._e(), e("div", { staticClass: "open-acc-link" }, [t._v(" " + t._s(t._document.$t("see").capitalize()) + " "), e("span", { staticStyle: { color: "inherit", cursor: "pointer" }, on: { click: t.scrollToPricing } }, [e("u", [t._v(t._s(t._document.$t("price.price_plural")))])]), t._v(" " + t._s(t._document.$t("summaryBottom.forDetails")) + " ")])]) : e("div", { staticClass: "flex items-center w-full", class: [{ "justify-end": !t.isSmallScreen }] }, [e("div", { staticClass: "data-text", staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "900", "letter-spacing": "1px", "line-height": "1", "padding-bottom": "calc(0.3 * var(--rem))" } }, [t._v(" " + t._s(t.priceType.includes("approx") ? t._document.$t("approx").capitalize() : "") + " " + t._s(t.priceFormat(t.priceTotal, { currency: t.currency, decimals: 2, hideZeroDecimals: !0 })) + " ")])]), t.isSmallScreen ? e("div", { staticClass: "label-text caps price-deduction-text", staticStyle: { "margin-top": "4px" } }, [t._v(" " + t._s(t.priceDeductionVatString) + " ")]) : t._e()])])]);
229
+ ], staticStyle: { position: "relative" } }, [e("div", { staticClass: "flex w-full flex-col", class: [{ "fixed-price-type-string": t.isSmallScreen }], staticStyle: { "background-color": "hsl(224, 57%, 39%)" }, style: [t.backgroundSecondary] }, [e("div", { staticClass: "price-type-string data-text" }, [t._v(" " + t._s(t.priceTypeString) + " ")]), t.isSmallScreen ? t._e() : e("div", { staticClass: "price-deduction-text" }, [t._v(" " + t._s(t.priceDeductionVatString) + " ")])]), t.priceType.some((s) => ["openAcc", "openAccMaxPrice"].includes(s)) ? e("div", { staticClass: "open-acc-wrapper" }, [t.openAccMaxPrice ? e("div", { staticClass: "open-acc-item" }, [e("div", [t._v(" " + t._s(t._document.$t("price.maxPrice").capitalize()) + " " + t._s(t._document.$t("vat.exVat", { thing: t._document.$t(`vat.${t.vatType}`) })) + ": ")]), e("div", [t._v(t._s(t.priceFormat(t.openAccMaxPrice, { currency: t.currency })))])]) : t._e(), e("div", { staticClass: "open-acc-link" }, [t._v(" " + t._s(t._document.$t("see").capitalize()) + " "), e("span", { staticStyle: { color: "inherit", cursor: "pointer" }, on: { click: t.scrollToPricing } }, [e("u", [t._v(t._s(t._document.$t("price.price_plural")))])]), t._v(" " + t._s(t._document.$t("summaryBottom.forDetails")) + " ")])]) : e("div", { staticClass: "flex w-full items-center", class: [{ "justify-end": !t.isSmallScreen }] }, [e("div", { staticClass: "data-text", staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "900", "letter-spacing": "1px", "line-height": "1", "padding-bottom": "calc(0.3 * var(--rem))" } }, [t._v(" " + t._s(t.priceType.includes("approx") ? t._document.$t("approx").capitalize() : "") + " " + t._s(t.priceFormat(t.priceTotal, { currency: t.currency, decimals: 2, hideZeroDecimals: !0 })) + " ")])]), t.isSmallScreen ? e("div", { staticClass: "label-text caps price-deduction-text", staticStyle: { "margin-top": "4px" } }, [t._v(" " + t._s(t.priceDeductionVatString) + " ")]) : t._e()])])]);
230
230
  }, C = [], $ = /* @__PURE__ */ n(
231
- x,
232
231
  b,
232
+ x,
233
233
  C,
234
234
  !1,
235
235
  null,
236
- "459417ae",
236
+ "5da858b8",
237
237
  null,
238
238
  null
239
239
  );
@@ -311,11 +311,11 @@ const T = {
311
311
  ...i,
312
312
  show: t,
313
313
  base: { prices: this.prices },
314
- options: e.filter(({ toggable: a }) => a).map(({ prices: a }) => ({ prices: a }))
314
+ options: e.filter(({ toggable: o }) => o).map(({ prices: o }) => ({ prices: o }))
315
315
  } : i = {
316
316
  ...i,
317
317
  show: t && this._document.readPrices && (this.prices.total || this.prices.type.some(
318
- (a) => ["openAccMaxPrice", "openAcc"].includes(a)
318
+ (o) => ["openAccMaxPrice", "openAcc"].includes(o)
319
319
  )),
320
320
  base: { prices: this.prices }
321
321
  }, this.canEdit && t && (i.show = !0), i.documentCurrency || (i.show = !1), i;
@@ -323,22 +323,22 @@ const T = {
323
323
  }
324
324
  };
325
325
  var k = function() {
326
- var s, a;
326
+ var s, o;
327
327
  var t = this, e = t._self._c;
328
328
  return e("div", [e("div", { staticClass: "doc-jumbotron-wrapper" }, [e("BlockMedia", { staticClass: "price-media-wrapper", attrs: { media: {
329
329
  ...t.media,
330
330
  resourceUrl: ((s = t.media) == null ? void 0 : s.resourceUrl) || t._document.theme.background,
331
- overlayColor: ((a = t.media) == null ? void 0 : a.overlayColor) || t._document.theme.backgroundFilter
332
- } } }), e("SummaryTop", { attrs: { _document: t._document, "show-logo": t.showLogo, logotype: t.logotype, "company-logotype": t.company.logotype, "sender-name": t.company.name, "doc-type": t._document.docNumber.series, "doc-name": t.internalName, "doc-number": t._document.docNumber.value, "sent-at": t.sendAtShowDate, "expires-at": t._document.expiresAt, "estimated-time": t.estimatedTimeString, "has-hover": t.hasHover }, on: { "update:showLogo": function(o) {
333
- t.showLogo = o;
334
- }, "update:show-logo": function(o) {
335
- t.showLogo = o;
336
- }, "update:logotype": function(o) {
337
- t.logotype = o;
338
- }, "update:docName": function(o) {
339
- t.internalName = o;
340
- }, "update:doc-name": function(o) {
341
- t.internalName = o;
331
+ overlayColor: ((o = t.media) == null ? void 0 : o.overlayColor) || t._document.theme.backgroundFilter
332
+ } } }), e("SummaryTop", { attrs: { _document: t._document, "show-logo": t.showLogo, logotype: t.logotype, "company-logotype": t.company.logotype, "sender-name": t.company.name, "doc-type": t._document.docNumber.series, "doc-name": t.internalName, "doc-number": t._document.docNumber.value, "sent-at": t.sendAtShowDate, "expires-at": t._document.expiresAt, "estimated-time": t.estimatedTimeString, "has-hover": t.hasHover }, on: { "update:showLogo": function(a) {
333
+ t.showLogo = a;
334
+ }, "update:show-logo": function(a) {
335
+ t.showLogo = a;
336
+ }, "update:logotype": function(a) {
337
+ t.logotype = a;
338
+ }, "update:docName": function(a) {
339
+ t.internalName = a;
340
+ }, "update:doc-name": function(a) {
341
+ t.internalName = a;
342
342
  } } })], 1), t.summaryBottom.show ? e("SummaryBottom", t._b({ attrs: { _document: t._document } }, "SummaryBottom", t.summaryBottom, !1)) : t._e()], 1);
343
343
  }, A = [], B = /* @__PURE__ */ n(
344
344
  T,
@@ -1,5 +1,5 @@
1
- import { g as u, p as h, f, i as d, n as m } from "./main-e7c2bb1b.js";
2
- import { d as p } from "./debounce-ceac3c0c.js";
1
+ import { g as u, p as h, f, i as d, n as m } from "./main-0ba93efc.js";
2
+ import { d as p } from "./debounce-5f4cc346.js";
3
3
  import { m as y, a as g } from "./vuex.esm-4a0fff7c.js";
4
4
  const A = {
5
5
  name: "SearchApi",
@@ -1,4 +1,4 @@
1
- import { n as s, c as o, e as c } from "./main-e7c2bb1b.js";
1
+ import { n as s, c as o, e as c } from "./main-0ba93efc.js";
2
2
  const l = {
3
3
  // eslint-disable-next-line vue/multi-word-component-names
4
4
  name: "Setup",
@@ -36,7 +36,7 @@ const l = {
36
36
  };
37
37
  var i = function() {
38
38
  var n = this, r = n._self._c;
39
- return r("iframe", { staticClass: "w-full h-full", attrs: { title: "Partner Connect", src: n.iframeUrl, frameborder: "0" } });
39
+ return r("iframe", { staticClass: "h-full w-full", attrs: { title: "Partner Connect", src: n.iframeUrl, frameborder: "0" } });
40
40
  }, p = [], a = /* @__PURE__ */ s(
41
41
  l,
42
42
  i,
@@ -1,10 +1,10 @@
1
- import { f as m, B as o, n as v } from "./main-e7c2bb1b.js";
2
- import { m as c } from "./mapFormMixin-cb52494b.js";
3
- import g from "./Index-c55a7553.js";
4
- import "./DocModalBase-cbaaa05d.js";
5
- import "./DocumentLayout-2cca22a1.js";
6
- import "./debounce-ceac3c0c.js";
7
- import "./CDropdownItem-b1e4c6f3.js";
1
+ import { f as m, B as o, n as v } from "./main-0ba93efc.js";
2
+ import { m as c } from "./mapFormMixin-46fe94a8.js";
3
+ import g from "./Index-cada810e.js";
4
+ import "./DocModalBase-c596787a.js";
5
+ import "./DocumentLayout-9cc2a08e.js";
6
+ import "./debounce-5f4cc346.js";
7
+ import "./CDropdownItem-60893039.js";
8
8
  const p = {
9
9
  i18nOptions: {
10
10
  namespaces: "terms",
@@ -1,7 +1,7 @@
1
1
  import { h as n } from "./color-71c20583.js";
2
- import { C as l } from "./ColorPicker-43c3cfaf.js";
3
- import { M as s } from "./ManualPopover-07af41a9.js";
4
- import { n as a } from "./main-e7c2bb1b.js";
2
+ import { C as l } from "./ColorPicker-cd9e1cc0.js";
3
+ import { M as s } from "./ManualPopover-720770bb.js";
4
+ import { n as a } from "./main-0ba93efc.js";
5
5
  const i = {
6
6
  name: "ThemeColorRow",
7
7
  components: {
@@ -55,7 +55,7 @@ var c = function() {
55
55
  p,
56
56
  !1,
57
57
  null,
58
- "20910178",
58
+ "525021e0",
59
59
  null,
60
60
  null
61
61
  );
@@ -1,6 +1,6 @@
1
- import { m as i } from "./mapFormMixin-cb52494b.js";
2
- import { I as t } from "./InputToggleRow-afcabf8b.js";
3
- import { n as l } from "./main-e7c2bb1b.js";
1
+ import { m as i } from "./mapFormMixin-46fe94a8.js";
2
+ import { I as t } from "./InputToggleRow-a9229972.js";
3
+ import { n as l } from "./main-0ba93efc.js";
4
4
  const s = {
5
5
  name: "ToggleBinding",
6
6
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import l from "./Index-860a7def.js";
2
- import { f as o, h as c, D as d, n as m } from "./main-e7c2bb1b.js";
1
+ import l from "./Index-d689466d.js";
2
+ import { f as o, h as c, D as d, n as m } from "./main-0ba93efc.js";
3
3
  import { m as p } from "./vuex.esm-4a0fff7c.js";
4
- import "./tinycolor-314fba6f.js";
4
+ import "./tinycolor-4773d945.js";
5
5
  const u = {
6
6
  i18nOptions: {
7
7
  namespaces: "uploadModal",
@@ -73,12 +73,12 @@ const u = {
73
73
  };
74
74
  var _ = function() {
75
75
  var e = this, t = e._self._c;
76
- return t("div", { staticClass: "bg-white rounded-xl text-base max-h-[90%] w-[460px] max-w-full" }, [t("div", { staticClass: "p-6" }, [t("div", { staticClass: "p-8 text-center text-gray-700 border border-gray-200 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 hover:border-primary-500/20 active:bg-gray-200", on: { click: function(s) {
76
+ return t("div", { staticClass: "max-h-[90%] w-[460px] max-w-full rounded-xl bg-white text-base" }, [t("div", { staticClass: "p-6" }, [t("div", { staticClass: "hover:border-primary-500/20 cursor-pointer rounded-lg border border-gray-200 bg-gray-50 p-8 text-center text-gray-700 hover:bg-gray-100 active:bg-gray-200", on: { click: function(s) {
77
77
  return e.$emit("open-picker");
78
- } } }, [e._v(" " + e._s(e.$t("upPlaceholder")) + " "), t("span", { staticClass: "underline text-primary-500" }, [e._v(e._s(e.$t("_common:browse")))])])]), e.isLoading || e.recentFiles.length ? t("div", { staticClass: "pb-4 text-left h-[400px] overflow-auto max-h-[50vh] border-t border-gray-200" }, [t("div", { staticStyle: { "font-size": "15px", padding: "1em", margin: "0px 1em", color: "hsl(0, 0%, 30%)" } }, [e._v(" " + e._s(e.$t("recentlyUsed")) + " ")]), e.isLoading ? e._l(6, function(s) {
79
- return t("ContentPlaceholders", { key: s, staticClass: "flex items-center w-full up-recent-item", attrs: { animated: !1 } }, [t("ContentPlaceholdersText", { staticStyle: { width: "37px", height: "38px", "font-size": "24px", "margin-right": "4px" }, attrs: { lines: 1 } }), t("div", { staticClass: "flex-grow" }, [t("ContentPlaceholdersText", { attrs: { lines: 1 } }), t("ContentPlaceholdersText", { staticClass: "up-recent-item-hint", staticStyle: { "max-width": "50%" }, attrs: { lines: 1 } })], 1)], 1);
78
+ } } }, [e._v(" " + e._s(e.$t("upPlaceholder")) + " "), t("span", { staticClass: "text-primary-500 underline" }, [e._v(e._s(e.$t("_common:browse")))])])]), e.isLoading || e.recentFiles.length ? t("div", { staticClass: "h-[400px] max-h-[50vh] overflow-auto border-t border-gray-200 pb-4 text-left" }, [t("div", { staticStyle: { "font-size": "15px", padding: "1em", margin: "0px 1em", color: "hsl(0, 0%, 30%)" } }, [e._v(" " + e._s(e.$t("recentlyUsed")) + " ")]), e.isLoading ? e._l(6, function(s) {
79
+ return t("ContentPlaceholders", { key: s, staticClass: "up-recent-item flex w-full items-center", attrs: { animated: !1 } }, [t("ContentPlaceholdersText", { staticStyle: { width: "37px", height: "38px", "font-size": "24px", "margin-right": "4px" }, attrs: { lines: 1 } }), t("div", { staticClass: "flex-grow" }, [t("ContentPlaceholdersText", { attrs: { lines: 1 } }), t("ContentPlaceholdersText", { staticClass: "up-recent-item-hint", staticStyle: { "max-width": "50%" }, attrs: { lines: 1 } })], 1)], 1);
80
80
  }) : e._l(e.recentFiles, function(s) {
81
- return t("div", { key: s.id, staticClass: "flex items-center w-full up-recent-item", on: { click: function(r) {
81
+ return t("div", { key: s.id, staticClass: "up-recent-item flex w-full items-center", on: { click: function(r) {
82
82
  return e.onSelect(s);
83
83
  } } }, [t("FileIcon", { staticStyle: { "margin-right": "1em" }, attrs: { mime: s.mime, size: 30 } }), t("div", { staticClass: "truncate-text" }, [t("div", { staticClass: "truncate-text", staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(s.name) + " ")]), t("div", { staticClass: "up-recent-item-hint" }, [e._v(" " + e._s(e.$formatDate(s.createdAt)) + " ")])])], 1);
84
84
  })], 2) : e._e()]);
@@ -88,7 +88,7 @@ var _ = function() {
88
88
  h,
89
89
  !1,
90
90
  null,
91
- "7a9d7b43",
91
+ "b69c7bc0",
92
92
  null,
93
93
  null
94
94
  );
@@ -1,6 +1,6 @@
1
- import { d as a } from "./debounce-ceac3c0c.js";
2
- import { v as l } from "./utils-e42920bb.js";
3
- import { n } from "./main-e7c2bb1b.js";
1
+ import { d as a } from "./debounce-5f4cc346.js";
2
+ import { v as l } from "./utils-8d533496.js";
3
+ import { n } from "./main-0ba93efc.js";
4
4
  const r = {
5
5
  name: "VideoPlayerInput",
6
6
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import n from "./VideoPlayerInput-0289e1ad.js";
2
- import { n as s } from "./main-e7c2bb1b.js";
3
- import "./debounce-ceac3c0c.js";
4
- import "./utils-e42920bb.js";
1
+ import n from "./VideoPlayerInput-87ae1e67.js";
2
+ import { n as s } from "./main-0ba93efc.js";
3
+ import "./debounce-5f4cc346.js";
4
+ import "./utils-8d533496.js";
5
5
  const l = {
6
6
  i18nOptions: {
7
7
  namespaces: "components",
@@ -1,12 +1,12 @@
1
- import { c as h, n as f, o as g } from "./main-e7c2bb1b.js";
2
- import { B as _, a as y } from "./index-df8dbf78.js";
3
- import x from "./VideoPlayerInput-0289e1ad.js";
4
- import "./debounce-ceac3c0c.js";
5
- import "./throttle-27be8808.js";
1
+ import { c as h, n as f, o as g } from "./main-0ba93efc.js";
2
+ import { B as _, a as y } from "./index-525e4866.js";
3
+ import x from "./VideoPlayerInput-87ae1e67.js";
4
+ import "./debounce-5f4cc346.js";
5
+ import "./throttle-61f5ee70.js";
6
6
  import "./dom-962579a6.js";
7
- import "./CDropdownItem-b1e4c6f3.js";
8
- import "./Flag-38700bb4.js";
9
- import "./utils-e42920bb.js";
7
+ import "./CDropdownItem-60893039.js";
8
+ import "./Flag-c7a354cd.js";
9
+ import "./utils-8d533496.js";
10
10
  const V = h.pexels.id, w = {
11
11
  name: "VideoSelectModal",
12
12
  i18nOptions: {
@@ -48,12 +48,12 @@ const V = h.pexels.id, w = {
48
48
  }), a = (o, i) => o.height < i.height || o.width < i.width ? -1 : 1, u = (o) => (o.find(({ height: i }) => i > 1e3 && i < 1200) || {}).link;
49
49
  return {
50
50
  items: (e.videos || []).map(
51
- ({ id: o, image: i, video_files: r = [], user: d }) => {
52
- const { sd: m, hd: p } = (r || []).sort(a).reduce(
53
- (c, l) => (c[l.quality] && l.link && c[l.quality].push(l.link), c),
51
+ ({ id: o, image: i, video_files: c = [], user: d }) => {
52
+ const { sd: m, hd: p } = (c || []).sort(a).reduce(
53
+ (r, l) => (r[l.quality] && l.link && r[l.quality].push(l.link), r),
54
54
  { sd: [], hd: [] }
55
55
  ), [v] = m;
56
- let n = u(r);
56
+ let n = u(c);
57
57
  return n || ([n] = p.length ? p : m.slice(-1)), {
58
58
  id: `${o}`,
59
59
  image: i,
@@ -85,11 +85,11 @@ const V = h.pexels.id, w = {
85
85
  };
86
86
  var b = function() {
87
87
  var t = this, e = t._self._c;
88
- return e("BackgroundModal", t._g({}, t.$listeners), [e("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }, attrs: { slot: "header" }, slot: "header" }, [e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "pexels" && { opacity: 1 }, on: { click: function(a) {
88
+ return e("BackgroundModal", t._g({}, t.$listeners), [e("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }, attrs: { slot: "header" }, slot: "header" }, [e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "pexels" && { opacity: 1 }, on: { click: function(a) {
89
89
  t.activeTab = "pexels";
90
90
  } } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 32 32" } }, [e("path", { attrs: { d: "M2 0h28a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z", fill: "#05A081" } }), e("path", { attrs: { d: "M13 21h3.863v-3.752h1.167a3.124 3.124 0 1 0 0-6.248H13v10zm5.863 2H11V9h7.03a5.124 5.124 0 0 1 .833 10.18V23z", fill: "#fff" } })]), t._v(" " + t._s(t.$t("_common:video").capitalize()) + " ")])]), e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "customUrl" && { opacity: 1 }, on: { click: function(a) {
91
91
  t.activeTab = "customUrl";
92
- } } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { width: "28", height: "28", xmlns: "http://www.w3.org/2000/svg", version: "1.1", x: "0", y: "0", "xml:space": "preserve", viewBox: "0 0 71.412 50" } }, [e("g", { attrs: { transform: "scale(.58824)" } }, [e("path", { attrs: { d: "M118.9 13.3c-1.4-5.2-5.5-9.3-10.7-10.7C98.7 0 60.7 0 60.7 0s-38 0-47.5 2.5C8.1 3.9 3.9 8.1 2.5 13.3 0 22.8 0 42.5 0 42.5s0 19.8 2.5 29.2C3.9 76.9 8 81 13.2 82.4 22.8 85 60.7 85 60.7 85s38 0 47.5-2.5c5.2-1.4 9.3-5.5 10.7-10.7 2.5-9.5 2.5-29.2 2.5-29.2s.1-19.8-2.5-29.3z", fill: "red", "fill-opacity": "1" } }), e("path", { attrs: { fill: "#fff", d: "M80.2 42.5L48.6 24.3v36.4z" } })])]), t._v(" " + t._s(t.$t("tabLink").capitalize()) + " ")])])], 1), t.activeTab === "pexels" ? e("BackgroundList", { attrs: { fetch: t.fetch, "credit-text": t.$t("creditVideos", { thing: "Pexels" }), "default-query": "nature" }, on: { select: t.selectVideo } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disable: !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : e("div", { staticClass: "flex flex-col items-center justify-center w-full" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("div", { staticStyle: { position: "relative", width: "100%", "padding-top": "56.25%", "background-color": "hsl(var(--gray-color-100) / 1)", "border-radius": "0.5em", "margin-bottom": "calc(1.5 * var(--rem))" } }, [t.customVideo ? e("iframe", { staticClass: "custom-video-preview", attrs: { src: t.customVideo.url } }) : t._e()]), e("VideoPlayerInput", { attrs: { filled: !0, "video-options": { background: !0 } }, model: { value: t.customVideo, callback: function(a) {
92
+ } } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { width: "28", height: "28", xmlns: "http://www.w3.org/2000/svg", version: "1.1", x: "0", y: "0", "xml:space": "preserve", viewBox: "0 0 71.412 50" } }, [e("g", { attrs: { transform: "scale(.58824)" } }, [e("path", { attrs: { d: "M118.9 13.3c-1.4-5.2-5.5-9.3-10.7-10.7C98.7 0 60.7 0 60.7 0s-38 0-47.5 2.5C8.1 3.9 3.9 8.1 2.5 13.3 0 22.8 0 42.5 0 42.5s0 19.8 2.5 29.2C3.9 76.9 8 81 13.2 82.4 22.8 85 60.7 85 60.7 85s38 0 47.5-2.5c5.2-1.4 9.3-5.5 10.7-10.7 2.5-9.5 2.5-29.2 2.5-29.2s.1-19.8-2.5-29.3z", fill: "red", "fill-opacity": "1" } }), e("path", { attrs: { fill: "#fff", d: "M80.2 42.5L48.6 24.3v36.4z" } })])]), t._v(" " + t._s(t.$t("tabLink").capitalize()) + " ")])])], 1), t.activeTab === "pexels" ? e("BackgroundList", { attrs: { fetch: t.fetch, "credit-text": t.$t("creditVideos", { thing: "Pexels" }), "default-query": "nature" }, on: { select: t.selectVideo } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disable: !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : e("div", { staticClass: "flex w-full flex-col items-center justify-center" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("div", { staticStyle: { position: "relative", width: "100%", "padding-top": "56.25%", "background-color": "hsl(var(--gray-color-100) / 1)", "border-radius": "0.5em", "margin-bottom": "calc(1.5 * var(--rem))" } }, [t.customVideo ? e("iframe", { staticClass: "custom-video-preview", attrs: { src: t.customVideo.url } }) : t._e()]), e("VideoPlayerInput", { attrs: { filled: !0, "video-options": { background: !0 } }, model: { value: t.customVideo, callback: function(a) {
93
93
  t.customVideo = a;
94
94
  }, expression: "customVideo" } }, [e("CButton", { attrs: { disable: !t.customVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)])], 1);
95
95
  }, k = [], S = /* @__PURE__ */ f(
@@ -98,7 +98,7 @@ var b = function() {
98
98
  k,
99
99
  !1,
100
100
  null,
101
- "bc480378",
101
+ "4501db64",
102
102
  null,
103
103
  null
104
104
  );
@@ -0,0 +1,51 @@
1
+ import { b as a } from "./main-0ba93efc.js";
2
+ import { w as r } from "./CDropdownItem-60893039.js";
3
+ const m = ({ documentKey: s = "document" } = {}) => ({
4
+ mixins: [r],
5
+ inject: {
6
+ formValidation: { default: null }
7
+ },
8
+ methods: {
9
+ isValid() {
10
+ const { isFormValid: t, scrollToInvalidInput: i } = this.formValidation || this;
11
+ return !t || !i || t() ? !0 : i({ offset: 120 });
12
+ },
13
+ isAnswerModalOpen() {
14
+ const t = this.$modal.getOpenInstances();
15
+ return t && t.length && t.some((i) => {
16
+ var e;
17
+ return ((e = i.modalAttrs) == null ? void 0 : e.name) === "AnswerModal";
18
+ });
19
+ },
20
+ onAnswer(t = "accept", i = {}) {
21
+ if (this.isAnswerModalOpen())
22
+ return;
23
+ const e = a(this, s);
24
+ if (!e || e.isPreview || !(t === "decline" ? !0 : this.isValid()))
25
+ return;
26
+ const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-6990ea17.js");
27
+ this.$modal.show(
28
+ n,
29
+ {
30
+ mode: t,
31
+ _document: e,
32
+ fullScreen: o === "100%",
33
+ calcHeight: !!i.calcHeight
34
+ },
35
+ {
36
+ name: "AnswerModal",
37
+ adaptive: !0,
38
+ height: "auto",
39
+ width: "90%",
40
+ maxWidth: 420,
41
+ classes: "overflow-visible",
42
+ transition: "modal-soft",
43
+ clickToClose: !1
44
+ }
45
+ );
46
+ }
47
+ }
48
+ });
49
+ export {
50
+ m as a
51
+ };
@@ -1,4 +1,4 @@
1
- import { _ as j, k, U as C, j as A } from "./main-e7c2bb1b.js";
1
+ import { _ as j, k, U as C, j as A } from "./main-0ba93efc.js";
2
2
  var L = j, M = function() {
3
3
  return L.Date.now();
4
4
  }, B = M, F = /\s/;
@@ -1,4 +1,4 @@
1
- import { s as o } from "./formDrawerState-2389a9f5.js";
1
+ import { s as o } from "./formDrawerState-6ff961ac.js";
2
2
  const t = {
3
3
  inject: {
4
4
  sectionTopNode: {