@konnectio/core 4.8.2 → 4.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ActionField-CfLvNrPb.js → ActionField-DNhrzibV.js} +42 -42
- package/dist/ActionField-DNhrzibV.js.br +0 -0
- package/dist/ActionField-DNhrzibV.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-BoJGAUPX.js → AvailabilitySkeleton-DyHPcQ3l.js} +1863 -1863
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.br +0 -0
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.gz +0 -0
- package/dist/{CheckoutWindow-Dn8xIbYm.js → CheckoutWindow-C7AVcaIo.js} +446 -446
- package/dist/CheckoutWindow-C7AVcaIo.js.br +0 -0
- package/dist/CheckoutWindow-C7AVcaIo.js.gz +0 -0
- package/dist/{ErrorMessage-DqXfbN8R.js → ErrorMessage-i6VD5R-W.js} +12 -12
- package/dist/ErrorMessage-i6VD5R-W.js.br +0 -0
- package/dist/ErrorMessage-i6VD5R-W.js.gz +0 -0
- package/dist/{EventAvailabilityForm-Ddf2a-lw.js → EventAvailabilityForm-B5degNGN.js} +28 -28
- package/dist/EventAvailabilityForm-B5degNGN.js.br +0 -0
- package/dist/EventAvailabilityForm-B5degNGN.js.gz +0 -0
- package/dist/{Field-BH2Qhlxc.js → Field-CysA6ZKB.js} +14 -14
- package/dist/Field-CysA6ZKB.js.br +0 -0
- package/dist/Field-CysA6ZKB.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js +320 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.br +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.gz +0 -0
- package/dist/{SelectField-BKzqm24F.js → SelectField-BUeYRCxc.js} +2947 -3417
- package/dist/SelectField-BUeYRCxc.js.br +0 -0
- package/dist/SelectField-BUeYRCxc.js.gz +0 -0
- package/dist/TermsOfService-DgMhoS_V.js +17 -0
- package/dist/TermsOfService-DgMhoS_V.js.br +0 -0
- package/dist/TermsOfService-DgMhoS_V.js.gz +0 -0
- package/dist/_-DFyJPf6E.js +25 -0
- package/dist/_-DFyJPf6E.js.br +0 -0
- package/dist/_-DFyJPf6E.js.gz +0 -0
- package/dist/availability.js +40 -40
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +58 -58
- 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/deep-link.js +12 -12
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/{dist-BWfnLuHD.js → dist-CS5pBdeg.js} +22 -22
- package/dist/dist-CS5pBdeg.js.br +0 -0
- package/dist/dist-CS5pBdeg.js.gz +0 -0
- package/dist/{dist-DJ5mNPQY.js → dist-D4fD_33g.js} +8 -7
- package/dist/dist-D4fD_33g.js.br +0 -0
- package/dist/dist-D4fD_33g.js.gz +0 -0
- package/dist/event.js +371 -371
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +49 -49
- package/dist/gift-card-validation.js.br +7 -9
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +161 -161
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-DJpZJhni.js → giftCard-ChLbvI2n.js} +15 -15
- package/dist/giftCard-ChLbvI2n.js.br +0 -0
- package/dist/giftCard-ChLbvI2n.js.gz +0 -0
- package/dist/hotel.js +776 -776
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-BF6zkld-.js → i18n-_behsDNX.js} +1030 -530
- package/dist/i18n-_behsDNX.js.br +0 -0
- package/dist/{i18n-BF6zkld-.js.gz → i18n-_behsDNX.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-B5I-GkXw.js → style-DWSfukOm.js} +372 -372
- package/dist/style-DWSfukOm.js.br +0 -0
- package/dist/style-DWSfukOm.js.gz +0 -0
- package/dist-wix/availability.js +30 -30
- package/dist-wix/event.js +7 -7
- package/dist-wix/gift-card-validation.js +22 -22
- package/dist-wix/gift-card.js +26 -26
- package/dist-wix/hotel.js +7 -7
- package/package.json +5 -4
- package/dist/ActionField-CfLvNrPb.js.br +0 -0
- package/dist/ActionField-CfLvNrPb.js.gz +0 -0
- package/dist/AvailabilitySkeleton-BoJGAUPX.js.br +0 -0
- package/dist/AvailabilitySkeleton-BoJGAUPX.js.gz +0 -0
- package/dist/CheckoutWindow-Dn8xIbYm.js.br +0 -0
- package/dist/CheckoutWindow-Dn8xIbYm.js.gz +0 -0
- package/dist/ErrorMessage-DqXfbN8R.js.br +0 -0
- package/dist/ErrorMessage-DqXfbN8R.js.gz +0 -0
- package/dist/EventAvailabilityForm-Ddf2a-lw.js.br +0 -0
- package/dist/EventAvailabilityForm-Ddf2a-lw.js.gz +0 -0
- package/dist/Field-BH2Qhlxc.js.br +0 -0
- package/dist/Field-BH2Qhlxc.js.gz +0 -0
- package/dist/HotelAvailabilityForm-D-wyToq1.js +0 -320
- package/dist/HotelAvailabilityForm-D-wyToq1.js.br +0 -0
- package/dist/HotelAvailabilityForm-D-wyToq1.js.gz +0 -0
- package/dist/SelectField-BKzqm24F.js.br +0 -0
- package/dist/SelectField-BKzqm24F.js.gz +0 -0
- package/dist/TermsOfService-CTLOb_GQ.js +0 -17
- package/dist/TermsOfService-CTLOb_GQ.js.br +0 -0
- package/dist/TermsOfService-CTLOb_GQ.js.gz +0 -0
- package/dist/_-B7FvZ5gF.js +0 -25
- package/dist/_-B7FvZ5gF.js.br +0 -0
- package/dist/_-B7FvZ5gF.js.gz +0 -0
- package/dist/dist-BWfnLuHD.js.br +0 -0
- package/dist/dist-BWfnLuHD.js.gz +0 -0
- package/dist/dist-DJ5mNPQY.js.br +0 -0
- package/dist/dist-DJ5mNPQY.js.gz +0 -0
- package/dist/giftCard-DJpZJhni.js.br +0 -0
- package/dist/giftCard-DJpZJhni.js.gz +0 -0
- package/dist/i18n-BF6zkld-.js.br +0 -0
- package/dist/style-B5I-GkXw.js.br +0 -0
- package/dist/style-B5I-GkXw.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-B0aSnxlc.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { C as
|
|
5
|
-
import { a as Pe, c as Fe, i as Ie, l as Le, n as Re, o as ze, s as Be, t as Ve } from "./CheckoutWindow-
|
|
6
|
-
import { n as He, t as Ue } from "./AvailabilitySkeleton-
|
|
7
|
-
import { t as We } from "./HotelAvailabilityForm-
|
|
8
|
-
import { t as Ge } from "./style-
|
|
9
|
-
import { t as Ke } from "./ActionField-
|
|
10
|
-
import { a as U, c as qe, i as Je, l as Ye, n as Xe, o as Ze, r as Qe, s as $e, t as et } from "./dist-
|
|
11
|
-
import { t as tt } from "./TermsOfService-
|
|
2
|
+
import { A as n, At as r, D as i, E as a, F as o, I as s, K as c, L as l, M as u, N as d, Nt as f, O as p, P as m, Pt as h, Q as g, R as _, S as ee, St as te, _t as ne, a as v, at as re, bt as y, et as b, f as x, gt as S, h as C, i as ie, it as w, j as T, jt as E, lt as D, mt as O, n as k, o as A, p as j, q as M, st as N, u as P, ut as F, w as I, wt as R, z } from "./i18n-_behsDNX.js";
|
|
3
|
+
import { t as ae } from "./dist-CS5pBdeg.js";
|
|
4
|
+
import { C as oe, D as se, E as ce, G as le, H as ue, J as de, K as fe, L as pe, N as me, O as he, R as ge, S as B, T as _e, W as ve, X as ye, Y as be, Z as xe, _ as Se, b as Ce, ct as we, et as Te, it as Ee, j as De, n as Oe, r as ke, rt as V, st as Ae, t as je, v as Me, x as H, z as Ne } from "./SelectField-BUeYRCxc.js";
|
|
5
|
+
import { a as Pe, c as Fe, i as Ie, l as Le, n as Re, o as ze, s as Be, t as Ve } from "./CheckoutWindow-C7AVcaIo.js";
|
|
6
|
+
import { n as He, t as Ue } from "./AvailabilitySkeleton-DyHPcQ3l.js";
|
|
7
|
+
import { t as We } from "./HotelAvailabilityForm-BGzRuNRM.js";
|
|
8
|
+
import { t as Ge } from "./style-DWSfukOm.js";
|
|
9
|
+
import { t as Ke } from "./ActionField-DNhrzibV.js";
|
|
10
|
+
import { a as U, c as qe, i as Je, l as Ye, n as Xe, o as Ze, r as Qe, s as $e, t as et } from "./dist-D4fD_33g.js";
|
|
11
|
+
import { t as tt } from "./TermsOfService-DgMhoS_V.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
13
|
function nt(e, t) {
|
|
14
14
|
return t ? {
|
|
@@ -91,7 +91,7 @@ function pt(e, t) {
|
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
|
|
94
|
-
var mt =
|
|
94
|
+
var mt = z({
|
|
95
95
|
name: "InnerImageZoom",
|
|
96
96
|
props: {
|
|
97
97
|
moveType: {
|
|
@@ -232,22 +232,22 @@ var mt = d({
|
|
|
232
232
|
key: 1,
|
|
233
233
|
class: "iiz__btn iiz__hint"
|
|
234
234
|
};
|
|
235
|
-
function bt(e, t, n, r,
|
|
236
|
-
return
|
|
235
|
+
function bt(e, t, n, r, i, o) {
|
|
236
|
+
return b(), m("figure", c({
|
|
237
237
|
class: ["iiz", {
|
|
238
238
|
...e.className && { [e.className]: e.className },
|
|
239
239
|
"iiz--drag": e.currentMoveType === "drag"
|
|
240
240
|
}],
|
|
241
241
|
ref: "img",
|
|
242
242
|
style: { width: `${e.width}px` }
|
|
243
|
-
},
|
|
243
|
+
}, F({
|
|
244
244
|
touchstart: e.isZoomed ? () => {} : e.handleTouchStart,
|
|
245
245
|
click: e.handleClick,
|
|
246
246
|
mouseenter: e.isTouch ? () => {} : e.handleMouseEnter,
|
|
247
247
|
mousemove: e.currentMoveType === "drag" || !e.isZoomed ? () => {} : e.handleMouseMove,
|
|
248
248
|
mouseleave: e.isTouch ? () => {} : e.handleMouseLeave
|
|
249
249
|
}, !0)), [
|
|
250
|
-
|
|
250
|
+
T("div", { style: f({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (b(), m("picture", ht, [(b(!0), m(a, null, w(e.validSources, (e, t) => (b(), m("source", c({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), T("img", c(e.imgAttributes, {
|
|
251
251
|
class: ["iiz__img", [e.imgAttributes.className || "", {
|
|
252
252
|
"iiz__img--hidden": e.isZoomed,
|
|
253
253
|
"iiz__img--abs": e.createSpacer
|
|
@@ -256,7 +256,7 @@ function bt(e, t, n, r, l, u) {
|
|
|
256
256
|
src: e.src,
|
|
257
257
|
width: e.width,
|
|
258
258
|
height: e.height
|
|
259
|
-
}), null, 16, gt)])) : (
|
|
259
|
+
}), null, 16, gt)])) : (b(), m("img", c({ key: 1 }, e.imgAttributes, {
|
|
260
260
|
class: ["iiz__img", [e.imgAttributes.className || "", {
|
|
261
261
|
"iiz__img--hidden": e.isZoomed,
|
|
262
262
|
"iiz__img--abs": e.createSpacer
|
|
@@ -266,10 +266,10 @@ function bt(e, t, n, r, l, u) {
|
|
|
266
266
|
width: e.width,
|
|
267
267
|
height: e.height
|
|
268
268
|
}), null, 16, _t))], 4),
|
|
269
|
-
e.isActive ? (
|
|
269
|
+
e.isActive ? (b(), m(a, { key: 0 }, [e.isFullscreen ? (b(), u(p, {
|
|
270
270
|
key: 0,
|
|
271
271
|
to: "body"
|
|
272
|
-
}, [
|
|
272
|
+
}, [T("div", W, [T("img", c({
|
|
273
273
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
|
|
274
274
|
alt: "",
|
|
275
275
|
draggable: !1,
|
|
@@ -279,21 +279,21 @@ function bt(e, t, n, r, l, u) {
|
|
|
279
279
|
transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
|
|
280
280
|
},
|
|
281
281
|
src: e.zoomSrc || e.src
|
|
282
|
-
},
|
|
282
|
+
}, F({
|
|
283
283
|
load: e.handleLoad,
|
|
284
284
|
touchstart: e.handleDragStart,
|
|
285
285
|
touchend: e.handleDragEnd,
|
|
286
286
|
mousedown: e.handleDragStart,
|
|
287
287
|
mouseup: e.handleDragEnd,
|
|
288
288
|
click: e.handleClick
|
|
289
|
-
}, !0)), null, 16, G), !e.hideCloseButton && e.currentMoveType === "drag" ? (
|
|
289
|
+
}, !0)), null, 16, G), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), m("button", {
|
|
290
290
|
key: 0,
|
|
291
291
|
type: "button",
|
|
292
|
-
class:
|
|
292
|
+
class: E(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
|
|
293
293
|
"aria-label": "Zoom Out",
|
|
294
|
-
style:
|
|
295
|
-
onClick: t[0] ||=
|
|
296
|
-
}, null, 6)) :
|
|
294
|
+
style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
295
|
+
onClick: t[0] ||= I((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
296
|
+
}, null, 6)) : d("", !0)])])) : (b(), m(a, { key: 1 }, [T("img", c({
|
|
297
297
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
|
|
298
298
|
alt: "",
|
|
299
299
|
draggable: !1,
|
|
@@ -303,21 +303,21 @@ function bt(e, t, n, r, l, u) {
|
|
|
303
303
|
transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
|
|
304
304
|
},
|
|
305
305
|
src: e.zoomSrc || e.src
|
|
306
|
-
},
|
|
306
|
+
}, F({
|
|
307
307
|
load: e.handleLoad,
|
|
308
308
|
touchstart: e.handleDragStart,
|
|
309
309
|
touchend: e.handleDragEnd,
|
|
310
310
|
mousedown: e.handleDragStart,
|
|
311
311
|
mouseup: e.handleDragEnd
|
|
312
|
-
}, !0)), null, 16, vt), !e.hideCloseButton && e.currentMoveType === "drag" ? (
|
|
312
|
+
}, !0)), null, 16, vt), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), m("button", {
|
|
313
313
|
key: 0,
|
|
314
|
-
class:
|
|
314
|
+
class: E(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
|
|
315
315
|
type: "button",
|
|
316
316
|
"aria-label": "Zoom Out",
|
|
317
|
-
style:
|
|
318
|
-
onClick: t[1] ||=
|
|
319
|
-
}, null, 6)) :
|
|
320
|
-
!e.isZoomed && !e.hideHint ? (
|
|
317
|
+
style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
318
|
+
onClick: t[1] ||= I((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
319
|
+
}, null, 6)) : d("", !0)], 64))], 64)) : d("", !0),
|
|
320
|
+
!e.isZoomed && !e.hideHint ? (b(), m("span", yt)) : d("", !0)
|
|
321
321
|
], 16);
|
|
322
322
|
}
|
|
323
323
|
//#endregion
|
|
@@ -334,7 +334,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
334
334
|
}, Bt = {
|
|
335
335
|
key: 1,
|
|
336
336
|
class: "konnectio-accept-terms"
|
|
337
|
-
}, Vt = { class: "konnectio-hotel-reservation-tooltip" }, Y = /*#__PURE__*/ B(/* @__PURE__ */
|
|
337
|
+
}, Vt = { class: "konnectio-hotel-reservation-tooltip" }, Y = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
338
338
|
__name: "HotelReservationForm",
|
|
339
339
|
props: {
|
|
340
340
|
forceArrivalTime: {},
|
|
@@ -358,7 +358,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
358
358
|
prevCallback: {}
|
|
359
359
|
},
|
|
360
360
|
setup(e) {
|
|
361
|
-
let { t } = v(), { disableNewsletterSignup:
|
|
361
|
+
let { t } = v(), { disableNewsletterSignup: n, currency: i } = C(ce()), { hasArrivalDepartureInputs: s } = ce(), { arrivalTime: c, departureTime: f, roomDisplay: p, templateID: g, totalPrice: _, areListingsLoading: te, getSelectedPackageRooms: x, templateRoomUnits: E, selectedPackage: D, discountVouchers: O, currentArrivalDate: k, currentDepartureDate: A, datesMismatch: j, currentLocation: M, locationMismatch: P, newsMails: F, termsOfService: z, discountCode: ae, hasTermOfService: se, acceptTerms: le, totalTemplateAddonPrice: ue, totalRooms: de, totalAdults: fe, totalChildren: me, weekendFee: ge, selectedMemberCardData: B, appliedDiscountCode: _e, guestDiscountCode: ve, isValidatingDiscountCode: ye } = C(he()), { hasHotelLocations: Se } = C(oe()), { removeRoom: Ce, validateDiscountCode: we, getMandatoryRoomGroupAddons: Ee, getTemplateRoomUnitPrice: De, resetDiscountVoucher: Oe, setGuestDiscountCode: ke, clearGuestDiscountCode: V, fetchAvailabilityData: Ae } = he(), { getHotelLocationName: je } = oe(), Me = R(!1);
|
|
362
362
|
function Pe(e) {
|
|
363
363
|
ke(e), Ae();
|
|
364
364
|
}
|
|
@@ -368,133 +368,133 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
368
368
|
function Le(e) {
|
|
369
369
|
return e.reduce((e, { totalPrice: t }) => e + t, 0);
|
|
370
370
|
}
|
|
371
|
-
return (v,
|
|
372
|
-
let
|
|
373
|
-
return
|
|
374
|
-
"discount-code":
|
|
375
|
-
"onUpdate:discountCode":
|
|
376
|
-
"validate-discount-code":
|
|
377
|
-
"total-price": _
|
|
378
|
-
"weekend-fee":
|
|
371
|
+
return (v, C) => {
|
|
372
|
+
let R = N("tooltip");
|
|
373
|
+
return b(), u(U, {
|
|
374
|
+
"discount-code": r(ae),
|
|
375
|
+
"onUpdate:discountCode": C[4] ||= (e) => y(ae) ? ae.value = e : null,
|
|
376
|
+
"validate-discount-code": r(we),
|
|
377
|
+
"total-price": r(_),
|
|
378
|
+
"weekend-fee": r(ge),
|
|
379
379
|
"show-gift-card": e.showGiftCard,
|
|
380
380
|
"availability-discount": e.availabilityDiscount,
|
|
381
381
|
"show-terms-notice": e.showTermsNotice,
|
|
382
|
-
"is-sidebar-loading":
|
|
383
|
-
notice:
|
|
382
|
+
"is-sidebar-loading": r(te),
|
|
383
|
+
notice: r(t)("hotel.reservationNotice"),
|
|
384
384
|
"prev-callback": e.prevCallback,
|
|
385
|
-
"applied-discount-code":
|
|
386
|
-
"guest-discount-code":
|
|
387
|
-
"is-validating-discount-code":
|
|
388
|
-
"on-reset-discount-code":
|
|
385
|
+
"applied-discount-code": r(_e),
|
|
386
|
+
"guest-discount-code": r(ve),
|
|
387
|
+
"is-validating-discount-code": r(ye),
|
|
388
|
+
"on-reset-discount-code": r(Oe),
|
|
389
389
|
"on-apply-availability-discount": Pe,
|
|
390
390
|
"on-clear-availability-discount": Fe
|
|
391
|
-
},
|
|
392
|
-
form:
|
|
393
|
-
"price-summary":
|
|
394
|
-
|
|
395
|
-
|
|
391
|
+
}, o({
|
|
392
|
+
form: S(() => [re(v.$slots, "form", {}, void 0, !0)]),
|
|
393
|
+
"price-summary": S(() => [isNaN(r(g)) && r(p).length > 0 ? (b(!0), m(a, { key: 0 }, w(r(p), ({ roomGroupID: n, title: o, variants: s }) => (b(), m("div", { key: n }, [T("h6", null, [T("span", null, h(r(pe)(o)), 1)]), (b(!0), m(a, null, w(s, (o, s) => (b(), m("div", { key: s }, [(b(!0), m(a, null, w(o.rooms, (a, c) => (b(), m("ul", { key: c }, [T("li", null, [
|
|
394
|
+
T("span", Tt, h(r(pe)(o.name)), 1),
|
|
395
|
+
T("span", Et, [T("span", Dt, [T("span", null, [l(H, {
|
|
396
396
|
icon: "male",
|
|
397
397
|
type: "fas",
|
|
398
398
|
color: "font"
|
|
399
|
-
}),
|
|
399
|
+
}), T("span", null, h(a.adultsCount), 1)]), a.childrenCount > 0 ? (b(), m("span", J, [l(H, {
|
|
400
400
|
icon: "child",
|
|
401
401
|
type: "fas",
|
|
402
402
|
color: "font"
|
|
403
|
-
}),
|
|
404
|
-
|
|
403
|
+
}), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span", Ot, "(" + h(a.roomName) + ")", 1)) : d("", !0)]),
|
|
404
|
+
T("b", null, [T("span", null, h(r(Te)(a.totalPrice, r(i))), 1), e.showRemoveRoom ? (b(), m("span", {
|
|
405
405
|
key: 0,
|
|
406
406
|
class: "konnectio-hotel-reservation-remove",
|
|
407
|
-
onClick:
|
|
408
|
-
}, [
|
|
407
|
+
onClick: I((e) => r(Ce)(n, s, a.configIdx), ["prevent"])
|
|
408
|
+
}, [l(H, {
|
|
409
409
|
icon: "times",
|
|
410
410
|
type: "fas",
|
|
411
411
|
"icon-color": "#ff0000"
|
|
412
|
-
})], 8, kt)) :
|
|
413
|
-
]), Le(
|
|
414
|
-
|
|
415
|
-
|
|
412
|
+
})], 8, kt)) : d("", !0)])
|
|
413
|
+
]), Le(a.roomAddons) > 0 ? (b(), m("li", At, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Te)(Le(a.roomAddons), r(i))), 1)])) : d("", !0)]))), 128))]))), 128))]))), 128)) : d("", !0), r(E).length > 0 && r(D) ? (b(), m("div", jt, [T("h6", null, [T("span", null, h(r(pe)(r(D).name)), 1)]), T("div", null, [T("ul", null, [(b(!0), m(a, null, w(r(E), (e, n) => (b(), m("li", { key: n }, [
|
|
414
|
+
T("span", Mt, [T("span", null, h(r(pe)(r(x).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), r(E).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), m("span", Nt, "(" + h(r(t)("booking.reservation.room")) + " " + h(r(E).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : d("", !0)]),
|
|
415
|
+
T("span", Pt, [T("span", Ft, [T("span", null, [l(H, {
|
|
416
416
|
icon: "male",
|
|
417
417
|
type: "fas",
|
|
418
418
|
color: "font"
|
|
419
|
-
}),
|
|
419
|
+
}), T("span", null, h(e.adults), 1)]), e.children > 0 ? (b(), m("span", It, [l(H, {
|
|
420
420
|
icon: "child",
|
|
421
421
|
type: "fas",
|
|
422
422
|
color: "font"
|
|
423
|
-
}),
|
|
424
|
-
|
|
425
|
-
(
|
|
426
|
-
]))), 128)),
|
|
427
|
-
actions:
|
|
428
|
-
|
|
429
|
-
modelValue:
|
|
430
|
-
"onUpdate:modelValue":
|
|
423
|
+
}), T("span", null, h(e.children), 1)])) : d("", !0)])]),
|
|
424
|
+
T("b", null, [T("span", null, h(r(Te)(r(De)(e.roomGroupId, e.adults, e.children) + r(ge), r(i))), 1)]),
|
|
425
|
+
(b(!0), m(a, null, w(r(Ee)(e.roomGroupId), (e) => (b(), m(a, { key: e.addonID }, [T("span", null, "- " + h(e.name), 1), T("b", null, [T("span", null, h(r(Te)(e.price, r(i))), 1)])], 64))), 128))
|
|
426
|
+
]))), 128)), r(ue) ? (b(), m("li", Lt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Te)(r(ue), r(i))), 1)])) : d("", !0)])])])) : d("", !0)]),
|
|
427
|
+
actions: S(() => [T("ul", Rt, [
|
|
428
|
+
r(n) ? d("", !0) : (b(), m("div", zt, [l(Ie, {
|
|
429
|
+
modelValue: r(F),
|
|
430
|
+
"onUpdate:modelValue": C[0] ||= (e) => y(F) ? F.value = e : null,
|
|
431
431
|
type: "checkbox",
|
|
432
432
|
name: "newsletter",
|
|
433
|
-
label:
|
|
433
|
+
label: r(t)("booking.reservation.newsletterSignUp")
|
|
434
434
|
}, null, 8, ["modelValue", "label"])])),
|
|
435
|
-
|
|
436
|
-
modelValue:
|
|
437
|
-
"onUpdate:modelValue":
|
|
435
|
+
r(se) ? (b(), m("div", Bt, [l(Ie, {
|
|
436
|
+
modelValue: r(le),
|
|
437
|
+
"onUpdate:modelValue": C[2] ||= (e) => y(le) ? le.value = e : null,
|
|
438
438
|
type: "checkbox",
|
|
439
439
|
name: "terms"
|
|
440
440
|
}, {
|
|
441
|
-
default:
|
|
441
|
+
default: S(() => [l(r(ie), {
|
|
442
442
|
keypath: "general.termsAndConditionsCheckbox",
|
|
443
443
|
tag: "span",
|
|
444
444
|
scope: "global"
|
|
445
445
|
}, {
|
|
446
|
-
terms:
|
|
446
|
+
terms: S(() => [T("a", {
|
|
447
447
|
class: "konnectio-accept-terms-link",
|
|
448
|
-
onClick:
|
|
449
|
-
}, [
|
|
448
|
+
onClick: C[1] ||= I((e) => Me.value = !0, ["prevent"])
|
|
449
|
+
}, [T("span", null, h(r(be)(r(t)("general.termsAndConditions"))), 1)])]),
|
|
450
450
|
_: 1
|
|
451
451
|
})]),
|
|
452
452
|
_: 1
|
|
453
|
-
}, 8, ["modelValue"])])) :
|
|
454
|
-
|
|
455
|
-
|
|
453
|
+
}, 8, ["modelValue"])])) : d("", !0),
|
|
454
|
+
re(v.$slots, "actions", {}, void 0, !0),
|
|
455
|
+
l(tt, {
|
|
456
456
|
modelValue: Me.value,
|
|
457
|
-
"onUpdate:modelValue":
|
|
458
|
-
description:
|
|
457
|
+
"onUpdate:modelValue": C[3] ||= (e) => Me.value = e,
|
|
458
|
+
description: r(z)
|
|
459
459
|
}, null, 8, ["modelValue", "description"])
|
|
460
460
|
])]),
|
|
461
|
-
navigation:
|
|
462
|
-
"mobile-under-price":
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
461
|
+
navigation: S(() => [re(v.$slots, "navigation", {}, void 0, !0)]),
|
|
462
|
+
"mobile-under-price": S(() => [
|
|
463
|
+
T("span", null, h(r(t)("general.for")) + ": ", 1),
|
|
464
|
+
T("b", null, h(r(Ne)(r(k), r(A))) + " " + h(r(be)(r(Ne)(r(k), r(A)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1),
|
|
465
|
+
ne((b(), m("span", Vt, [l(H, {
|
|
466
466
|
icon: "circle-info",
|
|
467
467
|
type: "fas"
|
|
468
|
-
})])), [[
|
|
469
|
-
content: `<span>(${
|
|
468
|
+
})])), [[R, {
|
|
469
|
+
content: `<span>(${r(xe)(r(k))} - ${r(xe)(r(A))})</span>`,
|
|
470
470
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
471
471
|
html: !0
|
|
472
472
|
}]])
|
|
473
473
|
]),
|
|
474
|
-
"mobile-summary":
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
474
|
+
"mobile-summary": S(() => [
|
|
475
|
+
T("span", null, h(`${r(fe)} ${r(fe) === 1 ? r(t)("general.adult") : r(t)("general.adults")}`), 1),
|
|
476
|
+
T("span", null, h(`${r(me)} ${r(me) === 1 ? r(t)("general.child") : r(t)("general.children")}`), 1),
|
|
477
|
+
T("span", null, h(`${r(de)} ${r(de) === 1 ? r(t)("booking.reservation.room") : r(t)("booking.reservation.rooms")}`), 1)
|
|
478
478
|
]),
|
|
479
479
|
_: 2
|
|
480
|
-
}, [isNaN(
|
|
480
|
+
}, [isNaN(r(M)) ? void 0 : {
|
|
481
481
|
name: "reservation-summary",
|
|
482
|
-
fn:
|
|
483
|
-
|
|
482
|
+
fn: S(() => [
|
|
483
|
+
r(Se) ? (b(), m("li", K, [T("span", null, h(r(t)("general.location")), 1), T("b", null, [T("span", null, h(r(je)(r(M))), 1), ne(T("span", q, [l(H, {
|
|
484
484
|
icon: "exclamation-triangle",
|
|
485
485
|
type: "fas"
|
|
486
|
-
})], 512), [[
|
|
487
|
-
|
|
486
|
+
})], 512), [[ee, r(P)]])])])) : d("", !0),
|
|
487
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.arrival")), 1), T("b", null, [T("span", null, h(r(s)(r(M)) ? `${r(xe)(r(k))}, ${r(c)}` : r(xe)(r(k))), 1), ne(T("span", St, [l(H, {
|
|
488
488
|
icon: "exclamation-triangle",
|
|
489
489
|
type: "fas"
|
|
490
|
-
})], 512), [[
|
|
491
|
-
|
|
490
|
+
})], 512), [[ee, r(j)]])])]),
|
|
491
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.departure")), 1), T("b", null, [T("span", null, h(r(s)(r(M)) ? `${r(xe)(r(A))}, ${r(f)}` : r(xe)(r(A))), 1), ne(T("span", Ct, [l(H, {
|
|
492
492
|
icon: "exclamation-triangle",
|
|
493
493
|
type: "fas"
|
|
494
|
-
})], 512), [[
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
494
|
+
})], 512), [[ee, r(j)]])])]),
|
|
495
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(Ne)(r(k), r(A))) + " " + h(r(be)(r(Ne)(r(k), r(A)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)]),
|
|
496
|
+
r(B) && r(B).providesDiscount ? (b(), m("li", wt, [T("span", null, h(r(B).shortDescription), 1), T("b", null, "-" + h(r(B).discountPercent) + "%", 1)])) : d("", !0),
|
|
497
|
+
r(O) ? (b(!0), m(a, { key: 2 }, w(r(O), (e) => (b(), m("li", { key: e.id }, [T("span", null, h(`${r(t)("general.discountCode")} (${e.value})`), 1), T("b", null, h(e.key), 1)]))), 128)) : d("", !0)
|
|
498
498
|
]),
|
|
499
499
|
key: "0"
|
|
500
500
|
}]), 1032, [
|
|
@@ -515,44 +515,44 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
515
515
|
]);
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
|
-
}), [["__scopeId", "data-v-95f86ccc"]]), Ht = { class: "konnectio-panel" }, X = { id: "konnectio-hotel-guest-discount-title" }, Ut = ["innerHTML"], Wt = /*#__PURE__*/ B(/* @__PURE__ */
|
|
518
|
+
}), [["__scopeId", "data-v-95f86ccc"]]), Ht = { class: "konnectio-panel" }, X = { id: "konnectio-hotel-guest-discount-title" }, Ut = ["innerHTML"], Wt = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
519
519
|
__name: "GuestDiscountForm",
|
|
520
520
|
setup(e) {
|
|
521
|
-
let { t } = v(), n =
|
|
522
|
-
async function
|
|
523
|
-
if (!
|
|
524
|
-
|
|
521
|
+
let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o = R();
|
|
522
|
+
async function s() {
|
|
523
|
+
if (!o.value) {
|
|
524
|
+
a({
|
|
525
525
|
message: t("alert.error.guestDiscountEmpty"),
|
|
526
526
|
type: "error"
|
|
527
527
|
});
|
|
528
528
|
return;
|
|
529
529
|
}
|
|
530
|
-
if (isNaN(
|
|
531
|
-
|
|
530
|
+
if (isNaN(o.value)) {
|
|
531
|
+
a({
|
|
532
532
|
message: t("alert.error.guestDiscountNan"),
|
|
533
533
|
type: "error"
|
|
534
534
|
});
|
|
535
535
|
return;
|
|
536
536
|
}
|
|
537
|
-
await
|
|
537
|
+
await i.checkGuestDiscount(o.value) && (n.gid = o.value.toString());
|
|
538
538
|
}
|
|
539
|
-
return (e, n) => (
|
|
539
|
+
return (e, n) => (b(), m("form", {
|
|
540
540
|
id: "konnectio-hotel-guest-discount",
|
|
541
|
-
onSubmit: n[1] ||=
|
|
542
|
-
}, [
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
modelValue:
|
|
547
|
-
"onUpdate:modelValue": n[0] ||= (e) =>
|
|
548
|
-
label:
|
|
541
|
+
onSubmit: n[1] ||= I(() => {}, ["prevent"])
|
|
542
|
+
}, [T("div", Ht, [
|
|
543
|
+
T("h3", X, [T("span", null, h(r(t)("guestDiscount.title")), 1)]),
|
|
544
|
+
T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8, Ut),
|
|
545
|
+
l(Ke, {
|
|
546
|
+
modelValue: o.value,
|
|
547
|
+
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
548
|
+
label: r(t)("guestDiscount.guestDiscountCode"),
|
|
549
549
|
placeholder: "XXXXXX",
|
|
550
550
|
inputType: "number",
|
|
551
|
-
"button-label":
|
|
551
|
+
"button-label": r(t)("guestDiscount.submitButton"),
|
|
552
552
|
icon: "user-tag",
|
|
553
553
|
"button-icon": "paper-plane-top",
|
|
554
554
|
secondary: "",
|
|
555
|
-
onAction:
|
|
555
|
+
onAction: s
|
|
556
556
|
}, null, 8, [
|
|
557
557
|
"modelValue",
|
|
558
558
|
"label",
|
|
@@ -560,37 +560,37 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
560
560
|
])
|
|
561
561
|
])], 32));
|
|
562
562
|
}
|
|
563
|
-
}), [["__scopeId", "data-v-de955b0c"]]), Gt = { class: "konnectio-panel" }, Kt = { id: "konnectio-hotel-discount-code-title" }, qt = ["innerHTML"], Jt = /*#__PURE__*/ B(/* @__PURE__ */
|
|
563
|
+
}), [["__scopeId", "data-v-de955b0c"]]), Gt = { class: "konnectio-panel" }, Kt = { id: "konnectio-hotel-discount-code-title" }, qt = ["innerHTML"], Jt = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
564
564
|
__name: "DiscountCodeForm",
|
|
565
565
|
setup(e) {
|
|
566
|
-
let { t } = v(), n =
|
|
567
|
-
async function
|
|
568
|
-
if (!
|
|
569
|
-
|
|
566
|
+
let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o = R();
|
|
567
|
+
async function s() {
|
|
568
|
+
if (!o.value) {
|
|
569
|
+
a({
|
|
570
570
|
message: t("alert.error.discountCodeEmpty"),
|
|
571
571
|
type: "error"
|
|
572
572
|
});
|
|
573
573
|
return;
|
|
574
574
|
}
|
|
575
|
-
n.discount =
|
|
575
|
+
n.discount = o.value.toString(), i.setGuestDiscountCode(o.value.toString());
|
|
576
576
|
}
|
|
577
|
-
return (e, n) => (
|
|
577
|
+
return (e, n) => (b(), m("form", {
|
|
578
578
|
id: "konnectio-hotel-discount-code",
|
|
579
|
-
onSubmit: n[1] ||=
|
|
580
|
-
}, [
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
modelValue:
|
|
585
|
-
"onUpdate:modelValue": n[0] ||= (e) =>
|
|
586
|
-
label:
|
|
579
|
+
onSubmit: n[1] ||= I(() => {}, ["prevent"])
|
|
580
|
+
}, [T("div", Gt, [
|
|
581
|
+
T("h3", Kt, [T("span", null, h(r(t)("discountCode.title")), 1)]),
|
|
582
|
+
T("p", { innerHTML: r(t)("discountCode.description") }, null, 8, qt),
|
|
583
|
+
l(Ke, {
|
|
584
|
+
modelValue: o.value,
|
|
585
|
+
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
586
|
+
label: r(t)("discountCode.label"),
|
|
587
587
|
placeholder: "XXXXXX",
|
|
588
588
|
inputType: "text",
|
|
589
|
-
"button-label":
|
|
589
|
+
"button-label": r(t)("discountCode.submitButton"),
|
|
590
590
|
icon: "tags",
|
|
591
591
|
"button-icon": "paper-plane-top",
|
|
592
592
|
secondary: "",
|
|
593
|
-
onAction:
|
|
593
|
+
onAction: s
|
|
594
594
|
}, null, 8, [
|
|
595
595
|
"modelValue",
|
|
596
596
|
"label",
|
|
@@ -598,7 +598,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
598
598
|
])
|
|
599
599
|
])], 32));
|
|
600
600
|
}
|
|
601
|
-
}), [["__scopeId", "data-v-4a009012"]]), Yt = { class: "konnectio-room-config-option" }, Z = { key: 0 }, Xt = { class: "konnectio-selected-room-config" }, Zt = { class: "konnectio-selected-room-config-people" }, Qt = { key: 0 }, $t = { class: "konnectio-selected-room-config-price" }, en = /*#__PURE__*/ B(/* @__PURE__ */
|
|
601
|
+
}), [["__scopeId", "data-v-4a009012"]]), Yt = { class: "konnectio-room-config-option" }, Z = { key: 0 }, Xt = { class: "konnectio-selected-room-config" }, Zt = { class: "konnectio-selected-room-config-people" }, Qt = { key: 0 }, $t = { class: "konnectio-selected-room-config-price" }, en = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
602
602
|
__name: "RoomConfigField",
|
|
603
603
|
props: {
|
|
604
604
|
modelValue: {},
|
|
@@ -615,17 +615,17 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
615
615
|
},
|
|
616
616
|
emits: ["update:modelValue"],
|
|
617
617
|
setup(e, { emit: t }) {
|
|
618
|
-
let { t:
|
|
619
|
-
function
|
|
620
|
-
|
|
618
|
+
let { t: i } = v(), { currency: a } = C(ce()), o = t, c = e;
|
|
619
|
+
function f(e) {
|
|
620
|
+
o("update:modelValue", e);
|
|
621
621
|
}
|
|
622
|
-
let
|
|
623
|
-
get: () =>
|
|
624
|
-
set: (e) =>
|
|
622
|
+
let p = n({
|
|
623
|
+
get: () => c.modelValue,
|
|
624
|
+
set: (e) => f(e)
|
|
625
625
|
});
|
|
626
|
-
return (t,
|
|
627
|
-
modelValue:
|
|
628
|
-
"onUpdate:modelValue":
|
|
626
|
+
return (t, n) => (b(), u(je, {
|
|
627
|
+
modelValue: p.value,
|
|
628
|
+
"onUpdate:modelValue": n[0] ||= (e) => p.value = e,
|
|
629
629
|
label: e.label,
|
|
630
630
|
placeholder: "Select guest configuration",
|
|
631
631
|
labelKey: "label",
|
|
@@ -636,20 +636,20 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
636
636
|
required: e.required,
|
|
637
637
|
searchable: !1
|
|
638
638
|
}, {
|
|
639
|
-
option:
|
|
640
|
-
|
|
639
|
+
option: S(({ data: e }) => [T("span", Yt, [T("div", null, [
|
|
640
|
+
l(H, {
|
|
641
641
|
icon: "male",
|
|
642
642
|
type: "fas",
|
|
643
643
|
color: "font"
|
|
644
644
|
}),
|
|
645
|
-
|
|
646
|
-
e.children > 0 ? (
|
|
645
|
+
T("span", null, h(`${e.adults}`), 1),
|
|
646
|
+
e.children > 0 ? (b(), m("span", Z, [l(H, {
|
|
647
647
|
icon: "child",
|
|
648
648
|
type: "fas",
|
|
649
649
|
color: "font"
|
|
650
|
-
}),
|
|
651
|
-
]),
|
|
652
|
-
"selected-option":
|
|
650
|
+
}), T("span", null, h(`${e.children}`), 1)])) : d("", !0)
|
|
651
|
+
]), T("span", null, h(`(${r(Te)(e.price, r(a))})`), 1)])]),
|
|
652
|
+
"selected-option": S(({ data: e }) => [T("div", Xt, [T("div", Zt, [T("div", null, [d("", !0), T("span", null, h(`${e.adults} ${e.adults === 1 ? r(i)("general.adult") : r(i)("general.adults")}`), 1)]), e.children > 0 ? (b(), m("div", Qt, [d("", !0), T("span", null, h(`& ${e.children} ${e.children === 1 ? r(i)("general.child") : r(i)("general.children")}`), 1)])) : d("", !0)]), T("div", $t, [n[1] ||= T("span", null, null, -1), s(" " + h(`(${r(Te)(e.price, r(a))})`), 1)])])]),
|
|
653
653
|
_: 1
|
|
654
654
|
}, 8, [
|
|
655
655
|
"modelValue",
|
|
@@ -738,25 +738,25 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
738
738
|
return -1;
|
|
739
739
|
}
|
|
740
740
|
var te = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
|
|
741
|
-
function
|
|
741
|
+
function ne(e) {
|
|
742
742
|
return window["webkit" + e] || window["moz" + e] || window["ms" + e];
|
|
743
743
|
}
|
|
744
|
-
var
|
|
745
|
-
function
|
|
746
|
-
var t = +/* @__PURE__ */ new Date(), n = Math.max(0, 16 - (t -
|
|
747
|
-
return
|
|
744
|
+
var v = 0;
|
|
745
|
+
function re(e) {
|
|
746
|
+
var t = +/* @__PURE__ */ new Date(), n = Math.max(0, 16 - (t - v));
|
|
747
|
+
return v = t + n, window.setTimeout(e, n);
|
|
748
748
|
}
|
|
749
|
-
var
|
|
749
|
+
var y = window.requestAnimationFrame || ne("RequestAnimationFrame") || re, b = window.cancelAnimationFrame || ne("CancelAnimationFrame") || ne("CancelRequestAnimationFrame") || function(e) {
|
|
750
750
|
window.clearTimeout(e);
|
|
751
751
|
};
|
|
752
|
-
function
|
|
753
|
-
if (n &&
|
|
754
|
-
else return
|
|
752
|
+
function x(e, t, n) {
|
|
753
|
+
if (n && y === re) e.call(t);
|
|
754
|
+
else return y.call(window, i(e, t));
|
|
755
755
|
}
|
|
756
|
-
function
|
|
757
|
-
e &&
|
|
756
|
+
function S(e) {
|
|
757
|
+
e && b.call(window, e);
|
|
758
758
|
}
|
|
759
|
-
var
|
|
759
|
+
var C = {
|
|
760
760
|
__proto__: null,
|
|
761
761
|
extend: n,
|
|
762
762
|
create: r,
|
|
@@ -777,35 +777,35 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
777
777
|
isArray: _,
|
|
778
778
|
indexOf: ee,
|
|
779
779
|
emptyImageUrl: te,
|
|
780
|
-
requestFn:
|
|
781
|
-
cancelFn:
|
|
782
|
-
requestAnimFrame:
|
|
783
|
-
cancelAnimFrame:
|
|
780
|
+
requestFn: y,
|
|
781
|
+
cancelFn: b,
|
|
782
|
+
requestAnimFrame: x,
|
|
783
|
+
cancelAnimFrame: S
|
|
784
784
|
};
|
|
785
|
-
function
|
|
786
|
-
|
|
785
|
+
function ie() {}
|
|
786
|
+
ie.extend = function(e) {
|
|
787
787
|
var t = function() {
|
|
788
788
|
p(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
|
|
789
789
|
}, i = t.__super__ = this.prototype, a = r(i);
|
|
790
790
|
for (var o in a.constructor = t, t.prototype = a, this) Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (t[o] = this[o]);
|
|
791
|
-
return e.statics && n(t, e.statics), e.includes && (
|
|
791
|
+
return e.statics && n(t, e.statics), e.includes && (w(e.includes), n.apply(null, [a].concat(e.includes))), n(a, e), delete a.statics, delete a.includes, a.options && (a.options = i.options ? r(i.options) : {}, n(a.options, e.options)), a._initHooks = [], a.callInitHooks = function() {
|
|
792
792
|
if (!this._initHooksCalled) {
|
|
793
793
|
i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
|
|
794
794
|
for (var e = 0, t = a._initHooks.length; e < t; e++) a._initHooks[e].call(this);
|
|
795
795
|
}
|
|
796
796
|
}, t;
|
|
797
|
-
},
|
|
797
|
+
}, ie.include = function(e) {
|
|
798
798
|
var t = this.prototype.options;
|
|
799
799
|
return n(this.prototype, e), e.options && (this.prototype.options = t, this.mergeOptions(e.options)), this;
|
|
800
|
-
},
|
|
800
|
+
}, ie.mergeOptions = function(e) {
|
|
801
801
|
return n(this.prototype.options, e), this;
|
|
802
|
-
},
|
|
802
|
+
}, ie.addInitHook = function(e) {
|
|
803
803
|
var t = Array.prototype.slice.call(arguments, 1), n = typeof e == "function" ? e : function() {
|
|
804
804
|
this[e].apply(this, t);
|
|
805
805
|
};
|
|
806
806
|
return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(n), this;
|
|
807
807
|
};
|
|
808
|
-
function
|
|
808
|
+
function w(e) {
|
|
809
809
|
if (!(typeof L > "u" || !L || !L.Mixin)) {
|
|
810
810
|
e = _(e) ? e : [e];
|
|
811
811
|
for (var t = 0; t < e.length; t++) e[t] === L.Mixin.Events && console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.", (/* @__PURE__ */ Error()).stack);
|
|
@@ -923,7 +923,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
923
923
|
}
|
|
924
924
|
};
|
|
925
925
|
T.addEventListener = T.on, T.removeEventListener = T.clearAllEventListeners = T.off, T.addOneTimeEventListener = T.once, T.fireEvent = T.fire, T.hasEventListeners = T.listens;
|
|
926
|
-
var E =
|
|
926
|
+
var E = ie.extend(T);
|
|
927
927
|
function D(e, t, n) {
|
|
928
928
|
this.x = n ? Math.round(e) : e, this.y = n ? Math.round(t) : t;
|
|
929
929
|
}
|
|
@@ -1211,8 +1211,8 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__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
|
+
}), z = 6378137, ae = {
|
|
1215
|
+
R: z,
|
|
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 xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1223
1223
|
return new P((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 = z * Math.PI;
|
|
1227
1227
|
return new A([-e, -e], [e, e]);
|
|
1228
1228
|
})()
|
|
1229
1229
|
};
|
|
1230
|
-
function
|
|
1230
|
+
function oe(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
|
+
oe.prototype = {
|
|
1238
1238
|
transform: function(e, t) {
|
|
1239
1239
|
return this._transform(e.clone(), t);
|
|
1240
1240
|
},
|
|
@@ -1245,15 +1245,15 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1245
1245
|
return t ||= 1, new D((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 se(e, t, n, r) {
|
|
1249
|
+
return new oe(e, t, n, r);
|
|
1250
1250
|
}
|
|
1251
1251
|
var ce = n({}, R, {
|
|
1252
1252
|
code: "EPSG:3857",
|
|
1253
|
-
projection:
|
|
1253
|
+
projection: ae,
|
|
1254
1254
|
transformation: function() {
|
|
1255
|
-
var e = .5 / (Math.PI *
|
|
1256
|
-
return
|
|
1255
|
+
var e = .5 / (Math.PI * ae.R);
|
|
1256
|
+
return se(e, .5, -e, .5);
|
|
1257
1257
|
}()
|
|
1258
1258
|
}), le = n({}, ce, { code: "EPSG:900913" });
|
|
1259
1259
|
function ue(e) {
|
|
@@ -1267,7 +1267,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1267
1267
|
}
|
|
1268
1268
|
return n || "M0 0";
|
|
1269
1269
|
}
|
|
1270
|
-
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener,
|
|
1270
|
+
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = Ke("webkit"), B = Ke("android"), _e = Ke("android 2") || Ke("android 3"), ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ye = B && Ke("Google") && ve < 537 && !("AudioNode" in window), be = !!window.opera, xe = !he && Ke("chrome"), Se = Ke("gecko") && !ge && !be && !pe, Ce = !xe && Ke("safari"), we = Ke("phantom"), Te = "OTransition" in fe, Ee = navigator.platform.indexOf("Win") === 0, De = pe && "transition" in fe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !_e, ke = "MozPerspective" in fe, V = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, Ae = typeof orientation < "u" || Ke("mobile"), je = Ae && ge, Me = Ae && Oe, H = !window.PointerEvent && window.MSPointerEvent, Ne = !!(window.PointerEvent || H), Pe = "ontouchstart" in window || !!window.TouchEvent, Fe = !window.L_NO_TOUCH && (Pe || Ne), Ie = Ae && be, Le = Ae && 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() {
|
|
@@ -1297,9 +1297,9 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1297
1297
|
var U = {
|
|
1298
1298
|
ie: pe,
|
|
1299
1299
|
ielt9: me,
|
|
1300
|
-
edge:
|
|
1301
|
-
webkit:
|
|
1302
|
-
android:
|
|
1300
|
+
edge: he,
|
|
1301
|
+
webkit: ge,
|
|
1302
|
+
android: B,
|
|
1303
1303
|
android23: _e,
|
|
1304
1304
|
androidStock: ye,
|
|
1305
1305
|
opera: be,
|
|
@@ -1689,7 +1689,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1689
1689
|
this._inProgress && (this._step(!0), this._complete());
|
|
1690
1690
|
},
|
|
1691
1691
|
_animate: function() {
|
|
1692
|
-
this._animId =
|
|
1692
|
+
this._animId = x(this._animate, this), this._step();
|
|
1693
1693
|
},
|
|
1694
1694
|
_step: function(e) {
|
|
1695
1695
|
var t = +/* @__PURE__ */ new Date() - this._startTime, n = this._duration * 1e3;
|
|
@@ -1700,7 +1700,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1700
1700
|
t && n._round(), J(this._el, n), this.fire("step");
|
|
1701
1701
|
},
|
|
1702
1702
|
_complete: function() {
|
|
1703
|
-
|
|
1703
|
+
S(this._animId), this._inProgress = !1, this.fire("end");
|
|
1704
1704
|
},
|
|
1705
1705
|
_easeOut: function(e) {
|
|
1706
1706
|
return 1 - (1 - e) ** this._easeOutPower;
|
|
@@ -1812,12 +1812,12 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1812
1812
|
function te(e) {
|
|
1813
1813
|
return 1 - (1 - e) ** 1.5;
|
|
1814
1814
|
}
|
|
1815
|
-
var
|
|
1816
|
-
function
|
|
1817
|
-
var n = (Date.now() -
|
|
1818
|
-
n <= 1 ? (this._flyToFrame =
|
|
1815
|
+
var ne = Date.now(), v = (f(1) - g) / u, re = n.duration ? 1e3 * n.duration : 1e3 * v * .8;
|
|
1816
|
+
function y() {
|
|
1817
|
+
var n = (Date.now() - ne) / re, a = te(n) * v;
|
|
1818
|
+
n <= 1 ? (this._flyToFrame = x(y, this), this._move(this.unproject(r.add(i.subtract(r).multiplyBy(ee(a) / l)), o), this.getScaleZoom(s / _(a), o), { flyTo: !0 })) : this._move(e, t)._moveEnd(!0);
|
|
1819
1819
|
}
|
|
1820
|
-
return this._moveStart(!0, n.noMoveStart),
|
|
1820
|
+
return this._moveStart(!0, n.noMoveStart), y.call(this), this;
|
|
1821
1821
|
},
|
|
1822
1822
|
flyToBounds: function(e, t) {
|
|
1823
1823
|
var n = this._getBoundsCenterZoom(e, t);
|
|
@@ -1917,7 +1917,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1917
1917
|
} catch {
|
|
1918
1918
|
this._container._leaflet_id = void 0, this._containerId = void 0;
|
|
1919
1919
|
}
|
|
1920
|
-
for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), G(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest &&= (
|
|
1920
|
+
for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), G(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest &&= (S(this._resizeRequest), null), this._clearHandlers(), this._loaded && this.fire("unload"), this._layers) this._layers[e].remove();
|
|
1921
1921
|
for (e in this._panes) G(this._panes[e]);
|
|
1922
1922
|
return this._layers = [], this._panes = [], delete this._mapPane, delete this._renderer, this;
|
|
1923
1923
|
},
|
|
@@ -2057,7 +2057,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2057
2057
|
return e && this.fire("zoomend"), this.fire("moveend");
|
|
2058
2058
|
},
|
|
2059
2059
|
_stop: function() {
|
|
2060
|
-
return
|
|
2060
|
+
return S(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;
|
|
2061
2061
|
},
|
|
2062
2062
|
_rawPanBy: function(e) {
|
|
2063
2063
|
J(this._mapPane, this._getMapPanePos().subtract(e));
|
|
@@ -2077,7 +2077,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2077
2077
|
t(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && t(window, "resize", this._onResize, this), U.any3d && this.options.transform3DLimit && (e ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
|
|
2078
2078
|
},
|
|
2079
2079
|
_onResize: function() {
|
|
2080
|
-
|
|
2080
|
+
S(this._resizeRequest), this._resizeRequest = x(function() {
|
|
2081
2081
|
this.invalidateSize({ debounceMoveend: !0 });
|
|
2082
2082
|
}, this);
|
|
2083
2083
|
},
|
|
@@ -2236,7 +2236,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2236
2236
|
if (this._animatingZoom) return !0;
|
|
2237
2237
|
if (n ||= {}, !this._zoomAnimated || n.animate === !1 || this._nothingToAnimate() || Math.abs(t - this._zoom) > this.options.zoomAnimationThreshold) return !1;
|
|
2238
2238
|
var r = this.getZoomScale(t), i = this._getCenterOffset(e)._divideBy(1 - 1 / r);
|
|
2239
|
-
return n.animate !== !0 && !this.getSize().contains(i) ? !1 : (
|
|
2239
|
+
return n.animate !== !0 && !this.getSize().contains(i) ? !1 : (x(function() {
|
|
2240
2240
|
this._moveStart(!0, n.noMoveStart || !1)._animateZoom(e, t, !0);
|
|
2241
2241
|
}, this), !0);
|
|
2242
2242
|
},
|
|
@@ -2254,7 +2254,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2254
2254
|
function an(e, t) {
|
|
2255
2255
|
return new Q(e, t);
|
|
2256
2256
|
}
|
|
2257
|
-
var on =
|
|
2257
|
+
var on = ie.extend({
|
|
2258
2258
|
options: { position: "topright" },
|
|
2259
2259
|
initialize: function(e) {
|
|
2260
2260
|
p(this, e);
|
|
@@ -2554,7 +2554,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2554
2554
|
}), on.Layers = cn, on.Zoom = un, on.Scale = fn, on.Attribution = mn, sn.layers = ln, sn.zoom = dn, sn.scale = pn, sn.attribution = function(e) {
|
|
2555
2555
|
return new mn(e);
|
|
2556
2556
|
};
|
|
2557
|
-
var hn =
|
|
2557
|
+
var hn = ie.extend({
|
|
2558
2558
|
initialize: function(e) {
|
|
2559
2559
|
this._map = e;
|
|
2560
2560
|
},
|
|
@@ -2780,21 +2780,21 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2780
2780
|
__proto__: null,
|
|
2781
2781
|
LonLat: Rn,
|
|
2782
2782
|
Mercator: zn,
|
|
2783
|
-
SphericalMercator:
|
|
2783
|
+
SphericalMercator: ae
|
|
2784
2784
|
}, Vn = n({}, R, {
|
|
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 se(e, .5, -e, .5);
|
|
2790
2790
|
}()
|
|
2791
2791
|
}), Hn = n({}, R, {
|
|
2792
2792
|
code: "EPSG:4326",
|
|
2793
2793
|
projection: Rn,
|
|
2794
|
-
transformation:
|
|
2794
|
+
transformation: se(1 / 180, 1, -1 / 180, .5)
|
|
2795
2795
|
}), Un = n({}, I, {
|
|
2796
2796
|
projection: Rn,
|
|
2797
|
-
transformation:
|
|
2797
|
+
transformation: se(1, 0, -1, 0),
|
|
2798
2798
|
scale: function(e) {
|
|
2799
2799
|
return 2 ** e;
|
|
2800
2800
|
},
|
|
@@ -2961,7 +2961,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2961
2961
|
}
|
|
2962
2962
|
}), Jn = function(e, t) {
|
|
2963
2963
|
return new qn(e, t);
|
|
2964
|
-
}, Yn =
|
|
2964
|
+
}, Yn = ie.extend({
|
|
2965
2965
|
options: {
|
|
2966
2966
|
popupAnchor: [0, 0],
|
|
2967
2967
|
tooltipAnchor: [0, 0],
|
|
@@ -3056,21 +3056,21 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3056
3056
|
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ot(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c = j(o.min._subtract(s).add(i), o.max._subtract(s).subtract(i));
|
|
3057
3057
|
if (!c.contains(a)) {
|
|
3058
3058
|
var l = k((Math.max(c.max.x, a.x) - c.max.x) / (o.max.x - c.max.x) - (Math.min(c.min.x, a.x) - c.min.x) / (o.min.x - c.min.x), (Math.max(c.max.y, a.y) - c.max.y) / (o.max.y - c.max.y) - (Math.min(c.min.y, a.y) - c.min.y) / (o.min.y - c.min.y)).multiplyBy(r);
|
|
3059
|
-
n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), J(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest =
|
|
3059
|
+
n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), J(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest = x(this._adjustPan.bind(this, e));
|
|
3060
3060
|
}
|
|
3061
3061
|
},
|
|
3062
3062
|
_onDragStart: function() {
|
|
3063
3063
|
this._oldLatLng = this._marker.getLatLng(), this._marker.closePopup && this._marker.closePopup(), this._marker.fire("movestart").fire("dragstart");
|
|
3064
3064
|
},
|
|
3065
3065
|
_onPreDrag: function(e) {
|
|
3066
|
-
this._marker.options.autoPan && (
|
|
3066
|
+
this._marker.options.autoPan && (S(this._panRequest), this._panRequest = x(this._adjustPan.bind(this, e)));
|
|
3067
3067
|
},
|
|
3068
3068
|
_onDrag: function(e) {
|
|
3069
3069
|
var t = this._marker, n = t._shadow, r = Ot(t._icon), i = t._map.layerPointToLatLng(r);
|
|
3070
3070
|
n && J(n, r), t._latlng = i, e.latlng = i, e.oldLatLng = this._oldLatLng, t.fire("move", e).fire("drag", e);
|
|
3071
3071
|
},
|
|
3072
3072
|
_onDragEnd: function(e) {
|
|
3073
|
-
|
|
3073
|
+
S(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", e);
|
|
3074
3074
|
}
|
|
3075
3075
|
}), $n = Wn.extend({
|
|
3076
3076
|
options: {
|
|
@@ -4195,7 +4195,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4195
4195
|
wt(i.el, a), a < 1 ? t = !0 : (i.active ? n = !0 : this._onOpaqueTile(i), i.active = !0);
|
|
4196
4196
|
}
|
|
4197
4197
|
}
|
|
4198
|
-
n && !this._noPrune && this._pruneTiles(), t && (
|
|
4198
|
+
n && !this._noPrune && this._pruneTiles(), t && (S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this));
|
|
4199
4199
|
}
|
|
4200
4200
|
},
|
|
4201
4201
|
_onOpaqueTile: l,
|
|
@@ -4366,7 +4366,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4366
4366
|
},
|
|
4367
4367
|
_addTile: function(e, t) {
|
|
4368
4368
|
var n = this._getTilePos(e), r = this._tileCoordsToKey(e), a = this.createTile(this._wrapCoords(e), i(this._tileReady, this, e));
|
|
4369
|
-
this._initTile(a), this.createTile.length < 2 &&
|
|
4369
|
+
this._initTile(a), this.createTile.length < 2 && x(i(this._tileReady, this, e, null, a)), J(a, n), this._tiles[r] = {
|
|
4370
4370
|
el: a,
|
|
4371
4371
|
coords: e,
|
|
4372
4372
|
current: !0
|
|
@@ -4382,10 +4382,10 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4382
4382
|
coords: e
|
|
4383
4383
|
});
|
|
4384
4384
|
var r = this._tileCoordsToKey(e);
|
|
4385
|
-
n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (wt(n.el, 0),
|
|
4385
|
+
n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (wt(n.el, 0), S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this)) : (n.active = !0, this._pruneTiles()), t || (K(n.el, "leaflet-tile-loaded"), this.fire("tileload", {
|
|
4386
4386
|
tile: n.el,
|
|
4387
4387
|
coords: e
|
|
4388
|
-
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), U.ielt9 || !this._map._fadeAnimated ?
|
|
4388
|
+
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), U.ielt9 || !this._map._fadeAnimated ? x(this._pruneTiles, this) : setTimeout(i(this._pruneTiles, this), 250)));
|
|
4389
4389
|
},
|
|
4390
4390
|
_getTilePos: function(e) {
|
|
4391
4391
|
return e.scaleBy(this.getTileSize()).subtract(this._level.origin);
|
|
@@ -4592,7 +4592,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4592
4592
|
Y(e, "mousemove", this._onMouseMove, this), Y(e, "click dblclick mousedown mouseup contextmenu", this._onClick, this), Y(e, "mouseout", this._handleMouseOut, this), e._leaflet_disable_events = !0, this._ctx = e.getContext("2d");
|
|
4593
4593
|
},
|
|
4594
4594
|
_destroyContainer: function() {
|
|
4595
|
-
|
|
4595
|
+
S(this._redrawRequest), delete this._ctx, G(this._container), X(this._container), delete this._container;
|
|
4596
4596
|
},
|
|
4597
4597
|
_updatePaths: function() {
|
|
4598
4598
|
if (!this._postponeUpdatePaths) {
|
|
@@ -4644,7 +4644,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4644
4644
|
} else e.options._dashArray = e.options.dashArray;
|
|
4645
4645
|
},
|
|
4646
4646
|
_requestRedraw: function(e) {
|
|
4647
|
-
this._map && (this._extendRedrawBounds(e), this._redrawRequest = this._redrawRequest ||
|
|
4647
|
+
this._map && (this._extendRedrawBounds(e), this._redrawRequest = this._redrawRequest || x(this._redraw, this));
|
|
4648
4648
|
},
|
|
4649
4649
|
_extendRedrawBounds: function(e) {
|
|
4650
4650
|
if (e._pxBounds) {
|
|
@@ -5016,7 +5016,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5016
5016
|
else {
|
|
5017
5017
|
this._prunePositions(+/* @__PURE__ */ new Date());
|
|
5018
5018
|
var i = this._lastPos.subtract(this._positions[0]), a = (this._lastTime - this._times[0]) / 1e3, o = n.easeLinearity, s = i.multiplyBy(o / a), c = s.distanceTo([0, 0]), l = Math.min(n.inertiaMaxSpeed, c), u = s.multiplyBy(l / c), d = l / (n.inertiaDeceleration * o), f = u.multiplyBy(-d / 2).round();
|
|
5019
|
-
!f.x && !f.y ? t.fire("moveend") : (f = t._limitOffset(f, t.options.maxBounds),
|
|
5019
|
+
!f.x && !f.y ? t.fire("moveend") : (f = t._limitOffset(f, t.options.maxBounds), x(function() {
|
|
5020
5020
|
t.panBy(f, {
|
|
5021
5021
|
duration: d,
|
|
5022
5022
|
easeLinearity: o,
|
|
@@ -5221,12 +5221,12 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5221
5221
|
if (a === 1 && o.x === 0 && o.y === 0) return;
|
|
5222
5222
|
this._center = t.unproject(t.project(this._pinchStartLatLng, this._zoom).subtract(o), this._zoom);
|
|
5223
5223
|
}
|
|
5224
|
-
this._moved ||= (t._moveStart(!0, !1), !0),
|
|
5224
|
+
this._moved ||= (t._moveStart(!0, !1), !0), S(this._animRequest);
|
|
5225
5225
|
var s = i(t._move, t, this._center, this._zoom, {
|
|
5226
5226
|
pinch: !0,
|
|
5227
5227
|
round: !1
|
|
5228
5228
|
}, void 0);
|
|
5229
|
-
this._animRequest =
|
|
5229
|
+
this._animRequest = x(s, this, !0), Z(e);
|
|
5230
5230
|
}
|
|
5231
5231
|
},
|
|
5232
5232
|
_onTouchEnd: function() {
|
|
@@ -5234,10 +5234,10 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5234
5234
|
this._zooming = !1;
|
|
5235
5235
|
return;
|
|
5236
5236
|
}
|
|
5237
|
-
this._zooming = !1,
|
|
5237
|
+
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));
|
|
5238
5238
|
}
|
|
5239
5239
|
});
|
|
5240
|
-
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 = A, e.Browser = U, e.CRS = I, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class =
|
|
5240
|
+
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 = A, e.Browser = U, e.CRS = I, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = ie, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = E, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = hn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = P, e.LatLngBounds = M, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = gn, e.Path = tr, e.Point = D, e.PolyUtil = Sn, 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 = oe, e.Util = C, e.VideoOverlay = wr, e.bind = i, e.bounds = j, 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 = F, e.latLngBounds = N, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = k, 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 = se, e.version = t, e.videoOverlay = Tr;
|
|
5241
5241
|
var ai = window.L;
|
|
5242
5242
|
e.noConflict = function() {
|
|
5243
5243
|
return window.L = ai, this;
|
|
@@ -5984,7 +5984,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5984
5984
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5985
5985
|
});
|
|
5986
5986
|
})))();
|
|
5987
|
-
var nn = "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=", rn = /*#__PURE__*/ B(/* @__PURE__ */
|
|
5987
|
+
var nn = "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=", rn = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
5988
5988
|
__name: "Map",
|
|
5989
5989
|
props: {
|
|
5990
5990
|
modelValue: {},
|
|
@@ -5992,67 +5992,67 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
5992
5992
|
},
|
|
5993
5993
|
emits: ["update:modelValue", "callback"],
|
|
5994
5994
|
setup(e, { emit: t }) {
|
|
5995
|
-
let { t:
|
|
5995
|
+
let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(he()), s = tn.default.Util.extend(tn.default.CRS.Simple, { transformation: new tn.default.Transformation(1, 0, 1, 0) }), c = R(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = tn.default.icon({
|
|
5996
5996
|
iconUrl: nn,
|
|
5997
5997
|
iconSize: [32, 37],
|
|
5998
5998
|
iconAnchor: [16, 37]
|
|
5999
5999
|
});
|
|
6000
|
-
function
|
|
6001
|
-
let e = tn.default.map(
|
|
6000
|
+
function p() {
|
|
6001
|
+
let e = tn.default.map(c.value, {
|
|
6002
6002
|
attributionControl: !1,
|
|
6003
6003
|
zoomControl: !0,
|
|
6004
6004
|
smoothWheelZoom: !0,
|
|
6005
|
-
maxBounds: [[
|
|
6006
|
-
center: [-
|
|
6005
|
+
maxBounds: [[u.value, d.value], [0, 0]],
|
|
6006
|
+
center: [-u.value / 2, 0],
|
|
6007
6007
|
zoom: 0,
|
|
6008
6008
|
minZoom: -2,
|
|
6009
6009
|
maxZoom: 1,
|
|
6010
|
-
crs:
|
|
6011
|
-
}), t = [[0, 0], [
|
|
6012
|
-
tn.default.imageOverlay(
|
|
6013
|
-
let
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
icon:
|
|
6010
|
+
crs: s
|
|
6011
|
+
}), t = [[0, 0], [u.value, d.value]];
|
|
6012
|
+
tn.default.imageOverlay(l.value, t).addTo(e);
|
|
6013
|
+
let n = tn.default.markerClusterGroup({ showCoverageOnHover: !1 }), i = new tn.default.LatLngBounds(g.value.map(({ y: e, x: t }) => [e, t]));
|
|
6014
|
+
g.value.forEach(({ y: e, x: t, name: i, id: a }) => {
|
|
6015
|
+
n.addLayer(tn.default.marker([e, t], {
|
|
6016
|
+
icon: f,
|
|
6017
6017
|
title: i,
|
|
6018
6018
|
alt: i,
|
|
6019
6019
|
riseOnHover: !0,
|
|
6020
6020
|
autoPanOnFocus: !0
|
|
6021
|
-
}).bindPopup(`<h3 class="konnectio-leaflet-map-popup-title"><span>${i}</span></h3><button class="konnectio-leaflet-map-popup-button" data-id="${a}">${
|
|
6022
|
-
}), e.addLayer(
|
|
6021
|
+
}).bindPopup(`<h3 class="konnectio-leaflet-map-popup-title"><span>${i}</span></h3><button class="konnectio-leaflet-map-popup-button" data-id="${a}">${r("hotel.selectRoomOnMap")}</button>`));
|
|
6022
|
+
}), e.addLayer(n), e.invalidateSize(), e.fitBounds(i), e.on("popupopen", (e) => {
|
|
6023
6023
|
let t = e.popup._contentNode.querySelector(".konnectio-leaflet-map-popup-button");
|
|
6024
6024
|
t?.addEventListener("click", () => {
|
|
6025
6025
|
ee(parseInt(t.getAttribute("data-id") || ""));
|
|
6026
6026
|
});
|
|
6027
6027
|
});
|
|
6028
6028
|
}
|
|
6029
|
-
let { stop:
|
|
6030
|
-
e && (
|
|
6031
|
-
}),
|
|
6032
|
-
get: () =>
|
|
6029
|
+
let { stop: m } = P(c, ([{ isIntersecting: e }]) => {
|
|
6030
|
+
e && (m(), p());
|
|
6031
|
+
}), h = n({
|
|
6032
|
+
get: () => a.modelValue,
|
|
6033
6033
|
set: (e) => _(e)
|
|
6034
|
-
}),
|
|
6034
|
+
}), g = n(() => a.rooms.map((e) => ({
|
|
6035
6035
|
id: e.id,
|
|
6036
6036
|
name: e.name,
|
|
6037
6037
|
x: e.mapImageX,
|
|
6038
6038
|
y: e.mapImageY
|
|
6039
6039
|
})));
|
|
6040
6040
|
function _(e) {
|
|
6041
|
-
|
|
6041
|
+
i("update:modelValue", e);
|
|
6042
6042
|
}
|
|
6043
6043
|
function ee(e) {
|
|
6044
|
-
isNaN(e) ? console.log("Invalid room ID selected:", e) : (
|
|
6044
|
+
isNaN(e) ? console.log("Invalid room ID selected:", e) : (h.value = e, i("callback"));
|
|
6045
6045
|
}
|
|
6046
|
-
return (e, t) => t[0] || (
|
|
6046
|
+
return (e, t) => t[0] || (D(-1, !0), (t[0] = T("div", {
|
|
6047
6047
|
ref_key: "mapContainer",
|
|
6048
|
-
ref:
|
|
6048
|
+
ref: c,
|
|
6049
6049
|
class: "konnectio-leaflet-map"
|
|
6050
|
-
}, null, 512)).cacheIndex = 0,
|
|
6050
|
+
}, null, 512)).cacheIndex = 0, D(1), t[0]);
|
|
6051
6051
|
}
|
|
6052
6052
|
}), [["__scopeId", "data-v-c36a3ba7"]]), Q = { style: {
|
|
6053
6053
|
height: "100%",
|
|
6054
6054
|
width: "100%"
|
|
6055
|
-
} }, an = /* @__PURE__ */
|
|
6055
|
+
} }, an = /* @__PURE__ */ z({
|
|
6056
6056
|
__name: "MapSelector",
|
|
6057
6057
|
props: {
|
|
6058
6058
|
roomList: {},
|
|
@@ -6061,20 +6061,20 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6061
6061
|
},
|
|
6062
6062
|
emits: ["update:config"],
|
|
6063
6063
|
setup(e, { emit: t }) {
|
|
6064
|
-
let { t:
|
|
6065
|
-
function
|
|
6066
|
-
|
|
6067
|
-
...
|
|
6064
|
+
let { t: i } = v(), a = R(NaN), o = n(() => !isNaN(a.value)), s = e, c = t;
|
|
6065
|
+
function d() {
|
|
6066
|
+
o.value && (c("update:config", {
|
|
6067
|
+
...s.config,
|
|
6068
6068
|
units: 1,
|
|
6069
|
-
roomId:
|
|
6070
|
-
}),
|
|
6069
|
+
roomId: a.value
|
|
6070
|
+
}), s.callback());
|
|
6071
6071
|
}
|
|
6072
|
-
return (t,
|
|
6073
|
-
default:
|
|
6074
|
-
modelValue:
|
|
6075
|
-
"onUpdate:modelValue":
|
|
6072
|
+
return (t, n) => (b(), u(ze, { title: r(i)("hotel.selectRoomOnMapTitle") }, {
|
|
6073
|
+
default: S(() => [T("div", Q, [l(rn, {
|
|
6074
|
+
modelValue: a.value,
|
|
6075
|
+
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
6076
6076
|
rooms: e.roomList,
|
|
6077
|
-
onCallback:
|
|
6077
|
+
onCallback: d
|
|
6078
6078
|
}, null, 8, ["modelValue", "rooms"])])]),
|
|
6079
6079
|
_: 1
|
|
6080
6080
|
}, 8, ["title"]));
|
|
@@ -6091,7 +6091,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6091
6091
|
}, dn = {
|
|
6092
6092
|
key: 1,
|
|
6093
6093
|
class: "konnectio-listing-units-body"
|
|
6094
|
-
}, fn = /*#__PURE__*/ B(/* @__PURE__ */
|
|
6094
|
+
}, fn = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
6095
6095
|
__name: "Hotel",
|
|
6096
6096
|
props: {
|
|
6097
6097
|
room: {},
|
|
@@ -6099,85 +6099,85 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6099
6099
|
callback: { type: Function }
|
|
6100
6100
|
},
|
|
6101
6101
|
setup(e) {
|
|
6102
|
-
let t =
|
|
6103
|
-
function
|
|
6102
|
+
let t = R(!1);
|
|
6103
|
+
function i() {
|
|
6104
6104
|
t.value = !0;
|
|
6105
6105
|
}
|
|
6106
|
-
function
|
|
6107
|
-
|
|
6106
|
+
function o(e) {
|
|
6107
|
+
c.callback(e), t.value = !1;
|
|
6108
6108
|
}
|
|
6109
|
-
let { t:
|
|
6109
|
+
let { t: s } = v(), c = e, f = R([]);
|
|
6110
6110
|
function p() {
|
|
6111
|
-
let e =
|
|
6111
|
+
let e = f.value.length;
|
|
6112
6112
|
le(e);
|
|
6113
6113
|
}
|
|
6114
|
-
function
|
|
6115
|
-
|
|
6114
|
+
function _(e) {
|
|
6115
|
+
f.value.splice(e, 1);
|
|
6116
6116
|
}
|
|
6117
|
-
let ee =
|
|
6117
|
+
let ee = n(() => c.room.rates.map((e) => ({
|
|
6118
6118
|
label: e.name,
|
|
6119
6119
|
value: e.id
|
|
6120
|
-
}))), { hideAvailableRoomAmount: te, autoSelectRateId:
|
|
6120
|
+
}))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re, hasSharedAddonSelection: y } = C(ce()), { location: x } = C(oe()), { roomSelect: ie, isSearchOutdated: D } = C(he()), { addToCart: k, removeFromCart: A } = se(), j = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), M = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), N = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), P = (e, t) => j(e, t) ? j(e, t)?.rooms : null, F = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6121
6121
|
value: e.index,
|
|
6122
6122
|
price: e.totalPrice,
|
|
6123
6123
|
adults: e.adultsCount,
|
|
6124
6124
|
children: e.childrenCount,
|
|
6125
6125
|
hasBreakfast: e.hasBreakfast
|
|
6126
|
-
})) || [], z =
|
|
6127
|
-
function
|
|
6128
|
-
|
|
6126
|
+
})) || [], z = n(() => c.room.rates.length > 1);
|
|
6127
|
+
function ae(e, t) {
|
|
6128
|
+
f.value[e].config[0].id = c.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
|
|
6129
6129
|
}
|
|
6130
6130
|
function le(e = 0) {
|
|
6131
|
-
z.value ?
|
|
6132
|
-
id:
|
|
6131
|
+
z.value ? ne.value ? f.value[e] = {
|
|
6132
|
+
id: c.room.bestRateMatch || void 0,
|
|
6133
6133
|
config: [{
|
|
6134
|
-
id:
|
|
6134
|
+
id: c.room.bestRateMatch && !isNaN(c.room.bestRateMatch) ? c.room.rates.find((e) => e.id === c.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
6135
6135
|
units: 0,
|
|
6136
6136
|
addons: []
|
|
6137
6137
|
}]
|
|
6138
|
-
} :
|
|
6138
|
+
} : f.value[e] = {
|
|
6139
6139
|
id: void 0,
|
|
6140
6140
|
config: [{
|
|
6141
|
-
id:
|
|
6141
|
+
id: c.room.rates[0].occupantRateIndex || NaN,
|
|
6142
6142
|
units: 0,
|
|
6143
6143
|
addons: []
|
|
6144
6144
|
}]
|
|
6145
|
-
} :
|
|
6146
|
-
id:
|
|
6145
|
+
} : f.value[e] = {
|
|
6146
|
+
id: c.room.rates[0].id,
|
|
6147
6147
|
config: [{
|
|
6148
|
-
id:
|
|
6148
|
+
id: c.room.rates[0].occupantRateIndex || NaN,
|
|
6149
6149
|
units: 0,
|
|
6150
6150
|
addons: []
|
|
6151
6151
|
}]
|
|
6152
6152
|
};
|
|
6153
6153
|
}
|
|
6154
|
-
|
|
6154
|
+
g(() => {
|
|
6155
6155
|
le();
|
|
6156
6156
|
});
|
|
6157
|
-
let ue =
|
|
6158
|
-
return
|
|
6157
|
+
let ue = n(() => JSON.parse(JSON.stringify(f.value)));
|
|
6158
|
+
return O(ue, (e, t) => {
|
|
6159
6159
|
t.length > 0 && e.forEach((n, r) => {
|
|
6160
6160
|
t[r] && n.config.forEach((n, i) => {
|
|
6161
6161
|
let a = n.units, o = t[r].config[i].units;
|
|
6162
6162
|
if (a !== o) {
|
|
6163
6163
|
if (a > o) {
|
|
6164
|
-
let t =
|
|
6165
|
-
t.push(
|
|
6166
|
-
id:
|
|
6167
|
-
name:
|
|
6168
|
-
value:
|
|
6164
|
+
let t = f.value[r].config[i].addons;
|
|
6165
|
+
t.push(y.value(x.value) ? t[0] ?? ve(c.room.rates.find((t) => t.id === e[r].id)?.addons) : ve(c.room.rates.find((t) => t.id === e[r].id)?.addons)), k({
|
|
6166
|
+
id: c.room.id,
|
|
6167
|
+
name: c.room.title,
|
|
6168
|
+
value: c.room.rates[r].rackRate
|
|
6169
6169
|
});
|
|
6170
|
-
} else
|
|
6171
|
-
id:
|
|
6172
|
-
name:
|
|
6173
|
-
value:
|
|
6170
|
+
} else f.value[r].config[i].addons.pop(), A({
|
|
6171
|
+
id: c.room.id,
|
|
6172
|
+
name: c.room.title,
|
|
6173
|
+
value: c.room.rates[r].rackRate
|
|
6174
6174
|
});
|
|
6175
6175
|
}
|
|
6176
6176
|
});
|
|
6177
6177
|
});
|
|
6178
|
-
}, { deep: !0 }),
|
|
6179
|
-
|
|
6180
|
-
}, { deep: !0 }), (
|
|
6178
|
+
}, { deep: !0 }), O(f, () => {
|
|
6179
|
+
ie.value[c.room.id] = f.value;
|
|
6180
|
+
}, { deep: !0 }), (n, c) => (b(), u(Ye, {
|
|
6181
6181
|
type: "hotel",
|
|
6182
6182
|
"listing-id": e.room.id,
|
|
6183
6183
|
gallery: e.room.images,
|
|
@@ -6186,19 +6186,19 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6186
6186
|
layout: e.layout,
|
|
6187
6187
|
facilities: e.room.facilities,
|
|
6188
6188
|
"prices-from": e.room.pricesFrom,
|
|
6189
|
-
"includes-breakfast":
|
|
6189
|
+
"includes-breakfast": N.value
|
|
6190
6190
|
}, {
|
|
6191
|
-
action:
|
|
6192
|
-
key:
|
|
6191
|
+
action: S(() => [T("div", { class: E(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": f.value.length > 1 }]) }, [(b(!0), m(a, null, w(f.value, (n, u) => (b(), m("div", {
|
|
6192
|
+
key: n.id,
|
|
6193
6193
|
class: "konnectio-hotel-room"
|
|
6194
|
-
}, [z.value ? (
|
|
6195
|
-
modelValue:
|
|
6196
|
-
"onUpdate:modelValue": (e) =>
|
|
6197
|
-
label:
|
|
6198
|
-
placeholder:
|
|
6194
|
+
}, [z.value ? (b(), m("div", on, [l(je, {
|
|
6195
|
+
modelValue: n.id,
|
|
6196
|
+
"onUpdate:modelValue": (e) => n.id = e,
|
|
6197
|
+
label: r(s)("hotel.roomVariant"),
|
|
6198
|
+
placeholder: r(s)("hotel.chooseARoomVariant"),
|
|
6199
6199
|
options: ee.value,
|
|
6200
6200
|
searchable: !1,
|
|
6201
|
-
onChanged: (e) =>
|
|
6201
|
+
onChanged: (e) => ae(u, e)
|
|
6202
6202
|
}, null, 8, [
|
|
6203
6203
|
"modelValue",
|
|
6204
6204
|
"onUpdate:modelValue",
|
|
@@ -6206,27 +6206,27 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6206
6206
|
"placeholder",
|
|
6207
6207
|
"options",
|
|
6208
6208
|
"onChanged"
|
|
6209
|
-
]),
|
|
6209
|
+
]), f.value.length > 1 ? (b(), m("div", sn, [l(Me, {
|
|
6210
6210
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6211
6211
|
icon: "trash-alt",
|
|
6212
6212
|
"icon-type": "fas",
|
|
6213
|
-
onClickEvent: (e) =>
|
|
6213
|
+
onClickEvent: (e) => _(u),
|
|
6214
6214
|
secondary: ""
|
|
6215
|
-
}, null, 8, ["onClickEvent"])])) :
|
|
6216
|
-
key:
|
|
6215
|
+
}, null, 8, ["onClickEvent"])])) : d("", !0)])) : d("", !0), n.id ? (b(), m("div", cn, [(b(!0), m(a, null, w(e.room.rates, ({ id: u, maximumOccupants: f }) => (b(), m("div", {
|
|
6216
|
+
key: u,
|
|
6217
6217
|
class: "konnectio-listing-action-selective-i"
|
|
6218
|
-
}, [
|
|
6218
|
+
}, [n.id === u ? (b(!0), m(a, { key: 0 }, w(n.config, (a, d) => (b(), m("div", {
|
|
6219
6219
|
key: d,
|
|
6220
6220
|
class: "konnectio-listing-action-selective"
|
|
6221
|
-
}, [
|
|
6221
|
+
}, [T("ul", ln, [l(en, {
|
|
6222
6222
|
modelValue: a.id,
|
|
6223
6223
|
"onUpdate:modelValue": (e) => a.id = e,
|
|
6224
6224
|
icon: "male",
|
|
6225
6225
|
"icon-type": "fas",
|
|
6226
|
-
label:
|
|
6227
|
-
description:
|
|
6228
|
-
options:
|
|
6229
|
-
readonly: !(
|
|
6226
|
+
label: r(s)("general.guests"),
|
|
6227
|
+
description: f === 0 ? void 0 : `${r(s)("general.maximumGuests")}: ${f}`,
|
|
6228
|
+
options: F(u),
|
|
6229
|
+
readonly: !(F(u).length > 1)
|
|
6230
6230
|
}, null, 8, [
|
|
6231
6231
|
"modelValue",
|
|
6232
6232
|
"onUpdate:modelValue",
|
|
@@ -6234,45 +6234,45 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6234
6234
|
"description",
|
|
6235
6235
|
"options",
|
|
6236
6236
|
"readonly"
|
|
6237
|
-
])]),
|
|
6238
|
-
onClickEvent:
|
|
6239
|
-
label:
|
|
6237
|
+
])]), M.value ? (b(), m("div", dn, [l(Me, {
|
|
6238
|
+
onClickEvent: i,
|
|
6239
|
+
label: r(s)("hotel.selectRoomOnMap"),
|
|
6240
6240
|
secondary: "",
|
|
6241
6241
|
"full-width": "",
|
|
6242
|
-
disabled:
|
|
6243
|
-
}, null, 8, ["label", "disabled"]),
|
|
6242
|
+
disabled: r(D)
|
|
6243
|
+
}, null, 8, ["label", "disabled"]), l(an, {
|
|
6244
6244
|
modelValue: t.value,
|
|
6245
|
-
"onUpdate:modelValue":
|
|
6245
|
+
"onUpdate:modelValue": c[0] ||= (e) => t.value = e,
|
|
6246
6246
|
"room-list": e.room.roomList,
|
|
6247
6247
|
config: a,
|
|
6248
6248
|
"onUpdate:config": (e) => Object.assign(a, e),
|
|
6249
|
-
callback:
|
|
6249
|
+
callback: o
|
|
6250
6250
|
}, null, 8, [
|
|
6251
6251
|
"modelValue",
|
|
6252
6252
|
"room-list",
|
|
6253
6253
|
"config",
|
|
6254
6254
|
"onUpdate:config"
|
|
6255
|
-
])])) : (
|
|
6255
|
+
])])) : (b(), m("ul", un, [l(ke, {
|
|
6256
6256
|
modelValue: a.units,
|
|
6257
6257
|
"onUpdate:modelValue": (e) => a.units = e,
|
|
6258
|
-
description:
|
|
6258
|
+
description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${P(n.id, a.id)}`,
|
|
6259
6259
|
icon: "house",
|
|
6260
6260
|
"icon-type": "fas",
|
|
6261
6261
|
"icon-placement": "label",
|
|
6262
|
-
label:
|
|
6262
|
+
label: r(s)("booking.availability.units"),
|
|
6263
6263
|
minValue: 0,
|
|
6264
|
-
"max-value":
|
|
6264
|
+
"max-value": P(u, a.id) || Infinity
|
|
6265
6265
|
}, null, 8, [
|
|
6266
6266
|
"modelValue",
|
|
6267
6267
|
"onUpdate:modelValue",
|
|
6268
6268
|
"description",
|
|
6269
6269
|
"label",
|
|
6270
6270
|
"max-value"
|
|
6271
|
-
])]))]))), 128)) :
|
|
6271
|
+
])]))]))), 128)) : d("", !0)]))), 128))])) : d("", !0)]))), 128)), r(re) && z.value ? (b(), m("button", {
|
|
6272
6272
|
key: 0,
|
|
6273
6273
|
class: "konnectio-hotel-add-extra-room link",
|
|
6274
|
-
onClick:
|
|
6275
|
-
}, [
|
|
6274
|
+
onClick: I(p, ["prevent"])
|
|
6275
|
+
}, [T("span", null, h(r(s)("hotel.addExtraVariant")), 1)])) : d("", !0)], 2)]),
|
|
6276
6276
|
_: 1
|
|
6277
6277
|
}, 8, [
|
|
6278
6278
|
"listing-id",
|
|
@@ -6288,7 +6288,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6288
6288
|
}), [["__scopeId", "data-v-c7b61560"]]), pn = { class: "konnectio-template-side-panel" }, mn = { class: "konnectio-template-side-panel-listings" }, hn = { class: "konnectio-template-room-config" }, gn = { class: "konnectio-template-room-units" }, _n = { class: "konnectio-template-room-unit-header" }, vn = { class: "konnectio-template-footer" }, yn = {
|
|
6289
6289
|
key: 0,
|
|
6290
6290
|
class: "konnectio-template-selection-preview"
|
|
6291
|
-
}, bn = { class: "konnectio-template-selection-item-header" }, xn = { class: "konnectio-template-selection-item-name" }, Sn = { class: "konnectio-template-selection-item-price" }, $ = { class: "konnectio-template-selection-item-units" }, Cn = /*#__PURE__*/ B(/* @__PURE__ */
|
|
6291
|
+
}, bn = { class: "konnectio-template-selection-item-header" }, xn = { class: "konnectio-template-selection-item-name" }, Sn = { class: "konnectio-template-selection-item-price" }, $ = { class: "konnectio-template-selection-item-units" }, Cn = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
6292
6292
|
__name: "Template",
|
|
6293
6293
|
props: {
|
|
6294
6294
|
title: {},
|
|
@@ -6299,85 +6299,85 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6299
6299
|
callback: { type: Function }
|
|
6300
6300
|
},
|
|
6301
6301
|
setup(e) {
|
|
6302
|
-
let { t } = v(),
|
|
6302
|
+
let { t } = v(), i = ce(), o = he(), { location: c, adults: f, children: p } = C(oe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: ne, currentAdults: re, currentChildren: y } = C(o), { currency: x } = C(i), { clearRoomSelection: ie } = o, { addToCart: D } = se(), { hasChildSelection: k, hasSharedAddonSelection: A } = i, j = e, N = R(!1), P = f.value || 1, F = p.value || 0, I = te({}), z = n(() => {
|
|
6303
6303
|
function e(e, t) {
|
|
6304
|
-
return
|
|
6304
|
+
return N.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6305
6305
|
}
|
|
6306
|
-
let t =
|
|
6306
|
+
let t = j.roomGroups?.slice().sort(e) || [];
|
|
6307
6307
|
return t.forEach((e) => {
|
|
6308
|
-
|
|
6308
|
+
I[e.id] || (I[e.id] = {
|
|
6309
6309
|
units: 0,
|
|
6310
6310
|
configs: [{
|
|
6311
|
-
adults:
|
|
6311
|
+
adults: P,
|
|
6312
6312
|
children: F
|
|
6313
6313
|
}]
|
|
6314
6314
|
});
|
|
6315
6315
|
}), t;
|
|
6316
6316
|
});
|
|
6317
|
-
function
|
|
6317
|
+
function ae(e) {
|
|
6318
6318
|
return z.value.find((t) => t.id === e);
|
|
6319
6319
|
}
|
|
6320
6320
|
function le(e) {
|
|
6321
|
-
let t =
|
|
6322
|
-
if (!t) return
|
|
6321
|
+
let t = ae(e);
|
|
6322
|
+
if (!t) return P;
|
|
6323
6323
|
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6324
|
-
return Math.max(n,
|
|
6324
|
+
return Math.max(n, P);
|
|
6325
6325
|
}
|
|
6326
|
-
function
|
|
6327
|
-
let t =
|
|
6326
|
+
function ue(e) {
|
|
6327
|
+
let t = ae(e);
|
|
6328
6328
|
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(F, 1) : 0;
|
|
6329
6329
|
}
|
|
6330
|
-
function
|
|
6331
|
-
let t =
|
|
6330
|
+
function de(e) {
|
|
6331
|
+
let t = ae(e);
|
|
6332
6332
|
return t && t.availableRoomCount || 1;
|
|
6333
6333
|
}
|
|
6334
|
-
function
|
|
6335
|
-
let t =
|
|
6336
|
-
return t ? t.extraPrice +
|
|
6334
|
+
function pe(e) {
|
|
6335
|
+
let t = ae(e);
|
|
6336
|
+
return t ? t.extraPrice + j.weekendFee : 0;
|
|
6337
6337
|
}
|
|
6338
|
-
|
|
6339
|
-
Object.keys(
|
|
6340
|
-
let t =
|
|
6338
|
+
O(() => ({ ...I }), () => {
|
|
6339
|
+
Object.keys(I).forEach((e) => {
|
|
6340
|
+
let t = I[Number(e)], n = t.units, r = t.configs.length;
|
|
6341
6341
|
if (n > r) for (let e = r; e < n; e++) t.configs.push({
|
|
6342
|
-
adults:
|
|
6342
|
+
adults: P,
|
|
6343
6343
|
children: F
|
|
6344
6344
|
});
|
|
6345
6345
|
else n < r && t.configs.splice(n);
|
|
6346
6346
|
});
|
|
6347
6347
|
}, { deep: !0 });
|
|
6348
|
-
let
|
|
6349
|
-
JSON.stringify(
|
|
6348
|
+
let me = n(() => {
|
|
6349
|
+
JSON.stringify(I);
|
|
6350
6350
|
let e = {};
|
|
6351
6351
|
return z.value.forEach((t) => {
|
|
6352
|
-
let n =
|
|
6352
|
+
let n = I[t.id];
|
|
6353
6353
|
if (!n) {
|
|
6354
6354
|
e[t.id] = [];
|
|
6355
6355
|
return;
|
|
6356
6356
|
}
|
|
6357
|
-
e[t.id] = n.configs.map((e) =>
|
|
6357
|
+
e[t.id] = n.configs.map((e) => fe(t, e.adults, e.children, P, F));
|
|
6358
6358
|
}), e;
|
|
6359
6359
|
});
|
|
6360
|
-
function
|
|
6361
|
-
return
|
|
6360
|
+
function ge(e, t) {
|
|
6361
|
+
return me.value[e]?.[t] ?? 0;
|
|
6362
6362
|
}
|
|
6363
|
-
function
|
|
6363
|
+
function B() {
|
|
6364
6364
|
let e = 0;
|
|
6365
6365
|
return z.value.forEach((t) => {
|
|
6366
|
-
let n =
|
|
6366
|
+
let n = I[t.id];
|
|
6367
6367
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6368
|
-
let n =
|
|
6369
|
-
e += n +
|
|
6368
|
+
let n = ge(t.id, r);
|
|
6369
|
+
e += n + j.weekendFee;
|
|
6370
6370
|
}
|
|
6371
6371
|
}), e;
|
|
6372
6372
|
}
|
|
6373
|
-
function
|
|
6374
|
-
return Object.values(
|
|
6373
|
+
function _e() {
|
|
6374
|
+
return Object.values(I).reduce((e, t) => e + t.units, 0);
|
|
6375
6375
|
}
|
|
6376
|
-
let ye =
|
|
6377
|
-
let t =
|
|
6376
|
+
let ye = n(() => z.value.filter((e) => I[e.id]?.units > 0).map((e) => {
|
|
6377
|
+
let t = I[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6378
6378
|
adults: t.adults,
|
|
6379
6379
|
children: t.children,
|
|
6380
|
-
price:
|
|
6380
|
+
price: ge(e.id, n) + j.weekendFee
|
|
6381
6381
|
}));
|
|
6382
6382
|
return {
|
|
6383
6383
|
id: e.id,
|
|
@@ -6386,27 +6386,27 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6386
6386
|
units: n
|
|
6387
6387
|
};
|
|
6388
6388
|
}));
|
|
6389
|
-
|
|
6390
|
-
|
|
6389
|
+
O(ye, () => {
|
|
6390
|
+
M(() => window.dispatchEvent(new Event("resize")));
|
|
6391
6391
|
});
|
|
6392
6392
|
function be() {
|
|
6393
|
-
if (!Object.values(
|
|
6393
|
+
if (!Object.values(I).some((e) => e.units > 0)) return;
|
|
6394
6394
|
ie();
|
|
6395
6395
|
let e = [], t = 0, n = 0;
|
|
6396
6396
|
if (z.value.forEach((r) => {
|
|
6397
|
-
let i =
|
|
6397
|
+
let i = I[r.id];
|
|
6398
6398
|
if (!i || i.units === 0) return;
|
|
6399
|
-
let a = i.configs.slice(0, i.units), o =
|
|
6399
|
+
let a = i.configs.slice(0, i.units), o = A(c.value) ? {} : null;
|
|
6400
6400
|
e.push({
|
|
6401
6401
|
roomGroupId: r.id,
|
|
6402
6402
|
unitConfigs: a.map((e) => ({
|
|
6403
6403
|
adults: e.adults,
|
|
6404
6404
|
children: e.children,
|
|
6405
|
-
addons: o ??
|
|
6405
|
+
addons: o ?? ve(r.addons)
|
|
6406
6406
|
}))
|
|
6407
|
-
}),
|
|
6407
|
+
}), _.value ||= r.id;
|
|
6408
6408
|
for (let e = 0; e < i.units; e++) {
|
|
6409
|
-
let t =
|
|
6409
|
+
let t = ge(r.id, e);
|
|
6410
6410
|
D({
|
|
6411
6411
|
id: r.id,
|
|
6412
6412
|
name: r.title,
|
|
@@ -6416,67 +6416,67 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6416
6416
|
a.forEach((e) => {
|
|
6417
6417
|
t += e.adults, n += e.children;
|
|
6418
6418
|
});
|
|
6419
|
-
}),
|
|
6420
|
-
|
|
6419
|
+
}), ee.value = e, g.value = j.templateId, re.value = t, y.value = n, j.hideAddons === !1 && ne.value === !1) {
|
|
6420
|
+
j.callback(1);
|
|
6421
6421
|
return;
|
|
6422
6422
|
}
|
|
6423
|
-
|
|
6423
|
+
j.callback(2);
|
|
6424
6424
|
}
|
|
6425
|
-
return (n, i) => (
|
|
6425
|
+
return (n, i) => (b(), u(ze, {
|
|
6426
6426
|
title: e.title,
|
|
6427
|
-
subtitle:
|
|
6427
|
+
subtitle: r(t)("booking.availability.selectATemplateRoom")
|
|
6428
6428
|
}, {
|
|
6429
|
-
footer:
|
|
6429
|
+
footer: S(() => [T("div", vn, [ye.value.length > 0 ? (b(), m("div", yn, [(b(!0), m(a, null, w(ye.value, (e) => (b(), m("div", {
|
|
6430
6430
|
key: e.id,
|
|
6431
6431
|
class: "konnectio-template-selection-item"
|
|
6432
|
-
}, [
|
|
6432
|
+
}, [T("div", bn, [T("span", xn, h(e.title), 1), T("span", Sn, h(r(Te)(e.totalPrice, r(x))), 1)]), T("div", $, [(b(!0), m(a, null, w(e.units, (e, n) => (b(), m("span", {
|
|
6433
6433
|
key: n,
|
|
6434
6434
|
class: "konnectio-template-selection-unit"
|
|
6435
6435
|
}, [
|
|
6436
|
-
|
|
6437
|
-
e.children > 0 ? (
|
|
6438
|
-
|
|
6439
|
-
]))), 128))])]))), 128))])) :
|
|
6436
|
+
s(h(r(t)("booking.reservation.room")) + " " + h(n + 1) + ": " + h(e.adults) + " " + h(r(t)("availability.adults")) + " ", 1),
|
|
6437
|
+
e.children > 0 ? (b(), m(a, { key: 0 }, [s(" , " + h(e.children) + " " + h(r(t)("availability.children")), 1)], 64)) : d("", !0),
|
|
6438
|
+
s(" · " + h(r(Te)(e.price, r(x))), 1)
|
|
6439
|
+
]))), 128))])]))), 128))])) : d("", !0), l(Me, {
|
|
6440
6440
|
onClickEvent: be,
|
|
6441
|
-
label: `${
|
|
6442
|
-
disabled:
|
|
6441
|
+
label: `${_e() > 1 ? r(t)("booking.availability.selectTheseRooms") : r(t)("booking.availability.selectThisRoom")} (${r(Te)(B(), r(x))})`,
|
|
6442
|
+
disabled: _e() === 0,
|
|
6443
6443
|
"full-width": ""
|
|
6444
6444
|
}, null, 8, ["label", "disabled"])])]),
|
|
6445
|
-
default:
|
|
6445
|
+
default: S(() => [T("div", pn, [T("div", mn, [(b(!0), m(a, null, w(z.value, (e) => (b(), u(Ye, {
|
|
6446
6446
|
key: e.id,
|
|
6447
6447
|
type: "hotel",
|
|
6448
6448
|
"listing-id": e.id,
|
|
6449
6449
|
name: e.title,
|
|
6450
6450
|
description: e.description,
|
|
6451
6451
|
facilities: e.facilities,
|
|
6452
|
-
"prices-from":
|
|
6452
|
+
"prices-from": pe(e.id),
|
|
6453
6453
|
gallery: e.images,
|
|
6454
6454
|
"includes-breakfast": !1,
|
|
6455
6455
|
"hide-info-button": !0
|
|
6456
6456
|
}, {
|
|
6457
|
-
action:
|
|
6458
|
-
modelValue:
|
|
6459
|
-
"onUpdate:modelValue": (t) =>
|
|
6460
|
-
label:
|
|
6457
|
+
action: S(() => [T("div", hn, [T("div", gn, [l(ke, {
|
|
6458
|
+
modelValue: I[e.id].units,
|
|
6459
|
+
"onUpdate:modelValue": (t) => I[e.id].units = t,
|
|
6460
|
+
label: r(t)("booking.availability.units"),
|
|
6461
6461
|
icon: "house",
|
|
6462
6462
|
"icon-type": "fas",
|
|
6463
6463
|
"icon-placement": "label",
|
|
6464
6464
|
"min-value": 0,
|
|
6465
|
-
"max-value":
|
|
6465
|
+
"max-value": de(e.id),
|
|
6466
6466
|
controls: !0
|
|
6467
6467
|
}, null, 8, [
|
|
6468
6468
|
"modelValue",
|
|
6469
6469
|
"onUpdate:modelValue",
|
|
6470
6470
|
"label",
|
|
6471
6471
|
"max-value"
|
|
6472
|
-
])]), (
|
|
6473
|
-
key:
|
|
6472
|
+
])]), (b(!0), m(a, null, w(I[e.id].configs, (n, i) => (b(), m("div", {
|
|
6473
|
+
key: i,
|
|
6474
6474
|
class: "konnectio-template-room-unit-config"
|
|
6475
|
-
}, [
|
|
6475
|
+
}, [T("div", _n, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(Te)(ge(e.id, i), r(x))), 1)]), T("div", { class: E(["konnectio-template-room-guests", { "only-adult-guests": !r(k)(r(c)) }]) }, [l(ke, {
|
|
6476
6476
|
modelValue: n.adults,
|
|
6477
6477
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6478
|
-
label:
|
|
6479
|
-
description:
|
|
6478
|
+
label: r(t)("availability.adults"),
|
|
6479
|
+
description: r(t)("general.adultAgeRange"),
|
|
6480
6480
|
icon: "male",
|
|
6481
6481
|
"icon-type": "fas",
|
|
6482
6482
|
"icon-placement": "label",
|
|
@@ -6489,17 +6489,17 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6489
6489
|
"label",
|
|
6490
6490
|
"description",
|
|
6491
6491
|
"max-value"
|
|
6492
|
-
]),
|
|
6492
|
+
]), r(k)(r(c)) ? (b(), u(ke, {
|
|
6493
6493
|
key: 0,
|
|
6494
6494
|
modelValue: n.children,
|
|
6495
6495
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
6496
|
-
label:
|
|
6497
|
-
description:
|
|
6496
|
+
label: r(t)("availability.children"),
|
|
6497
|
+
description: r(t)("general.childAgeRange"),
|
|
6498
6498
|
icon: "child",
|
|
6499
6499
|
"icon-type": "fas",
|
|
6500
6500
|
"icon-placement": "label",
|
|
6501
6501
|
"min-value": 0,
|
|
6502
|
-
"max-value":
|
|
6502
|
+
"max-value": ue(e.id),
|
|
6503
6503
|
controls: !0
|
|
6504
6504
|
}, null, 8, [
|
|
6505
6505
|
"modelValue",
|
|
@@ -6507,7 +6507,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6507
6507
|
"label",
|
|
6508
6508
|
"description",
|
|
6509
6509
|
"max-value"
|
|
6510
|
-
])) :
|
|
6510
|
+
])) : d("", !0)], 2)]))), 128))])]),
|
|
6511
6511
|
_: 2
|
|
6512
6512
|
}, 1032, [
|
|
6513
6513
|
"listing-id",
|
|
@@ -6520,7 +6520,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6520
6520
|
_: 1
|
|
6521
6521
|
}, 8, ["title", "subtitle"]));
|
|
6522
6522
|
}
|
|
6523
|
-
}), [["__scopeId", "data-v-9cb8e8f4"]]), wn = { class: "konnectio-template-select-package" }, Tn = /* @__PURE__ */
|
|
6523
|
+
}), [["__scopeId", "data-v-9cb8e8f4"]]), wn = { class: "konnectio-template-select-package" }, Tn = /* @__PURE__ */ z({
|
|
6524
6524
|
__name: "Template",
|
|
6525
6525
|
props: {
|
|
6526
6526
|
id: {},
|
|
@@ -6533,39 +6533,39 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6533
6533
|
callback: { type: Function }
|
|
6534
6534
|
},
|
|
6535
6535
|
setup(e) {
|
|
6536
|
-
let { t } = v(),
|
|
6537
|
-
function
|
|
6538
|
-
|
|
6536
|
+
let { t } = v(), i = e, { isSearchOutdated: a } = C(he()), o = n(() => i.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + i.weekendFee), s = R(!1);
|
|
6537
|
+
function c() {
|
|
6538
|
+
s.value = !0;
|
|
6539
6539
|
}
|
|
6540
|
-
function
|
|
6541
|
-
|
|
6540
|
+
function d(e) {
|
|
6541
|
+
i.callback(e), s.value = !1;
|
|
6542
6542
|
}
|
|
6543
|
-
return (n,
|
|
6543
|
+
return (n, i) => (b(), u(Ye, {
|
|
6544
6544
|
type: "template",
|
|
6545
6545
|
"listing-id": e.id,
|
|
6546
6546
|
name: e.name,
|
|
6547
6547
|
description: e.description,
|
|
6548
6548
|
gallery: e.images,
|
|
6549
|
-
layout:
|
|
6549
|
+
layout: r(Ee).Template,
|
|
6550
6550
|
"includes-breakfast": !1,
|
|
6551
6551
|
"hide-info-button": !1,
|
|
6552
|
-
"prices-from":
|
|
6552
|
+
"prices-from": o.value
|
|
6553
6553
|
}, {
|
|
6554
|
-
action:
|
|
6555
|
-
onClickEvent:
|
|
6556
|
-
label:
|
|
6554
|
+
action: S(() => [T("div", wn, [l(Me, {
|
|
6555
|
+
onClickEvent: c,
|
|
6556
|
+
label: r(t)("booking.availability.selectPackage"),
|
|
6557
6557
|
"full-width": "",
|
|
6558
|
-
disabled:
|
|
6558
|
+
disabled: r(a)
|
|
6559
6559
|
}, null, 8, ["label", "disabled"])])]),
|
|
6560
|
-
default:
|
|
6561
|
-
modelValue:
|
|
6562
|
-
"onUpdate:modelValue":
|
|
6560
|
+
default: S(() => [l(Cn, {
|
|
6561
|
+
modelValue: s.value,
|
|
6562
|
+
"onUpdate:modelValue": i[0] ||= (e) => s.value = e,
|
|
6563
6563
|
title: e.name,
|
|
6564
6564
|
"template-id": e.id,
|
|
6565
6565
|
"room-groups": e.roomGroups,
|
|
6566
6566
|
"hide-addons": e.hideAddons,
|
|
6567
6567
|
"weekend-fee": e.weekendFee,
|
|
6568
|
-
callback:
|
|
6568
|
+
callback: d
|
|
6569
6569
|
}, null, 8, [
|
|
6570
6570
|
"modelValue",
|
|
6571
6571
|
"title",
|
|
@@ -6584,7 +6584,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6584
6584
|
"prices-from"
|
|
6585
6585
|
]));
|
|
6586
6586
|
}
|
|
6587
|
-
}), En = { class: "konnectio-special-offer-availability" }, Dn = { class: "konnectio-special-offer-availability-button" }, On = /*#__PURE__*/ B(/* @__PURE__ */
|
|
6587
|
+
}), En = { class: "konnectio-special-offer-availability" }, Dn = { class: "konnectio-special-offer-availability-button" }, On = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
6588
6588
|
__name: "SpecialOffer",
|
|
6589
6589
|
props: {
|
|
6590
6590
|
id: {},
|
|
@@ -6597,40 +6597,40 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6597
6597
|
roomGroups: {}
|
|
6598
6598
|
},
|
|
6599
6599
|
setup(e) {
|
|
6600
|
-
let { t } = v(), { updateDates:
|
|
6601
|
-
function
|
|
6602
|
-
|
|
6600
|
+
let { t } = v(), { updateDates: i } = oe(), { display: a } = me(), o = e, s = R([]), c = n(() => Ne(o.fromDate, o.toDate) === 1);
|
|
6601
|
+
function d() {
|
|
6602
|
+
s.value.length > 0 ? i(s.value[0], s.value[1]) : a({
|
|
6603
6603
|
message: t("alert.error.selectDates"),
|
|
6604
6604
|
type: "error"
|
|
6605
6605
|
});
|
|
6606
6606
|
}
|
|
6607
|
-
return
|
|
6608
|
-
|
|
6609
|
-
}), (n,
|
|
6607
|
+
return g(() => {
|
|
6608
|
+
c.value && (s.value = [new Date(o.fromDate), new Date(o.toDate)]);
|
|
6609
|
+
}), (n, i) => (b(), u(Ye, {
|
|
6610
6610
|
type: "template",
|
|
6611
6611
|
"listing-id": e.id,
|
|
6612
6612
|
name: e.name,
|
|
6613
6613
|
description: e.description,
|
|
6614
6614
|
gallery: e.images,
|
|
6615
|
-
layout:
|
|
6615
|
+
layout: r(Ee).Template,
|
|
6616
6616
|
"includes-breakfast": !1,
|
|
6617
6617
|
"hide-info-button": !1,
|
|
6618
6618
|
"to-date": e.toDate,
|
|
6619
6619
|
"from-date": e.fromDate,
|
|
6620
6620
|
"disable-deep-link": !0
|
|
6621
6621
|
}, {
|
|
6622
|
-
action:
|
|
6623
|
-
modelValue:
|
|
6624
|
-
"onUpdate:modelValue":
|
|
6625
|
-
label:
|
|
6626
|
-
placeholder:
|
|
6622
|
+
action: S(() => [T("div", En, [l(He, {
|
|
6623
|
+
modelValue: s.value,
|
|
6624
|
+
"onUpdate:modelValue": i[0] ||= (e) => s.value = e,
|
|
6625
|
+
label: r(t)("availability.checkInOut"),
|
|
6626
|
+
placeholder: r(t)("booking.availability.selectDates"),
|
|
6627
6627
|
"icon-type": "fas",
|
|
6628
6628
|
"icon-placement": "label",
|
|
6629
6629
|
"min-range": 1,
|
|
6630
6630
|
"start-date": e.fromDate === "0001-01-01T00:00:00Z" ? /* @__PURE__ */ new Date() : new Date(e.fromDate),
|
|
6631
6631
|
"min-date": e.fromDate === "0001-01-01T00:00:00Z" ? /* @__PURE__ */ new Date() : new Date(e.fromDate),
|
|
6632
6632
|
"max-date": new Date(e.toDate),
|
|
6633
|
-
readonly:
|
|
6633
|
+
readonly: c.value,
|
|
6634
6634
|
range: ""
|
|
6635
6635
|
}, null, 8, [
|
|
6636
6636
|
"modelValue",
|
|
@@ -6640,9 +6640,9 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6640
6640
|
"min-date",
|
|
6641
6641
|
"max-date",
|
|
6642
6642
|
"readonly"
|
|
6643
|
-
]),
|
|
6644
|
-
label:
|
|
6645
|
-
onClick:
|
|
6643
|
+
]), T("div", Dn, [l(Me, {
|
|
6644
|
+
label: r(t)("availability.buttonLabel"),
|
|
6645
|
+
onClick: I(d, ["prevent"])
|
|
6646
6646
|
}, null, 8, ["label"])])])]),
|
|
6647
6647
|
_: 1
|
|
6648
6648
|
}, 8, [
|
|
@@ -6655,7 +6655,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6655
6655
|
"from-date"
|
|
6656
6656
|
]));
|
|
6657
6657
|
}
|
|
6658
|
-
}), [["__scopeId", "data-v-8f8a4dff"]]), kn = /* @__PURE__ */
|
|
6658
|
+
}), [["__scopeId", "data-v-8f8a4dff"]]), kn = /* @__PURE__ */ z({
|
|
6659
6659
|
__name: "TimeField",
|
|
6660
6660
|
props: {
|
|
6661
6661
|
modelValue: {},
|
|
@@ -6677,10 +6677,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6677
6677
|
function i(e) {
|
|
6678
6678
|
n("update:modelValue", e);
|
|
6679
6679
|
}
|
|
6680
|
-
let a =
|
|
6681
|
-
return
|
|
6680
|
+
let a = R(r.modelValue);
|
|
6681
|
+
return O(a, (e) => {
|
|
6682
6682
|
i(e);
|
|
6683
|
-
}), (t, n) => (
|
|
6683
|
+
}), (t, n) => (b(), u(He, {
|
|
6684
6684
|
modelValue: a.value,
|
|
6685
6685
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
6686
6686
|
type: "time",
|
|
@@ -6712,7 +6712,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6712
6712
|
}), An = { style: {
|
|
6713
6713
|
display: "flex",
|
|
6714
6714
|
"align-items": "baseline"
|
|
6715
|
-
} }, jn = /*#__PURE__*/ B(/* @__PURE__ */
|
|
6715
|
+
} }, jn = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
6716
6716
|
__name: "CountryField",
|
|
6717
6717
|
props: {
|
|
6718
6718
|
modelValue: {},
|
|
@@ -6731,27 +6731,27 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6731
6731
|
},
|
|
6732
6732
|
emits: ["update:modelValue"],
|
|
6733
6733
|
setup(e, { emit: t }) {
|
|
6734
|
-
let { t:
|
|
6735
|
-
function
|
|
6736
|
-
|
|
6734
|
+
let { t: i } = v(), a = t, o = e;
|
|
6735
|
+
function s(e) {
|
|
6736
|
+
a("update:modelValue", e);
|
|
6737
6737
|
}
|
|
6738
|
-
let
|
|
6739
|
-
get: () =>
|
|
6740
|
-
set: (e) =>
|
|
6738
|
+
let c = n({
|
|
6739
|
+
get: () => o.modelValue,
|
|
6740
|
+
set: (e) => s(e)
|
|
6741
6741
|
});
|
|
6742
|
-
return (t,
|
|
6743
|
-
modelValue:
|
|
6744
|
-
"onUpdate:modelValue":
|
|
6742
|
+
return (t, n) => (b(), u(je, {
|
|
6743
|
+
modelValue: c.value,
|
|
6744
|
+
"onUpdate:modelValue": n[0] ||= (e) => c.value = e,
|
|
6745
6745
|
label: e.label,
|
|
6746
|
-
placeholder:
|
|
6746
|
+
placeholder: r(i)("booking.reservation.countryPlaceholder"),
|
|
6747
6747
|
labelKey: "name",
|
|
6748
6748
|
valueKey: "id",
|
|
6749
6749
|
options: e.options,
|
|
6750
6750
|
required: e.required,
|
|
6751
6751
|
error: e.error
|
|
6752
6752
|
}, {
|
|
6753
|
-
option:
|
|
6754
|
-
"selected-option":
|
|
6753
|
+
option: S(({ data: e }) => [T("i", { class: E(["konnectio-flag-icon", e.iso]) }, null, 2), T("span", null, h(e.name), 1)]),
|
|
6754
|
+
"selected-option": S(({ data: e }) => [T("div", An, [T("i", { class: E(["konnectio-flag-icon", e.iso]) }, null, 2), T("span", null, h(e.name), 1)])]),
|
|
6755
6755
|
_: 1
|
|
6756
6756
|
}, 8, [
|
|
6757
6757
|
"modelValue",
|
|
@@ -6762,7 +6762,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6762
6762
|
"error"
|
|
6763
6763
|
]));
|
|
6764
6764
|
}
|
|
6765
|
-
}), [["__scopeId", "data-v-f0651be7"]]), Mn = /*#__PURE__*/ B(/* @__PURE__ */
|
|
6765
|
+
}), [["__scopeId", "data-v-f0651be7"]]), Mn = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
6766
6766
|
__name: "NameField",
|
|
6767
6767
|
props: {
|
|
6768
6768
|
modelValue: {},
|
|
@@ -6799,52 +6799,52 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6799
6799
|
},
|
|
6800
6800
|
emits: ["update:modelValue", "update:title"],
|
|
6801
6801
|
setup(e, { emit: t }) {
|
|
6802
|
-
let n = e,
|
|
6803
|
-
function
|
|
6804
|
-
|
|
6802
|
+
let n = e, i = t, a = n.id || ye(), o = R(""), s = R(2);
|
|
6803
|
+
function c() {
|
|
6804
|
+
i("update:modelValue", o.value);
|
|
6805
6805
|
}
|
|
6806
|
-
|
|
6807
|
-
|
|
6806
|
+
O(s, (e) => {
|
|
6807
|
+
i("update:title", e);
|
|
6808
6808
|
});
|
|
6809
|
-
let { t:
|
|
6810
|
-
return
|
|
6811
|
-
n.modelValue && (
|
|
6812
|
-
}), (t, n) => (
|
|
6809
|
+
let { t: f } = v();
|
|
6810
|
+
return g(() => {
|
|
6811
|
+
n.modelValue && (o.value = n.modelValue), n.title && (s.value = n.title);
|
|
6812
|
+
}), (t, n) => (b(), u(Se, {
|
|
6813
6813
|
label: e.label,
|
|
6814
|
-
id:
|
|
6814
|
+
id: r(a),
|
|
6815
6815
|
required: e.required,
|
|
6816
6816
|
type: "konnectio-name-field",
|
|
6817
6817
|
readonly: e.readonly,
|
|
6818
6818
|
limit: e.limit,
|
|
6819
6819
|
error: e.error
|
|
6820
6820
|
}, {
|
|
6821
|
-
default:
|
|
6821
|
+
default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(je, {
|
|
6822
6822
|
key: 0,
|
|
6823
|
-
modelValue:
|
|
6824
|
-
"onUpdate:modelValue": n[0] ||= (e) =>
|
|
6825
|
-
id:
|
|
6823
|
+
modelValue: s.value,
|
|
6824
|
+
"onUpdate:modelValue": n[0] ||= (e) => s.value = e,
|
|
6825
|
+
id: r(ye)(),
|
|
6826
6826
|
icon: e.icon,
|
|
6827
6827
|
"icon-color": e.iconColor,
|
|
6828
6828
|
"icon-type": e.iconType,
|
|
6829
6829
|
options: [
|
|
6830
6830
|
{
|
|
6831
|
-
label:
|
|
6831
|
+
label: r(f)("booking.reservation.noNameTitle"),
|
|
6832
6832
|
value: 1
|
|
6833
6833
|
},
|
|
6834
6834
|
{
|
|
6835
|
-
label:
|
|
6835
|
+
label: r(f)("booking.reservation.nameTitleMr"),
|
|
6836
6836
|
value: 2
|
|
6837
6837
|
},
|
|
6838
6838
|
{
|
|
6839
|
-
label:
|
|
6839
|
+
label: r(f)("booking.reservation.nameTitleMs"),
|
|
6840
6840
|
value: 3
|
|
6841
6841
|
},
|
|
6842
6842
|
{
|
|
6843
|
-
label:
|
|
6843
|
+
label: r(f)("booking.reservation.nameTitleMrs"),
|
|
6844
6844
|
value: 4
|
|
6845
6845
|
},
|
|
6846
6846
|
{
|
|
6847
|
-
label:
|
|
6847
|
+
label: r(f)("booking.reservation.nameTitleDr"),
|
|
6848
6848
|
value: 5
|
|
6849
6849
|
}
|
|
6850
6850
|
],
|
|
@@ -6859,13 +6859,13 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6859
6859
|
"icon-type",
|
|
6860
6860
|
"options",
|
|
6861
6861
|
"readonly"
|
|
6862
|
-
])),
|
|
6863
|
-
modelValue:
|
|
6864
|
-
"onUpdate:modelValue": n[1] ||= (e) =>
|
|
6862
|
+
])), l(Oe, {
|
|
6863
|
+
modelValue: o.value,
|
|
6864
|
+
"onUpdate:modelValue": n[1] ||= (e) => o.value = e,
|
|
6865
6865
|
type: "text",
|
|
6866
6866
|
name: "name",
|
|
6867
6867
|
autocomplete: "name",
|
|
6868
|
-
id:
|
|
6868
|
+
id: r(a),
|
|
6869
6869
|
icon: e.excludeTitle ? e.icon : void 0,
|
|
6870
6870
|
"icon-color": e.iconColor,
|
|
6871
6871
|
"icon-type": e.iconType,
|
|
@@ -6873,7 +6873,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6873
6873
|
required: e.required,
|
|
6874
6874
|
readonly: e.readonly,
|
|
6875
6875
|
limit: e.limit,
|
|
6876
|
-
onInput: n[2] ||= (e) =>
|
|
6876
|
+
onInput: n[2] ||= (e) => c()
|
|
6877
6877
|
}, null, 8, [
|
|
6878
6878
|
"modelValue",
|
|
6879
6879
|
"id",
|
|
@@ -6895,10 +6895,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6895
6895
|
"error"
|
|
6896
6896
|
]));
|
|
6897
6897
|
}
|
|
6898
|
-
}), [["__scopeId", "data-v-5448733c"]]), Nn = { class: "hotel-skeleton" }, Pn = { class: "hotel-skeleton-content" }, Fn = { class: "hotel-skeleton-sidebar" }, In = /*#__PURE__*/ B(/* @__PURE__ */
|
|
6898
|
+
}), [["__scopeId", "data-v-5448733c"]]), Nn = { class: "hotel-skeleton" }, Pn = { class: "hotel-skeleton-content" }, Fn = { class: "hotel-skeleton-sidebar" }, In = /*#__PURE__*/ B(/* @__PURE__ */ z({
|
|
6899
6899
|
__name: "HotelSkeleton",
|
|
6900
6900
|
setup(e) {
|
|
6901
|
-
return (e, t) => (
|
|
6901
|
+
return (e, t) => (b(), m("div", Nn, [T("div", Pn, [l(Ue, { hotel: "" }), l(Xe)]), T("div", Fn, [l(Ze)])]));
|
|
6902
6902
|
}
|
|
6903
6903
|
}), [["__scopeId", "data-v-2ff36444"]]), Ln = { id: "booking-availability-container" }, Rn = { id: "booking-availability-controls" }, zn = {
|
|
6904
6904
|
key: 0,
|
|
@@ -6968,7 +6968,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6968
6968
|
}, Lr = { class: "konnectio-split-inputs" }, Rr = {
|
|
6969
6969
|
key: 0,
|
|
6970
6970
|
class: "konnectio-hotel-member-card-mockup"
|
|
6971
|
-
}, zr = ["src"], Br = { class: "konnectio-hotel-member-card-details" }, Vr = { key: 0 }, Hr = { key: 0 }, Ur = /*@__PURE__*/
|
|
6971
|
+
}, zr = ["src"], Br = { class: "konnectio-hotel-member-card-details" }, Vr = { key: 0 }, Hr = { key: 0 }, Ur = /*@__PURE__*/ z({
|
|
6972
6972
|
name: "HotelLayout",
|
|
6973
6973
|
__name: "Hotel",
|
|
6974
6974
|
props: {
|
|
@@ -6990,8 +6990,8 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6990
6990
|
styling: {}
|
|
6991
6991
|
},
|
|
6992
6992
|
setup(e) {
|
|
6993
|
-
let t =
|
|
6994
|
-
Le.useHttpClient(Be(
|
|
6993
|
+
let t = _(() => import("./_-DFyJPf6E.js").then((e) => e.n)), o = e, { t: c } = v(), { currentLocation: f, templateID: p, templateRoomSelections: g, templateRoomUnits: te, countries: re, areListingsLoading: ie, isPaymentLoading: D, isReservationFormFilled: k, travelingFor: A, arrivalTime: j, departureTime: M, name: N, nameTitle: P, email: F, phone: I, firmName: R, postal: z, city: ae, address: fe, country: B, remark: ve, allergies: ye, roomSelect: be, roomDisplay: Se, hasValidRoomSelection: Ee, availabilityData: V, selectionHasNoAddons: je, isAvailabilityDataAvailable: Ne, getSelectedPackageRooms: ze, selectedPackage: He, isSearchOutdated: Ue, isTemplateReservation: Ge, newsMails: Ke, adultsMismatch: U, childrenMismatch: Ye, totalAdults: Xe, totalChildren: Ze, hasGuestDiscountId: et, hasGuestDiscountCode: tt, guestDiscountId: nt, guestDiscountName: rt, guestDiscountCode: it, hasMemberCards: at, memberCardList: ot, selectedMemberCard: st, memberCardControlNumber: ct, memberCardNumber: lt, selectedMemberCardObject: ut, selectedMemberCardData: dt, discountCode: ft, discountPayload: pt } = C(he()), { isHostedCheckoutActive: mt } = C(De()), { adults: ht, children: gt, location: _t, arrivalDate: W, departureDate: G, hasHotelLocations: vt } = C(oe()), { isValidHotelId: yt, updateDates: bt } = oe(), { currency: K, enableTracking: q, disableNamePrefix: St, disableTravelingFor: Ct, disableTravelingForBleasure: wt, disableCompanyField: Tt, hasPaymentGateway: Et, maxAdultAmount: Dt, maxChildAmount: J, defaultAdultAmount: Ot, defaultChildAmount: kt, disableNewsletterSignup: At, hasActiveIdFilter: jt, hotelSettings: Mt } = C(ce()), { hasArrivalDepartureInputs: Nt, hasUserArrivalSelection: Pt, hasUserDepartureSelection: Ft, earliestArrivalTime: It, latestArrivalTime: Lt, earliestDepartureTime: Rt, latestDepartureTime: zt, hasSharedAddonSelection: Bt, setActiveIdFilter: Vt, clearActiveIdFilter: Ht } = ce(), { beginCheckout: X } = se(), { display: Ut } = me(), { createReservation: Gt, fetchMetadata: Kt, fetchAvailabilityData: qt, filterAddons: Yt, hasAvailableRoomAddons: Z, checkGuestDiscount: Xt, setGuestDiscountCode: Zt, validateMemberCard: Qt, onOverviewReset: $t, validateDiscountCode: en, reservationPayload: tn } = he();
|
|
6994
|
+
Le.useHttpClient(Be(_e()));
|
|
6995
6995
|
let nn = Fe("post", "/hotel/create-reservation", tn());
|
|
6996
6996
|
nn.setValidationTimeout(600);
|
|
6997
6997
|
function rn(e) {
|
|
@@ -7000,41 +7000,41 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7000
7000
|
function Q(e) {
|
|
7001
7001
|
return nn.errors[e];
|
|
7002
7002
|
}
|
|
7003
|
-
|
|
7004
|
-
let an =
|
|
7003
|
+
O(N, () => rn("guest.name")), O(F, () => rn("guest.email")), O(I, () => rn("guest.phone")), O(B, () => rn("guest.country")), O(fe, () => rn("guest.address1")), O(z, () => rn("guest.postal")), O(ae, () => rn("guest.city"));
|
|
7004
|
+
let an = n(() => o.sortOrder === "desc");
|
|
7005
7005
|
function on(e) {
|
|
7006
7006
|
let t = [];
|
|
7007
|
-
return Bt(
|
|
7007
|
+
return Bt(f.value) ? (e?.forEach((e) => {
|
|
7008
7008
|
let n = t.find((t) => t.configIdx === e.configIdx);
|
|
7009
7009
|
n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
|
|
7010
7010
|
}), t) : e ?? [];
|
|
7011
7011
|
}
|
|
7012
|
-
let sn =
|
|
7012
|
+
let sn = n(() => {
|
|
7013
7013
|
let e = [];
|
|
7014
|
-
return Bt(
|
|
7014
|
+
return Bt(f.value) ? te.value.forEach((t) => {
|
|
7015
7015
|
let n = e.find((e) => e.roomGroupId === t.roomGroupId);
|
|
7016
7016
|
n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
|
|
7017
|
-
}) :
|
|
7017
|
+
}) : te.value.forEach((t, n) => {
|
|
7018
7018
|
e.push({
|
|
7019
7019
|
...t,
|
|
7020
|
-
unitNumber:
|
|
7021
|
-
unitTotal:
|
|
7020
|
+
unitNumber: te.value.slice(0, n + 1).filter((e) => e.roomGroupId === t.roomGroupId).length,
|
|
7021
|
+
unitTotal: te.value.filter((e) => e.roomGroupId === t.roomGroupId).length
|
|
7022
7022
|
});
|
|
7023
7023
|
}), e;
|
|
7024
|
-
}), cn =
|
|
7024
|
+
}), cn = n(() => [
|
|
7025
7025
|
{
|
|
7026
7026
|
id: "availability",
|
|
7027
|
-
label:
|
|
7027
|
+
label: c("booking.availability.title"),
|
|
7028
7028
|
icon: "search"
|
|
7029
7029
|
},
|
|
7030
7030
|
{
|
|
7031
7031
|
id: "addons",
|
|
7032
|
-
label:
|
|
7032
|
+
label: c("general.addons"),
|
|
7033
7033
|
icon: "shopping-cart"
|
|
7034
7034
|
},
|
|
7035
7035
|
{
|
|
7036
7036
|
id: "reservation",
|
|
7037
|
-
label:
|
|
7037
|
+
label: c("booking.reservation.title"),
|
|
7038
7038
|
icon: "concierge-bell"
|
|
7039
7039
|
},
|
|
7040
7040
|
{
|
|
@@ -7043,44 +7043,44 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7043
7043
|
},
|
|
7044
7044
|
{
|
|
7045
7045
|
id: "confirmation",
|
|
7046
|
-
label:
|
|
7046
|
+
label: c("booking.confirmation.title"),
|
|
7047
7047
|
icon: "calendar-check"
|
|
7048
7048
|
}
|
|
7049
|
-
]), ln =
|
|
7049
|
+
]), ln = n(() => {
|
|
7050
7050
|
let e = [{
|
|
7051
|
-
label:
|
|
7051
|
+
label: c("booking.reservation.business"),
|
|
7052
7052
|
value: "Business"
|
|
7053
7053
|
}, {
|
|
7054
|
-
label:
|
|
7054
|
+
label: c("booking.reservation.pleasure"),
|
|
7055
7055
|
value: "Pleasure"
|
|
7056
7056
|
}];
|
|
7057
7057
|
return wt.value || e.push({
|
|
7058
|
-
label:
|
|
7058
|
+
label: c("booking.reservation.bleasure"),
|
|
7059
7059
|
value: "Bleasure"
|
|
7060
7060
|
}), e;
|
|
7061
|
-
}), un =
|
|
7061
|
+
}), un = n(() => {
|
|
7062
7062
|
let e = V.value.roomGroups.slice();
|
|
7063
7063
|
function t(e, t) {
|
|
7064
7064
|
return an.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
7065
7065
|
}
|
|
7066
|
-
return
|
|
7066
|
+
return o.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
|
|
7067
7067
|
});
|
|
7068
7068
|
function dn(e) {
|
|
7069
7069
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7070
7070
|
}
|
|
7071
|
-
let pn =
|
|
7071
|
+
let pn = n(() => {
|
|
7072
7072
|
let e = V.value.templates.slice();
|
|
7073
|
-
return
|
|
7073
|
+
return o.sortBy === "price" && e.sort((e, t) => {
|
|
7074
7074
|
let n = dn(e), r = dn(t);
|
|
7075
7075
|
return an.value ? r - n : n - r;
|
|
7076
7076
|
}), e;
|
|
7077
|
-
}), mn =
|
|
7077
|
+
}), mn = n(() => {
|
|
7078
7078
|
let e = V.value.specialTemplates.slice();
|
|
7079
|
-
return
|
|
7079
|
+
return o.sortBy === "price" && e.sort((e, t) => {
|
|
7080
7080
|
let n = dn(e), r = dn(t);
|
|
7081
7081
|
return an.value ? r - n : n - r;
|
|
7082
7082
|
}), e;
|
|
7083
|
-
}), hn =
|
|
7083
|
+
}), hn = n(() => o.hideAddons === "yes" || Ge.value && o.hideAddons === "packages" || !Ge.value && o.hideAddons === "rooms");
|
|
7084
7084
|
function gn(e) {
|
|
7085
7085
|
let t = $.discount;
|
|
7086
7086
|
t ? (ft.value = t, en()) : tt.value && !pt.value && (ft.value = it.value, en()), e();
|
|
@@ -7095,7 +7095,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7095
7095
|
function yn() {
|
|
7096
7096
|
if ((_t.value === void 0 || isNaN(_t.value)) && vt.value) {
|
|
7097
7097
|
Ut({
|
|
7098
|
-
message:
|
|
7098
|
+
message: c("alert.error.selectHotelId"),
|
|
7099
7099
|
type: "error"
|
|
7100
7100
|
});
|
|
7101
7101
|
return;
|
|
@@ -7103,7 +7103,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7103
7103
|
qt();
|
|
7104
7104
|
}
|
|
7105
7105
|
function bn() {
|
|
7106
|
-
let e =
|
|
7106
|
+
let e = x("history", { removeNullishValues: !0 });
|
|
7107
7107
|
Ht(), e.id = void 0, qt();
|
|
7108
7108
|
}
|
|
7109
7109
|
function xn(e) {
|
|
@@ -7111,54 +7111,54 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7111
7111
|
}
|
|
7112
7112
|
function Sn() {
|
|
7113
7113
|
let e = _t.value;
|
|
7114
|
-
|
|
7114
|
+
o.forceArrivalTime && o.forceDepartureTime && e !== void 0 && Mt.value[e] && (Mt.value[e].disableArrivalUserSelection = !0, o.forceArrivalTime && (Mt.value[e].arrivalDefault = o.forceArrivalTime), o.forceDepartureTime && (Mt.value[e].departureDefault = o.forceDepartureTime));
|
|
7115
7115
|
}
|
|
7116
|
-
let $ =
|
|
7116
|
+
let $ = x("history", { removeNullishValues: !0 });
|
|
7117
7117
|
async function Cn() {
|
|
7118
7118
|
Sn();
|
|
7119
|
-
let e = parseInt($.a), t = parseInt($.c),
|
|
7120
|
-
if (isNaN(e) || (e > Dt.value ? ht.value = Dt.value : ht.value = e, ht.value === Ot.value && ($.a = void 0)), isNaN(t) || (t > J.value ? gt.value = J.value : gt.value = t, gt.value === kt.value && ($.c = void 0)), isNaN(
|
|
7121
|
-
message:
|
|
7119
|
+
let e = parseInt($.a), t = parseInt($.c), n = parseInt($.hid), r = parseInt($.n), i = $.ci, a = $.co, s = $.id, l = parseInt($.gid), u = $.discount, d = !1;
|
|
7120
|
+
if (isNaN(e) || (e > Dt.value ? ht.value = Dt.value : ht.value = e, ht.value === Ot.value && ($.a = void 0)), isNaN(t) || (t > J.value ? gt.value = J.value : gt.value = t, gt.value === kt.value && ($.c = void 0)), isNaN(r) || r > 0 && ($.n = void 0), isNaN(n) || (yt(n) ? (_t.value = n, d = !0) : ($.hid = void 0, Ut({
|
|
7121
|
+
message: c("alert.error.hotelIdNotFound"),
|
|
7122
7122
|
type: "error"
|
|
7123
|
-
}))),
|
|
7124
|
-
if (
|
|
7125
|
-
let e = new Date(new Date(
|
|
7123
|
+
}))), i && a) {
|
|
7124
|
+
if (de(i) && de(a)) {
|
|
7125
|
+
let e = new Date(new Date(i).setHours(12, 0, 0, 0)), t = new Date(new Date(a).setHours(12, 0, 0, 0));
|
|
7126
7126
|
e <= t ? (W.value = e, G.value = t) : ($.ci = void 0, $.co = void 0, Ut({
|
|
7127
|
-
message:
|
|
7127
|
+
message: c("alert.error.invalidDateRange"),
|
|
7128
7128
|
type: "error"
|
|
7129
7129
|
}));
|
|
7130
7130
|
} else Ut({
|
|
7131
|
-
message:
|
|
7131
|
+
message: c("alert.error.wrongDateFormat"),
|
|
7132
7132
|
type: "error"
|
|
7133
7133
|
});
|
|
7134
7134
|
}
|
|
7135
|
-
if (
|
|
7136
|
-
await Xt(
|
|
7135
|
+
if (s && Vt(s), l) {
|
|
7136
|
+
await Xt(l) || delete $.gid;
|
|
7137
7137
|
return;
|
|
7138
7138
|
}
|
|
7139
|
-
|
|
7139
|
+
u && Zt(u), o.disableDefaultLocation === "yes" && d === !1 ? (_t.value = void 0, f.value = NaN) : qt();
|
|
7140
7140
|
}
|
|
7141
|
-
return (n,
|
|
7142
|
-
default:
|
|
7143
|
-
default:
|
|
7141
|
+
return (n, o) => (b(), u(Ce, { styling: e.styling }, {
|
|
7142
|
+
default: S(() => [(b(), u(i, { onResolve: Cn }, {
|
|
7143
|
+
default: S(() => [l(r(t), {
|
|
7144
7144
|
id: "konnectio-hotel-module",
|
|
7145
7145
|
"access-token": e.accessToken,
|
|
7146
|
-
callback:
|
|
7146
|
+
callback: r(Kt)
|
|
7147
7147
|
}, {
|
|
7148
|
-
default:
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7148
|
+
default: S(() => [
|
|
7149
|
+
ne(l(Wt, { onCallback: Cn }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !r(et)]]),
|
|
7150
|
+
ne(l(Jt, null, null, 512), [[ee, e.requireDiscountCode === "yes" && !r(tt)]]),
|
|
7151
|
+
ne(l($e, {
|
|
7152
7152
|
layout: e.headerLayout,
|
|
7153
7153
|
steps: cn.value,
|
|
7154
|
-
onReset:
|
|
7154
|
+
onReset: r($t)
|
|
7155
7155
|
}, {
|
|
7156
|
-
availability:
|
|
7156
|
+
availability: S(({ next: t }) => [l(Y, {
|
|
7157
7157
|
"show-remove-room": !0,
|
|
7158
7158
|
"availability-discount": ""
|
|
7159
7159
|
}, {
|
|
7160
|
-
form:
|
|
7161
|
-
|
|
7160
|
+
form: S(() => [T("div", Ln, [
|
|
7161
|
+
T("div", Rn, [l(We, {
|
|
7162
7162
|
booking: !0,
|
|
7163
7163
|
"selected-location": Number(e.selectedLocation),
|
|
7164
7164
|
"disable-default-location": e.disableDefaultLocation === "yes",
|
|
@@ -7168,25 +7168,25 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7168
7168
|
"disable-default-location",
|
|
7169
7169
|
"hide-locations"
|
|
7170
7170
|
])]),
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7171
|
+
r(et) ? (b(), m("div", zn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(rt) ? r(rt) : r(nt)}</b>` }) }, null, 8, Bn)])) : d("", !0),
|
|
7172
|
+
r(tt) ? (b(), m("div", Vn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(it)}</b>` }) }, null, 8, Hn)])) : d("", !0),
|
|
7173
|
+
r(jt) ? (b(), m("div", Un, [T("span", null, [s(h(r(c)("general.filteredListingNotice")) + " ", 1), T("button", {
|
|
7174
7174
|
class: "link",
|
|
7175
|
-
onClick:
|
|
7176
|
-
},
|
|
7177
|
-
|
|
7178
|
-
!
|
|
7179
|
-
|
|
7175
|
+
onClick: o[0] ||= (e) => bn()
|
|
7176
|
+
}, h(r(c)("general.filteredListingShowAll")), 1)])])) : d("", !0),
|
|
7177
|
+
d("", !0),
|
|
7178
|
+
!r(ie) && r(Ne) ? (b(), m("div", Wn, [un.value.camping && un.value.camping.length > 0 && e.onlyShow !== "non-camping" || un.value.rooms && un.value.rooms.length > 0 || r(V).templates.length > 0 || r(V).specialTemplates.length > 0 && !r(jt) ? (b(), m("div", Gn, [
|
|
7179
|
+
r(V).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div", Kn, [e.onlyShow === "packages" ? d("", !0) : (b(), m("h2", qn, [l(H, {
|
|
7180
7180
|
icon: "box",
|
|
7181
7181
|
type: "fal",
|
|
7182
7182
|
color: "header"
|
|
7183
|
-
}),
|
|
7183
|
+
}), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])), T("ul", Jn, [(b(!0), m(a, null, w(pn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), u(Tn, {
|
|
7184
7184
|
key: n,
|
|
7185
7185
|
id: n,
|
|
7186
|
-
description:
|
|
7186
|
+
description: o,
|
|
7187
7187
|
name: r,
|
|
7188
7188
|
images: a,
|
|
7189
|
-
weekendFee:
|
|
7189
|
+
weekendFee: s,
|
|
7190
7190
|
"room-groups": i,
|
|
7191
7191
|
callback: t,
|
|
7192
7192
|
"hide-addons": e.hideAddons === "yes" || e.hideAddons === "packages"
|
|
@@ -7199,36 +7199,36 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7199
7199
|
"room-groups",
|
|
7200
7200
|
"callback",
|
|
7201
7201
|
"hide-addons"
|
|
7202
|
-
]))), 128))])])) :
|
|
7203
|
-
|
|
7202
|
+
]))), 128))])])) : d("", !0),
|
|
7203
|
+
r(V).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div", Yn, [un.value.rooms && e.onlyShow !== "camping" ? (b(), m(a, { key: 0 }, [r(V).templates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("h2", Xn, [l(H, {
|
|
7204
7204
|
icon: "house",
|
|
7205
7205
|
type: "fal",
|
|
7206
7206
|
color: "header"
|
|
7207
|
-
}),
|
|
7207
|
+
}), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul", Zn, [(b(!0), m(a, null, w(un.value.rooms, (e, n) => (b(), u(fn, {
|
|
7208
7208
|
room: e,
|
|
7209
7209
|
key: n,
|
|
7210
7210
|
callback: t
|
|
7211
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) :
|
|
7211
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0), un.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), m(a, { key: 1 }, [r(V).templates.length > 0 && e.onlyShow !== "camping" ? (b(), m("h2", Qn, [l(H, {
|
|
7212
7212
|
icon: "map-location-dot",
|
|
7213
7213
|
type: "fal",
|
|
7214
7214
|
color: "header"
|
|
7215
|
-
}),
|
|
7215
|
+
}), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul", $n, [(b(!0), m(a, null, w(un.value.camping, (e, n) => (b(), u(fn, {
|
|
7216
7216
|
room: e,
|
|
7217
7217
|
key: n,
|
|
7218
7218
|
callback: t
|
|
7219
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) :
|
|
7220
|
-
|
|
7219
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0)])) : d("", !0),
|
|
7220
|
+
r(jt) ? d("", !0) : (b(), m(a, { key: 2 }, [r(V).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("div", er, [T("h2", tr, [l(H, {
|
|
7221
7221
|
icon: "sparkles",
|
|
7222
7222
|
type: "fal",
|
|
7223
7223
|
color: "header"
|
|
7224
|
-
}),
|
|
7224
|
+
}), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul", nr, [(b(!0), m(a, null, w(mn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), u(On, {
|
|
7225
7225
|
key: e,
|
|
7226
7226
|
id: e,
|
|
7227
7227
|
description: i,
|
|
7228
7228
|
name: t,
|
|
7229
7229
|
images: r,
|
|
7230
|
-
fromDate:
|
|
7231
|
-
toDate:
|
|
7230
|
+
fromDate: o,
|
|
7231
|
+
toDate: s,
|
|
7232
7232
|
weekendFee: a,
|
|
7233
7233
|
"room-groups": n
|
|
7234
7234
|
}, null, 8, [
|
|
@@ -7240,49 +7240,49 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7240
7240
|
"toDate",
|
|
7241
7241
|
"weekendFee",
|
|
7242
7242
|
"room-groups"
|
|
7243
|
-
]))), 128))])])) :
|
|
7244
|
-
(
|
|
7245
|
-
])) :
|
|
7246
|
-
|
|
7247
|
-
|
|
7243
|
+
]))), 128))])])) : d("", !0)], 64)),
|
|
7244
|
+
(r(V).templates.length === 0 && e.onlyShow !== "rooms" || r(V).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div", rr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)])) : d("", !0)
|
|
7245
|
+
])) : r(V).nextAvailableDates.length > 0 ? (b(), m("div", ir, [
|
|
7246
|
+
T("div", ar, [T("span", { innerHTML: r(c)("hotel.everyRoomIsBooked") }, null, 8, or)]),
|
|
7247
|
+
T("h2", sr, [l(H, {
|
|
7248
7248
|
icon: "calendar-circle-exclamation",
|
|
7249
7249
|
type: "fal",
|
|
7250
7250
|
color: "header"
|
|
7251
|
-
}),
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7251
|
+
}), T("span", null, h(r(c)("booking.availability.nextAvailableDates")), 1)]),
|
|
7252
|
+
T("ul", cr, [(b(!0), m(a, null, w(r(V).nextAvailableDates, (e, t) => (b(), m("li", { key: t }, [
|
|
7253
|
+
T("h3", { title: `${r(xe)(e.fromDate, 0, !0)} - ${r(xe)(e.toDate, 0, !0)}` }, [T("span", null, h(`${r(xe)(e.fromDate, 0, !0)} - ${r(xe)(e.toDate, 0, !0)}`), 1)], 8, lr),
|
|
7254
|
+
T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", ur, [l(H, {
|
|
7255
7255
|
icon: "house",
|
|
7256
7256
|
type: "fal",
|
|
7257
7257
|
color: "header"
|
|
7258
|
-
}),
|
|
7258
|
+
}), T("span", null, h(r(c)("booking.availability.units")) + ": " + h(e.roomCount), 1)])), T("li", null, [l(H, {
|
|
7259
7259
|
icon: "money-bill",
|
|
7260
7260
|
type: "fal",
|
|
7261
7261
|
color: "header"
|
|
7262
|
-
}),
|
|
7263
|
-
|
|
7264
|
-
label:
|
|
7262
|
+
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(Te)(e.priceStartFrom, r(K))), 1)])]),
|
|
7263
|
+
l(Me, {
|
|
7264
|
+
label: r(c)("booking.availability.selectDates"),
|
|
7265
7265
|
"full-width": "",
|
|
7266
|
-
onClickEvent: (t) =>
|
|
7266
|
+
onClickEvent: (t) => r(bt)(new Date(e.fromDate), new Date(e.toDate))
|
|
7267
7267
|
}, null, 8, ["label", "onClickEvent"])
|
|
7268
7268
|
]))), 128))])
|
|
7269
|
-
])) : (
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7269
|
+
])) : (b(), m("div", dr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(r(f)) && !r(ie) ? (b(), m("div", fr, [T("span", null, h(r(c)("alert.info.selectHotelToStart")), 1)])) : (b(), m("div", pr, [
|
|
7270
|
+
l(Qe),
|
|
7271
|
+
l(Qe),
|
|
7272
|
+
l(Qe)
|
|
7273
7273
|
]))
|
|
7274
7274
|
])]),
|
|
7275
|
-
navigation:
|
|
7276
|
-
|
|
7275
|
+
navigation: S(() => [
|
|
7276
|
+
r(Ue) ? (b(), u(Me, {
|
|
7277
7277
|
key: 0,
|
|
7278
|
-
label: isNaN(
|
|
7279
|
-
"is-loading":
|
|
7278
|
+
label: isNaN(r(f)) ? r(c)("availability.buttonLabel") : r(c)("general.searchAgain"),
|
|
7279
|
+
"is-loading": r(ie),
|
|
7280
7280
|
"full-width": "",
|
|
7281
|
-
onClickEvent:
|
|
7282
|
-
}, null, 8, ["label", "is-loading"])) : (
|
|
7281
|
+
onClickEvent: o[2] ||= (e) => yn()
|
|
7282
|
+
}, null, 8, ["label", "is-loading"])) : (b(), u(Me, {
|
|
7283
7283
|
key: 1,
|
|
7284
|
-
label:
|
|
7285
|
-
disabled: !
|
|
7284
|
+
label: r(je) || hn.value ? r(c)("booking.availability.nextButton") : r(c)("general.chooseAddons"),
|
|
7285
|
+
disabled: !r(Ee),
|
|
7286
7286
|
"full-width": "",
|
|
7287
7287
|
onClickEvent: (e) => xn(t)
|
|
7288
7288
|
}, null, 8, [
|
|
@@ -7290,177 +7290,177 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7290
7290
|
"disabled",
|
|
7291
7291
|
"onClickEvent"
|
|
7292
7292
|
])),
|
|
7293
|
-
|
|
7293
|
+
ne(T("span", mr, [l(H, {
|
|
7294
7294
|
icon: "exclamation-triangle",
|
|
7295
7295
|
type: "fas"
|
|
7296
|
-
}),
|
|
7297
|
-
searchAdults:
|
|
7298
|
-
selectedAdults:
|
|
7299
|
-
})), 1)], 512), [[
|
|
7300
|
-
|
|
7296
|
+
}), T("span", null, h(r(c)("hotel.mismatchingAdults", {
|
|
7297
|
+
searchAdults: r(ht),
|
|
7298
|
+
selectedAdults: r(Xe)
|
|
7299
|
+
})), 1)], 512), [[ee, r(U)]]),
|
|
7300
|
+
ne(T("span", hr, [l(H, {
|
|
7301
7301
|
icon: "exclamation-triangle",
|
|
7302
7302
|
type: "fas"
|
|
7303
|
-
}),
|
|
7304
|
-
searchChildren:
|
|
7305
|
-
selectedChildren:
|
|
7306
|
-
})), 1)], 512), [[
|
|
7303
|
+
}), T("span", null, h(r(c)("hotel.mismatchingChildren", {
|
|
7304
|
+
searchChildren: r(gt),
|
|
7305
|
+
selectedChildren: r(Ze)
|
|
7306
|
+
})), 1)], 512), [[ee, r(Ye)]])
|
|
7307
7307
|
]),
|
|
7308
7308
|
_: 2
|
|
7309
7309
|
}, 1024)]),
|
|
7310
|
-
addons:
|
|
7310
|
+
addons: S(({ next: e, prev: t }) => [r(Ne) ? (b(), u(Y, {
|
|
7311
7311
|
key: 0,
|
|
7312
7312
|
"prev-callback": () => _n(t)
|
|
7313
7313
|
}, {
|
|
7314
|
-
form:
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
innerHTML:
|
|
7314
|
+
form: S(() => [T("form", gr, [
|
|
7315
|
+
T("h2", null, [T("span", null, h(r(c)("booking.reservation.addons")), 1)]),
|
|
7316
|
+
r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div", _r, [T("p", {
|
|
7317
|
+
innerHTML: r(c)("hotel.addonTopNotice"),
|
|
7318
7318
|
class: "konnectio-wysiwyg"
|
|
7319
|
-
}, null, 8, vr)])) :
|
|
7320
|
-
|
|
7321
|
-
key: `${
|
|
7319
|
+
}, null, 8, vr)])) : d("", !0),
|
|
7320
|
+
T("div", null, [isNaN(r(p)) ? (b(), m("div", yr, [(b(!0), m(a, null, w(r(Se), (e) => (b(), m(a, { key: e.roomGroupID }, [r(Z)(e) ? (b(), m("ul", br, [(b(!0), m(a, null, w(e.variants, (t, n) => (b(), m("li", { key: t.ratePlanID }, [T("h4", null, [T("span", null, h(r(pe)(e.title)), 1)]), (b(!0), m(a, null, w(on(t.rooms), (i) => (b(), m("table", {
|
|
7321
|
+
key: `${i.configIdx}-${i.roomIdx}`,
|
|
7322
7322
|
class: "konnectio-table with-lines without-header"
|
|
7323
|
-
}, [
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7323
|
+
}, [T("thead", null, [T("tr", null, [
|
|
7324
|
+
T("th", null, [T("span", null, h(r(pe)(t.name)), 1)]),
|
|
7325
|
+
d("", !0),
|
|
7326
|
+
T("th", xr, [T("b", null, [
|
|
7327
|
+
l(H, {
|
|
7328
7328
|
icon: "male",
|
|
7329
7329
|
type: "fas",
|
|
7330
7330
|
color: "font"
|
|
7331
7331
|
}),
|
|
7332
|
-
|
|
7333
|
-
|
|
7332
|
+
T("span", null, h(i.adultsCount), 1),
|
|
7333
|
+
i.childrenCount > 0 ? (b(), u(H, {
|
|
7334
7334
|
key: 0,
|
|
7335
7335
|
icon: "child",
|
|
7336
7336
|
type: "fas",
|
|
7337
7337
|
color: "font"
|
|
7338
|
-
})) :
|
|
7339
|
-
|
|
7338
|
+
})) : d("", !0),
|
|
7339
|
+
i.childrenCount > 0 ? (b(), m("span", Sr, h(i.childrenCount), 1)) : d("", !0)
|
|
7340
7340
|
])])
|
|
7341
|
-
])]),
|
|
7342
|
-
src:
|
|
7341
|
+
])]), T("tbody", null, [(b(!0), m(a, null, w(r(Yt)(t.addons, i.childrenCount), ({ cardinality: t, quantityStrategy: o, maximumNumber: s, id: c, name: f, price: p, image: g, description: _ }) => (b(), m("tr", { key: c }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": g }]) }, [g ? (b(), m("div", Cr, [l(r(xt), {
|
|
7342
|
+
src: g,
|
|
7343
7343
|
"zoom-scale": 1
|
|
7344
|
-
}, null, 8, ["src"])])) :
|
|
7345
|
-
|
|
7346
|
-
|
|
7347
|
-
|
|
7344
|
+
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7345
|
+
T("b", null, h(r(pe)(f)), 1),
|
|
7346
|
+
T("span", null, h(r(Te)(p, r(K))) + " " + h(r(le)(o)), 1),
|
|
7347
|
+
_ ? (b(), m("p", {
|
|
7348
7348
|
key: 0,
|
|
7349
|
-
innerHTML:
|
|
7350
|
-
}, null, 8, wr)) :
|
|
7351
|
-
])], 2),
|
|
7349
|
+
innerHTML: r(ge)(_)
|
|
7350
|
+
}, null, 8, wr)) : d("", !0)
|
|
7351
|
+
])], 2), T("td", Tr, [r(be)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx] ? (b(), m(a, { key: 0 }, [t === r(we).Mandatory ? (b(), u(ke, {
|
|
7352
7352
|
key: 0,
|
|
7353
7353
|
"model-value": 1,
|
|
7354
7354
|
small: !0,
|
|
7355
7355
|
"min-value": 1,
|
|
7356
7356
|
"max-value": 1,
|
|
7357
7357
|
readonly: ""
|
|
7358
|
-
})) : (
|
|
7358
|
+
})) : (b(), u(ke, {
|
|
7359
7359
|
key: 1,
|
|
7360
|
-
modelValue:
|
|
7361
|
-
"onUpdate:modelValue": (t) =>
|
|
7360
|
+
modelValue: r(be)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][c],
|
|
7361
|
+
"onUpdate:modelValue": (t) => r(be)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][c] = t,
|
|
7362
7362
|
small: !0,
|
|
7363
7363
|
"min-value": 0,
|
|
7364
|
-
"max-value":
|
|
7364
|
+
"max-value": r(ue)(t, s)
|
|
7365
7365
|
}, null, 8, [
|
|
7366
7366
|
"modelValue",
|
|
7367
7367
|
"onUpdate:modelValue",
|
|
7368
7368
|
"max-value"
|
|
7369
|
-
]))], 64)) :
|
|
7369
|
+
]))], 64)) : d("", !0)])]))), 128))])]))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(te).length > 0 ? (b(), m("div", Er, [T("div", null, [T("h4", null, [T("span", null, h(r(He)?.name), 1)]), (b(!0), m(a, null, w(sn.value, (e) => (b(), m("table", {
|
|
7370
7370
|
key: `${e.roomGroupId}-${e.configIdx}`,
|
|
7371
7371
|
class: "konnectio-table with-lines without-header"
|
|
7372
|
-
}, [
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
])]),
|
|
7377
|
-
src:
|
|
7372
|
+
}, [T("thead", null, [T("tr", null, [
|
|
7373
|
+
T("th", null, [T("span", null, h(r(pe)(r(ze).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), m("span", Dr, "(" + h(r(c)("booking.reservation.room")) + " " + h(e.unitNumber) + ")", 1)) : d("", !0)]),
|
|
7374
|
+
d("", !0),
|
|
7375
|
+
o[24] ||= T("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7376
|
+
])]), T("tbody", null, [(b(!0), m(a, null, w(r(Yt)(r(ze).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: i, id: a, name: o, price: s, description: c, image: f }) => (b(), m("tr", { key: a }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": f }]) }, [f ? (b(), m("div", Or, [l(r(xt), {
|
|
7377
|
+
src: f,
|
|
7378
7378
|
"zoom-scale": 1
|
|
7379
|
-
}, null, 8, ["src"])])) :
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7379
|
+
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7380
|
+
T("b", null, h(r(pe)(o)), 1),
|
|
7381
|
+
T("span", null, h(r(Te)(s, r(K))) + " " + h(r(le)(n)), 1),
|
|
7382
|
+
c ? (b(), m("p", {
|
|
7383
7383
|
key: 0,
|
|
7384
|
-
innerHTML:
|
|
7385
|
-
}, null, 8, kr)) :
|
|
7386
|
-
])], 2),
|
|
7384
|
+
innerHTML: r(ge)(c)
|
|
7385
|
+
}, null, 8, kr)) : d("", !0)
|
|
7386
|
+
])], 2), T("td", Ar, [t === r(we).Mandatory ? (b(), u(ke, {
|
|
7387
7387
|
key: 0,
|
|
7388
7388
|
"model-value": 1,
|
|
7389
7389
|
small: !0,
|
|
7390
7390
|
"min-value": 1,
|
|
7391
7391
|
"max-value": 1,
|
|
7392
7392
|
readonly: ""
|
|
7393
|
-
})) : (
|
|
7393
|
+
})) : (b(), u(ke, {
|
|
7394
7394
|
key: 1,
|
|
7395
|
-
modelValue:
|
|
7396
|
-
"onUpdate:modelValue": (t) =>
|
|
7395
|
+
modelValue: r(g)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
|
|
7396
|
+
"onUpdate:modelValue": (t) => r(g)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
|
|
7397
7397
|
small: !0,
|
|
7398
7398
|
"min-value": 0,
|
|
7399
|
-
"max-value":
|
|
7399
|
+
"max-value": r(ue)(t, i)
|
|
7400
7400
|
}, null, 8, [
|
|
7401
7401
|
"modelValue",
|
|
7402
7402
|
"onUpdate:modelValue",
|
|
7403
7403
|
"max-value"
|
|
7404
|
-
]))])]))), 128))])]))), 128))])])) :
|
|
7404
|
+
]))])]))), 128))])]))), 128))])])) : d("", !0)])
|
|
7405
7405
|
])]),
|
|
7406
|
-
navigation:
|
|
7407
|
-
label:
|
|
7406
|
+
navigation: S(() => [l(Me, {
|
|
7407
|
+
label: r(c)("general.startReservation"),
|
|
7408
7408
|
"full-width": "",
|
|
7409
7409
|
onClickEvent: (t) => gn(e)
|
|
7410
7410
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7411
7411
|
_: 2
|
|
7412
|
-
}, 1032, ["prev-callback"])) :
|
|
7413
|
-
reservation:
|
|
7412
|
+
}, 1032, ["prev-callback"])) : d("", !0)]),
|
|
7413
|
+
reservation: S(({ next: t, prev: n, reset: i }) => [r(Ne) ? (b(), u(Y, {
|
|
7414
7414
|
key: 0,
|
|
7415
7415
|
"prev-callback": () => _n(n),
|
|
7416
7416
|
"show-terms-notice": !0,
|
|
7417
7417
|
"show-gift-card": !0
|
|
7418
7418
|
}, {
|
|
7419
|
-
form:
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
innerHTML:
|
|
7419
|
+
form: S(() => [T("form", jr, [
|
|
7420
|
+
T("h2", null, [T("span", null, h(r(c)("booking.reservation.detailsTitle")), 1)]),
|
|
7421
|
+
r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div", Mr, [T("p", {
|
|
7422
|
+
innerHTML: r(c)("hotel.reservationTopNotice"),
|
|
7423
7423
|
class: "konnectio-wysiwyg"
|
|
7424
|
-
}, null, 8, Nr)])) :
|
|
7425
|
-
|
|
7424
|
+
}, null, 8, Nr)])) : d("", !0),
|
|
7425
|
+
r(Nt)(r(f)) && r(Pt)(r(f)) && r(Ft)(r(f)) ? (b(), m("ul", {
|
|
7426
7426
|
key: 1,
|
|
7427
|
-
class:
|
|
7428
|
-
}, [
|
|
7429
|
-
modelValue:
|
|
7430
|
-
"onUpdate:modelValue":
|
|
7431
|
-
label:
|
|
7427
|
+
class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(Pt)(r(f)) && r(Ft)(r(f)) }])
|
|
7428
|
+
}, [r(Pt)(r(f)) ? (b(), m("li", Pr, [l(kn, {
|
|
7429
|
+
modelValue: r(j),
|
|
7430
|
+
"onUpdate:modelValue": o[3] ||= (e) => y(j) ? j.value = e : null,
|
|
7431
|
+
label: r(c)("booking.reservation.arrivalTime"),
|
|
7432
7432
|
icon: "hourglass-start",
|
|
7433
|
-
"min-time":
|
|
7434
|
-
"max-time":
|
|
7433
|
+
"min-time": r(It)(r(f)),
|
|
7434
|
+
"max-time": r(Lt)(r(f)),
|
|
7435
7435
|
required: ""
|
|
7436
7436
|
}, null, 8, [
|
|
7437
7437
|
"modelValue",
|
|
7438
7438
|
"label",
|
|
7439
7439
|
"min-time",
|
|
7440
7440
|
"max-time"
|
|
7441
|
-
])])) :
|
|
7442
|
-
modelValue:
|
|
7443
|
-
"onUpdate:modelValue":
|
|
7444
|
-
label:
|
|
7441
|
+
])])) : d("", !0), r(Ft)(r(f)) ? (b(), m("li", Fr, [l(kn, {
|
|
7442
|
+
modelValue: r(M),
|
|
7443
|
+
"onUpdate:modelValue": o[4] ||= (e) => y(M) ? M.value = e : null,
|
|
7444
|
+
label: r(c)("booking.reservation.departureTime"),
|
|
7445
7445
|
icon: "hourglass-end",
|
|
7446
|
-
"min-time":
|
|
7447
|
-
"max-time":
|
|
7446
|
+
"min-time": r(Rt)(r(f)),
|
|
7447
|
+
"max-time": r(zt)(r(f)),
|
|
7448
7448
|
required: ""
|
|
7449
7449
|
}, null, 8, [
|
|
7450
7450
|
"modelValue",
|
|
7451
7451
|
"label",
|
|
7452
7452
|
"min-time",
|
|
7453
7453
|
"max-time"
|
|
7454
|
-
])])) :
|
|
7455
|
-
|
|
7456
|
-
modelValue:
|
|
7457
|
-
"onUpdate:modelValue":
|
|
7458
|
-
title:
|
|
7459
|
-
"onUpdate:title":
|
|
7460
|
-
"exclude-title":
|
|
7461
|
-
label:
|
|
7454
|
+
])])) : d("", !0)], 2)) : d("", !0),
|
|
7455
|
+
l(Mn, {
|
|
7456
|
+
modelValue: r(N),
|
|
7457
|
+
"onUpdate:modelValue": o[5] ||= (e) => y(N) ? N.value = e : null,
|
|
7458
|
+
title: r(P),
|
|
7459
|
+
"onUpdate:title": o[6] ||= (e) => y(P) ? P.value = e : null,
|
|
7460
|
+
"exclude-title": r(St),
|
|
7461
|
+
label: r(c)("booking.reservation.name"),
|
|
7462
7462
|
icon: "user-alt",
|
|
7463
|
-
placeholder:
|
|
7463
|
+
placeholder: r(c)("booking.reservation.namePlaceholder"),
|
|
7464
7464
|
error: Q("guest.name"),
|
|
7465
7465
|
required: ""
|
|
7466
7466
|
}, null, 8, [
|
|
@@ -7471,16 +7471,16 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7471
7471
|
"placeholder",
|
|
7472
7472
|
"error"
|
|
7473
7473
|
]),
|
|
7474
|
-
|
|
7475
|
-
modelValue:
|
|
7476
|
-
"onUpdate:modelValue":
|
|
7474
|
+
l(Oe, {
|
|
7475
|
+
modelValue: r(F),
|
|
7476
|
+
"onUpdate:modelValue": o[7] ||= (e) => y(F) ? F.value = e : null,
|
|
7477
7477
|
type: "email",
|
|
7478
7478
|
name: "email",
|
|
7479
7479
|
autocomplete: "email",
|
|
7480
7480
|
inputmode: "email",
|
|
7481
|
-
label:
|
|
7481
|
+
label: r(c)("booking.reservation.email"),
|
|
7482
7482
|
icon: "at",
|
|
7483
|
-
placeholder:
|
|
7483
|
+
placeholder: r(c)("booking.reservation.emailPlaceholder"),
|
|
7484
7484
|
error: Q("guest.email"),
|
|
7485
7485
|
required: ""
|
|
7486
7486
|
}, null, 8, [
|
|
@@ -7489,34 +7489,34 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7489
7489
|
"placeholder",
|
|
7490
7490
|
"error"
|
|
7491
7491
|
]),
|
|
7492
|
-
|
|
7493
|
-
modelValue:
|
|
7494
|
-
"onUpdate:modelValue":
|
|
7492
|
+
r(At) ? d("", !0) : (b(), m("div", Ir, [l(Ie, {
|
|
7493
|
+
modelValue: r(Ke),
|
|
7494
|
+
"onUpdate:modelValue": o[8] ||= (e) => y(Ke) ? Ke.value = e : null,
|
|
7495
7495
|
type: "checkbox",
|
|
7496
7496
|
name: "newsletter",
|
|
7497
|
-
label:
|
|
7497
|
+
label: r(c)("booking.reservation.newsletterSignUp")
|
|
7498
7498
|
}, null, 8, ["modelValue", "label"])])),
|
|
7499
|
-
|
|
7499
|
+
r(Tt) ? d("", !0) : (b(), u(Oe, {
|
|
7500
7500
|
key: 3,
|
|
7501
|
-
modelValue:
|
|
7502
|
-
"onUpdate:modelValue":
|
|
7501
|
+
modelValue: r(R),
|
|
7502
|
+
"onUpdate:modelValue": o[9] ||= (e) => y(R) ? R.value = e : null,
|
|
7503
7503
|
type: "text",
|
|
7504
7504
|
name: "firm",
|
|
7505
7505
|
autocomplete: "firm",
|
|
7506
|
-
label:
|
|
7506
|
+
label: r(c)("booking.reservation.companyName"),
|
|
7507
7507
|
icon: "id-card",
|
|
7508
|
-
placeholder:
|
|
7508
|
+
placeholder: r(c)("booking.reservation.companyNamePlaceholder")
|
|
7509
7509
|
}, null, 8, [
|
|
7510
7510
|
"modelValue",
|
|
7511
7511
|
"label",
|
|
7512
7512
|
"placeholder"
|
|
7513
7513
|
])),
|
|
7514
|
-
|
|
7515
|
-
modelValue:
|
|
7516
|
-
"onUpdate:modelValue":
|
|
7514
|
+
l(Pe, {
|
|
7515
|
+
modelValue: r(I),
|
|
7516
|
+
"onUpdate:modelValue": o[10] ||= (e) => y(I) ? I.value = e : null,
|
|
7517
7517
|
icon: "phone-office",
|
|
7518
|
-
label:
|
|
7519
|
-
placeholder:
|
|
7518
|
+
label: r(c)("booking.reservation.phone"),
|
|
7519
|
+
placeholder: r(c)("booking.reservation.phonePlaceholder"),
|
|
7520
7520
|
error: Q("guest.phone"),
|
|
7521
7521
|
required: ""
|
|
7522
7522
|
}, null, 8, [
|
|
@@ -7525,12 +7525,12 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7525
7525
|
"placeholder",
|
|
7526
7526
|
"error"
|
|
7527
7527
|
]),
|
|
7528
|
-
|
|
7529
|
-
modelValue:
|
|
7530
|
-
"onUpdate:modelValue":
|
|
7531
|
-
label:
|
|
7532
|
-
placeholder:
|
|
7533
|
-
options:
|
|
7528
|
+
l(jn, {
|
|
7529
|
+
modelValue: r(B),
|
|
7530
|
+
"onUpdate:modelValue": o[11] ||= (e) => y(B) ? B.value = e : null,
|
|
7531
|
+
label: r(c)("booking.reservation.country"),
|
|
7532
|
+
placeholder: r(c)("booking.reservation.countryPlaceholder"),
|
|
7533
|
+
options: r(re),
|
|
7534
7534
|
error: Q("guest.country"),
|
|
7535
7535
|
required: ""
|
|
7536
7536
|
}, null, 8, [
|
|
@@ -7540,15 +7540,15 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7540
7540
|
"options",
|
|
7541
7541
|
"error"
|
|
7542
7542
|
]),
|
|
7543
|
-
|
|
7544
|
-
modelValue:
|
|
7545
|
-
"onUpdate:modelValue":
|
|
7543
|
+
l(Oe, {
|
|
7544
|
+
modelValue: r(fe),
|
|
7545
|
+
"onUpdate:modelValue": o[12] ||= (e) => y(fe) ? fe.value = e : null,
|
|
7546
7546
|
type: "textarea",
|
|
7547
7547
|
name: "address",
|
|
7548
7548
|
autocomplete: "street-address",
|
|
7549
|
-
label:
|
|
7549
|
+
label: r(c)("booking.reservation.streetAddress"),
|
|
7550
7550
|
icon: "map-marked",
|
|
7551
|
-
placeholder:
|
|
7551
|
+
placeholder: r(c)("booking.reservation.streetAddressPlaceholder"),
|
|
7552
7552
|
error: Q("guest.address1"),
|
|
7553
7553
|
required: ""
|
|
7554
7554
|
}, null, 8, [
|
|
@@ -7557,15 +7557,15 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7557
7557
|
"placeholder",
|
|
7558
7558
|
"error"
|
|
7559
7559
|
]),
|
|
7560
|
-
|
|
7561
|
-
modelValue:
|
|
7562
|
-
"onUpdate:modelValue":
|
|
7560
|
+
T("ul", Lr, [T("li", null, [l(Oe, {
|
|
7561
|
+
modelValue: r(z),
|
|
7562
|
+
"onUpdate:modelValue": o[13] ||= (e) => y(z) ? z.value = e : null,
|
|
7563
7563
|
type: "text",
|
|
7564
7564
|
name: "postal",
|
|
7565
7565
|
autocomplete: "postal-code",
|
|
7566
|
-
label:
|
|
7566
|
+
label: r(c)("booking.reservation.postal"),
|
|
7567
7567
|
icon: "mailbox",
|
|
7568
|
-
placeholder:
|
|
7568
|
+
placeholder: r(c)("booking.reservation.postalPlaceholder"),
|
|
7569
7569
|
error: Q("guest.postal"),
|
|
7570
7570
|
required: ""
|
|
7571
7571
|
}, null, 8, [
|
|
@@ -7573,15 +7573,15 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7573
7573
|
"label",
|
|
7574
7574
|
"placeholder",
|
|
7575
7575
|
"error"
|
|
7576
|
-
])]),
|
|
7577
|
-
modelValue:
|
|
7578
|
-
"onUpdate:modelValue":
|
|
7576
|
+
])]), T("li", null, [l(Oe, {
|
|
7577
|
+
modelValue: r(ae),
|
|
7578
|
+
"onUpdate:modelValue": o[14] ||= (e) => y(ae) ? ae.value = e : null,
|
|
7579
7579
|
type: "text",
|
|
7580
7580
|
name: "city",
|
|
7581
7581
|
autocomplete: "address-level2",
|
|
7582
|
-
label:
|
|
7582
|
+
label: r(c)("booking.reservation.city"),
|
|
7583
7583
|
icon: "city",
|
|
7584
|
-
placeholder:
|
|
7584
|
+
placeholder: r(c)("booking.reservation.cityPlaceholder"),
|
|
7585
7585
|
error: Q("guest.city"),
|
|
7586
7586
|
required: ""
|
|
7587
7587
|
}, null, 8, [
|
|
@@ -7590,37 +7590,37 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7590
7590
|
"placeholder",
|
|
7591
7591
|
"error"
|
|
7592
7592
|
])])]),
|
|
7593
|
-
e.hideRemarks === "yes" ?
|
|
7593
|
+
e.hideRemarks === "yes" ? d("", !0) : (b(), u(Oe, {
|
|
7594
7594
|
key: 4,
|
|
7595
|
-
modelValue:
|
|
7596
|
-
"onUpdate:modelValue":
|
|
7595
|
+
modelValue: r(ve),
|
|
7596
|
+
"onUpdate:modelValue": o[15] ||= (e) => y(ve) ? ve.value = e : null,
|
|
7597
7597
|
type: "textarea",
|
|
7598
|
-
label:
|
|
7598
|
+
label: r(c)("booking.reservation.remark"),
|
|
7599
7599
|
icon: "info-circle",
|
|
7600
|
-
placeholder:
|
|
7600
|
+
placeholder: r(c)("booking.reservation.remarkPlaceholder")
|
|
7601
7601
|
}, null, 8, [
|
|
7602
7602
|
"modelValue",
|
|
7603
7603
|
"label",
|
|
7604
7604
|
"placeholder"
|
|
7605
7605
|
])),
|
|
7606
|
-
e.hideAllergies === "yes" ?
|
|
7606
|
+
e.hideAllergies === "yes" ? d("", !0) : (b(), u(Oe, {
|
|
7607
7607
|
key: 5,
|
|
7608
|
-
modelValue:
|
|
7609
|
-
"onUpdate:modelValue":
|
|
7608
|
+
modelValue: r(ye),
|
|
7609
|
+
"onUpdate:modelValue": o[16] ||= (e) => y(ye) ? ye.value = e : null,
|
|
7610
7610
|
type: "textarea",
|
|
7611
|
-
label:
|
|
7611
|
+
label: r(c)("booking.reservation.allergies"),
|
|
7612
7612
|
icon: "allergies",
|
|
7613
|
-
placeholder:
|
|
7613
|
+
placeholder: r(c)("booking.reservation.allergiesPlaceholder")
|
|
7614
7614
|
}, null, 8, [
|
|
7615
7615
|
"modelValue",
|
|
7616
7616
|
"label",
|
|
7617
7617
|
"placeholder"
|
|
7618
7618
|
])),
|
|
7619
|
-
|
|
7619
|
+
r(Ct) ? d("", !0) : (b(), u(qe, {
|
|
7620
7620
|
key: 6,
|
|
7621
|
-
modelValue:
|
|
7622
|
-
"onUpdate:modelValue":
|
|
7623
|
-
label:
|
|
7621
|
+
modelValue: r(A),
|
|
7622
|
+
"onUpdate:modelValue": o[17] ||= (e) => y(A) ? A.value = e : null,
|
|
7623
|
+
label: r(c)("booking.reservation.purposeOfStay"),
|
|
7624
7624
|
name: "travelingFor",
|
|
7625
7625
|
checkboxes: ln.value
|
|
7626
7626
|
}, null, 8, [
|
|
@@ -7628,77 +7628,77 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7628
7628
|
"label",
|
|
7629
7629
|
"checkboxes"
|
|
7630
7630
|
])),
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
])])) : (
|
|
7636
|
-
modelValue:
|
|
7637
|
-
"onUpdate:modelValue":
|
|
7638
|
-
label:
|
|
7631
|
+
r(at) ? (b(), m(a, { key: 7 }, [T("h3", null, [T("span", null, h(r(c)("hotel.memberCards.title")), 1)]), r(ut) ? (b(), m("div", Rr, [T("img", { src: r(dt)?.iconUrl }, null, 8, zr), T("ul", Br, [
|
|
7632
|
+
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(dt)?.shortDescription })), 1)]),
|
|
7633
|
+
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(ut).cardNumber), 1)]),
|
|
7634
|
+
r(ut).controlNr ? (b(), m("li", Vr, [T("span", null, h(r(c)("hotel.memberCards.controlNumber")) + ": " + h(r(ut).controlNr), 1)])) : d("", !0)
|
|
7635
|
+
])])) : (b(), m(a, { key: 1 }, [l(qe, {
|
|
7636
|
+
modelValue: r(st),
|
|
7637
|
+
"onUpdate:modelValue": o[18] ||= (e) => y(st) ? st.value = e : null,
|
|
7638
|
+
label: r(c)("hotel.memberCards.selectCard"),
|
|
7639
7639
|
name: "memberCard",
|
|
7640
|
-
checkboxes:
|
|
7640
|
+
checkboxes: r(ot)
|
|
7641
7641
|
}, null, 8, [
|
|
7642
7642
|
"modelValue",
|
|
7643
7643
|
"label",
|
|
7644
7644
|
"checkboxes"
|
|
7645
|
-
]),
|
|
7646
|
-
|
|
7647
|
-
modelValue:
|
|
7648
|
-
"onUpdate:modelValue":
|
|
7645
|
+
]), r(st) ? (b(), m("form", Hr, [
|
|
7646
|
+
l(Oe, {
|
|
7647
|
+
modelValue: r(lt),
|
|
7648
|
+
"onUpdate:modelValue": o[19] ||= (e) => y(lt) ? lt.value = e : null,
|
|
7649
7649
|
type: "number",
|
|
7650
|
-
label:
|
|
7650
|
+
label: r(c)("hotel.memberCards.cardNumber"),
|
|
7651
7651
|
icon: "credit-card",
|
|
7652
|
-
placeholder:
|
|
7652
|
+
placeholder: r(c)("hotel.memberCards.cardNumberPlaceholder"),
|
|
7653
7653
|
required: ""
|
|
7654
7654
|
}, null, 8, [
|
|
7655
7655
|
"modelValue",
|
|
7656
7656
|
"label",
|
|
7657
7657
|
"placeholder"
|
|
7658
7658
|
]),
|
|
7659
|
-
|
|
7659
|
+
r(st) === r(Ae).FirmaCard ? (b(), u(Oe, {
|
|
7660
7660
|
key: 0,
|
|
7661
|
-
modelValue:
|
|
7662
|
-
"onUpdate:modelValue":
|
|
7661
|
+
modelValue: r(ct),
|
|
7662
|
+
"onUpdate:modelValue": o[20] ||= (e) => y(ct) ? ct.value = e : null,
|
|
7663
7663
|
type: "text",
|
|
7664
|
-
label:
|
|
7664
|
+
label: r(c)("hotel.memberCards.cardControlNumber"),
|
|
7665
7665
|
icon: "id-card",
|
|
7666
|
-
placeholder:
|
|
7666
|
+
placeholder: r(c)("hotel.memberCards.cardControlNumberPlaceholder"),
|
|
7667
7667
|
required: ""
|
|
7668
7668
|
}, null, 8, [
|
|
7669
7669
|
"modelValue",
|
|
7670
7670
|
"label",
|
|
7671
7671
|
"placeholder"
|
|
7672
|
-
])) :
|
|
7673
|
-
|
|
7672
|
+
])) : d("", !0),
|
|
7673
|
+
r(st) === r(Ae).DaneAge ? (b(), u(Oe, {
|
|
7674
7674
|
key: 1,
|
|
7675
|
-
modelValue:
|
|
7676
|
-
"onUpdate:modelValue":
|
|
7675
|
+
modelValue: r(z),
|
|
7676
|
+
"onUpdate:modelValue": o[21] ||= (e) => y(z) ? z.value = e : null,
|
|
7677
7677
|
type: "text",
|
|
7678
7678
|
name: "postal",
|
|
7679
7679
|
autocomplete: "postal-code",
|
|
7680
|
-
label:
|
|
7680
|
+
label: r(c)("booking.reservation.postal"),
|
|
7681
7681
|
icon: "mailbox",
|
|
7682
|
-
placeholder:
|
|
7682
|
+
placeholder: r(c)("booking.reservation.postalPlaceholder"),
|
|
7683
7683
|
required: ""
|
|
7684
7684
|
}, null, 8, [
|
|
7685
7685
|
"modelValue",
|
|
7686
7686
|
"label",
|
|
7687
7687
|
"placeholder"
|
|
7688
|
-
])) :
|
|
7689
|
-
|
|
7690
|
-
label:
|
|
7688
|
+
])) : d("", !0),
|
|
7689
|
+
l(Me, {
|
|
7690
|
+
label: r(c)("hotel.memberCards.validateAndSelectCard"),
|
|
7691
7691
|
"full-width": "",
|
|
7692
|
-
onClickEvent:
|
|
7692
|
+
onClickEvent: r(Qt)
|
|
7693
7693
|
}, null, 8, ["label", "onClickEvent"])
|
|
7694
|
-
])) :
|
|
7694
|
+
])) : d("", !0)], 64))], 64)) : d("", !0)
|
|
7695
7695
|
])]),
|
|
7696
|
-
navigation:
|
|
7697
|
-
label:
|
|
7698
|
-
disabled: !
|
|
7699
|
-
"is-loading":
|
|
7696
|
+
navigation: S(() => [T("div", null, [r(mt) ? (b(), u(Re, { key: 0 })) : d("", !0), l(Me, {
|
|
7697
|
+
label: r(Et) ? r(c)("booking.reservation.nextButton") : r(c)("general.confirmReservation"),
|
|
7698
|
+
disabled: !r(k),
|
|
7699
|
+
"is-loading": r(D) || r(mt),
|
|
7700
7700
|
"full-width": "",
|
|
7701
|
-
onClickEvent: (e) => vn(t,
|
|
7701
|
+
onClickEvent: (e) => vn(t, i)
|
|
7702
7702
|
}, null, 8, [
|
|
7703
7703
|
"label",
|
|
7704
7704
|
"disabled",
|
|
@@ -7706,19 +7706,19 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7706
7706
|
"onClickEvent"
|
|
7707
7707
|
])])]),
|
|
7708
7708
|
_: 2
|
|
7709
|
-
}, 1032, ["prev-callback"])) :
|
|
7710
|
-
payment:
|
|
7711
|
-
confirmation:
|
|
7709
|
+
}, 1032, ["prev-callback"])) : d("", !0)]),
|
|
7710
|
+
payment: S(({ prev: e }) => [l(Ve), d("", !0)]),
|
|
7711
|
+
confirmation: S(() => [l(Je, { message: r(c)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
|
|
7712
7712
|
_: 1
|
|
7713
7713
|
}, 8, [
|
|
7714
7714
|
"layout",
|
|
7715
7715
|
"steps",
|
|
7716
7716
|
"onReset"
|
|
7717
|
-
]), [[
|
|
7717
|
+
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(et)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && r(tt))]])
|
|
7718
7718
|
]),
|
|
7719
7719
|
_: 1
|
|
7720
7720
|
}, 8, ["access-token", "callback"])]),
|
|
7721
|
-
fallback:
|
|
7721
|
+
fallback: S(() => [l(In)]),
|
|
7722
7722
|
_: 1
|
|
7723
7723
|
}))]),
|
|
7724
7724
|
_: 1
|
|
@@ -8361,8 +8361,8 @@ function Wi(e = {}) {
|
|
|
8361
8361
|
}
|
|
8362
8362
|
//#endregion
|
|
8363
8363
|
//#region src/entries/hotel.ts
|
|
8364
|
-
var Gi =
|
|
8365
|
-
e.use(
|
|
8364
|
+
var Gi = j(), Ki = /* @__PURE__ */ Wi(), qi = A("konnectio-hotel", Wr, (e) => {
|
|
8365
|
+
e.use(ae), e.use(Ki), e.use(Gi), e.use(k), e.use(et), e.use(Ge);
|
|
8366
8366
|
});
|
|
8367
8367
|
//#endregion
|
|
8368
8368
|
export { qi as default };
|