ire-preview 3.2.51 → 3.2.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { toRaw, computed as computed$1, isRef, isReactive, toRef, hasInjectionContext, inject, effectScope, ref, markRaw, reactive, getCurrentScope, onScopeDispose, watch, nextTick, toRefs, defineComponent, onMounted, onUnmounted, createElementBlock, openBlock, normalizeStyle, unref, renderSlot, createVNode, Transition, withCtx, createCommentVNode, createElementVNode, toDisplayString, Fragment, createTextVNode, createStaticVNode, normalizeClass, createBlock, mergeModels, useModel, withDirectives, renderList, vModelSelect, useSlots, onUpdated, provide, onBeforeUnmount, h as h$1, onBeforeUpdate, vShow, vModelDynamic, withModifiers, vModelText, Teleport, pushScopeId, popScopeId, withScopeId, resolveComponent, resolveDynamicComponent, onBeforeMount } from "vue";
1
+ import { toRaw, computed as computed$1, isRef, isReactive, toRef, hasInjectionContext, inject, effectScope, ref, markRaw, reactive, getCurrentScope, onScopeDispose, watch, nextTick, toRefs, defineComponent, onMounted, onUnmounted, createElementBlock, openBlock, normalizeStyle, unref, renderSlot, createVNode, Transition, withCtx, createCommentVNode, createElementVNode, toDisplayString, Fragment, createTextVNode, createStaticVNode, normalizeClass, createBlock, mergeModels, useModel, withDirectives, renderList, vModelSelect, useSlots, onUpdated, provide, onBeforeUnmount, h as h$1, onBeforeUpdate, vShow, vModelDynamic, withModifiers, vModelText, Teleport, pushScopeId, popScopeId, withScopeId, resolveComponent, resolveDynamicComponent, createSlots, onBeforeMount } from "vue";
2
2
  import { s as setInnerHTML, d as defaults, S as Swiper$1, e as elementChildren, c as createElement, m as makeElementsArray, a as axios } from "./vendor-CuysB-0b.js";
3
3
  /*!
4
4
  * pinia v3.0.4
@@ -95,26 +95,26 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
95
95
  !Ve && !He && ($e.state.value[Be] = {}), ref({});
96
96
  let We;
97
97
  function qe(Ke) {
98
- let Xe;
99
- Ie = Re = !1, typeof Ke == "function" ? (Ke($e.state.value[Be]), Xe = {
98
+ let Ye;
99
+ Ie = Re = !1, typeof Ke == "function" ? (Ke($e.state.value[Be]), Ye = {
100
100
  type: MutationType.patchFunction,
101
101
  storeId: Be,
102
102
  events: Fe
103
- }) : (mergeReactiveObjects($e.state.value[Be], Ke), Xe = {
103
+ }) : (mergeReactiveObjects($e.state.value[Be], Ke), Ye = {
104
104
  type: MutationType.patchObject,
105
105
  payload: Ke,
106
106
  storeId: Be,
107
107
  events: Fe
108
108
  });
109
- const Ye = We = Symbol();
109
+ const Xe = We = Symbol();
110
110
  nextTick().then(() => {
111
- We === Ye && (Ie = !0);
112
- }), Re = !0, triggerSubscriptions(ze, Xe, $e.state.value[Be]);
111
+ We === Xe && (Ie = !0);
112
+ }), Re = !0, triggerSubscriptions(ze, Ye, $e.state.value[Be]);
113
113
  }
114
114
  const Ue = Ve ? function() {
115
- const { state: Xe } = ke, Ye = Xe ? Xe() : {};
115
+ const { state: Ye } = ke, Xe = Ye ? Ye() : {};
116
116
  this.$patch((ei) => {
117
- assign(ei, Ye);
117
+ assign(ei, Xe);
118
118
  });
119
119
  } : (
120
120
  /* istanbul ignore next */
@@ -123,10 +123,10 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
123
123
  function Ge() {
124
124
  De.stop(), ze.clear(), je.clear(), $e._s.delete(Be);
125
125
  }
126
- const Je = (Ke, Xe = "") => {
126
+ const Je = (Ke, Ye = "") => {
127
127
  if (ACTION_MARKER in Ke)
128
- return Ke[ACTION_NAME] = Xe, Ke;
129
- const Ye = function() {
128
+ return Ke[ACTION_NAME] = Ye, Ke;
129
+ const Xe = function() {
130
130
  setActivePinia($e);
131
131
  const ei = Array.from(arguments), ti = /* @__PURE__ */ new Set(), ni = /* @__PURE__ */ new Set();
132
132
  function ri(li) {
@@ -137,7 +137,7 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
137
137
  }
138
138
  triggerSubscriptions(je, {
139
139
  args: ei,
140
- name: Ye[ACTION_NAME],
140
+ name: Xe[ACTION_NAME],
141
141
  store: Qe,
142
142
  after: ri,
143
143
  onError: ai
@@ -150,7 +150,7 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
150
150
  }
151
151
  return si instanceof Promise ? si.then((li) => (triggerSubscriptions(ti, li), li)).catch((li) => (triggerSubscriptions(ni, li), Promise.reject(li))) : (triggerSubscriptions(ti, si), si);
152
152
  };
153
- return Ye[ACTION_MARKER] = !0, Ye[ACTION_NAME] = Xe, Ye;
153
+ return Xe[ACTION_MARKER] = !0, Xe[ACTION_NAME] = Ye, Xe;
154
154
  }, Ze = {
155
155
  _p: $e,
156
156
  // _s: scope,
@@ -158,34 +158,34 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
158
158
  $onAction: addSubscription.bind(null, je),
159
159
  $patch: qe,
160
160
  $reset: Ue,
161
- $subscribe(Ke, Xe = {}) {
162
- const Ye = addSubscription(ze, Ke, Xe.detached, () => ei()), ei = De.run(() => watch(() => $e.state.value[Be], (ti) => {
163
- (Xe.flush === "sync" ? Re : Ie) && Ke({
161
+ $subscribe(Ke, Ye = {}) {
162
+ const Xe = addSubscription(ze, Ke, Ye.detached, () => ei()), ei = De.run(() => watch(() => $e.state.value[Be], (ti) => {
163
+ (Ye.flush === "sync" ? Re : Ie) && Ke({
164
164
  storeId: Be,
165
165
  type: MutationType.direct,
166
166
  events: Fe
167
167
  }, ti);
168
- }, assign({}, Ae, Xe)));
169
- return Ye;
168
+ }, assign({}, Ae, Ye)));
169
+ return Xe;
170
170
  },
171
171
  $dispose: Ge
172
172
  }, Qe = reactive(Ze);
173
173
  $e._s.set(Be, Qe);
174
174
  const ii = ($e._a && $e._a.runWithContext || fallbackRunWithContext)(() => $e._e.run(() => (De = effectScope()).run(() => _e({ action: Je }))));
175
175
  for (const Ke in ii) {
176
- const Xe = ii[Ke];
177
- if (isRef(Xe) && !isComputed(Xe) || isReactive(Xe))
178
- Ve || (He && shouldHydrate(Xe) && (isRef(Xe) ? Xe.value = He[Ke] : mergeReactiveObjects(Xe, He[Ke])), $e.state.value[Be][Ke] = Xe);
179
- else if (typeof Xe == "function") {
180
- const Ye = Je(Xe, Ke);
181
- ii[Ke] = Ye, Le.actions[Ke] = Xe;
176
+ const Ye = ii[Ke];
177
+ if (isRef(Ye) && !isComputed(Ye) || isReactive(Ye))
178
+ Ve || (He && shouldHydrate(Ye) && (isRef(Ye) ? Ye.value = He[Ke] : mergeReactiveObjects(Ye, He[Ke])), $e.state.value[Be][Ke] = Ye);
179
+ else if (typeof Ye == "function") {
180
+ const Xe = Je(Ye, Ke);
181
+ ii[Ke] = Xe, Le.actions[Ke] = Ye;
182
182
  }
183
183
  }
184
184
  return assign(Qe, ii), assign(toRaw(Qe), ii), Object.defineProperty(Qe, "$state", {
185
185
  get: () => $e.state.value[Be],
186
186
  set: (Ke) => {
187
- qe((Xe) => {
188
- assign(Xe, Ke);
187
+ qe((Ye) => {
188
+ assign(Ye, Ke);
189
189
  });
190
190
  }
191
191
  }), $e._p.forEach((Ke) => {
@@ -226,11 +226,11 @@ function storeToRefs(Be) {
226
226
  }
227
227
  return ke;
228
228
  }
229
- const useGlobalStore$1 = /* @__PURE__ */ defineStore("global", () => {
229
+ const useGlobalStore = /* @__PURE__ */ defineStore("global", () => {
230
230
  var qe, Ue, Ge, Je, Ze, Qe, oi, ii;
231
231
  const Be = ref(), _e = ref("1"), ke = ref(), $e = ref(), Ne = (Ke) => {
232
- var Xe, Ye, ei;
233
- return ((ei = (Ye = (Xe = ke.value) == null ? void 0 : Xe.meta) == null ? void 0 : Ye.find((ti) => (ti == null ? void 0 : ti.meta_key) === Ke)) == null ? void 0 : ei.meta_value) || null;
232
+ var Ye, Xe, ei;
233
+ return ((ei = (Xe = (Ye = ke.value) == null ? void 0 : Ye.meta) == null ? void 0 : Xe.find((ti) => (ti == null ? void 0 : ti.meta_key) === Ke)) == null ? void 0 : ei.meta_value) || null;
234
234
  }, Ve = ref({
235
235
  PREVIEW_PATH_COLOR: Ne("path_color") || "rgba(255, 255, 255, 0.3)",
236
236
  PREVIEW_PATH_HOVER_COLOR: Ne("path_hover_color") || "rgba(250, 250, 250, 0.54)",
@@ -250,11 +250,11 @@ const useGlobalStore$1 = /* @__PURE__ */ defineStore("global", () => {
250
250
  stroke_width: (oi = Ve.value) == null ? void 0 : oi.PREVIEW_STROKE_WIDTH,
251
251
  border_radius: (ii = Ve.value) == null ? void 0 : ii.PREVIEW_BORDER_RADIUS
252
252
  }), Le = computed$1(() => {
253
- var Ke, Xe;
254
- return (Xe = (Ke = ke.value) == null ? void 0 : Ke.flats) == null ? void 0 : Xe.map((Ye) => {
253
+ var Ke, Ye;
254
+ return (Ye = (Ke = ke.value) == null ? void 0 : Ke.flats) == null ? void 0 : Ye.map((Xe) => {
255
255
  var ti, ni;
256
- const ei = Ye != null && Ye.use_type || !(Ye != null && Ye.type) ? ((ni = (ti = ke.value) == null ? void 0 : ti.types) == null ? void 0 : ni.find((ri) => ri.id === (Ye == null ? void 0 : Ye.type_id))) ?? (Ye == null ? void 0 : Ye.type) : Ye == null ? void 0 : Ye.type;
257
- return { ...Ye, type: ei };
256
+ const ei = Xe != null && Xe.use_type || !(Xe != null && Xe.type) ? ((ni = (ti = ke.value) == null ? void 0 : ti.types) == null ? void 0 : ni.find((ri) => ri.id === (Xe == null ? void 0 : Xe.type_id))) ?? (Xe == null ? void 0 : Xe.type) : Xe == null ? void 0 : Xe.type;
257
+ return { ...Xe, type: ei };
258
258
  });
259
259
  }), Ae = computed$1(() => Ne("open_reserved_flat") === "true"), Ie = computed$1(() => Ne("open_sold_flat") === "true"), Re = computed$1(() => Ne("price_rounded") === "true"), ze = computed$1(() => {
260
260
  var Ke;
@@ -277,10 +277,10 @@ const useGlobalStore$1 = /* @__PURE__ */ defineStore("global", () => {
277
277
  return [];
278
278
  }
279
279
  })() : []).map(
280
- (Ye) => `.path-color g[conf="${String(Ye.value ?? "").replace(/\\/g, "\\\\").replace(
280
+ (Xe) => `.path-color g[conf="${String(Xe.value ?? "").replace(/\\/g, "\\\\").replace(
281
281
  /"/g,
282
282
  '\\"'
283
- )}"] path { fill: ${(Ye == null ? void 0 : Ye.type_color) || "var(--path-color)"}; }`
283
+ )}"] path { fill: ${(Xe == null ? void 0 : Xe.type_color) || "var(--path-color)"}; }`
284
284
  ).join(`
285
285
  `);
286
286
  }), He = (Ke) => {
@@ -294,8 +294,8 @@ const useGlobalStore$1 = /* @__PURE__ */ defineStore("global", () => {
294
294
  return (Ke = ke.value) == null ? void 0 : Ke.meta;
295
295
  },
296
296
  () => {
297
- const Ke = Ne("path_color"), Xe = Ne("path_hover_color"), Ye = Ne("reserved_color"), ei = Ne("sold_color"), ti = Ne("stroke_color"), ni = Ne("primary_color"), ri = Ne("stroke_width"), ai = Ne("border_radius");
298
- Ke && (De.path = Ke.toString()), Xe && (De.path_hover = Xe.toString()), Ye && (De.reserved = Ye.toString()), ei && (De.sold = ei.toString()), ti && (De.stroke_color = ti.toString()), ti && (De.stroke_color = ti.toString()), ni && (De.primary_color = ni.toString()), De.stroke_width = Number(ri) || 1, De.border_radius = Number(ai) || 0;
297
+ const Ke = Ne("path_color"), Ye = Ne("path_hover_color"), Xe = Ne("reserved_color"), ei = Ne("sold_color"), ti = Ne("stroke_color"), ni = Ne("primary_color"), ri = Ne("stroke_width"), ai = Ne("border_radius");
298
+ Ke && (De.path = Ke.toString()), Ye && (De.path_hover = Ye.toString()), Xe && (De.reserved = Xe.toString()), ei && (De.sold = ei.toString()), ti && (De.stroke_color = ti.toString()), ti && (De.stroke_color = ti.toString()), ni && (De.primary_color = ni.toString()), De.stroke_width = Number(ri) || 1, De.border_radius = Number(ai) || 0;
299
299
  },
300
300
  { deep: !0 }
301
301
  ), {
@@ -320,7 +320,7 @@ const useGlobalStore$1 = /* @__PURE__ */ defineStore("global", () => {
320
320
  }), _sfc_main$L = /* @__PURE__ */ defineComponent({
321
321
  __name: "ShortcodeWrapper",
322
322
  setup(Be) {
323
- const _e = useGlobalStore$1(), { cssVariables: ke, customTypesPathCss: $e } = storeToRefs(_e), Ne = ref(null), Ve = document.createElement("style");
323
+ const _e = useGlobalStore(), { cssVariables: ke, customTypesPathCss: $e } = storeToRefs(_e), Ne = ref(null), Ve = document.createElement("style");
324
324
  return watch(
325
325
  $e,
326
326
  (De) => {
@@ -512,7 +512,7 @@ function computed(Be, _e, ke = !1) {
512
512
  }
513
513
  const tr = (Be) => {
514
514
  var ke;
515
- const _e = useGlobalStore$1();
515
+ const _e = useGlobalStore();
516
516
  return _e.translations && ((ke = _e.translations) == null ? void 0 : ke[Be == null ? void 0 : Be.toLocaleLowerCase()]) || Be;
517
517
  }, currencySymbol = () => {
518
518
  var $e, Ne, Ve, De;
@@ -583,31 +583,31 @@ const tr = (Be) => {
583
583
  // Oman
584
584
  { title: "🇬🇪 GEL", value: "gel", symbol: "₾" }
585
585
  // Georgia
586
- ], ke = ((Ve = (Ne = ($e = useGlobalStore$1().shortcodeData) == null ? void 0 : $e.meta) == null ? void 0 : Ne.find((Le) => Le.meta_key === "currency")) == null ? void 0 : Ve.meta_value.toString()) || "usd";
586
+ ], ke = ((Ve = (Ne = ($e = useGlobalStore().shortcodeData) == null ? void 0 : $e.meta) == null ? void 0 : Ne.find((Le) => Le.meta_key === "currency")) == null ? void 0 : Ve.meta_value.toString()) || "usd";
587
587
  return ((De = Be == null ? void 0 : Be.find((Le) => Le.value === ke)) == null ? void 0 : De.symbol) || "$";
588
588
  }, getPrice = (Be) => {
589
- const _e = useGlobalStore$1(), ke = _e.priceRounded ? 0 : 2;
590
- let $e = Number(Be).toLocaleString("en-US", {
591
- minimumFractionDigits: ke,
592
- maximumFractionDigits: ke
593
- });
594
- return _e.getMetaValue("currency") === "chf" && ($e = $e.replaceAll(",", "'")), $e;
589
+ const _e = useGlobalStore(), { getMetaValue: ke, priceRounded: $e } = _e, Ne = ke("separator") === "comma", Ve = $e ? 0 : 2, De = {
590
+ minimumFractionDigits: Ve,
591
+ maximumFractionDigits: Ve
592
+ };
593
+ let Le = Ne ? Number(Be).toLocaleString("de-DE", De) : Number(Be).toLocaleString("en-US", De);
594
+ return _e.getMetaValue("currency") === "chf" && (Le = Le.replaceAll(",", "'")), Le;
595
595
  }, getArea = (Be) => {
596
- const _e = useGlobalStore$1(), { getMetaValue: ke } = _e;
596
+ const _e = useGlobalStore(), { getMetaValue: ke } = _e;
597
597
  return ke("separator") === "comma" ? Number(Be).toLocaleString("de-DE") : Number(Be).toLocaleString();
598
598
  }, getRoomCount = (Be) => {
599
- const _e = useGlobalStore$1(), { getMetaValue: ke } = _e;
599
+ const _e = useGlobalStore(), { getMetaValue: ke } = _e;
600
600
  return ke("separator") === "comma" ? Number(Be).toLocaleString("de-DE") : Number(Be).toLocaleString();
601
- }, getAreaUnitLabel = () => useGlobalStore$1().getMetaValue("area_unit") ?? "m", getBlockById = (Be) => {
601
+ }, getAreaUnitLabel = () => useGlobalStore().getMetaValue("area_unit") ?? "m", getBlockById = (Be) => {
602
602
  var ke, $e;
603
- const _e = useGlobalStore$1();
603
+ const _e = useGlobalStore();
604
604
  if (Be)
605
605
  return ($e = (ke = _e.shortcodeData) == null ? void 0 : ke.blocks) == null ? void 0 : $e.find(
606
606
  (Ne) => Ne.id === (Be == null ? void 0 : Be.toString())
607
607
  );
608
608
  }, getFloorById = (Be) => {
609
609
  var ke, $e;
610
- const _e = useGlobalStore$1();
610
+ const _e = useGlobalStore();
611
611
  if (Be)
612
612
  return ($e = (ke = _e.shortcodeData) == null ? void 0 : ke.floors) == null ? void 0 : $e.find(
613
613
  (Ne) => Ne.id === (Be == null ? void 0 : Be.toString())
@@ -630,18 +630,21 @@ const tr = (Be) => {
630
630
  var ke;
631
631
  return (ke = _e == null ? void 0 : _e.split(".")) == null ? void 0 : ke.reduce(($e, Ne) => $e ? $e[Ne] : void 0, Be);
632
632
  }, getConfValue = (Be) => {
633
- const ke = useGlobalStore$1().getMetaValue("custom_types"), $e = ke == null ? void 0 : ke.find((Ne) => Ne.title === Be);
633
+ const ke = useGlobalStore().getMetaValue("custom_types"), $e = ke == null ? void 0 : ke.find((Ne) => Ne.title === Be);
634
634
  return $e ? $e.value : Be;
635
+ }, getBadgeStyle = (Be) => Be === "reserved" ? "warning" : Be === "sold" ? "danger" : null, getCustomTypeColor = (Be) => {
636
+ const ke = useGlobalStore().getMetaValue("custom_types"), $e = ke == null ? void 0 : ke.find((Ne) => Ne.title === Be);
637
+ return ($e == null ? void 0 : $e.type_color) || null;
635
638
  }, _hoisted_1$G = {
636
639
  key: 0,
637
640
  class: "irep-tooltip-1 ire-pointer-events-none ire-absolute !ire-bottom-10 !ire-right-10 ire-w-fit ire-select-none ire-rounded-lg ire-border ire-bg-white ire-p-4 ire-text-black"
638
641
  }, _hoisted_2$n = {
639
642
  key: 0,
640
643
  class: "irep-tooltip-1__floor ire-flex ire-items-center ire-gap-3"
641
- }, _hoisted_3$k = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_4$f = { class: "irep-tooltip-1__floor-number !ire-text-2xl" }, _hoisted_5$b = { class: "irep-tooltip-1__floor-text !ire-text-sm ire-uppercase" }, _hoisted_6$9 = {
644
+ }, _hoisted_3$k = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_4$f = { class: "irep-tooltip-1__floor-number !ire-text-2xl" }, _hoisted_5$c = { class: "irep-tooltip-1__floor-text !ire-text-sm ire-uppercase" }, _hoisted_6$a = {
642
645
  key: 0,
643
646
  class: "ire-rounded-lg ire-bg-gray-100 ire-p-6"
644
- }, _hoisted_7$7 = {
647
+ }, _hoisted_7$8 = {
645
648
  key: 0,
646
649
  class: "irep-tooltip-1__floor-conf !ire-text-2xl"
647
650
  }, _hoisted_8$5 = { key: 1 }, _hoisted_9$4 = {
@@ -653,7 +656,7 @@ const tr = (Be) => {
653
656
  }, _hoisted_13$3 = { class: "irep-tooltip-1__floor-status-value min-w-3 !ire-text-2xl" }, _hoisted_14$2 = { class: "irep-tooltip-1__floor-status-text !ire-text-sm ire-uppercase" }, _hoisted_15$2 = {
654
657
  key: 2,
655
658
  class: "irep-tooltip-1__floor-status ire-flex ire-items-center ire-gap-2"
656
- }, _hoisted_16$2 = { class: "irep-tooltip-1__floor-status-value ire-min-w-3 !ire-text-2xl" }, _hoisted_17$1 = { class: "irep-tooltip-1__floor-status-text !ire-text-sm ire-uppercase" }, _hoisted_18$1 = {
659
+ }, _hoisted_16$2 = { class: "irep-tooltip-1__floor-status-value ire-min-w-3 !ire-text-2xl" }, _hoisted_17$2 = { class: "irep-tooltip-1__floor-status-text !ire-text-sm ire-uppercase" }, _hoisted_18$1 = {
657
660
  key: 1,
658
661
  class: "irep-tooltip-1__block ire-flex ire-items-center ire-gap-3"
659
662
  }, _hoisted_19$1 = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_20$1 = { class: "irep-tooltip-1__block-conf text-sm ire-text-gray-700" }, _hoisted_21$1 = { class: "irep-tooltip-1__block-title !text-2xl" }, _hoisted_22$1 = {
@@ -668,7 +671,10 @@ const tr = (Be) => {
668
671
  }, _hoisted_31$1 = {
669
672
  key: 0,
670
673
  class: "irep-tooltip-1__flat-price-value ire-whitespace-nowrap !ire-text-2xl"
671
- }, _hoisted_32$1 = { key: 1 }, _hoisted_33$1 = { class: "irep-tooltip-1__flat-price-line-value ire-min-w-max !ire-text-sm ire-line-through ire-decoration-black/50" }, _hoisted_34$1 = { class: "irep-tooltip-1__flat-price-value ire-min-w-max ire-whitespace-nowrap !ire-text-2xl" }, _hoisted_35$1 = { class: "ire-border ire-border-solid ire-border-gray-800 ire-p-2" }, _hoisted_36$1 = { class: "irep-tooltip-1__flat-area ire-translate-x-3 ire-bg-white" }, _sfc_main$K = /* @__PURE__ */ defineComponent({
674
+ }, _hoisted_32$1 = {
675
+ key: 1,
676
+ class: "ire-uppercase"
677
+ }, _hoisted_33$1 = { key: 1 }, _hoisted_34$1 = { class: "irep-tooltip-1__flat-price-line-value ire-min-w-max !ire-text-sm ire-line-through ire-decoration-black/50" }, _hoisted_35$1 = { class: "irep-tooltip-1__flat-price-value ire-min-w-max ire-whitespace-nowrap !ire-text-2xl" }, _hoisted_36$1 = { class: "ire-border ire-border-solid ire-border-gray-800 ire-p-2" }, _hoisted_37$1 = { class: "irep-tooltip-1__flat-area ire-translate-x-3 ire-bg-white" }, _sfc_main$K = /* @__PURE__ */ defineComponent({
672
678
  __name: "Tooltip_1",
673
679
  props: {
674
680
  hoveredData: {},
@@ -682,16 +688,16 @@ const tr = (Be) => {
682
688
  return ($e, Ne) => (openBlock(), createElementBlock("div", null, [
683
689
  createVNode(Transition, { name: "ire-fade-in-out" }, {
684
690
  default: withCtx(() => {
685
- var Ve, De, Le, Ae, Ie, Re, ze, je, Fe, He, We, qe, Ue, Ge, Je, Ze, Qe, oi, ii, Ke, Xe, Ye, ei, ti, ni;
691
+ var Ve, De, Le, Ae, Ie, Re, ze, je, Fe, He, We, qe, Ue, Ge, Je, Ze, Qe, oi, ii, Ke, Ye, Xe, ei, ti, ni, ri;
686
692
  return [
687
693
  Be.type && Be.hoveredData && Be.type !== "tooltip" ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
688
694
  Be.type === "floor" ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
689
695
  createElementVNode("div", _hoisted_3$k, [
690
696
  createElementVNode("div", _hoisted_4$f, toDisplayString((Ve = Be.hoveredData) == null ? void 0 : Ve.floor_number), 1),
691
- createElementVNode("div", _hoisted_5$b, toDisplayString(unref(tr)("floor")), 1)
697
+ createElementVNode("div", _hoisted_5$c, toDisplayString(unref(tr)("floor")), 1)
692
698
  ]),
693
- (De = Be.hoveredData) != null && De.conf || (Ae = (Le = Be.hoveredData) == null ? void 0 : Le.flats) != null && Ae.length ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
694
- ke.value ? (openBlock(), createElementBlock("div", _hoisted_7$7, toDisplayString(ke.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_8$5, [
699
+ (De = Be.hoveredData) != null && De.conf || (Ae = (Le = Be.hoveredData) == null ? void 0 : Le.flats) != null && Ae.length ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
700
+ ke.value ? (openBlock(), createElementBlock("div", _hoisted_7$8, toDisplayString(ke.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_8$5, [
695
701
  (Re = (Ie = Be.hoveredData) == null ? void 0 : Ie.counts) != null && Re.available ? (openBlock(), createElementBlock("div", _hoisted_9$4, [
696
702
  createElementVNode("div", _hoisted_10$4, toDisplayString(((je = (ze = Be.hoveredData) == null ? void 0 : ze.counts) == null ? void 0 : je.available) || 0), 1),
697
703
  createElementVNode("div", _hoisted_11$4, toDisplayString(unref(tr)("available")), 1)
@@ -702,7 +708,7 @@ const tr = (Be) => {
702
708
  ])) : createCommentVNode("", !0),
703
709
  (Ge = (Ue = Be.hoveredData) == null ? void 0 : Ue.counts) != null && Ge.sold ? (openBlock(), createElementBlock("div", _hoisted_15$2, [
704
710
  createElementVNode("div", _hoisted_16$2, toDisplayString((Ze = (Je = Be.hoveredData) == null ? void 0 : Je.counts) == null ? void 0 : Ze.sold), 1),
705
- createElementVNode("div", _hoisted_17$1, toDisplayString(unref(tr)("sold")), 1)
711
+ createElementVNode("div", _hoisted_17$2, toDisplayString(unref(tr)("sold")), 1)
706
712
  ])) : createCommentVNode("", !0)
707
713
  ]))
708
714
  ])) : createCommentVNode("", !0)
@@ -721,25 +727,27 @@ const tr = (Be) => {
721
727
  createElementVNode("div", _hoisted_28$1, toDisplayString(unref(tr)("price")), 1),
722
728
  (ii = Be.hoveredData) != null && ii.request_price ? (openBlock(), createElementBlock("div", _hoisted_29$1, toDisplayString(unref(tr)("Request Price")), 1)) : (Ke = Be.hoveredData) != null && Ke.price ? (openBlock(), createElementBlock("div", _hoisted_30$1, [
723
729
  createElementVNode("div", null, [
724
- (Xe = Be.hoveredData) != null && Xe.offer_price ? (openBlock(), createElementBlock("div", _hoisted_32$1, [
725
- createElementVNode("div", _hoisted_33$1, [
726
- createTextVNode(toDisplayString(unref(getPrice)((Ye = Be.hoveredData) == null ? void 0 : Ye.price)) + " ", 1),
730
+ (Ye = Be.hoveredData) != null && Ye.offer_price ? (openBlock(), createElementBlock("div", _hoisted_33$1, [
731
+ createElementVNode("div", _hoisted_34$1, [
732
+ createTextVNode(toDisplayString(unref(getPrice)((ei = Be.hoveredData) == null ? void 0 : ei.price)) + " ", 1),
727
733
  createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
728
734
  ]),
729
- createElementVNode("div", _hoisted_34$1, [
730
- createTextVNode(toDisplayString(unref(getPrice)((ei = Be.hoveredData) == null ? void 0 : ei.offer_price)) + " ", 1),
735
+ createElementVNode("div", _hoisted_35$1, [
736
+ createTextVNode(toDisplayString(unref(getPrice)((ti = Be.hoveredData) == null ? void 0 : ti.offer_price)) + " ", 1),
731
737
  createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
732
738
  ])
733
739
  ])) : (openBlock(), createElementBlock("div", _hoisted_31$1, [
734
- createTextVNode(toDisplayString(unref(getPrice)(Be.hoveredData.price)) + " ", 1),
735
- createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
740
+ Number((Xe = Be.hoveredData) == null ? void 0 : Xe.price) > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
741
+ createTextVNode(toDisplayString(unref(getPrice)(Be.hoveredData.price)) + " ", 1),
742
+ createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
743
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_32$1, toDisplayString(unref(tr)("available")), 1))
736
744
  ]))
737
745
  ])
738
746
  ])) : createCommentVNode("", !0)
739
747
  ], 64))
740
748
  ]),
741
- createElementVNode("div", _hoisted_35$1, [
742
- createElementVNode("div", _hoisted_36$1, toDisplayString(unref(getArea)(+((ni = (ti = Be.hoveredData) == null ? void 0 : ti.type) == null ? void 0 : ni.area_m2))) + " " + toDisplayString(unref(getAreaUnitLabel)()) + "² ", 1)
749
+ createElementVNode("div", _hoisted_36$1, [
750
+ createElementVNode("div", _hoisted_37$1, toDisplayString(unref(getArea)(+((ri = (ni = Be.hoveredData) == null ? void 0 : ni.type) == null ? void 0 : ri.area_m2))) + " " + toDisplayString(unref(getAreaUnitLabel)()) + "² ", 1)
743
751
  ])
744
752
  ])) : createCommentVNode("", !0)
745
753
  ])) : createCommentVNode("", !0)
@@ -824,10 +832,10 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
824
832
  }, _hoisted_2$m = { class: "ire-flex ire-w-full ire-items-center ire-justify-evenly ire-p-4" }, _hoisted_3$j = { class: "irep-tooltip-2__floor-number ire-text-3xl ire-capitalize" }, _hoisted_4$e = {
825
833
  key: 0,
826
834
  class: "irep-tooltip-2__floor-conf ire-text-2xl ire-uppercase"
827
- }, _hoisted_5$a = { key: 1 }, _hoisted_6$8 = { class: "irep-tooltip-2__floor-starting ire-text-sm ire-text-gray-400" }, _hoisted_7$6 = { class: "irep-tooltip-2__floor-price" }, _hoisted_8$4 = { class: "ire-right-[2px] ire-text-gray-200" }, _hoisted_9$3 = { class: "ire-flex ire-items-center ire-justify-between ire-gap-2 ire-bg-gray-800 ire-p-2" }, _hoisted_10$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_11$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_12$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_13$2 = {
835
+ }, _hoisted_5$b = { key: 1 }, _hoisted_6$9 = { class: "irep-tooltip-2__floor-starting ire-text-sm ire-text-gray-400" }, _hoisted_7$7 = { class: "irep-tooltip-2__floor-price" }, _hoisted_8$4 = { class: "ire-right-[2px] ire-text-gray-200" }, _hoisted_9$3 = { class: "ire-flex ire-items-center ire-justify-between ire-gap-2 ire-bg-gray-800 ire-p-2" }, _hoisted_10$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_11$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_12$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_13$2 = {
828
836
  key: 1,
829
837
  class: "irep-tooltip-2__block ire-flex ire-items-center ire-gap-3 ire-p-4 !ire-text-sm"
830
- }, _hoisted_14$1 = { class: "ire-flex ire-w-max ire-flex-col ire-items-center" }, _hoisted_15$1 = { class: "irep-tooltip-2__block-title" }, _hoisted_16$1 = { class: "irep-tooltip-2__block-conf ire-text-gray-300 ire-opacity-80" }, _hoisted_17 = {
838
+ }, _hoisted_14$1 = { class: "ire-flex ire-w-max ire-flex-col ire-items-center" }, _hoisted_15$1 = { class: "irep-tooltip-2__block-title" }, _hoisted_16$1 = { class: "irep-tooltip-2__block-conf ire-text-gray-300 ire-opacity-80" }, _hoisted_17$1 = {
831
839
  key: 2,
832
840
  class: "irep-tooltip-2__flat ire-flex ire-w-full ire-max-w-[300px] ire-flex-col ire-items-center ire-gap-1"
833
841
  }, _hoisted_18 = { class: "ire-flex ire-flex-col ire-items-center ire-gap-4 ire-p-4" }, _hoisted_19 = { class: "irep-tooltip-2__flat-number ire-text-center ire-text-lg ire-capitalize" }, _hoisted_20 = { class: "ire-grid ire-grid-cols-2 ire-gap-x-8 ire-gap-y-2" }, _hoisted_21 = { class: "ire-flex ire-items-center ire-gap-1" }, _hoisted_22 = { class: "ire-flex ire-items-center ire-justify-center" }, _hoisted_23 = {
@@ -840,12 +848,15 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
840
848
  key: 1,
841
849
  class: "irep-tooltip-2__flat-price ire-flex ire-items-center ire-gap-1"
842
850
  }, _hoisted_30 = { class: "ire-right-[2px]" }, _hoisted_31 = {
851
+ key: 2,
852
+ class: "ire-uppercase"
853
+ }, _hoisted_32 = {
843
854
  key: 0,
844
855
  class: "ire-flex ire-items-center ire-gap-1"
845
- }, _hoisted_32 = { class: "ire-flex ire-items-center ire-justify-center" }, _hoisted_33 = { class: "irep-tooltip-2__flat-area" }, _hoisted_34 = { class: "ire-right-[2px] ire-flex ire-items-center ire-gap-1" }, _hoisted_35 = {
856
+ }, _hoisted_33 = { class: "ire-flex ire-items-center ire-justify-center" }, _hoisted_34 = { class: "irep-tooltip-2__flat-area" }, _hoisted_35 = { class: "ire-right-[2px] ire-flex ire-items-center ire-gap-1" }, _hoisted_36 = {
846
857
  key: 1,
847
858
  class: "ire-flex ire-items-center ire-gap-1"
848
- }, _hoisted_36 = { class: "ire-flex ire-items-center ire-justify-center" }, _hoisted_37 = {
859
+ }, _hoisted_37 = { class: "ire-flex ire-items-center ire-justify-center" }, _hoisted_38 = {
849
860
  key: 0,
850
861
  class: "irep-tooltip-2__flat-room-count ire-min-w-max ire-capitalize"
851
862
  }, _sfc_main$G = /* @__PURE__ */ defineComponent({
@@ -861,7 +872,7 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
861
872
  return tr((Ve = _e.hoveredData) == null ? void 0 : Ve.conf);
862
873
  });
863
874
  return (Ve, De) => {
864
- var Le, Ae, Ie, Re, ze, je, Fe, He, We, qe, Ue, Ge, Je, Ze, Qe, oi, ii, Ke, Xe, Ye, ei, ti, ni, ri, ai, si, li, hi, di, fi, ui, ci;
875
+ var Le, Ae, Ie, Re, ze, je, Fe, He, We, qe, Ue, Ge, Je, Ze, Qe, oi, ii, Ke, Ye, Xe, ei, ti, ni, ri, ai, si, li, hi, di, fi, ui, ci;
865
876
  return Be.type && Be.hoveredData && Be.type !== "tooltip" ? (openBlock(), createElementBlock("div", {
866
877
  key: 0,
867
878
  class: normalizeClass(["ire-pointer-events-none ire-absolute ire-select-none", {
@@ -881,9 +892,9 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
881
892
  createElementVNode("div", _hoisted_2$m, [
882
893
  createElementVNode("div", _hoisted_3$j, toDisplayString((Le = Be.hoveredData) == null ? void 0 : Le.floor_number), 1),
883
894
  De[0] || (De[0] = createElementVNode("span", null, "|", -1)),
884
- Ne.value ? (openBlock(), createElementBlock("div", _hoisted_4$e, toDisplayString(Ne.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_5$a, [
885
- createElementVNode("div", _hoisted_6$8, toDisplayString(unref(tr)("starting from")) + ": ", 1),
886
- createElementVNode("div", _hoisted_7$6, [
895
+ Ne.value ? (openBlock(), createElementBlock("div", _hoisted_4$e, toDisplayString(Ne.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_5$b, [
896
+ createElementVNode("div", _hoisted_6$9, toDisplayString(unref(tr)("starting from")) + ": ", 1),
897
+ createElementVNode("div", _hoisted_7$7, [
887
898
  createTextVNode(toDisplayString(unref(getPrice)(+((Ie = (Ae = Be.hoveredData) == null ? void 0 : Ae.counts) == null ? void 0 : Ie.minimum_price) || 0)) + " ", 1),
888
899
  createElementVNode("span", _hoisted_8$4, toDisplayString(unref(currencySymbol)()), 1)
889
900
  ])
@@ -910,7 +921,7 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
910
921
  createElementVNode("div", _hoisted_15$1, toDisplayString((Ze = Be.hoveredData) == null ? void 0 : Ze.title), 1),
911
922
  createElementVNode("span", _hoisted_16$1, toDisplayString(Ne.value), 1)
912
923
  ])
913
- ])) : Be.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_17, [
924
+ ])) : Be.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
914
925
  createElementVNode("div", _hoisted_18, [
915
926
  createElementVNode("div", _hoisted_19, toDisplayString((Qe = Be.hoveredData) == null ? void 0 : Qe.flat_number), 1),
916
927
  createElementVNode("div", _hoisted_20, [
@@ -928,25 +939,25 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
928
939
  createTextVNode(toDisplayString(unref(getPrice)(+((Ke = Be.hoveredData) == null ? void 0 : Ke.offer_price))) + " ", 1),
929
940
  createElementVNode("span", _hoisted_28, toDisplayString(unref(currencySymbol)()), 1)
930
941
  ])
931
- ])) : (Xe = Be.hoveredData) != null && Xe.price ? (openBlock(), createElementBlock("div", _hoisted_29, [
932
- createTextVNode(toDisplayString(unref(getPrice)(+((Ye = Be.hoveredData) == null ? void 0 : Ye.price))) + " ", 1),
942
+ ])) : Number((Ye = Be.hoveredData) == null ? void 0 : Ye.price) > 0 ? (openBlock(), createElementBlock("div", _hoisted_29, [
943
+ createTextVNode(toDisplayString(unref(getPrice)(+((Xe = Be.hoveredData) == null ? void 0 : Xe.price))) + " ", 1),
933
944
  createElementVNode("span", _hoisted_30, toDisplayString(unref(currencySymbol)()), 1)
934
- ])) : createCommentVNode("", !0)
945
+ ])) : (openBlock(), createElementBlock("div", _hoisted_31, toDisplayString(unref(tr)("available")), 1))
935
946
  ], 64))
936
947
  ]),
937
- unref(getArea)(+((ti = (ei = Be.hoveredData) == null ? void 0 : ei.type) == null ? void 0 : ti.area_m2)) && +unref(getArea)(+((ri = (ni = Be.hoveredData) == null ? void 0 : ni.type) == null ? void 0 : ri.area_m2)) > 0 ? (openBlock(), createElementBlock("div", _hoisted_31, [
938
- createElementVNode("div", _hoisted_32, [
948
+ unref(getArea)(+((ti = (ei = Be.hoveredData) == null ? void 0 : ei.type) == null ? void 0 : ti.area_m2)) && +unref(getArea)(+((ri = (ni = Be.hoveredData) == null ? void 0 : ni.type) == null ? void 0 : ri.area_m2)) > 0 ? (openBlock(), createElementBlock("div", _hoisted_32, [
949
+ createElementVNode("div", _hoisted_33, [
939
950
  createVNode(FlatIcon, { class: "ire-size-5 [&_path]:ire-stroke-white" })
940
951
  ]),
941
- createElementVNode("div", _hoisted_33, [
942
- createElementVNode("span", _hoisted_34, toDisplayString(unref(getArea)(+((si = (ai = Be.hoveredData) == null ? void 0 : ai.type) == null ? void 0 : si.area_m2))) + " " + toDisplayString(unref(getAreaUnitLabel)()) + "² ", 1)
952
+ createElementVNode("div", _hoisted_34, [
953
+ createElementVNode("span", _hoisted_35, toDisplayString(unref(getArea)(+((si = (ai = Be.hoveredData) == null ? void 0 : ai.type) == null ? void 0 : si.area_m2))) + " " + toDisplayString(unref(getAreaUnitLabel)()) + "² ", 1)
943
954
  ])
944
955
  ])) : createCommentVNode("", !0),
945
- (hi = (li = Be.hoveredData) == null ? void 0 : li.type) != null && hi.rooms_count ? (openBlock(), createElementBlock("div", _hoisted_35, [
946
- createElementVNode("div", _hoisted_36, [
956
+ (hi = (li = Be.hoveredData) == null ? void 0 : li.type) != null && hi.rooms_count ? (openBlock(), createElementBlock("div", _hoisted_36, [
957
+ createElementVNode("div", _hoisted_37, [
947
958
  createVNode(Cube3d, { class: "ire-size-5 [&_path]:ire-stroke-white" })
948
959
  ]),
949
- (fi = (di = Be.hoveredData) == null ? void 0 : di.type) != null && fi.rooms_count ? (openBlock(), createElementBlock("div", _hoisted_37, toDisplayString(unref(tr)("room")) + ": " + toDisplayString((ci = (ui = Be.hoveredData) == null ? void 0 : ui.type) == null ? void 0 : ci.rooms_count), 1)) : createCommentVNode("", !0)
960
+ (fi = (di = Be.hoveredData) == null ? void 0 : di.type) != null && fi.rooms_count ? (openBlock(), createElementBlock("div", _hoisted_38, toDisplayString(unref(tr)("room")) + ": " + toDisplayString((ci = (ui = Be.hoveredData) == null ? void 0 : ui.type) == null ? void 0 : ci.rooms_count), 1)) : createCommentVNode("", !0)
950
961
  ])) : createCommentVNode("", !0)
951
962
  ])
952
963
  ])
@@ -958,10 +969,10 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
958
969
  }), _hoisted_1$B = { class: "irep-tooltip irep-tooltip-3 ire-flex ire-w-fit ire-origin-top ire-items-center ire-justify-center ire-rounded-2xl ire-border ire-bg-white ire-p-4 ire-transition-transform ire-duration-500 ire-ease-in-out" }, _hoisted_2$l = {
959
970
  key: 0,
960
971
  class: "irep-tooltip-3__floor ire-flex ire-flex-col ire-items-center ire-gap-3"
961
- }, _hoisted_3$i = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_4$d = { class: "irep-tooltip-3__floor-number !ire-text-2xl" }, _hoisted_5$9 = { class: "irep-tooltip-3__floor-text !ire-text-sm ire-uppercase" }, _hoisted_6$7 = {
972
+ }, _hoisted_3$i = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_4$d = { class: "irep-tooltip-3__floor-number !ire-text-2xl" }, _hoisted_5$a = { class: "irep-tooltip-3__floor-text !ire-text-sm ire-uppercase" }, _hoisted_6$8 = {
962
973
  key: 1,
963
974
  class: "irep-tooltip-3__block ire-flex ire-items-center ire-gap-3"
964
- }, _hoisted_7$5 = { class: "ire-flex ire-w-max ire-flex-col ire-items-center" }, _hoisted_8$3 = { class: "irep-tooltip-3__block-title !text-2xl" }, _hoisted_9$2 = {
975
+ }, _hoisted_7$6 = { class: "ire-flex ire-w-max ire-flex-col ire-items-center" }, _hoisted_8$3 = { class: "irep-tooltip-3__block-title !text-2xl" }, _hoisted_9$2 = {
965
976
  key: 2,
966
977
  class: "irep-tooltip-3__flat ire-flex ire-w-full ire-flex-col ire-items-center ire-gap-3"
967
978
  }, _hoisted_10$2 = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_11$2 = { class: "irep-tooltip-3__flat-number ire-max-w-52 ire-text-center !ire-text-2xl ire-capitalize" }, _hoisted_12$2 = { class: "irep-tooltip-3__flat-text !ire-mt-2 ire-text-sm ire-uppercase" }, _sfc_main$F = /* @__PURE__ */ defineComponent({
@@ -985,10 +996,10 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
985
996
  Be.type === "floor" ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
986
997
  createElementVNode("div", _hoisted_3$i, [
987
998
  createElementVNode("div", _hoisted_4$d, toDisplayString((Ve = Be.hoveredData) == null ? void 0 : Ve.floor_number), 1),
988
- createElementVNode("div", _hoisted_5$9, toDisplayString(unref(tr)("floor")), 1)
999
+ createElementVNode("div", _hoisted_5$a, toDisplayString(unref(tr)("floor")), 1)
989
1000
  ])
990
- ])) : Be.type === "block" ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
991
- createElementVNode("div", _hoisted_7$5, [
1001
+ ])) : Be.type === "block" ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
1002
+ createElementVNode("div", _hoisted_7$6, [
992
1003
  createElementVNode("div", _hoisted_8$3, toDisplayString((De = Be.hoveredData) == null ? void 0 : De.title), 1)
993
1004
  ])
994
1005
  ])) : Be.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
@@ -1014,7 +1025,7 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1014
1025
  type: {}
1015
1026
  },
1016
1027
  setup(Be) {
1017
- const _e = useGlobalStore$1(), { getMetaValue: ke } = _e, $e = inject("showFlatModal"), Ne = ref(!0), Ve = computed$1(() => ke("tooltip") || "1");
1028
+ const _e = useGlobalStore(), { getMetaValue: ke } = _e, $e = inject("showFlatModal"), Ne = ref(!0), Ve = computed$1(() => ke("tooltip") || "1");
1018
1029
  return watch(
1019
1030
  () => $e == null ? void 0 : $e.value,
1020
1031
  () => {
@@ -1070,7 +1081,7 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1070
1081
  },
1071
1082
  emits: ["changeComponent"],
1072
1083
  setup(Be, { emit: _e }) {
1073
- const ke = _e, $e = Be, Ne = inject("showFlatModal"), Ve = useGlobalStore$1(), { openReservedFlat: De, openSoldFlat: Le } = storeToRefs(Ve), Ae = ref(), Ie = ref(null), Re = ref(), ze = ref(null), je = computed(() => {
1084
+ const ke = _e, $e = Be, Ne = inject("showFlatModal"), Ve = useGlobalStore(), { openReservedFlat: De, openSoldFlat: Le } = storeToRefs(Ve), Ae = ref(), Ie = ref(null), Re = ref(), ze = ref(null), je = computed(() => {
1074
1085
  if ($e.project)
1075
1086
  return $e.project.svg;
1076
1087
  }), Fe = (qe) => {
@@ -1080,19 +1091,19 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1080
1091
  var Ue;
1081
1092
  if (!Ae.value) return;
1082
1093
  ((Ue = Ae.value) == null ? void 0 : Ue.querySelectorAll("g")).forEach((Ge) => {
1083
- var ii, Ke, Xe, Ye, ei;
1094
+ var ii, Ke, Ye, Xe, ei;
1084
1095
  const Je = Ge == null ? void 0 : Ge.getAttribute("id"), Ze = (Ke = (ii = $e.project) == null ? void 0 : ii.polygon_data) == null ? void 0 : Ke.find(
1085
1096
  (ti) => (ti == null ? void 0 : ti.key) === Je
1086
1097
  ), Qe = Ze == null ? void 0 : Ze.id;
1087
1098
  let oi = "";
1088
1099
  switch (Ze == null ? void 0 : Ze.type) {
1089
1100
  case "block": {
1090
- const ti = (Xe = $e.blocks) == null ? void 0 : Xe.find((ni) => ni.id === Qe);
1101
+ const ti = (Ye = $e.blocks) == null ? void 0 : Ye.find((ni) => ni.id === Qe);
1091
1102
  oi = getConfValue((ti == null ? void 0 : ti.conf) || "");
1092
1103
  break;
1093
1104
  }
1094
1105
  case "floor": {
1095
- const ti = (Ye = $e.floors) == null ? void 0 : Ye.find((ni) => ni.id === Qe);
1106
+ const ti = (Xe = $e.floors) == null ? void 0 : Xe.find((ni) => ni.id === Qe);
1096
1107
  oi = getConfValue((ti == null ? void 0 : ti.conf) || "");
1097
1108
  break;
1098
1109
  }
@@ -1117,13 +1128,13 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1117
1128
  ), watch(
1118
1129
  () => Ie.value,
1119
1130
  (qe) => {
1120
- var Ge, Je, Ze, Qe, oi, ii, Ke, Xe;
1131
+ var Ge, Je, Ze, Qe, oi, ii, Ke, Ye;
1121
1132
  if (!qe) return;
1122
1133
  Ve.hoverdSvg = qe;
1123
1134
  const Ue = qe.parentElement;
1124
1135
  if (Ue && (Ue == null ? void 0 : Ue.nodeName) === "g") {
1125
- const Ye = Ue == null ? void 0 : Ue.getAttribute("id");
1126
- if (!Ye || (ze.value = ((Je = (Ge = $e.project) == null ? void 0 : Ge.polygon_data) == null ? void 0 : Je.find((ti) => (ti == null ? void 0 : ti.key) === Ye)) || null, !ze.value)) return;
1136
+ const Xe = Ue == null ? void 0 : Ue.getAttribute("id");
1137
+ if (!Xe || (ze.value = ((Je = (Ge = $e.project) == null ? void 0 : Ge.polygon_data) == null ? void 0 : Je.find((ti) => (ti == null ? void 0 : ti.key) === Xe)) || null, !ze.value)) return;
1127
1138
  const ei = (Ze = ze.value) == null ? void 0 : Ze.id;
1128
1139
  switch ((Qe = ze.value) == null ? void 0 : Qe.type) {
1129
1140
  case "floor":
@@ -1145,7 +1156,7 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1145
1156
  Re.value = ri;
1146
1157
  break;
1147
1158
  case "tooltip":
1148
- const ai = (Xe = $e.actions) == null ? void 0 : Xe.find(
1159
+ const ai = (Ye = $e.actions) == null ? void 0 : Ye.find(
1149
1160
  (si) => (si == null ? void 0 : si.id) === ei
1150
1161
  );
1151
1162
  Re.value = ai;
@@ -1209,7 +1220,7 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1209
1220
  }),
1210
1221
  emits: ["update:modelValue"],
1211
1222
  setup(Be) {
1212
- const _e = useGlobalStore$1(), { openReservedFlat: ke, openSoldFlat: $e } = storeToRefs(_e), Ne = useModel(Be, "modelValue");
1223
+ const _e = useGlobalStore(), { openReservedFlat: ke, openSoldFlat: $e } = storeToRefs(_e), Ne = useModel(Be, "modelValue");
1213
1224
  return (Ve, De) => (openBlock(), createElementBlock("div", _hoisted_1$y, [
1214
1225
  Be.label ? (openBlock(), createElementBlock("p", _hoisted_2$i, toDisplayString(Be.label), 1)) : createCommentVNode("", !0),
1215
1226
  createElementVNode("div", _hoisted_3$g, [
@@ -1265,7 +1276,7 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1265
1276
  },
1266
1277
  emits: ["changeComponent"],
1267
1278
  setup(Be, { emit: _e }) {
1268
- const ke = _e, $e = Be, Ne = inject("showFlatModal"), Ve = useGlobalStore$1(), { openReservedFlat: De, openSoldFlat: Le } = storeToRefs(Ve), Ae = ref(), Ie = ref(null), Re = ref(), ze = ref(null), je = ref(), Fe = ref(), He = computed$1(() => {
1279
+ const ke = _e, $e = Be, Ne = inject("showFlatModal"), Ve = useGlobalStore(), { openReservedFlat: De, openSoldFlat: Le } = storeToRefs(Ve), Ae = ref(), Ie = ref(null), Re = ref(), ze = ref(null), je = ref(), Fe = ref(), He = computed$1(() => {
1269
1280
  var Ze;
1270
1281
  if ((Ze = $e.floor) != null && Ze.svg)
1271
1282
  return $e.floor.svg;
@@ -1282,8 +1293,8 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1282
1293
  var oi, ii;
1283
1294
  const Qe = (oi = $e.blocks) == null ? void 0 : oi.find(
1284
1295
  (Ke) => {
1285
- var Xe;
1286
- return (Ke == null ? void 0 : Ke.id) === ((Xe = Ze == null ? void 0 : Ze.block_id) == null ? void 0 : Xe.toString());
1296
+ var Ye;
1297
+ return (Ke == null ? void 0 : Ke.id) === ((Ye = Ze == null ? void 0 : Ze.block_id) == null ? void 0 : Ye.toString());
1287
1298
  }
1288
1299
  );
1289
1300
  return {
@@ -1300,19 +1311,19 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1300
1311
  }, Ge = () => {
1301
1312
  var Ze;
1302
1313
  Ae.value && ((Ze = Ae.value) == null ? void 0 : Ze.querySelectorAll("g")).forEach((oi) => {
1303
- var Ye, ei, ti, ni, ri;
1304
- const ii = oi == null ? void 0 : oi.getAttribute("id"), Ke = (ei = (Ye = $e.floor) == null ? void 0 : Ye.polygon_data) == null ? void 0 : ei.find(
1314
+ var Xe, ei, ti, ni, ri;
1315
+ const ii = oi == null ? void 0 : oi.getAttribute("id"), Ke = (ei = (Xe = $e.floor) == null ? void 0 : Xe.polygon_data) == null ? void 0 : ei.find(
1305
1316
  (ai) => (ai == null ? void 0 : ai.key) === ii
1306
1317
  );
1307
1318
  if (!$e.flats) return;
1308
- let Xe = "";
1319
+ let Ye = "";
1309
1320
  if ((ti = $e.floor) != null && ti.conf)
1310
- Xe = getConfValue(((ni = $e.floor) == null ? void 0 : ni.conf) || ""), oi.setAttribute("conf", Xe || "");
1321
+ Ye = getConfValue(((ni = $e.floor) == null ? void 0 : ni.conf) || ""), oi.setAttribute("conf", Ye || "");
1311
1322
  else {
1312
1323
  const ai = (ri = $e.flats) == null ? void 0 : ri.find(
1313
1324
  (si) => (si == null ? void 0 : si.id) === (Ke == null ? void 0 : Ke.id)
1314
1325
  );
1315
- Xe = getConfValue((ai == null ? void 0 : ai.conf) || ""), oi == null || oi.setAttribute("conf", Xe || "");
1326
+ Ye = getConfValue((ai == null ? void 0 : ai.conf) || ""), oi == null || oi.setAttribute("conf", Ye || "");
1316
1327
  }
1317
1328
  });
1318
1329
  }, Je = () => {
@@ -1322,7 +1333,7 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1322
1333
  return watch(
1323
1334
  () => Ie.value,
1324
1335
  (Ze) => {
1325
- var oi, ii, Ke, Xe, Ye, ei, ti;
1336
+ var oi, ii, Ke, Ye, Xe, ei, ti;
1326
1337
  if (!Ze) return;
1327
1338
  Ve.hoverdSvg = Ze;
1328
1339
  const Qe = Ze == null ? void 0 : Ze.parentElement;
@@ -1330,14 +1341,14 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1330
1341
  const ni = Qe.getAttribute("id");
1331
1342
  if (!ni || (Re.value = ((ii = (oi = $e.floor) == null ? void 0 : oi.polygon_data) == null ? void 0 : ii.find((ri) => (ri == null ? void 0 : ri.key) === ni)) || null, !Re.value)) return;
1332
1343
  if (((Ke = Re.value) == null ? void 0 : Ke.type) === "flat") {
1333
- const ri = (Xe = $e.flats) == null ? void 0 : Xe.find(
1344
+ const ri = (Ye = $e.flats) == null ? void 0 : Ye.find(
1334
1345
  (si) => {
1335
1346
  var li;
1336
1347
  return (si == null ? void 0 : si.id) === ((li = Re.value) == null ? void 0 : li.id);
1337
1348
  }
1338
1349
  ), ai = ri ? {
1339
1350
  ...ri,
1340
- conf: ri.conf || ((Ye = $e.floor) == null ? void 0 : Ye.conf) || ""
1351
+ conf: ri.conf || ((Xe = $e.floor) == null ? void 0 : Xe.conf) || ""
1341
1352
  } : null;
1342
1353
  ze.value = ai;
1343
1354
  } else if (((ei = Re.value) == null ? void 0 : ei.type) === "tooltip") {
@@ -1373,8 +1384,8 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1373
1384
  var Ze, Qe, oi;
1374
1385
  Fe.value = (Ze = $e.blocks) == null ? void 0 : Ze.find(
1375
1386
  (ii) => {
1376
- var Ke, Xe;
1377
- return (ii == null ? void 0 : ii.id) === ((Xe = (Ke = $e.floor) == null ? void 0 : Ke.block_id) == null ? void 0 : Xe.toString());
1387
+ var Ke, Ye;
1388
+ return (ii == null ? void 0 : ii.id) === ((Ye = (Ke = $e.floor) == null ? void 0 : Ke.block_id) == null ? void 0 : Ye.toString());
1378
1389
  }
1379
1390
  ), je.value = (oi = (Qe = We.value) == null ? void 0 : Qe.find(
1380
1391
  (ii) => {
@@ -1401,11 +1412,11 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1401
1412
  ])
1402
1413
  ]),
1403
1414
  default: withCtx(() => {
1404
- var ii, Ke, Xe;
1415
+ var ii, Ke, Ye;
1405
1416
  return [
1406
1417
  createElementVNode("div", _hoisted_2$g, [
1407
1418
  createElementVNode("img", {
1408
- src: ((Xe = (Ke = (ii = Be.floor) == null ? void 0 : ii.floor_image) == null ? void 0 : Ke[0]) == null ? void 0 : Xe.url) || "",
1419
+ src: ((Ye = (Ke = (ii = Be.floor) == null ? void 0 : ii.floor_image) == null ? void 0 : Ke[0]) == null ? void 0 : Ye.url) || "",
1409
1420
  alt: "",
1410
1421
  class: "ire-left-0 ire-top-0 ire-h-full ire-w-full"
1411
1422
  }, null, 8, _hoisted_3$f),
@@ -2044,12 +2055,12 @@ class I extends g {
2044
2055
  const Qe = Ze.getAttribute("style") || "";
2045
2056
  Ze.style.setProperty("transform", "none", "important"), De && (Ze.style.width = "", Ze.style.height = ""), Ze.offsetHeight;
2046
2057
  const oi = Ve.getBoundingClientRect();
2047
- let ii = oi.width * $e, Ke = oi.height * $e, Xe = ii, Ye = Ke;
2058
+ let ii = oi.width * $e, Ke = oi.height * $e, Ye = ii, Xe = Ke;
2048
2059
  ii = Math.min(ii, qe), Ke = Math.min(Ke, Ue), De ? { width: ii, height: Ke } = ((ni, ri, ai, si) => {
2049
2060
  const li = ai / ni, hi = si / ri, di = Math.min(li, hi);
2050
2061
  return { width: ni *= di, height: ri *= di };
2051
2062
  })(qe, Ue, ii, Ke) : (ii = Math.min(ii, qe), Ke = Math.min(Ke, Ue));
2052
- let ei = 0.5 * (Ye - Ke), ti = 0.5 * (Xe - ii);
2063
+ let ei = 0.5 * (Xe - Ke), ti = 0.5 * (Ye - ii);
2053
2064
  this.contentRect = Object.assign(Object.assign({}, this.contentRect), { top: oi.top - Le.top + ei, bottom: Le.bottom - oi.bottom + ei, left: oi.left - Le.left + ti, right: Le.right - oi.right + ti, fitWidth: ii, fitHeight: Ke, width: ii, height: Ke, fullWidth: qe, fullHeight: Ue }), Ze.style.cssText = Qe, De && (Ze.style.width = `${ii}px`, Ze.style.height = `${Ke}px`), this.setTransform(), _e !== !0 && this.emit("refresh"), this.ignoreBounds || (t(this.targetScale) < t(this.minScale) ? this.zoomTo(this.minScale, { friction: 0 }) : this.targetScale > this.maxScale ? this.zoomTo(this.maxScale, { friction: 0 }) : this.state === m.Init || this.checkBounds().inBounds || this.requestTick()), this.updateControls();
2054
2065
  }
2055
2066
  calculateBounds() {
@@ -4672,7 +4683,7 @@ function updateSwiper(Be) {
4672
4683
  scrollbarEl: Le,
4673
4684
  paginationEl: Ae
4674
4685
  } = Be;
4675
- const Ie = Ne.filter((Xe) => Xe !== "children" && Xe !== "direction" && Xe !== "wrapperClass"), {
4686
+ const Ie = Ne.filter((Ye) => Ye !== "children" && Ye !== "direction" && Ye !== "wrapperClass"), {
4676
4687
  params: Re,
4677
4688
  pagination: ze,
4678
4689
  navigation: je,
@@ -4682,15 +4693,15 @@ function updateSwiper(Be) {
4682
4693
  } = _e;
4683
4694
  let qe, Ue, Ge, Je, Ze, Qe, oi, ii;
4684
4695
  Ne.includes("thumbs") && $e.thumbs && $e.thumbs.swiper && !$e.thumbs.swiper.destroyed && Re.thumbs && (!Re.thumbs.swiper || Re.thumbs.swiper.destroyed) && (qe = !0), Ne.includes("controller") && $e.controller && $e.controller.control && Re.controller && !Re.controller.control && (Ue = !0), Ne.includes("pagination") && $e.pagination && ($e.pagination.el || Ae) && (Re.pagination || Re.pagination === !1) && ze && !ze.el && (Ge = !0), Ne.includes("scrollbar") && $e.scrollbar && ($e.scrollbar.el || Le) && (Re.scrollbar || Re.scrollbar === !1) && Fe && !Fe.el && (Je = !0), Ne.includes("navigation") && $e.navigation && ($e.navigation.prevEl || De) && ($e.navigation.nextEl || Ve) && (Re.navigation || Re.navigation === !1) && je && !je.prevEl && !je.nextEl && (Ze = !0);
4685
- const Ke = (Xe) => {
4686
- _e[Xe] && (_e[Xe].destroy(), Xe === "navigation" ? (_e.isElement && (_e[Xe].prevEl.remove(), _e[Xe].nextEl.remove()), Re[Xe].prevEl = void 0, Re[Xe].nextEl = void 0, _e[Xe].prevEl = void 0, _e[Xe].nextEl = void 0) : (_e.isElement && _e[Xe].el.remove(), Re[Xe].el = void 0, _e[Xe].el = void 0));
4696
+ const Ke = (Ye) => {
4697
+ _e[Ye] && (_e[Ye].destroy(), Ye === "navigation" ? (_e.isElement && (_e[Ye].prevEl.remove(), _e[Ye].nextEl.remove()), Re[Ye].prevEl = void 0, Re[Ye].nextEl = void 0, _e[Ye].prevEl = void 0, _e[Ye].nextEl = void 0) : (_e.isElement && _e[Ye].el.remove(), Re[Ye].el = void 0, _e[Ye].el = void 0));
4687
4698
  };
4688
- Ne.includes("loop") && _e.isElement && (Re.loop && !$e.loop ? Qe = !0 : !Re.loop && $e.loop ? oi = !0 : ii = !0), Ie.forEach((Xe) => {
4689
- if (isObject(Re[Xe]) && isObject($e[Xe]))
4690
- Object.assign(Re[Xe], $e[Xe]), (Xe === "navigation" || Xe === "pagination" || Xe === "scrollbar") && "enabled" in $e[Xe] && !$e[Xe].enabled && Ke(Xe);
4699
+ Ne.includes("loop") && _e.isElement && (Re.loop && !$e.loop ? Qe = !0 : !Re.loop && $e.loop ? oi = !0 : ii = !0), Ie.forEach((Ye) => {
4700
+ if (isObject(Re[Ye]) && isObject($e[Ye]))
4701
+ Object.assign(Re[Ye], $e[Ye]), (Ye === "navigation" || Ye === "pagination" || Ye === "scrollbar") && "enabled" in $e[Ye] && !$e[Ye].enabled && Ke(Ye);
4691
4702
  else {
4692
- const Ye = $e[Xe];
4693
- (Ye === !0 || Ye === !1) && (Xe === "navigation" || Xe === "pagination" || Xe === "scrollbar") ? Ye === !1 && Ke(Xe) : Re[Xe] = $e[Xe];
4703
+ const Xe = $e[Ye];
4704
+ (Xe === !0 || Xe === !1) && (Ye === "navigation" || Ye === "pagination" || Ye === "scrollbar") ? Xe === !1 && Ke(Ye) : Re[Ye] = $e[Ye];
4694
4705
  }
4695
4706
  }), Ie.includes("controller") && !Ue && _e.controller && _e.controller.control && Re.controller && Re.controller.control && (_e.controller.control = Re.controller.control), Ne.includes("children") && ke && He && Re.virtual.enabled ? (He.slides = ke, He.update(!0)) : Ne.includes("virtual") && He && Re.virtual.enabled && (ke && (He.slides = ke), He.update(!0)), Ne.includes("children") && ke && Re.loop && (ii = !0), qe && We.init() && We.update(!0), Ue && (_e.controller.control = Re.controller.control), Ge && (_e.isElement && (!Ae || typeof Ae == "string") && (Ae = document.createElement("div"), Ae.classList.add("swiper-pagination"), Ae.part.add("pagination"), _e.el.appendChild(Ae)), Ae && (Re.pagination.el = Ae), ze.init(), ze.render(), ze.update()), Je && (_e.isElement && (!Le || typeof Le == "string") && (Le = document.createElement("div"), Le.classList.add("swiper-scrollbar"), Le.part.add("scrollbar"), _e.el.appendChild(Le)), Le && (Re.scrollbar.el = Le), Fe.init(), Fe.updateSize(), Fe.setTranslate()), Ze && (_e.isElement && ((!Ve || typeof Ve == "string") && (Ve = document.createElement("div"), Ve.classList.add("swiper-button-next"), setInnerHTML(Ve, _e.hostEl.constructor.nextButtonSvg), Ve.part.add("button-next"), _e.el.appendChild(Ve)), (!De || typeof De == "string") && (De = document.createElement("div"), De.classList.add("swiper-button-prev"), setInnerHTML(De, _e.hostEl.constructor.prevButtonSvg), De.part.add("button-prev"), _e.el.appendChild(De))), Ve && (Re.navigation.nextEl = Ve), De && (Re.navigation.prevEl = De), je.init(), je.update()), Ne.includes("allowSlideNext") && (_e.allowSlideNext = $e.allowSlideNext), Ne.includes("allowSlidePrev") && (_e.allowSlidePrev = $e.allowSlidePrev), Ne.includes("direction") && _e.changeDirection($e.direction, !1), (Qe || ii) && _e.loopDestroy(), (oi || ii) && _e.loopCreate(), _e.update();
4696
4707
  }
@@ -5282,13 +5293,13 @@ const Swiper = {
5282
5293
  getChildren(ke, Fe, He), Ae.value = !0;
5283
5294
  };
5284
5295
  Je.onAny = function(Ke) {
5285
- for (var Xe = arguments.length, Ye = new Array(Xe > 1 ? Xe - 1 : 0), ei = 1; ei < Xe; ei++)
5286
- Ye[ei - 1] = arguments[ei];
5287
- $e(Ke, ...Ye);
5296
+ for (var Ye = arguments.length, Xe = new Array(Ye > 1 ? Ye - 1 : 0), ei = 1; ei < Ye; ei++)
5297
+ Xe[ei - 1] = arguments[ei];
5298
+ $e(Ke, ...Xe);
5288
5299
  }, Object.assign(Je.on, {
5289
5300
  _beforeBreakpoint: Qe,
5290
- _containerClasses(Ke, Xe) {
5291
- De.value = Xe;
5301
+ _containerClasses(Ke, Ye) {
5302
+ De.value = Ye;
5292
5303
  }
5293
5304
  });
5294
5305
  const oi = {
@@ -5299,8 +5310,8 @@ const Swiper = {
5299
5310
  const Ke = {
5300
5311
  cache: !1,
5301
5312
  slides: Fe.value,
5302
- renderExternal: (Xe) => {
5303
- Le.value = Xe;
5313
+ renderExternal: (Ye) => {
5314
+ Le.value = Ye;
5304
5315
  },
5305
5316
  renderExternalUpdate: !1
5306
5317
  };
@@ -5310,12 +5321,12 @@ const Swiper = {
5310
5321
  !Ie.value && ze.value && (ze.value.emitSlidesClasses(), Ie.value = !0);
5311
5322
  const {
5312
5323
  passedParams: Ke
5313
- } = getParams(Be), Xe = getChangedParams(Ke, je.value, Fe.value, He.value, (Ye) => Ye.props && Ye.props.key);
5314
- je.value = Ke, (Xe.length || Ae.value) && ze.value && !ze.value.destroyed && updateSwiper({
5324
+ } = getParams(Be), Ye = getChangedParams(Ke, je.value, Fe.value, He.value, (Xe) => Xe.props && Xe.props.key);
5325
+ je.value = Ke, (Ye.length || Ae.value) && ze.value && !ze.value.destroyed && updateSwiper({
5315
5326
  swiper: ze.value,
5316
5327
  slides: Fe.value,
5317
5328
  passedParams: Ke,
5318
- changedParams: Xe,
5329
+ changedParams: Ye,
5319
5330
  nextEl: We.value,
5320
5331
  prevEl: qe.value,
5321
5332
  scrollbarEl: Ge.value,
@@ -5338,21 +5349,21 @@ const Swiper = {
5338
5349
  ze.value && !ze.value.destroyed && ze.value.destroy(!0, !1);
5339
5350
  });
5340
5351
  function ii(Ke) {
5341
- return Je.virtual ? renderVirtual(ze, Ke, Le.value) : (Ke.forEach((Xe, Ye) => {
5342
- Xe.props || (Xe.props = {}), Xe.props.swiperRef = ze, Xe.props.swiperSlideIndex = Ye;
5352
+ return Je.virtual ? renderVirtual(ze, Ke, Le.value) : (Ke.forEach((Ye, Xe) => {
5353
+ Ye.props || (Ye.props = {}), Ye.props.swiperRef = ze, Ye.props.swiperSlideIndex = Xe;
5343
5354
  }), Ke);
5344
5355
  }
5345
5356
  return () => {
5346
5357
  const {
5347
5358
  slides: Ke,
5348
- slots: Xe
5359
+ slots: Ye
5349
5360
  } = getChildren(ke, Fe, He);
5350
5361
  return h$1(Ne, {
5351
5362
  ref: Re,
5352
5363
  class: uniqueClasses(De.value)
5353
- }, [Xe["container-start"], h$1(Ve, {
5364
+ }, [Ye["container-start"], h$1(Ve, {
5354
5365
  class: wrapperClass(Je.wrapperClass)
5355
- }, [Xe["wrapper-start"], ii(Ke), Xe["wrapper-end"]]), needsNavigation(Be) && [h$1("div", {
5366
+ }, [Ye["wrapper-start"], ii(Ke), Ye["wrapper-end"]]), needsNavigation(Be) && [h$1("div", {
5356
5367
  ref: qe,
5357
5368
  class: "swiper-button-prev"
5358
5369
  }), h$1("div", {
@@ -5364,7 +5375,7 @@ const Swiper = {
5364
5375
  }), needsPagination(Be) && h$1("div", {
5365
5376
  ref: Ue,
5366
5377
  class: "swiper-pagination"
5367
- }), Xe["container-end"]]);
5378
+ }), Ye["container-end"]]);
5368
5379
  };
5369
5380
  }
5370
5381
  }, SwiperSlide = {
@@ -5618,7 +5629,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5618
5629
  style: normalizeStyle($e.value)
5619
5630
  }, toDisplayString(Be.title), 7));
5620
5631
  }
5621
- }), _hoisted_1$o = { class: "ire-flex ire-h-full ire-w-full ire-flex-col ire-justify-between ire-overflow-hidden" }, _hoisted_2$e = { class: "ire-relative ire-grid ire-min-h-52 ire-overflow-hidden" }, _hoisted_3$e = ["data-fancybox", "href"], _hoisted_4$a = ["src"], _hoisted_5$8 = { class: "ire-absolute ire-left-0 ire-top-0 ire-h-full ire-w-full" }, _hoisted_6$6 = { class: "flex ire-flex-col ire-flex-wrap ire-items-center ire-justify-center ire-gap-4 ire-p-4 sm:ire-flex-row lg:ire-gap-3" }, _hoisted_7$4 = {
5632
+ }), _hoisted_1$o = { class: "ire-flex ire-h-full ire-w-full ire-flex-col ire-justify-between ire-overflow-hidden" }, _hoisted_2$e = { class: "ire-relative ire-grid ire-min-h-52 ire-overflow-hidden" }, _hoisted_3$e = ["data-fancybox", "href"], _hoisted_4$a = ["src"], _hoisted_5$9 = { class: "ire-absolute ire-left-0 ire-top-0 ire-h-full ire-w-full" }, _hoisted_6$7 = { class: "flex ire-flex-col ire-flex-wrap ire-items-center ire-justify-center ire-gap-4 ire-p-4 sm:ire-flex-row lg:ire-gap-3" }, _hoisted_7$5 = {
5622
5633
  key: 0,
5623
5634
  class: "ire-absolute ire-right-4 ire-top-4 ire-z-20 ire-aspect-square ire-cursor-pointer md:ire-bottom-4 md:ire-left-4 md:ire-right-[unset] md:ire-top-[unset]"
5624
5635
  }, _hoisted_8$2 = {
@@ -5630,7 +5641,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5630
5641
  flat: {}
5631
5642
  },
5632
5643
  setup(Be) {
5633
- const _e = Be, ke = useGlobalStore$1(), { getMetaValue: $e } = ke, { irePlaginWp: Ne } = storeToRefs(ke), Ve = ref(), De = ref(!1), Le = ref(0), Ae = ref(!1), Ie = ref(0), Re = computed$1(() => {
5644
+ const _e = Be, ke = useGlobalStore(), { getMetaValue: $e } = ke, { irePlaginWp: Ne } = storeToRefs(ke), Ve = ref(), De = ref(!1), Le = ref(0), Ae = ref(!1), Ie = ref(0), Re = computed$1(() => {
5634
5645
  var We, qe, Ue, Ge, Je, Ze;
5635
5646
  return !!((Ue = (qe = (We = _e.flat) == null ? void 0 : We.type) == null ? void 0 : qe.image_2d) != null && Ue.length && ((Ze = (Je = (Ge = _e.flat) == null ? void 0 : Ge.type) == null ? void 0 : Je.image_3d) != null && Ze.length));
5636
5647
  }), ze = computed$1(() => {
@@ -5659,7 +5670,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5659
5670
  (Ue = Object.keys(((qe = (We = _e.flat) == null ? void 0 : We.type) == null ? void 0 : qe.image_3d) || {})) != null && Ue.length || (De.value = !0);
5660
5671
  }), (We, qe) => (openBlock(), createBlock(FancyBoxComp, { options: {} }, {
5661
5672
  default: withCtx(() => {
5662
- var Ue, Ge, Je, Ze, Qe, oi, ii, Ke, Xe;
5673
+ var Ue, Ge, Je, Ze, Qe, oi, ii, Ke, Ye;
5663
5674
  return [
5664
5675
  createElementVNode("div", _hoisted_1$o, [
5665
5676
  qe[2] || (qe[2] = createElementVNode("div", { class: "ire-hidden ire-w-fit ire-p-4 md:ire-block" }, null, -1)),
@@ -5669,10 +5680,10 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5669
5680
  mode: "out-in"
5670
5681
  }, {
5671
5682
  default: withCtx(() => {
5672
- var Ye;
5683
+ var Xe;
5673
5684
  return [
5674
5685
  (openBlock(), createBlock(unref(Swiper), {
5675
- key: (Ye = je.value[0]) == null ? void 0 : Ye.url,
5686
+ key: (Xe = je.value[0]) == null ? void 0 : Xe.url,
5676
5687
  "slides-per-view": 1,
5677
5688
  "space-between": 50,
5678
5689
  navigation: {
@@ -5712,7 +5723,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5712
5723
  }),
5713
5724
  _: 1
5714
5725
  }),
5715
- withDirectives(createElementVNode("div", _hoisted_5$8, [
5726
+ withDirectives(createElementVNode("div", _hoisted_5$9, [
5716
5727
  createVNode(Transition, {
5717
5728
  name: "ire-scale",
5718
5729
  mode: "out-in"
@@ -5745,7 +5756,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5745
5756
  [vShow, je.value.length > 1]
5746
5757
  ])
5747
5758
  ]),
5748
- createElementVNode("div", _hoisted_6$6, [
5759
+ createElementVNode("div", _hoisted_6$7, [
5749
5760
  ze.value ? (openBlock(), createElementBlock("div", {
5750
5761
  key: 0,
5751
5762
  class: "ire-flex ire-cursor-pointer ire-items-center ire-justify-center ire-rounded-md ire-p-2 ire-transition-all hover:ire-bg-gray-200 [&_svg]:ire-size-5",
@@ -5767,7 +5778,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5767
5778
  title: unref(tr)("3d plan"),
5768
5779
  variant: De.value ? "outline" : "default",
5769
5780
  class: "ire-w-full sm:ire-w-fit",
5770
- onClick: qe[0] || (qe[0] = (Ye) => De.value = !1)
5781
+ onClick: qe[0] || (qe[0] = (Xe) => De.value = !1)
5771
5782
  }, {
5772
5783
  icon: withCtx(() => [
5773
5784
  createVNode(Cube3d, {
@@ -5781,7 +5792,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5781
5792
  title: unref(tr)("2d plan"),
5782
5793
  variant: De.value ? "default" : "outline",
5783
5794
  class: "ire-w-full sm:ire-w-fit",
5784
- onClick: qe[1] || (qe[1] = (Ye) => De.value = !0)
5795
+ onClick: qe[1] || (qe[1] = (Xe) => De.value = !0)
5785
5796
  }, {
5786
5797
  icon: withCtx(() => [
5787
5798
  createVNode(FlatIcon, {
@@ -5793,7 +5804,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5793
5804
  ], 64)) : createCommentVNode("", !0)
5794
5805
  ])
5795
5806
  ]),
5796
- unref($e)("remove_watermark") !== "true" || !((Xe = unref(Ne)) != null && Xe.is_premium) ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
5807
+ unref($e)("remove_watermark") !== "true" || !((Ye = unref(Ne)) != null && Ye.is_premium) ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
5797
5808
  createElementVNode("a", _hoisted_8$2, [
5798
5809
  createVNode(Logo, { class: "ire-size-12" })
5799
5810
  ])
@@ -5803,7 +5814,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5803
5814
  _: 1
5804
5815
  }));
5805
5816
  }
5806
- }), _hoisted_1$n = { class: "ire-flex ire-w-full ire-flex-col ire-items-start ire-text-black" }, _hoisted_2$d = { class: "ire-mb-1 ire-text-base" }, _hoisted_3$d = { class: "relative ire-w-full" }, _hoisted_4$9 = ["placeholder", "type", "required"], _hoisted_5$7 = { class: "ire-absolute ire-right-3 ire-top-1/2 -ire-translate-y-1/2" }, _sfc_main$q = /* @__PURE__ */ defineComponent({
5817
+ }), _hoisted_1$n = { class: "ire-flex ire-w-full ire-flex-col ire-items-start ire-text-black" }, _hoisted_2$d = { class: "ire-mb-1 ire-text-base" }, _hoisted_3$d = { class: "relative ire-w-full" }, _hoisted_4$9 = ["placeholder", "type", "required"], _hoisted_5$8 = { class: "ire-absolute ire-right-3 ire-top-1/2 -ire-translate-y-1/2" }, _sfc_main$q = /* @__PURE__ */ defineComponent({
5807
5818
  __name: "Input",
5808
5819
  props: /* @__PURE__ */ mergeModels({
5809
5820
  label: {},
@@ -5829,7 +5840,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5829
5840
  }, null, 8, _hoisted_4$9), [
5830
5841
  [vModelDynamic, _e.value]
5831
5842
  ]),
5832
- createElementVNode("div", _hoisted_5$7, [
5843
+ createElementVNode("div", _hoisted_5$8, [
5833
5844
  renderSlot(ke.$slots, "right-icon")
5834
5845
  ])
5835
5846
  ])
@@ -5837,7 +5848,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5837
5848
  }
5838
5849
  }), createAxios = () => {
5839
5850
  var ke;
5840
- const Be = useGlobalStore$1();
5851
+ const Be = useGlobalStore();
5841
5852
  return axios.create({
5842
5853
  baseURL: (ke = Be.irePlaginWp) == null ? void 0 : ke.ajax_url,
5843
5854
  headers: {
@@ -5852,7 +5863,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5852
5863
  }, _hoisted_2$c = {
5853
5864
  key: 1,
5854
5865
  class: "irep-callback-form ire-flex ire-flex-col ire-gap-4"
5855
- }, _hoisted_3$c = { class: "irep-callback-form__title ire-text-lg ire-font-semibold ire-text-black" }, _hoisted_4$8 = { class: "ire-flex ire-flex-col ire-text-black" }, _hoisted_5$6 = { class: "ire-mb-1 ire-text-base" }, _hoisted_6$5 = { class: "irep-callback-form__buttons ire-mt-4 ire-flex ire-flex-wrap ire-gap-3" }, _sfc_main$p = /* @__PURE__ */ defineComponent({
5866
+ }, _hoisted_3$c = { class: "irep-callback-form__title ire-text-lg ire-font-semibold ire-text-black" }, _hoisted_4$8 = { class: "ire-flex ire-flex-col ire-text-black" }, _hoisted_5$7 = { class: "ire-mb-1 ire-text-base" }, _hoisted_6$6 = { class: "irep-callback-form__buttons ire-mt-4 ire-flex ire-flex-wrap ire-gap-3" }, _sfc_main$p = /* @__PURE__ */ defineComponent({
5856
5867
  __name: "ReservationForm",
5857
5868
  props: {
5858
5869
  flat: {}
@@ -5860,7 +5871,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5860
5871
  emits: ["hideForm"],
5861
5872
  setup(Be, { emit: _e }) {
5862
5873
  var Ie, Re;
5863
- const ke = _e, $e = Be, Ne = useGlobalStore$1(), Ve = ref({
5874
+ const ke = _e, $e = Be, Ne = useGlobalStore(), Ve = ref({
5864
5875
  project_id: (Ie = $e.flat) == null ? void 0 : Ie.project_id,
5865
5876
  flat_id: (Re = $e.flat) == null ? void 0 : Re.id,
5866
5877
  name: "",
@@ -5924,7 +5935,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5924
5935
  required: ""
5925
5936
  }, null, 8, ["modelValue"]),
5926
5937
  createElementVNode("div", _hoisted_4$8, [
5927
- createElementVNode("label", _hoisted_5$6, toDisplayString(unref(tr)("Comment")), 1),
5938
+ createElementVNode("label", _hoisted_5$7, toDisplayString(unref(tr)("Comment")), 1),
5928
5939
  withDirectives(createElementVNode("textarea", {
5929
5940
  "onUpdate:modelValue": je[3] || (je[3] = (Fe) => Ve.value.comment = Fe),
5930
5941
  placeholder: "...",
@@ -5937,7 +5948,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5937
5948
  ]),
5938
5949
  _: 1
5939
5950
  }),
5940
- createElementVNode("div", _hoisted_6$5, [
5951
+ createElementVNode("div", _hoisted_6$6, [
5941
5952
  createVNode(_sfc_main$x, {
5942
5953
  type: "button",
5943
5954
  title: "back",
@@ -5957,16 +5968,19 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5957
5968
  }), _hoisted_1$l = { class: "flex ire-relative ire-overflow-hidden lg:ire-w-full" }, _hoisted_2$b = { class: "ire-flex ire-w-full ire-flex-col ire-items-center ire-justify-center ire-gap-4" }, _hoisted_3$b = {
5958
5969
  key: 1,
5959
5970
  class: "flat-preview__type ire-text-center"
5960
- }, _hoisted_4$7 = { class: "flat-preview__type-title !ire-text-lg ire-font-medium ire-text-black" }, _hoisted_5$5 = {
5971
+ }, _hoisted_4$7 = { class: "flat-preview__type-title !ire-text-lg ire-font-medium ire-text-black" }, _hoisted_5$6 = {
5961
5972
  key: 0,
5962
5973
  class: "flat-preview-text ire-pt-2 ire-text-sm ire-uppercase ire-text-gray-500"
5963
- }, _hoisted_6$4 = { class: "ire-mt-4 ire-flex ire-w-full ire-flex-wrap ire-items-center ire-justify-center ire-gap-9 ire-overflow-y-auto lg:ire-max-h-[350px]" }, _hoisted_7$3 = { class: "flex ire-flex-col ire-items-center ire-justify-center" }, _hoisted_8$1 = {
5974
+ }, _hoisted_6$5 = { class: "ire-mt-4 ire-flex ire-w-full ire-flex-wrap ire-items-center ire-justify-center ire-gap-9 ire-overflow-y-auto lg:ire-max-h-[350px]" }, _hoisted_7$4 = { class: "flex ire-flex-col ire-items-center ire-justify-center" }, _hoisted_8$1 = {
5964
5975
  key: 0,
5965
5976
  class: "ire-uppercase"
5966
5977
  }, _hoisted_9$1 = {
5967
5978
  key: 1,
5968
5979
  class: "ire-uppercase"
5969
- }, _hoisted_10$1 = { key: 2 }, _hoisted_11$1 = { class: "flat-preview-price-through-value ire-text-base ire-line-through ire-decoration-black/50" }, _hoisted_12$1 = { key: 3 }, _hoisted_13$1 = { class: "price-key ire-pt-2 ire-text-sm ire-uppercase ire-text-gray-500" }, _hoisted_14 = { class: "irep-flat-moda-action-buttons ire-flex ire-flex-col ire-text-center sm:ire-flex-row" }, _hoisted_15 = ["href"], _hoisted_16 = {
5980
+ }, _hoisted_10$1 = { key: 2 }, _hoisted_11$1 = { class: "flat-preview-price-through-value ire-text-base ire-line-through ire-decoration-black/50" }, _hoisted_12$1 = { key: 3 }, _hoisted_13$1 = {
5981
+ key: 4,
5982
+ class: "ire-uppercase"
5983
+ }, _hoisted_14 = { class: "price-key ire-pt-2 ire-text-sm ire-uppercase ire-text-gray-500" }, _hoisted_15 = { class: "irep-flat-moda-action-buttons ire-flex ire-flex-col ire-text-center sm:ire-flex-row" }, _hoisted_16 = ["href"], _hoisted_17 = {
5970
5984
  key: 1,
5971
5985
  class: "irep-flat-moda-action-buttons__request-callback ire-w-full ire-p-2"
5972
5986
  }, _sfc_main$o = /* @__PURE__ */ defineComponent({
@@ -5977,7 +5991,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5977
5991
  },
5978
5992
  emits: ["changeComponent"],
5979
5993
  setup(Be) {
5980
- const _e = Be, ke = useGlobalStore$1(), { getMetaValue: $e } = ke, { irePlaginWp: Ne, shortcodeData: Ve } = storeToRefs(ke), De = inject("fromListView"), Le = ref(!1), Ae = computed$1(() => {
5994
+ const _e = Be, ke = useGlobalStore(), { getMetaValue: $e } = ke, { irePlaginWp: Ne, shortcodeData: Ve } = storeToRefs(ke), De = inject("fromListView"), Le = ref(!1), Ae = computed$1(() => {
5981
5995
  var He;
5982
5996
  return (He = Ve.value) == null ? void 0 : He.configs.tableContactUrl;
5983
5997
  }), Ie = computed$1(() => {
@@ -6016,7 +6030,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
6016
6030
  setQuery(We, "");
6017
6031
  });
6018
6032
  }), (He, We) => {
6019
- var qe, Ue, Ge, Je, Ze, Qe, oi, ii, Ke, Xe, Ye, ei, ti, ni, ri, ai, si, li, hi, di, fi, ui, ci, pi, mi, gi, vi, yi, _i, wi, xi, Ci, ki, Si, Ei, $i, Bi, Pi, Mi, Ni, Ti, Oi, Vi, Di, Li, Ri;
6033
+ var qe, Ue, Ge, Je, Ze, Qe, oi, ii, Ke, Ye, Xe, ei, ti, ni, ri, ai, si, li, hi, di, fi, ui, ci, pi, mi, gi, vi, yi, _i, wi, xi, Ci, ki, Si, Ei, $i, Bi, Pi, Ni, Mi, Ti, Oi, Vi, Di, Li, Ri;
6020
6034
  return openBlock(), createElementBlock("div", {
6021
6035
  class: normalizeClass(["irep-flat-preview ire-grid", {
6022
6036
  "lg:ire-grid-cols-[1.4fr,1fr]": ze.value
@@ -6044,9 +6058,9 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
6044
6058
  }, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
6045
6059
  (Ge = (Ue = Be.flat) == null ? void 0 : Ue.type) != null && Ge.title || (Ze = (Je = Be.flat) == null ? void 0 : Je.type) != null && Ze.teaser ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
6046
6060
  createElementVNode("div", _hoisted_4$7, toDisplayString((oi = (Qe = Be.flat) == null ? void 0 : Qe.type) == null ? void 0 : oi.title), 1),
6047
- (Ke = (ii = Be.flat) == null ? void 0 : ii.type) != null && Ke.teaser ? (openBlock(), createElementBlock("div", _hoisted_5$5, toDisplayString((Ye = (Xe = Be.flat) == null ? void 0 : Xe.type) == null ? void 0 : Ye.teaser), 1)) : createCommentVNode("", !0)
6061
+ (Ke = (ii = Be.flat) == null ? void 0 : ii.type) != null && Ke.teaser ? (openBlock(), createElementBlock("div", _hoisted_5$6, toDisplayString((Xe = (Ye = Be.flat) == null ? void 0 : Ye.type) == null ? void 0 : Xe.teaser), 1)) : createCommentVNode("", !0)
6048
6062
  ])) : createCommentVNode("", !0),
6049
- createElementVNode("div", _hoisted_6$4, [
6063
+ createElementVNode("div", _hoisted_6$5, [
6050
6064
  (ei = Be.flat) != null && ei.block_id ? (openBlock(), createBlock(_sfc_main$y, {
6051
6065
  key: 0,
6052
6066
  keyName: unref(tr)("block"),
@@ -6100,9 +6114,11 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
6100
6114
  }, null, 8, ["keyName", "value"]))), 256)) : createCommentVNode("", !0)
6101
6115
  ])
6102
6116
  ]),
6103
- createElementVNode("div", _hoisted_7$3, [
6117
+ createElementVNode("div", _hoisted_7$4, [
6104
6118
  createElementVNode("div", {
6105
- class: normalizeClass(["irep-flat-modal-price-container ire-w-fit ire-rounded-sm ire-bg-[var(--primary-color)] ire-p-2 ire-text-4xl ire-text-white", [`irep-flat-modal--${((ki = (Ci = Be.flat) == null ? void 0 : Ci.conf) == null ? void 0 : ki.replace(/ /g, "-")) || "price"}`]])
6119
+ class: normalizeClass(["irep-flat-modal-price-container ire-w-fit ire-rounded-sm ire-bg-[var(--primary-color)] ire-p-2 ire-text-4xl ire-text-white", [
6120
+ `irep-flat-modal--${((ki = (Ci = Be.flat) == null ? void 0 : Ci.conf) == null ? void 0 : ki.replace(/ /g, "-")) || "price"}`
6121
+ ]])
6106
6122
  }, [
6107
6123
  (Si = Be.flat) != null && Si.conf ? (openBlock(), createElementBlock("div", _hoisted_8$1, toDisplayString(unref(tr)(Be.flat.conf)), 1)) : (Ei = Be.flat) != null && Ei.request_price ? (openBlock(), createElementBlock("div", _hoisted_9$1, toDisplayString(unref(tr)("Request Price")), 1)) : ($i = Be.flat) != null && $i.offer_price ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
6108
6124
  createElementVNode("div", _hoisted_11$1, [
@@ -6113,14 +6129,14 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
6113
6129
  createTextVNode(toDisplayString(unref(getPrice)(Number((Pi = Be.flat) == null ? void 0 : Pi.offer_price))) + " ", 1),
6114
6130
  createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
6115
6131
  ])
6116
- ])) : (Mi = Be.flat) != null && Mi.price ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
6117
- createTextVNode(toDisplayString(unref(getPrice)(Number((Ni = Be.flat) == null ? void 0 : Ni.price))) + " ", 1),
6132
+ ])) : Number((Ni = Be.flat) == null ? void 0 : Ni.price_n) > 0 ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
6133
+ createTextVNode(toDisplayString(unref(getPrice)(Number((Mi = Be.flat) == null ? void 0 : Mi.price))) + " ", 1),
6118
6134
  createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
6119
- ])) : createCommentVNode("", !0)
6135
+ ])) : (openBlock(), createElementBlock("div", _hoisted_13$1, toDisplayString(unref(tr)("available")), 1))
6120
6136
  ], 2),
6121
- createElementVNode("div", _hoisted_13$1, toDisplayString(unref(tr)("price")), 1)
6137
+ createElementVNode("div", _hoisted_14, toDisplayString(unref(tr)("price")), 1)
6122
6138
  ]),
6123
- createElementVNode("div", _hoisted_14, [
6139
+ createElementVNode("div", _hoisted_15, [
6124
6140
  (Vi = (Oi = (Ti = Be.flat) == null ? void 0 : Ti.files) == null ? void 0 : Oi[0]) != null && Vi.url ? (openBlock(), createElementBlock("a", {
6125
6141
  key: 0,
6126
6142
  href: (Ri = (Li = (Di = Be.flat) == null ? void 0 : Di.files) == null ? void 0 : Li[0]) == null ? void 0 : Ri.url,
@@ -6132,8 +6148,8 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
6132
6148
  variant: "outline",
6133
6149
  class: "ire-w-full"
6134
6150
  }, null, 8, ["title"])
6135
- ], 8, _hoisted_15)) : createCommentVNode("", !0),
6136
- Re.value ? (openBlock(), createElementBlock("div", _hoisted_16, [
6151
+ ], 8, _hoisted_16)) : createCommentVNode("", !0),
6152
+ Re.value ? (openBlock(), createElementBlock("div", _hoisted_17, [
6137
6153
  createVNode(_sfc_main$x, {
6138
6154
  title: unref(tr)("request callback"),
6139
6155
  active: "",
@@ -6176,7 +6192,7 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6176
6192
  __name: "PreviewModal",
6177
6193
  emits: ["close"],
6178
6194
  setup(Be) {
6179
- const _e = useGlobalStore$1(), { cssVariables: ke } = storeToRefs(_e);
6195
+ const _e = useGlobalStore(), { cssVariables: ke } = storeToRefs(_e);
6180
6196
  return onMounted(() => {
6181
6197
  const $e = window.innerWidth - document.documentElement.clientWidth;
6182
6198
  document.body.style.overflow = "hidden", document.body.style.paddingRight = `${$e}px`, document.documentElement.style.overflow = "hidden";
@@ -6250,7 +6266,7 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6250
6266
  },
6251
6267
  emits: ["changeComponent"],
6252
6268
  setup(Be, { emit: _e }) {
6253
- const ke = _e, $e = Be, Ne = inject("showFlatModal"), Ve = useGlobalStore$1(), { openReservedFlat: De, openSoldFlat: Le } = storeToRefs(Ve), Ae = ref(), Ie = ref(null), Re = ref(), ze = ref(), je = computed$1(() => {
6269
+ const ke = _e, $e = Be, Ne = inject("showFlatModal"), Ve = useGlobalStore(), { openReservedFlat: De, openSoldFlat: Le } = storeToRefs(Ve), Ae = ref(), Ie = ref(null), Re = ref(), ze = ref(), je = computed$1(() => {
6254
6270
  var qe, Ue;
6255
6271
  if ((qe = $e.block) != null && qe.svg)
6256
6272
  return (Ue = $e.block) == null ? void 0 : Ue.svg;
@@ -6269,19 +6285,19 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6269
6285
  var Ue;
6270
6286
  if (!Ae.value) return;
6271
6287
  ((Ue = Ae.value) == null ? void 0 : Ue.querySelectorAll("g")).forEach((Ge) => {
6272
- var ii, Ke, Xe, Ye;
6288
+ var ii, Ke, Ye, Xe;
6273
6289
  const Je = Ge == null ? void 0 : Ge.getAttribute("id"), Ze = (Ke = (ii = $e.block) == null ? void 0 : ii.polygon_data) == null ? void 0 : Ke.find(
6274
6290
  (ei) => (ei == null ? void 0 : ei.key) === Je
6275
6291
  ), Qe = Ze == null ? void 0 : Ze.id;
6276
6292
  let oi = "";
6277
6293
  switch (Ze == null ? void 0 : Ze.type) {
6278
6294
  case "floor": {
6279
- const ei = (Xe = $e.floors) == null ? void 0 : Xe.find((ti) => ti.id === Qe);
6295
+ const ei = (Ye = $e.floors) == null ? void 0 : Ye.find((ti) => ti.id === Qe);
6280
6296
  oi = getConfValue((ei == null ? void 0 : ei.conf) || "");
6281
6297
  break;
6282
6298
  }
6283
6299
  case "flat": {
6284
- const ei = (Ye = $e.flats) == null ? void 0 : Ye.find((ti) => ti.id === Qe);
6300
+ const ei = (Xe = $e.flats) == null ? void 0 : Xe.find((ti) => ti.id === Qe);
6285
6301
  oi = getConfValue((ei == null ? void 0 : ei.conf) || "");
6286
6302
  break;
6287
6303
  }
@@ -6297,13 +6313,13 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6297
6313
  ), watch(
6298
6314
  () => Ie.value,
6299
6315
  (qe) => {
6300
- var Ge, Je, Ze, Qe, oi, ii, Ke, Xe;
6316
+ var Ge, Je, Ze, Qe, oi, ii, Ke, Ye;
6301
6317
  if (!qe) return;
6302
6318
  Ve.hoverdSvg = qe;
6303
6319
  const Ue = qe == null ? void 0 : qe.parentElement;
6304
6320
  if (Ue && (Ue == null ? void 0 : Ue.nodeName) === "g") {
6305
- const Ye = Ue == null ? void 0 : Ue.getAttribute("id");
6306
- if (!Ye || (Re.value = ((Je = (Ge = $e.block) == null ? void 0 : Ge.polygon_data) == null ? void 0 : Je.find((ei) => (ei == null ? void 0 : ei.key) === Ye)) || null, !Re.value)) return;
6321
+ const Xe = Ue == null ? void 0 : Ue.getAttribute("id");
6322
+ if (!Xe || (Re.value = ((Je = (Ge = $e.block) == null ? void 0 : Ge.polygon_data) == null ? void 0 : Je.find((ei) => (ei == null ? void 0 : ei.key) === Xe)) || null, !Re.value)) return;
6307
6323
  if (((Ze = Re.value) == null ? void 0 : Ze.type) === "floor") {
6308
6324
  const ei = (Qe = $e.floors) == null ? void 0 : Qe.find(
6309
6325
  (ti) => {
@@ -6321,7 +6337,7 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6321
6337
  );
6322
6338
  ze.value = ei;
6323
6339
  } else if (((Ke = Re.value) == null ? void 0 : Ke.type) === "tooltip") {
6324
- const ei = (Xe = $e.actions) == null ? void 0 : Xe.find(
6340
+ const ei = (Ye = $e.actions) == null ? void 0 : Ye.find(
6325
6341
  (ti) => {
6326
6342
  var ni;
6327
6343
  return (ti == null ? void 0 : ti.id) === ((ni = Re.value) == null ? void 0 : ni.id);
@@ -6379,7 +6395,7 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6379
6395
  }), _sfc_main$i = /* @__PURE__ */ defineComponent({
6380
6396
  __name: "MouseTracker",
6381
6397
  setup(Be) {
6382
- const _e = useGlobalStore$1(), ke = ref(!0), $e = ref(-400), Ne = ref(-400), Ve = ref(null);
6398
+ const _e = useGlobalStore(), ke = ref(!0), $e = ref(-400), Ne = ref(-400), Ve = ref(null);
6383
6399
  let De = null, Le = 0, Ae = 0;
6384
6400
  const Ie = (je, Fe, He) => je * (1 - He) + Fe * He, Re = () => {
6385
6401
  if (De) return;
@@ -6409,7 +6425,7 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6409
6425
  }), _sfc_main$h = /* @__PURE__ */ defineComponent({
6410
6426
  __name: "Preview",
6411
6427
  setup(__props) {
6412
- const globalStore = useGlobalStore$1(), { getMetaValue } = globalStore, { irePlaginWp, shortcodeData } = storeToRefs(globalStore), flow = ref(
6428
+ const globalStore = useGlobalStore(), { getMetaValue } = globalStore, { irePlaginWp, shortcodeData } = storeToRefs(globalStore), flow = ref(
6413
6429
  "projectFlow"
6414
6430
  ), hoveredData = ref(), showModal = ref(!1), activeBlock = ref(), activeFloor = ref(), showFlatModal = ref(), project = computed$1(() => {
6415
6431
  var Be;
@@ -6607,7 +6623,7 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6607
6623
  irePlugin: {}
6608
6624
  },
6609
6625
  setup(Be) {
6610
- const _e = Be, ke = useGlobalStore$1();
6626
+ const _e = Be, ke = useGlobalStore();
6611
6627
  return ke.setData(_e.data), ke.setIrePlaginWp(_e.irePlugin), provide("fromListView", !1), ($e, Ne) => (openBlock(), createBlock(_sfc_main$L, null, {
6612
6628
  default: withCtx(() => [
6613
6629
  createVNode(_sfc_main$h)
@@ -6650,14 +6666,14 @@ function _sfc_render$8(Be, _e) {
6650
6666
  }, null, -1)
6651
6667
  ])]);
6652
6668
  }
6653
- const Placeholder = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$8]]), _hoisted_1$e = { class: "ire-relative ire-pt-[70%]" }, _hoisted_2$7 = ["src"], _hoisted_3$7 = { key: 1 }, _hoisted_4$5 = { class: "ire-mt-4 ire-flex ire-flex-col ire-gap-3" }, _hoisted_5$4 = { class: "flex ire-justify-between ire-gap-2 ire-text-center" }, _hoisted_6$3 = { class: "ire-text-left ire-text-lg ire-font-semibold" }, _hoisted_7$2 = { key: 0 }, _hoisted_8 = { key: 1 }, _hoisted_9 = { class: "ire-text-xs ire-text-gray-500 ire-line-through" }, _hoisted_10 = { class: "ire-text-base" }, _hoisted_11 = { key: 2 }, _hoisted_12 = { key: 3 }, _hoisted_13 = { class: "ire-right-[2px] ire-text-base" }, _sfc_main$e = /* @__PURE__ */ defineComponent({
6669
+ const Placeholder = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$8]]), _hoisted_1$e = { class: "ire-relative ire-pt-[70%]" }, _hoisted_2$7 = ["src"], _hoisted_3$7 = { key: 1 }, _hoisted_4$5 = { class: "ire-mt-4 ire-flex ire-flex-col ire-gap-3" }, _hoisted_5$5 = { class: "flex ire-justify-between ire-gap-2 ire-text-center" }, _hoisted_6$4 = { class: "ire-text-left ire-text-lg ire-font-semibold" }, _hoisted_7$3 = { key: 0 }, _hoisted_8 = { key: 1 }, _hoisted_9 = { class: "ire-text-xs ire-text-gray-500 ire-line-through" }, _hoisted_10 = { class: "ire-text-base" }, _hoisted_11 = { key: 2 }, _hoisted_12 = { key: 3 }, _hoisted_13 = { class: "ire-right-[2px] ire-text-base" }, _sfc_main$e = /* @__PURE__ */ defineComponent({
6654
6670
  __name: "FlatCard",
6655
6671
  props: {
6656
6672
  flat: {}
6657
6673
  },
6658
6674
  emits: ["openFlat"],
6659
6675
  setup(Be, { emit: _e }) {
6660
- const ke = _e, $e = Be, Ne = useGlobalStore$1(), Ve = computed$1(() => {
6676
+ const ke = _e, $e = Be, Ne = useGlobalStore(), Ve = computed$1(() => {
6661
6677
  var Ae, Ie;
6662
6678
  return [
6663
6679
  ...((Ae = $e.flat.type) == null ? void 0 : Ae.image_3d) || [],
@@ -6674,11 +6690,11 @@ const Placeholder = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_re
6674
6690
  })() : []).find((ze) => ze.title === $e.flat.conf);
6675
6691
  return (Re == null ? void 0 : Re.type_color) || null;
6676
6692
  }), Le = computed$1(() => De.value ? null : $e.flat.conf === "reserved" ? "warning" : $e.flat.conf === "sold" ? "danger" : null);
6677
- return console.log("globalStore", Ne.getMetaValue("custom_types")), (Ae, Ie) => {
6678
- var Re, ze;
6693
+ return (Ae, Ie) => {
6694
+ var Re, ze, je;
6679
6695
  return openBlock(), createElementBlock("div", {
6680
6696
  class: "irep-flat-card ire-border-l-solid ire-group ire-cursor-pointer ire-rounded-sm ire-border-b ire-border-gray-200 ire-p-2 ire-pb-8 ire-text-black ire-transition-all ire-duration-300 md:ire-border-b-0 md:ire-border-l md:ire-p-8",
6681
- onClick: Ie[0] || (Ie[0] = (je) => ke("openFlat", Be.flat.id))
6697
+ onClick: Ie[0] || (Ie[0] = (Fe) => ke("openFlat", Be.flat.id))
6682
6698
  }, [
6683
6699
  createElementVNode("div", _hoisted_1$e, [
6684
6700
  Ve.value[0] ? (openBlock(), createElementBlock("img", {
@@ -6691,8 +6707,8 @@ const Placeholder = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_re
6691
6707
  ]))
6692
6708
  ]),
6693
6709
  createElementVNode("div", _hoisted_4$5, [
6694
- createElementVNode("div", _hoisted_5$4, [
6695
- createElementVNode("div", _hoisted_6$3, toDisplayString(Be.flat.flat_number), 1),
6710
+ createElementVNode("div", _hoisted_5$5, [
6711
+ createElementVNode("div", _hoisted_6$4, toDisplayString(Be.flat.flat_number), 1),
6696
6712
  Be.flat.conf ? (openBlock(), createBlock(_sfc_main$s, {
6697
6713
  key: 0,
6698
6714
  title: unref(tr)(Be.flat.conf),
@@ -6700,13 +6716,13 @@ const Placeholder = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_re
6700
6716
  color: De.value
6701
6717
  }, null, 8, ["title", "badge-style", "color"])) : createCommentVNode("", !0)
6702
6718
  ]),
6703
- Be.flat.request_price ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(unref(tr)("Request Price")), 1)) : Be.flat.offer_price ? (openBlock(), createElementBlock("div", _hoisted_8, [
6719
+ Be.flat.request_price ? (openBlock(), createElementBlock("div", _hoisted_7$3, toDisplayString(unref(tr)("Request Price")), 1)) : Be.flat.offer_price ? (openBlock(), createElementBlock("div", _hoisted_8, [
6704
6720
  createElementVNode("div", _hoisted_9, toDisplayString(unref(getPrice)(+Be.flat.price_n)) + " " + toDisplayString(unref(currencySymbol)()), 1),
6705
6721
  createElementVNode("div", _hoisted_10, toDisplayString(unref(getPrice)(+Be.flat.offer_price)) + " " + toDisplayString(unref(currencySymbol)()), 1)
6706
- ])) : Be.flat.price !== "0.00" ? (openBlock(), createElementBlock("div", _hoisted_11, toDisplayString(unref(getPrice)(+Be.flat.price_n)) + " " + toDisplayString(unref(currencySymbol)()), 1)) : createCommentVNode("", !0),
6707
- (Re = Be.flat.type) != null && Re.area_m2 ? (openBlock(), createElementBlock("div", _hoisted_12, [
6722
+ ])) : Number((Re = Be.flat) == null ? void 0 : Re.price_n) > 0 ? (openBlock(), createElementBlock("div", _hoisted_11, toDisplayString(unref(getPrice)(+Be.flat.price_n)) + " " + toDisplayString(unref(currencySymbol)()), 1)) : createCommentVNode("", !0),
6723
+ (ze = Be.flat.type) != null && ze.area_m2 ? (openBlock(), createElementBlock("div", _hoisted_12, [
6708
6724
  createElementVNode("span", _hoisted_13, [
6709
- createTextVNode(toDisplayString(unref(getArea)(+((ze = Be.flat.type) == null ? void 0 : ze.area_m2_n))) + " " + toDisplayString(unref(getAreaUnitLabel)()) + " ", 1),
6725
+ createTextVNode(toDisplayString(unref(getArea)(+((je = Be.flat.type) == null ? void 0 : je.area_m2_n))) + " " + toDisplayString(unref(getAreaUnitLabel)()) + " ", 1),
6710
6726
  Ie[1] || (Ie[1] = createElementVNode("sup", { class: "ire-bg-transparent ire-text-sm" }, " 2 ", -1))
6711
6727
  ])
6712
6728
  ])) : createCommentVNode("", !0)
@@ -6933,7 +6949,7 @@ pushScopeId("data-v-2a30deb0");
6933
6949
  const _hoisted_1$6$1 = { class: "Pagination" }, _hoisted_2$5$1 = {
6934
6950
  key: 0,
6935
6951
  class: "PaginationControl"
6936
- }, _hoisted_3$6 = { class: "PaginationControl" }, _hoisted_4$4 = { class: "PaginationControl" }, _hoisted_5$3 = {
6952
+ }, _hoisted_3$6 = { class: "PaginationControl" }, _hoisted_4$4 = { class: "PaginationControl" }, _hoisted_5$4 = {
6937
6953
  key: 1,
6938
6954
  class: "PaginationControl"
6939
6955
  };
@@ -6972,7 +6988,7 @@ const render$6 = /* @__PURE__ */ _withId$1((Be, _e, ke, $e, Ne, Ve) => {
6972
6988
  onClick: Be.goToNext
6973
6989
  }, null, 8, ["class", "onClick"])
6974
6990
  ]),
6975
- Be.hideLastButton ? createCommentVNode("v-if", !0) : (openBlock(), createBlock("li", _hoisted_5$3, [
6991
+ Be.hideLastButton ? createCommentVNode("v-if", !0) : (openBlock(), createBlock("li", _hoisted_5$4, [
6976
6992
  createVNode(Re, {
6977
6993
  class: ["Control", { "Control-active": Be.isNextControlsActive }],
6978
6994
  onClick: Be.goToLast
@@ -7009,8 +7025,8 @@ const TableIcon = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_rend
7009
7025
  },
7010
7026
  setup(Be) {
7011
7027
  return (_e, ke) => (openBlock(), createElementBlock("tr", _hoisted_1$b, [
7012
- (openBlock(!0), createElementBlock(Fragment, null, renderList(Be.fields, ($e) => (openBlock(), createElementBlock("td", {
7013
- key: $e,
7028
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(Be.fields, ($e, Ne) => (openBlock(), createElementBlock("td", {
7029
+ key: Ne,
7014
7030
  class: "irep-table-item !ire-p-4 ire-text-black [&_div]:ire-min-w-max"
7015
7031
  }, [
7016
7032
  typeof $e == "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -7074,7 +7090,7 @@ function _sfc_render$5(Be, _e) {
7074
7090
  }, null, -1)
7075
7091
  ])]);
7076
7092
  }
7077
- const SortingArrowAsc = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$5]]), _hoisted_1$8 = { class: "ire-overflow-x-auto" }, _hoisted_2$4 = { class: "irep-flats-list__table !ire-m-0 ire-w-full ire-border-collapse ire-border-spacing-0" }, _hoisted_3$4 = { class: "irep-flats-list__table-thead" }, _hoisted_4$3 = { class: "ire-border-b ire-border-b-gray-200" }, _hoisted_5$2 = ["onClick"], _hoisted_6$2 = { class: "ire-flex ire-min-w-max ire-items-center ire-gap-3" }, _hoisted_7$1 = { class: "irep-flats-list__table-heading ire-font-semibold" }, _sfc_main$9 = /* @__PURE__ */ defineComponent({
7093
+ const SortingArrowAsc = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$5]]), _hoisted_1$8 = { class: "ire-overflow-x-auto" }, _hoisted_2$4 = { class: "irep-flats-list__table !ire-m-0 ire-w-full ire-border-collapse ire-border-spacing-0" }, _hoisted_3$4 = { class: "irep-flats-list__table-thead" }, _hoisted_4$3 = { class: "ire-border-b ire-border-b-gray-200" }, _hoisted_5$3 = ["onClick"], _hoisted_6$3 = { class: "ire-flex ire-min-w-max ire-items-center ire-gap-3" }, _hoisted_7$2 = { class: "irep-flats-list__table-heading ire-font-semibold" }, _sfc_main$9 = /* @__PURE__ */ defineComponent({
7078
7094
  __name: "Table",
7079
7095
  props: {
7080
7096
  data: {}
@@ -7089,8 +7105,9 @@ const SortingArrowAsc = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sf
7089
7105
  ((Fe = je == null ? void 0 : je.type) == null ? void 0 : Fe.toString()) === "Symbol(v-fgt)" && (je != null && je.children) ? ze.push(...je.children) : ze.push(je);
7090
7106
  }), ze;
7091
7107
  }), Le = computed$1(() => De.value.map((ze) => {
7092
- var je;
7093
- return ((je = ze.props) == null ? void 0 : je.field) || ze.children.body;
7108
+ var Fe, He;
7109
+ const je = (Fe = ze.children) == null ? void 0 : Fe.body;
7110
+ return typeof je == "function" ? je : (He = ze.props) == null ? void 0 : He.field;
7094
7111
  })), Ae = computed$1(() => De.value.map((ze) => ({
7095
7112
  ...ze.props
7096
7113
  // sortable: typeof vnode.props.sortable !== "undefined",
@@ -7111,8 +7128,8 @@ const SortingArrowAsc = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sf
7111
7128
  }]),
7112
7129
  onClick: (Fe) => Ie(je)
7113
7130
  }, [
7114
- createElementVNode("div", _hoisted_6$2, [
7115
- createElementVNode("div", _hoisted_7$1, toDisplayString(unref(tr)(je == null ? void 0 : je.header)), 1),
7131
+ createElementVNode("div", _hoisted_6$3, [
7132
+ createElementVNode("div", _hoisted_7$2, toDisplayString(unref(tr)(je == null ? void 0 : je.header)), 1),
7116
7133
  createElementVNode("div", {
7117
7134
  class: normalizeClass(["ire-flex ire-justify-center ire-text-center [&_svg]:ire-size-3", {
7118
7135
  "[&_path]:ire-fill-white": unref(Ne) === (je.field || je.sortableField) && unref(Ve),
@@ -7122,7 +7139,7 @@ const SortingArrowAsc = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sf
7122
7139
  unref(Ne) === (je.field || je.sortableField) && unref(Ve) ? (openBlock(), createBlock(SortingArrowAsc, { key: 0 })) : je.sortable ? (openBlock(), createBlock(SortingArrow, { key: 1 })) : createCommentVNode("", !0)
7123
7140
  ], 2)
7124
7141
  ])
7125
- ], 10, _hoisted_5$2))), 128))
7142
+ ], 10, _hoisted_5$3))), 128))
7126
7143
  ])
7127
7144
  ]),
7128
7145
  createElementVNode("tbody", null, [
@@ -7206,7 +7223,7 @@ const MagnifyIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_re
7206
7223
  },
7207
7224
  emits: ["openFlat"],
7208
7225
  setup(Be, { emit: _e }) {
7209
- const ke = _e, $e = useGlobalStore$1(), { shortcodeData: Ne } = storeToRefs($e), Ve = computed$1(() => {
7226
+ const ke = _e, $e = useGlobalStore(), { shortcodeData: Ne } = storeToRefs($e), Ve = computed$1(() => {
7210
7227
  var De;
7211
7228
  return (De = Ne.value) == null ? void 0 : De.configs.tableContactUrl;
7212
7229
  });
@@ -7241,14 +7258,14 @@ const MagnifyIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_re
7241
7258
  ]);
7242
7259
  };
7243
7260
  }
7244
- }), _hoisted_1$3 = { class: "irep-flats-table" }, _hoisted_2$2 = { class: "ire-flex ire-flex-col md:ire-hidden" }, _hoisted_3$2 = { class: "irep-flats-table__responsive-row-left ire-flex-1" }, _hoisted_4$2 = { class: "ire-text-black" }, _sfc_main$3 = /* @__PURE__ */ defineComponent({
7261
+ }), _hoisted_1$3 = { class: "irep-flats-table" }, _hoisted_2$2 = { class: "ire-flex ire-flex-col md:ire-hidden" }, _hoisted_3$2 = { class: "irep-flats-table__responsive-row-left ire-flex-1" }, _hoisted_4$2 = { class: "ire-text-black" }, _hoisted_5$2 = { class: "ire-uppercase" }, _hoisted_6$2 = { key: 1 }, _hoisted_7$1 = { class: "ire-uppercase" }, _sfc_main$3 = /* @__PURE__ */ defineComponent({
7245
7262
  __name: "FlatsTable",
7246
7263
  props: {
7247
7264
  flats: {}
7248
7265
  },
7249
7266
  emits: ["sortColumn", "openFlat"],
7250
7267
  setup(Be, { emit: _e }) {
7251
- const ke = _e, $e = useGlobalStore$1(), { shortcodeData: Ne } = storeToRefs($e), Ve = computed$1(
7268
+ const ke = _e, $e = useGlobalStore(), { shortcodeData: Ne } = storeToRefs($e), Ve = computed$1(
7252
7269
  () => {
7253
7270
  var Ie, Re;
7254
7271
  return ((Re = (Ie = Ne.value) == null ? void 0 : Ie.configs) == null ? void 0 : Re.tableFields) || [];
@@ -7295,7 +7312,22 @@ const MagnifyIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_re
7295
7312
  field: ze.field,
7296
7313
  header: ze.header,
7297
7314
  sortable: ze == null ? void 0 : ze.sortable
7298
- }, null, 8, ["field", "header", "sortable"]))), 128)),
7315
+ }, createSlots({ _: 2 }, [
7316
+ ze.field === "price" ? {
7317
+ name: "body",
7318
+ fn: withCtx((je) => [
7319
+ createElementVNode("div", _hoisted_5$2, [
7320
+ unref(getNested)(je.data, "conf") || +unref(getNested)(je.data, "price_n") == 0 ? (openBlock(), createBlock(_sfc_main$s, {
7321
+ key: 0,
7322
+ title: unref(tr)(unref(getNested)(je.data, ze.field)),
7323
+ "badge-style": unref(getBadgeStyle)(unref(getNested)(je.data, ze.field)),
7324
+ color: unref(getCustomTypeColor)(unref(getNested)(je.data, ze.field)) || !unref(getBadgeStyle)(unref(getNested)(je.data, ze.field)) && "rgba(0, 0, 0, 0.2)"
7325
+ }, null, 8, ["title", "badge-style", "color"])) : (openBlock(), createElementBlock("span", _hoisted_6$2, toDisplayString(unref(getNested)(je.data, ze.field)), 1))
7326
+ ])
7327
+ ]),
7328
+ key: "0"
7329
+ } : void 0
7330
+ ]), 1032, ["field", "header", "sortable"]))), 128)),
7299
7331
  createVNode(Column, {
7300
7332
  header: unref(tr)("action"),
7301
7333
  sortable: ""
@@ -7322,7 +7354,15 @@ const MagnifyIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_re
7322
7354
  field: ze.field,
7323
7355
  header: ze.header,
7324
7356
  sortable: ze == null ? void 0 : ze.sortable
7325
- }, null, 8, ["field", "header", "sortable"]))), 128)),
7357
+ }, createSlots({ _: 2 }, [
7358
+ ze.field === "price" ? {
7359
+ name: "body",
7360
+ fn: withCtx((je) => [
7361
+ createElementVNode("div", _hoisted_7$1, toDisplayString(unref(getNested)(je.data, ze.field)), 1)
7362
+ ]),
7363
+ key: "0"
7364
+ } : void 0
7365
+ ]), 1032, ["field", "header", "sortable"]))), 128)),
7326
7366
  createVNode(Column, {
7327
7367
  header: unref(tr)("action"),
7328
7368
  sortable: ""
@@ -7348,7 +7388,7 @@ const MagnifyIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_re
7348
7388
  },
7349
7389
  emits: ["update:filtersObject"],
7350
7390
  setup(Be) {
7351
- const _e = useGlobalStore$1(), { shortcodeData: ke } = storeToRefs(_e), $e = [
7391
+ const _e = useGlobalStore(), { shortcodeData: ke } = storeToRefs(_e), $e = [
7352
7392
  { title: tr("any price"), value: "0-Infinity" },
7353
7393
  {
7354
7394
  title: `${currencySymbol()} 0 - ${currencySymbol()} 50,000`,
@@ -7557,7 +7597,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7557
7597
  orderBy: {}
7558
7598
  },
7559
7599
  setup(Be) {
7560
- const _e = Be, ke = useGlobalStore$1(), { getMetaValue: $e } = ke, {
7600
+ const _e = Be, ke = useGlobalStore(), { getMetaValue: $e } = ke, {
7561
7601
  shortcodeData: Ne,
7562
7602
  cssVariables: Ve,
7563
7603
  flats: De
@@ -7574,64 +7614,64 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7574
7614
  }), Ue = computed$1(() => {
7575
7615
  if (Ne.value)
7576
7616
  return Ne.value.types;
7577
- }), Ge = computed$1(() => Ne.value ? Ne.value.flats.map((Ye) => {
7617
+ }), Ge = computed$1(() => Ne.value ? Ne.value.flats.map((Xe) => {
7578
7618
  var si, li, hi, di, fi, ui;
7579
7619
  const ei = (li = (si = Ne.value) == null ? void 0 : si.floors) == null ? void 0 : li.find(
7580
- (ci) => ci.id === Ye.floor_id
7620
+ (ci) => ci.id === Xe.floor_id
7581
7621
  ), ti = (di = (hi = Ne.value) == null ? void 0 : hi.blocks) == null ? void 0 : di.find(
7582
- (ci) => ci.id === Ye.block_id
7583
- ), ni = Ye.use_type || !Ye.type ? ((fi = Ue.value) == null ? void 0 : fi.find((ci) => ci.id === Ye.type_id)) ?? Ye.type : Ye.type, ri = $e("custom_types"), ai = ri == null ? void 0 : ri.find((ci) => ci.value === Ye.conf);
7622
+ (ci) => ci.id === Xe.block_id
7623
+ ), ni = Xe.use_type || !Xe.type ? ((fi = Ue.value) == null ? void 0 : fi.find((ci) => ci.id === Xe.type_id)) ?? Xe.type : Xe.type, ri = $e("custom_types"), ai = ri == null ? void 0 : ri.find((ci) => ci.value === Xe.conf);
7584
7624
  return {
7585
- ...Ye,
7625
+ ...Xe,
7586
7626
  type: {
7587
7627
  ...ni,
7588
7628
  area_m2_n: Number(ni == null ? void 0 : ni.area_m2),
7589
7629
  area_m2: `${getArea(Number(ni == null ? void 0 : ni.area_m2))} ${getAreaUnitLabel()}²`,
7590
- rooms_count: getRoomCount(Number((ui = Ye.type) == null ? void 0 : ui.rooms_count))
7630
+ rooms_count: getRoomCount(Number((ui = Xe.type) == null ? void 0 : ui.rooms_count))
7591
7631
  },
7592
- price_n: Number(Ye.price),
7593
- price: Ye.conf ? ai ? ai.title : tr(Ye.conf) : Ye.request_price ? tr("Request Price") : `${getPrice(Number((Ye == null ? void 0 : Ye.offer_price) || (Ye == null ? void 0 : Ye.price)))} ${currencySymbol()}`,
7632
+ price_n: Number(Xe.price),
7633
+ price: Xe.conf ? ai ? ai.title : tr(Xe.conf) : Xe.request_price ? tr("Request Price") : Number(Xe == null ? void 0 : Xe.price) ? `${getPrice(Number((Xe == null ? void 0 : Xe.offer_price) || (Xe == null ? void 0 : Xe.price)))} ${currencySymbol()}` : tr("available"),
7594
7634
  floor_title: ei == null ? void 0 : ei.title,
7595
7635
  floor_number: Number.isFinite(Number(ei == null ? void 0 : ei.floor_number)) ? Number(ei == null ? void 0 : ei.floor_number) : "",
7596
7636
  block_title: ti == null ? void 0 : ti.title,
7597
- conf: ai ? ai.title : Ye.conf
7637
+ conf: ai ? ai.title : Xe.conf
7598
7638
  };
7599
- }).map((Ye) => {
7639
+ }).map((Xe) => {
7600
7640
  var ti;
7601
- const ei = (ti = Ye.type) == null ? void 0 : ti.other.reduce(
7641
+ const ei = (ti = Xe.type) == null ? void 0 : ti.other.reduce(
7602
7642
  (ni, ri) => (ni[ri.key] = ri.value, ni),
7603
7643
  {}
7604
7644
  );
7605
- return { ...Ye, type: { ...Ye.type, other: ei } };
7606
- }).sort((Ye, ei) => {
7645
+ return { ...Xe, type: { ...Xe.type, other: ei } };
7646
+ }).sort((Xe, ei) => {
7607
7647
  const ti = Ae.value;
7608
- let ni = Ye[ti], ri = ei[ti];
7609
- ti != null && ti.includes(".") && (ni = getNested(Ye, ti), ri = getNested(ei, ti)), ni == null && (ni = "0"), ri == null && (ri = "0");
7648
+ let ni = Xe[ti], ri = ei[ti];
7649
+ ti != null && ti.includes(".") && (ni = getNested(Xe, ti), ri = getNested(ei, ti)), ni == null && (ni = "0"), ri == null && (ri = "0");
7610
7650
  const ai = ni.toString(), si = ri.toString();
7611
7651
  return !isNaN(ai) && !isNaN(si) ? Ie.value === "desc" ? si - ai : ai - si : Ie.value === "desc" ? String(ri).localeCompare(String(ni)) : String(ni).localeCompare(String(ri));
7612
7652
  }) : []), Je = computed$1(() => {
7613
- var Xe;
7614
- return Qe.value ? Math.ceil(((Xe = Ze.value) == null ? void 0 : Xe.length) / ze.value) : 0;
7615
- }), Ze = computed$1(() => Ge.value ? Ge.value.filter((Ye) => {
7653
+ var Ye;
7654
+ return Qe.value ? Math.ceil(((Ye = Ze.value) == null ? void 0 : Ye.length) / ze.value) : 0;
7655
+ }), Ze = computed$1(() => Ge.value ? Ge.value.filter((Xe) => {
7616
7656
  var ci, pi, mi, gi, vi;
7617
- const [ei, ti] = qe.value.priceRange.split("-").map(Number), [ni, ri] = qe.value.areaRange.split("-").map(Number), [ai, si] = qe.value.roomRange.split("-").map(Number), li = Ye.price_n >= ei && Ye.price_n <= ti, hi = ((ci = Ye.type) == null ? void 0 : ci.area_m2_n) >= ni && ((pi = Ye.type) == null ? void 0 : pi.area_m2_n) <= ri, di = (mi = qe.value) != null && mi.floor ? Ye.floor_id === qe.value.floor : !0, fi = si === 1 / 0 || +((gi = Ye.type) == null ? void 0 : gi.rooms_count) >= ai && +((vi = Ye.type) == null ? void 0 : vi.rooms_count) <= si;
7657
+ const [ei, ti] = qe.value.priceRange.split("-").map(Number), [ni, ri] = qe.value.areaRange.split("-").map(Number), [ai, si] = qe.value.roomRange.split("-").map(Number), li = Xe.price_n >= ei && Xe.price_n <= ti, hi = ((ci = Xe.type) == null ? void 0 : ci.area_m2_n) >= ni && ((pi = Xe.type) == null ? void 0 : pi.area_m2_n) <= ri, di = (mi = qe.value) != null && mi.floor ? Xe.floor_id === qe.value.floor : !0, fi = si === 1 / 0 || +((gi = Xe.type) == null ? void 0 : gi.rooms_count) >= ai && +((vi = Xe.type) == null ? void 0 : vi.rooms_count) <= si;
7618
7658
  let ui = !0;
7619
- return qe.value.config !== "all" && (qe.value.config === "available" ? ui = !Ye.conf : qe.value.config === "reserved" ? ui = Ye.conf === "reserved" : qe.value.config === "sold" && (ui = Ye.conf === "sold")), li && hi && di && fi && ui;
7659
+ return qe.value.config !== "all" && (qe.value.config === "available" ? ui = !Xe.conf : qe.value.config === "reserved" ? ui = Xe.conf === "reserved" : qe.value.config === "sold" && (ui = Xe.conf === "sold")), li && hi && di && fi && ui;
7620
7660
  }) : []), Qe = computed$1(() => {
7621
7661
  var ei;
7622
7662
  if (!((ei = Ne.value) != null && ei.flats)) return [];
7623
- const Xe = (Fe.value - 1) * ze.value, Ye = Xe + ze.value;
7624
- return Ze.value.slice(Xe, Ye);
7625
- }), oi = (Xe, Ye = !0) => {
7626
- Fe.value = Xe, je.value, Ye && Le(je.value, 50), setQuery("flats-page", Xe.toString());
7627
- }, ii = (Xe, Ye) => {
7628
- Ae.value = Xe, Ie.value = Ye;
7629
- }, Ke = (Xe) => {
7663
+ const Ye = (Fe.value - 1) * ze.value, Xe = Ye + ze.value;
7664
+ return Ze.value.slice(Ye, Xe);
7665
+ }), oi = (Ye, Xe = !0) => {
7666
+ Fe.value = Ye, je.value, Xe && Le(je.value, 50), setQuery("flats-page", Ye.toString());
7667
+ }, ii = (Ye, Xe) => {
7668
+ Ae.value = Ye, Ie.value = Xe;
7669
+ }, Ke = (Ye) => {
7630
7670
  var ni;
7631
- const Ye = (ni = De.value) == null ? void 0 : ni.find((ri) => ri.id === Xe), ei = $e("custom_types"), ti = ei == null ? void 0 : ei.find(
7632
- (ri) => ri.value === (Ye == null ? void 0 : Ye.conf)
7671
+ const Xe = (ni = De.value) == null ? void 0 : ni.find((ri) => ri.id === Ye), ei = $e("custom_types"), ti = ei == null ? void 0 : ei.find(
7672
+ (ri) => ri.value === (Xe == null ? void 0 : Xe.conf)
7633
7673
  );
7634
- Ye.conf = ti ? ti.title : Ye == null ? void 0 : Ye.conf, We.value = Ye, He.value = !0;
7674
+ Xe.conf = ti ? ti.title : Xe == null ? void 0 : Xe.conf, We.value = Xe, He.value = !0;
7635
7675
  };
7636
7676
  return watch(
7637
7677
  () => qe.value,
@@ -7642,11 +7682,11 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7642
7682
  deep: !0
7643
7683
  }
7644
7684
  ), onMounted(() => {
7645
- const Xe = getQuery("flats-page");
7646
- Xe && !isNaN(Number(Xe)) && (Fe.value = Number(Xe)), _e.perPage && !isNaN(Number(_e.perPage)) && (ze.value = Number(_e.perPage));
7685
+ const Ye = getQuery("flats-page");
7686
+ Ye && !isNaN(Number(Ye)) && (Fe.value = Number(Ye)), _e.perPage && !isNaN(Number(_e.perPage)) && (ze.value = Number(_e.perPage));
7647
7687
  }), onBeforeMount(() => {
7648
7688
  Re.value = _e.layout === "table", _e.orderBy && (Ae.value = _e.orderBy, Ie.value = "asc");
7649
- }), provide("fromListView", _e.fromListView), (Xe, Ye) => (openBlock(), createBlock(_sfc_main$L, { class: "irep-flats-list ire-text-base" }, {
7689
+ }), provide("fromListView", _e.fromListView), (Ye, Xe) => (openBlock(), createBlock(_sfc_main$L, { class: "irep-flats-list ire-text-base" }, {
7650
7690
  default: withCtx(() => {
7651
7691
  var ei;
7652
7692
  return [
@@ -7657,13 +7697,13 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7657
7697
  createElementVNode("div", _hoisted_1, [
7658
7698
  createVNode(_sfc_main$2, {
7659
7699
  "filters-object": qe.value,
7660
- "onUpdate:filtersObject": Ye[0] || (Ye[0] = (ti) => qe.value = ti)
7700
+ "onUpdate:filtersObject": Xe[0] || (Xe[0] = (ti) => qe.value = ti)
7661
7701
  }, null, 8, ["filters-object"])
7662
7702
  ]),
7663
7703
  Be.layout === "mixed" ? (openBlock(), createElementBlock("div", _hoisted_2, [
7664
7704
  createElementVNode("button", {
7665
7705
  class: "irep-flats-top__mode-switcher-button ire-group ire-flex ire-cursor-pointer ire-items-center ire-gap-1 ire-bg-transparent ire-capitalize",
7666
- onClick: Ye[1] || (Ye[1] = (ti) => Re.value = !Re.value)
7706
+ onClick: Xe[1] || (Xe[1] = (ti) => Re.value = !Re.value)
7667
7707
  }, [
7668
7708
  createElementVNode("div", _hoisted_3, [
7669
7709
  createVNode(Transition, {
@@ -7705,13 +7745,13 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7705
7745
  Re.value ? (openBlock(), createBlock(_sfc_main$3, {
7706
7746
  key: 0,
7707
7747
  flats: Qe.value,
7708
- onSortColumn: Ye[2] || (Ye[2] = (ti, ni) => ii(ti, ni)),
7709
- onOpenFlat: Ye[3] || (Ye[3] = (ti) => Ke(ti))
7748
+ onSortColumn: Xe[2] || (Xe[2] = (ti, ni) => ii(ti, ni)),
7749
+ onOpenFlat: Xe[3] || (Xe[3] = (ti) => Ke(ti))
7710
7750
  }, null, 8, ["flats"])) : (openBlock(), createElementBlock("div", _hoisted_4, [
7711
7751
  (openBlock(!0), createElementBlock(Fragment, null, renderList(Qe.value, (ti) => (openBlock(), createBlock(_sfc_main$e, {
7712
7752
  key: ti.id,
7713
7753
  flat: ti,
7714
- onOpenFlat: Ye[4] || (Ye[4] = (ni) => Ke(ni))
7754
+ onOpenFlat: Xe[4] || (Xe[4] = (ni) => Ke(ni))
7715
7755
  }, null, 8, ["flat"]))), 128))
7716
7756
  ]))
7717
7757
  ]),
@@ -7721,7 +7761,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7721
7761
  createVNode(unref(script$1), {
7722
7762
  modelValue: Fe.value,
7723
7763
  "onUpdate:modelValue": [
7724
- Ye[5] || (Ye[5] = (ti) => Fe.value = ti),
7764
+ Xe[5] || (Xe[5] = (ti) => Fe.value = ti),
7725
7765
  oi
7726
7766
  ],
7727
7767
  pages: Je.value,
@@ -7739,7 +7779,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7739
7779
  He.value && We.value ? (openBlock(), createBlock(_sfc_main$m, {
7740
7780
  key: 0,
7741
7781
  style: normalizeStyle(unref(Ve)),
7742
- onClose: Ye[6] || (Ye[6] = (ti) => He.value = !1)
7782
+ onClose: Xe[6] || (Xe[6] = (ti) => He.value = !1)
7743
7783
  }, {
7744
7784
  default: withCtx(() => [
7745
7785
  createVNode(_sfc_main$o, { flat: We.value }, null, 8, ["flat"])