@konnectio/core 4.1.7 → 4.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/{ActionField-DjTI464b.js → ActionField-BuKxbqV7.js} +9 -9
  2. package/dist/ActionField-BuKxbqV7.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BRDT9bRg.js → AvailabilitySkeleton-BlvXi0xW.js} +95 -95
  4. package/dist/AvailabilitySkeleton-BlvXi0xW.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-wugi72k0.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BTNcOGLh.js} +438 -440
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BTNcOGLh.js.br +0 -0
  7. package/dist/{CheckoutWindow-CL1xtDPl.js → CheckoutWindow-DwhpIiYi.js} +54 -54
  8. package/dist/CheckoutWindow-DwhpIiYi.js.br +0 -0
  9. package/dist/{ErrorMessage-C7foQSgj.js → ErrorMessage-CFzuw9j3.js} +3 -3
  10. package/dist/ErrorMessage-CFzuw9j3.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DtxVFkKn.js → EventAvailabilityForm-ZZU_N5wA.js} +10 -10
  12. package/dist/EventAvailabilityForm-ZZU_N5wA.js.br +0 -0
  13. package/dist/{Field-CyVn3yqj.js → Field-oNxIsCLM.js} +11 -11
  14. package/dist/Field-oNxIsCLM.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Buq-W8Ku.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DnsnaJRD.js} +5 -5
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-B2eUiZ4y.js → SelectField.vue_vue_type_style_index_0_lang-DtzW1W2I.js} +2211 -2229
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-DtzW1W2I.js.br +0 -0
  18. package/dist/{TermsOfService-BaCz03JB.js → TermsOfService-DXELOUBd.js} +9 -9
  19. package/dist/_-C8wP6TJP.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DypmLO3s.js → _.vue_vue_type_style_index_0_lang-C5yEglNb.js} +4 -4
  21. package/dist/availability.js +16 -16
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +8 -8
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/deep-link.js +5 -5
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +98 -98
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +17 -17
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +19 -19
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-87XblX68.js → giftCard-CG-DSH3E.js} +3 -3
  36. package/dist/giftCard-CG-DSH3E.js.br +0 -0
  37. package/dist/hotel.js +1155 -1149
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-WqxIRraz.js → masonry.plugin-BiWgaSkR.js} +490 -502
  40. package/dist/masonry.plugin-BiWgaSkR.js.br +0 -0
  41. package/dist/{mitt-tv_9an17.js → mitt-BysJOgFD.js} +1782 -1795
  42. package/dist/mitt-BysJOgFD.js.br +0 -0
  43. package/dist/polyfill.js +1 -1
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/{style-9BJALyEF.js → style-CFj6q1kW.js} +51 -51
  46. package/dist/style-CFj6q1kW.js.br +0 -0
  47. package/package.json +14 -14
  48. package/dist/ActionField-DjTI464b.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-BRDT9bRg.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-wugi72k0.js.br +0 -0
  51. package/dist/CheckoutWindow-CL1xtDPl.js.br +0 -0
  52. package/dist/ErrorMessage-C7foQSgj.js.br +0 -0
  53. package/dist/EventAvailabilityForm-DtxVFkKn.js.br +0 -0
  54. package/dist/Field-CyVn3yqj.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-B2eUiZ4y.js.br +0 -0
  56. package/dist/_-JpqFvzMW.js +0 -5
  57. package/dist/giftCard-87XblX68.js.br +0 -0
  58. package/dist/masonry.plugin-WqxIRraz.js.br +0 -0
  59. package/dist/mitt-tv_9an17.js.br +0 -0
  60. package/dist/style-9BJALyEF.js.br +0 -0
@@ -1,8 +1,8 @@
1
- import { d as defineComponent, O as resolveComponent, P as h, Q as Comment, R as Text, F as Fragment, U as getCurrentInstance, r as ref, c as computed$1, D as watch, o as onMounted, a as openBlock, g as createElementBlock, b as createBlock, w as withCtx, e as createBaseVNode, h as withModifiers, j as createCommentVNode, f as createVNode, z as renderList, i as unref, n as normalizeClass, u as useI18n, s as storeToRefs, y as createSlots, E as withDirectives, t as toDisplayString, V as inject, J as resolveDirective, W as reactive, X as onUnmounted, q as renderSlot, Y as normalizeStyle, M as nextTick, G as vShow, v as createTextVNode, Z as mergeModels, x as useSlots, $ as useModel, T as Transition, A as isRef, _ as _mitt } from "./mitt-tv_9an17.js";
2
- import { I as Icon, _ as _export_sfc, b as useHotelStore, f as useEventStore, T as TextField, P as convertDescription, B as BookingLayout, h as useUtilityStore, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, x as InputField, K as BookingHeaderLayout, N as emitter, w as getUserLanguage, y as useApplyGiftCardStore, d as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-B2eUiZ4y.js";
3
- import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-CL1xtDPl.js";
4
- import { A as ActionField } from "./ActionField-DjTI464b.js";
5
- import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Buq-W8Ku.js";
1
+ import { d as defineComponent, F as Fragment, O as Comment, P as Text, Q as h, R as getCurrentInstance, U as resolveComponent, r as ref, c as computed$1, D as watch, o as onMounted, h as createElementBlock, b as openBlock, a as createBlock, i as createCommentVNode, w as withCtx, A as renderList, e as createBaseVNode, j as withModifiers, f as createVNode, g as unref, n as normalizeClass, u as useI18n, s as storeToRefs, V as inject, J as resolveDirective, z as createSlots, E as withDirectives, t as toDisplayString, W as reactive, X as onUnmounted, Y as normalizeStyle, q as renderSlot, M as nextTick, G as vShow, v as createTextVNode, Z as mergeModels, x as useSlots, $ as useModel, T as Transition, y as isRef, _ as _mitt } from "./mitt-BysJOgFD.js";
2
+ import { I as Icon, _ as _export_sfc, b as useHotelStore, f as useEventStore, T as TextField, P as convertDescription, B as BookingLayout, h as useUtilityStore, q as capitalized, j as daysBetweenDates, n as showPrice, s as showDate, x as InputField, K as BookingHeaderLayout, N as emitter, w as getUserLanguage, y as useApplyGiftCardStore, e as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-DtzW1W2I.js";
3
+ import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-DwhpIiYi.js";
4
+ import { A as ActionField } from "./ActionField-BuKxbqV7.js";
5
+ import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DnsnaJRD.js";
6
6
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -144,8 +144,8 @@ var isUndefined = function(s) {
144
144
  var f = 0;
145
145
  try {
146
146
  for (var _ = __values$1(d), g = _.next(); !g.done; g = _.next()) {
147
- var y = g.value;
148
- if (y === e) {
147
+ var b = g.value;
148
+ if (b === e) {
149
149
  d.splice(f, 1), d.length <= 0 && delete this._eventHandler[t];
150
150
  break;
151
151
  }
@@ -345,8 +345,8 @@ function getLegacyAgent(s) {
345
345
  majorVersion: -1
346
346
  }, r = findPreset(BROWSER_PRESETS, i), l = r.preset, u = r.version, d = findPreset(OS_PRESETS, i), f = d.preset, _ = d.version, g = findPreset(CHROMIUM_PRESETS, i);
347
347
  if (e.chromium = !!g.preset, e.chromiumVersion = g.version, !e.chromium) {
348
- var y = findPreset(WEBKIT_PRESETS, i);
349
- e.webkit = !!y.preset, e.webkitVersion = y.version;
348
+ var b = findPreset(WEBKIT_PRESETS, i);
349
+ e.webkit = !!b.preset, e.webkitVersion = b.version;
350
350
  }
351
351
  return f && (n.name = f.id, n.version = _, n.majorVersion = parseInt(_, 10)), l && (e.name = l.id, e.version = u, e.webview && n.name === "ios" && e.name !== "safari" && (e.webview = !1)), e.majorVersion = parseInt(e.version, 10), {
352
352
  browser: e,
@@ -370,16 +370,16 @@ function getClientHintsAgent(s) {
370
370
  version: "-1",
371
371
  majorVersion: -1
372
372
  };
373
- l.webkit = !l.chromium && some(WEBKIT_PRESETS, function(y) {
374
- return findBrand(t, y);
373
+ l.webkit = !l.chromium && some(WEBKIT_PRESETS, function(b) {
374
+ return findBrand(t, b);
375
375
  });
376
376
  var d = findPresetBrand(CHROMIUM_PRESETS, t);
377
377
  if (l.chromium = !!d.brand, l.chromiumVersion = d.version, !l.chromium) {
378
378
  var f = findPresetBrand(WEBKIT_PRESETS, t);
379
379
  l.webkit = !!f.brand, l.webkitVersion = f.version;
380
380
  }
381
- var _ = find$1(OS_PRESETS, function(y) {
382
- return new RegExp("" + y.test, "g").exec(r);
381
+ var _ = find$1(OS_PRESETS, function(b) {
382
+ return new RegExp("" + b.test, "g").exec(r);
383
383
  });
384
384
  u.name = _ ? _.id : "";
385
385
  {
@@ -778,7 +778,7 @@ var requestAnimationFrame$2 = function(s) {
778
778
  }, i.triggerChange = function(t, e, n, r) {
779
779
  var l = this;
780
780
  r === void 0 && (r = !1);
781
- var u = this.animationManager, d = u.axisManager, f = u.getEventInfo(), _ = this._getRoundPos(t, e), g = _.roundPos, y = _.roundDepa, v = d.moveTo(g, y), m = n?.event || f?.event || null, b = {
781
+ var u = this.animationManager, d = u.axisManager, f = u.getEventInfo(), _ = this._getRoundPos(t, e), g = _.roundPos, b = _.roundDepa, v = d.moveTo(g, b), m = n?.event || f?.event || null, P = {
782
782
  pos: v.pos,
783
783
  delta: v.delta,
784
784
  bounceRatio: this._getBounceRatio(v.pos),
@@ -789,11 +789,11 @@ var requestAnimationFrame$2 = function(s) {
789
789
  set: m ? this._createUserControll(v.pos) : function() {
790
790
  }
791
791
  // eslint-disable-line @typescript-eslint/no-empty-function
792
- }, P = new ComponentEvent$1("change", b);
793
- return this._axes.trigger(P), Object.keys(v.pos).forEach(function(p) {
792
+ }, y = new ComponentEvent$1("change", P);
793
+ return this._axes.trigger(y), Object.keys(v.pos).forEach(function(p) {
794
794
  var E = v.pos[p];
795
795
  getObserver(l._axes, p, E).current = E;
796
- }), m && d.set(b.set().destPos), !P.isCanceled();
796
+ }), m && d.set(P.set().destPos), !y.isCanceled();
797
797
  }, i.triggerAnimationStart = function(t) {
798
798
  var e = this._getRoundPos(t.destPos, t.depaPos), n = e.roundPos, r = e.roundDepa;
799
799
  t.destPos = n, t.depaPos = r, t.setTo = this._createUserControll(t.destPos, t.duration);
@@ -946,8 +946,8 @@ var requestAnimationFrame$2 = function(s) {
946
946
  var e, n = this.prevEvent, r = this._getCenter(t), l = n ? this._getMovement(t) : {
947
947
  x: 0,
948
948
  y: 0
949
- }, u = n ? this._getScale(t) : 1, d = n ? getAngle(r.x - n.center.x, r.y - n.center.y) : 0, f = n ? n.deltaX + l.x : l.x, _ = n ? n.deltaY + l.y : l.y, g = l.x, y = l.y, v = this._latestInterval, m = Date.now(), b = v ? m - v.timestamp : 0, P = n ? n.velocityX : 0, p = n ? n.velocityY : 0;
950
- return (!v || b >= VELOCITY_INTERVAL) && (v && (e = [(f - v.deltaX) / b, (_ - v.deltaY) / b], P = e[0], p = e[1]), this._latestInterval = {
949
+ }, u = n ? this._getScale(t) : 1, d = n ? getAngle(r.x - n.center.x, r.y - n.center.y) : 0, f = n ? n.deltaX + l.x : l.x, _ = n ? n.deltaY + l.y : l.y, g = l.x, b = l.y, v = this._latestInterval, m = Date.now(), P = v ? m - v.timestamp : 0, y = n ? n.velocityX : 0, p = n ? n.velocityY : 0;
950
+ return (!v || P >= VELOCITY_INTERVAL) && (v && (e = [(f - v.deltaX) / P, (_ - v.deltaY) / P], y = e[0], p = e[1]), this._latestInterval = {
951
951
  timestamp: m,
952
952
  deltaX: f,
953
953
  deltaY: _
@@ -959,8 +959,8 @@ var requestAnimationFrame$2 = function(s) {
959
959
  deltaX: f,
960
960
  deltaY: _,
961
961
  offsetX: g,
962
- offsetY: y,
963
- velocityX: P,
962
+ offsetY: b,
963
+ velocityX: y,
964
964
  velocityY: p,
965
965
  preventSystemEvent: !0
966
966
  };
@@ -1184,19 +1184,19 @@ var InputObserver = /* @__PURE__ */ function() {
1184
1184
  this._isStopped = !1, this._interruptManager.setInterrupt(!0), this._animationManager.stopAnimation(n), ++this._eventManager.holdingCount, this._moveDistance || this._eventManager.hold(this._axisManager.get(), n), this._isOutside = this._axisManager.isOutside(t.axes), this._moveDistance = this._axisManager.get(t.axes);
1185
1185
  }
1186
1186
  }, i.change = function(t, e, n, r) {
1187
- if (!(this._isStopped || !this._interruptManager.isInterrupting() || this._axisManager.every(n, function(y) {
1188
- return y === 0;
1187
+ if (!(this._isStopped || !this._interruptManager.isInterrupting() || this._axisManager.every(n, function(b) {
1188
+ return b === 0;
1189
1189
  }))) {
1190
1190
  var l = e.srcEvent ? e.srcEvent : e;
1191
1191
  if (!l.__childrenAxesAlreadyChanged) {
1192
1192
  var u = this._moveDistance || this._axisManager.get(t.axes), d;
1193
- d = map(u, function(y, v) {
1194
- return y + (n[v] || 0);
1195
- }), this._moveDistance && (this._moveDistance = this._axisManager.map(d, function(y, v) {
1196
- var m = v.circular, b = v.range;
1197
- return m && (m[0] || m[1]) ? getCirculatedPos(y, b, m) : y;
1198
- })), this._isOutside && this._axisManager.every(u, function(y, v) {
1199
- return !isOutside(y, v.range);
1193
+ d = map(u, function(b, v) {
1194
+ return b + (n[v] || 0);
1195
+ }), this._moveDistance && (this._moveDistance = this._axisManager.map(d, function(b, v) {
1196
+ var m = v.circular, P = v.range;
1197
+ return m && (m[0] || m[1]) ? getCirculatedPos(b, P, m) : b;
1198
+ })), this._isOutside && this._axisManager.every(u, function(b, v) {
1199
+ return !isOutside(b, v.range);
1200
1200
  }) && (this._isOutside = !1), u = this._atOutside(u), d = this._atOutside(d), (!this.options.nested || !this._isEndofAxis(n, u, d)) && (l.__childrenAxesAlreadyChanged = !0);
1201
1201
  var f = {
1202
1202
  input: t,
@@ -1221,23 +1221,23 @@ var InputObserver = /* @__PURE__ */ function() {
1221
1221
  return E.circular && (E.circular[0] || E.circular[1]) ? u[T] + p : getInsidePosition(u[T] + p, E.range, E.circular, E.bounce);
1222
1222
  }));
1223
1223
  l.__childrenAxesAlreadyReleased = !0;
1224
- var y = this._animationManager.getDuration(g, u, r);
1225
- y === 0 && (g = __assign$3({}, d));
1224
+ var b = this._animationManager.getDuration(g, u, r);
1225
+ b === 0 && (g = __assign$3({}, d));
1226
1226
  var v = {
1227
1227
  depaPos: d,
1228
1228
  destPos: g,
1229
- duration: y,
1229
+ duration: b,
1230
1230
  delta: this._axisManager.getDelta(d, g),
1231
1231
  inputEvent: e,
1232
1232
  input: t,
1233
1233
  isTrusted: !0
1234
1234
  };
1235
1235
  --this._eventManager.holdingCount, this._eventManager.triggerRelease(v), this._eventManager.holdingCount === 0 && (this._moveDistance = null);
1236
- var m = this._animationManager.getUserControl(v), b = equal(m.destPos, d), P = {
1236
+ var m = this._animationManager.getUserControl(v), P = equal(m.destPos, d), y = {
1237
1237
  input: t,
1238
1238
  event: e
1239
1239
  };
1240
- b || m.duration === 0 ? (b || this._eventManager.triggerChange(m.destPos, d, P, !0), this._interruptManager.setInterrupt(!1), this._axisManager.isOutside() ? this._animationManager.restore(P) : this._eventManager.triggerFinish(!0)) : this._animationManager.animateTo(m.destPos, m.duration, P);
1240
+ P || m.duration === 0 ? (P || this._eventManager.triggerChange(m.destPos, d, y, !0), this._interruptManager.setInterrupt(!1), this._axisManager.isOutside() ? this._animationManager.restore(y) : this._eventManager.triggerFinish(!0)) : this._animationManager.animateTo(m.destPos, m.duration, y);
1241
1241
  }
1242
1242
  }, i._atOutside = function(t) {
1243
1243
  var e = this;
@@ -1318,8 +1318,8 @@ var InputObserver = /* @__PURE__ */ function() {
1318
1318
  var r = this;
1319
1319
  this.stopAnimation();
1320
1320
  var l = this._createAnimationParam(t, e, n), u = __assign$3({}, l.depaPos), d = this.eventManager.triggerAnimationStart(l), f = this.getUserControl(l);
1321
- if (!d && this.axisManager.every(f.destPos, function(g, y) {
1322
- return isCircularable(g, y.range, y.circular);
1321
+ if (!d && this.axisManager.every(f.destPos, function(g, b) {
1322
+ return isCircularable(g, b.range, b.circular);
1323
1323
  }) && console.warn("You can't stop the 'animation' event when 'circular' is true."), d && !equal(f.destPos, u)) {
1324
1324
  var _ = n?.event || null;
1325
1325
  this._animateLoop({
@@ -1436,16 +1436,16 @@ var InputObserver = /* @__PURE__ */ function() {
1436
1436
  }, t._getNextState = function(e) {
1437
1437
  var n = this, r = this._animateParam, l = e.pos, u = r.destPos, d = map(l, function(v, m) {
1438
1438
  return v <= u[m] ? 1 : -1;
1439
- }), f = (/* @__PURE__ */ new Date()).getTime() - r.startTime, _ = (f + this._durationOffset) / r.duration, g = this._easing(_), y = this.axisManager.map(l, function(v, m, b) {
1440
- var P = _ >= 1 ? u[b] : v + r.delta[b] * (g - n._prevEasingPer) / (1 - n._initialEasingPer), p = getCirculatedPos(P, m.range, m.circular);
1441
- if (P !== p) {
1442
- var E = d[b] * (m.range[1] - m.range[0]);
1443
- u[b] -= E, l[b] -= E;
1439
+ }), f = (/* @__PURE__ */ new Date()).getTime() - r.startTime, _ = (f + this._durationOffset) / r.duration, g = this._easing(_), b = this.axisManager.map(l, function(v, m, P) {
1440
+ var y = _ >= 1 ? u[P] : v + r.delta[P] * (g - n._prevEasingPer) / (1 - n._initialEasingPer), p = getCirculatedPos(y, m.range, m.circular);
1441
+ if (y !== p) {
1442
+ var E = d[P] * (m.range[1] - m.range[0]);
1443
+ u[P] -= E, l[P] -= E;
1444
1444
  }
1445
1445
  return p;
1446
1446
  });
1447
1447
  return this._prevEasingPer = g, {
1448
- pos: y,
1448
+ pos: b,
1449
1449
  easingPer: g,
1450
1450
  finished: g >= 1
1451
1451
  };
@@ -1577,14 +1577,14 @@ var InputObserver = /* @__PURE__ */ function() {
1577
1577
  this._dragged = !1, this._isOverThreshold = !1, this._observer.hold(this, d), this._atRightEdge = IS_IOS_SAFARI && d.center.x > window.innerWidth - f, this._attachWindowEvent(u), l && d.srcEvent.type !== "touchstart" && d.srcEvent.preventDefault(), u.prevEvent = d;
1578
1578
  }
1579
1579
  }, i._onPanmove = function(t) {
1580
- var e = this, n = this.options, r = n.iOSEdgeSwipeThreshold, l = n.preventClickOnDrag, u = n.releaseOnScroll, d = n.inputKey, f = n.inputButton, _ = n.threshold, g = n.thresholdAngle, y = this._activeEvent, v = y.onEventMove(t, d, f), m = y.getTouches(t, f);
1580
+ var e = this, n = this.options, r = n.iOSEdgeSwipeThreshold, l = n.preventClickOnDrag, u = n.releaseOnScroll, d = n.inputKey, f = n.inputButton, _ = n.threshold, g = n.thresholdAngle, b = this._activeEvent, v = b.onEventMove(t, d, f), m = b.getTouches(t, f);
1581
1581
  if (m === 0 || u && v && !v.srcEvent.cancelable) {
1582
1582
  this._onPanend(t);
1583
1583
  return;
1584
1584
  }
1585
1585
  if (!(!v || !this._enabled || m > 1)) {
1586
- var b = getDirectionByAngle(v.angle, g), P = useDirection(DIRECTION_HORIZONTAL, this._direction, b), p = useDirection(DIRECTION_VERTICAL, this._direction, b);
1587
- if (y.prevEvent && IS_IOS_SAFARI) {
1586
+ var P = getDirectionByAngle(v.angle, g), y = useDirection(DIRECTION_HORIZONTAL, this._direction, P), p = useDirection(DIRECTION_VERTICAL, this._direction, P);
1587
+ if (b.prevEvent && IS_IOS_SAFARI) {
1588
1588
  var E = v.center.x < 0;
1589
1589
  if (E) {
1590
1590
  this.release();
@@ -1597,10 +1597,10 @@ var InputObserver = /* @__PURE__ */ function() {
1597
1597
  }, 100);
1598
1598
  }
1599
1599
  }
1600
- var O = this._getDistance([v.deltaX, v.deltaY], [P, p]), S = this._getOffset([v.offsetX, v.offsetY], [P, p]), C = S.some(function(x) {
1600
+ var O = this._getDistance([v.deltaX, v.deltaY], [y, p]), S = this._getOffset([v.offsetX, v.offsetY], [y, p]), C = S.some(function(x) {
1601
1601
  return x !== 0;
1602
1602
  });
1603
- C && (v.srcEvent.cancelable !== !1 && v.srcEvent.preventDefault(), v.srcEvent.stopPropagation()), v.preventSystemEvent = C, C && (this._isOverThreshold || O >= _) && (this._dragged = l, this._isOverThreshold = !0, this._observer.change(this, v, toAxis(this.axes, S))), y.prevEvent = v;
1603
+ C && (v.srcEvent.cancelable !== !1 && v.srcEvent.preventDefault(), v.srcEvent.stopPropagation()), v.preventSystemEvent = C, C && (this._isOverThreshold || O >= _) && (this._dragged = l, this._isOverThreshold = !0, this._observer.change(this, v, toAxis(this.axes, S))), b.prevEvent = v;
1604
1604
  }
1605
1605
  }, i._onPanend = function(t) {
1606
1606
  var e = this.options.inputButton, n = this._activeEvent;
@@ -1857,13 +1857,13 @@ var Loader = /* @__PURE__ */ function(s) {
1857
1857
  }).on("preReady", function(_) {
1858
1858
  var g = n.elementInfos[d];
1859
1859
  g.hasLoading = _.hasLoading, g.isSkip = _.isSkip;
1860
- var y = n.checkPreReady(d);
1861
- n.onPreReadyElement(d), y && n.onPreReady();
1860
+ var b = n.checkPreReady(d);
1861
+ n.onPreReadyElement(d), b && n.onPreReady();
1862
1862
  }).on("ready", function(_) {
1863
- var g = _.withPreReady, y = _.hasLoading, v = _.isSkip, m = n.elementInfos[d];
1864
- m.hasLoading = y, m.isSkip = v;
1865
- var b = g && n.checkPreReady(d), P = n.checkReady(d);
1866
- g && n.onPreReadyElement(d), n.onReadyElement(d), b && n.onPreReady(), P && n.onReady();
1863
+ var g = _.withPreReady, b = _.hasLoading, v = _.isSkip, m = n.elementInfos[d];
1864
+ m.hasLoading = b, m.isSkip = v;
1865
+ var P = g && n.checkPreReady(d), y = n.checkReady(d);
1866
+ g && n.onPreReadyElement(d), n.onReadyElement(d), P && n.onPreReady(), y && n.onReady();
1867
1867
  }), {
1868
1868
  loader: f,
1869
1869
  element: u,
@@ -1904,15 +1904,15 @@ var Loader = /* @__PURE__ */ function(s) {
1904
1904
  _.setHasLoading(g.some(function(m) {
1905
1905
  return hasLoadingAttribute(m, d);
1906
1906
  }));
1907
- var y = !1, v = this.clone().on("error", function(m) {
1907
+ var b = !1, v = this.clone().on("error", function(m) {
1908
1908
  _.onError(m.target);
1909
1909
  }).on("ready", function() {
1910
- _.onReady(y);
1910
+ _.onReady(b);
1911
1911
  });
1912
1912
  return _.on("requestChildren", function() {
1913
1913
  var m = getContentElements(e, f, r.options.prefix);
1914
- v.check(m).on("preReady", function(b) {
1915
- y = b.isReady, y || _.onPreReady();
1914
+ v.check(m).on("preReady", function(P) {
1915
+ b = P.isReady, b || _.onPreReady();
1916
1916
  });
1917
1917
  }).on("reqeustReadyChildren", function() {
1918
1918
  v.check(g);
@@ -2200,9 +2200,7 @@ var CODE = {
2200
2200
  ANIMATION_INTERRUPTED: 9,
2201
2201
  ANIMATION_ALREADY_PLAYING: 10,
2202
2202
  NOT_ALLOWED_IN_FRAMEWORK: 11,
2203
- NOT_INITIALIZED: 12,
2204
- NO_ACTIVE: 13,
2205
- NOT_ALLOWED_IN_VIRTUAL: 14
2203
+ NOT_INITIALIZED: 12
2206
2204
  }, MESSAGE = {
2207
2205
  WRONG_TYPE: function(s, i) {
2208
2206
  return s + "(" + typeof s + ") is not a " + i.map(function(t) {
@@ -2264,10 +2262,6 @@ var CODE = {
2264
2262
  FREE_SCROLL: "freeScroll",
2265
2263
  STRICT: "strict"
2266
2264
  }, CLASS = {
2267
- VIEWPORT: "flicking-viewport",
2268
- CAMERA: "flicking-camera",
2269
- VERTICAL: "vertical",
2270
- HIDDEN: "flicking-hidden",
2271
2265
  DEFAULT_VIRTUAL: "flicking-panel"
2272
2266
  }, CIRCULAR_FALLBACK = {
2273
2267
  LINEAR: "linear",
@@ -2911,14 +2905,14 @@ var State = /* @__PURE__ */ function() {
2911
2905
  if (u(STATE_TYPE.IDLE), !!this._releaseEvent) {
2912
2906
  var d = this._releaseEvent, f = d.inputEvent.srcEvent, _;
2913
2907
  if (f.type === "touchend") {
2914
- var g = f, y = g.changedTouches[0];
2915
- _ = document.elementFromPoint(y.clientX, y.clientY);
2908
+ var g = f, b = g.changedTouches[0];
2909
+ _ = document.elementFromPoint(b.clientX, b.clientY);
2916
2910
  } else
2917
2911
  _ = f.target;
2918
2912
  var v = l.renderer.panels, m = null;
2919
2913
  try {
2920
- for (var b = __values(v), P = b.next(); !P.done; P = b.next()) {
2921
- var p = P.value;
2914
+ for (var P = __values(v), y = P.next(); !y.done; y = P.next()) {
2915
+ var p = y.value;
2922
2916
  if (p.contains(_)) {
2923
2917
  m = p;
2924
2918
  break;
@@ -2930,7 +2924,7 @@ var State = /* @__PURE__ */ function() {
2930
2924
  };
2931
2925
  } finally {
2932
2926
  try {
2933
- P && !P.done && (r = b.return) && r.call(b);
2927
+ y && !y.done && (r = P.return) && r.call(P);
2934
2928
  } finally {
2935
2929
  if (n) throw n.error;
2936
2930
  }
@@ -3303,22 +3297,22 @@ var State = /* @__PURE__ */ function() {
3303
3297
  offset: 0
3304
3298
  };
3305
3299
  var g = function() {
3306
- var y, v, m = function() {
3300
+ var b, v, m = function() {
3307
3301
  r._animatingContext = {
3308
3302
  start: 0,
3309
3303
  end: 0,
3310
3304
  offset: 0
3311
3305
  };
3312
3306
  };
3313
- u.once(EVENT.FINISH, m), n ? n.setTo((y = {}, y[POSITION_KEY] = t, y), e) : u.setTo((v = {}, v[POSITION_KEY] = t, v), e);
3307
+ u.once(EVENT.FINISH, m), n ? n.setTo((b = {}, b[POSITION_KEY] = t, b), e) : u.setTo((v = {}, v[POSITION_KEY] = t, v), e);
3314
3308
  };
3315
- return new Promise(function(y, v) {
3309
+ return new Promise(function(b, v) {
3316
3310
  var m = function() {
3317
- u.off(EVENT.HOLD, b), y();
3318
- }, b = function() {
3311
+ u.off(EVENT.HOLD, P), b();
3312
+ }, P = function() {
3319
3313
  u.off(EVENT.FINISH, m), v(new FlickingError(MESSAGE.ANIMATION_INTERRUPTED, CODE.ANIMATION_INTERRUPTED));
3320
3314
  };
3321
- u.once(EVENT.FINISH, m), u.once(EVENT.HOLD, b), g();
3315
+ u.once(EVENT.FINISH, m), u.once(EVENT.HOLD, P), g();
3322
3316
  });
3323
3317
  }, i.updateDirection = function() {
3324
3318
  var t = getFlickingAttached(this._flicking), e = this._axes, n = this._panInput;
@@ -3466,21 +3460,21 @@ var State = /* @__PURE__ */ function() {
3466
3460
  return _._controller.animateTo(e, n, l);
3467
3461
  }, f = this._controller.state, f.targetPanel = r, n <= 0 ? [2, d()] : [2, d().then(function() {
3468
3462
  return __awaiter$1(_, void 0, void 0, function() {
3469
- return __generator$1(this, function(y) {
3470
- switch (y.label) {
3463
+ return __generator$1(this, function(b) {
3464
+ switch (b.label) {
3471
3465
  case 0:
3472
3466
  return [4, u.renderer.render()];
3473
3467
  case 1:
3474
- return y.sent(), [
3468
+ return b.sent(), [
3475
3469
  2
3476
3470
  /*return*/
3477
3471
  ];
3478
3472
  }
3479
3473
  });
3480
3474
  });
3481
- }).catch(function(y) {
3482
- if (!(l && y instanceof FlickingError && y.code === CODE.ANIMATION_INTERRUPTED))
3483
- throw y;
3475
+ }).catch(function(b) {
3476
+ if (!(l && b instanceof FlickingError && b.code === CODE.ANIMATION_INTERRUPTED))
3477
+ throw b;
3484
3478
  })];
3485
3479
  });
3486
3480
  });
@@ -3495,8 +3489,8 @@ var State = /* @__PURE__ */ function() {
3495
3489
  var d = this._controller.position, f = r.rangeDiff, _ = [l, l + f, l - f].filter(function(g) {
3496
3490
  return e === DIRECTION.NONE ? !0 : e === DIRECTION.PREV ? g <= d : g >= d;
3497
3491
  });
3498
- l = _.reduce(function(g, y) {
3499
- return Math.abs(d - y) < Math.abs(d - g) ? y : g;
3492
+ l = _.reduce(function(g, b) {
3493
+ return Math.abs(d - b) < Math.abs(d - g) ? b : g;
3500
3494
  }, 1 / 0);
3501
3495
  }
3502
3496
  return l;
@@ -3570,20 +3564,20 @@ var State = /* @__PURE__ */ function() {
3570
3564
  var l = getFlickingAttached(this._flicking), u = l.camera, d = u.findActiveAnchor(), f = u.findNearestAnchor(u.position), _ = this._controller.state;
3571
3565
  if (!d || !f)
3572
3566
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3573
- var g = this._calcSnapThreshold(l.threshold, e, d), y = l.animating ? _.delta : e - u.position, v = Math.abs(y), m = r && r.delta[POSITION_KEY] !== 0 ? Math.abs(r.delta[POSITION_KEY]) : v, b;
3567
+ var g = this._calcSnapThreshold(l.threshold, e, d), b = l.animating ? _.delta : e - u.position, v = Math.abs(b), m = r && r.delta[POSITION_KEY] !== 0 ? Math.abs(r.delta[POSITION_KEY]) : v, P;
3574
3568
  if (m >= g && m > 0)
3575
- b = this._findSnappedAnchor(e, f);
3569
+ P = this._findSnappedAnchor(e, f);
3576
3570
  else if (v >= l.threshold && v > 0)
3577
- b = this._findAdjacentAnchor(e, y, f);
3571
+ P = this._findAdjacentAnchor(e, b, f);
3578
3572
  else
3579
3573
  return this.moveToPanel(f.panel, {
3580
3574
  duration: n,
3581
3575
  axesEvent: r
3582
3576
  });
3583
- return this._triggerIndexChangeEvent(b.panel, e, r), this._animateToPosition({
3584
- position: u.clampToReachablePosition(b.position),
3577
+ return this._triggerIndexChangeEvent(P.panel, e, r), this._animateToPosition({
3578
+ position: u.clampToReachablePosition(P.position),
3585
3579
  duration: n,
3586
- newActivePanel: b.panel,
3580
+ newActivePanel: P.panel,
3587
3581
  axesEvent: r
3588
3582
  });
3589
3583
  }, t._findSnappedAnchor = function(e, n) {
@@ -3592,26 +3586,26 @@ var State = /* @__PURE__ */ function() {
3592
3586
  throw new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE);
3593
3587
  if (!isFinite(u))
3594
3588
  return _;
3595
- var g = r.panelCount, y = l.anchorPoints, v = Math.sign(e - d) * Math.floor(Math.abs(e - d) / l.rangeDiff);
3589
+ var g = r.panelCount, b = l.anchorPoints, v = Math.sign(e - d) * Math.floor(Math.abs(e - d) / l.rangeDiff);
3596
3590
  e > d && _.index < n.index || _.position > n.position && _.index === n.index ? v += 1 : (e < d && _.index > n.index || _.position < n.position && _.index === n.index) && (v -= 1);
3597
- var m = v * g, b = _.index + m;
3598
- if (Math.abs(b - n.index) <= u) {
3599
- var P = y[_.index];
3591
+ var m = v * g, P = _.index + m;
3592
+ if (Math.abs(P - n.index) <= u) {
3593
+ var y = b[_.index];
3600
3594
  return new AnchorPoint({
3601
- index: P.index,
3602
- position: P.position + v * l.rangeDiff,
3603
- panel: P.panel
3595
+ index: y.index,
3596
+ position: y.position + v * l.rangeDiff,
3597
+ panel: y.panel
3604
3598
  });
3605
3599
  }
3606
3600
  if (r.circularEnabled) {
3607
- var p = y[circulateIndex(n.index + Math.sign(e - d) * u, g)], E = Math.floor(u / g);
3601
+ var p = b[circulateIndex(n.index + Math.sign(e - d) * u, g)], E = Math.floor(u / g);
3608
3602
  return e > d && p.index < n.index ? E += 1 : e < d && p.index > n.index && (E -= 1), new AnchorPoint({
3609
3603
  index: p.index,
3610
3604
  position: p.position + E * l.rangeDiff,
3611
3605
  panel: p.panel
3612
3606
  });
3613
3607
  } else
3614
- return y[clamp(n.index + Math.sign(e - d) * u, 0, y.length - 1)];
3608
+ return b[clamp(n.index + Math.sign(e - d) * u, 0, b.length - 1)];
3615
3609
  }, t._findAdjacentAnchor = function(e, n, r) {
3616
3610
  var l, u = getFlickingAttached(this._flicking), d = u.camera;
3617
3611
  if (d.circularEnabled) {
@@ -3695,10 +3689,10 @@ var State = /* @__PURE__ */ function() {
3695
3689
  var e, n = getFlickingAttached(this._flicking), r = n.camera, l = n.renderer, u = this._controller, d = r.controlParams, f = this._count, _ = u.state.animating ? (e = r.findNearestAnchor(r.position)) === null || e === void 0 ? void 0 : e.panel : this._activePanel;
3696
3690
  if (!_)
3697
3691
  return u.update(d), this._resetIndexRange(), this;
3698
- var g = d.range, y = _.position, v = _.index, m = l.panelCount, b = v - f, P = v + f;
3699
- b < 0 && (b = n.circularEnabled ? getMinusCompensatedIndex((b + 1) % m - 1, m) : clamp(b, 0, m - 1)), P >= m && (P = n.circularEnabled ? P % m : clamp(P, 0, m - 1));
3700
- var p = l.panels[b], E = l.panels[P], T = Math.max(p.position, g.min), O = Math.min(E.position, g.max);
3701
- return T > y && (T -= r.rangeDiff), O < y && (O += r.rangeDiff), d.range = {
3692
+ var g = d.range, b = _.position, v = _.index, m = l.panelCount, P = v - f, y = v + f;
3693
+ P < 0 && (P = n.circularEnabled ? getMinusCompensatedIndex((P + 1) % m - 1, m) : clamp(P, 0, m - 1)), y >= m && (y = n.circularEnabled ? y % m : clamp(y, 0, m - 1));
3694
+ var p = l.panels[P], E = l.panels[y], T = Math.max(p.position, g.min), O = Math.min(E.position, g.max);
3695
+ return T > b && (T -= r.rangeDiff), O < b && (O += r.rangeDiff), d.range = {
3702
3696
  min: T,
3703
3697
  max: O
3704
3698
  }, d.circular && (d.position < T && (d.position += r.rangeDiff), d.position > O && (d.position -= r.rangeDiff)), d.circular = !1, u.update(d), this._indexRange = {
@@ -3713,20 +3707,20 @@ var State = /* @__PURE__ */ function() {
3713
3707
  });
3714
3708
  });
3715
3709
  }, t.moveToPosition = function(e, n, r) {
3716
- var l, u = getFlickingAttached(this._flicking), d = u.camera, f = (l = this._nextPanel) !== null && l !== void 0 ? l : this._activePanel, _ = this._controller.range, g = this._indexRange, y = d.range, v = this._controller.state, m = clamp(d.clampToReachablePosition(e), _[0], _[1]), b = d.findAnchorIncludePosition(m);
3717
- if (!b || !f)
3710
+ var l, u = getFlickingAttached(this._flicking), d = u.camera, f = (l = this._nextPanel) !== null && l !== void 0 ? l : this._activePanel, _ = this._controller.range, g = this._indexRange, b = d.range, v = this._controller.state, m = clamp(d.clampToReachablePosition(e), _[0], _[1]), P = d.findAnchorIncludePosition(m);
3711
+ if (!P || !f)
3718
3712
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3719
- var P = f.position, p = u.animating ? v.delta : e - d.position, E = Math.abs(p) >= u.threshold, T = e > P ? d.getNextAnchor(b) : d.getPrevAnchor(b), O, S, C = d.anchorPoints, x = C[0], I = C[C.length - 1], R = e <= y.min && isBetween(x.panel.index, g.min, g.max), w = e >= y.max && isBetween(I.panel.index, g.min, g.max), A = T && (g.min <= g.max ? isBetween(T.index, g.min, g.max) : T.index >= g.min || T.index <= g.max);
3720
- if (R || w) {
3721
- var N = e < y.min ? x : I;
3713
+ var y = f.position, p = u.animating ? v.delta : e - d.position, E = Math.abs(p) >= u.threshold, T = e > y ? d.getNextAnchor(P) : d.getPrevAnchor(P), O, S, C = d.anchorPoints, x = C[0], I = C[C.length - 1], R = e <= b.min && isBetween(x.panel.index, g.min, g.max), D = e >= b.max && isBetween(I.panel.index, g.min, g.max), A = T && (g.min <= g.max ? isBetween(T.index, g.min, g.max) : T.index >= g.min || T.index <= g.max);
3714
+ if (R || D) {
3715
+ var N = e < b.min ? x : I;
3722
3716
  S = N.panel, O = N.position;
3723
- } else if (E && b.position !== f.position)
3724
- S = b.panel, O = b.position;
3717
+ } else if (E && P.position !== f.position)
3718
+ S = P.panel, O = P.position;
3725
3719
  else if (E && A)
3726
3720
  S = T.panel, O = T.position;
3727
3721
  else {
3728
- var D = d.findNearestAnchor(d.position);
3729
- return D ? this.moveToPanel(D.panel, {
3722
+ var w = d.findNearestAnchor(d.position);
3723
+ return w ? this.moveToPanel(w.panel, {
3730
3724
  duration: n,
3731
3725
  axesEvent: r
3732
3726
  }) : Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
@@ -3813,10 +3807,10 @@ var State = /* @__PURE__ */ function() {
3813
3807
  var e = this._flicking, n = e.renderer, r = n.panels;
3814
3808
  if (r.length <= 0)
3815
3809
  return !1;
3816
- var l = r[0], u = r[r.length - 1], d = l.range.min - l.margin.prev, f = u.range.max + u.margin.next, _ = e.camera.size, g = f - d, y = r.every(function(v) {
3810
+ var l = r[0], u = r[r.length - 1], d = l.range.min - l.margin.prev, f = u.range.max + u.margin.next, _ = e.camera.size, g = f - d, b = r.every(function(v) {
3817
3811
  return g - v.size >= _;
3818
3812
  });
3819
- return y;
3813
+ return b;
3820
3814
  }, t.getRange = function() {
3821
3815
  var e = this._flicking, n = e.renderer.panels;
3822
3816
  if (n.length <= 0)
@@ -3866,17 +3860,17 @@ var State = /* @__PURE__ */ function() {
3866
3860
  }
3867
3861
  if (!_) return null;
3868
3862
  if (e < r.min) {
3869
- var y = -Math.floor((r.min - e) / u) - 1;
3863
+ var b = -Math.floor((r.min - e) / u) - 1;
3870
3864
  return new AnchorPoint({
3871
3865
  index: _.index,
3872
- position: _.position + u * y,
3866
+ position: _.position + u * b,
3873
3867
  panel: _.panel
3874
3868
  });
3875
3869
  } else if (e > r.max) {
3876
- var y = Math.floor((e - r.max) / u) + 1;
3870
+ var b = Math.floor((e - r.max) / u) + 1;
3877
3871
  return new AnchorPoint({
3878
3872
  index: _.index,
3879
- position: _.position + u * y,
3873
+ position: _.position + u * b,
3880
3874
  panel: _.panel
3881
3875
  });
3882
3876
  }
@@ -3923,13 +3917,13 @@ var State = /* @__PURE__ */ function() {
3923
3917
  min: 0,
3924
3918
  max: 0
3925
3919
  };
3926
- var d = e.camera.size, f = l.range.min, _ = u.range.max, g = _ - f, y = d < g, v = f + r, m = _ - d + r;
3927
- if (y)
3920
+ var d = e.camera.size, f = l.range.min, _ = u.range.max, g = _ - f, b = d < g, v = f + r, m = _ - d + r;
3921
+ if (b)
3928
3922
  return {
3929
3923
  min: v,
3930
3924
  max: m
3931
3925
  };
3932
- var b = e.camera.align, P = typeof b == "object" ? b.camera : b, p = v + parseAlign$1(P, m - v);
3926
+ var P = e.camera.align, y = typeof P == "object" ? P.camera : P, p = v + parseAlign$1(y, m - v);
3933
3927
  return {
3934
3928
  min: p,
3935
3929
  max: p
@@ -3938,15 +3932,15 @@ var State = /* @__PURE__ */ function() {
3938
3932
  var e = this._flicking, n = e.camera, r = e.renderer.panels;
3939
3933
  if (r.length <= 0)
3940
3934
  return [];
3941
- var l = e.camera.range, u = r.filter(function(b) {
3942
- return n.canReach(b);
3935
+ var l = e.camera.range, u = r.filter(function(P) {
3936
+ return n.canReach(P);
3943
3937
  });
3944
3938
  if (u.length > 0) {
3945
- var d = u[0].position !== l.min, f = u[u.length - 1].position !== l.max, _ = d ? 1 : 0, g = u.map(function(b, P) {
3939
+ var d = u[0].position !== l.min, f = u[u.length - 1].position !== l.max, _ = d ? 1 : 0, g = u.map(function(P, y) {
3946
3940
  return new AnchorPoint({
3947
- index: P + _,
3948
- position: b.position,
3949
- panel: b
3941
+ index: y + _,
3942
+ position: P.position,
3943
+ panel: P
3950
3944
  });
3951
3945
  });
3952
3946
  return d && g.splice(0, 0, new AnchorPoint({
@@ -3959,7 +3953,7 @@ var State = /* @__PURE__ */ function() {
3959
3953
  panel: r[u[u.length - 1].index + 1]
3960
3954
  })), g;
3961
3955
  } else if (l.min !== l.max) {
3962
- var y = this._findNearestPanel(l.min, r), v = y.index === r.length - 1 ? y.prev() : y, m = v.next();
3956
+ var b = this._findNearestPanel(l.min, r), v = b.index === r.length - 1 ? b.prev() : b, m = v.next();
3963
3957
  return [new AnchorPoint({
3964
3958
  index: 0,
3965
3959
  position: l.min,
@@ -3993,17 +3987,17 @@ var State = /* @__PURE__ */ function() {
3993
3987
  this._lookedOffset = 0, this._checkTranslateSupport = function() {
3994
3988
  var u, d, f = ["webkitTransform", "msTransform", "MozTransform", "OTransform", "transform"], _ = document.documentElement.style, g = "";
3995
3989
  try {
3996
- for (var y = __values(f), v = y.next(); !v.done; v = y.next()) {
3990
+ for (var b = __values(f), v = b.next(); !v.done; v = b.next()) {
3997
3991
  var m = v.value;
3998
3992
  m in _ && (g = m);
3999
3993
  }
4000
- } catch (b) {
3994
+ } catch (P) {
4001
3995
  u = {
4002
- error: b
3996
+ error: P
4003
3997
  };
4004
3998
  } finally {
4005
3999
  try {
4006
- v && !v.done && (d = y.return) && d.call(y);
4000
+ v && !v.done && (d = b.return) && d.call(b);
4007
4001
  } finally {
4008
4002
  if (u) throw u.error;
4009
4003
  }
@@ -4227,11 +4221,11 @@ var State = /* @__PURE__ */ function() {
4227
4221
  if (e === l)
4228
4222
  return r.index;
4229
4223
  if (e < l) {
4230
- var y = r.prev(), v = y ? y.position + y.offset : f - u[0];
4224
+ var b = r.prev(), v = b ? b.position + b.offset : f - u[0];
4231
4225
  return v > l && (v -= g), r.index - 1 + getProgress(e, v, l);
4232
4226
  } else {
4233
- var m = r.next(), b = m ? m.position + m.offset : _ + u[1];
4234
- return b < l && (b += g), r.index + getProgress(e, l, b);
4227
+ var m = r.next(), P = m ? m.position + m.offset : _ + u[1];
4228
+ return P < l && (P += g), r.index + getProgress(e, l, P);
4235
4229
  }
4236
4230
  },
4237
4231
  enumerable: !1,
@@ -4394,7 +4388,7 @@ var State = /* @__PURE__ */ function() {
4394
4388
  })), t.next = !0);
4395
4389
  return;
4396
4390
  }
4397
- var r = this._position, l = this.size, u = this._range, d = e.needPanelThreshold, f = r - this._alignPos, _ = f + l, g = n[0], y = n[n.length - 1];
4391
+ var r = this._position, l = this.size, u = this._range, d = e.needPanelThreshold, f = r - this._alignPos, _ = f + l, g = n[0], b = n[n.length - 1];
4398
4392
  if (!t.prev) {
4399
4393
  var v = g.range.min;
4400
4394
  (f <= v + d || r <= u.min + d) && (e.trigger(new ComponentEvent$1(EVENTS.NEED_PANEL, {
@@ -4402,7 +4396,7 @@ var State = /* @__PURE__ */ function() {
4402
4396
  })), t.prev = !0);
4403
4397
  }
4404
4398
  if (!t.next) {
4405
- var m = y.range.max;
4399
+ var m = b.range.max;
4406
4400
  (_ >= m - d || r >= u.max - d) && (e.trigger(new ComponentEvent$1(EVENTS.NEED_PANEL, {
4407
4401
  direction: DIRECTION.NEXT
4408
4402
  })), t.next = !0);
@@ -4542,23 +4536,23 @@ var State = /* @__PURE__ */ function() {
4542
4536
  for (var t = this, e = [], n = 0; n < arguments.length; n++)
4543
4537
  e[n] = arguments[n];
4544
4538
  var r = this._panels, l = getFlickingAttached(this._flicking), u = r[0], d = parsePanelAlign(this._align), f = e.reduce(function(_, g) {
4545
- var y, v = getMinusCompensatedIndex(g.index, r.length), m = r.slice(v), b = g.elements.map(function(p, E) {
4539
+ var b, v = getMinusCompensatedIndex(g.index, r.length), m = r.slice(v), P = g.elements.map(function(p, E) {
4546
4540
  return t._createPanel(p, {
4547
4541
  index: v + E,
4548
4542
  align: d,
4549
4543
  flicking: l
4550
4544
  });
4551
4545
  });
4552
- if (r.splice.apply(r, __spread([v, 0], b)), g.hasDOMInElements && t._insertPanelElements(b, (y = m[0]) !== null && y !== void 0 ? y : null), l.panelsPerView > 0) {
4553
- var P = u || b[0].resize();
4554
- t._updatePanelSizeByGrid(P, b);
4546
+ if (r.splice.apply(r, __spread([v, 0], P)), g.hasDOMInElements && t._insertPanelElements(P, (b = m[0]) !== null && b !== void 0 ? b : null), l.panelsPerView > 0) {
4547
+ var y = u || P[0].resize();
4548
+ t._updatePanelSizeByGrid(y, P);
4555
4549
  } else
4556
- b.forEach(function(p) {
4550
+ P.forEach(function(p) {
4557
4551
  return p.resize();
4558
4552
  });
4559
4553
  return m.forEach(function(p) {
4560
- p.increaseIndex(b.length), p.updatePosition();
4561
- }), __spread(_, b);
4554
+ p.increaseIndex(P.length), p.updatePosition();
4555
+ }), __spread(_, P);
4562
4556
  }, []);
4563
4557
  return f;
4564
4558
  }, i.batchRemove = function() {
@@ -4570,12 +4564,12 @@ var State = /* @__PURE__ */ function() {
4570
4564
  for (var t = this, e = [], n = 0; n < arguments.length; n++)
4571
4565
  e[n] = arguments[n];
4572
4566
  var r = this._panels, l = getFlickingAttached(this._flicking), u = l.control, d = u.activePanel, f = e.reduce(function(_, g) {
4573
- var y = g.index, v = g.deleteCount, m = getMinusCompensatedIndex(y, r.length), b = r.slice(m + v), P = r.splice(m, v);
4574
- return P.length <= 0 ? [] : (b.forEach(function(p) {
4575
- p.decreaseIndex(P.length), p.updatePosition();
4576
- }), g.hasDOMInElements && t._removePanelElements(P), P.forEach(function(p) {
4567
+ var b = g.index, v = g.deleteCount, m = getMinusCompensatedIndex(b, r.length), P = r.slice(m + v), y = r.splice(m, v);
4568
+ return y.length <= 0 ? [] : (P.forEach(function(p) {
4569
+ p.decreaseIndex(y.length), p.updatePosition();
4570
+ }), g.hasDOMInElements && t._removePanelElements(y), y.forEach(function(p) {
4577
4571
  return p.destroy();
4578
- }), includes(P, d) && u.resetActive(), __spread(_, P));
4572
+ }), includes(y, d) && u.resetActive(), __spread(_, y));
4579
4573
  }, []);
4580
4574
  return f;
4581
4575
  }, i.updateAfterPanelChange = function(t, e) {
@@ -4617,10 +4611,10 @@ var State = /* @__PURE__ */ function() {
4617
4611
  d.destroy();
4618
4612
  return;
4619
4613
  }
4620
- var _ = t[f.index], g = n.camera, y = n.control, v = y.activePanel ? g.getProgressInPanel(y.activePanel) : 0;
4614
+ var _ = t[f.index], g = n.camera, b = n.control, v = b.activePanel ? g.getProgressInPanel(b.activePanel) : 0;
4621
4615
  _.loading = !1, _.resize(), l.slice(_.index + 1).forEach(function(m) {
4622
4616
  return m.updatePosition();
4623
- }), n.initialized && (g.updateRange(), g.updateOffset(), g.updateAnchors(), y.animating || (y.updatePosition(v), y.updateInput()));
4617
+ }), n.initialized && (g.updateRange(), g.updateOffset(), g.updateAnchors(), b.animating || (b.updatePosition(v), b.updateInput()));
4624
4618
  }), d.on("preReady", function(f) {
4625
4619
  e._flicking && e.render(), f.readyCount === f.totalCount && d.destroy();
4626
4620
  }), d.on("ready", function() {
@@ -5273,10 +5267,10 @@ var State = /* @__PURE__ */ function() {
5273
5267
  }(), Flicking$1 = /* @__PURE__ */ function(s) {
5274
5268
  __extends$2(i, s);
5275
5269
  function i(e, n) {
5276
- var r = n === void 0 ? {} : n, l = r.align, u = l === void 0 ? ALIGN.CENTER : l, d = r.defaultIndex, f = d === void 0 ? 0 : d, _ = r.horizontal, g = _ === void 0 ? !0 : _, y = r.circular, v = y === void 0 ? !1 : y, m = r.circularFallback, b = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, P = r.bound, p = P === void 0 ? !1 : P, E = r.adaptive, T = E === void 0 ? !1 : E, O = r.panelsPerView, S = O === void 0 ? -1 : O, C = r.noPanelStyleOverride, x = C === void 0 ? !1 : C, I = r.resizeOnContentsReady, R = I === void 0 ? !1 : I, w = r.nested, A = w === void 0 ? !1 : w, N = r.needPanelThreshold, D = N === void 0 ? 0 : N, L = r.preventEventsBeforeInit, B = L === void 0 ? !0 : L, V = r.deceleration, ue = V === void 0 ? 75e-4 : V, M = r.duration, ce = M === void 0 ? 500 : M, z = r.easing, de = z === void 0 ? function(Ae) {
5270
+ var r = n === void 0 ? {} : n, l = r.align, u = l === void 0 ? ALIGN.CENTER : l, d = r.defaultIndex, f = d === void 0 ? 0 : d, _ = r.horizontal, g = _ === void 0 ? !0 : _, b = r.circular, v = b === void 0 ? !1 : b, m = r.circularFallback, P = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, y = r.bound, p = y === void 0 ? !1 : y, E = r.adaptive, T = E === void 0 ? !1 : E, O = r.panelsPerView, S = O === void 0 ? -1 : O, C = r.noPanelStyleOverride, x = C === void 0 ? !1 : C, I = r.resizeOnContentsReady, R = I === void 0 ? !1 : I, D = r.nested, A = D === void 0 ? !1 : D, N = r.needPanelThreshold, w = N === void 0 ? 0 : N, L = r.preventEventsBeforeInit, B = L === void 0 ? !0 : L, V = r.deceleration, ue = V === void 0 ? 75e-4 : V, M = r.duration, ce = M === void 0 ? 500 : M, z = r.easing, de = z === void 0 ? function(Ae) {
5277
5271
  return 1 - Math.pow(1 - Ae, 3);
5278
5272
  } : z, F = r.inputType, fe = F === void 0 ? ["mouse", "touch"] : F, j = r.moveType, he = j === void 0 ? "snap" : j, H = r.threshold, ve = H === void 0 ? 40 : H, W = r.dragThreshold, pe = W === void 0 ? 1 : W, U = r.interruptable, ge = U === void 0 ? !0 : U, G = r.bounce, _e = G === void 0 ? "20%" : G, Y = r.iOSEdgeSwipeThreshold, me = Y === void 0 ? 30 : Y, q = r.preventClickOnDrag, Ee = q === void 0 ? !0 : q, X = r.preventDefaultOnDrag, ye = X === void 0 ? !1 : X, K = r.disableOnInit, be = K === void 0 ? !1 : K, Z = r.changeOnHold, Pe = Z === void 0 ? !1 : Z, Q = r.renderOnlyVisible, Te = Q === void 0 ? !1 : Q, J = r.virtual, ee = J === void 0 ? null : J, te = r.autoInit, Oe = te === void 0 ? !0 : te, ne = r.autoResize, Se = ne === void 0 ? !0 : ne, ie = r.useResizeObserver, Ce = ie === void 0 ? !0 : ie, re = r.resizeDebounce, Ie = re === void 0 ? 0 : re, ae = r.maxResizeDebounce, ke = ae === void 0 ? 100 : ae, oe = r.useFractionalSize, xe = oe === void 0 ? !1 : oe, se = r.externalRenderer, Re = se === void 0 ? null : se, le = r.renderExternal, Ne = le === void 0 ? null : le, k = s.call(this) || this;
5279
- return k._initialized = !1, k._plugins = [], k._align = u, k._defaultIndex = f, k._horizontal = g, k._circular = v, k._circularFallback = b, k._bound = p, k._adaptive = T, k._panelsPerView = S, k._noPanelStyleOverride = x, k._resizeOnContentsReady = R, k._nested = A, k._virtual = ee, k._needPanelThreshold = D, k._preventEventsBeforeInit = B, k._deceleration = ue, k._duration = ce, k._easing = de, k._inputType = fe, k._moveType = he, k._threshold = ve, k._dragThreshold = pe, k._interruptable = ge, k._bounce = _e, k._iOSEdgeSwipeThreshold = me, k._preventClickOnDrag = Ee, k._preventDefaultOnDrag = ye, k._disableOnInit = be, k._changeOnHold = Pe, k._renderOnlyVisible = Te, k._autoInit = Oe, k._autoResize = Se, k._useResizeObserver = Ce, k._resizeDebounce = Ie, k._maxResizeDebounce = ke, k._useFractionalSize = xe, k._externalRenderer = Re, k._renderExternal = Ne, k._viewport = new Viewport(k, getElement$1(e)), k._autoResizer = new AutoResizer(k), k._renderer = k._createRenderer(), k._camera = k._createCamera(), k._control = k._createControl(), k._virtualManager = new VirtualManager(k, ee), k._autoInit && k.init(), k;
5273
+ return k._initialized = !1, k._plugins = [], k._align = u, k._defaultIndex = f, k._horizontal = g, k._circular = v, k._circularFallback = P, k._bound = p, k._adaptive = T, k._panelsPerView = S, k._noPanelStyleOverride = x, k._resizeOnContentsReady = R, k._nested = A, k._virtual = ee, k._needPanelThreshold = w, k._preventEventsBeforeInit = B, k._deceleration = ue, k._duration = ce, k._easing = de, k._inputType = fe, k._moveType = he, k._threshold = ve, k._dragThreshold = pe, k._interruptable = ge, k._bounce = _e, k._iOSEdgeSwipeThreshold = me, k._preventClickOnDrag = Ee, k._preventDefaultOnDrag = ye, k._disableOnInit = be, k._changeOnHold = Pe, k._renderOnlyVisible = Te, k._autoInit = Oe, k._autoResize = Se, k._useResizeObserver = Ce, k._resizeDebounce = Ie, k._maxResizeDebounce = ke, k._useFractionalSize = xe, k._externalRenderer = Re, k._renderExternal = Ne, k._viewport = new Viewport(k, getElement$1(e)), k._autoResizer = new AutoResizer(k), k._renderer = k._createRenderer(), k._camera = k._createCamera(), k._control = k._createControl(), k._virtualManager = new VirtualManager(k, ee), k._autoInit && k.init(), k;
5280
5274
  }
5281
5275
  var t = i.prototype;
5282
5276
  return Object.defineProperty(t, "control", {
@@ -6273,19 +6267,19 @@ var State = /* @__PURE__ */ function() {
6273
6267
  }, t.disableInput = function() {
6274
6268
  return this._control.disable(), this;
6275
6269
  }, t.getStatus = function(e) {
6276
- var n, r, l = e === void 0 ? {} : e, u = l.index, d = u === void 0 ? !0 : u, f = l.position, _ = f === void 0 ? !0 : f, g = l.includePanelHTML, y = g === void 0 ? !1 : g, v = l.visiblePanelsOnly, m = v === void 0 ? !1 : v, b = this._camera, P = m ? this.visiblePanels : this.panels, p = {
6277
- panels: P.map(function(O) {
6270
+ var n, r, l = e === void 0 ? {} : e, u = l.index, d = u === void 0 ? !0 : u, f = l.position, _ = f === void 0 ? !0 : f, g = l.includePanelHTML, b = g === void 0 ? !1 : g, v = l.visiblePanelsOnly, m = v === void 0 ? !1 : v, P = this._camera, y = m ? this.visiblePanels : this.panels, p = {
6271
+ panels: y.map(function(O) {
6278
6272
  var S = {
6279
6273
  index: O.index
6280
6274
  };
6281
- return y && (S.html = O.element.outerHTML), S;
6275
+ return b && (S.html = O.element.outerHTML), S;
6282
6276
  })
6283
6277
  };
6284
6278
  if (d && (p.index = this.index), _) {
6285
- var E = b.findNearestAnchor(b.position);
6279
+ var E = P.findNearestAnchor(P.position);
6286
6280
  E && (p.position = {
6287
6281
  panel: E.panel.index,
6288
- progressInPanel: b.getProgressInPanel(E.panel)
6282
+ progressInPanel: P.getProgressInPanel(E.panel)
6289
6283
  });
6290
6284
  }
6291
6285
  if (m) {
@@ -6304,8 +6298,8 @@ var State = /* @__PURE__ */ function() {
6304
6298
  hasDOMInElements: !0
6305
6299
  }), f.batchInsert({
6306
6300
  index: 0,
6307
- elements: parseElement(d.map(function(P) {
6308
- return P.html;
6301
+ elements: parseElement(d.map(function(y) {
6302
+ return y.html;
6309
6303
  })),
6310
6304
  hasDOMInElements: !0
6311
6305
  })), r != null) {
@@ -6314,8 +6308,8 @@ var State = /* @__PURE__ */ function() {
6314
6308
  });
6315
6309
  }
6316
6310
  if (l && this._moveType === MOVE_TYPE.FREE_SCROLL) {
6317
- var y = l.panel, v = l.progressInPanel, g = u ? y - u : y, m = f.panels[g].range, b = m.min + (m.max - m.min) * v;
6318
- _.moveToPosition(b, 0).catch(function() {
6311
+ var b = l.panel, v = l.progressInPanel, g = u ? b - u : b, m = f.panels[g].range, P = m.min + (m.max - m.min) * v;
6312
+ _.moveToPosition(P, 0).catch(function() {
6319
6313
  });
6320
6314
  }
6321
6315
  }, t.addPlugins = function() {
@@ -6335,7 +6329,7 @@ var State = /* @__PURE__ */ function() {
6335
6329
  }), this;
6336
6330
  }, t.resize = function() {
6337
6331
  return __awaiter$1(this, void 0, void 0, function() {
6338
- var e, n, r, l, u, d, f, _, g, y, v;
6332
+ var e, n, r, l, u, d, f, _, g, b, v;
6339
6333
  return __generator$1(this, function(m) {
6340
6334
  switch (m.label) {
6341
6335
  case 0:
@@ -6350,7 +6344,7 @@ var State = /* @__PURE__ */ function() {
6350
6344
  /*return*/
6351
6345
  ];
6352
6346
  case 2:
6353
- return m.sent(), this._initialized ? (l.animating || (l.updatePosition(_), l.updateInput()), g = e.width, y = e.height, v = g !== d || y !== f, this.trigger(new ComponentEvent$1(EVENTS.AFTER_RESIZE, {
6347
+ return m.sent(), this._initialized ? (l.animating || (l.updatePosition(_), l.updateInput()), g = e.width, b = e.height, v = g !== d || b !== f, this.trigger(new ComponentEvent$1(EVENTS.AFTER_RESIZE, {
6354
6348
  width: e.width,
6355
6349
  height: e.height,
6356
6350
  prev: {
@@ -6487,20 +6481,20 @@ var State = /* @__PURE__ */ function() {
6487
6481
  }), u.push.apply(u, __spread(batchRemove(e, f, d + 1)));
6488
6482
  }
6489
6483
  if (i.ordered.forEach(function(v) {
6490
- var m = __read(v, 2), b = m[0], P = m[1], p = n.splice(b, 1)[0];
6491
- n.splice(P, 0, p);
6484
+ var m = __read(v, 2), P = m[0], y = m[1], p = n.splice(P, 1)[0];
6485
+ n.splice(y, 0, p);
6492
6486
  }), i.ordered.length > 0 && (n.forEach(function(v, m) {
6493
- var b = m - v.index;
6494
- b > 0 ? v.increaseIndex(b) : v.decreaseIndex(-b);
6487
+ var P = m - v.index;
6488
+ P > 0 ? v.increaseIndex(P) : v.decreaseIndex(-P);
6495
6489
  }), n.sort(function(v, m) {
6496
6490
  return v.index - m.index;
6497
6491
  }), n.forEach(function(v) {
6498
6492
  v.updatePosition();
6499
6493
  })), i.added.length > 0) {
6500
- var _ = -1, g = -1, y = t.slice(r.length);
6494
+ var _ = -1, g = -1, b = t.slice(r.length);
6501
6495
  i.added.forEach(function(v, m) {
6502
- _ < 0 && (_ = m), g >= 0 && v !== g + 1 ? (l.push.apply(l, __spread(batchInsert(e, i, y, _, m + 1))), _ = -1, g = -1) : g = v;
6503
- }), _ >= 0 && l.push.apply(l, __spread(batchInsert(e, i, y, _)));
6496
+ _ < 0 && (_ = m), g >= 0 && v !== g + 1 ? (l.push.apply(l, __spread(batchInsert(e, i, b, _, m + 1))), _ = -1, g = -1) : g = v;
6497
+ }), _ >= 0 && l.push.apply(l, __spread(batchInsert(e, i, b, _)));
6504
6498
  }
6505
6499
  (i.added.length > 0 || i.removed.length > 0) && e.updateAfterPanelChange(l, u);
6506
6500
  }, batchInsert = function(s, i, t, e, n) {
@@ -6569,10 +6563,10 @@ var State = /* @__PURE__ */ function() {
6569
6563
  if (r) {
6570
6564
  var d = r.visiblePanels;
6571
6565
  d.forEach(function(f) {
6572
- var _ = f.outsetProgress, g = f.element, y = l ? g.querySelector(l) : g;
6573
- if (y) {
6566
+ var _ = f.outsetProgress, g = f.element, b = l ? g.querySelector(l) : g;
6567
+ if (b) {
6574
6568
  var v = Math.min(1, Math.max(0, 1 - Math.abs(_ * u)));
6575
- y.style.opacity = "" + v;
6569
+ b.style.opacity = "" + v;
6576
6570
  }
6577
6571
  });
6578
6572
  }
@@ -6652,7 +6646,7 @@ var State = /* @__PURE__ */ function() {
6652
6646
  return e;
6653
6647
  }, Arrow = /* @__PURE__ */ function() {
6654
6648
  function s(t) {
6655
- var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.prevElSelector, d = u === void 0 ? ARROW.PREV_SELECTOR : u, f = n.nextElSelector, _ = f === void 0 ? ARROW.NEXT_SELECTOR : f, g = n.disabledClass, y = g === void 0 ? ARROW.DISABLED_CLASS : g, v = n.moveCount, m = v === void 0 ? 1 : v, b = n.moveByViewportSize, P = b === void 0 ? !1 : b;
6649
+ var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.prevElSelector, d = u === void 0 ? ARROW.PREV_SELECTOR : u, f = n.nextElSelector, _ = f === void 0 ? ARROW.NEXT_SELECTOR : f, g = n.disabledClass, b = g === void 0 ? ARROW.DISABLED_CLASS : g, v = n.moveCount, m = v === void 0 ? 1 : v, P = n.moveByViewportSize, y = P === void 0 ? !1 : P;
6656
6650
  this._flicking = null, this._preventInputPropagation = function(p) {
6657
6651
  p.stopPropagation();
6658
6652
  }, this._onPrevClick = function() {
@@ -6685,7 +6679,7 @@ var State = /* @__PURE__ */ function() {
6685
6679
  }, this._onCatch = function(p) {
6686
6680
  if (!(p instanceof FlickingError))
6687
6681
  throw p;
6688
- }, this._parentEl = l, this._prevElSelector = d, this._nextElSelector = _, this._disabledClass = y, this._moveCount = m, this._moveByViewportSize = P;
6682
+ }, this._parentEl = l, this._prevElSelector = d, this._nextElSelector = _, this._disabledClass = b, this._moveCount = m, this._moveByViewportSize = y;
6689
6683
  }
6690
6684
  var i = s.prototype;
6691
6685
  return Object.defineProperty(i, "prevEl", {
@@ -6865,34 +6859,34 @@ var Renderer = /* @__PURE__ */ function() {
6865
6859
  }), t.destroy = function() {
6866
6860
  this._bullets = [], this._prevIndex = -1;
6867
6861
  }, t.render = function() {
6868
- var e = this, n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bulletClass, d = this._activeClass, f = r.renderBullet, _ = r.renderActiveBullet, g = r.classPrefix + "-" + PAGINATION.BULLET_WRAPPER_SUFFIX, y = n.camera.anchorPoints;
6869
- addClass(l, g), l.innerHTML = y.map(function(m, b) {
6870
- return _ && m.panel.index === n.index ? _(u, b) : f(u, b);
6862
+ var e = this, n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bulletClass, d = this._activeClass, f = r.renderBullet, _ = r.renderActiveBullet, g = r.classPrefix + "-" + PAGINATION.BULLET_WRAPPER_SUFFIX, b = n.camera.anchorPoints;
6863
+ addClass(l, g), l.innerHTML = b.map(function(m, P) {
6864
+ return _ && m.panel.index === n.index ? _(u, P) : f(u, P);
6871
6865
  }).join(`
6872
6866
  `);
6873
6867
  var v = [].slice.call(l.children);
6874
- v.forEach(function(m, b) {
6875
- var P = y[b];
6876
- P.panel.index === n.index && (addClass(m, d), e._prevIndex = b), e._addBulletEvents(m, b);
6868
+ v.forEach(function(m, P) {
6869
+ var y = b[P];
6870
+ y.panel.index === n.index && (addClass(m, d), e._prevIndex = P), e._addBulletEvents(m, P);
6877
6871
  }), this._bullets = v;
6878
6872
  }, t.update = function(e) {
6879
- var n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bullets, d = this._bulletClass, f = this._activeClass, _ = this._prevIndex, g = n.camera.anchorPoints, y = r.renderBullet, v = r.renderActiveBullet;
6873
+ var n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bullets, d = this._bulletClass, f = this._activeClass, _ = this._prevIndex, g = n.camera.anchorPoints, b = r.renderBullet, v = r.renderActiveBullet;
6880
6874
  if (!(g.length <= 0)) {
6881
- var m = g[0].panel.index, b = e - m;
6882
- if (_ !== b) {
6875
+ var m = g[0].panel.index, P = e - m;
6876
+ if (_ !== P) {
6883
6877
  if (v) {
6884
- var P = u[_];
6885
- if (P) {
6886
- var p = this._createBulletFromString(y(d, _), _);
6887
- P.parentElement.replaceChild(p, P), u[_] = p;
6878
+ var y = u[_];
6879
+ if (y) {
6880
+ var p = this._createBulletFromString(b(d, _), _);
6881
+ y.parentElement.replaceChild(p, y), u[_] = p;
6888
6882
  }
6889
- var E = u[b], T = this._createBulletFromString(v(d + " " + f, b), b);
6890
- l.replaceChild(T, E), u[b] = T;
6883
+ var E = u[P], T = this._createBulletFromString(v(d + " " + f, P), P);
6884
+ l.replaceChild(T, E), u[P] = T;
6891
6885
  } else {
6892
- var E = u[b], P = u[_];
6893
- P && removeClass(P, f), addClass(E, f);
6886
+ var E = u[P], y = u[_];
6887
+ y && removeClass(y, f), addClass(E, f);
6894
6888
  }
6895
- this._prevIndex = b;
6889
+ this._prevIndex = P;
6896
6890
  }
6897
6891
  }
6898
6892
  }, i;
@@ -6911,8 +6905,8 @@ var Renderer = /* @__PURE__ */ function() {
6911
6905
  }, t.update = function(e) {
6912
6906
  var n = this._flicking, r = this._wrapper, l = this._pagination, u = n.camera.anchorPoints, d = u.length > 0 ? e - u[0].panel.index + 1 : 0, f = u.length;
6913
6907
  if (!(d === this._prevIndex && f === this._prevTotal)) {
6914
- var _ = "." + l.classPrefix + "-" + PAGINATION.FRACTION_CURRENT_SUFFIX, g = "." + l.classPrefix + "-" + PAGINATION.FRACTION_TOTAL_SUFFIX, y = r.querySelector(_), v = r.querySelector(g);
6915
- y.innerHTML = l.fractionCurrentFormat(d), v.innerHTML = l.fractionTotalFormat(f), this._prevIndex = d, this._prevTotal = f;
6908
+ var _ = "." + l.classPrefix + "-" + PAGINATION.FRACTION_CURRENT_SUFFIX, g = "." + l.classPrefix + "-" + PAGINATION.FRACTION_TOTAL_SUFFIX, b = r.querySelector(_), v = r.querySelector(g);
6909
+ b.innerHTML = l.fractionCurrentFormat(d), v.innerHTML = l.fractionTotalFormat(f), this._prevIndex = d, this._prevTotal = f;
6916
6910
  }
6917
6911
  }, i;
6918
6912
  }(Renderer), ScrollBulletRenderer = /* @__PURE__ */ function(s) {
@@ -6928,8 +6922,8 @@ var Renderer = /* @__PURE__ */ function() {
6928
6922
  return t.destroy = function() {
6929
6923
  this._bullets = [], this._bulletSize = 0, this._previousIndex = -1, this._sliderIndex = -1;
6930
6924
  }, t.render = function() {
6931
- var e = this, n = this._wrapper, r = this._flicking, l = this._pagination, u = l.renderBullet, d = r.camera.anchorPoints, f = l.classPrefix + "-" + PAGINATION.SCROLL_WRAPPER_SUFFIX, _ = l.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, g = l.classPrefix + "-" + PAGINATION.SCROLL_SLIDER_SUFFIX, y = l.classPrefix + "-" + PAGINATION.SCROLL_UNINIT_SUFFIX, v = document.createElement("div");
6932
- addClass(v, g), addClass(n, y), addClass(n, f), n.appendChild(v), v.innerHTML = d.map(function(p, E) {
6925
+ var e = this, n = this._wrapper, r = this._flicking, l = this._pagination, u = l.renderBullet, d = r.camera.anchorPoints, f = l.classPrefix + "-" + PAGINATION.SCROLL_WRAPPER_SUFFIX, _ = l.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, g = l.classPrefix + "-" + PAGINATION.SCROLL_SLIDER_SUFFIX, b = l.classPrefix + "-" + PAGINATION.SCROLL_UNINIT_SUFFIX, v = document.createElement("div");
6926
+ addClass(v, g), addClass(n, b), addClass(n, f), n.appendChild(v), v.innerHTML = d.map(function(p, E) {
6933
6927
  return u(_, E);
6934
6928
  }).join(`
6935
6929
  `);
@@ -6937,65 +6931,65 @@ var Renderer = /* @__PURE__ */ function() {
6937
6931
  if (m.forEach(function(p, E) {
6938
6932
  e._addBulletEvents(p, E);
6939
6933
  }), !(m.length <= 0)) {
6940
- var b = getComputedStyle(m[0]), P = m[0].clientWidth + parseFloat(b.marginLeft) + parseFloat(b.marginRight);
6941
- n.style.width = P * l.bulletCount + "px", this._bullets = m, this._bulletSize = P, this._previousIndex = -1, this.update(this._flicking.index), window.requestAnimationFrame(function() {
6942
- removeClass(n, y);
6934
+ var P = getComputedStyle(m[0]), y = m[0].clientWidth + parseFloat(P.marginLeft) + parseFloat(P.marginRight);
6935
+ n.style.width = y * l.bulletCount + "px", this._bullets = m, this._bulletSize = y, this._previousIndex = -1, this.update(this._flicking.index), window.requestAnimationFrame(function() {
6936
+ removeClass(n, b);
6943
6937
  });
6944
6938
  }
6945
6939
  }, t.update = function(e) {
6946
- var n = this._pagination, r = this._flicking, l = this._bullets, u = this._previousIndex, d = n.renderBullet, f = n.renderActiveBullet, _ = r.camera.anchorPoints, g = _[0].panel.index, y = e - g;
6940
+ var n = this._pagination, r = this._flicking, l = this._bullets, u = this._previousIndex, d = n.renderBullet, f = n.renderActiveBullet, _ = r.camera.anchorPoints, g = _[0].panel.index, b = e - g;
6947
6941
  if (!(_.length <= 0)) {
6948
- var v = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, b = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, p = function(R) {
6949
- return "" + b + (R > 1 ? R : "");
6950
- }, E = function(R) {
6942
+ var v = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, y = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, p = function(R) {
6951
6943
  return "" + P + (R > 1 ? R : "");
6952
- }, T = new RegExp("^" + b), O = new RegExp("^" + P);
6944
+ }, E = function(R) {
6945
+ return "" + y + (R > 1 ? R : "");
6946
+ }, T = new RegExp("^" + P), O = new RegExp("^" + y);
6953
6947
  if (f) {
6954
6948
  var S = l[u];
6955
6949
  if (S) {
6956
6950
  var C = this._createBulletFromString(d(v, u), u);
6957
6951
  S.parentElement.replaceChild(C, S), l[u] = C;
6958
6952
  }
6959
- var x = l[y];
6953
+ var x = l[b];
6960
6954
  if (x) {
6961
- var I = this._createBulletFromString(f(v, y), y);
6962
- x.parentElement.replaceChild(I, x), l[y] = I;
6955
+ var I = this._createBulletFromString(f(v, b), b);
6956
+ x.parentElement.replaceChild(I, x), l[b] = I;
6963
6957
  }
6964
6958
  }
6965
- l.forEach(function(R, w) {
6966
- for (var A = w - y, N = R.className.split(" "), D = 0, L = N; D < L.length; D++) {
6967
- var B = L[D];
6959
+ l.forEach(function(R, D) {
6960
+ for (var A = D - b, N = R.className.split(" "), w = 0, L = N; w < L.length; w++) {
6961
+ var B = L[w];
6968
6962
  (B === m || T.test(B) || O.test(B)) && removeClass(R, B);
6969
6963
  }
6970
6964
  A === 0 ? addClass(R, m) : A > 0 ? addClass(R, E(Math.abs(A))) : addClass(R, p(Math.abs(A)));
6971
- }), n.scrollOnChange(y, {
6965
+ }), n.scrollOnChange(b, {
6972
6966
  total: l.length,
6973
6967
  prevIndex: u,
6974
6968
  sliderIndex: this._sliderIndex,
6975
- direction: y > u ? DIRECTION.NEXT : DIRECTION.PREV,
6969
+ direction: b > u ? DIRECTION.NEXT : DIRECTION.PREV,
6976
6970
  bullets: __spreadArray$1([], l),
6977
6971
  moveTo: this.moveTo
6978
- }), this._previousIndex = y;
6972
+ }), this._previousIndex = b;
6979
6973
  }
6980
6974
  }, i;
6981
6975
  }(Renderer), Pagination = /* @__PURE__ */ function() {
6982
6976
  function s(t) {
6983
- var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.selector, d = u === void 0 ? PAGINATION.SELECTOR : u, f = n.type, _ = f === void 0 ? PAGINATION.TYPE.BULLET : f, g = n.classPrefix, y = g === void 0 ? PAGINATION.PREFIX : g, v = n.bulletCount, m = v === void 0 ? 5 : v, b = n.renderBullet, P = b === void 0 ? function(A) {
6977
+ var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.selector, d = u === void 0 ? PAGINATION.SELECTOR : u, f = n.type, _ = f === void 0 ? PAGINATION.TYPE.BULLET : f, g = n.classPrefix, b = g === void 0 ? PAGINATION.PREFIX : g, v = n.bulletCount, m = v === void 0 ? 5 : v, P = n.renderBullet, y = P === void 0 ? function(A) {
6984
6978
  return '<span class="' + A + '"></span>';
6985
- } : b, p = n.renderActiveBullet, E = p === void 0 ? null : p, T = n.renderFraction, O = T === void 0 ? function(A, N) {
6979
+ } : P, p = n.renderActiveBullet, E = p === void 0 ? null : p, T = n.renderFraction, O = T === void 0 ? function(A, N) {
6986
6980
  return '<span class="' + A + '"></span>/<span class="' + N + '"></span>';
6987
6981
  } : T, S = n.fractionCurrentFormat, C = S === void 0 ? function(A) {
6988
6982
  return A.toString();
6989
6983
  } : S, x = n.fractionTotalFormat, I = x === void 0 ? function(A) {
6990
6984
  return A.toString();
6991
- } : x, R = n.scrollOnChange, w = R === void 0 ? function(A, N) {
6985
+ } : x, R = n.scrollOnChange, D = R === void 0 ? function(A, N) {
6992
6986
  return N.moveTo(A);
6993
6987
  } : R;
6994
6988
  this._flicking = null, this.update = function() {
6995
6989
  e._removeAllChilds(), e._renderer.render();
6996
6990
  }, this._onIndexChange = function(A) {
6997
6991
  e._renderer.update(A.index);
6998
- }, this._parentEl = l, this._selector = d, this._type = _, this._classPrefix = y, this._bulletCount = m, this._renderBullet = P, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = C, this._fractionTotalFormat = I, this._scrollOnChange = w;
6992
+ }, this._parentEl = l, this._selector = d, this._type = _, this._classPrefix = b, this._bulletCount = m, this._renderBullet = y, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = C, this._fractionTotalFormat = I, this._scrollOnChange = D;
6999
6993
  }
7000
6994
  var i = s.prototype;
7001
6995
  return Object.defineProperty(i, "parentEl", {
@@ -7213,7 +7207,7 @@ var Result = /* @__PURE__ */ function() {
7213
7207
  function diff(s, i, t) {
7214
7208
  var e = SUPPORT_MAP ? Map : t ? HashMap : PolyMap, n = t || function(E) {
7215
7209
  return E;
7216
- }, r = [], l = [], u = [], d = s.map(n), f = i.map(n), _ = new e(), g = new e(), y = [], v = [], m = {}, b = [], P = 0, p = 0;
7210
+ }, r = [], l = [], u = [], d = s.map(n), f = i.map(n), _ = new e(), g = new e(), b = [], v = [], m = {}, P = [], y = 0, p = 0;
7217
7211
  return d.forEach(function(E, T) {
7218
7212
  _.set(E, T);
7219
7213
  }), f.forEach(function(E, T) {
@@ -7223,8 +7217,8 @@ function diff(s, i, t) {
7223
7217
  typeof O > "u" ? (++p, l.push(T)) : m[O] = p;
7224
7218
  }), f.forEach(function(E, T) {
7225
7219
  var O = _.get(E);
7226
- typeof O > "u" ? (r.push(T), ++P) : (u.push([O, T]), p = m[T] || 0, y.push([O - p, T - P]), v.push(T === O), O !== T && b.push([O, T]));
7227
- }), l.reverse(), new Result(s, i, r, l, b, u, y, v);
7220
+ typeof O > "u" ? (r.push(T), ++y) : (u.push([O, T]), p = m[T] || 0, b.push([O - p, T - y]), v.push(T === O), O !== T && P.push([O, T]));
7221
+ }), l.reverse(), new Result(s, i, r, l, P, u, b, v);
7228
7222
  }
7229
7223
  var ListDiffer = /* @__PURE__ */ function() {
7230
7224
  function s(t, e) {
@@ -7696,21 +7690,21 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7696
7690
  function g(m) {
7697
7691
  _.value = m.index;
7698
7692
  }
7699
- function y(m) {
7693
+ function b(m) {
7700
7694
  n.value.moveTo(m);
7701
7695
  }
7702
7696
  function v() {
7703
7697
  t("opened");
7704
7698
  }
7705
7699
  return watch(_, (m) => {
7706
- y(m);
7700
+ b(m);
7707
7701
  }), onMounted(() => {
7708
7702
  r.value = [
7709
7703
  new Arrow(),
7710
7704
  new Fade(),
7711
7705
  new Pagination({ type: d.value })
7712
7706
  ];
7713
- }), (m, b) => (openBlock(), createElementBlock("div", null, [
7707
+ }), (m, P) => (openBlock(), createElementBlock("div", null, [
7714
7708
  l.value ? (openBlock(), createBlock(unref(Flicking), {
7715
7709
  key: 0,
7716
7710
  ref_key: "slideshow",
@@ -7749,15 +7743,15 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7749
7743
  })
7750
7744
  ])
7751
7745
  ]),
7752
- b[0] || (b[0] = createBaseVNode("div", { class: "flicking-pagination" }, null, -1))
7746
+ P[0] || (P[0] = createBaseVNode("div", { class: "flicking-pagination" }, null, -1))
7753
7747
  ]),
7754
7748
  default: withCtx(() => [
7755
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.gallery, ({ large: P, url: p }, E) => (openBlock(), createElementBlock("div", {
7749
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(m.gallery, ({ large: y, url: p }, E) => (openBlock(), createElementBlock("div", {
7756
7750
  key: E,
7757
7751
  class: "konnectio-flicking-gallery-item"
7758
7752
  }, [
7759
7753
  createBaseVNode("img", {
7760
- src: P || p
7754
+ src: y || p
7761
7755
  }, null, 8, _hoisted_4$7)
7762
7756
  ]))), 128))
7763
7757
  ]),
@@ -7797,98 +7791,92 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7797
7791
  },
7798
7792
  emits: ["update:idx"],
7799
7793
  setup(s, { emit: i }) {
7800
- const t = i, { t: e } = useI18n(), n = s, {
7801
- currentAdults: r,
7802
- currentChildren: l,
7803
- currentArrivalDate: u,
7804
- currentDepartureDate: d,
7805
- currentLocation: f
7806
- } = storeToRefs(useHotelStore()), {
7807
- currentEventDate: _,
7808
- currentEventLocation: g
7794
+ const t = i, { t: e } = useI18n(), n = s, r = useHotelStore(), {
7795
+ currentEventDate: l,
7796
+ currentEventLocation: u
7809
7797
  } = storeToRefs(useEventStore());
7810
- function y(O) {
7811
- const S = O.getFullYear();
7812
- let C = O.getMonth() + 1, x = O.getDate();
7813
- return x < 10 && (x = "0" + x), C < 10 && (C = "0" + C), `${S}-${C}-${x}`;
7798
+ function d(y) {
7799
+ const p = y.getFullYear();
7800
+ let E = y.getMonth() + 1, T = y.getDate();
7801
+ return T < 10 && (T = "0" + T), E < 10 && (E = "0" + E), `${p}-${E}-${T}`;
7814
7802
  }
7815
- const v = computed$1(() => n.type !== "event" ? `${window.location.origin + window.location.pathname}?a=${r.value}&c=${l.value}&ci=${y(u.value)}&co=${y(d.value)}&hid=${f.value}&id=${n.listingId}` : ""), m = computed$1(() => n.type === "event" ? `${window.location.origin + window.location.pathname}?d=${y(_.value)}&rid=${g.value}&eid=${n.listingId}` : "");
7816
- function b(O) {
7817
- t("update:idx", O);
7803
+ const f = computed$1(() => n.type !== "event" ? `${window.location.origin + window.location.pathname}?a=${r.currentAdults}&c=${r.currentChildren}&ci=${d(r.currentArrivalDate)}&co=${d(r.currentDepartureDate)}&hid=${r.currentLocation}&id=${n.listingId}` : ""), _ = computed$1(() => n.type === "event" ? `${window.location.origin + window.location.pathname}?d=${d(l.value)}&rid=${u.value}&eid=${n.listingId}` : "");
7804
+ function g(y) {
7805
+ t("update:idx", y);
7818
7806
  }
7819
- const P = computed$1({
7807
+ const b = computed$1({
7820
7808
  get: () => n.idx,
7821
- set: (O) => b(O)
7822
- }), p = ref("testVueMasonry"), E = inject("redrawVueMasonry");
7823
- function T() {
7824
- E("testVueMasonry");
7809
+ set: (y) => g(y)
7810
+ }), v = ref("testVueMasonry"), m = inject("redrawVueMasonry");
7811
+ function P() {
7812
+ m("testVueMasonry");
7825
7813
  }
7826
- return (O, S) => {
7827
- const C = resolveDirective("masonry-tile"), x = resolveDirective("masonry");
7814
+ return (y, p) => {
7815
+ const E = resolveDirective("masonry-tile"), T = resolveDirective("masonry");
7828
7816
  return openBlock(), createBlock(Base$1, {
7829
- title: O.title,
7830
- onOpened: T
7817
+ title: y.title,
7818
+ onOpened: P
7831
7819
  }, createSlots({
7832
7820
  default: withCtx(() => [
7833
- O.gallery ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
7821
+ y.gallery ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
7834
7822
  createVNode(Gallery, {
7835
- gallery: O.gallery,
7836
- idx: P.value,
7837
- "onUpdate:idx": S[0] || (S[0] = (I) => P.value = I)
7823
+ gallery: y.gallery,
7824
+ idx: b.value,
7825
+ "onUpdate:idx": p[0] || (p[0] = (O) => b.value = O)
7838
7826
  }, null, 8, ["gallery", "idx"])
7839
7827
  ])) : createCommentVNode("", !0),
7840
7828
  createBaseVNode("div", _hoisted_2$8, [
7841
- O.description ? (openBlock(), createElementBlock("div", {
7829
+ y.description ? (openBlock(), createElementBlock("div", {
7842
7830
  key: 0,
7843
7831
  class: "konnectio-listing-side-panel-description",
7844
- innerHTML: unref(convertDescription)(O.description)
7832
+ innerHTML: unref(convertDescription)(y.description)
7845
7833
  }, null, 8, _hoisted_3$8)) : createCommentVNode("", !0),
7846
- O.facilities && O.facilities.length !== 0 ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
7834
+ y.facilities && y.facilities.length !== 0 ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
7847
7835
  withDirectives((openBlock(), createElementBlock("ul", _hoisted_5$5, [
7848
7836
  withDirectives(createBaseVNode("div", _hoisted_6$5, null, 512), [
7849
- [C]
7837
+ [E]
7850
7838
  ]),
7851
- (openBlock(!0), createElementBlock(Fragment, null, renderList(O.facilities, ({ name: I, subFacilities: R }, w) => withDirectives((openBlock(), createElementBlock("li", {
7852
- key: w,
7839
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(y.facilities, ({ name: O, subFacilities: S }, C) => withDirectives((openBlock(), createElementBlock("li", {
7840
+ key: C,
7853
7841
  class: "konnectio-masonry-facility"
7854
7842
  }, [
7855
7843
  createBaseVNode("h6", null, [
7856
- createBaseVNode("span", null, toDisplayString(I), 1)
7844
+ createBaseVNode("span", null, toDisplayString(O), 1)
7857
7845
  ]),
7858
7846
  createBaseVNode("ul", null, [
7859
- (openBlock(!0), createElementBlock(Fragment, null, renderList(R, ({ name: A }, N) => (openBlock(), createElementBlock("li", { key: N }, [
7860
- createBaseVNode("span", null, toDisplayString(A), 1)
7847
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(S, ({ name: x }, I) => (openBlock(), createElementBlock("li", { key: I }, [
7848
+ createBaseVNode("span", null, toDisplayString(x), 1)
7861
7849
  ]))), 128))
7862
7850
  ])
7863
7851
  ])), [
7864
- [C]
7852
+ [E]
7865
7853
  ])), 128))
7866
7854
  ])), [
7867
- [x, p.value]
7855
+ [T, v.value]
7868
7856
  ])
7869
7857
  ])) : createCommentVNode("", !0)
7870
7858
  ])
7871
7859
  ]),
7872
7860
  _: 2
7873
7861
  }, [
7874
- (O.type === "hotel" || O.type === "event" || O.type === "template") && O.disableDeepLink === !1 ? {
7862
+ (y.type === "hotel" || y.type === "event" || y.type === "template") && y.disableDeepLink === !1 ? {
7875
7863
  name: "footer",
7876
7864
  fn: withCtx(() => [
7877
7865
  createBaseVNode("div", _hoisted_7$4, [
7878
- O.type === "hotel" || O.type === "template" ? (openBlock(), createBlock(TextField, {
7866
+ y.type === "hotel" || y.type === "template" ? (openBlock(), createBlock(TextField, {
7879
7867
  key: 0,
7880
- modelValue: v.value,
7881
- "onUpdate:modelValue": S[1] || (S[1] = (I) => v.value = I),
7868
+ modelValue: f.value,
7869
+ "onUpdate:modelValue": p[1] || (p[1] = (O) => f.value = O),
7882
7870
  icon: "share-nodes",
7883
7871
  "icon-placement": "label",
7884
7872
  "icon-type": "fas",
7885
7873
  label: unref(e)("hotel.shareThis"),
7886
7874
  readonly: "",
7887
7875
  clipboard: ""
7888
- }, null, 8, ["modelValue", "label"])) : O.type === "event" ? (openBlock(), createBlock(TextField, {
7876
+ }, null, 8, ["modelValue", "label"])) : y.type === "event" ? (openBlock(), createBlock(TextField, {
7889
7877
  key: 1,
7890
- modelValue: m.value,
7891
- "onUpdate:modelValue": S[2] || (S[2] = (I) => m.value = I),
7878
+ modelValue: _.value,
7879
+ "onUpdate:modelValue": p[2] || (p[2] = (O) => _.value = O),
7892
7880
  icon: "share-nodes",
7893
7881
  "icon-placement": "label",
7894
7882
  "icon-type": "fas",
@@ -7903,7 +7891,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7903
7891
  ]), 1032, ["title"]);
7904
7892
  };
7905
7893
  }
7906
- }), SidePanel = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-a17ff912"]]);
7894
+ }), SidePanel = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-4e306546"]]);
7907
7895
  var raf = null;
7908
7896
  function requestAnimationFrame$1(s) {
7909
7897
  return raf || (raf = (window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(i) {
@@ -8061,35 +8049,35 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8061
8049
  }), _ = () => {
8062
8050
  u.value && (u.value.innerHTML = convertDescription(x.value));
8063
8051
  }, g = () => {
8064
- d.localExpanded || (_(), (m() || C.value) && P());
8065
- }, y = () => {
8052
+ d.localExpanded || (_(), (m() || C.value) && y());
8053
+ }, b = () => {
8066
8054
  e.text && (d.offset = e.text.length, v(), e.autoResize && r.value && (addListener(r.value, g), d.unregisterResizeCallback = () => {
8067
8055
  r.value && removeListener(r.value, g);
8068
8056
  }), g());
8069
8057
  }, v = () => {
8070
8058
  d.unregisterResizeCallback?.();
8071
- }, m = () => !e.maxLines && !e.maxHeight || !r.value ? !1 : !!(e.maxLines && b() > e.maxLines || e.maxHeight && r.value.scrollHeight > r.value.offsetHeight), b = () => l.value ? Object.keys(
8072
- Array.prototype.slice.call(l.value.getClientRects()).reduce((N, { top: D, bottom: L }) => {
8073
- const B = `${D}/${L}`;
8059
+ }, m = () => !e.maxLines && !e.maxHeight || !r.value ? !1 : !!(e.maxLines && P() > e.maxLines || e.maxHeight && r.value.scrollHeight > r.value.offsetHeight), P = () => l.value ? Object.keys(
8060
+ Array.prototype.slice.call(l.value.getClientRects()).reduce((N, { top: w, bottom: L }) => {
8061
+ const B = `${w}/${L}`;
8074
8062
  return N[B] || (N[B] = !0), N;
8075
8063
  }, {})
8076
- ).length : 0, P = (...N) => {
8077
- const [D = 0, L = d.offset] = N;
8078
- if (L - D <= 3) {
8064
+ ).length : 0, y = (...N) => {
8065
+ const [w = 0, L = d.offset] = N;
8066
+ if (L - w <= 3) {
8079
8067
  E();
8080
8068
  return;
8081
8069
  }
8082
- const B = Math.floor((L + D) / 2);
8083
- p(B), m() ? P(D, B) : P(B, L);
8070
+ const B = Math.floor((L + w) / 2);
8071
+ p(B), m() ? y(w, B) : y(B, L);
8084
8072
  }, p = (N) => {
8085
8073
  d.offset = N, _();
8086
8074
  }, E = () => {
8087
8075
  T(), O();
8088
8076
  }, T = () => {
8089
- for (; (!m() || b() < 2) && d.offset < e.text.length; )
8077
+ for (; (!m() || P() < 2) && d.offset < e.text.length; )
8090
8078
  S(1);
8091
8079
  }, O = () => {
8092
- for (; m() && b() > 1 && d.offset > 0; )
8080
+ for (; m() && P() > 1 && d.offset > 0; )
8093
8081
  S(-1);
8094
8082
  }, S = (N) => {
8095
8083
  p(d.offset + N);
@@ -8113,7 +8101,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8113
8101
  return (e.text.slice(0, d.offset) || "").trim() + e.ellipsis;
8114
8102
  }), R = () => {
8115
8103
  d.localExpanded = !0;
8116
- }, w = () => {
8104
+ }, D = () => {
8117
8105
  d.localExpanded = !1;
8118
8106
  }, A = () => {
8119
8107
  d.localExpanded = !d.localExpanded;
@@ -8139,14 +8127,14 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8139
8127
  () => [e.text, e.autoResize].join(),
8140
8128
  () => {
8141
8129
  nextTick(() => {
8142
- y();
8130
+ b();
8143
8131
  });
8144
8132
  }
8145
8133
  ), onUnmounted(() => {
8146
8134
  v();
8147
8135
  }), onMounted(() => {
8148
- y();
8149
- }), (N, D) => (openBlock(), createElementBlock("div", {
8136
+ b();
8137
+ }), (N, w) => (openBlock(), createElementBlock("div", {
8150
8138
  ref_key: "textClampRef",
8151
8139
  ref: r,
8152
8140
  class: "text-clamp",
@@ -8161,7 +8149,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8161
8149
  }, [
8162
8150
  renderSlot(N.$slots, "before", {
8163
8151
  expand: R,
8164
- collapse: w,
8152
+ collapse: D,
8165
8153
  toggle: A,
8166
8154
  clamped: C.value,
8167
8155
  expanded: d.localExpanded
@@ -8173,7 +8161,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8173
8161
  }, null, 8, _hoisted_1$a),
8174
8162
  renderSlot(N.$slots, "after", {
8175
8163
  expand: R,
8176
- collapse: w,
8164
+ collapse: D,
8177
8165
  toggle: A,
8178
8166
  clamped: C.value,
8179
8167
  expanded: d.localExpanded
@@ -8181,7 +8169,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8181
8169
  C.value || d.localExpanded ? (openBlock(), createElementBlock("button", {
8182
8170
  key: 0,
8183
8171
  class: "link",
8184
- onClick: D[0] || (D[0] = withModifiers((L) => A(), ["prevent"]))
8172
+ onClick: w[0] || (w[0] = withModifiers((L) => A(), ["prevent"]))
8185
8173
  }, [
8186
8174
  d.localExpanded ? (openBlock(), createElementBlock("span", _hoisted_3$7, toDisplayString(unref(t)("general.readLess")), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$7, toDisplayString(unref(t)("general.readMore")), 1))
8187
8175
  ])) : createCommentVNode("", !0)
@@ -8220,12 +8208,12 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8220
8208
  t.value = !0;
8221
8209
  }
8222
8210
  function _(g) {
8223
- let y = "";
8211
+ let b = "";
8224
8212
  return g.forEach(({ name: v }) => {
8225
- y += `<li>${v}</li>`;
8226
- }), `<ul>${y}</ul>`;
8213
+ b += `<li>${v}</li>`;
8214
+ }), `<ul>${b}</ul>`;
8227
8215
  }
8228
- return (g, y) => {
8216
+ return (g, b) => {
8229
8217
  const v = resolveDirective("tooltip");
8230
8218
  return openBlock(), createElementBlock("li", {
8231
8219
  class: normalizeClass([
@@ -8244,7 +8232,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8244
8232
  createVNode(Gallery, {
8245
8233
  gallery: g.gallery,
8246
8234
  idx: e.value,
8247
- "onUpdate:idx": y[0] || (y[0] = (m) => e.value = m),
8235
+ "onUpdate:idx": b[0] || (b[0] = (m) => e.value = m),
8248
8236
  "is-listing": !0,
8249
8237
  pagination: "scroll",
8250
8238
  onOpened: f
@@ -8267,7 +8255,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8267
8255
  key: 0,
8268
8256
  class: "konnectio-listing-read-more",
8269
8257
  type: "button",
8270
- onClick: y[1] || (y[1] = withModifiers((m) => t.value = !0, ["prevent"]))
8258
+ onClick: b[1] || (b[1] = withModifiers((m) => t.value = !0, ["prevent"]))
8271
8259
  }, [
8272
8260
  createVNode(Icon, {
8273
8261
  icon: "info-circle",
@@ -8299,15 +8287,15 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8299
8287
  ])
8300
8288
  ]),
8301
8289
  g.facilities ? (openBlock(), createElementBlock("ul", _hoisted_10$2, [
8302
- (openBlock(!0), createElementBlock(Fragment, null, renderList(g.facilities, ({ icon: m, name: b, subFacilities: P }) => (openBlock(), createElementBlock(Fragment, null, [
8303
- m ? withDirectives((openBlock(), createElementBlock("li", { key: b }, [
8290
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(g.facilities, ({ icon: m, name: P, subFacilities: y }) => (openBlock(), createElementBlock(Fragment, null, [
8291
+ m ? withDirectives((openBlock(), createElementBlock("li", { key: P }, [
8304
8292
  createVNode(Icon, {
8305
8293
  icon: m,
8306
8294
  color: "header"
8307
8295
  }, null, 8, ["icon"])
8308
8296
  ])), [
8309
8297
  [v, {
8310
- content: _(P),
8298
+ content: _(y),
8311
8299
  classes: ["tooltip", "konnectio-tooltip"],
8312
8300
  html: !0
8313
8301
  }]
@@ -8321,14 +8309,14 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8321
8309
  renderSlot(g.$slots, "default"),
8322
8310
  createVNode(SidePanel, {
8323
8311
  modelValue: t.value,
8324
- "onUpdate:modelValue": y[2] || (y[2] = (m) => t.value = m),
8312
+ "onUpdate:modelValue": b[2] || (b[2] = (m) => t.value = m),
8325
8313
  "listing-id": g.listingId,
8326
8314
  type: g.type,
8327
8315
  title: g.name,
8328
8316
  description: g.description,
8329
8317
  gallery: g.gallery,
8330
8318
  idx: e.value,
8331
- "onUpdate:idx": y[3] || (y[3] = (m) => e.value = m),
8319
+ "onUpdate:idx": b[3] || (b[3] = (m) => e.value = m),
8332
8320
  facilities: g.facilities,
8333
8321
  "disable-deep-link": g.disableDeepLink
8334
8322
  }, null, 8, ["modelValue", "listing-id", "type", "title", "description", "gallery", "idx", "facilities", "disable-deep-link"])
@@ -8336,7 +8324,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8336
8324
  ], 2);
8337
8325
  };
8338
8326
  }
8339
- }), Base = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-eefcb8c1"]]), _hoisted_1$8 = { class: "konnectio-radio-checkboxes" }, _sfc_main$7 = /* @__PURE__ */ defineComponent({
8327
+ }), Base = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-386d1e17"]]), _hoisted_1$8 = { class: "konnectio-radio-checkboxes" }, _sfc_main$7 = /* @__PURE__ */ defineComponent({
8340
8328
  __name: "CheckboxField",
8341
8329
  props: {
8342
8330
  modelValue: {},
@@ -8389,9 +8377,9 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8389
8377
  if (l.value) {
8390
8378
  const v = e.value;
8391
8379
  if (v && v > 0) {
8392
- const b = l.value.getBoundingClientRect().top + window.scrollY - v;
8380
+ const P = l.value.getBoundingClientRect().top + window.scrollY - v;
8393
8381
  window.scrollTo({
8394
- top: b,
8382
+ top: P,
8395
8383
  behavior: "smooth"
8396
8384
  });
8397
8385
  } else
@@ -8402,7 +8390,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8402
8390
  }, g = (v = 1) => {
8403
8391
  r.value = r.value - v, f();
8404
8392
  };
8405
- function y() {
8393
+ function b() {
8406
8394
  r.value = 0, f();
8407
8395
  }
8408
8396
  return emitter.on("scrollToTop", () => {
@@ -8425,34 +8413,34 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8425
8413
  createBaseVNode("span", null, toDisplayString(v.subtitle), 1)
8426
8414
  ])) : createCommentVNode("", !0),
8427
8415
  createBaseVNode("ul", _hoisted_5$3, [
8428
- (openBlock(!0), createElementBlock(Fragment, null, renderList(u.value, (b, P) => (openBlock(), createElementBlock("li", {
8429
- key: b.id,
8430
- class: normalizeClass({ "is-active": r.value >= P })
8416
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(u.value, (P, y) => (openBlock(), createElementBlock("li", {
8417
+ key: P.id,
8418
+ class: normalizeClass({ "is-active": r.value >= y })
8431
8419
  }, [
8432
- b.icon ? (openBlock(), createBlock(Icon, {
8420
+ P.icon ? (openBlock(), createBlock(Icon, {
8433
8421
  key: 0,
8434
- icon: b.icon,
8422
+ icon: P.icon,
8435
8423
  type: "fas"
8436
8424
  }, null, 8, ["icon"])) : createCommentVNode("", !0),
8437
- createBaseVNode("span", null, toDisplayString(b.label), 1)
8425
+ createBaseVNode("span", null, toDisplayString(P.label), 1)
8438
8426
  ], 2))), 128))
8439
8427
  ])
8440
8428
  ])
8441
8429
  ])
8442
8430
  ]),
8443
8431
  createBaseVNode("ul", _hoisted_6$3, [
8444
- (openBlock(!0), createElementBlock(Fragment, null, renderList(v.steps, (b) => (openBlock(), createElementBlock("li", {
8445
- key: b.id,
8432
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(v.steps, (P) => (openBlock(), createElementBlock("li", {
8433
+ key: P.id,
8446
8434
  class: "konnectio-multi-step-form-content-tab"
8447
8435
  }, [
8448
8436
  withDirectives(createBaseVNode("div", null, [
8449
- renderSlot(v.$slots, b.id, {
8437
+ renderSlot(v.$slots, P.id, {
8450
8438
  next: _,
8451
8439
  prev: g,
8452
- reset: y
8440
+ reset: b
8453
8441
  }, void 0, !0)
8454
8442
  ], 512), [
8455
- [vShow, d.value === b.id]
8443
+ [vShow, d.value === P.id]
8456
8444
  ])
8457
8445
  ]))), 128))
8458
8446
  ])
@@ -8841,7 +8829,7 @@ const StickySidebar = /* @__PURE__ */ (() => {
8841
8829
  */
8842
8830
  static supportTransform(n) {
8843
8831
  var r = !1, l = n ? "perspective" : "transform", u = l.charAt(0).toUpperCase() + l.slice(1), d = ["Webkit", "Moz", "O", "ms"], f = document.createElement("support"), _ = f.style;
8844
- return (l + " " + d.join(u + " ") + u).split(" ").forEach(function(g, y) {
8832
+ return (l + " " + d.join(u + " ") + u).split(" ").forEach(function(g, b) {
8845
8833
  if (_[g] !== void 0)
8846
8834
  return r = g, !1;
8847
8835
  }), r;
@@ -9040,17 +9028,17 @@ const _hoisted_1$3 = {
9040
9028
  currency: r,
9041
9029
  enableStickyHeader: l,
9042
9030
  headerHeight: u
9043
- } = storeToRefs(useUtilityStore()), { isValidatingDiscountCode: d } = storeToRefs(useHotelStore()), {
9031
+ } = storeToRefs(useUtilityStore()), d = useHotelStore(), {
9044
9032
  amount: f,
9045
9033
  voucher: _,
9046
9034
  isLoading: g
9047
- } = storeToRefs(useApplyGiftCardStore()), { apply: y, reset: v } = useApplyGiftCardStore(), m = useSlots(), b = useModel(s, "discountCode"), P = s, p = computed$1(() => P.basePrice - P.weekendFee - P.roomUpgrade), E = ref("discount"), T = computed$1(() => E.value === "discount"), O = computed$1(() => E.value === "gift-card"), S = computed$1(() => !t.value || !e.value), C = computed$1(() => !t.value && !e.value), x = (I) => {
9035
+ } = storeToRefs(useApplyGiftCardStore()), { apply: b, reset: v } = useApplyGiftCardStore(), m = useSlots(), P = useModel(s, "discountCode"), y = s, p = computed$1(() => y.basePrice - y.weekendFee - y.roomUpgrade), E = ref("discount"), T = computed$1(() => E.value === "discount"), O = computed$1(() => E.value === "gift-card"), S = computed$1(() => !t.value || !e.value), C = computed$1(() => !t.value && !e.value), x = (I) => {
9048
9036
  E.value = I;
9049
9037
  };
9050
9038
  return onMounted(() => {
9051
9039
  e.value && x("gift-card");
9052
9040
  }), (I, R) => {
9053
- const w = resolveDirective("sticky");
9041
+ const D = resolveDirective("sticky");
9054
9042
  return openBlock(), createElementBlock("div", _hoisted_1$3, [
9055
9043
  createBaseVNode("div", {
9056
9044
  id: "konnectio-reservation-layout-content",
@@ -9185,14 +9173,14 @@ const _hoisted_1$3 = {
9185
9173
  default: withCtx(() => [
9186
9174
  T.value ? (openBlock(), createBlock(ActionField, {
9187
9175
  key: 0,
9188
- modelValue: b.value,
9189
- "onUpdate:modelValue": R[3] || (R[3] = (A) => b.value = A),
9176
+ modelValue: P.value,
9177
+ "onUpdate:modelValue": R[3] || (R[3] = (A) => P.value = A),
9190
9178
  icon: "tags",
9191
9179
  "button-icon": "paper-plane-top",
9192
9180
  placeholder: unref(i)("general.discountCodePlaceholder"),
9193
9181
  action: "success",
9194
9182
  secondary: !0,
9195
- "is-loading": unref(d),
9183
+ "is-loading": unref(d).isValidatingDiscountCode,
9196
9184
  onAction: R[4] || (R[4] = (A) => I.validateDiscountCode())
9197
9185
  }, null, 8, ["modelValue", "placeholder", "is-loading"])) : O.value ? (openBlock(), createBlock(ActionField, {
9198
9186
  key: 1,
@@ -9204,7 +9192,7 @@ const _hoisted_1$3 = {
9204
9192
  action: "success",
9205
9193
  secondary: !0,
9206
9194
  "is-loading": unref(g),
9207
- onAction: R[6] || (R[6] = (A) => unref(y)())
9195
+ onAction: R[6] || (R[6] = (A) => unref(b)())
9208
9196
  }, null, 8, ["modelValue", "is-loading"])) : createCommentVNode("", !0)
9209
9197
  ]),
9210
9198
  _: 1
@@ -9259,7 +9247,7 @@ const _hoisted_1$3 = {
9259
9247
  ])
9260
9248
  ])
9261
9249
  ])), [
9262
- [w]
9250
+ [D]
9263
9251
  ]),
9264
9252
  createBaseVNode("div", _hoisted_33, [
9265
9253
  createVNode(PoweredByKonnectio)
@@ -9269,7 +9257,7 @@ const _hoisted_1$3 = {
9269
9257
  ]);
9270
9258
  };
9271
9259
  }
9272
- }), ReservationForm = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-a9c432c5"]]), _hoisted_1$2 = {
9260
+ }), ReservationForm = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-54698017"]]), _hoisted_1$2 = {
9273
9261
  id: "konnectio-confirmation",
9274
9262
  class: "konnectio-panel"
9275
9263
  }, _hoisted_2$1 = { id: "konnectio-confirmation-introduction" }, _hoisted_3$1 = { id: "konnectio-confirmation-title" }, _hoisted_4$1 = ["innerHTML"], _hoisted_5$1 = { class: "konnectio-order-panel" }, _hoisted_6$1 = { key: 0 }, _hoisted_7$1 = { class: "konnectio-order-panel" }, _hoisted_8$1 = { class: "konnectio-order-lines" }, _hoisted_9 = { key: 0 }, _hoisted_10 = { key: 1 }, _hoisted_11 = { key: 2 }, _hoisted_12 = {
@@ -9295,9 +9283,9 @@ const _hoisted_1$3 = {
9295
9283
  offerDate: f,
9296
9284
  totalPrice: _,
9297
9285
  totalVAT: g,
9298
- subTotalPrice: y
9299
- } = storeToRefs(usePaymentStore()), { currency: v } = storeToRefs(useUtilityStore()), { currentArrivalDate: m, currentDepartureDate: b } = storeToRefs(useHotelStore());
9300
- return (P, p) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9286
+ subTotalPrice: b
9287
+ } = storeToRefs(usePaymentStore()), { currency: v } = storeToRefs(useUtilityStore()), m = useHotelStore();
9288
+ return (P, y) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9301
9289
  createBaseVNode("div", _hoisted_2$1, [
9302
9290
  createBaseVNode("h2", _hoisted_3$1, [
9303
9291
  createBaseVNode("span", null, toDisplayString(unref(i)("general.thankYou")), 1)
@@ -9320,9 +9308,9 @@ const _hoisted_1$3 = {
9320
9308
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.detailsTitle")), 1)
9321
9309
  ]),
9322
9310
  createBaseVNode("ul", _hoisted_8$1, [
9323
- unref(m) && unref(b) ? (openBlock(), createElementBlock("li", _hoisted_9, [
9311
+ unref(m).currentArrivalDate && unref(m).currentDepartureDate ? (openBlock(), createElementBlock("li", _hoisted_9, [
9324
9312
  createBaseVNode("span", null, toDisplayString(unref(i)("general.date")), 1),
9325
- createBaseVNode("b", null, toDisplayString(unref(i)("general.datePeriod", { arrival: unref(showDate)(unref(m), 0, !0), departure: unref(showDate)(unref(b)) })), 1)
9313
+ createBaseVNode("b", null, toDisplayString(unref(i)("general.datePeriod", { arrival: unref(showDate)(unref(m).currentArrivalDate, 0, !0), departure: unref(showDate)(unref(m).currentDepartureDate) })), 1)
9326
9314
  ])) : unref(f) ? (openBlock(), createElementBlock("li", _hoisted_10, [
9327
9315
  createBaseVNode("span", null, toDisplayString(unref(i)("general.date")), 1),
9328
9316
  createBaseVNode("b", null, toDisplayString(unref(showDate)(unref(f))), 1)
@@ -9352,31 +9340,31 @@ const _hoisted_1$3 = {
9352
9340
  ]),
9353
9341
  createBaseVNode("tbody", null, [
9354
9342
  (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(e), ({
9355
- productName: E,
9356
- quantity: T,
9357
- unitPrice: O,
9358
- totalPrice: S
9359
- }) => (openBlock(), createElementBlock("tr", { key: E }, [
9343
+ productName: p,
9344
+ quantity: E,
9345
+ unitPrice: T,
9346
+ totalPrice: O
9347
+ }) => (openBlock(), createElementBlock("tr", { key: p }, [
9360
9348
  createBaseVNode("td", null, [
9361
- createBaseVNode("span", null, toDisplayString(E), 1)
9349
+ createBaseVNode("span", null, toDisplayString(p), 1)
9362
9350
  ]),
9363
9351
  createBaseVNode("td", null, [
9364
- createBaseVNode("span", null, toDisplayString(T), 1)
9352
+ createBaseVNode("span", null, toDisplayString(E), 1)
9365
9353
  ]),
9366
9354
  createBaseVNode("td", null, [
9367
- createBaseVNode("span", null, toDisplayString(unref(showPrice)(O, unref(v))), 1)
9355
+ createBaseVNode("span", null, toDisplayString(unref(showPrice)(T, unref(v))), 1)
9368
9356
  ]),
9369
9357
  createBaseVNode("td", null, [
9370
- createBaseVNode("span", null, toDisplayString(unref(showPrice)(S, unref(v))), 1)
9358
+ createBaseVNode("span", null, toDisplayString(unref(showPrice)(O, unref(v))), 1)
9371
9359
  ])
9372
9360
  ]))), 128))
9373
9361
  ])
9374
9362
  ])
9375
9363
  ])) : createCommentVNode("", !0),
9376
9364
  createBaseVNode("ul", _hoisted_14, [
9377
- unref(y) ? (openBlock(), createElementBlock("li", _hoisted_15, [
9365
+ unref(b) ? (openBlock(), createElementBlock("li", _hoisted_15, [
9378
9366
  createBaseVNode("span", null, toDisplayString(unref(i)("general.subTotal")), 1),
9379
- createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(y), unref(v))), 1)
9367
+ createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(b), unref(v))), 1)
9380
9368
  ])) : createCommentVNode("", !0),
9381
9369
  unref(g) ? (openBlock(), createElementBlock("li", _hoisted_16, [
9382
9370
  createBaseVNode("span", null, toDisplayString(unref(i)("general.vat")), 1),
@@ -9389,7 +9377,7 @@ const _hoisted_1$3 = {
9389
9377
  ])
9390
9378
  ]));
9391
9379
  }
9392
- }), ThankYou = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-2f46f7ab"]]), _hoisted_1$1 = { class: "hotel-listing" }, _hoisted_2 = { class: "hotel-listing-content-gallery" }, _hoisted_3 = { class: "hotel-listing-content-bullets" }, _hoisted_4 = { class: "hotel-listing-content" }, _hoisted_5 = { class: "hotel-listing-content-header" }, _hoisted_6 = { class: "hotel-listing-content-title" }, _hoisted_7 = { class: "hotel-listing-content-body" }, _hoisted_8 = { class: "hotel-listing-content-facilities" }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
9380
+ }), ThankYou = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-7003a22e"]]), _hoisted_1$1 = { class: "hotel-listing" }, _hoisted_2 = { class: "hotel-listing-content-gallery" }, _hoisted_3 = { class: "hotel-listing-content-bullets" }, _hoisted_4 = { class: "hotel-listing-content" }, _hoisted_5 = { class: "hotel-listing-content-header" }, _hoisted_6 = { class: "hotel-listing-content-title" }, _hoisted_7 = { class: "hotel-listing-content-body" }, _hoisted_8 = { class: "hotel-listing-content-facilities" }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
9393
9381
  __name: "Listing",
9394
9382
  setup(s) {
9395
9383
  return (i, t) => (openBlock(), createElementBlock("div", _hoisted_1$1, [
@@ -9706,8 +9694,8 @@ function requireGetSize() {
9706
9694
  s.exports ? s.exports = t() : i.getSize = t();
9707
9695
  })(window, function() {
9708
9696
  function t(v) {
9709
- var m = parseFloat(v), b = v.indexOf("%") == -1 && !isNaN(m);
9710
- return b && m;
9697
+ var m = parseFloat(v), P = v.indexOf("%") == -1 && !isNaN(m);
9698
+ return P && m;
9711
9699
  }
9712
9700
  function e() {
9713
9701
  }
@@ -9736,8 +9724,8 @@ function requireGetSize() {
9736
9724
  outerWidth: 0,
9737
9725
  outerHeight: 0
9738
9726
  }, m = 0; m < l; m++) {
9739
- var b = r[m];
9740
- v[b] = 0;
9727
+ var P = r[m];
9728
+ v[P] = 0;
9741
9729
  }
9742
9730
  return v;
9743
9731
  }
@@ -9753,30 +9741,30 @@ function requireGetSize() {
9753
9741
  v.style.width = "200px", v.style.padding = "1px 2px 3px 4px", v.style.borderStyle = "solid", v.style.borderWidth = "1px 2px 3px 4px", v.style.boxSizing = "border-box";
9754
9742
  var m = document.body || document.documentElement;
9755
9743
  m.appendChild(v);
9756
- var b = d(v);
9757
- _ = Math.round(t(b.width)) == 200, y.isBoxSizeOuter = _, m.removeChild(v);
9744
+ var P = d(v);
9745
+ _ = Math.round(t(P.width)) == 200, b.isBoxSizeOuter = _, m.removeChild(v);
9758
9746
  }
9759
9747
  }
9760
- function y(v) {
9748
+ function b(v) {
9761
9749
  if (g(), typeof v == "string" && (v = document.querySelector(v)), !(!v || typeof v != "object" || !v.nodeType)) {
9762
9750
  var m = d(v);
9763
9751
  if (m.display == "none")
9764
9752
  return u();
9765
- var b = {};
9766
- b.width = v.offsetWidth, b.height = v.offsetHeight;
9767
- for (var P = b.isBorderBox = m.boxSizing == "border-box", p = 0; p < l; p++) {
9753
+ var P = {};
9754
+ P.width = v.offsetWidth, P.height = v.offsetHeight;
9755
+ for (var y = P.isBorderBox = m.boxSizing == "border-box", p = 0; p < l; p++) {
9768
9756
  var E = r[p], T = m[E], O = parseFloat(T);
9769
- b[E] = isNaN(O) ? 0 : O;
9757
+ P[E] = isNaN(O) ? 0 : O;
9770
9758
  }
9771
- var S = b.paddingLeft + b.paddingRight, C = b.paddingTop + b.paddingBottom, x = b.marginLeft + b.marginRight, I = b.marginTop + b.marginBottom, R = b.borderLeftWidth + b.borderRightWidth, w = b.borderTopWidth + b.borderBottomWidth, A = P && _, N = t(m.width);
9772
- N !== !1 && (b.width = N + // add padding and border unless it's already including it
9759
+ var S = P.paddingLeft + P.paddingRight, C = P.paddingTop + P.paddingBottom, x = P.marginLeft + P.marginRight, I = P.marginTop + P.marginBottom, R = P.borderLeftWidth + P.borderRightWidth, D = P.borderTopWidth + P.borderBottomWidth, A = y && _, N = t(m.width);
9760
+ N !== !1 && (P.width = N + // add padding and border unless it's already including it
9773
9761
  (A ? 0 : S + R));
9774
- var D = t(m.height);
9775
- return D !== !1 && (b.height = D + // add padding and border unless it's already including it
9776
- (A ? 0 : C + w)), b.innerWidth = b.width - (S + R), b.innerHeight = b.height - (C + w), b.outerWidth = b.width + x, b.outerHeight = b.height + I, b;
9762
+ var w = t(m.height);
9763
+ return w !== !1 && (P.height = w + // add padding and border unless it's already including it
9764
+ (A ? 0 : C + D)), P.innerWidth = P.width - (S + R), P.innerHeight = P.height - (C + D), P.outerWidth = P.width + x, P.outerHeight = P.height + I, P;
9777
9765
  }
9778
9766
  }
9779
- return y;
9767
+ return b;
9780
9768
  });
9781
9769
  }(getSize)), getSize.exports;
9782
9770
  }
@@ -9854,16 +9842,16 @@ function requireUtils() {
9854
9842
  return;
9855
9843
  }
9856
9844
  e(_, d) && f.push(_);
9857
- for (var g = _.querySelectorAll(d), y = 0; y < g.length; y++)
9858
- f.push(g[y]);
9845
+ for (var g = _.querySelectorAll(d), b = 0; b < g.length; b++)
9846
+ f.push(g[b]);
9859
9847
  }
9860
9848
  }), f;
9861
9849
  }, n.debounceMethod = function(u, d, f) {
9862
9850
  f = f || 100;
9863
9851
  var _ = u.prototype[d], g = d + "Timeout";
9864
9852
  u.prototype[d] = function() {
9865
- var y = this[g];
9866
- clearTimeout(y);
9853
+ var b = this[g];
9854
+ clearTimeout(b);
9867
9855
  var v = arguments, m = this;
9868
9856
  this[g] = setTimeout(function() {
9869
9857
  _.apply(m, v), delete m[g];
@@ -9880,17 +9868,17 @@ function requireUtils() {
9880
9868
  var l = t.console;
9881
9869
  return n.htmlInit = function(u, d) {
9882
9870
  n.docReady(function() {
9883
- var f = n.toDashed(d), _ = "data-" + f, g = document.querySelectorAll("[" + _ + "]"), y = document.querySelectorAll(".js-" + f), v = n.makeArray(g).concat(n.makeArray(y)), m = _ + "-options", b = t.jQuery;
9884
- v.forEach(function(P) {
9885
- var p = P.getAttribute(_) || P.getAttribute(m), E;
9871
+ var f = n.toDashed(d), _ = "data-" + f, g = document.querySelectorAll("[" + _ + "]"), b = document.querySelectorAll(".js-" + f), v = n.makeArray(g).concat(n.makeArray(b)), m = _ + "-options", P = t.jQuery;
9872
+ v.forEach(function(y) {
9873
+ var p = y.getAttribute(_) || y.getAttribute(m), E;
9886
9874
  try {
9887
9875
  E = p && JSON.parse(p);
9888
9876
  } catch (O) {
9889
- l && l.error("Error parsing " + _ + " on " + P.className + ": " + O);
9877
+ l && l.error("Error parsing " + _ + " on " + y.className + ": " + O);
9890
9878
  return;
9891
9879
  }
9892
- var T = new u(P, E);
9893
- b && b.data(P, d, T);
9880
+ var T = new u(y, E);
9881
+ P && P.data(y, d, T);
9894
9882
  });
9895
9883
  });
9896
9884
  }, n;
@@ -9909,8 +9897,8 @@ function requireItem() {
9909
9897
  i.getSize
9910
9898
  ));
9911
9899
  })(window, function(t, e) {
9912
- function n(P) {
9913
- for (var p in P)
9900
+ function n(y) {
9901
+ for (var p in y)
9914
9902
  return !1;
9915
9903
  return p = null, !0;
9916
9904
  }
@@ -9924,8 +9912,8 @@ function requireItem() {
9924
9912
  transitionProperty: l + "Property",
9925
9913
  transitionDelay: l + "Delay"
9926
9914
  };
9927
- function _(P, p) {
9928
- P && (this.element = P, this.layout = p, this.position = {
9915
+ function _(y, p) {
9916
+ y && (this.element = y, this.layout = p, this.position = {
9929
9917
  x: 0,
9930
9918
  y: 0
9931
9919
  }, this._create());
@@ -9939,39 +9927,39 @@ function requireItem() {
9939
9927
  }, this.css({
9940
9928
  position: "absolute"
9941
9929
  });
9942
- }, g.handleEvent = function(P) {
9943
- var p = "on" + P.type;
9944
- this[p] && this[p](P);
9930
+ }, g.handleEvent = function(y) {
9931
+ var p = "on" + y.type;
9932
+ this[p] && this[p](y);
9945
9933
  }, g.getSize = function() {
9946
9934
  this.size = e(this.element);
9947
- }, g.css = function(P) {
9935
+ }, g.css = function(y) {
9948
9936
  var p = this.element.style;
9949
- for (var E in P) {
9937
+ for (var E in y) {
9950
9938
  var T = f[E] || E;
9951
- p[T] = P[E];
9939
+ p[T] = y[E];
9952
9940
  }
9953
9941
  }, g.getPosition = function() {
9954
- var P = getComputedStyle(this.element), p = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = P[p ? "left" : "right"], O = P[E ? "top" : "bottom"], S = parseFloat(T), C = parseFloat(O), x = this.layout.size;
9942
+ var y = getComputedStyle(this.element), p = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = y[p ? "left" : "right"], O = y[E ? "top" : "bottom"], S = parseFloat(T), C = parseFloat(O), x = this.layout.size;
9955
9943
  T.indexOf("%") != -1 && (S = S / 100 * x.width), O.indexOf("%") != -1 && (C = C / 100 * x.height), S = isNaN(S) ? 0 : S, C = isNaN(C) ? 0 : C, S -= p ? x.paddingLeft : x.paddingRight, C -= E ? x.paddingTop : x.paddingBottom, this.position.x = S, this.position.y = C;
9956
9944
  }, g.layoutPosition = function() {
9957
- var P = this.layout.size, p = {}, E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop"), O = E ? "paddingLeft" : "paddingRight", S = E ? "left" : "right", C = E ? "right" : "left", x = this.position.x + P[O];
9945
+ var y = this.layout.size, p = {}, E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop"), O = E ? "paddingLeft" : "paddingRight", S = E ? "left" : "right", C = E ? "right" : "left", x = this.position.x + y[O];
9958
9946
  p[S] = this.getXValue(x), p[C] = "";
9959
- var I = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", w = T ? "bottom" : "top", A = this.position.y + P[I];
9960
- p[R] = this.getYValue(A), p[w] = "", this.css(p), this.emitEvent("layout", [this]);
9961
- }, g.getXValue = function(P) {
9947
+ var I = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", D = T ? "bottom" : "top", A = this.position.y + y[I];
9948
+ p[R] = this.getYValue(A), p[D] = "", this.css(p), this.emitEvent("layout", [this]);
9949
+ }, g.getXValue = function(y) {
9962
9950
  var p = this.layout._getOption("horizontal");
9963
- return this.layout.options.percentPosition && !p ? P / this.layout.size.width * 100 + "%" : P + "px";
9964
- }, g.getYValue = function(P) {
9951
+ return this.layout.options.percentPosition && !p ? y / this.layout.size.width * 100 + "%" : y + "px";
9952
+ }, g.getYValue = function(y) {
9965
9953
  var p = this.layout._getOption("horizontal");
9966
- return this.layout.options.percentPosition && p ? P / this.layout.size.height * 100 + "%" : P + "px";
9967
- }, g._transitionTo = function(P, p) {
9954
+ return this.layout.options.percentPosition && p ? y / this.layout.size.height * 100 + "%" : y + "px";
9955
+ }, g._transitionTo = function(y, p) {
9968
9956
  this.getPosition();
9969
- var E = this.position.x, T = this.position.y, O = P == this.position.x && p == this.position.y;
9970
- if (this.setPosition(P, p), O && !this.isTransitioning) {
9957
+ var E = this.position.x, T = this.position.y, O = y == this.position.x && p == this.position.y;
9958
+ if (this.setPosition(y, p), O && !this.isTransitioning) {
9971
9959
  this.layoutPosition();
9972
9960
  return;
9973
9961
  }
9974
- var S = P - E, C = p - T, x = {};
9962
+ var S = y - E, C = p - T, x = {};
9975
9963
  x.transform = this.getTranslate(S, C), this.transition({
9976
9964
  to: x,
9977
9965
  onTransitionEnd: {
@@ -9979,56 +9967,56 @@ function requireItem() {
9979
9967
  },
9980
9968
  isCleaning: !0
9981
9969
  });
9982
- }, g.getTranslate = function(P, p) {
9970
+ }, g.getTranslate = function(y, p) {
9983
9971
  var E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop");
9984
- return P = E ? P : -P, p = T ? p : -p, "translate3d(" + P + "px, " + p + "px, 0)";
9985
- }, g.goTo = function(P, p) {
9986
- this.setPosition(P, p), this.layoutPosition();
9987
- }, g.moveTo = g._transitionTo, g.setPosition = function(P, p) {
9988
- this.position.x = parseFloat(P), this.position.y = parseFloat(p);
9989
- }, g._nonTransition = function(P) {
9990
- this.css(P.to), P.isCleaning && this._removeStyles(P.to);
9991
- for (var p in P.onTransitionEnd)
9992
- P.onTransitionEnd[p].call(this);
9993
- }, g.transition = function(P) {
9972
+ return y = E ? y : -y, p = T ? p : -p, "translate3d(" + y + "px, " + p + "px, 0)";
9973
+ }, g.goTo = function(y, p) {
9974
+ this.setPosition(y, p), this.layoutPosition();
9975
+ }, g.moveTo = g._transitionTo, g.setPosition = function(y, p) {
9976
+ this.position.x = parseFloat(y), this.position.y = parseFloat(p);
9977
+ }, g._nonTransition = function(y) {
9978
+ this.css(y.to), y.isCleaning && this._removeStyles(y.to);
9979
+ for (var p in y.onTransitionEnd)
9980
+ y.onTransitionEnd[p].call(this);
9981
+ }, g.transition = function(y) {
9994
9982
  if (!parseFloat(this.layout.options.transitionDuration)) {
9995
- this._nonTransition(P);
9983
+ this._nonTransition(y);
9996
9984
  return;
9997
9985
  }
9998
9986
  var p = this._transn;
9999
- for (var E in P.onTransitionEnd)
10000
- p.onEnd[E] = P.onTransitionEnd[E];
10001
- for (E in P.to)
10002
- p.ingProperties[E] = !0, P.isCleaning && (p.clean[E] = !0);
10003
- P.from && (this.css(P.from), this.element.offsetHeight), this.enableTransition(P.to), this.css(P.to), this.isTransitioning = !0;
9987
+ for (var E in y.onTransitionEnd)
9988
+ p.onEnd[E] = y.onTransitionEnd[E];
9989
+ for (E in y.to)
9990
+ p.ingProperties[E] = !0, y.isCleaning && (p.clean[E] = !0);
9991
+ y.from && (this.css(y.from), this.element.offsetHeight), this.enableTransition(y.to), this.css(y.to), this.isTransitioning = !0;
10004
9992
  };
10005
- function y(P) {
10006
- return P.replace(/([A-Z])/g, function(p) {
9993
+ function b(y) {
9994
+ return y.replace(/([A-Z])/g, function(p) {
10007
9995
  return "-" + p.toLowerCase();
10008
9996
  });
10009
9997
  }
10010
- var v = "opacity," + y(u);
9998
+ var v = "opacity," + b(u);
10011
9999
  g.enableTransition = function() {
10012
10000
  if (!this.isTransitioning) {
10013
- var P = this.layout.options.transitionDuration;
10014
- P = typeof P == "number" ? P + "ms" : P, this.css({
10001
+ var y = this.layout.options.transitionDuration;
10002
+ y = typeof y == "number" ? y + "ms" : y, this.css({
10015
10003
  transitionProperty: v,
10016
- transitionDuration: P,
10004
+ transitionDuration: y,
10017
10005
  transitionDelay: this.staggerDelay || 0
10018
10006
  }), this.element.addEventListener(d, this, !1);
10019
10007
  }
10020
- }, g.onwebkitTransitionEnd = function(P) {
10021
- this.ontransitionend(P);
10022
- }, g.onotransitionend = function(P) {
10023
- this.ontransitionend(P);
10008
+ }, g.onwebkitTransitionEnd = function(y) {
10009
+ this.ontransitionend(y);
10010
+ }, g.onotransitionend = function(y) {
10011
+ this.ontransitionend(y);
10024
10012
  };
10025
10013
  var m = {
10026
10014
  "-webkit-transform": "transform"
10027
10015
  };
10028
- g.ontransitionend = function(P) {
10029
- if (P.target === this.element) {
10030
- var p = this._transn, E = m[P.propertyName] || P.propertyName;
10031
- if (delete p.ingProperties[E], n(p.ingProperties) && this.disableTransition(), E in p.clean && (this.element.style[P.propertyName] = "", delete p.clean[E]), E in p.onEnd) {
10016
+ g.ontransitionend = function(y) {
10017
+ if (y.target === this.element) {
10018
+ var p = this._transn, E = m[y.propertyName] || y.propertyName;
10019
+ if (delete p.ingProperties[E], n(p.ingProperties) && this.disableTransition(), E in p.clean && (this.element.style[y.propertyName] = "", delete p.clean[E]), E in p.onEnd) {
10032
10020
  var T = p.onEnd[E];
10033
10021
  T.call(this), delete p.onEnd[E];
10034
10022
  }
@@ -10036,21 +10024,21 @@ function requireItem() {
10036
10024
  }
10037
10025
  }, g.disableTransition = function() {
10038
10026
  this.removeTransitionStyles(), this.element.removeEventListener(d, this, !1), this.isTransitioning = !1;
10039
- }, g._removeStyles = function(P) {
10027
+ }, g._removeStyles = function(y) {
10040
10028
  var p = {};
10041
- for (var E in P)
10029
+ for (var E in y)
10042
10030
  p[E] = "";
10043
10031
  this.css(p);
10044
10032
  };
10045
- var b = {
10033
+ var P = {
10046
10034
  transitionProperty: "",
10047
10035
  transitionDuration: "",
10048
10036
  transitionDelay: ""
10049
10037
  };
10050
10038
  return g.removeTransitionStyles = function() {
10051
- this.css(b);
10052
- }, g.stagger = function(P) {
10053
- P = isNaN(P) ? 0 : P, this.staggerDelay = P + "ms";
10039
+ this.css(P);
10040
+ }, g.stagger = function(y) {
10041
+ y = isNaN(y) ? 0 : y, this.staggerDelay = y + "ms";
10054
10042
  }, g.removeElem = function() {
10055
10043
  this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
10056
10044
  }, g.remove = function() {
@@ -10063,27 +10051,27 @@ function requireItem() {
10063
10051
  }), this.hide();
10064
10052
  }, g.reveal = function() {
10065
10053
  delete this.isHidden, this.css({ display: "" });
10066
- var P = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("visibleStyle");
10054
+ var y = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("visibleStyle");
10067
10055
  p[E] = this.onRevealTransitionEnd, this.transition({
10068
- from: P.hiddenStyle,
10069
- to: P.visibleStyle,
10056
+ from: y.hiddenStyle,
10057
+ to: y.visibleStyle,
10070
10058
  isCleaning: !0,
10071
10059
  onTransitionEnd: p
10072
10060
  });
10073
10061
  }, g.onRevealTransitionEnd = function() {
10074
10062
  this.isHidden || this.emitEvent("reveal");
10075
- }, g.getHideRevealTransitionEndProperty = function(P) {
10076
- var p = this.layout.options[P];
10063
+ }, g.getHideRevealTransitionEndProperty = function(y) {
10064
+ var p = this.layout.options[y];
10077
10065
  if (p.opacity)
10078
10066
  return "opacity";
10079
10067
  for (var E in p)
10080
10068
  return E;
10081
10069
  }, g.hide = function() {
10082
10070
  this.isHidden = !0, this.css({ display: "" });
10083
- var P = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("hiddenStyle");
10071
+ var y = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("hiddenStyle");
10084
10072
  p[E] = this.onHideTransitionEnd, this.transition({
10085
- from: P.visibleStyle,
10086
- to: P.hiddenStyle,
10073
+ from: y.visibleStyle,
10074
+ to: y.hiddenStyle,
10087
10075
  // keep hidden stuff hidden
10088
10076
  isCleaning: !0,
10089
10077
  onTransitionEnd: p
@@ -10129,7 +10117,7 @@ function requireOutlayer() {
10129
10117
  })(window, function(t, e, n, r, l) {
10130
10118
  var u = t.console, d = t.jQuery, f = function() {
10131
10119
  }, _ = 0, g = {};
10132
- function y(p, E) {
10120
+ function b(p, E) {
10133
10121
  var T = r.getQueryElement(p);
10134
10122
  if (!T) {
10135
10123
  u && u.error("Bad element for " + this.constructor.namespace + ": " + (T || p));
@@ -10141,7 +10129,7 @@ function requireOutlayer() {
10141
10129
  var S = this._getOption("initLayout");
10142
10130
  S && this.layout();
10143
10131
  }
10144
- y.namespace = "outlayer", y.Item = l, y.defaults = {
10132
+ b.namespace = "outlayer", b.Item = l, b.defaults = {
10145
10133
  containerStyle: {
10146
10134
  position: "relative"
10147
10135
  },
@@ -10161,13 +10149,13 @@ function requireOutlayer() {
10161
10149
  transform: "scale(1)"
10162
10150
  }
10163
10151
  };
10164
- var v = y.prototype;
10152
+ var v = b.prototype;
10165
10153
  r.extend(v, e.prototype), v.option = function(p) {
10166
10154
  r.extend(this.options, p);
10167
10155
  }, v._getOption = function(p) {
10168
10156
  var E = this.constructor.compatOptions[p];
10169
10157
  return E && this.options[E] !== void 0 ? this.options[E] : this.options[p];
10170
- }, y.compatOptions = {
10158
+ }, b.compatOptions = {
10171
10159
  // currentName: oldName
10172
10160
  initLayout: "isInitLayout",
10173
10161
  horizontal: "isHorizontal",
@@ -10234,7 +10222,7 @@ function requireOutlayer() {
10234
10222
  this.stagger = 0;
10235
10223
  return;
10236
10224
  }
10237
- return this.stagger = P(p), this.stagger;
10225
+ return this.stagger = y(p), this.stagger;
10238
10226
  }, v._positionItem = function(p, E, T, O, S) {
10239
10227
  O ? p.goTo(E, T) : (p.stagger(S * this.stagger), p.moveTo(E, T));
10240
10228
  }, v._postLayout = function() {
@@ -10314,7 +10302,7 @@ function requireOutlayer() {
10314
10302
  t.removeEventListener("resize", this), this.isResizeBound = !1;
10315
10303
  }, v.onresize = function() {
10316
10304
  this.resize();
10317
- }, r.debounceMethod(y, "onresize", 100), v.resize = function() {
10305
+ }, r.debounceMethod(b, "onresize", 100), v.resize = function() {
10318
10306
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
10319
10307
  }, v.needsResizeLayout = function() {
10320
10308
  var p = n(this.element), E = this.size && p;
@@ -10376,13 +10364,13 @@ function requireOutlayer() {
10376
10364
  }), this.unbindResize();
10377
10365
  var E = this.element.outlayerGUID;
10378
10366
  delete g[E], delete this.element.outlayerGUID, d && d.removeData(this.element, this.constructor.namespace);
10379
- }, y.data = function(p) {
10367
+ }, b.data = function(p) {
10380
10368
  p = r.getQueryElement(p);
10381
10369
  var E = p && p.outlayerGUID;
10382
10370
  return E && g[E];
10383
- }, y.create = function(p, E) {
10384
- var T = m(y);
10385
- return T.defaults = r.extend({}, y.defaults), r.extend(T.defaults, E), T.compatOptions = r.extend({}, y.compatOptions), T.namespace = p, T.data = y.data, T.Item = m(l), r.htmlInit(T, p), d && d.bridget && d.bridget(p, T), T;
10371
+ }, b.create = function(p, E) {
10372
+ var T = m(b);
10373
+ return T.defaults = r.extend({}, b.defaults), r.extend(T.defaults, E), T.compatOptions = r.extend({}, b.compatOptions), T.namespace = p, T.data = b.data, T.Item = m(l), r.htmlInit(T, p), d && d.bridget && d.bridget(p, T), T;
10386
10374
  };
10387
10375
  function m(p) {
10388
10376
  function E() {
@@ -10390,21 +10378,21 @@ function requireOutlayer() {
10390
10378
  }
10391
10379
  return E.prototype = Object.create(p.prototype), E.prototype.constructor = E, E;
10392
10380
  }
10393
- var b = {
10381
+ var P = {
10394
10382
  ms: 1,
10395
10383
  s: 1e3
10396
10384
  };
10397
- function P(p) {
10385
+ function y(p) {
10398
10386
  if (typeof p == "number")
10399
10387
  return p;
10400
10388
  var E = p.match(/(^\d*\.?\d*)(\w*)/), T = E && E[1], O = E && E[2];
10401
10389
  if (!T.length)
10402
10390
  return 0;
10403
10391
  T = parseFloat(T);
10404
- var S = b[O] || 1;
10392
+ var S = P[O] || 1;
10405
10393
  return T * S;
10406
10394
  }
10407
- return y.Item = l, y;
10395
+ return b.Item = l, b;
10408
10396
  });
10409
10397
  }(outlayer)), outlayer.exports;
10410
10398
  }
@@ -10441,8 +10429,8 @@ function requireMasonry() {
10441
10429
  this.columnWidth = u && e(u).outerWidth || // if first elem has no width, default to size of container
10442
10430
  this.containerWidth;
10443
10431
  }
10444
- var d = this.columnWidth += this.gutter, f = this.containerWidth + this.gutter, _ = f / d, g = d - f % d, y = g && g < 1 ? "round" : "floor";
10445
- _ = Math[y](_), this.cols = Math.max(_, 1);
10432
+ var d = this.columnWidth += this.gutter, f = this.containerWidth + this.gutter, _ = f / d, g = d - f % d, b = g && g < 1 ? "round" : "floor";
10433
+ _ = Math[b](_), this.cols = Math.max(_, 1);
10446
10434
  }, r.getContainerWidth = function() {
10447
10435
  var l = this._getOption("fitWidth"), u = l ? this.element.parentNode : this.element, d = e(u);
10448
10436
  this.containerWidth = d && d.innerWidth;
@@ -10450,12 +10438,12 @@ function requireMasonry() {
10450
10438
  l.getSize();
10451
10439
  var u = l.size.outerWidth % this.columnWidth, d = u && u < 1 ? "round" : "ceil", f = Math[d](l.size.outerWidth / this.columnWidth);
10452
10440
  f = Math.min(f, this.cols);
10453
- for (var _ = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[_](f, l), y = {
10441
+ for (var _ = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[_](f, l), b = {
10454
10442
  x: this.columnWidth * g.col,
10455
10443
  y: g.y
10456
- }, v = g.y + l.size.outerHeight, m = f + g.col, b = g.col; b < m; b++)
10457
- this.colYs[b] = v;
10458
- return y;
10444
+ }, v = g.y + l.size.outerHeight, m = f + g.col, P = g.col; P < m; P++)
10445
+ this.colYs[P] = v;
10446
+ return b;
10459
10447
  }, r._getTopColPosition = function(l) {
10460
10448
  var u = this._getTopColGroup(l), d = Math.min.apply(Math, u);
10461
10449
  return {
@@ -10482,12 +10470,12 @@ function requireMasonry() {
10482
10470
  y: this._getColGroupY(d, l)
10483
10471
  };
10484
10472
  }, r._manageStamp = function(l) {
10485
- var u = e(l), d = this._getElementOffset(l), f = this._getOption("originLeft"), _ = f ? d.left : d.right, g = _ + u.outerWidth, y = Math.floor(_ / this.columnWidth);
10486
- y = Math.max(0, y);
10473
+ var u = e(l), d = this._getElementOffset(l), f = this._getOption("originLeft"), _ = f ? d.left : d.right, g = _ + u.outerWidth, b = Math.floor(_ / this.columnWidth);
10474
+ b = Math.max(0, b);
10487
10475
  var v = Math.floor(g / this.columnWidth);
10488
10476
  v -= g % this.columnWidth ? 0 : 1, v = Math.min(this.cols - 1, v);
10489
- for (var m = this._getOption("originTop"), b = (m ? d.top : d.bottom) + u.outerHeight, P = y; P <= v; P++)
10490
- this.colYs[P] = Math.max(b, this.colYs[P]);
10477
+ for (var m = this._getOption("originTop"), P = (m ? d.top : d.bottom) + u.outerHeight, y = b; y <= v; y++)
10478
+ this.colYs[y] = Math.max(P, this.colYs[y]);
10491
10479
  }, r._getContainerSize = function() {
10492
10480
  this.maxY = Math.max.apply(Math, this.colYs);
10493
10481
  var l = {
@@ -10530,8 +10518,8 @@ function requireImagesloaded() {
10530
10518
  function(t, e) {
10531
10519
  var n = t.jQuery, r = t.console;
10532
10520
  function l(v, m) {
10533
- for (var b in m)
10534
- v[b] = m[b];
10521
+ for (var P in m)
10522
+ v[P] = m[P];
10535
10523
  return v;
10536
10524
  }
10537
10525
  var u = Array.prototype.slice;
@@ -10541,15 +10529,15 @@ function requireImagesloaded() {
10541
10529
  var m = typeof v == "object" && typeof v.length == "number";
10542
10530
  return m ? u.call(v) : [v];
10543
10531
  }
10544
- function f(v, m, b) {
10532
+ function f(v, m, P) {
10545
10533
  if (!(this instanceof f))
10546
- return new f(v, m, b);
10547
- var P = v;
10548
- if (typeof v == "string" && (P = document.querySelectorAll(v)), !P) {
10549
- r.error("Bad element for imagesLoaded " + (P || v));
10534
+ return new f(v, m, P);
10535
+ var y = v;
10536
+ if (typeof v == "string" && (y = document.querySelectorAll(v)), !y) {
10537
+ r.error("Bad element for imagesLoaded " + (y || v));
10550
10538
  return;
10551
10539
  }
10552
- this.elements = d(P), this.options = l({}, this.options), typeof m == "function" ? b = m : l(this.options, m), b && this.on("always", b), this.getImages(), n && (this.jqDeferred = new n.Deferred()), setTimeout(this.check.bind(this));
10540
+ this.elements = d(y), this.options = l({}, this.options), typeof m == "function" ? P = m : l(this.options, m), P && this.on("always", P), this.getImages(), n && (this.jqDeferred = new n.Deferred()), setTimeout(this.check.bind(this));
10553
10541
  }
10554
10542
  f.prototype = Object.create(e.prototype), f.prototype.options = {}, f.prototype.getImages = function() {
10555
10543
  this.images = [], this.elements.forEach(this.addElementImages, this);
@@ -10557,14 +10545,14 @@ function requireImagesloaded() {
10557
10545
  v.nodeName == "IMG" && this.addImage(v), this.options.background === !0 && this.addElementBackgroundImages(v);
10558
10546
  var m = v.nodeType;
10559
10547
  if (!(!m || !_[m])) {
10560
- for (var b = v.querySelectorAll("img"), P = 0; P < b.length; P++) {
10561
- var p = b[P];
10548
+ for (var P = v.querySelectorAll("img"), y = 0; y < P.length; y++) {
10549
+ var p = P[y];
10562
10550
  this.addImage(p);
10563
10551
  }
10564
10552
  if (typeof this.options.background == "string") {
10565
10553
  var E = v.querySelectorAll(this.options.background);
10566
- for (P = 0; P < E.length; P++) {
10567
- var T = E[P];
10554
+ for (y = 0; y < E.length; y++) {
10555
+ var T = E[y];
10568
10556
  this.addElementBackgroundImages(T);
10569
10557
  }
10570
10558
  }
@@ -10578,32 +10566,32 @@ function requireImagesloaded() {
10578
10566
  f.prototype.addElementBackgroundImages = function(v) {
10579
10567
  var m = getComputedStyle(v);
10580
10568
  if (m)
10581
- for (var b = /url\((['"])?(.*?)\1\)/gi, P = b.exec(m.backgroundImage); P !== null; ) {
10582
- var p = P && P[2];
10583
- p && this.addBackground(p, v), P = b.exec(m.backgroundImage);
10569
+ for (var P = /url\((['"])?(.*?)\1\)/gi, y = P.exec(m.backgroundImage); y !== null; ) {
10570
+ var p = y && y[2];
10571
+ p && this.addBackground(p, v), y = P.exec(m.backgroundImage);
10584
10572
  }
10585
10573
  }, f.prototype.addImage = function(v) {
10586
10574
  var m = new g(v);
10587
10575
  this.images.push(m);
10588
10576
  }, f.prototype.addBackground = function(v, m) {
10589
- var b = new y(v, m);
10590
- this.images.push(b);
10577
+ var P = new b(v, m);
10578
+ this.images.push(P);
10591
10579
  }, f.prototype.check = function() {
10592
10580
  var v = this;
10593
10581
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
10594
10582
  this.complete();
10595
10583
  return;
10596
10584
  }
10597
- function m(b, P, p) {
10585
+ function m(P, y, p) {
10598
10586
  setTimeout(function() {
10599
- v.progress(b, P, p);
10587
+ v.progress(P, y, p);
10600
10588
  });
10601
10589
  }
10602
- this.images.forEach(function(b) {
10603
- b.once("progress", m), b.check();
10590
+ this.images.forEach(function(P) {
10591
+ P.once("progress", m), P.check();
10604
10592
  });
10605
- }, f.prototype.progress = function(v, m, b) {
10606
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !v.isLoaded, this.emitEvent("progress", [this, v, m]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, v), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, v, m);
10593
+ }, f.prototype.progress = function(v, m, P) {
10594
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !v.isLoaded, this.emitEvent("progress", [this, v, m]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, v), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + P, v, m);
10607
10595
  }, f.prototype.complete = function() {
10608
10596
  var v = this.hasAnyBroken ? "fail" : "done";
10609
10597
  if (this.isComplete = !0, this.emitEvent(v, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
@@ -10635,21 +10623,21 @@ function requireImagesloaded() {
10635
10623
  }, g.prototype.unbindEvents = function() {
10636
10624
  this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
10637
10625
  };
10638
- function y(v, m) {
10626
+ function b(v, m) {
10639
10627
  this.url = v, this.element = m, this.img = new Image();
10640
10628
  }
10641
- return y.prototype = Object.create(g.prototype), y.prototype.check = function() {
10629
+ return b.prototype = Object.create(g.prototype), b.prototype.check = function() {
10642
10630
  this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
10643
10631
  var v = this.getIsImageComplete();
10644
10632
  v && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
10645
- }, y.prototype.unbindEvents = function() {
10633
+ }, b.prototype.unbindEvents = function() {
10646
10634
  this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
10647
- }, y.prototype.confirm = function(v, m) {
10635
+ }, b.prototype.confirm = function(v, m) {
10648
10636
  this.isLoaded = v, this.emitEvent("progress", [this, this.element, m]);
10649
10637
  }, f.makeJQueryPlugin = function(v) {
10650
- v = v || t.jQuery, v && (n = v, n.fn.imagesLoaded = function(m, b) {
10651
- var P = new f(this, m, b);
10652
- return P.jqDeferred.promise(n(this));
10638
+ v = v || t.jQuery, v && (n = v, n.fn.imagesLoaded = function(m, P) {
10639
+ var y = new f(this, m, P);
10640
+ return y.jqDeferred.promise(n(this));
10653
10641
  });
10654
10642
  }, f.makeJQueryPlugin(), f;
10655
10643
  }
@@ -10693,16 +10681,16 @@ VueMasonryPlugin.install = function(s, i) {
10693
10681
  nextTick(() => {
10694
10682
  g();
10695
10683
  });
10696
- const y = function(m) {
10684
+ const b = function(m) {
10697
10685
  g();
10698
10686
  }, v = function(m) {
10699
- t.off(`${EVENT_ADD}__${f}`, y), t.off(`${EVENT_REMOVE}__${f}`, y), t.off(`${EVENT_IMAGE_LOADED}__${f}`, y), t.off(`${EVENT_DESTROY}__${f}`, v);
10700
- const b = _ && !Number.isNaN(_) ? _ : 0;
10687
+ t.off(`${EVENT_ADD}__${f}`, b), t.off(`${EVENT_REMOVE}__${f}`, b), t.off(`${EVENT_IMAGE_LOADED}__${f}`, b), t.off(`${EVENT_DESTROY}__${f}`, v);
10688
+ const P = _ && !Number.isNaN(_) ? _ : 0;
10701
10689
  setTimeout(function() {
10702
10690
  d.destroy();
10703
- }, b);
10691
+ }, P);
10704
10692
  };
10705
- t.on(`${EVENT_ADD}__${f}`, y), t.on(`${EVENT_REMOVE}__${f}`, y), t.on(`${EVENT_IMAGE_LOADED}__${f}`, y), t.on(`${EVENT_DESTROY}__${f}`, v);
10693
+ t.on(`${EVENT_ADD}__${f}`, b), t.on(`${EVENT_REMOVE}__${f}`, b), t.on(`${EVENT_IMAGE_LOADED}__${f}`, b), t.on(`${EVENT_DESTROY}__${f}`, v);
10706
10694
  },
10707
10695
  unbind: function(r, l) {
10708
10696
  const u = l.value || e;
@@ -10747,4 +10735,4 @@ export {
10747
10735
  StickyPlugin as a,
10748
10736
  ListingSkeleton as b
10749
10737
  };
10750
- //# sourceMappingURL=masonry.plugin-WqxIRraz.js.map
10738
+ //# sourceMappingURL=masonry.plugin-BiWgaSkR.js.map