@dcrackel/meyersquaredui 1.0.78 → 1.0.80

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,4 +1,4 @@
1
- import { openBlock as b, createBlock as me, resolveDynamicComponent as qe, normalizeClass as F, withCtx as m, renderSlot as Ye, createElementBlock as x, resolveComponent as v, createElementVNode as i, createVNode as c, createTextVNode as h, toDisplayString as f, Fragment as T, renderList as W, defineComponent as U, ref as B, provide as se, watch as K, onMounted as Ze, onBeforeUnmount as $, toRef as H, inject as j, computed as ce, markRaw as V, Comment as He, normalizeProps as at, guardReactiveProps as it, withModifiers as N, createCommentVNode as E, normalizeStyle as ne, createStaticVNode as ke } from "vue";
1
+ import { openBlock as b, createBlock as me, resolveDynamicComponent as qe, normalizeClass as F, withCtx as m, renderSlot as He, createElementBlock as x, resolveComponent as v, createElementVNode as i, createVNode as c, createTextVNode as h, toDisplayString as f, Fragment as T, renderList as W, defineComponent as U, ref as B, provide as se, watch as K, onMounted as Ye, onBeforeUnmount as $, toRef as Z, inject as j, computed as ce, markRaw as V, Comment as Ze, normalizeProps as at, guardReactiveProps as it, withModifiers as N, createCommentVNode as E, normalizeStyle as ne, createStaticVNode as ke } from "vue";
2
2
  const S = (s, e) => {
3
3
  const t = s.__vccOpts || s;
4
4
  for (const [n, o] of e)
@@ -61,7 +61,7 @@ function dt(s, e, t, n, o, r) {
61
61
  class: F(r.textClasses)
62
62
  }, {
63
63
  default: m(() => [
64
- Ye(s.$slots, "default")
64
+ He(s.$slots, "default")
65
65
  ]),
66
66
  _: 3
67
67
  }, 8, ["class"]);
@@ -459,7 +459,7 @@ const $a = /* @__PURE__ */ S(kt, [["render", zt]]);
459
459
  console.error("vite-plugin-css-injected-by-js", e);
460
460
  }
461
461
  })();
462
- var It = Object.defineProperty, Lt = (s, e, t) => e in s ? It(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, Le = (s, e, t) => (Lt(s, typeof e != "symbol" ? e + "" : e, t), t);
462
+ var Lt = Object.defineProperty, It = (s, e, t) => e in s ? Lt(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, Ie = (s, e, t) => (It(s, typeof e != "symbol" ? e + "" : e, t), t);
463
463
  const ee = Symbol("map"), te = Symbol("api"), _e = Symbol("marker"), Se = Symbol("markerCluster"), be = Symbol("CustomMarker"), Je = Symbol("mapTilesLoaded"), ae = [
464
464
  "click",
465
465
  "dblclick",
@@ -664,17 +664,17 @@ class X {
664
664
  ), !((t = (e = window == null ? void 0 : window.google) === null || e === void 0 ? void 0 : e.maps) === null || t === void 0) && t.importLibrary || ((r) => {
665
665
  let a, l, d, u = "The Google Maps JavaScript API", p = "google", g = "importLibrary", y = "__ib__", k = document, w = window;
666
666
  w = w[p] || (w[p] = {});
667
- const C = w.maps || (w.maps = {}), _ = /* @__PURE__ */ new Set(), A = new URLSearchParams(), I = () => (
667
+ const C = w.maps || (w.maps = {}), _ = /* @__PURE__ */ new Set(), A = new URLSearchParams(), L = () => (
668
668
  // @ts-ignore
669
- a || (a = new Promise((L, D) => Et(this, void 0, void 0, function* () {
669
+ a || (a = new Promise((I, D) => Et(this, void 0, void 0, function* () {
670
670
  var O;
671
671
  yield l = k.createElement("script"), l.id = this.id, A.set("libraries", [..._] + "");
672
672
  for (d in r)
673
673
  A.set(d.replace(/[A-Z]/g, (R) => "_" + R[0].toLowerCase()), r[d]);
674
- A.set("callback", p + ".maps." + y), l.src = this.url + "?" + A, C[y] = L, l.onerror = () => a = D(Error(u + " could not load.")), l.nonce = this.nonce || ((O = k.querySelector("script[nonce]")) === null || O === void 0 ? void 0 : O.nonce) || "", k.head.append(l);
674
+ A.set("callback", p + ".maps." + y), l.src = this.url + "?" + A, C[y] = I, l.onerror = () => a = D(Error(u + " could not load.")), l.nonce = this.nonce || ((O = k.querySelector("script[nonce]")) === null || O === void 0 ? void 0 : O.nonce) || "", k.head.append(l);
675
675
  })))
676
676
  );
677
- C[g] ? console.warn(u + " only loads once. Ignoring:", r) : C[g] = (L, ...D) => _.add(L) && I().then(() => C[g](L, ...D));
677
+ C[g] ? console.warn(u + " only loads once. Ignoring:", r) : C[g] = (I, ...D) => _.add(I) && L().then(() => C[g](I, ...D));
678
678
  })(n);
679
679
  const o = this.libraries.map((r) => this.importLibrary(r));
680
680
  o.length || o.push(this.importLibrary("core")), Promise.all(o).then(() => this.callback(), (r) => {
@@ -720,7 +720,7 @@ class X {
720
720
  function Mt(s) {
721
721
  return class extends s.OverlayView {
722
722
  constructor(e) {
723
- super(), Le(this, "element"), Le(this, "opts");
723
+ super(), Ie(this, "element"), Ie(this, "opts");
724
724
  const { element: t, ...n } = e;
725
725
  this.element = t, this.opts = n, this.opts.map && this.setMap(this.opts.map);
726
726
  }
@@ -1055,19 +1055,19 @@ const Me = [
1055
1055
  }), n.value = !0;
1056
1056
  const k = Object.keys(s).filter(
1057
1057
  (w) => !["apiPromise", "apiKey", "version", "libraries", "region", "language", "center", "zoom", "nonce"].includes(w)
1058
- ).map((w) => H(s, w));
1058
+ ).map((w) => Z(s, w));
1059
1059
  K(
1060
1060
  [() => s.center, () => s.zoom, ...k],
1061
1061
  ([w, C], [_, A]) => {
1062
- var I, L, D;
1062
+ var L, I, D;
1063
1063
  const { center: O, zoom: R, ...P } = l();
1064
- (I = o.value) == null || I.setOptions(P), C !== void 0 && C !== A && ((L = o.value) == null || L.setZoom(C));
1064
+ (L = o.value) == null || L.setOptions(P), C !== void 0 && C !== A && ((I = o.value) == null || I.setZoom(C));
1065
1065
  const he = !_ || w.lng !== _.lng || w.lat !== _.lat;
1066
1066
  w && he && ((D = o.value) == null || D.panTo(w));
1067
1067
  }
1068
1068
  );
1069
1069
  };
1070
- return Ze(() => {
1070
+ return Ye(() => {
1071
1071
  s.apiPromise && s.apiPromise instanceof Promise ? s.apiPromise.then(p) : (u(), Te.load().then(p));
1072
1072
  }), $(() => {
1073
1073
  var g;
@@ -1086,7 +1086,7 @@ const Me = [
1086
1086
  function Dt(s, e, t, n, o, r) {
1087
1087
  return b(), x("div", null, [
1088
1088
  i("div", Pt, null, 512),
1089
- Ye(s.$slots, "default", at(it({ ready: s.ready, map: s.map, api: s.api, mapTilesLoaded: s.mapTilesLoaded })), void 0, !0)
1089
+ He(s.$slots, "default", at(it({ ready: s.ready, map: s.map, api: s.api, mapTilesLoaded: s.mapTilesLoaded })), void 0, !0)
1090
1090
  ]);
1091
1091
  }
1092
1092
  const Nt = /* @__PURE__ */ Ot(jt, [["render", Dt], ["__scopeId", "data-v-d05fc6bc"]]);
@@ -1142,17 +1142,17 @@ const Q = /* @__PURE__ */ Ft(Gt), je = ["click", "drag", "dragend", "dragstart",
1142
1142
  },
1143
1143
  emits: je,
1144
1144
  setup(s, { emit: e, expose: t, slots: n }) {
1145
- const o = H(s, "options"), r = H(s, "pinOptions"), a = B(), l = j(ee, B()), d = j(te, B()), u = j(Se, B()), p = ce(
1145
+ const o = Z(s, "options"), r = Z(s, "pinOptions"), a = B(), l = j(ee, B()), d = j(te, B()), u = j(Se, B()), p = ce(
1146
1146
  () => !!(u.value && d.value && a.value instanceof google.maps.marker.AdvancedMarkerElement)
1147
1147
  );
1148
1148
  return K(
1149
1149
  [l, o, r],
1150
1150
  async (g, [y, k, w]) => {
1151
1151
  var C, _, A;
1152
- const I = !Q(o.value, k) || !Q(r.value, w) || l.value !== y;
1153
- if (!l.value || !d.value || !I)
1152
+ const L = !Q(o.value, k) || !Q(r.value, w) || l.value !== y;
1153
+ if (!l.value || !d.value || !L)
1154
1154
  return;
1155
- const { AdvancedMarkerElement: L, PinElement: D } = d.value.marker;
1155
+ const { AdvancedMarkerElement: I, PinElement: D } = d.value.marker;
1156
1156
  if (a.value) {
1157
1157
  const { map: O, content: R, ...P } = o.value;
1158
1158
  Object.assign(a.value, {
@@ -1160,7 +1160,7 @@ const Q = /* @__PURE__ */ Ft(Gt), je = ["click", "drag", "dragend", "dragstart",
1160
1160
  ...P
1161
1161
  }), p.value && ((C = u.value) == null || C.removeMarker(a.value), (_ = u.value) == null || _.addMarker(a.value));
1162
1162
  } else
1163
- r.value && (o.value.content = new D(r.value).element), a.value = V(new L(o.value)), p.value ? (A = u.value) == null || A.addMarker(a.value) : a.value.map = l.value, je.forEach((O) => {
1163
+ r.value && (o.value.content = new D(r.value).element), a.value = V(new I(o.value)), p.value ? (A = u.value) == null || A.addMarker(a.value) : a.value.map = l.value, je.forEach((O) => {
1164
1164
  var R;
1165
1165
  (R = a.value) == null || R.addListener(O, (P) => e(O, P));
1166
1166
  });
@@ -1196,7 +1196,7 @@ const Q = /* @__PURE__ */ Ft(Gt), je = ["click", "drag", "dragend", "dragstart",
1196
1196
  })
1197
1197
  ), d.value ? (w = l.value) == null || w.addMarker(o.value) : o.value.setMap(r.value), e.forEach((_) => {
1198
1198
  var A;
1199
- (A = o.value) == null || A.addListener(_, (I) => n(_, I));
1199
+ (A = o.value) == null || A.addListener(_, (L) => n(_, L));
1200
1200
  })));
1201
1201
  },
1202
1202
  {
@@ -1241,7 +1241,7 @@ U({
1241
1241
  },
1242
1242
  emits: Oe,
1243
1243
  setup(s, { emit: e, expose: t, slots: n }) {
1244
- const o = H(s, "options"), r = ie("Marker", Oe, o, e);
1244
+ const o = Z(s, "options"), r = ie("Marker", Oe, o, e);
1245
1245
  return se(_e, r), t({ marker: r }), () => {
1246
1246
  var a;
1247
1247
  return (a = n.default) == null ? void 0 : a.call(n);
@@ -1258,7 +1258,7 @@ U({
1258
1258
  },
1259
1259
  emits: ae,
1260
1260
  setup(s, { emit: e }) {
1261
- const t = H(s, "options");
1261
+ const t = Z(s, "options");
1262
1262
  return { polyline: ie("Polyline", ae, t, e) };
1263
1263
  },
1264
1264
  render: () => null
@@ -1273,7 +1273,7 @@ U({
1273
1273
  },
1274
1274
  emits: ae,
1275
1275
  setup(s, { emit: e }) {
1276
- const t = H(s, "options");
1276
+ const t = Z(s, "options");
1277
1277
  return { polygon: ie("Polygon", ae, t, e) };
1278
1278
  },
1279
1279
  render: () => null
@@ -1289,7 +1289,7 @@ U({
1289
1289
  },
1290
1290
  emits: Pe,
1291
1291
  setup(s, { emit: e }) {
1292
- const t = H(s, "options");
1292
+ const t = Z(s, "options");
1293
1293
  return { rectangle: ie("Rectangle", Pe, t, e) };
1294
1294
  },
1295
1295
  render: () => null
@@ -1305,7 +1305,7 @@ U({
1305
1305
  },
1306
1306
  emits: De,
1307
1307
  setup(s, { emit: e }) {
1308
- const t = H(s, "options");
1308
+ const t = Z(s, "options");
1309
1309
  return { circle: ie("Circle", De, t, e) };
1310
1310
  },
1311
1311
  render: () => null
@@ -1374,7 +1374,7 @@ U({
1374
1374
  let u, p = s.modelValue;
1375
1375
  const g = ce(() => {
1376
1376
  var C;
1377
- return (C = e.default) == null ? void 0 : C.call(e).some((_) => _.type !== He);
1377
+ return (C = e.default) == null ? void 0 : C.call(e).some((_) => _.type !== Ze);
1378
1378
  }), y = (C) => {
1379
1379
  p = C, t("update:modelValue", C);
1380
1380
  }, k = (C) => {
@@ -1382,12 +1382,12 @@ U({
1382
1382
  }, w = () => {
1383
1383
  o.value && (o.value.close(), y(!1));
1384
1384
  };
1385
- return Ze(() => {
1385
+ return Ye(() => {
1386
1386
  K(
1387
1387
  [a, () => s.options],
1388
- ([C, _], [A, I]) => {
1389
- var L;
1390
- const D = !Q(_, I) || a.value !== A;
1388
+ ([C, _], [A, L]) => {
1389
+ var I;
1390
+ const D = !Q(_, L) || a.value !== A;
1391
1391
  a.value && l.value && D && (o.value ? (o.value.setOptions({
1392
1392
  ..._,
1393
1393
  content: g.value ? r.value : _.content
@@ -1401,7 +1401,7 @@ U({
1401
1401
  })), (!d.value || p) && k(), Ne.forEach((O) => {
1402
1402
  var R;
1403
1403
  (R = o.value) == null || R.addListener(O, (P) => t(O, P));
1404
- }), (L = o.value) == null || L.addListener("closeclick", () => y(!1))));
1404
+ }), (I = o.value) == null || I.addListener("closeclick", () => y(!1))));
1405
1405
  },
1406
1406
  {
1407
1407
  immediate: !0
@@ -1500,8 +1500,8 @@ class Ae {
1500
1500
  const p = d.pop() || 0, g = d.pop() || 0, y = d.pop() || 0;
1501
1501
  if (g - y <= l) {
1502
1502
  for (let _ = y; _ <= g; _++) {
1503
- const A = a[2 * _], I = a[2 * _ + 1];
1504
- A >= e && A <= n && I >= t && I <= o && u.push(r[_]);
1503
+ const A = a[2 * _], L = a[2 * _ + 1];
1504
+ A >= e && A <= n && L >= t && L <= o && u.push(r[_]);
1505
1505
  }
1506
1506
  continue;
1507
1507
  }
@@ -1591,7 +1591,7 @@ const Kt = {
1591
1591
  // properties to use for individual points when running the reducer
1592
1592
  map: (s) => s
1593
1593
  // props => ({sum: props.my_value})
1594
- }, Re = Math.fround || /* @__PURE__ */ ((s) => (e) => (s[0] = +e, s[0]))(new Float32Array(1)), J = 2, Z = 3, ve = 4, Y = 5, $e = 6;
1594
+ }, Re = Math.fround || /* @__PURE__ */ ((s) => (e) => (s[0] = +e, s[0]))(new Float32Array(1)), J = 2, Y = 3, ve = 4, H = 5, $e = 6;
1595
1595
  class et {
1596
1596
  constructor(e) {
1597
1597
  this.options = Object.assign(Object.create(Kt), e), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
@@ -1643,7 +1643,7 @@ class et {
1643
1643
  const l = this.trees[this._limitZoom(t)], d = l.range(pe(n), ge(a), pe(r), ge(o)), u = l.data, p = [];
1644
1644
  for (const g of d) {
1645
1645
  const y = this.stride * g;
1646
- p.push(u[y + Y] > 1 ? Ue(u, y, this.clusterProps) : this.points[u[y + Z]]);
1646
+ p.push(u[y + H] > 1 ? Ue(u, y, this.clusterProps) : this.points[u[y + Y]]);
1647
1647
  }
1648
1648
  return p;
1649
1649
  }
@@ -1657,7 +1657,7 @@ class et {
1657
1657
  const l = this.options.radius / (this.options.extent * Math.pow(2, n - 1)), d = a[t * this.stride], u = a[t * this.stride + 1], p = r.within(d, u, l), g = [];
1658
1658
  for (const y of p) {
1659
1659
  const k = y * this.stride;
1660
- a[k + ve] === e && g.push(a[k + Y] > 1 ? Ue(a, k, this.clusterProps) : this.points[a[k + Z]]);
1660
+ a[k + ve] === e && g.push(a[k + H] > 1 ? Ue(a, k, this.clusterProps) : this.points[a[k + Y]]);
1661
1661
  }
1662
1662
  if (g.length === 0)
1663
1663
  throw new Error(o);
@@ -1722,12 +1722,12 @@ class et {
1722
1722
  }
1723
1723
  _addTileFeatures(e, t, n, o, r, a) {
1724
1724
  for (const l of e) {
1725
- const d = l * this.stride, u = t[d + Y] > 1;
1725
+ const d = l * this.stride, u = t[d + H] > 1;
1726
1726
  let p, g, y;
1727
1727
  if (u)
1728
1728
  p = tt(t, d, this.clusterProps), g = t[d], y = t[d + 1];
1729
1729
  else {
1730
- const C = this.points[t[d + Z]];
1730
+ const C = this.points[t[d + Y]];
1731
1731
  p = C.properties;
1732
1732
  const [_, A] = C.geometry.coordinates;
1733
1733
  g = pe(_), y = ge(A);
@@ -1741,7 +1741,7 @@ class et {
1741
1741
  tags: p
1742
1742
  };
1743
1743
  let w;
1744
- u || this.options.generateId ? w = t[d + Z] : w = this.points[t[d + Z]].id, w !== void 0 && (k.id = w), a.features.push(k);
1744
+ u || this.options.generateId ? w = t[d + Y] : w = this.points[t[d + Y]].id, w !== void 0 && (k.id = w), a.features.push(k);
1745
1745
  }
1746
1746
  }
1747
1747
  _limitZoom(e) {
@@ -1753,34 +1753,34 @@ class et {
1753
1753
  if (d[g + J] <= t)
1754
1754
  continue;
1755
1755
  d[g + J] = t;
1756
- const y = d[g], k = d[g + 1], w = e.within(d[g], d[g + 1], l), C = d[g + Y];
1756
+ const y = d[g], k = d[g + 1], w = e.within(d[g], d[g + 1], l), C = d[g + H];
1757
1757
  let _ = C;
1758
1758
  for (const A of w) {
1759
- const I = A * p;
1760
- d[I + J] > t && (_ += d[I + Y]);
1759
+ const L = A * p;
1760
+ d[L + J] > t && (_ += d[L + H]);
1761
1761
  }
1762
1762
  if (_ > C && _ >= a) {
1763
- let A = y * C, I = k * C, L, D = -1;
1763
+ let A = y * C, L = k * C, I, D = -1;
1764
1764
  const O = ((g / p | 0) << 5) + (t + 1) + this.points.length;
1765
1765
  for (const R of w) {
1766
1766
  const P = R * p;
1767
1767
  if (d[P + J] <= t)
1768
1768
  continue;
1769
1769
  d[P + J] = t;
1770
- const he = d[P + Y];
1771
- A += d[P] * he, I += d[P + 1] * he, d[P + ve] = O, r && (L || (L = this._map(d, g, !0), D = this.clusterProps.length, this.clusterProps.push(L)), r(L, this._map(d, P)));
1770
+ const he = d[P + H];
1771
+ A += d[P] * he, L += d[P + 1] * he, d[P + ve] = O, r && (I || (I = this._map(d, g, !0), D = this.clusterProps.length, this.clusterProps.push(I)), r(I, this._map(d, P)));
1772
1772
  }
1773
- d[g + ve] = O, u.push(A / _, I / _, 1 / 0, O, -1, _), r && u.push(D);
1773
+ d[g + ve] = O, u.push(A / _, L / _, 1 / 0, O, -1, _), r && u.push(D);
1774
1774
  } else {
1775
1775
  for (let A = 0; A < p; A++)
1776
1776
  u.push(d[g + A]);
1777
1777
  if (_ > 1)
1778
1778
  for (const A of w) {
1779
- const I = A * p;
1780
- if (!(d[I + J] <= t)) {
1781
- d[I + J] = t;
1782
- for (let L = 0; L < p; L++)
1783
- u.push(d[I + L]);
1779
+ const L = A * p;
1780
+ if (!(d[L + J] <= t)) {
1781
+ d[L + J] = t;
1782
+ for (let I = 0; I < p; I++)
1783
+ u.push(d[L + I]);
1784
1784
  }
1785
1785
  }
1786
1786
  }
@@ -1796,18 +1796,18 @@ class et {
1796
1796
  return (e - this.points.length) % 32;
1797
1797
  }
1798
1798
  _map(e, t, n) {
1799
- if (e[t + Y] > 1) {
1799
+ if (e[t + H] > 1) {
1800
1800
  const a = this.clusterProps[e[t + $e]];
1801
1801
  return n ? Object.assign({}, a) : a;
1802
1802
  }
1803
- const o = this.points[e[t + Z]].properties, r = this.options.map(o);
1803
+ const o = this.points[e[t + Y]].properties, r = this.options.map(o);
1804
1804
  return n && r === o ? Object.assign({}, r) : r;
1805
1805
  }
1806
1806
  }
1807
1807
  function Ue(s, e, t) {
1808
1808
  return {
1809
1809
  type: "Feature",
1810
- id: s[e + Z],
1810
+ id: s[e + Y],
1811
1811
  properties: tt(s, e, t),
1812
1812
  geometry: {
1813
1813
  type: "Point",
@@ -1816,10 +1816,10 @@ function Ue(s, e, t) {
1816
1816
  };
1817
1817
  }
1818
1818
  function tt(s, e, t) {
1819
- const n = s[e + Y], o = n >= 1e4 ? `${Math.round(n / 1e3)}k` : n >= 1e3 ? `${Math.round(n / 100) / 10}k` : n, r = s[e + $e], a = r === -1 ? {} : Object.assign({}, t[r]);
1819
+ const n = s[e + H], o = n >= 1e4 ? `${Math.round(n / 1e3)}k` : n >= 1e3 ? `${Math.round(n / 100) / 10}k` : n, r = s[e + $e], a = r === -1 ? {} : Object.assign({}, t[r]);
1820
1820
  return Object.assign(a, {
1821
1821
  cluster: !0,
1822
- cluster_id: s[e + Z],
1822
+ cluster_id: s[e + Y],
1823
1823
  point_count: n,
1824
1824
  point_count_abbreviated: o
1825
1825
  });
@@ -1925,15 +1925,15 @@ const qt = (s, e, t, n) => {
1925
1925
  const o = rt(s.getBounds(), e, n);
1926
1926
  return t.filter((r) => o.contains(M.getPosition(r)));
1927
1927
  }, rt = (s, e, t) => {
1928
- const { northEast: n, southWest: o } = Yt(s, e), r = Zt({ northEast: n, southWest: o }, t);
1929
- return Ht(r, e);
1928
+ const { northEast: n, southWest: o } = Ht(s, e), r = Yt({ northEast: n, southWest: o }, t);
1929
+ return Zt(r, e);
1930
1930
  }, We = (s, e, t) => {
1931
1931
  const n = rt(s, e, t), o = n.getNorthEast(), r = n.getSouthWest();
1932
1932
  return [r.lng(), r.lat(), o.lng(), o.lat()];
1933
- }, Yt = (s, e) => ({
1933
+ }, Ht = (s, e) => ({
1934
1934
  northEast: e.fromLatLngToDivPixel(s.getNorthEast()),
1935
1935
  southWest: e.fromLatLngToDivPixel(s.getSouthWest())
1936
- }), Zt = ({ northEast: s, southWest: e }, t) => (s.x += t, s.y -= t, e.x -= t, e.y += t, { northEast: s, southWest: e }), Ht = ({ northEast: s, southWest: e }, t) => {
1936
+ }), Yt = ({ northEast: s, southWest: e }, t) => (s.x += t, s.y -= t, e.x -= t, e.y += t, { northEast: s, southWest: e }), Zt = ({ northEast: s, southWest: e }, t) => {
1937
1937
  const n = t.fromDivPixelToLatLng(e), o = t.fromDivPixelToLatLng(s);
1938
1938
  return new google.maps.LatLngBounds(n, o);
1939
1939
  };
@@ -2295,7 +2295,7 @@ U({
2295
2295
  setup(s, { slots: e, emit: t, expose: n }) {
2296
2296
  const o = B(), r = ce(() => {
2297
2297
  var d;
2298
- return (d = e.default) == null ? void 0 : d.call(e).some((u) => u.type !== He);
2298
+ return (d = e.default) == null ? void 0 : d.call(e).some((u) => u.type !== Ze);
2299
2299
  }), a = ce(() => ({
2300
2300
  ...s.options,
2301
2301
  element: o.value
@@ -2408,7 +2408,7 @@ function ir(s, e, t, n, o, r) {
2408
2408
  }, 8, ["api-key", "class", "center", "zoom"])
2409
2409
  ]);
2410
2410
  }
2411
- const lr = /* @__PURE__ */ S(ar, [["render", ir]]), Ie = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI4AAABwCAIAAABHB982AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAtOSURBVHhe7Z3tedQ6EEbpIB2QCkIFSQWkglBBqIBUABUEKoAKkgo2FSQVQAdUcM+DBl9fWx7Nh7zrzd3zgye7a0mWZuadkbwJb04cnMfHx9+/fz89PfHDly9f7u7uPnz4cHV1JR+f2Ahv377FTlVeXl4wm1x34uB8/PhRLLPAbrc7OzuTq08ckKJ+OqiiXH3iUCjqN+EUWAeG8gEzPDw83NzcYDa4uLjg569fvxYLDaCT0ubEQcAq9/f38uK/YDOx0h9OGrhpvn//LoY6mWrjjIvDkwBumpLJCpeXl/LuiQ0yRNXz87O8dWKbDLmK6kPeOrFNfv36hZ12u528PrFNhkTFZkveOrFBMM/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COf7Qvq8j3p3ps3/wDHS5O0YOBNvAAAAABJRU5ErkJggg==", dr = {
2412
2412
  name: "PageHeader",
2413
2413
  components: {
2414
2414
  SearchBox: wt,
@@ -2418,7 +2418,7 @@ const lr = /* @__PURE__ */ S(ar, [["render", ir]]), Ie = "data:image/png;base64,
2418
2418
  },
2419
2419
  data() {
2420
2420
  return {
2421
- logo: Ie,
2421
+ logo: Le,
2422
2422
  dropdownOpen: !1,
2423
2423
  items: [
2424
2424
  { label: "Home", value: "Home", icon: "fa-home" },
@@ -2634,7 +2634,7 @@ const kr = /* @__PURE__ */ S(dr, [["render", wr]]), Cr = {
2634
2634
  console.log("Rules button clicked"), this.$emit("rules-click");
2635
2635
  }
2636
2636
  }
2637
- }, _r = { class: "md:w-80 m-2 flex flex-col mb-20" }, Sr = { class: "bg-white p-4 rounded-lg" }, Ar = { class: "flex flex-col space-y-4" }, Br = { class: "flex items-center" }, zr = ["src"], Ir = { class: "pl-2" }, Lr = { class: "flex justify-between space-x-8 w-full px-4" }, Er = { class: "flex items-center space-x-2" }, Tr = { class: "flex items-center space-x-2" }, Mr = { class: "flex justify-center" }, jr = { class: "mt-10 bg-white p-4 rounded-lg" }, Or = { class: "flex mb-4" }, Pr = { class: "mr-3" };
2637
+ }, _r = { class: "md:w-80 m-2 flex flex-col mb-20" }, Sr = { class: "bg-white p-4 rounded-lg" }, Ar = { class: "flex flex-col space-y-4" }, Br = { class: "flex items-center" }, zr = ["src"], Lr = { class: "pl-2" }, Ir = { class: "flex justify-between space-x-8 w-full px-4" }, Er = { class: "flex items-center space-x-2" }, Tr = { class: "flex items-center space-x-2" }, Mr = { class: "flex justify-center" }, jr = { class: "mt-10 bg-white p-4 rounded-lg" }, Or = { class: "flex mb-4" }, Pr = { class: "mr-3" };
2638
2638
  function Dr(s, e, t, n, o, r) {
2639
2639
  const a = v("BaseText"), l = v("Icon"), d = v("BaseButton"), u = v("Mapbox");
2640
2640
  return b(), x("aside", _r, [
@@ -2646,7 +2646,7 @@ function Dr(s, e, t, n, o, r) {
2646
2646
  alt: "Event Organizer",
2647
2647
  class: "w-16 h-16 rounded-full object-cover"
2648
2648
  }, null, 8, zr),
2649
- i("div", Ir, [
2649
+ i("div", Lr, [
2650
2650
  c(a, {
2651
2651
  color: "primary",
2652
2652
  size: "xs",
@@ -2670,7 +2670,7 @@ function Dr(s, e, t, n, o, r) {
2670
2670
  })
2671
2671
  ])
2672
2672
  ]),
2673
- i("div", Lr, [
2673
+ i("div", Ir, [
2674
2674
  i("div", Er, [
2675
2675
  c(l, {
2676
2676
  icon: "fa-users",
@@ -2913,13 +2913,13 @@ const ot = /* @__PURE__ */ S(Nr, [["render", Kr]]), Vr = {
2913
2913
  this.selectedWeapon = s;
2914
2914
  }
2915
2915
  }
2916
- }, Qr = { class: "flex w-full items-center justify-between bg-white py-6 overflow-x-auto md:overflow-visible" }, qr = { class: "flex w-full md:max-w-none md:flex-grow overflow-x-auto md:overflow-visible md:justify-around md:items-center" }, Yr = { class: "flex items-center pb-1.5 mr-8 flex-shrink-0 md:flex-grow" }, Zr = { class: "flex justify-center items-center flex-shrink-0 md:flex-grow" }, Hr = { class: "flex justify-end flex-shrink-0 md:flex-grow pt-2" };
2916
+ }, Qr = { class: "flex w-full items-center justify-between bg-white py-6 overflow-x-auto md:overflow-visible" }, qr = { class: "flex w-full md:max-w-none md:flex-grow overflow-x-auto md:overflow-visible md:justify-around md:items-center" }, Hr = { class: "flex items-center pb-1.5 mr-8 flex-shrink-0 md:flex-grow" }, Yr = { class: "flex justify-center items-center flex-shrink-0 md:flex-grow" }, Zr = { class: "flex justify-end flex-shrink-0 md:flex-grow pt-2" };
2917
2917
  function Jr(s, e, t, n, o, r) {
2918
2918
  const a = v("BaseText"), l = v("InputField"), d = v("Dropdown");
2919
2919
  return b(), x("div", Qr, [
2920
2920
  e[4] || (e[4] = i("div", { class: "hidden md:block w-[150px] flex-shrink-0" }, null, -1)),
2921
2921
  i("section", qr, [
2922
- i("div", Yr, [
2922
+ i("div", Hr, [
2923
2923
  c(a, {
2924
2924
  class: "w-20 mr-2",
2925
2925
  color: "primary",
@@ -2941,7 +2941,7 @@ function Jr(s, e, t, n, o, r) {
2941
2941
  class: "px-2 py-1 focus:outline-none placeholder:text-sm lg:placeholder:text-sm w-full"
2942
2942
  }, null, 8, ["modelValue"])
2943
2943
  ]),
2944
- i("div", Zr, [
2944
+ i("div", Yr, [
2945
2945
  c(a, {
2946
2946
  class: "mr-2 pb-1.5",
2947
2947
  color: "primary",
@@ -2960,7 +2960,7 @@ function Jr(s, e, t, n, o, r) {
2960
2960
  onDistanceSelect: r.selectDistance
2961
2961
  }, null, 8, ["items", "defaultSelectedItem", "onDistanceSelect"])
2962
2962
  ]),
2963
- i("div", Hr, [
2963
+ i("div", Zr, [
2964
2964
  c(a, {
2965
2965
  class: "mr-2 pb-1.5",
2966
2966
  color: "primary",
@@ -3422,7 +3422,7 @@ function Bs(s, e, t, n, o, r) {
3422
3422
  ke('<div class="w-full h-40 bg-gray-200 rounded-t-md mb-4"></div><div class="w-3/4 h-6 bg-gray-200 rounded mb-2"></div><div class="w-full h-4 bg-gray-200 rounded mb-2"></div><div class="w-full h-4 bg-gray-200 rounded mb-2"></div><div class="w-1/2 h-4 bg-gray-200 rounded mb-4"></div><div class="w-full flex justify-end"><div class="w-1/4 h-4 bg-gray-200 rounded"></div></div>', 6)
3423
3423
  ]));
3424
3424
  }
3425
- const zs = /* @__PURE__ */ S(Ss, [["render", Bs]]), Is = {
3425
+ const zs = /* @__PURE__ */ S(Ss, [["render", Bs]]), Ls = {
3426
3426
  name: "ArticleCard",
3427
3427
  components: {
3428
3428
  ArticleCardSkeleton: zs,
@@ -3459,7 +3459,7 @@ const zs = /* @__PURE__ */ S(Ss, [["render", Bs]]), Is = {
3459
3459
  this.$emit("grid-card-click", this.data);
3460
3460
  }
3461
3461
  }
3462
- }, Ls = {
3462
+ }, Is = {
3463
3463
  key: 0,
3464
3464
  class: "w-72 p-4 bg-secondary rounded-lg flex flex-col items-start"
3465
3465
  }, Es = {
@@ -3469,7 +3469,7 @@ const zs = /* @__PURE__ */ S(Ss, [["render", Bs]]), Is = {
3469
3469
  function Ms(s, e, t, n, o, r) {
3470
3470
  const a = v("ArticleCardSkeleton"), l = v("BaseText");
3471
3471
  return b(), x(T, null, [
3472
- t.isLoading ? (b(), x("div", Ls, [
3472
+ t.isLoading ? (b(), x("div", Is, [
3473
3473
  c(a)
3474
3474
  ])) : E("", !0),
3475
3475
  t.isLoading ? E("", !0) : (b(), x("div", Es, [
@@ -3520,7 +3520,7 @@ function Ms(s, e, t, n, o, r) {
3520
3520
  ]))
3521
3521
  ], 64);
3522
3522
  }
3523
- const Ve = /* @__PURE__ */ S(Is, [["render", Ms]]), js = {
3523
+ const Ve = /* @__PURE__ */ S(Ls, [["render", Ms]]), js = {
3524
3524
  name: "ClubListCard",
3525
3525
  components: { Icon: G, BaseText: z },
3526
3526
  props: {
@@ -3732,7 +3732,7 @@ function qs(s, e, t, n, o, r) {
3732
3732
  })
3733
3733
  ]);
3734
3734
  }
3735
- const ai = /* @__PURE__ */ S(Ks, [["render", qs], ["__scopeId", "data-v-bae6ab08"]]), Ys = {
3735
+ const ai = /* @__PURE__ */ S(Ks, [["render", qs], ["__scopeId", "data-v-bae6ab08"]]), Hs = {
3736
3736
  name: "EventListCard",
3737
3737
  components: { BaseText: z, Icon: G },
3738
3738
  props: {
@@ -3751,7 +3751,7 @@ const ai = /* @__PURE__ */ S(Ks, [["render", qs], ["__scopeId", "data-v-bae6ab08
3751
3751
  this.$emit("grid-card-click", this.data);
3752
3752
  }
3753
3753
  }
3754
- }, Zs = { class: "flex space-x-4 w-full" }, Hs = { class: "w-10 pt-1 md:pt-0" }, Js = { class: "h-10 w-10 rounded-full flex justify-center items-center border border-accent z-1" }, Xs = {
3754
+ }, Ys = { class: "flex space-x-4 w-full" }, Zs = { class: "w-10 pt-1 md:pt-0" }, Js = { class: "h-10 w-10 rounded-full flex justify-center items-center border border-accent z-1" }, Xs = {
3755
3755
  key: 0,
3756
3756
  class: "h-6 w-6 bg-accent rounded-full -mt-4 ml-7 pt-1 z-10 absolute items-center"
3757
3757
  }, $s = { class: "flex w-full flex-col md:flex-row" }, eo = { class: "flex flex-col pl-2 items-start flex-grow" }, to = { class: "flex flex-col md:flex-row" }, ro = { class: "flex row mt-1 md:mt-0" }, so = { class: "flex row mt-1 md:mt-0" }, oo = { class: "w-full md:w-20 flex justify-end md:pt-3" }, no = { class: "flex border-b border-white hover:border-accent md:h-8" }, ao = { class: "hidden md:flex" }, io = { class: "flex md:hidden" };
@@ -3761,8 +3761,8 @@ function lo(s, e, t, n, o, r) {
3761
3761
  class: "p-2 w-full border-b md:py-6 last:border-b-0",
3762
3762
  onClick: e[0] || (e[0] = (...u) => r.handleCardClick && r.handleCardClick(...u))
3763
3763
  }, [
3764
- i("div", Zs, [
3765
- i("section", Hs, [
3764
+ i("div", Ys, [
3765
+ i("section", Zs, [
3766
3766
  i("div", Js, [
3767
3767
  c(a, {
3768
3768
  icon: r.weaponIcon,
@@ -3886,7 +3886,7 @@ function lo(s, e, t, n, o, r) {
3886
3886
  ])
3887
3887
  ]);
3888
3888
  }
3889
- const ii = /* @__PURE__ */ S(Ys, [["render", lo]]), co = {
3889
+ const ii = /* @__PURE__ */ S(Hs, [["render", lo]]), co = {
3890
3890
  name: "FencerCardSkeleton"
3891
3891
  }, uo = { class: "max-w-48 mr-4 md:mr-2 items-center animate-pulse" };
3892
3892
  function mo(s, e, t, n, o, r) {
@@ -4060,7 +4060,7 @@ const Qe = /* @__PURE__ */ S(ho, [["render", xo]]), vo = {
4060
4060
  key: 1,
4061
4061
  class: "p-4 bg-secondary rounded-lg flex items-center"
4062
4062
  };
4063
- function Io(s, e, t, n, o, r) {
4063
+ function Lo(s, e, t, n, o, r) {
4064
4064
  const a = v("BaseText"), l = v("FencerCardSkeleton");
4065
4065
  return b(), x(T, null, [
4066
4066
  t.isLoading ? E("", !0) : (b(), x("section", {
@@ -4175,7 +4175,7 @@ function Io(s, e, t, n, o, r) {
4175
4175
  ])) : E("", !0)
4176
4176
  ], 64);
4177
4177
  }
4178
- const li = /* @__PURE__ */ S(vo, [["render", Io]]), Lo = {
4178
+ const li = /* @__PURE__ */ S(vo, [["render", Lo]]), Io = {
4179
4179
  name: "PhotoCard",
4180
4180
  props: {
4181
4181
  data: {
@@ -4193,7 +4193,7 @@ function Mo(s, e, t, n, o, r) {
4193
4193
  }, null, 8, To)
4194
4194
  ]);
4195
4195
  }
4196
- const di = /* @__PURE__ */ S(Lo, [["render", Mo]]), jo = {
4196
+ const di = /* @__PURE__ */ S(Io, [["render", Mo]]), jo = {
4197
4197
  name: "SocialMediaLinkCard",
4198
4198
  components: { BaseButton: q },
4199
4199
  props: {
@@ -4321,7 +4321,7 @@ const Go = /* @__PURE__ */ S(Do, [["render", Fo]]), Ro = {
4321
4321
  }, Uo = {
4322
4322
  key: 0,
4323
4323
  class: "max-w-80 md:w-full mb-8"
4324
- }, Wo = { class: "hidden md:block" }, Ko = ["src"], Vo = { class: "flex items-center mb-1" }, Qo = { class: "flex w-6 justify-center" }, qo = { class: "flex items-center" }, Yo = { class: "flex w-6 justify-center" }, Zo = { class: "w-full md:hidden flex-col items-start gap-2 border-b border-borderGray" }, Ho = { class: "flex flex-row" }, Jo = ["src"], Xo = { class: "flex flex-col h-16 justify-center pl-3" }, $o = { class: "flex justify-between pt-4 pb-2" }, en = { class: "flex justify-start w-5/12" }, tn = { class: "flex justify-start mb-1 w-7/12" };
4324
+ }, Wo = { class: "hidden md:block" }, Ko = ["src"], Vo = { class: "flex items-center mb-1" }, Qo = { class: "flex w-6 justify-center" }, qo = { class: "flex items-center" }, Ho = { class: "flex w-6 justify-center" }, Yo = { class: "w-full md:hidden flex-col items-start gap-2 border-b border-borderGray" }, Zo = { class: "flex flex-row" }, Jo = ["src"], Xo = { class: "flex flex-col h-16 justify-center pl-3" }, $o = { class: "flex justify-between pt-4 pb-2" }, en = { class: "flex justify-start w-5/12" }, tn = { class: "flex justify-start mb-1 w-7/12" };
4325
4325
  function rn(s, e, t, n, o, r) {
4326
4326
  const a = v("TournamentCardSkeleton"), l = v("BaseText"), d = v("Icon");
4327
4327
  return b(), x(T, null, [
@@ -4384,7 +4384,7 @@ function rn(s, e, t, n, o, r) {
4384
4384
  })
4385
4385
  ]),
4386
4386
  i("div", qo, [
4387
- i("span", Yo, [
4387
+ i("span", Ho, [
4388
4388
  c(d, {
4389
4389
  icon: "fa-user-friends",
4390
4390
  color: "accent",
@@ -4404,8 +4404,8 @@ function rn(s, e, t, n, o, r) {
4404
4404
  })
4405
4405
  ])
4406
4406
  ]),
4407
- i("section", Zo, [
4408
- i("div", Ho, [
4407
+ i("section", Yo, [
4408
+ i("div", Zo, [
4409
4409
  i("img", {
4410
4410
  src: r.image,
4411
4411
  alt: "Tournament Image",
@@ -4623,11 +4623,11 @@ const ui = /* @__PURE__ */ S(on, [["render", pn]]), gn = {
4623
4623
  this.$emit("grid-card-click", this.data);
4624
4624
  }
4625
4625
  }
4626
- }, fn = { class: "flex" }, bn = ["src", "alt"], yn = { class: "flex flex-col" }, xn = { class: "flex items-center mb-2" }, vn = { class: "hidden md:flex items-center text-sm text-gray-600 mb-2" }, wn = { class: "hidden md:flex mt-3" }, kn = { class: "flex flex-row w-full" }, Cn = { class: "flex items-center mr-10" }, _n = { class: "flex items-center" }, Sn = { class: "flex flex-col md:hidden mt-2" }, An = { class: "flex items-center pb-2" }, Bn = { class: "flex flex-row" }, zn = { class: "flex items-center mr-4" }, In = { class: "flex items-center" };
4627
- function Ln(s, e, t, n, o, r) {
4626
+ }, fn = { class: "flex pt-1" }, bn = ["src", "alt"], yn = { class: "flex flex-col" }, xn = { class: "flex items-center mb-0" }, vn = { class: "hidden md:flex items-center text-sm text-gray-600 mb-2" }, wn = { class: "hidden md:flex mt-3 mb-1" }, kn = { class: "flex flex-row w-full" }, Cn = { class: "flex items-center mr-10" }, _n = { class: "flex items-center" }, Sn = { class: "flex flex-col md:hidden mt-2" }, An = { class: "flex items-center pb-2" }, Bn = { class: "flex flex-row" }, zn = { class: "flex items-center mr-4" }, Ln = { class: "flex items-center" };
4627
+ function In(s, e, t, n, o, r) {
4628
4628
  const a = v("BaseText"), l = v("Icon");
4629
4629
  return b(), x("section", {
4630
- class: "flex flex-col md:bg-white w-full border-b pb-2 mb-2 pt-1 cursor-pointer last:border-b-0",
4630
+ class: "flex flex-col md:bg-white w-full border-b pb-2 mb-2 pl-1 pt-1 cursor-pointer last:border-b-0",
4631
4631
  onClick: e[0] || (e[0] = (...d) => r.handleCardClick && r.handleCardClick(...d))
4632
4632
  }, [
4633
4633
  i("div", fn, [
@@ -4654,8 +4654,8 @@ function Ln(s, e, t, n, o, r) {
4654
4654
  c(a, {
4655
4655
  color: "primary",
4656
4656
  tag: "p",
4657
- size: "lg",
4658
- weight: "bold"
4657
+ size: "md",
4658
+ weight: "normal"
4659
4659
  }, {
4660
4660
  default: m(() => [
4661
4661
  h(f(r.addressName), 1)
@@ -4713,7 +4713,7 @@ function Ln(s, e, t, n, o, r) {
4713
4713
  color: "primary",
4714
4714
  tag: "p",
4715
4715
  size: "sm",
4716
- weight: "bold"
4716
+ weight: "normal"
4717
4717
  }, {
4718
4718
  default: m(() => [
4719
4719
  h(f(r.addressName), 1)
@@ -4741,7 +4741,7 @@ function Ln(s, e, t, n, o, r) {
4741
4741
  _: 1
4742
4742
  })
4743
4743
  ]),
4744
- i("div", In, [
4744
+ i("div", Ln, [
4745
4745
  c(l, {
4746
4746
  icon: "fa-calendar",
4747
4747
  size: "sm",
@@ -4764,7 +4764,7 @@ function Ln(s, e, t, n, o, r) {
4764
4764
  ])
4765
4765
  ]);
4766
4766
  }
4767
- const mi = /* @__PURE__ */ S(gn, [["render", Ln]]), En = {
4767
+ const mi = /* @__PURE__ */ S(gn, [["render", In]]), En = {
4768
4768
  name: "HeroBanner",
4769
4769
  components: {
4770
4770
  BaseText: z,
@@ -4931,7 +4931,7 @@ const Fn = /* @__PURE__ */ S(En, [["render", Nn]]), Gn = {
4931
4931
  },
4932
4932
  data() {
4933
4933
  return {
4934
- logo: Ie,
4934
+ logo: Le,
4935
4935
  selectedWeapon: "Longsword"
4936
4936
  };
4937
4937
  },
@@ -5022,8 +5022,7 @@ const hi = /* @__PURE__ */ S(Gn, [["render", Vn]]), Qn = {
5022
5022
  emits: ["grid-click", "grid-card-click"],
5023
5023
  computed: {
5024
5024
  topClasses() {
5025
- let s = "max-w-[1200px] overflow-x-auto mt-8";
5026
- return this.whiteStyle && (s = "w-full md:mr-10 md:mt-10"), s;
5025
+ return this.mobileHorizontal ? "w-screen overflow-x-auto" : "max-w-[1200px] w-full flex justify-center mx-auto mt-8";
5027
5026
  },
5028
5027
  headerClasses() {
5029
5028
  let s = "w-full flex py-4 md:pb-10 ml-2 md:ml-0 mb-4";
@@ -5031,7 +5030,7 @@ const hi = /* @__PURE__ */ S(Gn, [["render", Vn]]), Qn = {
5031
5030
  },
5032
5031
  gridClasses() {
5033
5032
  let s = "md:grid md:gap-x-6 md:gap-y-4";
5034
- this.mobileHorizontal && (s = "flex space-x-4 md:grid md:gap-x-6 md:gap-y-4"), this.whiteStyle && (s = "bg-white p-2 mx-2 md:mx-0 rounded-lg");
5033
+ this.mobileHorizontal && (s = "flex space-x-4 overflow-x-auto md:grid md:gap-x-6 md:gap-y-4"), this.whiteStyle && (s = "bg-white p-2 mx-2 md:mx-0 rounded-lg");
5035
5034
  let e;
5036
5035
  switch (this.maxColumns) {
5037
5036
  case 1:
@@ -5067,7 +5066,7 @@ const hi = /* @__PURE__ */ S(Gn, [["render", Vn]]), Qn = {
5067
5066
  key: 0,
5068
5067
  class: "w-full flex justify-center pb-28 pt-10 md:pt-14"
5069
5068
  };
5070
- function Yn(s, e, t, n, o, r) {
5069
+ function Hn(s, e, t, n, o, r) {
5071
5070
  const a = v("BaseText"), l = v("BaseButton");
5072
5071
  return b(), x("section", {
5073
5072
  class: F(t.topBoxClass)
@@ -5117,7 +5116,7 @@ function Yn(s, e, t, n, o, r) {
5117
5116
  ])
5118
5117
  ], 2);
5119
5118
  }
5120
- const Zn = /* @__PURE__ */ S(Qn, [["render", Yn]]), Hn = {
5119
+ const Yn = /* @__PURE__ */ S(Qn, [["render", Hn]]), Zn = {
5121
5120
  name: "SingleButtonBanner",
5122
5121
  components: {
5123
5122
  BaseText: z,
@@ -5180,7 +5179,7 @@ function $n(s, e, t, n, o, r) {
5180
5179
  ])
5181
5180
  ]);
5182
5181
  }
5183
- const ea = /* @__PURE__ */ S(Hn, [["render", $n]]), ta = {
5182
+ const ea = /* @__PURE__ */ S(Zn, [["render", $n]]), ta = {
5184
5183
  name: "DoubleButtonBanner",
5185
5184
  components: {
5186
5185
  BaseText: z,
@@ -5341,7 +5340,7 @@ const ua = /* @__PURE__ */ S(ta, [["render", ca]]), ma = {
5341
5340
  components: { Icon: G, InputField: Ce, BaseButton: q, BaseText: z },
5342
5341
  data() {
5343
5342
  return {
5344
- logo: Ie
5343
+ logo: Le
5345
5344
  };
5346
5345
  },
5347
5346
  methods: {
@@ -5349,7 +5348,7 @@ const ua = /* @__PURE__ */ S(ta, [["render", ca]]), ma = {
5349
5348
  this.$emit("changePage", s);
5350
5349
  }
5351
5350
  }
5352
- }, ha = { class: "hidden md:flex flex-col bg-primary" }, pa = { class: "w-full hidden md:flex" }, ga = { class: "w-1/3" }, fa = { class: "items-center w-full flex justify-center" }, ba = ["src"], ya = { class: "w-1/3 flex flex-col" }, xa = { class: "w-full flex justify-around" }, va = { class: "flex w-1/3" }, wa = { class: "flex w-1/3" }, ka = { class: "flex items-center w-1/3" }, Ca = { class: "w-full flex justify-around" }, _a = { class: "flex items-center w-1/3" }, Sa = { class: "flex items-center w-1/3" }, Aa = { class: "flex items-center w-1/3" }, Ba = { class: "w-full flex justify-around" }, za = { class: "flex items-center w-1/3" }, Ia = { class: "flex items-center w-1/3" }, La = { class: "flex w-1/3" }, Ea = { class: "w-1/3 flex flex-col" }, Ta = { class: "w-full flex justify-end" }, Ma = { class: "w-30 mr-16" }, ja = { class: "w-full flex justify-end mt-12" }, Oa = { class: "w-48 mr-16" }, Pa = { class: "h-32 border border-t mt-10 pb-10 border-lineGrey flex flex-col justify-center items-center" }, Da = { class: "flex md:hidden flex-col items-center bg-primary pb-10" }, Na = { class: "w-full flex flex-col items-center" }, Fa = { class: "w-full max-w-xs flex justify-between items-center" }, Ga = { class: "flex justify-center w-1/2" }, Ra = ["src"], Ua = { class: "flex flex-col w-1/2" }, Wa = { class: "w-full flex flex-col items-center" }, Ka = { class: "w-full max-w-xs flex flex-col items-center pt-8 px-6" }, Va = { class: "w-full max-w-xs flex flex-col items-center pt-8" }, Qa = { class: "flex justify-center" };
5351
+ }, ha = { class: "hidden md:flex flex-col bg-primary" }, pa = { class: "w-full hidden md:flex" }, ga = { class: "w-1/3" }, fa = { class: "items-center w-full flex justify-center" }, ba = ["src"], ya = { class: "w-1/3 flex flex-col" }, xa = { class: "w-full flex justify-around" }, va = { class: "flex w-1/3" }, wa = { class: "flex w-1/3" }, ka = { class: "flex items-center w-1/3" }, Ca = { class: "w-full flex justify-around" }, _a = { class: "flex items-center w-1/3" }, Sa = { class: "flex items-center w-1/3" }, Aa = { class: "flex items-center w-1/3" }, Ba = { class: "w-full flex justify-around" }, za = { class: "flex items-center w-1/3" }, La = { class: "flex items-center w-1/3" }, Ia = { class: "flex w-1/3" }, Ea = { class: "w-1/3 flex flex-col" }, Ta = { class: "w-full flex justify-end" }, Ma = { class: "w-30 mr-16" }, ja = { class: "w-full flex justify-end mt-12" }, Oa = { class: "w-48 mr-16" }, Pa = { class: "h-32 border border-t mt-10 pb-10 border-lineGrey flex flex-col justify-center items-center" }, Da = { class: "flex md:hidden flex-col items-center bg-primary pb-10" }, Na = { class: "w-full flex flex-col items-center" }, Fa = { class: "w-full max-w-xs flex justify-between items-center" }, Ga = { class: "flex justify-center w-1/2" }, Ra = ["src"], Ua = { class: "flex flex-col w-1/2" }, Wa = { class: "w-full flex flex-col items-center" }, Ka = { class: "w-full max-w-xs flex flex-col items-center pt-8 px-6" }, Va = { class: "w-full max-w-xs flex flex-col items-center pt-8" }, Qa = { class: "flex justify-center" };
5353
5352
  function qa(s, e, t, n, o, r) {
5354
5353
  const a = v("BaseText"), l = v("InputField"), d = v("Icon");
5355
5354
  return b(), x(T, null, [
@@ -5505,7 +5504,7 @@ function qa(s, e, t, n, o, r) {
5505
5504
  })
5506
5505
  ])
5507
5506
  ]),
5508
- i("div", Ia, [
5507
+ i("div", La, [
5509
5508
  i("a", {
5510
5509
  href: "#",
5511
5510
  onClick: e[7] || (e[7] = N((u) => r.pageChange("clubs"), ["prevent"]))
@@ -5524,7 +5523,7 @@ function qa(s, e, t, n, o, r) {
5524
5523
  })
5525
5524
  ])
5526
5525
  ]),
5527
- i("div", La, [
5526
+ i("div", Ia, [
5528
5527
  i("a", {
5529
5528
  href: "#",
5530
5529
  onClick: e[8] || (e[8] = N((u) => r.pageChange("leaderboard"), ["prevent"]))
@@ -5764,13 +5763,13 @@ function qa(s, e, t, n, o, r) {
5764
5763
  ])
5765
5764
  ], 64);
5766
5765
  }
5767
- const Ya = /* @__PURE__ */ S(ma, [["render", qa]]), Za = {
5766
+ const Ha = /* @__PURE__ */ S(ma, [["render", qa]]), Ya = {
5768
5767
  name: "HomePage",
5769
5768
  components: {
5770
- Footer: Ya,
5769
+ Footer: Ha,
5771
5770
  DoubleButtonBanner: ua,
5772
5771
  SingleButtonBanner: ea,
5773
- GridLayout: Zn,
5772
+ GridLayout: Yn,
5774
5773
  ArticleCard: Ve,
5775
5774
  FencerCard: Qe,
5776
5775
  PageHeader: kr,
@@ -5829,12 +5828,22 @@ const Ya = /* @__PURE__ */ S(ma, [["render", qa]]), Za = {
5829
5828
  return this.tournaments.slice(0, 6);
5830
5829
  }
5831
5830
  },
5831
+ mounted() {
5832
+ this.checkScreenSize(), window.addEventListener("resize", this.checkScreenSize);
5833
+ },
5834
+ beforeUnmount() {
5835
+ window.removeEventListener("resize", this.checkScreenSize);
5836
+ },
5832
5837
  data() {
5833
5838
  return {
5834
- TournamentCard: V(sn)
5839
+ TournamentCard: V(sn),
5840
+ mobileHorizontal: !0
5835
5841
  };
5836
5842
  },
5837
5843
  methods: {
5844
+ checkScreenSize() {
5845
+ this.mobileHorizontal = window.matchMedia("(max-width: 768px)").matches;
5846
+ },
5838
5847
  handleGridCardClick() {
5839
5848
  console.log("Grid Card Clicked");
5840
5849
  },
@@ -5842,66 +5851,68 @@ const Ya = /* @__PURE__ */ S(ma, [["render", qa]]), Za = {
5842
5851
  console.log("Change Page", s);
5843
5852
  }
5844
5853
  }
5845
- }, Ha = { class: "m-0 w-full bg-secondary" };
5854
+ }, Za = { class: "m-0 w-full bg-secondary" };
5846
5855
  function Ja(s, e, t, n, o, r) {
5847
5856
  const a = v("PageHeader"), l = v("HeroBanner"), d = v("GridLayout"), u = v("SingleButtonBanner"), p = v("DoubleButtonBanner"), g = v("Footer");
5848
- return b(), x("div", Ha, [
5849
- c(a, { onChangePage: r.changePage }, null, 8, ["onChangePage"]),
5850
- c(l, {
5851
- title: t.title,
5852
- buttonLabel: t.buttonLabel,
5853
- description: t.description,
5854
- imageSrc: t.imageSrc
5855
- }, null, 8, ["title", "buttonLabel", "description", "imageSrc"]),
5856
- c(d, {
5857
- cardComponent: o.TournamentCard,
5858
- items: r.limitedTournaments,
5859
- maxColumns: 3,
5860
- isLoading: t.articlesIsLoading,
5861
- moreButtonLabel: "See All Tournaments",
5862
- title: "Upcoming",
5863
- onGridClick: e[0] || (e[0] = (y) => r.changePage("tournaments")),
5864
- onGridCardClick: r.handleGridCardClick
5865
- }, null, 8, ["cardComponent", "items", "isLoading", "onGridCardClick"]),
5866
- c(u, {
5867
- buttonLabel: "Learn More",
5868
- description: "Look for a Club? <br> We can help.",
5869
- imageUrl: "https://meyersquared.com/images/banners/largebanner03.jpg",
5870
- onHandleButtonClick: e[1] || (e[1] = (y) => r.changePage("clubs"))
5871
- }),
5872
- c(d, {
5873
- cardComponent: r.FencerCard,
5874
- items: t.topFencers,
5875
- maxColumns: 5,
5876
- mobileHorizontal: !0,
5877
- isLoading: t.topFencersIsLoading,
5878
- moreButtonLabel: "Leaderboards",
5879
- title: "Top Fencers",
5880
- onGridClick: e[2] || (e[2] = (y) => r.changePage("leaderboard")),
5881
- onGridCardClick: r.handleGridCardClick
5882
- }, null, 8, ["cardComponent", "items", "isLoading", "onGridCardClick"]),
5883
- c(p, {
5884
- title: "How Does Meyer Squared work?",
5885
- "button-label-two": "Run a tournament",
5886
- "button-label-one": "Submit Results",
5887
- onHandleButtonClickOne: e[3] || (e[3] = (y) => r.changePage("submitresults")),
5888
- onHandleButtonClickTwo: e[4] || (e[4] = (y) => r.changePage("runtournament"))
5889
- }),
5890
- c(d, {
5891
- cardComponent: r.ArticleCard,
5892
- items: t.articles,
5893
- maxColumns: 3,
5894
- mobileHorizontal: !0,
5895
- isLoading: t.articlesIsLoading,
5896
- moreButtonLabel: "See More",
5897
- title: "Interesting Articles",
5898
- onGridClick: e[5] || (e[5] = (y) => r.changePage("articles")),
5899
- onGridCardClick: r.handleGridCardClick
5900
- }, null, 8, ["cardComponent", "items", "isLoading", "onGridCardClick"]),
5857
+ return b(), x(T, null, [
5858
+ i("div", Za, [
5859
+ c(a, { onChangePage: r.changePage }, null, 8, ["onChangePage"]),
5860
+ c(l, {
5861
+ title: t.title,
5862
+ buttonLabel: t.buttonLabel,
5863
+ description: t.description,
5864
+ imageSrc: t.imageSrc
5865
+ }, null, 8, ["title", "buttonLabel", "description", "imageSrc"]),
5866
+ c(d, {
5867
+ cardComponent: o.TournamentCard,
5868
+ items: r.limitedTournaments,
5869
+ maxColumns: 3,
5870
+ isLoading: t.articlesIsLoading,
5871
+ moreButtonLabel: "See All Tournaments",
5872
+ title: "Upcoming",
5873
+ onGridClick: e[0] || (e[0] = (y) => r.changePage("tournaments")),
5874
+ onGridCardClick: r.handleGridCardClick
5875
+ }, null, 8, ["cardComponent", "items", "isLoading", "onGridCardClick"]),
5876
+ c(u, {
5877
+ buttonLabel: "Learn More",
5878
+ description: "Look for a Club? <br> We can help.",
5879
+ imageUrl: "https://meyersquared.com/images/banners/largebanner03.jpg",
5880
+ onHandleButtonClick: e[1] || (e[1] = (y) => r.changePage("clubs"))
5881
+ }),
5882
+ c(d, {
5883
+ cardComponent: r.FencerCard,
5884
+ items: t.topFencers,
5885
+ maxColumns: 5,
5886
+ mobileHorizontal: o.mobileHorizontal,
5887
+ isLoading: t.topFencersIsLoading,
5888
+ moreButtonLabel: "Leaderboards",
5889
+ title: "Top Fencers",
5890
+ onGridClick: e[2] || (e[2] = (y) => r.changePage("leaderboard")),
5891
+ onGridCardClick: r.handleGridCardClick
5892
+ }, null, 8, ["cardComponent", "items", "mobileHorizontal", "isLoading", "onGridCardClick"]),
5893
+ c(p, {
5894
+ title: "How Does Meyer Squared work?",
5895
+ "button-label-two": "Run a tournament",
5896
+ "button-label-one": "Submit Results",
5897
+ onHandleButtonClickOne: e[3] || (e[3] = (y) => r.changePage("submitresults")),
5898
+ onHandleButtonClickTwo: e[4] || (e[4] = (y) => r.changePage("runtournament"))
5899
+ }),
5900
+ c(d, {
5901
+ cardComponent: r.ArticleCard,
5902
+ items: t.articles,
5903
+ maxColumns: 3,
5904
+ mobileHorizontal: o.mobileHorizontal,
5905
+ isLoading: t.articlesIsLoading,
5906
+ moreButtonLabel: "See More",
5907
+ title: "Interesting Articles",
5908
+ onGridClick: e[5] || (e[5] = (y) => r.changePage("articles")),
5909
+ onGridCardClick: r.handleGridCardClick
5910
+ }, null, 8, ["cardComponent", "items", "mobileHorizontal", "isLoading", "onGridCardClick"])
5911
+ ]),
5901
5912
  c(g, { onChangePage: r.changePage }, null, 8, ["onChangePage"])
5902
- ]);
5913
+ ], 64);
5903
5914
  }
5904
- const pi = /* @__PURE__ */ S(Za, [["render", Ja]]);
5915
+ const pi = /* @__PURE__ */ S(Ya, [["render", Ja]]);
5905
5916
  export {
5906
5917
  Ve as ArticleCard,
5907
5918
  q as BaseButton,
@@ -5914,8 +5925,8 @@ export {
5914
5925
  ii as EventListCard,
5915
5926
  Qe as FencerCard,
5916
5927
  li as FencerListCard,
5917
- Ya as Footer,
5918
- Zn as GridLayout,
5928
+ Ha as Footer,
5929
+ Yn as GridLayout,
5919
5930
  Fn as HeroBanner,
5920
5931
  pi as HomePage,
5921
5932
  ei as HostColumn,