@cling-se/widget 0.9.11 → 0.9.13

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 (143) hide show
  1. package/dist/{AddClientCallout-bccc787f.js → AddClientCallout-228b3577.js} +5 -5
  2. package/dist/{AnswerModal-4de1dbc1.js → AnswerModal-8d56e27b.js} +154 -143
  3. package/dist/{AttachmentItem-800d8c9f.js → AttachmentItem-c351e46f.js} +3 -3
  4. package/dist/{BaseDatePicker-1abafbac.js → BaseDatePicker-455a8e63.js} +43 -43
  5. package/dist/{BaseInput-51ade595.js → BaseInput-6b0cdce2.js} +1 -1
  6. package/dist/{BaseUpload-b9b2fa68.js → BaseUpload-53bb3574.js} +2 -2
  7. package/dist/{BlockMedia-efc20618.js → BlockMedia-7f55be7a.js} +1 -1
  8. package/dist/{CCallout-a357fde2.js → CCallout-357061be.js} +3 -3
  9. package/dist/{CDropdownItem-bb7f1de7.js → CDropdownItem-18010a08.js} +5 -5
  10. package/dist/{CField-d69fcf46.js → CField-05874972.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-5ac8d200.js → CSlider.vue_vue_type_style_index_0_lang-cf8cf3bf.js} +1 -1
  12. package/dist/{ClientAutocomplete-d126a3bd.js → ClientAutocomplete-80568a20.js} +2 -2
  13. package/dist/{ClientModal-e2c196c4.js → ClientModal-7504abd0.js} +4 -4
  14. package/dist/{ColorPicker-81f9f778.js → ColorPicker-6ce6c99f.js} +29 -29
  15. package/dist/{CompanyModal-092999bf.js → CompanyModal-14c95452.js} +3 -3
  16. package/dist/{ContentWrapper-1f930dce.js → ContentWrapper-2af616a6.js} +11 -11
  17. package/dist/{CoverBlockSettings-5aa513a4.js → CoverBlockSettings-16e69c0f.js} +9 -8
  18. package/dist/DocAnswer-4c60bdb2.js +33 -0
  19. package/dist/{DocForm-2e9af604.js → DocForm-88aad3f9.js} +877 -914
  20. package/dist/{DocFormSend-fadf14c9.js → DocFormSend-7822495a.js} +28 -24
  21. package/dist/{DocModalBase-4172fbbb.js → DocModalBase-cc16308d.js} +1 -1
  22. package/dist/{DocPrint-edc291ba.js → DocPrint-ab80350b.js} +1 -1
  23. package/dist/{DocReceipt-bcb8539c.js → DocReceipt-a418995c.js} +1 -1
  24. package/dist/{DocSendReminder-c75a1906.js → DocSendReminder-604537a5.js} +1 -1
  25. package/dist/{DocTextEditor-c9b90281.js → DocTextEditor-4c3a9dda.js} +7 -7
  26. package/dist/{DocTimeline-2afee21c.js → DocTimeline-f528fe03.js} +5 -5
  27. package/dist/{DocumentClient-425f6e0b.js → DocumentClient-63eee0be.js} +5 -5
  28. package/dist/{DocumentLayout-0d24ac85.js → DocumentLayout-7f21170a.js} +95 -95
  29. package/dist/{DocumentLogotype-278b2823.js → DocumentLogotype-342699d5.js} +16 -16
  30. package/dist/{EmbedInput-28796e66.js → EmbedInput-838658e0.js} +2 -2
  31. package/dist/{EmbedSettings-1e097db9.js → EmbedSettings-4861e515.js} +3 -3
  32. package/dist/{ErrorCallout-ddbc30af.js → ErrorCallout-3c335312.js} +1 -1
  33. package/dist/{FilePreviewModal-360216a2.js → FilePreviewModal-36890f6f.js} +4 -4
  34. package/dist/{HeaderSettings-abc9e60f.js → HeaderSettings-c60b567b.js} +18 -17
  35. package/dist/{ImageSelectModal-2c078df5.js → ImageSelectModal-364cb7f3.js} +15 -17
  36. package/dist/{ImageUploadWrapper-99a3b0dd.js → ImageUploadWrapper-3f97caf0.js} +2 -2
  37. package/dist/{Index-8b57e293.js → Index-043d9b1b.js} +2 -2
  38. package/dist/{Index-a0de23fe.js → Index-0a743dbe.js} +5 -5
  39. package/dist/{Index-61b794ca.js → Index-143c8249.js} +4 -4
  40. package/dist/{Index-610a54bf.js → Index-236b16cb.js} +25 -25
  41. package/dist/{Index-abb29c87.js → Index-2d530ba9.js} +26 -26
  42. package/dist/{Index-7317f443.js → Index-31c43501.js} +4 -4
  43. package/dist/{Index-a8faf552.js → Index-39588910.js} +4 -4
  44. package/dist/{Index-d56d4b7b.js → Index-4d066329.js} +1 -1
  45. package/dist/{Index-6435f551.js → Index-4d75a98f.js} +11 -11
  46. package/dist/{Index-61786d22.js → Index-54dae7d5.js} +6 -6
  47. package/dist/{Index-05d4a173.js → Index-5e5e9eea.js} +2 -2
  48. package/dist/{Index-5688e5e1.js → Index-61044ea1.js} +14 -14
  49. package/dist/{Index-cb1efaaa.js → Index-622f4488.js} +6 -6
  50. package/dist/{Index-23c1de88.js → Index-68d33a7a.js} +2 -2
  51. package/dist/{Index-aecbccac.js → Index-7ae67a69.js} +2 -2
  52. package/dist/{Index-4cae2241.js → Index-81aebe47.js} +11 -11
  53. package/dist/{Index-81eeecba.js → Index-87e1bf30.js} +2 -2
  54. package/dist/{Index-a8b60741.js → Index-933d777b.js} +4 -4
  55. package/dist/{Index-ad024dc9.js → Index-9f14cadf.js} +5 -5
  56. package/dist/{Index-168790bc.js → Index-a954fa0e.js} +4 -4
  57. package/dist/{Index-0a9e95d6.js → Index-ab549b7b.js} +2 -2
  58. package/dist/{Index-d841c396.js → Index-ab8a049c.js} +5 -5
  59. package/dist/{Index-8b02f74f.js → Index-ad6b4226.js} +1 -1
  60. package/dist/{Index-f3af647f.js → Index-c3e9f61e.js} +4 -4
  61. package/dist/{Index-901f2f68.js → Index-c4a96084.js} +3 -3
  62. package/dist/{Index-83597574.js → Index-c4da8059.js} +10 -10
  63. package/dist/{Index-cb10ca9b.js → Index-d0572db7.js} +8 -8
  64. package/dist/{Index-d2d40188.js → Index-d354a773.js} +4 -4
  65. package/dist/{Index-44764dbb.js → Index-dad75b77.js} +7 -7
  66. package/dist/{Index-193a4968.js → Index-db68776e.js} +5 -5
  67. package/dist/{Index-f9a97c67.js → Index-df63e9b1.js} +2 -2
  68. package/dist/{Index-c5b9ad7f.js → Index-e1fa12f4.js} +4 -4
  69. package/dist/{Index-7a56c885.js → Index-e8bd9682.js} +4 -4
  70. package/dist/{Index-942a36d2.js → Index-eb677c16.js} +12 -12
  71. package/dist/{InputToggleRow-3bba2a55.js → InputToggleRow-9f3a21c8.js} +1 -1
  72. package/dist/IsPremiumPreStep-fc67e5a6.js +3698 -0
  73. package/dist/{MediaWrapper-574eca05.js → MediaWrapper-97e972de.js} +3 -3
  74. package/dist/{NotBindingText-f2acdb51.js → NotBindingText-a1bfc652.js} +2 -2
  75. package/dist/{PackageGroup-625d7093.js → PackageGroup-fd73d61e.js} +12 -12
  76. package/dist/{PdfTerms-05e6491e.js → PdfTerms-183987fe.js} +4 -4
  77. package/dist/{PdfViewer-4d32b0f1.js → PdfViewer-92bae106.js} +2 -2
  78. package/dist/{PlainHtml-c2e1feca.js → PlainHtml-659dc40e.js} +1 -1
  79. package/dist/{PriceHeader-ce8bb22c.js → PriceHeader-07cd131c.js} +11 -11
  80. package/dist/{SearchApi-b7e03288.js → SearchApi-64811a82.js} +2 -2
  81. package/dist/Setup-2ceea9c6.js +53 -0
  82. package/dist/{TermsSettings-de33fad6.js → TermsSettings-fcd58004.js} +6 -6
  83. package/dist/{ThemeColorRow-52efe243.js → ThemeColorRow-df5956c8.js} +11 -20
  84. package/dist/{ToggleBinding-ec8d351f.js → ToggleBinding-f7bc2d76.js} +3 -3
  85. package/dist/{UploadModal-463188b1.js → UploadModal-a1ac0b5c.js} +3 -3
  86. package/dist/{VideoPlayerInput-9314dfa5.js → VideoPlayerInput-1f3f68ff.js} +3 -3
  87. package/dist/{VideoPlayerSettings-e7978498.js → VideoPlayerSettings-11942297.js} +4 -4
  88. package/dist/{VideoSelectModal-72e1e4e2.js → VideoSelectModal-745c2810.js} +12 -12
  89. package/dist/{answerDocumentMixin-d65059b8.js → answerDocumentMixin-f8efbecd.js} +3 -3
  90. package/dist/{cssMode-88d0146a.js → cssMode-76c1eb7e.js} +15 -19
  91. package/dist/{focusDrawerMixin-46eade80.js → focusDrawerMixin-ef272683.js} +1 -1
  92. package/dist/{formComponentsInstall-0cfab48e.js → formComponentsInstall-1032f4c0.js} +263 -258
  93. package/dist/{formValidationMixin-94fb3562.js → formValidationMixin-cae02f79.js} +1 -1
  94. package/dist/{freemarker2-fb187d64.js → freemarker2-a5050433.js} +19 -23
  95. package/dist/{handlebars-4a1a8024.js → handlebars-97600bea.js} +11 -15
  96. package/dist/{html-00e90fc7.js → html-848aba57.js} +14 -18
  97. package/dist/{htmlMode-cfbebdc7.js → htmlMode-f297f1ba.js} +19 -23
  98. package/dist/image-eeafca74.js +18 -0
  99. package/dist/index-5bf60a14.js +82 -0
  100. package/dist/{index-7a30802a.js → index-66441a0e.js} +7 -7
  101. package/dist/{index-93fd29b3.js → index-9c826693.js} +4 -4
  102. package/dist/index-b156c3e5.js +14 -0
  103. package/dist/{index-de7702a8.js → index-d9dc84c3.js} +15 -15
  104. package/dist/index.es.js +7 -4
  105. package/dist/index.umd.js +605 -602
  106. package/dist/{javascript-3213b923.js → javascript-05903a61.js} +11 -15
  107. package/dist/{jsonMode-afc781d8.js → jsonMode-808b2c11.js} +19 -23
  108. package/dist/{liquid-dc5a4df5.js → liquid-3a4ed820.js} +14 -18
  109. package/dist/{main-abeba7c1.js → main-37f5e386.js} +28102 -27922
  110. package/dist/{mapFormMixin-e82f943f.js → mapFormMixin-57fc1af3.js} +1 -1
  111. package/dist/{publicSenderState-2f11c080.js → publicSenderState-23dfd84e.js} +1 -1
  112. package/dist/{python-4bce1745.js → python-59364ca7.js} +11 -15
  113. package/dist/{razor-f57062fd.js → razor-c485357e.js} +18 -22
  114. package/dist/{simplebar.min-07c0e6b7.js → simplebar.min-0afea859.js} +1 -1
  115. package/dist/style.css +2 -2
  116. package/dist/template-09a48d50.js +526 -0
  117. package/dist/throttle-7cc7cddf.js +18 -0
  118. package/dist/{tinycolor-0084a04e.js → tinycolor-9b14b99e.js} +6 -6
  119. package/dist/{tippy.esm-2bcbed04.js → tippy.esm-e04582c9.js} +5 -5
  120. package/dist/{tsMode-c0486e4e.js → tsMode-1c3b939e.js} +15 -19
  121. package/dist/{typescript-50a48698.js → typescript-80bee482.js} +11 -15
  122. package/dist/{utils-d907da71.js → utils-48a92f83.js} +5 -5
  123. package/dist/{vuedraggable.umd-c326d90c.js → vuedraggable.umd-937de8ac.js} +48 -48
  124. package/dist/{xml-0ef7a70a.js → xml-277e74c7.js} +14 -18
  125. package/package.json +10 -8
  126. package/dist/IsPremiumPreStep-1657f1ce.js +0 -2443
  127. package/dist/Setup-e92daff6.js +0 -50
  128. package/dist/assets/article-options-10522.png +0 -0
  129. package/dist/assets/bg-base-11995.png +0 -0
  130. package/dist/assets/bg-pro-89155.png +0 -0
  131. package/dist/assets/bg-start-17372.png +0 -0
  132. package/dist/assets/blank-95062.png +0 -0
  133. package/dist/assets/block-options-11378.png +0 -0
  134. package/dist/assets/columnGallery.image-14820.png +0 -0
  135. package/dist/assets/doc-send-25589.png +0 -0
  136. package/dist/assets/drag-block-21107.png +0 -0
  137. package/dist/assets/headerCircularGradient.image-79345.png +0 -0
  138. package/dist/assets/roiCalculator.image-13673.png +0 -0
  139. package/dist/assets/text-bubble-21606.png +0 -0
  140. package/dist/index-e9d870d0.js +0 -17
  141. package/dist/regions-29ee6964.js +0 -1250
  142. package/dist/template-3600893b.js +0 -528
  143. package/dist/throttle-1bf5bb97.js +0 -18
@@ -1,8 +1,8 @@
1
1
  import { a as nt } from "./anime.es-e284c852.js";
2
- import { af as St, h as Ct, n as ot, ag as Tt, E as ft, ah as Ft, ai as kt, aj as It, g as xt } from "./main-abeba7c1.js";
2
+ import { ah as At, h as Ct, n as ot, ai as Tt, G as ft, aj as Ft, ak as kt, al as It, g as xt } from "./main-37f5e386.js";
3
3
  import { a as Mt } from "./vuex.esm-4a0fff7c.js";
4
- import { m as dt } from "./mapFormMixin-e82f943f.js";
5
- import { C as Rt } from "./CField-d69fcf46.js";
4
+ import { m as dt } from "./mapFormMixin-57fc1af3.js";
5
+ import { C as Rt } from "./CField-05874972.js";
6
6
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
7
7
  const Dt = () => {
8
8
  const v = window.location.host.split(".");
@@ -49,7 +49,7 @@ const Ut = [
49
49
  throw Error("Missing param data");
50
50
  let n = "positive";
51
51
  try {
52
- this.demo || St.feedback(this.publicId, { type: v, data: r }), v === "enjoyedExperience" && !r.value && (n = "negative"), v === "whatToImprove" && (n = "negative.success"), $t && n !== "negative" && (n = "custom");
52
+ this.demo || At.feedback(this.publicId, { type: v, data: r }), v === "enjoyedExperience" && !r.value && (n = "negative"), v === "whatToImprove" && (n = "negative.success"), $t && n !== "negative" && (n = "custom");
53
53
  } catch (g) {
54
54
  Ct(g, { showMessage: !1 });
55
55
  } finally {
@@ -165,7 +165,7 @@ class bt {
165
165
  return new bt(r[1], g, l, r[2], n.start, n.end);
166
166
  }
167
167
  static calculateControlPoints(r, n, g) {
168
- const l = r.x - n.x, f = r.y - n.y, d = n.x - g.x, c = n.y - g.y, i = { x: (r.x + n.x) / 2, y: (r.y + n.y) / 2 }, s = { x: (n.x + g.x) / 2, y: (n.y + g.y) / 2 }, h = Math.sqrt(l * l + f * f), a = Math.sqrt(d * d + c * c), w = i.x - s.x, x = i.y - s.y, b = a / (h + a), S = { x: s.x + w * b, y: s.y + x * b }, F = n.x - S.x, M = n.y - S.y;
168
+ const l = r.x - n.x, f = r.y - n.y, d = n.x - g.x, c = n.y - g.y, i = { x: (r.x + n.x) / 2, y: (r.y + n.y) / 2 }, s = { x: (n.x + g.x) / 2, y: (n.y + g.y) / 2 }, h = Math.sqrt(l * l + f * f), a = Math.sqrt(d * d + c * c), w = i.x - s.x, x = i.y - s.y, b = a / (h + a), A = { x: s.x + w * b, y: s.y + x * b }, F = n.x - A.x, M = n.y - A.y;
169
169
  return {
170
170
  c1: new mt(i.x + F, i.y + M),
171
171
  c2: new mt(s.x + F, s.y + M)
@@ -368,8 +368,8 @@ let jt = class Et extends Wt {
368
368
  x += 3 * a * c * r.control1.x, x += 3 * h * i * r.control2.x, x += s * r.endPoint.x;
369
369
  let b = w * r.startPoint.y;
370
370
  b += 3 * a * c * r.control1.y, b += 3 * h * i * r.control2.y, b += s * r.endPoint.y;
371
- const S = Math.min(r.startWidth + s * l, n.maxWidth);
372
- this._drawCurveSegment(x, b, S);
371
+ const A = Math.min(r.startWidth + s * l, n.maxWidth);
372
+ this._drawCurveSegment(x, b, A);
373
373
  }
374
374
  g.closePath(), g.fill();
375
375
  }
@@ -394,13 +394,13 @@ let jt = class Et extends Wt {
394
394
  _toSVG() {
395
395
  const r = this._data, n = Math.max(window.devicePixelRatio || 1, 1), g = 0, l = 0, f = this.canvas.width / n, d = this.canvas.height / n, c = document.createElementNS("http://www.w3.org/2000/svg", "svg");
396
396
  c.setAttribute("width", this.canvas.width.toString()), c.setAttribute("height", this.canvas.height.toString()), this._fromData(r, (x, { penColor: b }) => {
397
- const S = document.createElement("path");
397
+ const A = document.createElement("path");
398
398
  if (!isNaN(x.control1.x) && !isNaN(x.control1.y) && !isNaN(x.control2.x) && !isNaN(x.control2.y)) {
399
399
  const F = `M ${x.startPoint.x.toFixed(3)},${x.startPoint.y.toFixed(3)} C ${x.control1.x.toFixed(3)},${x.control1.y.toFixed(3)} ${x.control2.x.toFixed(3)},${x.control2.y.toFixed(3)} ${x.endPoint.x.toFixed(3)},${x.endPoint.y.toFixed(3)}`;
400
- S.setAttribute("d", F), S.setAttribute("stroke-width", (x.endWidth * 2.25).toFixed(3)), S.setAttribute("stroke", b), S.setAttribute("fill", "none"), S.setAttribute("stroke-linecap", "round"), c.appendChild(S);
400
+ A.setAttribute("d", F), A.setAttribute("stroke-width", (x.endWidth * 2.25).toFixed(3)), A.setAttribute("stroke", b), A.setAttribute("fill", "none"), A.setAttribute("stroke-linecap", "round"), c.appendChild(A);
401
401
  }
402
- }, (x, { penColor: b, dotSize: S, minWidth: F, maxWidth: M }) => {
403
- const C = document.createElement("circle"), T = S > 0 ? S : (F + M) / 2;
402
+ }, (x, { penColor: b, dotSize: A, minWidth: F, maxWidth: M }) => {
403
+ const C = document.createElement("circle"), T = A > 0 ? A : (F + M) / 2;
404
404
  C.setAttribute("r", T.toString()), C.setAttribute("cx", x.x.toString()), C.setAttribute("cy", x.y.toString()), C.setAttribute("fill", b), c.appendChild(C);
405
405
  });
406
406
  const i = "data:image/svg+xml;base64,", s = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="${g} ${l} ${f} ${d}" width="${f}" height="${d}">`;
@@ -408,8 +408,8 @@ let jt = class Et extends Wt {
408
408
  if (h === void 0) {
409
409
  const x = document.createElement("dummy"), b = c.childNodes;
410
410
  x.innerHTML = "";
411
- for (let S = 0; S < b.length; S += 1)
412
- x.appendChild(b[S].cloneNode(!0));
411
+ for (let A = 0; A < b.length; A += 1)
412
+ x.appendChild(b[A].cloneNode(!0));
413
413
  h = x.innerHTML;
414
414
  }
415
415
  const a = "</svg>", w = s + h + a;
@@ -631,7 +631,15 @@ var Xt = /* @__PURE__ */ ot(
631
631
  null
632
632
  );
633
633
  const Qt = Xt.exports;
634
- const qt = {
634
+ function qt({ rel: v, href: r, crossorigin: n = !1 }) {
635
+ const g = document.createElement("link");
636
+ g.rel = v, g.href = r, g.crossorigin = n, document.head.appendChild(g);
637
+ }
638
+ const Zt = [
639
+ { rel: "preconnect", href: "https://fonts.googleapis.com" },
640
+ { rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: !0 },
641
+ { rel: "stylesheet", href: "https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap" }
642
+ ], te = {
635
643
  name: "SignatureAnswer",
636
644
  components: {
637
645
  CField: Rt,
@@ -668,6 +676,9 @@ const qt = {
668
676
  }
669
677
  }
670
678
  },
679
+ created() {
680
+ Zt.forEach(qt);
681
+ },
671
682
  mounted() {
672
683
  this.focusName();
673
684
  },
@@ -698,7 +709,7 @@ const qt = {
698
709
  }
699
710
  }
700
711
  };
701
- var Zt = function() {
712
+ var ee = function() {
702
713
  var r = this, n = r._self._c;
703
714
  return n("div", { staticStyle: { "text-align": "left" } }, [n("div", { staticClass: "flex items-center justify-between w-full", staticStyle: { "font-size": "16px", "padding-bottom": "1em", "font-weight": "500", color: "hsl(0, 0%, 11%)" } }, [n("div", [r._v(r._s(r._document.$t("answerModal.signature.component.subTitle")))]), n("div", { staticClass: "sign-toggle" }, [n("div", { staticClass: "sign-toggle-button", class: { active: r.mode === "text" }, on: { click: function(g) {
704
715
  r.mode = "text";
@@ -713,17 +724,17 @@ var Zt = function() {
713
724
  r.isEmpty = r.$refs.signaturePad ? r.$refs.signaturePad.isEmpty() : !0;
714
725
  }
715
726
  } } })], 1), n("div", { directives: [{ name: "show", rawName: "v-show", value: r.mode === "draw", expression: "mode === 'draw'" }], staticClass: "flex justify-end w-full" }, [n("CButton", { attrs: { disabled: r.isEmpty, type: "text", size: "small", pattern: "tertiary", circle: "", icon: "trash" }, on: { click: r.reset } }), n("CButton", { attrs: { disabled: r.isEmpty, type: "text", size: "small", pattern: "tertiary", circle: "", icon: "rotate-left" }, on: { click: r.undo } })], 1), n("div", { staticClass: "text-center", staticStyle: { "font-size": "12px", color: "hsl(0, 0%, 45%)", "padding-top": "10px" } }, [r._v(" " + r._s(r._document.$t("answerModal.signature.component.terms")) + " ")])], 1);
716
- }, te = [], ee = /* @__PURE__ */ ot(
717
- qt,
718
- Zt,
727
+ }, re = [], ne = /* @__PURE__ */ ot(
719
728
  te,
729
+ ee,
730
+ re,
720
731
  !1,
721
732
  null,
722
- "ea40c640",
733
+ "761718a0",
723
734
  null,
724
735
  null
725
736
  );
726
- const re = ee.exports;
737
+ const ie = ne.exports;
727
738
  /*!
728
739
  * vue-qrcode v1.0.2
729
740
  * https://fengyuanchen.github.io/vue-qrcode
@@ -736,10 +747,10 @@ const re = ee.exports;
736
747
  function pt() {
737
748
  throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs");
738
749
  }
739
- function ne(v, r) {
750
+ function ae(v, r) {
740
751
  return r = { exports: {} }, v(r, r.exports), r.exports;
741
752
  }
742
- var _t = ne(function(v, r) {
753
+ var _t = ae(function(v, r) {
743
754
  (function(n) {
744
755
  v.exports = n();
745
756
  })(function() {
@@ -758,8 +769,8 @@ var _t = ne(function(v, r) {
758
769
  }
759
770
  var x = l[s] = { exports: {} };
760
771
  g[s][0].call(x.exports, function(b) {
761
- var S = g[s][1][b];
762
- return d(S || b);
772
+ var A = g[s][1][b];
773
+ return d(A || b);
763
774
  }, x, x.exports, n, g, l, f);
764
775
  }
765
776
  return l[s].exports;
@@ -1379,11 +1390,11 @@ Make sure your charset is UTF-8`
1379
1390
  }, l.from = function(i) {
1380
1391
  return l.isValid(i) ? parseInt(i, 10) : void 0;
1381
1392
  }, l.getPenaltyN1 = function(i) {
1382
- for (var s = i.size, h = 0, a = 0, w = 0, x = null, b = null, S = 0; S < s; S++) {
1393
+ for (var s = i.size, h = 0, a = 0, w = 0, x = null, b = null, A = 0; A < s; A++) {
1383
1394
  a = w = 0, x = b = null;
1384
1395
  for (var F = 0; F < s; F++) {
1385
- var M = i.get(S, F);
1386
- M === x ? a++ : (a >= 5 && (h += f.N1 + (a - 5)), x = M, a = 1), M = i.get(F, S), M === b ? w++ : (w >= 5 && (h += f.N1 + (w - 5)), b = M, w = 1);
1396
+ var M = i.get(A, F);
1397
+ M === x ? a++ : (a >= 5 && (h += f.N1 + (a - 5)), x = M, a = 1), M = i.get(F, A), M === b ? w++ : (w >= 5 && (h += f.N1 + (w - 5)), b = M, w = 1);
1387
1398
  }
1388
1399
  a >= 5 && (h += f.N1 + (a - 5)), w >= 5 && (h += f.N1 + (w - 5));
1389
1400
  }
@@ -1543,7 +1554,7 @@ Make sure your charset is UTF-8`
1543
1554
  return s;
1544
1555
  };
1545
1556
  }, { "../utils/buffer": 28, "./galois-field": 11 }], 17: [function(n, g, l) {
1546
- var f = n("../utils/buffer"), d = n("./utils"), c = n("./error-correction-level"), i = n("./bit-buffer"), s = n("./bit-matrix"), h = n("./alignment-pattern"), a = n("./finder-pattern"), w = n("./mask-pattern"), x = n("./error-correction-code"), b = n("./reed-solomon-encoder"), S = n("./version"), F = n("./format-info"), M = n("./mode"), C = n("./segments"), T = n("isarray");
1557
+ var f = n("../utils/buffer"), d = n("./utils"), c = n("./error-correction-level"), i = n("./bit-buffer"), s = n("./bit-matrix"), h = n("./alignment-pattern"), a = n("./finder-pattern"), w = n("./mask-pattern"), x = n("./error-correction-code"), b = n("./reed-solomon-encoder"), A = n("./version"), F = n("./format-info"), M = n("./mode"), C = n("./segments"), T = n("isarray");
1547
1558
  function I(D, $) {
1548
1559
  for (var U = D.size, R = a.getPositions($), O = 0; O < R.length; O++)
1549
1560
  for (var z = R[O][0], N = R[O][1], Y = -1; Y <= 7; Y++)
@@ -1564,7 +1575,7 @@ Make sure your charset is UTF-8`
1564
1575
  N === -2 || N === 2 || Y === -2 || Y === 2 || N === 0 && Y === 0 ? D.set(O + N, z + Y, !0, !0) : D.set(O + N, z + Y, !1, !0);
1565
1576
  }
1566
1577
  function m(D, $) {
1567
- for (var U = D.size, R = S.getEncodedBits($), O, z, N, Y = 0; Y < 18; Y++)
1578
+ for (var U = D.size, R = A.getEncodedBits($), O, z, N, Y = 0; Y < 18; Y++)
1568
1579
  O = Math.floor(Y / 3), z = Y % 3 + U - 8 - 3, N = (R >> Y & 1) === 1, D.set(O, z, N, !0), D.set(z, O, N, !0);
1569
1580
  }
1570
1581
  function p(D, $, U) {
@@ -1587,7 +1598,7 @@ Make sure your charset is UTF-8`
1587
1598
  }
1588
1599
  }
1589
1600
  }
1590
- function A(D, $, U) {
1601
+ function S(D, $, U) {
1591
1602
  var R = new i();
1592
1603
  U.forEach(function(et) {
1593
1604
  R.put(et.mode.bit, 4), R.put(et.getLength(), M.getCharCountIndicator(et.mode, D)), et.write(R);
@@ -1621,7 +1632,7 @@ Make sure your charset is UTF-8`
1621
1632
  var z = $;
1622
1633
  if (!z) {
1623
1634
  var N = C.rawSplit(D);
1624
- z = S.getBestVersionForData(
1635
+ z = A.getBestVersionForData(
1625
1636
  N,
1626
1637
  U
1627
1638
  );
@@ -1629,7 +1640,7 @@ Make sure your charset is UTF-8`
1629
1640
  O = C.fromString(D, z || 40);
1630
1641
  } else
1631
1642
  throw new Error("Invalid data");
1632
- var Y = S.getBestVersionForData(
1643
+ var Y = A.getBestVersionForData(
1633
1644
  O,
1634
1645
  U
1635
1646
  );
@@ -1644,7 +1655,7 @@ The chosen QR Code version cannot contain this amount of data.
1644
1655
  Minimum version required to store current data is: ` + Y + `.
1645
1656
  `
1646
1657
  );
1647
- var j = A($, U, O), et = d.getSymbolSize($), X = new s(et);
1658
+ var j = S($, U, O), et = d.getSymbolSize($), X = new s(et);
1648
1659
  return I(X, $), k(X), _(X, $), p(X, U, 0), $ >= 7 && m(X, $), E(X, j), isNaN(R) && (R = w.getBestMask(
1649
1660
  X,
1650
1661
  p.bind(null, X, U)
@@ -1660,7 +1671,7 @@ Minimum version required to store current data is: ` + Y + `.
1660
1671
  if (typeof $ > "u" || $ === "")
1661
1672
  throw new Error("No input text");
1662
1673
  var R = c.M, O, z;
1663
- return typeof U < "u" && (R = c.from(U.errorCorrectionLevel, c.M), O = S.from(U.version), z = w.from(U.maskPattern), U.toSJISFunc && d.setToSJISFunction(U.toSJISFunc)), W($, O, R, z);
1674
+ return typeof U < "u" && (R = c.from(U.errorCorrectionLevel, c.M), O = A.from(U.version), z = w.from(U.maskPattern), U.toSJISFunc && d.setToSJISFunction(U.toSJISFunc)), W($, O, R, z);
1664
1675
  };
1665
1676
  }, { "../utils/buffer": 28, "./alignment-pattern": 2, "./bit-buffer": 4, "./bit-matrix": 5, "./error-correction-code": 7, "./error-correction-level": 8, "./finder-pattern": 9, "./format-info": 10, "./mask-pattern": 13, "./mode": 14, "./reed-solomon-encoder": 18, "./segments": 20, "./utils": 21, "./version": 23, isarray: 33 }], 18: [function(n, g, l) {
1666
1677
  var f = n("../utils/buffer"), d = n("./polynomial"), c = n("buffer").Buffer;
@@ -1674,8 +1685,8 @@ Minimum version required to store current data is: ` + Y + `.
1674
1685
  throw new Error("Encoder not initialized");
1675
1686
  var a = f.alloc(this.degree), w = c.concat([h, a], h.length + this.degree), x = d.mod(w, this.genPoly), b = this.degree - x.length;
1676
1687
  if (b > 0) {
1677
- var S = f.alloc(this.degree);
1678
- return x.copy(S, b), S;
1688
+ var A = f.alloc(this.degree);
1689
+ return x.copy(A, b), A;
1679
1690
  }
1680
1691
  return x;
1681
1692
  }, g.exports = i;
@@ -1708,11 +1719,11 @@ Minimum version required to store current data is: ` + Y + `.
1708
1719
  });
1709
1720
  return p;
1710
1721
  }
1711
- function S(k) {
1722
+ function A(k) {
1712
1723
  var _ = b(h.NUMERIC, f.NUMERIC, k), m = b(h.ALPHANUMERIC, f.ALPHANUMERIC, k), p, E;
1713
1724
  a.isKanjiModeEnabled() ? (p = b(h.BYTE, f.BYTE, k), E = b(h.KANJI, f.KANJI, k)) : (p = b(h.BYTE_KANJI, f.BYTE, k), E = []);
1714
- var A = _.concat(m, p, E);
1715
- return A.sort(function(L, W) {
1725
+ var S = _.concat(m, p, E);
1726
+ return S.sort(function(L, W) {
1716
1727
  return L.index - W.index;
1717
1728
  }).map(function(L) {
1718
1729
  return {
@@ -1772,9 +1783,9 @@ Minimum version required to store current data is: ` + Y + `.
1772
1783
  return _;
1773
1784
  }
1774
1785
  function T(k, _) {
1775
- for (var m = {}, p = { start: {} }, E = ["start"], A = 0; A < k.length; A++) {
1776
- for (var L = k[A], W = [], D = 0; D < L.length; D++) {
1777
- var $ = L[D], U = "" + A + D;
1786
+ for (var m = {}, p = { start: {} }, E = ["start"], S = 0; S < k.length; S++) {
1787
+ for (var L = k[S], W = [], D = 0; D < L.length; D++) {
1788
+ var $ = L[D], U = "" + S + D;
1778
1789
  W.push(U), m[U] = { node: $, lastCount: 0 }, p[U] = {};
1779
1790
  for (var R = 0; R < E.length; R++) {
1780
1791
  var O = E[R];
@@ -1808,12 +1819,12 @@ Minimum version required to store current data is: ` + Y + `.
1808
1819
  return typeof p == "string" ? m.push(I(p, null)) : p.data && m.push(I(p.data, p.mode)), m;
1809
1820
  }, []);
1810
1821
  }, l.fromString = function(_, m) {
1811
- for (var p = S(_, a.isKanjiModeEnabled()), E = C(p), A = T(E, m), L = w.find_path(A.map, "start", "end"), W = [], D = 1; D < L.length - 1; D++)
1812
- W.push(A.table[L[D]].node);
1822
+ for (var p = A(_, a.isKanjiModeEnabled()), E = C(p), S = T(E, m), L = w.find_path(S.map, "start", "end"), W = [], D = 1; D < L.length - 1; D++)
1823
+ W.push(S.table[L[D]].node);
1813
1824
  return l.fromArray(M(W));
1814
1825
  }, l.rawSplit = function(_) {
1815
1826
  return l.fromArray(
1816
- S(_, a.isKanjiModeEnabled())
1827
+ A(_, a.isKanjiModeEnabled())
1817
1828
  );
1818
1829
  };
1819
1830
  }, { "./alphanumeric-data": 3, "./byte-data": 6, "./kanji-data": 12, "./mode": 14, "./numeric-data": 15, "./regex": 19, "./utils": 21, dijkstrajs: 31 }], 21: [function(n, g, l) {
@@ -1896,7 +1907,7 @@ Minimum version required to store current data is: ` + Y + `.
1896
1907
  function b(M, C) {
1897
1908
  return i.getCharCountIndicator(M, C) + 4;
1898
1909
  }
1899
- function S(M, C) {
1910
+ function A(M, C) {
1900
1911
  var T = 0;
1901
1912
  return M.forEach(function(I) {
1902
1913
  var k = b(I.mode, C);
@@ -1905,7 +1916,7 @@ Minimum version required to store current data is: ` + Y + `.
1905
1916
  }
1906
1917
  function F(M, C) {
1907
1918
  for (var T = 1; T <= 40; T++) {
1908
- var I = S(M, T);
1919
+ var I = A(M, T);
1909
1920
  if (I <= l.getCapacity(T, C, i.MIXED))
1910
1921
  return T;
1911
1922
  }
@@ -1952,7 +1963,7 @@ Minimum version required to store current data is: ` + Y + `.
1952
1963
  }, { "./error-correction-code": 7, "./error-correction-level": 8, "./mode": 14, "./utils": 21, "./version-check": 22, isarray: 33 }], 24: [function(n, g, l) {
1953
1964
  var f = n("./can-promise"), d = n("./core/qrcode"), c = n("./renderer/canvas"), i = n("./renderer/svg-tag.js");
1954
1965
  function s(h, a, w, x, b) {
1955
- var S = [].slice.call(arguments, 1), F = S.length, M = typeof S[F - 1] == "function";
1966
+ var A = [].slice.call(arguments, 1), F = A.length, M = typeof A[F - 1] == "function";
1956
1967
  if (!M && !f())
1957
1968
  throw new Error("Callback required as last argument");
1958
1969
  if (M) {
@@ -1996,13 +2007,13 @@ Minimum version required to store current data is: ` + Y + `.
1996
2007
  l.render = function(s, h, a) {
1997
2008
  var w = a, x = h;
1998
2009
  typeof w > "u" && (!h || !h.getContext) && (w = h, h = void 0), h || (x = c()), w = f.getOptions(w);
1999
- var b = f.getImageWidth(s.modules.size, w), S = x.getContext("2d"), F = S.createImageData(b, b);
2000
- return f.qrToImageData(F.data, s, w), d(S, x, b), S.putImageData(F, 0, 0), x;
2010
+ var b = f.getImageWidth(s.modules.size, w), A = x.getContext("2d"), F = A.createImageData(b, b);
2011
+ return f.qrToImageData(F.data, s, w), d(A, x, b), A.putImageData(F, 0, 0), x;
2001
2012
  }, l.renderToDataURL = function(s, h, a) {
2002
2013
  var w = a;
2003
2014
  typeof w > "u" && (!h || !h.getContext) && (w = h, h = void 0), w || (w = {});
2004
- var x = l.render(s, h, w), b = w.type || "image/png", S = w.rendererOpts || {};
2005
- return x.toDataURL(b, S.quality);
2015
+ var x = l.render(s, h, w), b = w.type || "image/png", A = w.rendererOpts || {};
2016
+ return x.toDataURL(b, A.quality);
2006
2017
  };
2007
2018
  }, { "./utils": 27 }], 26: [function(n, g, l) {
2008
2019
  var f = n("./utils");
@@ -2015,14 +2026,14 @@ Minimum version required to store current data is: ` + Y + `.
2015
2026
  return typeof a < "u" && (w += " " + a), w;
2016
2027
  }
2017
2028
  function i(s, h, a) {
2018
- for (var w = "", x = 0, b = !1, S = 0, F = 0; F < s.length; F++) {
2029
+ for (var w = "", x = 0, b = !1, A = 0, F = 0; F < s.length; F++) {
2019
2030
  var M = Math.floor(F % h), C = Math.floor(F / h);
2020
- !M && !b && (b = !0), s[F] ? (S++, F > 0 && M > 0 && s[F - 1] || (w += b ? c("M", M + a, 0.5 + C + a) : c("m", x, 0), x = 0, b = !1), M + 1 < h && s[F + 1] || (w += c("h", S), S = 0)) : x++;
2031
+ !M && !b && (b = !0), s[F] ? (A++, F > 0 && M > 0 && s[F - 1] || (w += b ? c("M", M + a, 0.5 + C + a) : c("m", x, 0), x = 0, b = !1), M + 1 < h && s[F + 1] || (w += c("h", A), A = 0)) : x++;
2021
2032
  }
2022
2033
  return w;
2023
2034
  }
2024
2035
  l.render = function(h, a, w) {
2025
- var x = f.getOptions(a), b = h.modules.size, S = h.modules.data, F = b + x.margin * 2, M = x.color.light.a ? "<path " + d(x.color.light, "fill") + ' d="M0 0h' + F + "v" + F + 'H0z"/>' : "", C = "<path " + d(x.color.dark, "stroke") + ' d="' + i(S, b, x.margin) + '"/>', T = 'viewBox="0 0 ' + F + " " + F + '"', I = x.width ? 'width="' + x.width + '" height="' + x.width + '" ' : "", k = '<svg xmlns="http://www.w3.org/2000/svg" ' + I + T + ' shape-rendering="crispEdges">' + M + C + `</svg>
2036
+ var x = f.getOptions(a), b = h.modules.size, A = h.modules.data, F = b + x.margin * 2, M = x.color.light.a ? "<path " + d(x.color.light, "fill") + ' d="M0 0h' + F + "v" + F + 'H0z"/>' : "", C = "<path " + d(x.color.dark, "stroke") + ' d="' + i(A, b, x.margin) + '"/>', T = 'viewBox="0 0 ' + F + " " + F + '"', I = x.width ? 'width="' + x.width + '" height="' + x.width + '" ' : "", k = '<svg xmlns="http://www.w3.org/2000/svg" ' + I + T + ' shape-rendering="crispEdges">' + M + C + `</svg>
2026
2037
  `;
2027
2038
  return typeof w == "function" && w(null, k), k;
2028
2039
  };
@@ -2065,12 +2076,12 @@ Minimum version required to store current data is: ` + Y + `.
2065
2076
  var s = l.getScale(c, i);
2066
2077
  return Math.floor((c + i.margin * 2) * s);
2067
2078
  }, l.qrToImageData = function(c, i, s) {
2068
- for (var h = i.modules.size, a = i.modules.data, w = l.getScale(h, s), x = Math.floor((h + s.margin * 2) * w), b = s.margin * w, S = [s.color.light, s.color.dark], F = 0; F < x; F++)
2079
+ for (var h = i.modules.size, a = i.modules.data, w = l.getScale(h, s), x = Math.floor((h + s.margin * 2) * w), b = s.margin * w, A = [s.color.light, s.color.dark], F = 0; F < x; F++)
2069
2080
  for (var M = 0; M < x; M++) {
2070
2081
  var C = (F * x + M) * 4, T = s.color.light;
2071
2082
  if (F >= b && M >= b && F < x - b && M < x - b) {
2072
2083
  var I = Math.floor((F - b) / w), k = Math.floor((M - b) / w);
2073
- T = S[a[I * h + k] ? 1 : 0];
2084
+ T = A[a[I * h + k] ? 1 : 0];
2074
2085
  }
2075
2086
  c[C++] = T.r, c[C++] = T.g, c[C++] = T.b, c[C] = T.a;
2076
2087
  }
@@ -2118,21 +2129,21 @@ Minimum version required to store current data is: ` + Y + `.
2118
2129
  return p;
2119
2130
  }
2120
2131
  function x(_, m) {
2121
- var p = C(m) | 0, E = a(_, p), A = E.write(m);
2122
- return A !== p && (E = E.slice(0, A)), E;
2132
+ var p = C(m) | 0, E = a(_, p), S = E.write(m);
2133
+ return S !== p && (E = E.slice(0, S)), E;
2123
2134
  }
2124
2135
  function b(_, m) {
2125
- for (var p = m.length < 0 ? 0 : s(m.length) | 0, E = a(_, p), A = 0; A < p; A += 1)
2126
- E[A] = m[A] & 255;
2136
+ for (var p = m.length < 0 ? 0 : s(m.length) | 0, E = a(_, p), S = 0; S < p; S += 1)
2137
+ E[S] = m[S] & 255;
2127
2138
  return E;
2128
2139
  }
2129
- function S(_, m, p, E) {
2140
+ function A(_, m, p, E) {
2130
2141
  if (p < 0 || m.byteLength < p)
2131
2142
  throw new RangeError("'offset' is out of bounds");
2132
2143
  if (m.byteLength < p + (E || 0))
2133
2144
  throw new RangeError("'length' is out of bounds");
2134
- var A;
2135
- return p === void 0 && E === void 0 ? A = new Uint8Array(m) : E === void 0 ? A = new Uint8Array(m, p) : A = new Uint8Array(m, p, E), i.TYPED_ARRAY_SUPPORT ? A.__proto__ = i.prototype : A = b(_, A), A;
2145
+ var S;
2146
+ return p === void 0 && E === void 0 ? S = new Uint8Array(m) : E === void 0 ? S = new Uint8Array(m, p) : S = new Uint8Array(m, p, E), i.TYPED_ARRAY_SUPPORT ? S.__proto__ = i.prototype : S = b(_, S), S;
2136
2147
  }
2137
2148
  function F(_, m) {
2138
2149
  if (i.isBuffer(m)) {
@@ -2149,9 +2160,9 @@ Minimum version required to store current data is: ` + Y + `.
2149
2160
  }
2150
2161
  function M(_, m) {
2151
2162
  m = m || 1 / 0;
2152
- for (var p, E = _.length, A = null, L = [], W = 0; W < E; ++W) {
2163
+ for (var p, E = _.length, S = null, L = [], W = 0; W < E; ++W) {
2153
2164
  if (p = _.charCodeAt(W), p > 55295 && p < 57344) {
2154
- if (!A) {
2165
+ if (!S) {
2155
2166
  if (p > 56319) {
2156
2167
  (m -= 3) > -1 && L.push(239, 191, 189);
2157
2168
  continue;
@@ -2159,17 +2170,17 @@ Minimum version required to store current data is: ` + Y + `.
2159
2170
  (m -= 3) > -1 && L.push(239, 191, 189);
2160
2171
  continue;
2161
2172
  }
2162
- A = p;
2173
+ S = p;
2163
2174
  continue;
2164
2175
  }
2165
2176
  if (p < 56320) {
2166
- (m -= 3) > -1 && L.push(239, 191, 189), A = p;
2177
+ (m -= 3) > -1 && L.push(239, 191, 189), S = p;
2167
2178
  continue;
2168
2179
  }
2169
- p = (A - 55296 << 10 | p - 56320) + 65536;
2180
+ p = (S - 55296 << 10 | p - 56320) + 65536;
2170
2181
  } else
2171
- A && (m -= 3) > -1 && L.push(239, 191, 189);
2172
- if (A = null, p < 128) {
2182
+ S && (m -= 3) > -1 && L.push(239, 191, 189);
2183
+ if (S = null, p < 128) {
2173
2184
  if ((m -= 1) < 0)
2174
2185
  break;
2175
2186
  L.push(p);
@@ -2212,9 +2223,9 @@ Minimum version required to store current data is: ` + Y + `.
2212
2223
  return m === 0 ? 0 : M(_).length;
2213
2224
  }
2214
2225
  function T(_, m, p, E) {
2215
- for (var A = 0; A < E && !(A + p >= m.length || A >= _.length); ++A)
2216
- m[A + p] = _[A];
2217
- return A;
2226
+ for (var S = 0; S < E && !(S + p >= m.length || S >= _.length); ++S)
2227
+ m[S + p] = _[S];
2228
+ return S;
2218
2229
  }
2219
2230
  function I(_, m, p, E) {
2220
2231
  return T(M(m, _.length - p), _, p, E);
@@ -2222,39 +2233,39 @@ Minimum version required to store current data is: ` + Y + `.
2222
2233
  function k(_, m, p, E) {
2223
2234
  if (typeof m == "number")
2224
2235
  throw new TypeError('"value" argument must not be a number');
2225
- return typeof ArrayBuffer < "u" && m instanceof ArrayBuffer ? S(_, m, p, E) : typeof m == "string" ? x(_, m) : F(_, m);
2236
+ return typeof ArrayBuffer < "u" && m instanceof ArrayBuffer ? A(_, m, p, E) : typeof m == "string" ? x(_, m) : F(_, m);
2226
2237
  }
2227
2238
  i.prototype.write = function(m, p, E) {
2228
2239
  p === void 0 ? (E = this.length, p = 0) : E === void 0 && typeof p == "string" ? (E = this.length, p = 0) : isFinite(p) && (p = p | 0, isFinite(E) ? E = E | 0 : E = void 0);
2229
- var A = this.length - p;
2230
- if ((E === void 0 || E > A) && (E = A), m.length > 0 && (E < 0 || p < 0) || p > this.length)
2240
+ var S = this.length - p;
2241
+ if ((E === void 0 || E > S) && (E = S), m.length > 0 && (E < 0 || p < 0) || p > this.length)
2231
2242
  throw new RangeError("Attempt to write outside buffer bounds");
2232
2243
  return I(this, m, p, E);
2233
2244
  }, i.prototype.slice = function(m, p) {
2234
2245
  var E = this.length;
2235
2246
  m = ~~m, p = p === void 0 ? E : ~~p, m < 0 ? (m += E, m < 0 && (m = 0)) : m > E && (m = E), p < 0 ? (p += E, p < 0 && (p = 0)) : p > E && (p = E), p < m && (p = m);
2236
- var A;
2247
+ var S;
2237
2248
  if (i.TYPED_ARRAY_SUPPORT)
2238
- A = this.subarray(m, p), A.__proto__ = i.prototype;
2249
+ S = this.subarray(m, p), S.__proto__ = i.prototype;
2239
2250
  else {
2240
2251
  var L = p - m;
2241
- A = new i(L, void 0);
2252
+ S = new i(L, void 0);
2242
2253
  for (var W = 0; W < L; ++W)
2243
- A[W] = this[W + m];
2254
+ S[W] = this[W + m];
2244
2255
  }
2245
- return A;
2246
- }, i.prototype.copy = function(m, p, E, A) {
2247
- if (E || (E = 0), !A && A !== 0 && (A = this.length), p >= m.length && (p = m.length), p || (p = 0), A > 0 && A < E && (A = E), A === E || m.length === 0 || this.length === 0)
2256
+ return S;
2257
+ }, i.prototype.copy = function(m, p, E, S) {
2258
+ if (E || (E = 0), !S && S !== 0 && (S = this.length), p >= m.length && (p = m.length), p || (p = 0), S > 0 && S < E && (S = E), S === E || m.length === 0 || this.length === 0)
2248
2259
  return 0;
2249
2260
  if (p < 0)
2250
2261
  throw new RangeError("targetStart out of bounds");
2251
2262
  if (E < 0 || E >= this.length)
2252
2263
  throw new RangeError("sourceStart out of bounds");
2253
- if (A < 0)
2264
+ if (S < 0)
2254
2265
  throw new RangeError("sourceEnd out of bounds");
2255
- A > this.length && (A = this.length), m.length - p < A - E && (A = m.length - p + E);
2256
- var L = A - E, W;
2257
- if (this === m && E < p && p < A)
2266
+ S > this.length && (S = this.length), m.length - p < S - E && (S = m.length - p + E);
2267
+ var L = S - E, W;
2268
+ if (this === m && E < p && p < S)
2258
2269
  for (W = L - 1; W >= 0; --W)
2259
2270
  m[W + p] = this[W + E];
2260
2271
  else if (L < 1e3 || !i.TYPED_ARRAY_SUPPORT)
@@ -2270,8 +2281,8 @@ Minimum version required to store current data is: ` + Y + `.
2270
2281
  }, i.prototype.fill = function(m, p, E) {
2271
2282
  if (typeof m == "string") {
2272
2283
  if (typeof p == "string" ? (p = 0, E = this.length) : typeof E == "string" && (E = this.length), m.length === 1) {
2273
- var A = m.charCodeAt(0);
2274
- A < 256 && (m = A);
2284
+ var S = m.charCodeAt(0);
2285
+ S < 256 && (m = S);
2275
2286
  }
2276
2287
  } else
2277
2288
  typeof m == "number" && (m = m & 255);
@@ -2299,14 +2310,14 @@ Minimum version required to store current data is: ` + Y + `.
2299
2310
  if (p === void 0)
2300
2311
  for (p = 0, E = 0; E < m.length; ++E)
2301
2312
  p += m[E].length;
2302
- var A = w(null, p), L = 0;
2313
+ var S = w(null, p), L = 0;
2303
2314
  for (E = 0; E < m.length; ++E) {
2304
2315
  var W = m[E];
2305
2316
  if (!i.isBuffer(W))
2306
2317
  throw new TypeError('"list" argument must be an Array of Buffers');
2307
- W.copy(A, L), L += W.length;
2318
+ W.copy(S, L), L += W.length;
2308
2319
  }
2309
- return A;
2320
+ return S;
2310
2321
  }, i.byteLength = C, i.prototype._isBuffer = !0, i.isBuffer = function(m) {
2311
2322
  return !!(m != null && m._isBuffer);
2312
2323
  }, g.exports.alloc = function(_) {
@@ -2337,17 +2348,17 @@ Minimum version required to store current data is: ` + Y + `.
2337
2348
  return (T + I) * 3 / 4 - I;
2338
2349
  }
2339
2350
  function b(C) {
2340
- var T, I = a(C), k = I[0], _ = I[1], m = new c(x(C, k, _)), p = 0, E = _ > 0 ? k - 4 : k, A;
2341
- for (A = 0; A < E; A += 4)
2342
- T = d[C.charCodeAt(A)] << 18 | d[C.charCodeAt(A + 1)] << 12 | d[C.charCodeAt(A + 2)] << 6 | d[C.charCodeAt(A + 3)], m[p++] = T >> 16 & 255, m[p++] = T >> 8 & 255, m[p++] = T & 255;
2343
- return _ === 2 && (T = d[C.charCodeAt(A)] << 2 | d[C.charCodeAt(A + 1)] >> 4, m[p++] = T & 255), _ === 1 && (T = d[C.charCodeAt(A)] << 10 | d[C.charCodeAt(A + 1)] << 4 | d[C.charCodeAt(A + 2)] >> 2, m[p++] = T >> 8 & 255, m[p++] = T & 255), m;
2351
+ var T, I = a(C), k = I[0], _ = I[1], m = new c(x(C, k, _)), p = 0, E = _ > 0 ? k - 4 : k, S;
2352
+ for (S = 0; S < E; S += 4)
2353
+ T = d[C.charCodeAt(S)] << 18 | d[C.charCodeAt(S + 1)] << 12 | d[C.charCodeAt(S + 2)] << 6 | d[C.charCodeAt(S + 3)], m[p++] = T >> 16 & 255, m[p++] = T >> 8 & 255, m[p++] = T & 255;
2354
+ return _ === 2 && (T = d[C.charCodeAt(S)] << 2 | d[C.charCodeAt(S + 1)] >> 4, m[p++] = T & 255), _ === 1 && (T = d[C.charCodeAt(S)] << 10 | d[C.charCodeAt(S + 1)] << 4 | d[C.charCodeAt(S + 2)] >> 2, m[p++] = T >> 8 & 255, m[p++] = T & 255), m;
2344
2355
  }
2345
- function S(C) {
2356
+ function A(C) {
2346
2357
  return f[C >> 18 & 63] + f[C >> 12 & 63] + f[C >> 6 & 63] + f[C & 63];
2347
2358
  }
2348
2359
  function F(C, T, I) {
2349
2360
  for (var k, _ = [], m = T; m < I; m += 3)
2350
- k = (C[m] << 16 & 16711680) + (C[m + 1] << 8 & 65280) + (C[m + 2] & 255), _.push(S(k));
2361
+ k = (C[m] << 16 & 16711680) + (C[m + 1] << 8 & 65280) + (C[m + 2] & 255), _.push(A(k));
2351
2362
  return _.join("");
2352
2363
  }
2353
2364
  function M(C) {
@@ -2405,7 +2416,7 @@ Minimum version required to store current data is: ` + Y + `.
2405
2416
  throw new TypeError(
2406
2417
  'The "string" argument must be of type string. Received type number'
2407
2418
  );
2408
- return S(o);
2419
+ return A(o);
2409
2420
  }
2410
2421
  return w(o, t, e);
2411
2422
  }
@@ -2461,13 +2472,13 @@ Minimum version required to store current data is: ` + Y + `.
2461
2472
  a.alloc = function(o, t, e) {
2462
2473
  return b(o, t, e);
2463
2474
  };
2464
- function S(o) {
2475
+ function A(o) {
2465
2476
  return x(o), h(o < 0 ? 0 : I(o) | 0);
2466
2477
  }
2467
2478
  a.allocUnsafe = function(o) {
2468
- return S(o);
2479
+ return A(o);
2469
2480
  }, a.allocUnsafeSlow = function(o) {
2470
- return S(o);
2481
+ return A(o);
2471
2482
  };
2472
2483
  function F(o, t) {
2473
2484
  if ((typeof t != "string" || t === "") && (t = "utf8"), !a.isEncoding(t))
@@ -2693,12 +2704,12 @@ Minimum version required to store current data is: ` + Y + `.
2693
2704
  else
2694
2705
  return -1;
2695
2706
  if (typeof t == "string" && (t = a.from(t, u)), a.isBuffer(t))
2696
- return t.length === 0 ? -1 : A(o, t, e, u, y);
2707
+ return t.length === 0 ? -1 : S(o, t, e, u, y);
2697
2708
  if (typeof t == "number")
2698
- return t = t & 255, typeof Uint8Array.prototype.indexOf == "function" ? y ? Uint8Array.prototype.indexOf.call(o, t, e) : Uint8Array.prototype.lastIndexOf.call(o, t, e) : A(o, [t], e, u, y);
2709
+ return t = t & 255, typeof Uint8Array.prototype.indexOf == "function" ? y ? Uint8Array.prototype.indexOf.call(o, t, e) : Uint8Array.prototype.lastIndexOf.call(o, t, e) : S(o, [t], e, u, y);
2699
2710
  throw new TypeError("val must be string, number or Buffer");
2700
2711
  }
2701
- function A(o, t, e, u, y) {
2712
+ function S(o, t, e, u, y) {
2702
2713
  var P = 1, B = o.length, H = t.length;
2703
2714
  if (u !== void 0 && (u = String(u).toLowerCase(), u === "ucs2" || u === "ucs-2" || u === "utf16le" || u === "utf-16le")) {
2704
2715
  if (o.length < 2 || t.length < 2)
@@ -2867,7 +2878,7 @@ Minimum version required to store current data is: ` + Y + `.
2867
2878
  var u = o.length;
2868
2879
  (!t || t < 0) && (t = 0), (!e || e < 0 || e > u) && (e = u);
2869
2880
  for (var y = "", P = t; P < e; ++P)
2870
- y += At[o[P]];
2881
+ y += St[o[P]];
2871
2882
  return y;
2872
2883
  }
2873
2884
  function vt(o, t, e) {
@@ -3168,7 +3179,7 @@ Minimum version required to store current data is: ` + Y + `.
3168
3179
  function wt(o) {
3169
3180
  return o !== o;
3170
3181
  }
3171
- var At = function() {
3182
+ var St = function() {
3172
3183
  for (var o = "0123456789abcdef", t = new Array(256), e = 0; e < 16; ++e)
3173
3184
  for (var u = e * 16, y = 0; y < 16; ++y)
3174
3185
  t[u + y] = o[e] + o[y];
@@ -3181,10 +3192,10 @@ Minimum version required to store current data is: ` + Y + `.
3181
3192
  h[c] = 0;
3182
3193
  var a = f.PriorityQueue.make();
3183
3194
  a.push(c, 0);
3184
- for (var w, x, b, S, F, M, C, T, I; !a.empty(); ) {
3185
- w = a.pop(), x = w.value, S = w.cost, F = d[x] || {};
3195
+ for (var w, x, b, A, F, M, C, T, I; !a.empty(); ) {
3196
+ w = a.pop(), x = w.value, A = w.cost, F = d[x] || {};
3186
3197
  for (b in F)
3187
- F.hasOwnProperty(b) && (M = F[b], C = S + M, T = h[b], I = typeof h[b] > "u", (I || T > C) && (h[b] = C, a.push(b, C), s[b] = x));
3198
+ F.hasOwnProperty(b) && (M = F[b], C = A + M, T = h[b], I = typeof h[b] > "u", (I || T > C) && (h[b] = C, a.push(b, C), s[b] = x));
3188
3199
  }
3189
3200
  if (typeof i < "u" && typeof h[i] > "u") {
3190
3201
  var k = ["Could not find a path from ", c, " to ", i, "."].join("");
@@ -3240,10 +3251,10 @@ Minimum version required to store current data is: ` + Y + `.
3240
3251
  typeof g < "u" && (g.exports = f);
3241
3252
  }, {}], 32: [function(n, g, l) {
3242
3253
  l.read = function(f, d, c, i, s) {
3243
- var h, a, w = s * 8 - i - 1, x = (1 << w) - 1, b = x >> 1, S = -7, F = c ? s - 1 : 0, M = c ? -1 : 1, C = f[d + F];
3244
- for (F += M, h = C & (1 << -S) - 1, C >>= -S, S += w; S > 0; h = h * 256 + f[d + F], F += M, S -= 8)
3254
+ var h, a, w = s * 8 - i - 1, x = (1 << w) - 1, b = x >> 1, A = -7, F = c ? s - 1 : 0, M = c ? -1 : 1, C = f[d + F];
3255
+ for (F += M, h = C & (1 << -A) - 1, C >>= -A, A += w; A > 0; h = h * 256 + f[d + F], F += M, A -= 8)
3245
3256
  ;
3246
- for (a = h & (1 << -S) - 1, h >>= -S, S += i; S > 0; a = a * 256 + f[d + F], F += M, S -= 8)
3257
+ for (a = h & (1 << -A) - 1, h >>= -A, A += i; A > 0; a = a * 256 + f[d + F], F += M, A -= 8)
3247
3258
  ;
3248
3259
  if (h === 0)
3249
3260
  h = 1 - b;
@@ -3254,8 +3265,8 @@ Minimum version required to store current data is: ` + Y + `.
3254
3265
  }
3255
3266
  return (C ? -1 : 1) * a * Math.pow(2, h - i);
3256
3267
  }, l.write = function(f, d, c, i, s, h) {
3257
- var a, w, x, b = h * 8 - s - 1, S = (1 << b) - 1, F = S >> 1, M = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, C = i ? 0 : h - 1, T = i ? 1 : -1, I = d < 0 || d === 0 && 1 / d < 0 ? 1 : 0;
3258
- for (d = Math.abs(d), isNaN(d) || d === 1 / 0 ? (w = isNaN(d) ? 1 : 0, a = S) : (a = Math.floor(Math.log(d) / Math.LN2), d * (x = Math.pow(2, -a)) < 1 && (a--, x *= 2), a + F >= 1 ? d += M / x : d += M * Math.pow(2, 1 - F), d * x >= 2 && (a++, x /= 2), a + F >= S ? (w = 0, a = S) : a + F >= 1 ? (w = (d * x - 1) * Math.pow(2, s), a = a + F) : (w = d * Math.pow(2, F - 1) * Math.pow(2, s), a = 0)); s >= 8; f[c + C] = w & 255, C += T, w /= 256, s -= 8)
3268
+ var a, w, x, b = h * 8 - s - 1, A = (1 << b) - 1, F = A >> 1, M = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, C = i ? 0 : h - 1, T = i ? 1 : -1, I = d < 0 || d === 0 && 1 / d < 0 ? 1 : 0;
3269
+ for (d = Math.abs(d), isNaN(d) || d === 1 / 0 ? (w = isNaN(d) ? 1 : 0, a = A) : (a = Math.floor(Math.log(d) / Math.LN2), d * (x = Math.pow(2, -a)) < 1 && (a--, x *= 2), a + F >= 1 ? d += M / x : d += M * Math.pow(2, 1 - F), d * x >= 2 && (a++, x /= 2), a + F >= A ? (w = 0, a = A) : a + F >= 1 ? (w = (d * x - 1) * Math.pow(2, s), a = a + F) : (w = d * Math.pow(2, F - 1) * Math.pow(2, s), a = 0)); s >= 8; f[c + C] = w & 255, C += T, w /= 256, s -= 8)
3259
3270
  ;
3260
3271
  for (a = a << s | w, b += s; b > 0; f[c + C] = a & 255, C += T, a /= 256, b -= 8)
3261
3272
  ;
@@ -3268,7 +3279,7 @@ Minimum version required to store current data is: ` + Y + `.
3268
3279
  };
3269
3280
  }, {}] }, {}, [24])(24);
3270
3281
  });
3271
- }), ie = {
3282
+ }), oe = {
3272
3283
  name: "qrcode",
3273
3284
  props: {
3274
3285
  /**
@@ -3327,16 +3338,16 @@ Minimum version required to store current data is: ` + Y + `.
3327
3338
  this.generate();
3328
3339
  }
3329
3340
  };
3330
- function ae(v) {
3341
+ function se(v) {
3331
3342
  window.history.replaceState({}, "", window.location.href);
3332
3343
  let r = "";
3333
3344
  const n = (navigator == null ? void 0 : navigator.userAgent) || "";
3334
3345
  return n.match("CriOS") ? r = "googlechromes://" : n.match("FxiOS") ? r = "firefox://" : n.match("GSA") && (r = "googleapp://open-url?url="), r + encodeURIComponent(`${window.location.href}#${v}`);
3335
3346
  }
3336
- const oe = {
3347
+ const ue = {
3337
3348
  name: "BankIdAnswer",
3338
3349
  components: {
3339
- QrCode: ie
3350
+ QrCode: oe
3340
3351
  },
3341
3352
  mixins: [dt([])],
3342
3353
  props: {
@@ -3477,14 +3488,14 @@ const oe = {
3477
3488
  let v = "bankid://", r = "null";
3478
3489
  if (this.isMobile) {
3479
3490
  const g = It(), l = (navigator == null ? void 0 : navigator.userAgent) || (navigator == null ? void 0 : navigator.vendor) || (window == null ? void 0 : window.opera), f = g === "iOS" && (/Version\/[\d\.]+.*Safari/.test(l) || /GSA/.test(l)), d = g === "Android" && /Version\/[\d\.]+.*Chrome/.test(l);
3480
- (f || d) && (v = "https://app.bankid.com"), g === "iOS" && (r = ae(this.signAnswerId));
3491
+ (f || d) && (v = "https://app.bankid.com"), g === "iOS" && this.$view !== "widget" && (r = se(this.signAnswerId));
3481
3492
  }
3482
3493
  const n = `${v}/?autostarttoken=${this.autoStartToken}&redirect=${r}`;
3483
3494
  this.isMobile ? document.location = n : document.getElementById("autoStartFrame").src = n;
3484
3495
  }
3485
3496
  }
3486
3497
  };
3487
- var se = function() {
3498
+ var ce = function() {
3488
3499
  var g;
3489
3500
  var r = this, n = r._self._c;
3490
3501
  return n("div", { staticClass: "flex flex-col items-center -my-4" }, [n("iframe", { staticClass: "hidden", attrs: { id: "autoStartFrame", height: "0", width: "0" } }), ["form", "signing", "error", "canceled"].includes(r.view) ? n("div", { staticClass: "w-[250px] h-[250px] bg-gray-100 rounded-xl flex justify-center items-center" }, [n("BaseIcon", { staticClass: "text-gray-500", attrs: { type: "bankId", size: "50" } })], 1) : r._e(), ["new", "waiting"].includes(r.view) ? [r.qrCode ? n("QrCode", { attrs: { value: r.qrCode, options: {
@@ -3496,18 +3507,18 @@ var se = function() {
3496
3507
  } } }, [n("div", { staticClass: "flex flex-col items-center justify-center", staticStyle: { "background-color": "#183e4f", padding: "calc(2.5 * var(--rem)) calc(3 * var(--rem)) calc(2 * var(--rem))" } }, [n("BaseIcon", { staticClass: "text-white", attrs: { type: "bankId", size: "34" } }), n("div", { staticClass: "pt-4 text-sm font-medium text-white opacity-75", domProps: { textContent: r._s(r.viewText[r.view].text) } })], 1), n("div", { staticClass: "flex flex-col items-center justify-center w-full text-center", staticStyle: { padding: "calc(3 * var(--rem)) calc(2 * var(--rem)) calc(2 * var(--rem))" } }, [r.view === "signing" ? [n("div", { staticClass: "spinner" }), n("div", { staticClass: "pt-8 text-gray-500", domProps: { textContent: r._s(r.viewText[r.view].spinnerText) } })] : ["error", "canceled"].includes(r.view) ? [n("BaseIcon", { staticClass: "mb-2.5 text-gray-400", attrs: { type: "error", size: "22" } }), n("div", { staticStyle: { "font-size": "14px" }, domProps: { textContent: r._s(r.errorMessage) } }), n("CButton", { staticStyle: { "margin-top": "calc(2.5 * var(--rem))", padding: "1em", height: "initial" }, attrs: { loading: r.isLoading, type: "none", pattern: "secondary", size: "small" }, on: { click: function(l) {
3497
3508
  r.view = "form";
3498
3509
  } } }, [r._v(" " + r._s(r._document.$t("tryAgain")) + " ")])] : r._e()], 2)])])], 1)], 2);
3499
- }, ue = [], ce = /* @__PURE__ */ ot(
3500
- oe,
3501
- se,
3510
+ }, le = [], he = /* @__PURE__ */ ot(
3502
3511
  ue,
3512
+ ce,
3513
+ le,
3503
3514
  !1,
3504
3515
  null,
3505
- "96231edf",
3516
+ "cdf6b1df",
3506
3517
  null,
3507
3518
  null
3508
3519
  );
3509
- const le = ce.exports;
3510
- const he = {
3520
+ const fe = he.exports;
3521
+ const de = {
3511
3522
  name: "DenyAnswer",
3512
3523
  props: {
3513
3524
  demo: {
@@ -3533,28 +3544,28 @@ const he = {
3533
3544
  }
3534
3545
  }
3535
3546
  };
3536
- var fe = function() {
3547
+ var ge = function() {
3537
3548
  var r = this, n = r._self._c;
3538
3549
  return n("CInput", { staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: { placeholder: r._document.$t("answerModal.decline.component.inputPlaceholder"), type: "textarea", filled: "", "custom-class": "decline-input" }, model: { value: r.rejectReason, callback: function(g) {
3539
3550
  r.rejectReason = g;
3540
3551
  }, expression: "rejectReason" } });
3541
- }, de = [], ge = /* @__PURE__ */ ot(
3542
- he,
3543
- fe,
3552
+ }, pe = [], me = /* @__PURE__ */ ot(
3544
3553
  de,
3554
+ ge,
3555
+ pe,
3545
3556
  !1,
3546
3557
  null,
3547
3558
  null,
3548
3559
  null,
3549
3560
  null
3550
3561
  );
3551
- const pe = ge.exports;
3552
- const me = {
3562
+ const ve = me.exports;
3563
+ const ye = {
3553
3564
  components: {
3554
3565
  Feedback: Yt,
3555
- Signature: re,
3556
- BankId: le,
3557
- Deny: pe
3566
+ Signature: ie,
3567
+ BankId: fe,
3568
+ Deny: ve
3558
3569
  },
3559
3570
  mixins: [dt([])],
3560
3571
  i18nOptions: {
@@ -3700,7 +3711,7 @@ const me = {
3700
3711
  }
3701
3712
  }
3702
3713
  };
3703
- var ve = function() {
3714
+ var we = function() {
3704
3715
  var g;
3705
3716
  var r = this, n = r._self._c;
3706
3717
  return n("transition-group", { staticClass: "a-root font-inter", attrs: { tag: "div", css: !1, mode: "out-in" }, on: { enter: r.enterAnim, leave: r.leaveAnim } }, [n("portal", { key: "previewChip", attrs: { to: "modal" } }, [n("transition", { attrs: { name: "fade-in", appear: "" } }, [r.isDemo ? n("div", { staticClass: "preview-chip" }, [n("span", { domProps: { textContent: r._s(r.$t("previewMode")) } })]) : r._e()])], 1), n("CButton", { key: "btn", staticStyle: { position: "absolute", right: "20px", top: "20px", "z-index": "9", color: "hsl(0, 0%, 45%)" }, attrs: { icon: "x", circle: "" }, on: { click: function(l) {
@@ -3712,17 +3723,17 @@ var ve = function() {
3712
3723
  }, complete: r.onComplete } }), n("div", { staticClass: "stagger-anim", staticStyle: { "padding-top": "3em" } }, [n("CButton", { staticClass: "a-btn", attrs: { loading: r.isPosting, disabled: r.actionInvalid, type: r.mode === "decline" ? "none" : "secondary", icon: r.answerType === "bankId" ? "bankId" : "" }, on: { click: r.onSubmit } }, [r._v(" " + r._s(r._document.$t(`answerModal.${r.answerType}.start.action`)) + " ")])], 1)], 1) : r.page === "intermediate" ? n("div", { key: "intermediate", staticClass: "flex flex-col items-center justify-center flex-grow w-full text-center", staticStyle: { height: "100%" } }, [n("div", { staticClass: "a-title stagger-anim", domProps: { textContent: r._s(r._document.$t("answerModal.answerSuccess")) } })]) : r.page === "success" ? n("div", { key: "success", staticClass: "flex flex-col flex-grow w-full", staticStyle: { height: "100%" } }, [n("transition", { attrs: { css: !1 }, on: { leave: r.minimizeHeight } }, [r.isFeedbackInitiated ? r._e() : n("div", { staticClass: "flex flex-col items-center justify-center flex-grow w-full", staticStyle: { overflow: "hidden" } }, [n("div", { staticClass: "flex flex-col items-center justify-center w-full root-padding", staticStyle: { height: "100%" } }, [n("div", { staticClass: "a-title stagger-anim", staticStyle: { padding: "calc(2.5 * var(--rem)) 0 calc(2 * var(--rem))" } }, [n("div", { domProps: { textContent: r._s(r.successStrings.title) } })]), n("div", { staticClass: "stagger-anim", domProps: { textContent: r._s(r.successStrings.text) } })])])]), n("Feedback", { ref: "feedback", staticClass: "stagger-anim", staticStyle: { flex: "0 0", overflow: "hidden", "min-height": "200px" }, attrs: { "public-id": (g = r._document.viewer) == null ? void 0 : g.publicDocumentId, demo: r.isDemo, _document: r._document }, on: { page: () => r.isFeedbackInitiated = !0, close: function(l) {
3713
3724
  return r.$emit("close");
3714
3725
  } } })], 1) : r.page === "versionError" ? n("div", { key: "versionError", staticClass: "flex flex-col items-center justify-center flex-grow text-center root-padding" }, [n("div", { staticClass: "stagger-anim" }, [n("div", { staticClass: "flex items-center justify-center", staticStyle: { padding: "20px 0" } }, [n("div", { staticClass: "flex items-center justify-center", staticStyle: { width: "52px", height: "52px", "border-radius": "50%" } }, [n("BaseIcon", { attrs: { size: 30, type: "error" } })], 1)]), n("div", { staticClass: "a-title", domProps: { textContent: r._s(r._document.$t(`answerModal.versionError.${r.mode}.title`)) } }), n("div", { domProps: { textContent: r._s(r._document.$t("answerModal.versionError.text")) } })]), n("div", { staticClass: "stagger-anim", staticStyle: { "padding-top": "3em" } }, [n("CButton", { staticClass: "a-btn", attrs: { loading: r.isPosting, type: "none" }, on: { click: r.reload } }, [r._v(" " + r._s(r._document.$t("answerModal.versionError.btn")) + " ")])], 1)]) : r._e()], 1);
3715
- }, ye = [], we = /* @__PURE__ */ ot(
3716
- me,
3717
- ve,
3726
+ }, xe = [], _e = /* @__PURE__ */ ot(
3718
3727
  ye,
3728
+ we,
3729
+ xe,
3719
3730
  !1,
3720
3731
  null,
3721
3732
  "b5240b4a",
3722
3733
  null,
3723
3734
  null
3724
3735
  );
3725
- const Ae = we.exports;
3736
+ const Te = _e.exports;
3726
3737
  export {
3727
- Ae as default
3738
+ Te as default
3728
3739
  };