@konnectio/core 4.0.56-rc19 → 4.0.56-rc20
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.
- package/dist/{ActionField-SoLtWqv-.js → ActionField-8hkjdoF_.js} +1 -1
- package/dist/ActionField-8hkjdoF_.js.br +0 -0
- package/dist/{AvailabilitySkeleton-vLBEsPhk.js → AvailabilitySkeleton-K35mnVjA.js} +3 -3
- package/dist/AvailabilitySkeleton-K35mnVjA.js.br +0 -0
- package/dist/{CheckoutWindow-v23Af_0q.js → CheckoutWindow-bgpWiBAd.js} +1 -1
- package/dist/CheckoutWindow-bgpWiBAd.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-HnnQE6ON.js → DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js.br +0 -0
- package/dist/{Field-59AK0-lw.js → Field-FbUrCgmJ.js} +1 -1
- package/dist/Field-FbUrCgmJ.js.br +0 -0
- package/dist/{ThankYou-dixbgDbP.js → ThankYou-tb7LP48E.js} +917 -902
- package/dist/ThankYou-tb7LP48E.js.br +0 -0
- package/dist/{_-GfE9UQpz.js → _-5tXWGiwV.js} +8 -8
- package/dist/_-5tXWGiwV.js.br +0 -0
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/{event-Cq8-zJpN.js → event-36Kem6rb.js} +7 -7
- package/dist/event-36Kem6rb.js.br +0 -0
- package/dist/event.js +6 -6
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +3 -3
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +4 -4
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +182 -182
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-SoLtWqv-.js.br +0 -0
- package/dist/AvailabilitySkeleton-vLBEsPhk.js.br +0 -0
- package/dist/CheckoutWindow-v23Af_0q.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-HnnQE6ON.js.br +0 -0
- package/dist/Field-59AK0-lw.js.br +0 -0
- package/dist/ThankYou-dixbgDbP.js.br +0 -0
- package/dist/_-GfE9UQpz.js.br +0 -0
- package/dist/event-Cq8-zJpN.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { k as j, B as re, am as ao, s as Q, c as me, D as gt, F as se, o as E, m as R, M as lo, p as s, w as x, ac as Pe, n as y, P as V, a2 as ne, R as Ze, an as uo, x as I, Y as z, K as B, y as P, $ as Fe, ao as ue, t as C, N as K, W as ie, f as q, _ as Ce, a5 as vt, a6 as yt, v as
|
|
2
|
-
import { R as To, B as je, a as Co, S as Io, M as $o, T as So, G as Vo } from "./ThankYou-
|
|
3
|
-
import { A as Lo, H as Po } from "./AvailabilitySkeleton-
|
|
4
|
-
import { _ as wo } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { C as Ne, P as xo, a as Oo } from "./CheckoutWindow-
|
|
1
|
+
import { k as j, B as re, am as ao, s as Q, c as me, D as gt, F as se, o as E, m as R, M as lo, p as s, w as x, ac as Pe, n as y, P as V, a2 as ne, R as Ze, an as uo, x as I, Y as z, K as B, y as P, $ as Fe, ao as ue, t as C, N as K, W as ie, f as q, _ as Ce, a5 as vt, a6 as yt, v as X, r as ce, ap as bt, H as Ge, G as _e, q as kt, C as le, aq as co, X as po, A as Ee, I as _t, l as et, T as oe, z as Y, ar as ho, a4 as fo, ab as mo, a0 as go, L as tt, J as N, a3 as vo, as as Et, at as yo, a7 as bo, a8 as ko, a9 as _o, aa as Eo } from "./_-5tXWGiwV.js";
|
|
2
|
+
import { R as To, B as je, a as Co, S as Io, M as $o, T as So, G as Vo } from "./ThankYou-tb7LP48E.js";
|
|
3
|
+
import { A as Lo, H as Po } from "./AvailabilitySkeleton-K35mnVjA.js";
|
|
4
|
+
import { _ as wo } from "./DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js";
|
|
5
|
+
import { C as Ne, P as xo, a as Oo } from "./CheckoutWindow-bgpWiBAd.js";
|
|
6
6
|
import { c as Tt, g as Ct } from "./_commonjsHelpers-f3sTPFkQ.js";
|
|
7
|
-
import "./ActionField-
|
|
8
|
-
import "./Field-
|
|
7
|
+
import "./ActionField-8hkjdoF_.js";
|
|
8
|
+
import "./Field-FbUrCgmJ.js";
|
|
9
9
|
const Ao = { key: 0 }, Ho = { key: 1 }, we = /* @__PURE__ */ j({
|
|
10
10
|
__name: "HotelReservationForm",
|
|
11
11
|
props: {
|
|
@@ -76,12 +76,12 @@ const Ao = { key: 0 }, Ho = { key: 1 }, we = /* @__PURE__ */ j({
|
|
|
76
76
|
y("h6", null, [
|
|
77
77
|
y("span", null, V(A), 1)
|
|
78
78
|
]),
|
|
79
|
-
(E(!0), I(B, null, z(F, (
|
|
80
|
-
(E(!0), I(B, null, z(
|
|
79
|
+
(E(!0), I(B, null, z(F, (J, ae) => (E(), I("div", { key: ae }, [
|
|
80
|
+
(E(!0), I(B, null, z(J.rooms, (G, Ie) => (E(), I("ul", { key: Ie }, [
|
|
81
81
|
y("li", null, [
|
|
82
82
|
y("span", null, [
|
|
83
83
|
y("span", null, [
|
|
84
|
-
Fe(V(s(ue)(
|
|
84
|
+
Fe(V(s(ue)(J.name)) + " ( ", 1),
|
|
85
85
|
C(K, {
|
|
86
86
|
icon: "male",
|
|
87
87
|
type: "fas",
|
|
@@ -217,7 +217,7 @@ const Ao = { key: 0 }, Ho = { key: 1 }, we = /* @__PURE__ */ j({
|
|
|
217
217
|
_: 1
|
|
218
218
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
219
219
|
}
|
|
220
|
-
}), Uo = /* @__PURE__ */
|
|
220
|
+
}), Uo = /* @__PURE__ */ X(qo, [["__scopeId", "data-v-69fe83d8"]]), Go = { class: "konnectio-availability-listing-selection" }, jo = { key: 1 }, Yo = { class: "fresh-booking-listing-config-body" }, Ko = { class: "fresh-booking-listing-units-body" };
|
|
221
221
|
const Qo = /* @__PURE__ */ j({
|
|
222
222
|
__name: "Hotel",
|
|
223
223
|
props: {
|
|
@@ -356,7 +356,7 @@ const Qo = /* @__PURE__ */ j({
|
|
|
356
356
|
_: 1
|
|
357
357
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
358
358
|
}
|
|
359
|
-
}), Jo = /* @__PURE__ */
|
|
359
|
+
}), Jo = /* @__PURE__ */ X(Qo, [["__scopeId", "data-v-0c06b41d"]]), Xo = { class: "konnectio-template-side-panel" }, Zo = { class: "konnectio-template-side-panel-listings" }, en = /* @__PURE__ */ j({
|
|
360
360
|
__name: "Template",
|
|
361
361
|
props: {
|
|
362
362
|
title: {},
|
|
@@ -410,7 +410,7 @@ const Qo = /* @__PURE__ */ j({
|
|
|
410
410
|
_: 1
|
|
411
411
|
}, 8, ["title", "subtitle"]));
|
|
412
412
|
}
|
|
413
|
-
}), tn = /* @__PURE__ */
|
|
413
|
+
}), tn = /* @__PURE__ */ X(en, [["__scopeId", "data-v-4c035ea3"]]), on = ["innerHTML"], ot = /* @__PURE__ */ j({
|
|
414
414
|
__name: "Template",
|
|
415
415
|
props: {
|
|
416
416
|
id: {},
|
|
@@ -479,7 +479,7 @@ const Qo = /* @__PURE__ */ j({
|
|
|
479
479
|
_: 1
|
|
480
480
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date", "prices-from"]));
|
|
481
481
|
}
|
|
482
|
-
}),
|
|
482
|
+
}), nt = /* @__PURE__ */ j({
|
|
483
483
|
__name: "TimeField",
|
|
484
484
|
props: {
|
|
485
485
|
modelValue: {},
|
|
@@ -526,7 +526,7 @@ const Qo = /* @__PURE__ */ j({
|
|
|
526
526
|
readonly: h.readonly
|
|
527
527
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
528
528
|
}
|
|
529
|
-
}),
|
|
529
|
+
}), nn = { style: { display: "flex", "align-items": "baseline" } }, rn = /* @__PURE__ */ j({
|
|
530
530
|
__name: "CountryField",
|
|
531
531
|
props: {
|
|
532
532
|
modelValue: {},
|
|
@@ -563,7 +563,7 @@ const Qo = /* @__PURE__ */ j({
|
|
|
563
563
|
y("span", null, V(u.name), 1)
|
|
564
564
|
]),
|
|
565
565
|
"selected-option": x(({ data: u }) => [
|
|
566
|
-
y("div",
|
|
566
|
+
y("div", nn, [
|
|
567
567
|
y("i", {
|
|
568
568
|
class: Ee(["konnectio-flag-icon", u.iso])
|
|
569
569
|
}, null, 2),
|
|
@@ -573,7 +573,7 @@ const Qo = /* @__PURE__ */ j({
|
|
|
573
573
|
_: 1
|
|
574
574
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
575
575
|
}
|
|
576
|
-
}),
|
|
576
|
+
}), sn = /* @__PURE__ */ X(rn, [["__scopeId", "data-v-1462612d"]]), an = { class: "konnectio-radio-checkboxes" }, ln = /* @__PURE__ */ j({
|
|
577
577
|
__name: "CheckboxField",
|
|
578
578
|
props: {
|
|
579
579
|
modelValue: {},
|
|
@@ -596,7 +596,7 @@ const Qo = /* @__PURE__ */ j({
|
|
|
596
596
|
type: "multi-radio"
|
|
597
597
|
}, {
|
|
598
598
|
default: x(() => [
|
|
599
|
-
y("ul",
|
|
599
|
+
y("ul", an, [
|
|
600
600
|
(E(!0), I(B, null, z(h.checkboxes, ({ label: l, value: u }, f) => (E(), I("li", { key: f }, [
|
|
601
601
|
C(Ne, {
|
|
602
602
|
modelValue: a.value,
|
|
@@ -612,7 +612,7 @@ const Qo = /* @__PURE__ */ j({
|
|
|
612
612
|
_: 1
|
|
613
613
|
}, 8, ["label"]));
|
|
614
614
|
}
|
|
615
|
-
}),
|
|
615
|
+
}), un = /* @__PURE__ */ X(ln, [["__scopeId", "data-v-7185c7da"]]), dn = /* @__PURE__ */ j({
|
|
616
616
|
__name: "NameField",
|
|
617
617
|
props: {
|
|
618
618
|
modelValue: {},
|
|
@@ -716,16 +716,16 @@ const Qo = /* @__PURE__ */ j({
|
|
|
716
716
|
_: 1
|
|
717
717
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
718
718
|
}
|
|
719
|
-
}),
|
|
719
|
+
}), cn = /* @__PURE__ */ X(dn, [["__scopeId", "data-v-78b0b319"]]), pn = { class: "hotel-listing" }, hn = { class: "hotel-listing-content-gallery" }, fn = { class: "hotel-listing-content-thumbs" }, mn = { class: "hotel-listing-content" }, gn = { class: "hotel-listing-content-header" }, vn = { class: "hotel-listing-content-title" }, yn = { class: "hotel-listing-content-body" }, bn = { class: "hotel-listing-content-facilities" }, kn = /* @__PURE__ */ j({
|
|
720
720
|
__name: "Listing",
|
|
721
721
|
setup(o) {
|
|
722
|
-
return (e, t) => (E(), I("div",
|
|
723
|
-
y("div",
|
|
722
|
+
return (e, t) => (E(), I("div", pn, [
|
|
723
|
+
y("div", hn, [
|
|
724
724
|
C(Y, {
|
|
725
725
|
width: "280px",
|
|
726
726
|
height: "153px"
|
|
727
727
|
}),
|
|
728
|
-
y("div",
|
|
728
|
+
y("div", fn, [
|
|
729
729
|
(E(), I(B, null, z(3, (n) => C(Y, {
|
|
730
730
|
key: n,
|
|
731
731
|
width: "84px",
|
|
@@ -733,9 +733,9 @@ const Qo = /* @__PURE__ */ j({
|
|
|
733
733
|
})), 64))
|
|
734
734
|
])
|
|
735
735
|
]),
|
|
736
|
-
y("div",
|
|
737
|
-
y("div",
|
|
738
|
-
y("div",
|
|
736
|
+
y("div", mn, [
|
|
737
|
+
y("div", gn, [
|
|
738
|
+
y("div", vn, [
|
|
739
739
|
C(Y, {
|
|
740
740
|
height: "30px",
|
|
741
741
|
width: "60%"
|
|
@@ -751,7 +751,7 @@ const Qo = /* @__PURE__ */ j({
|
|
|
751
751
|
width: "25%"
|
|
752
752
|
})
|
|
753
753
|
]),
|
|
754
|
-
y("div",
|
|
754
|
+
y("div", yn, [
|
|
755
755
|
C(Y, { height: "15px" }),
|
|
756
756
|
C(Y, { height: "15px" }),
|
|
757
757
|
C(Y, { height: "15px" }),
|
|
@@ -761,7 +761,7 @@ const Qo = /* @__PURE__ */ j({
|
|
|
761
761
|
width: "90%"
|
|
762
762
|
})
|
|
763
763
|
]),
|
|
764
|
-
y("div",
|
|
764
|
+
y("div", bn, [
|
|
765
765
|
(E(), I(B, null, z(5, (n) => C(Y, {
|
|
766
766
|
key: n,
|
|
767
767
|
height: "25px",
|
|
@@ -772,56 +772,56 @@ const Qo = /* @__PURE__ */ j({
|
|
|
772
772
|
])
|
|
773
773
|
]));
|
|
774
774
|
}
|
|
775
|
-
}), de = /* @__PURE__ */
|
|
775
|
+
}), de = /* @__PURE__ */ X(kn, [["__scopeId", "data-v-c7574b59"]]), _n = { class: "hotel-skeleton" }, En = { class: "hotel-skeleton-content" }, Tn = { class: "hotel-skeleton-sidebar" }, Cn = /* @__PURE__ */ j({
|
|
776
776
|
__name: "HotelSkeleton",
|
|
777
777
|
setup(o) {
|
|
778
|
-
return (e, t) => (E(), I("div",
|
|
779
|
-
y("div",
|
|
778
|
+
return (e, t) => (E(), I("div", _n, [
|
|
779
|
+
y("div", En, [
|
|
780
780
|
C(Lo, { hotel: "" }),
|
|
781
781
|
C(de),
|
|
782
782
|
C(de),
|
|
783
783
|
C(de)
|
|
784
784
|
]),
|
|
785
|
-
y("div",
|
|
785
|
+
y("div", Tn, [
|
|
786
786
|
C(Io)
|
|
787
787
|
])
|
|
788
788
|
]));
|
|
789
789
|
}
|
|
790
|
-
}),
|
|
791
|
-
const
|
|
790
|
+
}), In = /* @__PURE__ */ X(Cn, [["__scopeId", "data-v-49e83cbb"]]), $n = (o) => (vt("data-v-afbc33cb"), o = o(), yt(), o), Sn = { id: "booking-availability-container" }, Vn = { id: "booking-availability-controls" };
|
|
791
|
+
const Ln = { key: 1 }, Pn = { key: 0 }, wn = {
|
|
792
792
|
key: 0,
|
|
793
793
|
id: "booking-availability-packages"
|
|
794
|
-
},
|
|
794
|
+
}, xn = {
|
|
795
795
|
key: 0,
|
|
796
796
|
class: "konnectio-hotel-availability-title"
|
|
797
|
-
},
|
|
797
|
+
}, On = { id: "booking-availability-packages-wrapper" }, An = { key: 1 }, Hn = {
|
|
798
798
|
key: 0,
|
|
799
799
|
class: "konnectio-hotel-availability-title"
|
|
800
|
-
},
|
|
800
|
+
}, Dn = { id: "booking-availability-listings" }, Mn = {
|
|
801
801
|
key: 2,
|
|
802
802
|
id: "booking-availability-packages"
|
|
803
|
-
},
|
|
803
|
+
}, Rn = {
|
|
804
804
|
key: 0,
|
|
805
805
|
class: "konnectio-hotel-availability-title"
|
|
806
|
-
},
|
|
806
|
+
}, Bn = { id: "booking-availability-packages-wrapper" }, zn = {
|
|
807
807
|
key: 3,
|
|
808
808
|
id: "booking-availability-no-listings",
|
|
809
809
|
class: "fresh-booking-panel"
|
|
810
|
-
},
|
|
810
|
+
}, Wn = {
|
|
811
811
|
key: 1,
|
|
812
812
|
id: "booking-availability-no-listings"
|
|
813
|
-
},
|
|
813
|
+
}, Fn = {
|
|
814
814
|
key: 2,
|
|
815
815
|
id: "reservation-availability-next-dates"
|
|
816
|
-
},
|
|
817
|
-
const
|
|
816
|
+
}, Nn = { class: "konnectio-hotel-availability-title" }, qn = { class: "reservation-special-offers-grid" }, Un = ["title"];
|
|
817
|
+
const Gn = {
|
|
818
818
|
key: 2,
|
|
819
819
|
class: "konnectio-listing-loading"
|
|
820
|
-
},
|
|
820
|
+
}, jn = { class: "fresh-booking-panel" }, Yn = {
|
|
821
821
|
key: 0,
|
|
822
822
|
id: "konnectio-hotel-addons"
|
|
823
823
|
};
|
|
824
|
-
const
|
|
824
|
+
const Kn = { class: "fresh-booking-event-addons-price" }, Qn = { key: 1 }, Jn = /* @__PURE__ */ $n(() => /* @__PURE__ */ y("br", null, null, -1)), Xn = ["onClick"], Zn = { class: "fresh-booking-panel" }, ei = { key: 0 }, ti = { key: 1 }, oi = { class: "fresh-booking-split-inputs" }, ni = ["onClick"], ii = /* @__PURE__ */ j({
|
|
825
825
|
name: "HotelLayout",
|
|
826
826
|
__name: "Hotel",
|
|
827
827
|
props: {
|
|
@@ -858,7 +858,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
858
858
|
availabilityData: A,
|
|
859
859
|
selectionHasNoAddons: F
|
|
860
860
|
} = Q(se()), {
|
|
861
|
-
arrivalDate:
|
|
861
|
+
arrivalDate: J,
|
|
862
862
|
departureDate: ae
|
|
863
863
|
} = Q(gt()), {
|
|
864
864
|
currency: G,
|
|
@@ -921,7 +921,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
921
921
|
F.value ? O(2) : O(), Yt();
|
|
922
922
|
}
|
|
923
923
|
function to(O, w) {
|
|
924
|
-
ae.value = new Date(w),
|
|
924
|
+
ae.value = new Date(w), J.value = new Date(O), location.reload();
|
|
925
925
|
}
|
|
926
926
|
async function oo(O) {
|
|
927
927
|
await Kt(O);
|
|
@@ -951,19 +951,19 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
951
951
|
availability: x(({ next: U }) => [
|
|
952
952
|
C(we, null, {
|
|
953
953
|
form: x(() => [
|
|
954
|
-
y("div",
|
|
955
|
-
y("div",
|
|
954
|
+
y("div", Sn, [
|
|
955
|
+
y("div", Vn, [
|
|
956
956
|
C(Po, { booking: !0 })
|
|
957
957
|
]),
|
|
958
958
|
P("", !0),
|
|
959
|
-
s(p) ? (E(), I("div",
|
|
959
|
+
s(p) ? (E(), I("div", Gn, [
|
|
960
960
|
C(de),
|
|
961
961
|
C(de),
|
|
962
962
|
C(de)
|
|
963
|
-
])) : (E(), I("div",
|
|
964
|
-
s(A).roomGroups.length > 0 || s(A).templates.length > 0 || s(A).specialTemplates.length > 0 ? (E(), I("div",
|
|
965
|
-
s(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div",
|
|
966
|
-
O.onlyShow !== "packages" ? (E(), I("h2",
|
|
963
|
+
])) : (E(), I("div", Ln, [
|
|
964
|
+
s(A).roomGroups.length > 0 || s(A).templates.length > 0 || s(A).specialTemplates.length > 0 ? (E(), I("div", Pn, [
|
|
965
|
+
s(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div", wn, [
|
|
966
|
+
O.onlyShow !== "packages" ? (E(), I("h2", xn, [
|
|
967
967
|
C(K, {
|
|
968
968
|
icon: "box",
|
|
969
969
|
type: "fal",
|
|
@@ -971,7 +971,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
971
971
|
}),
|
|
972
972
|
y("span", null, V(s(e)("booking.availability.packagesTitle")), 1)
|
|
973
973
|
])) : P("", !0),
|
|
974
|
-
y("ul",
|
|
974
|
+
y("ul", On, [
|
|
975
975
|
(E(!0), I(B, null, z(s(A).templates, ({
|
|
976
976
|
id: D,
|
|
977
977
|
name: $,
|
|
@@ -991,8 +991,8 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
991
991
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
|
|
992
992
|
])
|
|
993
993
|
])) : P("", !0),
|
|
994
|
-
s(A).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), I("div",
|
|
995
|
-
s(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("h2",
|
|
994
|
+
s(A).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), I("div", An, [
|
|
995
|
+
s(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("h2", Hn, [
|
|
996
996
|
C(K, {
|
|
997
997
|
icon: "house",
|
|
998
998
|
type: "fal",
|
|
@@ -1000,15 +1000,15 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1000
1000
|
}),
|
|
1001
1001
|
y("span", null, V(s(e)("booking.availability.roomsTitle")), 1)
|
|
1002
1002
|
])) : P("", !0),
|
|
1003
|
-
y("ul",
|
|
1003
|
+
y("ul", Dn, [
|
|
1004
1004
|
(E(!0), I(B, null, z(Xt.value, (D, $) => (E(), R(Jo, {
|
|
1005
1005
|
room: D,
|
|
1006
1006
|
key: $
|
|
1007
1007
|
}, null, 8, ["room"]))), 128))
|
|
1008
1008
|
])
|
|
1009
1009
|
])) : P("", !0),
|
|
1010
|
-
s(A).specialTemplates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div",
|
|
1011
|
-
O.onlyShow !== "packages" ? (E(), I("h2",
|
|
1010
|
+
s(A).specialTemplates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div", Mn, [
|
|
1011
|
+
O.onlyShow !== "packages" ? (E(), I("h2", Rn, [
|
|
1012
1012
|
C(K, {
|
|
1013
1013
|
icon: "sparkles",
|
|
1014
1014
|
type: "fal",
|
|
@@ -1016,7 +1016,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1016
1016
|
}),
|
|
1017
1017
|
y("span", null, V(s(e)("hotel.specialOffers")), 1)
|
|
1018
1018
|
])) : P("", !0),
|
|
1019
|
-
y("ul",
|
|
1019
|
+
y("ul", Bn, [
|
|
1020
1020
|
(E(!0), I(B, null, z(s(A).specialTemplates, ({
|
|
1021
1021
|
id: D,
|
|
1022
1022
|
name: $,
|
|
@@ -1040,13 +1040,13 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1040
1040
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1041
1041
|
])
|
|
1042
1042
|
])) : P("", !0),
|
|
1043
|
-
(s(A).templates.length === 0 && O.onlyShow !== "rooms" || s(A).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), I("div",
|
|
1043
|
+
(s(A).templates.length === 0 && O.onlyShow !== "rooms" || s(A).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), I("div", zn, [
|
|
1044
1044
|
y("span", null, V(s(e)("booking.availability.nothingAvailable")), 1)
|
|
1045
1045
|
])) : P("", !0)
|
|
1046
|
-
])) : s(A).nextAvailableDates.length === 0 ? (E(), I("div",
|
|
1046
|
+
])) : s(A).nextAvailableDates.length === 0 ? (E(), I("div", Wn, [
|
|
1047
1047
|
y("span", null, V(s(e)("booking.availability.nothingAvailable")), 1)
|
|
1048
|
-
])) : (E(), I("div",
|
|
1049
|
-
y("h2",
|
|
1048
|
+
])) : (E(), I("div", Fn, [
|
|
1049
|
+
y("h2", Nn, [
|
|
1050
1050
|
C(K, {
|
|
1051
1051
|
icon: "calendar-circle-exclamation",
|
|
1052
1052
|
type: "fal",
|
|
@@ -1054,13 +1054,13 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1054
1054
|
}),
|
|
1055
1055
|
y("span", null, V(s(e)("booking.availability.nextAvailableDates")), 1)
|
|
1056
1056
|
]),
|
|
1057
|
-
y("ul",
|
|
1057
|
+
y("ul", qn, [
|
|
1058
1058
|
(E(!0), I(B, null, z(s(A).nextAvailableDates, (D, $) => (E(), I("li", { key: $ }, [
|
|
1059
1059
|
y("h3", {
|
|
1060
1060
|
title: `${s(ne)(D.fromDate)} - ${s(ne)(D.toDate)}`
|
|
1061
1061
|
}, [
|
|
1062
1062
|
y("span", null, V(`${s(ne)(D.fromDate)} - ${s(ne)(D.toDate)}`), 1)
|
|
1063
|
-
], 8,
|
|
1063
|
+
], 8, Un),
|
|
1064
1064
|
y("ul", null, [
|
|
1065
1065
|
P("", !0),
|
|
1066
1066
|
y("li", null, [
|
|
@@ -1098,12 +1098,12 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1098
1098
|
addons: x(({ next: U, prev: D }) => [
|
|
1099
1099
|
C(we, null, {
|
|
1100
1100
|
form: x(() => [
|
|
1101
|
-
y("form",
|
|
1101
|
+
y("form", jn, [
|
|
1102
1102
|
y("h2", null, [
|
|
1103
1103
|
y("span", null, V(s(e)("booking.reservation.addons")), 1)
|
|
1104
1104
|
]),
|
|
1105
1105
|
y("div", null, [
|
|
1106
|
-
isNaN(s(t)) ? (E(), I("div",
|
|
1106
|
+
isNaN(s(t)) ? (E(), I("div", Yn, [
|
|
1107
1107
|
(E(!0), I(B, null, z(s(H), ($) => (E(), I("ul", {
|
|
1108
1108
|
key: $.roomGroupID
|
|
1109
1109
|
}, [
|
|
@@ -1123,7 +1123,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1123
1123
|
y("span", null, V(s(ue)(Z.name)), 1)
|
|
1124
1124
|
]),
|
|
1125
1125
|
P("", !0),
|
|
1126
|
-
y("th",
|
|
1126
|
+
y("th", Kn, [
|
|
1127
1127
|
y("b", null, [
|
|
1128
1128
|
C(K, {
|
|
1129
1129
|
icon: "male",
|
|
@@ -1137,7 +1137,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1137
1137
|
type: "fas",
|
|
1138
1138
|
color: "font"
|
|
1139
1139
|
})) : P("", !0),
|
|
1140
|
-
W.childrenCount > 0 ? (E(), I("span",
|
|
1140
|
+
W.childrenCount > 0 ? (E(), I("span", Qn, V(W.childrenCount), 1)) : P("", !0)
|
|
1141
1141
|
])
|
|
1142
1142
|
])
|
|
1143
1143
|
])
|
|
@@ -1152,7 +1152,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1152
1152
|
}) => (E(), I("tr", { key: fe }, [
|
|
1153
1153
|
y("td", null, [
|
|
1154
1154
|
y("b", null, V(s(ue)(ro)), 1),
|
|
1155
|
-
|
|
1155
|
+
Jn,
|
|
1156
1156
|
y("span", null, V(s(ie)(so, s(G))) + " " + V(s(go)(he)), 1)
|
|
1157
1157
|
]),
|
|
1158
1158
|
y("td", null, [
|
|
@@ -1190,7 +1190,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1190
1190
|
onClick: tt(($) => Xe(D), ["prevent"])
|
|
1191
1191
|
}, [
|
|
1192
1192
|
y("span", null, V(s(e)("general.goAStepBack")), 1)
|
|
1193
|
-
], 8,
|
|
1193
|
+
], 8, Xn)
|
|
1194
1194
|
]),
|
|
1195
1195
|
_: 2
|
|
1196
1196
|
}, 1024)
|
|
@@ -1201,7 +1201,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1201
1201
|
"show-gift-card": !0
|
|
1202
1202
|
}, {
|
|
1203
1203
|
form: x(() => [
|
|
1204
|
-
y("form",
|
|
1204
|
+
y("form", Zn, [
|
|
1205
1205
|
y("h2", null, [
|
|
1206
1206
|
y("span", null, V(s(e)("booking.reservation.detailsTitle")), 1)
|
|
1207
1207
|
]),
|
|
@@ -1209,7 +1209,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1209
1209
|
key: 0,
|
|
1210
1210
|
class: Ee({ "fresh-booking-split-inputs": !s($e) && !s(Se) })
|
|
1211
1211
|
}, [
|
|
1212
|
-
s($e) ? P("", !0) : (E(), I("li",
|
|
1212
|
+
s($e) ? P("", !0) : (E(), I("li", ei, [
|
|
1213
1213
|
C(nt, {
|
|
1214
1214
|
modelValue: s(l),
|
|
1215
1215
|
"onUpdate:modelValue": w[1] || (w[1] = ($) => N(l) ? l.value = $ : null),
|
|
@@ -1219,7 +1219,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1219
1219
|
required: ""
|
|
1220
1220
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1221
1221
|
])),
|
|
1222
|
-
s(Se) ? P("", !0) : (E(), I("li",
|
|
1222
|
+
s(Se) ? P("", !0) : (E(), I("li", ti, [
|
|
1223
1223
|
C(nt, {
|
|
1224
1224
|
modelValue: s(u),
|
|
1225
1225
|
"onUpdate:modelValue": w[2] || (w[2] = ($) => N(u) ? u.value = $ : null),
|
|
@@ -1230,7 +1230,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1230
1230
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1231
1231
|
]))
|
|
1232
1232
|
], 2)) : P("", !0),
|
|
1233
|
-
C(
|
|
1233
|
+
C(cn, {
|
|
1234
1234
|
modelValue: s(f),
|
|
1235
1235
|
"onUpdate:modelValue": w[3] || (w[3] = ($) => N(f) ? f.value = $ : null),
|
|
1236
1236
|
title: s(g),
|
|
@@ -1279,7 +1279,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1279
1279
|
placeholder: s(e)("booking.reservation.phonePlaceholder"),
|
|
1280
1280
|
required: ""
|
|
1281
1281
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1282
|
-
C(
|
|
1282
|
+
C(sn, {
|
|
1283
1283
|
modelValue: s(r),
|
|
1284
1284
|
"onUpdate:modelValue": w[9] || (w[9] = ($) => N(r) ? r.value = $ : null),
|
|
1285
1285
|
label: s(e)("booking.reservation.country"),
|
|
@@ -1298,7 +1298,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1298
1298
|
placeholder: s(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1299
1299
|
required: ""
|
|
1300
1300
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1301
|
-
y("ul",
|
|
1301
|
+
y("ul", oi, [
|
|
1302
1302
|
y("li", null, [
|
|
1303
1303
|
C(oe, {
|
|
1304
1304
|
modelValue: s(k),
|
|
@@ -1342,7 +1342,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1342
1342
|
icon: "allergies",
|
|
1343
1343
|
placeholder: s(e)("booking.reservation.allergiesPlaceholder")
|
|
1344
1344
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1345
|
-
s(Wt) ? P("", !0) : (E(), R(
|
|
1345
|
+
s(Wt) ? P("", !0) : (E(), R(un, {
|
|
1346
1346
|
key: 3,
|
|
1347
1347
|
modelValue: s(c),
|
|
1348
1348
|
"onUpdate:modelValue": w[15] || (w[15] = ($) => N(c) ? c.value = $ : null),
|
|
@@ -1366,7 +1366,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1366
1366
|
onClick: tt(($) => Xe(D), ["prevent"])
|
|
1367
1367
|
}, [
|
|
1368
1368
|
y("span", null, V(s(e)("general.goAStepBack")), 1)
|
|
1369
|
-
], 8,
|
|
1369
|
+
], 8, ni)
|
|
1370
1370
|
])
|
|
1371
1371
|
]),
|
|
1372
1372
|
_: 2
|
|
@@ -1387,7 +1387,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1387
1387
|
}, 8, ["access-token"])
|
|
1388
1388
|
]),
|
|
1389
1389
|
fallback: x(() => [
|
|
1390
|
-
C(
|
|
1390
|
+
C(In)
|
|
1391
1391
|
]),
|
|
1392
1392
|
_: 1
|
|
1393
1393
|
}))
|
|
@@ -1395,7 +1395,7 @@ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn =
|
|
|
1395
1395
|
_: 1
|
|
1396
1396
|
}, 8, ["styling"]));
|
|
1397
1397
|
}
|
|
1398
|
-
}), ge = /* @__PURE__ */
|
|
1398
|
+
}), ge = /* @__PURE__ */ X(ii, [["__scopeId", "data-v-afbc33cb"]]);
|
|
1399
1399
|
var It = { exports: {} }, xe = { exports: {} }, Oe = { exports: {} }, it;
|
|
1400
1400
|
function Ye() {
|
|
1401
1401
|
return it || (it = 1, function(o) {
|
|
@@ -1513,12 +1513,12 @@ function Ke() {
|
|
|
1513
1513
|
var r = a[i], v = b[r], T = parseFloat(v);
|
|
1514
1514
|
k[r] = isNaN(T) ? 0 : T;
|
|
1515
1515
|
}
|
|
1516
|
-
var S = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom, H = k.marginLeft + k.marginRight, M = k.marginTop + k.marginBottom, A = k.borderLeftWidth + k.borderRightWidth, F = k.borderTopWidth + k.borderBottomWidth,
|
|
1516
|
+
var S = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom, H = k.marginLeft + k.marginRight, M = k.marginTop + k.marginBottom, A = k.borderLeftWidth + k.borderRightWidth, F = k.borderTopWidth + k.borderBottomWidth, J = m && f, ae = t(b.width);
|
|
1517
1517
|
ae !== !1 && (k.width = ae + // add padding and border unless it's already including it
|
|
1518
|
-
(
|
|
1518
|
+
(J ? 0 : S + A));
|
|
1519
1519
|
var G = t(b.height);
|
|
1520
1520
|
return G !== !1 && (k.height = G + // add padding and border unless it's already including it
|
|
1521
|
-
(
|
|
1521
|
+
(J ? 0 : L + F)), k.innerWidth = k.width - (S + A), k.innerHeight = k.height - (L + F), k.outerWidth = k.width + H, k.outerHeight = k.height + M, k;
|
|
1522
1522
|
}
|
|
1523
1523
|
}
|
|
1524
1524
|
return _;
|
|
@@ -1526,7 +1526,7 @@ function Ke() {
|
|
|
1526
1526
|
}(Ae)), Ae.exports;
|
|
1527
1527
|
}
|
|
1528
1528
|
var He = { exports: {} }, De = { exports: {} }, st;
|
|
1529
|
-
function
|
|
1529
|
+
function ri() {
|
|
1530
1530
|
return st || (st = 1, function(o) {
|
|
1531
1531
|
(function(e, t) {
|
|
1532
1532
|
o.exports ? o.exports = t() : e.matchesSelector = t();
|
|
@@ -1550,12 +1550,12 @@ function si() {
|
|
|
1550
1550
|
}(De)), De.exports;
|
|
1551
1551
|
}
|
|
1552
1552
|
var at;
|
|
1553
|
-
function
|
|
1553
|
+
function si() {
|
|
1554
1554
|
return at || (at = 1, function(o) {
|
|
1555
1555
|
(function(e, t) {
|
|
1556
1556
|
o.exports ? o.exports = t(
|
|
1557
1557
|
e,
|
|
1558
|
-
|
|
1558
|
+
ri()
|
|
1559
1559
|
) : e.fizzyUIUtils = t(
|
|
1560
1560
|
e,
|
|
1561
1561
|
e.matchesSelector
|
|
@@ -1643,7 +1643,7 @@ function ai() {
|
|
|
1643
1643
|
}(He)), He.exports;
|
|
1644
1644
|
}
|
|
1645
1645
|
var Me = { exports: {} }, lt;
|
|
1646
|
-
function
|
|
1646
|
+
function ai() {
|
|
1647
1647
|
return lt || (lt = 1, function(o) {
|
|
1648
1648
|
(function(e, t) {
|
|
1649
1649
|
o.exports ? o.exports = t(
|
|
@@ -1701,8 +1701,8 @@ function li() {
|
|
|
1701
1701
|
}, g.layoutPosition = function() {
|
|
1702
1702
|
var m = this.layout.size, i = {}, r = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), T = r ? "paddingLeft" : "paddingRight", S = r ? "left" : "right", L = r ? "right" : "left", H = this.position.x + m[T];
|
|
1703
1703
|
i[S] = this.getXValue(H), i[L] = "";
|
|
1704
|
-
var M = v ? "paddingTop" : "paddingBottom", A = v ? "top" : "bottom", F = v ? "bottom" : "top",
|
|
1705
|
-
i[A] = this.getYValue(
|
|
1704
|
+
var M = v ? "paddingTop" : "paddingBottom", A = v ? "top" : "bottom", F = v ? "bottom" : "top", J = this.position.y + m[M];
|
|
1705
|
+
i[A] = this.getYValue(J), i[F] = "", this.css(i), this.emitEvent("layout", [this]);
|
|
1706
1706
|
}, g.getXValue = function(m) {
|
|
1707
1707
|
var i = this.layout._getOption("horizontal");
|
|
1708
1708
|
return this.layout.options.percentPosition && !i ? m / this.layout.size.width * 100 + "%" : m + "px";
|
|
@@ -1855,15 +1855,15 @@ function li() {
|
|
|
1855
1855
|
* MIT license
|
|
1856
1856
|
*/
|
|
1857
1857
|
var ut;
|
|
1858
|
-
function
|
|
1858
|
+
function li() {
|
|
1859
1859
|
return ut || (ut = 1, function(o) {
|
|
1860
1860
|
(function(e, t) {
|
|
1861
1861
|
o.exports ? o.exports = t(
|
|
1862
1862
|
e,
|
|
1863
1863
|
Ye(),
|
|
1864
1864
|
Ke(),
|
|
1865
|
-
|
|
1866
|
-
|
|
1865
|
+
si(),
|
|
1866
|
+
ai()
|
|
1867
1867
|
) : e.Outlayer = t(
|
|
1868
1868
|
e,
|
|
1869
1869
|
e.EvEmitter,
|
|
@@ -2163,7 +2163,7 @@ function ui() {
|
|
|
2163
2163
|
(function(o) {
|
|
2164
2164
|
(function(e, t) {
|
|
2165
2165
|
o.exports ? o.exports = t(
|
|
2166
|
-
|
|
2166
|
+
li(),
|
|
2167
2167
|
Ke()
|
|
2168
2168
|
) : e.Masonry = t(
|
|
2169
2169
|
e.Outlayer,
|
|
@@ -2247,8 +2247,8 @@ function ui() {
|
|
|
2247
2247
|
}, p;
|
|
2248
2248
|
});
|
|
2249
2249
|
})(It);
|
|
2250
|
-
var
|
|
2251
|
-
const dt = /* @__PURE__ */ Ct(
|
|
2250
|
+
var ui = It.exports;
|
|
2251
|
+
const dt = /* @__PURE__ */ Ct(ui);
|
|
2252
2252
|
var $t = { exports: {} };
|
|
2253
2253
|
/*!
|
|
2254
2254
|
* imagesLoaded v4.1.4
|
|
@@ -2395,9 +2395,9 @@ var $t = { exports: {} };
|
|
|
2395
2395
|
}
|
|
2396
2396
|
);
|
|
2397
2397
|
})($t);
|
|
2398
|
-
var
|
|
2399
|
-
const
|
|
2400
|
-
function
|
|
2398
|
+
var di = $t.exports;
|
|
2399
|
+
const ci = /* @__PURE__ */ Ct(di);
|
|
2400
|
+
function pi(o) {
|
|
2401
2401
|
return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
|
|
2402
2402
|
var n = o.get(e);
|
|
2403
2403
|
n ? n.push(t) : o.set(e, [t]);
|
|
@@ -2426,24 +2426,24 @@ const ve = {
|
|
|
2426
2426
|
"horizontal-order": "horizontalOrder",
|
|
2427
2427
|
stagger: "stagger",
|
|
2428
2428
|
"destroy-delay": "destroyDelay"
|
|
2429
|
-
}, ye = "vuemasonry.itemAdded", Re = "vuemasonry.itemRemoved", Be = "vuemasonry.imageLoaded", ze = "vuemasonry.destroy",
|
|
2429
|
+
}, ye = "vuemasonry.itemAdded", Re = "vuemasonry.itemRemoved", Be = "vuemasonry.imageLoaded", ze = "vuemasonry.destroy", hi = function(o) {
|
|
2430
2430
|
return (o + "").toLowerCase() === "true";
|
|
2431
|
-
},
|
|
2431
|
+
}, fi = function(o) {
|
|
2432
2432
|
return isNaN(o) ? o : parseInt(o);
|
|
2433
|
-
},
|
|
2433
|
+
}, mi = function(o) {
|
|
2434
2434
|
const e = {};
|
|
2435
2435
|
return Array.prototype.slice.call(o).forEach(function(n) {
|
|
2436
|
-
Object.keys(ve).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ve[n.name]] =
|
|
2436
|
+
Object.keys(ve).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ve[n.name]] = hi(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ve[n.name]] = fi(n.value) : e[ve[n.name]] = n.value);
|
|
2437
2437
|
}), e;
|
|
2438
2438
|
}, St = {};
|
|
2439
2439
|
St.install = function(o, e) {
|
|
2440
|
-
const t =
|
|
2440
|
+
const t = pi(), n = "VueMasonry", p = o;
|
|
2441
2441
|
p.directive("masonry", {
|
|
2442
2442
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2443
2443
|
mounted: function(a, h) {
|
|
2444
2444
|
if (!dt)
|
|
2445
2445
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2446
|
-
const c =
|
|
2446
|
+
const c = mi(a.attributes), l = new dt(a, c), u = h.value || n, f = c.destroyDelay ? parseInt(c.destroyDelay, 10) : void 0, g = function() {
|
|
2447
2447
|
l.reloadItems(), l.layout();
|
|
2448
2448
|
};
|
|
2449
2449
|
Et(() => {
|
|
@@ -2469,7 +2469,7 @@ St.install = function(o, e) {
|
|
|
2469
2469
|
const c = h.value || n;
|
|
2470
2470
|
t.emit(`${ye}__${c}`, {
|
|
2471
2471
|
element: a
|
|
2472
|
-
}), new
|
|
2472
|
+
}), new ci(a, function() {
|
|
2473
2473
|
t.emit(`${Be}__${c}`, {
|
|
2474
2474
|
element: a
|
|
2475
2475
|
});
|
|
@@ -2497,15 +2497,15 @@ function qe(o, e = {}, t) {
|
|
|
2497
2497
|
}
|
|
2498
2498
|
return e;
|
|
2499
2499
|
}
|
|
2500
|
-
const
|
|
2501
|
-
function
|
|
2500
|
+
const gi = { run: (o) => o() }, vi = () => gi, Vt = typeof console.createTask < "u" ? console.createTask : vi;
|
|
2501
|
+
function yi(o, e) {
|
|
2502
2502
|
const t = e.shift(), n = Vt(t);
|
|
2503
2503
|
return o.reduce(
|
|
2504
2504
|
(p, a) => p.then(() => n.run(() => a(...e))),
|
|
2505
2505
|
Promise.resolve()
|
|
2506
2506
|
);
|
|
2507
2507
|
}
|
|
2508
|
-
function
|
|
2508
|
+
function bi(o, e) {
|
|
2509
2509
|
const t = e.shift(), n = Vt(t);
|
|
2510
2510
|
return Promise.all(o.map((p) => n.run(() => p(...e))));
|
|
2511
2511
|
}
|
|
@@ -2513,7 +2513,7 @@ function We(o, e) {
|
|
|
2513
2513
|
for (const t of [...o])
|
|
2514
2514
|
t(e);
|
|
2515
2515
|
}
|
|
2516
|
-
class
|
|
2516
|
+
class ki {
|
|
2517
2517
|
constructor() {
|
|
2518
2518
|
this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
|
|
2519
2519
|
}
|
|
@@ -2582,10 +2582,10 @@ class _i {
|
|
|
2582
2582
|
delete this._hooks[e];
|
|
2583
2583
|
}
|
|
2584
2584
|
callHook(e, ...t) {
|
|
2585
|
-
return t.unshift(e), this.callHookWith(
|
|
2585
|
+
return t.unshift(e), this.callHookWith(yi, e, ...t);
|
|
2586
2586
|
}
|
|
2587
2587
|
callHookParallel(e, ...t) {
|
|
2588
|
-
return t.unshift(e), this.callHookWith(
|
|
2588
|
+
return t.unshift(e), this.callHookWith(bi, e, ...t);
|
|
2589
2589
|
}
|
|
2590
2590
|
callHookWith(e, t, ...n) {
|
|
2591
2591
|
const p = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
|
|
@@ -2615,20 +2615,20 @@ class _i {
|
|
|
2615
2615
|
};
|
|
2616
2616
|
}
|
|
2617
2617
|
}
|
|
2618
|
-
function
|
|
2619
|
-
return new
|
|
2618
|
+
function _i() {
|
|
2619
|
+
return new ki();
|
|
2620
2620
|
}
|
|
2621
|
-
function
|
|
2621
|
+
function Ei(o) {
|
|
2622
2622
|
return Array.isArray(o) ? o : [o];
|
|
2623
2623
|
}
|
|
2624
|
-
const
|
|
2624
|
+
const Ti = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
2625
2625
|
"base",
|
|
2626
2626
|
"meta",
|
|
2627
2627
|
"link",
|
|
2628
2628
|
"style",
|
|
2629
2629
|
"script",
|
|
2630
2630
|
"noscript"
|
|
2631
|
-
],
|
|
2631
|
+
], Ci = [
|
|
2632
2632
|
"title",
|
|
2633
2633
|
"titleTemplate",
|
|
2634
2634
|
"templateParams",
|
|
@@ -2640,7 +2640,7 @@ const Ci = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
|
2640
2640
|
"style",
|
|
2641
2641
|
"script",
|
|
2642
2642
|
"noscript"
|
|
2643
|
-
],
|
|
2643
|
+
], Ii = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Lt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], $i = typeof window < "u";
|
|
2644
2644
|
function Qe(o) {
|
|
2645
2645
|
let e = 9;
|
|
2646
2646
|
for (let t = 0; t < o.length; )
|
|
@@ -2652,7 +2652,7 @@ function ct(o) {
|
|
|
2652
2652
|
}
|
|
2653
2653
|
function Pt(o, e) {
|
|
2654
2654
|
const { props: t, tag: n } = o;
|
|
2655
|
-
if (
|
|
2655
|
+
if (Ii.includes(n))
|
|
2656
2656
|
return n;
|
|
2657
2657
|
if (n === "link" && t.rel === "canonical")
|
|
2658
2658
|
return "canonical";
|
|
@@ -2670,7 +2670,7 @@ function Pt(o, e) {
|
|
|
2670
2670
|
function pt(o, e) {
|
|
2671
2671
|
return o == null ? e || null : typeof o == "function" ? o(e) : o;
|
|
2672
2672
|
}
|
|
2673
|
-
async function
|
|
2673
|
+
async function Si(o, e, t) {
|
|
2674
2674
|
const n = {
|
|
2675
2675
|
tag: o,
|
|
2676
2676
|
props: await wt(
|
|
@@ -2682,16 +2682,16 @@ async function Vi(o, e, t) {
|
|
|
2682
2682
|
};
|
|
2683
2683
|
return Lt.forEach((p) => {
|
|
2684
2684
|
const a = typeof n.props[p] < "u" ? n.props[p] : t[p];
|
|
2685
|
-
typeof a < "u" && ((!["innerHTML", "textContent", "children"].includes(p) ||
|
|
2685
|
+
typeof a < "u" && ((!["innerHTML", "textContent", "children"].includes(p) || Ti.includes(n.tag)) && (n[p === "children" ? "innerHTML" : p] = a), delete n.props[p]);
|
|
2686
2686
|
}), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((p) => ({ ...n, props: { ...n.props, content: p } })) : n;
|
|
2687
2687
|
}
|
|
2688
|
-
function
|
|
2688
|
+
function Vi(o) {
|
|
2689
2689
|
return typeof o == "object" && !Array.isArray(o) && (o = Object.keys(o).filter((e) => o[e])), (Array.isArray(o) ? o.join(" ") : o).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
|
|
2690
2690
|
}
|
|
2691
2691
|
async function wt(o, e) {
|
|
2692
2692
|
for (const t of Object.keys(o)) {
|
|
2693
2693
|
if (t === "class") {
|
|
2694
|
-
o[t] =
|
|
2694
|
+
o[t] = Vi(o[t]);
|
|
2695
2695
|
continue;
|
|
2696
2696
|
}
|
|
2697
2697
|
if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !Lt.includes(t)) {
|
|
@@ -2701,13 +2701,13 @@ async function wt(o, e) {
|
|
|
2701
2701
|
}
|
|
2702
2702
|
return o;
|
|
2703
2703
|
}
|
|
2704
|
-
const
|
|
2705
|
-
async function
|
|
2704
|
+
const Li = 10;
|
|
2705
|
+
async function Pi(o) {
|
|
2706
2706
|
const e = [];
|
|
2707
|
-
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" &&
|
|
2708
|
-
const p =
|
|
2709
|
-
e.push(...p.map((a) =>
|
|
2710
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i <<
|
|
2707
|
+
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && Ci.includes(t)).forEach(([t, n]) => {
|
|
2708
|
+
const p = Ei(n);
|
|
2709
|
+
e.push(...p.map((a) => Si(t, a, o)).flat());
|
|
2710
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Li) + n, t));
|
|
2711
2711
|
}
|
|
2712
2712
|
const ht = {
|
|
2713
2713
|
// tags
|
|
@@ -2724,7 +2724,7 @@ function Te(o) {
|
|
|
2724
2724
|
const t = o.tagPriority;
|
|
2725
2725
|
return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in ht && (e = ht[o.tag]), typeof t == "string" && t in ft ? e + ft[t] : e);
|
|
2726
2726
|
}
|
|
2727
|
-
const
|
|
2727
|
+
const wi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], xt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], te = "%separator";
|
|
2728
2728
|
function ke(o, e, t) {
|
|
2729
2729
|
if (typeof o != "string" || !o.includes("%"))
|
|
2730
2730
|
return o;
|
|
@@ -2742,7 +2742,7 @@ function ke(o, e, t) {
|
|
|
2742
2742
|
typeof c == "string" && (o = o.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (l, u) => `${c}${u}`).trim());
|
|
2743
2743
|
}), o.includes(te) && (o.endsWith(te) && (o = o.slice(0, -te.length).trim()), o.startsWith(te) && (o = o.slice(te.length).trim()), o = o.replace(new RegExp(`\\${te}\\s*\\${te}`, "g"), te), o = ke(o, { separator: t }, t)), o;
|
|
2744
2744
|
}
|
|
2745
|
-
async function
|
|
2745
|
+
async function xi(o) {
|
|
2746
2746
|
const e = {
|
|
2747
2747
|
tag: o.tagName.toLowerCase(),
|
|
2748
2748
|
props: await wt(
|
|
@@ -2752,7 +2752,7 @@ async function Oi(o) {
|
|
|
2752
2752
|
};
|
|
2753
2753
|
return e._d = Pt(e), e;
|
|
2754
2754
|
}
|
|
2755
|
-
async function
|
|
2755
|
+
async function Oi(o, e = {}) {
|
|
2756
2756
|
const t = e.document || o.resolvedOptions.document;
|
|
2757
2757
|
if (!t)
|
|
2758
2758
|
return;
|
|
@@ -2772,7 +2772,7 @@ async function Ai(o, e = {}) {
|
|
|
2772
2772
|
for (const f of ["body", "head"]) {
|
|
2773
2773
|
const g = t?.[f]?.children;
|
|
2774
2774
|
for (const _ of [...g].filter((d) => be.includes(d.tagName.toLowerCase())))
|
|
2775
|
-
a.elMap[_.getAttribute("data-hid") || ct(await
|
|
2775
|
+
a.elMap[_.getAttribute("data-hid") || ct(await xi(_))] = _;
|
|
2776
2776
|
}
|
|
2777
2777
|
}
|
|
2778
2778
|
a.pendingSideEffects = { ...a.sideEffects || {} }, a.sideEffects = {};
|
|
@@ -2818,27 +2818,27 @@ async function Ai(o, e = {}) {
|
|
|
2818
2818
|
await o.hooks.callHook("dom:renderTag", f, t, h);
|
|
2819
2819
|
u.head && t.head.appendChild(u.head), u.bodyOpen && t.body.insertBefore(u.bodyOpen, t.body.firstChild), u.bodyClose && t.body.appendChild(u.bodyClose), Object.values(a.pendingSideEffects).forEach((f) => f()), o._dom = a, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: p });
|
|
2820
2820
|
}
|
|
2821
|
-
async function
|
|
2821
|
+
async function Ai(o, e = {}) {
|
|
2822
2822
|
const t = e.delayFn || ((n) => setTimeout(n, 10));
|
|
2823
2823
|
return o._domUpdatePromise = o._domUpdatePromise || new Promise((n) => t(async () => {
|
|
2824
|
-
await
|
|
2824
|
+
await Oi(o, e), delete o._domUpdatePromise, n();
|
|
2825
2825
|
}));
|
|
2826
2826
|
}
|
|
2827
2827
|
// @__NO_SIDE_EFFECTS__
|
|
2828
|
-
function
|
|
2828
|
+
function Hi(o) {
|
|
2829
2829
|
return (e) => {
|
|
2830
2830
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
2831
2831
|
return t && e.push(JSON.parse(t)), {
|
|
2832
2832
|
mode: "client",
|
|
2833
2833
|
hooks: {
|
|
2834
2834
|
"entries:updated": function(n) {
|
|
2835
|
-
|
|
2835
|
+
Ai(n, o);
|
|
2836
2836
|
}
|
|
2837
2837
|
}
|
|
2838
2838
|
};
|
|
2839
2839
|
};
|
|
2840
2840
|
}
|
|
2841
|
-
const
|
|
2841
|
+
const Di = ["templateParams", "htmlAttrs", "bodyAttrs"], Mi = {
|
|
2842
2842
|
hooks: {
|
|
2843
2843
|
"tag:normalise": function({ tag: o }) {
|
|
2844
2844
|
["hid", "vmid", "key"].forEach((n) => {
|
|
@@ -2853,7 +2853,7 @@ const Mi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ri = {
|
|
|
2853
2853
|
const p = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, a = e[p];
|
|
2854
2854
|
if (a) {
|
|
2855
2855
|
let c = n?.tagDuplicateStrategy;
|
|
2856
|
-
if (!c &&
|
|
2856
|
+
if (!c && Di.includes(n.tag) && (c = "merge"), c === "merge") {
|
|
2857
2857
|
const l = a.props;
|
|
2858
2858
|
["class", "style"].forEach((u) => {
|
|
2859
2859
|
l[u] && (n.props[u] ? (u === "style" && !l[u].endsWith(";") && (l[u] += ";"), n.props[u] = `${l[u]} ${n.props[u]}`) : n.props[u] = l[u]);
|
|
@@ -2882,7 +2882,7 @@ const Mi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ri = {
|
|
|
2882
2882
|
}), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
|
|
2883
2883
|
}
|
|
2884
2884
|
}
|
|
2885
|
-
},
|
|
2885
|
+
}, Ri = {
|
|
2886
2886
|
mode: "server",
|
|
2887
2887
|
hooks: {
|
|
2888
2888
|
"tags:resolve": function(o) {
|
|
@@ -2896,19 +2896,19 @@ const Mi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ri = {
|
|
|
2896
2896
|
});
|
|
2897
2897
|
}
|
|
2898
2898
|
}
|
|
2899
|
-
},
|
|
2900
|
-
function
|
|
2899
|
+
}, Bi = ["script", "link", "bodyAttrs"];
|
|
2900
|
+
function zi(o) {
|
|
2901
2901
|
const e = {}, t = {};
|
|
2902
2902
|
return Object.entries(o.props).forEach(([n, p]) => {
|
|
2903
2903
|
n.startsWith("on") && typeof p == "function" ? (xt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = p) : e[n] = p;
|
|
2904
2904
|
}), { props: e, eventHandlers: t };
|
|
2905
2905
|
}
|
|
2906
|
-
const
|
|
2906
|
+
const Wi = (o) => ({
|
|
2907
2907
|
hooks: {
|
|
2908
2908
|
"tags:resolve": function(e) {
|
|
2909
2909
|
for (const t of e.tags)
|
|
2910
|
-
if (
|
|
2911
|
-
const { props: n, eventHandlers: p } =
|
|
2910
|
+
if (Bi.includes(t.tag)) {
|
|
2911
|
+
const { props: n, eventHandlers: p } = zi(t);
|
|
2912
2912
|
t.props = n, Object.keys(p).length && ((t.props.src || t.props.href) && (t.key = t.key || Qe(t.props.src || t.props.href)), t._eventHandlers = p);
|
|
2913
2913
|
}
|
|
2914
2914
|
},
|
|
@@ -2936,17 +2936,17 @@ const Fi = (o) => ({
|
|
|
2936
2936
|
});
|
|
2937
2937
|
}
|
|
2938
2938
|
}
|
|
2939
|
-
}),
|
|
2939
|
+
}), Fi = ["link", "style", "script", "noscript"], Ni = {
|
|
2940
2940
|
hooks: {
|
|
2941
2941
|
"tag:normalise": ({ tag: o }) => {
|
|
2942
|
-
o.key &&
|
|
2942
|
+
o.key && Fi.includes(o.tag) && (o.props["data-hid"] = o._h = Qe(o.key));
|
|
2943
2943
|
}
|
|
2944
2944
|
}
|
|
2945
|
-
},
|
|
2945
|
+
}, qi = {
|
|
2946
2946
|
hooks: {
|
|
2947
2947
|
"tags:resolve": (o) => {
|
|
2948
2948
|
const e = (t) => o.tags.find((n) => n._d === t)?._p;
|
|
2949
|
-
for (const { prefix: t, offset: n } of
|
|
2949
|
+
for (const { prefix: t, offset: n } of wi)
|
|
2950
2950
|
for (const p of o.tags.filter((a) => typeof a.tagPriority == "string" && a.tagPriority.startsWith(t))) {
|
|
2951
2951
|
const a = e(
|
|
2952
2952
|
p.tagPriority.replace(t, "")
|
|
@@ -2956,17 +2956,17 @@ const Fi = (o) => ({
|
|
|
2956
2956
|
o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Te(t) - Te(n));
|
|
2957
2957
|
}
|
|
2958
2958
|
}
|
|
2959
|
-
},
|
|
2959
|
+
}, Ui = {
|
|
2960
2960
|
meta: "content",
|
|
2961
2961
|
link: "href",
|
|
2962
2962
|
htmlAttrs: "lang"
|
|
2963
|
-
},
|
|
2963
|
+
}, Gi = (o) => ({
|
|
2964
2964
|
hooks: {
|
|
2965
2965
|
"tags:resolve": (e) => {
|
|
2966
2966
|
const { tags: t } = e, n = t.find((c) => c.tag === "title")?.textContent, p = t.findIndex((c) => c.tag === "templateParams"), a = p !== -1 ? t[p].props : {}, h = a.separator || "|";
|
|
2967
2967
|
delete a.separator, a.pageTitle = ke(a.pageTitle || n || "", a, h);
|
|
2968
2968
|
for (const c of t.filter((l) => l.processTemplateParams !== !1)) {
|
|
2969
|
-
const l =
|
|
2969
|
+
const l = Ui[c.tag];
|
|
2970
2970
|
l && typeof c.props[l] == "string" ? c.props[l] = ke(c.props[l], a, h) : (c.processTemplateParams === !0 || ["titleTemplate", "title"].includes(c.tag)) && ["innerHTML", "textContent"].forEach((u) => {
|
|
2971
2971
|
typeof c[u] == "string" && (c[u] = ke(c[u], a, h));
|
|
2972
2972
|
});
|
|
@@ -2974,7 +2974,7 @@ const Fi = (o) => ({
|
|
|
2974
2974
|
o._templateParams = a, o._separator = h, e.tags = t.filter((c) => c.tag !== "templateParams");
|
|
2975
2975
|
}
|
|
2976
2976
|
}
|
|
2977
|
-
}),
|
|
2977
|
+
}), ji = {
|
|
2978
2978
|
hooks: {
|
|
2979
2979
|
"tags:resolve": (o) => {
|
|
2980
2980
|
const { tags: e } = o;
|
|
@@ -2995,7 +2995,7 @@ const Fi = (o) => ({
|
|
|
2995
2995
|
t !== -1 && delete e[t], o.tags = e.filter(Boolean);
|
|
2996
2996
|
}
|
|
2997
2997
|
}
|
|
2998
|
-
},
|
|
2998
|
+
}, Yi = {
|
|
2999
2999
|
hooks: {
|
|
3000
3000
|
"tags:afterResolve": function(o) {
|
|
3001
3001
|
for (const e of o.tags)
|
|
@@ -3004,16 +3004,16 @@ const Fi = (o) => ({
|
|
|
3004
3004
|
}
|
|
3005
3005
|
};
|
|
3006
3006
|
// @__NO_SIDE_EFFECTS__
|
|
3007
|
-
function
|
|
3008
|
-
const e =
|
|
3009
|
-
return e.use(/* @__PURE__ */
|
|
3007
|
+
function Ki(o = {}) {
|
|
3008
|
+
const e = Qi(o);
|
|
3009
|
+
return e.use(/* @__PURE__ */ Hi()), e;
|
|
3010
3010
|
}
|
|
3011
3011
|
function mt(o, e) {
|
|
3012
3012
|
return !o || o === "server" && e || o === "client" && !e;
|
|
3013
3013
|
}
|
|
3014
|
-
function
|
|
3015
|
-
const e =
|
|
3016
|
-
e.addHooks(o.hooks || {}), o.document = o.document || (
|
|
3014
|
+
function Qi(o = {}) {
|
|
3015
|
+
const e = _i();
|
|
3016
|
+
e.addHooks(o.hooks || {}), o.document = o.document || ($i ? document : void 0);
|
|
3017
3017
|
const t = !o.document, n = () => {
|
|
3018
3018
|
c.dirty = !0, e.callHook("entries:updated", c);
|
|
3019
3019
|
};
|
|
@@ -3053,7 +3053,7 @@ function Ji(o = {}) {
|
|
|
3053
3053
|
for (const u of l.entries) {
|
|
3054
3054
|
const f = u.resolvedInput || u.input;
|
|
3055
3055
|
if (u.resolvedInput = await (u.transform ? u.transform(f) : f), u.resolvedInput)
|
|
3056
|
-
for (const g of await
|
|
3056
|
+
for (const g of await Pi(u)) {
|
|
3057
3057
|
const _ = { tag: g, entry: u, resolvedOptions: c.resolvedOptions };
|
|
3058
3058
|
await e.callHook("tag:normalise", _), l.tags.push(_.tag);
|
|
3059
3059
|
}
|
|
@@ -3063,51 +3063,51 @@ function Ji(o = {}) {
|
|
|
3063
3063
|
ssr: t
|
|
3064
3064
|
};
|
|
3065
3065
|
return [
|
|
3066
|
+
Mi,
|
|
3066
3067
|
Ri,
|
|
3067
|
-
|
|
3068
|
-
|
|
3068
|
+
Wi,
|
|
3069
|
+
Ni,
|
|
3069
3070
|
qi,
|
|
3070
|
-
|
|
3071
|
+
Gi,
|
|
3071
3072
|
ji,
|
|
3072
3073
|
Yi,
|
|
3073
|
-
Ki,
|
|
3074
3074
|
...o?.plugins || []
|
|
3075
3075
|
].forEach((l) => c.use(l)), c.hooks.callHook("init", c), c;
|
|
3076
3076
|
}
|
|
3077
|
-
const
|
|
3078
|
-
function
|
|
3077
|
+
const Ji = yo.startsWith("3");
|
|
3078
|
+
function Xi(o) {
|
|
3079
3079
|
return typeof o == "function" ? o() : s(o);
|
|
3080
3080
|
}
|
|
3081
3081
|
function Ue(o, e = "") {
|
|
3082
3082
|
if (o instanceof Promise)
|
|
3083
3083
|
return o;
|
|
3084
|
-
const t =
|
|
3084
|
+
const t = Xi(o);
|
|
3085
3085
|
return !o || !t ? t : Array.isArray(t) ? t.map((n) => Ue(n, e)) : typeof t == "object" ? Object.fromEntries(
|
|
3086
3086
|
Object.entries(t).map(([n, p]) => n === "titleTemplate" || n.startsWith("on") ? [n, s(p)] : [n, Ue(p, n)])
|
|
3087
3087
|
) : t;
|
|
3088
3088
|
}
|
|
3089
|
-
const
|
|
3089
|
+
const Zi = {
|
|
3090
3090
|
hooks: {
|
|
3091
3091
|
"entries:resolve": function(o) {
|
|
3092
3092
|
for (const e of o.entries)
|
|
3093
3093
|
e.resolvedInput = Ue(e.input);
|
|
3094
3094
|
}
|
|
3095
3095
|
}
|
|
3096
|
-
},
|
|
3097
|
-
function
|
|
3096
|
+
}, er = "usehead";
|
|
3097
|
+
function tr(o) {
|
|
3098
3098
|
return {
|
|
3099
3099
|
install(t) {
|
|
3100
|
-
|
|
3100
|
+
Ji && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(er, o));
|
|
3101
3101
|
}
|
|
3102
3102
|
}.install;
|
|
3103
3103
|
}
|
|
3104
|
-
function
|
|
3104
|
+
function or(o = {}) {
|
|
3105
3105
|
o.domDelayFn = o.domDelayFn || ((t) => Et(() => setTimeout(() => t(), 0)));
|
|
3106
|
-
const e = /* @__PURE__ */
|
|
3107
|
-
return e.use(
|
|
3106
|
+
const e = /* @__PURE__ */ Ki(o);
|
|
3107
|
+
return e.use(Zi), e.install = tr(e), e;
|
|
3108
3108
|
}
|
|
3109
|
-
const
|
|
3110
|
-
class
|
|
3109
|
+
const nr = bo(), ir = or();
|
|
3110
|
+
class rr extends HTMLElement {
|
|
3111
3111
|
vueApp;
|
|
3112
3112
|
constructor() {
|
|
3113
3113
|
super();
|
|
@@ -3129,12 +3129,12 @@ class sr extends HTMLElement {
|
|
|
3129
3129
|
let u = this.attributes.getNamedItem(l)?.value;
|
|
3130
3130
|
h.hasOwnProperty(l) && (u = h[l]), a[l] = u;
|
|
3131
3131
|
}
|
|
3132
|
-
this.vueApp = ko(ge, a), this.vueApp.use(
|
|
3132
|
+
this.vueApp = ko(ge, a), this.vueApp.use(ir), this.vueApp.use(nr), this.vueApp.use(St), this.vueApp.use(_o), this.vueApp.use(Vo), this.vueApp.use(Eo, { bootstrap: !0 });
|
|
3133
3133
|
const c = document.createElement("div");
|
|
3134
3134
|
this.vueApp.mount(c), this.appendChild(c.children[0]);
|
|
3135
3135
|
}
|
|
3136
3136
|
}
|
|
3137
|
-
window.customElements.define("konnectio-hotel",
|
|
3137
|
+
window.customElements.define("konnectio-hotel", rr);
|
|
3138
3138
|
export {
|
|
3139
|
-
|
|
3139
|
+
rr as default
|
|
3140
3140
|
};
|