@konnectio/core 4.7.15 → 4.7.16
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-BRuDERve.js → ActionField-BdJrefVj.js} +1 -1
- package/dist/ActionField-BdJrefVj.js.br +0 -0
- package/dist/ActionField-BdJrefVj.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-C2cinRLC.js → AvailabilitySkeleton-B0IVrbPR.js} +2 -2
- package/dist/AvailabilitySkeleton-B0IVrbPR.js.br +0 -0
- package/dist/AvailabilitySkeleton-B0IVrbPR.js.gz +0 -0
- package/dist/{CheckoutWindow-hlZnuGXN.js → CheckoutWindow-DUI4JgZ8.js} +1 -1
- package/dist/CheckoutWindow-DUI4JgZ8.js.br +0 -0
- package/dist/CheckoutWindow-DUI4JgZ8.js.gz +0 -0
- package/dist/{ErrorMessage-DOMjsB2z.js → ErrorMessage-2mxQAyot.js} +1 -1
- package/dist/ErrorMessage-2mxQAyot.js.br +0 -0
- package/dist/ErrorMessage-2mxQAyot.js.gz +0 -0
- package/dist/{EventAvailabilityForm-LeF9jMuS.js → EventAvailabilityForm-Ki2NfUbc.js} +2 -2
- package/dist/EventAvailabilityForm-Ki2NfUbc.js.br +0 -0
- package/dist/EventAvailabilityForm-Ki2NfUbc.js.gz +0 -0
- package/dist/{Field-ChuCrNgy.js → Field-Cy_KR670.js} +1 -1
- package/dist/Field-Cy_KR670.js.br +0 -0
- package/dist/Field-Cy_KR670.js.gz +8 -0
- package/dist/{HotelAvailabilityForm-CBC3GwhY.js → HotelAvailabilityForm-BkFh-xjM.js} +2 -2
- package/dist/HotelAvailabilityForm-BkFh-xjM.js.br +0 -0
- package/dist/HotelAvailabilityForm-BkFh-xjM.js.gz +0 -0
- package/dist/{SelectField-ChDa9rDG.js → SelectField-r22YPAUL.js} +72 -71
- package/dist/SelectField-r22YPAUL.js.br +0 -0
- package/dist/{SelectField-ChDa9rDG.js.gz → SelectField-r22YPAUL.js.gz} +0 -0
- package/dist/{TermsOfService-DFPH0Sqb.js → TermsOfService-DtShydK8.js} +2 -2
- package/dist/TermsOfService-DtShydK8.js.br +0 -0
- package/dist/TermsOfService-DtShydK8.js.gz +2 -0
- package/dist/{_-D04cczMr.js → _-Djyo_y3p.js} +1 -1
- package/dist/_-Djyo_y3p.js.br +0 -0
- package/dist/_-Djyo_y3p.js.gz +3 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/{dist-Dk3XMpn5.js → dist--l1eOjS1.js} +2 -2
- package/dist/dist--l1eOjS1.js.br +0 -0
- package/dist/dist--l1eOjS1.js.gz +0 -0
- package/dist/{dist-AhXjLLR1.js → dist-Dh-1NrsU.js} +4 -4
- package/dist/dist-Dh-1NrsU.js.br +0 -0
- package/dist/dist-Dh-1NrsU.js.gz +0 -0
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-B6oKfDeO.js → giftCard-BKTaHrPp.js} +1 -1
- package/dist/giftCard-BKTaHrPp.js.br +0 -0
- package/dist/giftCard-BKTaHrPp.js.gz +0 -0
- package/dist/hotel.js +411 -399
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-DT-etRss.js → style-DrcTF76a.js} +1 -1
- package/dist/style-DrcTF76a.js.br +0 -0
- package/dist/style-DrcTF76a.js.gz +0 -0
- package/dist-wix/availability.js +2 -2
- package/dist-wix/event.js +2 -2
- package/dist-wix/gift-card-validation.js +12 -12
- package/dist-wix/gift-card.js +2 -2
- package/dist-wix/hotel.js +4 -4
- package/package.json +1 -1
- package/dist/ActionField-BRuDERve.js.br +0 -0
- package/dist/ActionField-BRuDERve.js.gz +0 -0
- package/dist/AvailabilitySkeleton-C2cinRLC.js.br +0 -0
- package/dist/AvailabilitySkeleton-C2cinRLC.js.gz +0 -0
- package/dist/CheckoutWindow-hlZnuGXN.js.br +0 -0
- package/dist/CheckoutWindow-hlZnuGXN.js.gz +0 -0
- package/dist/ErrorMessage-DOMjsB2z.js.br +0 -0
- package/dist/ErrorMessage-DOMjsB2z.js.gz +0 -0
- package/dist/EventAvailabilityForm-LeF9jMuS.js.br +0 -0
- package/dist/EventAvailabilityForm-LeF9jMuS.js.gz +0 -0
- package/dist/Field-ChuCrNgy.js.br +0 -0
- package/dist/Field-ChuCrNgy.js.gz +0 -0
- package/dist/HotelAvailabilityForm-CBC3GwhY.js.br +0 -0
- package/dist/HotelAvailabilityForm-CBC3GwhY.js.gz +0 -0
- package/dist/SelectField-ChDa9rDG.js.br +0 -0
- package/dist/TermsOfService-DFPH0Sqb.js.br +0 -0
- package/dist/TermsOfService-DFPH0Sqb.js.gz +0 -3
- package/dist/_-D04cczMr.js.br +0 -0
- package/dist/_-D04cczMr.js.gz +0 -3
- package/dist/dist-AhXjLLR1.js.br +0 -0
- package/dist/dist-AhXjLLR1.js.gz +0 -0
- package/dist/dist-Dk3XMpn5.js.br +0 -0
- package/dist/dist-Dk3XMpn5.js.gz +0 -0
- package/dist/giftCard-B6oKfDeO.js.br +0 -0
- package/dist/giftCard-B6oKfDeO.js.gz +0 -0
- package/dist/style-DT-etRss.js.br +0 -0
- package/dist/style-DT-etRss.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-Dqa2HsxW.js";
|
|
2
2
|
import { $ as n, A as r, B as i, D as a, E as o, Et as s, J as c, K as l, M as u, N as d, O as f, Ot as p, Q as m, S as h, T as g, Tt as _, V as ee, _t as te, a as v, b as y, ct as ne, dt as b, g as re, ht as x, i as S, it as ie, j as C, k as ae, kt as w, l as T, n as E, o as D, rt as O, s as k, tt as A, ut as j, v as M, w as N, x as P, yt as F } from "./i18n-DwFTw_rF.js";
|
|
3
|
-
import { t as I } from "./dist
|
|
4
|
-
import { $ as
|
|
5
|
-
import { n as je, t as Me } from "./AvailabilitySkeleton-
|
|
6
|
-
import { t as Ne } from "./HotelAvailabilityForm-
|
|
7
|
-
import { t as Pe } from "./style-
|
|
8
|
-
import { t as Fe } from "./ActionField-
|
|
9
|
-
import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./dist-
|
|
10
|
-
import { a as Ge, i as Ke, n as U, o as qe, t as Je } from "./CheckoutWindow-
|
|
11
|
-
import { t as Ye } from "./TermsOfService-
|
|
3
|
+
import { t as I } from "./dist--l1eOjS1.js";
|
|
4
|
+
import { $ as R, C as oe, D as se, E as ce, G as le, H as ue, I as de, K as fe, L as pe, N as me, O as he, R as ge, S as z, V as _e, W as ve, X as ye, _ as be, b as xe, dt as B, et as Se, ht as Ce, it as we, j as Te, n as Ee, q as De, r as Oe, rt as ke, t as Ae, v as V, x as H } from "./SelectField-r22YPAUL.js";
|
|
5
|
+
import { n as je, t as Me } from "./AvailabilitySkeleton-B0IVrbPR.js";
|
|
6
|
+
import { t as Ne } from "./HotelAvailabilityForm-BkFh-xjM.js";
|
|
7
|
+
import { t as Pe } from "./style-DrcTF76a.js";
|
|
8
|
+
import { t as Fe } from "./ActionField-BdJrefVj.js";
|
|
9
|
+
import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./dist-Dh-1NrsU.js";
|
|
10
|
+
import { a as Ge, i as Ke, n as U, o as qe, t as Je } from "./CheckoutWindow-DUI4JgZ8.js";
|
|
11
|
+
import { t as Ye } from "./TermsOfService-DtShydK8.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
13
|
function Xe(e, t) {
|
|
14
14
|
return t ? {
|
|
@@ -322,7 +322,7 @@ function gt(e, t, n, r, l, u) {
|
|
|
322
322
|
}
|
|
323
323
|
//#endregion
|
|
324
324
|
//#region node_modules/vue-inner-image-zoom/src/index.js
|
|
325
|
-
var _t = /* @__PURE__ */
|
|
325
|
+
var _t = /* @__PURE__ */ z(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]]), W = { key: 0 }, G = { class: "konnectio-hotel-reservation-warning" }, vt = { class: "konnectio-hotel-reservation-warning" }, yt = { class: "konnectio-hotel-reservation-warning" }, bt = { key: 1 }, xt = { class: "konnectio-hotel-reservation-title" }, K = { class: "konnectio-hotel-reservation-information" }, q = { class: "konnectio-hotel-reservation-guests" }, St = { key: 0 }, Ct = {
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "konnectio-hotel-reservation-room-name"
|
|
328
328
|
}, wt = ["onClick"], Tt = { key: 0 }, Et = { key: 1 }, Dt = { class: "konnectio-hotel-reservation-title" }, J = {
|
|
@@ -334,7 +334,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
334
334
|
}, Pt = {
|
|
335
335
|
key: 1,
|
|
336
336
|
class: "konnectio-accept-terms"
|
|
337
|
-
}, Ft = { class: "konnectio-hotel-reservation-tooltip" }, It = /*#__PURE__*/
|
|
337
|
+
}, Ft = { class: "konnectio-hotel-reservation-tooltip" }, It = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
338
338
|
__name: "HotelReservationForm",
|
|
339
339
|
props: {
|
|
340
340
|
forceArrivalTime: {},
|
|
@@ -358,7 +358,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
358
358
|
prevCallback: {}
|
|
359
359
|
},
|
|
360
360
|
setup(e) {
|
|
361
|
-
let { t } = v(), { disableNewsletterSignup: r, currency: i } = T(
|
|
361
|
+
let { t } = v(), { disableNewsletterSignup: r, currency: i } = T(ce()), { hasArrivalDepartureInputs: s } = ce(), { arrivalTime: l, departureTime: u, roomDisplay: d, templateID: p, totalPrice: h, areListingsLoading: ee, getSelectedPackageRooms: te, templateRoomUnits: ne, selectedPackage: ie, discountVouchers: E, currentArrivalDate: D, currentDepartureDate: O, datesMismatch: k, currentLocation: N, locationMismatch: P, newsMails: I, termsOfService: R, discountCode: se, hasTermOfService: ue, acceptTerms: fe, totalTemplateAddonPrice: pe, totalRooms: me, totalAdults: z, totalChildren: _e, weekendFee: ve, selectedMemberCardData: be, appliedDiscountCode: xe, guestDiscountCode: B, isValidatingDiscountCode: Se } = T(he()), { hasHotelLocations: Ce } = T(oe()), { removeRoom: we, validateDiscountCode: Te, getMandatoryRoomGroupAddons: Ee, getTemplateRoomUnitPrice: Oe, resetDiscountVoucher: ke, setGuestDiscountCode: Ae, clearGuestDiscountCode: V, fetchAvailabilityData: je } = he(), { getHotelLocationName: Me } = oe(), Ne = F(!1);
|
|
362
362
|
function Pe(e) {
|
|
363
363
|
Ae(e), je();
|
|
364
364
|
}
|
|
@@ -371,11 +371,11 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
371
371
|
return (v, T) => {
|
|
372
372
|
let F = A("tooltip");
|
|
373
373
|
return c(), o(Ie, {
|
|
374
|
-
"discount-code": _(
|
|
375
|
-
"onUpdate:discountCode": T[4] ||= (e) => x(
|
|
374
|
+
"discount-code": _(se),
|
|
375
|
+
"onUpdate:discountCode": T[4] ||= (e) => x(se) ? se.value = e : null,
|
|
376
376
|
"validate-discount-code": _(Te),
|
|
377
377
|
"total-price": _(h),
|
|
378
|
-
"weekend-fee": _(
|
|
378
|
+
"weekend-fee": _(ve),
|
|
379
379
|
"show-gift-card": e.showGiftCard,
|
|
380
380
|
"availability-discount": e.availabilityDiscount,
|
|
381
381
|
"show-terms-notice": e.showTermsNotice,
|
|
@@ -390,8 +390,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
390
390
|
"on-clear-availability-discount": Fe
|
|
391
391
|
}, ae({
|
|
392
392
|
form: j(() => [n(v.$slots, "form", {}, void 0, !0)]),
|
|
393
|
-
"price-summary": j(() => [isNaN(_(p)) && _(d).length > 0 ? (c(!0), f(y, { key: 0 }, m(_(d), ({ roomGroupID: n, title: r, variants: o }) => (c(), f("div", { key: n }, [g("h6", null, [g("span", null, w(_(
|
|
394
|
-
g("span", xt, w(_(
|
|
393
|
+
"price-summary": j(() => [isNaN(_(p)) && _(d).length > 0 ? (c(!0), f(y, { key: 0 }, m(_(d), ({ roomGroupID: n, title: r, variants: o }) => (c(), f("div", { key: n }, [g("h6", null, [g("span", null, w(_(de)(r)), 1)]), (c(!0), f(y, null, m(o, (r, o) => (c(), f("div", { key: o }, [(c(!0), f(y, null, m(r.rooms, (s, l) => (c(), f("ul", { key: l }, [g("li", null, [
|
|
394
|
+
g("span", xt, w(_(de)(r.name)), 1),
|
|
395
395
|
g("span", K, [g("span", q, [g("span", null, [C(H, {
|
|
396
396
|
icon: "male",
|
|
397
397
|
type: "fas",
|
|
@@ -401,7 +401,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
401
401
|
type: "fas",
|
|
402
402
|
color: "font"
|
|
403
403
|
}), g("span", null, w(s.childrenCount), 1)])) : a("", !0)]), s.roomName ? (c(), f("span", Ct, "(" + w(s.roomName) + ")", 1)) : a("", !0)]),
|
|
404
|
-
g("b", null, [g("span", null, w(_(
|
|
404
|
+
g("b", null, [g("span", null, w(_(ye)(s.totalPrice, _(i))), 1), e.showRemoveRoom ? (c(), f("span", {
|
|
405
405
|
key: 0,
|
|
406
406
|
class: "konnectio-hotel-reservation-remove",
|
|
407
407
|
onClick: M((e) => _(we)(n, o, s.configIdx), ["prevent"])
|
|
@@ -410,8 +410,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
410
410
|
type: "fas",
|
|
411
411
|
"icon-color": "#ff0000"
|
|
412
412
|
})], 8, wt)) : a("", !0)])
|
|
413
|
-
]), Le(s.roomAddons) > 0 ? (c(), f("li", Tt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(
|
|
414
|
-
g("span", Dt, [g("span", null, w(_(
|
|
413
|
+
]), Le(s.roomAddons) > 0 ? (c(), f("li", Tt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(ye)(Le(s.roomAddons), _(i))), 1)])) : a("", !0)]))), 128))]))), 128))]))), 128)) : a("", !0), _(ne).length > 0 && _(ie) ? (c(), f("div", Et, [g("h6", null, [g("span", null, w(_(de)(_(ie).name)), 1)]), g("div", null, [g("ul", null, [(c(!0), f(y, null, m(_(ne), (e, n) => (c(), f("li", { key: n }, [
|
|
414
|
+
g("span", Dt, [g("span", null, w(_(de)(_(te).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), _(ne).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (c(), f("span", J, "(" + w(_(t)("booking.reservation.room")) + " " + w(_(ne).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : a("", !0)]),
|
|
415
415
|
g("span", Ot, [g("span", kt, [g("span", null, [C(H, {
|
|
416
416
|
icon: "male",
|
|
417
417
|
type: "fas",
|
|
@@ -421,9 +421,9 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
421
421
|
type: "fas",
|
|
422
422
|
color: "font"
|
|
423
423
|
}), g("span", null, w(e.children), 1)])) : a("", !0)])]),
|
|
424
|
-
g("b", null, [g("span", null, w(_(
|
|
425
|
-
_(Ee)(e.roomGroupId) ? (c(!0), f(y, { key: 0 }, m(_(Ee)(e.roomGroupId), (e) => (c(), f(y, null, [g("span", null, "- " + w(e.name), 1), g("b", null, [g("span", null, w(_(
|
|
426
|
-
]))), 128)), _(
|
|
424
|
+
g("b", null, [g("span", null, w(_(ye)(_(Oe)(e.roomGroupId, e.adults, e.children) + _(ve), _(i))), 1)]),
|
|
425
|
+
_(Ee)(e.roomGroupId) ? (c(!0), f(y, { key: 0 }, m(_(Ee)(e.roomGroupId), (e) => (c(), f(y, null, [g("span", null, "- " + w(e.name), 1), g("b", null, [g("span", null, w(_(ye)(e.price, _(i))), 1)])], 64))), 256)) : a("", !0)
|
|
426
|
+
]))), 128)), _(pe) ? (c(), f("li", jt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(ye)(_(pe), _(i))), 1)])) : a("", !0)])])])) : a("", !0)]),
|
|
427
427
|
actions: j(() => [g("ul", Mt, [
|
|
428
428
|
_(r) ? a("", !0) : (c(), f("div", Nt, [C(Ke, {
|
|
429
429
|
modelValue: _(I),
|
|
@@ -432,9 +432,9 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
432
432
|
name: "newsletter",
|
|
433
433
|
label: _(t)("booking.reservation.newsletterSignUp")
|
|
434
434
|
}, null, 8, ["modelValue", "label"])])),
|
|
435
|
-
_(
|
|
436
|
-
modelValue: _(
|
|
437
|
-
"onUpdate:modelValue": T[2] ||= (e) => x(
|
|
435
|
+
_(ue) ? (c(), f("div", Pt, [C(Ke, {
|
|
436
|
+
modelValue: _(fe),
|
|
437
|
+
"onUpdate:modelValue": T[2] ||= (e) => x(fe) ? fe.value = e : null,
|
|
438
438
|
type: "checkbox",
|
|
439
439
|
name: "terms"
|
|
440
440
|
}, {
|
|
@@ -446,7 +446,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
446
446
|
terms: j(() => [g("a", {
|
|
447
447
|
class: "konnectio-accept-terms-link",
|
|
448
448
|
onClick: T[1] ||= M((e) => Ne.value = !0, ["prevent"])
|
|
449
|
-
}, [g("span", null, w(_(
|
|
449
|
+
}, [g("span", null, w(_(le)(_(t)("general.termsAndConditions"))), 1)])]),
|
|
450
450
|
_: 1
|
|
451
451
|
})]),
|
|
452
452
|
_: 1
|
|
@@ -455,13 +455,13 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
455
455
|
C(Ye, {
|
|
456
456
|
modelValue: Ne.value,
|
|
457
457
|
"onUpdate:modelValue": T[3] ||= (e) => Ne.value = e,
|
|
458
|
-
description: _(
|
|
458
|
+
description: _(R)
|
|
459
459
|
}, null, 8, ["modelValue", "description"])
|
|
460
460
|
])]),
|
|
461
461
|
navigation: j(() => [n(v.$slots, "navigation", {}, void 0, !0)]),
|
|
462
462
|
"mobile-under-price": j(() => [
|
|
463
463
|
g("span", null, w(_(t)("general.for")) + ": ", 1),
|
|
464
|
-
g("b", null, w(_(
|
|
464
|
+
g("b", null, w(_(ge)(_(D), _(O))) + " " + w(_(le)(_(ge)(_(D), _(O)) === 1 ? _(t)("booking.reservation.night") : _(t)("booking.reservation.nights"))), 1),
|
|
465
465
|
b((c(), f("span", Ft, [C(H, {
|
|
466
466
|
icon: "circle-info",
|
|
467
467
|
type: "fas"
|
|
@@ -472,9 +472,9 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
472
472
|
}]])
|
|
473
473
|
]),
|
|
474
474
|
"mobile-summary": j(() => [
|
|
475
|
-
g("span", null, w(`${_(
|
|
476
|
-
g("span", null, w(`${_(
|
|
477
|
-
g("span", null, w(`${_(
|
|
475
|
+
g("span", null, w(`${_(z)} ${_(z) === 1 ? _(t)("general.adult") : _(t)("general.adults")}`), 1),
|
|
476
|
+
g("span", null, w(`${_(_e)} ${_(_e) === 1 ? _(t)("general.child") : _(t)("general.children")}`), 1),
|
|
477
|
+
g("span", null, w(`${_(me)} ${_(me) === 1 ? _(t)("booking.reservation.room") : _(t)("booking.reservation.rooms")}`), 1)
|
|
478
478
|
]),
|
|
479
479
|
_: 2
|
|
480
480
|
}, [isNaN(_(N)) ? void 0 : {
|
|
@@ -492,7 +492,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
492
492
|
icon: "exclamation-triangle",
|
|
493
493
|
type: "fas"
|
|
494
494
|
})], 512), [[re, _(k)]])])]),
|
|
495
|
-
g("li", null, [g("span", null, w(_(t)("booking.reservation.nights")), 1), g("b", null, w(_(
|
|
495
|
+
g("li", null, [g("span", null, w(_(t)("booking.reservation.nights")), 1), g("b", null, w(_(ge)(_(D), _(O))) + " " + w(_(le)(_(ge)(_(D), _(O)) === 1 ? _(t)("booking.reservation.night") : _(t)("booking.reservation.nights"))), 1)]),
|
|
496
496
|
_(be) && _(be).providesDiscount ? (c(), f("li", bt, [g("span", null, w(_(be).shortDescription), 1), g("b", null, "-" + w(_(be).discountPercent) + "%", 1)])) : a("", !0),
|
|
497
497
|
_(E) ? (c(!0), f(y, { key: 2 }, m(_(E), (e) => (c(), f("li", { key: e.id }, [g("span", null, w(`${_(t)("general.discountCode")} (${e.value})`), 1), g("b", null, w(e.key), 1)]))), 128)) : a("", !0)
|
|
498
498
|
]),
|
|
@@ -515,10 +515,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
515
515
|
]);
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
|
-
}), [["__scopeId", "data-v-45a60600"]]), Lt = { class: "konnectio-panel" }, Rt = { id: "konnectio-hotel-guest-discount-title" }, zt = ["innerHTML"], Bt = /*#__PURE__*/
|
|
518
|
+
}), [["__scopeId", "data-v-45a60600"]]), Lt = { class: "konnectio-panel" }, Rt = { id: "konnectio-hotel-guest-discount-title" }, zt = ["innerHTML"], Bt = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
519
519
|
__name: "GuestDiscountForm",
|
|
520
520
|
setup(e) {
|
|
521
|
-
let { t } = v(), n = Ce("history"), r =
|
|
521
|
+
let { t } = v(), n = Ce("history"), r = he(), { display: i } = me(), a = F();
|
|
522
522
|
async function o() {
|
|
523
523
|
if (!a.value) {
|
|
524
524
|
i({
|
|
@@ -560,10 +560,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
560
560
|
])
|
|
561
561
|
])], 32));
|
|
562
562
|
}
|
|
563
|
-
}), [["__scopeId", "data-v-2d1cbb8b"]]), Vt = { class: "konnectio-panel" }, Y = { id: "konnectio-hotel-discount-code-title" }, Ht = ["innerHTML"], X = /*#__PURE__*/
|
|
563
|
+
}), [["__scopeId", "data-v-2d1cbb8b"]]), Vt = { class: "konnectio-panel" }, Y = { id: "konnectio-hotel-discount-code-title" }, Ht = ["innerHTML"], X = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
564
564
|
__name: "DiscountCodeForm",
|
|
565
565
|
setup(e) {
|
|
566
|
-
let { t } = v(), n = Ce("history"), r =
|
|
566
|
+
let { t } = v(), n = Ce("history"), r = he(), { display: i } = me(), a = F();
|
|
567
567
|
async function o() {
|
|
568
568
|
if (!a.value) {
|
|
569
569
|
i({
|
|
@@ -598,7 +598,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
598
598
|
])
|
|
599
599
|
])], 32));
|
|
600
600
|
}
|
|
601
|
-
}), [["__scopeId", "data-v-c5281a3a"]]), Ut = { class: "konnectio-room-config-option" }, Wt = { key: 0 }, Gt = { class: "konnectio-selected-room-config" }, Kt = { class: "konnectio-selected-room-config-people" }, qt = { key: 0 }, Jt = { class: "konnectio-selected-room-config-price" }, Yt = /*#__PURE__*/
|
|
601
|
+
}), [["__scopeId", "data-v-c5281a3a"]]), Ut = { class: "konnectio-room-config-option" }, Wt = { key: 0 }, Gt = { class: "konnectio-selected-room-config" }, Kt = { class: "konnectio-selected-room-config-people" }, qt = { key: 0 }, Jt = { class: "konnectio-selected-room-config-price" }, Yt = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
602
602
|
__name: "RoomConfigField",
|
|
603
603
|
props: {
|
|
604
604
|
modelValue: {},
|
|
@@ -615,7 +615,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
615
615
|
},
|
|
616
616
|
emits: ["update:modelValue"],
|
|
617
617
|
setup(e, { emit: t }) {
|
|
618
|
-
let { t: n } = v(), { currency: i } = T(
|
|
618
|
+
let { t: n } = v(), { currency: i } = T(ce()), s = t, l = e;
|
|
619
619
|
function u(e) {
|
|
620
620
|
s("update:modelValue", e);
|
|
621
621
|
}
|
|
@@ -648,8 +648,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
648
648
|
type: "fas",
|
|
649
649
|
color: "font"
|
|
650
650
|
}), g("span", null, w(`${e.children}`), 1)])) : a("", !0)
|
|
651
|
-
]), g("span", null, w(`(${_(
|
|
652
|
-
"selected-option": j(({ data: e }) => [g("div", Gt, [g("div", Kt, [g("div", null, [a("", !0), g("span", null, w(`${e.adults} ${e.adults === 1 ? _(n)("general.adult") : _(n)("general.adults")}`), 1)]), e.children > 0 ? (c(), f("div", qt, [a("", !0), g("span", null, w(`& ${e.children} ${e.children === 1 ? _(n)("general.child") : _(n)("general.children")}`), 1)])) : a("", !0)]), g("div", Jt, [s[1] ||= g("span", null, null, -1), r(" " + w(`(${_(
|
|
651
|
+
]), g("span", null, w(`(${_(ye)(e.price, _(i))})`), 1)])]),
|
|
652
|
+
"selected-option": j(({ data: e }) => [g("div", Gt, [g("div", Kt, [g("div", null, [a("", !0), g("span", null, w(`${e.adults} ${e.adults === 1 ? _(n)("general.adult") : _(n)("general.adults")}`), 1)]), e.children > 0 ? (c(), f("div", qt, [a("", !0), g("span", null, w(`& ${e.children} ${e.children === 1 ? _(n)("general.child") : _(n)("general.children")}`), 1)])) : a("", !0)]), g("div", Jt, [s[1] ||= g("span", null, null, -1), r(" " + w(`(${_(ye)(e.price, _(i))})`), 1)])])]),
|
|
653
653
|
_: 1
|
|
654
654
|
}, 8, [
|
|
655
655
|
"modelValue",
|
|
@@ -1211,8 +1211,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1211
1211
|
var n = Math.PI / 180, r = e.lat * n, i = t.lat * n, a = Math.sin((t.lat - e.lat) * n / 2), o = Math.sin((t.lng - e.lng) * n / 2), s = a * a + Math.cos(r) * Math.cos(i) * o * o, c = 2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s));
|
|
1212
1212
|
return this.R * c;
|
|
1213
1213
|
}
|
|
1214
|
-
}),
|
|
1215
|
-
R
|
|
1214
|
+
}), R = 6378137, oe = {
|
|
1215
|
+
R,
|
|
1216
1216
|
MAX_LATITUDE: 85.0511287798,
|
|
1217
1217
|
project: function(e) {
|
|
1218
1218
|
var t = Math.PI / 180, n = this.MAX_LATITUDE, r = Math.max(Math.min(n, e.lat), -n), i = Math.sin(r * t);
|
|
@@ -1223,18 +1223,18 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1223
1223
|
return new N((2 * Math.atan(Math.exp(e.y / this.R)) - Math.PI / 2) * t, e.x * t / this.R);
|
|
1224
1224
|
},
|
|
1225
1225
|
bounds: (function() {
|
|
1226
|
-
var e =
|
|
1226
|
+
var e = R * Math.PI;
|
|
1227
1227
|
return new k([-e, -e], [e, e]);
|
|
1228
1228
|
})()
|
|
1229
1229
|
};
|
|
1230
|
-
function
|
|
1230
|
+
function se(e, t, n, r) {
|
|
1231
1231
|
if (_(e)) {
|
|
1232
1232
|
this._a = e[0], this._b = e[1], this._c = e[2], this._d = e[3];
|
|
1233
1233
|
return;
|
|
1234
1234
|
}
|
|
1235
1235
|
this._a = e, this._b = t, this._c = n, this._d = r;
|
|
1236
1236
|
}
|
|
1237
|
-
|
|
1237
|
+
se.prototype = {
|
|
1238
1238
|
transform: function(e, t) {
|
|
1239
1239
|
return this._transform(e.clone(), t);
|
|
1240
1240
|
},
|
|
@@ -1245,21 +1245,21 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1245
1245
|
return t ||= 1, new E((e.x / t - this._b) / this._a, (e.y / t - this._d) / this._c);
|
|
1246
1246
|
}
|
|
1247
1247
|
};
|
|
1248
|
-
function
|
|
1249
|
-
return new
|
|
1248
|
+
function ce(e, t, n, r) {
|
|
1249
|
+
return new se(e, t, n, r);
|
|
1250
1250
|
}
|
|
1251
|
-
var
|
|
1251
|
+
var le = n({}, I, {
|
|
1252
1252
|
code: "EPSG:3857",
|
|
1253
|
-
projection:
|
|
1253
|
+
projection: oe,
|
|
1254
1254
|
transformation: function() {
|
|
1255
|
-
var e = .5 / (Math.PI *
|
|
1256
|
-
return
|
|
1255
|
+
var e = .5 / (Math.PI * oe.R);
|
|
1256
|
+
return ce(e, .5, -e, .5);
|
|
1257
1257
|
}()
|
|
1258
|
-
}),
|
|
1259
|
-
function
|
|
1258
|
+
}), ue = n({}, le, { code: "EPSG:900913" });
|
|
1259
|
+
function de(e) {
|
|
1260
1260
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1262
|
+
function fe(e, t) {
|
|
1263
1263
|
var n = "", r, i, a, o, s, c;
|
|
1264
1264
|
for (r = 0, a = e.length; r < a; r++) {
|
|
1265
1265
|
for (s = e[r], i = 0, o = s.length; i < o; i++) c = s[i], n += (i ? "L" : "M") + c.x + " " + c.y;
|
|
@@ -1267,7 +1267,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1267
1267
|
}
|
|
1268
1268
|
return n || "M0 0";
|
|
1269
1269
|
}
|
|
1270
|
-
var
|
|
1270
|
+
var pe = document.documentElement.style, me = "ActiveXObject" in window, he = me && !document.addEventListener, ge = "msLaunchUri" in navigator && !("documentMode" in document), z = Ke("webkit"), _e = Ke("android"), ve = Ke("android 2") || Ke("android 3"), ye = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), be = _e && Ke("Google") && ye < 537 && !("AudioNode" in window), xe = !!window.opera, B = !ge && Ke("chrome"), Se = Ke("gecko") && !z && !xe && !me, Ce = !B && Ke("safari"), we = Ke("phantom"), Te = "OTransition" in pe, Ee = navigator.platform.indexOf("Win") === 0, De = me && "transition" in pe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ve, ke = "MozPerspective" in pe, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, V = typeof orientation < "u" || Ke("mobile"), H = V && z, je = V && Oe, Me = !window.PointerEvent && window.MSPointerEvent, Ne = !!(window.PointerEvent || Me), Pe = "ontouchstart" in window || !!window.TouchEvent, Fe = !window.L_NO_TOUCH && (Pe || Ne), Ie = V && xe, Le = V && Se, Re = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ze = function() {
|
|
1271
1271
|
var e = !1;
|
|
1272
1272
|
try {
|
|
1273
1273
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1278,7 +1278,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1278
1278
|
return e;
|
|
1279
1279
|
}(), Be = function() {
|
|
1280
1280
|
return !!document.createElement("canvas").getContext;
|
|
1281
|
-
}(), Ve = !!(document.createElementNS &&
|
|
1281
|
+
}(), Ve = !!(document.createElementNS && de("svg").createSVGRect), He = !!Ve && (function() {
|
|
1282
1282
|
var e = document.createElement("div");
|
|
1283
1283
|
return e.innerHTML = "<svg/>", (e.firstChild && e.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1284
1284
|
})(), Ue = !Ve && function() {
|
|
@@ -1295,12 +1295,12 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1295
1295
|
return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
|
|
1296
1296
|
}
|
|
1297
1297
|
var U = {
|
|
1298
|
-
ie:
|
|
1299
|
-
ielt9:
|
|
1300
|
-
edge:
|
|
1301
|
-
webkit:
|
|
1302
|
-
android:
|
|
1303
|
-
android23:
|
|
1298
|
+
ie: me,
|
|
1299
|
+
ielt9: he,
|
|
1300
|
+
edge: ge,
|
|
1301
|
+
webkit: z,
|
|
1302
|
+
android: _e,
|
|
1303
|
+
android23: ve,
|
|
1304
1304
|
androidStock: be,
|
|
1305
1305
|
opera: xe,
|
|
1306
1306
|
chrome: B,
|
|
@@ -1707,7 +1707,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1707
1707
|
}
|
|
1708
1708
|
}), Q = T.extend({
|
|
1709
1709
|
options: {
|
|
1710
|
-
crs:
|
|
1710
|
+
crs: le,
|
|
1711
1711
|
center: void 0,
|
|
1712
1712
|
zoom: void 0,
|
|
1713
1713
|
minZoom: void 0,
|
|
@@ -2470,7 +2470,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2470
2470
|
});
|
|
2471
2471
|
var dn = function(e) {
|
|
2472
2472
|
return new un(e);
|
|
2473
|
-
},
|
|
2473
|
+
}, fn = on.extend({
|
|
2474
2474
|
options: {
|
|
2475
2475
|
position: "bottomleft",
|
|
2476
2476
|
maxWidth: 100,
|
|
@@ -2509,8 +2509,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2509
2509
|
var t = 10 ** ((Math.floor(e) + "").length - 1), n = e / t;
|
|
2510
2510
|
return n = n >= 10 ? 10 : n >= 5 ? 5 : n >= 3 ? 3 : n >= 2 ? 2 : 1, t * n;
|
|
2511
2511
|
}
|
|
2512
|
-
}),
|
|
2513
|
-
return new
|
|
2512
|
+
}), $ = function(e) {
|
|
2513
|
+
return new fn(e);
|
|
2514
2514
|
}, pn = on.extend({
|
|
2515
2515
|
options: {
|
|
2516
2516
|
position: "bottomright",
|
|
@@ -2551,7 +2551,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2551
2551
|
});
|
|
2552
2552
|
Q.mergeOptions({ attributionControl: !0 }), Q.addInitHook(function() {
|
|
2553
2553
|
this.options.attributionControl && new pn().addTo(this);
|
|
2554
|
-
}), on.Layers = cn, on.Zoom = un, on.Scale =
|
|
2554
|
+
}), on.Layers = cn, on.Zoom = un, on.Scale = fn, on.Attribution = pn, sn.layers = ln, sn.zoom = dn, sn.scale = $, sn.attribution = function(e) {
|
|
2555
2555
|
return new pn(e);
|
|
2556
2556
|
};
|
|
2557
2557
|
var mn = C.extend({
|
|
@@ -2780,21 +2780,21 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2780
2780
|
__proto__: null,
|
|
2781
2781
|
LonLat: Rn,
|
|
2782
2782
|
Mercator: zn,
|
|
2783
|
-
SphericalMercator:
|
|
2783
|
+
SphericalMercator: oe
|
|
2784
2784
|
}, Vn = n({}, I, {
|
|
2785
2785
|
code: "EPSG:3395",
|
|
2786
2786
|
projection: zn,
|
|
2787
2787
|
transformation: function() {
|
|
2788
2788
|
var e = .5 / (Math.PI * zn.R);
|
|
2789
|
-
return
|
|
2789
|
+
return ce(e, .5, -e, .5);
|
|
2790
2790
|
}()
|
|
2791
2791
|
}), Hn = n({}, I, {
|
|
2792
2792
|
code: "EPSG:4326",
|
|
2793
2793
|
projection: Rn,
|
|
2794
|
-
transformation:
|
|
2794
|
+
transformation: ce(1 / 180, 1, -1 / 180, .5)
|
|
2795
2795
|
}), Un = n({}, F, {
|
|
2796
2796
|
projection: Rn,
|
|
2797
|
-
transformation:
|
|
2797
|
+
transformation: ce(1, 0, -1, 0),
|
|
2798
2798
|
scale: function(e) {
|
|
2799
2799
|
return 2 ** e;
|
|
2800
2800
|
},
|
|
@@ -2807,7 +2807,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2807
2807
|
},
|
|
2808
2808
|
infinite: !0
|
|
2809
2809
|
});
|
|
2810
|
-
F.Earth = I, F.EPSG3395 = Vn, F.EPSG3857 =
|
|
2810
|
+
F.Earth = I, F.EPSG3395 = Vn, F.EPSG3857 = le, F.EPSG900913 = ue, F.EPSG4326 = Hn, F.Simple = Un;
|
|
2811
2811
|
var Wn = T.extend({
|
|
2812
2812
|
options: {
|
|
2813
2813
|
pane: "overlayPane",
|
|
@@ -4784,7 +4784,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4784
4784
|
_bringToBack: function(e) {
|
|
4785
4785
|
bt(e._container);
|
|
4786
4786
|
}
|
|
4787
|
-
}, Kr = U.vml ? Wr :
|
|
4787
|
+
}, Kr = U.vml ? Wr : de, qr = Vr.extend({
|
|
4788
4788
|
_initContainer: function() {
|
|
4789
4789
|
this._container = Kr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Kr("g"), this._container.appendChild(this._rootGroup);
|
|
4790
4790
|
},
|
|
@@ -4821,7 +4821,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4821
4821
|
t && (n.stroke ? (t.setAttribute("stroke", n.color), t.setAttribute("stroke-opacity", n.opacity), t.setAttribute("stroke-width", n.weight), t.setAttribute("stroke-linecap", n.lineCap), t.setAttribute("stroke-linejoin", n.lineJoin), n.dashArray ? t.setAttribute("stroke-dasharray", n.dashArray) : t.removeAttribute("stroke-dasharray"), n.dashOffset ? t.setAttribute("stroke-dashoffset", n.dashOffset) : t.removeAttribute("stroke-dashoffset")) : t.setAttribute("stroke", "none"), n.fill ? (t.setAttribute("fill", n.fillColor || n.color), t.setAttribute("fill-opacity", n.fillOpacity), t.setAttribute("fill-rule", n.fillRule || "evenodd")) : t.setAttribute("fill", "none"));
|
|
4822
4822
|
},
|
|
4823
4823
|
_updatePoly: function(e, t) {
|
|
4824
|
-
this._setPath(e,
|
|
4824
|
+
this._setPath(e, fe(e._parts, t));
|
|
4825
4825
|
},
|
|
4826
4826
|
_updateCircle: function(e) {
|
|
4827
4827
|
var t = e._point, n = Math.max(Math.round(e._radius), 1), r = Math.max(Math.round(e._radiusY), 1) || n, i = "a" + n + "," + r + " 0 1,0 ", a = e._empty() ? "M0 0" : "M" + (t.x - n) + "," + t.y + i + n * 2 + ",0 " + i + -n * 2 + ",0 ";
|
|
@@ -4874,7 +4874,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4874
4874
|
function Xr(e, t) {
|
|
4875
4875
|
return new Yr(e, t);
|
|
4876
4876
|
}
|
|
4877
|
-
qr.create = Kr, qr.pointsToPath =
|
|
4877
|
+
qr.create = Kr, qr.pointsToPath = fe, ur.geometryToLayer = dr, ur.coordsToLatLng = pr, ur.coordsToLatLngs = mr, ur.latLngToCoords = hr, ur.latLngsToCoords = gr, ur.getFeature = _r, ur.asFeature = vr, Q.mergeOptions({ boxZoom: !0 });
|
|
4878
4878
|
var Zr = mn.extend({
|
|
4879
4879
|
initialize: function(e) {
|
|
4880
4880
|
this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
|
|
@@ -5233,7 +5233,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5233
5233
|
this._zooming = !1, S(this._animRequest), X(document, "touchmove", this._onTouchMove, this), X(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
5234
5234
|
}
|
|
5235
5235
|
});
|
|
5236
|
-
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = k, e.Browser = U, e.CRS = F, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = C, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = _n, e.Evented = T, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = E, e.PolyUtil = xn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation =
|
|
5236
|
+
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = k, e.Browser = U, e.CRS = F, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = C, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = _n, e.Evented = T, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = E, e.PolyUtil = xn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = se, e.Util = ie, e.VideoOverlay = wr, e.bind = i, e.bounds = A, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = sn, e.divIcon = Pr, e.extend = n, e.featureGroup = Jn, e.geoJSON = br, e.geoJson = xr, e.gridLayer = Ir, e.icon = Xn, e.imageOverlay = Cr, e.latLng = P, e.latLngBounds = M, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = O, e.polygon = lr, e.polyline = sr, e.popup = Ar, e.rectangle = Xr, e.setOptions = p, e.stamp = o, e.svg = Jr, e.svgOverlay = Dr, e.tileLayer = Rr, e.tooltip = Mr, e.transformation = ce, e.version = t, e.videoOverlay = Tr;
|
|
5237
5237
|
var ai = window.L;
|
|
5238
5238
|
e.noConflict = function() {
|
|
5239
5239
|
return window.L = ai, this;
|
|
@@ -5980,7 +5980,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5980
5980
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5981
5981
|
});
|
|
5982
5982
|
})))();
|
|
5983
|
-
var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", Zt = /*#__PURE__*/
|
|
5983
|
+
var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", Zt = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
5984
5984
|
__name: "Map",
|
|
5985
5985
|
props: {
|
|
5986
5986
|
modelValue: {},
|
|
@@ -5988,7 +5988,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
5988
5988
|
},
|
|
5989
5989
|
emits: ["update:modelValue", "callback"],
|
|
5990
5990
|
setup(e, { emit: t }) {
|
|
5991
|
-
let { t: n } = v(), r = t, i = e, { hotelMapImage: a } = T(
|
|
5991
|
+
let { t: n } = v(), r = t, i = e, { hotelMapImage: a } = T(he()), o = Z.default.Util.extend(Z.default.CRS.Simple, { transformation: new Z.default.Transformation(1, 0, 1, 0) }), s = F(), c = N(() => a.value?.url), l = N(() => a.value?.height), u = N(() => a.value?.width), d = Z.default.icon({
|
|
5992
5992
|
iconUrl: Xt,
|
|
5993
5993
|
iconSize: [32, 37],
|
|
5994
5994
|
iconAnchor: [16, 37]
|
|
@@ -6082,7 +6082,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6082
6082
|
}, an = {
|
|
6083
6083
|
key: 1,
|
|
6084
6084
|
class: "konnectio-listing-units-body"
|
|
6085
|
-
}, on = /*#__PURE__*/
|
|
6085
|
+
}, on = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6086
6086
|
__name: "Hotel",
|
|
6087
6087
|
props: {
|
|
6088
6088
|
room: {},
|
|
@@ -6100,7 +6100,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6100
6100
|
let { t: i } = v(), u = e, d = F([]);
|
|
6101
6101
|
function p() {
|
|
6102
6102
|
let e = d.value.length;
|
|
6103
|
-
|
|
6103
|
+
ue(e);
|
|
6104
6104
|
}
|
|
6105
6105
|
function h(e) {
|
|
6106
6106
|
d.value.splice(e, 1);
|
|
@@ -6108,18 +6108,18 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6108
6108
|
let ee = N(() => u.room.rates.map((e) => ({
|
|
6109
6109
|
label: e.name,
|
|
6110
6110
|
value: e.id
|
|
6111
|
-
}))), { hideAvailableRoomAmount: te, autoSelectRateId: b, enableMultipleConfigurations: re } = T(
|
|
6111
|
+
}))), { hideAvailableRoomAmount: te, autoSelectRateId: b, enableMultipleConfigurations: re, hasSharedAddonSelection: x } = T(ce()), { location: S } = T(oe()), { roomSelect: ie, isSearchOutdated: ae } = T(he()), { addToCart: E, removeFromCart: D } = se(), O = (e, t) => u.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), k = N(() => u.room.roomList.some((e) => e.mapImageX && e.mapImageY)), A = N(() => u.room.rates.every((e) => e.isBreakfastIncluded === !0)), P = (e, t) => O(e, t) ? O(e, t)?.rooms : null, I = (e) => u.room.rates.length > 0 && u.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6112
6112
|
value: e.index,
|
|
6113
6113
|
price: e.totalPrice,
|
|
6114
6114
|
adults: e.adultsCount,
|
|
6115
6115
|
children: e.childrenCount,
|
|
6116
6116
|
hasBreakfast: e.hasBreakfast
|
|
6117
|
-
})) || [],
|
|
6118
|
-
function
|
|
6117
|
+
})) || [], R = N(() => u.room.rates.length > 1);
|
|
6118
|
+
function le(e, t) {
|
|
6119
6119
|
d.value[e].config[0].id = u.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
|
|
6120
6120
|
}
|
|
6121
|
-
function
|
|
6122
|
-
|
|
6121
|
+
function ue(e = 0) {
|
|
6122
|
+
R.value ? b.value ? d.value[e] = {
|
|
6123
6123
|
id: u.room.bestRateMatch || void 0,
|
|
6124
6124
|
config: [{
|
|
6125
6125
|
id: u.room.bestRateMatch && !isNaN(u.room.bestRateMatch) ? u.room.rates.find((e) => e.id === u.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
@@ -6143,24 +6143,27 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6143
6143
|
};
|
|
6144
6144
|
}
|
|
6145
6145
|
return l(() => {
|
|
6146
|
-
|
|
6146
|
+
ue();
|
|
6147
6147
|
}), ne(N(() => JSON.parse(JSON.stringify(d.value))), (e, t) => {
|
|
6148
6148
|
t.length > 0 && e.forEach((e, n) => {
|
|
6149
6149
|
t[n] && e.config.forEach((e, r) => {
|
|
6150
6150
|
let i = e.units, a = t[n].config[r].units;
|
|
6151
|
-
i !== a
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6151
|
+
if (i !== a) if (i > a) {
|
|
6152
|
+
let e = d.value[n].config[r].addons;
|
|
6153
|
+
e.push(x.value(S.value) ? e[0] ?? {} : {}), E({
|
|
6154
|
+
id: u.room.id,
|
|
6155
|
+
name: u.room.title,
|
|
6156
|
+
value: u.room.rates[n].rackRate
|
|
6157
|
+
});
|
|
6158
|
+
} else d.value[n].config[r].addons.pop(), D({
|
|
6156
6159
|
id: u.room.id,
|
|
6157
6160
|
name: u.room.title,
|
|
6158
6161
|
value: u.room.rates[n].rackRate
|
|
6159
|
-
})
|
|
6162
|
+
});
|
|
6160
6163
|
});
|
|
6161
6164
|
});
|
|
6162
6165
|
}, { deep: !0 }), ne(d, () => {
|
|
6163
|
-
|
|
6166
|
+
ie.value[u.room.id] = d.value;
|
|
6164
6167
|
}, { deep: !0 }), (l, u) => (c(), o(ze, {
|
|
6165
6168
|
type: "hotel",
|
|
6166
6169
|
"listing-id": e.room.id,
|
|
@@ -6170,19 +6173,19 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6170
6173
|
layout: e.layout,
|
|
6171
6174
|
facilities: e.room.facilities,
|
|
6172
6175
|
"prices-from": e.room.pricesFrom,
|
|
6173
|
-
"includes-breakfast":
|
|
6176
|
+
"includes-breakfast": A.value
|
|
6174
6177
|
}, {
|
|
6175
6178
|
action: j(() => [g("div", { class: s(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": d.value.length > 1 }]) }, [(c(!0), f(y, null, m(d.value, (o, s) => (c(), f("div", {
|
|
6176
6179
|
key: o.id,
|
|
6177
6180
|
class: "konnectio-hotel-room"
|
|
6178
|
-
}, [
|
|
6181
|
+
}, [R.value ? (c(), f("div", en, [C(Ae, {
|
|
6179
6182
|
modelValue: o.id,
|
|
6180
6183
|
"onUpdate:modelValue": (e) => o.id = e,
|
|
6181
6184
|
label: _(i)("hotel.roomVariant"),
|
|
6182
6185
|
placeholder: _(i)("hotel.chooseARoomVariant"),
|
|
6183
6186
|
options: ee.value,
|
|
6184
6187
|
searchable: !1,
|
|
6185
|
-
onChanged: (e) =>
|
|
6188
|
+
onChanged: (e) => le(s, e)
|
|
6186
6189
|
}, null, 8, [
|
|
6187
6190
|
"modelValue",
|
|
6188
6191
|
"onUpdate:modelValue",
|
|
@@ -6209,8 +6212,8 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6209
6212
|
"icon-type": "fas",
|
|
6210
6213
|
label: _(i)("general.guests"),
|
|
6211
6214
|
description: l === 0 ? void 0 : `${_(i)("general.maximumGuests")}: ${l}`,
|
|
6212
|
-
options:
|
|
6213
|
-
readonly: !(
|
|
6215
|
+
options: I(s),
|
|
6216
|
+
readonly: !(I(s).length > 1)
|
|
6214
6217
|
}, null, 8, [
|
|
6215
6218
|
"modelValue",
|
|
6216
6219
|
"onUpdate:modelValue",
|
|
@@ -6218,12 +6221,12 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6218
6221
|
"description",
|
|
6219
6222
|
"options",
|
|
6220
6223
|
"readonly"
|
|
6221
|
-
])]),
|
|
6224
|
+
])]), k.value ? (c(), f("div", an, [C(V, {
|
|
6222
6225
|
onClickEvent: n,
|
|
6223
6226
|
label: _(i)("hotel.selectRoomOnMap"),
|
|
6224
6227
|
secondary: "",
|
|
6225
6228
|
"full-width": "",
|
|
6226
|
-
disabled: _(
|
|
6229
|
+
disabled: _(ae)
|
|
6227
6230
|
}, null, 8, ["label", "disabled"]), C($t, {
|
|
6228
6231
|
modelValue: t.value,
|
|
6229
6232
|
"onUpdate:modelValue": u[0] ||= (e) => t.value = e,
|
|
@@ -6237,20 +6240,20 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6237
6240
|
])])) : (c(), f("ul", Q, [C(Oe, {
|
|
6238
6241
|
modelValue: a.units,
|
|
6239
6242
|
"onUpdate:modelValue": (e) => a.units = e,
|
|
6240
|
-
description: _(te) ? void 0 : `${_(i)("booking.availability.availableUnits")}: ${
|
|
6243
|
+
description: _(te) ? void 0 : `${_(i)("booking.availability.availableUnits")}: ${P(o.id, a.id)}`,
|
|
6241
6244
|
icon: "house",
|
|
6242
6245
|
"icon-type": "fas",
|
|
6243
6246
|
"icon-placement": "label",
|
|
6244
6247
|
label: _(i)("booking.availability.units"),
|
|
6245
6248
|
minValue: 0,
|
|
6246
|
-
"max-value":
|
|
6249
|
+
"max-value": P(s, a.id) || Infinity
|
|
6247
6250
|
}, null, 8, [
|
|
6248
6251
|
"modelValue",
|
|
6249
6252
|
"onUpdate:modelValue",
|
|
6250
6253
|
"description",
|
|
6251
6254
|
"label",
|
|
6252
6255
|
"max-value"
|
|
6253
|
-
])]))]))), 128)) : a("", !0)]))), 128))])) : a("", !0)]))), 128)), _(re) &&
|
|
6256
|
+
])]))]))), 128)) : a("", !0)]))), 128))])) : a("", !0)]))), 128)), _(re) && R.value ? (c(), f("button", {
|
|
6254
6257
|
key: 0,
|
|
6255
6258
|
class: "konnectio-hotel-add-extra-room link",
|
|
6256
6259
|
onClick: M(p, ["prevent"])
|
|
@@ -6267,10 +6270,10 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6267
6270
|
"includes-breakfast"
|
|
6268
6271
|
]));
|
|
6269
6272
|
}
|
|
6270
|
-
}), [["__scopeId", "data-v-
|
|
6273
|
+
}), [["__scopeId", "data-v-3ff28d7e"]]), sn = { class: "konnectio-template-side-panel" }, cn = { class: "konnectio-template-side-panel-listings" }, ln = { class: "konnectio-template-room-config" }, un = { class: "konnectio-template-room-units" }, dn = { class: "konnectio-template-room-unit-header" }, fn = { class: "konnectio-template-footer" }, $ = {
|
|
6271
6274
|
key: 0,
|
|
6272
6275
|
class: "konnectio-template-selection-preview"
|
|
6273
|
-
}, pn = { class: "konnectio-template-selection-item-header" }, mn = { class: "konnectio-template-selection-item-name" }, hn = { class: "konnectio-template-selection-item-price" }, gn = { class: "konnectio-template-selection-item-units" }, _n = /*#__PURE__*/
|
|
6276
|
+
}, pn = { class: "konnectio-template-selection-item-header" }, mn = { class: "konnectio-template-selection-item-name" }, hn = { class: "konnectio-template-selection-item-price" }, gn = { class: "konnectio-template-selection-item-units" }, _n = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6274
6277
|
__name: "Template",
|
|
6275
6278
|
props: {
|
|
6276
6279
|
title: {},
|
|
@@ -6281,85 +6284,85 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6281
6284
|
callback: { type: Function }
|
|
6282
6285
|
},
|
|
6283
6286
|
setup(e) {
|
|
6284
|
-
let { t } = v(), n =
|
|
6287
|
+
let { t } = v(), n = ce(), i = he(), { location: l, adults: u, children: d } = T(oe()), { templateID: p, roomGroupID: h, templateRoomSelections: b, selectionHasNoAddons: re, currentAdults: x, currentChildren: S } = T(i), { currency: ie } = T(n), { clearRoomSelection: ae } = i, { addToCart: E } = se(), { hasChildSelection: D, hasSharedAddonSelection: O } = n, k = e, A = F(!1), M = u.value || 1, P = d.value || 0, I = te({}), R = N(() => {
|
|
6285
6288
|
function e(e, t) {
|
|
6286
|
-
return
|
|
6289
|
+
return A.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6287
6290
|
}
|
|
6288
|
-
let t =
|
|
6291
|
+
let t = k.roomGroups?.slice().sort(e) || [];
|
|
6289
6292
|
return t.forEach((e) => {
|
|
6290
|
-
|
|
6293
|
+
I[e.id] || (I[e.id] = {
|
|
6291
6294
|
units: 0,
|
|
6292
6295
|
configs: [{
|
|
6293
|
-
adults:
|
|
6294
|
-
children:
|
|
6296
|
+
adults: M,
|
|
6297
|
+
children: P
|
|
6295
6298
|
}]
|
|
6296
6299
|
});
|
|
6297
6300
|
}), t;
|
|
6298
6301
|
});
|
|
6299
|
-
function
|
|
6300
|
-
return
|
|
6302
|
+
function le(e) {
|
|
6303
|
+
return R.value.find((t) => t.id === e);
|
|
6301
6304
|
}
|
|
6302
|
-
function
|
|
6303
|
-
let t =
|
|
6304
|
-
if (!t) return
|
|
6305
|
+
function de(e) {
|
|
6306
|
+
let t = le(e);
|
|
6307
|
+
if (!t) return M;
|
|
6305
6308
|
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6306
|
-
return Math.max(n,
|
|
6309
|
+
return Math.max(n, M);
|
|
6307
6310
|
}
|
|
6308
6311
|
function fe(e) {
|
|
6309
|
-
let t =
|
|
6310
|
-
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(
|
|
6312
|
+
let t = le(e);
|
|
6313
|
+
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(P, 1) : 0;
|
|
6311
6314
|
}
|
|
6312
6315
|
function pe(e) {
|
|
6313
|
-
let t =
|
|
6316
|
+
let t = le(e);
|
|
6314
6317
|
return t && t.availableRoomCount || 1;
|
|
6315
6318
|
}
|
|
6316
6319
|
function me(e) {
|
|
6317
|
-
let t =
|
|
6318
|
-
return t ? t.extraPrice +
|
|
6320
|
+
let t = le(e);
|
|
6321
|
+
return t ? t.extraPrice + k.weekendFee : 0;
|
|
6319
6322
|
}
|
|
6320
|
-
ne(() => ({ ...
|
|
6321
|
-
Object.keys(
|
|
6322
|
-
let t =
|
|
6323
|
+
ne(() => ({ ...I }), () => {
|
|
6324
|
+
Object.keys(I).forEach((e) => {
|
|
6325
|
+
let t = I[Number(e)], n = t.units, r = t.configs.length;
|
|
6323
6326
|
if (n > r) for (let e = r; e < n; e++) t.configs.push({
|
|
6324
|
-
adults:
|
|
6325
|
-
children:
|
|
6327
|
+
adults: M,
|
|
6328
|
+
children: P
|
|
6326
6329
|
});
|
|
6327
6330
|
else n < r && t.configs.splice(n);
|
|
6328
6331
|
});
|
|
6329
6332
|
}, { deep: !0 });
|
|
6330
|
-
let
|
|
6331
|
-
JSON.stringify(
|
|
6333
|
+
let ge = N(() => {
|
|
6334
|
+
JSON.stringify(I);
|
|
6332
6335
|
let e = {};
|
|
6333
|
-
return
|
|
6334
|
-
let n =
|
|
6336
|
+
return R.value.forEach((t) => {
|
|
6337
|
+
let n = I[t.id];
|
|
6335
6338
|
if (!n) {
|
|
6336
6339
|
e[t.id] = [];
|
|
6337
6340
|
return;
|
|
6338
6341
|
}
|
|
6339
|
-
e[t.id] = n.configs.map((e) =>
|
|
6342
|
+
e[t.id] = n.configs.map((e) => ue(t, e.adults, e.children, M, P));
|
|
6340
6343
|
}), e;
|
|
6341
6344
|
});
|
|
6342
|
-
function
|
|
6343
|
-
return
|
|
6345
|
+
function z(e, t) {
|
|
6346
|
+
return ge.value[e]?.[t] ?? 0;
|
|
6344
6347
|
}
|
|
6345
|
-
function
|
|
6348
|
+
function _e() {
|
|
6346
6349
|
let e = 0;
|
|
6347
|
-
return
|
|
6348
|
-
let n =
|
|
6350
|
+
return R.value.forEach((t) => {
|
|
6351
|
+
let n = I[t.id];
|
|
6349
6352
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6350
|
-
let n =
|
|
6351
|
-
e += n +
|
|
6353
|
+
let n = z(t.id, r);
|
|
6354
|
+
e += n + k.weekendFee;
|
|
6352
6355
|
}
|
|
6353
6356
|
}), e;
|
|
6354
6357
|
}
|
|
6355
6358
|
function ve() {
|
|
6356
|
-
return Object.values(
|
|
6359
|
+
return Object.values(I).reduce((e, t) => e + t.units, 0);
|
|
6357
6360
|
}
|
|
6358
|
-
let
|
|
6359
|
-
let t =
|
|
6361
|
+
let be = N(() => R.value.filter((e) => I[e.id]?.units > 0).map((e) => {
|
|
6362
|
+
let t = I[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6360
6363
|
adults: t.adults,
|
|
6361
6364
|
children: t.children,
|
|
6362
|
-
price:
|
|
6365
|
+
price: z(e.id, n) + k.weekendFee
|
|
6363
6366
|
}));
|
|
6364
6367
|
return {
|
|
6365
6368
|
id: e.id,
|
|
@@ -6368,27 +6371,27 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6368
6371
|
units: n
|
|
6369
6372
|
};
|
|
6370
6373
|
}));
|
|
6371
|
-
ne(
|
|
6374
|
+
ne(be, () => {
|
|
6372
6375
|
ee(() => window.dispatchEvent(new Event("resize")));
|
|
6373
6376
|
});
|
|
6374
|
-
function
|
|
6375
|
-
if (!Object.values(
|
|
6377
|
+
function xe() {
|
|
6378
|
+
if (!Object.values(I).some((e) => e.units > 0)) return;
|
|
6376
6379
|
ae();
|
|
6377
6380
|
let e = [], t = 0, n = 0;
|
|
6378
|
-
if (
|
|
6379
|
-
let i =
|
|
6381
|
+
if (R.value.forEach((r) => {
|
|
6382
|
+
let i = I[r.id];
|
|
6380
6383
|
if (!i || i.units === 0) return;
|
|
6381
|
-
let a = i.configs.slice(0, i.units), o = {};
|
|
6384
|
+
let a = i.configs.slice(0, i.units), o = O(l.value) ? {} : null;
|
|
6382
6385
|
e.push({
|
|
6383
6386
|
roomGroupId: r.id,
|
|
6384
6387
|
unitConfigs: a.map((e) => ({
|
|
6385
6388
|
adults: e.adults,
|
|
6386
6389
|
children: e.children,
|
|
6387
|
-
addons: o
|
|
6390
|
+
addons: o ?? {}
|
|
6388
6391
|
}))
|
|
6389
6392
|
}), h.value ||= r.id;
|
|
6390
6393
|
for (let e = 0; e < i.units; e++) {
|
|
6391
|
-
let t =
|
|
6394
|
+
let t = z(r.id, e);
|
|
6392
6395
|
E({
|
|
6393
6396
|
id: r.id,
|
|
6394
6397
|
name: r.title,
|
|
@@ -6398,33 +6401,33 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6398
6401
|
a.forEach((e) => {
|
|
6399
6402
|
t += e.adults, n += e.children;
|
|
6400
6403
|
});
|
|
6401
|
-
}), b.value = e, p.value =
|
|
6402
|
-
|
|
6404
|
+
}), b.value = e, p.value = k.templateId, x.value = t, S.value = n, k.hideAddons === !1 && re.value === !1) {
|
|
6405
|
+
k.callback(1);
|
|
6403
6406
|
return;
|
|
6404
6407
|
}
|
|
6405
|
-
|
|
6408
|
+
k.callback(2);
|
|
6406
6409
|
}
|
|
6407
6410
|
return (n, i) => (c(), o(qe, {
|
|
6408
6411
|
title: e.title,
|
|
6409
6412
|
subtitle: _(t)("booking.availability.selectATemplateRoom")
|
|
6410
6413
|
}, {
|
|
6411
|
-
footer: j(() => [g("div",
|
|
6414
|
+
footer: j(() => [g("div", fn, [be.value.length > 0 ? (c(), f("div", $, [(c(!0), f(y, null, m(be.value, (e) => (c(), f("div", {
|
|
6412
6415
|
key: e.id,
|
|
6413
6416
|
class: "konnectio-template-selection-item"
|
|
6414
|
-
}, [g("div", pn, [g("span", mn, w(e.title), 1), g("span", hn, w(_(
|
|
6417
|
+
}, [g("div", pn, [g("span", mn, w(e.title), 1), g("span", hn, w(_(ye)(e.totalPrice, _(ie))), 1)]), g("div", gn, [(c(!0), f(y, null, m(e.units, (e, n) => (c(), f("span", {
|
|
6415
6418
|
key: n,
|
|
6416
6419
|
class: "konnectio-template-selection-unit"
|
|
6417
6420
|
}, [
|
|
6418
6421
|
r(w(_(t)("booking.reservation.room")) + " " + w(n + 1) + ": " + w(e.adults) + " " + w(_(t)("availability.adults")) + " ", 1),
|
|
6419
6422
|
e.children > 0 ? (c(), f(y, { key: 0 }, [r(" , " + w(e.children) + " " + w(_(t)("availability.children")), 1)], 64)) : a("", !0),
|
|
6420
|
-
r(" · " + w(_(
|
|
6423
|
+
r(" · " + w(_(ye)(e.price, _(ie))), 1)
|
|
6421
6424
|
]))), 128))])]))), 128))])) : a("", !0), C(V, {
|
|
6422
|
-
onClickEvent:
|
|
6423
|
-
label: `${ve() > 1 ? _(t)("booking.availability.selectTheseRooms") : _(t)("booking.availability.selectThisRoom")} (${_(
|
|
6425
|
+
onClickEvent: xe,
|
|
6426
|
+
label: `${ve() > 1 ? _(t)("booking.availability.selectTheseRooms") : _(t)("booking.availability.selectThisRoom")} (${_(ye)(_e(), _(ie))})`,
|
|
6424
6427
|
disabled: ve() === 0,
|
|
6425
6428
|
"full-width": ""
|
|
6426
6429
|
}, null, 8, ["label", "disabled"])])]),
|
|
6427
|
-
default: j(() => [g("div", sn, [g("div", cn, [(c(!0), f(y, null, m(
|
|
6430
|
+
default: j(() => [g("div", sn, [g("div", cn, [(c(!0), f(y, null, m(R.value, (e) => (c(), o(ze, {
|
|
6428
6431
|
key: e.id,
|
|
6429
6432
|
type: "hotel",
|
|
6430
6433
|
"listing-id": e.id,
|
|
@@ -6437,8 +6440,8 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6437
6440
|
"hide-info-button": !0
|
|
6438
6441
|
}, {
|
|
6439
6442
|
action: j(() => [g("div", ln, [g("div", un, [C(Oe, {
|
|
6440
|
-
modelValue:
|
|
6441
|
-
"onUpdate:modelValue": (t) =>
|
|
6443
|
+
modelValue: I[e.id].units,
|
|
6444
|
+
"onUpdate:modelValue": (t) => I[e.id].units = t,
|
|
6442
6445
|
label: _(t)("booking.availability.units"),
|
|
6443
6446
|
icon: "house",
|
|
6444
6447
|
"icon-type": "fas",
|
|
@@ -6451,10 +6454,10 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6451
6454
|
"onUpdate:modelValue",
|
|
6452
6455
|
"label",
|
|
6453
6456
|
"max-value"
|
|
6454
|
-
])]), (c(!0), f(y, null, m(
|
|
6457
|
+
])]), (c(!0), f(y, null, m(I[e.id].configs, (n, r) => (c(), f("div", {
|
|
6455
6458
|
key: r,
|
|
6456
6459
|
class: "konnectio-template-room-unit-config"
|
|
6457
|
-
}, [g("div", dn, [g("span", null, w(_(t)("booking.reservation.room")) + " " + w(r + 1), 1), g("span", null, w(_(
|
|
6460
|
+
}, [g("div", dn, [g("span", null, w(_(t)("booking.reservation.room")) + " " + w(r + 1), 1), g("span", null, w(_(ye)(z(e.id, r), _(ie))), 1)]), g("div", { class: s(["konnectio-template-room-guests", { "only-adult-guests": !_(D)(_(l)) }]) }, [C(Oe, {
|
|
6458
6461
|
modelValue: n.adults,
|
|
6459
6462
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6460
6463
|
label: _(t)("availability.adults"),
|
|
@@ -6463,7 +6466,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6463
6466
|
"icon-type": "fas",
|
|
6464
6467
|
"icon-placement": "label",
|
|
6465
6468
|
"min-value": 1,
|
|
6466
|
-
"max-value":
|
|
6469
|
+
"max-value": de(e.id),
|
|
6467
6470
|
controls: !0
|
|
6468
6471
|
}, null, 8, [
|
|
6469
6472
|
"modelValue",
|
|
@@ -6502,7 +6505,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6502
6505
|
_: 1
|
|
6503
6506
|
}, 8, ["title", "subtitle"]));
|
|
6504
6507
|
}
|
|
6505
|
-
}), [["__scopeId", "data-v-
|
|
6508
|
+
}), [["__scopeId", "data-v-f84b10ec"]]), vn = { class: "konnectio-template-select-package" }, yn = /* @__PURE__ */ d({
|
|
6506
6509
|
__name: "Template",
|
|
6507
6510
|
props: {
|
|
6508
6511
|
id: {},
|
|
@@ -6515,7 +6518,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6515
6518
|
callback: { type: Function }
|
|
6516
6519
|
},
|
|
6517
6520
|
setup(e) {
|
|
6518
|
-
let { t } = v(), n = e, { isSearchOutdated: r } = T(
|
|
6521
|
+
let { t } = v(), n = e, { isSearchOutdated: r } = T(he()), i = N(() => n.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + n.weekendFee), a = F(!1);
|
|
6519
6522
|
function s() {
|
|
6520
6523
|
a.value = !0;
|
|
6521
6524
|
}
|
|
@@ -6566,7 +6569,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6566
6569
|
"prices-from"
|
|
6567
6570
|
]));
|
|
6568
6571
|
}
|
|
6569
|
-
}), bn = { class: "konnectio-special-offer-availability" }, xn = { class: "konnectio-special-offer-availability-button" }, Sn = /*#__PURE__*/
|
|
6572
|
+
}), bn = { class: "konnectio-special-offer-availability" }, xn = { class: "konnectio-special-offer-availability-button" }, Sn = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6570
6573
|
__name: "SpecialOffer",
|
|
6571
6574
|
props: {
|
|
6572
6575
|
id: {},
|
|
@@ -6579,7 +6582,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6579
6582
|
roomGroups: {}
|
|
6580
6583
|
},
|
|
6581
6584
|
setup(e) {
|
|
6582
|
-
let { t } = v(), { updateDates: n } =
|
|
6585
|
+
let { t } = v(), { updateDates: n } = oe(), { display: r } = me(), i = e, a = F([]), s = N(() => ge(i.fromDate, i.toDate) === 1);
|
|
6583
6586
|
function u() {
|
|
6584
6587
|
a.value.length > 0 ? n(a.value[0], a.value[1]) : r({
|
|
6585
6588
|
message: t("alert.error.selectDates"),
|
|
@@ -6694,7 +6697,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6694
6697
|
}), wn = { style: {
|
|
6695
6698
|
display: "flex",
|
|
6696
6699
|
"align-items": "baseline"
|
|
6697
|
-
} }, Tn = /*#__PURE__*/
|
|
6700
|
+
} }, Tn = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6698
6701
|
__name: "CountryField",
|
|
6699
6702
|
props: {
|
|
6700
6703
|
modelValue: {},
|
|
@@ -6741,7 +6744,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6741
6744
|
"required"
|
|
6742
6745
|
]));
|
|
6743
6746
|
}
|
|
6744
|
-
}), [["__scopeId", "data-v-13aea6ce"]]), En = /*#__PURE__*/
|
|
6747
|
+
}), [["__scopeId", "data-v-13aea6ce"]]), En = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6745
6748
|
__name: "NameField",
|
|
6746
6749
|
props: {
|
|
6747
6750
|
modelValue: {},
|
|
@@ -6777,7 +6780,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6777
6780
|
},
|
|
6778
6781
|
emits: ["update:modelValue", "update:title"],
|
|
6779
6782
|
setup(e, { emit: t }) {
|
|
6780
|
-
let n = e, r = t, i = n.id ||
|
|
6783
|
+
let n = e, r = t, i = n.id || fe(), u = F(""), d = F(2);
|
|
6781
6784
|
function f() {
|
|
6782
6785
|
r("update:modelValue", u.value);
|
|
6783
6786
|
}
|
|
@@ -6799,7 +6802,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6799
6802
|
key: 0,
|
|
6800
6803
|
modelValue: d.value,
|
|
6801
6804
|
"onUpdate:modelValue": n[0] ||= (e) => d.value = e,
|
|
6802
|
-
id: _(
|
|
6805
|
+
id: _(fe)(),
|
|
6803
6806
|
icon: e.icon,
|
|
6804
6807
|
"icon-color": e.iconColor,
|
|
6805
6808
|
"icon-type": e.iconType,
|
|
@@ -6871,7 +6874,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6871
6874
|
"limit"
|
|
6872
6875
|
]));
|
|
6873
6876
|
}
|
|
6874
|
-
}), [["__scopeId", "data-v-4ad63bd6"]]), Dn = { class: "hotel-skeleton" }, On = { class: "hotel-skeleton-content" }, kn = { class: "hotel-skeleton-sidebar" }, An = /*#__PURE__*/
|
|
6877
|
+
}), [["__scopeId", "data-v-4ad63bd6"]]), Dn = { class: "hotel-skeleton" }, On = { class: "hotel-skeleton-content" }, kn = { class: "hotel-skeleton-sidebar" }, An = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6875
6878
|
__name: "HotelSkeleton",
|
|
6876
6879
|
setup(e) {
|
|
6877
6880
|
return (e, t) => (c(), f("div", Dn, [g("div", On, [C(Me, { hotel: "" }), C(Be)]), g("div", kn, [C(Ve)])]));
|
|
@@ -6930,23 +6933,26 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6930
6933
|
key: 1,
|
|
6931
6934
|
id: "konnectio-hotel-addons"
|
|
6932
6935
|
}, xr = {
|
|
6936
|
+
key: 0,
|
|
6937
|
+
class: "konnectio-hotel-reservation-room-name"
|
|
6938
|
+
}, Sr = {
|
|
6933
6939
|
key: 0,
|
|
6934
6940
|
class: "konnectio-table-addons-image"
|
|
6935
|
-
},
|
|
6941
|
+
}, Cr = ["innerHTML"], wr = { class: "konnectio-table-addons-option" }, Tr = { class: "konnectio-panel" }, Er = {
|
|
6936
6942
|
key: 0,
|
|
6937
6943
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6938
|
-
},
|
|
6944
|
+
}, Dr = ["innerHTML"], Or = { key: 0 }, kr = { key: 1 }, Ar = {
|
|
6939
6945
|
key: 2,
|
|
6940
6946
|
class: "konnectio-show-on-mobile"
|
|
6941
|
-
},
|
|
6947
|
+
}, jr = { class: "konnectio-split-inputs" }, Mr = {
|
|
6942
6948
|
key: 0,
|
|
6943
6949
|
class: "konnectio-hotel-member-card-mockup"
|
|
6944
|
-
},
|
|
6950
|
+
}, Nr = ["src"], Pr = { class: "konnectio-hotel-member-card-details" }, Fr = { key: 0 }, Ir = { key: 0 }, Lr = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6945
6951
|
name: "HotelLayout",
|
|
6946
6952
|
__name: "Hotel",
|
|
6947
6953
|
props: {
|
|
6948
6954
|
accessToken: {},
|
|
6949
|
-
headerLayout: { default:
|
|
6955
|
+
headerLayout: { default: R.Minimal },
|
|
6950
6956
|
onlyShow: { default: "everything" },
|
|
6951
6957
|
hideAddons: { default: "no" },
|
|
6952
6958
|
disableDefaultLocation: { default: "no" },
|
|
@@ -6963,21 +6969,27 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6963
6969
|
styling: {}
|
|
6964
6970
|
},
|
|
6965
6971
|
setup(e) {
|
|
6966
|
-
let t = u(() => import("./_-
|
|
6967
|
-
function
|
|
6972
|
+
let t = u(() => import("./_-Djyo_y3p.js").then((e) => e.n)), n = e, { t: i } = v(), { currentLocation: l, templateID: d, templateRoomSelections: p, templateRoomUnits: h, countries: ee, areListingsLoading: te, isPaymentLoading: ne, isReservationFormFilled: S, travelingFor: ie, arrivalTime: ae, departureTime: E, name: D, nameTitle: O, email: k, phone: A, firmName: M, postal: F, city: I, address: R, country: le, remark: ue, allergies: fe, roomSelect: ge, roomDisplay: z, hasValidRoomSelection: be, availabilityData: B, selectionHasNoAddons: Se, isAvailabilityDataAvailable: Ae, getSelectedPackageRooms: je, selectedPackage: Me, isSearchOutdated: Pe, isTemplateReservation: Fe, newsMails: Ie, adultsMismatch: ze, childrenMismatch: Be, totalAdults: Ve, totalChildren: We, hasGuestDiscountId: qe, hasGuestDiscountCode: Ye, guestDiscountId: Xe, guestDiscountName: Ze, guestDiscountCode: Qe, hasMemberCards: $e, memberCardList: et, selectedMemberCard: tt, memberCardControlNumber: nt, memberCardNumber: rt, selectedMemberCardObject: it, selectedMemberCardData: at, discountCode: ot, discountPayload: st } = T(he()), { isHostedCheckoutActive: ct } = T(Te()), { adults: lt, children: ut, location: dt, arrivalDate: ft, departureDate: pt, hasHotelLocations: mt } = T(oe()), { isValidHotelId: ht, updateDates: gt } = oe(), { currency: W, enableTracking: G, disableNamePrefix: vt, disableTravelingFor: yt, disableTravelingForBleasure: bt, disableCompanyField: xt, hasPaymentGateway: K, maxAdultAmount: q, maxChildAmount: St, defaultAdultAmount: Ct, defaultChildAmount: wt, disableNewsletterSignup: Tt, hasActiveIdFilter: Et, hotelSettings: Dt } = T(ce()), { hasArrivalDepartureInputs: J, hasUserArrivalSelection: Ot, hasUserDepartureSelection: kt, earliestArrivalTime: At, latestArrivalTime: jt, earliestDepartureTime: Mt, latestDepartureTime: Nt, hasSharedAddonSelection: Pt, setActiveIdFilter: Ft, clearActiveIdFilter: Lt } = ce(), { beginCheckout: Rt } = se(), { display: zt } = me(), { createReservation: Vt, fetchMetadata: Y, fetchAvailabilityData: Ht, filterAddons: Ut, hasAvailableRoomAddons: Wt, checkGuestDiscount: Gt, setGuestDiscountCode: Kt, validateMemberCard: qt, onOverviewReset: Jt, validateDiscountCode: Yt } = he(), Z = N(() => n.sortOrder === "desc");
|
|
6973
|
+
function Xt(e) {
|
|
6968
6974
|
let t = [];
|
|
6969
|
-
return e?.forEach((e) => {
|
|
6975
|
+
return Pt(l.value) ? (e?.forEach((e) => {
|
|
6970
6976
|
let n = t.find((t) => t.configIdx === e.configIdx);
|
|
6971
6977
|
n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
|
|
6972
|
-
}), t;
|
|
6978
|
+
}), t) : e ?? [];
|
|
6973
6979
|
}
|
|
6974
|
-
let
|
|
6980
|
+
let Zt = N(() => {
|
|
6975
6981
|
let e = [];
|
|
6976
|
-
return h.value.forEach((t) => {
|
|
6982
|
+
return Pt(l.value) ? h.value.forEach((t) => {
|
|
6977
6983
|
let n = e.find((e) => e.roomGroupId === t.roomGroupId);
|
|
6978
6984
|
n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
|
|
6985
|
+
}) : h.value.forEach((t, n) => {
|
|
6986
|
+
e.push({
|
|
6987
|
+
...t,
|
|
6988
|
+
unitNumber: h.value.slice(0, n + 1).filter((e) => e.roomGroupId === t.roomGroupId).length,
|
|
6989
|
+
unitTotal: h.value.filter((e) => e.roomGroupId === t.roomGroupId).length
|
|
6990
|
+
});
|
|
6979
6991
|
}), e;
|
|
6980
|
-
}),
|
|
6992
|
+
}), Qt = N(() => [
|
|
6981
6993
|
{
|
|
6982
6994
|
id: "availability",
|
|
6983
6995
|
label: i("booking.availability.title"),
|
|
@@ -7002,7 +7014,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7002
7014
|
label: i("booking.confirmation.title"),
|
|
7003
7015
|
icon: "calendar-check"
|
|
7004
7016
|
}
|
|
7005
|
-
]),
|
|
7017
|
+
]), $t = N(() => {
|
|
7006
7018
|
let e = [{
|
|
7007
7019
|
label: i("booking.reservation.business"),
|
|
7008
7020
|
value: "Business"
|
|
@@ -7014,97 +7026,97 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7014
7026
|
label: i("booking.reservation.bleasure"),
|
|
7015
7027
|
value: "Bleasure"
|
|
7016
7028
|
}), e;
|
|
7017
|
-
}),
|
|
7029
|
+
}), en = N(() => {
|
|
7018
7030
|
let e = B.value.roomGroups.slice();
|
|
7019
7031
|
function t(e, t) {
|
|
7020
|
-
return
|
|
7032
|
+
return Z.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
7021
7033
|
}
|
|
7022
7034
|
return n.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
|
|
7023
7035
|
});
|
|
7024
|
-
function
|
|
7036
|
+
function tn(e) {
|
|
7025
7037
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7026
7038
|
}
|
|
7027
|
-
let
|
|
7039
|
+
let nn = N(() => {
|
|
7028
7040
|
let e = B.value.templates.slice();
|
|
7029
7041
|
return n.sortBy === "price" && e.sort((e, t) => {
|
|
7030
|
-
let n =
|
|
7031
|
-
return
|
|
7042
|
+
let n = tn(e), r = tn(t);
|
|
7043
|
+
return Z.value ? r - n : n - r;
|
|
7032
7044
|
}), e;
|
|
7033
|
-
}),
|
|
7045
|
+
}), rn = N(() => {
|
|
7034
7046
|
let e = B.value.specialTemplates.slice();
|
|
7035
7047
|
return n.sortBy === "price" && e.sort((e, t) => {
|
|
7036
|
-
let n =
|
|
7037
|
-
return
|
|
7048
|
+
let n = tn(e), r = tn(t);
|
|
7049
|
+
return Z.value ? r - n : n - r;
|
|
7038
7050
|
}), e;
|
|
7039
|
-
}),
|
|
7040
|
-
function
|
|
7051
|
+
}), Q = N(() => n.hideAddons === "yes" || Fe.value && n.hideAddons === "packages" || !Fe.value && n.hideAddons === "rooms");
|
|
7052
|
+
function an(e) {
|
|
7041
7053
|
let t = $.discount;
|
|
7042
|
-
t ? (ot.value = t,
|
|
7054
|
+
t ? (ot.value = t, Yt()) : Ye.value && !st.value && (ot.value = Qe.value, Yt()), e();
|
|
7043
7055
|
}
|
|
7044
|
-
function
|
|
7045
|
-
|
|
7056
|
+
function sn(e) {
|
|
7057
|
+
Q.value || Se.value ? e(2) : e();
|
|
7046
7058
|
}
|
|
7047
|
-
async function
|
|
7048
|
-
await
|
|
7059
|
+
async function cn(e, t) {
|
|
7060
|
+
await Vt(e, t);
|
|
7049
7061
|
}
|
|
7050
|
-
function
|
|
7062
|
+
function ln() {
|
|
7051
7063
|
if ((dt.value === void 0 || isNaN(dt.value)) && mt.value) {
|
|
7052
|
-
|
|
7064
|
+
zt({
|
|
7053
7065
|
message: i("alert.error.selectHotelId"),
|
|
7054
7066
|
type: "error"
|
|
7055
7067
|
});
|
|
7056
7068
|
return;
|
|
7057
7069
|
}
|
|
7058
|
-
|
|
7070
|
+
Ht();
|
|
7059
7071
|
}
|
|
7060
|
-
function
|
|
7072
|
+
function un() {
|
|
7061
7073
|
let e = Ce("history", { removeNullishValues: !0 });
|
|
7062
|
-
|
|
7074
|
+
Lt(), e.id = void 0, Ht();
|
|
7063
7075
|
}
|
|
7064
|
-
function
|
|
7065
|
-
G.value &&
|
|
7076
|
+
function dn(e) {
|
|
7077
|
+
G.value && Rt(), Ye.value && !st.value && (ot.value = Qe.value, Yt()), Q.value || Se.value ? e(2) : e();
|
|
7066
7078
|
}
|
|
7067
|
-
function
|
|
7079
|
+
function fn() {
|
|
7068
7080
|
let e = dt.value;
|
|
7069
7081
|
n.forceArrivalTime && n.forceDepartureTime && e !== void 0 && Dt.value[e] && (Dt.value[e].disableArrivalUserSelection = !0, n.forceArrivalTime && (Dt.value[e].arrivalDefault = n.forceArrivalTime), n.forceDepartureTime && (Dt.value[e].departureDefault = n.forceDepartureTime));
|
|
7070
7082
|
}
|
|
7071
7083
|
let $ = Ce("history", { removeNullishValues: !0 });
|
|
7072
|
-
async function
|
|
7073
|
-
|
|
7084
|
+
async function pn() {
|
|
7085
|
+
fn();
|
|
7074
7086
|
let e = parseInt($.a), t = parseInt($.c), r = parseInt($.hid), a = parseInt($.n), o = $.ci, s = $.co, c = $.id, u = parseInt($.gid), d = $.discount, f = !1;
|
|
7075
|
-
if (isNaN(e) || (e > q.value ? lt.value = q.value : lt.value = e, lt.value === Ct.value && ($.a = void 0)), isNaN(t) || (t > St.value ? ut.value = St.value : ut.value = t, ut.value === wt.value && ($.c = void 0)), isNaN(a) || a > 0 && ($.n = void 0), isNaN(r) || (ht(r) ? (dt.value = r, f = !0) : ($.hid = void 0,
|
|
7087
|
+
if (isNaN(e) || (e > q.value ? lt.value = q.value : lt.value = e, lt.value === Ct.value && ($.a = void 0)), isNaN(t) || (t > St.value ? ut.value = St.value : ut.value = t, ut.value === wt.value && ($.c = void 0)), isNaN(a) || a > 0 && ($.n = void 0), isNaN(r) || (ht(r) ? (dt.value = r, f = !0) : ($.hid = void 0, zt({
|
|
7076
7088
|
message: i("alert.error.hotelIdNotFound"),
|
|
7077
7089
|
type: "error"
|
|
7078
|
-
}))), o && s) if (
|
|
7090
|
+
}))), o && s) if (ve(o) && ve(s)) {
|
|
7079
7091
|
let e = new Date(new Date(o).setHours(12, 0, 0, 0)), t = new Date(new Date(s).setHours(12, 0, 0, 0));
|
|
7080
|
-
e <= t ? (ft.value = e, pt.value = t) : ($.ci = void 0, $.co = void 0,
|
|
7092
|
+
e <= t ? (ft.value = e, pt.value = t) : ($.ci = void 0, $.co = void 0, zt({
|
|
7081
7093
|
message: i("alert.error.invalidDateRange"),
|
|
7082
7094
|
type: "error"
|
|
7083
7095
|
}));
|
|
7084
|
-
} else
|
|
7096
|
+
} else zt({
|
|
7085
7097
|
message: i("alert.error.wrongDateFormat"),
|
|
7086
7098
|
type: "error"
|
|
7087
7099
|
});
|
|
7088
|
-
if (c &&
|
|
7089
|
-
await
|
|
7100
|
+
if (c && Ft(c), u) {
|
|
7101
|
+
await Gt(u) || delete $.gid;
|
|
7090
7102
|
return;
|
|
7091
7103
|
}
|
|
7092
|
-
d &&
|
|
7104
|
+
d && Kt(d), n.disableDefaultLocation === "yes" && f === !1 ? (dt.value = void 0, l.value = NaN) : Ht();
|
|
7093
7105
|
}
|
|
7094
7106
|
return (n, u) => (c(), o(xe, { styling: e.styling }, {
|
|
7095
|
-
default: j(() => [(c(), o(P, { onResolve:
|
|
7107
|
+
default: j(() => [(c(), o(P, { onResolve: pn }, {
|
|
7096
7108
|
default: j(() => [C(_(t), {
|
|
7097
7109
|
id: "konnectio-hotel-module",
|
|
7098
7110
|
"access-token": e.accessToken,
|
|
7099
|
-
callback: _(
|
|
7111
|
+
callback: _(Y)
|
|
7100
7112
|
}, {
|
|
7101
7113
|
default: j(() => [
|
|
7102
|
-
b(C(Bt, { onCallback:
|
|
7114
|
+
b(C(Bt, { onCallback: pn }, null, 512), [[re, e.requireGuestDiscountId === "yes" && !_(qe)]]),
|
|
7103
7115
|
b(C(X, null, null, 512), [[re, e.requireDiscountCode === "yes" && !_(Ye)]]),
|
|
7104
7116
|
b(C(Ue, {
|
|
7105
7117
|
layout: e.headerLayout,
|
|
7106
|
-
steps:
|
|
7107
|
-
onReset: _(
|
|
7118
|
+
steps: Qt.value,
|
|
7119
|
+
onReset: _(Jt)
|
|
7108
7120
|
}, {
|
|
7109
7121
|
availability: j(({ next: t }) => [C(It, {
|
|
7110
7122
|
"show-remove-room": !0,
|
|
@@ -7125,15 +7137,15 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7125
7137
|
_(Ye) ? (c(), f("div", Fn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Qe)}</b>` }) }, null, 8, In)])) : a("", !0),
|
|
7126
7138
|
_(Et) ? (c(), f("div", Ln, [g("span", null, [r(w(_(i)("general.filteredListingNotice")) + " ", 1), g("button", {
|
|
7127
7139
|
class: "link",
|
|
7128
|
-
onClick: u[0] ||= (e) =>
|
|
7140
|
+
onClick: u[0] ||= (e) => un()
|
|
7129
7141
|
}, w(_(i)("general.filteredListingShowAll")), 1)])])) : a("", !0),
|
|
7130
7142
|
a("", !0),
|
|
7131
|
-
!_(te) && _(Ae) ? (c(), f("div", Rn, [
|
|
7143
|
+
!_(te) && _(Ae) ? (c(), f("div", Rn, [en.value.camping && en.value.camping.length > 0 && e.onlyShow !== "non-camping" || en.value.rooms && en.value.rooms.length > 0 || _(B).templates.length > 0 || _(B).specialTemplates.length > 0 && !_(Et) ? (c(), f("div", zn, [
|
|
7132
7144
|
_(B).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (c(), f("div", Bn, [e.onlyShow === "packages" ? a("", !0) : (c(), f("h2", Vn, [C(H, {
|
|
7133
7145
|
icon: "box",
|
|
7134
7146
|
type: "fal",
|
|
7135
7147
|
color: "header"
|
|
7136
|
-
}), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul", Hn, [(c(!0), f(y, null, m(
|
|
7148
|
+
}), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul", Hn, [(c(!0), f(y, null, m(nn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: l }) => (c(), o(yn, {
|
|
7137
7149
|
key: n,
|
|
7138
7150
|
id: n,
|
|
7139
7151
|
description: s,
|
|
@@ -7153,19 +7165,19 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7153
7165
|
"callback",
|
|
7154
7166
|
"hide-addons"
|
|
7155
7167
|
]))), 128))])])) : a("", !0),
|
|
7156
|
-
_(B).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div", Un, [
|
|
7168
|
+
_(B).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div", Un, [en.value.rooms && e.onlyShow !== "camping" ? (c(), f(y, { key: 0 }, [_(B).templates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("h2", Wn, [C(H, {
|
|
7157
7169
|
icon: "house",
|
|
7158
7170
|
type: "fal",
|
|
7159
7171
|
color: "header"
|
|
7160
|
-
}), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul", Gn, [(c(!0), f(y, null, m(
|
|
7172
|
+
}), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul", Gn, [(c(!0), f(y, null, m(en.value.rooms, (e, n) => (c(), o(on, {
|
|
7161
7173
|
room: e,
|
|
7162
7174
|
key: n,
|
|
7163
7175
|
callback: t
|
|
7164
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0),
|
|
7176
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0), en.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (c(), f(y, { key: 1 }, [_(B).templates.length > 0 && e.onlyShow !== "camping" ? (c(), f("h2", Kn, [C(H, {
|
|
7165
7177
|
icon: "map-location-dot",
|
|
7166
7178
|
type: "fal",
|
|
7167
7179
|
color: "header"
|
|
7168
|
-
}), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul", qn, [(c(!0), f(y, null, m(
|
|
7180
|
+
}), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul", qn, [(c(!0), f(y, null, m(en.value.camping, (e, n) => (c(), o(on, {
|
|
7169
7181
|
room: e,
|
|
7170
7182
|
key: n,
|
|
7171
7183
|
callback: t
|
|
@@ -7174,7 +7186,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7174
7186
|
icon: "sparkles",
|
|
7175
7187
|
type: "fal",
|
|
7176
7188
|
color: "header"
|
|
7177
|
-
}), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul", Xn, [(c(!0), f(y, null, m(
|
|
7189
|
+
}), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul", Xn, [(c(!0), f(y, null, m(rn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: l }) => (c(), o(Sn, {
|
|
7178
7190
|
key: e,
|
|
7179
7191
|
id: e,
|
|
7180
7192
|
description: i,
|
|
@@ -7212,7 +7224,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7212
7224
|
icon: "money-bill",
|
|
7213
7225
|
type: "fal",
|
|
7214
7226
|
color: "header"
|
|
7215
|
-
}), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(
|
|
7227
|
+
}), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(ye)(e.priceStartFrom, _(W))), 1)])]),
|
|
7216
7228
|
C(V, {
|
|
7217
7229
|
label: _(i)("booking.availability.selectDates"),
|
|
7218
7230
|
"full-width": "",
|
|
@@ -7231,13 +7243,13 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7231
7243
|
label: isNaN(_(l)) ? _(i)("availability.buttonLabel") : _(i)("general.searchAgain"),
|
|
7232
7244
|
"is-loading": _(te),
|
|
7233
7245
|
"full-width": "",
|
|
7234
|
-
onClickEvent: u[2] ||= (e) =>
|
|
7246
|
+
onClickEvent: u[2] ||= (e) => ln()
|
|
7235
7247
|
}, null, 8, ["label", "is-loading"])) : (c(), o(V, {
|
|
7236
7248
|
key: 1,
|
|
7237
|
-
label: _(Se) ||
|
|
7249
|
+
label: _(Se) || Q.value ? _(i)("booking.availability.nextButton") : _(i)("general.chooseAddons"),
|
|
7238
7250
|
disabled: !_(be),
|
|
7239
7251
|
"full-width": "",
|
|
7240
|
-
onClickEvent: (e) =>
|
|
7252
|
+
onClickEvent: (e) => dn(t)
|
|
7241
7253
|
}, null, 8, [
|
|
7242
7254
|
"label",
|
|
7243
7255
|
"disabled",
|
|
@@ -7262,7 +7274,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7262
7274
|
}, 1024)]),
|
|
7263
7275
|
addons: j(({ next: e, prev: t }) => [_(Ae) ? (c(), o(It, {
|
|
7264
7276
|
key: 0,
|
|
7265
|
-
"prev-callback": () =>
|
|
7277
|
+
"prev-callback": () => sn(t)
|
|
7266
7278
|
}, {
|
|
7267
7279
|
form: j(() => [g("form", ur, [
|
|
7268
7280
|
g("h2", null, [g("span", null, w(_(i)("booking.reservation.addons")), 1)]),
|
|
@@ -7270,11 +7282,11 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7270
7282
|
innerHTML: _(i)("hotel.addonTopNotice"),
|
|
7271
7283
|
class: "konnectio-wysiwyg"
|
|
7272
7284
|
}, null, 8, fr)])) : a("", !0),
|
|
7273
|
-
g("div", null, [isNaN(_(d)) ? (c(), f("div", pr, [(c(!0), f(y, null, m(_(
|
|
7274
|
-
key: r.configIdx
|
|
7285
|
+
g("div", null, [isNaN(_(d)) ? (c(), f("div", pr, [(c(!0), f(y, null, m(_(z), (e) => (c(), f(y, { key: e.roomGroupID }, [_(Wt)(e) ? (c(), f("ul", mr, [(c(!0), f(y, null, m(e.variants, (t, n) => (c(), f("li", { key: t.ratePlanID }, [g("h4", null, [g("span", null, w(_(de)(e.title)), 1)]), (c(!0), f(y, null, m(Xt(t.rooms), (r) => (c(), f("table", {
|
|
7286
|
+
key: `${r.configIdx}-${r.roomIdx}`,
|
|
7275
7287
|
class: "konnectio-table with-lines without-header"
|
|
7276
7288
|
}, [g("thead", null, [g("tr", null, [
|
|
7277
|
-
g("th", null, [g("span", null, w(_(
|
|
7289
|
+
g("th", null, [g("span", null, w(_(de)(t.name)), 1)]),
|
|
7278
7290
|
a("", !0),
|
|
7279
7291
|
g("th", hr, [g("b", null, [
|
|
7280
7292
|
C(H, {
|
|
@@ -7291,17 +7303,17 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7291
7303
|
})) : a("", !0),
|
|
7292
7304
|
r.childrenCount > 0 ? (c(), f("span", gr, w(r.childrenCount), 1)) : a("", !0)
|
|
7293
7305
|
])])
|
|
7294
|
-
])]), g("tbody", null, [(c(!0), f(y, null, m(_(
|
|
7306
|
+
])]), g("tbody", null, [(c(!0), f(y, null, m(_(Ut)(t.addons, r.childrenCount), ({ cardinality: t, quantityStrategy: i, maximumNumber: l, id: u, name: d, price: p, image: m, description: h }) => (c(), f("tr", { key: u }, [g("td", { class: s(["konnectio-table-addons-information", { "has-image": m }]) }, [m ? (c(), f("div", _r, [C(_(_t), {
|
|
7295
7307
|
src: m,
|
|
7296
7308
|
"zoom-scale": 1
|
|
7297
7309
|
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7298
|
-
g("b", null, w(_(
|
|
7299
|
-
g("span", null, w(_(
|
|
7310
|
+
g("b", null, w(_(de)(d)), 1),
|
|
7311
|
+
g("span", null, w(_(ye)(p, _(W))) + " " + w(_(_e)(i)), 1),
|
|
7300
7312
|
h ? (c(), f("p", {
|
|
7301
7313
|
key: 0,
|
|
7302
|
-
innerHTML: _(
|
|
7314
|
+
innerHTML: _(pe)(h)
|
|
7303
7315
|
}, null, 8, vr)) : a("", !0)
|
|
7304
|
-
])], 2), g("td", yr, [_(
|
|
7316
|
+
])], 2), g("td", yr, [_(ge)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (c(), f(y, { key: 0 }, [t === _(we).Mandatory ? (c(), o(Oe, {
|
|
7305
7317
|
key: 0,
|
|
7306
7318
|
"model-value": 1,
|
|
7307
7319
|
small: !0,
|
|
@@ -7310,8 +7322,8 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7310
7322
|
readonly: ""
|
|
7311
7323
|
})) : (c(), o(Oe, {
|
|
7312
7324
|
key: 1,
|
|
7313
|
-
modelValue: _(
|
|
7314
|
-
"onUpdate:modelValue": (t) => _(
|
|
7325
|
+
modelValue: _(ge)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u],
|
|
7326
|
+
"onUpdate:modelValue": (t) => _(ge)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u] = t,
|
|
7315
7327
|
small: !0,
|
|
7316
7328
|
"min-value": 0,
|
|
7317
7329
|
"max-value": l || Infinity
|
|
@@ -7319,24 +7331,24 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7319
7331
|
"modelValue",
|
|
7320
7332
|
"onUpdate:modelValue",
|
|
7321
7333
|
"max-value"
|
|
7322
|
-
]))], 64)) : a("", !0)])]))), 128))])]))), 128))]))), 128))])) : a("", !0)], 64))), 128))])) : _(h).length > 0 ? (c(), f("div", br, [g("div", null, [g("h4", null, [g("span", null, w(_(Me)?.name), 1)]), (c(!0), f(y, null, m(
|
|
7323
|
-
key: e.roomGroupId
|
|
7334
|
+
]))], 64)) : a("", !0)])]))), 128))])]))), 128))]))), 128))])) : a("", !0)], 64))), 128))])) : _(h).length > 0 ? (c(), f("div", br, [g("div", null, [g("h4", null, [g("span", null, w(_(Me)?.name), 1)]), (c(!0), f(y, null, m(Zt.value, (e) => (c(), f("table", {
|
|
7335
|
+
key: `${e.roomGroupId}-${e.configIdx}`,
|
|
7324
7336
|
class: "konnectio-table with-lines without-header"
|
|
7325
7337
|
}, [g("thead", null, [g("tr", null, [
|
|
7326
|
-
g("th", null, [g("span", null, w(_(
|
|
7338
|
+
g("th", null, [g("span", null, w(_(de)(_(je).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (c(), f("span", xr, "(" + w(_(i)("booking.reservation.room")) + " " + w(e.unitNumber) + ")", 1)) : a("", !0)]),
|
|
7327
7339
|
a("", !0),
|
|
7328
7340
|
u[24] ||= g("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7329
|
-
])]), g("tbody", null, [(c(!0), f(y, null, m(_(
|
|
7341
|
+
])]), g("tbody", null, [(c(!0), f(y, null, m(_(Ut)(_(je).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: i, name: l, price: u, description: d, image: m }) => (c(), f("tr", { key: i }, [g("td", { class: s(["konnectio-table-addons-information", { "has-image": m }]) }, [m ? (c(), f("div", Sr, [C(_(_t), {
|
|
7330
7342
|
src: m,
|
|
7331
7343
|
"zoom-scale": 1
|
|
7332
7344
|
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7333
|
-
g("b", null, w(_(
|
|
7334
|
-
g("span", null, w(_(
|
|
7345
|
+
g("b", null, w(_(de)(l)), 1),
|
|
7346
|
+
g("span", null, w(_(ye)(u, _(W))) + " " + w(_(_e)(n)), 1),
|
|
7335
7347
|
d ? (c(), f("p", {
|
|
7336
7348
|
key: 0,
|
|
7337
|
-
innerHTML: _(
|
|
7338
|
-
}, null, 8,
|
|
7339
|
-
])], 2), g("td",
|
|
7349
|
+
innerHTML: _(pe)(d)
|
|
7350
|
+
}, null, 8, Cr)) : a("", !0)
|
|
7351
|
+
])], 2), g("td", wr, [t === _(we).Mandatory ? (c(), o(Oe, {
|
|
7340
7352
|
key: 0,
|
|
7341
7353
|
"model-value": 1,
|
|
7342
7354
|
small: !0,
|
|
@@ -7359,26 +7371,26 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7359
7371
|
navigation: j(() => [C(V, {
|
|
7360
7372
|
label: _(i)("general.startReservation"),
|
|
7361
7373
|
"full-width": "",
|
|
7362
|
-
onClickEvent: (t) =>
|
|
7374
|
+
onClickEvent: (t) => an(e)
|
|
7363
7375
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7364
7376
|
_: 2
|
|
7365
7377
|
}, 1032, ["prev-callback"])) : a("", !0)]),
|
|
7366
7378
|
reservation: j(({ next: t, prev: n, reset: r }) => [_(Ae) ? (c(), o(It, {
|
|
7367
7379
|
key: 0,
|
|
7368
|
-
"prev-callback": () =>
|
|
7380
|
+
"prev-callback": () => sn(n),
|
|
7369
7381
|
"show-terms-notice": !0,
|
|
7370
7382
|
"show-gift-card": !0
|
|
7371
7383
|
}, {
|
|
7372
|
-
form: j(() => [g("form",
|
|
7384
|
+
form: j(() => [g("form", Tr, [
|
|
7373
7385
|
g("h2", null, [g("span", null, w(_(i)("booking.reservation.detailsTitle")), 1)]),
|
|
7374
|
-
_(i)("hotel.reservationTopNotice") && _(i)("hotel.reservationTopNotice") !== "<br>" ? (c(), f("div",
|
|
7386
|
+
_(i)("hotel.reservationTopNotice") && _(i)("hotel.reservationTopNotice") !== "<br>" ? (c(), f("div", Er, [g("p", {
|
|
7375
7387
|
innerHTML: _(i)("hotel.reservationTopNotice"),
|
|
7376
7388
|
class: "konnectio-wysiwyg"
|
|
7377
|
-
}, null, 8,
|
|
7389
|
+
}, null, 8, Dr)])) : a("", !0),
|
|
7378
7390
|
_(J)(_(l)) && _(Ot)(_(l)) && _(kt)(_(l)) ? (c(), f("ul", {
|
|
7379
7391
|
key: 1,
|
|
7380
7392
|
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(Ot)(_(l)) && _(kt)(_(l)) }])
|
|
7381
|
-
}, [_(Ot)(_(l)) ? (c(), f("li",
|
|
7393
|
+
}, [_(Ot)(_(l)) ? (c(), f("li", Or, [C(Cn, {
|
|
7382
7394
|
modelValue: _(ae),
|
|
7383
7395
|
"onUpdate:modelValue": u[3] ||= (e) => x(ae) ? ae.value = e : null,
|
|
7384
7396
|
label: _(i)("booking.reservation.arrivalTime"),
|
|
@@ -7391,7 +7403,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7391
7403
|
"label",
|
|
7392
7404
|
"min-time",
|
|
7393
7405
|
"max-time"
|
|
7394
|
-
])])) : a("", !0), _(kt)(_(l)) ? (c(), f("li",
|
|
7406
|
+
])])) : a("", !0), _(kt)(_(l)) ? (c(), f("li", kr, [C(Cn, {
|
|
7395
7407
|
modelValue: _(E),
|
|
7396
7408
|
"onUpdate:modelValue": u[4] ||= (e) => x(E) ? E.value = e : null,
|
|
7397
7409
|
label: _(i)("booking.reservation.departureTime"),
|
|
@@ -7438,7 +7450,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7438
7450
|
"label",
|
|
7439
7451
|
"placeholder"
|
|
7440
7452
|
]),
|
|
7441
|
-
_(Tt) ? a("", !0) : (c(), f("div",
|
|
7453
|
+
_(Tt) ? a("", !0) : (c(), f("div", Ar, [C(Ke, {
|
|
7442
7454
|
modelValue: _(Ie),
|
|
7443
7455
|
"onUpdate:modelValue": u[8] ||= (e) => x(Ie) ? Ie.value = e : null,
|
|
7444
7456
|
type: "checkbox",
|
|
@@ -7473,8 +7485,8 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7473
7485
|
"placeholder"
|
|
7474
7486
|
]),
|
|
7475
7487
|
C(Tn, {
|
|
7476
|
-
modelValue: _(
|
|
7477
|
-
"onUpdate:modelValue": u[11] ||= (e) => x(
|
|
7488
|
+
modelValue: _(le),
|
|
7489
|
+
"onUpdate:modelValue": u[11] ||= (e) => x(le) ? le.value = e : null,
|
|
7478
7490
|
label: _(i)("booking.reservation.country"),
|
|
7479
7491
|
placeholder: _(i)("booking.reservation.countryPlaceholder"),
|
|
7480
7492
|
options: _(ee),
|
|
@@ -7486,8 +7498,8 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7486
7498
|
"options"
|
|
7487
7499
|
]),
|
|
7488
7500
|
C(Ee, {
|
|
7489
|
-
modelValue: _(
|
|
7490
|
-
"onUpdate:modelValue": u[12] ||= (e) => x(
|
|
7501
|
+
modelValue: _(R),
|
|
7502
|
+
"onUpdate:modelValue": u[12] ||= (e) => x(R) ? R.value = e : null,
|
|
7491
7503
|
type: "textarea",
|
|
7492
7504
|
name: "address",
|
|
7493
7505
|
autocomplete: "street-address",
|
|
@@ -7500,7 +7512,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7500
7512
|
"label",
|
|
7501
7513
|
"placeholder"
|
|
7502
7514
|
]),
|
|
7503
|
-
g("ul",
|
|
7515
|
+
g("ul", jr, [g("li", null, [C(Ee, {
|
|
7504
7516
|
modelValue: _(F),
|
|
7505
7517
|
"onUpdate:modelValue": u[13] ||= (e) => x(F) ? F.value = e : null,
|
|
7506
7518
|
type: "text",
|
|
@@ -7531,8 +7543,8 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7531
7543
|
])])]),
|
|
7532
7544
|
e.hideRemarks === "yes" ? a("", !0) : (c(), o(Ee, {
|
|
7533
7545
|
key: 4,
|
|
7534
|
-
modelValue: _(
|
|
7535
|
-
"onUpdate:modelValue": u[15] ||= (e) => x(
|
|
7546
|
+
modelValue: _(ue),
|
|
7547
|
+
"onUpdate:modelValue": u[15] ||= (e) => x(ue) ? ue.value = e : null,
|
|
7536
7548
|
type: "textarea",
|
|
7537
7549
|
label: _(i)("booking.reservation.remark"),
|
|
7538
7550
|
icon: "info-circle",
|
|
@@ -7544,8 +7556,8 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7544
7556
|
])),
|
|
7545
7557
|
e.hideAllergies === "yes" ? a("", !0) : (c(), o(Ee, {
|
|
7546
7558
|
key: 5,
|
|
7547
|
-
modelValue: _(
|
|
7548
|
-
"onUpdate:modelValue": u[16] ||= (e) => x(
|
|
7559
|
+
modelValue: _(fe),
|
|
7560
|
+
"onUpdate:modelValue": u[16] ||= (e) => x(fe) ? fe.value = e : null,
|
|
7549
7561
|
type: "textarea",
|
|
7550
7562
|
label: _(i)("booking.reservation.allergies"),
|
|
7551
7563
|
icon: "allergies",
|
|
@@ -7561,16 +7573,16 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7561
7573
|
"onUpdate:modelValue": u[17] ||= (e) => x(ie) ? ie.value = e : null,
|
|
7562
7574
|
label: _(i)("booking.reservation.purposeOfStay"),
|
|
7563
7575
|
name: "travelingFor",
|
|
7564
|
-
checkboxes:
|
|
7576
|
+
checkboxes: $t.value
|
|
7565
7577
|
}, null, 8, [
|
|
7566
7578
|
"modelValue",
|
|
7567
7579
|
"label",
|
|
7568
7580
|
"checkboxes"
|
|
7569
7581
|
])),
|
|
7570
|
-
_($e) ? (c(), f(y, { key: 7 }, [g("h3", null, [g("span", null, w(_(i)("hotel.memberCards.title")), 1)]), _(it) ? (c(), f("div",
|
|
7582
|
+
_($e) ? (c(), f(y, { key: 7 }, [g("h3", null, [g("span", null, w(_(i)("hotel.memberCards.title")), 1)]), _(it) ? (c(), f("div", Mr, [g("img", { src: _(at)?.iconUrl }, null, 8, Nr), g("ul", Pr, [
|
|
7571
7583
|
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.selectedCard", { cardName: _(at)?.shortDescription })), 1)]),
|
|
7572
7584
|
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.cardNumber")) + ": " + w(_(it).cardNumber), 1)]),
|
|
7573
|
-
_(it).controlNr ? (c(), f("li",
|
|
7585
|
+
_(it).controlNr ? (c(), f("li", Fr, [g("span", null, w(_(i)("hotel.memberCards.controlNumber")) + ": " + w(_(it).controlNr), 1)])) : a("", !0)
|
|
7574
7586
|
])])) : (c(), f(y, { key: 1 }, [C(Le, {
|
|
7575
7587
|
modelValue: _(tt),
|
|
7576
7588
|
"onUpdate:modelValue": u[18] ||= (e) => x(tt) ? tt.value = e : null,
|
|
@@ -7581,7 +7593,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7581
7593
|
"modelValue",
|
|
7582
7594
|
"label",
|
|
7583
7595
|
"checkboxes"
|
|
7584
|
-
]), _(tt) ? (c(), f("form",
|
|
7596
|
+
]), _(tt) ? (c(), f("form", Ir, [
|
|
7585
7597
|
C(Ee, {
|
|
7586
7598
|
modelValue: _(rt),
|
|
7587
7599
|
"onUpdate:modelValue": u[19] ||= (e) => x(rt) ? rt.value = e : null,
|
|
@@ -7628,7 +7640,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7628
7640
|
C(V, {
|
|
7629
7641
|
label: _(i)("hotel.memberCards.validateAndSelectCard"),
|
|
7630
7642
|
"full-width": "",
|
|
7631
|
-
onClickEvent: _(
|
|
7643
|
+
onClickEvent: _(qt)
|
|
7632
7644
|
}, null, 8, ["label", "onClickEvent"])
|
|
7633
7645
|
])) : a("", !0)], 64))], 64)) : a("", !0)
|
|
7634
7646
|
])]),
|
|
@@ -7637,7 +7649,7 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7637
7649
|
disabled: !_(S),
|
|
7638
7650
|
"is-loading": _(ne) || _(ct),
|
|
7639
7651
|
"full-width": "",
|
|
7640
|
-
onClickEvent: (e) =>
|
|
7652
|
+
onClickEvent: (e) => cn(t, r)
|
|
7641
7653
|
}, null, 8, [
|
|
7642
7654
|
"label",
|
|
7643
7655
|
"disabled",
|
|
@@ -7663,10 +7675,10 @@ var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7663
7675
|
_: 1
|
|
7664
7676
|
}, 8, ["styling"]));
|
|
7665
7677
|
}
|
|
7666
|
-
}), [["__scopeId", "data-v-
|
|
7678
|
+
}), [["__scopeId", "data-v-db7aeffd"]]);
|
|
7667
7679
|
//#endregion
|
|
7668
7680
|
//#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7669
|
-
function
|
|
7681
|
+
function Rr(e, t) {
|
|
7670
7682
|
if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
|
|
7671
7683
|
let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
|
|
7672
7684
|
if (!e.plugins.get(r)) {
|
|
@@ -7675,7 +7687,7 @@ function Lr(e, t) {
|
|
|
7675
7687
|
}
|
|
7676
7688
|
}
|
|
7677
7689
|
// @__NO_SIDE_EFFECTS__
|
|
7678
|
-
function
|
|
7690
|
+
function zr(e, t = {}) {
|
|
7679
7691
|
let n = !t.document, r = /* @__PURE__ */ new Map(), i = {
|
|
7680
7692
|
_entryCount: 1,
|
|
7681
7693
|
_h: 0,
|
|
@@ -7685,7 +7697,7 @@ function Rr(e, t = {}) {
|
|
|
7685
7697
|
entries: r,
|
|
7686
7698
|
hooks: void 0,
|
|
7687
7699
|
render: () => e(i),
|
|
7688
|
-
use: (e) =>
|
|
7700
|
+
use: (e) => Rr(i, e),
|
|
7689
7701
|
push(e, t) {
|
|
7690
7702
|
let a = t?._index ?? i._entryCount++, o = t ? { ...t } : {};
|
|
7691
7703
|
delete o.head, delete o.onRendered, delete o._index;
|
|
@@ -7709,25 +7721,25 @@ function Rr(e, t = {}) {
|
|
|
7709
7721
|
}
|
|
7710
7722
|
//#endregion
|
|
7711
7723
|
//#region node_modules/unhead/dist/shared/unhead.1eoQpFT1.mjs
|
|
7712
|
-
var
|
|
7724
|
+
var Br = /* @__PURE__ */ new Set([
|
|
7713
7725
|
"link",
|
|
7714
7726
|
"style",
|
|
7715
7727
|
"script",
|
|
7716
7728
|
"noscript"
|
|
7717
|
-
]),
|
|
7729
|
+
]), Vr = /* @__PURE__ */ new Set([
|
|
7718
7730
|
"title",
|
|
7719
7731
|
"titleTemplate",
|
|
7720
7732
|
"script",
|
|
7721
7733
|
"style",
|
|
7722
7734
|
"noscript"
|
|
7723
|
-
]),
|
|
7735
|
+
]), Hr = /* @__PURE__ */ new Set([
|
|
7724
7736
|
"base",
|
|
7725
7737
|
"meta",
|
|
7726
7738
|
"link",
|
|
7727
7739
|
"style",
|
|
7728
7740
|
"script",
|
|
7729
7741
|
"noscript"
|
|
7730
|
-
]),
|
|
7742
|
+
]), Ur = /* @__PURE__ */ new Set([
|
|
7731
7743
|
"title",
|
|
7732
7744
|
"base",
|
|
7733
7745
|
"htmlAttrs",
|
|
@@ -7737,14 +7749,14 @@ var zr = /* @__PURE__ */ new Set([
|
|
|
7737
7749
|
"style",
|
|
7738
7750
|
"script",
|
|
7739
7751
|
"noscript"
|
|
7740
|
-
]),
|
|
7752
|
+
]), Wr = /* @__PURE__ */ new Set([
|
|
7741
7753
|
"base",
|
|
7742
7754
|
"title",
|
|
7743
7755
|
"titleTemplate",
|
|
7744
7756
|
"bodyAttrs",
|
|
7745
7757
|
"htmlAttrs",
|
|
7746
7758
|
"templateParams"
|
|
7747
|
-
]),
|
|
7759
|
+
]), Gr = /* @__PURE__ */ new Set([
|
|
7748
7760
|
"key",
|
|
7749
7761
|
"tagPosition",
|
|
7750
7762
|
"tagPriority",
|
|
@@ -7752,11 +7764,11 @@ var zr = /* @__PURE__ */ new Set([
|
|
|
7752
7764
|
"innerHTML",
|
|
7753
7765
|
"textContent",
|
|
7754
7766
|
"processTemplateParams"
|
|
7755
|
-
]),
|
|
7767
|
+
]), Kr = /* @__PURE__ */ new Set([
|
|
7756
7768
|
"templateParams",
|
|
7757
7769
|
"htmlAttrs",
|
|
7758
7770
|
"bodyAttrs"
|
|
7759
|
-
]),
|
|
7771
|
+
]), qr = /* @__PURE__ */ new Set([
|
|
7760
7772
|
"theme-color",
|
|
7761
7773
|
"google-site-verification",
|
|
7762
7774
|
"og",
|
|
@@ -7765,26 +7777,26 @@ var zr = /* @__PURE__ */ new Set([
|
|
|
7765
7777
|
"profile",
|
|
7766
7778
|
"twitter",
|
|
7767
7779
|
"author"
|
|
7768
|
-
]),
|
|
7780
|
+
]), Jr = {
|
|
7769
7781
|
critical: -8,
|
|
7770
7782
|
high: -1,
|
|
7771
7783
|
low: 2
|
|
7772
7784
|
};
|
|
7773
7785
|
// @__NO_SIDE_EFFECTS__
|
|
7774
|
-
function
|
|
7786
|
+
function Yr(e) {
|
|
7775
7787
|
return e === "__proto__" || e === "constructor" || e === "prototype";
|
|
7776
7788
|
}
|
|
7777
7789
|
//#endregion
|
|
7778
7790
|
//#region node_modules/hookable/dist/index.mjs
|
|
7779
|
-
function
|
|
7791
|
+
function Xr(e, t, n, r) {
|
|
7780
7792
|
for (let i = n; i < e.length; i += 1) try {
|
|
7781
7793
|
let n = r ? r.run(() => e[i](...t)) : e[i](...t);
|
|
7782
|
-
if (n && typeof n.then == "function") return Promise.resolve(n).then(() =>
|
|
7794
|
+
if (n && typeof n.then == "function") return Promise.resolve(n).then(() => Xr(e, t, i + 1, r));
|
|
7783
7795
|
} catch (e) {
|
|
7784
7796
|
return Promise.reject(e);
|
|
7785
7797
|
}
|
|
7786
7798
|
}
|
|
7787
|
-
var
|
|
7799
|
+
var Zr = class {
|
|
7788
7800
|
_hooks;
|
|
7789
7801
|
constructor() {
|
|
7790
7802
|
this._hooks = {};
|
|
@@ -7803,24 +7815,24 @@ var Xr = class {
|
|
|
7803
7815
|
}
|
|
7804
7816
|
callHook(e, ...t) {
|
|
7805
7817
|
let n = this._hooks[e];
|
|
7806
|
-
if (!(!n || n.length === 0)) return
|
|
7818
|
+
if (!(!n || n.length === 0)) return Xr(n, t, 0);
|
|
7807
7819
|
}
|
|
7808
7820
|
};
|
|
7809
7821
|
//#endregion
|
|
7810
7822
|
//#region node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
|
|
7811
|
-
function
|
|
7812
|
-
let t = new
|
|
7823
|
+
function Qr(e) {
|
|
7824
|
+
let t = new Zr();
|
|
7813
7825
|
for (let n in e || {}) t.hook(n, e[n]);
|
|
7814
7826
|
return t;
|
|
7815
7827
|
}
|
|
7816
|
-
function
|
|
7828
|
+
function $r(e, t, n) {
|
|
7817
7829
|
if (e.hooks?._hooks?.[t]?.length) return e.hooks?.callHook(t, n);
|
|
7818
7830
|
}
|
|
7819
7831
|
//#endregion
|
|
7820
7832
|
//#region node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs
|
|
7821
|
-
function
|
|
7833
|
+
function ei(e, t, n) {
|
|
7822
7834
|
let r = e.push, i = e;
|
|
7823
|
-
return i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) =>
|
|
7835
|
+
return i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => Rr(i, e), i.render = () => n(i), i.invalidate = () => {
|
|
7824
7836
|
for (let e of i.entries.values()) delete e._tags;
|
|
7825
7837
|
i.dirty = !0, t.callHook("entries:updated", i);
|
|
7826
7838
|
}, i.push = (n, a) => {
|
|
@@ -7840,46 +7852,46 @@ function $r(e, t, n) {
|
|
|
7840
7852
|
}
|
|
7841
7853
|
//#endregion
|
|
7842
7854
|
//#region node_modules/unhead/dist/shared/unhead.DgxHWvUc.mjs
|
|
7843
|
-
var
|
|
7855
|
+
var ti = /^(?:viewport|description|keywords|robots)$/, ni = [
|
|
7844
7856
|
"name",
|
|
7845
7857
|
"property",
|
|
7846
7858
|
"http-equiv"
|
|
7847
7859
|
];
|
|
7848
|
-
function
|
|
7860
|
+
function ri(e) {
|
|
7849
7861
|
let t = e.indexOf(":");
|
|
7850
7862
|
if (t === -1) return !1;
|
|
7851
7863
|
let n = e.indexOf(":", t + 1);
|
|
7852
|
-
return
|
|
7864
|
+
return qr.has(e.slice(t + 1, n === -1 ? e.length : n));
|
|
7853
7865
|
}
|
|
7854
|
-
function
|
|
7866
|
+
function ii(e) {
|
|
7855
7867
|
let { props: t, tag: n, key: r } = e;
|
|
7856
|
-
if (
|
|
7868
|
+
if (Wr.has(n)) return n;
|
|
7857
7869
|
if (n === "link") {
|
|
7858
7870
|
if (t.rel === "canonical") return "canonical";
|
|
7859
7871
|
if (t.rel === "alternate" && t.hreflang) return `alternate:${t.hreflang}`;
|
|
7860
7872
|
}
|
|
7861
7873
|
if (t.charset) return "charset";
|
|
7862
|
-
if (n === "meta") for (let e of
|
|
7874
|
+
if (n === "meta") for (let e of ni) {
|
|
7863
7875
|
let n = t[e];
|
|
7864
|
-
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !
|
|
7876
|
+
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !ti.test(n) && r ? `:key:${r}` : ""}`;
|
|
7865
7877
|
}
|
|
7866
|
-
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` :
|
|
7878
|
+
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` : Vr.has(n) && (e.textContent || e.innerHTML) ? `${n}:content:${e.textContent || e.innerHTML}` : void 0;
|
|
7867
7879
|
}
|
|
7868
|
-
function
|
|
7880
|
+
function ai(e) {
|
|
7869
7881
|
let t = e._h || e._d || e.textContent || e.innerHTML;
|
|
7870
7882
|
if (t) return t;
|
|
7871
7883
|
let n = Object.keys(e.props).sort(), r = `${e.tag}:`, i = "";
|
|
7872
7884
|
for (let t of n) r += `${i}${t}:${String(e.props[t])}`, i = ",";
|
|
7873
7885
|
return r;
|
|
7874
7886
|
}
|
|
7875
|
-
function
|
|
7887
|
+
function oi(e, t, n) {
|
|
7876
7888
|
if (n === "_resolver") return e;
|
|
7877
7889
|
typeof e == "function" && (!n || n !== "titleTemplate" && !n.startsWith("on")) && (e = e());
|
|
7878
7890
|
let r = t ? t(n, e) : e;
|
|
7879
7891
|
if (Array.isArray(r)) {
|
|
7880
7892
|
let e;
|
|
7881
7893
|
for (let n = 0; n < r.length; n++) {
|
|
7882
|
-
let i =
|
|
7894
|
+
let i = oi(r[n], t);
|
|
7883
7895
|
e ? e[n] = i : i !== r[n] && (e = r.slice(0, n), e[n] = i);
|
|
7884
7896
|
}
|
|
7885
7897
|
return e || r;
|
|
@@ -7887,7 +7899,7 @@ function ai(e, t, n) {
|
|
|
7887
7899
|
if (r?.constructor === Object) {
|
|
7888
7900
|
let e;
|
|
7889
7901
|
for (let n in r) {
|
|
7890
|
-
let i = /* @__PURE__ */
|
|
7902
|
+
let i = /* @__PURE__ */ Yr(n), a = i ? void 0 : oi(r[n], t, n);
|
|
7891
7903
|
if (!e && (i || a !== r[n])) {
|
|
7892
7904
|
e = {};
|
|
7893
7905
|
for (let t in r) {
|
|
@@ -7901,8 +7913,8 @@ function ai(e, t, n) {
|
|
|
7901
7913
|
}
|
|
7902
7914
|
return r;
|
|
7903
7915
|
}
|
|
7904
|
-
var
|
|
7905
|
-
function
|
|
7916
|
+
var si = /[\s"'<>/=\x00-\x1F\x7F]/;
|
|
7917
|
+
function ci(e, t) {
|
|
7906
7918
|
let n = e === "style", r = n ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set(), i = (e) => {
|
|
7907
7919
|
if (e) if (n) {
|
|
7908
7920
|
let t = e.indexOf(":");
|
|
@@ -7917,18 +7929,18 @@ function si(e, t) {
|
|
|
7917
7929
|
}
|
|
7918
7930
|
return r;
|
|
7919
7931
|
}
|
|
7920
|
-
function
|
|
7932
|
+
function li(e, t) {
|
|
7921
7933
|
if (e.props = e.props || {}, !t) return e;
|
|
7922
7934
|
if (e.tag === "templateParams") return e.props = t, e;
|
|
7923
|
-
let n =
|
|
7935
|
+
let n = Hr.has(e.tag) || e.tag === "htmlAttrs" || e.tag === "bodyAttrs";
|
|
7924
7936
|
for (let r in t) {
|
|
7925
|
-
if (/* @__PURE__ */
|
|
7926
|
-
let i = r.startsWith("data-"), a = n && !
|
|
7927
|
-
if (a && (!o ||
|
|
7937
|
+
if (/* @__PURE__ */ Yr(r)) continue;
|
|
7938
|
+
let i = r.startsWith("data-"), a = n && !Gr.has(r), o = a && !i ? r.toLowerCase() : r;
|
|
7939
|
+
if (a && (!o || si.test(o))) continue;
|
|
7928
7940
|
let s = t[r];
|
|
7929
7941
|
if (s === null) e.props[o] = null;
|
|
7930
|
-
else if (r === "class" || r === "style") e.props[r] =
|
|
7931
|
-
else if (
|
|
7942
|
+
else if (r === "class" || r === "style") e.props[r] = ci(r, s);
|
|
7943
|
+
else if (Gr.has(r)) if ((r === "textContent" || r === "innerHTML") && typeof s == "object") {
|
|
7932
7944
|
let n = t.type || "application/json";
|
|
7933
7945
|
(n.endsWith("json") || n === "speculationrules" || n === "importmap") && (e.props.type = t.type = n, e[r] = JSON.stringify(s));
|
|
7934
7946
|
} else e[r] = s;
|
|
@@ -7939,19 +7951,19 @@ function ci(e, t) {
|
|
|
7939
7951
|
}
|
|
7940
7952
|
return e;
|
|
7941
7953
|
}
|
|
7942
|
-
function
|
|
7954
|
+
function ui(e, t) {
|
|
7943
7955
|
let n;
|
|
7944
7956
|
return t.length && (n = (e, n) => {
|
|
7945
7957
|
for (let r = 0; r < t.length; r++) n = t[r](e, n);
|
|
7946
7958
|
return n;
|
|
7947
|
-
}, e = n(void 0, e)),
|
|
7959
|
+
}, e = n(void 0, e)), oi(e, n);
|
|
7948
7960
|
}
|
|
7949
|
-
function
|
|
7950
|
-
let n =
|
|
7961
|
+
function di(e, t) {
|
|
7962
|
+
let n = li({
|
|
7951
7963
|
tag: e,
|
|
7952
7964
|
props: {}
|
|
7953
7965
|
}, typeof t == "object" && typeof t != "function" ? t : { [e === "script" || e === "noscript" || e === "style" ? "innerHTML" : "textContent"]: t });
|
|
7954
|
-
if (n.key &&
|
|
7966
|
+
if (n.key && Br.has(n.tag) && (n.props["data-hid"] = n._h = n.key), 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)) {
|
|
7955
7967
|
let e = [];
|
|
7956
7968
|
for (let t of n.props.content) e.push({
|
|
7957
7969
|
...n,
|
|
@@ -7964,35 +7976,35 @@ function ui(e, t) {
|
|
|
7964
7976
|
}
|
|
7965
7977
|
return n;
|
|
7966
7978
|
}
|
|
7967
|
-
function
|
|
7979
|
+
function fi(e, t) {
|
|
7968
7980
|
if (Array.isArray(t)) for (let n of t) e.push(n);
|
|
7969
7981
|
else e.push(t);
|
|
7970
7982
|
}
|
|
7971
|
-
function
|
|
7983
|
+
function pi(e, t) {
|
|
7972
7984
|
if (!e) return [];
|
|
7973
|
-
typeof e == "function" && (e = e()), e =
|
|
7985
|
+
typeof e == "function" && (e = e()), e = ui(e, t);
|
|
7974
7986
|
let n = [];
|
|
7975
7987
|
for (let t in e) {
|
|
7976
7988
|
let r = e[t];
|
|
7977
|
-
if (r !== void 0) if (Array.isArray(r)) for (let e of r)
|
|
7978
|
-
else
|
|
7989
|
+
if (r !== void 0) if (Array.isArray(r)) for (let e of r) fi(n, di(t, e));
|
|
7990
|
+
else fi(n, di(t, r));
|
|
7979
7991
|
}
|
|
7980
7992
|
return n;
|
|
7981
7993
|
}
|
|
7982
|
-
var
|
|
7983
|
-
function
|
|
7994
|
+
var mi = /</g, hi = /<\/script/g, gi = (e, t) => e._w === t._w ? e._p - t._p : e._w - t._w, _i = () => 100;
|
|
7995
|
+
function vi(e) {
|
|
7984
7996
|
for (let t in e) return !1;
|
|
7985
7997
|
return !0;
|
|
7986
7998
|
}
|
|
7987
|
-
var
|
|
7988
|
-
function
|
|
7999
|
+
var yi = /^tags:|:render/;
|
|
8000
|
+
function bi(e, t) {
|
|
7989
8001
|
let n = (t["entries:resolve"]?.length || 0) + (t["entries:normalize"]?.length || 0);
|
|
7990
8002
|
if (e._h !== n) {
|
|
7991
8003
|
e._h = n;
|
|
7992
8004
|
for (let t of e.entries.values()) delete t._tags;
|
|
7993
8005
|
}
|
|
7994
8006
|
}
|
|
7995
|
-
function
|
|
8007
|
+
function xi(e) {
|
|
7996
8008
|
for (let t = 0; t < e.length; t++) {
|
|
7997
8009
|
let n = e[t], r = { ...n.props };
|
|
7998
8010
|
r.class instanceof Set && (r.class = new Set(r.class)), r.style instanceof Map && (r.style = new Map(r.style)), e[t] = {
|
|
@@ -8001,34 +8013,34 @@ function bi(e) {
|
|
|
8001
8013
|
};
|
|
8002
8014
|
}
|
|
8003
8015
|
}
|
|
8004
|
-
function
|
|
8016
|
+
function Si(e, t) {
|
|
8005
8017
|
let n = e.tags, r = 0;
|
|
8006
8018
|
for (let t of e.tagMap.values()) if (Array.isArray(t)) for (let e of t) n[r++] = e;
|
|
8007
8019
|
else n[r++] = t;
|
|
8008
|
-
n.length = r, t && n.sort(
|
|
8020
|
+
n.length = r, t && n.sort(gi);
|
|
8009
8021
|
}
|
|
8010
|
-
function
|
|
8022
|
+
function Ci(e) {
|
|
8011
8023
|
let t = !1;
|
|
8012
|
-
for (let n of e.tags.sort(
|
|
8013
|
-
let r = n._d ||
|
|
8024
|
+
for (let n of e.tags.sort(gi)) {
|
|
8025
|
+
let r = n._d || ai(n);
|
|
8014
8026
|
if (!r) continue;
|
|
8015
8027
|
let i = e.tagMap.get(r);
|
|
8016
8028
|
if (!i) {
|
|
8017
8029
|
e.tagMap.set(r, n);
|
|
8018
8030
|
continue;
|
|
8019
8031
|
}
|
|
8020
|
-
if ((n.tagDuplicateStrategy || (
|
|
8032
|
+
if ((n.tagDuplicateStrategy || (Kr.has(n.tag) ? "merge" : null) || (n.key && n.key === i.key ? "merge" : null)) === "merge") {
|
|
8021
8033
|
let t = { ...i.props };
|
|
8022
8034
|
for (let e in n.props) t[e] = e === "style" ? new Map([...i.props.style || /* @__PURE__ */ new Map(), ...n.props[e]]) : e === "class" ? /* @__PURE__ */ new Set([...i.props.class || [], ...n.props[e]]) : n.props[e];
|
|
8023
8035
|
e.tagMap.set(r, {
|
|
8024
8036
|
...n,
|
|
8025
8037
|
props: t
|
|
8026
8038
|
});
|
|
8027
|
-
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" &&
|
|
8039
|
+
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" && ri(r) ? (e.tagMap.set(r, Object.assign([...Array.isArray(i) ? i : [i], n], n)), t = !0) : (n._w === i._w ? n._p > i._p : n._w < i._w) && e.tagMap.set(r, n);
|
|
8028
8040
|
}
|
|
8029
8041
|
return t;
|
|
8030
8042
|
}
|
|
8031
|
-
function
|
|
8043
|
+
function wi(e, t) {
|
|
8032
8044
|
let n = e.tagMap.get("title"), r = e.tagMap.get("titleTemplate");
|
|
8033
8045
|
if (t._title = n?.textContent, !r) return;
|
|
8034
8046
|
let i = r.textContent;
|
|
@@ -8043,76 +8055,76 @@ function Ci(e, t) {
|
|
|
8043
8055
|
textContent: a
|
|
8044
8056
|
});
|
|
8045
8057
|
}
|
|
8046
|
-
function
|
|
8058
|
+
function Ti(e) {
|
|
8047
8059
|
let t = 0;
|
|
8048
8060
|
for (let n of e) {
|
|
8049
8061
|
let { innerHTML: r, tag: i, props: a } = n;
|
|
8050
|
-
if (!(!
|
|
8062
|
+
if (!(!Ur.has(i) || vi(a) && !r && !n.textContent) && !(i === "meta" && !a.content && !a["http-equiv"] && !a.charset)) {
|
|
8051
8063
|
if (i === "script" && (r || n.textContent)) {
|
|
8052
|
-
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(
|
|
8053
|
-
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent &&= i(n.textContent), n._d =
|
|
8064
|
+
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(mi, "\\u003C") : typeof e == "string" ? e.replace(hi, "<\\/script") : e;
|
|
8065
|
+
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent &&= i(n.textContent), n._d = ii(n);
|
|
8054
8066
|
}
|
|
8055
8067
|
e[t++] = n;
|
|
8056
8068
|
}
|
|
8057
8069
|
}
|
|
8058
8070
|
return e.length = t, e;
|
|
8059
8071
|
}
|
|
8060
|
-
function
|
|
8061
|
-
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ??
|
|
8072
|
+
function Ei(e, t) {
|
|
8073
|
+
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ?? _i, r = {
|
|
8062
8074
|
tagMap: /* @__PURE__ */ new Map(),
|
|
8063
8075
|
tags: []
|
|
8064
8076
|
}, i = e.hooks?._hooks || {};
|
|
8065
|
-
|
|
8077
|
+
bi(e, i);
|
|
8066
8078
|
for (let t of e.entries.values()) t._pending !== void 0 && (t.input = t._pending, delete t._pending, delete t._tags, delete t._precomputedTags);
|
|
8067
8079
|
let a;
|
|
8068
|
-
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length &&
|
|
8080
|
+
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length && $r(e, "entries:resolve", {
|
|
8069
8081
|
entries: a,
|
|
8070
8082
|
...r
|
|
8071
|
-
})),
|
|
8083
|
+
})), bi(e, i);
|
|
8072
8084
|
for (let t of a || e.entries.values()) {
|
|
8073
8085
|
let a = t._tags;
|
|
8074
|
-
if (!a) if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options ||
|
|
8086
|
+
if (!a) if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options || vi(t.options))) a = t._precomputedTags;
|
|
8075
8087
|
else {
|
|
8076
|
-
if (a =
|
|
8088
|
+
if (a = pi(t.input, e.resolvedOptions.propResolvers || []), t.options && !vi(t.options)) for (let e of a) Object.assign(e, t.options);
|
|
8077
8089
|
if (i["entries:normalize"]?.length) {
|
|
8078
8090
|
let n = {
|
|
8079
8091
|
tags: a,
|
|
8080
8092
|
entry: t
|
|
8081
8093
|
};
|
|
8082
|
-
|
|
8094
|
+
$r(e, "entries:normalize", n), a = n.tags;
|
|
8083
8095
|
}
|
|
8084
8096
|
for (let e = 0; e < a.length; e++) {
|
|
8085
8097
|
let r = a[e];
|
|
8086
|
-
r._w = n(r), r._p = (t._i << 10) + e, r._d =
|
|
8098
|
+
r._w = n(r), r._p = (t._i << 10) + e, r._d = ii(r), r._d || (r._h = ai(r));
|
|
8087
8099
|
}
|
|
8088
8100
|
t._tags = a;
|
|
8089
8101
|
}
|
|
8090
8102
|
r.tags.push(...a);
|
|
8091
8103
|
}
|
|
8092
|
-
for (let e in i) if (i[e]?.length &&
|
|
8093
|
-
|
|
8104
|
+
for (let e in i) if (i[e]?.length && yi.test(e)) {
|
|
8105
|
+
xi(r.tags);
|
|
8094
8106
|
break;
|
|
8095
8107
|
}
|
|
8096
|
-
let o =
|
|
8097
|
-
return
|
|
8108
|
+
let o = Ci(r);
|
|
8109
|
+
return wi(r, e), Si(r, o), $r(e, "tags:beforeResolve", r), $r(e, "tags:resolve", r), $r(e, "tags:afterResolve", r), Ti(r.tags);
|
|
8098
8110
|
}
|
|
8099
8111
|
//#endregion
|
|
8100
8112
|
//#region node_modules/unhead/dist/shared/unhead.B2jza4FG.mjs
|
|
8101
|
-
var
|
|
8113
|
+
var Di = /\s+/;
|
|
8102
8114
|
// @__NO_SIDE_EFFECTS__
|
|
8103
|
-
function
|
|
8104
|
-
return (t) =>
|
|
8115
|
+
function Oi(e = {}) {
|
|
8116
|
+
return (t) => Mi(t, e);
|
|
8105
8117
|
}
|
|
8106
|
-
function
|
|
8118
|
+
function ki(e) {
|
|
8107
8119
|
for (let t of e.entries.values()) if (t._pending !== void 0) return !0;
|
|
8108
8120
|
return !1;
|
|
8109
8121
|
}
|
|
8110
|
-
function
|
|
8122
|
+
function Ai(e) {
|
|
8111
8123
|
for (let t in e._s) e._s[t]();
|
|
8112
8124
|
for (let t in e._p) e._p[t]();
|
|
8113
8125
|
e._s = {}, e._p = {}, e._e.clear(), e._l.clear();
|
|
8114
8126
|
}
|
|
8115
|
-
function
|
|
8127
|
+
function ji(e, t) {
|
|
8116
8128
|
let n = {
|
|
8117
8129
|
_d: t,
|
|
8118
8130
|
_t: t.title,
|
|
@@ -8123,15 +8135,15 @@ function Ai(e, t) {
|
|
|
8123
8135
|
};
|
|
8124
8136
|
for (let e of [...t.body.children, ...t.head.children]) {
|
|
8125
8137
|
let t = e.tagName.toLowerCase();
|
|
8126
|
-
if (!
|
|
8138
|
+
if (!Hr.has(t)) continue;
|
|
8127
8139
|
let r = { innerHTML: e.innerHTML };
|
|
8128
8140
|
for (let t of e.getAttributeNames()) r[t] = e.getAttribute(t);
|
|
8129
|
-
let i =
|
|
8141
|
+
let i = li({
|
|
8130
8142
|
tag: t,
|
|
8131
8143
|
props: {}
|
|
8132
8144
|
}, r);
|
|
8133
8145
|
i.key = e.getAttribute("data-hid") || void 0;
|
|
8134
|
-
let a =
|
|
8146
|
+
let a = ii(i) || ai(i), o = a, s = 1;
|
|
8135
8147
|
for (; n._e.has(o);) o = `${a}:${s++}`;
|
|
8136
8148
|
n._e.set(o, e);
|
|
8137
8149
|
}
|
|
@@ -8141,15 +8153,15 @@ function Ai(e, t) {
|
|
|
8141
8153
|
let r = e[t]?.class;
|
|
8142
8154
|
if (typeof r == "string") {
|
|
8143
8155
|
let e = n._e.get(t);
|
|
8144
|
-
for (let i of r.split(
|
|
8156
|
+
for (let i of r.split(Di)) i && (n._p[`${t}:attr:class:${i}`] = () => e.classList.remove(i));
|
|
8145
8157
|
}
|
|
8146
8158
|
}
|
|
8147
8159
|
}
|
|
8148
8160
|
return n;
|
|
8149
8161
|
}
|
|
8150
|
-
function
|
|
8162
|
+
function Mi(e, t = {}) {
|
|
8151
8163
|
let n = t.document || e.resolvedOptions.document, r = e._dom, i = !!r && r._d !== n;
|
|
8152
|
-
if (!n || !i && !e.dirty && !
|
|
8164
|
+
if (!n || !i && !e.dirty && !ki(e) || e._du) return !1;
|
|
8153
8165
|
let a = n.defaultView;
|
|
8154
8166
|
e._du = !0;
|
|
8155
8167
|
let o = !1;
|
|
@@ -8215,63 +8227,63 @@ function ji(e, t = {}) {
|
|
|
8215
8227
|
shouldRender: !0,
|
|
8216
8228
|
tags: []
|
|
8217
8229
|
};
|
|
8218
|
-
if (
|
|
8230
|
+
if ($r(e, "dom:beforeRender", l), !l.shouldRender) return !1;
|
|
8219
8231
|
let u = e._dom;
|
|
8220
|
-
u?._d !== n && (u &&
|
|
8232
|
+
u?._d !== n && (u && Ai(u), u = void 0), u ? u._p = u._s : u = ji(e, n), u._s = {};
|
|
8221
8233
|
let d = u, f = [], p = {};
|
|
8222
8234
|
e.dirty = !1;
|
|
8223
|
-
let m =
|
|
8235
|
+
let m = Ei(e, t.tagWeight ? { tagWeight: t.tagWeight } : void 0), h = [], g = {};
|
|
8224
8236
|
for (let e of m) {
|
|
8225
8237
|
let t = g[e._d] || 0, i = (t ? `${e._d}:${t}` : e._d) || e._h, a = {
|
|
8226
8238
|
tag: e,
|
|
8227
8239
|
id: i,
|
|
8228
8240
|
shouldRender: !0
|
|
8229
8241
|
};
|
|
8230
|
-
if (e.tag === "meta" && e._d &&
|
|
8242
|
+
if (e.tag === "meta" && e._d && ri(e._d) && (g[e._d] = t + 1), h.push(a), e.tag === "title") {
|
|
8231
8243
|
n.title = e.textContent, r("title", "", () => n.title = d._t);
|
|
8232
8244
|
continue;
|
|
8233
8245
|
}
|
|
8234
|
-
a.$el = d._e.get(i), a.$el ? c(a) :
|
|
8246
|
+
a.$el = d._e.get(i), a.$el ? c(a) : Hr.has(e.tag) && f.push(a);
|
|
8235
8247
|
}
|
|
8236
8248
|
for (let e of f) e.$el = n.createElement(e.tag.tag), c(e), (p[e.tag.tagPosition || "head"] ??= n.createDocumentFragment()).appendChild(e.$el);
|
|
8237
8249
|
p.head && n.head.appendChild(p.head), p.bodyOpen && n.body.insertBefore(p.bodyOpen, n.body.firstChild), p.bodyClose && n.body.appendChild(p.bodyClose);
|
|
8238
8250
|
for (let e in d._p) d._p[e]();
|
|
8239
|
-
e._dom = d, o = !0,
|
|
8251
|
+
e._dom = d, o = !0, $r(e, "dom:rendered", { renders: h });
|
|
8240
8252
|
} catch (t) {
|
|
8241
8253
|
throw e.dirty = !0, t;
|
|
8242
8254
|
} finally {
|
|
8243
8255
|
e._du = !1;
|
|
8244
8256
|
}
|
|
8245
|
-
return o && (e.dirty ||
|
|
8257
|
+
return o && (e.dirty || ki(e)) && Mi(e, t), o;
|
|
8246
8258
|
}
|
|
8247
8259
|
//#endregion
|
|
8248
8260
|
//#region node_modules/unhead/dist/shared/unhead.C6wXFVPb.mjs
|
|
8249
|
-
var
|
|
8250
|
-
function
|
|
8261
|
+
var Ni = (e) => typeof e.tagPriority == "number" ? e.tagPriority : 100 + (Jr[e.tagPriority] || 0);
|
|
8262
|
+
function Pi(e = {}) {
|
|
8251
8263
|
e.document = e.document || (typeof window < "u" ? document : void 0);
|
|
8252
|
-
let t = e.render || /* @__PURE__ */
|
|
8264
|
+
let t = e.render || /* @__PURE__ */ Oi({ document: e.document }), n = ei(/* @__PURE__ */ zr(t, {
|
|
8253
8265
|
document: e.document,
|
|
8254
8266
|
propResolvers: e.propResolvers,
|
|
8255
|
-
_tagWeight:
|
|
8267
|
+
_tagWeight: Ni,
|
|
8256
8268
|
init: []
|
|
8257
|
-
}),
|
|
8269
|
+
}), Qr(e.hooks), t);
|
|
8258
8270
|
return e.plugins?.forEach((e) => n.use(e)), e.init?.forEach((e) => e && n.push(e)), n;
|
|
8259
8271
|
}
|
|
8260
8272
|
//#endregion
|
|
8261
8273
|
//#region node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
|
|
8262
|
-
var
|
|
8274
|
+
var Fi = "usehead";
|
|
8263
8275
|
// @__NO_SIDE_EFFECTS__
|
|
8264
|
-
function
|
|
8276
|
+
function Ii(e) {
|
|
8265
8277
|
return { install(t) {
|
|
8266
|
-
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(
|
|
8278
|
+
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(Fi, e);
|
|
8267
8279
|
} }.install;
|
|
8268
8280
|
}
|
|
8269
8281
|
//#endregion
|
|
8270
8282
|
//#region node_modules/@unhead/vue/dist/client.mjs
|
|
8271
8283
|
// @__NO_SIDE_EFFECTS__
|
|
8272
|
-
function
|
|
8273
|
-
let t = /* @__PURE__ */
|
|
8274
|
-
return n =
|
|
8284
|
+
function Li(e = {}) {
|
|
8285
|
+
let t = /* @__PURE__ */ Oi(), n, r = 0;
|
|
8286
|
+
return n = Pi({
|
|
8275
8287
|
render: () => {
|
|
8276
8288
|
let e = ++r;
|
|
8277
8289
|
setTimeout(() => {
|
|
@@ -8279,12 +8291,12 @@ function Ii(e = {}) {
|
|
|
8279
8291
|
}, 0);
|
|
8280
8292
|
},
|
|
8281
8293
|
...e
|
|
8282
|
-
}), n.install = /* @__PURE__ */
|
|
8294
|
+
}), n.install = /* @__PURE__ */ Ii(n), n;
|
|
8283
8295
|
}
|
|
8284
8296
|
//#endregion
|
|
8285
8297
|
//#region src/entries/hotel.ts
|
|
8286
|
-
var
|
|
8287
|
-
e.use(I), e.use(
|
|
8298
|
+
var Ri = k(), zi = /* @__PURE__ */ Li(), Bi = D("konnectio-hotel", Lr, (e) => {
|
|
8299
|
+
e.use(I), e.use(zi), e.use(Ri), e.use(E), e.use(We), e.use(Pe);
|
|
8288
8300
|
});
|
|
8289
8301
|
//#endregion
|
|
8290
|
-
export {
|
|
8302
|
+
export { Bi as default };
|