@dcrackel/meyersquaredui 1.0.81 → 1.0.82

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 P, withCtx as m, renderSlot as He, createElementBlock as y, resolveComponent as v, createElementVNode as i, createVNode as c, createTextVNode as h, toDisplayString as f, Fragment as T, renderList as V, defineComponent as R, ref as z, provide as se, watch as W, onMounted as Ze, onBeforeUnmount as $, toRef as Q, inject as M, computed as ce, markRaw as K, Comment as Qe, normalizeProps as it, guardReactiveProps as lt, withModifiers as G, createCommentVNode as L, withDirectives as dt, vShow as ct, normalizeStyle as ne, createStaticVNode as ke } from "vue";
1
+ import { openBlock as b, createBlock as me, resolveDynamicComponent as qe, normalizeClass as P, withCtx as m, renderSlot as He, createElementBlock as y, resolveComponent as v, createElementVNode as i, createVNode as c, createTextVNode as h, toDisplayString as f, Fragment as T, renderList as R, defineComponent as U, ref as z, provide as se, watch as W, onMounted as Ze, onBeforeUnmount as $, toRef as Q, inject as M, computed as ce, markRaw as K, Comment as Qe, normalizeProps as it, guardReactiveProps as lt, withModifiers as G, createCommentVNode as L, withDirectives as dt, vShow as ct, 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)
@@ -198,7 +198,7 @@ const F = /* @__PURE__ */ S(ht, [["render", pt]]), gt = {
198
198
  primary: "bg-primary hover:bg-accent text-secondary hover:text-secondary",
199
199
  secondary: "bg-secondary hover:bg-primary text-primary hover:text-secondary",
200
200
  accent: "bg-accent hover:bg-accent hover:text-secondary",
201
- white: "bg-white hover:bg-primary text-primary hover:text-secondary"
201
+ white: "bg-white hover:bg-accent text-primary hover:text-secondary"
202
202
  }[this.backgroundColor] || "bg-primary";
203
203
  },
204
204
  borderClass() {
@@ -427,7 +427,7 @@ function Et(s, e, t, n, o, r) {
427
427
  ])
428
428
  ]),
429
429
  i("div", zt, [
430
- (b(!0), y(T, null, V(o.weekdays, (l) => (b(), y("div", { key: l }, [
430
+ (b(!0), y(T, null, R(o.weekdays, (l) => (b(), y("div", { key: l }, [
431
431
  c(a, {
432
432
  tag: "p",
433
433
  size: "xs",
@@ -442,10 +442,10 @@ function Et(s, e, t, n, o, r) {
442
442
  ]))), 128))
443
443
  ]),
444
444
  i("div", Bt, [
445
- (b(!0), y(T, null, V(r.startDay, (l) => (b(), y("div", {
445
+ (b(!0), y(T, null, R(r.startDay, (l) => (b(), y("div", {
446
446
  key: "empty-" + l
447
447
  }))), 128)),
448
- (b(!0), y(T, null, V(r.daysInMonth, (l, d) => (b(), y("div", {
448
+ (b(!0), y(T, null, R(r.daysInMonth, (l, d) => (b(), y("div", {
449
449
  key: "day-" + l,
450
450
  onClick: (u) => r.dayClicked(l),
451
451
  class: P(["flex justify-center items-center cursor-pointer p-2 rounded-full", {
@@ -691,7 +691,7 @@ class X {
691
691
  var O;
692
692
  yield l = w.createElement("script"), l.id = this.id, A.set("libraries", [..._] + "");
693
693
  for (d in r)
694
- A.set(d.replace(/[A-Z]/g, (U) => "_" + U[0].toLowerCase()), r[d]);
694
+ A.set(d.replace(/[A-Z]/g, (V) => "_" + V[0].toLowerCase()), r[d]);
695
695
  A.set("callback", p + ".maps." + x), l.src = this.url + "?" + A, C[x] = E, l.onerror = () => a = D(Error(u + " could not load.")), l.nonce = this.nonce || ((O = w.querySelector("script[nonce]")) === null || O === void 0 ? void 0 : O.nonce) || "", w.head.append(l);
696
696
  })))
697
697
  );
@@ -832,7 +832,7 @@ const je = [
832
832
  "tilesloaded",
833
833
  "tilt_changed",
834
834
  "zoom_changed"
835
- ], Nt = R({
835
+ ], Nt = U({
836
836
  props: {
837
837
  apiPromise: {
838
838
  type: Promise
@@ -1081,7 +1081,7 @@ const je = [
1081
1081
  [() => s.center, () => s.zoom, ...w],
1082
1082
  ([k, C], [_, A]) => {
1083
1083
  var I, E, D;
1084
- const { center: O, zoom: U, ...N } = l();
1084
+ const { center: O, zoom: V, ...N } = l();
1085
1085
  (I = o.value) == null || I.setOptions(N), C !== void 0 && C !== A && ((E = o.value) == null || E.setZoom(C));
1086
1086
  const he = !_ || k.lng !== _.lng || k.lat !== _.lat;
1087
1087
  k && he && ((D = o.value) == null || D.panTo(k));
@@ -1111,10 +1111,10 @@ function Gt(s, e, t, n, o, r) {
1111
1111
  ]);
1112
1112
  }
1113
1113
  const Ft = /* @__PURE__ */ Pt(Nt, [["render", Gt], ["__scopeId", "data-v-d05fc6bc"]]);
1114
- function Ut(s) {
1114
+ function Vt(s) {
1115
1115
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
1116
1116
  }
1117
- var Rt = function s(e, t) {
1117
+ var Ut = function s(e, t) {
1118
1118
  if (e === t)
1119
1119
  return !0;
1120
1120
  if (e && t && typeof e == "object" && typeof t == "object") {
@@ -1149,7 +1149,7 @@ var Rt = function s(e, t) {
1149
1149
  }
1150
1150
  return e !== e && t !== t;
1151
1151
  };
1152
- const q = /* @__PURE__ */ Ut(Rt), Me = ["click", "drag", "dragend", "dragstart", "gmp-click"], Vt = R({
1152
+ const q = /* @__PURE__ */ Vt(Ut), Me = ["click", "drag", "dragend", "dragstart", "gmp-click"], Rt = U({
1153
1153
  name: "AdvancedMarker",
1154
1154
  props: {
1155
1155
  options: {
@@ -1175,15 +1175,15 @@ const q = /* @__PURE__ */ Ut(Rt), Me = ["click", "drag", "dragend", "dragstart",
1175
1175
  return;
1176
1176
  const { AdvancedMarkerElement: E, PinElement: D } = d.value.marker;
1177
1177
  if (a.value) {
1178
- const { map: O, content: U, ...N } = o.value;
1178
+ const { map: O, content: V, ...N } = o.value;
1179
1179
  Object.assign(a.value, {
1180
- content: r.value ? new D(r.value).element : U,
1180
+ content: r.value ? new D(r.value).element : V,
1181
1181
  ...N
1182
1182
  }), p.value && ((C = u.value) == null || C.removeMarker(a.value), (_ = u.value) == null || _.addMarker(a.value));
1183
1183
  } else
1184
1184
  r.value && (o.value.content = new D(r.value).element), a.value = K(new E(o.value)), p.value ? (A = u.value) == null || A.addMarker(a.value) : a.value.map = l.value, Me.forEach((O) => {
1185
- var U;
1186
- (U = a.value) == null || U.addListener(O, (N) => e(O, N));
1185
+ var V;
1186
+ (V = a.value) == null || V.addListener(O, (N) => e(O, N));
1187
1187
  });
1188
1188
  },
1189
1189
  {
@@ -1252,7 +1252,7 @@ const q = /* @__PURE__ */ Ut(Rt), Me = ["click", "drag", "dragend", "dragstart",
1252
1252
  "title_changed",
1253
1253
  "visible_changed"
1254
1254
  ];
1255
- R({
1255
+ U({
1256
1256
  name: "Marker",
1257
1257
  props: {
1258
1258
  options: {
@@ -1269,7 +1269,7 @@ R({
1269
1269
  };
1270
1270
  }
1271
1271
  });
1272
- R({
1272
+ U({
1273
1273
  name: "Polyline",
1274
1274
  props: {
1275
1275
  options: {
@@ -1284,7 +1284,7 @@ R({
1284
1284
  },
1285
1285
  render: () => null
1286
1286
  });
1287
- R({
1287
+ U({
1288
1288
  name: "Polygon",
1289
1289
  props: {
1290
1290
  options: {
@@ -1300,7 +1300,7 @@ R({
1300
1300
  render: () => null
1301
1301
  });
1302
1302
  const Ne = ae.concat(["bounds_changed"]);
1303
- R({
1303
+ U({
1304
1304
  name: "Rectangle",
1305
1305
  props: {
1306
1306
  options: {
@@ -1316,7 +1316,7 @@ R({
1316
1316
  render: () => null
1317
1317
  });
1318
1318
  const Pe = ae.concat(["center_changed", "radius_changed"]);
1319
- R({
1319
+ U({
1320
1320
  name: "Circle",
1321
1321
  props: {
1322
1322
  options: {
@@ -1331,7 +1331,7 @@ R({
1331
1331
  },
1332
1332
  render: () => null
1333
1333
  });
1334
- R({
1334
+ U({
1335
1335
  props: {
1336
1336
  position: {
1337
1337
  type: String,
@@ -1378,7 +1378,7 @@ R({
1378
1378
  }
1379
1379
  });
1380
1380
  const De = ["closeclick", "content_changed", "domready", "position_changed", "visible", "zindex_changed"];
1381
- R({
1381
+ U({
1382
1382
  inheritAttrs: !1,
1383
1383
  props: {
1384
1384
  options: {
@@ -1420,8 +1420,8 @@ R({
1420
1420
  ), d.value && (u = d.value.addListener("click", () => {
1421
1421
  w();
1422
1422
  })), (!d.value || p) && w(), De.forEach((O) => {
1423
- var U;
1424
- (U = o.value) == null || U.addListener(O, (N) => t(O, N));
1423
+ var V;
1424
+ (V = o.value) == null || V.addListener(O, (N) => t(O, N));
1425
1425
  }), (E = o.value) == null || E.addListener("closeclick", () => x(!1))));
1426
1426
  },
1427
1427
  {
@@ -1612,7 +1612,7 @@ const Yt = {
1612
1612
  // properties to use for individual points when running the reducer
1613
1613
  map: (s) => s
1614
1614
  // props => ({sum: props.my_value})
1615
- }, Ue = Math.fround || /* @__PURE__ */ ((s) => (e) => (s[0] = +e, s[0]))(new Float32Array(1)), J = 2, Z = 3, ve = 4, H = 5, et = 6;
1615
+ }, Ve = Math.fround || /* @__PURE__ */ ((s) => (e) => (s[0] = +e, s[0]))(new Float32Array(1)), J = 2, Z = 3, ve = 4, H = 5, et = 6;
1616
1616
  class tt {
1617
1617
  constructor(e) {
1618
1618
  this.options = Object.assign(Object.create(Yt), e), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
@@ -1627,7 +1627,7 @@ class tt {
1627
1627
  const u = e[d];
1628
1628
  if (!u.geometry)
1629
1629
  continue;
1630
- const [p, g] = u.geometry.coordinates, x = Ue(pe(p)), w = Ue(ge(g));
1630
+ const [p, g] = u.geometry.coordinates, x = Ve(pe(p)), w = Ve(ge(g));
1631
1631
  a.push(
1632
1632
  x,
1633
1633
  w,
@@ -1664,7 +1664,7 @@ class tt {
1664
1664
  const l = this.trees[this._limitZoom(t)], d = l.range(pe(n), ge(a), pe(r), ge(o)), u = l.data, p = [];
1665
1665
  for (const g of d) {
1666
1666
  const x = this.stride * g;
1667
- p.push(u[x + H] > 1 ? Re(u, x, this.clusterProps) : this.points[u[x + Z]]);
1667
+ p.push(u[x + H] > 1 ? Ue(u, x, this.clusterProps) : this.points[u[x + Z]]);
1668
1668
  }
1669
1669
  return p;
1670
1670
  }
@@ -1678,7 +1678,7 @@ class tt {
1678
1678
  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 = [];
1679
1679
  for (const x of p) {
1680
1680
  const w = x * this.stride;
1681
- a[w + ve] === e && g.push(a[w + H] > 1 ? Re(a, w, this.clusterProps) : this.points[a[w + Z]]);
1681
+ a[w + ve] === e && g.push(a[w + H] > 1 ? Ue(a, w, this.clusterProps) : this.points[a[w + Z]]);
1682
1682
  }
1683
1683
  if (g.length === 0)
1684
1684
  throw new Error(o);
@@ -1783,8 +1783,8 @@ class tt {
1783
1783
  if (_ > C && _ >= a) {
1784
1784
  let A = x * C, I = w * C, E, D = -1;
1785
1785
  const O = ((g / p | 0) << 5) + (t + 1) + this.points.length;
1786
- for (const U of k) {
1787
- const N = U * p;
1786
+ for (const V of k) {
1787
+ const N = V * p;
1788
1788
  if (d[N + J] <= t)
1789
1789
  continue;
1790
1790
  d[N + J] = t;
@@ -1825,7 +1825,7 @@ class tt {
1825
1825
  return n && r === o ? Object.assign({}, r) : r;
1826
1826
  }
1827
1827
  }
1828
- function Re(s, e, t) {
1828
+ function Ue(s, e, t) {
1829
1829
  return {
1830
1830
  type: "Feature",
1831
1831
  id: s[e + Z],
@@ -1948,7 +1948,7 @@ const Zt = (s, e, t, n) => {
1948
1948
  }, st = (s, e, t) => {
1949
1949
  const { northEast: n, southWest: o } = Qt(s, e), r = Jt({ northEast: n, southWest: o }, t);
1950
1950
  return Xt(r, e);
1951
- }, Ve = (s, e, t) => {
1951
+ }, Re = (s, e, t) => {
1952
1952
  const n = st(s, e, t), o = n.getNorthEast(), r = n.getSouthWest();
1953
1953
  return [r.lng(), r.lat(), o.lng(), o.lat()];
1954
1954
  }, Qt = (s, e) => ({
@@ -2051,7 +2051,7 @@ class rr extends $t {
2051
2051
  calculate(e) {
2052
2052
  const t = {
2053
2053
  zoom: Math.round(e.map.getZoom()),
2054
- view: Ve(e.map.getBounds(), e.mapCanvasProjection, this.viewportPadding)
2054
+ view: Re(e.map.getBounds(), e.mapCanvasProjection, this.viewportPadding)
2055
2055
  };
2056
2056
  let n = !q(this.state, t);
2057
2057
  if (!q(e.markers, this.markers)) {
@@ -2074,7 +2074,7 @@ class rr extends $t {
2074
2074
  cluster({ map: e, mapCanvasProjection: t }) {
2075
2075
  const n = {
2076
2076
  zoom: Math.round(e.getZoom()),
2077
- view: Ve(e.getBounds(), t, this.viewportPadding)
2077
+ view: Re(e.getBounds(), t, this.viewportPadding)
2078
2078
  };
2079
2079
  return this.superCluster.getClusters(n.view, n.zoom).map((o) => this.transformCluster(o));
2080
2080
  }
@@ -2266,7 +2266,7 @@ class ir extends Be {
2266
2266
  }
2267
2267
  }
2268
2268
  const We = Object.values(oe);
2269
- R({
2269
+ U({
2270
2270
  name: "MarkerCluster",
2271
2271
  props: {
2272
2272
  options: {
@@ -2305,7 +2305,7 @@ R({
2305
2305
  };
2306
2306
  }
2307
2307
  });
2308
- R({
2308
+ U({
2309
2309
  inheritAttrs: !1,
2310
2310
  props: {
2311
2311
  options: {
@@ -2326,7 +2326,7 @@ R({
2326
2326
  }), { customMarkerRef: o, customMarker: l, hasSlotContent: r };
2327
2327
  }
2328
2328
  });
2329
- R({
2329
+ U({
2330
2330
  name: "HeatmapLayer",
2331
2331
  props: {
2332
2332
  options: {
@@ -2366,7 +2366,7 @@ const lr = {
2366
2366
  name: "Mapbox",
2367
2367
  components: {
2368
2368
  GoogleMap: Ft,
2369
- AdvancedMarker: Vt
2369
+ AdvancedMarker: Rt
2370
2370
  },
2371
2371
  props: {
2372
2372
  apiKey: {
@@ -2583,7 +2583,7 @@ function Cr(s, e, t, n, o, r) {
2583
2583
  }, ["stop"]))
2584
2584
  }, [
2585
2585
  i("ul", null, [
2586
- (b(!0), y(T, null, V(o.items, (p) => (b(), y("li", {
2586
+ (b(!0), y(T, null, R(o.items, (p) => (b(), y("li", {
2587
2587
  key: p.label,
2588
2588
  onClick: (g) => r.handlePageChange(p.value),
2589
2589
  class: "px-2 py-2 cursor-pointer hover:bg-hoverColor justify-end flex"
@@ -2828,10 +2828,10 @@ const mi = /* @__PURE__ */ S(Sr, [["render", Gr]]), Fr = {
2828
2828
  this.dropdownOpen && !this.$refs.dropdownContainer.contains(s.target) && (this.dropdownOpen = !1, document.body.style.overflow = "");
2829
2829
  }
2830
2830
  }
2831
- }, Ur = {
2831
+ }, Vr = {
2832
2832
  key: 0,
2833
2833
  class: "absolute top-full mt-1 w-full bg-secondary border rounded-lg border-lineGrey shadow-xl z-50 hidden md:block"
2834
- }, Rr = ["onClick"], Vr = {
2834
+ }, Ur = ["onClick"], Rr = {
2835
2835
  key: 1,
2836
2836
  class: "fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50 md:hidden"
2837
2837
  }, Wr = { class: "bg-secondary border rounded-lg border-lineGrey shadow-xl z-50 w-3/4 max-w-lg p-6" }, Kr = ["onClick"];
@@ -2864,9 +2864,9 @@ function Yr(s, e, t, n, o, r) {
2864
2864
  class: "ml-4"
2865
2865
  })
2866
2866
  ]),
2867
- o.dropdownOpen ? (b(), y("div", Ur, [
2867
+ o.dropdownOpen ? (b(), y("div", Vr, [
2868
2868
  i("ul", null, [
2869
- (b(!0), y(T, null, V(t.items, (d) => (b(), y("li", {
2869
+ (b(!0), y(T, null, R(t.items, (d) => (b(), y("li", {
2870
2870
  key: d,
2871
2871
  onClick: (u) => r.selectWeapon(d),
2872
2872
  class: "px-4 py-2 cursor-pointer hover:bg-hoverColor"
@@ -2882,13 +2882,13 @@ function Yr(s, e, t, n, o, r) {
2882
2882
  ]),
2883
2883
  _: 2
2884
2884
  }, 1024)
2885
- ], 8, Rr))), 128))
2885
+ ], 8, Ur))), 128))
2886
2886
  ])
2887
2887
  ])) : L("", !0),
2888
- o.dropdownOpen ? (b(), y("div", Vr, [
2888
+ o.dropdownOpen ? (b(), y("div", Rr, [
2889
2889
  i("div", Wr, [
2890
2890
  i("ul", null, [
2891
- (b(!0), y(T, null, V(t.items, (d) => (b(), y("li", {
2891
+ (b(!0), y(T, null, R(t.items, (d) => (b(), y("li", {
2892
2892
  key: d,
2893
2893
  onClick: (u) => r.selectWeapon(d),
2894
2894
  class: "px-4 py-2 cursor-pointer hover:bg-hoverColor"
@@ -3042,7 +3042,7 @@ function os(s, e, t, n, o, r) {
3042
3042
  return b(), y("header", ts, [
3043
3043
  i("div", rs, [
3044
3044
  i("nav", ss, [
3045
- (b(!0), y(T, null, V(t.filters, (d) => (b(), me(a, {
3045
+ (b(!0), y(T, null, R(t.filters, (d) => (b(), me(a, {
3046
3046
  key: d,
3047
3047
  onClick: (u) => r.onFilterSelect(d),
3048
3048
  class: P(["cursor-pointer border-b-2 pb-1 duration-300 ease-in-out px-4 md:p-0", {
@@ -3081,14 +3081,17 @@ const pi = /* @__PURE__ */ S(es, [["render", os]]), ns = "data:image/png;base64,
3081
3081
  props: {
3082
3082
  buffer: {
3083
3083
  type: Number,
3084
- default: 0
3084
+ default: 100
3085
3085
  }
3086
3086
  },
3087
3087
  data() {
3088
3088
  return {
3089
3089
  logo: ns,
3090
3090
  showNav: !1,
3091
- heroHeight: 0
3091
+ // This controls the animation class
3092
+ navVisible: !1,
3093
+ // This controls v-show and visibility
3094
+ heroHeight: 650
3092
3095
  };
3093
3096
  },
3094
3097
  mounted() {
@@ -3100,21 +3103,28 @@ const pi = /* @__PURE__ */ S(es, [["render", os]]), ns = "data:image/png;base64,
3100
3103
  },
3101
3104
  methods: {
3102
3105
  handleScroll() {
3103
- const s = window.scrollY;
3104
- this.showNav = s > this.heroHeight + this.buffer;
3106
+ window.scrollY > this.heroHeight + this.buffer ? this.navVisible || (this.navVisible = !0, this.showNav = !0) : this.navVisible && (this.showNav = !1, setTimeout(() => {
3107
+ this.navVisible = !1;
3108
+ }, 500));
3109
+ },
3110
+ handlePageChange(s) {
3111
+ this.$emit("changePage", s);
3112
+ },
3113
+ onSearch(s) {
3114
+ this.$emit("search", s);
3105
3115
  }
3106
3116
  }
3107
3117
  }, is = { class: "max-w-7xl mx-auto px-4 py-2" }, ls = { class: "w-full hidden md:flex" }, ds = ["src"], cs = { class: "flex w-full items-center" }, us = { class: "hidden lg:flex w-1/3 pl-20 mb-3 mt-1" }, ms = { class: "ml-8 w-2/3 flex justify-around" };
3108
3118
  function hs(s, e, t, n, o, r) {
3109
3119
  const a = v("SearchBox"), l = v("BaseText");
3110
3120
  return dt((b(), y("nav", {
3111
- class: P(["fixed top-0 left-0 w-full bg-white shadow-md transition-opacity duration-1000 z-50", { "opacity-0": !o.showNav, "opacity-100": o.showNav }])
3121
+ class: P(["fixed top-0 left-0 w-full bg-white shadow-md z-50", [o.showNav ? "animate-slideDown" : "animate-slideUp"]])
3112
3122
  }, [
3113
3123
  i("div", is, [
3114
3124
  i("section", ls, [
3115
3125
  i("div", {
3116
3126
  class: "w-[150px] h-[50px] flex-shrink-0 flex items-center justify-center",
3117
- onClick: e[0] || (e[0] = (d) => s.handlePageChange("Home"))
3127
+ onClick: e[0] || (e[0] = (d) => r.handlePageChange("Home"))
3118
3128
  }, [
3119
3129
  i("img", {
3120
3130
  src: o.logo,
@@ -3128,7 +3138,7 @@ function hs(s, e, t, n, o, r) {
3128
3138
  inputColor: "secondary",
3129
3139
  iconColor: "primary",
3130
3140
  class: "w-24 md:w-32 lg:w-52 xl:w-64",
3131
- onSearch: s.onSearch
3141
+ onSearch: r.onSearch
3132
3142
  }, null, 8, ["onSearch"])
3133
3143
  ]),
3134
3144
  i("nav", ms, [
@@ -3138,7 +3148,7 @@ function hs(s, e, t, n, o, r) {
3138
3148
  tag: "p",
3139
3149
  weight: "normal",
3140
3150
  class: "border-b-2 border-white hover:border-accent pb-2 duration-300 ease-in-out",
3141
- onClick: e[1] || (e[1] = (d) => s.handlePageChange("TournamentList"))
3151
+ onClick: e[1] || (e[1] = (d) => r.handlePageChange("TournamentList"))
3142
3152
  }, {
3143
3153
  default: m(() => e[6] || (e[6] = [
3144
3154
  h("Tournaments")
@@ -3151,7 +3161,7 @@ function hs(s, e, t, n, o, r) {
3151
3161
  tag: "p",
3152
3162
  weight: "normal",
3153
3163
  class: "border-b-2 border-white hover:border-accent pb-2 duration-300 ease-in-out",
3154
- onClick: e[2] || (e[2] = (d) => s.handlePageChange("ClubList"))
3164
+ onClick: e[2] || (e[2] = (d) => r.handlePageChange("ClubList"))
3155
3165
  }, {
3156
3166
  default: m(() => e[7] || (e[7] = [
3157
3167
  h("Clubs")
@@ -3164,7 +3174,7 @@ function hs(s, e, t, n, o, r) {
3164
3174
  tag: "p",
3165
3175
  weight: "normal",
3166
3176
  class: "border-b-2 border-white hover:border-accent pb-2 duration-300 ease-in-out",
3167
- onClick: e[3] || (e[3] = (d) => s.handlePageChange("Leaderboard"))
3177
+ onClick: e[3] || (e[3] = (d) => r.handlePageChange("Leaderboard"))
3168
3178
  }, {
3169
3179
  default: m(() => e[8] || (e[8] = [
3170
3180
  h("Leaderboard")
@@ -3177,7 +3187,7 @@ function hs(s, e, t, n, o, r) {
3177
3187
  tag: "p",
3178
3188
  weight: "normal",
3179
3189
  class: "border-b-2 border-white hover:border-accent pb-2 duration-300 ease-in-out",
3180
- onClick: e[4] || (e[4] = (d) => s.handlePageChange("ContactUs"))
3190
+ onClick: e[4] || (e[4] = (d) => r.handlePageChange("ContactUs"))
3181
3191
  }, {
3182
3192
  default: m(() => e[9] || (e[9] = [
3183
3193
  h("Contact")
@@ -3190,7 +3200,7 @@ function hs(s, e, t, n, o, r) {
3190
3200
  tag: "p",
3191
3201
  weight: "normal",
3192
3202
  class: "border-b-2 border-white hover:border-accent pb-2 duration-300 ease-in-out",
3193
- onClick: e[5] || (e[5] = (d) => s.handlePageChange("ContactUs"))
3203
+ onClick: e[5] || (e[5] = (d) => r.handlePageChange("Login"))
3194
3204
  }, {
3195
3205
  default: m(() => e[10] || (e[10] = [
3196
3206
  h("Login")
@@ -3202,10 +3212,10 @@ function hs(s, e, t, n, o, r) {
3202
3212
  ])
3203
3213
  ])
3204
3214
  ], 2)), [
3205
- [ct, o.showNav]
3215
+ [ct, o.navVisible]
3206
3216
  ]);
3207
3217
  }
3208
- const ps = /* @__PURE__ */ S(as, [["render", hs]]), gs = {
3218
+ const ps = /* @__PURE__ */ S(as, [["render", hs], ["__scopeId", "data-v-eb116240"]]), gs = {
3209
3219
  name: "TournamentDetailsBanner",
3210
3220
  components: {
3211
3221
  BaseText: B,
@@ -3588,7 +3598,7 @@ function Gs(s, e, t, n, o, r) {
3588
3598
  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)
3589
3599
  ]));
3590
3600
  }
3591
- const Fs = /* @__PURE__ */ S(Ps, [["render", Gs]]), Us = {
3601
+ const Fs = /* @__PURE__ */ S(Ps, [["render", Gs]]), Vs = {
3592
3602
  name: "ArticleCard",
3593
3603
  components: {
3594
3604
  ArticleCardSkeleton: Fs,
@@ -3625,20 +3635,20 @@ const Fs = /* @__PURE__ */ S(Ps, [["render", Gs]]), Us = {
3625
3635
  this.$emit("grid-card-click", this.data);
3626
3636
  }
3627
3637
  }
3628
- }, Rs = {
3638
+ }, Us = {
3629
3639
  key: 0,
3630
3640
  class: "w-72 p-4 bg-secondary rounded-lg flex flex-col items-start"
3631
- }, Vs = {
3641
+ }, Rs = {
3632
3642
  key: 1,
3633
3643
  class: "min-w-72 p-4 bg-secondary rounded-lg flex flex-col items-start"
3634
3644
  }, Ws = ["src"];
3635
3645
  function Ks(s, e, t, n, o, r) {
3636
3646
  const a = v("ArticleCardSkeleton"), l = v("BaseText");
3637
3647
  return b(), y(T, null, [
3638
- t.isLoading ? (b(), y("div", Rs, [
3648
+ t.isLoading ? (b(), y("div", Us, [
3639
3649
  c(a)
3640
3650
  ])) : L("", !0),
3641
- t.isLoading ? L("", !0) : (b(), y("div", Vs, [
3651
+ t.isLoading ? L("", !0) : (b(), y("div", Rs, [
3642
3652
  i("img", {
3643
3653
  src: r.image,
3644
3654
  alt: "Article Image",
@@ -3686,7 +3696,7 @@ function Ks(s, e, t, n, o, r) {
3686
3696
  ]))
3687
3697
  ], 64);
3688
3698
  }
3689
- const Ke = /* @__PURE__ */ S(Us, [["render", Ks]]), Ys = {
3699
+ const Ke = /* @__PURE__ */ S(Vs, [["render", Ks]]), Ys = {
3690
3700
  name: "ClubListCard",
3691
3701
  components: { Icon: F, BaseText: B },
3692
3702
  props: {
@@ -4133,7 +4143,7 @@ function Lo(s, e, t, n, o, r) {
4133
4143
  tag: "p",
4134
4144
  size: "xs md:sm",
4135
4145
  weight: "semibold",
4136
- class: "primary mr-1 block z-50"
4146
+ class: "primary mr-1 block"
4137
4147
  }, {
4138
4148
  default: m(() => e[1] || (e[1] = [
4139
4149
  h("M2: ")
@@ -4226,7 +4236,7 @@ const Ye = /* @__PURE__ */ S(So, [["render", Lo]]), To = {
4226
4236
  key: 1,
4227
4237
  class: "p-4 bg-secondary rounded-lg flex items-center"
4228
4238
  };
4229
- function Uo(s, e, t, n, o, r) {
4239
+ function Vo(s, e, t, n, o, r) {
4230
4240
  const a = v("BaseText"), l = v("FencerCardSkeleton");
4231
4241
  return b(), y(T, null, [
4232
4242
  t.isLoading ? L("", !0) : (b(), y("section", {
@@ -4341,7 +4351,7 @@ function Uo(s, e, t, n, o, r) {
4341
4351
  ])) : L("", !0)
4342
4352
  ], 64);
4343
4353
  }
4344
- const vi = /* @__PURE__ */ S(To, [["render", Uo]]), Ro = {
4354
+ const vi = /* @__PURE__ */ S(To, [["render", Vo]]), Uo = {
4345
4355
  name: "PhotoCard",
4346
4356
  props: {
4347
4357
  data: {
@@ -4349,9 +4359,9 @@ const vi = /* @__PURE__ */ S(To, [["render", Uo]]), Ro = {
4349
4359
  required: !0
4350
4360
  }
4351
4361
  }
4352
- }, Vo = { class: "w-[250px] h-[150px]" }, Wo = ["src", "alt"];
4362
+ }, Ro = { class: "w-[250px] h-[150px]" }, Wo = ["src", "alt"];
4353
4363
  function Ko(s, e, t, n, o, r) {
4354
- return b(), y("div", Vo, [
4364
+ return b(), y("div", Ro, [
4355
4365
  i("img", {
4356
4366
  src: t.data.URL,
4357
4367
  alt: t.data.AltText,
@@ -4359,7 +4369,7 @@ function Ko(s, e, t, n, o, r) {
4359
4369
  }, null, 8, Wo)
4360
4370
  ]);
4361
4371
  }
4362
- const wi = /* @__PURE__ */ S(Ro, [["render", Ko]]), Yo = {
4372
+ const wi = /* @__PURE__ */ S(Uo, [["render", Ko]]), Yo = {
4363
4373
  name: "SocialMediaLinkCard",
4364
4374
  components: { BaseButton: Y },
4365
4375
  props: {
@@ -4390,7 +4400,7 @@ const wi = /* @__PURE__ */ S(Ro, [["render", Ko]]), Yo = {
4390
4400
  function Ho(s, e, t, n, o, r) {
4391
4401
  const a = v("BaseButton");
4392
4402
  return b(), y("aside", qo, [
4393
- (b(!0), y(T, null, V(t.socialMedia, (l, d) => (b(), y("div", {
4403
+ (b(!0), y(T, null, R(t.socialMedia, (l, d) => (b(), y("div", {
4394
4404
  key: d,
4395
4405
  class: "mb-4"
4396
4406
  }, [
@@ -4707,7 +4717,7 @@ function An(s, e, t, n, o, r) {
4707
4717
  ])),
4708
4718
  _: 1
4709
4719
  })) : L("", !0),
4710
- (b(!0), y(T, null, V(t.shareLinks, (d) => (b(), y("a", {
4720
+ (b(!0), y(T, null, R(t.shareLinks, (d) => (b(), y("a", {
4711
4721
  key: d.name,
4712
4722
  href: d.url,
4713
4723
  target: "_blank",
@@ -4798,8 +4808,8 @@ const Ci = /* @__PURE__ */ S(bn, [["render", An]]), zn = {
4798
4808
  this.$emit("grid-card-click", this.data);
4799
4809
  }
4800
4810
  }
4801
- }, Bn = { class: "flex pt-1" }, In = ["src", "alt"], En = { class: "flex flex-col" }, Ln = { class: "flex items-center mb-0" }, Tn = { class: "hidden md:flex items-center text-sm text-gray-600 mb-2" }, jn = { class: "hidden md:flex mt-3 mb-1" }, Mn = { class: "flex flex-row w-full" }, On = { class: "flex items-center mr-10" }, Nn = { class: "flex items-center" }, Pn = { class: "flex flex-col md:hidden mt-2" }, Dn = { class: "flex items-center pb-2" }, Gn = { class: "flex flex-row" }, Fn = { class: "flex items-center mr-4" }, Un = { class: "flex items-center" };
4802
- function Rn(s, e, t, n, o, r) {
4811
+ }, Bn = { class: "flex pt-1" }, In = ["src", "alt"], En = { class: "flex flex-col" }, Ln = { class: "flex items-center mb-0" }, Tn = { class: "hidden md:flex items-center text-sm text-gray-600 mb-2" }, jn = { class: "hidden md:flex mt-3 mb-1" }, Mn = { class: "flex flex-row w-full" }, On = { class: "flex items-center mr-10" }, Nn = { class: "flex items-center" }, Pn = { class: "flex flex-col md:hidden mt-2" }, Dn = { class: "flex items-center pb-2" }, Gn = { class: "flex flex-row" }, Fn = { class: "flex items-center mr-4" }, Vn = { class: "flex items-center" };
4812
+ function Un(s, e, t, n, o, r) {
4803
4813
  const a = v("BaseText"), l = v("Icon");
4804
4814
  return b(), y("section", {
4805
4815
  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",
@@ -4916,7 +4926,7 @@ function Rn(s, e, t, n, o, r) {
4916
4926
  _: 1
4917
4927
  })
4918
4928
  ]),
4919
- i("div", Un, [
4929
+ i("div", Vn, [
4920
4930
  c(l, {
4921
4931
  icon: "fa-calendar",
4922
4932
  size: "sm",
@@ -4939,7 +4949,7 @@ function Rn(s, e, t, n, o, r) {
4939
4949
  ])
4940
4950
  ]);
4941
4951
  }
4942
- const _i = /* @__PURE__ */ S(zn, [["render", Rn]]), Vn = {
4952
+ const _i = /* @__PURE__ */ S(zn, [["render", Un]]), Rn = {
4943
4953
  name: "HeroBanner",
4944
4954
  components: {
4945
4955
  BaseText: B,
@@ -5096,7 +5106,7 @@ function Qn(s, e, t, n, o, r) {
5096
5106
  ], -1))
5097
5107
  ], 64);
5098
5108
  }
5099
- const Jn = /* @__PURE__ */ S(Vn, [["render", Qn]]), Xn = {
5109
+ const Jn = /* @__PURE__ */ S(Rn, [["render", Qn]]), Xn = {
5100
5110
  name: "LeaderboardHeader",
5101
5111
  components: {
5102
5112
  BaseText: B,
@@ -5126,7 +5136,7 @@ function sa(s, e, t, n, o, r) {
5126
5136
  return b(), y("header", $n, [
5127
5137
  i("section", ea, [
5128
5138
  i("nav", ta, [
5129
- (b(!0), y(T, null, V(t.weapons, (l) => (b(), y("div", {
5139
+ (b(!0), y(T, null, R(t.weapons, (l) => (b(), y("div", {
5130
5140
  key: l,
5131
5141
  onClick: (d) => r.onWeaponClick(l),
5132
5142
  class: "cursor-pointer"
@@ -5273,7 +5283,7 @@ function aa(s, e, t, n, o, r) {
5273
5283
  i("div", {
5274
5284
  class: P(r.gridClasses)
5275
5285
  }, [
5276
- (b(!0), y(T, null, V(t.items, (d, u) => (b(), me(qe(t.cardComponent), {
5286
+ (b(!0), y(T, null, R(t.items, (d, u) => (b(), me(qe(t.cardComponent), {
5277
5287
  key: u,
5278
5288
  data: d,
5279
5289
  index: u,
@@ -5528,7 +5538,7 @@ const Ca = /* @__PURE__ */ S(ha, [["render", ka]]), _a = {
5528
5538
  this.$emit("changePage", s);
5529
5539
  }
5530
5540
  }
5531
- }, Sa = { class: "hidden md:flex flex-col bg-primary" }, Aa = { class: "w-full hidden md:flex" }, za = { class: "w-1/3" }, Ba = { class: "items-center w-full flex justify-center" }, Ia = ["src"], Ea = { class: "w-1/3 flex flex-col" }, La = { class: "w-full flex justify-around" }, Ta = { class: "flex w-1/3" }, ja = { class: "flex w-1/3" }, Ma = { class: "flex items-center w-1/3" }, Oa = { class: "w-full flex justify-around" }, Na = { class: "flex items-center w-1/3" }, Pa = { class: "flex items-center w-1/3" }, Da = { class: "flex items-center w-1/3" }, Ga = { class: "w-full flex justify-around" }, Fa = { class: "flex items-center w-1/3" }, Ua = { class: "flex items-center w-1/3" }, Ra = { class: "flex w-1/3" }, Va = { class: "w-1/3 flex flex-col" }, Wa = { class: "w-full flex justify-end" }, Ka = { class: "w-30 mr-16" }, Ya = { class: "w-full flex justify-end mt-12" }, qa = { class: "w-48 mr-16" }, Ha = { class: "h-32 border border-t mt-10 pb-10 border-lineGrey flex flex-col justify-center items-center" }, Za = { class: "flex md:hidden flex-col items-center bg-primary pb-10" }, Qa = { class: "w-full flex flex-col items-center" }, Ja = { class: "w-full max-w-xs flex justify-between items-center" }, Xa = { class: "flex justify-center w-1/2" }, $a = ["src"], ei = { class: "flex flex-col w-1/2" }, ti = { class: "w-full flex flex-col items-center" }, ri = { class: "w-full max-w-xs flex flex-col items-center pt-8 px-6" }, si = { class: "w-full max-w-xs flex flex-col items-center pt-8" }, oi = { class: "flex justify-center" };
5541
+ }, Sa = { class: "hidden md:flex flex-col bg-primary" }, Aa = { class: "w-full hidden md:flex" }, za = { class: "w-1/3" }, Ba = { class: "items-center w-full flex justify-center" }, Ia = ["src"], Ea = { class: "w-1/3 flex flex-col" }, La = { class: "w-full flex justify-around" }, Ta = { class: "flex w-1/3" }, ja = { class: "flex w-1/3" }, Ma = { class: "flex items-center w-1/3" }, Oa = { class: "w-full flex justify-around" }, Na = { class: "flex items-center w-1/3" }, Pa = { class: "flex items-center w-1/3" }, Da = { class: "flex items-center w-1/3" }, Ga = { class: "w-full flex justify-around" }, Fa = { class: "flex items-center w-1/3" }, Va = { class: "flex items-center w-1/3" }, Ua = { class: "flex w-1/3" }, Ra = { class: "w-1/3 flex flex-col" }, Wa = { class: "w-full flex justify-end" }, Ka = { class: "w-30 mr-16" }, Ya = { class: "w-full flex justify-end mt-12" }, qa = { class: "w-48 mr-16" }, Ha = { class: "h-32 border border-t mt-10 pb-10 border-lineGrey flex flex-col justify-center items-center" }, Za = { class: "flex md:hidden flex-col items-center bg-primary pb-10" }, Qa = { class: "w-full flex flex-col items-center" }, Ja = { class: "w-full max-w-xs flex justify-between items-center" }, Xa = { class: "flex justify-center w-1/2" }, $a = ["src"], ei = { class: "flex flex-col w-1/2" }, ti = { class: "w-full flex flex-col items-center" }, ri = { class: "w-full max-w-xs flex flex-col items-center pt-8 px-6" }, si = { class: "w-full max-w-xs flex flex-col items-center pt-8" }, oi = { class: "flex justify-center" };
5532
5542
  function ni(s, e, t, n, o, r) {
5533
5543
  const a = v("BaseText"), l = v("InputField"), d = v("Icon");
5534
5544
  return b(), y(T, null, [
@@ -5684,7 +5694,7 @@ function ni(s, e, t, n, o, r) {
5684
5694
  })
5685
5695
  ])
5686
5696
  ]),
5687
- i("div", Ua, [
5697
+ i("div", Va, [
5688
5698
  i("a", {
5689
5699
  href: "#",
5690
5700
  onClick: e[7] || (e[7] = G((u) => r.pageChange("clubs"), ["prevent"]))
@@ -5703,7 +5713,7 @@ function ni(s, e, t, n, o, r) {
5703
5713
  })
5704
5714
  ])
5705
5715
  ]),
5706
- i("div", Ra, [
5716
+ i("div", Ua, [
5707
5717
  i("a", {
5708
5718
  href: "#",
5709
5719
  onClick: e[8] || (e[8] = G((u) => r.pageChange("leaderboard"), ["prevent"]))
@@ -5724,7 +5734,7 @@ function ni(s, e, t, n, o, r) {
5724
5734
  ])
5725
5735
  ])
5726
5736
  ]),
5727
- i("div", Va, [
5737
+ i("div", Ra, [
5728
5738
  i("div", Wa, [
5729
5739
  i("div", Ka, [
5730
5740
  c(a, {
@@ -6044,7 +6054,7 @@ function di(s, e, t, n, o, r) {
6044
6054
  description: t.description,
6045
6055
  imageSrc: t.imageSrc
6046
6056
  }, null, 8, ["title", "buttonLabel", "description", "imageSrc"]),
6047
- c(d, { buffer: "100" }),
6057
+ c(d, { buffer: 1e3 }),
6048
6058
  c(u, {
6049
6059
  cardComponent: o.TournamentCard,
6050
6060
  items: r.limitedTournaments,