@versini/sassysaint 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
2
- import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.D4BnyjVs.js";
3
- import { AppContext as Ei, E as Ai } from "./useLocalStorage.C20Z4rxP.js";
2
+ import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.TaY_5bD3.js";
3
+ import { AppContext as Ei, E as Ai } from "./useLocalStorage.BXlADEdF.js";
4
4
  import { lazy as Ii, useContext as Ti, Suspense as Pi } from "react";
5
- import { T as ut } from "./App.BDNqHRx0.js";
5
+ import { T as ut } from "./App.DJozcBeB.js";
6
6
  import cn from "clsx";
7
7
  const Li = ({
8
8
  spinnerRef: e,
@@ -1218,8 +1218,7 @@ var gr = {}, mt = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xi = /\n/g, Yi = /^\s*/, Ki
1218
1218
  `, gt = "/", dt = "*", Ae = "", rl = "comment", il = "declaration", ll = function(e, t) {
1219
1219
  if (typeof e != "string")
1220
1220
  throw new TypeError("First argument must be a string");
1221
- if (!e)
1222
- return [];
1221
+ if (!e) return [];
1223
1222
  t = t || {};
1224
1223
  var n = 1, r = 1;
1225
1224
  function i(d) {
@@ -1242,8 +1241,7 @@ var gr = {}, mt = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xi = /\n/g, Yi = /^\s*/, Ki
1242
1241
  var k = new Error(
1243
1242
  t.source + ":" + n + ":" + r + ": " + d
1244
1243
  );
1245
- if (k.reason = d, k.filename = t.source, k.line = n, k.column = r, k.source = e, !t.silent)
1246
- throw k;
1244
+ if (k.reason = d, k.filename = t.source, k.line = n, k.column = r, k.source = e, !t.silent) throw k;
1247
1245
  }
1248
1246
  function u(d) {
1249
1247
  var k = d.exec(e);
@@ -1278,8 +1276,7 @@ var gr = {}, mt = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xi = /\n/g, Yi = /^\s*/, Ki
1278
1276
  function h() {
1279
1277
  var d = o(), k = u(Ki);
1280
1278
  if (k) {
1281
- if (c(), !u(Ji))
1282
- return a("property missing ':'");
1279
+ if (c(), !u(Ji)) return a("property missing ':'");
1283
1280
  var S = u(Zi), x = d({
1284
1281
  type: il,
1285
1282
  property: yt(k[0].replace(mt, Ae)),
@@ -3136,8 +3133,7 @@ function jo(e, t) {
3136
3133
  r = 2;
3137
3134
  break;
3138
3135
  }
3139
- } else
3140
- i.type === "labelEnd" && (l = n);
3136
+ } else i.type === "labelEnd" && (l = n);
3141
3137
  const u = {
3142
3138
  type: e[o][1].type === "labelLink" ? "link" : "image",
3143
3139
  start: Object.assign({}, e[o][1].start),
@@ -3606,8 +3602,7 @@ function fa(e, t) {
3606
3602
  if (typeof s == "string") {
3607
3603
  for (l = s.length; s.charCodeAt(l - 1) === 32; )
3608
3604
  a++, l--;
3609
- if (l)
3610
- break;
3605
+ if (l) break;
3611
3606
  l = -1;
3612
3607
  } else if (s === -2)
3613
3608
  u = !0, a++;
@@ -3840,8 +3835,7 @@ function ma(e, t) {
3840
3835
  break;
3841
3836
  }
3842
3837
  case -1: {
3843
- if (!t && i)
3844
- continue;
3838
+ if (!t && i) continue;
3845
3839
  l = " ";
3846
3840
  break;
3847
3841
  }
@@ -3953,8 +3947,7 @@ function Ta() {
3953
3947
  break;
3954
3948
  }
3955
3949
  case 9: {
3956
- for (f = Math.ceil(e / 4) * 4, u.push(-2); e++ < f; )
3957
- u.push(-1);
3950
+ for (f = Math.ceil(e / 4) * 4, u.push(-2); e++ < f; ) u.push(-1);
3958
3951
  break;
3959
3952
  }
3960
3953
  case 10: {
@@ -4180,11 +4173,9 @@ function va(e) {
4180
4173
  for (ge = void 0; Le--; ) {
4181
4174
  const de = b[Le];
4182
4175
  if (de[1].type === "lineEnding" || de[1].type === "lineEndingBlank") {
4183
- if (de[0] === "exit")
4184
- continue;
4176
+ if (de[0] === "exit") continue;
4185
4177
  ge && (b[ge][1].type = "lineEndingBlank", se = !0), de[1].type = "lineEnding", ge = Le;
4186
- } else if (!(de[1].type === "linePrefix" || de[1].type === "blockQuotePrefix" || de[1].type === "blockQuotePrefixWhitespace" || de[1].type === "blockQuoteMarker" || de[1].type === "listItemIndent"))
4187
- break;
4178
+ } else if (!(de[1].type === "linePrefix" || de[1].type === "blockQuotePrefix" || de[1].type === "blockQuotePrefixWhitespace" || de[1].type === "blockQuoteMarker" || de[1].type === "listItemIndent")) break;
4188
4179
  }
4189
4180
  _e && (!ge || _e < ge) && (Ce._spread = !0), Ce.end = Object.assign(
4190
4181
  {},
@@ -4234,13 +4225,12 @@ function va(e) {
4234
4225
  const v = this.stack.pop(), _ = this.tokenStack.pop();
4235
4226
  if (_)
4236
4227
  _[0].type !== b.type && (I ? I.call(this, b, _[0]) : (_[1] || Dt).call(this, b, _[0]));
4237
- else
4238
- throw new Error(
4239
- "Cannot close `" + b.type + "` (" + Ne({
4240
- start: b.start,
4241
- end: b.end
4242
- }) + "): it’s not open"
4243
- );
4228
+ else throw new Error(
4229
+ "Cannot close `" + b.type + "` (" + Ne({
4230
+ start: b.start,
4231
+ end: b.end
4232
+ }) + "): it’s not open"
4233
+ );
4244
4234
  v.position.end = xe(b.end);
4245
4235
  }
4246
4236
  function f() {
@@ -5213,8 +5203,7 @@ function mu(e) {
5213
5203
  function r(...i) {
5214
5204
  let o = -1;
5215
5205
  for (; ++o < t.length; )
5216
- if (t[o].apply(this, i))
5217
- return !0;
5206
+ if (t[o].apply(this, i)) return !0;
5218
5207
  return !1;
5219
5208
  }
5220
5209
  }
@@ -5232,8 +5221,7 @@ function gu(e) {
5232
5221
  );
5233
5222
  let o;
5234
5223
  for (o in e)
5235
- if (i[o] !== t[o])
5236
- return !1;
5224
+ if (i[o] !== t[o]) return !1;
5237
5225
  return !0;
5238
5226
  }
5239
5227
  }
@@ -5459,8 +5447,7 @@ var Ke = Object.prototype.hasOwnProperty, $r = Object.prototype.toString, Ht = O
5459
5447
  if (Ke.call(t, n)) {
5460
5448
  if (Ut)
5461
5449
  return Ut(t, n).value;
5462
- } else
5463
- return;
5450
+ } else return;
5464
5451
  return t[n];
5465
5452
  }, Lu = function e() {
5466
5453
  var t, n, r, i, o, l, a = arguments[0], u = 1, s = arguments.length, f = !1;
@@ -5546,8 +5533,7 @@ function vu(e, t) {
5546
5533
  n = i + 1;
5547
5534
  break;
5548
5535
  }
5549
- } else
5550
- r < 0 && (o = !0, r = i + 1);
5536
+ } else r < 0 && (o = !0, r = i + 1);
5551
5537
  return r < 0 ? "" : e.slice(n, r);
5552
5538
  }
5553
5539
  if (t === e)
@@ -5573,8 +5559,7 @@ function Ou(e) {
5573
5559
  t = n;
5574
5560
  break;
5575
5561
  }
5576
- } else
5577
- r || (r = !0);
5562
+ } else r || (r = !0);
5578
5563
  return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
5579
5564
  }
5580
5565
  function Fu(e) {
@@ -5618,25 +5603,23 @@ function Mu(e, t) {
5618
5603
  a = 47;
5619
5604
  }
5620
5605
  if (a === 47) {
5621
- if (!(i === l - 1 || o === 1))
5622
- if (i !== l - 1 && o === 2) {
5623
- if (n.length < 2 || r !== 2 || n.codePointAt(n.length - 1) !== 46 || n.codePointAt(n.length - 2) !== 46) {
5624
- if (n.length > 2) {
5625
- if (u = n.lastIndexOf("/"), u !== n.length - 1) {
5626
- u < 0 ? (n = "", r = 0) : (n = n.slice(0, u), r = n.length - 1 - n.lastIndexOf("/")), i = l, o = 0;
5627
- continue;
5628
- }
5629
- } else if (n.length > 0) {
5630
- n = "", r = 0, i = l, o = 0;
5606
+ if (!(i === l - 1 || o === 1)) if (i !== l - 1 && o === 2) {
5607
+ if (n.length < 2 || r !== 2 || n.codePointAt(n.length - 1) !== 46 || n.codePointAt(n.length - 2) !== 46) {
5608
+ if (n.length > 2) {
5609
+ if (u = n.lastIndexOf("/"), u !== n.length - 1) {
5610
+ u < 0 ? (n = "", r = 0) : (n = n.slice(0, u), r = n.length - 1 - n.lastIndexOf("/")), i = l, o = 0;
5631
5611
  continue;
5632
5612
  }
5613
+ } else if (n.length > 0) {
5614
+ n = "", r = 0, i = l, o = 0;
5615
+ continue;
5633
5616
  }
5634
- t && (n = n.length > 0 ? n + "/.." : "..", r = 2);
5635
- } else
5636
- n.length > 0 ? n += "/" + e.slice(i + 1, l) : n = e.slice(i + 1, l), r = l - i - 1;
5617
+ }
5618
+ t && (n = n.length > 0 ? n + "/.." : "..", r = 2);
5619
+ } else
5620
+ n.length > 0 ? n += "/" + e.slice(i + 1, l) : n = e.slice(i + 1, l), r = l - i - 1;
5637
5621
  i = l, o = 0;
5638
- } else
5639
- a === 46 && o > -1 ? o++ : o = -1;
5622
+ } else a === 46 && o > -1 ? o++ : o = -1;
5640
5623
  }
5641
5624
  return n;
5642
5625
  }
@@ -6541,13 +6524,12 @@ class Kn extends $u {
6541
6524
  */
6542
6525
  use(t, ...n) {
6543
6526
  const r = this.attachers, i = this.namespace;
6544
- if (wn("use", this.frozen), t != null)
6545
- if (typeof t == "function")
6546
- u(t, n);
6547
- else if (typeof t == "object")
6548
- Array.isArray(t) ? a(t) : l(t);
6549
- else
6550
- throw new TypeError("Expected usable value, not `" + t + "`");
6527
+ if (wn("use", this.frozen), t != null) if (typeof t == "function")
6528
+ u(t, n);
6529
+ else if (typeof t == "object")
6530
+ Array.isArray(t) ? a(t) : l(t);
6531
+ else
6532
+ throw new TypeError("Expected usable value, not `" + t + "`");
6551
6533
  return this;
6552
6534
  function o(s) {
6553
6535
  if (typeof s == "function")
@@ -6573,14 +6555,13 @@ class Kn extends $u {
6573
6555
  }
6574
6556
  function a(s) {
6575
6557
  let f = -1;
6576
- if (s != null)
6577
- if (Array.isArray(s))
6578
- for (; ++f < s.length; ) {
6579
- const c = s[f];
6580
- o(c);
6581
- }
6582
- else
6583
- throw new TypeError("Expected a list of plugins, not `" + s + "`");
6558
+ if (s != null) if (Array.isArray(s))
6559
+ for (; ++f < s.length; ) {
6560
+ const c = s[f];
6561
+ o(c);
6562
+ }
6563
+ else
6564
+ throw new TypeError("Expected a list of plugins, not `" + s + "`");
6584
6565
  }
6585
6566
  function u(s, f) {
6586
6567
  let c = -1, h = -1;
@@ -6879,8 +6860,7 @@ function ps(e, t, n, r, i) {
6879
6860
  if (!Vr(i) || (/^w/i.test(t) && (n = t + n, t = "", o = "http://"), !ms(n)))
6880
6861
  return !1;
6881
6862
  const l = gs(n + r);
6882
- if (!l[0])
6883
- return !1;
6863
+ if (!l[0]) return !1;
6884
6864
  const a = {
6885
6865
  type: "link",
6886
6866
  title: null,
@@ -8317,8 +8297,7 @@ function Xc(e) {
8317
8297
  const k = Ze(s);
8318
8298
  if (d === 126)
8319
8299
  return c > 1 ? u(d) : (l.consume(d), c++, p);
8320
- if (c < 2 && !n)
8321
- return u(d);
8300
+ if (c < 2 && !n) return u(d);
8322
8301
  const S = l.exit("strikethroughSequenceTemporary"), x = Ze(d);
8323
8302
  return S._open = !x || x === 2 && !!k, S._close = !k || k === 2 && !!x, a(d);
8324
8303
  }
@@ -8409,8 +8388,7 @@ function Jc(e, t) {
8409
8388
  }
8410
8389
  } else if (i[1].type === "tableDelimiterRow")
8411
8390
  break;
8412
- } else
8413
- i[0] === "enter" && i[1].type === "tableDelimiterRow" && (n = !0);
8391
+ } else i[0] === "enter" && i[1].type === "tableDelimiterRow" && (n = !0);
8414
8392
  t += 1;
8415
8393
  }
8416
8394
  return r;
@@ -8436,8 +8414,7 @@ function ef(e, t, n) {
8436
8414
  if (V === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix`
8437
8415
  V === "linePrefix")
8438
8416
  T--;
8439
- else
8440
- break;
8417
+ else break;
8441
8418
  }
8442
8419
  const P = T > -1 ? r.events[T][1].type : null, H = P === "tableHead" || P === "tableRow" ? w : u;
8443
8420
  return H === w && r.parser.lazy[r.now().line] ? n(y) : H(y);
@@ -8641,7 +8618,7 @@ function sf(e) {
8641
8618
  i.push(af(n)), o.push(Tc()), l.push(Pc(n));
8642
8619
  }
8643
8620
  const cf = Ii(
8644
- () => import("./LazyMarkdownWithExtra.BXu8ynUN.js")
8621
+ () => import("./LazyMarkdownWithExtra.BZSSztwq.js")
8645
8622
  ), In = {
8646
8623
  MODEL: "Model",
8647
8624
  PLUGIN: "Plugin",
@@ -3,7 +3,7 @@ import A from "clsx";
3
3
  import * as c from "react";
4
4
  import { useRef as C, useReducer as M, useEffect as _, useId as x } from "react";
5
5
  import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as k, useFloating as P, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
6
- import { S as j } from "./index.D4BnyjVs.js";
6
+ import { S as j } from "./index.TaY_5bD3.js";
7
7
  const b = "SET_ANNOUNCEMENT", w = "CLEAR_ANNOUNCEMENT", q = {
8
8
  alert: null,
9
9
  alertdialog: null,