@konnectio/core 4.1.2 → 4.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/{ActionField-RCouJ4bL.js → ActionField-C1dgcOKP.js} +11 -11
  2. package/dist/ActionField-C1dgcOKP.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DMCMhOc1.js → AvailabilitySkeleton-Bazs9H4o.js} +110 -110
  4. package/dist/AvailabilitySkeleton-Bazs9H4o.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js} +336 -339
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js.br +0 -0
  7. package/dist/{CheckoutWindow-CIVRhVLH.js → CheckoutWindow-BgqyyJoW.js} +194 -199
  8. package/dist/CheckoutWindow-BgqyyJoW.js.br +0 -0
  9. package/dist/{ErrorMessage-CRkFYH0N.js → ErrorMessage-BzDrnE0F.js} +4 -4
  10. package/dist/ErrorMessage-BzDrnE0F.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DuzDq1td.js → EventAvailabilityForm-Cw5NkQXM.js} +10 -10
  12. package/dist/EventAvailabilityForm-Cw5NkQXM.js.br +0 -0
  13. package/dist/{Field-B89fBG1z.js → Field-BLzufPEA.js} +4 -4
  14. package/dist/Field-BLzufPEA.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHYObk1q.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DF8uAZlm.js} +3 -3
  16. package/dist/SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js +10617 -0
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js.br +0 -0
  18. package/dist/{TermsOfService-B3RWtSMr.js → TermsOfService-BM9pIxg1.js} +5 -5
  19. package/dist/_-C47qU_gt.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CPp11Oc1.js → _.vue_vue_type_style_index_0_lang-alJEghYY.js} +3 -3
  21. package/dist/availability.js +16 -16
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +14 -14
  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 +13 -13
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +57 -57
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +24 -24
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +56 -56
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-ovHKnHZ1.js → giftCard-pa0AL3wA.js} +26 -26
  36. package/dist/giftCard-pa0AL3wA.js.br +0 -0
  37. package/dist/hotel.js +26 -29
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-DEok8Hbz.js → masonry.plugin-p-oq4FQ9.js} +336 -319
  40. package/dist/masonry.plugin-p-oq4FQ9.js.br +0 -0
  41. package/dist/{mitt-Dh_4vPVI.js → mitt-CFrRmK9k.js} +30 -30
  42. package/dist/mitt-CFrRmK9k.js.br +0 -0
  43. package/dist/polyfill.js +1 -1
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/{style-CXMzdeVK.js → style-CLWqMWeG.js} +59 -59
  46. package/dist/style-CLWqMWeG.js.br +0 -0
  47. package/package.json +7 -7
  48. package/dist/ActionField-RCouJ4bL.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-DMCMhOc1.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js.br +0 -0
  51. package/dist/CheckoutWindow-CIVRhVLH.js.br +0 -0
  52. package/dist/ErrorMessage-CRkFYH0N.js.br +0 -0
  53. package/dist/EventAvailabilityForm-DuzDq1td.js.br +0 -0
  54. package/dist/Field-B89fBG1z.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js +0 -19391
  56. package/dist/SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js.br +0 -0
  57. package/dist/_-CS3eNenD.js +0 -5
  58. package/dist/giftCard-ovHKnHZ1.js.br +0 -0
  59. package/dist/masonry.plugin-DEok8Hbz.js.br +0 -0
  60. package/dist/mitt-Dh_4vPVI.js.br +0 -0
  61. package/dist/style-CXMzdeVK.js.br +0 -0
@@ -1,8 +1,8 @@
1
- import { d as defineComponent, Y as resolveComponent, O as h, Z as Comment, _ as Text, F as Fragment, $ as getCurrentInstance, r as ref, c as computed$1, E 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, A as renderList, i as unref, n as normalizeClass, u as useI18n, s as storeToRefs, z as createSlots, G as withDirectives, t as toDisplayString, L as inject, K as resolveDirective, P as reactive, U as onUnmounted, v as renderSlot, a0 as normalizeStyle, N as nextTick, H as vShow, x as createTextVNode, a1 as mergeModels, y as useSlots, a2 as useModel, T as Transition, B as isRef, q as mitt } from "./mitt-Dh_4vPVI.js";
2
- import { I as Icon, _ as _export_sfc, b as useHotelStore, f as useEventStore, T as TextField, M as convertDescription, B as BookingLayout, h as useUtilityStore, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, x as InputField, J as BookingHeaderLayout, y as useApplyGiftCardStore, d as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js";
3
- import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-CIVRhVLH.js";
4
- import { A as ActionField } from "./ActionField-RCouJ4bL.js";
5
- import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHYObk1q.js";
1
+ import { d as defineComponent, X as resolveComponent, N as h, Y as Comment, Z as Text, F as Fragment, $ 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, K as inject, J as resolveDirective, O as reactive, R as onUnmounted, q as renderSlot, a0 as normalizeStyle, M as nextTick, G as vShow, v as createTextVNode, a1 as mergeModels, x as useSlots, a2 as useModel, T as Transition, A as isRef, _ as _mitt } from "./mitt-CFrRmK9k.js";
2
+ import { I as Icon, _ as _export_sfc, b as useHotelStore, f as useEventStore, T as TextField, N as convertDescription, B as BookingLayout, h as useUtilityStore, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, x as InputField, J as BookingHeaderLayout, M as emitter, w as getUserLanguage, y as useApplyGiftCardStore, d as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js";
3
+ import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-BgqyyJoW.js";
4
+ import { A as ActionField } from "./ActionField-C1dgcOKP.js";
5
+ import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DF8uAZlm.js";
6
6
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -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, P = {
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 = {
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
- }, b = new ComponentEvent$1("change", P);
793
- return this._axes.trigger(b), Object.keys(v.pos).forEach(function(p) {
792
+ }, P = new ComponentEvent$1("change", b);
793
+ return this._axes.trigger(P), 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(P.set().destPos), !b.isCanceled();
796
+ }), m && d.set(b.set().destPos), !P.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(), P = v ? m - v.timestamp : 0, b = n ? n.velocityX : 0, p = n ? n.velocityY : 0;
950
- return (!v || P >= VELOCITY_INTERVAL) && (v && (e = [(f - v.deltaX) / P, (_ - v.deltaY) / P], b = 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, 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 = {
951
951
  timestamp: m,
952
952
  deltaX: f,
953
953
  deltaY: _
@@ -960,7 +960,7 @@ var requestAnimationFrame$2 = function(s) {
960
960
  deltaY: _,
961
961
  offsetX: g,
962
962
  offsetY: y,
963
- velocityX: b,
963
+ velocityX: P,
964
964
  velocityY: p,
965
965
  preventSystemEvent: !0
966
966
  };
@@ -1193,8 +1193,8 @@ var InputObserver = /* @__PURE__ */ function() {
1193
1193
  d = map(u, function(y, v) {
1194
1194
  return y + (n[v] || 0);
1195
1195
  }), this._moveDistance && (this._moveDistance = this._axisManager.map(d, function(y, v) {
1196
- var m = v.circular, P = v.range;
1197
- return m && (m[0] || m[1]) ? getCirculatedPos(y, P, m) : y;
1196
+ var m = v.circular, b = v.range;
1197
+ return m && (m[0] || m[1]) ? getCirculatedPos(y, b, m) : y;
1198
1198
  })), this._isOutside && this._axisManager.every(u, function(y, v) {
1199
1199
  return !isOutside(y, 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);
@@ -1233,11 +1233,11 @@ var InputObserver = /* @__PURE__ */ function() {
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), P = equal(m.destPos, d), b = {
1236
+ var m = this._animationManager.getUserControl(v), b = equal(m.destPos, d), P = {
1237
1237
  input: t,
1238
1238
  event: e
1239
1239
  };
1240
- P || m.duration === 0 ? (P || this._eventManager.triggerChange(m.destPos, d, b, !0), this._interruptManager.setInterrupt(!1), this._axisManager.isOutside() ? this._animationManager.restore(b) : this._eventManager.triggerFinish(!0)) : this._animationManager.animateTo(m.destPos, m.duration, b);
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);
1241
1241
  }
1242
1242
  }, i._atOutside = function(t) {
1243
1243
  var e = this;
@@ -1436,11 +1436,11 @@ 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, P) {
1440
- var b = _ >= 1 ? u[P] : v + r.delta[P] * (g - n._prevEasingPer) / (1 - n._initialEasingPer), p = getCirculatedPos(b, m.range, m.circular);
1441
- if (b !== p) {
1442
- var E = d[P] * (m.range[1] - m.range[0]);
1443
- u[P] -= E, l[P] -= E;
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;
1444
1444
  }
1445
1445
  return p;
1446
1446
  });
@@ -1583,7 +1583,7 @@ var InputObserver = /* @__PURE__ */ function() {
1583
1583
  return;
1584
1584
  }
1585
1585
  if (!(!v || !this._enabled || m > 1)) {
1586
- var P = getDirectionByAngle(v.angle, g), b = useDirection(DIRECTION_HORIZONTAL, this._direction, P), p = useDirection(DIRECTION_VERTICAL, this._direction, P);
1586
+ var b = getDirectionByAngle(v.angle, g), P = useDirection(DIRECTION_HORIZONTAL, this._direction, b), p = useDirection(DIRECTION_VERTICAL, this._direction, b);
1587
1587
  if (y.prevEvent && IS_IOS_SAFARI) {
1588
1588
  var E = v.center.x < 0;
1589
1589
  if (E) {
@@ -1597,7 +1597,7 @@ var InputObserver = /* @__PURE__ */ function() {
1597
1597
  }, 100);
1598
1598
  }
1599
1599
  }
1600
- var O = this._getDistance([v.deltaX, v.deltaY], [b, p]), S = this._getOffset([v.offsetX, v.offsetY], [b, p]), C = S.some(function(x) {
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) {
1601
1601
  return x !== 0;
1602
1602
  });
1603
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;
@@ -1862,8 +1862,8 @@ var Loader = /* @__PURE__ */ function(s) {
1862
1862
  }).on("ready", function(_) {
1863
1863
  var g = _.withPreReady, y = _.hasLoading, v = _.isSkip, m = n.elementInfos[d];
1864
1864
  m.hasLoading = y, m.isSkip = v;
1865
- var P = g && n.checkPreReady(d), b = n.checkReady(d);
1866
- g && n.onPreReadyElement(d), n.onReadyElement(d), P && n.onPreReady(), b && n.onReady();
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();
1867
1867
  }), {
1868
1868
  loader: f,
1869
1869
  element: u,
@@ -1911,8 +1911,8 @@ var Loader = /* @__PURE__ */ function(s) {
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(P) {
1915
- y = P.isReady, y || _.onPreReady();
1914
+ v.check(m).on("preReady", function(b) {
1915
+ y = b.isReady, y || _.onPreReady();
1916
1916
  });
1917
1917
  }).on("reqeustReadyChildren", function() {
1918
1918
  v.check(g);
@@ -2917,8 +2917,8 @@ var State = /* @__PURE__ */ function() {
2917
2917
  _ = f.target;
2918
2918
  var v = l.renderer.panels, m = null;
2919
2919
  try {
2920
- for (var P = __values(v), b = P.next(); !b.done; b = P.next()) {
2921
- var p = b.value;
2920
+ for (var b = __values(v), P = b.next(); !P.done; P = b.next()) {
2921
+ var p = P.value;
2922
2922
  if (p.contains(_)) {
2923
2923
  m = p;
2924
2924
  break;
@@ -2930,7 +2930,7 @@ var State = /* @__PURE__ */ function() {
2930
2930
  };
2931
2931
  } finally {
2932
2932
  try {
2933
- b && !b.done && (r = P.return) && r.call(P);
2933
+ P && !P.done && (r = b.return) && r.call(b);
2934
2934
  } finally {
2935
2935
  if (n) throw n.error;
2936
2936
  }
@@ -3314,11 +3314,11 @@ var State = /* @__PURE__ */ function() {
3314
3314
  };
3315
3315
  return new Promise(function(y, v) {
3316
3316
  var m = function() {
3317
- u.off(EVENT.HOLD, P), y();
3318
- }, P = function() {
3317
+ u.off(EVENT.HOLD, b), y();
3318
+ }, b = function() {
3319
3319
  u.off(EVENT.FINISH, m), v(new FlickingError(MESSAGE.ANIMATION_INTERRUPTED, CODE.ANIMATION_INTERRUPTED));
3320
3320
  };
3321
- u.once(EVENT.FINISH, m), u.once(EVENT.HOLD, P), g();
3321
+ u.once(EVENT.FINISH, m), u.once(EVENT.HOLD, b), g();
3322
3322
  });
3323
3323
  }, i.updateDirection = function() {
3324
3324
  var t = getFlickingAttached(this._flicking), e = this._axes, n = this._panInput;
@@ -3570,20 +3570,20 @@ var State = /* @__PURE__ */ function() {
3570
3570
  var l = getFlickingAttached(this._flicking), u = l.camera, d = u.findActiveAnchor(), f = u.findNearestAnchor(u.position), _ = this._controller.state;
3571
3571
  if (!d || !f)
3572
3572
  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, P;
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;
3574
3574
  if (m >= g && m > 0)
3575
- P = this._findSnappedAnchor(e, f);
3575
+ b = this._findSnappedAnchor(e, f);
3576
3576
  else if (v >= l.threshold && v > 0)
3577
- P = this._findAdjacentAnchor(e, y, f);
3577
+ b = this._findAdjacentAnchor(e, y, f);
3578
3578
  else
3579
3579
  return this.moveToPanel(f.panel, {
3580
3580
  duration: n,
3581
3581
  axesEvent: r
3582
3582
  });
3583
- return this._triggerIndexChangeEvent(P.panel, e, r), this._animateToPosition({
3584
- position: u.clampToReachablePosition(P.position),
3583
+ return this._triggerIndexChangeEvent(b.panel, e, r), this._animateToPosition({
3584
+ position: u.clampToReachablePosition(b.position),
3585
3585
  duration: n,
3586
- newActivePanel: P.panel,
3586
+ newActivePanel: b.panel,
3587
3587
  axesEvent: r
3588
3588
  });
3589
3589
  }, t._findSnappedAnchor = function(e, n) {
@@ -3594,13 +3594,13 @@ var State = /* @__PURE__ */ function() {
3594
3594
  return _;
3595
3595
  var g = r.panelCount, y = l.anchorPoints, v = Math.sign(e - d) * Math.floor(Math.abs(e - d) / l.rangeDiff);
3596
3596
  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, P = _.index + m;
3598
- if (Math.abs(P - n.index) <= u) {
3599
- var b = y[_.index];
3597
+ var m = v * g, b = _.index + m;
3598
+ if (Math.abs(b - n.index) <= u) {
3599
+ var P = y[_.index];
3600
3600
  return new AnchorPoint({
3601
- index: b.index,
3602
- position: b.position + v * l.rangeDiff,
3603
- panel: b.panel
3601
+ index: P.index,
3602
+ position: P.position + v * l.rangeDiff,
3603
+ panel: P.panel
3604
3604
  });
3605
3605
  }
3606
3606
  if (r.circularEnabled) {
@@ -3695,9 +3695,9 @@ var State = /* @__PURE__ */ function() {
3695
3695
  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
3696
  if (!_)
3697
3697
  return u.update(d), this._resetIndexRange(), this;
3698
- var g = d.range, y = _.position, v = _.index, m = l.panelCount, P = v - f, b = v + f;
3699
- P < 0 && (P = n.circularEnabled ? getMinusCompensatedIndex((P + 1) % m - 1, m) : clamp(P, 0, m - 1)), b >= m && (b = n.circularEnabled ? b % m : clamp(b, 0, m - 1));
3700
- var p = l.panels[P], E = l.panels[b], T = Math.max(p.position, g.min), O = Math.min(E.position, g.max);
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
3701
  return T > y && (T -= r.rangeDiff), O < y && (O += r.rangeDiff), d.range = {
3702
3702
  min: T,
3703
3703
  max: O
@@ -3713,15 +3713,15 @@ var State = /* @__PURE__ */ function() {
3713
3713
  });
3714
3714
  });
3715
3715
  }, 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]), P = d.findAnchorIncludePosition(m);
3717
- if (!P || !f)
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)
3718
3718
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3719
- var b = f.position, p = u.animating ? v.delta : e - d.position, E = Math.abs(p) >= u.threshold, T = e > b ? d.getNextAnchor(P) : d.getPrevAnchor(P), 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);
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
3720
  if (R || w) {
3721
3721
  var N = e < y.min ? x : I;
3722
3722
  S = N.panel, O = N.position;
3723
- } else if (E && P.position !== f.position)
3724
- S = P.panel, O = P.position;
3723
+ } else if (E && b.position !== f.position)
3724
+ S = b.panel, O = b.position;
3725
3725
  else if (E && A)
3726
3726
  S = T.panel, O = T.position;
3727
3727
  else {
@@ -3929,7 +3929,7 @@ var State = /* @__PURE__ */ function() {
3929
3929
  min: v,
3930
3930
  max: m
3931
3931
  };
3932
- var P = e.camera.align, b = typeof P == "object" ? P.camera : P, p = v + parseAlign$1(b, m - v);
3932
+ var b = e.camera.align, P = typeof b == "object" ? b.camera : b, p = v + parseAlign$1(P, m - v);
3933
3933
  return {
3934
3934
  min: p,
3935
3935
  max: p
@@ -3938,15 +3938,15 @@ var State = /* @__PURE__ */ function() {
3938
3938
  var e = this._flicking, n = e.camera, r = e.renderer.panels;
3939
3939
  if (r.length <= 0)
3940
3940
  return [];
3941
- var l = e.camera.range, u = r.filter(function(P) {
3942
- return n.canReach(P);
3941
+ var l = e.camera.range, u = r.filter(function(b) {
3942
+ return n.canReach(b);
3943
3943
  });
3944
3944
  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(P, b) {
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) {
3946
3946
  return new AnchorPoint({
3947
- index: b + _,
3948
- position: P.position,
3949
- panel: P
3947
+ index: P + _,
3948
+ position: b.position,
3949
+ panel: b
3950
3950
  });
3951
3951
  });
3952
3952
  return d && g.splice(0, 0, new AnchorPoint({
@@ -3997,9 +3997,9 @@ var State = /* @__PURE__ */ function() {
3997
3997
  var m = v.value;
3998
3998
  m in _ && (g = m);
3999
3999
  }
4000
- } catch (P) {
4000
+ } catch (b) {
4001
4001
  u = {
4002
- error: P
4002
+ error: b
4003
4003
  };
4004
4004
  } finally {
4005
4005
  try {
@@ -4230,8 +4230,8 @@ var State = /* @__PURE__ */ function() {
4230
4230
  var y = r.prev(), v = y ? y.position + y.offset : f - u[0];
4231
4231
  return v > l && (v -= g), r.index - 1 + getProgress(e, v, l);
4232
4232
  } else {
4233
- var m = r.next(), P = m ? m.position + m.offset : _ + u[1];
4234
- return P < l && (P += g), r.index + getProgress(e, l, P);
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);
4235
4235
  }
4236
4236
  },
4237
4237
  enumerable: !1,
@@ -4542,23 +4542,23 @@ var State = /* @__PURE__ */ function() {
4542
4542
  for (var t = this, e = [], n = 0; n < arguments.length; n++)
4543
4543
  e[n] = arguments[n];
4544
4544
  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), P = g.elements.map(function(p, E) {
4545
+ var y, v = getMinusCompensatedIndex(g.index, r.length), m = r.slice(v), b = g.elements.map(function(p, E) {
4546
4546
  return t._createPanel(p, {
4547
4547
  index: v + E,
4548
4548
  align: d,
4549
4549
  flicking: l
4550
4550
  });
4551
4551
  });
4552
- if (r.splice.apply(r, __spread([v, 0], P)), g.hasDOMInElements && t._insertPanelElements(P, (y = m[0]) !== null && y !== void 0 ? y : null), l.panelsPerView > 0) {
4553
- var b = u || P[0].resize();
4554
- t._updatePanelSizeByGrid(b, P);
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);
4555
4555
  } else
4556
- P.forEach(function(p) {
4556
+ b.forEach(function(p) {
4557
4557
  return p.resize();
4558
4558
  });
4559
4559
  return m.forEach(function(p) {
4560
- p.increaseIndex(P.length), p.updatePosition();
4561
- }), __spread(_, P);
4560
+ p.increaseIndex(b.length), p.updatePosition();
4561
+ }), __spread(_, b);
4562
4562
  }, []);
4563
4563
  return f;
4564
4564
  }, i.batchRemove = function() {
@@ -4570,12 +4570,12 @@ var State = /* @__PURE__ */ function() {
4570
4570
  for (var t = this, e = [], n = 0; n < arguments.length; n++)
4571
4571
  e[n] = arguments[n];
4572
4572
  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), P = r.slice(m + v), b = r.splice(m, v);
4574
- return b.length <= 0 ? [] : (P.forEach(function(p) {
4575
- p.decreaseIndex(b.length), p.updatePosition();
4576
- }), g.hasDOMInElements && t._removePanelElements(b), b.forEach(function(p) {
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) {
4577
4577
  return p.destroy();
4578
- }), includes(b, d) && u.resetActive(), __spread(_, b));
4578
+ }), includes(P, d) && u.resetActive(), __spread(_, P));
4579
4579
  }, []);
4580
4580
  return f;
4581
4581
  }, i.updateAfterPanelChange = function(t, e) {
@@ -5273,10 +5273,10 @@ var State = /* @__PURE__ */ function() {
5273
5273
  }(), Flicking$1 = /* @__PURE__ */ function(s) {
5274
5274
  __extends$2(i, s);
5275
5275
  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, P = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, b = r.bound, p = b === void 0 ? !1 : b, 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) {
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) {
5277
5277
  return 1 - Math.pow(1 - Ae, 3);
5278
5278
  } : 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 = P, 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;
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;
5280
5280
  }
5281
5281
  var t = i.prototype;
5282
5282
  return Object.defineProperty(t, "control", {
@@ -6273,8 +6273,8 @@ var State = /* @__PURE__ */ function() {
6273
6273
  }, t.disableInput = function() {
6274
6274
  return this._control.disable(), this;
6275
6275
  }, 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, P = this._camera, b = m ? this.visiblePanels : this.panels, p = {
6277
- panels: b.map(function(O) {
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) {
6278
6278
  var S = {
6279
6279
  index: O.index
6280
6280
  };
@@ -6282,10 +6282,10 @@ var State = /* @__PURE__ */ function() {
6282
6282
  })
6283
6283
  };
6284
6284
  if (d && (p.index = this.index), _) {
6285
- var E = P.findNearestAnchor(P.position);
6285
+ var E = b.findNearestAnchor(b.position);
6286
6286
  E && (p.position = {
6287
6287
  panel: E.panel.index,
6288
- progressInPanel: P.getProgressInPanel(E.panel)
6288
+ progressInPanel: b.getProgressInPanel(E.panel)
6289
6289
  });
6290
6290
  }
6291
6291
  if (m) {
@@ -6304,8 +6304,8 @@ var State = /* @__PURE__ */ function() {
6304
6304
  hasDOMInElements: !0
6305
6305
  }), f.batchInsert({
6306
6306
  index: 0,
6307
- elements: parseElement(d.map(function(b) {
6308
- return b.html;
6307
+ elements: parseElement(d.map(function(P) {
6308
+ return P.html;
6309
6309
  })),
6310
6310
  hasDOMInElements: !0
6311
6311
  })), r != null) {
@@ -6314,8 +6314,8 @@ var State = /* @__PURE__ */ function() {
6314
6314
  });
6315
6315
  }
6316
6316
  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, P = m.min + (m.max - m.min) * v;
6318
- _.moveToPosition(P, 0).catch(function() {
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() {
6319
6319
  });
6320
6320
  }
6321
6321
  }, t.addPlugins = function() {
@@ -6487,11 +6487,11 @@ var State = /* @__PURE__ */ function() {
6487
6487
  }), u.push.apply(u, __spread(batchRemove(e, f, d + 1)));
6488
6488
  }
6489
6489
  if (i.ordered.forEach(function(v) {
6490
- var m = __read(v, 2), P = m[0], b = m[1], p = n.splice(P, 1)[0];
6491
- n.splice(b, 0, p);
6490
+ var m = __read(v, 2), b = m[0], P = m[1], p = n.splice(b, 1)[0];
6491
+ n.splice(P, 0, p);
6492
6492
  }), i.ordered.length > 0 && (n.forEach(function(v, m) {
6493
- var P = m - v.index;
6494
- P > 0 ? v.increaseIndex(P) : v.decreaseIndex(-P);
6493
+ var b = m - v.index;
6494
+ b > 0 ? v.increaseIndex(b) : v.decreaseIndex(-b);
6495
6495
  }), n.sort(function(v, m) {
6496
6496
  return v.index - m.index;
6497
6497
  }), n.forEach(function(v) {
@@ -6652,7 +6652,7 @@ var State = /* @__PURE__ */ function() {
6652
6652
  return e;
6653
6653
  }, Arrow = /* @__PURE__ */ function() {
6654
6654
  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, P = n.moveByViewportSize, b = P === void 0 ? !1 : P;
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;
6656
6656
  this._flicking = null, this._preventInputPropagation = function(p) {
6657
6657
  p.stopPropagation();
6658
6658
  }, this._onPrevClick = function() {
@@ -6685,7 +6685,7 @@ var State = /* @__PURE__ */ function() {
6685
6685
  }, this._onCatch = function(p) {
6686
6686
  if (!(p instanceof FlickingError))
6687
6687
  throw p;
6688
- }, this._parentEl = l, this._prevElSelector = d, this._nextElSelector = _, this._disabledClass = y, this._moveCount = m, this._moveByViewportSize = b;
6688
+ }, this._parentEl = l, this._prevElSelector = d, this._nextElSelector = _, this._disabledClass = y, this._moveCount = m, this._moveByViewportSize = P;
6689
6689
  }
6690
6690
  var i = s.prototype;
6691
6691
  return Object.defineProperty(i, "prevEl", {
@@ -6866,33 +6866,33 @@ var Renderer = /* @__PURE__ */ function() {
6866
6866
  this._bullets = [], this._prevIndex = -1;
6867
6867
  }, t.render = function() {
6868
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, P) {
6870
- return _ && m.panel.index === n.index ? _(u, P) : f(u, P);
6869
+ addClass(l, g), l.innerHTML = y.map(function(m, b) {
6870
+ return _ && m.panel.index === n.index ? _(u, b) : f(u, b);
6871
6871
  }).join(`
6872
6872
  `);
6873
6873
  var v = [].slice.call(l.children);
6874
- v.forEach(function(m, P) {
6875
- var b = y[P];
6876
- b.panel.index === n.index && (addClass(m, d), e._prevIndex = P), e._addBulletEvents(m, P);
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);
6877
6877
  }), this._bullets = v;
6878
6878
  }, t.update = function(e) {
6879
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;
6880
6880
  if (!(g.length <= 0)) {
6881
- var m = g[0].panel.index, P = e - m;
6882
- if (_ !== P) {
6881
+ var m = g[0].panel.index, b = e - m;
6882
+ if (_ !== b) {
6883
6883
  if (v) {
6884
- var b = u[_];
6885
- if (b) {
6884
+ var P = u[_];
6885
+ if (P) {
6886
6886
  var p = this._createBulletFromString(y(d, _), _);
6887
- b.parentElement.replaceChild(p, b), u[_] = p;
6887
+ P.parentElement.replaceChild(p, P), u[_] = p;
6888
6888
  }
6889
- var E = u[P], T = this._createBulletFromString(v(d + " " + f, P), P);
6890
- l.replaceChild(T, E), u[P] = T;
6889
+ var E = u[b], T = this._createBulletFromString(v(d + " " + f, b), b);
6890
+ l.replaceChild(T, E), u[b] = T;
6891
6891
  } else {
6892
- var E = u[P], b = u[_];
6893
- b && removeClass(b, f), addClass(E, f);
6892
+ var E = u[b], P = u[_];
6893
+ P && removeClass(P, f), addClass(E, f);
6894
6894
  }
6895
- this._prevIndex = P;
6895
+ this._prevIndex = b;
6896
6896
  }
6897
6897
  }
6898
6898
  }, i;
@@ -6937,19 +6937,19 @@ var Renderer = /* @__PURE__ */ function() {
6937
6937
  if (m.forEach(function(p, E) {
6938
6938
  e._addBulletEvents(p, E);
6939
6939
  }), !(m.length <= 0)) {
6940
- var P = getComputedStyle(m[0]), b = m[0].clientWidth + parseFloat(P.marginLeft) + parseFloat(P.marginRight);
6941
- n.style.width = b * l.bulletCount + "px", this._bullets = m, this._bulletSize = b, this._previousIndex = -1, this.update(this._flicking.index), window.requestAnimationFrame(function() {
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
6942
  removeClass(n, y);
6943
6943
  });
6944
6944
  }
6945
6945
  }, t.update = function(e) {
6946
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;
6947
6947
  if (!(_.length <= 0)) {
6948
- var v = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, b = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, p = function(R) {
6949
- return "" + P + (R > 1 ? R : "");
6950
- }, E = function(R) {
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) {
6951
6949
  return "" + b + (R > 1 ? R : "");
6952
- }, T = new RegExp("^" + P), O = new RegExp("^" + b);
6950
+ }, E = function(R) {
6951
+ return "" + P + (R > 1 ? R : "");
6952
+ }, T = new RegExp("^" + b), O = new RegExp("^" + P);
6953
6953
  if (f) {
6954
6954
  var S = l[u];
6955
6955
  if (S) {
@@ -6980,9 +6980,9 @@ var Renderer = /* @__PURE__ */ function() {
6980
6980
  }, i;
6981
6981
  }(Renderer), Pagination = /* @__PURE__ */ function() {
6982
6982
  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, P = n.renderBullet, b = P === void 0 ? function(A) {
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) {
6984
6984
  return '<span class="' + A + '"></span>';
6985
- } : P, p = n.renderActiveBullet, E = p === void 0 ? null : p, T = n.renderFraction, O = T === void 0 ? function(A, N) {
6985
+ } : b, p = n.renderActiveBullet, E = p === void 0 ? null : p, T = n.renderFraction, O = T === void 0 ? function(A, N) {
6986
6986
  return '<span class="' + A + '"></span>/<span class="' + N + '"></span>';
6987
6987
  } : T, S = n.fractionCurrentFormat, C = S === void 0 ? function(A) {
6988
6988
  return A.toString();
@@ -6995,7 +6995,7 @@ var Renderer = /* @__PURE__ */ function() {
6995
6995
  e._removeAllChilds(), e._renderer.render();
6996
6996
  }, this._onIndexChange = function(A) {
6997
6997
  e._renderer.update(A.index);
6998
- }, this._parentEl = l, this._selector = d, this._type = _, this._classPrefix = y, this._bulletCount = m, this._renderBullet = b, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = C, this._fractionTotalFormat = I, this._scrollOnChange = w;
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;
6999
6999
  }
7000
7000
  var i = s.prototype;
7001
7001
  return Object.defineProperty(i, "parentEl", {
@@ -7213,7 +7213,7 @@ var Result = /* @__PURE__ */ function() {
7213
7213
  function diff(s, i, t) {
7214
7214
  var e = SUPPORT_MAP ? Map : t ? HashMap : PolyMap, n = t || function(E) {
7215
7215
  return E;
7216
- }, r = [], l = [], u = [], d = s.map(n), f = i.map(n), _ = new e(), g = new e(), y = [], v = [], m = {}, P = [], b = 0, p = 0;
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;
7217
7217
  return d.forEach(function(E, T) {
7218
7218
  _.set(E, T);
7219
7219
  }), f.forEach(function(E, T) {
@@ -7223,8 +7223,8 @@ function diff(s, i, t) {
7223
7223
  typeof O > "u" ? (++p, l.push(T)) : m[O] = p;
7224
7224
  }), f.forEach(function(E, T) {
7225
7225
  var O = _.get(E);
7226
- typeof O > "u" ? (r.push(T), ++b) : (u.push([O, T]), p = m[T] || 0, y.push([O - p, T - b]), v.push(T === O), O !== T && P.push([O, T]));
7227
- }), l.reverse(), new Result(s, i, r, l, P, u, y, v);
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);
7228
7228
  }
7229
7229
  var ListDiffer = /* @__PURE__ */ function() {
7230
7230
  function s(t, e) {
@@ -7671,7 +7671,7 @@ var FlickingProps = {
7671
7671
  }
7672
7672
  }
7673
7673
  });
7674
- const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$9 = { class: "flicking-arrow-prev konnectio-gallery-arrows" }, _hoisted_3$8 = { class: "flicking-arrow-next konnectio-gallery-arrows" }, _hoisted_4$6 = ["src"], _hoisted_5$6 = ["src"], _sfc_main$b = /* @__PURE__ */ defineComponent({
7674
+ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$9 = { class: "flicking-arrow-prev konnectio-gallery-arrows" }, _hoisted_3$9 = { class: "flicking-arrow-next konnectio-gallery-arrows" }, _hoisted_4$7 = ["src"], _hoisted_5$6 = ["src"], _sfc_main$b = /* @__PURE__ */ defineComponent({
7675
7675
  __name: "Gallery",
7676
7676
  props: {
7677
7677
  gallery: { default: () => [] },
@@ -7710,7 +7710,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7710
7710
  new Fade(),
7711
7711
  new Pagination({ type: d.value })
7712
7712
  ];
7713
- }), (m, P) => (openBlock(), createElementBlock("div", null, [
7713
+ }), (m, b) => (openBlock(), createElementBlock("div", null, [
7714
7714
  l.value ? (openBlock(), createBlock(unref(Flicking), {
7715
7715
  key: 0,
7716
7716
  ref_key: "slideshow",
@@ -7741,7 +7741,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7741
7741
  color: "header"
7742
7742
  })
7743
7743
  ]),
7744
- createBaseVNode("span", _hoisted_3$8, [
7744
+ createBaseVNode("span", _hoisted_3$9, [
7745
7745
  createVNode(Icon, {
7746
7746
  icon: "circle-arrow-right",
7747
7747
  type: "fas",
@@ -7749,16 +7749,16 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7749
7749
  })
7750
7750
  ])
7751
7751
  ]),
7752
- P[0] || (P[0] = createBaseVNode("div", { class: "flicking-pagination" }, null, -1))
7752
+ b[0] || (b[0] = createBaseVNode("div", { class: "flicking-pagination" }, null, -1))
7753
7753
  ]),
7754
7754
  default: withCtx(() => [
7755
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.gallery, ({ large: b, url: p }, E) => (openBlock(), createElementBlock("div", {
7755
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(m.gallery, ({ large: P, url: p }, E) => (openBlock(), createElementBlock("div", {
7756
7756
  key: E,
7757
7757
  class: "konnectio-flicking-gallery-item"
7758
7758
  }, [
7759
7759
  createBaseVNode("img", {
7760
- src: b || p
7761
- }, null, 8, _hoisted_4$6)
7760
+ src: P || p
7761
+ }, null, 8, _hoisted_4$7)
7762
7762
  ]))), 128))
7763
7763
  ]),
7764
7764
  _: 1
@@ -7773,7 +7773,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7773
7773
  }, null, 10, _hoisted_5$6)) : createCommentVNode("", !0)
7774
7774
  ]));
7775
7775
  }
7776
- }), Gallery = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-85e9cbfa"]]), _hoisted_1$b = { key: 0 }, _hoisted_2$8 = { class: "konnectio-listing-side-panel" }, _hoisted_3$7 = ["innerHTML"], _hoisted_4$5 = {
7776
+ }), Gallery = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-4c1bbebc"]]), _hoisted_1$b = { key: 0 }, _hoisted_2$8 = { class: "konnectio-listing-side-panel" }, _hoisted_3$8 = ["innerHTML"], _hoisted_4$6 = {
7777
7777
  key: 1,
7778
7778
  class: "konnectio-listing-side-panel-facilities"
7779
7779
  }, _hoisted_5$5 = {
@@ -7813,12 +7813,12 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7813
7813
  return x < 10 && (x = "0" + x), C < 10 && (C = "0" + C), `${S}-${C}-${x}`;
7814
7814
  }
7815
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 P(O) {
7816
+ function b(O) {
7817
7817
  t("update:idx", O);
7818
7818
  }
7819
- const b = computed$1({
7819
+ const P = computed$1({
7820
7820
  get: () => n.idx,
7821
- set: (O) => P(O)
7821
+ set: (O) => b(O)
7822
7822
  }), p = ref("testVueMasonry"), E = inject("redrawVueMasonry");
7823
7823
  function T() {
7824
7824
  E("testVueMasonry");
@@ -7833,8 +7833,8 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7833
7833
  O.gallery ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
7834
7834
  createVNode(Gallery, {
7835
7835
  gallery: O.gallery,
7836
- idx: b.value,
7837
- "onUpdate:idx": S[0] || (S[0] = (I) => b.value = I)
7836
+ idx: P.value,
7837
+ "onUpdate:idx": S[0] || (S[0] = (I) => P.value = I)
7838
7838
  }, null, 8, ["gallery", "idx"])
7839
7839
  ])) : createCommentVNode("", !0),
7840
7840
  createBaseVNode("div", _hoisted_2$8, [
@@ -7842,8 +7842,8 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7842
7842
  key: 0,
7843
7843
  class: "konnectio-listing-side-panel-description",
7844
7844
  innerHTML: unref(convertDescription)(O.description)
7845
- }, null, 8, _hoisted_3$7)) : createCommentVNode("", !0),
7846
- O.facilities && O.facilities.length !== 0 ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
7845
+ }, null, 8, _hoisted_3$8)) : createCommentVNode("", !0),
7846
+ O.facilities && O.facilities.length !== 0 ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
7847
7847
  withDirectives((openBlock(), createElementBlock("ul", _hoisted_5$5, [
7848
7848
  withDirectives(createBaseVNode("div", _hoisted_6$5, null, 512), [
7849
7849
  [C]
@@ -8038,7 +8038,7 @@ function resetTriggers(s) {
8038
8038
  var i = s.__resize_triggers__, t = i.expand, e = i.expandChild, n = i.contract, r = n.scrollWidth, l = n.scrollHeight, u = t.offsetWidth, d = t.offsetHeight, f = t.scrollWidth, _ = t.scrollHeight;
8039
8039
  n.scrollLeft = r, n.scrollTop = l, e.style.width = u + 1 + "px", e.style.height = d + 1 + "px", t.scrollLeft = f, t.scrollTop = _;
8040
8040
  }
8041
- const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = { key: 1 }, _sfc_main$9 = /* @__PURE__ */ defineComponent({
8041
+ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = { key: 1 }, _sfc_main$9 = /* @__PURE__ */ defineComponent({
8042
8042
  __name: "TruncateContent",
8043
8043
  props: {
8044
8044
  text: {},
@@ -8061,35 +8061,35 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8061
8061
  }), _ = () => {
8062
8062
  u.value && (u.value.innerHTML = convertDescription(x.value));
8063
8063
  }, g = () => {
8064
- d.localExpanded || (_(), (m() || C.value) && b());
8064
+ d.localExpanded || (_(), (m() || C.value) && P());
8065
8065
  }, y = () => {
8066
8066
  e.text && (d.offset = e.text.length, v(), e.autoResize && r.value && (addListener(r.value, g), d.unregisterResizeCallback = () => {
8067
8067
  r.value && removeListener(r.value, g);
8068
8068
  }), g());
8069
8069
  }, v = () => {
8070
8070
  d.unregisterResizeCallback?.();
8071
- }, 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(
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
8072
  Array.prototype.slice.call(l.value.getClientRects()).reduce((N, { top: D, bottom: L }) => {
8073
8073
  const B = `${D}/${L}`;
8074
8074
  return N[B] || (N[B] = !0), N;
8075
8075
  }, {})
8076
- ).length : 0, b = (...N) => {
8076
+ ).length : 0, P = (...N) => {
8077
8077
  const [D = 0, L = d.offset] = N;
8078
8078
  if (L - D <= 3) {
8079
8079
  E();
8080
8080
  return;
8081
8081
  }
8082
8082
  const B = Math.floor((L + D) / 2);
8083
- p(B), m() ? b(D, B) : b(B, L);
8083
+ p(B), m() ? P(D, B) : P(B, L);
8084
8084
  }, p = (N) => {
8085
8085
  d.offset = N, _();
8086
8086
  }, E = () => {
8087
8087
  T(), O();
8088
8088
  }, T = () => {
8089
- for (; (!m() || P() < 2) && d.offset < e.text.length; )
8089
+ for (; (!m() || b() < 2) && d.offset < e.text.length; )
8090
8090
  S(1);
8091
8091
  }, O = () => {
8092
- for (; m() && P() > 1 && d.offset > 0; )
8092
+ for (; m() && b() > 1 && d.offset > 0; )
8093
8093
  S(-1);
8094
8094
  }, S = (N) => {
8095
8095
  p(d.offset + N);
@@ -8183,13 +8183,13 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8183
8183
  class: "link",
8184
8184
  onClick: D[0] || (D[0] = withModifiers((L) => A(), ["prevent"]))
8185
8185
  }, [
8186
- d.localExpanded ? (openBlock(), createElementBlock("span", _hoisted_3$6, toDisplayString(unref(t)("general.readLess")), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$7, toDisplayString(unref(t)("general.readMore")), 1))
8186
+ 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
8187
  ])) : createCommentVNode("", !0)
8188
8188
  ])
8189
8189
  ], 512)
8190
8190
  ], 4));
8191
8191
  }
8192
- }), _hoisted_1$9 = { class: "konnectio-listing-content" }, _hoisted_2$6 = { class: "konnectio-listing-details" }, _hoisted_3$5 = ["title"], _hoisted_4$4 = {
8192
+ }), _hoisted_1$9 = { class: "konnectio-listing-content" }, _hoisted_2$6 = { class: "konnectio-listing-details" }, _hoisted_3$6 = ["title"], _hoisted_4$5 = {
8193
8193
  key: 0,
8194
8194
  class: "konnectio-listing-sub-title"
8195
8195
  }, _hoisted_5$4 = { key: 0 }, _hoisted_6$4 = { key: 1 }, _hoisted_7$3 = { key: 2 }, _hoisted_8$3 = { key: 3 }, _hoisted_9$2 = { class: "konnectio-listing-description" }, _hoisted_10$2 = {
@@ -8274,8 +8274,8 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8274
8274
  color: "header"
8275
8275
  })
8276
8276
  ]))
8277
- ], 10, _hoisted_3$5),
8278
- d.value || g.includesBreakfast || g.fromDate && g.toDate || g.toDate && unref(daysBetweenDates)(/* @__PURE__ */ new Date(), g.toDate) < 180 && !unref(u) ? (openBlock(), createElementBlock("ul", _hoisted_4$4, [
8277
+ ], 10, _hoisted_3$6),
8278
+ d.value || g.includesBreakfast || g.fromDate && g.toDate || g.toDate && unref(daysBetweenDates)(/* @__PURE__ */ new Date(), g.toDate) < 180 && !unref(u) ? (openBlock(), createElementBlock("ul", _hoisted_4$5, [
8279
8279
  d.value ? (openBlock(), createElementBlock("li", _hoisted_5$4, [
8280
8280
  createBaseVNode("span", null, toDisplayString(`${unref(i)("general.pricesFrom")}: ${unref(showPrice)(g.pricesFrom, unref(l))}`), 1)
8281
8281
  ])) : createCommentVNode("", !0),
@@ -8299,15 +8299,15 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8299
8299
  ])
8300
8300
  ]),
8301
8301
  g.facilities ? (openBlock(), createElementBlock("ul", _hoisted_10$2, [
8302
- (openBlock(!0), createElementBlock(Fragment, null, renderList(g.facilities, ({ icon: m, name: P, subFacilities: b }) => (openBlock(), createElementBlock(Fragment, null, [
8303
- m ? withDirectives((openBlock(), createElementBlock("li", { key: P }, [
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 }, [
8304
8304
  createVNode(Icon, {
8305
8305
  icon: m,
8306
8306
  color: "header"
8307
8307
  }, null, 8, ["icon"])
8308
8308
  ])), [
8309
8309
  [v, {
8310
- content: _(b),
8310
+ content: _(P),
8311
8311
  classes: ["tooltip", "konnectio-tooltip"],
8312
8312
  html: !0
8313
8313
  }]
@@ -8375,7 +8375,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8375
8375
  _: 1
8376
8376
  }, 8, ["label"]));
8377
8377
  }
8378
- }), CheckboxField = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-f419f922"]]), _hoisted_1$7 = { id: "konnectio-multi-step-form-navigation" }, _hoisted_2$5 = { id: "konnectio-multi-step-form-steps-wrapper" }, _hoisted_3$4 = { key: 0 }, _hoisted_4$3 = { key: 1 }, _hoisted_5$3 = { class: "konnectio-multi-steps" }, _hoisted_6$3 = { id: "konnectio-multi-step-form-content" }, _sfc_main$6 = /* @__PURE__ */ defineComponent({
8378
+ }), CheckboxField = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-a5eaae5a"]]), _hoisted_1$7 = { id: "konnectio-multi-step-form-navigation" }, _hoisted_2$5 = { id: "konnectio-multi-step-form-steps-wrapper" }, _hoisted_3$5 = { key: 0 }, _hoisted_4$4 = { key: 1 }, _hoisted_5$3 = { class: "konnectio-multi-steps" }, _hoisted_6$3 = { id: "konnectio-multi-step-form-content" }, _sfc_main$6 = /* @__PURE__ */ defineComponent({
8379
8379
  __name: "MultiStepForm",
8380
8380
  props: {
8381
8381
  layout: { default: BookingHeaderLayout.Default },
@@ -8385,49 +8385,49 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8385
8385
  },
8386
8386
  emits: ["reset"],
8387
8387
  setup(s, { emit: i }) {
8388
- const t = inject("emitter"), e = i, { headerHeight: n } = storeToRefs(useUtilityStore()), r = s, l = ref(0), u = ref(), d = computed$1(() => r.steps.filter((m) => !m.hidden)), f = computed$1(() => r.steps[l.value].id), _ = () => {
8389
- if (u.value) {
8390
- const m = n.value;
8391
- if (m && m > 0) {
8392
- const b = u.value.getBoundingClientRect().top + window.scrollY - m;
8388
+ const t = i, { headerHeight: e } = storeToRefs(useUtilityStore()), n = s, r = ref(0), l = ref(), u = computed$1(() => n.steps.filter((v) => !v.hidden)), d = computed$1(() => n.steps[r.value].id), f = () => {
8389
+ if (l.value) {
8390
+ const v = e.value;
8391
+ if (v && v > 0) {
8392
+ const b = l.value.getBoundingClientRect().top + window.scrollY - v;
8393
8393
  window.scrollTo({
8394
8394
  top: b,
8395
8395
  behavior: "smooth"
8396
8396
  });
8397
8397
  } else
8398
- u.value.scrollIntoView({ behavior: "smooth" });
8398
+ l.value.scrollIntoView({ behavior: "smooth" });
8399
8399
  }
8400
- }, g = (m = 1) => {
8401
- l.value = l.value + m, _();
8402
- }, y = (m = 1) => {
8403
- l.value = l.value - m, _();
8400
+ }, _ = (v = 1) => {
8401
+ r.value = r.value + v, f();
8402
+ }, g = (v = 1) => {
8403
+ r.value = r.value - v, f();
8404
8404
  };
8405
- function v() {
8406
- l.value = 0, _();
8407
- }
8408
- return t.on("scrollToTop", () => {
8409
- _();
8410
- }), watch(l, () => {
8411
- l.value === 0 && e("reset");
8412
- }), (m, P) => (openBlock(), createElementBlock("div", {
8405
+ function y() {
8406
+ r.value = 0, f();
8407
+ }
8408
+ return emitter.on("scrollToTop", () => {
8409
+ f();
8410
+ }), watch(r, () => {
8411
+ r.value === 0 && t("reset");
8412
+ }), (v, m) => (openBlock(), createElementBlock("div", {
8413
8413
  id: "konnectio-multi-step-form",
8414
8414
  ref_key: "multiStepForm",
8415
- ref: u
8415
+ ref: l
8416
8416
  }, [
8417
8417
  createBaseVNode("div", null, [
8418
8418
  createBaseVNode("header", _hoisted_1$7, [
8419
8419
  createBaseVNode("div", _hoisted_2$5, [
8420
8420
  createBaseVNode("div", null, [
8421
- m.title && m.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h2", _hoisted_3$4, [
8422
- createBaseVNode("span", null, toDisplayString(m.title), 1)
8421
+ v.title && v.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h2", _hoisted_3$5, [
8422
+ createBaseVNode("span", null, toDisplayString(v.title), 1)
8423
8423
  ])) : createCommentVNode("", !0),
8424
- m.subtitle && m.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h5", _hoisted_4$3, [
8425
- createBaseVNode("span", null, toDisplayString(m.subtitle), 1)
8424
+ v.subtitle && v.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h5", _hoisted_4$4, [
8425
+ createBaseVNode("span", null, toDisplayString(v.subtitle), 1)
8426
8426
  ])) : createCommentVNode("", !0),
8427
8427
  createBaseVNode("ul", _hoisted_5$3, [
8428
- (openBlock(!0), createElementBlock(Fragment, null, renderList(d.value, (b, p) => (openBlock(), createElementBlock("li", {
8428
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(u.value, (b, P) => (openBlock(), createElementBlock("li", {
8429
8429
  key: b.id,
8430
- class: normalizeClass({ "is-active": l.value >= p })
8430
+ class: normalizeClass({ "is-active": r.value >= P })
8431
8431
  }, [
8432
8432
  b.icon ? (openBlock(), createBlock(Icon, {
8433
8433
  key: 0,
@@ -8441,39 +8441,56 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8441
8441
  ])
8442
8442
  ]),
8443
8443
  createBaseVNode("ul", _hoisted_6$3, [
8444
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.steps, (b) => (openBlock(), createElementBlock("li", {
8444
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(v.steps, (b) => (openBlock(), createElementBlock("li", {
8445
8445
  key: b.id,
8446
8446
  class: "konnectio-multi-step-form-content-tab"
8447
8447
  }, [
8448
8448
  withDirectives(createBaseVNode("div", null, [
8449
- renderSlot(m.$slots, b.id, {
8450
- next: g,
8451
- prev: y,
8452
- reset: v
8449
+ renderSlot(v.$slots, b.id, {
8450
+ next: _,
8451
+ prev: g,
8452
+ reset: y
8453
8453
  }, void 0, !0)
8454
8454
  ], 512), [
8455
- [vShow, f.value === b.id]
8455
+ [vShow, d.value === b.id]
8456
8456
  ])
8457
8457
  ]))), 128))
8458
8458
  ])
8459
8459
  ])
8460
8460
  ], 512));
8461
8461
  }
8462
- }), MultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-78c5f36a"]]), Logo = "data:image/svg+xml,%3csvg%20id='b7c97208-3a12-46ef-b848-b5e1b5fc4d6a'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20500%20500'%3e%3ctitle%3ekonnectio-logo-gray%3c/title%3e%3cpolygon%20points='250%20250%20200%20300%20200%20200%20250%20250'%20style='fill:%23999'/%3e%3cpolygon%20points='200%20200%20200%20300%20150%20350%20150%20150%20200%20200'%20style='fill:%23858585'/%3e%3cpolygon%20points='150%20150%20150%20350%20100%20400%20100%20100%20150%20150'%20style='fill:%23707070'/%3e%3cpolygon%20points='100%20100%20100%20400%2050%20450%2050%2050%20100%20100'%20style='fill:%235c5c5c'/%3e%3cpolygon%20points='50%2050%2050%20450%200%20500%200%200%2050%2050'%20style='fill:%23474747'/%3e%3cpolygon%20points='250%20250%200%20500%20200%20500%20250%20450%20300%20500%20500%20500%20250%20250'%20style='fill:%23333'/%3e%3cpolygon%20points='300%200%20250%2050%20200%200%200%200%20250%20250%20500%200%20300%200'%20style='fill:%23adadad'/%3e%3cpath%20d='M250,462.5'%20style='fill:none'/%3e%3cpath%20d='M250,462.5'%20style='fill:none'/%3e%3c/svg%3e", _hoisted_1$6 = { class: "konnectio-brand" }, _hoisted_2$4 = ["src"], _sfc_main$5 = /* @__PURE__ */ defineComponent({
8462
+ }), MultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5e441aa5"]]), Logo = "data:image/svg+xml,%3csvg%20id='b7c97208-3a12-46ef-b848-b5e1b5fc4d6a'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20500%20500'%3e%3ctitle%3ekonnectio-logo-gray%3c/title%3e%3cpolygon%20points='250%20250%20200%20300%20200%20200%20250%20250'%20style='fill:%23999'/%3e%3cpolygon%20points='200%20200%20200%20300%20150%20350%20150%20150%20200%20200'%20style='fill:%23858585'/%3e%3cpolygon%20points='150%20150%20150%20350%20100%20400%20100%20100%20150%20150'%20style='fill:%23707070'/%3e%3cpolygon%20points='100%20100%20100%20400%2050%20450%2050%2050%20100%20100'%20style='fill:%235c5c5c'/%3e%3cpolygon%20points='50%2050%2050%20450%200%20500%200%200%2050%2050'%20style='fill:%23474747'/%3e%3cpolygon%20points='250%20250%200%20500%20200%20500%20250%20450%20300%20500%20500%20500%20250%20250'%20style='fill:%23333'/%3e%3cpolygon%20points='300%200%20250%2050%20200%200%200%200%20250%20250%20500%200%20300%200'%20style='fill:%23adadad'/%3e%3cpath%20d='M250,462.5'%20style='fill:none'/%3e%3cpath%20d='M250,462.5'%20style='fill:none'/%3e%3c/svg%3e", _hoisted_1$6 = { class: "konnectio-brand" }, _hoisted_2$4 = ["src"], _hoisted_3$4 = { class: "konnectio-brand-text" }, _hoisted_4$3 = ["href"], _sfc_main$5 = /* @__PURE__ */ defineComponent({
8463
8463
  __name: "PoweredByKonnectio",
8464
8464
  setup(s) {
8465
- return (i, t) => (openBlock(), createElementBlock("div", _hoisted_1$6, [
8465
+ const { t: i } = useI18n(), t = computed$1(() => getUserLanguage() === "da" ? "https://konnectio.dk" : "https://konnectio.com");
8466
+ return (e, n) => (openBlock(), createElementBlock("div", _hoisted_1$6, [
8466
8467
  createBaseVNode("img", { src: unref(Logo) }, null, 8, _hoisted_2$4),
8467
- t[0] || (t[0] = createBaseVNode("span", { class: "konnectio-brand-text" }, [
8468
- createTextVNode("Powered by "),
8468
+ createBaseVNode("span", _hoisted_3$4, [
8469
+ createTextVNode(toDisplayString(unref(i)("poweredBy")) + " ", 1),
8469
8470
  createBaseVNode("a", {
8470
- href: "https://konnectio.dk",
8471
+ href: t.value,
8471
8472
  target: "_blank"
8472
- }, "Konnectio")
8473
- ], -1))
8473
+ }, "Konnectio", 8, _hoisted_4$3)
8474
+ ])
8474
8475
  ]));
8475
8476
  }
8476
- }), PoweredByKonnectio = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-18330e13"]]), _hoisted_1$5 = { class: "hotel-skeleton-sidebar-inner" }, _hoisted_2$3 = { class: "hotel-skeleton-sidebar-group" }, _hoisted_3$3 = { class: "hotel-skeleton-sidebar-group" }, _sfc_main$4 = /* @__PURE__ */ defineComponent({
8477
+ });
8478
+ function block0(s) {
8479
+ const i = s;
8480
+ i.__i18n = i.__i18n || [], i.__i18n.push({
8481
+ locale: "",
8482
+ resource: {
8483
+ da: {
8484
+ poweredBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Drevet af" } }
8485
+ },
8486
+ en: {
8487
+ poweredBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Powered by" } }
8488
+ }
8489
+ }
8490
+ });
8491
+ }
8492
+ typeof block0 == "function" && block0(_sfc_main$5);
8493
+ const PoweredByKonnectio = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-20a150b1"]]), _hoisted_1$5 = { class: "hotel-skeleton-sidebar-inner" }, _hoisted_2$3 = { class: "hotel-skeleton-sidebar-group" }, _hoisted_3$3 = { class: "hotel-skeleton-sidebar-group" }, _sfc_main$4 = /* @__PURE__ */ defineComponent({
8477
8494
  __name: "Sidebar",
8478
8495
  setup(s) {
8479
8496
  return (i, t) => (openBlock(), createElementBlock("div", _hoisted_1$5, [
@@ -9027,7 +9044,7 @@ const _hoisted_1$3 = {
9027
9044
  amount: f,
9028
9045
  voucher: _,
9029
9046
  isLoading: g
9030
- } = storeToRefs(useApplyGiftCardStore()), { apply: y, reset: v } = useApplyGiftCardStore(), m = useSlots(), P = useModel(s, "discountCode"), b = s, p = computed$1(() => b.basePrice - b.weekendFee - b.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) => E.value = I;
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) => E.value = I;
9031
9048
  return onMounted(() => {
9032
9049
  e.value && x("gift-card");
9033
9050
  }), (I, R) => {
@@ -9166,8 +9183,8 @@ const _hoisted_1$3 = {
9166
9183
  default: withCtx(() => [
9167
9184
  T.value ? (openBlock(), createBlock(ActionField, {
9168
9185
  key: 0,
9169
- modelValue: P.value,
9170
- "onUpdate:modelValue": R[3] || (R[3] = (A) => P.value = A),
9186
+ modelValue: b.value,
9187
+ "onUpdate:modelValue": R[3] || (R[3] = (A) => b.value = A),
9171
9188
  icon: "tags",
9172
9189
  "button-icon": "paper-plane-top",
9173
9190
  placeholder: unref(i)("general.discountCodePlaceholder"),
@@ -9277,15 +9294,15 @@ const _hoisted_1$3 = {
9277
9294
  totalPrice: _,
9278
9295
  totalVAT: g,
9279
9296
  subTotalPrice: y
9280
- } = storeToRefs(usePaymentStore()), { currency: v } = storeToRefs(useUtilityStore()), { currentArrivalDate: m, currentDepartureDate: P } = storeToRefs(useHotelStore());
9281
- return (b, p) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9297
+ } = storeToRefs(usePaymentStore()), { currency: v } = storeToRefs(useUtilityStore()), { currentArrivalDate: m, currentDepartureDate: b } = storeToRefs(useHotelStore());
9298
+ return (P, p) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9282
9299
  createBaseVNode("div", _hoisted_2$1, [
9283
9300
  createBaseVNode("h2", _hoisted_3$1, [
9284
9301
  createBaseVNode("span", null, toDisplayString(unref(i)("general.thankYou")), 1)
9285
9302
  ]),
9286
9303
  createBaseVNode("div", {
9287
9304
  id: "konnectio-confirmation-message",
9288
- innerHTML: b.message
9305
+ innerHTML: P.message
9289
9306
  }, null, 8, _hoisted_4$1)
9290
9307
  ]),
9291
9308
  createBaseVNode("div", _hoisted_5$1, [
@@ -9301,9 +9318,9 @@ const _hoisted_1$3 = {
9301
9318
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.detailsTitle")), 1)
9302
9319
  ]),
9303
9320
  createBaseVNode("ul", _hoisted_8$1, [
9304
- unref(m) && unref(P) ? (openBlock(), createElementBlock("li", _hoisted_9, [
9321
+ unref(m) && unref(b) ? (openBlock(), createElementBlock("li", _hoisted_9, [
9305
9322
  createBaseVNode("span", null, toDisplayString(unref(i)("general.date")), 1),
9306
- createBaseVNode("b", null, toDisplayString(unref(i)("general.datePeriod", { arrival: unref(showDate)(unref(m), 0, !0), departure: unref(showDate)(unref(P)) })), 1)
9323
+ createBaseVNode("b", null, toDisplayString(unref(i)("general.datePeriod", { arrival: unref(showDate)(unref(m), 0, !0), departure: unref(showDate)(unref(b)) })), 1)
9307
9324
  ])) : unref(f) ? (openBlock(), createElementBlock("li", _hoisted_10, [
9308
9325
  createBaseVNode("span", null, toDisplayString(unref(i)("general.date")), 1),
9309
9326
  createBaseVNode("b", null, toDisplayString(unref(showDate)(unref(f))), 1)
@@ -9687,8 +9704,8 @@ function requireGetSize() {
9687
9704
  s.exports ? s.exports = t() : i.getSize = t();
9688
9705
  })(window, function() {
9689
9706
  function t(v) {
9690
- var m = parseFloat(v), P = v.indexOf("%") == -1 && !isNaN(m);
9691
- return P && m;
9707
+ var m = parseFloat(v), b = v.indexOf("%") == -1 && !isNaN(m);
9708
+ return b && m;
9692
9709
  }
9693
9710
  function e() {
9694
9711
  }
@@ -9717,8 +9734,8 @@ function requireGetSize() {
9717
9734
  outerWidth: 0,
9718
9735
  outerHeight: 0
9719
9736
  }, m = 0; m < l; m++) {
9720
- var P = r[m];
9721
- v[P] = 0;
9737
+ var b = r[m];
9738
+ v[b] = 0;
9722
9739
  }
9723
9740
  return v;
9724
9741
  }
@@ -9734,8 +9751,8 @@ function requireGetSize() {
9734
9751
  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";
9735
9752
  var m = document.body || document.documentElement;
9736
9753
  m.appendChild(v);
9737
- var P = d(v);
9738
- _ = Math.round(t(P.width)) == 200, y.isBoxSizeOuter = _, m.removeChild(v);
9754
+ var b = d(v);
9755
+ _ = Math.round(t(b.width)) == 200, y.isBoxSizeOuter = _, m.removeChild(v);
9739
9756
  }
9740
9757
  }
9741
9758
  function y(v) {
@@ -9743,18 +9760,18 @@ function requireGetSize() {
9743
9760
  var m = d(v);
9744
9761
  if (m.display == "none")
9745
9762
  return u();
9746
- var P = {};
9747
- P.width = v.offsetWidth, P.height = v.offsetHeight;
9748
- for (var b = P.isBorderBox = m.boxSizing == "border-box", p = 0; p < l; p++) {
9763
+ var b = {};
9764
+ b.width = v.offsetWidth, b.height = v.offsetHeight;
9765
+ for (var P = b.isBorderBox = m.boxSizing == "border-box", p = 0; p < l; p++) {
9749
9766
  var E = r[p], T = m[E], O = parseFloat(T);
9750
- P[E] = isNaN(O) ? 0 : O;
9767
+ b[E] = isNaN(O) ? 0 : O;
9751
9768
  }
9752
- 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, w = P.borderTopWidth + P.borderBottomWidth, A = b && _, N = t(m.width);
9753
- N !== !1 && (P.width = N + // add padding and border unless it's already including it
9769
+ 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);
9770
+ N !== !1 && (b.width = N + // add padding and border unless it's already including it
9754
9771
  (A ? 0 : S + R));
9755
9772
  var D = t(m.height);
9756
- return D !== !1 && (P.height = D + // add padding and border unless it's already including it
9757
- (A ? 0 : C + w)), P.innerWidth = P.width - (S + R), P.innerHeight = P.height - (C + w), P.outerWidth = P.width + x, P.outerHeight = P.height + I, P;
9773
+ return D !== !1 && (b.height = D + // add padding and border unless it's already including it
9774
+ (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;
9758
9775
  }
9759
9776
  }
9760
9777
  return y;
@@ -9861,17 +9878,17 @@ function requireUtils() {
9861
9878
  var l = t.console;
9862
9879
  return n.htmlInit = function(u, d) {
9863
9880
  n.docReady(function() {
9864
- 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", P = t.jQuery;
9865
- v.forEach(function(b) {
9866
- var p = b.getAttribute(_) || b.getAttribute(m), E;
9881
+ 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;
9882
+ v.forEach(function(P) {
9883
+ var p = P.getAttribute(_) || P.getAttribute(m), E;
9867
9884
  try {
9868
9885
  E = p && JSON.parse(p);
9869
9886
  } catch (O) {
9870
- l && l.error("Error parsing " + _ + " on " + b.className + ": " + O);
9887
+ l && l.error("Error parsing " + _ + " on " + P.className + ": " + O);
9871
9888
  return;
9872
9889
  }
9873
- var T = new u(b, E);
9874
- P && P.data(b, d, T);
9890
+ var T = new u(P, E);
9891
+ b && b.data(P, d, T);
9875
9892
  });
9876
9893
  });
9877
9894
  }, n;
@@ -9890,8 +9907,8 @@ function requireItem() {
9890
9907
  i.getSize
9891
9908
  ));
9892
9909
  })(window, function(t, e) {
9893
- function n(b) {
9894
- for (var p in b)
9910
+ function n(P) {
9911
+ for (var p in P)
9895
9912
  return !1;
9896
9913
  return p = null, !0;
9897
9914
  }
@@ -9905,8 +9922,8 @@ function requireItem() {
9905
9922
  transitionProperty: l + "Property",
9906
9923
  transitionDelay: l + "Delay"
9907
9924
  };
9908
- function _(b, p) {
9909
- b && (this.element = b, this.layout = p, this.position = {
9925
+ function _(P, p) {
9926
+ P && (this.element = P, this.layout = p, this.position = {
9910
9927
  x: 0,
9911
9928
  y: 0
9912
9929
  }, this._create());
@@ -9920,39 +9937,39 @@ function requireItem() {
9920
9937
  }, this.css({
9921
9938
  position: "absolute"
9922
9939
  });
9923
- }, g.handleEvent = function(b) {
9924
- var p = "on" + b.type;
9925
- this[p] && this[p](b);
9940
+ }, g.handleEvent = function(P) {
9941
+ var p = "on" + P.type;
9942
+ this[p] && this[p](P);
9926
9943
  }, g.getSize = function() {
9927
9944
  this.size = e(this.element);
9928
- }, g.css = function(b) {
9945
+ }, g.css = function(P) {
9929
9946
  var p = this.element.style;
9930
- for (var E in b) {
9947
+ for (var E in P) {
9931
9948
  var T = f[E] || E;
9932
- p[T] = b[E];
9949
+ p[T] = P[E];
9933
9950
  }
9934
9951
  }, g.getPosition = function() {
9935
- var b = getComputedStyle(this.element), p = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = b[p ? "left" : "right"], O = b[E ? "top" : "bottom"], S = parseFloat(T), C = parseFloat(O), x = this.layout.size;
9952
+ 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;
9936
9953
  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;
9937
9954
  }, g.layoutPosition = function() {
9938
- var b = 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 + b[O];
9955
+ 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];
9939
9956
  p[S] = this.getXValue(x), p[C] = "";
9940
- var I = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", w = T ? "bottom" : "top", A = this.position.y + b[I];
9957
+ var I = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", w = T ? "bottom" : "top", A = this.position.y + P[I];
9941
9958
  p[R] = this.getYValue(A), p[w] = "", this.css(p), this.emitEvent("layout", [this]);
9942
- }, g.getXValue = function(b) {
9959
+ }, g.getXValue = function(P) {
9943
9960
  var p = this.layout._getOption("horizontal");
9944
- return this.layout.options.percentPosition && !p ? b / this.layout.size.width * 100 + "%" : b + "px";
9945
- }, g.getYValue = function(b) {
9961
+ return this.layout.options.percentPosition && !p ? P / this.layout.size.width * 100 + "%" : P + "px";
9962
+ }, g.getYValue = function(P) {
9946
9963
  var p = this.layout._getOption("horizontal");
9947
- return this.layout.options.percentPosition && p ? b / this.layout.size.height * 100 + "%" : b + "px";
9948
- }, g._transitionTo = function(b, p) {
9964
+ return this.layout.options.percentPosition && p ? P / this.layout.size.height * 100 + "%" : P + "px";
9965
+ }, g._transitionTo = function(P, p) {
9949
9966
  this.getPosition();
9950
- var E = this.position.x, T = this.position.y, O = b == this.position.x && p == this.position.y;
9951
- if (this.setPosition(b, p), O && !this.isTransitioning) {
9967
+ var E = this.position.x, T = this.position.y, O = P == this.position.x && p == this.position.y;
9968
+ if (this.setPosition(P, p), O && !this.isTransitioning) {
9952
9969
  this.layoutPosition();
9953
9970
  return;
9954
9971
  }
9955
- var S = b - E, C = p - T, x = {};
9972
+ var S = P - E, C = p - T, x = {};
9956
9973
  x.transform = this.getTranslate(S, C), this.transition({
9957
9974
  to: x,
9958
9975
  onTransitionEnd: {
@@ -9960,56 +9977,56 @@ function requireItem() {
9960
9977
  },
9961
9978
  isCleaning: !0
9962
9979
  });
9963
- }, g.getTranslate = function(b, p) {
9980
+ }, g.getTranslate = function(P, p) {
9964
9981
  var E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop");
9965
- return b = E ? b : -b, p = T ? p : -p, "translate3d(" + b + "px, " + p + "px, 0)";
9966
- }, g.goTo = function(b, p) {
9967
- this.setPosition(b, p), this.layoutPosition();
9968
- }, g.moveTo = g._transitionTo, g.setPosition = function(b, p) {
9969
- this.position.x = parseFloat(b), this.position.y = parseFloat(p);
9970
- }, g._nonTransition = function(b) {
9971
- this.css(b.to), b.isCleaning && this._removeStyles(b.to);
9972
- for (var p in b.onTransitionEnd)
9973
- b.onTransitionEnd[p].call(this);
9974
- }, g.transition = function(b) {
9982
+ return P = E ? P : -P, p = T ? p : -p, "translate3d(" + P + "px, " + p + "px, 0)";
9983
+ }, g.goTo = function(P, p) {
9984
+ this.setPosition(P, p), this.layoutPosition();
9985
+ }, g.moveTo = g._transitionTo, g.setPosition = function(P, p) {
9986
+ this.position.x = parseFloat(P), this.position.y = parseFloat(p);
9987
+ }, g._nonTransition = function(P) {
9988
+ this.css(P.to), P.isCleaning && this._removeStyles(P.to);
9989
+ for (var p in P.onTransitionEnd)
9990
+ P.onTransitionEnd[p].call(this);
9991
+ }, g.transition = function(P) {
9975
9992
  if (!parseFloat(this.layout.options.transitionDuration)) {
9976
- this._nonTransition(b);
9993
+ this._nonTransition(P);
9977
9994
  return;
9978
9995
  }
9979
9996
  var p = this._transn;
9980
- for (var E in b.onTransitionEnd)
9981
- p.onEnd[E] = b.onTransitionEnd[E];
9982
- for (E in b.to)
9983
- p.ingProperties[E] = !0, b.isCleaning && (p.clean[E] = !0);
9984
- b.from && (this.css(b.from), this.element.offsetHeight), this.enableTransition(b.to), this.css(b.to), this.isTransitioning = !0;
9997
+ for (var E in P.onTransitionEnd)
9998
+ p.onEnd[E] = P.onTransitionEnd[E];
9999
+ for (E in P.to)
10000
+ p.ingProperties[E] = !0, P.isCleaning && (p.clean[E] = !0);
10001
+ P.from && (this.css(P.from), this.element.offsetHeight), this.enableTransition(P.to), this.css(P.to), this.isTransitioning = !0;
9985
10002
  };
9986
- function y(b) {
9987
- return b.replace(/([A-Z])/g, function(p) {
10003
+ function y(P) {
10004
+ return P.replace(/([A-Z])/g, function(p) {
9988
10005
  return "-" + p.toLowerCase();
9989
10006
  });
9990
10007
  }
9991
10008
  var v = "opacity," + y(u);
9992
10009
  g.enableTransition = function() {
9993
10010
  if (!this.isTransitioning) {
9994
- var b = this.layout.options.transitionDuration;
9995
- b = typeof b == "number" ? b + "ms" : b, this.css({
10011
+ var P = this.layout.options.transitionDuration;
10012
+ P = typeof P == "number" ? P + "ms" : P, this.css({
9996
10013
  transitionProperty: v,
9997
- transitionDuration: b,
10014
+ transitionDuration: P,
9998
10015
  transitionDelay: this.staggerDelay || 0
9999
10016
  }), this.element.addEventListener(d, this, !1);
10000
10017
  }
10001
- }, g.onwebkitTransitionEnd = function(b) {
10002
- this.ontransitionend(b);
10003
- }, g.onotransitionend = function(b) {
10004
- this.ontransitionend(b);
10018
+ }, g.onwebkitTransitionEnd = function(P) {
10019
+ this.ontransitionend(P);
10020
+ }, g.onotransitionend = function(P) {
10021
+ this.ontransitionend(P);
10005
10022
  };
10006
10023
  var m = {
10007
10024
  "-webkit-transform": "transform"
10008
10025
  };
10009
- g.ontransitionend = function(b) {
10010
- if (b.target === this.element) {
10011
- var p = this._transn, E = m[b.propertyName] || b.propertyName;
10012
- if (delete p.ingProperties[E], n(p.ingProperties) && this.disableTransition(), E in p.clean && (this.element.style[b.propertyName] = "", delete p.clean[E]), E in p.onEnd) {
10026
+ g.ontransitionend = function(P) {
10027
+ if (P.target === this.element) {
10028
+ var p = this._transn, E = m[P.propertyName] || P.propertyName;
10029
+ 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) {
10013
10030
  var T = p.onEnd[E];
10014
10031
  T.call(this), delete p.onEnd[E];
10015
10032
  }
@@ -10017,21 +10034,21 @@ function requireItem() {
10017
10034
  }
10018
10035
  }, g.disableTransition = function() {
10019
10036
  this.removeTransitionStyles(), this.element.removeEventListener(d, this, !1), this.isTransitioning = !1;
10020
- }, g._removeStyles = function(b) {
10037
+ }, g._removeStyles = function(P) {
10021
10038
  var p = {};
10022
- for (var E in b)
10039
+ for (var E in P)
10023
10040
  p[E] = "";
10024
10041
  this.css(p);
10025
10042
  };
10026
- var P = {
10043
+ var b = {
10027
10044
  transitionProperty: "",
10028
10045
  transitionDuration: "",
10029
10046
  transitionDelay: ""
10030
10047
  };
10031
10048
  return g.removeTransitionStyles = function() {
10032
- this.css(P);
10033
- }, g.stagger = function(b) {
10034
- b = isNaN(b) ? 0 : b, this.staggerDelay = b + "ms";
10049
+ this.css(b);
10050
+ }, g.stagger = function(P) {
10051
+ P = isNaN(P) ? 0 : P, this.staggerDelay = P + "ms";
10035
10052
  }, g.removeElem = function() {
10036
10053
  this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
10037
10054
  }, g.remove = function() {
@@ -10044,27 +10061,27 @@ function requireItem() {
10044
10061
  }), this.hide();
10045
10062
  }, g.reveal = function() {
10046
10063
  delete this.isHidden, this.css({ display: "" });
10047
- var b = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("visibleStyle");
10064
+ var P = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("visibleStyle");
10048
10065
  p[E] = this.onRevealTransitionEnd, this.transition({
10049
- from: b.hiddenStyle,
10050
- to: b.visibleStyle,
10066
+ from: P.hiddenStyle,
10067
+ to: P.visibleStyle,
10051
10068
  isCleaning: !0,
10052
10069
  onTransitionEnd: p
10053
10070
  });
10054
10071
  }, g.onRevealTransitionEnd = function() {
10055
10072
  this.isHidden || this.emitEvent("reveal");
10056
- }, g.getHideRevealTransitionEndProperty = function(b) {
10057
- var p = this.layout.options[b];
10073
+ }, g.getHideRevealTransitionEndProperty = function(P) {
10074
+ var p = this.layout.options[P];
10058
10075
  if (p.opacity)
10059
10076
  return "opacity";
10060
10077
  for (var E in p)
10061
10078
  return E;
10062
10079
  }, g.hide = function() {
10063
10080
  this.isHidden = !0, this.css({ display: "" });
10064
- var b = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("hiddenStyle");
10081
+ var P = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("hiddenStyle");
10065
10082
  p[E] = this.onHideTransitionEnd, this.transition({
10066
- from: b.visibleStyle,
10067
- to: b.hiddenStyle,
10083
+ from: P.visibleStyle,
10084
+ to: P.hiddenStyle,
10068
10085
  // keep hidden stuff hidden
10069
10086
  isCleaning: !0,
10070
10087
  onTransitionEnd: p
@@ -10215,7 +10232,7 @@ function requireOutlayer() {
10215
10232
  this.stagger = 0;
10216
10233
  return;
10217
10234
  }
10218
- return this.stagger = b(p), this.stagger;
10235
+ return this.stagger = P(p), this.stagger;
10219
10236
  }, v._positionItem = function(p, E, T, O, S) {
10220
10237
  O ? p.goTo(E, T) : (p.stagger(S * this.stagger), p.moveTo(E, T));
10221
10238
  }, v._postLayout = function() {
@@ -10371,18 +10388,18 @@ function requireOutlayer() {
10371
10388
  }
10372
10389
  return E.prototype = Object.create(p.prototype), E.prototype.constructor = E, E;
10373
10390
  }
10374
- var P = {
10391
+ var b = {
10375
10392
  ms: 1,
10376
10393
  s: 1e3
10377
10394
  };
10378
- function b(p) {
10395
+ function P(p) {
10379
10396
  if (typeof p == "number")
10380
10397
  return p;
10381
10398
  var E = p.match(/(^\d*\.?\d*)(\w*)/), T = E && E[1], O = E && E[2];
10382
10399
  if (!T.length)
10383
10400
  return 0;
10384
10401
  T = parseFloat(T);
10385
- var S = P[O] || 1;
10402
+ var S = b[O] || 1;
10386
10403
  return T * S;
10387
10404
  }
10388
10405
  return y.Item = l, y;
@@ -10434,8 +10451,8 @@ function requireMasonry() {
10434
10451
  for (var _ = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[_](f, l), y = {
10435
10452
  x: this.columnWidth * g.col,
10436
10453
  y: g.y
10437
- }, v = g.y + l.size.outerHeight, m = f + g.col, P = g.col; P < m; P++)
10438
- this.colYs[P] = v;
10454
+ }, v = g.y + l.size.outerHeight, m = f + g.col, b = g.col; b < m; b++)
10455
+ this.colYs[b] = v;
10439
10456
  return y;
10440
10457
  }, r._getTopColPosition = function(l) {
10441
10458
  var u = this._getTopColGroup(l), d = Math.min.apply(Math, u);
@@ -10467,8 +10484,8 @@ function requireMasonry() {
10467
10484
  y = Math.max(0, y);
10468
10485
  var v = Math.floor(g / this.columnWidth);
10469
10486
  v -= g % this.columnWidth ? 0 : 1, v = Math.min(this.cols - 1, v);
10470
- for (var m = this._getOption("originTop"), P = (m ? d.top : d.bottom) + u.outerHeight, b = y; b <= v; b++)
10471
- this.colYs[b] = Math.max(P, this.colYs[b]);
10487
+ for (var m = this._getOption("originTop"), b = (m ? d.top : d.bottom) + u.outerHeight, P = y; P <= v; P++)
10488
+ this.colYs[P] = Math.max(b, this.colYs[P]);
10472
10489
  }, r._getContainerSize = function() {
10473
10490
  this.maxY = Math.max.apply(Math, this.colYs);
10474
10491
  var l = {
@@ -10511,8 +10528,8 @@ function requireImagesloaded() {
10511
10528
  function(t, e) {
10512
10529
  var n = t.jQuery, r = t.console;
10513
10530
  function l(v, m) {
10514
- for (var P in m)
10515
- v[P] = m[P];
10531
+ for (var b in m)
10532
+ v[b] = m[b];
10516
10533
  return v;
10517
10534
  }
10518
10535
  var u = Array.prototype.slice;
@@ -10522,15 +10539,15 @@ function requireImagesloaded() {
10522
10539
  var m = typeof v == "object" && typeof v.length == "number";
10523
10540
  return m ? u.call(v) : [v];
10524
10541
  }
10525
- function f(v, m, P) {
10542
+ function f(v, m, b) {
10526
10543
  if (!(this instanceof f))
10527
- return new f(v, m, P);
10528
- var b = v;
10529
- if (typeof v == "string" && (b = document.querySelectorAll(v)), !b) {
10530
- r.error("Bad element for imagesLoaded " + (b || v));
10544
+ return new f(v, m, b);
10545
+ var P = v;
10546
+ if (typeof v == "string" && (P = document.querySelectorAll(v)), !P) {
10547
+ r.error("Bad element for imagesLoaded " + (P || v));
10531
10548
  return;
10532
10549
  }
10533
- this.elements = d(b), 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));
10550
+ 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));
10534
10551
  }
10535
10552
  f.prototype = Object.create(e.prototype), f.prototype.options = {}, f.prototype.getImages = function() {
10536
10553
  this.images = [], this.elements.forEach(this.addElementImages, this);
@@ -10538,14 +10555,14 @@ function requireImagesloaded() {
10538
10555
  v.nodeName == "IMG" && this.addImage(v), this.options.background === !0 && this.addElementBackgroundImages(v);
10539
10556
  var m = v.nodeType;
10540
10557
  if (!(!m || !_[m])) {
10541
- for (var P = v.querySelectorAll("img"), b = 0; b < P.length; b++) {
10542
- var p = P[b];
10558
+ for (var b = v.querySelectorAll("img"), P = 0; P < b.length; P++) {
10559
+ var p = b[P];
10543
10560
  this.addImage(p);
10544
10561
  }
10545
10562
  if (typeof this.options.background == "string") {
10546
10563
  var E = v.querySelectorAll(this.options.background);
10547
- for (b = 0; b < E.length; b++) {
10548
- var T = E[b];
10564
+ for (P = 0; P < E.length; P++) {
10565
+ var T = E[P];
10549
10566
  this.addElementBackgroundImages(T);
10550
10567
  }
10551
10568
  }
@@ -10559,32 +10576,32 @@ function requireImagesloaded() {
10559
10576
  f.prototype.addElementBackgroundImages = function(v) {
10560
10577
  var m = getComputedStyle(v);
10561
10578
  if (m)
10562
- for (var P = /url\((['"])?(.*?)\1\)/gi, b = P.exec(m.backgroundImage); b !== null; ) {
10563
- var p = b && b[2];
10564
- p && this.addBackground(p, v), b = P.exec(m.backgroundImage);
10579
+ for (var b = /url\((['"])?(.*?)\1\)/gi, P = b.exec(m.backgroundImage); P !== null; ) {
10580
+ var p = P && P[2];
10581
+ p && this.addBackground(p, v), P = b.exec(m.backgroundImage);
10565
10582
  }
10566
10583
  }, f.prototype.addImage = function(v) {
10567
10584
  var m = new g(v);
10568
10585
  this.images.push(m);
10569
10586
  }, f.prototype.addBackground = function(v, m) {
10570
- var P = new y(v, m);
10571
- this.images.push(P);
10587
+ var b = new y(v, m);
10588
+ this.images.push(b);
10572
10589
  }, f.prototype.check = function() {
10573
10590
  var v = this;
10574
10591
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
10575
10592
  this.complete();
10576
10593
  return;
10577
10594
  }
10578
- function m(P, b, p) {
10595
+ function m(b, P, p) {
10579
10596
  setTimeout(function() {
10580
- v.progress(P, b, p);
10597
+ v.progress(b, P, p);
10581
10598
  });
10582
10599
  }
10583
- this.images.forEach(function(P) {
10584
- P.once("progress", m), P.check();
10600
+ this.images.forEach(function(b) {
10601
+ b.once("progress", m), b.check();
10585
10602
  });
10586
- }, f.prototype.progress = function(v, m, P) {
10587
- 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);
10603
+ }, f.prototype.progress = function(v, m, b) {
10604
+ 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);
10588
10605
  }, f.prototype.complete = function() {
10589
10606
  var v = this.hasAnyBroken ? "fail" : "done";
10590
10607
  if (this.isComplete = !0, this.emitEvent(v, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
@@ -10628,9 +10645,9 @@ function requireImagesloaded() {
10628
10645
  }, y.prototype.confirm = function(v, m) {
10629
10646
  this.isLoaded = v, this.emitEvent("progress", [this, this.element, m]);
10630
10647
  }, f.makeJQueryPlugin = function(v) {
10631
- v = v || t.jQuery, v && (n = v, n.fn.imagesLoaded = function(m, P) {
10632
- var b = new f(this, m, P);
10633
- return b.jqDeferred.promise(n(this));
10648
+ v = v || t.jQuery, v && (n = v, n.fn.imagesLoaded = function(m, b) {
10649
+ var P = new f(this, m, b);
10650
+ return P.jqDeferred.promise(n(this));
10634
10651
  });
10635
10652
  }, f.makeJQueryPlugin(), f;
10636
10653
  }
@@ -10662,7 +10679,7 @@ const ImageLoaded = /* @__PURE__ */ getDefaultExportFromCjs(imagesloadedExports)
10662
10679
  }), i;
10663
10680
  }, VueMasonryPlugin = {};
10664
10681
  VueMasonryPlugin.install = function(s, i) {
10665
- const t = mitt(), e = "VueMasonry", n = s;
10682
+ const t = _mitt(), e = "VueMasonry", n = s;
10666
10683
  n.directive("masonry", {
10667
10684
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
10668
10685
  mounted: function(r, l) {
@@ -10678,10 +10695,10 @@ VueMasonryPlugin.install = function(s, i) {
10678
10695
  g();
10679
10696
  }, v = function(m) {
10680
10697
  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);
10681
- const P = _ && !Number.isNaN(_) ? _ : 0;
10698
+ const b = _ && !Number.isNaN(_) ? _ : 0;
10682
10699
  setTimeout(function() {
10683
10700
  d.destroy();
10684
- }, P);
10701
+ }, b);
10685
10702
  };
10686
10703
  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);
10687
10704
  },
@@ -10728,4 +10745,4 @@ export {
10728
10745
  StickyPlugin as a,
10729
10746
  ListingSkeleton as b
10730
10747
  };
10731
- //# sourceMappingURL=masonry.plugin-DEok8Hbz.js.map
10748
+ //# sourceMappingURL=masonry.plugin-p-oq4FQ9.js.map