@iamproperty/components 3.7.1 → 3.7.2

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.
@@ -1,10 +1,10 @@
1
- import { openBlock as u, createElementBlock as h, normalizeClass as A, createElementVNode as c, toDisplayString as x, createCommentVNode as g, Fragment as T, renderList as H, renderSlot as _, withDirectives as R, mergeProps as M, vModelDynamic as F, vModelText as st, vModelSelect as it, resolveComponent as D, createVNode as k, createTextVNode as rt, normalizeStyle as lt, withModifiers as nt } from "vue";
2
- const w = (e, a) => {
1
+ import { openBlock as d, createElementBlock as u, normalizeClass as A, createElementVNode as c, toDisplayString as q, createCommentVNode as g, Fragment as T, renderList as H, renderSlot as _, withDirectives as I, mergeProps as M, vModelDynamic as O, vModelText as dt, vModelSelect as ut, resolveComponent as R, createVNode as x, createTextVNode as ht, normalizeStyle as mt, withModifiers as ft } from "vue";
2
+ const S = (e, a) => {
3
3
  const t = e.__vccOpts || e;
4
- for (const [i, l] of a)
5
- t[i] = l;
4
+ for (const [i, n] of a)
5
+ t[i] = n;
6
6
  return t;
7
- }, ot = {
7
+ }, bt = {
8
8
  name: "Logo",
9
9
  props: {
10
10
  id: {
@@ -29,294 +29,300 @@ const w = (e, a) => {
29
29
  return "brand brand--" + this.id;
30
30
  }
31
31
  }
32
- }, ct = ["xlink:href"], dt = ["innerHTML"];
33
- function ut(e, a, t, i, l, r) {
34
- return u(), h("div", {
32
+ }, yt = ["xlink:href"], pt = ["innerHTML"];
33
+ function gt(e, a, t, i, n, r) {
34
+ return d(), u("div", {
35
35
  class: A(r.className)
36
36
  }, [
37
- (u(), h("svg", null, [
38
- c("title", null, "iam " + x(t.id), 1),
37
+ (d(), u("svg", null, [
38
+ c("title", null, "iam " + q(t.id), 1),
39
39
  c("use", {
40
40
  "xlink:href": t.path + r.src
41
- }, null, 8, ct)
41
+ }, null, 8, yt)
42
42
  ])),
43
- t.desc ? (u(), h("span", {
43
+ t.desc ? (d(), u("span", {
44
44
  key: 0,
45
45
  innerHTML: t.desc
46
- }, null, 8, dt)) : g("", !0)
46
+ }, null, 8, pt)) : g("", !0)
47
47
  ], 2);
48
48
  }
49
- const ht = /* @__PURE__ */ w(ot, [["render", ut]]), mt = function(e) {
49
+ const _t = /* @__PURE__ */ S(bt, [["render", gt]]), vt = function(e) {
50
50
  return typeof e != "string" ? !1 : !isNaN(e) && // use type coercion to parse the _entirety_ of the string (`parseFloat` alone does not do this)...
51
51
  !isNaN(parseFloat(e));
52
- }, ft = (e, a) => String(e).padStart(a, "0"), bt = (e) => e.charAt(0).toUpperCase() + e.slice(1), j = function(e, a) {
52
+ }, At = (e, a) => String(e).padStart(a, "0"), wt = (e) => e.charAt(0).toUpperCase() + e.slice(1), K = function(e, a) {
53
53
  if (!e.getAttribute("data-pages"))
54
54
  return !1;
55
55
  e.getAttribute("data-page") || e.setAttribute("data-page", 1);
56
- let t = e.getAttribute("data-page"), i = e.getAttribute("data-pages"), l = e.getAttribute("data-total"), r = e.getAttribute("data-show"), s = e.getAttribute("data-increment");
56
+ let t = e.getAttribute("data-page"), i = e.getAttribute("data-pages"), n = e.getAttribute("data-total"), r = e.getAttribute("data-show"), s = e.getAttribute("data-increment");
57
57
  if (i <= 1)
58
58
  return a.innerHTML = "", !1;
59
59
  let o = "";
60
- for (let n = 1; n <= i; n++)
61
- n == t ? o += `<li class="page-item active" aria-current="page"><span class="page-link">${n}</span></li>` : o += `<li class="page-item"><a href="?page=${n}" class="page-link" data-page="${n}">${n}</a></li>`;
60
+ for (let h = 1; h <= i; h++)
61
+ h == t ? o += `<li class="page-item active" aria-current="page"><span class="page-link">${h}</span></li>` : o += `<li class="page-item"><a href="?page=${h}" class="page-link" data-page="${h}">${h}</a></li>`;
62
62
  return a.innerHTML = `<ul class="pagination mb-0 d-none d-sm-flex">
63
63
  ${t == 1 ? '<li class="page-item disabled"><span class="page-link">Previous</span></li>' : `<li class="page-item"><a href="?page=${parseInt(t) - 1}" class="page-link" data-page="${parseInt(t) - 1}">Previous</a></li>`}
64
64
  ${o}
65
65
  ${t == i ? '<li class="page-item disabled"><span class="page-link">Next</span></li>' : `<li class="page-item"><a href="?page=${parseInt(t) + 1}" class="page-link" data-page="${parseInt(t) + 1}">Next</a></li>`}
66
66
  </ul>`, a.innerHTML += `<div class="d-sm-none text-center">
67
- <span class="d-block pb-2">You've viewed ${r} of ${l} results</span>
67
+ <span class="d-block pb-2">You've viewed ${r} of ${n} results</span>
68
68
  <a href="?show=${parseInt(r) + parseInt(s)}" class="btn btn-primary w-100 m-0" data-show="${parseInt(r) + parseInt(s)}">Load more results</a>
69
69
  </div>`, !0;
70
- }, Q = (e) => {
70
+ }, X = (e) => {
71
71
  const a = Array.from(e.querySelectorAll("thead th"));
72
- Array.from(e.querySelectorAll("tbody tr")).forEach((i, l) => {
72
+ Array.from(e.querySelectorAll("tbody tr")).forEach((i, n) => {
73
73
  const r = Array.from(i.querySelectorAll("th, td")), s = ["0", "low", "medium", "high", "unknown", "n/a", "pending", "verified", "incomplete", "completed", "requires approval"];
74
- r.forEach((o, n) => {
75
- const d = a[n];
76
- if (typeof d < "u") {
77
- let f = document.createElement("div");
78
- f.innerHTML = d.innerHTML;
79
- let m = f.textContent || f.innerText || "";
80
- o.setAttribute("data-label", m), d.hasAttribute("data-td-class") && o.setAttribute("class", d.getAttribute("data-td-class")), d.hasAttribute("data-format") && (o.setAttribute("data-format", d.getAttribute("data-format")), o.innerHTML = V(d.getAttribute("data-format"), o.textContent.trim())), s.includes(o.textContent.trim().toLowerCase()) && o.setAttribute("data-content", o.textContent.trim().toLowerCase());
74
+ r.forEach((o, h) => {
75
+ const l = a[h];
76
+ if (typeof l < "u") {
77
+ let b = document.createElement("div");
78
+ b.innerHTML = l.innerHTML;
79
+ let m = b.textContent || b.innerText || "";
80
+ o.setAttribute("data-label", m), l.hasAttribute("data-td-class") && o.setAttribute("class", l.getAttribute("data-td-class")), l.hasAttribute("data-format") && (o.setAttribute("data-format", l.getAttribute("data-format")), o.innerHTML = U(l.getAttribute("data-format"), o.textContent.trim())), s.includes(o.textContent.trim().toLowerCase()) && o.setAttribute("data-content", o.textContent.trim().toLowerCase());
81
81
  }
82
82
  });
83
83
  });
84
- }, yt = (e) => {
84
+ }, St = (e) => {
85
85
  let a = 0;
86
86
  return Array.from(e.querySelectorAll("tr")).forEach((t, i) => {
87
- let l = window.getComputedStyle(document.querySelector("html")), r = t.querySelector(":scope > *:last-child > *:first-child");
87
+ let n = window.getComputedStyle(document.querySelector("html")), r = t.querySelector(":scope > *:last-child > *:first-child");
88
88
  if (r) {
89
- let o = r.offsetWidth / parseFloat(l.fontSize);
89
+ let o = r.offsetWidth / parseFloat(n.fontSize);
90
90
  o += 1.5, a = a > o ? a : o;
91
91
  }
92
- let s = t.offsetHeight / parseFloat(l.fontSize);
92
+ let s = t.offsetHeight / parseFloat(n.fontSize);
93
93
  t.style.setProperty("--row-height", `${s}rem`);
94
94
  }), a;
95
- }, pt = (e) => {
95
+ }, Lt = (e) => {
96
96
  if (e.closest(".table--fullwidth") || e.querySelectorAll("thead tr th").length < 4)
97
97
  return !1;
98
98
  Array.from(e.querySelectorAll("tbody tr")).forEach((a, t) => {
99
- let i = a.querySelector(":scope > :is(td,th):first-child"), l = i.textContent;
100
- if (l != "")
101
- i.innerHTML = `<span class="td__content">${l}</span><button type="button" class="d-none">${l}</button>`;
99
+ let i = a.querySelector(":scope > :is(td,th):first-child"), n = i.textContent;
100
+ if (n != "")
101
+ i.innerHTML = `<span class="td__content">${n}</span><button type="button" class="d-none">${n}</button>`;
102
102
  else {
103
103
  let r = a.querySelector(":scope > :is(td,th):nth-child(2)"), s = r.textContent;
104
104
  r.innerHTML = `<span class="td__content">${s}</span><button type="button" class="d-none">${s}</button>`;
105
105
  }
106
106
  });
107
- }, gt = (e) => {
107
+ }, kt = (e) => {
108
108
  e.addEventListener("click", (a) => {
109
109
  if (a && a.target instanceof HTMLElement && a.target.closest("tr > :is(td,th):first-child button")) {
110
110
  let t = a.target.closest("tr > :is(td,th):first-child button"), i = t.parentNode.closest("tr");
111
111
  i.getAttribute("data-view") == "full" ? i.setAttribute("data-view", "default") : i.setAttribute("data-view", "full"), t.blur();
112
112
  }
113
113
  });
114
- }, Y = (e, a) => {
114
+ }, tt = (e, a) => {
115
115
  let t = a.querySelector("[data-search]");
116
116
  if (!t)
117
117
  return !1;
118
- const i = t.getAttribute("id"), l = t.getAttribute("data-search").split(",");
118
+ const i = t.getAttribute("id"), n = t.getAttribute("data-search").split(",");
119
119
  let r = t.parentNode, s = {};
120
- l.forEach((o, n) => {
121
- Array.from(e.querySelectorAll('td[data-label="' + o.trim() + '"]')).forEach((d, f) => {
122
- d.querySelector(".td__content") ? s[d.querySelector(".td__content").textContent] = d.querySelector(".td__content").textContent : s[d.textContent] = d.textContent;
120
+ n.forEach((o, h) => {
121
+ Array.from(e.querySelectorAll('td[data-label="' + o.trim() + '"]')).forEach((l, b) => {
122
+ l.querySelector(".td__content") ? s[l.querySelector(".td__content").textContent] = l.querySelector(".td__content").textContent : s[l.textContent] = l.textContent;
123
123
  });
124
124
  }), t.setAttribute("list", `${i}_list`), t.setAttribute("autocomplete", "off"), r.querySelector("datalist") || (r.innerHTML += `<datalist id="${i}_list"></datalist>`), r.querySelector("datalist").innerHTML = `${Object.keys(s).map((o) => `<option value="${o}"></option>`).join("")}`;
125
- }, _t = (e, a, t, i, l) => {
125
+ }, xt = (e, a, t, i, n) => {
126
126
  var r;
127
- let s = function(n = !1) {
127
+ let s = function(l = !1) {
128
128
  if (a.hasAttribute("data-ajax")) {
129
- if (!n) {
130
- let d = a.querySelector("[data-pagination]");
131
- d.value = 1, i.setAttribute("data-page", 1);
129
+ if (!l) {
130
+ let b = a.querySelector("[data-pagination]");
131
+ b.value = 1, i.setAttribute("data-page", 1);
132
132
  }
133
- J(e, a, t, i);
133
+ st(e, a, t, i);
134
134
  } else
135
- a.hasAttribute("data-submit") ? a.submit() : (Z(e, a, i), j(i, t), W(e, a));
135
+ a.hasAttribute("data-submit") ? a.submit() : (et(e, a, i), K(i, t), G(e, a));
136
136
  };
137
- a.addEventListener("keyup", (n) => {
138
- clearTimeout(r), n && n.target instanceof HTMLElement && n.target.closest("[data-search]") && (r = setTimeout(function() {
137
+ a.addEventListener("keyup", (l) => {
138
+ clearTimeout(r), l && l.target instanceof HTMLElement && l.target.closest("[data-search]") && (r = setTimeout(function() {
139
139
  s();
140
140
  }, 500));
141
- }), a.addEventListener("change", (n) => {
142
- clearTimeout(r), n && n.target instanceof HTMLElement && n.target.closest("[data-sort]") && (a.hasAttribute("data-submit") || K(e, a, l), s()), n && n.target instanceof HTMLElement && n.target.closest("[data-search]") && s(), n && n.target instanceof HTMLElement && n.target.closest("[data-filter]") && n.target.closest("form .dialog__wrapper > dialog") && s(), n && n.target instanceof HTMLElement && n.target.closest("[data-filter]") && !n.target.closest("form dialog") && s(), n && n.target instanceof HTMLElement && n.target.closest("[data-show]") && s(), n && n.target instanceof HTMLElement && n.target.closest("[data-mimic]") && s();
143
- }), a.addEventListener("click", (n) => {
144
- clearTimeout(r), n && n.target instanceof HTMLElement && n.target.closest('dialog button:not([type="button"])') && n.target.closest('dialog button:not([type="button"])').closest("dialog").close(), n && n.target instanceof HTMLElement && n.target.closest(".dialog__close") && (n.preventDefault(), n.stopPropagation()), n && n.target instanceof HTMLElement && n.target.closest("[data-clear]") && (a.reset(), a.hasAttribute("data-submit") || K(e, a, l), s());
145
- }), a.addEventListener("submit", (n) => {
146
- clearTimeout(r), a.hasAttribute("data-submit") || n.preventDefault(), s();
147
- }), a.addEventListener("force", (n) => {
141
+ }), a.addEventListener("change", (l) => {
142
+ clearTimeout(r), l && l.target instanceof HTMLElement && l.target.closest("[data-sort]") && (a.hasAttribute("data-submit") || Z(e, a, n), s()), l && l.target instanceof HTMLElement && l.target.closest("[data-search]") && s(), l && l.target instanceof HTMLElement && l.target.closest("[data-filter]") && l.target.closest("form .dialog__wrapper > dialog") && s(), l && l.target instanceof HTMLElement && l.target.closest("[data-filter]") && !l.target.closest("form dialog") && s(), l && l.target instanceof HTMLElement && l.target.closest("[data-show]") && s(), l && l.target instanceof HTMLElement && l.target.closest("[data-mimic]") && s();
143
+ }), a.addEventListener("click", (l) => {
144
+ clearTimeout(r), l && l.target instanceof HTMLElement && l.target.closest('dialog button:not([type="button"])') && l.target.closest('dialog button:not([type="button"])').closest("dialog").close(), l && l.target instanceof HTMLElement && l.target.closest(".dialog__close") && (l.preventDefault(), l.stopPropagation()), l && l.target instanceof HTMLElement && l.target.closest("[data-clear]") && (a.reset(), a.hasAttribute("data-submit") || Z(e, a, n), s());
145
+ }), a.addEventListener("submit", (l) => {
146
+ clearTimeout(r), a.hasAttribute("data-submit") || l.preventDefault(), s();
147
+ }), a.addEventListener("force", (l) => {
148
148
  s();
149
- }), a.addEventListener("paginate", (n) => {
149
+ }), a.addEventListener("paginate", (l) => {
150
150
  s(!0);
151
151
  });
152
- let o = [];
153
- Array.from(a.querySelectorAll("[data-mimic]")).forEach((n, d) => {
154
- let f = n.getAttribute("data-mimic");
155
- Array.from(document.querySelectorAll(`[name="${f}"]`)).forEach((m, p) => {
156
- let y = m.closest("form");
157
- o.includes(y) || o.push(y);
152
+ let o = [], h = [];
153
+ Array.from(a.querySelectorAll("[data-mimic]")).forEach((l, b) => {
154
+ let m = l.getAttribute("data-mimic");
155
+ Array.from(document.querySelectorAll(`[name="${m}"]`)).forEach((y, p) => {
156
+ let f = y.closest("form");
157
+ o.includes(f) || o.push(f), h.includes(m) || h.push(m);
158
158
  });
159
- }), o.forEach((n, d) => {
160
- const f = function() {
161
- let m = [], p = new FormData(n);
162
- for (const [y, b] of p)
163
- document.querySelector(`[data-mimic="${y}"]`) && !m.includes(y) ? (m.push(y), document.querySelector(`[data-mimic="${y}"]`).value = b) : document.querySelector(`[data-mimic="${y}"]`) && (document.querySelector(`[data-mimic="${y}"]`).value += "," + b);
164
- for (const y of m) {
165
- const b = new Event("force");
166
- a.dispatchEvent(b);
159
+ }), o.forEach((l, b) => {
160
+ const m = function() {
161
+ let y = [], p = new FormData(l);
162
+ for (const [f, k] of p)
163
+ document.querySelector(`[data-mimic="${f}"]`) && !y.includes(f) ? (y.push(f), document.querySelector(`[data-mimic="${f}"]`).value = k) : document.querySelector(`[data-mimic="${f}"]`) && (document.querySelector(`[data-mimic="${f}"]`).value += "," + k);
164
+ for (const f of y) {
165
+ const k = new Event("force");
166
+ a.dispatchEvent(k);
167
167
  }
168
+ for (const f of h)
169
+ if (!p.has(f) && l.querySelector(`[name="${f}"]`)) {
170
+ document.querySelector(`[data-mimic="${f}"]`).value = "";
171
+ const k = new Event("force");
172
+ a.dispatchEvent(k);
173
+ }
168
174
  };
169
- n.addEventListener("force", (m) => {
170
- f();
171
- }), n.addEventListener("change", (m) => {
172
- f();
175
+ l.addEventListener("force", (y) => {
176
+ m();
177
+ }), l.addEventListener("change", (y) => {
178
+ m();
173
179
  });
174
180
  });
175
- }, K = (e, a, t) => {
181
+ }, Z = (e, a, t) => {
176
182
  if (a.getAttribute("data-ajax"))
177
183
  return !1;
178
- let i = e.querySelector("tbody"), l = a.querySelector("[data-sort]"), r = l.querySelector(`option:nth-child(${l.selectedIndex + 1})`), s = r.getAttribute("data-sort"), o = r.getAttribute("data-order"), n = r.getAttribute("data-format");
184
+ let i = e.querySelector("tbody"), n = a.querySelector("[data-sort]"), r = n.querySelector(`option:nth-child(${n.selectedIndex + 1})`), s = r.getAttribute("data-sort"), o = r.getAttribute("data-order"), h = r.getAttribute("data-format");
179
185
  if (!s)
180
- return i.innerHTML = t.innerHTML, Q(e), !1;
181
- let d = [];
182
- ["asc", "desc", "descending"].includes(o) || (d = o.split(","));
183
- let f = [];
184
- Array.from(i.querySelectorAll("tr")).forEach((p, y) => {
185
- let b = p.querySelector('td[data-label="' + s + '"], th[data-label="' + s + '"]').textContent.trim();
186
- d.length && d.includes(b) && (b = d.indexOf(b)), mt(b) && (b = ft(b, 10)), n && n == "date" && (b = new Date(b));
187
- const E = {
188
- index: b,
189
- row: p
186
+ return i.innerHTML = t.innerHTML, X(e), !1;
187
+ let l = [];
188
+ ["asc", "desc", "descending"].includes(o) || (l = o.split(","));
189
+ let b = [];
190
+ Array.from(i.querySelectorAll("tr")).forEach((y, p) => {
191
+ let f = y.querySelector('td[data-label="' + s + '"], th[data-label="' + s + '"]').textContent.trim();
192
+ l.length && l.includes(f) && (f = l.indexOf(f)), vt(f) && (f = At(f, 10)), h && h == "date" && (f = new Date(f));
193
+ const k = {
194
+ index: f,
195
+ row: y
190
196
  };
191
- f.push(E);
192
- }), f.sort((p, y) => p.index > y.index ? 1 : -1), (o == "descending" || o == "desc") && (f = f.reverse());
197
+ b.push(k);
198
+ }), b.sort((y, p) => y.index > p.index ? 1 : -1), (o == "descending" || o == "desc") && (b = b.reverse());
193
199
  let m = "";
194
- f.forEach((p, y) => {
195
- m += p.row.outerHTML;
200
+ b.forEach((y, p) => {
201
+ m += y.row.outerHTML;
196
202
  }), i.innerHTML = m;
197
- }, Z = (e, a, t) => {
203
+ }, et = (e, a, t) => {
198
204
  e.classList.remove("table--filtered");
199
- let i = [], l = [], r = 0, s = a.querySelector("[data-pagination]") ? parseInt(a.querySelector("[data-pagination]").value) : 1, o = a.querySelector("[data-show]") ? parseInt(a.querySelector("[data-show]").value) : 15;
200
- if (Array.from(e.querySelectorAll("tbody tr")).forEach((d, f) => {
201
- d.classList.remove("filtered"), d.classList.remove("filtered--matched"), d.classList.remove("filtered--show"), d.removeAttribute("data-filtered-by");
202
- }), Array.from(a.querySelectorAll("[data-filter]")).forEach((d, f) => {
203
- if (!(d.type == "radio" && !d.checked) && !(d.type == "checkbox" && !d.checked)) {
204
- if (d.getAttribute("data-filter") == "multi")
205
- for (const [m, p] of Object.entries(JSON.parse(d.value)))
206
- i[d.getAttribute("data-filter")].push(p);
207
- else if (d && d.value) {
208
- let m = d.getAttribute("data-filter");
209
- i[m] || (i[m] = new Array()), i[m].push(d.value);
205
+ let i = [], n = [], r = 0, s = a.querySelector("[data-pagination]") ? parseInt(a.querySelector("[data-pagination]").value) : 1, o = a.querySelector("[data-show]") ? parseInt(a.querySelector("[data-show]").value) : 15;
206
+ if (Array.from(e.querySelectorAll("tbody tr")).forEach((l, b) => {
207
+ l.classList.remove("filtered"), l.classList.remove("filtered--matched"), l.classList.remove("filtered--show"), l.removeAttribute("data-filtered-by");
208
+ }), Array.from(a.querySelectorAll("[data-filter]")).forEach((l, b) => {
209
+ if (!(l.type == "radio" && !l.checked) && !(l.type == "checkbox" && !l.checked)) {
210
+ if (l.getAttribute("data-filter") == "multi")
211
+ for (const [m, y] of Object.entries(JSON.parse(l.value)))
212
+ i[l.getAttribute("data-filter")].push(y);
213
+ else if (l && l.value) {
214
+ let m = l.getAttribute("data-filter");
215
+ i[m] || (i[m] = new Array()), i[m].push(l.value);
210
216
  }
211
217
  }
212
218
  }), a.querySelector("[data-search]")) {
213
- let d = a.querySelector("[data-search]");
214
- a.querySelector("[data-search]").getAttribute("data-search").split(",").forEach((m, p) => {
215
- l.push({ column: `${m.trim()}`, value: `${d.value}` });
219
+ let l = a.querySelector("[data-search]");
220
+ a.querySelector("[data-search]").getAttribute("data-search").split(",").forEach((m, y) => {
221
+ n.push({ column: `${m.trim()}`, value: `${l.value}` });
216
222
  });
217
223
  }
218
- Array.from(a.querySelectorAll("[data-filter-count]")).forEach((d, f) => {
219
- d.innerHTML = "";
220
- }), i.length && Array.from(a.querySelectorAll("[data-filter-count]")).forEach((d, f) => {
221
- d.innerHTML += `(${i.length})`;
224
+ Array.from(a.querySelectorAll("[data-filter-count]")).forEach((l, b) => {
225
+ l.innerHTML = "";
226
+ }), i.length && Array.from(a.querySelectorAll("[data-filter-count]")).forEach((l, b) => {
227
+ l.innerHTML += `(${i.length})`;
222
228
  }), e.classList.add("table--filtered");
223
- for (const [d, f] of Object.entries(i))
224
- Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).forEach((m, p) => {
225
- let y = !1;
226
- f.forEach((b, E) => {
227
- let C = m.querySelector(`[data-label="${d}"]`);
228
- if (b && b == "$today")
229
- b = V("date", /* @__PURE__ */ new Date());
230
- else if (b && b == "$yesterday") {
231
- let v = /* @__PURE__ */ new Date();
232
- v.setDate(v.getDate() - 1), b = V("date", v);
233
- } else if (b && (b == "$thisWeek" || b == "$lastWeek")) {
234
- let v = /* @__PURE__ */ new Date(), L = new Date(v.setDate(v.getDate() - (v.getDay() - 1))), q = new Date(v.setDate(v.getDate() - v.getDay() + 7)), S = new Date(C.textContent.toLowerCase());
235
- if (v.setHours(0, 0, 0, 0), L.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), S.setHours(0, 0, 0, 0), b == "$thisWeek")
236
- y = S >= L && S <= q;
229
+ for (const [l, b] of Object.entries(i))
230
+ Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).forEach((m, y) => {
231
+ let p = !1;
232
+ b.forEach((f, k) => {
233
+ let C = m.querySelector(`[data-label="${l}"]`);
234
+ if (f && f == "$today")
235
+ f = U("date", /* @__PURE__ */ new Date());
236
+ else if (f && f == "$yesterday") {
237
+ let L = /* @__PURE__ */ new Date();
238
+ L.setDate(L.getDate() - 1), f = U("date", L);
239
+ } else if (f && (f == "$thisWeek" || f == "$lastWeek")) {
240
+ let L = /* @__PURE__ */ new Date(), v = new Date(L.setDate(L.getDate() - (L.getDay() - 1))), $ = new Date(L.setDate(L.getDate() - L.getDay() + 7)), w = new Date(C.textContent.toLowerCase());
241
+ if (L.setHours(0, 0, 0, 0), v.setHours(0, 0, 0, 0), $.setHours(0, 0, 0, 0), w.setHours(0, 0, 0, 0), f == "$thisWeek")
242
+ p = w >= v && w <= $;
237
243
  else {
238
- let O = new Date(L.setDate(L.getDate() - 7)), U = new Date(q.setDate(q.getDate() - 7));
239
- O.setHours(0, 0, 0, 0), U.setHours(0, 0, 0, 0), y = S >= O && S <= U;
244
+ let D = new Date(v.setDate(v.getDate() - 7)), N = new Date($.setDate($.getDate() - 7));
245
+ D.setHours(0, 0, 0, 0), N.setHours(0, 0, 0, 0), p = w >= D && w <= N;
240
246
  }
241
- } else if (b && b == "$thisMonth") {
242
- let v = /* @__PURE__ */ new Date(), L = v.getFullYear(), q = v.getMonth();
243
- var z = new Date(L, q, 1), N = new Date(L, q + 1, 0);
244
- let S = new Date(C.textContent.toLowerCase());
245
- z.setHours(0, 0, 0, 0), N.setHours(0, 0, 0, 0), S.setHours(0, 0, 0, 0), y = S >= z && S <= N;
246
- } else if (b && b == "$lastMonth") {
247
- let v = /* @__PURE__ */ new Date(), L = v.getFullYear(), q = v.getMonth();
248
- var $ = new Date(L, q - 1, 1), I = new Date(L, q, 0);
249
- let S = new Date(C.textContent.toLowerCase());
250
- $.setHours(0, 0, 0, 0), I.setHours(0, 0, 0, 0), S.setHours(0, 0, 0, 0), y = S >= $ && S <= I;
247
+ } else if (f && f == "$thisMonth") {
248
+ let L = /* @__PURE__ */ new Date(), v = L.getFullYear(), $ = L.getMonth();
249
+ var P = new Date(v, $, 1), z = new Date(v, $ + 1, 0);
250
+ let w = new Date(C.textContent.toLowerCase());
251
+ P.setHours(0, 0, 0, 0), z.setHours(0, 0, 0, 0), w.setHours(0, 0, 0, 0), p = w >= P && w <= z;
252
+ } else if (f && f == "$lastMonth") {
253
+ let L = /* @__PURE__ */ new Date(), v = L.getFullYear(), $ = L.getMonth();
254
+ var E = new Date(v, $ - 1, 1), V = new Date(v, $, 0);
255
+ let w = new Date(C.textContent.toLowerCase());
256
+ E.setHours(0, 0, 0, 0), V.setHours(0, 0, 0, 0), w.setHours(0, 0, 0, 0), p = w >= E && w <= V;
251
257
  }
252
- C && C.textContent.toLowerCase().includes(b.toLowerCase()) && (y = !0);
253
- }), y || (m.classList.add("filtered"), m.setAttribute("data-filtered-by", d));
258
+ C && C.textContent.toLowerCase().includes(f.toLowerCase()) && (p = !0);
259
+ }), p || (m.classList.add("filtered"), m.setAttribute("data-filtered-by", l));
254
260
  });
255
- Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).forEach((d, f) => {
256
- let m = !(l.length > 0 && l[0].value.length >= 3);
257
- l.forEach((p, y) => {
258
- let b = d.querySelector(`[data-label="${p.column}"]`);
259
- b && p.value.length >= 3 && b.textContent.toLowerCase().includes(p.value.toLowerCase()) && (m = !0);
260
- }), m || d.classList.add("filtered");
261
- }), Array.from(e.querySelectorAll("tbody tr:not(.filtered")).forEach((d, f) => {
262
- r++, d.classList.add("filtered--matched"), Math.ceil(r / o) == parseInt(s) && d.classList.add("filtered--show");
261
+ Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).forEach((l, b) => {
262
+ let m = !(n.length > 0 && n[0].value.length >= 3);
263
+ n.forEach((y, p) => {
264
+ let f = l.querySelector(`[data-label="${y.column}"]`);
265
+ f && y.value.length >= 3 && f.textContent.toLowerCase().includes(y.value.toLowerCase()) && (m = !0);
266
+ }), m || l.classList.add("filtered");
267
+ }), Array.from(e.querySelectorAll("tbody tr:not(.filtered")).forEach((l, b) => {
268
+ r++, l.classList.add("filtered--matched"), Math.ceil(r / o) == parseInt(s) && l.classList.add("filtered--show");
263
269
  }), t && (t.setAttribute("data-page", s), t.setAttribute("data-pages", Math.ceil(r / o)), t.setAttribute("data-total", r), t.setAttribute("data-show", o));
264
- }, W = (e, a, t) => {
265
- Array.from(a.querySelectorAll("[data-query]")).forEach((l, r) => {
266
- let s = l.getAttribute("data-query"), o;
270
+ }, G = (e, a, t) => {
271
+ Array.from(a.querySelectorAll("[data-query]")).forEach((n, r) => {
272
+ let s = n.getAttribute("data-query"), o;
267
273
  if (s == "total")
268
274
  t.hasAttribute("data-total") ? o = t.getAttribute("data-total") : o = (e.classList.contains("table--filtered"), e.querySelectorAll("tbody tr").length);
269
275
  else if (!s.includes(" == ") && s.includes(" & ")) {
270
- let n = s.split(" & "), d = "";
271
- n.forEach((f) => {
272
- d += `:not([data-filtered-by="${f}"])`;
273
- }), o = Array.from(e.querySelectorAll(`tbody tr${d}`)).length;
276
+ let h = s.split(" & "), l = "";
277
+ h.forEach((b) => {
278
+ l += `:not([data-filtered-by="${b}"])`;
279
+ }), o = Array.from(e.querySelectorAll(`tbody tr${l}`)).length;
274
280
  } else if (!s.includes(" == "))
275
281
  o = Array.from(e.querySelectorAll(`tbody tr:not([data-filtered-by="${s}"])`)).length;
276
282
  else if (s.includes(" && ")) {
277
- let n = s.split(" && ");
278
- o = Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).filter(function(d) {
279
- let f = !0;
280
- for (const [m, p] of Object.entries(n)) {
281
- let y = p.split(" == ");
282
- (!d.querySelector(`td[data-label="${y[0]}"]`) || d.querySelector(`td[data-label="${y[0]}"]`).textContent != `${y[1]}`) && (f = !1);
283
+ let h = s.split(" && ");
284
+ o = Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).filter(function(l) {
285
+ let b = !0;
286
+ for (const [m, y] of Object.entries(h)) {
287
+ let p = y.split(" == ");
288
+ (!l.querySelector(`td[data-label="${p[0]}"]`) || l.querySelector(`td[data-label="${p[0]}"]`).textContent != `${p[1]}`) && (b = !1);
283
289
  }
284
- return f;
290
+ return b;
285
291
  }).length;
286
292
  } else {
287
- let n = s.split(" == ");
288
- o = Array.from(e.querySelectorAll(`tbody tr.filtered--matched td[data-label="${n[0]}"], tbody tr[data-filtered-by="${n[0]}"] td[data-label="${n[0]}"]`)).filter(function(d) {
289
- return d.textContent === n[1];
293
+ let h = s.split(" == ");
294
+ o = Array.from(e.querySelectorAll(`tbody tr.filtered--matched td[data-label="${h[0]}"], tbody tr[data-filtered-by="${h[0]}"] td[data-label="${h[0]}"]`)).filter(function(l) {
295
+ return l.textContent === h[1];
290
296
  }).length;
291
297
  }
292
- l.hasAttribute("data-total") ? l.setAttribute("data-total", o) : l.innerHTML = o;
298
+ n.hasAttribute("data-total") ? n.setAttribute("data-total", o) : n.innerHTML = o;
293
299
  });
294
- }, vt = function(e, a, t, i) {
295
- t.addEventListener("click", (l) => {
296
- if (l && l.target instanceof HTMLElement && l.target.closest("[data-page]")) {
297
- l.preventDefault();
298
- let r = a.querySelector("[data-pagination]"), s = l.target.closest("[data-page]").getAttribute("data-page");
300
+ }, qt = function(e, a, t, i) {
301
+ t.addEventListener("click", (n) => {
302
+ if (n && n.target instanceof HTMLElement && n.target.closest("[data-page]")) {
303
+ n.preventDefault();
304
+ let r = a.querySelector("[data-pagination]"), s = n.target.closest("[data-page]").getAttribute("data-page");
299
305
  if (r.value = s, i.setAttribute("data-page", s), a.dispatchEvent(new Event("paginate")), e.hasAttribute("data-show-history")) {
300
306
  const o = new URL(location);
301
307
  o.searchParams.set("page", s), history.pushState({ type: "pagination", form: a.getAttribute("id"), page: s }, "", o);
302
308
  }
303
309
  }
304
- if (l && l.target instanceof HTMLElement && l.target.closest("[data-show]")) {
305
- l.preventDefault();
306
- let r = a.querySelector("[data-show]"), s = l.target.closest("[data-show]").getAttribute("data-show");
310
+ if (n && n.target instanceof HTMLElement && n.target.closest("[data-show]")) {
311
+ n.preventDefault();
312
+ let r = a.querySelector("[data-show]"), s = n.target.closest("[data-show]").getAttribute("data-show");
307
313
  r.value = s, i.setAttribute("data-show", s), a.dispatchEvent(new Event("submit"));
308
314
  }
309
315
  });
310
- }, At = (e, a) => {
316
+ }, $t = (e, a) => {
311
317
  if (!e)
312
318
  return !1;
313
319
  e.addEventListener("click", (t) => {
314
- wt(a);
320
+ Tt(a);
315
321
  });
316
- }, wt = function(e) {
322
+ }, Tt = function(e) {
317
323
  for (var a = [], t = e.getElementsByTagName("tr"), i = 0; i < t.length; i++) {
318
- for (var l = t[i].querySelectorAll("td,th"), r = [], s = 0; s < l.length; s++)
319
- r.push(`"${l[s].textContent}"`);
324
+ for (var n = t[i].querySelectorAll("td,th"), r = [], s = 0; s < n.length; s++)
325
+ r.push(`"${n[s].textContent}"`);
320
326
  a.push(r.join(","));
321
327
  }
322
328
  a = a.join(`
@@ -324,62 +330,87 @@ const ht = /* @__PURE__ */ w(ot, [["render", ut]]), mt = function(e) {
324
330
  let o = new Blob([a], {
325
331
  type: "text/csv"
326
332
  });
327
- var n = document.createElement("a");
328
- n.download = "export.csv";
329
- var d = window.URL.createObjectURL(o);
330
- n.href = d, n.style.display = "none", document.body.appendChild(n), n.click(), document.body.removeChild(n);
331
- }, X = function(e, a, t, i) {
332
- if (Q(e), pt(e), W(e, a, i), i && i.classList.contains("table--cta")) {
333
- const l = yt(e);
334
- i.style.setProperty("--cta-width", `${l}rem`);
333
+ var h = document.createElement("a");
334
+ h.download = "export.csv";
335
+ var l = window.URL.createObjectURL(o);
336
+ h.href = l, h.style.display = "none", document.body.appendChild(h), h.click(), document.body.removeChild(h);
337
+ }, at = function(e, a, t, i) {
338
+ if (X(e), Lt(e), G(e, a, i), i && i.classList.contains("table--cta")) {
339
+ const n = St(e);
340
+ i.style.setProperty("--cta-width", `${n}rem`);
335
341
  }
336
- }, J = function(e, a, t, i) {
337
- const l = (d, f, m) => f.split(/[\.\[\]\'\"]/).filter((p) => p).reduce((p, y) => p ? p[y] : m, d);
338
- let r = new FormData(a), s = new URLSearchParams(r).toString(), o = e.querySelectorAll("thead tr th"), n = e.querySelector("tbody");
339
- if (i.classList.add("table--loading"), fetch(a.getAttribute("data-ajax") + "?" + s, {
340
- method: "get",
341
- credentials: "same-origin",
342
- headers: new Headers({
343
- "Content-Type": "application/json",
344
- Accept: "application/json",
345
- "X-Requested-With": "XMLHttpRequest"
346
- })
347
- }).then((d) => d.json()).then((d) => {
348
- let f = a.hasAttribute("data-schema") ? a.getAttribute("data-schema") : "data", m = a.hasAttribute("data-schema-total") ? a.getAttribute("data-schema-total") : "meta.total", p = a.hasAttribute("data-schema-page") ? a.getAttribute("data-schema-page") : "meta.current_page", y = l(d, m, 1), b = l(d, p, 1), E = l(d, f);
349
- E ? (n.innerHTML = "", E.forEach((C, z) => {
350
- var N = document.createElement("tr");
351
- o.forEach(($, I) => {
352
- let v = "";
353
- var L = document.createElement("td");
354
- if (L.setAttribute("data-label", $.innerText), $.getAttribute("data-output")) {
355
- var q = $.getAttribute("data-output");
356
- v = q.replace(new RegExp(/{(.*?)}/, "gm"), function(S) {
357
- return l(C, S.replace("{", "").replace("}", ""));
358
- });
359
- }
360
- $.hasAttribute("data-transform") && (v = JSON.parse($.getAttribute("data-transform"))[v], !v && $.hasAttribute("data-default") && (v = $.getAttribute("data-default"))), L.innerHTML = v, N.appendChild(L);
361
- }), n.appendChild(N);
362
- }), Y(e, a), i.setAttribute("data-total", parseInt(y)), i.setAttribute("data-page", parseInt(b)), i.setAttribute("data-pages", Math.ceil(i.getAttribute("data-total") / i.getAttribute("data-show"))), X(e, a, t, i), j(i, t), d.data.length == 0 && (n.innerHTML = '<tr><td colspan="100%"><span class="h4 m-0">No results found</span></td></tr>'), i.classList.remove("table--loading")) : n.innerHTML = '<tr><td colspan="100%"><span class="h6 m-0">Error loading table</span></td></tr>';
363
- }), a.hasAttribute("data-ajax-post")) {
364
- const d = new XMLHttpRequest();
365
- d.open("GET", `${window.location.href}?ajax=true&${s}`), d.send();
342
+ }, st = async function(e, a, t, i) {
343
+ const n = (m, y, p) => y.split(/[\.\[\]\'\"]/).filter((f) => f).reduce((f, k) => f ? f[k] : p, m);
344
+ let r = new FormData(a), s = new URLSearchParams(r).toString(), o = e.querySelectorAll("thead tr th"), h = e.querySelector("tbody"), l = a.getAttribute("data-ajax");
345
+ i.classList.add("table--loading"), window.controller || (window.controller = []), window.controller[l] && window.controller[l].abort(), window.controller[l] = new AbortController();
346
+ const { signal: b } = controller[l];
347
+ try {
348
+ await fetch(l + "?" + s, {
349
+ signal: b,
350
+ method: "get",
351
+ credentials: "same-origin",
352
+ headers: new Headers({
353
+ "Content-Type": "application/json",
354
+ Accept: "application/json",
355
+ "X-Requested-With": "XMLHttpRequest"
356
+ })
357
+ }).then((m) => m.json()).then((m) => {
358
+ let y = a.hasAttribute("data-schema") ? a.getAttribute("data-schema") : "data", p = a.hasAttribute("data-schema-total") ? a.getAttribute("data-schema-total") : "meta.total", f = a.hasAttribute("data-schema-page") ? a.getAttribute("data-schema-page") : "meta.current_page", k = n(m, p, 1), C = n(m, f, 1), P = n(m, y), z = i.hasAttribute("data-empty-msg") ? i.getAttribute("data-empty-msg") : "No results found";
359
+ if (P ? (h.innerHTML = "", P.forEach((E, V) => {
360
+ var L = document.createElement("tr");
361
+ o.forEach((v, $) => {
362
+ let w = "";
363
+ var D = document.createElement("td");
364
+ if (D.setAttribute("data-label", v.innerText), v.getAttribute("data-output")) {
365
+ var N = v.getAttribute("data-output");
366
+ w = N.replace(new RegExp(/{(.*?)}/, "gm"), function(Q) {
367
+ return n(E, Q.replace("{", "").replace("}", ""));
368
+ });
369
+ }
370
+ if (v.hasAttribute("data-output-array")) {
371
+ var N = v.getAttribute("data-output");
372
+ let nt = n(E, N.replace("{", "").replace("}", ""));
373
+ w = "", nt.forEach((Y, ci) => {
374
+ let ot = v.getAttribute("data-output-array"), F = "";
375
+ if (v.hasAttribute("data-output-array-property") && v.hasAttribute("data-output-array-transform")) {
376
+ const j = n(Y, v.getAttribute("data-output-array-property")), ct = JSON.parse(v.getAttribute("data-output-array-transform"))[j];
377
+ F = ot.replace(`{${v.getAttribute("data-output-array-property")}}`, ct);
378
+ }
379
+ F = F.replace(new RegExp(/{(.*?)}/, "gm"), function(j) {
380
+ return n(Y, j.replace("{", "").replace("}", ""));
381
+ }), w += F;
382
+ });
383
+ }
384
+ v.hasAttribute("data-transform") && (w = JSON.parse(v.getAttribute("data-transform"))[w], !w && v.hasAttribute("data-default") && (w = v.getAttribute("data-default"))), D.innerHTML = w, L.appendChild(D);
385
+ }), h.appendChild(L);
386
+ }), tt(e, a), i.setAttribute("data-total", parseInt(k)), i.setAttribute("data-page", parseInt(C)), i.setAttribute("data-pages", Math.ceil(i.getAttribute("data-total") / i.getAttribute("data-show"))), at(e, a, t, i), K(i, t), parseInt(k) == 0 && (h.innerHTML = `<tr><td colspan="100%"><span>${z}</span></td></tr>`), i.classList.remove("table--loading"), window.dataLayer = window.dataLayer || [], window.dataLayer.push({
387
+ event: "Ajax table loaded",
388
+ url: l,
389
+ formData: s
390
+ })) : h.innerHTML = '<tr><td colspan="100%"><span>Error loading table</span></td></tr>', a.hasAttribute("data-ajax-post")) {
391
+ const E = new XMLHttpRequest();
392
+ E.open("GET", `${window.location.href}?ajax=true&${s}`), E.send();
393
+ }
394
+ });
395
+ } catch (m) {
396
+ console.log(m);
366
397
  }
367
- }, V = (e, a) => {
398
+ }, U = (e, a) => {
368
399
  switch (e) {
369
400
  case "datetime":
370
401
  return new Date(a).toLocaleDateString("en-gb", { weekday: "short", year: "2-digit", month: "long", day: "numeric" }) + " " + new Date(a).toLocaleTimeString("en-gb", { hour: "2-digit", minute: "2-digit" });
371
402
  case "date":
372
403
  return new Date(a).toLocaleDateString("en-gb", { year: "2-digit", month: "long", day: "numeric" });
373
404
  case "capitalise":
374
- return a = bt(a);
405
+ return a = wt(a);
375
406
  }
376
407
  };
377
- class St extends HTMLElement {
408
+ class Ht extends HTMLElement {
378
409
  constructor() {
379
410
  super(), this.attachShadow({ mode: "open" });
380
411
  const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = this.classList.contains("table--cta"), i = this.classList.contains("table--export");
381
- let l = this.classList.toString();
382
- l = l.replace("table--cta", "");
412
+ let n = this.classList.toString();
413
+ n = n.replace("table--cta", "");
383
414
  const r = document.createElement("template");
384
415
  r.innerHTML = `
385
416
  <style>
@@ -396,7 +427,7 @@ class St extends HTMLElement {
396
427
  }
397
428
  </style>
398
429
  ${t ? '<div class="table--cta">' : ""}
399
- <div class="table__wrapper ${l}">
430
+ <div class="table__wrapper ${n}">
400
431
  <slot></slot>
401
432
  </div>
402
433
  ${t ? "</div>" : ""}
@@ -407,7 +438,7 @@ class St extends HTMLElement {
407
438
  this.hasAttribute("data-total") || this.setAttribute("data-total", this.querySelectorAll("table tbody tr").length), this.hasAttribute("data-page") || this.setAttribute("data-page", s.has("page") ? s.get("page") : 1), this.hasAttribute("data-show") || this.setAttribute("data-show", 15), this.hasAttribute("data-increment") || this.setAttribute("data-increment", 15), this.setAttribute("data-pages", Math.ceil(this.getAttribute("data-total") / this.getAttribute("data-show")));
408
439
  }
409
440
  connectedCallback() {
410
- this.table = this.querySelector("table"), this.savedTableBody = this.table.querySelector("tbody").cloneNode(!0), this.pagination = this.shadowRoot.querySelector(".table__pagination"), this.form = document.createElement("form"), this.hasAttribute("data-filterby") ? this.form = document.querySelector(`#${this.getAttribute("data-filterby")}`) : this.table.parentNode.insertBefore(this.form, this.table.nextSibling), this.form.hasAttribute("data-ajax") && this.table.classList.add("table--ajax"), Y(this.table, this.form), this.form.querySelector("[data-page]") || (this.form.innerHTML += `<input name="page" type="hidden" value="${this.getAttribute("data-page")}" data-pagination="true" />`), this.form.querySelector("[data-show]") || (this.form.innerHTML += `<input name="show" type="hidden" value="${this.getAttribute("data-show")}" data-show="true" />`), gt(this.table), _t(this.table, this.form, this.pagination, this, this.savedTableBody), vt(this.table, this.form, this.pagination, this), At(this.shadowRoot.querySelector("[data-export]"), this.table), this.form.getAttribute("data-ajax") ? J(this.table, this.form, this.pagination, this) : (X(this.table, this.form, this.pagination, this), Z(this.table, this.form, this), j(this, this.pagination), W(this.table, this.form)), this.shadowRoot.querySelector(".table__wrapper").addEventListener("scroll", (a) => {
441
+ this.table = this.querySelector("table"), this.savedTableBody = this.table.querySelector("tbody").cloneNode(!0), this.pagination = this.shadowRoot.querySelector(".table__pagination"), this.form = document.createElement("form"), this.hasAttribute("data-filterby") ? this.form = document.querySelector(`#${this.getAttribute("data-filterby")}`) : this.table.parentNode.insertBefore(this.form, this.table.nextSibling), this.form.hasAttribute("data-ajax") && this.table.classList.add("table--ajax"), tt(this.table, this.form), this.form.querySelector("[data-page]") || (this.form.innerHTML += `<input name="page" type="hidden" value="${this.getAttribute("data-page")}" data-pagination="true" />`), this.form.querySelector("[data-show]") || (this.form.innerHTML += `<input name="show" type="hidden" value="${this.getAttribute("data-show")}" data-show="true" />`), kt(this.table), xt(this.table, this.form, this.pagination, this, this.savedTableBody), qt(this.table, this.form, this.pagination, this), $t(this.shadowRoot.querySelector("[data-export]"), this.table), this.form.getAttribute("data-ajax") ? st(this.table, this.form, this.pagination, this) : (at(this.table, this.form, this.pagination, this), et(this.table, this.form, this), K(this, this.pagination), G(this.table, this.form)), this.shadowRoot.querySelector(".table__wrapper").addEventListener("scroll", (a) => {
411
442
  this.table.querySelector("dialog[open]") && (this.table.querySelector("dialog[open]").close(), this.table.querySelector(".dialog__wrapper > button.active").classList.remove("active"));
412
443
  });
413
444
  }
@@ -417,9 +448,9 @@ class St extends HTMLElement {
417
448
  attributeChangedCallback(a, t, i) {
418
449
  }
419
450
  }
420
- const Lt = (e) => e.charAt(0).toUpperCase() + e.slice(1), kt = (e) => e.replace(/_/g, " "), xt = (e) => e.replace(/ /g, "_"), qt = function(e) {
421
- return e = e.toLowerCase(), e = xt(e), e = e.replace(/\W/g, ""), e;
422
- }, $t = {
451
+ const Mt = (e) => e.charAt(0).toUpperCase() + e.slice(1), Et = (e) => e.replace(/_/g, " "), Ct = (e) => e.replace(/ /g, "_"), Dt = function(e) {
452
+ return e = e.toLowerCase(), e = Ct(e), e = e.replace(/\W/g, ""), e;
453
+ }, Nt = {
423
454
  name: "Table",
424
455
  props: {
425
456
  items: {
@@ -433,42 +464,42 @@ const Lt = (e) => e.charAt(0).toUpperCase() + e.slice(1), kt = (e) => e.replace(
433
464
  },
434
465
  computed: {
435
466
  cellHeading() {
436
- return (e) => `${Lt(kt(e))}`;
467
+ return (e) => `${Mt(Et(e))}`;
437
468
  }
438
469
  },
439
470
  created() {
440
471
  this.$nextTick(function() {
441
- window.customElements.get("iam-table") || window.customElements.define("iam-table", St);
472
+ window.customElements.get("iam-table") || window.customElements.define("iam-table", Ht);
442
473
  });
443
474
  },
444
475
  updated() {
445
476
  }
446
- }, Tt = { key: 0 }, Ht = { key: 0 }, Mt = ["data-row-id"], Et = ["innerHTML"];
447
- function Ct(e, a, t, i, l, r) {
448
- return u(), h("iam-table", null, [
449
- t.fields ? (u(), h("table", Tt, [
477
+ }, Rt = { key: 0 }, Pt = { key: 0 }, It = ["data-row-id"], zt = ["innerHTML"];
478
+ function Ft(e, a, t, i, n, r) {
479
+ return d(), u("iam-table", null, [
480
+ t.fields ? (d(), u("table", Rt, [
450
481
  c("thead", null, [
451
482
  c("tr", null, [
452
- (u(!0), h(T, null, H(t.fields, (s) => (u(), h("th", {
483
+ (d(!0), u(T, null, H(t.fields, (s) => (d(), u("th", {
453
484
  key: s.key
454
- }, x(r.cellHeading(s.key)), 1))), 128))
485
+ }, q(r.cellHeading(s.key)), 1))), 128))
455
486
  ])
456
487
  ]),
457
- t.items ? (u(), h("tbody", Ht, [
458
- (u(!0), h(T, null, H(t.items, (s, o) => (u(), h("tr", {
488
+ t.items ? (d(), u("tbody", Pt, [
489
+ (d(!0), u(T, null, H(t.items, (s, o) => (d(), u("tr", {
459
490
  key: o,
460
491
  "data-row-id": s.rowid
461
492
  }, [
462
- (u(!0), h(T, null, H(Object.fromEntries(Object.entries(s).filter(([n]) => n !== "rowid")), (n, d) => (u(), h("td", {
463
- key: d,
464
- innerHTML: n
465
- }, null, 8, Et))), 128))
466
- ], 8, Mt))), 128))
493
+ (d(!0), u(T, null, H(Object.fromEntries(Object.entries(s).filter(([h]) => h !== "rowid")), (h, l) => (d(), u("td", {
494
+ key: l,
495
+ innerHTML: h
496
+ }, null, 8, zt))), 128))
497
+ ], 8, It))), 128))
467
498
  ])) : g("", !0)
468
499
  ])) : _(e.$slots, "default", { key: 1 })
469
500
  ]);
470
501
  }
471
- const tt = /* @__PURE__ */ w($t, [["render", Ct]]), Dt = {
502
+ const it = /* @__PURE__ */ S(Nt, [["render", Ft]]), Bt = {
472
503
  name: "Input",
473
504
  props: {
474
505
  value: {
@@ -652,38 +683,38 @@ const tt = /* @__PURE__ */ w($t, [["render", Ct]]), Dt = {
652
683
  this.$emit("bus");
653
684
  }
654
685
  }
655
- }, Nt = ["for", "innerHTML", "title"], Rt = ["innerHTML"], Pt = ["innerHTML"], zt = ["type", "name", "id", "pattern", "list"], It = ["type", "name", "id", "pattern"], Ft = {
686
+ }, Vt = ["for", "innerHTML", "title"], jt = ["innerHTML"], Ot = ["innerHTML"], Wt = ["type", "name", "id", "pattern", "list"], Ut = ["type", "name", "id", "pattern"], Kt = {
656
687
  key: 5,
657
688
  class: "input-group"
658
- }, Bt = ["type", "name", "id", "pattern", "list"], Vt = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, jt = {
689
+ }, Gt = ["type", "name", "id", "pattern", "list"], Qt = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, Yt = {
659
690
  key: 6,
660
691
  class: "input-group"
661
- }, Wt = ["type", "name", "id", "pattern", "list"], Ot = { class: "input-group-text flex-fill" }, Ut = ["type", "name", "id", "pattern"], Kt = ["value"], Gt = ["id"], Qt = ["value"], Yt = ["type", "name", "id"], Zt = ["for", "innerHTML"], Xt = ["type", "name", "id"], Jt = ["for", "innerHTML"], te = ["innerHTML"];
662
- function ee(e, a, t, i, l, r) {
663
- return u(), h("div", {
692
+ }, Zt = ["type", "name", "id", "pattern", "list"], Jt = { class: "input-group-text flex-fill" }, Xt = ["type", "name", "id", "pattern"], te = ["value"], ee = ["id"], ae = ["value"], se = ["type", "name", "id"], ie = ["for", "innerHTML"], re = ["type", "name", "id"], le = ["for", "innerHTML"], ne = ["innerHTML"];
693
+ function oe(e, a, t, i, n, r) {
694
+ return d(), u("div", {
664
695
  class: A(r.wrapperClass()),
665
696
  ref: "wrapper"
666
697
  }, [
667
- r.needsLabel() ? (u(), h("label", {
698
+ r.needsLabel() ? (d(), u("label", {
668
699
  key: 0,
669
700
  class: A(`form-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
670
701
  for: t.id,
671
702
  innerHTML: r.displayLabel(),
672
703
  title: t.title
673
- }, null, 10, Nt)) : g("", !0),
674
- t.prefix ? (u(), h("span", {
704
+ }, null, 10, Vt)) : g("", !0),
705
+ t.prefix ? (d(), u("span", {
675
706
  key: 1,
676
707
  class: A(`prefix ${this.prefixClass} ${t.size ? `prefix-${t.size}` : ""}`),
677
708
  innerHTML: t.prefix,
678
709
  role: "presentation"
679
- }, null, 10, Rt)) : g("", !0),
680
- t.suffix ? (u(), h("span", {
710
+ }, null, 10, jt)) : g("", !0),
711
+ t.suffix ? (d(), u("span", {
681
712
  key: 2,
682
713
  class: A(`suffix ${this.suffixClass} ${t.size ? `suffix-${t.size}` : ""}`),
683
714
  innerHTML: t.suffix,
684
715
  role: "presentation"
685
- }, null, 10, Pt)) : g("", !0),
686
- r.isInput() ? R((u(), h("input", M({
716
+ }, null, 10, Ot)) : g("", !0),
717
+ r.isInput() ? I((d(), u("input", M({
687
718
  key: 3,
688
719
  "onUpdate:modelValue": a[0] || (a[0] = (s) => r.inputVal = s),
689
720
  class: `form-control${t.size ? ` form-control-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
@@ -694,10 +725,10 @@ function ee(e, a, t, i, l, r) {
694
725
  list: r.hasOptions()
695
726
  }, e.$attrs, {
696
727
  onKeyup: a[1] || (a[1] = (...s) => r.inputKeyup && r.inputKeyup(...s))
697
- }), null, 16, zt)), [
698
- [F, r.inputVal]
728
+ }), null, 16, Wt)), [
729
+ [O, r.inputVal]
699
730
  ]) : g("", !0),
700
- t.type == "textarea" ? R((u(), h("textarea", M({
731
+ t.type == "textarea" ? I((d(), u("textarea", M({
701
732
  key: 4,
702
733
  "onUpdate:modelValue": a[2] || (a[2] = (s) => r.inputVal = s),
703
734
  class: `form-control${t.size ? ` form-control-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
@@ -705,11 +736,11 @@ function ee(e, a, t, i, l, r) {
705
736
  name: t.name ? t.name : t.id,
706
737
  id: t.id,
707
738
  pattern: r.needPattern()
708
- }, e.$attrs), null, 16, It)), [
709
- [st, r.inputVal]
739
+ }, e.$attrs), null, 16, Ut)), [
740
+ [dt, r.inputVal]
710
741
  ]) : g("", !0),
711
- t.type == "range" ? (u(), h("div", Ft, [
712
- R(c("input", M({
742
+ t.type == "range" ? (d(), u("div", Kt, [
743
+ I(c("input", M({
713
744
  "onUpdate:modelValue": a[3] || (a[3] = (s) => r.inputVal = s),
714
745
  class: `form-range${t.inputclass ? ` ${t.inputclass}` : ""}`,
715
746
  type: t.type,
@@ -717,13 +748,13 @@ function ee(e, a, t, i, l, r) {
717
748
  id: t.id,
718
749
  pattern: r.needPattern(),
719
750
  list: r.hasOptions()
720
- }, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, Bt), [
721
- [F, r.inputVal]
751
+ }, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, Gt), [
752
+ [O, r.inputVal]
722
753
  ]),
723
- c("output", Vt, x(t.value), 1)
754
+ c("output", Qt, q(t.value), 1)
724
755
  ])) : g("", !0),
725
- t.type == "color" ? (u(), h("div", jt, [
726
- R(c("input", M({
756
+ t.type == "color" ? (d(), u("div", Yt, [
757
+ I(c("input", M({
727
758
  "onUpdate:modelValue": a[4] || (a[4] = (s) => r.inputVal = s),
728
759
  class: `form-control form-control-color${t.inputclass ? ` ${t.inputclass}` : ""}`,
729
760
  type: t.type,
@@ -731,12 +762,12 @@ function ee(e, a, t, i, l, r) {
731
762
  id: t.id,
732
763
  pattern: r.needPattern(),
733
764
  list: r.hasOptions()
734
- }, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, Wt), [
735
- [F, r.inputVal]
765
+ }, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, Zt), [
766
+ [O, r.inputVal]
736
767
  ]),
737
- c("output", Ot, x(t.value ? e.vale : "#000000"), 1)
768
+ c("output", Jt, q(t.value ? e.vale : "#000000"), 1)
738
769
  ])) : g("", !0),
739
- t.type == "select" ? R((u(), h("select", M({
770
+ t.type == "select" ? I((d(), u("select", M({
740
771
  key: 7,
741
772
  "onUpdate:modelValue": a[5] || (a[5] = (s) => r.inputVal = s),
742
773
  class: `form-select${t.size ? ` form-select-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
@@ -745,61 +776,61 @@ function ee(e, a, t, i, l, r) {
745
776
  id: t.id,
746
777
  pattern: r.needPattern()
747
778
  }, e.$attrs), [
748
- (u(!0), h(T, null, H(t.options, (s, o) => (u(), h("option", {
779
+ (d(!0), u(T, null, H(t.options, (s, o) => (d(), u("option", {
749
780
  key: o,
750
781
  value: s.value
751
- }, x(s.display ? s.display : s.value), 9, Kt))), 128))
752
- ], 16, Ut)), [
753
- [it, r.inputVal]
782
+ }, q(s.display ? s.display : s.value), 9, te))), 128))
783
+ ], 16, Xt)), [
784
+ [ut, r.inputVal]
754
785
  ]) : g("", !0),
755
- r.allowDatalist() ? (u(), h("datalist", {
786
+ r.allowDatalist() ? (d(), u("datalist", {
756
787
  key: 8,
757
788
  id: t.id + "-list"
758
789
  }, [
759
- (u(!0), h(T, null, H(t.options, (s, o) => (u(), h("option", {
790
+ (d(!0), u(T, null, H(t.options, (s, o) => (d(), u("option", {
760
791
  key: o,
761
792
  value: s.value
762
- }, x(s.value), 9, Qt))), 128))
763
- ], 8, Gt)) : g("", !0),
764
- t.type == "checkbox" || t.type == "radio" ? (u(), h("input", M({
793
+ }, q(s.value), 9, ae))), 128))
794
+ ], 8, ee)) : g("", !0),
795
+ t.type == "checkbox" || t.type == "radio" ? (d(), u("input", M({
765
796
  key: 9,
766
797
  class: "form-check-input",
767
798
  type: t.type,
768
799
  name: t.name ? t.name : t.id,
769
800
  id: t.id
770
- }, e.$attrs), null, 16, Yt)) : g("", !0),
771
- t.type == "checkbox" || t.type == "radio" ? (u(), h("label", {
801
+ }, e.$attrs), null, 16, se)) : g("", !0),
802
+ t.type == "checkbox" || t.type == "radio" ? (d(), u("label", {
772
803
  key: 10,
773
804
  class: A(`form-label form-check-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
774
805
  for: t.id,
775
806
  innerHTML: t.label
776
- }, null, 10, Zt)) : g("", !0),
777
- t.type == "checkbox-btn" || t.type == "radio-btn" ? (u(), h("input", M({
807
+ }, null, 10, ie)) : g("", !0),
808
+ t.type == "checkbox-btn" || t.type == "radio-btn" ? (d(), u("input", M({
778
809
  key: 11,
779
810
  class: `btn-check${t.inputclass ? ` ${t.inputclass}` : ""}`,
780
811
  type: t.type.replace("-btn", ""),
781
812
  autocomplete: "off",
782
813
  name: t.name ? t.name : t.id,
783
814
  id: t.id
784
- }, e.$attrs), null, 16, Xt)) : g("", !0),
785
- t.type == "checkbox-btn" || t.type == "radio-btn" ? (u(), h("label", {
815
+ }, e.$attrs), null, 16, re)) : g("", !0),
816
+ t.type == "checkbox-btn" || t.type == "radio-btn" ? (d(), u("label", {
786
817
  key: 12,
787
818
  class: A(`btn${t.labelclass ? ` ${t.labelclass}` : ""}`),
788
819
  for: t.id,
789
820
  innerHTML: t.label,
790
821
  onClick: a[6] || (a[6] = (...s) => r.clickEvent && r.clickEvent(...s))
791
- }, null, 10, Jt)) : g("", !0),
792
- t.errormsg ? (u(), h("p", {
822
+ }, null, 10, le)) : g("", !0),
823
+ t.errormsg ? (d(), u("p", {
793
824
  key: 13,
794
825
  class: "invalid-feedback mb-0",
795
826
  innerHTML: t.errormsg
796
- }, null, 8, te)) : g("", !0),
827
+ }, null, 8, ne)) : g("", !0),
797
828
  _(e.$slots, "default")
798
829
  ], 2);
799
830
  }
800
- const P = /* @__PURE__ */ w(Dt, [["render", ee]]), ae = {
831
+ const B = /* @__PURE__ */ S(Bt, [["render", oe]]), ce = {
801
832
  components: {
802
- Input: P
833
+ Input: B
803
834
  },
804
835
  name: "FileUploads",
805
836
  props: {
@@ -820,21 +851,21 @@ const P = /* @__PURE__ */ w(Dt, [["render", ee]]), ae = {
820
851
  required: !1
821
852
  }
822
853
  }
823
- }, se = { class: "multiple-file-uploads mb-4" }, ie = { class: "row" }, re = { class: "col-12 col-md me-auto" }, le = /* @__PURE__ */ c("div", { class: "col mw-fit-content" }, [
854
+ }, de = { class: "multiple-file-uploads mb-4" }, ue = { class: "row" }, he = { class: "col-12 col-md me-auto" }, me = /* @__PURE__ */ c("div", { class: "col mw-fit-content" }, [
824
855
  /* @__PURE__ */ c("button", {
825
856
  type: "button",
826
857
  class: "btn btn-tertiary me-0",
827
858
  "data-delete": ""
828
859
  }, "Delete")
829
- ], -1), ne = ["data-maxfiles"];
830
- function oe(e, a, t, i, l, r) {
831
- const s = D("Input");
832
- return u(), h("div", se, [
833
- c("div", ie, [
860
+ ], -1), fe = ["data-maxfiles"];
861
+ function be(e, a, t, i, n, r) {
862
+ const s = R("Input");
863
+ return d(), u("div", de, [
864
+ c("div", ue, [
834
865
  c("div", {
835
866
  class: A(`${t.inputcolclass ? t.inputcolclass : "col-12 col-sm-4"}`)
836
867
  }, [
837
- k(s, {
868
+ x(s, {
838
869
  type: "file",
839
870
  id: t.id,
840
871
  name: `${t.id}[]`,
@@ -845,21 +876,21 @@ function oe(e, a, t, i, l, r) {
845
876
  "data-filesize": t.maxfilesize
846
877
  }, null, 8, ["id", "name", "data-filesize"])
847
878
  ], 2),
848
- c("div", re, [
879
+ c("div", he, [
849
880
  _(e.$slots, "default")
850
881
  ]),
851
- le
882
+ me
852
883
  ]),
853
884
  c("button", {
854
885
  type: "button",
855
886
  class: "btn btn-secondary me-0",
856
887
  "data-add": "",
857
888
  "data-maxfiles": t.maxfiles
858
- }, "+ Add file", 8, ne)
889
+ }, "+ Add file", 8, fe)
859
890
  ]);
860
891
  }
861
- const si = /* @__PURE__ */ w(ae, [["render", oe]]);
862
- function ce(e) {
892
+ const hi = /* @__PURE__ */ S(ce, [["render", be]]);
893
+ function ye(e) {
863
894
  let a = e.querySelectorAll("details"), t = e.querySelectorAll("summary");
864
895
  if (a.forEach((i) => {
865
896
  i.classList.add("accordion-item");
@@ -867,10 +898,10 @@ function ce(e) {
867
898
  i.classList.add("accordion-header"), i.classList.add("accordion-button"), i.classList.add("h4");
868
899
  }), !e.classList.contains("accordion--keep-open")) {
869
900
  const i = e.querySelectorAll(":scope > details");
870
- i.forEach((l) => {
871
- l.addEventListener("click", () => {
901
+ i.forEach((n) => {
902
+ n.addEventListener("click", () => {
872
903
  i.forEach((r) => {
873
- r !== l && r.removeAttribute("open");
904
+ r !== n && r.removeAttribute("open");
874
905
  });
875
906
  });
876
907
  });
@@ -881,15 +912,15 @@ window.dataLayer.push({
881
912
  event: "customElementRegistered",
882
913
  element: "accordion"
883
914
  });
884
- const B = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets";
885
- class de extends HTMLElement {
915
+ const W = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets";
916
+ class pe extends HTMLElement {
886
917
  constructor() {
887
918
  super(), this.attachShadow({ mode: "open" });
888
919
  const a = document.createElement("template");
889
920
  a.innerHTML = `
890
921
  <style>
891
- @import "${B}/css/core.min.css";
892
- @import "${B}/css/components/accordion.css";
922
+ @import "${W}/css/core.min.css";
923
+ @import "${W}/css/components/accordion.css";
893
924
  ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
894
925
  </style>
895
926
  <div class="accordion">
@@ -898,22 +929,22 @@ class de extends HTMLElement {
898
929
  `, this.shadowRoot.appendChild(a.content.cloneNode(!0));
899
930
  }
900
931
  connectedCallback() {
901
- ce(this), this.insertAdjacentHTML("beforebegin", `<link rel="stylesheet" href="${B}/css/components/accordion.css">`);
932
+ ye(this), this.insertAdjacentHTML("beforebegin", `<link rel="stylesheet" href="${W}/css/components/accordion.css">`);
902
933
  }
903
934
  }
904
- window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", de);
905
- const ue = {
935
+ window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", pe);
936
+ const ge = {
906
937
  name: "Accordion",
907
938
  props: {},
908
939
  mounted() {
909
940
  }
910
- }, he = { ref: "wrapper" };
911
- function me(e, a, t, i, l, r) {
912
- return u(), h("iam-accordion", he, [
941
+ }, _e = { ref: "wrapper" };
942
+ function ve(e, a, t, i, n, r) {
943
+ return d(), u("iam-accordion", _e, [
913
944
  _(e.$slots, "default")
914
945
  ], 512);
915
946
  }
916
- const ii = /* @__PURE__ */ w(ue, [["render", me]]), fe = {
947
+ const mi = /* @__PURE__ */ S(ge, [["render", ve]]), Ae = {
917
948
  name: "AccordionItem",
918
949
  props: {
919
950
  title: {
@@ -940,7 +971,7 @@ const ii = /* @__PURE__ */ w(ue, [["render", me]]), fe = {
940
971
  },
941
972
  computed: {
942
973
  createID() {
943
- return (e) => `${qt(e)}`;
974
+ return (e) => `${Dt(e)}`;
944
975
  }
945
976
  },
946
977
  data() {
@@ -948,24 +979,24 @@ const ii = /* @__PURE__ */ w(ue, [["render", me]]), fe = {
948
979
  show: !this.lazy
949
980
  };
950
981
  }
951
- }, be = ["id"], ye = ["classList"];
952
- function pe(e, a, t, i, l, r) {
953
- return u(), h("details", {
982
+ }, we = ["id"], Se = ["classList"];
983
+ function Le(e, a, t, i, n, r) {
984
+ return d(), u("details", {
954
985
  id: r.createID(t.title)
955
986
  }, [
956
987
  c("summary", {
957
988
  classList: `${t.titlecolour ? `bg-${t.titlecolour}` : ""}`
958
989
  }, [
959
- rt(x(t.title), 1),
960
- t.badge ? (u(), h("span", {
990
+ ht(q(t.title), 1),
991
+ t.badge ? (d(), u("span", {
961
992
  key: 0,
962
993
  class: A(`badge bg-${t.badgecolour}`)
963
- }, x(t.badge), 3)) : g("", !0)
964
- ], 8, ye),
994
+ }, q(t.badge), 3)) : g("", !0)
995
+ ], 8, Se),
965
996
  _(e.$slots, "default")
966
- ], 8, be);
997
+ ], 8, we);
967
998
  }
968
- const ri = /* @__PURE__ */ w(fe, [["render", pe]]), ge = {
999
+ const fi = /* @__PURE__ */ S(Ae, [["render", Le]]), ke = {
969
1000
  name: "Header",
970
1001
  props: {
971
1002
  title: {
@@ -982,37 +1013,37 @@ const ri = /* @__PURE__ */ w(fe, [["render", pe]]), ge = {
982
1013
  required: !1
983
1014
  }
984
1015
  }
985
- }, _e = { class: "container" }, ve = { class: "row" }, Ae = { class: "col-sm-6" }, we = { class: "pt-5 pb-3 px-4" }, Se = { class: "col-sm-6 col-md-5 ms-auto" }, Le = ["src"];
986
- function ke(e, a, t, i, l, r) {
987
- return u(), h("div", _e, [
1016
+ }, xe = { class: "container" }, qe = { class: "row" }, $e = { class: "col-sm-6" }, Te = { class: "pt-5 pb-3 px-4" }, He = { class: "col-sm-6 col-md-5 ms-auto" }, Me = ["src"];
1017
+ function Ee(e, a, t, i, n, r) {
1018
+ return d(), u("div", xe, [
988
1019
  c("div", {
989
1020
  class: A("bg-" + t.background + " mb-4")
990
1021
  }, [
991
- c("div", ve, [
992
- c("div", Ae, [
993
- c("div", we, [
994
- c("h2", null, x(t.title), 1),
1022
+ c("div", qe, [
1023
+ c("div", $e, [
1024
+ c("div", Te, [
1025
+ c("h2", null, q(t.title), 1),
995
1026
  _(e.$slots, "default")
996
1027
  ])
997
1028
  ]),
998
- c("div", Se, [
999
- t.image ? (u(), h("img", {
1029
+ c("div", He, [
1030
+ t.image ? (d(), u("img", {
1000
1031
  key: 0,
1001
1032
  src: t.image,
1002
1033
  alt: "",
1003
1034
  class: "h-100 w-100 object-cover"
1004
- }, null, 8, Le)) : g("", !0)
1035
+ }, null, 8, Me)) : g("", !0)
1005
1036
  ])
1006
1037
  ])
1007
1038
  ], 2)
1008
1039
  ]);
1009
1040
  }
1010
- const li = /* @__PURE__ */ w(ge, [["render", ke]]);
1041
+ const bi = /* @__PURE__ */ S(ke, [["render", Ee]]);
1011
1042
  /*!
1012
- * iamKey v3.7.1
1043
+ * iamKey v3.7.2
1013
1044
  * Copyright 2022-2023 iamproperty
1014
1045
  */
1015
- class xe extends HTMLElement {
1046
+ class Ce extends HTMLElement {
1016
1047
  constructor() {
1017
1048
  super(), this.attachShadow({ mode: "open" });
1018
1049
  const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets";
@@ -1060,49 +1091,49 @@ class xe extends HTMLElement {
1060
1091
  break;
1061
1092
  }
1062
1093
  case "class": {
1063
- let l = this.classList.toString();
1064
- this.querySelector('[class*="fa-"]') && (l += " card--has-icon"), this.shadowRoot.querySelector(".card").setAttribute("class", `card ${l}`);
1094
+ let n = this.classList.toString();
1095
+ this.querySelector('[class*="fa-"]') && (n += " card--has-icon"), this.shadowRoot.querySelector(".card").setAttribute("class", `card ${n}`);
1065
1096
  break;
1066
1097
  }
1067
1098
  }
1068
1099
  }
1069
1100
  }
1070
- const qe = {
1101
+ const De = {
1071
1102
  name: "Card",
1072
1103
  mounted() {
1073
1104
  this.$nextTick(function() {
1074
- window.customElements.get("iam-card") || window.customElements.define("iam-card", xe);
1105
+ window.customElements.get("iam-card") || window.customElements.define("iam-card", Ce);
1075
1106
  });
1076
1107
  }
1077
1108
  };
1078
- function $e(e, a, t, i, l, r) {
1079
- return u(), h("iam-card", null, [
1109
+ function Ne(e, a, t, i, n, r) {
1110
+ return d(), u("iam-card", null, [
1080
1111
  _(e.$slots, "default")
1081
1112
  ]);
1082
1113
  }
1083
- const Te = /* @__PURE__ */ w(qe, [["render", $e]]);
1084
- function He(e) {
1114
+ const Re = /* @__PURE__ */ S(De, [["render", Ne]]);
1115
+ function Pe(e) {
1085
1116
  var a;
1086
1117
  let t = e.querySelector(".carousel__inner"), i = e.querySelectorAll(".carousel__item").length;
1087
1118
  e.getAttribute("data-cols");
1088
- let l = e.getAttribute("data-sm-cols"), r = e.getAttribute("data-md-cols");
1119
+ let n = e.getAttribute("data-sm-cols"), r = e.getAttribute("data-md-cols");
1089
1120
  e.querySelector(".carousel__controls a").classList.add("active"), t.addEventListener("scroll", function(s) {
1090
1121
  clearTimeout(a), a = setTimeout(function() {
1091
- let o = t.clientWidth, n = t.scrollWidth, d = t.scrollLeft, f = Math.round(d / n * i) + 1, m = e.querySelector(".carousel__item:last-child").offsetLeft;
1092
- Array.from(e.querySelectorAll(".carousel__controls a")).forEach((p, y) => {
1093
- p.classList.remove("active");
1094
- }), e.querySelector(".control-" + f).classList.add("active"), f == 1 ? e.querySelector(".btn-prev").setAttribute("disabled", "disabled") : e.querySelector(".btn-prev").removeAttribute("disabled"), t.scrollLeft + o > m ? e.querySelector(".btn-next").setAttribute("disabled", "disabled") : e.querySelector(".btn-next").removeAttribute("disabled");
1122
+ let o = t.clientWidth, h = t.scrollWidth, l = t.scrollLeft, b = Math.round(l / h * i) + 1, m = e.querySelector(".carousel__item:last-child").offsetLeft;
1123
+ Array.from(e.querySelectorAll(".carousel__controls a")).forEach((y, p) => {
1124
+ y.classList.remove("active");
1125
+ }), e.querySelector(".control-" + b).classList.add("active"), b == 1 ? e.querySelector(".btn-prev").setAttribute("disabled", "disabled") : e.querySelector(".btn-prev").removeAttribute("disabled"), t.scrollLeft + o > m ? e.querySelector(".btn-next").setAttribute("disabled", "disabled") : e.querySelector(".btn-next").removeAttribute("disabled");
1095
1126
  }, 100);
1096
1127
  }, !1), e.addEventListener("click", function(s) {
1097
1128
  for (var o = s.target; o && o != this; o = o.parentNode)
1098
1129
  if (o.matches(".carousel__controls a")) {
1099
- s.preventDefault(), Array.from(e.querySelectorAll(".carousel__controls a")).forEach((d, f) => {
1100
- d.classList.remove("active");
1130
+ s.preventDefault(), Array.from(e.querySelectorAll(".carousel__controls a")).forEach((l, b) => {
1131
+ l.classList.remove("active");
1101
1132
  }), o.classList.add("active");
1102
- const n = document.querySelector(o.getAttribute("href"));
1133
+ const h = document.querySelector(o.getAttribute("href"));
1103
1134
  t.scroll({
1104
1135
  top: 0,
1105
- left: n.offsetLeft,
1136
+ left: h.offsetLeft,
1106
1137
  behavior: "smooth"
1107
1138
  });
1108
1139
  break;
@@ -1111,19 +1142,19 @@ function He(e) {
1111
1142
  for (var o = s.target; o && o != this; o = o.parentNode)
1112
1143
  if (o.matches(".btn-next, .btn-prev")) {
1113
1144
  s.preventDefault();
1114
- let n = o.classList.contains("btn-prev") ? t.scrollLeft - t.clientWidth : t.scrollLeft + t.clientWidth;
1145
+ let h = o.classList.contains("btn-prev") ? t.scrollLeft - t.clientWidth : t.scrollLeft + t.clientWidth;
1115
1146
  t.scroll({
1116
1147
  top: 0,
1117
- left: n,
1148
+ left: h,
1118
1149
  behavior: "smooth"
1119
1150
  });
1120
1151
  break;
1121
1152
  }
1122
- }, !1), i == 1 && e.classList.add("hide-btns"), l >= i && e.classList.add("hide-sm-btns"), r >= i && e.classList.add("hide-md-btns");
1153
+ }, !1), i == 1 && e.classList.add("hide-btns"), n >= i && e.classList.add("hide-sm-btns"), r >= i && e.classList.add("hide-md-btns");
1123
1154
  }
1124
- const Me = {
1155
+ const Ie = {
1125
1156
  components: {
1126
- Card: Te
1157
+ Card: Re
1127
1158
  },
1128
1159
  name: "Carousel",
1129
1160
  data() {
@@ -1197,40 +1228,40 @@ const Me = {
1197
1228
  },
1198
1229
  mounted() {
1199
1230
  this.id = this._uid, this.$nextTick(function() {
1200
- He(this.$refs.wrapper);
1231
+ Pe(this.$refs.wrapper);
1201
1232
  });
1202
1233
  }
1203
- }, Ee = ["id", "data-cols", "data-sm-cols", "data-md-cols"], Ce = { class: "carousel__wrapper" }, De = { class: "carousel__inner" }, Ne = ["id"], Re = ["innerHTML", "id"], Pe = ["href"], ze = /* @__PURE__ */ c("button", {
1234
+ }, ze = ["id", "data-cols", "data-sm-cols", "data-md-cols"], Fe = { class: "carousel__wrapper" }, Be = { class: "carousel__inner" }, Ve = ["id"], je = ["innerHTML", "id"], Oe = ["href"], We = /* @__PURE__ */ c("button", {
1204
1235
  class: "btn btn-prev",
1205
1236
  "data-go": "0",
1206
1237
  disabled: ""
1207
- }, "Prev", -1), Ie = /* @__PURE__ */ c("button", {
1238
+ }, "Prev", -1), Ue = /* @__PURE__ */ c("button", {
1208
1239
  class: "btn btn-next",
1209
1240
  "data-go": "2"
1210
1241
  }, "Next", -1);
1211
- function Fe(e, a, t, i, l, r) {
1212
- const s = D("Card");
1213
- return u(), h("div", {
1242
+ function Ke(e, a, t, i, n, r) {
1243
+ const s = R("Card");
1244
+ return d(), u("div", {
1214
1245
  class: "container carousel",
1215
- id: "carousel" + l.id,
1246
+ id: "carousel" + n.id,
1216
1247
  ref: "wrapper",
1217
1248
  "data-cols": t.cols,
1218
1249
  "data-sm-cols": t.smcols,
1219
1250
  "data-md-cols": t.mdcols
1220
1251
  }, [
1221
1252
  _(e.$slots, "default"),
1222
- c("div", Ce, [
1223
- c("div", De, [
1224
- t.type == "card" ? (u(), h("div", {
1253
+ c("div", Fe, [
1254
+ c("div", Be, [
1255
+ t.type == "card" ? (d(), u("div", {
1225
1256
  key: 0,
1226
1257
  class: A(`row row-cols-${t.cols} row-cols-sm-${t.smcols} row-cols-md-${t.mdcols} ${t.gap ? `g-${t.gap}` : ""}`)
1227
1258
  }, [
1228
- (u(!0), h(T, null, H(t.items, (o, n) => (u(), h("div", {
1259
+ (d(!0), u(T, null, H(t.items, (o, h) => (d(), u("div", {
1229
1260
  class: A(`col carousel__item${t.colclass ? ` ${t.colclass}` : ""}`),
1230
- key: n,
1231
- id: "carousel" + l.id + "slide" + (n + 1)
1261
+ key: h,
1262
+ id: "carousel" + n.id + "slide" + (h + 1)
1232
1263
  }, [
1233
- k(s, M(o, {
1264
+ x(s, M(o, {
1234
1265
  class: t.cardclass,
1235
1266
  type: t.cardtype,
1236
1267
  btnyype: t.btntype,
@@ -1238,41 +1269,41 @@ function Fe(e, a, t, i, l, r) {
1238
1269
  ctatext: t.ctatext,
1239
1270
  hidectatext: t.hidectatext
1240
1271
  }), null, 16, ["class", "type", "btnyype", "titleclass", "ctatext", "hidectatext"])
1241
- ], 10, Ne))), 128))
1272
+ ], 10, Ve))), 128))
1242
1273
  ], 2)) : g("", !0),
1243
- t.type != "card" ? (u(), h("div", {
1274
+ t.type != "card" ? (d(), u("div", {
1244
1275
  key: 1,
1245
1276
  class: A(`row row-cols-${t.cols} row-cols-sm-${t.smcols} row-cols-md-${t.mdcols} ${t.gap ? `g-${t.gap}` : ""}`)
1246
1277
  }, [
1247
- (u(!0), h(T, null, H(t.items, (o, n) => (u(), h("div", {
1278
+ (d(!0), u(T, null, H(t.items, (o, h) => (d(), u("div", {
1248
1279
  class: A(`col carousel__item${t.colclass ? ` ${t.colclass}` : ""}`),
1249
- key: n,
1280
+ key: h,
1250
1281
  innerHTML: r.content(o),
1251
- id: "carousel" + l.id + "slide" + (n + 1)
1252
- }, null, 10, Re))), 128))
1282
+ id: "carousel" + n.id + "slide" + (h + 1)
1283
+ }, null, 10, je))), 128))
1253
1284
  ], 2)) : g("", !0)
1254
1285
  ]),
1255
1286
  c("div", {
1256
1287
  class: A(`carousel__controls cols-${t.cols} cols-sm-${t.smcols} cols-md-${t.mdcols}`)
1257
1288
  }, [
1258
- (u(!0), h(T, null, H(t.items, (o, n) => (u(), h("a", {
1259
- key: n,
1260
- href: "#carousel" + l.id + "slide" + (n + 1),
1261
- class: A(`control-${n + 1}`)
1262
- }, "Slide " + x(n + 1), 11, Pe))), 128))
1289
+ (d(!0), u(T, null, H(t.items, (o, h) => (d(), u("a", {
1290
+ key: h,
1291
+ href: "#carousel" + n.id + "slide" + (h + 1),
1292
+ class: A(`control-${h + 1}`)
1293
+ }, "Slide " + q(h + 1), 11, Oe))), 128))
1263
1294
  ], 2),
1264
- ze,
1265
- Ie
1295
+ We,
1296
+ Ue
1266
1297
  ])
1267
- ], 8, Ee);
1298
+ ], 8, ze);
1268
1299
  }
1269
- const ni = /* @__PURE__ */ w(Me, [["render", Fe]]);
1300
+ const yi = /* @__PURE__ */ S(Ie, [["render", Ke]]);
1270
1301
  window.dataLayer = window.dataLayer || [];
1271
1302
  window.dataLayer.push({
1272
1303
  event: "customElementRegistered",
1273
1304
  element: "header"
1274
1305
  });
1275
- class Be extends HTMLElement {
1306
+ class Ge extends HTMLElement {
1276
1307
  constructor() {
1277
1308
  super(), this.attachShadow({ mode: "open" });
1278
1309
  const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = `@import "${a}/css/components/header.css";`, i = document.createElement("template");
@@ -1307,8 +1338,8 @@ class Be extends HTMLElement {
1307
1338
  this.hasAttribute("image") ? t.setAttribute("srcset", this.getAttribute("image")) : a.remove();
1308
1339
  }
1309
1340
  }
1310
- window.customElements.get("iam-header") || window.customElements.define("iam-header", Be);
1311
- const Ve = {
1341
+ window.customElements.get("iam-header") || window.customElements.define("iam-header", Ge);
1342
+ const Qe = {
1312
1343
  name: "Header",
1313
1344
  props: {
1314
1345
  title: {
@@ -1320,50 +1351,50 @@ const Ve = {
1320
1351
  required: !1
1321
1352
  }
1322
1353
  }
1323
- }, je = ["image"], We = ["innerHTML"];
1324
- function Oe(e, a, t, i, l, r) {
1325
- return u(), h("iam-header", {
1354
+ }, Ye = ["image"], Ze = ["innerHTML"];
1355
+ function Je(e, a, t, i, n, r) {
1356
+ return d(), u("iam-header", {
1326
1357
  class: "bg-secondary",
1327
1358
  image: t.image
1328
1359
  }, [
1329
1360
  _(e.$slots, "breadcrumb"),
1330
- t.title ? (u(), h("h1", {
1361
+ t.title ? (d(), u("h1", {
1331
1362
  key: 0,
1332
1363
  innerHTML: t.title
1333
- }, null, 8, We)) : g("", !0),
1364
+ }, null, 8, Ze)) : g("", !0),
1334
1365
  _(e.$slots, "default")
1335
- ], 8, je);
1366
+ ], 8, Ye);
1336
1367
  }
1337
- const oi = /* @__PURE__ */ w(Ve, [["render", Oe]]);
1338
- function Ue(e) {
1368
+ const pi = /* @__PURE__ */ S(Qe, [["render", Je]]);
1369
+ function Xe(e) {
1339
1370
  var a;
1340
1371
  const t = e.querySelector(".testimonial__images"), i = t.querySelectorAll("img").length;
1341
1372
  if (i == 1)
1342
1373
  return !1;
1343
1374
  e.classList.add("testimonial--multi");
1344
- const l = function(r) {
1375
+ const n = function(r) {
1345
1376
  const s = e.querySelector(".btn-next"), o = e.querySelector(".btn-prev");
1346
1377
  s.setAttribute("data-go", r + 1), o.setAttribute("data-go", r - 1), s.removeAttribute("disabled"), o.removeAttribute("disabled"), r == 1 ? o.setAttribute("disabled", !0) : r == i && s.setAttribute("disabled", !0);
1347
1378
  };
1348
1379
  t.addEventListener("scroll", function(r) {
1349
1380
  clearTimeout(a), a = setTimeout(function() {
1350
- let s = t.scrollWidth, o = t.scrollHeight, n = t.scrollLeft, d = t.scrollTop, f = Math.round(n / s * i) + 1;
1351
- n == 0 && d != 0 && (f = Math.round(d / o * i) + 1), e.setAttribute("data-show", f), l(f);
1381
+ let s = t.scrollWidth, o = t.scrollHeight, h = t.scrollLeft, l = t.scrollTop, b = Math.round(h / s * i) + 1;
1382
+ h == 0 && l != 0 && (b = Math.round(l / o * i) + 1), e.setAttribute("data-show", b), n(b);
1352
1383
  }, 300);
1353
1384
  }, !1), e.addEventListener("click", function(r) {
1354
1385
  for (var s = r.target; s && s != this; s = s.parentNode)
1355
1386
  if (s.matches("[data-go]")) {
1356
- let o = parseInt(s.getAttribute("data-go")), n = 0, d = 0, f = t.scrollWidth, m = t.scrollHeight;
1357
- f > m ? d = Math.floor(f * ((o - 1) / i)) : n = Math.floor(m * ((o - 1) / i)), t.scroll({
1358
- top: n,
1359
- left: d,
1387
+ let o = parseInt(s.getAttribute("data-go")), h = 0, l = 0, b = t.scrollWidth, m = t.scrollHeight;
1388
+ b > m ? l = Math.floor(b * ((o - 1) / i)) : h = Math.floor(m * ((o - 1) / i)), t.scroll({
1389
+ top: h,
1390
+ left: l,
1360
1391
  behavior: "smooth"
1361
1392
  });
1362
1393
  break;
1363
1394
  }
1364
1395
  }, !1);
1365
1396
  }
1366
- const Ke = {
1397
+ const ta = {
1367
1398
  name: "Testimonial",
1368
1399
  props: {
1369
1400
  items: {
@@ -1377,13 +1408,13 @@ const Ke = {
1377
1408
  }
1378
1409
  },
1379
1410
  mounted() {
1380
- Ue(this.$refs.wrapper);
1411
+ Xe(this.$refs.wrapper);
1381
1412
  }
1382
- }, Ge = {
1413
+ }, ea = {
1383
1414
  class: "container testimonial mb-5",
1384
1415
  "data-show": "1",
1385
1416
  ref: "wrapper"
1386
- }, Qe = { class: "row" }, Ye = { class: "col-md-5 position-relative" }, Ze = { class: "testimonial__images" }, Xe = ["src"], Je = /* @__PURE__ */ c("div", { class: "testimonial__controls" }, [
1417
+ }, aa = { class: "row" }, sa = { class: "col-md-5 position-relative" }, ia = { class: "testimonial__images" }, ra = ["src"], la = /* @__PURE__ */ c("div", { class: "testimonial__controls" }, [
1387
1418
  /* @__PURE__ */ c("button", {
1388
1419
  "data-go": "0",
1389
1420
  disabled: "",
@@ -1393,52 +1424,52 @@ const Ke = {
1393
1424
  "data-go": "2",
1394
1425
  class: "btn-next"
1395
1426
  }, "Next")
1396
- ], -1), ta = { class: "col-md-7" }, ea = /* @__PURE__ */ c("h2", null, "What our customers think…", -1), aa = { class: "testimonial__content" }, sa = ["innerHTML"], ia = ["innerHTML"], ra = { class: "testimonial__after" }, la = /* @__PURE__ */ c("span", { class: "circle circle--dots d-none d-md-block" }, null, -1);
1397
- function na(e, a, t, i, l, r) {
1398
- return u(), h("div", Ge, [
1427
+ ], -1), na = { class: "col-md-7" }, oa = /* @__PURE__ */ c("h2", null, "What our customers think…", -1), ca = { class: "testimonial__content" }, da = ["innerHTML"], ua = ["innerHTML"], ha = { class: "testimonial__after" }, ma = /* @__PURE__ */ c("span", { class: "circle circle--dots d-none d-md-block" }, null, -1);
1428
+ function fa(e, a, t, i, n, r) {
1429
+ return d(), u("div", ea, [
1399
1430
  c("div", {
1400
1431
  class: A("bg-" + t.background)
1401
1432
  }, [
1402
- c("div", Qe, [
1403
- c("div", Ye, [
1404
- c("div", Ze, [
1405
- (u(!0), h(T, null, H(t.items, (s, o) => (u(), h("img", {
1433
+ c("div", aa, [
1434
+ c("div", sa, [
1435
+ c("div", ia, [
1436
+ (d(!0), u(T, null, H(t.items, (s, o) => (d(), u("img", {
1406
1437
  key: o,
1407
1438
  src: s.image ? s.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
1408
1439
  alt: "",
1409
1440
  class: A("h-100 w-100 object-cover" + (s.image ? "" : " opacity-0"))
1410
- }, null, 10, Xe))), 128))
1441
+ }, null, 10, ra))), 128))
1411
1442
  ]),
1412
- Je
1443
+ la
1413
1444
  ]),
1414
- c("div", ta, [
1415
- ea,
1416
- c("div", aa, [
1417
- (u(!0), h(T, null, H(t.items, (s, o) => (u(), h("blockquote", {
1445
+ c("div", na, [
1446
+ oa,
1447
+ c("div", ca, [
1448
+ (d(!0), u(T, null, H(t.items, (s, o) => (d(), u("blockquote", {
1418
1449
  key: o,
1419
1450
  class: A(s.class)
1420
1451
  }, [
1421
1452
  c("div", {
1422
1453
  innerHTML: s.quote
1423
- }, null, 8, sa),
1454
+ }, null, 8, da),
1424
1455
  c("cite", {
1425
1456
  innerHTML: s.cite
1426
- }, null, 8, ia)
1457
+ }, null, 8, ua)
1427
1458
  ], 2))), 128))
1428
1459
  ]),
1429
- c("div", ra, [
1460
+ c("div", ha, [
1430
1461
  _(e.$slots, "default")
1431
1462
  ])
1432
1463
  ])
1433
1464
  ]),
1434
- la
1465
+ ma
1435
1466
  ], 2)
1436
1467
  ], 512);
1437
1468
  }
1438
- const ci = /* @__PURE__ */ w(Ke, [["render", na]]);
1439
- const oa = {
1469
+ const gi = /* @__PURE__ */ S(ta, [["render", fa]]);
1470
+ const ba = {
1440
1471
  components: {
1441
- Input: P
1472
+ Input: B
1442
1473
  },
1443
1474
  name: "PropertySearchbar",
1444
1475
  props: {
@@ -1582,34 +1613,34 @@ const oa = {
1582
1613
  ];
1583
1614
  }
1584
1615
  }
1585
- }, ca = {
1616
+ }, ya = {
1586
1617
  class: "container",
1587
1618
  ref: "wrapper"
1588
- }, da = { class: "property-searchbar" }, ua = ["action", "method"], ha = { class: "col-12 col-md-3" }, ma = { class: "col-12 col-md" }, fa = /* @__PURE__ */ c("span", { class: "form-label d-none d-md-block" }, "Price range", -1), ba = {
1619
+ }, pa = { class: "property-searchbar" }, ga = ["action", "method"], _a = { class: "col-12 col-md-3" }, va = { class: "col-12 col-md" }, Aa = /* @__PURE__ */ c("span", { class: "form-label d-none d-md-block" }, "Price range", -1), wa = {
1589
1620
  class: "row",
1590
1621
  "data-input-range": ""
1591
- }, ya = { class: "col-12 col-md" }, pa = /* @__PURE__ */ c("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1), ga = {
1622
+ }, Sa = { class: "col-12 col-md" }, La = /* @__PURE__ */ c("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1), ka = {
1592
1623
  class: "row",
1593
1624
  "data-input-range": ""
1594
- }, _a = { class: "col-12 col-md-2" }, va = /* @__PURE__ */ c("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
1625
+ }, xa = { class: "col-12 col-md-2" }, qa = /* @__PURE__ */ c("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
1595
1626
  /* @__PURE__ */ c("button", {
1596
1627
  class: "btn w-100 me-0",
1597
1628
  type: "submit",
1598
1629
  value: "submit"
1599
1630
  }, "Search")
1600
1631
  ], -1);
1601
- function Aa(e, a, t, i, l, r) {
1602
- const s = D("Input");
1603
- return u(), h("div", ca, [
1632
+ function $a(e, a, t, i, n, r) {
1633
+ const s = R("Input");
1634
+ return d(), u("div", ya, [
1604
1635
  _(e.$slots, "default"),
1605
- c("div", da, [
1636
+ c("div", pa, [
1606
1637
  c("form", {
1607
1638
  class: "row",
1608
1639
  action: t.formaction,
1609
1640
  method: t.formmethod
1610
1641
  }, [
1611
- c("fieldset", ha, [
1612
- k(s, {
1642
+ c("fieldset", _a, [
1643
+ x(s, {
1613
1644
  inputClass: "input--locations",
1614
1645
  modelValue: r.locationSet,
1615
1646
  "onUpdate:modelValue": a[0] || (a[0] = (o) => r.locationSet = o),
@@ -1621,7 +1652,7 @@ function Aa(e, a, t, i, l, r) {
1621
1652
  onKeyupEvent: a[1] || (a[1] = (o) => r.locationKeyup(...arguments)),
1622
1653
  ref: "search"
1623
1654
  }, null, 8, ["modelValue", "options"]),
1624
- k(s, {
1655
+ x(s, {
1625
1656
  class: "select--miles",
1626
1657
  label: "Miles",
1627
1658
  id: "miles",
@@ -1629,10 +1660,10 @@ function Aa(e, a, t, i, l, r) {
1629
1660
  options: t.distances
1630
1661
  }, null, 8, ["options"])
1631
1662
  ]),
1632
- c("fieldset", ma, [
1633
- fa,
1634
- c("div", ba, [
1635
- k(s, {
1663
+ c("fieldset", va, [
1664
+ Aa,
1665
+ c("div", wa, [
1666
+ x(s, {
1636
1667
  class: "col-6",
1637
1668
  label: "Minimum price",
1638
1669
  id: "price-min",
@@ -1640,7 +1671,7 @@ function Aa(e, a, t, i, l, r) {
1640
1671
  type: "select",
1641
1672
  options: t.pricemin
1642
1673
  }, null, 8, ["options"]),
1643
- k(s, {
1674
+ x(s, {
1644
1675
  class: "col-6",
1645
1676
  label: "Maximum price",
1646
1677
  id: "price-max",
@@ -1650,10 +1681,10 @@ function Aa(e, a, t, i, l, r) {
1650
1681
  }, null, 8, ["options"])
1651
1682
  ])
1652
1683
  ]),
1653
- c("fieldset", ya, [
1654
- pa,
1655
- c("div", ga, [
1656
- k(s, {
1684
+ c("fieldset", Sa, [
1685
+ La,
1686
+ c("div", ka, [
1687
+ x(s, {
1657
1688
  class: "col-6",
1658
1689
  label: "Minimum beds",
1659
1690
  id: "beds-min",
@@ -1661,7 +1692,7 @@ function Aa(e, a, t, i, l, r) {
1661
1692
  type: "select",
1662
1693
  options: t.bedsmin
1663
1694
  }, null, 8, ["options"]),
1664
- k(s, {
1695
+ x(s, {
1665
1696
  class: "col-6",
1666
1697
  label: "Maximum beds",
1667
1698
  id: "beds-max",
@@ -1671,21 +1702,21 @@ function Aa(e, a, t, i, l, r) {
1671
1702
  }, null, 8, ["options"])
1672
1703
  ])
1673
1704
  ]),
1674
- c("fieldset", _a, [
1675
- k(s, {
1705
+ c("fieldset", xa, [
1706
+ x(s, {
1676
1707
  label: "Property type",
1677
1708
  id: "property-type",
1678
1709
  type: "select",
1679
1710
  options: t.propertytypes
1680
1711
  }, null, 8, ["options"])
1681
1712
  ]),
1682
- va
1683
- ], 8, ua)
1713
+ qa
1714
+ ], 8, ga)
1684
1715
  ]),
1685
1716
  _(e.$slots, "after")
1686
1717
  ], 512);
1687
1718
  }
1688
- const di = /* @__PURE__ */ w(oa, [["render", Aa]]), wa = (e) => {
1719
+ const _i = /* @__PURE__ */ S(ba, [["render", $a]]), Ta = (e) => {
1689
1720
  Array.from(e.querySelectorAll("details")).forEach((a, t) => {
1690
1721
  a.addEventListener("mouseenter", function(i) {
1691
1722
  window.matchMedia("(min-width: 62em)").matches && a.setAttribute("open", "true");
@@ -1697,10 +1728,10 @@ const di = /* @__PURE__ */ w(oa, [["render", Aa]]), wa = (e) => {
1697
1728
  { threshold: [1] }
1698
1729
  ).observe(e);
1699
1730
  };
1700
- const Sa = {
1731
+ const Ha = {
1701
1732
  components: {
1702
- Input: P,
1703
- Logo: ht
1733
+ Input: B,
1734
+ Logo: _t
1704
1735
  },
1705
1736
  name: "Nav",
1706
1737
  props: {
@@ -1770,48 +1801,48 @@ const Sa = {
1770
1801
  },
1771
1802
  mounted() {
1772
1803
  this.$nextTick(function() {
1773
- wa(this.$refs.wrapper);
1804
+ Ta(this.$refs.wrapper);
1774
1805
  });
1775
1806
  }
1776
- }, La = /* @__PURE__ */ c("input", {
1807
+ }, Ma = /* @__PURE__ */ c("input", {
1777
1808
  type: "checkbox",
1778
1809
  name: "showMenu",
1779
1810
  id: "showMenu",
1780
1811
  class: "d-none"
1781
- }, null, -1), ka = /* @__PURE__ */ c("input", {
1812
+ }, null, -1), Ea = /* @__PURE__ */ c("input", {
1782
1813
  type: "checkbox",
1783
1814
  name: "showSearch",
1784
1815
  id: "showSearch",
1785
1816
  class: "d-none"
1786
- }, null, -1), xa = /* @__PURE__ */ c("input", {
1817
+ }, null, -1), Ca = /* @__PURE__ */ c("input", {
1787
1818
  type: "checkbox",
1788
1819
  name: "showAccount",
1789
1820
  id: "showAccount",
1790
1821
  class: "d-none"
1791
- }, null, -1), qa = { class: "nav__mobile-bar" }, $a = { class: "container" }, Ta = { class: "row" }, Ha = {
1822
+ }, null, -1), Da = { class: "nav__mobile-bar" }, Na = { class: "container" }, Ra = { class: "row" }, Pa = {
1792
1823
  key: 0,
1793
1824
  class: "col mw-md-fit-content nav__logo"
1794
- }, Ma = {
1825
+ }, Ia = {
1795
1826
  key: 1,
1796
1827
  class: "col mw-md-fit-content nav__logo"
1797
- }, Ea = {
1828
+ }, za = {
1798
1829
  href: "/",
1799
1830
  class: "text-decoration-none mb-0"
1800
- }, Ca = /* @__PURE__ */ c("div", { class: "col mw-fit-content d-md-none flex-row align-items-center nav__menu-btn" }, [
1831
+ }, Fa = /* @__PURE__ */ c("div", { class: "col mw-fit-content d-md-none flex-row align-items-center nav__menu-btn" }, [
1801
1832
  /* @__PURE__ */ c("label", { for: "showMenu" }, "Menu")
1802
- ], -1), Da = { class: "nav__inner" }, Na = { class: "container" }, Ra = { class: "row" }, Pa = {
1833
+ ], -1), Ba = { class: "nav__inner" }, Va = { class: "container" }, ja = { class: "row" }, Oa = {
1803
1834
  key: 0,
1804
1835
  class: "col mw-md-fit-content nav__logo"
1805
- }, za = {
1836
+ }, Wa = {
1806
1837
  key: 1,
1807
1838
  class: "col mw-md-fit-content nav__logo"
1808
- }, Ia = {
1839
+ }, Ua = {
1809
1840
  href: "/",
1810
1841
  class: "text-decoration-none mb-0"
1811
- }, Fa = {
1842
+ }, Ka = {
1812
1843
  key: 2,
1813
1844
  class: "col mw-fit-content nav__search-btn flex-row align-items-center"
1814
- }, Ba = /* @__PURE__ */ c("label", { for: "showSearch" }, [
1845
+ }, Ga = /* @__PURE__ */ c("label", { for: "showSearch" }, [
1815
1846
  /* @__PURE__ */ c("svg", {
1816
1847
  class: "icon",
1817
1848
  viewBox: "0 0 32 32"
@@ -1832,14 +1863,14 @@ const Sa = {
1832
1863
  class: "icon__outline"
1833
1864
  })
1834
1865
  ])
1835
- ], -1), Va = [
1836
- Ba
1837
- ], ja = /* @__PURE__ */ c("div", { class: "col mw-fit-content d-md-none flex-row align-items-center nav__menu-btn" }, [
1866
+ ], -1), Qa = [
1867
+ Ga
1868
+ ], Ya = /* @__PURE__ */ c("div", { class: "col mw-fit-content d-md-none flex-row align-items-center nav__menu-btn" }, [
1838
1869
  /* @__PURE__ */ c("label", { for: "showMenu" }, "Menu")
1839
- ], -1), Wa = { class: "col-12 col-md nav__menu ms-auto flex-row align-items-center" }, Oa = {
1870
+ ], -1), Za = { class: "col-12 col-md nav__menu ms-auto flex-row align-items-center" }, Ja = {
1840
1871
  key: 3,
1841
1872
  class: "col nav__account-btn flex-row align-items-center"
1842
- }, Ua = /* @__PURE__ */ c("label", { for: "showAccount" }, [
1873
+ }, Xa = /* @__PURE__ */ c("label", { for: "showAccount" }, [
1843
1874
  /* @__PURE__ */ c("svg", {
1844
1875
  class: "icon",
1845
1876
  viewBox: "0 0 28 28"
@@ -1854,49 +1885,49 @@ const Sa = {
1854
1885
  })
1855
1886
  ]),
1856
1887
  /* @__PURE__ */ c("span", null, "My account")
1857
- ], -1), Ka = [
1858
- Ua
1859
- ], Ga = {
1888
+ ], -1), ts = [
1889
+ Xa
1890
+ ], es = {
1860
1891
  key: 4,
1861
1892
  class: "col-12 col-md nav__btn mw-md-fit-content flex-row align-items-center"
1862
- }, Qa = ["href", "innerHTML"], Ya = {
1893
+ }, as = ["href", "innerHTML"], ss = {
1863
1894
  key: 0,
1864
1895
  class: "nav__menu--secondary"
1865
- }, Za = { class: "container" }, Xa = {
1896
+ }, is = { class: "container" }, rs = {
1866
1897
  key: 1,
1867
1898
  class: "nav__menu--search"
1868
- }, Ja = { class: "bg-gradient pt-4" }, ts = { class: "container" }, es = {
1899
+ }, ls = { class: "bg-gradient pt-4" }, ns = { class: "container" }, os = {
1869
1900
  key: 0,
1870
1901
  class: "nav__menu--account"
1871
- }, as = { class: "container" }, ss = { class: "row mb-4" }, is = {
1902
+ }, cs = { class: "container" }, ds = { class: "row mb-4" }, us = {
1872
1903
  key: 0,
1873
1904
  class: "col mw-md-fit-content nav__logo"
1874
- }, rs = {
1905
+ }, hs = {
1875
1906
  key: 1,
1876
1907
  class: "col mw-md-fit-content nav__logo"
1877
- }, ls = {
1908
+ }, ms = {
1878
1909
  href: "/",
1879
1910
  class: "text-decoration-none mb-0"
1880
- }, ns = /* @__PURE__ */ c("div", { class: "col mw-fit-content d-md-none flex-row align-items-center nav__menu-btn" }, [
1911
+ }, fs = /* @__PURE__ */ c("div", { class: "col mw-fit-content d-md-none flex-row align-items-center nav__menu-btn" }, [
1881
1912
  /* @__PURE__ */ c("label", { for: "showAccount" }, "Account")
1882
- ], -1), os = { class: "container" }, cs = /* @__PURE__ */ c("span", { class: "nav__bg" }, null, -1);
1883
- function ds(e, a, t, i, l, r) {
1884
- const s = D("Logo");
1885
- return u(), h("nav", {
1913
+ ], -1), bs = { class: "container" }, ys = /* @__PURE__ */ c("span", { class: "nav__bg" }, null, -1);
1914
+ function ps(e, a, t, i, n, r) {
1915
+ const s = R("Logo");
1916
+ return d(), u("nav", {
1886
1917
  class: A(`nav${r.hasSecondarySlot ? " has-secondary" : ""}`),
1887
1918
  ref: "wrapper"
1888
1919
  }, [
1889
- La,
1890
- ka,
1891
- xa,
1892
- c("div", qa, [
1893
- c("div", $a, [
1894
- c("div", Ta, [
1895
- r.hasLogoSlot ? (u(), h("div", Ha, [
1920
+ Ma,
1921
+ Ea,
1922
+ Ca,
1923
+ c("div", Da, [
1924
+ c("div", Na, [
1925
+ c("div", Ra, [
1926
+ r.hasLogoSlot ? (d(), u("div", Pa, [
1896
1927
  _(e.$slots, "logo")
1897
- ])) : (u(), h("div", Ma, [
1898
- c("a", Ea, [
1899
- k(s, {
1928
+ ])) : (d(), u("div", Ia, [
1929
+ c("a", za, [
1930
+ x(s, {
1900
1931
  id: t.logo,
1901
1932
  path: t.logopath,
1902
1933
  desc: t.logotext,
@@ -1904,18 +1935,18 @@ function ds(e, a, t, i, l, r) {
1904
1935
  }, null, 8, ["id", "path", "desc"])
1905
1936
  ])
1906
1937
  ])),
1907
- Ca
1938
+ Fa
1908
1939
  ])
1909
1940
  ])
1910
1941
  ]),
1911
- c("div", Da, [
1912
- c("div", Na, [
1913
- c("div", Ra, [
1914
- r.hasLogoSlot ? (u(), h("div", Pa, [
1942
+ c("div", Ba, [
1943
+ c("div", Va, [
1944
+ c("div", ja, [
1945
+ r.hasLogoSlot ? (d(), u("div", Oa, [
1915
1946
  _(e.$slots, "logo")
1916
- ])) : (u(), h("div", za, [
1917
- c("a", Ia, [
1918
- k(s, {
1947
+ ])) : (d(), u("div", Wa, [
1948
+ c("a", Ua, [
1949
+ x(s, {
1919
1950
  id: t.logo,
1920
1951
  path: t.logopath,
1921
1952
  desc: t.logotext,
@@ -1923,42 +1954,42 @@ function ds(e, a, t, i, l, r) {
1923
1954
  }, null, 8, ["id", "path", "desc"])
1924
1955
  ])
1925
1956
  ])),
1926
- r.hasSearchSlot ? (u(), h("div", Fa, Va)) : g("", !0),
1927
- ja,
1928
- c("div", Wa, [
1957
+ r.hasSearchSlot ? (d(), u("div", Ka, Qa)) : g("", !0),
1958
+ Ya,
1959
+ c("div", Za, [
1929
1960
  _(e.$slots, "default")
1930
1961
  ]),
1931
- r.hasAccountSlot ? (u(), h("div", Oa, Ka)) : g("", !0),
1932
- t.btnlink ? (u(), h("div", Ga, [
1962
+ r.hasAccountSlot ? (d(), u("div", Ja, ts)) : g("", !0),
1963
+ t.btnlink ? (d(), u("div", es, [
1933
1964
  c("a", {
1934
1965
  href: t.btnlink,
1935
1966
  class: "btn me-0",
1936
1967
  innerHTML: t.btntext
1937
- }, null, 8, Qa)
1968
+ }, null, 8, as)
1938
1969
  ])) : g("", !0)
1939
1970
  ])
1940
1971
  ]),
1941
- r.hasSecondarySlot ? (u(), h("div", Ya, [
1942
- c("div", Za, [
1972
+ r.hasSecondarySlot ? (d(), u("div", ss, [
1973
+ c("div", is, [
1943
1974
  _(e.$slots, "secondary")
1944
1975
  ])
1945
1976
  ])) : g("", !0),
1946
- r.hasSearchSlot ? (u(), h("div", Xa, [
1947
- c("div", Ja, [
1948
- c("div", ts, [
1977
+ r.hasSearchSlot ? (d(), u("div", rs, [
1978
+ c("div", ls, [
1979
+ c("div", ns, [
1949
1980
  _(e.$slots, "search")
1950
1981
  ])
1951
1982
  ])
1952
1983
  ])) : g("", !0)
1953
1984
  ]),
1954
- r.hasAccountSlot ? (u(), h("div", es, [
1955
- c("div", as, [
1956
- c("div", ss, [
1957
- r.hasLogoSlot ? (u(), h("div", is, [
1985
+ r.hasAccountSlot ? (d(), u("div", os, [
1986
+ c("div", cs, [
1987
+ c("div", ds, [
1988
+ r.hasLogoSlot ? (d(), u("div", us, [
1958
1989
  _(e.$slots, "logo")
1959
- ])) : (u(), h("div", rs, [
1960
- c("a", ls, [
1961
- k(s, {
1990
+ ])) : (d(), u("div", hs, [
1991
+ c("a", ms, [
1992
+ x(s, {
1962
1993
  id: t.logo,
1963
1994
  path: t.logopath,
1964
1995
  desc: t.logotext,
@@ -1966,18 +1997,18 @@ function ds(e, a, t, i, l, r) {
1966
1997
  }, null, 8, ["id", "path", "desc"])
1967
1998
  ])
1968
1999
  ])),
1969
- ns
2000
+ fs
1970
2001
  ])
1971
2002
  ]),
1972
- c("div", os, [
2003
+ c("div", bs, [
1973
2004
  _(e.$slots, "account")
1974
2005
  ])
1975
2006
  ])) : g("", !0),
1976
- cs
2007
+ ys
1977
2008
  ], 2);
1978
2009
  }
1979
- const ui = /* @__PURE__ */ w(Sa, [["render", ds]]);
1980
- const us = {
2010
+ const vi = /* @__PURE__ */ S(Ha, [["render", ps]]);
2011
+ const gs = {
1981
2012
  name: "Stepper",
1982
2013
  props: {
1983
2014
  label: {
@@ -1990,25 +2021,25 @@ const us = {
1990
2021
  default: "Complete"
1991
2022
  }
1992
2023
  }
1993
- }, hs = { class: "container" }, ms = ["aria-label"], fs = {
2024
+ }, _s = { class: "container" }, vs = ["aria-label"], As = {
1994
2025
  key: 0,
1995
2026
  class: "h6 stepper__start"
1996
- }, bs = { class: "list-unstyled" }, ys = { class: "h6 stepper__end" };
1997
- function ps(e, a, t, i, l, r) {
1998
- return u(), h("div", hs, [
2027
+ }, ws = { class: "list-unstyled" }, Ss = { class: "h6 stepper__end" };
2028
+ function Ls(e, a, t, i, n, r) {
2029
+ return d(), u("div", _s, [
1999
2030
  c("nav", {
2000
2031
  class: "stepper",
2001
2032
  "aria-label": t.label ? t.label : "Progress"
2002
2033
  }, [
2003
- t.label ? (u(), h("span", fs, x(t.label), 1)) : g("", !0),
2004
- c("ol", bs, [
2034
+ t.label ? (d(), u("span", As, q(t.label), 1)) : g("", !0),
2035
+ c("ol", ws, [
2005
2036
  _(e.$slots, "default")
2006
2037
  ]),
2007
- c("span", ys, x(t.endlabel), 1)
2008
- ], 8, ms)
2038
+ c("span", Ss, q(t.endlabel), 1)
2039
+ ], 8, vs)
2009
2040
  ]);
2010
2041
  }
2011
- const hi = /* @__PURE__ */ w(us, [["render", ps]]), gs = {
2042
+ const Ai = /* @__PURE__ */ S(gs, [["render", Ls]]), ks = {
2012
2043
  name: "Stepper",
2013
2044
  props: {
2014
2045
  url: {
@@ -2024,12 +2055,12 @@ const hi = /* @__PURE__ */ w(us, [["render", ps]]), gs = {
2024
2055
  required: !1
2025
2056
  }
2026
2057
  }
2027
- }, _s = ["href", "aria-current"], vs = {
2058
+ }, xs = ["href", "aria-current"], qs = {
2028
2059
  key: 0,
2029
2060
  class: "visually-hidden"
2030
2061
  };
2031
- function As(e, a, t, i, l, r) {
2032
- return u(), h("li", null, [
2062
+ function $s(e, a, t, i, n, r) {
2063
+ return d(), u("li", null, [
2033
2064
  c("a", {
2034
2065
  href: t.url,
2035
2066
  class: A(`${t.status ? "bg-" + t.status : ""}${typeof t.current < "u" ? "current" : ""}`),
@@ -2038,56 +2069,56 @@ function As(e, a, t, i, l, r) {
2038
2069
  c("span", null, [
2039
2070
  _(e.$slots, "default")
2040
2071
  ]),
2041
- t.status ? (u(), h("em", vs, " - status: " + x(t.status), 1)) : g("", !0)
2042
- ], 10, _s)
2072
+ t.status ? (d(), u("em", qs, " - status: " + q(t.status), 1)) : g("", !0)
2073
+ ], 10, xs)
2043
2074
  ]);
2044
2075
  }
2045
- const mi = /* @__PURE__ */ w(gs, [["render", As]]), ws = function(e) {
2076
+ const wi = /* @__PURE__ */ S(ks, [["render", $s]]), Ts = function(e) {
2046
2077
  const a = e.querySelectorAll(":scope > details");
2047
2078
  e.querySelectorAll(":scope > details > summary");
2048
2079
  let t = e.querySelector(":scope > .tabs__links");
2049
- e.shadowRoot && e.shadowRoot.querySelector(".tabs__links") && (t = e.shadowRoot.querySelector(".tabs__links")), t || (t = document.createElement("div"), t.classList.add("tabs__links"), e.prepend(t)), a.forEach((i, l) => {
2080
+ e.shadowRoot && e.shadowRoot.querySelector(".tabs__links") && (t = e.shadowRoot.querySelector(".tabs__links")), t || (t = document.createElement("div"), t.classList.add("tabs__links"), e.prepend(t)), a.forEach((i, n) => {
2050
2081
  let r = i.querySelector(":scope > summary");
2051
2082
  r.classList.add("visually-hidden");
2052
2083
  let s = document.createElement("button");
2053
- i.hasAttribute("id") && (s = document.createElement("a"), s.setAttribute("href", `#${i.getAttribute("id")}`)), i.hasAttribute("open") && s.setAttribute("aria-pressed", !0), s.innerHTML = `${r.innerText}`, s.classList.add("link"), s.setAttribute("data-index", l), s.setAttribute("tabindex", "-1"), t.appendChild(s);
2084
+ i.hasAttribute("id") && (s = document.createElement("a"), s.setAttribute("href", `#${i.getAttribute("id")}`)), i.hasAttribute("open") && s.setAttribute("aria-pressed", !0), s.innerHTML = `${r.innerText}`, s.classList.add("link"), s.setAttribute("data-index", n), s.setAttribute("tabindex", "-1"), t.appendChild(s);
2054
2085
  });
2055
- }, Ss = function(e) {
2086
+ }, Hs = function(e) {
2056
2087
  let a = e.querySelectorAll(":scope > details"), t = e.querySelectorAll(":scope > details > summary"), i = e.querySelectorAll(":scope .tabs__links > .link");
2057
- e.shadowRoot && (i = e.shadowRoot.querySelectorAll(".tabs__links > .link")), i.forEach((l) => {
2058
- l.addEventListener("click", (r) => {
2088
+ e.shadowRoot && (i = e.shadowRoot.querySelectorAll(".tabs__links > .link")), i.forEach((n) => {
2089
+ n.addEventListener("click", (r) => {
2059
2090
  r.preventDefault(), i.forEach((s) => {
2060
- let o = s == l;
2091
+ let o = s == n;
2061
2092
  s.setAttribute("aria-pressed", o);
2062
2093
  }), a.forEach((s, o) => {
2063
- let n = l.getAttribute("data-index") == o;
2064
- n ? s.setAttribute("open", n) : s.removeAttribute("open");
2065
- }), l.hasAttribute("href") && history.pushState(void 0, void 0, l.getAttribute("href")), window.dataLayer = window.dataLayer || [], window.dataLayer.push({
2094
+ let h = n.getAttribute("data-index") == o;
2095
+ h ? s.setAttribute("open", h) : s.removeAttribute("open");
2096
+ }), n.hasAttribute("href") && history.pushState(void 0, void 0, n.getAttribute("href")), window.dataLayer = window.dataLayer || [], window.dataLayer.push({
2066
2097
  event: "openTab",
2067
- tabTitle: l.textContent
2098
+ tabTitle: n.textContent
2068
2099
  });
2069
2100
  });
2070
- }), t.forEach((l, r) => {
2071
- l.addEventListener("focus", (s) => {
2101
+ }), t.forEach((n, r) => {
2102
+ n.addEventListener("focus", (s) => {
2072
2103
  i.forEach((o) => {
2073
2104
  o.classList.remove("focus");
2074
2105
  }), i[r].classList.add("focus");
2075
- }), l.addEventListener("click", (s) => {
2106
+ }), n.addEventListener("click", (s) => {
2076
2107
  s.preventDefault(), i[r].click();
2077
2108
  });
2078
2109
  });
2079
- }, Ls = function(e) {
2110
+ }, Ms = function(e) {
2080
2111
  let a = e.querySelectorAll(":scope > details"), t = e.querySelectorAll(":scope > .tabs__links > button, .tabs__links > a");
2081
2112
  e.shadowRoot && (t = e.shadowRoot.querySelectorAll(".tabs__links > button, .tabs__links > a")), location.hash && e.querySelector(`.tabs__links [href="${location.hash}"]`) ? (e.querySelector(`[href="${location.hash}"]`).setAttribute("open", !0), e.querySelector(`details[id="${location.hash.replace("#", "")}"]`).setAttribute("open", !0)) : e.querySelector("details[open]") || (a[0].setAttribute("open", !0), t[0].setAttribute("aria-pressed", !0));
2082
- }, ks = function(e) {
2083
- ws(e), Ss(e), Ls(e);
2113
+ }, Es = function(e) {
2114
+ Ts(e), Hs(e), Ms(e);
2084
2115
  };
2085
2116
  window.dataLayer = window.dataLayer || [];
2086
2117
  window.dataLayer.push({
2087
2118
  event: "customElementRegistered",
2088
2119
  element: "tabs"
2089
2120
  });
2090
- class xs extends HTMLElement {
2121
+ class Cs extends HTMLElement {
2091
2122
  constructor() {
2092
2123
  super(), this.attachShadow({ mode: "open" });
2093
2124
  const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.createElement("template");
@@ -2109,19 +2140,19 @@ class xs extends HTMLElement {
2109
2140
  }
2110
2141
  connectedCallback() {
2111
2142
  let a = this.classList.toString().replace("container", "");
2112
- this.shadowRoot.querySelector(".tabs").setAttribute("class", `tabs ${a}`), ks(this);
2143
+ this.shadowRoot.querySelector(".tabs").setAttribute("class", `tabs ${a}`), Es(this);
2113
2144
  }
2114
2145
  }
2115
- window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", xs);
2116
- const qs = {
2146
+ window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", Cs);
2147
+ const Ds = {
2117
2148
  name: "Tabs"
2118
- }, $s = { ref: "wrapper" };
2119
- function Ts(e, a, t, i, l, r) {
2120
- return u(), h("iam-tabs", $s, [
2149
+ }, Ns = { ref: "wrapper" };
2150
+ function Rs(e, a, t, i, n, r) {
2151
+ return d(), u("iam-tabs", Ns, [
2121
2152
  _(e.$slots, "default")
2122
2153
  ], 512);
2123
2154
  }
2124
- const fi = /* @__PURE__ */ w(qs, [["render", Ts]]), Hs = {
2155
+ const Si = /* @__PURE__ */ S(Ds, [["render", Rs]]), Ps = {
2125
2156
  name: "Tab",
2126
2157
  props: {
2127
2158
  title: {
@@ -2143,15 +2174,15 @@ const fi = /* @__PURE__ */ w(qs, [["render", Ts]]), Hs = {
2143
2174
  console.log(e);
2144
2175
  }
2145
2176
  }
2146
- }, Ms = { class: "tab" }, Es = ["innerHTML"];
2147
- function Cs(e, a, t, i, l, r) {
2148
- return u(), h("details", Ms, [
2149
- c("summary", { innerHTML: t.title }, null, 8, Es),
2177
+ }, Is = { class: "tab" }, zs = ["innerHTML"];
2178
+ function Fs(e, a, t, i, n, r) {
2179
+ return d(), u("details", Is, [
2180
+ c("summary", { innerHTML: t.title }, null, 8, zs),
2150
2181
  _(e.$slots, "default")
2151
2182
  ]);
2152
2183
  }
2153
- const bi = /* @__PURE__ */ w(Hs, [["render", Cs]]);
2154
- function Ds(e) {
2184
+ const Li = /* @__PURE__ */ S(Ps, [["render", Fs]]);
2185
+ function Bs(e) {
2155
2186
  if (e.addEventListener("click", function(t) {
2156
2187
  for (var i = t.target; i && i != this; i = i.parentNode)
2157
2188
  if (i.matches(".btn-close")) {
@@ -2176,7 +2207,7 @@ function Ds(e) {
2176
2207
  let a = document.querySelector(".alert__holder");
2177
2208
  e.classList.contains("alert--fixed") && !e.parentNode.classList.contains("alert__wrapper") && a.appendChild(e);
2178
2209
  }
2179
- const Ns = {
2210
+ const Vs = {
2180
2211
  name: "Alert",
2181
2212
  props: {
2182
2213
  dismissible: {
@@ -2195,38 +2226,38 @@ const Ns = {
2195
2226
  }
2196
2227
  },
2197
2228
  mounted() {
2198
- Ds(this.$refs.wrapper);
2229
+ Bs(this.$refs.wrapper);
2199
2230
  }
2200
- }, Rs = ["data-timeout"], Ps = {
2231
+ }, js = ["data-timeout"], Os = {
2201
2232
  key: 0,
2202
2233
  type: "button",
2203
2234
  class: "btn-close",
2204
2235
  "data-bs-dismiss": "alert",
2205
2236
  "aria-label": "Close"
2206
2237
  };
2207
- function zs(e, a, t, i, l, r) {
2208
- return u(), h("div", {
2238
+ function Ws(e, a, t, i, n, r) {
2239
+ return d(), u("div", {
2209
2240
  class: A(`container alert pb-0 ${t.dismissible ? "alert--dismissible fade show" : ""}`),
2210
2241
  ref: "wrapper",
2211
2242
  "data-timeout": t.timeout,
2212
- style: lt(t.timeout ? `--animation-length: ${t.timeout}ms` : "")
2243
+ style: mt(t.timeout ? `--animation-length: ${t.timeout}ms` : "")
2213
2244
  }, [
2214
2245
  c("div", {
2215
2246
  class: A(`alert__inner bg-${t.colour}`),
2216
2247
  role: "alert"
2217
2248
  }, [
2218
- t.dismissible ? (u(), h("button", Ps)) : g("", !0),
2249
+ t.dismissible ? (d(), u("button", Os)) : g("", !0),
2219
2250
  _(e.$slots, "default")
2220
2251
  ], 2)
2221
- ], 14, Rs);
2252
+ ], 14, js);
2222
2253
  }
2223
- const yi = /* @__PURE__ */ w(Ns, [["render", zs]]);
2224
- let et = tt.props;
2225
- et.fields.required = !1;
2226
- const Is = {
2254
+ const ki = /* @__PURE__ */ S(Vs, [["render", Ws]]);
2255
+ let rt = it.props;
2256
+ rt.fields.required = !1;
2257
+ const Us = {
2227
2258
  components: {
2228
- Table: tt,
2229
- Input: P
2259
+ Table: it,
2260
+ Input: B
2230
2261
  },
2231
2262
  data() {
2232
2263
  return {
@@ -2240,8 +2271,8 @@ const Is = {
2240
2271
  const a = new FormData(e.target);
2241
2272
  let t = /* @__PURE__ */ new Date();
2242
2273
  const i = t.getFullYear();
2243
- let l = t.getMonth() + 1, r = t.getDate();
2244
- r < 10 && (r = "0" + r), l < 10 && (l = "0" + l), t = r + "/" + l + "/" + i, this.itemsData.unshift({
2274
+ let n = t.getMonth() + 1, r = t.getDate();
2275
+ r < 10 && (r = "0" + r), n < 10 && (n = "0" + n), t = r + "/" + n + "/" + i, this.itemsData.unshift({
2245
2276
  date_added: t,
2246
2277
  user: a.get("user"),
2247
2278
  note: a.get("addNote")
@@ -2254,7 +2285,7 @@ const Is = {
2254
2285
  type: String,
2255
2286
  required: !0
2256
2287
  },
2257
- ...et,
2288
+ ...rt,
2258
2289
  title: {
2259
2290
  type: String,
2260
2291
  required: !1
@@ -2269,84 +2300,84 @@ const Is = {
2269
2300
  required: !1
2270
2301
  }
2271
2302
  }
2272
- }, Fs = { class: "container note-feed mb-2" }, Bs = ["innerHTML"], Vs = ["action", "method"], js = ["value"], Ws = /* @__PURE__ */ c("button", { class: "btn btn-tertiary" }, "Submit note", -1);
2273
- function Os(e, a, t, i, l, r) {
2274
- const s = D("Table"), o = D("Input");
2275
- return u(), h("div", Fs, [
2276
- t.title ? (u(), h("span", {
2303
+ }, Ks = { class: "container note-feed mb-2" }, Gs = ["innerHTML"], Qs = ["action", "method"], Ys = ["value"], Zs = /* @__PURE__ */ c("button", { class: "btn btn-tertiary" }, "Submit note", -1);
2304
+ function Js(e, a, t, i, n, r) {
2305
+ const s = R("Table"), o = R("Input");
2306
+ return d(), u("div", Ks, [
2307
+ t.title ? (d(), u("span", {
2277
2308
  key: 0,
2278
2309
  class: "h3",
2279
2310
  innerHTML: t.title
2280
- }, null, 8, Bs)) : g("", !0),
2281
- k(s, M({
2311
+ }, null, 8, Gs)) : g("", !0),
2312
+ x(s, M({
2282
2313
  fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
2283
- items: l.itemsData
2314
+ items: n.itemsData
2284
2315
  }, e.$props, { class: "mb-0" }), null, 16, ["items"]),
2285
2316
  c("form", {
2286
2317
  action: t.action,
2287
2318
  method: t.method,
2288
- onSubmit: a[0] || (a[0] = nt((n) => r.submitForm(...arguments), ["prevent"]))
2319
+ onSubmit: a[0] || (a[0] = ft((h) => r.submitForm(...arguments), ["prevent"]))
2289
2320
  }, [
2290
2321
  c("input", {
2291
2322
  type: "hidden",
2292
2323
  value: t.user,
2293
2324
  name: "user"
2294
- }, null, 8, js),
2295
- k(o, {
2325
+ }, null, 8, Ys),
2326
+ x(o, {
2296
2327
  id: "addNote",
2297
2328
  type: "textarea",
2298
2329
  label: "Add note",
2299
2330
  required: "",
2300
2331
  class: "mw-100"
2301
2332
  }),
2302
- Ws
2303
- ], 40, Vs)
2333
+ Zs
2334
+ ], 40, Qs)
2304
2335
  ]);
2305
2336
  }
2306
- const pi = /* @__PURE__ */ w(Is, [["render", Os]]);
2307
- function Us(e, a) {
2308
- function t(i, l) {
2309
- let r = !1, s = l.getAttribute("name");
2310
- s.includes("[]") && (s = s.replace("[]", `[${l.value}]`));
2337
+ const xi = /* @__PURE__ */ S(Us, [["render", Js]]);
2338
+ function Xs(e, a) {
2339
+ function t(i, n) {
2340
+ let r = !1, s = n.getAttribute("name");
2341
+ s.includes("[]") && (s = s.replace("[]", `[${n.value}]`));
2311
2342
  let o = i.querySelector(`[data-name="${s}"]`);
2312
- o && l.getAttribute("type") == "checkbox" && (r = !0);
2313
- let n = l.getAttribute("data-filter-text");
2314
- if (o || (o = document.createElement("button"), i.appendChild(o)), o.setAttribute("type", "button"), o.classList.add("filter"), o.setAttribute("data-name", s), o.innerHTML = n.replace("$value", l.value), (!l.value || r) && o.remove(), l.parentNode.closest("[data-filter-text]")) {
2315
- let d = l.parentNode.closest("[data-filter-text]"), f = !0;
2316
- if (s = "", d.querySelectorAll("input").forEach((m, p) => {
2317
- let y = m.getAttribute("name");
2318
- if (s += `${p != 0 ? "," : ""}${y}`, i.querySelector(`[data-name="${y}"]`) && i.querySelector(`[data-name="${y}"]`).remove(), m.value) {
2319
- let b = document.createElement("button");
2320
- b.setAttribute("type", "button"), b.classList.add("filter"), b.setAttribute("data-name", y), b.innerHTML = n.replace("$value", m.value), i.appendChild(b);
2343
+ o && n.getAttribute("type") == "checkbox" && (r = !0);
2344
+ let h = n.getAttribute("data-filter-text");
2345
+ if (o || (o = document.createElement("button"), i.appendChild(o)), o.setAttribute("type", "button"), o.classList.add("filter"), o.setAttribute("data-name", s), o.innerHTML = h.replace("$value", n.value), (!n.value || r) && o.remove(), n.parentNode.closest("[data-filter-text]")) {
2346
+ let l = n.parentNode.closest("[data-filter-text]"), b = !0;
2347
+ if (s = "", l.querySelectorAll("input").forEach((m, y) => {
2348
+ let p = m.getAttribute("name");
2349
+ if (s += `${y != 0 ? "," : ""}${p}`, i.querySelector(`[data-name="${p}"]`) && i.querySelector(`[data-name="${p}"]`).remove(), m.value) {
2350
+ let f = document.createElement("button");
2351
+ f.setAttribute("type", "button"), f.classList.add("filter"), f.setAttribute("data-name", p), f.innerHTML = h.replace("$value", m.value), i.appendChild(f);
2321
2352
  } else
2322
- f = !1;
2323
- }), i.querySelector(`[data-name="${s}"]`) && i.querySelector(`[data-name="${s}"]`).remove(), f) {
2324
- let m = d.getAttribute("data-filter-text");
2325
- d.querySelectorAll("input").forEach((y, b) => {
2326
- let E = y.getAttribute("name");
2327
- i.querySelector(`[data-name="${E}"]`) && i.querySelector(`[data-name="${E}"]`).remove(), m = m.replace(`$${b + 1}`, y.value);
2353
+ b = !1;
2354
+ }), i.querySelector(`[data-name="${s}"]`) && i.querySelector(`[data-name="${s}"]`).remove(), b) {
2355
+ let m = l.getAttribute("data-filter-text");
2356
+ l.querySelectorAll("input").forEach((p, f) => {
2357
+ let k = p.getAttribute("name");
2358
+ i.querySelector(`[data-name="${k}"]`) && i.querySelector(`[data-name="${k}"]`).remove(), m = m.replace(`$${f + 1}`, p.value);
2328
2359
  });
2329
- let p = document.createElement("button");
2330
- p.setAttribute("type", "button"), p.classList.add("filter"), p.setAttribute("data-name", s), p.innerHTML = m, i.appendChild(p);
2360
+ let y = document.createElement("button");
2361
+ y.setAttribute("type", "button"), y.classList.add("filter"), y.setAttribute("data-name", s), y.innerHTML = m, i.appendChild(y);
2331
2362
  }
2332
2363
  }
2333
2364
  }
2334
- Array.from(e.querySelectorAll('input[type="checkbox"]:checked')).forEach((i, l) => {
2365
+ Array.from(e.querySelectorAll('input[type="checkbox"]:checked')).forEach((i, n) => {
2335
2366
  t(a, i);
2336
2367
  }), e.addEventListener("change", function(i) {
2337
2368
  if (i && i.target instanceof HTMLElement && i.target.closest("input[data-filter-text]")) {
2338
- let l = i.target.closest("input[data-filter-text]");
2339
- t(a, l);
2369
+ let n = i.target.closest("input[data-filter-text]");
2370
+ t(a, n);
2340
2371
  }
2341
2372
  }, !1), a.addEventListener("click", function(i) {
2342
2373
  if (i && i.target instanceof HTMLElement && i.target.closest(".filter")) {
2343
2374
  let s = i.target.closest(".filter"), o = s.getAttribute("data-name").split(",");
2344
- for (var l = 0; l < o.length; l++) {
2345
- let n = o[l], d = `[name="${n}"]`;
2346
- n.match(/\[(.*)\]/) && (n.replace(/\[(.*)\]/, "[]"), d = `[value="${n.replace(/.*\[(.*)\]/, "$1")}"]`);
2347
- let f = e.querySelectorAll(d);
2348
- for (var r = 0; r < f.length; r++) {
2349
- let m = f[r];
2375
+ for (var n = 0; n < o.length; n++) {
2376
+ let h = o[n], l = `[name="${h}"]`;
2377
+ h.match(/\[(.*)\]/) && (h.replace(/\[(.*)\]/, "[]"), l = `[value="${h.replace(/.*\[(.*)\]/, "$1")}"]`);
2378
+ let b = e.querySelectorAll(l);
2379
+ for (var r = 0; r < b.length; r++) {
2380
+ let m = b[r];
2350
2381
  if (m.getAttribute("type") != "radio" && m.getAttribute("type") != "checkbox")
2351
2382
  m.value = "";
2352
2383
  else {
@@ -2360,16 +2391,16 @@ function Us(e, a) {
2360
2391
  }
2361
2392
  }, !1);
2362
2393
  }
2363
- const at = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", Ks = `@import "${at}/css/components/applied-filters.css";`;
2364
- class Gs extends HTMLElement {
2394
+ const lt = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", ti = `@import "${lt}/css/components/applied-filters.css";`;
2395
+ class ei extends HTMLElement {
2365
2396
  constructor() {
2366
2397
  super(), this.attachShadow({ mode: "open" });
2367
2398
  let a = this.classList.toString();
2368
2399
  const t = document.createElement("template");
2369
2400
  t.innerHTML = `
2370
2401
  <style>
2371
- @import "${at}/css/core.min.css";
2372
- ${Ks}
2402
+ @import "${lt}/css/core.min.css";
2403
+ ${ti}
2373
2404
  ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
2374
2405
  </style>
2375
2406
  <div class="applied-filters ${a}"></div>
@@ -2377,36 +2408,36 @@ class Gs extends HTMLElement {
2377
2408
  `, this.shadowRoot.appendChild(t.content.cloneNode(!0));
2378
2409
  }
2379
2410
  connectedCallback() {
2380
- Us(this, this.shadowRoot.querySelector(".applied-filters"));
2411
+ Xs(this, this.shadowRoot.querySelector(".applied-filters"));
2381
2412
  }
2382
2413
  }
2383
- window.customElements.get("iam-applied-filters") || window.customElements.define("iam-applied-filters", Gs);
2384
- const Qs = {
2414
+ window.customElements.get("iam-applied-filters") || window.customElements.define("iam-applied-filters", ei);
2415
+ const ai = {
2385
2416
  name: "Header"
2386
2417
  };
2387
- function Ys(e, a, t, i, l, r) {
2388
- return u(), h("iam-applied-filters", null, [
2418
+ function si(e, a, t, i, n, r) {
2419
+ return d(), u("iam-applied-filters", null, [
2389
2420
  _(e.$slots, "default")
2390
2421
  ]);
2391
2422
  }
2392
- const gi = /* @__PURE__ */ w(Qs, [["render", Ys]]);
2393
- function Zs(e, a) {
2394
- Xs(e, a);
2423
+ const qi = /* @__PURE__ */ S(ai, [["render", si]]);
2424
+ function ii(e, a) {
2425
+ ri(e, a);
2395
2426
  }
2396
- function Xs(e, a) {
2427
+ function ri(e, a) {
2397
2428
  var t;
2398
2429
  a.addEventListener("keyup", (i) => {
2399
2430
  clearTimeout(t), t = setTimeout(function() {
2400
- G(e, a.value);
2431
+ J(e, a.value);
2401
2432
  }, 500);
2402
2433
  }), a.addEventListener("change", (i) => {
2403
- clearTimeout(t), G(e, a.value);
2434
+ clearTimeout(t), J(e, a.value);
2404
2435
  });
2405
2436
  }
2406
- const G = function(e, a) {
2437
+ const J = function(e, a) {
2407
2438
  Array.from(e.querySelectorAll(":scope > li")).forEach((t, i) => {
2408
- let l = t.textContent.toLowerCase();
2409
- t.classList.add("d-none"), l.includes(a.toLowerCase()) && t.classList.remove("d-none");
2439
+ let n = t.textContent.toLowerCase();
2440
+ t.classList.add("d-none"), n.includes(a.toLowerCase()) && t.classList.remove("d-none");
2410
2441
  }), window.dataLayer = window.dataLayer || [], window.dataLayer.push({
2411
2442
  event: "Filtered list",
2412
2443
  value: a
@@ -2417,7 +2448,7 @@ window.dataLayer.push({
2417
2448
  event: "customElementRegistered",
2418
2449
  element: "filterlist"
2419
2450
  });
2420
- class Js extends HTMLElement {
2451
+ class li extends HTMLElement {
2421
2452
  constructor() {
2422
2453
  super(), this.attachShadow({ mode: "open" });
2423
2454
  const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.createElement("template");
@@ -2452,39 +2483,39 @@ class Js extends HTMLElement {
2452
2483
  }
2453
2484
  connectedCallback() {
2454
2485
  let a = this.classList.toString();
2455
- this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${a}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'), Zs(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
2486
+ this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${a}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'), ii(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
2456
2487
  }
2457
2488
  }
2458
- window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", Js);
2459
- const ti = {
2489
+ window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", li);
2490
+ const ni = {
2460
2491
  name: "Filter list"
2461
2492
  };
2462
- function ei(e, a, t, i, l, r) {
2463
- return u(), h("iam-filterlist", null, [
2493
+ function oi(e, a, t, i, n, r) {
2494
+ return d(), u("iam-filterlist", null, [
2464
2495
  _(e.$slots, "default")
2465
2496
  ]);
2466
2497
  }
2467
- const _i = /* @__PURE__ */ w(ti, [["render", ei]]);
2498
+ const $i = /* @__PURE__ */ S(ni, [["render", oi]]);
2468
2499
  export {
2469
- ii as Accordion,
2470
- ri as AccordionItem,
2471
- yi as Alert,
2472
- gi as AppliedFilters,
2473
- li as Banner,
2474
- Te as Card,
2475
- ni as Carousel,
2476
- si as FileUploads,
2477
- _i as Filterlist,
2478
- oi as Header,
2479
- P as Input,
2480
- ht as Logo,
2481
- ui as Nav,
2482
- pi as NoteFeed,
2483
- di as PropertySearchbar,
2484
- mi as Step,
2485
- hi as Stepper,
2486
- bi as Tab,
2487
- tt as Table,
2488
- fi as Tabs,
2489
- ci as Testimonial
2500
+ mi as Accordion,
2501
+ fi as AccordionItem,
2502
+ ki as Alert,
2503
+ qi as AppliedFilters,
2504
+ bi as Banner,
2505
+ Re as Card,
2506
+ yi as Carousel,
2507
+ hi as FileUploads,
2508
+ $i as Filterlist,
2509
+ pi as Header,
2510
+ B as Input,
2511
+ _t as Logo,
2512
+ vi as Nav,
2513
+ xi as NoteFeed,
2514
+ _i as PropertySearchbar,
2515
+ wi as Step,
2516
+ Ai as Stepper,
2517
+ Li as Tab,
2518
+ it as Table,
2519
+ Si as Tabs,
2520
+ gi as Testimonial
2490
2521
  };