ire-preview 2.0.4 → 2.0.6
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 +348 -338
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -54,8 +54,8 @@ function prepareDeps(o) {
|
|
|
54
54
|
function cleanupDeps(o) {
|
|
55
55
|
let e, t = o.depsTail, r = t;
|
|
56
56
|
for (; r; ) {
|
|
57
|
-
const
|
|
58
|
-
r.version === -1 ? (r === t && (t =
|
|
57
|
+
const c = r.prevDep;
|
|
58
|
+
r.version === -1 ? (r === t && (t = c), removeSub(r), removeDep(r)) : e = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = c;
|
|
59
59
|
}
|
|
60
60
|
o.deps = e, o.depsTail = t;
|
|
61
61
|
}
|
|
@@ -78,20 +78,20 @@ function refreshComputed(o) {
|
|
|
78
78
|
activeSub = o, shouldTrack = !0;
|
|
79
79
|
try {
|
|
80
80
|
prepareDeps(o);
|
|
81
|
-
const
|
|
82
|
-
(e.version === 0 || hasChanged(
|
|
83
|
-
} catch (
|
|
84
|
-
throw e.version++,
|
|
81
|
+
const c = o.fn(o._value);
|
|
82
|
+
(e.version === 0 || hasChanged(c, o._value)) && (o._value = c, e.version++);
|
|
83
|
+
} catch (c) {
|
|
84
|
+
throw e.version++, c;
|
|
85
85
|
} finally {
|
|
86
86
|
activeSub = t, shouldTrack = r, cleanupDeps(o), o.flags &= -3;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
function removeSub(o, e = !1) {
|
|
90
|
-
const { dep: t, prevSub: r, nextSub:
|
|
91
|
-
if (r && (r.nextSub =
|
|
90
|
+
const { dep: t, prevSub: r, nextSub: c } = o;
|
|
91
|
+
if (r && (r.nextSub = c, o.prevSub = void 0), c && (c.prevSub = r, o.nextSub = void 0), t.subs === o && (t.subs = r, !r && t.computed)) {
|
|
92
92
|
t.computed.flags &= -5;
|
|
93
|
-
for (let
|
|
94
|
-
removeSub(
|
|
93
|
+
for (let _ = t.computed.deps; _; _ = _.nextDep)
|
|
94
|
+
removeSub(_, !0);
|
|
95
95
|
}
|
|
96
96
|
!e && !--t.sc && t.map && t.map.delete(t.key);
|
|
97
97
|
}
|
|
@@ -170,8 +170,8 @@ class ComputedRefImpl {
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
function computed(o, e, t = !1) {
|
|
173
|
-
let r,
|
|
174
|
-
return isFunction(o) ? r = o : (r = o.get,
|
|
173
|
+
let r, c;
|
|
174
|
+
return isFunction(o) ? r = o : (r = o.get, c = o.set), new ComputedRefImpl(r, c, t);
|
|
175
175
|
}
|
|
176
176
|
const _hoisted_1$f = {
|
|
177
177
|
key: 0,
|
|
@@ -219,7 +219,7 @@ const _hoisted_1$f = {
|
|
|
219
219
|
return (e, t) => (openBlock(), createElementBlock("div", null, [
|
|
220
220
|
createVNode(Transition, { name: "ire-fade-in-out" }, {
|
|
221
221
|
default: withCtx(() => {
|
|
222
|
-
var r,
|
|
222
|
+
var r, c, _, m, y, p, f, x, v, s, n, i, d, l, a, h, u, k, g, b, w, C, V, $, E, B, N;
|
|
223
223
|
return [
|
|
224
224
|
e.type && e.hoveredData && e.type !== "tooltip" ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
225
225
|
e.type === "floor" ? (openBlock(), createElementBlock("div", _hoisted_2$8, [
|
|
@@ -227,33 +227,33 @@ const _hoisted_1$f = {
|
|
|
227
227
|
createElementVNode("p", _hoisted_4$5, toDisplayString((r = e.hoveredData) == null ? void 0 : r.floor_number), 1),
|
|
228
228
|
t[0] || (t[0] = createElementVNode("p", { class: "!ire-text-sm ire-uppercase" }, "Floor", -1))
|
|
229
229
|
]),
|
|
230
|
-
(
|
|
231
|
-
(
|
|
232
|
-
(
|
|
233
|
-
createElementVNode("p", _hoisted_9$1, toDisplayString(((
|
|
230
|
+
(c = e.hoveredData) != null && c.conf || (m = (_ = e.hoveredData) == null ? void 0 : _.flats) != null && m.length ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
231
|
+
(y = e.hoveredData) != null && y.conf ? (openBlock(), createElementBlock("div", _hoisted_6$1, toDisplayString((p = e.hoveredData) == null ? void 0 : p.conf), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$1, [
|
|
232
|
+
(x = (f = e.hoveredData) == null ? void 0 : f.counts) != null && x.available ? (openBlock(), createElementBlock("div", _hoisted_8$1, [
|
|
233
|
+
createElementVNode("p", _hoisted_9$1, toDisplayString(((s = (v = e.hoveredData) == null ? void 0 : v.counts) == null ? void 0 : s.available) || 0), 1),
|
|
234
234
|
t[1] || (t[1] = createElementVNode("p", { class: "!ire-text-sm ire-uppercase" }, "Available", -1))
|
|
235
235
|
])) : createCommentVNode("", !0),
|
|
236
|
-
(
|
|
237
|
-
createElementVNode("p", _hoisted_11$1, toDisplayString((l = (
|
|
236
|
+
(i = (n = e.hoveredData) == null ? void 0 : n.counts) != null && i.reserved ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
|
|
237
|
+
createElementVNode("p", _hoisted_11$1, toDisplayString((l = (d = e.hoveredData) == null ? void 0 : d.counts) == null ? void 0 : l.reserved), 1),
|
|
238
238
|
t[2] || (t[2] = createElementVNode("p", { class: "!ire-text-sm ire-uppercase" }, "Reserved", -1))
|
|
239
239
|
])) : createCommentVNode("", !0),
|
|
240
|
-
(
|
|
241
|
-
createElementVNode("p", _hoisted_13$1, toDisplayString((
|
|
240
|
+
(h = (a = e.hoveredData) == null ? void 0 : a.counts) != null && h.sold ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
|
|
241
|
+
createElementVNode("p", _hoisted_13$1, toDisplayString((k = (u = e.hoveredData) == null ? void 0 : u.counts) == null ? void 0 : k.sold), 1),
|
|
242
242
|
t[3] || (t[3] = createElementVNode("p", { class: "!ire-text-sm ire-uppercase" }, "Sold", -1))
|
|
243
243
|
])) : createCommentVNode("", !0)
|
|
244
244
|
]))
|
|
245
245
|
])) : createCommentVNode("", !0)
|
|
246
246
|
])) : e.type === "block" ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
247
247
|
createElementVNode("div", _hoisted_15$1, [
|
|
248
|
-
createElementVNode("p", _hoisted_16$1, toDisplayString((
|
|
248
|
+
createElementVNode("p", _hoisted_16$1, toDisplayString((g = e.hoveredData) == null ? void 0 : g.title), 1)
|
|
249
249
|
])
|
|
250
250
|
])) : e.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
|
|
251
251
|
createElementVNode("div", _hoisted_18$1, [
|
|
252
|
-
createElementVNode("p", _hoisted_19$1, toDisplayString((
|
|
252
|
+
createElementVNode("p", _hoisted_19$1, toDisplayString((b = e.hoveredData) == null ? void 0 : b.flat_number), 1),
|
|
253
253
|
t[4] || (t[4] = createElementVNode("p", { class: "!ire-mt-2 !ire-text-xs ire-uppercase" }, "Apartment", -1))
|
|
254
254
|
]),
|
|
255
255
|
createElementVNode("div", _hoisted_20$1, [
|
|
256
|
-
(
|
|
256
|
+
(w = e.hoveredData) != null && w.conf ? (openBlock(), createElementBlock("p", _hoisted_21$1, toDisplayString(e.hoveredData.conf), 1)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
257
257
|
t[7] || (t[7] = createElementVNode("p", { class: "!ire-text-xs ire-uppercase ire-text-gray-500" }, "Price", -1)),
|
|
258
258
|
(C = e.hoveredData) != null && C.price ? (openBlock(), createElementBlock("div", _hoisted_22$1, [
|
|
259
259
|
createElementVNode("div", null, [
|
|
@@ -319,95 +319,95 @@ const _hoisted_1$f = {
|
|
|
319
319
|
},
|
|
320
320
|
emits: ["changeComponent"],
|
|
321
321
|
setup(o, { emit: e }) {
|
|
322
|
-
const t = e, r = o,
|
|
322
|
+
const t = e, r = o, c = ref(), _ = ref(), m = ref(null), y = computed(() => {
|
|
323
323
|
if (r.project)
|
|
324
324
|
return r.project.svg;
|
|
325
|
-
}),
|
|
326
|
-
var
|
|
327
|
-
const
|
|
328
|
-
(
|
|
329
|
-
)) == null ? void 0 :
|
|
330
|
-
return JSON.parse((
|
|
331
|
-
}),
|
|
332
|
-
const
|
|
333
|
-
|
|
334
|
-
},
|
|
335
|
-
var
|
|
336
|
-
const
|
|
337
|
-
(
|
|
325
|
+
}), p = computed(() => {
|
|
326
|
+
var s, n;
|
|
327
|
+
const v = (n = (s = r.projectMeta) == null ? void 0 : s.find(
|
|
328
|
+
(i) => (i == null ? void 0 : i.meta_key) === "project_img_contain"
|
|
329
|
+
)) == null ? void 0 : n.meta_value;
|
|
330
|
+
return JSON.parse((v == null ? void 0 : v.toString()) || "false");
|
|
331
|
+
}), f = (v) => {
|
|
332
|
+
const s = v.target;
|
|
333
|
+
s && (c.value = s);
|
|
334
|
+
}, x = (v) => {
|
|
335
|
+
var n, i, d;
|
|
336
|
+
const s = v.target;
|
|
337
|
+
(s == null ? void 0 : s.nodeName) === "path" && (((n = _.value) == null ? void 0 : n.conf) === "sold" || ((i = _.value) == null ? void 0 : i.conf) === "reserved" || t("changeComponent", ((d = m.value) == null ? void 0 : d.type) || "", _ == null ? void 0 : _.value));
|
|
338
338
|
};
|
|
339
339
|
return watch(
|
|
340
|
-
() =>
|
|
341
|
-
(
|
|
342
|
-
var
|
|
343
|
-
if (!
|
|
344
|
-
const
|
|
345
|
-
if (
|
|
346
|
-
const
|
|
347
|
-
if (!
|
|
348
|
-
const
|
|
349
|
-
switch ((
|
|
340
|
+
() => c.value,
|
|
341
|
+
(v) => {
|
|
342
|
+
var n, i, d, l, a, h, u;
|
|
343
|
+
if (!v) return;
|
|
344
|
+
const s = v.parentElement;
|
|
345
|
+
if (s && (s == null ? void 0 : s.nodeName) === "g") {
|
|
346
|
+
const k = s == null ? void 0 : s.getAttribute("id");
|
|
347
|
+
if (!k || (m.value = ((n = r.project) == null ? void 0 : n.polygon_data.find((b) => (b == null ? void 0 : b.key) === k)) || null, !m.value)) return;
|
|
348
|
+
const g = (i = m.value) == null ? void 0 : i.id;
|
|
349
|
+
switch ((d = m.value) == null ? void 0 : d.type) {
|
|
350
350
|
case "floor":
|
|
351
|
-
const
|
|
352
|
-
($) => $.id ===
|
|
351
|
+
const b = (l = r.floors) == null ? void 0 : l.find(
|
|
352
|
+
($) => $.id === g
|
|
353
353
|
);
|
|
354
|
-
|
|
354
|
+
_.value = b;
|
|
355
355
|
break;
|
|
356
356
|
case "block":
|
|
357
|
-
const
|
|
358
|
-
($) => ($ == null ? void 0 : $.id) ===
|
|
357
|
+
const w = (a = r.blocks) == null ? void 0 : a.find(
|
|
358
|
+
($) => ($ == null ? void 0 : $.id) === g
|
|
359
359
|
);
|
|
360
|
-
|
|
360
|
+
_.value = w;
|
|
361
361
|
break;
|
|
362
362
|
case "flat":
|
|
363
|
-
const C = (
|
|
364
|
-
($) => ($ == null ? void 0 : $.id) ===
|
|
363
|
+
const C = (h = r.flats) == null ? void 0 : h.find(
|
|
364
|
+
($) => ($ == null ? void 0 : $.id) === g
|
|
365
365
|
);
|
|
366
|
-
|
|
366
|
+
_.value = C;
|
|
367
367
|
break;
|
|
368
368
|
case "tooltip":
|
|
369
|
-
const V = (
|
|
370
|
-
($) => ($ == null ? void 0 : $.id) ===
|
|
369
|
+
const V = (u = r.actions) == null ? void 0 : u.find(
|
|
370
|
+
($) => ($ == null ? void 0 : $.id) === g
|
|
371
371
|
);
|
|
372
|
-
|
|
372
|
+
_.value = V;
|
|
373
373
|
break;
|
|
374
374
|
default:
|
|
375
|
-
|
|
375
|
+
_.value = null;
|
|
376
376
|
break;
|
|
377
377
|
}
|
|
378
378
|
} else
|
|
379
|
-
|
|
379
|
+
m.value = null, _.value = null;
|
|
380
380
|
}
|
|
381
|
-
), (
|
|
382
|
-
var
|
|
381
|
+
), (v, s) => {
|
|
382
|
+
var n;
|
|
383
383
|
return openBlock(), createBlock(_sfc_main$f, {
|
|
384
|
-
hoverdData:
|
|
385
|
-
type: (
|
|
384
|
+
hoverdData: _.value,
|
|
385
|
+
type: (n = m.value) == null ? void 0 : n.type
|
|
386
386
|
}, {
|
|
387
387
|
default: withCtx(() => {
|
|
388
|
-
var
|
|
388
|
+
var i, d, l, a, h, u;
|
|
389
389
|
return [
|
|
390
390
|
createElementVNode("div", _hoisted_1$d, [
|
|
391
391
|
createElementVNode("img", {
|
|
392
|
-
src: (l = (
|
|
392
|
+
src: (l = (d = (i = v.project) == null ? void 0 : i.project_image) == null ? void 0 : d[0]) == null ? void 0 : l.url,
|
|
393
393
|
alt: "",
|
|
394
394
|
class: normalizeClass(["ire-absolute ire-left-0 ire-top-0 ire-h-full ire-w-full", {
|
|
395
|
-
"ire-object-contain": unref(
|
|
396
|
-
"ire-object-cover": !unref(
|
|
395
|
+
"ire-object-contain": unref(p),
|
|
396
|
+
"ire-object-cover": !unref(p)
|
|
397
397
|
}])
|
|
398
398
|
}, null, 10, _hoisted_2$6),
|
|
399
399
|
(openBlock(), createElementBlock("div", {
|
|
400
400
|
class: normalizeClass(["canvas ire-absolute ire-left-0 ire-top-0 ire-h-full ire-w-full [&_path]:ire-cursor-pointer [&_path]:ire-fill-[var(--path-color)] [&_path]:ire-transition-all", [
|
|
401
401
|
{
|
|
402
|
-
"hover:[&_path]:ire-fill-[var(--reserved-color)]":
|
|
403
|
-
"hover:[&_path]:ire-fill-[var(--sold-color)]":
|
|
404
|
-
"hover:[&_path]:ire-fill-[var(--path-hover-color)]": !((
|
|
402
|
+
"hover:[&_path]:ire-fill-[var(--reserved-color)]": _.value && ((a = _.value) == null ? void 0 : a.conf) === "reserved",
|
|
403
|
+
"hover:[&_path]:ire-fill-[var(--sold-color)]": _.value && ((h = _.value) == null ? void 0 : h.conf) === "sold",
|
|
404
|
+
"hover:[&_path]:ire-fill-[var(--path-hover-color)]": !((u = _.value) != null && u.conf)
|
|
405
405
|
}
|
|
406
406
|
]]),
|
|
407
|
-
innerHTML: unref(
|
|
408
|
-
key: unref(
|
|
409
|
-
onMouseover:
|
|
410
|
-
onClick:
|
|
407
|
+
innerHTML: unref(y),
|
|
408
|
+
key: unref(y),
|
|
409
|
+
onMouseover: f,
|
|
410
|
+
onClick: x
|
|
411
411
|
}, null, 42, _hoisted_3$5))
|
|
412
412
|
])
|
|
413
413
|
];
|
|
@@ -438,15 +438,15 @@ const _hoisted_1$f = {
|
|
|
438
438
|
t.label ? (openBlock(), createElementBlock("p", _hoisted_2$5, toDisplayString(t.label), 1)) : createCommentVNode("", !0),
|
|
439
439
|
createElementVNode("div", _hoisted_3$4, [
|
|
440
440
|
withDirectives(createElementVNode("select", {
|
|
441
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
441
|
+
"onUpdate:modelValue": r[0] || (r[0] = (c) => e.value = c),
|
|
442
442
|
class: "ire-w-full ire-cursor-pointer ire-appearance-none ire-rounded-none ire-bg-transparent ire-py-2 ire-pl-3 ire-pr-8 ire-text-sm ire-text-slate-700 ire-shadow-sm ire-transition ire-duration-300 ire-ease-linear placeholder:ire-text-slate-400 hover:ire-border-slate-400 focus:ire-border-slate-400 focus:ire-shadow-md focus:ire-outline-none"
|
|
443
443
|
}, [
|
|
444
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(t.data, (
|
|
445
|
-
var
|
|
444
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(t.data, (c) => {
|
|
445
|
+
var _, m;
|
|
446
446
|
return openBlock(), createElementBlock("option", {
|
|
447
|
-
value:
|
|
448
|
-
disabled: ((
|
|
449
|
-
}, toDisplayString(
|
|
447
|
+
value: c.value,
|
|
448
|
+
disabled: ((_ = c == null ? void 0 : c.title) == null ? void 0 : _.includes("reserved")) || ((m = c == null ? void 0 : c.title) == null ? void 0 : m.includes("sold"))
|
|
449
|
+
}, toDisplayString(c.title), 9, _hoisted_4$4);
|
|
450
450
|
}), 256))
|
|
451
451
|
], 512), [
|
|
452
452
|
[vModelSelect, e.value]
|
|
@@ -470,8 +470,8 @@ const _hoisted_1$f = {
|
|
|
470
470
|
}
|
|
471
471
|
}), _export_sfc = (o, e) => {
|
|
472
472
|
const t = o.__vccOpts || o;
|
|
473
|
-
for (const [r,
|
|
474
|
-
t[r] =
|
|
473
|
+
for (const [r, c] of e)
|
|
474
|
+
t[r] = c;
|
|
475
475
|
return t;
|
|
476
476
|
}, _sfc_main$c = {}, _hoisted_1$b = {
|
|
477
477
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -488,12 +488,12 @@ function _sfc_render$3(o, e) {
|
|
|
488
488
|
}, null, -1)
|
|
489
489
|
]));
|
|
490
490
|
}
|
|
491
|
-
const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$3]]), _hoisted_1$a = { class: "ire-group ire-flex ire-w-fit ire-cursor-pointer ire-items-center ire-gap-1 ire-rounded-lg ire-border ire-bg-gray-50 ire-px-4 ire-py-2 ire-shadow-sm ire-transition-all hover:ire-bg-black
|
|
491
|
+
const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$3]]), _hoisted_1$a = { class: "ire-group ire-flex ire-w-fit ire-cursor-pointer ire-items-center ire-gap-1 ire-rounded-lg ire-border ire-bg-gray-50 ire-px-4 ire-py-2 ire-shadow-sm ire-transition-all hover:ire-bg-black lg:ire-px-5 lg:ire-py-2" }, _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
492
492
|
__name: "BackButton",
|
|
493
493
|
setup(o) {
|
|
494
494
|
return (e, t) => (openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
495
495
|
createVNode(ArrowRight, { class: "ire-w-6 ire-rotate-180 group-hover:[&_path]:ire-fill-white" }),
|
|
496
|
-
t[0] || (t[0] = createElementVNode("p", { class: "!ire-text-sm lg:!ire-text-balance" }, "Back", -1))
|
|
496
|
+
t[0] || (t[0] = createElementVNode("p", { class: "!ire-text-sm group-hover:!ire-text-white lg:!ire-text-balance" }, " Back ", -1))
|
|
497
497
|
]));
|
|
498
498
|
}
|
|
499
499
|
}), _hoisted_1$9 = { class: "ire-w-fit ire-bg-white" }, _hoisted_2$4 = { class: "ire-relative ire-h-full ire-select-none ire-overflow-hidden ire-pt-[50%]" }, _hoisted_3$3 = ["src"], _hoisted_4$3 = ["innerHTML"], _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
@@ -507,149 +507,149 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_ren
|
|
|
507
507
|
},
|
|
508
508
|
emits: ["changeComponent"],
|
|
509
509
|
setup(o, { emit: e }) {
|
|
510
|
-
const t = e, r = o,
|
|
510
|
+
const t = e, r = o, c = ref(), _ = ref(), m = ref(), y = ref(null), p = ref(), f = ref(), x = computed$1(() => {
|
|
511
511
|
var l;
|
|
512
512
|
if ((l = r.floor) != null && l.svg)
|
|
513
513
|
return r.floor.svg;
|
|
514
|
-
}),
|
|
514
|
+
}), v = computed$1(() => r.floors.filter(
|
|
515
515
|
(l) => {
|
|
516
|
-
var
|
|
516
|
+
var a, h;
|
|
517
517
|
return (
|
|
518
518
|
// floorItem.conf !== "reserved" &&
|
|
519
519
|
// floorItem.conf !== "sold" &&
|
|
520
|
-
(
|
|
520
|
+
(a = r.floor) != null && a.block_id ? (l == null ? void 0 : l.block_id) === ((h = r.floor) == null ? void 0 : h.block_id) : !(l != null && l.block_id)
|
|
521
521
|
);
|
|
522
522
|
}
|
|
523
523
|
).map((l) => {
|
|
524
|
-
var
|
|
525
|
-
const
|
|
526
|
-
(
|
|
527
|
-
var
|
|
528
|
-
return (
|
|
524
|
+
var h, u;
|
|
525
|
+
const a = (h = r.blocks) == null ? void 0 : h.find(
|
|
526
|
+
(k) => {
|
|
527
|
+
var g;
|
|
528
|
+
return (k == null ? void 0 : k.id) === ((g = l == null ? void 0 : l.block_id) == null ? void 0 : g.toString());
|
|
529
529
|
}
|
|
530
530
|
);
|
|
531
531
|
return {
|
|
532
|
-
title: ((
|
|
532
|
+
title: ((u = l == null ? void 0 : l.floor_number) == null ? void 0 : u.toString()) + " Floor" + (a != null && a.id ? ` - ${a == null ? void 0 : a.title}` : "") + (l != null && l.conf ? " " + l.conf : ""),
|
|
533
533
|
value: l == null ? void 0 : l.id
|
|
534
534
|
};
|
|
535
|
-
}).sort((l,
|
|
536
|
-
const
|
|
537
|
-
|
|
538
|
-
},
|
|
539
|
-
var
|
|
540
|
-
const
|
|
541
|
-
(
|
|
542
|
-
},
|
|
535
|
+
}).sort((l, a) => +(l == null ? void 0 : l.title) - +(a == null ? void 0 : a.title)) || []), s = (l) => {
|
|
536
|
+
const a = l.target;
|
|
537
|
+
a && (_.value = a);
|
|
538
|
+
}, n = (l) => {
|
|
539
|
+
var h, u, k;
|
|
540
|
+
const a = l.target;
|
|
541
|
+
(a == null ? void 0 : a.nodeName) === "path" && (y.value && "conf" in y.value && (((h = y.value) == null ? void 0 : h.conf) === "sold" || ((u = y.value) == null ? void 0 : u.conf) === "reserved") || t("changeComponent", ((k = m.value) == null ? void 0 : k.type) || "", y.value));
|
|
542
|
+
}, i = () => {
|
|
543
543
|
var l;
|
|
544
|
-
|
|
545
|
-
var
|
|
546
|
-
const
|
|
547
|
-
(E) => (E == null ? void 0 : E.key) ===
|
|
544
|
+
c.value && ((l = c.value) == null ? void 0 : l.querySelectorAll("g")).forEach((h) => {
|
|
545
|
+
var g, b, w, C, V, $;
|
|
546
|
+
const u = h == null ? void 0 : h.getAttribute("id"), k = (b = (g = r.floor) == null ? void 0 : g.polygon_data) == null ? void 0 : b.find(
|
|
547
|
+
(E) => (E == null ? void 0 : E.key) === u
|
|
548
548
|
);
|
|
549
549
|
if (r.flats)
|
|
550
|
-
if ((
|
|
551
|
-
|
|
550
|
+
if ((w = r.floor) != null && w.conf)
|
|
551
|
+
h.setAttribute("conf", ((C = r.floor) == null ? void 0 : C.conf) || "");
|
|
552
552
|
else {
|
|
553
553
|
const E = (V = r.flats) == null ? void 0 : V.find(
|
|
554
|
-
(B) => (B == null ? void 0 : B.id) === (
|
|
554
|
+
(B) => (B == null ? void 0 : B.id) === (k == null ? void 0 : k.id)
|
|
555
555
|
);
|
|
556
|
-
|
|
556
|
+
h == null || h.setAttribute("conf", (($ = E == null ? void 0 : E.conf) == null ? void 0 : $.toString()) || "");
|
|
557
557
|
}
|
|
558
558
|
});
|
|
559
|
-
},
|
|
559
|
+
}, d = () => {
|
|
560
560
|
var l;
|
|
561
|
-
(l = r.floor) != null && l.block_id ? t("changeComponent", "block",
|
|
561
|
+
(l = r.floor) != null && l.block_id ? t("changeComponent", "block", f.value) : t("changeComponent", "project", null);
|
|
562
562
|
};
|
|
563
563
|
return watch(
|
|
564
|
-
() =>
|
|
564
|
+
() => _.value,
|
|
565
565
|
(l) => {
|
|
566
|
-
var
|
|
566
|
+
var h, u, k, g, b, w;
|
|
567
567
|
if (!l) return;
|
|
568
|
-
const
|
|
569
|
-
if (
|
|
570
|
-
const C =
|
|
571
|
-
if (!C || (
|
|
572
|
-
if (((
|
|
573
|
-
const V = (
|
|
568
|
+
const a = l == null ? void 0 : l.parentElement;
|
|
569
|
+
if (a && (a == null ? void 0 : a.nodeName) === "g") {
|
|
570
|
+
const C = a.getAttribute("id");
|
|
571
|
+
if (!C || (m.value = ((u = (h = r.floor) == null ? void 0 : h.polygon_data) == null ? void 0 : u.find((V) => (V == null ? void 0 : V.key) === C)) || null, !m.value)) return;
|
|
572
|
+
if (((k = m.value) == null ? void 0 : k.type) === "flat") {
|
|
573
|
+
const V = (g = r.flats) == null ? void 0 : g.find(
|
|
574
574
|
($) => {
|
|
575
575
|
var E;
|
|
576
|
-
return ($ == null ? void 0 : $.id) === ((E =
|
|
576
|
+
return ($ == null ? void 0 : $.id) === ((E = m.value) == null ? void 0 : E.id);
|
|
577
577
|
}
|
|
578
578
|
);
|
|
579
|
-
|
|
580
|
-
} else if (((
|
|
581
|
-
const V = (
|
|
579
|
+
y.value = V ?? null;
|
|
580
|
+
} else if (((b = m.value) == null ? void 0 : b.type) === "tooltip") {
|
|
581
|
+
const V = (w = r.actions) == null ? void 0 : w.find(
|
|
582
582
|
($) => {
|
|
583
583
|
var E;
|
|
584
|
-
return ($ == null ? void 0 : $.id) === ((E =
|
|
584
|
+
return ($ == null ? void 0 : $.id) === ((E = m.value) == null ? void 0 : E.id);
|
|
585
585
|
}
|
|
586
586
|
);
|
|
587
|
-
|
|
587
|
+
y.value = V ?? null;
|
|
588
588
|
} else
|
|
589
|
-
|
|
589
|
+
y.value = null;
|
|
590
590
|
} else
|
|
591
|
-
|
|
591
|
+
m.value = null;
|
|
592
592
|
}
|
|
593
593
|
), watch(
|
|
594
|
-
() =>
|
|
594
|
+
() => p.value,
|
|
595
595
|
() => {
|
|
596
|
-
var
|
|
597
|
-
const l = (
|
|
598
|
-
(
|
|
596
|
+
var a;
|
|
597
|
+
const l = (a = r.floors) == null ? void 0 : a.find(
|
|
598
|
+
(h) => (h == null ? void 0 : h.id) === (p == null ? void 0 : p.value)
|
|
599
599
|
);
|
|
600
600
|
l != null && l.conf || (l && t("changeComponent", "floor", l), setTimeout(() => {
|
|
601
|
-
|
|
601
|
+
i();
|
|
602
602
|
}, 0));
|
|
603
603
|
}
|
|
604
604
|
), onMounted(() => {
|
|
605
|
-
var l,
|
|
606
|
-
|
|
607
|
-
(
|
|
608
|
-
var
|
|
609
|
-
return (
|
|
605
|
+
var l, a, h;
|
|
606
|
+
f.value = (l = r.blocks) == null ? void 0 : l.find(
|
|
607
|
+
(u) => {
|
|
608
|
+
var k, g;
|
|
609
|
+
return (u == null ? void 0 : u.id) === ((g = (k = r.floor) == null ? void 0 : k.block_id) == null ? void 0 : g.toString());
|
|
610
610
|
}
|
|
611
|
-
),
|
|
612
|
-
(
|
|
613
|
-
var
|
|
614
|
-
return (
|
|
611
|
+
), p.value = (h = (a = v.value) == null ? void 0 : a.find(
|
|
612
|
+
(u) => {
|
|
613
|
+
var k;
|
|
614
|
+
return (u == null ? void 0 : u.value) == ((k = r.floor) == null ? void 0 : k.id);
|
|
615
615
|
}
|
|
616
|
-
)) == null ? void 0 :
|
|
617
|
-
}), (l,
|
|
618
|
-
var
|
|
616
|
+
)) == null ? void 0 : h.value, i();
|
|
617
|
+
}), (l, a) => {
|
|
618
|
+
var h;
|
|
619
619
|
return openBlock(), createBlock(_sfc_main$f, {
|
|
620
|
-
hoverdData:
|
|
621
|
-
type: (
|
|
620
|
+
hoverdData: y.value,
|
|
621
|
+
type: (h = m.value) == null ? void 0 : h.type
|
|
622
622
|
}, {
|
|
623
623
|
header: withCtx(() => [
|
|
624
|
-
createVNode(_sfc_main$b, { onClick:
|
|
624
|
+
createVNode(_sfc_main$b, { onClick: d }),
|
|
625
625
|
createElementVNode("div", _hoisted_1$9, [
|
|
626
626
|
createVNode(_sfc_main$d, {
|
|
627
|
-
modelValue:
|
|
628
|
-
"onUpdate:modelValue":
|
|
629
|
-
data:
|
|
627
|
+
modelValue: p.value,
|
|
628
|
+
"onUpdate:modelValue": a[0] || (a[0] = (u) => p.value = u),
|
|
629
|
+
data: v.value
|
|
630
630
|
}, null, 8, ["modelValue", "data"])
|
|
631
631
|
])
|
|
632
632
|
]),
|
|
633
633
|
default: withCtx(() => {
|
|
634
|
-
var
|
|
634
|
+
var u, k, g, b, w;
|
|
635
635
|
return [
|
|
636
636
|
createElementVNode("div", _hoisted_2$4, [
|
|
637
637
|
createElementVNode("img", {
|
|
638
|
-
src: ((
|
|
638
|
+
src: ((g = (k = (u = l.floor) == null ? void 0 : u.floor_image) == null ? void 0 : k[0]) == null ? void 0 : g.url) || "",
|
|
639
639
|
alt: "",
|
|
640
640
|
class: normalizeClass(["ire-absolute ire-left-0 ire-top-0 ire-h-full ire-w-full", {
|
|
641
|
-
"ire-object-contain": (
|
|
642
|
-
"ire-object-cover": !((
|
|
641
|
+
"ire-object-contain": (b = l.floor) == null ? void 0 : b.img_contain,
|
|
642
|
+
"ire-object-cover": !((w = l.floor) != null && w.img_contain)
|
|
643
643
|
}])
|
|
644
644
|
}, null, 10, _hoisted_3$3),
|
|
645
645
|
(openBlock(), createElementBlock("div", {
|
|
646
646
|
ref_key: "svgRef",
|
|
647
|
-
ref:
|
|
647
|
+
ref: c,
|
|
648
648
|
class: "canvas ire-absolute ire-left-0 ire-top-0 ire-h-full ire-w-full [&_g[conf=reserved]_path]:ire-fill-[var(--reserved-color)] [&_g[conf=sold]_path]:ire-fill-[var(--sold-color)] [&_path]:ire-cursor-pointer [&_path]:ire-fill-[var(--path-color)] [&_path]:!ire-transition-all hover:[&_path]:ire-fill-[var(--path-hover-color)]",
|
|
649
|
-
innerHTML:
|
|
650
|
-
key:
|
|
651
|
-
onMouseover:
|
|
652
|
-
onClick:
|
|
649
|
+
innerHTML: x.value,
|
|
650
|
+
key: x.value,
|
|
651
|
+
onMouseover: s,
|
|
652
|
+
onClick: n
|
|
653
653
|
}, null, 40, _hoisted_4$3))
|
|
654
654
|
])
|
|
655
655
|
];
|
|
@@ -725,35 +725,35 @@ const Cube = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$1]
|
|
|
725
725
|
},
|
|
726
726
|
emits: ["changeComponent"],
|
|
727
727
|
setup(o, { emit: e }) {
|
|
728
|
-
const t = e, r = o,
|
|
729
|
-
var
|
|
730
|
-
const
|
|
731
|
-
return ["I", "II", "III"].slice(0,
|
|
732
|
-
}),
|
|
733
|
-
var
|
|
734
|
-
const
|
|
735
|
-
(
|
|
736
|
-
var
|
|
737
|
-
return ((
|
|
728
|
+
const t = e, r = o, c = ref(!0), _ = ref(0), m = computed$1(() => {
|
|
729
|
+
var f, x, v, s, n, i;
|
|
730
|
+
const p = c.value ? (v = (x = (f = r.flat) == null ? void 0 : f.type) == null ? void 0 : x.image_2d) == null ? void 0 : v.length : (i = (n = (s = r.flat) == null ? void 0 : s.type) == null ? void 0 : n.image_3d) == null ? void 0 : i.length;
|
|
731
|
+
return ["I", "II", "III"].slice(0, p);
|
|
732
|
+
}), y = () => {
|
|
733
|
+
var f;
|
|
734
|
+
const p = (f = r.floors) == null ? void 0 : f.find(
|
|
735
|
+
(x) => {
|
|
736
|
+
var v, s, n, i, d, l;
|
|
737
|
+
return ((v = x.floor_number) == null ? void 0 : v.toString()) === ((n = (s = r.flat) == null ? void 0 : s.floor_number) == null ? void 0 : n.toString()) && ((i = r.flat) != null && i.block_id ? ((d = x == null ? void 0 : x.block_id) == null ? void 0 : d.toString()) === ((l = r.flat) == null ? void 0 : l.block_id) : !(x != null && x.block_id));
|
|
738
738
|
}
|
|
739
739
|
);
|
|
740
|
-
|
|
740
|
+
p ? t("changeComponent", "floor", p) : t("changeComponent", "project", null);
|
|
741
741
|
};
|
|
742
742
|
return watch(
|
|
743
|
-
() =>
|
|
743
|
+
() => c.value,
|
|
744
744
|
() => {
|
|
745
|
-
|
|
745
|
+
_.value = 0;
|
|
746
746
|
}
|
|
747
747
|
), onMounted(() => {
|
|
748
|
-
var
|
|
749
|
-
(
|
|
750
|
-
}), (
|
|
748
|
+
var p, f;
|
|
749
|
+
(f = (p = r.flat) == null ? void 0 : p.type) != null && f.image_2d || (c.value = !1);
|
|
750
|
+
}), (p, f) => (openBlock(), createElementBlock("div", null, [
|
|
751
751
|
createVNode(_sfc_main$f, { "hoverd-data": null }, {
|
|
752
752
|
header: withCtx(() => [
|
|
753
|
-
createVNode(_sfc_main$b, { onClick:
|
|
753
|
+
createVNode(_sfc_main$b, { onClick: y })
|
|
754
754
|
]),
|
|
755
755
|
default: withCtx(() => {
|
|
756
|
-
var
|
|
756
|
+
var x, v, s, n, i, d, l, a, h, u, k, g, b, w, C, V, $, E, B, N, j, L, T, R, P, O, F;
|
|
757
757
|
return [
|
|
758
758
|
createElementVNode("div", _hoisted_1$6, [
|
|
759
759
|
createElementVNode("div", _hoisted_2$3, [
|
|
@@ -764,13 +764,13 @@ const Cube = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$1]
|
|
|
764
764
|
default: withCtx(() => {
|
|
765
765
|
var D, S, M, I, A, H, z, W, K, Z, q, U, J, Q, X, Y, G, ee, te, oe, re, ie, le, se;
|
|
766
766
|
return [
|
|
767
|
-
|
|
768
|
-
key: (W = (z = (H = (A =
|
|
769
|
-
src: (U = (q = (Z = (K =
|
|
767
|
+
c.value && ((I = (M = (S = (D = p.flat) == null ? void 0 : D.type) == null ? void 0 : S.image_2d) == null ? void 0 : M[_.value]) != null && I.url) ? (openBlock(), createElementBlock("img", {
|
|
768
|
+
key: (W = (z = (H = (A = p.flat) == null ? void 0 : A.type) == null ? void 0 : H.image_2d) == null ? void 0 : z[_.value]) == null ? void 0 : W.url,
|
|
769
|
+
src: (U = (q = (Z = (K = p.flat) == null ? void 0 : K.type) == null ? void 0 : Z.image_2d) == null ? void 0 : q[_.value]) == null ? void 0 : U.url,
|
|
770
770
|
class: "ire-h-full ire-w-full ire-object-contain ire-object-top lg:ire-h-96 lg:ire-w-96"
|
|
771
|
-
}, null, 8, _hoisted_3$2)) : (Y = (X = (Q = (J =
|
|
772
|
-
src: (oe = (te = (ee = (G =
|
|
773
|
-
key: (se = (le = (ie = (re =
|
|
771
|
+
}, null, 8, _hoisted_3$2)) : (Y = (X = (Q = (J = p.flat) == null ? void 0 : J.type) == null ? void 0 : Q.image_3d) == null ? void 0 : X[_.value]) != null && Y.url ? (openBlock(), createElementBlock("img", {
|
|
772
|
+
src: (oe = (te = (ee = (G = p.flat) == null ? void 0 : G.type) == null ? void 0 : ee.image_3d) == null ? void 0 : te[_.value]) == null ? void 0 : oe.url,
|
|
773
|
+
key: (se = (le = (ie = (re = p.flat) == null ? void 0 : re.type) == null ? void 0 : ie.image_3d) == null ? void 0 : le[_.value]) == null ? void 0 : se.url,
|
|
774
774
|
class: "ire-h-full ire-w-full ire-object-contain ire-object-top lg:ire-h-96 lg:ire-w-96"
|
|
775
775
|
}, null, 8, _hoisted_4$2)) : createCommentVNode("", !0)
|
|
776
776
|
];
|
|
@@ -779,83 +779,93 @@ const Cube = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$1]
|
|
|
779
779
|
}),
|
|
780
780
|
createElementVNode("div", _hoisted_5, [
|
|
781
781
|
createElementVNode("div", _hoisted_6, [
|
|
782
|
-
(
|
|
782
|
+
(n = (s = (v = (x = p.flat) == null ? void 0 : x.type) == null ? void 0 : v.image_2d) == null ? void 0 : s[0]) != null && n.url ? (openBlock(), createElementBlock("div", {
|
|
783
783
|
key: 0,
|
|
784
|
-
class: normalizeClass(["ire-group ire-flex ire-cursor-pointer ire-items-center ire-gap-2 ire-rounded-lg ire-p-3 !ire-text-xs ire-transition-all hover:ire-bg-primary
|
|
785
|
-
onClick:
|
|
784
|
+
class: normalizeClass(["ire-group ire-flex ire-cursor-pointer ire-items-center ire-gap-2 ire-rounded-lg ire-p-3 !ire-text-xs ire-transition-all hover:ire-bg-primary", { "!ire-bg-primary !ire-text-white": c.value }]),
|
|
785
|
+
onClick: f[0] || (f[0] = (D) => c.value = !0)
|
|
786
786
|
}, [
|
|
787
787
|
createVNode(FlatIcon, {
|
|
788
|
-
class: normalizeClass(["[&_path]:ire-stroke-black group-hover:[&_path]:ire-stroke-white", { "[&_path]:!ire-stroke-white":
|
|
788
|
+
class: normalizeClass(["[&_path]:ire-stroke-black group-hover:[&_path]:ire-stroke-white", { "[&_path]:!ire-stroke-white": c.value }])
|
|
789
789
|
}, null, 8, ["class"]),
|
|
790
|
-
|
|
790
|
+
createElementVNode("p", {
|
|
791
|
+
class: normalizeClass(["group-hover:!ire-text-white", {
|
|
792
|
+
"!ire-text-white": c.value,
|
|
793
|
+
"!ire-text-black": !c.value
|
|
794
|
+
}])
|
|
795
|
+
}, " 2D plan ", 2)
|
|
791
796
|
], 2)) : createCommentVNode("", !0),
|
|
792
|
-
(
|
|
797
|
+
(a = (l = (d = (i = p.flat) == null ? void 0 : i.type) == null ? void 0 : d.image_3d) == null ? void 0 : l[0]) != null && a.url ? (openBlock(), createElementBlock("div", {
|
|
793
798
|
key: 1,
|
|
794
|
-
class: normalizeClass(["ire-group ire-flex ire-cursor-pointer ire-items-center ire-gap-2 ire-rounded-lg ire-p-3 !ire-text-xs ire-transition-all hover:ire-bg-primary
|
|
795
|
-
onClick:
|
|
799
|
+
class: normalizeClass(["ire-group ire-flex ire-cursor-pointer ire-items-center ire-gap-2 ire-rounded-lg ire-p-3 !ire-text-xs ire-transition-all hover:ire-bg-primary", { "!ire-bg-primary !ire-text-white": !c.value }]),
|
|
800
|
+
onClick: f[1] || (f[1] = (D) => c.value = !1)
|
|
796
801
|
}, [
|
|
797
802
|
createElementVNode("div", null, [
|
|
798
803
|
createVNode(Cube, {
|
|
799
|
-
class: normalizeClass(["group-hover:[&_path]:ire-stroke-white", { "[&_path]:!ire-stroke-white": !
|
|
804
|
+
class: normalizeClass(["group-hover:[&_path]:ire-stroke-white", { "[&_path]:!ire-stroke-white": !c.value }])
|
|
800
805
|
}, null, 8, ["class"])
|
|
801
806
|
]),
|
|
802
|
-
|
|
807
|
+
createElementVNode("p", {
|
|
808
|
+
class: normalizeClass(["group-hover:!ire-text-white", {
|
|
809
|
+
"!ire-text-white": !c.value,
|
|
810
|
+
"!ire-text-black": c.value
|
|
811
|
+
}])
|
|
812
|
+
}, " 3D plan ", 2)
|
|
803
813
|
], 2)) : createCommentVNode("", !0)
|
|
804
814
|
]),
|
|
805
|
-
((
|
|
806
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(
|
|
815
|
+
((h = m.value) == null ? void 0 : h.length) > 1 ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
816
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(m.value, (D, S) => (openBlock(), createElementBlock("div", {
|
|
807
817
|
key: D,
|
|
808
818
|
class: normalizeClass(["ire-flex ire-h-10 ire-w-10 ire-cursor-pointer ire-items-center ire-justify-center ire-rounded-lg ire-p-2 ire-transition-all hover:ire-bg-black hover:ire-text-white", {
|
|
809
|
-
"ire-bg-black ire-text-white":
|
|
819
|
+
"ire-bg-black ire-text-white": _.value === S
|
|
810
820
|
}]),
|
|
811
|
-
onClick: (M) =>
|
|
821
|
+
onClick: (M) => _.value = S
|
|
812
822
|
}, toDisplayString(D), 11, _hoisted_8))), 128))
|
|
813
823
|
])) : createCommentVNode("", !0)
|
|
814
824
|
])
|
|
815
825
|
]),
|
|
816
826
|
createElementVNode("div", _hoisted_9, [
|
|
817
827
|
createElementVNode("div", _hoisted_10, [
|
|
818
|
-
createElementVNode("p", _hoisted_11, toDisplayString((
|
|
819
|
-
|
|
828
|
+
createElementVNode("p", _hoisted_11, toDisplayString((u = p.flat) == null ? void 0 : u.flat_number), 1),
|
|
829
|
+
f[2] || (f[2] = createElementVNode("p", { class: "!ire-text-xs ire-text-gray-600" }, "Apartment", -1))
|
|
820
830
|
]),
|
|
821
831
|
createElementVNode("div", _hoisted_12, [
|
|
822
|
-
createElementVNode("p", _hoisted_13, toDisplayString((
|
|
823
|
-
createElementVNode("p", _hoisted_14, toDisplayString((
|
|
832
|
+
createElementVNode("p", _hoisted_13, toDisplayString((g = (k = p.flat) == null ? void 0 : k.type) == null ? void 0 : g.title), 1),
|
|
833
|
+
createElementVNode("p", _hoisted_14, toDisplayString((w = (b = p.flat) == null ? void 0 : b.type) == null ? void 0 : w.teaser), 1)
|
|
824
834
|
]),
|
|
825
835
|
createElementVNode("div", _hoisted_15, [
|
|
826
|
-
(C =
|
|
827
|
-
createElementVNode("p", _hoisted_17, toDisplayString((V =
|
|
828
|
-
|
|
836
|
+
(C = p.flat) != null && C.floor_number ? (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
837
|
+
createElementVNode("p", _hoisted_17, toDisplayString((V = p.flat) == null ? void 0 : V.floor_number), 1),
|
|
838
|
+
f[3] || (f[3] = createElementVNode("p", { class: "!ire-text-xs ire-text-gray-600" }, "Floor", -1))
|
|
829
839
|
])) : createCommentVNode("", !0),
|
|
830
|
-
(E = ($ =
|
|
831
|
-
createElementVNode("p", _hoisted_19, toDisplayString((B =
|
|
832
|
-
|
|
840
|
+
(E = ($ = p.flat) == null ? void 0 : $.type) != null && E.rooms_count ? (openBlock(), createElementBlock("div", _hoisted_18, [
|
|
841
|
+
createElementVNode("p", _hoisted_19, toDisplayString((B = p.flat) == null ? void 0 : B.type.rooms_count), 1),
|
|
842
|
+
f[4] || (f[4] = createElementVNode("p", { class: "!ire-text-xs ire-text-gray-600" }, "Room", -1))
|
|
833
843
|
])) : createCommentVNode("", !0)
|
|
834
844
|
]),
|
|
835
|
-
(j = (N =
|
|
845
|
+
(j = (N = p.flat) == null ? void 0 : N.type) != null && j.area_m2 ? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
836
846
|
createElementVNode("p", _hoisted_21, [
|
|
837
|
-
createTextVNode(toDisplayString((L =
|
|
838
|
-
|
|
847
|
+
createTextVNode(toDisplayString((L = p.flat) == null ? void 0 : L.type.area_m2) + " ", 1),
|
|
848
|
+
f[5] || (f[5] = createElementVNode("span", { class: "ire-font-light" }, [
|
|
839
849
|
createTextVNode(" M "),
|
|
840
850
|
createElementVNode("sup", { class: "ire-inline-block -ire-translate-x-1 !ire-text-sm" }, " 2 ")
|
|
841
851
|
], -1))
|
|
842
852
|
]),
|
|
843
|
-
|
|
853
|
+
f[6] || (f[6] = createElementVNode("p", { class: "!ire-text-xs ire-text-gray-600" }, "Area", -1))
|
|
844
854
|
])) : createCommentVNode("", !0),
|
|
845
|
-
(T =
|
|
855
|
+
(T = p.flat) != null && T.price ? (openBlock(), createElementBlock("div", _hoisted_22, [
|
|
846
856
|
createElementVNode("div", null, [
|
|
847
|
-
(R =
|
|
848
|
-
createElementVNode("p", _hoisted_25, toDisplayString(Number((O =
|
|
857
|
+
(R = p.flat) != null && R.offer_price ? (openBlock(), createElementBlock("div", _hoisted_24, [
|
|
858
|
+
createElementVNode("p", _hoisted_25, toDisplayString(Number((O = p.flat) == null ? void 0 : O.price).toLocaleString()), 1),
|
|
849
859
|
createElementVNode("p", _hoisted_26, [
|
|
850
|
-
createTextVNode(toDisplayString(Number((F =
|
|
851
|
-
|
|
860
|
+
createTextVNode(toDisplayString(Number((F = p.flat) == null ? void 0 : F.offer_price).toLocaleString()), 1),
|
|
861
|
+
f[8] || (f[8] = createElementVNode("sup", { class: "!ire-text-sm" }, "$", -1))
|
|
852
862
|
])
|
|
853
863
|
])) : (openBlock(), createElementBlock("p", _hoisted_23, [
|
|
854
|
-
createTextVNode(toDisplayString(Number((P =
|
|
855
|
-
|
|
864
|
+
createTextVNode(toDisplayString(Number((P = p.flat) == null ? void 0 : P.price).toLocaleString()), 1),
|
|
865
|
+
f[7] || (f[7] = createElementVNode("sup", { class: "!ire-text-sm" }, "$", -1))
|
|
856
866
|
]))
|
|
857
867
|
]),
|
|
858
|
-
|
|
868
|
+
f[9] || (f[9] = createElementVNode("p", { class: "!ire-text-xs ire-text-gray-600" }, "Price", -1))
|
|
859
869
|
])) : createCommentVNode("", !0)
|
|
860
870
|
])
|
|
861
871
|
])
|
|
@@ -920,15 +930,15 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]
|
|
|
920
930
|
},
|
|
921
931
|
setup(o) {
|
|
922
932
|
return (e, t) => {
|
|
923
|
-
var r,
|
|
933
|
+
var r, c, _, m, y, p, f, x, v, s, n, i;
|
|
924
934
|
return openBlock(), createElementBlock("div", null, [
|
|
925
|
-
createElementVNode("p", _hoisted_1$2, toDisplayString((
|
|
935
|
+
createElementVNode("p", _hoisted_1$2, toDisplayString((c = (r = e.modalData) == null ? void 0 : r.modalObject) == null ? void 0 : c.title), 1),
|
|
926
936
|
createVNode(_sfc_main$4, {
|
|
927
|
-
editor: (
|
|
937
|
+
editor: (m = (_ = e.modalData) == null ? void 0 : _.modalObject) == null ? void 0 : m.description
|
|
928
938
|
}, null, 8, ["editor"]),
|
|
929
|
-
(
|
|
939
|
+
(x = (f = (p = (y = e.modalData) == null ? void 0 : y.modalObject) == null ? void 0 : p.modalImage) == null ? void 0 : f[0]) != null && x.url ? (openBlock(), createElementBlock("img", {
|
|
930
940
|
key: 0,
|
|
931
|
-
src: (
|
|
941
|
+
src: (i = (n = (s = (v = e.modalData) == null ? void 0 : v.modalObject) == null ? void 0 : s.modalImage) == null ? void 0 : n[0]) == null ? void 0 : i.url,
|
|
932
942
|
alt: "",
|
|
933
943
|
class: "ire-mt-5 ire-h-[400px] ire-w-full ire-object-contain"
|
|
934
944
|
}, null, 8, _hoisted_2$1)) : createCommentVNode("", !0)
|
|
@@ -945,101 +955,101 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]
|
|
|
945
955
|
},
|
|
946
956
|
emits: ["changeComponent"],
|
|
947
957
|
setup(o, { emit: e }) {
|
|
948
|
-
const t = e, r = o,
|
|
949
|
-
var
|
|
950
|
-
if ((
|
|
951
|
-
return (
|
|
952
|
-
}),
|
|
953
|
-
const
|
|
954
|
-
|
|
955
|
-
},
|
|
956
|
-
var
|
|
957
|
-
const
|
|
958
|
-
(
|
|
958
|
+
const t = e, r = o, c = ref(), _ = ref(), m = ref(), y = ref(), p = computed$1(() => {
|
|
959
|
+
var v, s;
|
|
960
|
+
if ((v = r.block) != null && v.svg)
|
|
961
|
+
return (s = r.block) == null ? void 0 : s.svg;
|
|
962
|
+
}), f = (v) => {
|
|
963
|
+
const s = v.target;
|
|
964
|
+
s && (_.value = s);
|
|
965
|
+
}, x = (v) => {
|
|
966
|
+
var n, i, d;
|
|
967
|
+
const s = v.target;
|
|
968
|
+
(s == null ? void 0 : s.nodeName) === "path" && (((n = y.value) == null ? void 0 : n.conf) === "sold" || ((i = y.value) == null ? void 0 : i.conf) === "reserved" || t(
|
|
959
969
|
"changeComponent",
|
|
960
|
-
((
|
|
961
|
-
|
|
970
|
+
((d = m.value) == null ? void 0 : d.type) || "",
|
|
971
|
+
y.value
|
|
962
972
|
));
|
|
963
973
|
};
|
|
964
974
|
return watch(
|
|
965
|
-
() =>
|
|
966
|
-
(
|
|
967
|
-
var
|
|
968
|
-
if (!
|
|
969
|
-
const
|
|
970
|
-
if (
|
|
971
|
-
const
|
|
972
|
-
if (!
|
|
973
|
-
if (((
|
|
974
|
-
const
|
|
975
|
-
(
|
|
975
|
+
() => _.value,
|
|
976
|
+
(v) => {
|
|
977
|
+
var n, i, d, l, a, h, u, k;
|
|
978
|
+
if (!v) return;
|
|
979
|
+
const s = v == null ? void 0 : v.parentElement;
|
|
980
|
+
if (s && (s == null ? void 0 : s.nodeName) === "g") {
|
|
981
|
+
const g = s == null ? void 0 : s.getAttribute("id");
|
|
982
|
+
if (!g || (m.value = ((i = (n = r.block) == null ? void 0 : n.polygon_data) == null ? void 0 : i.find((b) => (b == null ? void 0 : b.key) === g)) || null, !m.value)) return;
|
|
983
|
+
if (((d = m.value) == null ? void 0 : d.type) === "floor") {
|
|
984
|
+
const b = (l = r.floors) == null ? void 0 : l.find(
|
|
985
|
+
(w) => {
|
|
976
986
|
var C;
|
|
977
|
-
return (
|
|
987
|
+
return (w == null ? void 0 : w.id) === ((C = m.value) == null ? void 0 : C.id);
|
|
978
988
|
}
|
|
979
989
|
);
|
|
980
|
-
|
|
981
|
-
} else if (((
|
|
982
|
-
const
|
|
983
|
-
(
|
|
990
|
+
y.value = b;
|
|
991
|
+
} else if (((a = m.value) == null ? void 0 : a.type) === "flat") {
|
|
992
|
+
const b = (h = r.flats) == null ? void 0 : h.find(
|
|
993
|
+
(w) => {
|
|
984
994
|
var C;
|
|
985
|
-
return (
|
|
995
|
+
return (w == null ? void 0 : w.id) === ((C = m.value) == null ? void 0 : C.id);
|
|
986
996
|
}
|
|
987
997
|
);
|
|
988
|
-
|
|
989
|
-
} else if (((
|
|
990
|
-
const
|
|
991
|
-
(
|
|
998
|
+
y.value = b;
|
|
999
|
+
} else if (((u = m.value) == null ? void 0 : u.type) === "tooltip") {
|
|
1000
|
+
const b = (k = r.actions) == null ? void 0 : k.find(
|
|
1001
|
+
(w) => {
|
|
992
1002
|
var C;
|
|
993
|
-
return (
|
|
1003
|
+
return (w == null ? void 0 : w.id) === ((C = m.value) == null ? void 0 : C.id);
|
|
994
1004
|
}
|
|
995
1005
|
);
|
|
996
|
-
|
|
1006
|
+
y.value = b;
|
|
997
1007
|
} else
|
|
998
|
-
|
|
1008
|
+
y.value = null;
|
|
999
1009
|
} else
|
|
1000
|
-
|
|
1010
|
+
m.value = null, y.value = null;
|
|
1001
1011
|
}
|
|
1002
|
-
), (
|
|
1003
|
-
var
|
|
1012
|
+
), (v, s) => {
|
|
1013
|
+
var n;
|
|
1004
1014
|
return openBlock(), createBlock(_sfc_main$f, {
|
|
1005
|
-
hoverdData:
|
|
1006
|
-
type: (
|
|
1015
|
+
hoverdData: y.value,
|
|
1016
|
+
type: (n = m.value) == null ? void 0 : n.type
|
|
1007
1017
|
}, {
|
|
1008
1018
|
header: withCtx(() => {
|
|
1009
|
-
var
|
|
1019
|
+
var i;
|
|
1010
1020
|
return [
|
|
1011
1021
|
createVNode(_sfc_main$b, {
|
|
1012
|
-
onClick:
|
|
1022
|
+
onClick: s[0] || (s[0] = (d) => v.$emit("changeComponent", "project", null))
|
|
1013
1023
|
}),
|
|
1014
|
-
createElementVNode("p", _hoisted_1$1, toDisplayString((
|
|
1024
|
+
createElementVNode("p", _hoisted_1$1, toDisplayString((i = v.block) == null ? void 0 : i.title), 1)
|
|
1015
1025
|
];
|
|
1016
1026
|
}),
|
|
1017
1027
|
default: withCtx(() => {
|
|
1018
|
-
var
|
|
1028
|
+
var i, d, l, a, h, u, k, g;
|
|
1019
1029
|
return [
|
|
1020
1030
|
createElementVNode("div", _hoisted_2, [
|
|
1021
1031
|
createElementVNode("img", {
|
|
1022
|
-
src: ((l = (
|
|
1032
|
+
src: ((l = (d = (i = v.block) == null ? void 0 : i.block_image) == null ? void 0 : d[0]) == null ? void 0 : l.url) || "",
|
|
1023
1033
|
alt: "",
|
|
1024
1034
|
class: normalizeClass(["ire-absolute ire-left-0 ire-top-0 ire-h-full ire-w-full", {
|
|
1025
|
-
"ire-object-contain": (
|
|
1026
|
-
"ire-object-cover": !((
|
|
1035
|
+
"ire-object-contain": (a = v.block) == null ? void 0 : a.img_contain,
|
|
1036
|
+
"ire-object-cover": !((h = v.block) != null && h.img_contain)
|
|
1027
1037
|
}])
|
|
1028
1038
|
}, null, 10, _hoisted_3),
|
|
1029
1039
|
(openBlock(), createElementBlock("div", {
|
|
1030
1040
|
ref_key: "svgRef",
|
|
1031
|
-
ref:
|
|
1041
|
+
ref: c,
|
|
1032
1042
|
class: normalizeClass(["canvas ire-absolute ire-left-0 ire-top-0 ire-h-full ire-w-full [&_path]:ire-cursor-pointer [&_path]:ire-fill-[var(--path-color)] [&_path]:ire-transition-all", [
|
|
1033
1043
|
{
|
|
1034
|
-
"hover:[&_path]:ire-fill-[var(--reserved-color)]": ((
|
|
1035
|
-
"hover:[&_path]:ire-fill-[var(--sold-color)]": ((
|
|
1036
|
-
"hover:[&_path]:ire-fill-[var(--path-hover-color)]": !((
|
|
1044
|
+
"hover:[&_path]:ire-fill-[var(--reserved-color)]": ((u = y.value) == null ? void 0 : u.conf) === "reserved",
|
|
1045
|
+
"hover:[&_path]:ire-fill-[var(--sold-color)]": ((k = y.value) == null ? void 0 : k.conf) === "sold",
|
|
1046
|
+
"hover:[&_path]:ire-fill-[var(--path-hover-color)]": !((g = y.value) != null && g.conf)
|
|
1037
1047
|
}
|
|
1038
1048
|
]]),
|
|
1039
|
-
innerHTML:
|
|
1040
|
-
key:
|
|
1041
|
-
onMouseover:
|
|
1042
|
-
onClick:
|
|
1049
|
+
innerHTML: p.value,
|
|
1050
|
+
key: p.value,
|
|
1051
|
+
onMouseover: f,
|
|
1052
|
+
onClick: x
|
|
1043
1053
|
}, null, 42, _hoisted_4))
|
|
1044
1054
|
])
|
|
1045
1055
|
];
|
|
@@ -1054,22 +1064,22 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]
|
|
|
1054
1064
|
shortcodeDataProps: {}
|
|
1055
1065
|
},
|
|
1056
1066
|
setup(__props) {
|
|
1057
|
-
var o, e, t, r, p, v;
|
|
1058
|
-
const props = __props, getMeta = (
|
|
1059
|
-
(
|
|
1067
|
+
var o, e, t, r, c, _, m, y, p, f, x, v;
|
|
1068
|
+
const props = __props, getMeta = (s) => props.shortcodeDataProps.meta.find(
|
|
1069
|
+
(n) => n.meta_key === s
|
|
1060
1070
|
), constants = ref({
|
|
1061
|
-
PREVIEW_PATH_COLOR: getMeta("path_color").meta_value || "rgba(255, 255, 255, 0.3)",
|
|
1062
|
-
PREVIEW_PATH_HOVER_COLOR: getMeta("path_hover_color").meta_value || "rgba(250, 250, 250, 0.54)",
|
|
1063
|
-
PREVIEW_RESERVED_COLOR: getMeta("reserved_color").meta_value || "rgba(255, 247, 89, 0.53)",
|
|
1064
|
-
PREVIEW_SOLD_COLOR: getMeta("sold_color").meta_value || "rgba(219, 64, 64, 0.45)",
|
|
1065
|
-
PREVIEW_STROKE_COLOR: getMeta("stroke_color").meta_value || "rgba(0, 0, 0, 1)",
|
|
1066
|
-
PREVIEW_STROKE_WIDTH: +getMeta("stroke_width").meta_value || 0
|
|
1071
|
+
PREVIEW_PATH_COLOR: ((o = getMeta("path_color")) == null ? void 0 : o.meta_value) || "rgba(255, 255, 255, 0.3)",
|
|
1072
|
+
PREVIEW_PATH_HOVER_COLOR: ((e = getMeta("path_hover_color")) == null ? void 0 : e.meta_value) || "rgba(250, 250, 250, 0.54)",
|
|
1073
|
+
PREVIEW_RESERVED_COLOR: ((t = getMeta("reserved_color")) == null ? void 0 : t.meta_value) || "rgba(255, 247, 89, 0.53)",
|
|
1074
|
+
PREVIEW_SOLD_COLOR: ((r = getMeta("sold_color")) == null ? void 0 : r.meta_value) || "rgba(219, 64, 64, 0.45)",
|
|
1075
|
+
PREVIEW_STROKE_COLOR: ((c = getMeta("stroke_color")) == null ? void 0 : c.meta_value) || "rgba(0, 0, 0, 1)",
|
|
1076
|
+
PREVIEW_STROKE_WIDTH: +((_ = getMeta("stroke_width")) == null ? void 0 : _.meta_value) || 0
|
|
1067
1077
|
}), colors = reactive({
|
|
1068
|
-
path: (
|
|
1069
|
-
path_hover: (
|
|
1070
|
-
reserved: (
|
|
1071
|
-
sold: (
|
|
1072
|
-
stroke_color: (
|
|
1078
|
+
path: (m = constants.value) == null ? void 0 : m.PREVIEW_PATH_COLOR,
|
|
1079
|
+
path_hover: (y = constants.value) == null ? void 0 : y.PREVIEW_PATH_HOVER_COLOR,
|
|
1080
|
+
reserved: (p = constants.value) == null ? void 0 : p.PREVIEW_RESERVED_COLOR,
|
|
1081
|
+
sold: (f = constants.value) == null ? void 0 : f.PREVIEW_SOLD_COLOR,
|
|
1082
|
+
stroke_color: (x = constants.value) == null ? void 0 : x.PREVIEW_STROKE_COLOR,
|
|
1073
1083
|
stroke_width: (v = constants.value) == null ? void 0 : v.PREVIEW_STROKE_WIDTH
|
|
1074
1084
|
}), cssVariables = computed$1(() => ({
|
|
1075
1085
|
"--reserved-color": colors.reserved,
|
|
@@ -1081,30 +1091,30 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]
|
|
|
1081
1091
|
})), shortcodeData = ref(props.shortcodeDataProps), flow = ref(
|
|
1082
1092
|
"projectFlow"
|
|
1083
1093
|
), hoveredData = ref(), showModal = ref(!1), activeBlock = ref(), activeFloor = ref(), project = computed$1(() => {
|
|
1084
|
-
var
|
|
1094
|
+
var s;
|
|
1085
1095
|
if (shortcodeData.value)
|
|
1086
|
-
return (
|
|
1096
|
+
return (s = shortcodeData.value) == null ? void 0 : s.project;
|
|
1087
1097
|
}), floors = computed$1(() => {
|
|
1088
|
-
var
|
|
1098
|
+
var s, n;
|
|
1089
1099
|
if (shortcodeData.value)
|
|
1090
|
-
return (
|
|
1091
|
-
var
|
|
1092
|
-
const
|
|
1093
|
-
var
|
|
1094
|
-
return (
|
|
1095
|
-
(
|
|
1096
|
-
var
|
|
1097
|
-
return
|
|
1100
|
+
return (s = shortcodeData.value.floors) == null || s.forEach((i) => {
|
|
1101
|
+
var a, h;
|
|
1102
|
+
const d = (h = (a = shortcodeData.value) == null ? void 0 : a.flats) == null ? void 0 : h.filter((u) => {
|
|
1103
|
+
var k;
|
|
1104
|
+
return (u == null ? void 0 : u.floor_number) !== ((k = i == null ? void 0 : i.floor_number) == null ? void 0 : k.toString()) ? !1 : i != null && i.polygon_data ? Object == null ? void 0 : Object.values(i == null ? void 0 : i.polygon_data).some(
|
|
1105
|
+
(b) => {
|
|
1106
|
+
var w;
|
|
1107
|
+
return b != null && b.type && (b == null ? void 0 : b.type) === "flat" && (b == null ? void 0 : b.id) === (u == null ? void 0 : u.id) ? i != null && i.block_id ? (u == null ? void 0 : u.block_id) === ((w = i == null ? void 0 : i.block_id) == null ? void 0 : w.toString()) : !(u != null && u.block_id) : !1;
|
|
1098
1108
|
}
|
|
1099
1109
|
) : !1;
|
|
1100
1110
|
});
|
|
1101
|
-
i.flats =
|
|
1102
|
-
const { conf:
|
|
1103
|
-
if (
|
|
1104
|
-
const
|
|
1105
|
-
|
|
1111
|
+
i.flats = d;
|
|
1112
|
+
const { conf: l } = i || {};
|
|
1113
|
+
if (d != null && d.length && !l) {
|
|
1114
|
+
const u = d == null ? void 0 : d.every((g) => (g == null ? void 0 : g.conf) === "reserved"), k = d == null ? void 0 : d.every((g) => (g == null ? void 0 : g.conf) === "sold");
|
|
1115
|
+
u ? i.conf = "reserved" : k && (i.conf = "sold");
|
|
1106
1116
|
}
|
|
1107
|
-
}), (
|
|
1117
|
+
}), (n = shortcodeData.value) == null ? void 0 : n.floors;
|
|
1108
1118
|
}), blocks = computed$1(() => {
|
|
1109
1119
|
if (shortcodeData.value)
|
|
1110
1120
|
return shortcodeData.value.blocks;
|
|
@@ -1112,27 +1122,27 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]
|
|
|
1112
1122
|
if (shortcodeData.value)
|
|
1113
1123
|
return shortcodeData.value.types;
|
|
1114
1124
|
}), flats = computed$1(() => {
|
|
1115
|
-
var
|
|
1125
|
+
var s, n;
|
|
1116
1126
|
if (shortcodeData.value)
|
|
1117
|
-
return (
|
|
1118
|
-
var
|
|
1127
|
+
return (n = (s = shortcodeData.value) == null ? void 0 : s.flats) == null ? void 0 : n.map((i) => {
|
|
1128
|
+
var d;
|
|
1119
1129
|
if (i != null && i.use_type || !(i != null && i.type)) {
|
|
1120
|
-
const
|
|
1121
|
-
|
|
1130
|
+
const l = (d = types.value) == null ? void 0 : d.find((a) => (a == null ? void 0 : a.id) === (i == null ? void 0 : i.type_id));
|
|
1131
|
+
l && (i.type = l);
|
|
1122
1132
|
}
|
|
1123
1133
|
return i;
|
|
1124
1134
|
});
|
|
1125
1135
|
}), actions = computed$1(() => {
|
|
1126
|
-
var
|
|
1136
|
+
var s;
|
|
1127
1137
|
if (shortcodeData.value)
|
|
1128
|
-
return (
|
|
1138
|
+
return (s = shortcodeData.value) == null ? void 0 : s.actions;
|
|
1129
1139
|
}), projectMeta = computed$1(() => {
|
|
1130
|
-
var
|
|
1140
|
+
var s;
|
|
1131
1141
|
if (shortcodeData.value)
|
|
1132
|
-
return (
|
|
1133
|
-
}), getColorMeta = (
|
|
1134
|
-
var
|
|
1135
|
-
return (i = (
|
|
1142
|
+
return (s = shortcodeData.value) == null ? void 0 : s.meta;
|
|
1143
|
+
}), getColorMeta = (s) => {
|
|
1144
|
+
var n, i;
|
|
1145
|
+
return (i = (n = projectMeta.value) == null ? void 0 : n.find((d) => (d == null ? void 0 : d.meta_key) === s)) == null ? void 0 : i.meta_value;
|
|
1136
1146
|
}, changeRoute = (flowType, polygonItem) => {
|
|
1137
1147
|
switch (flowType) {
|
|
1138
1148
|
case "project":
|
|
@@ -1159,8 +1169,8 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]
|
|
|
1159
1169
|
else if ((actionData == null ? void 0 : actionData.actionType) === "script")
|
|
1160
1170
|
try {
|
|
1161
1171
|
eval(actionData == null ? void 0 : actionData.script);
|
|
1162
|
-
} catch (
|
|
1163
|
-
console.error("Error executing script:",
|
|
1172
|
+
} catch (s) {
|
|
1173
|
+
console.error("Error executing script:", s);
|
|
1164
1174
|
}
|
|
1165
1175
|
break;
|
|
1166
1176
|
}
|
|
@@ -1168,10 +1178,10 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]
|
|
|
1168
1178
|
return watch(
|
|
1169
1179
|
() => projectMeta.value,
|
|
1170
1180
|
() => {
|
|
1171
|
-
const
|
|
1172
|
-
|
|
1181
|
+
const s = getColorMeta("path_color"), n = getColorMeta("path_hover_color"), i = getColorMeta("reserved_color"), d = getColorMeta("sold_color"), l = getColorMeta("stroke_color"), a = getColorMeta("stroke_width");
|
|
1182
|
+
s && (colors.path = s.toString()), n && (colors.path_hover = n.toString()), i && (colors.reserved = i.toString()), d && (colors.sold = d.toString()), l && (colors.stroke_color = l.toString()), a && (colors.stroke_width = Number(a));
|
|
1173
1183
|
}
|
|
1174
|
-
), (
|
|
1184
|
+
), (s, n) => (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
1175
1185
|
createVNode(Transition, {
|
|
1176
1186
|
name: "ire-fade-in-out",
|
|
1177
1187
|
mode: "out-in",
|
|
@@ -1187,14 +1197,14 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]
|
|
|
1187
1197
|
projectMeta: projectMeta.value,
|
|
1188
1198
|
blocks: blocks.value,
|
|
1189
1199
|
actions: actions.value,
|
|
1190
|
-
onChangeComponent:
|
|
1200
|
+
onChangeComponent: n[0] || (n[0] = (i, d) => changeRoute(i, d))
|
|
1191
1201
|
}, null, 8, ["project", "floors", "flats", "projectMeta", "blocks", "actions"])) : flow.value === "blockFlow" && flats.value && floors.value && blocks.value && activeBlock.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
1192
1202
|
key: 1,
|
|
1193
1203
|
block: activeBlock.value,
|
|
1194
1204
|
flats: flats.value,
|
|
1195
1205
|
floors: floors.value,
|
|
1196
1206
|
actions: actions.value,
|
|
1197
|
-
onChangeComponent:
|
|
1207
|
+
onChangeComponent: n[1] || (n[1] = (i, d) => changeRoute(i, d))
|
|
1198
1208
|
}, null, 8, ["block", "flats", "floors", "actions"])) : flow.value === "floorFlow" && floors.value && activeFloor.value ? (openBlock(), createBlock(_sfc_main$a, {
|
|
1199
1209
|
key: 2,
|
|
1200
1210
|
flats: flats.value,
|
|
@@ -1202,12 +1212,12 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]
|
|
|
1202
1212
|
floors: floors.value,
|
|
1203
1213
|
blocks: blocks.value,
|
|
1204
1214
|
actions: actions.value,
|
|
1205
|
-
onChangeComponent:
|
|
1215
|
+
onChangeComponent: n[2] || (n[2] = (i, d) => changeRoute(i, d))
|
|
1206
1216
|
}, null, 8, ["flats", "floor", "floors", "blocks", "actions"])) : flow.value === "flatFlow" ? (openBlock(), createBlock(_sfc_main$7, {
|
|
1207
1217
|
key: 3,
|
|
1208
1218
|
flat: hoveredData.value,
|
|
1209
1219
|
floors: floors.value,
|
|
1210
|
-
onChangeComponent:
|
|
1220
|
+
onChangeComponent: n[3] || (n[3] = (i, d) => changeRoute(i, d))
|
|
1211
1221
|
}, null, 8, ["flat", "floors"])) : createCommentVNode("", !0)
|
|
1212
1222
|
])) : createCommentVNode("", !0)
|
|
1213
1223
|
]),
|
|
@@ -1221,7 +1231,7 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]
|
|
|
1221
1231
|
default: withCtx(() => [
|
|
1222
1232
|
showModal.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1223
1233
|
key: 0,
|
|
1224
|
-
onClose:
|
|
1234
|
+
onClose: n[4] || (n[4] = (i) => showModal.value = !1)
|
|
1225
1235
|
}, {
|
|
1226
1236
|
default: withCtx(() => [
|
|
1227
1237
|
createVNode(_sfc_main$3, { modalData: hoveredData.value }, null, 8, ["modalData"])
|
package/dist/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.ire-pointer-events-none{pointer-events:none}.ire-fixed{position:fixed}.ire-absolute{position:absolute}.ire-relative{position:relative}.ire-sticky{position:sticky}.\!ire-bottom-10{bottom:2.5rem!important}.\!ire-right-10{right:2.5rem!important}.ire-left-0{left:0}.ire-right-2\.5{right:.625rem}.ire-right-full{right:100%}.ire-top-0{top:0}.ire-top-2\.5{top:.625rem}.ire-z-\[99999\]{z-index:99999}.ire-z-\[999\]{z-index:999}.ire-mx-3{margin-left:.75rem;margin-right:.75rem}.ire-my-2{margin-top:.5rem;margin-bottom:.5rem}.\!ire-mt-2{margin-top:.5rem!important}.ire-mb-3{margin-bottom:.75rem}.ire-ml-1{margin-left:.25rem}.ire-ml-4{margin-left:1rem}.ire-mt-1{margin-top:.25rem}.ire-mt-5{margin-top:1.25rem}.ire-inline-block{display:inline-block}.ire-flex{display:flex}.ire-hidden{display:none}.ire-h-10{height:2.5rem}.ire-h-5{height:1.25rem}.ire-h-\[400px\]{height:400px}.ire-h-\[48px\]{height:48px}.ire-h-fit{height:-moz-fit-content;height:fit-content}.ire-h-full{height:100%}.ire-max-h-\[80\%\]{max-height:80%}.ire-w-10{width:2.5rem}.ire-w-5{width:1.25rem}.ire-w-6{width:1.5rem}.ire-w-fit{width:-moz-fit-content;width:fit-content}.ire-w-full{width:100%}.ire-min-w-3{min-width:.75rem}.ire-min-w-36{min-width:9rem}.ire-min-w-\[150px\]{min-width:150px}.ire-min-w-full{min-width:100%}.ire-max-w-\[200px\]{max-width:200px}.-ire-translate-x-1{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ire-translate-x-3{--tw-translate-x: .75rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ire-rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ire-cursor-auto{cursor:auto}.ire-cursor-default{cursor:default}.ire-cursor-pointer{cursor:pointer}.ire-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ire-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.ire-flex-row-reverse{flex-direction:row-reverse}.ire-flex-col{flex-direction:column}.ire-items-start{align-items:flex-start}.ire-items-center{align-items:center}.ire-justify-center{justify-content:center}.ire-justify-between{justify-content:space-between}.ire-gap-1{gap:.25rem}.ire-gap-2{gap:.5rem}.ire-gap-3{gap:.75rem}.ire-gap-5{gap:1.25rem}.ire-overflow-hidden{overflow:hidden}.ire-overflow-y-auto{overflow-y:auto}.ire-rounded-full{border-radius:9999px}.ire-rounded-lg{border-radius:.5rem}.ire-rounded-none{border-radius:0}.ire-rounded-l-sm{border-top-left-radius:.125rem;border-bottom-left-radius:.125rem}.ire-border{border-width:1px}.ire-border-b{border-bottom-width:1px}.ire-border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.ire-border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.ire-border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.ire-border-b-gray-200{--tw-border-opacity: 1;border-bottom-color:rgb(229 231 235 / var(--tw-border-opacity))}.ire-bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.ire-bg-black\/40{background-color:#0006}.ire-bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.ire-bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.ire-bg-primary{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.ire-bg-transparent{background-color:transparent}.ire-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.\!ire-stroke-white{stroke:#fff!important}.ire-object-contain{-o-object-fit:contain;object-fit:contain}.ire-object-cover{-o-object-fit:cover;object-fit:cover}.ire-object-top{-o-object-position:top;object-position:top}.ire-p-1{padding:.25rem}.ire-p-2{padding:.5rem}.ire-p-3{padding:.75rem}.ire-p-4{padding:1rem}.ire-p-5{padding:1.25rem}.ire-p-6{padding:1.5rem}.ire-px-4{padding-left:1rem;padding-right:1rem}.ire-px-7{padding-left:1.75rem;padding-right:1.75rem}.ire-py-2{padding-top:.5rem;padding-bottom:.5rem}.ire-py-3{padding-top:.75rem;padding-bottom:.75rem}.ire-py-4{padding-top:1rem;padding-bottom:1rem}.ire-pl-3{padding-left:.75rem}.ire-pr-8{padding-right:2rem}.ire-pt-1{padding-top:.25rem}.ire-pt-\[50\%\]{padding-top:50%}.ire-text-center{text-align:center}.\!ire-text-2xl{font-size:1.5rem!important;line-height:2rem!important}.\!ire-text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.\!ire-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.\!ire-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.\!ire-text-xs{font-size:.75rem!important;line-height:1rem!important}.ire-text-sm{font-size:.875rem;line-height:1.25rem}.ire-font-bold{font-weight:700}.ire-font-light{font-weight:300}.ire-font-semibold{font-weight:600}.ire-uppercase{text-transform:uppercase}.ire-capitalize{text-transform:capitalize}.ire-text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.ire-text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.ire-text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.ire-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ire-line-through{text-decoration-line:line-through}.ire-shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ire-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ire-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ire-duration-300{transition-duration:.3s}.ire-ease-linear{transition-timing-function:linear}.label{margin-bottom:.25rem!important;font-size:.75rem;line-height:1rem;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.canvas path{stroke:var(--stroke-color);stroke-width:var(--stroke-width)}.ire-fade-in-out-enter-from,.ire-fade-in-out-leave-to{opacity:0}.ire-fade-in-out-enter-active,.ire-fade-in-out-leave-active{transition:.3s ease-in-out}.ire-fade-in-out-enter-to,.ire-fade-in-out-leave-from{opacity:1}.placeholder\:ire-text-slate-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.placeholder\:ire-text-slate-400::placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.hover\:ire-border-slate-400:hover{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:ire-bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.hover\:ire-bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:ire-bg-primary:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.hover\:ire-text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.focus\:ire-border-slate-400:focus{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.focus\:ire-shadow-md:focus{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:ire-outline-none:focus{outline:2px solid transparent;outline-offset:2px}@media (min-width: 1024px){.lg\:ire-block{display:block}.lg\:ire-h-96{height:24rem}.lg\:ire-w-96{width:24rem}.lg\:ire-w-auto{width:auto}.lg\:ire-min-w-\[250px\]{min-width:250px}.lg\:ire-min-w-\[500px\]{min-width:500px}.lg\:ire-flex-row{flex-direction:row}.lg\:ire-gap-20{gap:5rem}.lg\:\!ire-text-balance{text-wrap:balance!important}.lg\:ire-p-32{padding:8rem}.lg\:ire-px-0{padding-left:0;padding-right:0}.lg\:ire-px-5{padding-left:1.25rem;padding-right:1.25rem}.lg\:ire-py-2{padding-top:.5rem;padding-bottom:.5rem}.lg\:\!ire-text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}.\[\&_a\]\:ire-cursor-pointer a{cursor:pointer}.\[\&_a\]\:ire-text-\[\#2980b9\] a{--tw-text-opacity: 1;color:rgb(41 128 185 / var(--tw-text-opacity))}.\[\&_a\]\:ire-underline a{text-decoration-line:underline}.\[\&_g\[conf\=reserved\]_path\]\:ire-fill-\[var\(--reserved-color\)\] g[conf=reserved] path{fill:var(--reserved-color)}.\[\&_g\[conf\=sold\]_path\]\:ire-fill-\[var\(--sold-color\)\] g[conf=sold] path{fill:var(--sold-color)}.\[\&_path\]\:ire-cursor-pointer path{cursor:pointer}.\[\&_path\]\:ire-fill-\[var\(--path-color\)\] path{fill:var(--path-color)}.\[\&_path\]\:ire-fill-gray-400 path{fill:#9ca3af}.\[\&_path\]\:\!ire-stroke-white path{stroke:#fff!important}.\[\&_path\]\:ire-stroke-black path{stroke:#000}.\[\&_path\]\:\!ire-transition-all path{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.\[\&_path\]\:ire-transition-all path{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.\[\&_path\]\:hover\:ire-fill-white:hover path{fill:#fff}.hover\:\[\&_path\]\:ire-fill-\[var\(--path-hover-color\)\] path:hover{fill:var(--path-hover-color)}.hover\:\[\&_path\]\:ire-fill-\[var\(--reserved-color\)\] path:hover{fill:var(--reserved-color)}.hover\:\[\&_path\]\:ire-fill-\[var\(--sold-color\)\] path:hover{fill:var(--sold-color)}.ire-group:hover .group-hover\:\[\&_path\]\:ire-fill-white path{fill:#fff}.ire-group:hover .group-hover\:\[\&_path\]\:ire-stroke-white path{stroke:#fff}.\[\&_svg\]\:ire-h-3 svg{height:.75rem}.\[\&_svg\]\:ire-w-3 svg{width:.75rem}.\[\&_ul\]\:ire-flex ul{display:flex}.\[\&_ul\]\:ire-columns-1 ul{-moz-columns:1;columns:1}.\[\&_ul\]\:ire-flex-col ul{flex-direction:column}.\[\&_ul\]\:ire-gap-2 ul{gap:.5rem}.\[\&_ul_li\]\:ire-relative ul li{position:relative}.\[\&_ul_li\]\:ire-pl-\[20px\] ul li{padding-left:20px}.\[\&_ul_li\]\:after\:ire-absolute ul li:after{content:var(--tw-content);position:absolute}.\[\&_ul_li\]\:after\:ire-left-2 ul li:after{content:var(--tw-content);left:.5rem}.\[\&_ul_li\]\:after\:ire-top-\[10px\] ul li:after{content:var(--tw-content);top:10px}.\[\&_ul_li\]\:after\:ire-h-\[4px\] ul li:after{content:var(--tw-content);height:4px}.\[\&_ul_li\]\:after\:ire-w-\[4px\] ul li:after{content:var(--tw-content);width:4px}.\[\&_ul_li\]\:after\:ire-rounded-\[50\%\] ul li:after{content:var(--tw-content);border-radius:50%}.\[\&_ul_li\]\:after\:ire-bg-black ul li:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.ire-pointer-events-none{pointer-events:none}.ire-fixed{position:fixed}.ire-absolute{position:absolute}.ire-relative{position:relative}.ire-sticky{position:sticky}.\!ire-bottom-10{bottom:2.5rem!important}.\!ire-right-10{right:2.5rem!important}.ire-left-0{left:0}.ire-right-2\.5{right:.625rem}.ire-right-full{right:100%}.ire-top-0{top:0}.ire-top-2\.5{top:.625rem}.ire-z-\[99999\]{z-index:99999}.ire-z-\[999\]{z-index:999}.ire-mx-3{margin-left:.75rem;margin-right:.75rem}.ire-my-2{margin-top:.5rem;margin-bottom:.5rem}.\!ire-mt-2{margin-top:.5rem!important}.ire-mb-3{margin-bottom:.75rem}.ire-ml-1{margin-left:.25rem}.ire-ml-4{margin-left:1rem}.ire-mt-1{margin-top:.25rem}.ire-mt-5{margin-top:1.25rem}.ire-inline-block{display:inline-block}.ire-flex{display:flex}.ire-hidden{display:none}.ire-h-10{height:2.5rem}.ire-h-5{height:1.25rem}.ire-h-\[400px\]{height:400px}.ire-h-\[48px\]{height:48px}.ire-h-fit{height:-moz-fit-content;height:fit-content}.ire-h-full{height:100%}.ire-max-h-\[80\%\]{max-height:80%}.ire-w-10{width:2.5rem}.ire-w-5{width:1.25rem}.ire-w-6{width:1.5rem}.ire-w-fit{width:-moz-fit-content;width:fit-content}.ire-w-full{width:100%}.ire-min-w-3{min-width:.75rem}.ire-min-w-36{min-width:9rem}.ire-min-w-\[150px\]{min-width:150px}.ire-min-w-full{min-width:100%}.ire-max-w-\[200px\]{max-width:200px}.-ire-translate-x-1{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ire-translate-x-3{--tw-translate-x: .75rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ire-rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ire-cursor-auto{cursor:auto}.ire-cursor-default{cursor:default}.ire-cursor-pointer{cursor:pointer}.ire-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ire-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.ire-flex-row-reverse{flex-direction:row-reverse}.ire-flex-col{flex-direction:column}.ire-items-start{align-items:flex-start}.ire-items-center{align-items:center}.ire-justify-center{justify-content:center}.ire-justify-between{justify-content:space-between}.ire-gap-1{gap:.25rem}.ire-gap-2{gap:.5rem}.ire-gap-3{gap:.75rem}.ire-gap-5{gap:1.25rem}.ire-overflow-hidden{overflow:hidden}.ire-overflow-y-auto{overflow-y:auto}.ire-rounded-full{border-radius:9999px}.ire-rounded-lg{border-radius:.5rem}.ire-rounded-none{border-radius:0}.ire-rounded-l-sm{border-top-left-radius:.125rem;border-bottom-left-radius:.125rem}.ire-border{border-width:1px}.ire-border-b{border-bottom-width:1px}.ire-border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.ire-border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.ire-border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.ire-border-b-gray-200{--tw-border-opacity: 1;border-bottom-color:rgb(229 231 235 / var(--tw-border-opacity))}.ire-bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.ire-bg-black\/40{background-color:#0006}.ire-bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.ire-bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.ire-bg-primary{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.ire-bg-transparent{background-color:transparent}.ire-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.\!ire-bg-primary{--tw-bg-opacity: 1 !important;background-color:rgb(30 41 59 / var(--tw-bg-opacity))!important}.\!ire-stroke-white{stroke:#fff!important}.ire-object-contain{-o-object-fit:contain;object-fit:contain}.ire-object-cover{-o-object-fit:cover;object-fit:cover}.ire-object-top{-o-object-position:top;object-position:top}.ire-p-1{padding:.25rem}.ire-p-2{padding:.5rem}.ire-p-3{padding:.75rem}.ire-p-4{padding:1rem}.ire-p-5{padding:1.25rem}.ire-p-6{padding:1.5rem}.ire-px-4{padding-left:1rem;padding-right:1rem}.ire-px-7{padding-left:1.75rem;padding-right:1.75rem}.ire-py-2{padding-top:.5rem;padding-bottom:.5rem}.ire-py-3{padding-top:.75rem;padding-bottom:.75rem}.ire-py-4{padding-top:1rem;padding-bottom:1rem}.ire-pl-3{padding-left:.75rem}.ire-pr-8{padding-right:2rem}.ire-pt-1{padding-top:.25rem}.ire-pt-\[50\%\]{padding-top:50%}.ire-text-center{text-align:center}.\!ire-text-2xl{font-size:1.5rem!important;line-height:2rem!important}.\!ire-text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.\!ire-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.\!ire-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.\!ire-text-xs{font-size:.75rem!important;line-height:1rem!important}.ire-text-sm{font-size:.875rem;line-height:1.25rem}.ire-font-bold{font-weight:700}.ire-font-light{font-weight:300}.ire-font-semibold{font-weight:600}.ire-uppercase{text-transform:uppercase}.ire-capitalize{text-transform:capitalize}.ire-text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.ire-text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.ire-text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.ire-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ire-text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.\!ire-text-black{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\!ire-text-white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.ire-line-through{text-decoration-line:line-through}.ire-shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ire-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ire-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ire-duration-300{transition-duration:.3s}.ire-ease-linear{transition-timing-function:linear}.label{margin-bottom:.25rem!important;font-size:.75rem;line-height:1rem;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.canvas path{stroke:var(--stroke-color);stroke-width:var(--stroke-width)}.ire-fade-in-out-enter-from,.ire-fade-in-out-leave-to{opacity:0}.ire-fade-in-out-enter-active,.ire-fade-in-out-leave-active{transition:.3s ease-in-out}.ire-fade-in-out-enter-to,.ire-fade-in-out-leave-from{opacity:1}.placeholder\:ire-text-slate-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.placeholder\:ire-text-slate-400::placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.hover\:ire-border-slate-400:hover{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:ire-bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.hover\:ire-bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:ire-bg-primary:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.hover\:ire-text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:\!ire-text-white:hover{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.focus\:ire-border-slate-400:focus{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.focus\:ire-shadow-md:focus{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:ire-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.ire-group:hover .group-hover\:ire-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ire-group:hover .group-hover\:\!ire-text-white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}@media (min-width: 1024px){.lg\:ire-block{display:block}.lg\:ire-h-96{height:24rem}.lg\:ire-w-96{width:24rem}.lg\:ire-w-auto{width:auto}.lg\:ire-min-w-\[250px\]{min-width:250px}.lg\:ire-min-w-\[500px\]{min-width:500px}.lg\:ire-flex-row{flex-direction:row}.lg\:ire-gap-20{gap:5rem}.lg\:\!ire-text-balance{text-wrap:balance!important}.lg\:ire-p-32{padding:8rem}.lg\:ire-px-0{padding-left:0;padding-right:0}.lg\:ire-px-5{padding-left:1.25rem;padding-right:1.25rem}.lg\:ire-py-2{padding-top:.5rem;padding-bottom:.5rem}.lg\:\!ire-text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}.\[\&_a\]\:ire-cursor-pointer a{cursor:pointer}.\[\&_a\]\:ire-text-\[\#2980b9\] a{--tw-text-opacity: 1;color:rgb(41 128 185 / var(--tw-text-opacity))}.\[\&_a\]\:ire-underline a{text-decoration-line:underline}.\[\&_g\[conf\=reserved\]_path\]\:ire-fill-\[var\(--reserved-color\)\] g[conf=reserved] path{fill:var(--reserved-color)}.\[\&_g\[conf\=sold\]_path\]\:ire-fill-\[var\(--sold-color\)\] g[conf=sold] path{fill:var(--sold-color)}.\[\&_path\]\:ire-cursor-pointer path{cursor:pointer}.\[\&_path\]\:ire-fill-\[var\(--path-color\)\] path{fill:var(--path-color)}.\[\&_path\]\:ire-fill-gray-400 path{fill:#9ca3af}.\[\&_path\]\:\!ire-stroke-white path{stroke:#fff!important}.\[\&_path\]\:ire-stroke-black path{stroke:#000}.\[\&_path\]\:\!ire-transition-all path{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.\[\&_path\]\:ire-transition-all path{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.\[\&_path\]\:hover\:ire-fill-white:hover path{fill:#fff}.hover\:\[\&_path\]\:ire-fill-\[var\(--path-hover-color\)\] path:hover{fill:var(--path-hover-color)}.hover\:\[\&_path\]\:ire-fill-\[var\(--reserved-color\)\] path:hover{fill:var(--reserved-color)}.hover\:\[\&_path\]\:ire-fill-\[var\(--sold-color\)\] path:hover{fill:var(--sold-color)}.ire-group:hover .group-hover\:\[\&_path\]\:ire-fill-white path{fill:#fff}.ire-group:hover .group-hover\:\[\&_path\]\:ire-stroke-white path{stroke:#fff}.\[\&_svg\]\:ire-h-3 svg{height:.75rem}.\[\&_svg\]\:ire-w-3 svg{width:.75rem}.\[\&_ul\]\:ire-flex ul{display:flex}.\[\&_ul\]\:ire-columns-1 ul{-moz-columns:1;columns:1}.\[\&_ul\]\:ire-flex-col ul{flex-direction:column}.\[\&_ul\]\:ire-gap-2 ul{gap:.5rem}.\[\&_ul_li\]\:ire-relative ul li{position:relative}.\[\&_ul_li\]\:ire-pl-\[20px\] ul li{padding-left:20px}.\[\&_ul_li\]\:after\:ire-absolute ul li:after{content:var(--tw-content);position:absolute}.\[\&_ul_li\]\:after\:ire-left-2 ul li:after{content:var(--tw-content);left:.5rem}.\[\&_ul_li\]\:after\:ire-top-\[10px\] ul li:after{content:var(--tw-content);top:10px}.\[\&_ul_li\]\:after\:ire-h-\[4px\] ul li:after{content:var(--tw-content);height:4px}.\[\&_ul_li\]\:after\:ire-w-\[4px\] ul li:after{content:var(--tw-content);width:4px}.\[\&_ul_li\]\:after\:ire-rounded-\[50\%\] ul li:after{content:var(--tw-content);border-radius:50%}.\[\&_ul_li\]\:after\:ire-bg-black ul li:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}
|