@konnectio/core 4.0.20 → 4.0.21

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 (70) hide show
  1. package/dist/{ActionField-b64a1572.js → ActionField-7685b1ca.js} +2 -2
  2. package/dist/ActionField-7685b1ca.js.br +0 -0
  3. package/dist/{ActionField-11f4ccee.cjs → ActionField-f278c92a.cjs} +1 -1
  4. package/dist/{AvailabilitySkeleton-7e2eb59c.js → AvailabilitySkeleton-9f7adad1.js} +15 -15
  5. package/dist/AvailabilitySkeleton-9f7adad1.js.br +0 -0
  6. package/dist/{AvailabilitySkeleton-7ffbfe43.cjs → AvailabilitySkeleton-b8004f01.cjs} +1 -1
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-02fb5e5b.js → DateField.vue_vue_type_style_index_0_lang-4d19c297.js} +2750 -2780
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-4d19c297.js.br +0 -0
  9. package/dist/{DateField.vue_vue_type_style_index_0_lang-c71c3980.cjs → DateField.vue_vue_type_style_index_0_lang-66f33a43.cjs} +3 -3
  10. package/dist/{Field-efcdcec2.cjs → Field-7bca22a3.cjs} +1 -1
  11. package/dist/{Field-b1950c55.js → Field-850f6158.js} +2 -2
  12. package/dist/Field-850f6158.js.br +0 -0
  13. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-d5f3da80.js → NumberField.vue_vue_type_script_setup_true_lang-615d58a2.js} +2 -2
  14. package/dist/NumberField.vue_vue_type_script_setup_true_lang-615d58a2.js.br +0 -0
  15. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-4edef708.cjs → NumberField.vue_vue_type_script_setup_true_lang-9af13100.cjs} +1 -1
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-3fb22f7d.js → SelectField.vue_vue_type_style_index_0_lang-de13480f.js} +8358 -8473
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-de13480f.js.br +0 -0
  18. package/dist/SelectField.vue_vue_type_style_index_0_lang-f2eadc00.cjs +855 -0
  19. package/dist/{ThankYou-74362b99.cjs → ThankYou-328e6196.cjs} +6 -6
  20. package/dist/{ThankYou-aa12ca2d.js → ThankYou-ce7a43f1.js} +1489 -1459
  21. package/dist/ThankYou-ce7a43f1.js.br +0 -0
  22. package/dist/{_-4e24cc83.js → _-55d616f9.js} +1 -1
  23. package/dist/_-55d616f9.js.br +0 -0
  24. package/dist/{_-29774432.cjs → _-72d06a62.cjs} +1 -1
  25. package/dist/availability.cjs +2 -2
  26. package/dist/availability.js +7 -7
  27. package/dist/availability.js.br +0 -0
  28. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
  29. package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
  30. package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
  31. package/dist/components/listings/Hotel.vue.d.ts +1 -1
  32. package/dist/{event-35c4accb.cjs → event-67cf0ebb.cjs} +1 -1
  33. package/dist/{event-9664d920.js → event-d42b8289.js} +9 -9
  34. package/dist/event-d42b8289.js.br +0 -0
  35. package/dist/event.cjs +1 -1
  36. package/dist/event.js +37 -37
  37. package/dist/event.js.br +0 -0
  38. package/dist/gift-card-validation.cjs +1 -1
  39. package/dist/gift-card-validation.js +3 -3
  40. package/dist/gift-card-validation.js.br +0 -0
  41. package/dist/gift-card.cjs +1 -1
  42. package/dist/gift-card.js +5 -5
  43. package/dist/gift-card.js.br +0 -0
  44. package/dist/hotel.cjs +5 -5
  45. package/dist/hotel.js +75 -73
  46. package/dist/hotel.js.br +0 -0
  47. package/dist/{index-c6a01479.cjs → index-85780e6d.cjs} +1 -1
  48. package/dist/{index-61423a7a.js → index-a6e71920.js} +1 -1
  49. package/dist/index-a6e71920.js.br +0 -0
  50. package/dist/polyfill.cjs +1 -1
  51. package/dist/polyfill.js +1 -1
  52. package/dist/polyfill.js.br +0 -0
  53. package/dist/store/availability.d.ts +1 -1
  54. package/dist/store/event.d.ts +1 -1
  55. package/dist/store/hotel.d.ts +1 -1
  56. package/dist/store/payment.d.ts +1 -1
  57. package/dist/style.css +1 -1
  58. package/dist/style.css.br +0 -0
  59. package/package.json +7 -7
  60. package/dist/ActionField-b64a1572.js.br +0 -0
  61. package/dist/AvailabilitySkeleton-7e2eb59c.js.br +0 -0
  62. package/dist/DateField.vue_vue_type_style_index_0_lang-02fb5e5b.js.br +0 -0
  63. package/dist/Field-b1950c55.js.br +0 -0
  64. package/dist/NumberField.vue_vue_type_script_setup_true_lang-d5f3da80.js.br +0 -0
  65. package/dist/SelectField.vue_vue_type_style_index_0_lang-3fb22f7d.js.br +0 -0
  66. package/dist/SelectField.vue_vue_type_style_index_0_lang-5d0dffb8.cjs +0 -855
  67. package/dist/ThankYou-aa12ca2d.js.br +0 -0
  68. package/dist/_-4e24cc83.js.br +0 -0
  69. package/dist/event-9664d920.js.br +0 -0
  70. package/dist/index-61423a7a.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,13 +1,13 @@
1
- import { h as oe, z as ve, aB as eo, s as te, a as ye, k as I, l as H, W as to, n as r, w, a9 as De, x as b, A as D, G as de, Y as et, aC as oo, q as V, a3 as F, a2 as N, t as A, aD as Ge, a5 as Oe, m as $, D as ee, F as Y, d as no, c as K, y as Pe, ad as tt, ae as He, _ as ce, r as Te, aA as io, o as Ke, a1 as Ce, v as $e, j as ot, T as ue, I as ro, ay as so, u as ao, K as lo, C as me, aE as se, H as nt, B as W, J as uo, ah as yt, aF as co, P as po, a8 as ho, N as fo, Q as mo } from "./SelectField.vue_vue_type_style_index_0_lang-3fb22f7d.js";
2
- import { s as go, e as it, C as j, P as vo, a as yo, S as bo, i as _o } from "./index-61423a7a.js";
3
- import { R as ko, _ as Eo, B as Io, S as To, M as Co, T as $o, x as Vo } from "./ThankYou-aa12ca2d.js";
4
- import { u as bt, a as ge, _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-02fb5e5b.js";
5
- import { A as So, H as xo } from "./AvailabilitySkeleton-7e2eb59c.js";
6
- import { _ as Lo } from "./NumberField.vue_vue_type_script_setup_true_lang-d5f3da80.js";
7
- import { E as J } from "./_-4e24cc83.js";
1
+ import { h as oe, z as ve, aC as eo, s as te, a as ye, aa as yt, k as I, l as H, W as to, n as r, w, a9 as De, x as b, A as L, G as de, Y as et, aD as oo, q as V, a3 as F, a2 as N, t as A, aE as Ge, a5 as Oe, m as $, D as ee, F as Y, d as no, c as K, y as Pe, ae as tt, af as He, _ as ce, r as Te, aB as io, o as Ke, a1 as Ce, v as $e, j as ot, T as ue, I as ro, az as so, u as ao, K as lo, C as me, aF as se, H as nt, B as W, J as uo, ai as bt, aG as co, P as po, a8 as ho, N as fo, Q as mo } from "./SelectField.vue_vue_type_style_index_0_lang-de13480f.js";
2
+ import { s as go, e as it, C as j, P as vo, a as yo, S as bo, i as _o } from "./index-a6e71920.js";
3
+ import { R as ko, _ as Eo, B as Io, S as To, M as Co, T as $o, x as Vo } from "./ThankYou-ce7a43f1.js";
4
+ import { u as ge, _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-4d19c297.js";
5
+ import { A as So, H as xo } from "./AvailabilitySkeleton-9f7adad1.js";
6
+ import { _ as Lo } from "./NumberField.vue_vue_type_script_setup_true_lang-615d58a2.js";
7
+ import { E as J } from "./_-55d616f9.js";
8
8
  import { c as _t, a as kt } from "./_commonjsHelpers-aeeeeb92.js";
9
- import "./ActionField-b64a1572.js";
10
- import "./Field-b1950c55.js";
9
+ import "./ActionField-7685b1ca.js";
10
+ import "./Field-850f6158.js";
11
11
  const we = /* @__PURE__ */ oe({
12
12
  __name: "HotelReservationForm",
13
13
  props: {
@@ -25,7 +25,7 @@ const we = /* @__PURE__ */ oe({
25
25
  } = te(ye()), {
26
26
  arrivalDate: a,
27
27
  departureDate: g
28
- } = te(bt()), {
28
+ } = te(yt()), {
29
29
  arrivalTime: m,
30
30
  departureTime: _,
31
31
  roomDisplay: l,
@@ -48,16 +48,16 @@ const we = /* @__PURE__ */ oe({
48
48
  ]),
49
49
  "reservation-summary": w(() => [
50
50
  b("li", null, [
51
- b("span", null, D(r(t)("booking.reservation.arrival")), 1),
52
- b("b", null, D(r(o) ? r(de)(r(a)) : `${r(de)(r(a))}, ${r(d) ? r(h) : r(m)}`), 1)
51
+ b("span", null, L(r(t)("booking.reservation.arrival")), 1),
52
+ b("b", null, L(r(o) ? r(de)(r(a)) : `${r(de)(r(a))}, ${r(d) ? r(h) : r(m)}`), 1)
53
53
  ]),
54
54
  b("li", null, [
55
- b("span", null, D(r(t)("booking.reservation.departure")), 1),
56
- b("b", null, D(r(o) ? r(de)(r(g)) : `${r(de)(r(g))}, ${r(s) ? r(u) : r(_)}`), 1)
55
+ b("span", null, L(r(t)("booking.reservation.departure")), 1),
56
+ b("b", null, L(r(o) ? r(de)(r(g)) : `${r(de)(r(g))}, ${r(s) ? r(u) : r(_)}`), 1)
57
57
  ]),
58
58
  b("li", null, [
59
- b("span", null, D(r(t)("booking.reservation.nights")), 1),
60
- b("b", null, D(r(et)(r(a), r(g))) + " " + D(r(oo)(r(et)(r(a), r(g)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)
59
+ b("span", null, L(r(t)("booking.reservation.nights")), 1),
60
+ b("b", null, L(r(et)(r(a), r(g))) + " " + L(r(oo)(r(et)(r(a), r(g)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)
61
61
  ])
62
62
  ]),
63
63
  "price-summary": w(() => [
@@ -67,14 +67,14 @@ const we = /* @__PURE__ */ oe({
67
67
  variants: O
68
68
  }) => (I(), V("div", { key: T }, [
69
69
  b("h6", null, [
70
- b("span", null, D(P), 1)
70
+ b("span", null, L(P), 1)
71
71
  ]),
72
72
  (I(!0), V(N, null, F(O, (B, U) => (I(), V("div", { key: U }, [
73
73
  A("", !0),
74
74
  (I(!0), V(N, null, F(B.rooms, (x, G) => (I(), V("ul", { key: G }, [
75
75
  b("li", null, [
76
76
  b("span", null, [
77
- b("span", null, D(r(Ge)(B.name)), 1),
77
+ b("span", null, L(r(Ge)(B.name)), 1),
78
78
  b("span", null, [
79
79
  Oe("( "),
80
80
  $(ee, {
@@ -82,7 +82,7 @@ const we = /* @__PURE__ */ oe({
82
82
  type: "fas",
83
83
  color: "font"
84
84
  }),
85
- b("span", null, D(x.adultsCount), 1),
85
+ b("span", null, L(x.adultsCount), 1),
86
86
  Oe(") "),
87
87
  x.childrenCount > 0 ? (I(), V(N, { key: 0 }, [
88
88
  $(ee, {
@@ -90,19 +90,19 @@ const we = /* @__PURE__ */ oe({
90
90
  type: "fas",
91
91
  color: "font"
92
92
  }),
93
- b("span", null, D(x.childrenCount), 1),
93
+ b("span", null, L(x.childrenCount), 1),
94
94
  Oe(") ")
95
95
  ], 64)) : A("", !0)
96
96
  ])
97
97
  ]),
98
98
  b("b", null, [
99
- b("span", null, D(r(Y)(x.totalPrice, r(p))), 1),
99
+ b("span", null, L(r(Y)(x.totalPrice, r(p))), 1),
100
100
  A("", !0)
101
101
  ])
102
102
  ]),
103
103
  b("li", null, [
104
- b("span", null, D(r(t)("booking.reservation.addons")), 1),
105
- b("b", null, D(r(Y)(c(x.roomAddons), r(p))), 1)
104
+ b("span", null, L(r(t)("booking.reservation.addons")), 1),
105
+ b("b", null, L(r(Y)(c(x.roomAddons), r(p))), 1)
106
106
  ])
107
107
  ]))), 128))
108
108
  ]))), 128))
@@ -221,16 +221,16 @@ const Ao = /* @__PURE__ */ oe({
221
221
  icon: "male",
222
222
  type: "fas"
223
223
  }),
224
- b("span", null, D(`${a.adults}`), 1)
224
+ b("span", null, L(`${a.adults}`), 1)
225
225
  ]),
226
226
  a.children > 0 ? (I(), V("span", Oo, [
227
227
  $(ee, {
228
228
  icon: "child",
229
229
  type: "fas"
230
230
  }),
231
- b("span", null, D(`${a.children}`), 1)
231
+ b("span", null, L(`${a.children}`), 1)
232
232
  ])) : A("", !0),
233
- b("span", null, D(`(${r(Y)(a.price, r(e))})`), 1)
233
+ b("span", null, L(`(${r(Y)(a.price, r(e))})`), 1)
234
234
  ]),
235
235
  "selected-option": w(({ data: a }) => [
236
236
  b("div", Ho, [
@@ -239,14 +239,14 @@ const Ao = /* @__PURE__ */ oe({
239
239
  icon: "male",
240
240
  type: "fas"
241
241
  }),
242
- b("span", null, D(`${a.adults}`), 1)
242
+ b("span", null, L(`${a.adults}`), 1)
243
243
  ]),
244
244
  a.children > 0 ? (I(), V("div", wo, [
245
245
  $(ee, {
246
246
  icon: "child",
247
247
  type: "fas"
248
248
  }),
249
- b("span", null, D(`${a.children}`), 1)
249
+ b("span", null, L(`${a.children}`), 1)
250
250
  ])) : A("", !0),
251
251
  A("", !0)
252
252
  ])
@@ -289,10 +289,10 @@ const Ao = /* @__PURE__ */ oe({
289
289
  class: "fresh-booking-modal-facility"
290
290
  }, [
291
291
  b("h6", null, [
292
- b("span", null, D(s), 1)
292
+ b("span", null, L(s), 1)
293
293
  ]),
294
294
  b("ul", null, [
295
- (I(!0), V(N, null, F(h, ({ name: p }, a) => (I(), V("li", { key: a }, D(p), 1))), 128))
295
+ (I(!0), V(N, null, F(h, ({ name: p }, a) => (I(), V("li", { key: a }, L(p), 1))), 128))
296
296
  ])
297
297
  ])), [
298
298
  [o]
@@ -450,7 +450,7 @@ const qo = /* @__PURE__ */ oe({
450
450
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
451
451
  }
452
452
  });
453
- const Go = /* @__PURE__ */ ce(qo, [["__scopeId", "data-v-0e887f8f"]]), rt = /* @__PURE__ */ oe({
453
+ const Go = /* @__PURE__ */ ce(qo, [["__scopeId", "data-v-f23e8af2"]]), rt = /* @__PURE__ */ oe({
454
454
  __name: "TimeField",
455
455
  props: {
456
456
  modelValue: {},
@@ -532,14 +532,14 @@ const jo = { style: { display: "flex", "align-items": "baseline" } }, Yo = /* @_
532
532
  b("i", {
533
533
  class: $e(["konnectio-flag-icon", a.iso])
534
534
  }, null, 2),
535
- b("span", null, D(a.name), 1)
535
+ b("span", null, L(a.name), 1)
536
536
  ]),
537
537
  "selected-option": w(({ data: a }) => [
538
538
  b("div", jo, [
539
539
  b("i", {
540
540
  class: $e(["konnectio-flag-icon", a.iso])
541
541
  }, null, 2),
542
- b("span", null, D(a.name), 1)
542
+ b("span", null, L(a.name), 1)
543
543
  ])
544
544
  ]),
545
545
  _: 1
@@ -784,7 +784,7 @@ const Cn = {
784
784
  } = te(ge()), {
785
785
  arrivalDate: xt,
786
786
  departureDate: Lt
787
- } = te(bt()), {
787
+ } = te(yt()), {
788
788
  currency: Z,
789
789
  isRecaptchaEnabled: Ri,
790
790
  disableNewsletterSignup: Dt,
@@ -827,8 +827,8 @@ const Cn = {
827
827
  function Ze(Q) {
828
828
  Q();
829
829
  }
830
- function Kt(Q, L) {
831
- Lt.value = new Date(L), xt.value = new Date(Q), location.reload();
830
+ function Kt(Q, D) {
831
+ Lt.value = new Date(D), xt.value = new Date(Q), location.reload();
832
832
  }
833
833
  async function Qt(Q) {
834
834
  await Ft(Q);
@@ -841,7 +841,7 @@ const Cn = {
841
841
  }
842
842
  return Ke(() => {
843
843
  Ut(), Xt();
844
- }), (Q, L) => (I(), H(lo, null, {
844
+ }), (Q, D) => (I(), H(lo, null, {
845
845
  default: w(() => [
846
846
  $(uo, {
847
847
  id: "fresh-booking-hotel-module",
@@ -878,11 +878,11 @@ const Cn = {
878
878
  }, null, 8, ["room", "layout"]))), 128))
879
879
  ])
880
880
  ])) : (I(), V("div", _n, [
881
- b("span", null, D(r(e)("booking.availability.nothingAvailable")), 1)
881
+ b("span", null, L(r(e)("booking.availability.nothingAvailable")), 1)
882
882
  ]))
883
883
  ])) : A("", !0)
884
884
  ])) : r(he).nextAvailableDates.length === 0 ? (I(), V("div", kn, [
885
- b("span", null, D(r(e)("booking.availability.nothingAvailable")), 1)
885
+ b("span", null, L(r(e)("booking.availability.nothingAvailable")), 1)
886
886
  ])) : (I(), V("div", En, [
887
887
  b("h2", null, [
888
888
  $(ee, {
@@ -890,14 +890,14 @@ const Cn = {
890
890
  type: "fal",
891
891
  color: "header"
892
892
  }),
893
- b("span", null, D(r(e)("booking.availability.nextAvailableDates")), 1)
893
+ b("span", null, L(r(e)("booking.availability.nextAvailableDates")), 1)
894
894
  ]),
895
895
  b("ul", In, [
896
896
  (I(!0), V(N, null, F(r(he).nextAvailableDates, (q, C) => (I(), V("li", { key: C }, [
897
897
  b("h3", {
898
898
  title: `${r(de)(q.fromDate)} - ${r(de)(q.toDate)}`
899
899
  }, [
900
- b("span", null, D(`${r(de)(q.fromDate)} - ${r(de)(q.toDate)}`), 1)
900
+ b("span", null, L(`${r(de)(q.fromDate)} - ${r(de)(q.toDate)}`), 1)
901
901
  ], 8, Tn),
902
902
  b("ul", null, [
903
903
  A("", !0),
@@ -907,7 +907,7 @@ const Cn = {
907
907
  type: "fal",
908
908
  color: "header"
909
909
  }),
910
- b("span", null, D(r(e)("booking.availability.pricesFrom")) + ": " + D(r(Y)(q.priceStartFrom, r(Z))), 1)
910
+ b("span", null, L(r(e)("booking.availability.pricesFrom")) + ": " + L(r(Y)(q.priceStartFrom, r(Z))), 1)
911
911
  ])
912
912
  ]),
913
913
  $(me, {
@@ -933,7 +933,7 @@ const Cn = {
933
933
  key: 1,
934
934
  label: r(e)("booking.reservation.prevButton"),
935
935
  "full-width": "",
936
- onClickEvent: L[0] || (L[0] = (q) => Yt())
936
+ onClickEvent: D[0] || (D[0] = (q) => Yt())
937
937
  }, null, 8, ["label"]))
938
938
  ]),
939
939
  _: 2
@@ -944,7 +944,7 @@ const Cn = {
944
944
  form: w(() => [
945
945
  b("div", $n, [
946
946
  b("h2", null, [
947
- b("span", null, D(r(e)("booking.reservation.addons")), 1)
947
+ b("span", null, L(r(e)("booking.reservation.addons")), 1)
948
948
  ]),
949
949
  b("div", null, [
950
950
  isNaN(r(o)) ? (I(!0), V(N, { key: 0 }, F(r(G), (C) => (I(), V("ul", {
@@ -954,7 +954,7 @@ const Cn = {
954
954
  key: be.ratePlanID
955
955
  }, [
956
956
  b("h4", null, [
957
- b("span", null, D(r(Ge)(C.title)), 1)
957
+ b("span", null, L(r(Ge)(C.title)), 1)
958
958
  ]),
959
959
  (I(!0), V(N, null, F(be.rooms, (S, Zt) => (I(), V("table", {
960
960
  key: Zt,
@@ -963,7 +963,7 @@ const Cn = {
963
963
  b("thead", null, [
964
964
  b("tr", null, [
965
965
  b("th", null, [
966
- b("span", null, D(r(Ge)(be.name)), 1)
966
+ b("span", null, L(r(Ge)(be.name)), 1)
967
967
  ]),
968
968
  b("th", null, [
969
969
  b("b", null, [
@@ -972,14 +972,14 @@ const Cn = {
972
972
  type: "fas",
973
973
  color: "font"
974
974
  }),
975
- b("span", null, D(S.adultsCount), 1),
975
+ b("span", null, L(S.adultsCount), 1),
976
976
  S.childrenCount > 0 ? (I(), H(ee, {
977
977
  key: 0,
978
978
  icon: "child",
979
979
  type: "fas",
980
980
  color: "font"
981
981
  })) : A("", !0),
982
- S.childrenCount > 0 ? (I(), V("span", Vn, D(S.childrenCount), 1)) : A("", !0)
982
+ S.childrenCount > 0 ? (I(), V("span", Vn, L(S.childrenCount), 1)) : A("", !0)
983
983
  ])
984
984
  ])
985
985
  ])
@@ -1060,8 +1060,7 @@ const Cn = {
1060
1060
  ]),
1061
1061
  navigation: w(() => [
1062
1062
  $(me, {
1063
- label: r(e)("booking.availability.nextButton"),
1064
- "is-loading": !1,
1063
+ label: r(e)("general.startReservation"),
1065
1064
  "full-width": "",
1066
1065
  onClickEvent: fe
1067
1066
  }, null, 8, ["label", "onClickEvent"]),
@@ -1069,7 +1068,7 @@ const Cn = {
1069
1068
  class: "konnectio-abort-reservation link",
1070
1069
  onClick: nt((C) => Ze(q), ["prevent"])
1071
1070
  }, [
1072
- b("span", null, D(r(e)("general.abortReservation")), 1)
1071
+ b("span", null, L(r(e)("general.abortReservation")), 1)
1073
1072
  ], 8, Sn)
1074
1073
  ]),
1075
1074
  _: 2
@@ -1082,6 +1081,9 @@ const Cn = {
1082
1081
  }, {
1083
1082
  form: w(() => [
1084
1083
  b("form", xn, [
1084
+ b("h2", null, [
1085
+ b("span", null, L(r(e)("booking.reservation.detailsTitle")), 1)
1086
+ ]),
1085
1087
  !r(Mt) && !(r(xe) && r(Le)) ? (I(), V("ul", {
1086
1088
  key: 0,
1087
1089
  class: $e({ "fresh-booking-split-inputs": !r(xe) && !r(Le) })
@@ -1089,7 +1091,7 @@ const Cn = {
1089
1091
  r(xe) ? A("", !0) : (I(), V("li", Ln, [
1090
1092
  $(rt, {
1091
1093
  modelValue: r(_),
1092
- "onUpdate:modelValue": L[1] || (L[1] = (C) => W(_) ? _.value = C : null),
1094
+ "onUpdate:modelValue": D[1] || (D[1] = (C) => W(_) ? _.value = C : null),
1093
1095
  label: r(e)("booking.reservation.arrivalTime"),
1094
1096
  icon: "hourglass-start",
1095
1097
  "hour-range": Gt.value,
@@ -1099,7 +1101,7 @@ const Cn = {
1099
1101
  r(Le) ? A("", !0) : (I(), V("li", Dn, [
1100
1102
  $(rt, {
1101
1103
  modelValue: r(l),
1102
- "onUpdate:modelValue": L[2] || (L[2] = (C) => W(l) ? l.value = C : null),
1104
+ "onUpdate:modelValue": D[2] || (D[2] = (C) => W(l) ? l.value = C : null),
1103
1105
  label: r(e)("booking.reservation.departureTime"),
1104
1106
  icon: "hourglass-end",
1105
1107
  "hour-range": jt.value,
@@ -1109,9 +1111,9 @@ const Cn = {
1109
1111
  ], 2)) : A("", !0),
1110
1112
  $(Jo, {
1111
1113
  modelValue: r(y),
1112
- "onUpdate:modelValue": L[3] || (L[3] = (C) => W(y) ? y.value = C : null),
1114
+ "onUpdate:modelValue": D[3] || (D[3] = (C) => W(y) ? y.value = C : null),
1113
1115
  title: r(k),
1114
- "onUpdate:title": L[4] || (L[4] = (C) => W(k) ? k.value = C : null),
1116
+ "onUpdate:title": D[4] || (D[4] = (C) => W(k) ? k.value = C : null),
1115
1117
  "exclude-title": r(Rt),
1116
1118
  label: r(e)("booking.reservation.name"),
1117
1119
  icon: "user-alt",
@@ -1120,7 +1122,7 @@ const Cn = {
1120
1122
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1121
1123
  $(ue, {
1122
1124
  modelValue: r(f),
1123
- "onUpdate:modelValue": L[5] || (L[5] = (C) => W(f) ? f.value = C : null),
1125
+ "onUpdate:modelValue": D[5] || (D[5] = (C) => W(f) ? f.value = C : null),
1124
1126
  type: "email",
1125
1127
  name: "email",
1126
1128
  autocomplete: "email",
@@ -1132,7 +1134,7 @@ const Cn = {
1132
1134
  r(Dt) ? A("", !0) : (I(), H(j, {
1133
1135
  key: 1,
1134
1136
  modelValue: r(U),
1135
- "onUpdate:modelValue": L[6] || (L[6] = (C) => W(U) ? U.value = C : null),
1137
+ "onUpdate:modelValue": D[6] || (D[6] = (C) => W(U) ? U.value = C : null),
1136
1138
  type: "checkbox",
1137
1139
  name: "newsletter",
1138
1140
  label: r(e)("booking.reservation.newsletterSignUp")
@@ -1140,7 +1142,7 @@ const Cn = {
1140
1142
  r(Nt) ? A("", !0) : (I(), H(ue, {
1141
1143
  key: 2,
1142
1144
  modelValue: r(c),
1143
- "onUpdate:modelValue": L[7] || (L[7] = (C) => W(c) ? c.value = C : null),
1145
+ "onUpdate:modelValue": D[7] || (D[7] = (C) => W(c) ? c.value = C : null),
1144
1146
  type: "text",
1145
1147
  name: "firm",
1146
1148
  autocomplete: "firm",
@@ -1150,7 +1152,7 @@ const Cn = {
1150
1152
  }, null, 8, ["modelValue", "label", "placeholder"])),
1151
1153
  $(vo, {
1152
1154
  modelValue: r(i),
1153
- "onUpdate:modelValue": L[8] || (L[8] = (C) => W(i) ? i.value = C : null),
1155
+ "onUpdate:modelValue": D[8] || (D[8] = (C) => W(i) ? i.value = C : null),
1154
1156
  icon: "phone-office",
1155
1157
  label: r(e)("booking.reservation.phone"),
1156
1158
  placeholder: r(e)("booking.reservation.phonePlaceholder"),
@@ -1158,7 +1160,7 @@ const Cn = {
1158
1160
  }, null, 8, ["modelValue", "label", "placeholder"]),
1159
1161
  $(Ko, {
1160
1162
  modelValue: r(P),
1161
- "onUpdate:modelValue": L[9] || (L[9] = (C) => W(P) ? P.value = C : null),
1163
+ "onUpdate:modelValue": D[9] || (D[9] = (C) => W(P) ? P.value = C : null),
1162
1164
  label: r(e)("booking.reservation.country"),
1163
1165
  placeholder: r(e)("booking.reservation.countryPlaceholder"),
1164
1166
  options: r(s),
@@ -1166,7 +1168,7 @@ const Cn = {
1166
1168
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1167
1169
  $(ue, {
1168
1170
  modelValue: r(T),
1169
- "onUpdate:modelValue": L[10] || (L[10] = (C) => W(T) ? T.value = C : null),
1171
+ "onUpdate:modelValue": D[10] || (D[10] = (C) => W(T) ? T.value = C : null),
1170
1172
  type: "textarea",
1171
1173
  name: "address",
1172
1174
  autocomplete: "street-address",
@@ -1179,7 +1181,7 @@ const Cn = {
1179
1181
  b("li", null, [
1180
1182
  $(ue, {
1181
1183
  modelValue: r(v),
1182
- "onUpdate:modelValue": L[11] || (L[11] = (C) => W(v) ? v.value = C : null),
1184
+ "onUpdate:modelValue": D[11] || (D[11] = (C) => W(v) ? v.value = C : null),
1183
1185
  type: "text",
1184
1186
  name: "postal",
1185
1187
  autocomplete: "postal-code",
@@ -1192,7 +1194,7 @@ const Cn = {
1192
1194
  b("li", null, [
1193
1195
  $(ue, {
1194
1196
  modelValue: r(E),
1195
- "onUpdate:modelValue": L[12] || (L[12] = (C) => W(E) ? E.value = C : null),
1197
+ "onUpdate:modelValue": D[12] || (D[12] = (C) => W(E) ? E.value = C : null),
1196
1198
  type: "text",
1197
1199
  name: "city",
1198
1200
  autocomplete: "address-level2",
@@ -1205,7 +1207,7 @@ const Cn = {
1205
1207
  ]),
1206
1208
  $(ue, {
1207
1209
  modelValue: r(O),
1208
- "onUpdate:modelValue": L[13] || (L[13] = (C) => W(O) ? O.value = C : null),
1210
+ "onUpdate:modelValue": D[13] || (D[13] = (C) => W(O) ? O.value = C : null),
1209
1211
  type: "textarea",
1210
1212
  label: `${r(e)("booking.reservation.remark")} (${r(e)("booking.reservation.optional")})`,
1211
1213
  icon: "info-circle",
@@ -1213,7 +1215,7 @@ const Cn = {
1213
1215
  }, null, 8, ["modelValue", "label", "placeholder"]),
1214
1216
  $(ue, {
1215
1217
  modelValue: r(B),
1216
- "onUpdate:modelValue": L[14] || (L[14] = (C) => W(B) ? B.value = C : null),
1218
+ "onUpdate:modelValue": D[14] || (D[14] = (C) => W(B) ? B.value = C : null),
1217
1219
  type: "textarea",
1218
1220
  label: `${r(e)("booking.reservation.allergies")} (${r(e)("booking.reservation.optional")})`,
1219
1221
  icon: "allergies",
@@ -1221,13 +1223,13 @@ const Cn = {
1221
1223
  }, null, 8, ["modelValue", "label", "placeholder"]),
1222
1224
  r(Wt) ? A("", !0) : (I(), V("div", Hn, [
1223
1225
  b("label", wn, [
1224
- b("span", null, D(r(e)("booking.reservation.purposeOfStay")) + " (" + D(r(e)("booking.reservation.optional")) + ")", 1)
1226
+ b("span", null, L(r(e)("booking.reservation.purposeOfStay")) + " (" + L(r(e)("booking.reservation.optional")) + ")", 1)
1225
1227
  ]),
1226
1228
  b("ul", An, [
1227
1229
  b("li", null, [
1228
1230
  $(j, {
1229
1231
  modelValue: r(m),
1230
- "onUpdate:modelValue": L[15] || (L[15] = (C) => W(m) ? m.value = C : null),
1232
+ "onUpdate:modelValue": D[15] || (D[15] = (C) => W(m) ? m.value = C : null),
1231
1233
  type: "radio",
1232
1234
  name: "travelingFor",
1233
1235
  label: r(e)("booking.reservation.business"),
@@ -1237,7 +1239,7 @@ const Cn = {
1237
1239
  b("li", null, [
1238
1240
  $(j, {
1239
1241
  modelValue: r(m),
1240
- "onUpdate:modelValue": L[16] || (L[16] = (C) => W(m) ? m.value = C : null),
1242
+ "onUpdate:modelValue": D[16] || (D[16] = (C) => W(m) ? m.value = C : null),
1241
1243
  type: "radio",
1242
1244
  name: "travelingFor",
1243
1245
  label: r(e)("booking.reservation.pleasure"),
@@ -1247,7 +1249,7 @@ const Cn = {
1247
1249
  b("li", null, [
1248
1250
  $(j, {
1249
1251
  modelValue: r(m),
1250
- "onUpdate:modelValue": L[17] || (L[17] = (C) => W(m) ? m.value = C : null),
1252
+ "onUpdate:modelValue": D[17] || (D[17] = (C) => W(m) ? m.value = C : null),
1251
1253
  type: "radio",
1252
1254
  name: "travelingFor",
1253
1255
  label: r(e)("booking.reservation.bleasure"),
@@ -1271,7 +1273,7 @@ const Cn = {
1271
1273
  class: "konnectio-abort-reservation link",
1272
1274
  onClick: nt((C) => Ze(q), ["prevent"])
1273
1275
  }, [
1274
- b("span", null, D(r(e)("general.abortReservation")), 1)
1276
+ b("span", null, L(r(e)("general.abortReservation")), 1)
1275
1277
  ], 8, Bn)
1276
1278
  ])
1277
1279
  ]),
@@ -1299,7 +1301,7 @@ const Cn = {
1299
1301
  }));
1300
1302
  }
1301
1303
  });
1302
- const Mn = /* @__PURE__ */ ce(zn, [["__scopeId", "data-v-95983ad9"]]);
1304
+ const Mn = /* @__PURE__ */ ce(zn, [["__scopeId", "data-v-dc0431f8"]]);
1303
1305
  var Et = { exports: {} }, Ae = { exports: {} }, Be = { exports: {} }, st;
1304
1306
  function Qe() {
1305
1307
  return st || (st = 1, function(n) {
@@ -2350,7 +2352,7 @@ Tt.install = function(n, t) {
2350
2352
  const u = Qn(s.attributes), p = new pt(s, u), a = h.value || o, g = u.destroyDelay ? parseInt(u.destroyDelay, 10) : void 0, m = function() {
2351
2353
  p.reloadItems(), p.layout();
2352
2354
  };
2353
- yt(() => {
2355
+ bt(() => {
2354
2356
  m();
2355
2357
  });
2356
2358
  const _ = function(y) {
@@ -2998,7 +3000,7 @@ function wi(n) {
2998
3000
  }.install;
2999
3001
  }
3000
3002
  function Ai(n = {}) {
3001
- n.domDelayFn = n.domDelayFn || ((e) => yt(() => setTimeout(() => e(), 0)));
3003
+ n.domDelayFn = n.domDelayFn || ((e) => bt(() => setTimeout(() => e(), 0)));
3002
3004
  const t = /* @__PURE__ */ Si(n);
3003
3005
  return t.use(Oi), t.install = wi(t), t;
3004
3006
  }
package/dist/hotel.js.br CHANGED
Binary file
@@ -1 +1 @@
1
- "use strict";const SelectField_vue_vue_type_style_index_0_lang=require("./SelectField.vue_vue_type_style_index_0_lang-5d0dffb8.cjs");function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(i){_defineProperty(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}var load=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(i,r){if(!(typeof document>"u")){var l=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");if(s.async=!0,s.src=t,s.defer=n.defer,n.preconnectOrigin){var u=document.createElement("link");u.href=n.preconnectOrigin,u.rel="preconnect",l.appendChild(u)}l.appendChild(s),s.onload=i,s.onerror=r}})},mergeDeep=function e(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];if(!i.length)return t;var l=i.shift();if(!(!SelectField_vue_vue_type_style_index_0_lang.isPlainObject(t)||!SelectField_vue_vue_type_style_index_0_lang.isPlainObject(l))){for(var s in l)SelectField_vue_vue_type_style_index_0_lang.isPlainObject(l[s])?(t[s]||Object.assign(t,_defineProperty({},s,{})),e(t[s],l[s])):Object.assign(t,_defineProperty({},s,l[s]));return e.apply(void 0,[t].concat(i))}},isBrowser=function(){return!(typeof window>"u"||typeof document>"u")},warn=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;isBrowser()},validateScreenviewShape=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return warn('Missing "appName" property inside the plugin options.',t.app_name==null),warn('Missing "name" property in the route.',t.screen_name==null),t};function getPathWithBase(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e.split("/"),i=t.split("/");return n[0]===""&&t[t.length-1]==="/"&&n.shift(),i.join("/")+n.join("/")}var getDefaultParams=function(){return{bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}}},params={},setOptions=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=getDefaultParams();params=mergeDeep(n,t)},getOptions=function(){return params},query=function(){var e,t=getOptions(),n=t.globalObjectName;!isBrowser()||typeof window[n]>"u"||(e=window)[n].apply(e,arguments)},config=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=getOptions(),r=i.config,l=i.includes;query.apply(void 0,["config",r.id].concat(t)),Array.isArray(l)&&l.forEach(function(s){query.apply(void 0,["config",s.id].concat(t))})},assignGlobalProperty=function(t,n){isBrowser()&&(window["ga-disable-".concat(t)]=n)},disable=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=getOptions(),n=t.config,i=t.includes;assignGlobalProperty(n.id,e),Array.isArray(i)&&i.forEach(function(r){return assignGlobalProperty(r.id,e)})},optOut=function(){disable(!0)},optIn=function(){disable(!1)},router,setRouter=function(t){router=t},getRouter=function(){return router},event=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=getOptions(),i=n.includes,r=n.defaultGroupName;t.send_to==null&&Array.isArray(i)&&i.length&&(t.send_to=i.map(function(l){return l.id}).concat(r)),query("event",e,t)},pageview=function(e){if(isBrowser()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var n=getOptions(),i=n.pageTrackerUseFullPath,r=n.pageTrackerPrependBase,l=getRouter(),s=l&&l.options.base,u=i?e.fullPath:e.path;t=_objectSpread2(_objectSpread2({},e.name&&{page_title:e.name}),{},{page_path:r?getPathWithBase(u,s):u})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),event("page_view",t)}},screenview=function(e){var t=getOptions(),n=t.appName;if(e){var i;typeof e=="string"?i={screen_name:e}:i=e,i.app_name=i.app_name||n,event("screen_view",i)}},exception=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];event.apply(void 0,["exception"].concat(t))},linker=function(e){config("linker",e)},time=function(e){event("timing_complete",e)},set=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];query.apply(void 0,["set"].concat(t))},refund=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];event.apply(void 0,["refund"].concat(t))},purchase=function(e){event("purchase",e)},customMap=function(e){config({custom_map:e})},api=Object.freeze({__proto__:null,query,config,optOut,optIn,pageview,screenview,exception,linker,time,set,refund,purchase,customMap,event}),attachApi=function(t){t.config.globalProperties.$gtag=api},registerGlobals=function(){if(isBrowser()){var e=getOptions(),t=e.enabled,n=e.globalObjectName,i=e.globalDataLayerName;return window[n]==null&&(window[i]=window[i]||[],window[n]=function(){window[i].push(arguments)}),window[n]("js",new Date),t||optOut(),window[n]}},mergeDefaultParams=function(t){return _objectSpread2({send_page_view:!1},t)},addConfiguration=function(){var e=getOptions(),t=e.config,n=e.includes;query("config",t.id,mergeDefaultParams(t.params)),Array.isArray(n)&&n.forEach(function(i){query("config",i.id,mergeDefaultParams(i.params))})},track=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=getOptions(),i=n.appName,r=n.pageTrackerTemplate,l=n.pageTrackerScreenviewEnabled,s=n.pageTrackerSkipSamePath;if(!(s&&e.path===t.path)){var u=e;if(SelectField_vue_vue_type_style_index_0_lang.isFunction(r)?u=r(e,t):l&&(u=validateScreenviewShape({app_name:i,screen_name:e.name})),l){screenview(u);return}pageview(u)}},isRouteExcluded=function(t){var n=getOptions(),i=n.pageTrackerExcludedRoutes;return i.includes(t.path)||i.includes(t.name)},addRoutesTracker=function(){var e=getOptions(),t=e.onBeforeTrack,n=e.onAfterTrack,i=getRouter();i.isReady().then(function(){SelectField_vue_vue_type_style_index_0_lang.nextTick().then(function(){var r=i.currentRoute;addConfiguration(),!isRouteExcluded(r.value)&&track(r.value)}),i.afterEach(function(r,l){SelectField_vue_vue_type_style_index_0_lang.nextTick().then(function(){isRouteExcluded(r)||(SelectField_vue_vue_type_style_index_0_lang.isFunction(t)&&t(r,l),track(r,l),SelectField_vue_vue_type_style_index_0_lang.isFunction(n)&&n(r,l))})})})},bootstrap=function(){var e=getOptions(),t=e.onReady,n=e.onError,i=e.globalObjectName,r=e.globalDataLayerName,l=e.config,s=e.customResourceURL,u=e.customPreconnectOrigin,_=e.deferScriptLoad,d=e.pageTrackerEnabled,p=e.disableScriptLoad,v=!!(d&&getRouter());if(registerGlobals(),v?addRoutesTracker():addConfiguration(),!p)return load("".concat(s,"?id=").concat(l.id,"&l=").concat(r),{preconnectOrigin:u,defer:_}).then(function(){t&&t(window[i])}).catch(function(g){return n&&n(g),g})},install=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;attachApi(t),setOptions(n),setRouter(i),getOptions().bootstrap&&bootstrap()};const _hoisted_1$3={class:"fresh-booking-phone-input"},_sfc_main$3=SelectField_vue_vue_type_style_index_0_lang.defineComponent({__name:"PhoneField",props:{modelValue:{},label:{},id:{},placeholder:{},icon:{default:"phone-office"},iconColor:{},iconType:{default:"fal"},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputStyle:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,i=e,r=i.id||SelectField_vue_vue_type_style_index_0_lang.ranId(),l=SelectField_vue_vue_type_style_index_0_lang.ref("+45"),s=SelectField_vue_vue_type_style_index_0_lang.ref("");function u(){n("update:modelValue",`${l.value} ${s.value}`)}return SelectField_vue_vue_type_style_index_0_lang.onMounted(()=>{if(i.modelValue){const _=i.modelValue.split(" ");l.value=_[0],s.value=_[1]}}),(_,d)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createBlock(SelectField_vue_vue_type_style_index_0_lang.InputField,{label:_.label,id:SelectField_vue_vue_type_style_index_0_lang.unref(r),type:"phone",required:_.required,readonly:_.readonly},{default:SelectField_vue_vue_type_style_index_0_lang.withCtx(()=>[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",_hoisted_1$3,[SelectField_vue_vue_type_style_index_0_lang.createVNode(SelectField_vue_vue_type_style_index_0_lang.TextField,{modelValue:l.value,"onUpdate:modelValue":d[0]||(d[0]=p=>l.value=p),type:"text",id:SelectField_vue_vue_type_style_index_0_lang.unref(SelectField_vue_vue_type_style_index_0_lang.ranId)(),name:"phone-code",autocomplete:"tel-country-code",icon:_.icon,"icon-color":_.iconColor,"icon-type":_.iconType,placeholder:"+45",required:_.required,readonly:_.readonly,"input-style":_.inputStyle,onInput:d[1]||(d[1]=p=>u())},null,8,["modelValue","id","icon","icon-color","icon-type","required","readonly","input-style"]),SelectField_vue_vue_type_style_index_0_lang.createVNode(SelectField_vue_vue_type_style_index_0_lang.TextField,{modelValue:s.value,"onUpdate:modelValue":d[2]||(d[2]=p=>s.value=p),type:"number",name:"phone",autocomplete:"tel-national",id:SelectField_vue_vue_type_style_index_0_lang.unref(r),placeholder:_.placeholder,required:_.required,readonly:_.readonly,"input-style":_.inputStyle,onInput:d[3]||(d[3]=p=>u())},null,8,["modelValue","id","placeholder","required","readonly","input-style"])])]),_:1},8,["label","id","required","readonly"]))}}),PhoneField_vue_vue_type_style_index_0_scoped_5cd094ab_lang="",PhoneField=SelectField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main$3,[["__scopeId","data-v-5cd094ab"]]),_hoisted_1$2=["required","type","name","readonly","disabled","value","checked"],_hoisted_2$2=["data-test"],_hoisted_3={key:0},_sfc_main$2=SelectField_vue_vue_type_style_index_0_lang.defineComponent({__name:"Checkbox",props:{modelValue:{type:[String,Boolean,Number]},numeric:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},label:{},price:{},name:{},readonly:{type:Boolean,default:!1},type:{default:"checkbox"},required:{type:Boolean,default:!1},inputStyle:{},val:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,i=t;function r(){n.readonly!==!0&&i("update:modelValue",n.type==="radio"?n.val:n.numeric?n.modelValue?0:1:!n.modelValue)}return(l,s)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createBlock(SelectField_vue_vue_type_style_index_0_lang.InputField,{required:l.required,type:l.type,readonly:l.readonly},{default:SelectField_vue_vue_type_style_index_0_lang.withCtx(()=>[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("label",{class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box-container",{"is-readonly":l.readonly},{"has-label":l.label},l.type==="radio"?"radio":"checkbox"])},[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("input",SelectField_vue_vue_type_style_index_0_lang.mergeProps(l.$attrs,{required:!!l.required,type:l.type,name:l.name,class:"hidden",readonly:!!l.readonly,disabled:!!l.readonly,value:l.type==="radio"?l.val:l.modelValue,checked:l.type==="radio"?l.val===l.modelValue:!!l.modelValue,onChange:s[0]||(s[0]=u=>r())}),null,16,_hoisted_1$2),SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",{class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box",{checked:l.type==="radio"?l.val===l.modelValue:!!l.modelValue}]),tabindex:"0",style:SelectField_vue_vue_type_style_index_0_lang.normalizeStyle(l.inputStyle),"data-test":l.name,onKeyup:s[1]||(s[1]=SelectField_vue_vue_type_style_index_0_lang.withKeys(u=>r(),["enter"]))},null,46,_hoisted_2$2),l.label?(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("div",{key:0,class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box-label",{"with-price":l.price}])},[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("span",null,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(l.label),1),l.price?(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("span",_hoisted_3,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(l.price),1)):SelectField_vue_vue_type_style_index_0_lang.createCommentVNode("",!0)],2)):SelectField_vue_vue_type_style_index_0_lang.createCommentVNode("",!0)],2)]),_:1},8,["required","type","readonly"]))}}),Checkbox_vue_vue_type_style_index_0_scoped_7ef656cb_lang="",Checkbox=SelectField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main$2,[["__scopeId","data-v-7ef656cb"]]),_hoisted_1$1={href:"https://policies.google.com/privacy"},_hoisted_2$1={href:"https://policies.google.com/terms"},_sfc_main$1=SelectField_vue_vue_type_style_index_0_lang.defineComponent({__name:"GoogleNotice",setup(e){const{t}=SelectField_vue_vue_type_style_index_0_lang.useI18n();return(n,i)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("span",null,[SelectField_vue_vue_type_style_index_0_lang.createTextVNode(SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleNotice"))+" ",1),SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("a",_hoisted_1$1,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googlePrivacyPolicy")),1),SelectField_vue_vue_type_style_index_0_lang.createTextVNode(" "+SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleAnd"))+" ",1),SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("a",_hoisted_2$1,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleTOS")),1),SelectField_vue_vue_type_style_index_0_lang.createTextVNode(" "+SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleApply"))+". ",1)]))}});function block0(e){const t=e;t.__i18n=t.__i18n||[],t.__i18n.push({locale:"",resource:{da:{googleNotice:n=>{const{normalize:i}=n;return i(["Denne side er beskyttet af reCAPTCHA og Google's"])},googlePrivacyPolicy:n=>{const{normalize:i}=n;return i(["Privatlivspolitik"])},googleAnd:n=>{const{normalize:i}=n;return i(["og"])},googleTOS:n=>{const{normalize:i}=n;return i(["Servicevilkår"])},googleApply:n=>{const{normalize:i}=n;return i(["er gældende"])}},en:{googleNotice:n=>{const{normalize:i}=n;return i(["This site is protected by reCAPTCHA and the Google"])},googlePrivacyPolicy:n=>{const{normalize:i}=n;return i(["Privacy Policy"])},googleAnd:n=>{const{normalize:i}=n;return i(["and"])},googleTOS:n=>{const{normalize:i}=n;return i(["Terms of Service"])},googleApply:n=>{const{normalize:i}=n;return i(["apply"])}}}})}typeof block0=="function"&&block0(_sfc_main$1);const _withScopeId=e=>(SelectField_vue_vue_type_style_index_0_lang.pushScopeId("data-v-340cb9ce"),e=e(),SelectField_vue_vue_type_style_index_0_lang.popScopeId(),e),_hoisted_1=_withScopeId(()=>SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",{id:"fresh-booking-payment-checkout"},null,-1)),_hoisted_2=[_hoisted_1],_sfc_main=SelectField_vue_vue_type_style_index_0_lang.defineComponent({__name:"CheckoutWindow",setup(e){const{paymentGatewayId:t}=SelectField_vue_vue_type_style_index_0_lang.storeToRefs(SelectField_vue_vue_type_style_index_0_lang.useUtilityStore());return SelectField_vue_vue_type_style_index_0_lang.onMounted(()=>{const n=document.createElement("script"),i=document.createElement("script");n.setAttribute("src","https://checkout.dibspayment.eu/v1/checkout.js?v=1"),i.setAttribute("src","https://checkout.reepay.com/checkout.js"),document.head.appendChild(n),document.head.appendChild(i)}),(n,i)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("div",null,[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",{id:"fresh-booking-payment-checkout-wrapper",class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass({reePay:SelectField_vue_vue_type_style_index_0_lang.unref(t)===SelectField_vue_vue_type_style_index_0_lang.unref(SelectField_vue_vue_type_style_index_0_lang.PaymentGateway).ReePay})},_hoisted_2,2)]))}}),CheckoutWindow_vue_vue_type_style_index_0_scoped_340cb9ce_lang="",CheckoutWindow=SelectField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main,[["__scopeId","data-v-340cb9ce"]]);var a=Object.defineProperty,c=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o=(e,t,n)=>(c(e,typeof t!="symbol"?t+"":t,n),n);const namespace="@@vue3-sticky-directive",events=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],batchStyle=(e,t={},n={})=>{for(let i in t)e.style[i]=t[i];for(let i in n)n[i]&&!e.classList.contains(i)?e.classList.add(i):!n[i]&&e.classList.contains(i)&&e.classList.remove(i)};class Sticky{constructor(e,t){o(this,"el"),o(this,"vm"),o(this,"unSubscribers"),o(this,"isPending"),o(this,"state"),o(this,"lastState"),o(this,"options"),o(this,"placeholderEl"),o(this,"containerEl"),this.el=e,this.vm=t,this.unSubscribers=[],this.isPending=!1,this.state={isTopSticky:null,isBottomSticky:null,height:null,width:null,xOffset:null},this.lastState={top:null,bottom:null,sticked:!1};const n=this.getAttribute("sticky-offset")||{},i=this.getAttribute("sticky-side")||"top",r=this.getAttribute("sticky-z-index")||"10",l=this.getAttribute("on-stick")||null;this.options={topOffset:Number(n.top)||0,bottomOffset:Number(n.bottom)||0,shouldTopSticky:i==="top"||i==="both",shouldBottomSticky:i==="bottom"||i==="both",zIndex:r,onStick:l}}doBind(){if(this.unSubscribers.length>0)return;const{el:e,vm:t}=this;t.$nextTick(()=>{this.placeholderEl=document.createElement("div"),this.containerEl=this.getContainerEl(),e.parentElement.insertBefore(this.placeholderEl,e),events.forEach(n=>{const i=this.update.bind(this);this.unSubscribers.push(()=>window.removeEventListener(n,i)),this.unSubscribers.push(()=>this.containerEl.removeEventListener(n,i)),window.addEventListener(n,i,{passive:!0}),this.containerEl.addEventListener(n,i,{passive:!0})})})}doUnbind(){this.unSubscribers.forEach(e=>e()),this.unSubscribers=[],this.resetElement()}update(){this.isPending||(requestAnimationFrame(()=>{this.isPending=!1,this.recomputeState(),this.updateElements()}),this.isPending=!0)}isTopSticky(){if(!this.options.shouldTopSticky)return!1;const e=this.state.placeholderElRect.top,t=this.state.containerElRect.bottom,n=this.options.topOffset,i=this.options.bottomOffset;return e<=n&&t>=i}isBottomSticky(){if(!this.options.shouldBottomSticky)return!1;const e=window.innerHeight-this.state.placeholderElRect.top-this.state.height,t=window.innerHeight-this.state.containerElRect.top,n=this.options.topOffset,i=this.options.bottomOffset;return e<=i&&t>=n}recomputeState(){this.state=Object.assign({},this.state,{height:this.getHeight(),width:this.getWidth(),xOffset:this.getXOffset(),placeholderElRect:this.getPlaceholderElRect(),containerElRect:this.getContainerElRect()}),this.state.isTopSticky=this.isTopSticky(),this.state.isBottomSticky=this.isBottomSticky()}fireEvents(){typeof this.options.onStick=="function"&&(this.lastState.top!==this.state.isTopSticky||this.lastState.bottom!==this.state.isBottomSticky||this.lastState.sticked!==(this.state.isTopSticky||this.state.isBottomSticky))&&(this.lastState={top:this.state.isTopSticky,bottom:this.state.isBottomSticky,sticked:this.state.isBottomSticky||this.state.isTopSticky},this.options.onStick(this.lastState))}updateElements(){const e={paddingTop:0},t={position:"static",top:"auto",bottom:"auto",left:"auto",width:"auto",zIndex:this.options.zIndex},n={"vue-sticky-placeholder":!0},i={"vue-sticky-el":!0,"top-sticky":!1,"bottom-sticky":!1};if(this.state.isTopSticky){t.position="fixed",t.top=this.options.topOffset+"px",t.left=this.state.xOffset+"px",t.width=this.state.width+"px";const r=this.state.containerElRect.bottom-this.state.height-this.options.bottomOffset-this.options.topOffset;r<0&&(t.top=r+this.options.topOffset+"px"),e.paddingTop=this.state.height+"px",i["top-sticky"]=!0}else if(this.state.isBottomSticky){t.position="fixed",t.bottom=this.options.bottomOffset+"px",t.left=this.state.xOffset+"px",t.width=this.state.width+"px";const r=window.innerHeight-this.state.containerElRect.top-this.state.height-this.options.bottomOffset-this.options.topOffset;r<0&&(t.bottom=r+this.options.bottomOffset+"px"),e.paddingTop=this.state.height+"px",i["bottom-sticky"]=!0}else e.paddingTop=0;batchStyle(this.el,t,i),batchStyle(this.placeholderEl,e,n),this.fireEvents()}resetElement(){["position","top","bottom","left","width","zIndex"].forEach(t=>{this.el.style.removeProperty(t)}),this.el.classList.remove("bottom-sticky","top-sticky");const{parentElement:e}=this.placeholderEl;e&&e.removeChild(this.placeholderEl)}getContainerEl(){let e=this.el.parentElement;for(;e&&e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1;){if(e.hasAttribute("sticky-container"))return e;e=e.parentElement}return this.el.parentElement}getXOffset(){return this.placeholderEl.getBoundingClientRect().left}getWidth(){return this.placeholderEl.getBoundingClientRect().width}getHeight(){return this.el.getBoundingClientRect().height}getPlaceholderElRect(){return this.placeholderEl.getBoundingClientRect()}getContainerElRect(){return this.containerEl.getBoundingClientRect()}getAttribute(name){const expr=this.el.getAttribute(name);let result;if(expr)if(this.vm[expr])result=this.vm[expr];else try{result=eval(`(${expr})`)}catch(e){result=expr}return result}}const Sticky$1={mounted(e,t){(typeof t.value>"u"||t.value)&&(e[namespace]=new Sticky(e,t.instance),e[namespace].doBind())},unmounted(e){e[namespace]&&(e[namespace].doUnbind(),e[namespace]=void 0)},updated(e,t){typeof t.value>"u"||t.value?(e[namespace]||(e[namespace]=new Sticky(e,t.instance)),e[namespace].doBind()):e[namespace]&&e[namespace].doUnbind()}},StickyPlugin={install(e){e.directive("Sticky",Sticky$1)}};exports.Checkbox=Checkbox;exports.CheckoutWindow=CheckoutWindow;exports.PhoneField=PhoneField;exports.StickyPlugin=StickyPlugin;exports._sfc_main=_sfc_main$1;exports.event=event;exports.install=install;exports.setOptions=setOptions;
1
+ "use strict";const SelectField_vue_vue_type_style_index_0_lang=require("./SelectField.vue_vue_type_style_index_0_lang-f2eadc00.cjs");function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(i){_defineProperty(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}var load=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(i,r){if(!(typeof document>"u")){var l=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");if(s.async=!0,s.src=t,s.defer=n.defer,n.preconnectOrigin){var u=document.createElement("link");u.href=n.preconnectOrigin,u.rel="preconnect",l.appendChild(u)}l.appendChild(s),s.onload=i,s.onerror=r}})},mergeDeep=function e(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];if(!i.length)return t;var l=i.shift();if(!(!SelectField_vue_vue_type_style_index_0_lang.isPlainObject(t)||!SelectField_vue_vue_type_style_index_0_lang.isPlainObject(l))){for(var s in l)SelectField_vue_vue_type_style_index_0_lang.isPlainObject(l[s])?(t[s]||Object.assign(t,_defineProperty({},s,{})),e(t[s],l[s])):Object.assign(t,_defineProperty({},s,l[s]));return e.apply(void 0,[t].concat(i))}},isBrowser=function(){return!(typeof window>"u"||typeof document>"u")},warn=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;isBrowser()},validateScreenviewShape=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return warn('Missing "appName" property inside the plugin options.',t.app_name==null),warn('Missing "name" property in the route.',t.screen_name==null),t};function getPathWithBase(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e.split("/"),i=t.split("/");return n[0]===""&&t[t.length-1]==="/"&&n.shift(),i.join("/")+n.join("/")}var getDefaultParams=function(){return{bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}}},params={},setOptions=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=getDefaultParams();params=mergeDeep(n,t)},getOptions=function(){return params},query=function(){var e,t=getOptions(),n=t.globalObjectName;!isBrowser()||typeof window[n]>"u"||(e=window)[n].apply(e,arguments)},config=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=getOptions(),r=i.config,l=i.includes;query.apply(void 0,["config",r.id].concat(t)),Array.isArray(l)&&l.forEach(function(s){query.apply(void 0,["config",s.id].concat(t))})},assignGlobalProperty=function(t,n){isBrowser()&&(window["ga-disable-".concat(t)]=n)},disable=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=getOptions(),n=t.config,i=t.includes;assignGlobalProperty(n.id,e),Array.isArray(i)&&i.forEach(function(r){return assignGlobalProperty(r.id,e)})},optOut=function(){disable(!0)},optIn=function(){disable(!1)},router,setRouter=function(t){router=t},getRouter=function(){return router},event=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=getOptions(),i=n.includes,r=n.defaultGroupName;t.send_to==null&&Array.isArray(i)&&i.length&&(t.send_to=i.map(function(l){return l.id}).concat(r)),query("event",e,t)},pageview=function(e){if(isBrowser()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var n=getOptions(),i=n.pageTrackerUseFullPath,r=n.pageTrackerPrependBase,l=getRouter(),s=l&&l.options.base,u=i?e.fullPath:e.path;t=_objectSpread2(_objectSpread2({},e.name&&{page_title:e.name}),{},{page_path:r?getPathWithBase(u,s):u})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),event("page_view",t)}},screenview=function(e){var t=getOptions(),n=t.appName;if(e){var i;typeof e=="string"?i={screen_name:e}:i=e,i.app_name=i.app_name||n,event("screen_view",i)}},exception=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];event.apply(void 0,["exception"].concat(t))},linker=function(e){config("linker",e)},time=function(e){event("timing_complete",e)},set=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];query.apply(void 0,["set"].concat(t))},refund=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];event.apply(void 0,["refund"].concat(t))},purchase=function(e){event("purchase",e)},customMap=function(e){config({custom_map:e})},api=Object.freeze({__proto__:null,query,config,optOut,optIn,pageview,screenview,exception,linker,time,set,refund,purchase,customMap,event}),attachApi=function(t){t.config.globalProperties.$gtag=api},registerGlobals=function(){if(isBrowser()){var e=getOptions(),t=e.enabled,n=e.globalObjectName,i=e.globalDataLayerName;return window[n]==null&&(window[i]=window[i]||[],window[n]=function(){window[i].push(arguments)}),window[n]("js",new Date),t||optOut(),window[n]}},mergeDefaultParams=function(t){return _objectSpread2({send_page_view:!1},t)},addConfiguration=function(){var e=getOptions(),t=e.config,n=e.includes;query("config",t.id,mergeDefaultParams(t.params)),Array.isArray(n)&&n.forEach(function(i){query("config",i.id,mergeDefaultParams(i.params))})},track=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=getOptions(),i=n.appName,r=n.pageTrackerTemplate,l=n.pageTrackerScreenviewEnabled,s=n.pageTrackerSkipSamePath;if(!(s&&e.path===t.path)){var u=e;if(SelectField_vue_vue_type_style_index_0_lang.isFunction(r)?u=r(e,t):l&&(u=validateScreenviewShape({app_name:i,screen_name:e.name})),l){screenview(u);return}pageview(u)}},isRouteExcluded=function(t){var n=getOptions(),i=n.pageTrackerExcludedRoutes;return i.includes(t.path)||i.includes(t.name)},addRoutesTracker=function(){var e=getOptions(),t=e.onBeforeTrack,n=e.onAfterTrack,i=getRouter();i.isReady().then(function(){SelectField_vue_vue_type_style_index_0_lang.nextTick().then(function(){var r=i.currentRoute;addConfiguration(),!isRouteExcluded(r.value)&&track(r.value)}),i.afterEach(function(r,l){SelectField_vue_vue_type_style_index_0_lang.nextTick().then(function(){isRouteExcluded(r)||(SelectField_vue_vue_type_style_index_0_lang.isFunction(t)&&t(r,l),track(r,l),SelectField_vue_vue_type_style_index_0_lang.isFunction(n)&&n(r,l))})})})},bootstrap=function(){var e=getOptions(),t=e.onReady,n=e.onError,i=e.globalObjectName,r=e.globalDataLayerName,l=e.config,s=e.customResourceURL,u=e.customPreconnectOrigin,_=e.deferScriptLoad,d=e.pageTrackerEnabled,p=e.disableScriptLoad,v=!!(d&&getRouter());if(registerGlobals(),v?addRoutesTracker():addConfiguration(),!p)return load("".concat(s,"?id=").concat(l.id,"&l=").concat(r),{preconnectOrigin:u,defer:_}).then(function(){t&&t(window[i])}).catch(function(g){return n&&n(g),g})},install=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;attachApi(t),setOptions(n),setRouter(i),getOptions().bootstrap&&bootstrap()};const _hoisted_1$3={class:"fresh-booking-phone-input"},_sfc_main$3=SelectField_vue_vue_type_style_index_0_lang.defineComponent({__name:"PhoneField",props:{modelValue:{},label:{},id:{},placeholder:{},icon:{default:"phone-office"},iconColor:{},iconType:{default:"fal"},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputStyle:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,i=e,r=i.id||SelectField_vue_vue_type_style_index_0_lang.ranId(),l=SelectField_vue_vue_type_style_index_0_lang.ref("+45"),s=SelectField_vue_vue_type_style_index_0_lang.ref("");function u(){n("update:modelValue",`${l.value} ${s.value}`)}return SelectField_vue_vue_type_style_index_0_lang.onMounted(()=>{if(i.modelValue){const _=i.modelValue.split(" ");l.value=_[0],s.value=_[1]}}),(_,d)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createBlock(SelectField_vue_vue_type_style_index_0_lang.InputField,{label:_.label,id:SelectField_vue_vue_type_style_index_0_lang.unref(r),type:"phone",required:_.required,readonly:_.readonly},{default:SelectField_vue_vue_type_style_index_0_lang.withCtx(()=>[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",_hoisted_1$3,[SelectField_vue_vue_type_style_index_0_lang.createVNode(SelectField_vue_vue_type_style_index_0_lang.TextField,{modelValue:l.value,"onUpdate:modelValue":d[0]||(d[0]=p=>l.value=p),type:"text",id:SelectField_vue_vue_type_style_index_0_lang.unref(SelectField_vue_vue_type_style_index_0_lang.ranId)(),name:"phone-code",autocomplete:"tel-country-code",icon:_.icon,"icon-color":_.iconColor,"icon-type":_.iconType,placeholder:"+45",required:_.required,readonly:_.readonly,"input-style":_.inputStyle,onInput:d[1]||(d[1]=p=>u())},null,8,["modelValue","id","icon","icon-color","icon-type","required","readonly","input-style"]),SelectField_vue_vue_type_style_index_0_lang.createVNode(SelectField_vue_vue_type_style_index_0_lang.TextField,{modelValue:s.value,"onUpdate:modelValue":d[2]||(d[2]=p=>s.value=p),type:"number",name:"phone",autocomplete:"tel-national",id:SelectField_vue_vue_type_style_index_0_lang.unref(r),placeholder:_.placeholder,required:_.required,readonly:_.readonly,"input-style":_.inputStyle,onInput:d[3]||(d[3]=p=>u())},null,8,["modelValue","id","placeholder","required","readonly","input-style"])])]),_:1},8,["label","id","required","readonly"]))}}),PhoneField_vue_vue_type_style_index_0_scoped_5cd094ab_lang="",PhoneField=SelectField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main$3,[["__scopeId","data-v-5cd094ab"]]),_hoisted_1$2=["required","type","name","readonly","disabled","value","checked"],_hoisted_2$2=["data-test"],_hoisted_3={key:0},_sfc_main$2=SelectField_vue_vue_type_style_index_0_lang.defineComponent({__name:"Checkbox",props:{modelValue:{type:[String,Boolean,Number]},numeric:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},label:{},price:{},name:{},readonly:{type:Boolean,default:!1},type:{default:"checkbox"},required:{type:Boolean,default:!1},inputStyle:{},val:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,i=t;function r(){n.readonly!==!0&&i("update:modelValue",n.type==="radio"?n.val:n.numeric?n.modelValue?0:1:!n.modelValue)}return(l,s)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createBlock(SelectField_vue_vue_type_style_index_0_lang.InputField,{required:l.required,type:l.type,readonly:l.readonly},{default:SelectField_vue_vue_type_style_index_0_lang.withCtx(()=>[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("label",{class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box-container",{"is-readonly":l.readonly},{"has-label":l.label},l.type==="radio"?"radio":"checkbox"])},[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("input",SelectField_vue_vue_type_style_index_0_lang.mergeProps(l.$attrs,{required:!!l.required,type:l.type,name:l.name,class:"hidden",readonly:!!l.readonly,disabled:!!l.readonly,value:l.type==="radio"?l.val:l.modelValue,checked:l.type==="radio"?l.val===l.modelValue:!!l.modelValue,onChange:s[0]||(s[0]=u=>r())}),null,16,_hoisted_1$2),SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",{class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box",{checked:l.type==="radio"?l.val===l.modelValue:!!l.modelValue}]),tabindex:"0",style:SelectField_vue_vue_type_style_index_0_lang.normalizeStyle(l.inputStyle),"data-test":l.name,onKeyup:s[1]||(s[1]=SelectField_vue_vue_type_style_index_0_lang.withKeys(u=>r(),["enter"]))},null,46,_hoisted_2$2),l.label?(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("div",{key:0,class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass(["fresh-booking-click-box-label",{"with-price":l.price}])},[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("span",null,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(l.label),1),l.price?(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("span",_hoisted_3,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(l.price),1)):SelectField_vue_vue_type_style_index_0_lang.createCommentVNode("",!0)],2)):SelectField_vue_vue_type_style_index_0_lang.createCommentVNode("",!0)],2)]),_:1},8,["required","type","readonly"]))}}),Checkbox_vue_vue_type_style_index_0_scoped_7ef656cb_lang="",Checkbox=SelectField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main$2,[["__scopeId","data-v-7ef656cb"]]),_hoisted_1$1={href:"https://policies.google.com/privacy"},_hoisted_2$1={href:"https://policies.google.com/terms"},_sfc_main$1=SelectField_vue_vue_type_style_index_0_lang.defineComponent({__name:"GoogleNotice",setup(e){const{t}=SelectField_vue_vue_type_style_index_0_lang.useI18n();return(n,i)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("span",null,[SelectField_vue_vue_type_style_index_0_lang.createTextVNode(SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleNotice"))+" ",1),SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("a",_hoisted_1$1,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googlePrivacyPolicy")),1),SelectField_vue_vue_type_style_index_0_lang.createTextVNode(" "+SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleAnd"))+" ",1),SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("a",_hoisted_2$1,SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleTOS")),1),SelectField_vue_vue_type_style_index_0_lang.createTextVNode(" "+SelectField_vue_vue_type_style_index_0_lang.toDisplayString(SelectField_vue_vue_type_style_index_0_lang.unref(t)("googleApply"))+". ",1)]))}});function block0(e){const t=e;t.__i18n=t.__i18n||[],t.__i18n.push({locale:"",resource:{da:{googleNotice:n=>{const{normalize:i}=n;return i(["Denne side er beskyttet af reCAPTCHA og Google's"])},googlePrivacyPolicy:n=>{const{normalize:i}=n;return i(["Privatlivspolitik"])},googleAnd:n=>{const{normalize:i}=n;return i(["og"])},googleTOS:n=>{const{normalize:i}=n;return i(["Servicevilkår"])},googleApply:n=>{const{normalize:i}=n;return i(["er gældende"])}},en:{googleNotice:n=>{const{normalize:i}=n;return i(["This site is protected by reCAPTCHA and the Google"])},googlePrivacyPolicy:n=>{const{normalize:i}=n;return i(["Privacy Policy"])},googleAnd:n=>{const{normalize:i}=n;return i(["and"])},googleTOS:n=>{const{normalize:i}=n;return i(["Terms of Service"])},googleApply:n=>{const{normalize:i}=n;return i(["apply"])}}}})}typeof block0=="function"&&block0(_sfc_main$1);const _withScopeId=e=>(SelectField_vue_vue_type_style_index_0_lang.pushScopeId("data-v-340cb9ce"),e=e(),SelectField_vue_vue_type_style_index_0_lang.popScopeId(),e),_hoisted_1=_withScopeId(()=>SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",{id:"fresh-booking-payment-checkout"},null,-1)),_hoisted_2=[_hoisted_1],_sfc_main=SelectField_vue_vue_type_style_index_0_lang.defineComponent({__name:"CheckoutWindow",setup(e){const{paymentGatewayId:t}=SelectField_vue_vue_type_style_index_0_lang.storeToRefs(SelectField_vue_vue_type_style_index_0_lang.useUtilityStore());return SelectField_vue_vue_type_style_index_0_lang.onMounted(()=>{const n=document.createElement("script"),i=document.createElement("script");n.setAttribute("src","https://checkout.dibspayment.eu/v1/checkout.js?v=1"),i.setAttribute("src","https://checkout.reepay.com/checkout.js"),document.head.appendChild(n),document.head.appendChild(i)}),(n,i)=>(SelectField_vue_vue_type_style_index_0_lang.openBlock(),SelectField_vue_vue_type_style_index_0_lang.createElementBlock("div",null,[SelectField_vue_vue_type_style_index_0_lang.createBaseVNode("div",{id:"fresh-booking-payment-checkout-wrapper",class:SelectField_vue_vue_type_style_index_0_lang.normalizeClass({reePay:SelectField_vue_vue_type_style_index_0_lang.unref(t)===SelectField_vue_vue_type_style_index_0_lang.unref(SelectField_vue_vue_type_style_index_0_lang.PaymentGateway).ReePay})},_hoisted_2,2)]))}}),CheckoutWindow_vue_vue_type_style_index_0_scoped_340cb9ce_lang="",CheckoutWindow=SelectField_vue_vue_type_style_index_0_lang._export_sfc(_sfc_main,[["__scopeId","data-v-340cb9ce"]]);var a=Object.defineProperty,c=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o=(e,t,n)=>(c(e,typeof t!="symbol"?t+"":t,n),n);const namespace="@@vue3-sticky-directive",events=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],batchStyle=(e,t={},n={})=>{for(let i in t)e.style[i]=t[i];for(let i in n)n[i]&&!e.classList.contains(i)?e.classList.add(i):!n[i]&&e.classList.contains(i)&&e.classList.remove(i)};class Sticky{constructor(e,t){o(this,"el"),o(this,"vm"),o(this,"unSubscribers"),o(this,"isPending"),o(this,"state"),o(this,"lastState"),o(this,"options"),o(this,"placeholderEl"),o(this,"containerEl"),this.el=e,this.vm=t,this.unSubscribers=[],this.isPending=!1,this.state={isTopSticky:null,isBottomSticky:null,height:null,width:null,xOffset:null},this.lastState={top:null,bottom:null,sticked:!1};const n=this.getAttribute("sticky-offset")||{},i=this.getAttribute("sticky-side")||"top",r=this.getAttribute("sticky-z-index")||"10",l=this.getAttribute("on-stick")||null;this.options={topOffset:Number(n.top)||0,bottomOffset:Number(n.bottom)||0,shouldTopSticky:i==="top"||i==="both",shouldBottomSticky:i==="bottom"||i==="both",zIndex:r,onStick:l}}doBind(){if(this.unSubscribers.length>0)return;const{el:e,vm:t}=this;t.$nextTick(()=>{this.placeholderEl=document.createElement("div"),this.containerEl=this.getContainerEl(),e.parentElement.insertBefore(this.placeholderEl,e),events.forEach(n=>{const i=this.update.bind(this);this.unSubscribers.push(()=>window.removeEventListener(n,i)),this.unSubscribers.push(()=>this.containerEl.removeEventListener(n,i)),window.addEventListener(n,i,{passive:!0}),this.containerEl.addEventListener(n,i,{passive:!0})})})}doUnbind(){this.unSubscribers.forEach(e=>e()),this.unSubscribers=[],this.resetElement()}update(){this.isPending||(requestAnimationFrame(()=>{this.isPending=!1,this.recomputeState(),this.updateElements()}),this.isPending=!0)}isTopSticky(){if(!this.options.shouldTopSticky)return!1;const e=this.state.placeholderElRect.top,t=this.state.containerElRect.bottom,n=this.options.topOffset,i=this.options.bottomOffset;return e<=n&&t>=i}isBottomSticky(){if(!this.options.shouldBottomSticky)return!1;const e=window.innerHeight-this.state.placeholderElRect.top-this.state.height,t=window.innerHeight-this.state.containerElRect.top,n=this.options.topOffset,i=this.options.bottomOffset;return e<=i&&t>=n}recomputeState(){this.state=Object.assign({},this.state,{height:this.getHeight(),width:this.getWidth(),xOffset:this.getXOffset(),placeholderElRect:this.getPlaceholderElRect(),containerElRect:this.getContainerElRect()}),this.state.isTopSticky=this.isTopSticky(),this.state.isBottomSticky=this.isBottomSticky()}fireEvents(){typeof this.options.onStick=="function"&&(this.lastState.top!==this.state.isTopSticky||this.lastState.bottom!==this.state.isBottomSticky||this.lastState.sticked!==(this.state.isTopSticky||this.state.isBottomSticky))&&(this.lastState={top:this.state.isTopSticky,bottom:this.state.isBottomSticky,sticked:this.state.isBottomSticky||this.state.isTopSticky},this.options.onStick(this.lastState))}updateElements(){const e={paddingTop:0},t={position:"static",top:"auto",bottom:"auto",left:"auto",width:"auto",zIndex:this.options.zIndex},n={"vue-sticky-placeholder":!0},i={"vue-sticky-el":!0,"top-sticky":!1,"bottom-sticky":!1};if(this.state.isTopSticky){t.position="fixed",t.top=this.options.topOffset+"px",t.left=this.state.xOffset+"px",t.width=this.state.width+"px";const r=this.state.containerElRect.bottom-this.state.height-this.options.bottomOffset-this.options.topOffset;r<0&&(t.top=r+this.options.topOffset+"px"),e.paddingTop=this.state.height+"px",i["top-sticky"]=!0}else if(this.state.isBottomSticky){t.position="fixed",t.bottom=this.options.bottomOffset+"px",t.left=this.state.xOffset+"px",t.width=this.state.width+"px";const r=window.innerHeight-this.state.containerElRect.top-this.state.height-this.options.bottomOffset-this.options.topOffset;r<0&&(t.bottom=r+this.options.bottomOffset+"px"),e.paddingTop=this.state.height+"px",i["bottom-sticky"]=!0}else e.paddingTop=0;batchStyle(this.el,t,i),batchStyle(this.placeholderEl,e,n),this.fireEvents()}resetElement(){["position","top","bottom","left","width","zIndex"].forEach(t=>{this.el.style.removeProperty(t)}),this.el.classList.remove("bottom-sticky","top-sticky");const{parentElement:e}=this.placeholderEl;e&&e.removeChild(this.placeholderEl)}getContainerEl(){let e=this.el.parentElement;for(;e&&e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1;){if(e.hasAttribute("sticky-container"))return e;e=e.parentElement}return this.el.parentElement}getXOffset(){return this.placeholderEl.getBoundingClientRect().left}getWidth(){return this.placeholderEl.getBoundingClientRect().width}getHeight(){return this.el.getBoundingClientRect().height}getPlaceholderElRect(){return this.placeholderEl.getBoundingClientRect()}getContainerElRect(){return this.containerEl.getBoundingClientRect()}getAttribute(name){const expr=this.el.getAttribute(name);let result;if(expr)if(this.vm[expr])result=this.vm[expr];else try{result=eval(`(${expr})`)}catch(e){result=expr}return result}}const Sticky$1={mounted(e,t){(typeof t.value>"u"||t.value)&&(e[namespace]=new Sticky(e,t.instance),e[namespace].doBind())},unmounted(e){e[namespace]&&(e[namespace].doUnbind(),e[namespace]=void 0)},updated(e,t){typeof t.value>"u"||t.value?(e[namespace]||(e[namespace]=new Sticky(e,t.instance)),e[namespace].doBind()):e[namespace]&&e[namespace].doUnbind()}},StickyPlugin={install(e){e.directive("Sticky",Sticky$1)}};exports.Checkbox=Checkbox;exports.CheckoutWindow=CheckoutWindow;exports.PhoneField=PhoneField;exports.StickyPlugin=StickyPlugin;exports._sfc_main=_sfc_main$1;exports.event=event;exports.install=install;exports.setOptions=setOptions;