wacomm 1.85.0 → 1.85.1

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.
@@ -8044,7 +8044,7 @@ function ZT({ onClick: e = et, className: t = "", isHighlighted: o = !1 }) {
8044
8044
  return /* @__PURE__ */ C.jsx("div", { className: t, onClick: e, children: /* @__PURE__ */ C.jsx(DT, { size: fe.xs, className: o ? "fill-blue-600" : "fill-gray-300" }) });
8045
8045
  }
8046
8046
  const YT = "appearance-none bg-transparent p-0 m-0 text-left cursor-pointer focus:outline-none";
8047
- function no({ children: e, className: t = "", onClick: o = et }) {
8047
+ function to({ children: e, className: t = "", onClick: o = et }) {
8048
8048
  return /* @__PURE__ */ C.jsx(
8049
8049
  "button",
8050
8050
  {
@@ -8056,7 +8056,7 @@ function no({ children: e, className: t = "", onClick: o = et }) {
8056
8056
  );
8057
8057
  }
8058
8058
  function Gu({ children: e, className: t = "", onClick: o }) {
8059
- return /* @__PURE__ */ C.jsx(no, { className: Se("flex flex-row gap-2 items-center", t), onClick: o, children: e });
8059
+ return /* @__PURE__ */ C.jsx(to, { className: Se("flex flex-row gap-2 items-center", t), onClick: o, children: e });
8060
8060
  }
8061
8061
  var UT = /* @__PURE__ */ ((e) => (e.blank = "_blank", e.self = "_self", e))(UT || {});
8062
8062
  function $T({ target: e = "_self", href: t, children: o, className: n = "" }) {
@@ -8180,7 +8180,7 @@ function TN({
8180
8180
  }
8181
8181
  );
8182
8182
  }
8183
- const JT = ({ onClick: e }) => /* @__PURE__ */ C.jsx(no, { onClick: e, children: /* @__PURE__ */ C.jsx(VT, {}) }), XT = ({ onClick: e }) => /* @__PURE__ */ C.jsx(no, { onClick: e, children: /* @__PURE__ */ C.jsx(GT, {}) });
8183
+ const JT = ({ onClick: e }) => /* @__PURE__ */ C.jsx(to, { onClick: e, children: /* @__PURE__ */ C.jsx(VT, {}) }), XT = ({ onClick: e }) => /* @__PURE__ */ C.jsx(to, { onClick: e, children: /* @__PURE__ */ C.jsx(GT, {}) });
8184
8184
  function PN({
8185
8185
  value: e,
8186
8186
  placeholder: t = "",
@@ -9745,7 +9745,7 @@ function I5({
9745
9745
  style: s = void 0,
9746
9746
  onLoad: i = void 0
9747
9747
  }) {
9748
- return /* @__PURE__ */ C.jsx(no, { children: /* @__PURE__ */ C.jsx(
9748
+ return /* @__PURE__ */ C.jsx(to, { children: /* @__PURE__ */ C.jsx(
9749
9749
  "img",
9750
9750
  {
9751
9751
  ref: o,
@@ -9769,11 +9769,11 @@ function Kh({
9769
9769
  return /* @__PURE__ */ C.jsx("img", { ref: o, src: e, alt: t, style: r, className: n, onLoad: s });
9770
9770
  }
9771
9771
  function EN({ children: e, className: t = "", onClick: o = et }) {
9772
- return /* @__PURE__ */ C.jsx(no, { className: Se("flex flex-col gap-2", t), onClick: o, children: e });
9772
+ return /* @__PURE__ */ C.jsx(to, { className: Se("flex flex-col gap-2", t), onClick: o, children: e });
9773
9773
  }
9774
9774
  function _h({ children: e, className: t = "", isVertical: o = !1, onClick: n }) {
9775
9775
  return /* @__PURE__ */ C.jsx(
9776
- no,
9776
+ to,
9777
9777
  {
9778
9778
  className: Se("gap-2 items-center flex ", o ? "flex-col" : "flex-row", t),
9779
9779
  onClick: n,
@@ -9883,7 +9883,7 @@ function VN({ handleNext: e, handlePrev: t }) {
9883
9883
  });
9884
9884
  return /* @__PURE__ */ C.jsx("div", { ref: i, children: /* @__PURE__ */ C.jsxs(Jt, { className: "NavArrows gap-0", children: [
9885
9885
  /* @__PURE__ */ C.jsx(
9886
- no,
9886
+ to,
9887
9887
  {
9888
9888
  className: Se(
9889
9889
  af(
@@ -9896,7 +9896,7 @@ function VN({ handleNext: e, handlePrev: t }) {
9896
9896
  children: /* @__PURE__ */ C.jsx(bT, { className: "fill-gray-600" })
9897
9897
  }
9898
9898
  ),
9899
- /* @__PURE__ */ C.jsx(no, { className: af(
9899
+ /* @__PURE__ */ C.jsx(to, { className: af(
9900
9900
  o * 1
9901
9901
  /* Next */
9902
9902
  ), onClick: s, children: /* @__PURE__ */ C.jsx(vT, { className: "fill-gray-600" }) })
@@ -10121,20 +10121,20 @@ var qa = Eu, M5 = function(t) {
10121
10121
  Object.keys(cf).forEach(function(o) {
10122
10122
  t.style.setProperty(o, cf[o], "important");
10123
10123
  });
10124
- }, uf = O5, oo = null, df = function(t, o) {
10124
+ }, uf = O5, no = null, df = function(t, o) {
10125
10125
  var n = t.scrollHeight;
10126
10126
  return o.sizingStyle.boxSizing === "border-box" ? n + o.borderSize : n - o.paddingSize;
10127
10127
  };
10128
10128
  function R5(e, t, o, n) {
10129
- o === void 0 && (o = 1), n === void 0 && (n = 1 / 0), oo || (oo = document.createElement("textarea"), oo.setAttribute("tabindex", "-1"), oo.setAttribute("aria-hidden", "true"), uf(oo)), oo.parentNode === null && document.body.appendChild(oo);
10129
+ o === void 0 && (o = 1), n === void 0 && (n = 1 / 0), no || (no = document.createElement("textarea"), no.setAttribute("tabindex", "-1"), no.setAttribute("aria-hidden", "true"), uf(no)), no.parentNode === null && document.body.appendChild(no);
10130
10130
  var r = e.paddingSize, s = e.borderSize, i = e.sizingStyle, a = i.boxSizing;
10131
10131
  Object.keys(i).forEach(function(m) {
10132
10132
  var f = m;
10133
- oo.style[f] = i[f];
10134
- }), uf(oo), oo.value = t;
10135
- var l = df(oo, e);
10136
- oo.value = t, l = df(oo, e), oo.value = "x";
10137
- var c = oo.scrollHeight - r, u = c * o;
10133
+ no.style[f] = i[f];
10134
+ }), uf(no), no.value = t;
10135
+ var l = df(no, e);
10136
+ no.value = t, l = df(no, e), no.value = "x";
10137
+ var c = no.scrollHeight - r, u = c * o;
10138
10138
  a === "border-box" && (u = u + r + s), l = Math.max(u, l);
10139
10139
  var p = c * n;
10140
10140
  return a === "border-box" && (p = p + r + s), l = Math.min(p, l), [l, c];
@@ -10312,7 +10312,7 @@ function ZN({
10312
10312
  );
10313
10313
  }
10314
10314
  function YN({ score: e, className: t, leaderboardType: o = "score", onClick: n }) {
10315
- return /* @__PURE__ */ C.jsx(no, { className: `font-bold ${t}`, onClick: n, children: e });
10315
+ return /* @__PURE__ */ C.jsx(to, { className: `font-bold ${t}`, onClick: n, children: e });
10316
10316
  }
10317
10317
  function q5({ label: e, className: t = "" }) {
10318
10318
  return /* @__PURE__ */ C.jsx(
@@ -10392,7 +10392,7 @@ function Y5({
10392
10392
  }) {
10393
10393
  return /* @__PURE__ */ C.jsxs(Jt, { className: "text-blue-500 justify-between py-0.5", children: [
10394
10394
  o,
10395
- n && /* @__PURE__ */ C.jsx(no, { onClick: t, children: e ? /* @__PURE__ */ C.jsx(kT, { size: fe.sm, className: "fill-gray-888" }) : /* @__PURE__ */ C.jsx(Gh, { size: fe.sm, className: "fill-gray-888" }) })
10395
+ n && /* @__PURE__ */ C.jsx(to, { onClick: t, children: e ? /* @__PURE__ */ C.jsx(kT, { size: fe.sm, className: "fill-gray-888" }) : /* @__PURE__ */ C.jsx(Gh, { size: fe.sm, className: "fill-gray-888" }) })
10396
10396
  ] });
10397
10397
  }
10398
10398
  function QN({
@@ -39901,11 +39901,11 @@ function mR(e) {
39901
39901
  }, [r]), null;
39902
39902
  }
39903
39903
  const cB = Tr(mR);
39904
- const hR = import("./maplibre-gl-DaeE3VRI.mjs").then((e) => e.m), yR = A.forwardRef(function(t, o) {
39904
+ const hR = import("./maplibre-gl-DgbsWgvV.mjs").then((e) => e.m), yR = A.forwardRef(function(t, o) {
39905
39905
  return Ag(t, o, hR);
39906
39906
  }), gR = Og;
39907
39907
  const bR = fR;
39908
- const vR = import("./mapbox-gl-uNfaMTyY.mjs").then((e) => e.m), uB = A.forwardRef(function(t, o) {
39908
+ const vR = import("./mapbox-gl-C_M9-Jhe.mjs").then((e) => e.m), uB = A.forwardRef(function(t, o) {
39909
39909
  return Ag(t, o, vR);
39910
39910
  }), TR = Og;
39911
39911
  function PR({ locations: e }) {
@@ -41175,8 +41175,8 @@ const bD = ({ forwardRef: e, id: t, className: o, classNameArrow: n, variant: r
41175
41175
  ht(!1);
41176
41176
  }, mo = E0(q), so = E0(N.current);
41177
41177
  Ye.scroll && (window.addEventListener("scroll", Ot), mo == null || mo.addEventListener("scroll", Ot), so == null || so.addEventListener("scroll", Ot));
41178
- let to = null;
41179
- Ye.resize ? window.addEventListener("resize", Ot) : q && N.current && (to = sD(q, N.current, me, { ancestorResize: !0, elementResize: !0, layoutShift: !0 }));
41178
+ let oo = null;
41179
+ Ye.resize ? window.addEventListener("resize", Ot) : q && N.current && (oo = sD(q, N.current, me, { ancestorResize: !0, elementResize: !0, layoutShift: !0 }));
41180
41180
  const xo = (wt) => {
41181
41181
  wt.key === "Escape" && ht(!1);
41182
41182
  };
@@ -41203,7 +41203,7 @@ const bD = ({ forwardRef: e, id: t, className: o, classNameArrow: n, variant: r
41203
41203
  }));
41204
41204
  })), () => {
41205
41205
  var wt, pn;
41206
- Ye.scroll && (window.removeEventListener("scroll", Ot), mo == null || mo.removeEventListener("scroll", Ot), so == null || so.removeEventListener("scroll", Ot)), Ye.resize ? window.removeEventListener("resize", Ot) : to == null || to(), Ye.clickOutsideAnchor && window.removeEventListener("click", It), Ye.escape && window.removeEventListener("keydown", xo), wp && ((wt = N.current) === null || wt === void 0 || wt.removeEventListener("mouseover", Tp), (pn = N.current) === null || pn === void 0 || pn.removeEventListener("mouseout", Pp)), Rt.forEach((({ event: tc, listener: Rs }) => {
41206
+ Ye.scroll && (window.removeEventListener("scroll", Ot), mo == null || mo.removeEventListener("scroll", Ot), so == null || so.removeEventListener("scroll", Ot)), Ye.resize ? window.removeEventListener("resize", Ot) : oo == null || oo(), Ye.clickOutsideAnchor && window.removeEventListener("click", It), Ye.escape && window.removeEventListener("keydown", xo), wp && ((wt = N.current) === null || wt === void 0 || wt.removeEventListener("mouseover", Tp), (pn = N.current) === null || pn === void 0 || pn.removeEventListener("mouseout", Pp)), Rt.forEach((({ event: tc, listener: Rs }) => {
41207
41207
  Ne.forEach(((Cb) => {
41208
41208
  var oc;
41209
41209
  (oc = Cb.current) === null || oc === void 0 || oc.removeEventListener(tc, Rs);
@@ -41216,10 +41216,10 @@ const bD = ({ forwardRef: e, id: t, className: o, classNameArrow: n, variant: r
41216
41216
  !Ne && t && (Ne = `[data-tooltip-id='${t.replace(/'/g, "\\'")}']`);
41217
41217
  const ut = new MutationObserver(((Ot) => {
41218
41218
  const mo = [], so = [];
41219
- Ot.forEach(((to) => {
41220
- if (to.type === "attributes" && to.attributeName === "data-tooltip-id" && (to.target.getAttribute("data-tooltip-id") === t ? mo.push(to.target) : to.oldValue === t && so.push(to.target)), to.type === "childList") {
41219
+ Ot.forEach(((oo) => {
41220
+ if (oo.type === "attributes" && oo.attributeName === "data-tooltip-id" && (oo.target.getAttribute("data-tooltip-id") === t ? mo.push(oo.target) : oo.oldValue === t && so.push(oo.target)), oo.type === "childList") {
41221
41221
  if (q) {
41222
- const xo = [...to.removedNodes].filter(((Rt) => Rt.nodeType === 1));
41222
+ const xo = [...oo.removedNodes].filter(((Rt) => Rt.nodeType === 1));
41223
41223
  if (Ne) try {
41224
41224
  so.push(...xo.filter(((Rt) => Rt.matches(Ne)))), so.push(...xo.flatMap(((Rt) => [...Rt.querySelectorAll(Ne)])));
41225
41225
  } catch {
@@ -41230,12 +41230,12 @@ const bD = ({ forwardRef: e, id: t, className: o, classNameArrow: n, variant: r
41230
41230
  }));
41231
41231
  }
41232
41232
  if (Ne) try {
41233
- const xo = [...to.addedNodes].filter(((Rt) => Rt.nodeType === 1));
41233
+ const xo = [...oo.addedNodes].filter(((Rt) => Rt.nodeType === 1));
41234
41234
  mo.push(...xo.filter(((Rt) => Rt.matches(Ne)))), mo.push(...xo.flatMap(((Rt) => [...Rt.querySelectorAll(Ne)])));
41235
41235
  } catch {
41236
41236
  }
41237
41237
  }
41238
- })), (mo.length || so.length) && Ie(((to) => [...to.filter(((xo) => !so.includes(xo))), ...mo]));
41238
+ })), (mo.length || so.length) && Ie(((oo) => [...oo.filter(((xo) => !so.includes(xo))), ...mo]));
41239
41239
  }));
41240
41240
  return ut.observe(document.body, { childList: !0, subtree: !0, attributes: !0, attributeFilter: ["data-tooltip-id"], attributeOldValue: !0 }), () => {
41241
41241
  ut.disconnect();
@@ -41466,7 +41466,7 @@ function wD({
41466
41466
  tabHighlightedClassName: s
41467
41467
  }) {
41468
41468
  return /* @__PURE__ */ C.jsx(
41469
- no,
41469
+ to,
41470
41470
  {
41471
41471
  className: Se(
41472
41472
  "px-3 py-0.5 text-gray-600 text-center",
@@ -42195,7 +42195,7 @@ function MD({
42195
42195
  className: o = "",
42196
42196
  textClassName: n = "text-gray-500"
42197
42197
  }) {
42198
- return /* @__PURE__ */ C.jsxs(no, { className: o, onClick: t, children: [
42198
+ return /* @__PURE__ */ C.jsxs(to, { className: o, onClick: t, children: [
42199
42199
  /* @__PURE__ */ C.jsx("span", { children: "❤️ " }),
42200
42200
  /* @__PURE__ */ C.jsx("span", { className: n, children: e })
42201
42201
  ] });
@@ -42209,7 +42209,7 @@ function $B({
42209
42209
  }) {
42210
42210
  return /* @__PURE__ */ C.jsxs(Jt, { className: e, children: [
42211
42211
  /* @__PURE__ */ C.jsx(
42212
- no,
42212
+ to,
42213
42213
  {
42214
42214
  onClick: r,
42215
42215
  className: Se(t, `${n && "text-blue-500"}`),
@@ -42229,7 +42229,7 @@ function AD({
42229
42229
  onClick: n,
42230
42230
  className: r = "text-gray-500 text-sm"
42231
42231
  }) {
42232
- return /* @__PURE__ */ C.jsx(no, { onClick: n, children: /* @__PURE__ */ C.jsx("span", { className: r, children: `${o} ${o === 1 ? e : t}` }) });
42232
+ return /* @__PURE__ */ C.jsx(to, { onClick: n, children: /* @__PURE__ */ C.jsx("span", { className: r, children: `${o} ${o === 1 ? e : t}` }) });
42233
42233
  }
42234
42234
  var OD = /* @__PURE__ */ ((e) => (e[e.Comment = 0] = "Comment", e[e.Reply = 1] = "Reply", e))(OD || {});
42235
42235
  const RD = {
@@ -45344,7 +45344,7 @@ function KB({
45344
45344
  color: s = 0
45345
45345
  }) {
45346
45346
  return /* @__PURE__ */ C.jsx(
45347
- "div",
45347
+ to,
45348
45348
  {
45349
45349
  onClick: t,
45350
45350
  className: Se(
@@ -47670,7 +47670,7 @@ function _B({ children: e }) {
47670
47670
  }
47671
47671
  function iN({ letter: e, className: t = "", onClick: o }) {
47672
47672
  return /* @__PURE__ */ C.jsx(
47673
- no,
47673
+ to,
47674
47674
  {
47675
47675
  onClick: o,
47676
47676
  className: Se(
@@ -47850,7 +47850,7 @@ export {
47850
47850
  OB as k,
47851
47851
  IB as l,
47852
47852
  qN as m,
47853
- no as n,
47853
+ to as n,
47854
47854
  Vu as o,
47855
47855
  FB as p,
47856
47856
  LB as q,