@campphillip/widgets 3.1.2 → 3.1.3

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 { j as m, S as le, P as Cr, a as yn, r as I } from "./react.js";
1
+ import { j as m, S as ie, P as Cr, a as yn, r as I } from "./react.js";
2
2
  var j = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
3
  function Pr(t) {
4
4
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -230,7 +230,7 @@ var Tr = j && j.__extends || function() {
230
230
  };
231
231
  }();
232
232
  Object.defineProperty(z, "__esModule", { value: !0 });
233
- var Wt = Ue, ot = ke, An = mt, Rn = wt, se = Ee, Te = Ne, jr = function(t) {
233
+ var Wt = Ue, ot = ke, An = mt, Rn = wt, ue = Ee, Te = Ne, jr = function(t) {
234
234
  Tr(e, t);
235
235
  function e(r, n, a) {
236
236
  var i = t.call(this) || this;
@@ -289,11 +289,11 @@ var st = function(t) {
289
289
  return e.prototype.next = function(r) {
290
290
  if (!this.isStopped && this._next) {
291
291
  var n = this._parentSubscriber;
292
- !se.config.useDeprecatedSynchronousErrorHandling || !n.syncErrorThrowable ? this.__tryOrUnsub(this._next, r) : this.__tryOrSetError(n, this._next, r) && this.unsubscribe();
292
+ !ue.config.useDeprecatedSynchronousErrorHandling || !n.syncErrorThrowable ? this.__tryOrUnsub(this._next, r) : this.__tryOrSetError(n, this._next, r) && this.unsubscribe();
293
293
  }
294
294
  }, e.prototype.error = function(r) {
295
295
  if (!this.isStopped) {
296
- var n = this._parentSubscriber, a = se.config.useDeprecatedSynchronousErrorHandling;
296
+ var n = this._parentSubscriber, a = ue.config.useDeprecatedSynchronousErrorHandling;
297
297
  if (this._error)
298
298
  !a || !n.syncErrorThrowable ? (this.__tryOrUnsub(this._error, r), this.unsubscribe()) : (this.__tryOrSetError(n, this._error, r), this.unsubscribe());
299
299
  else if (n.syncErrorThrowable)
@@ -312,7 +312,7 @@ var st = function(t) {
312
312
  var a = function() {
313
313
  return r._complete.call(r._context);
314
314
  };
315
- !se.config.useDeprecatedSynchronousErrorHandling || !n.syncErrorThrowable ? (this.__tryOrUnsub(a), this.unsubscribe()) : (this.__tryOrSetError(n, a), this.unsubscribe());
315
+ !ue.config.useDeprecatedSynchronousErrorHandling || !n.syncErrorThrowable ? (this.__tryOrUnsub(a), this.unsubscribe()) : (this.__tryOrSetError(n, a), this.unsubscribe());
316
316
  } else
317
317
  this.unsubscribe();
318
318
  }
@@ -320,17 +320,17 @@ var st = function(t) {
320
320
  try {
321
321
  r.call(this._context, n);
322
322
  } catch (a) {
323
- if (this.unsubscribe(), se.config.useDeprecatedSynchronousErrorHandling)
323
+ if (this.unsubscribe(), ue.config.useDeprecatedSynchronousErrorHandling)
324
324
  throw a;
325
325
  Te.hostReportError(a);
326
326
  }
327
327
  }, e.prototype.__tryOrSetError = function(r, n, a) {
328
- if (!se.config.useDeprecatedSynchronousErrorHandling)
328
+ if (!ue.config.useDeprecatedSynchronousErrorHandling)
329
329
  throw new Error("bad call");
330
330
  try {
331
331
  n.call(this._context, a);
332
332
  } catch (i) {
333
- return se.config.useDeprecatedSynchronousErrorHandling ? (r.syncErrorValue = i, r.syncErrorThrown = !0, !0) : (Te.hostReportError(i), !0);
333
+ return ue.config.useDeprecatedSynchronousErrorHandling ? (r.syncErrorValue = i, r.syncErrorThrown = !0, !0) : (Te.hostReportError(i), !0);
334
334
  }
335
335
  return !1;
336
336
  }, e.prototype._unsubscribe = function() {
@@ -644,7 +644,7 @@ var _t = ct;
644
644
  function Ft(t, e, r) {
645
645
  return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
646
646
  }
647
- var Qe = D, ue = te, Je = _t, Kn = {
647
+ var Qe = D, ce = te, Je = _t, Kn = {
648
648
  returnDocuments: !1
649
649
  };
650
650
  function ft() {
@@ -656,20 +656,20 @@ Qe(ft.prototype, {
656
656
  return new ft(this.operations.slice(0), this.client, this.trxId);
657
657
  },
658
658
  create: function(e) {
659
- return ue.validateObject("create", e), this._add({
659
+ return ce.validateObject("create", e), this._add({
660
660
  create: e
661
661
  });
662
662
  },
663
663
  createIfNotExists: function(e) {
664
664
  var r = "createIfNotExists";
665
- return ue.validateObject(r, e), ue.requireDocumentId(r, e), this._add(Ft({}, r, e));
665
+ return ce.validateObject(r, e), ce.requireDocumentId(r, e), this._add(Ft({}, r, e));
666
666
  },
667
667
  createOrReplace: function(e) {
668
668
  var r = "createOrReplace";
669
- return ue.validateObject(r, e), ue.requireDocumentId(r, e), this._add(Ft({}, r, e));
669
+ return ce.validateObject(r, e), ce.requireDocumentId(r, e), this._add(Ft({}, r, e));
670
670
  },
671
671
  delete: function(e) {
672
- return ue.validateDocumentId("delete", e), this._add({
672
+ return ce.validateDocumentId("delete", e), this._add({
673
673
  delete: {
674
674
  id: e
675
675
  }
@@ -738,12 +738,12 @@ function ta(t, e) {
738
738
  a = n[i], !(e.indexOf(a) >= 0) && (r[a] = t[a]);
739
739
  return r;
740
740
  }
741
- var ce = encodeURIComponent, Ir = function(t) {
742
- var e = t.query, r = t.params, n = r === void 0 ? {} : r, a = t.options, i = a === void 0 ? {} : a, o = i.tag, s = ea(i, Zn), u = "query=".concat(ce(e)), c = o ? "?tag=".concat(ce(o), "&").concat(u) : "?".concat(u), g = Object.keys(n).reduce(function(d, p) {
743
- return "".concat(d, "&").concat(ce("$".concat(p)), "=").concat(ce(JSON.stringify(n[p])));
741
+ var fe = encodeURIComponent, Ir = function(t) {
742
+ var e = t.query, r = t.params, n = r === void 0 ? {} : r, a = t.options, i = a === void 0 ? {} : a, o = i.tag, s = ea(i, Zn), u = "query=".concat(fe(e)), c = o ? "?tag=".concat(fe(o), "&").concat(u) : "?".concat(u), g = Object.keys(n).reduce(function(d, p) {
743
+ return "".concat(d, "&").concat(fe("$".concat(p)), "=").concat(fe(JSON.stringify(n[p])));
744
744
  }, c);
745
745
  return Object.keys(s).reduce(function(d, p) {
746
- return i[p] ? "".concat(d, "&").concat(ce(p), "=").concat(ce(i[p])) : d;
746
+ return i[p] ? "".concat(d, "&").concat(fe(p), "=").concat(fe(i[p])) : d;
747
747
  }, g);
748
748
  }, We = {}, Ot = {};
749
749
  Object.defineProperty(Ot, "__esModule", { value: !0 });
@@ -1454,16 +1454,16 @@ var Qa = D, Jt = Hr, Ja = Ya, Ka = Mt, Za = za, ei = Lr, ti = Va, ri = Ir, ni =
1454
1454
  function V(f) {
1455
1455
  b.error(ci(f));
1456
1456
  }
1457
- function ie(f) {
1457
+ function oe(f) {
1458
1458
  var w = Br(f);
1459
1459
  return w instanceof Error ? b.error(w) : b.next(w);
1460
1460
  }
1461
- function oe(f) {
1461
+ function se(f) {
1462
1462
  $ = !0, q(), b.complete();
1463
1463
  }
1464
1464
  function q() {
1465
- _.removeEventListener("error", F, !1), _.removeEventListener("channelError", V, !1), _.removeEventListener("disconnect", oe, !1), C.forEach(function(f) {
1466
- return _.removeEventListener(f, ie, !1);
1465
+ _.removeEventListener("error", F, !1), _.removeEventListener("channelError", V, !1), _.removeEventListener("disconnect", se, !1), C.forEach(function(f) {
1466
+ return _.removeEventListener(f, oe, !1);
1467
1467
  }), _.close();
1468
1468
  }
1469
1469
  function R() {
@@ -1473,8 +1473,8 @@ var Qa = D, Jt = Hr, Ja = Ya, Ka = Mt, Za = za, ei = Lr, ti = Va, ri = Ir, ni =
1473
1473
  }
1474
1474
  function l() {
1475
1475
  var f = new Kt(x, O);
1476
- return f.addEventListener("error", F, !1), f.addEventListener("channelError", V, !1), f.addEventListener("disconnect", oe, !1), C.forEach(function(w) {
1477
- return f.addEventListener(w, ie, !1);
1476
+ return f.addEventListener("error", F, !1), f.addEventListener("channelError", V, !1), f.addEventListener("disconnect", se, !1), C.forEach(function(w) {
1477
+ return f.addEventListener(w, oe, !1);
1478
1478
  }), f;
1479
1479
  }
1480
1480
  function h() {
@@ -1508,7 +1508,7 @@ function fi(t) {
1508
1508
  function Zt(t, e, r) {
1509
1509
  return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
1510
1510
  }
1511
- var li = D, di = Oe, Ze = di.filter, hi = Se, me = hi.map, et = te, pi = Mr, vi = Ir, er = Rr, tr = _t, mi = ui, gi = function(e, r) {
1511
+ var li = D, di = Oe, Ze = di.filter, hi = Se, ge = hi.map, et = te, pi = Mr, vi = Ir, er = Rr, tr = _t, mi = ui, gi = function(e, r) {
1512
1512
  var n = typeof e > "u" ? r : e;
1513
1513
  return e === !1 ? void 0 : n;
1514
1514
  }, yi = function() {
@@ -1542,7 +1542,7 @@ var li = D, di = Oe, Ze = di.filter, hi = Se, me = hi.map, et = te, pi = Mr, vi
1542
1542
  }, i = this._dataRequest("query", {
1543
1543
  query: e,
1544
1544
  params: r
1545
- }, n).pipe(me(a));
1545
+ }, n).pipe(ge(a));
1546
1546
  return this.isPromiseAPI() ? De(i) : i;
1547
1547
  },
1548
1548
  getDocument: function(e) {
@@ -1550,7 +1550,7 @@ var li = D, di = Oe, Ze = di.filter, hi = Se, me = hi.map, et = te, pi = Mr, vi
1550
1550
  uri: this.getDataUrl("doc", e),
1551
1551
  json: !0,
1552
1552
  tag: r.tag
1553
- }, a = this._requestObservable(n).pipe(Ze(tt), me(function(i) {
1553
+ }, a = this._requestObservable(n).pipe(Ze(tt), ge(function(i) {
1554
1554
  return i.body.documents && i.body.documents[0];
1555
1555
  }));
1556
1556
  return this.isPromiseAPI() ? De(a) : a;
@@ -1560,7 +1560,7 @@ var li = D, di = Oe, Ze = di.filter, hi = Se, me = hi.map, et = te, pi = Mr, vi
1560
1560
  uri: this.getDataUrl("doc", e.join(",")),
1561
1561
  json: !0,
1562
1562
  tag: r.tag
1563
- }, a = this._requestObservable(n).pipe(Ze(tt), me(function(i) {
1563
+ }, a = this._requestObservable(n).pipe(Ze(tt), ge(function(i) {
1564
1564
  var o = wi(i.body.documents || [], function(s) {
1565
1565
  return s._id;
1566
1566
  });
@@ -1615,7 +1615,7 @@ var li = D, di = Oe, Ze = di.filter, hi = Se, me = hi.map, et = te, pi = Mr, vi
1615
1615
  tag: p,
1616
1616
  canUseCdn: i
1617
1617
  };
1618
- return this._requestObservable(C).pipe(Ze(tt), me(bi), me(function(E) {
1618
+ return this._requestObservable(C).pipe(Ze(tt), ge(bi), ge(function(E) {
1619
1619
  if (!a)
1620
1620
  return E;
1621
1621
  var O = E.results || [];
@@ -2139,22 +2139,22 @@ var vo = /^https?:\/\//i, mo = function(t) {
2139
2139
  }
2140
2140
  return e;
2141
2141
  };
2142
- function he() {
2142
+ function pe() {
2143
2143
  this.readyState = 0;
2144
2144
  }
2145
- he.prototype.open = function(t, e) {
2145
+ pe.prototype.open = function(t, e) {
2146
2146
  this._method = t, this._url = e, this._resHeaders = "", this.readyState = 1, this.onreadystatechange();
2147
2147
  };
2148
- he.prototype.abort = function() {
2148
+ pe.prototype.abort = function() {
2149
2149
  this._controller && this._controller.abort();
2150
2150
  };
2151
- he.prototype.getAllResponseHeaders = function() {
2151
+ pe.prototype.getAllResponseHeaders = function() {
2152
2152
  return this._resHeaders;
2153
2153
  };
2154
- he.prototype.setRequestHeader = function(t, e) {
2154
+ pe.prototype.setRequestHeader = function(t, e) {
2155
2155
  this._headers = this._headers || {}, this._headers[t] = e;
2156
2156
  };
2157
- he.prototype.send = function(t) {
2157
+ pe.prototype.send = function(t) {
2158
2158
  var e = this, r = this._controller = typeof AbortController == "function" && new AbortController(), n = this.responseType !== "arraybuffer", a = {
2159
2159
  method: this._method,
2160
2160
  headers: this._headers,
@@ -2179,7 +2179,7 @@ he.prototype.send = function(t) {
2179
2179
  e.onerror(i);
2180
2180
  });
2181
2181
  };
2182
- var _o = he, Oo = yo, Eo = wo, ur = _o, So = function() {
2182
+ var _o = pe, Oo = yo, Eo = wo, ur = _o, So = function() {
2183
2183
  }, ee = typeof window > "u" ? void 0 : window, cr = ee ? "xhr" : "fetch", Fe = typeof XMLHttpRequest == "function" ? XMLHttpRequest : So, xo = "withCredentials" in new Fe(), Co = typeof XDomainRequest > "u" ? void 0 : XDomainRequest, tn = xo ? Fe : Co;
2184
2184
  ee || (Fe = ur, tn = ur);
2185
2185
  var Po = function(t, e) {
@@ -2200,7 +2200,7 @@ var Po = function(t, e) {
2200
2200
  };
2201
2201
  var O = g ? "onload" : "onreadystatechange";
2202
2202
  if (c[O] = function() {
2203
- $(), !(x || c.readyState !== 4 && !g) && c.status !== 0 && oe();
2203
+ $(), !(x || c.readyState !== 4 && !g) && c.status !== 0 && se();
2204
2204
  }, c.open(
2205
2205
  n.method,
2206
2206
  n.url,
@@ -2237,7 +2237,7 @@ var Po = function(t, e) {
2237
2237
  R.isNetworkError = !0, R.request = n, e(R);
2238
2238
  }
2239
2239
  }
2240
- function ie() {
2240
+ function oe() {
2241
2241
  var q = c.status, R = c.statusText;
2242
2242
  if (g && q === void 0)
2243
2243
  q = 200;
@@ -2255,13 +2255,13 @@ var Po = function(t, e) {
2255
2255
  statusMessage: R
2256
2256
  };
2257
2257
  }
2258
- function oe() {
2258
+ function se() {
2259
2259
  if (!(x || C || E)) {
2260
2260
  if (c.status === 0) {
2261
2261
  V(new Error("Unknown XHR error"));
2262
2262
  return;
2263
2263
  }
2264
- F(), C = !0, e(null, ie());
2264
+ F(), C = !0, e(null, oe());
2265
2265
  }
2266
2266
  }
2267
2267
  }, To = Po, jo = Xi, Do = zi, qo = lo, Mo = mo, Ao = To, Ro = ["request", "response", "progress", "error", "abort"], fr = ["processOptions", "validateOptions", "interceptRequest", "finalizeOptions", "onRequest", "onResponse", "onError", "onReturn", "onHeaders"], Io = function t() {
@@ -2656,7 +2656,7 @@ function gs(t) {
2656
2656
  function ys(t, e, r) {
2657
2657
  return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
2658
2658
  }
2659
- var de = D, bs = Oe, ws = bs.filter, _s = Se, Os = _s.map, Es = _t, Ss = Rr, xs = Oi, Cs = xi, Ps = Pi, Ts = Wi, js = Fi, Ds = Yi, ze = hs, qs = vs, ln = fn, Ms = ln.defaultConfig, As = ln.initConfig, Rs = te, Is = function(e) {
2659
+ var he = D, bs = Oe, ws = bs.filter, _s = Se, Os = _s.map, Es = _t, Ss = Rr, xs = Oi, Cs = xi, Ps = Pi, Ts = Wi, js = Fi, Ds = Yi, ze = hs, qs = vs, ln = fn, Ms = ln.defaultConfig, As = ln.initConfig, Rs = te, Is = function(e) {
2660
2660
  return e.toPromise();
2661
2661
  };
2662
2662
  function W() {
@@ -2664,22 +2664,22 @@ function W() {
2664
2664
  if (!(this instanceof W))
2665
2665
  return new W(t);
2666
2666
  if (this.config(t), this.assets = new Ts(this), this.datasets = new Cs(this), this.projects = new Ps(this), this.users = new js(this), this.auth = new Ds(this), this.clientConfig.isPromiseAPI) {
2667
- var e = de({}, this.clientConfig, {
2667
+ var e = he({}, this.clientConfig, {
2668
2668
  isPromiseAPI: !1
2669
2669
  });
2670
2670
  this.observable = new W(e);
2671
2671
  }
2672
2672
  }
2673
- de(W.prototype, xs);
2674
- de(W.prototype, {
2673
+ he(W.prototype, xs);
2674
+ he(W.prototype, {
2675
2675
  clone: function() {
2676
2676
  return new W(this.config());
2677
2677
  },
2678
2678
  config: function(e) {
2679
2679
  if (typeof e > "u")
2680
- return de({}, this.clientConfig);
2680
+ return he({}, this.clientConfig);
2681
2681
  if (this.observable) {
2682
- var r = de({}, e, {
2682
+ var r = he({}, e, {
2683
2683
  isPromiseAPI: !1
2684
2684
  });
2685
2685
  this.observable.config(r);
@@ -2701,7 +2701,7 @@ de(W.prototype, {
2701
2701
  i && (e.query = gs({
2702
2702
  tag: Rs.requestTag(i)
2703
2703
  }, e.query));
2704
- var o = qs(this.clientConfig, de({}, e, {
2704
+ var o = qs(this.clientConfig, he({}, e, {
2705
2705
  url: this.getUrl(r, a)
2706
2706
  }));
2707
2707
  return ze(o, this.clientConfig.requester);
@@ -2916,10 +2916,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2916
2916
  height: U
2917
2917
  };
2918
2918
  } else {
2919
- var ne = y.width, Pe = Math.round(ne / A), mn = Math.max(0, Math.round(y.left)), gn = Math.round((P.bottom - P.top) / 2 + P.top), ve = Math.max(0, Math.round(gn - Pe / 2));
2920
- ve < y.top ? ve = y.top : ve + Pe > y.top + y.height && (ve = y.top + y.height - Pe), v = {
2919
+ var ne = y.width, Pe = Math.round(ne / A), mn = Math.max(0, Math.round(y.left)), gn = Math.round((P.bottom - P.top) / 2 + P.top), me = Math.max(0, Math.round(gn - Pe / 2));
2920
+ me < y.top ? me = y.top : me + Pe > y.top + y.height && (me = y.top + y.height - Pe), v = {
2921
2921
  left: mn,
2922
- top: ve,
2922
+ top: me,
2923
2923
  width: ne,
2924
2924
  height: Pe
2925
2925
  };
@@ -2934,10 +2934,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2934
2934
  function V(l) {
2935
2935
  return l && "config" in l ? typeof l.config == "function" : !1;
2936
2936
  }
2937
- function ie(l) {
2937
+ function oe(l) {
2938
2938
  return l && "clientConfig" in l ? typeof l.clientConfig == "object" : !1;
2939
2939
  }
2940
- function oe(l) {
2940
+ function se(l) {
2941
2941
  for (var h = E, v = i(h), f; !(f = v()).done; ) {
2942
2942
  var w = f.value, y = w[0], P = w[1];
2943
2943
  if (l === y || l === P)
@@ -2955,7 +2955,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2955
2955
  });
2956
2956
  }
2957
2957
  var P = l;
2958
- if (ie(P)) {
2958
+ if (oe(P)) {
2959
2959
  var A = P.clientConfig, L = A.apiHost, U = A.projectId, k = A.dataset, G = L || "https://api.sanity.io";
2960
2960
  return new R(null, {
2961
2961
  baseUrl: G.replace(/^https:\/\/api\./, "https://cdn."),
@@ -2976,7 +2976,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2976
2976
  };
2977
2977
  for (var P in f)
2978
2978
  if (f.hasOwnProperty(P)) {
2979
- var A = oe(P);
2979
+ var A = se(P);
2980
2980
  y[A] = f[P];
2981
2981
  }
2982
2982
  return new l(this, r({
@@ -3123,7 +3123,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3123
3123
  });
3124
3124
  })(dn);
3125
3125
  var ks = dn.exports;
3126
- const Ns = /* @__PURE__ */ Pr(ks), pe = Us({
3126
+ const Ns = /* @__PURE__ */ Pr(ks), ve = Us({
3127
3127
  projectId: "m5ik5me8",
3128
3128
  dataset: "production",
3129
3129
  apiVersion: "2021-10-26",
@@ -3132,9 +3132,9 @@ const Ns = /* @__PURE__ */ Pr(ks), pe = Us({
3132
3132
  // or leave blank for unauthenticated usage
3133
3133
  useCdn: !0
3134
3134
  // `false` if you want to ensure fresh data
3135
- }), Hs = Ns(pe), kt = (t) => Hs.image(t), Ws = async () => {
3135
+ }), Hs = Ns(ve), kt = (t) => Hs.image(t), Ws = async () => {
3136
3136
  const t = "*[_type == 'banner']";
3137
- return await pe.fetch(t);
3137
+ return await ve.fetch(t);
3138
3138
  }, Ls = async () => {
3139
3139
  const t = `*[_type == 'event'] | order(startDate asc)
3140
3140
  {
@@ -3145,7 +3145,7 @@ const Ns = /* @__PURE__ */ Pr(ks), pe = Us({
3145
3145
  shortDescription,
3146
3146
  buttons
3147
3147
  }`;
3148
- return await pe.fetch(t);
3148
+ return await ve.fetch(t);
3149
3149
  }, Fs = async () => {
3150
3150
  const t = `*[_type == 'board-event'] | order(startDate asc)
3151
3151
  {
@@ -3156,13 +3156,13 @@ const Ns = /* @__PURE__ */ Pr(ks), pe = Us({
3156
3156
  shortDescription,
3157
3157
  buttons
3158
3158
  }`;
3159
- return await pe.fetch(t);
3159
+ return await ve.fetch(t);
3160
3160
  }, Bs = async () => {
3161
3161
  const t = "*[_type == 'category']|order(orderRank)";
3162
- return pe.fetch(t);
3162
+ return ve.fetch(t);
3163
3163
  }, Ys = async () => {
3164
3164
  const t = "*[_type == 'rateCategory']|order(orderRank)";
3165
- return pe.fetch(t);
3165
+ return ve.fetch(t);
3166
3166
  }, Xs = "_banner_1d1ur_1", mr = {
3167
3167
  banner: Xs
3168
3168
  }, zs = {
@@ -3181,7 +3181,7 @@ const Ns = /* @__PURE__ */ Pr(ks), pe = Us({
3181
3181
  const a = () => {
3182
3182
  r && (window.location.href = r);
3183
3183
  };
3184
- return n ? /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsx("div", { className: mr.banner, style: { display: "block" }, children: /* @__PURE__ */ m.jsx(le, { height: "100%", width: "100%" }) }) }) : /* @__PURE__ */ m.jsx(
3184
+ return n ? /* @__PURE__ */ m.jsx("div", { className: mr.banner, style: { display: "block" }, children: /* @__PURE__ */ m.jsx(ie, { height: "100%", width: "100%" }) }) : /* @__PURE__ */ m.jsx(
3185
3185
  "span",
3186
3186
  {
3187
3187
  onClick: a,
@@ -3357,7 +3357,7 @@ var lu = {
3357
3357
  return lu[t];
3358
3358
  };
3359
3359
  const hu = du;
3360
- function ge(t) {
3360
+ function ye(t) {
3361
3361
  return function(e, r) {
3362
3362
  var n = r || {}, a = n.context ? String(n.context) : "standalone", i;
3363
3363
  if (a === "formatting" && t.formattingValues) {
@@ -3464,26 +3464,26 @@ var pu = {
3464
3464
  return r + "th";
3465
3465
  }, _u = {
3466
3466
  ordinalNumber: wu,
3467
- era: ge({
3467
+ era: ye({
3468
3468
  values: pu,
3469
3469
  defaultWidth: "wide"
3470
3470
  }),
3471
- quarter: ge({
3471
+ quarter: ye({
3472
3472
  values: vu,
3473
3473
  defaultWidth: "wide",
3474
3474
  argumentCallback: function(t) {
3475
3475
  return t - 1;
3476
3476
  }
3477
3477
  }),
3478
- month: ge({
3478
+ month: ye({
3479
3479
  values: mu,
3480
3480
  defaultWidth: "wide"
3481
3481
  }),
3482
- day: ge({
3482
+ day: ye({
3483
3483
  values: gu,
3484
3484
  defaultWidth: "wide"
3485
3485
  }),
3486
- dayPeriod: ge({
3486
+ dayPeriod: ye({
3487
3487
  values: yu,
3488
3488
  defaultWidth: "wide",
3489
3489
  formattingValues: bu,
@@ -3491,7 +3491,7 @@ var pu = {
3491
3491
  })
3492
3492
  };
3493
3493
  const Ou = _u;
3494
- function ye(t) {
3494
+ function be(t) {
3495
3495
  return function(e) {
3496
3496
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = r.width, a = n && t.matchPatterns[n] || t.matchPatterns[t.defaultMatchWidth], i = e.match(a);
3497
3497
  if (!i)
@@ -3585,13 +3585,13 @@ var Cu = /^(\d+)(th|st|nd|rd)?/i, Pu = /\d+/i, Tu = {
3585
3585
  return parseInt(t, 10);
3586
3586
  }
3587
3587
  }),
3588
- era: ye({
3588
+ era: be({
3589
3589
  matchPatterns: Tu,
3590
3590
  defaultMatchWidth: "wide",
3591
3591
  parsePatterns: ju,
3592
3592
  defaultParseWidth: "any"
3593
3593
  }),
3594
- quarter: ye({
3594
+ quarter: be({
3595
3595
  matchPatterns: Du,
3596
3596
  defaultMatchWidth: "wide",
3597
3597
  parsePatterns: qu,
@@ -3600,19 +3600,19 @@ var Cu = /^(\d+)(th|st|nd|rd)?/i, Pu = /\d+/i, Tu = {
3600
3600
  return t + 1;
3601
3601
  }
3602
3602
  }),
3603
- month: ye({
3603
+ month: be({
3604
3604
  matchPatterns: Mu,
3605
3605
  defaultMatchWidth: "wide",
3606
3606
  parsePatterns: Au,
3607
3607
  defaultParseWidth: "any"
3608
3608
  }),
3609
- day: ye({
3609
+ day: be({
3610
3610
  matchPatterns: Ru,
3611
3611
  defaultMatchWidth: "wide",
3612
3612
  parsePatterns: Iu,
3613
3613
  defaultParseWidth: "any"
3614
3614
  }),
3615
- dayPeriod: ye({
3615
+ dayPeriod: be({
3616
3616
  matchPatterns: $u,
3617
3617
  defaultMatchWidth: "any",
3618
3618
  parsePatterns: Uu,
@@ -3765,7 +3765,7 @@ var Ju = {
3765
3765
  }
3766
3766
  };
3767
3767
  const K = Ju;
3768
- var fe = {
3768
+ var le = {
3769
3769
  am: "am",
3770
3770
  pm: "pm",
3771
3771
  midnight: "midnight",
@@ -4146,7 +4146,7 @@ var fe = {
4146
4146
  // AM, PM, midnight, noon
4147
4147
  b: function(t, e, r) {
4148
4148
  var n = t.getUTCHours(), a;
4149
- switch (n === 12 ? a = fe.noon : n === 0 ? a = fe.midnight : a = n / 12 >= 1 ? "pm" : "am", e) {
4149
+ switch (n === 12 ? a = le.noon : n === 0 ? a = le.midnight : a = n / 12 >= 1 ? "pm" : "am", e) {
4150
4150
  case "b":
4151
4151
  case "bb":
4152
4152
  return r.dayPeriod(a, {
@@ -4174,7 +4174,7 @@ var fe = {
4174
4174
  // in the morning, in the afternoon, in the evening, at night
4175
4175
  B: function(t, e, r) {
4176
4176
  var n = t.getUTCHours(), a;
4177
- switch (n >= 17 ? a = fe.evening : n >= 12 ? a = fe.afternoon : n >= 4 ? a = fe.morning : a = fe.night, e) {
4177
+ switch (n >= 17 ? a = le.evening : n >= 12 ? a = le.afternoon : n >= 4 ? a = le.morning : a = le.night, e) {
4178
4178
  case "B":
4179
4179
  case "BB":
4180
4180
  case "BBB":
@@ -4424,7 +4424,7 @@ function Or(t, e, r) {
4424
4424
  throw new RangeError("Use `dd` instead of `DD` (in `".concat(e, "`) for formatting days of the month to the input `").concat(r, "`; see: https://git.io/fxCyr"));
4425
4425
  }
4426
4426
  var sc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, uc = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, cc = /^'([^]*?)'?$/, fc = /''/g, lc = /[a-zA-Z]/;
4427
- function be(t, e, r) {
4427
+ function we(t, e, r) {
4428
4428
  M(2, arguments);
4429
4429
  var n = String(e), a = r || {}, i = a.locale || Wu, o = i.options && i.options.firstWeekContainsDate, s = o == null ? 1 : H(o), u = a.firstWeekContainsDate == null ? s : H(a.firstWeekContainsDate);
4430
4430
  if (!(u >= 1 && u <= 7))
@@ -4503,13 +4503,19 @@ const pc = "_eventCard_1qrgl_1", vc = "_eventCardBody_1qrgl_12", mc = "_image_1q
4503
4503
  crossOrigin: "anonymous",
4504
4504
  alt: ""
4505
4505
  }
4506
- ) : /* @__PURE__ */ m.jsx("div", { className: Y.image, children: /* @__PURE__ */ m.jsx(le, { height: 400 }) }),
4506
+ ) : /* @__PURE__ */ m.jsx("div", { className: Y.image, children: /* @__PURE__ */ m.jsx(
4507
+ ie,
4508
+ {
4509
+ height: 400,
4510
+ style: { lineHeight: "normal" }
4511
+ }
4512
+ ) }),
4507
4513
  /* @__PURE__ */ m.jsxs("div", { className: Y.eventCardBody, children: [
4508
4514
  /* @__PURE__ */ m.jsxs("div", { children: [
4509
- /* @__PURE__ */ m.jsx("h3", { className: Y.eventCardTitle, children: t || /* @__PURE__ */ m.jsx(le, {}) }),
4510
- /* @__PURE__ */ m.jsx("div", { className: Y.eventCardDate, children: u || /* @__PURE__ */ m.jsx(le, {}) })
4515
+ /* @__PURE__ */ m.jsx("h3", { className: Y.eventCardTitle, children: t || /* @__PURE__ */ m.jsx(ie, {}) }),
4516
+ /* @__PURE__ */ m.jsx("div", { className: Y.eventCardDate, children: u || /* @__PURE__ */ m.jsx(ie, {}) })
4511
4517
  ] }),
4512
- /* @__PURE__ */ m.jsx("div", { className: Y.eventCardDescription, children: a ? /* @__PURE__ */ m.jsx(Cr, { value: a }) : /* @__PURE__ */ m.jsx(le, { count: 7 }) }),
4518
+ /* @__PURE__ */ m.jsx("div", { className: Y.eventCardDescription, children: a ? /* @__PURE__ */ m.jsx(Cr, { value: a }) : /* @__PURE__ */ m.jsx(ie, { count: 7 }) }),
4513
4519
  /* @__PURE__ */ m.jsx("div", { className: Y.eventButtons, children: i ? i.map(({ url: c, text: g, _key: d }) => /* @__PURE__ */ m.jsx(
4514
4520
  "a",
4515
4521
  {
@@ -4518,7 +4524,7 @@ const pc = "_eventCard_1qrgl_1", vc = "_eventCardBody_1qrgl_12", mc = "_image_1q
4518
4524
  children: /* @__PURE__ */ m.jsx("div", { children: g })
4519
4525
  },
4520
4526
  d
4521
- )) : o && /* @__PURE__ */ m.jsx(le, { className: Y.eventButton }) })
4527
+ )) : o && /* @__PURE__ */ m.jsx(ie, { className: Y.eventButton }) })
4522
4528
  ] })
4523
4529
  ] }) });
4524
4530
  };
@@ -4526,7 +4532,7 @@ function Ec(t, e) {
4526
4532
  if (!t || !e)
4527
4533
  return null;
4528
4534
  const r = new Date(t), n = new Date(e);
4529
- return eu(r, n) ? be(r, "MMMM d") : hc(r, n) ? be(r, "MMMM d") + " – " + be(n, "d") : be(r, "MMMM d") + " – " + be(n, "MMMM d");
4535
+ return eu(r, n) ? we(r, "MMMM d") : hc(r, n) ? we(r, "MMMM d") + " – " + we(n, "d") : we(r, "MMMM d") + " – " + we(n, "MMMM d");
4530
4536
  }
4531
4537
  const Sc = () => /* @__PURE__ */ m.jsxs(
4532
4538
  "svg",
@@ -4567,7 +4573,7 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4567
4573
  ] })
4568
4574
  ] }),
4569
4575
  /* @__PURE__ */ m.jsx("div", { className: Me.eventsContainer, children: t.map((a, i) => /* @__PURE__ */ I.createElement(Oc, { ...a, key: i, loading: e })) })
4570
- ] }), Dc = "_contentButton_2dk7a_1", qc = "_overlay_2dk7a_40", Mc = "_buttonTitle_2dk7a_56", Ac = "_buttonSubtitle_2dk7a_57", Rc = "_contentButtonsHeader_2dk7a_73", we = {
4576
+ ] }), Dc = "_contentButton_2dk7a_1", qc = "_overlay_2dk7a_40", Mc = "_buttonTitle_2dk7a_56", Ac = "_buttonSubtitle_2dk7a_57", Rc = "_contentButtonsHeader_2dk7a_73", de = {
4571
4577
  contentButton: Dc,
4572
4578
  "category-image": "_category-image_2dk7a_25",
4573
4579
  overlay: qc,
@@ -4578,32 +4584,51 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4578
4584
  title: t,
4579
4585
  subtitle: e,
4580
4586
  url: r,
4581
- imageUrl: n
4582
- }) => /* @__PURE__ */ m.jsxs("a", { href: r, className: we.contentButton, children: [
4587
+ imageUrl: n,
4588
+ loading: a
4589
+ }) => a ? /* @__PURE__ */ m.jsx(
4590
+ "div",
4591
+ {
4592
+ className: de.contentButton,
4593
+ style: { display: "block" },
4594
+ children: /* @__PURE__ */ m.jsx(
4595
+ ie,
4596
+ {
4597
+ height: "100%",
4598
+ width: "100%",
4599
+ style: { lineHeight: "normal" }
4600
+ }
4601
+ )
4602
+ }
4603
+ ) : /* @__PURE__ */ m.jsxs("a", { href: r, className: de.contentButton, children: [
4583
4604
  /* @__PURE__ */ m.jsx(
4584
4605
  "img",
4585
4606
  {
4586
4607
  src: n,
4587
4608
  alt: t,
4588
- className: we["category-image"]
4609
+ className: de["category-image"]
4589
4610
  }
4590
4611
  ),
4591
- /* @__PURE__ */ m.jsxs("div", { className: we.overlay, children: [
4592
- /* @__PURE__ */ m.jsx("div", { className: we.buttonTitle, children: t }),
4593
- /* @__PURE__ */ m.jsx("div", { className: we.buttonSubtitle, children: e })
4612
+ /* @__PURE__ */ m.jsxs("div", { className: de.overlay, children: [
4613
+ /* @__PURE__ */ m.jsx("div", { className: de.buttonTitle, children: t }),
4614
+ /* @__PURE__ */ m.jsx("div", { className: de.buttonSubtitle, children: e })
4594
4615
  ] })
4595
4616
  ] }), $c = "_categoryContainer_1yxkk_1", Uc = "_categoryContainerHeader_1yxkk_25", kc = {
4596
4617
  categoryContainer: $c,
4597
4618
  categoryContainerHeader: Uc
4598
- }, Nc = ({ categories: t }) => /* @__PURE__ */ m.jsx("div", { children: /* @__PURE__ */ m.jsx("div", { className: kc.categoryContainer, children: t.length > 0 && t.map((e) => /* @__PURE__ */ m.jsx(
4619
+ }, Nc = ({
4620
+ categories: t,
4621
+ loading: e
4622
+ }) => /* @__PURE__ */ m.jsx("div", { children: /* @__PURE__ */ m.jsx("div", { className: kc.categoryContainer, children: t.length > 0 && t.map((r) => /* @__PURE__ */ m.jsx(
4599
4623
  Ic,
4600
4624
  {
4601
- title: e.title,
4602
- subtitle: e.subtitle,
4603
- url: e.url,
4604
- imageUrl: e.imageUrl
4625
+ title: r.title,
4626
+ subtitle: r.subtitle,
4627
+ url: r.url,
4628
+ imageUrl: r.imageUrl,
4629
+ loading: e
4605
4630
  },
4606
- e.title
4631
+ r.title
4607
4632
  )) }) }), Hc = (t) => t.map((e) => ({
4608
4633
  ...e,
4609
4634
  imageUrl: kt(e.image).width(800).url()
@@ -4709,7 +4734,7 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4709
4734
  Bs().then(
4710
4735
  (a) => e(Hc(a))
4711
4736
  ).catch((a) => console.log(a)).finally(() => n(!1));
4712
- }, []), /* @__PURE__ */ m.jsx(Nc, { categories: t });
4737
+ }, []), /* @__PURE__ */ m.jsx(Nc, { categories: t, loading: r });
4713
4738
  }, zc = {
4714
4739
  "rates-container": "_rates-container_123ct_1"
4715
4740
  }, Kc = () => {
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- ._banner_1d1ur_1{height:300px;padding:15px;width:100%;background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:9px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;font-family:Montserrat,sans-serif;font-size:28px;font-weight:700;color:#fff;text-align:start;box-shadow:0 4px 4px #00000040;transition:all .3s cubic-bezier(.25,.8,.25,1);text-decoration:none}._banner_1d1ur_1:hover{box-shadow:0 14px 28px #00000040,0 10px 10px #00000038;text-decoration:none;color:#fff}._banner_1d1ur_1 p{margin:0;line-height:normal}._banner_1d1ur_1 a{color:#b50;text-decoration:none}._banner_1d1ur_1 a:hover{color:#ff8622;text-decoration:underline}@media only screen and (min-width: 550px){._banner_1d1ur_1{font-size:48px;padding:20px}}@media only screen and (min-width: 1000px){._banner_1d1ur_1{font-size:54px;height:375px;min-width:49%;padding:40px;flex:1}}@media only screen and (min-width: 1440px){._banner_1d1ur_1{padding:1em}}._bannerContainer_79bac_1{display:flex;flex-direction:column;align-items:center;padding:0 10px}._bannerApp_79bac_8{display:flex;flex-direction:column;flex-wrap:wrap;align-items:center;justify-content:center;gap:15px;width:100%;max-width:1440px}@media only screen and (min-width: 550px){._bannerContainer_79bac_1{padding:0 20px}}@media only screen and (min-width: 1000px){._bannerContainer_79bac_1{padding:0}._bannerApp_79bac_8{flex-direction:row}}._eventCard_1qrgl_1{display:flex;flex-direction:column;width:100%;background:rgba(255,254,240,1);color:#333;box-shadow:0 4px 4px #00000040;border-radius:4px}._eventCardBody_1qrgl_12{flex:1 1 66%;display:flex;flex-direction:column;gap:1em;padding:1em!important;font-size:14px;line-height:unset!important}._eventCardBody_1qrgl_12 p{line-height:unset!important;margin:0}._image_1qrgl_27{object-fit:cover;width:100%;border-radius:4px 4px 0 0}._eventCardTitle_1qrgl_33{font-family:Montserrat,sans-serif;font-size:24px;text-transform:unset!important;margin:0}._eventCardDate_1qrgl_40{font-family:Montserrat,sans-serif;font-size:18px}._eventCardDescription_1qrgl_45{font-size:16px}._eventCardDescription_1qrgl_45 p:not(:last-of-type){margin-bottom:.5em}._eventButtons_1qrgl_53{font-family:Montserrat,sans-serif;font-weight:700;text-transform:uppercase;display:flex;flex-direction:row;gap:1em;margin-top:.5em}._eventButtons_1qrgl_53>span{width:100%}._eventButtons_1qrgl_53 a{text-decoration:none}._eventButton_1qrgl_53{flex:1;background:#5388d7;color:#fff;padding:1em;text-align:center;border-radius:4px}._eventButton_1qrgl_53:hover{color:#fff;background-color:#3e7bd7}@media (min-width: 550px){._eventCardBody_1qrgl_12{padding:1.5em!important}._eventCardTitle_1qrgl_33{font-size:28px}._eventCardDate_1qrgl_40,._eventCardDescription_1qrgl_45{font-size:20px}}@media (min-width: 800px){._eventCard_1qrgl_1{flex-direction:row;min-height:325px}._image_1qrgl_27{width:400px;max-height:none;border-radius:4px 0 0 4px}._eventCardTitle_1qrgl_33{font-size:32px}._eventCardDescription_1qrgl_45{font-size:22px}._eventButtons_1qrgl_53{justify-content:flex-end;margin-top:auto}._eventButton_1qrgl_53{flex:0 1 50%}._eventButton_1qrgl_53:only-child{flex:0 1 calc(50% - .5em)}}._campEventsApp_6gd1t_1{background:rgba(254,209,54,.75);display:flex;flex-direction:column;width:100%;padding-bottom:20px;position:relative}._campEventsApp_6gd1t_1>div{padding:0 10px}._eventsHeader_6gd1t_14{display:flex;flex-direction:column;align-items:flex-start;margin:25px 0;gap:1em;z-index:5}._eventsHeader_6gd1t_14 h1{font-family:Montserrat,sans-serif;margin:0;font-size:28px;text-transform:unset!important}._calendarButton_6gd1t_30{text-decoration:none;background:#5388d7;padding:.5em .75em;color:#fff;border-radius:4px;flex-grow:0;font-size:16px;display:flex;flex-direction:row;gap:5px}._calendarButton_6gd1t_30:hover{background:#3e7bd7;color:#fff;text-decoration:none}._eventsContainer_6gd1t_50{display:flex;flex-direction:column;padding-bottom:15px;gap:20px}@media only screen and (min-width: 550px){._campEventsApp_6gd1t_1>div{padding:0 20px}._eventsHeader_6gd1t_14{margin:35px 0}._eventsHeader_6gd1t_14 h1{font-size:48px}._calendarButton_6gd1t_30{padding:.75em 1em;font-size:20px}._eventsContainer_6gd1t_50{flex-direction:column;padding-top:5px!important;padding-bottom:20px!important}}@media only screen and (min-width: 1000px){._campEventsApp_6gd1t_1{max-width:1440px;padding:1px 1px 1em;border-radius:9px;box-shadow:0 4px 4px #00000040}._eventsHeader_6gd1t_14{flex-wrap:wrap;flex-direction:row;align-items:center;justify-content:space-between;margin:30px 0}._eventsHeader_6gd1t_14 h1{font-size:54px}._campEventsApp_6gd1t_1>div{padding:0 40px}._eventsContainer_6gd1t_50{gap:20px}._eventsContainer_6gd1t_50:before{border-radius:9px}}@media only screen and (min-width: 1440px){._campEventsApp_6gd1t_1>div{padding:0 4em}._eventsHeader_6gd1t_14 h1{font-size:54px}}._contentButton_2dk7a_1{position:relative;flex:1 1 auto;width:100%;height:250px;border-radius:9px;text-decoration:none;font-family:Montserrat,sans-serif;font-weight:700;color:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;transition:all .3s cubic-bezier(.25,.8,.25,1)}._contentButton_2dk7a_1:hover{color:#fff!important;text-decoration:none!important;box-shadow:0 14px 28px #00000040,0 10px 10px #00000038}._category-image_2dk7a_25{object-fit:cover;overflow:hidden;border-radius:9px;position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent}._overlay_2dk7a_40{position:absolute;width:100%;height:100%;border-radius:9px;padding:1em;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1em;background:rgba(0,0,0,.3)}._buttonTitle_2dk7a_56,._buttonSubtitle_2dk7a_57{text-align:center}._buttonTitle_2dk7a_56{font-weight:700;font-size:38px;line-height:1em;color:#fed136}._buttonSubtitle_2dk7a_57{font-size:16px}@media only screen and (min-width: 550px){._contentButtonsHeader_2dk7a_73 h1{font-size:48px}._contentButton_2dk7a_1{flex:1 0 300px;height:250px}._buttonTitle_2dk7a_56{font-size:42px}._buttonSubtitle_2dk7a_57{font-size:20px}}@media only screen and (min-width: 1000px){._contentButton_2dk7a_1{flex:1 0 400px;height:350px}._buttonTitle_2dk7a_56{font-size:50px}._buttonSubtitle_2dk7a_57{font-size:22px}}@media only screen and (min-width: 1250px){._contentButton_2dk7a_1{flex:1 0 550px}}@media only screen and (min-width: 1440px){._contentButton_2dk7a_1{flex:1 0 600px}._buttonTitle_2dk7a_56{font-size:54px}._buttonSubtitle_2dk7a_57{font-size:24px}}._categoryContainer_1yxkk_1{width:100%;padding:0 10px;display:flex;flex-direction:column;flex-wrap:wrap;gap:20px;justify-content:center;align-items:center;text-align:center}@media only screen and (min-width: 550px){._categoryContainer_1yxkk_1{padding:0 20px;flex-direction:row}}@media only screen and (min-width: 1000px){._categoryContainer_1yxkk_1{padding:0}._categoryContainerHeader_1yxkk_25 h1{font-size:58px}}._description_z94kn_1{margin:.75em 0}._description_z94kn_1 h4{text-transform:uppercase;font-family:Montserrat,sans-serif}._group-title_12ylh_1>td:first-child{font-weight:700}._rate-group-child_12ylh_5>td:first-child{padding-left:20px}._rate-table_6wuu7_1{width:100%;border-spacing:0;white-space:pre-line}._rate-table_6wuu7_1 tr:nth-child(odd){background-color:#fed13666}._rate-table_6wuu7_1 tr:nth-child(2n){background-color:#ff852299}._rate-table_6wuu7_1 tr._background-darker_6wuu7_15{background-color:#ff852299}._rate-table_6wuu7_1 td{vertical-align:top;padding:2.5px 5px}._rate-table_6wuu7_1 td:first-of-type{width:50%;text-align:left}._rate-table_6wuu7_1 td:last-of-type{text-align:right}._group-title_6wuu7_33>td:first-child{font-weight:700}._rate-card_i5ys9_1{width:100%;max-width:700px;margin:auto;padding:1em;background-color:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;flex-shrink:0;align-self:flex-start;font-size:1em}._rate-card-heading_i5ys9_13{margin:0 0 1em}._rate-card-heading_i5ys9_13 h3{font-family:Montserrat,sans-serif;text-align:center;text-transform:uppercase;font-weight:700;font-size:22px}._rate-card_i5ys9_1 h3,._rate-card_i5ys9_1 h4{margin:0}@media (min-width: 400px){._rate-card-heading_i5ys9_13 h3{font-size:24px}}@media (min-width: 550px){._rate-card_i5ys9_1{font-size:1.15em;border-radius:9px}._rate-card-heading_i5ys9_13 h3{font-size:26px}}@media (min-width: 900px){._rate-card_i5ys9_1{padding:25px;font-size:1.25em}._rate-card-heading_i5ys9_13 h3{font-size:30px}}._rates-container_123ct_1{display:flex;flex-direction:column;width:100%;padding:5px 0;gap:20px;background-color:#fffef0}@media (min-width: 550px){._rates-container_123ct_1{padding:15px}}
1
+ ._banner_1d1ur_1{height:300px;padding:15px;width:100%;background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:9px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;font-family:Montserrat,sans-serif;font-size:28px;font-weight:700;color:#fff;text-align:start;box-shadow:0 4px 4px #00000040;transition:all .3s cubic-bezier(.25,.8,.25,1);text-decoration:none}._banner_1d1ur_1:hover{box-shadow:0 14px 28px #00000040,0 10px 10px #00000038;text-decoration:none;color:#fff}._banner_1d1ur_1 p{margin:0;line-height:normal}._banner_1d1ur_1 a{color:#b50;text-decoration:none}._banner_1d1ur_1 a:hover{color:#ff8622;text-decoration:underline}@media only screen and (min-width: 550px){._banner_1d1ur_1{font-size:48px;padding:20px}}@media only screen and (min-width: 1000px){._banner_1d1ur_1{font-size:54px;height:375px;min-width:49%;padding:40px;flex:1}}@media only screen and (min-width: 1440px){._banner_1d1ur_1{padding:1em}}._bannerContainer_79bac_1{display:flex;flex-direction:column;align-items:center;padding:0 10px}._bannerApp_79bac_8{display:flex;flex-direction:column;flex-wrap:wrap;align-items:center;justify-content:center;gap:15px;width:100%;max-width:1440px}@media only screen and (min-width: 550px){._bannerContainer_79bac_1{padding:0 20px}}@media only screen and (min-width: 1000px){._bannerContainer_79bac_1{padding:0}._bannerApp_79bac_8{flex-direction:row}}._eventCard_1qrgl_1{display:flex;flex-direction:column;width:100%;background:rgba(255,254,240,1);color:#333;box-shadow:0 4px 4px #00000040;border-radius:4px}._eventCardBody_1qrgl_12{flex:1 1 66%;display:flex;flex-direction:column;gap:1em;padding:1em!important;font-size:14px;line-height:unset!important}._eventCardBody_1qrgl_12 p{line-height:unset!important;margin:0}._image_1qrgl_27{object-fit:cover;width:100%;border-radius:4px 4px 0 0}._eventCardTitle_1qrgl_33{font-family:Montserrat,sans-serif;font-size:24px;text-transform:unset!important;margin:0}._eventCardDate_1qrgl_40{font-family:Montserrat,sans-serif;font-size:18px}._eventCardDescription_1qrgl_45{font-size:16px}._eventCardDescription_1qrgl_45 p:not(:last-of-type){margin-bottom:.5em}._eventButtons_1qrgl_53{font-family:Montserrat,sans-serif;font-weight:700;text-transform:uppercase;display:flex;flex-direction:row;gap:1em;margin-top:.5em}._eventButtons_1qrgl_53>span{width:100%}._eventButtons_1qrgl_53 a{text-decoration:none}._eventButton_1qrgl_53{flex:1;background:#5388d7;color:#fff;padding:1em;text-align:center;border-radius:4px}._eventButton_1qrgl_53:hover{color:#fff;background-color:#3e7bd7}@media (min-width: 550px){._eventCardBody_1qrgl_12{padding:1.5em!important}._eventCardTitle_1qrgl_33{font-size:28px}._eventCardDate_1qrgl_40,._eventCardDescription_1qrgl_45{font-size:20px}}@media (min-width: 800px){._eventCard_1qrgl_1{flex-direction:row;min-height:325px}._image_1qrgl_27{width:400px;max-height:none;border-radius:4px 0 0 4px}._eventCardTitle_1qrgl_33{font-size:32px}._eventCardDescription_1qrgl_45{font-size:22px}._eventButtons_1qrgl_53{justify-content:flex-end;margin-top:auto}._eventButton_1qrgl_53{flex:0 1 50%}._eventButton_1qrgl_53:only-child{flex:0 1 calc(50% - .5em)}}._campEventsApp_6gd1t_1{background:rgba(254,209,54,.75);display:flex;flex-direction:column;width:100%;padding-bottom:20px;position:relative}._campEventsApp_6gd1t_1>div{padding:0 10px}._eventsHeader_6gd1t_14{display:flex;flex-direction:column;align-items:flex-start;margin:25px 0;gap:1em;z-index:5}._eventsHeader_6gd1t_14 h1{font-family:Montserrat,sans-serif;margin:0;font-size:28px;text-transform:unset!important}._calendarButton_6gd1t_30{text-decoration:none;background:#5388d7;padding:.5em .75em;color:#fff;border-radius:4px;flex-grow:0;font-size:16px;display:flex;flex-direction:row;gap:5px}._calendarButton_6gd1t_30:hover{background:#3e7bd7;color:#fff;text-decoration:none}._eventsContainer_6gd1t_50{display:flex;flex-direction:column;padding-bottom:15px;gap:20px}@media only screen and (min-width: 550px){._campEventsApp_6gd1t_1>div{padding:0 20px}._eventsHeader_6gd1t_14{margin:35px 0}._eventsHeader_6gd1t_14 h1{font-size:48px}._calendarButton_6gd1t_30{padding:.75em 1em;font-size:20px}._eventsContainer_6gd1t_50{flex-direction:column;padding-top:5px!important;padding-bottom:20px!important}}@media only screen and (min-width: 1000px){._campEventsApp_6gd1t_1{max-width:1440px;padding:1px 1px 1em;border-radius:9px;box-shadow:0 4px 4px #00000040}._eventsHeader_6gd1t_14{flex-wrap:wrap;flex-direction:row;align-items:center;justify-content:space-between;margin:30px 0}._eventsHeader_6gd1t_14 h1{font-size:54px}._campEventsApp_6gd1t_1>div{padding:0 40px}._eventsContainer_6gd1t_50{gap:20px}._eventsContainer_6gd1t_50:before{border-radius:9px}}@media only screen and (min-width: 1440px){._campEventsApp_6gd1t_1>div{padding:0 4em}._eventsHeader_6gd1t_14 h1{font-size:54px}}._contentButton_2dk7a_1{position:relative;flex:1 1 auto;width:100%;height:250px;border-radius:9px;text-decoration:none;font-family:Montserrat,sans-serif;font-weight:700;color:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;transition:all .3s cubic-bezier(.25,.8,.25,1)}._contentButton_2dk7a_1:hover{color:#fff!important;text-decoration:none!important;box-shadow:0 14px 28px #00000040,0 10px 10px #00000038}._category-image_2dk7a_25{object-fit:cover;overflow:hidden;border-radius:9px;position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent}._overlay_2dk7a_40{position:absolute;width:100%;height:100%;border-radius:9px;padding:1em;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1em;background:rgba(0,0,0,.3)}._buttonTitle_2dk7a_56,._buttonSubtitle_2dk7a_57{text-align:center}._buttonTitle_2dk7a_56{font-weight:700;font-size:38px;line-height:1em;color:#fed136}._buttonSubtitle_2dk7a_57{font-size:16px}@media only screen and (min-width: 550px){._contentButtonsHeader_2dk7a_73 h1{font-size:48px}._contentButton_2dk7a_1{flex:1 0 300px;height:250px}._buttonTitle_2dk7a_56{font-size:42px}._buttonSubtitle_2dk7a_57{font-size:20px}}@media only screen and (min-width: 1000px){._contentButton_2dk7a_1{flex:1 0 400px;height:350px}._buttonTitle_2dk7a_56{font-size:50px}._buttonSubtitle_2dk7a_57{font-size:22px}}@media only screen and (min-width: 1250px){._contentButton_2dk7a_1{flex:1 0 550px}}@media only screen and (min-width: 1440px){._contentButton_2dk7a_1{flex:1 0 600px}._buttonTitle_2dk7a_56{font-size:54px}._buttonSubtitle_2dk7a_57{font-size:24px}}._categoryContainer_1yxkk_1{width:100%;padding:0 10px;display:flex;flex-direction:column;flex-wrap:wrap;gap:20px;justify-content:center;align-items:center;text-align:center}@media only screen and (min-width: 550px){._categoryContainer_1yxkk_1{padding:0 20px;flex-direction:row}}@media only screen and (min-width: 1000px){._categoryContainer_1yxkk_1{padding:0}._categoryContainerHeader_1yxkk_25 h1{font-size:58px}}._description_z94kn_1{margin:.75em 0}._description_z94kn_1 h4{text-transform:uppercase;font-family:Montserrat,sans-serif}._group-title_12ylh_1>td:first-child{font-weight:700}._rate-group-child_12ylh_5>td:first-child{padding-left:20px}._rate-table_6wuu7_1{width:100%;border-spacing:0;white-space:pre-line}._rate-table_6wuu7_1 tr:nth-child(odd){background-color:#fed13666}._rate-table_6wuu7_1 tr:nth-child(2n){background-color:#ff852299}._rate-table_6wuu7_1 tr._background-darker_6wuu7_15{background-color:#ff852299}._rate-table_6wuu7_1 td{vertical-align:top;padding:2.5px 5px}._rate-table_6wuu7_1 td:first-of-type{width:50%;text-align:left}._rate-table_6wuu7_1 td:last-of-type{text-align:right}._group-title_6wuu7_33>td:first-child{font-weight:700}._rate-card_i5ys9_1{width:100%;max-width:700px;margin:auto;padding:1em;background-color:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;flex-shrink:0;align-self:flex-start;font-size:1em}._rate-card-heading_i5ys9_13{margin:0 0 1em}._rate-card-heading_i5ys9_13 h3{font-family:Montserrat,sans-serif;text-align:center;text-transform:uppercase;font-weight:700;font-size:22px}._rate-card_i5ys9_1 h3,._rate-card_i5ys9_1 h4{margin:0}@media (min-width: 400px){._rate-card-heading_i5ys9_13 h3{font-size:24px}}@media (min-width: 550px){._rate-card_i5ys9_1{font-size:1.15em;border-radius:9px}._rate-card-heading_i5ys9_13 h3{font-size:26px}}@media (min-width: 900px){._rate-card_i5ys9_1{padding:25px;font-size:1.25em}._rate-card-heading_i5ys9_13 h3{font-size:30px}}._rates-container_123ct_1{display:flex;flex-direction:column;width:100%;padding:5px 0;gap:20px;background-color:#fffef0}@media (min-width: 550px){._rates-container_123ct_1{padding:15px}}@keyframes react-loading-skeleton{to{transform:translate(100%)}}.react-loading-skeleton{--base-color: #ebebeb;--highlight-color: #f5f5f5;--animation-duration: 1.5s;--animation-direction: normal;--pseudo-element-display: block;background-color:var(--base-color);width:100%;border-radius:.25rem;display:inline-flex;line-height:1;position:relative;-webkit-user-select:none;user-select:none;overflow:hidden;z-index:1}.react-loading-skeleton:after{content:" ";display:var(--pseudo-element-display);position:absolute;top:0;left:0;right:0;height:100%;background-repeat:no-repeat;background-image:linear-gradient(90deg,var(--base-color),var(--highlight-color),var(--base-color));transform:translate(-100%);animation-name:react-loading-skeleton;animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-timing-function:ease-in-out;animation-iteration-count:infinite}@media (prefers-reduced-motion){.react-loading-skeleton{--pseudo-element-display: none}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campphillip/widgets",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {