@zinaid/str 0.0.5 → 0.0.7

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.
Files changed (59) hide show
  1. package/dist/ascii/index.d.ts +14 -0
  2. package/dist/ascii/index.d.ts.map +1 -0
  3. package/dist/ascii/index.js +7 -0
  4. package/dist/base64/index.d.ts +23 -0
  5. package/dist/base64/index.d.ts.map +1 -0
  6. package/dist/base64/index.js +124 -0
  7. package/dist/{convertcase.d.ts → convertcase/index.d.ts} +11 -1
  8. package/dist/convertcase/index.d.ts.map +1 -0
  9. package/dist/index.d.ts +4 -0
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +136 -131
  12. package/dist/markdown/index.d.ts +49 -0
  13. package/dist/markdown/index.d.ts.map +1 -0
  14. package/dist/markdown/index.js +32 -0
  15. package/dist/pluralizer/index.d.ts +100 -0
  16. package/dist/pluralizer/index.d.ts.map +1 -0
  17. package/dist/{pluralizer.js → pluralizer/index.js} +39 -32
  18. package/dist/{random.d.ts → random/index.d.ts} +3 -3
  19. package/dist/random/index.d.ts.map +1 -0
  20. package/dist/{random.js → random/index.js} +2 -1
  21. package/dist/replacer/index.d.ts +31 -0
  22. package/dist/replacer/index.d.ts.map +1 -0
  23. package/dist/str.d.ts +308 -173
  24. package/dist/str.d.ts.map +1 -1
  25. package/dist/str.js +510 -661
  26. package/dist/stringable/index.d.ts +952 -0
  27. package/dist/stringable/index.d.ts.map +1 -0
  28. package/dist/{stringable.js → stringable/index.js} +400 -13
  29. package/dist/transliterate/index.d.ts +14 -0
  30. package/dist/transliterate/index.d.ts.map +1 -0
  31. package/dist/transliterate/index.js +7 -0
  32. package/dist/trimmer/index.d.ts +25 -0
  33. package/dist/trimmer/index.d.ts.map +1 -0
  34. package/dist/ulid/index.d.ts +79 -0
  35. package/dist/ulid/index.d.ts.map +1 -0
  36. package/dist/ulid/index.js +58 -0
  37. package/dist/uuid/index.d.ts +92 -0
  38. package/dist/uuid/index.d.ts.map +1 -0
  39. package/dist/uuid/index.js +50 -0
  40. package/package.json +78 -21
  41. package/dist/base64.d.ts +0 -7
  42. package/dist/base64.d.ts.map +0 -1
  43. package/dist/base64.js +0 -123
  44. package/dist/convertcase.d.ts.map +0 -1
  45. package/dist/markdown.d.ts +0 -26
  46. package/dist/markdown.d.ts.map +0 -1
  47. package/dist/markdown.js +0 -55
  48. package/dist/pluralizer.d.ts +0 -38
  49. package/dist/pluralizer.d.ts.map +0 -1
  50. package/dist/random.d.ts.map +0 -1
  51. package/dist/replacer.d.ts +0 -31
  52. package/dist/replacer.d.ts.map +0 -1
  53. package/dist/stringable.d.ts +0 -555
  54. package/dist/stringable.d.ts.map +0 -1
  55. package/dist/trimmer.d.ts +0 -4
  56. package/dist/trimmer.d.ts.map +0 -1
  57. /package/dist/{convertcase.js → convertcase/index.js} +0 -0
  58. /package/dist/{replacer.js → replacer/index.js} +0 -0
  59. /package/dist/{trimmer.js → trimmer/index.js} +0 -0
package/dist/str.js CHANGED
@@ -1,180 +1,142 @@
1
- import { substr as x, ltrim as j, rtrim as K, plural as Y, randomInt as I, randomString as tt, title as Z, trim as nt, upper as et } from "@zinaid/str";
2
- import { isArray as S, toLower as q, isString as N, isFunction as rt, optionalRequire as M } from "@zinaid/utils";
3
- function st() {
4
- return M(
5
- "any-ascii",
6
- 'The "any-ascii" package is required for ASCII transliteration. Please install it: npm install any-ascii'
7
- ).default;
8
- }
9
- function it() {
10
- return M(
11
- "transliteration",
12
- 'The "transliteration" package is required for transliteration. Please install it: npm install transliteration'
13
- ).transliterate;
14
- }
15
- function ot() {
16
- return M(
17
- "ulid",
18
- 'The "ulid" package is required for ULID generation. Please install it: npm install ulid'
19
- ).ulid;
20
- }
21
- function P() {
22
- const t = M(
23
- "uuid",
24
- 'The "uuid" package is required for UUID functions. Please install it: npm install uuid'
25
- );
26
- return {
27
- v4: t.v4,
28
- v7: t.v7,
29
- validate: t.validate,
30
- version: t.version,
31
- NIL: t.NIL,
32
- MAX: t.MAX
33
- };
34
- }
35
- const E = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map();
36
- let $ = null, L = null, R = null;
37
- function J(t, n) {
38
- if (n === "")
1
+ import { substr as x, ltrim as G, rtrim as P, randomInt as O, randomString as J, title as j, ascii as Z, trim as H, upper as V } from "@zinaid/str";
2
+ import { isArray as S, toLower as N, isString as M, isFunction as D } from "@zinaid/utils";
3
+ const R = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map();
4
+ let b = null;
5
+ function K(t, e) {
6
+ if (e === "")
39
7
  return t;
40
- const e = String(n), r = t.indexOf(e);
41
- return r === -1 ? t : t.slice(r + e.length);
8
+ const n = String(e), r = t.indexOf(n);
9
+ return r === -1 ? t : t.slice(r + n.length);
42
10
  }
43
- function bt(t, n) {
44
- if (n === "")
11
+ function at(t, e) {
12
+ if (e === "")
45
13
  return t;
46
- const e = t.lastIndexOf(String(n));
47
- return e === -1 ? t : t.slice(e + String(n).length);
48
- }
49
- function ct(t) {
50
- return it()(t);
51
- }
52
- function Rt(t) {
53
- return st()(t);
14
+ const n = t.lastIndexOf(String(e));
15
+ return n === -1 ? t : t.slice(n + String(e).length);
54
16
  }
55
- function lt(t, n) {
56
- if (n === "")
17
+ function Q(t, e) {
18
+ if (e === "")
57
19
  return t;
58
- const e = t.indexOf(String(n));
59
- return e === -1 ? t : t.slice(0, e);
20
+ const n = t.indexOf(String(e));
21
+ return n === -1 ? t : t.slice(0, n);
60
22
  }
61
- function at(t, n) {
62
- if (n === "")
23
+ function X(t, e) {
24
+ if (e === "")
63
25
  return t;
64
- const e = t.lastIndexOf(String(n));
65
- return e === -1 ? t : x(t, 0, e);
26
+ const n = t.lastIndexOf(String(e));
27
+ return n === -1 ? t : x(t, 0, n);
66
28
  }
67
- function Ct(t, n, e) {
68
- return n === "" || e === "" ? t : at(J(t, n), e);
29
+ function ut(t, e, n) {
30
+ return e === "" || n === "" ? t : X(K(t, e), n);
69
31
  }
70
- function Et(t, n, e) {
71
- return n === "" || e === "" ? t : lt(J(t, n), e);
32
+ function pt(t, e, n) {
33
+ return e === "" || n === "" ? t : Q(K(t, e), n);
72
34
  }
73
- function Ft(t) {
74
- if (F.has(t))
75
- return F.get(t);
76
- const n = yt(v(t));
77
- return F.set(t, n), n;
78
- }
79
- function Ut(t, n) {
80
- const e = t.length;
81
- return (n < 0 ? n < -e : n > e - 1) ? !1 : (n < 0 && (n += e), t.charAt(n));
82
- }
83
- function Nt(t, n) {
84
- for (const e of S(n) ? n : [n])
85
- if (t.startsWith(e)) {
86
- const r = [...t], s = [...e];
35
+ function gt(t) {
36
+ if (E.has(t))
37
+ return E.get(t);
38
+ const e = st(B(t));
39
+ return E.set(t, e), e;
40
+ }
41
+ function mt(t, e) {
42
+ const n = t.length;
43
+ return (e < 0 ? e < -n : e > n - 1) ? !1 : (e < 0 && (e += n), t.charAt(e));
44
+ }
45
+ function ht(t, e) {
46
+ for (const n of S(e) ? e : [e])
47
+ if (n !== "" && t.startsWith(n)) {
48
+ const r = [...t], s = [...n];
87
49
  return r.slice(s.length).join("");
88
50
  }
89
51
  return t;
90
52
  }
91
- function zt(t, n) {
92
- for (const e of S(n) ? n : [n])
93
- if (t.endsWith(e)) {
94
- const r = [...t], s = [...e];
53
+ function dt(t, e) {
54
+ for (const n of S(e) ? e : [e])
55
+ if (n !== "" && t.endsWith(n)) {
56
+ const r = [...t], s = [...n];
95
57
  return r.slice(0, -s.length).join("");
96
58
  }
97
59
  return t;
98
60
  }
99
- function X(t, n, e = !1) {
100
- e && (t = t.toLowerCase());
61
+ function T(t, e, n = !1) {
62
+ n && (t = t.toLowerCase());
101
63
  let r;
102
- typeof n == "string" ? r = [n] : r = Array.from(n);
64
+ typeof e == "string" ? r = [e] : r = Array.from(e);
103
65
  for (let s of r)
104
- if (e && (s = s.toLowerCase()), s !== "" && t.includes(s))
66
+ if (n && (s = s.toLowerCase()), s !== "" && t.includes(s))
105
67
  return !0;
106
68
  return !1;
107
69
  }
108
- function _t(t, n = "", e = {}) {
109
- const r = e.radius ?? 100, s = e.omission ?? "...", i = String(t ?? ""), c = n ?? "", o = (w) => w.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), a = new RegExp(`^(.*?)(${o(c)})(.*)$`, "iu").exec(i);
110
- if (!a)
70
+ function yt(t, e = "", n = {}) {
71
+ const r = n.radius ?? 100, s = n.omission ?? "...", o = String(t ?? ""), c = e ?? "", i = (w) => w.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), f = new RegExp(`^(.*?)(${i(c)})(.*)$`, "iu").exec(o);
72
+ if (!f)
111
73
  return null;
112
- const m = j(a[1] ?? ""), f = Array.from(m).length, u = x(m, Math.max(f - r, 0), r);
113
- let p = j(u);
74
+ const m = G(f[1] ?? ""), u = Array.from(m).length, a = x(m, Math.max(u - r, 0), r);
75
+ let p = G(a);
114
76
  p !== m && (p = s + p);
115
- const g = K(a[3] ?? ""), d = x(g, 0, r);
116
- let h = K(d);
117
- h !== g && (h = h + s);
118
- const y = a[2] ?? "";
119
- return p + y + h;
120
- }
121
- function Mt(t, n, e = !1) {
122
- for (const r of n)
123
- if (!X(t, r, e))
77
+ const g = P(f[3] ?? ""), h = x(g, 0, r);
78
+ let d = P(h);
79
+ d !== g && (d = d + s);
80
+ const y = f[2] ?? "";
81
+ return p + y + d;
82
+ }
83
+ function wt(t, e, n = !1) {
84
+ for (const r of e)
85
+ if (!T(t, r, n))
124
86
  return !1;
125
87
  return !0;
126
88
  }
127
- function Ot(t, n, e = !1) {
128
- return !X(t, n, e);
89
+ function xt(t, e, n = !1) {
90
+ return !T(t, e, n);
129
91
  }
130
- function It(t, n = " ") {
131
- return S(n) ? (n.forEach((e) => {
132
- t = t.replace(new RegExp(`${e}+`, "g"), e);
133
- }), t) : t.replace(new RegExp(`${n}+`, "g"), n);
92
+ function St(t, e = " ") {
93
+ return S(e) ? (e.forEach((n) => {
94
+ t = t.replace(new RegExp(`${n}+`, "g"), n);
95
+ }), t) : t.replace(new RegExp(`${e}+`, "g"), e);
134
96
  }
135
- function W(t, n) {
97
+ function W(t, e) {
136
98
  if (t === null)
137
99
  return !1;
138
- t = String(t), S(n) ? n = Array.from(n) : n = [String(n)];
139
- for (const e of n)
140
- if (e !== "" && t.endsWith(e))
100
+ t = String(t), S(e) ? e = Array.from(e) : e = [String(e)];
101
+ for (const n of e)
102
+ if (n !== "" && t.endsWith(n))
141
103
  return !0;
142
104
  return !1;
143
105
  }
144
- function qt(t, n) {
145
- return !W(t, n);
106
+ function $t(t, e) {
107
+ return !W(t, e);
146
108
  }
147
- function Pt(t, n) {
148
- const e = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
149
- return t.replace(new RegExp(`(?:${e})+$`, "u"), "") + n;
109
+ function kt(t, e) {
110
+ const n = e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
111
+ return t.replace(new RegExp(`(?:${n})+$`, "u"), "") + e;
150
112
  }
151
- function Wt(t, n, e = null) {
152
- return n + t + (e ?? n);
113
+ function At(t, e, n = null) {
114
+ return e + t + (n ?? e);
153
115
  }
154
- function Tt(t, n, e = null) {
155
- return D(t, n) && (t = x(t, z(n))), W(t, e ??= n) && (t = x(t, 0, -z(e))), t;
116
+ function bt(t, e, n = null) {
117
+ return I(t, e) && (t = x(t, F(e))), W(t, n ??= e) && (t = x(t, 0, -F(n))), t;
156
118
  }
157
- function Dt(t, n, e = !1) {
158
- n = String(n);
119
+ function Lt(t, e, n = !1) {
120
+ e = String(e);
159
121
  let r;
160
122
  typeof t == "string" ? r = [t] : r = Array.from(t);
161
123
  for (let s of r) {
162
- if (s = String(s), s === n || e && q(s) === q(n))
124
+ if (s = String(s), s === e || n && N(s) === N(e))
163
125
  return !0;
164
126
  s = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), s = s.replace(/\\\*/g, ".*");
165
- const i = e ? "iu" : "u";
166
- if (new RegExp(`^${s}$`, i).test(n))
127
+ const o = n ? "iu" : "u";
128
+ if (new RegExp(`^${s}$`, o).test(e))
167
129
  return !0;
168
130
  }
169
131
  return !1;
170
132
  }
171
- function Gt(t) {
172
- for (let n = 0; n < t.length; n++)
173
- if (t.charCodeAt(n) > 127) return !1;
133
+ function Rt(t) {
134
+ for (let e = 0; e < t.length; e++)
135
+ if (t.charCodeAt(e) > 127) return !1;
174
136
  return !0;
175
137
  }
176
- function jt(t) {
177
- if (!N(t))
138
+ function Et(t) {
139
+ if (!M(t))
178
140
  return !1;
179
141
  try {
180
142
  JSON.parse(t);
@@ -183,10 +145,10 @@ function jt(t) {
183
145
  }
184
146
  return !0;
185
147
  }
186
- function Kt(t, n = []) {
187
- if (!N(t))
148
+ function Ct(t, e = []) {
149
+ if (!M(t))
188
150
  return !1;
189
- const r = (n.length === 0 ? "aaa|aaas|about|acap|acct|acd|acr|adiumxtra|adt|afp|afs|aim|amss|android|appdata|apt|ark|attachment|aw|barion|beshare|bitcoin|bitcoincash|blob|bolo|browserext|calculator|callto|cap|cast|casts|chrome|chrome-extension|cid|coap|coap+tcp|coap+ws|coaps|coaps+tcp|coaps+ws|com-eventbrite-attendee|content|conti|crid|cvs|dab|data|dav|diaspora|dict|did|dis|dlna-playcontainer|dlna-playsingle|dns|dntp|dpp|drm|drop|dtn|dvb|ed2k|elsi|example|facetime|fax|feed|feedready|file|filesystem|finger|first-run-pen-experience|fish|fm|ftp|fuchsia-pkg|geo|gg|git|gizmoproject|go|gopher|graph|gtalk|h323|ham|hcap|hcp|http|https|hxxp|hxxps|hydrazone|iax|icap|icon|im|imap|info|iotdisco|ipn|ipp|ipps|irc|irc6|ircs|iris|iris.beep|iris.lwz|iris.xpc|iris.xpcs|isostore|itms|jabber|jar|jms|keyparc|lastfm|ldap|ldaps|leaptofrogans|lorawan|lvlt|magnet|mailserver|mailto|maps|market|message|mid|mms|modem|mongodb|moz|ms-access|ms-browser-extension|ms-calculator|ms-drive-to|ms-enrollment|ms-excel|ms-eyecontrolspeech|ms-gamebarservices|ms-gamingoverlay|ms-getoffice|ms-help|ms-infopath|ms-inputapp|ms-lockscreencomponent-config|ms-media-stream-id|ms-mixedrealitycapture|ms-mobileplans|ms-officeapp|ms-people|ms-project|ms-powerpoint|ms-publisher|ms-restoretabcompanion|ms-screenclip|ms-screensketch|ms-search|ms-search-repair|ms-secondary-screen-controller|ms-secondary-screen-setup|ms-settings|ms-settings-airplanemode|ms-settings-bluetooth|ms-settings-camera|ms-settings-cellular|ms-settings-cloudstorage|ms-settings-connectabledevices|ms-settings-displays-topology|ms-settings-emailandaccounts|ms-settings-language|ms-settings-location|ms-settings-lock|ms-settings-nfctransactions|ms-settings-notifications|ms-settings-power|ms-settings-privacy|ms-settings-proximity|ms-settings-screenrotation|ms-settings-wifi|ms-settings-workplace|ms-spd|ms-sttoverlay|ms-transit-to|ms-useractivityset|ms-virtualtouchpad|ms-visio|ms-walk-to|ms-whiteboard|ms-whiteboard-cmd|ms-word|msnim|msrp|msrps|mss|mtqp|mumble|mupdate|mvn|news|nfs|ni|nih|nntp|notes|ocf|oid|onenote|onenote-cmd|opaquelocktoken|openpgp4fpr|pack|palm|paparazzi|payto|pkcs11|platform|pop|pres|prospero|proxy|pwid|psyc|pttp|qb|query|redis|rediss|reload|res|resource|rmi|rsync|rtmfp|rtmp|rtsp|rtsps|rtspu|s3|secondlife|service|session|sftp|sgn|shttp|sieve|simpleledger|sip|sips|skype|smb|sms|smtp|snews|snmp|soap.beep|soap.beeps|soldat|spiffe|spotify|ssh|steam|stun|stuns|submit|svn|tag|teamspeak|tel|teliaeid|telnet|tftp|tg|things|thismessage|tip|tn3270|tool|ts3server|turn|turns|tv|udp|unreal|urn|ut2004|v-event|vemmi|ventrilo|videotex|vnc|view-source|wais|webcal|wpid|ws|wss|wtai|wyciwyg|xcon|xcon-userid|xfire|xmlrpc.beep|xmlrpc.beeps|xmpp|xri|ymsgr|z39.50|z39.50r|z39.50s" : n.join("|")).split("|").map((i) => i.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|");
151
+ const r = (e.length === 0 ? "aaa|aaas|about|acap|acct|acd|acr|adiumxtra|adt|afp|afs|aim|amss|android|appdata|apt|ark|attachment|aw|barion|beshare|bitcoin|bitcoincash|blob|bolo|browserext|calculator|callto|cap|cast|casts|chrome|chrome-extension|cid|coap|coap+tcp|coap+ws|coaps|coaps+tcp|coaps+ws|com-eventbrite-attendee|content|conti|crid|cvs|dab|data|dav|diaspora|dict|did|dis|dlna-playcontainer|dlna-playsingle|dns|dntp|dpp|drm|drop|dtn|dvb|ed2k|elsi|example|facetime|fax|feed|feedready|file|filesystem|finger|first-run-pen-experience|fish|fm|ftp|fuchsia-pkg|geo|gg|git|gizmoproject|go|gopher|graph|gtalk|h323|ham|hcap|hcp|http|https|hxxp|hxxps|hydrazone|iax|icap|icon|im|imap|info|iotdisco|ipn|ipp|ipps|irc|irc6|ircs|iris|iris.beep|iris.lwz|iris.xpc|iris.xpcs|isostore|itms|jabber|jar|jms|keyparc|lastfm|ldap|ldaps|leaptofrogans|lorawan|lvlt|magnet|mailserver|mailto|maps|market|message|mid|mms|modem|mongodb|moz|ms-access|ms-browser-extension|ms-calculator|ms-drive-to|ms-enrollment|ms-excel|ms-eyecontrolspeech|ms-gamebarservices|ms-gamingoverlay|ms-getoffice|ms-help|ms-infopath|ms-inputapp|ms-lockscreencomponent-config|ms-media-stream-id|ms-mixedrealitycapture|ms-mobileplans|ms-officeapp|ms-people|ms-project|ms-powerpoint|ms-publisher|ms-restoretabcompanion|ms-screenclip|ms-screensketch|ms-search|ms-search-repair|ms-secondary-screen-controller|ms-secondary-screen-setup|ms-settings|ms-settings-airplanemode|ms-settings-bluetooth|ms-settings-camera|ms-settings-cellular|ms-settings-cloudstorage|ms-settings-connectabledevices|ms-settings-displays-topology|ms-settings-emailandaccounts|ms-settings-language|ms-settings-location|ms-settings-lock|ms-settings-nfctransactions|ms-settings-notifications|ms-settings-power|ms-settings-privacy|ms-settings-proximity|ms-settings-screenrotation|ms-settings-wifi|ms-settings-workplace|ms-spd|ms-sttoverlay|ms-transit-to|ms-useractivityset|ms-virtualtouchpad|ms-visio|ms-walk-to|ms-whiteboard|ms-whiteboard-cmd|ms-word|msnim|msrp|msrps|mss|mtqp|mumble|mupdate|mvn|news|nfs|ni|nih|nntp|notes|ocf|oid|onenote|onenote-cmd|opaquelocktoken|openpgp4fpr|pack|palm|paparazzi|payto|pkcs11|platform|pop|pres|prospero|proxy|pwid|psyc|pttp|qb|query|redis|rediss|reload|res|resource|rmi|rsync|rtmfp|rtmp|rtsp|rtsps|rtspu|s3|secondlife|service|session|sftp|sgn|shttp|sieve|simpleledger|sip|sips|skype|smb|sms|smtp|snews|snmp|soap.beep|soap.beeps|soldat|spiffe|spotify|ssh|steam|stun|stuns|submit|svn|tag|teamspeak|tel|teliaeid|telnet|tftp|tg|things|thismessage|tip|tn3270|tool|ts3server|turn|turns|tv|udp|unreal|urn|ut2004|v-event|vemmi|ventrilo|videotex|vnc|view-source|wais|webcal|wpid|ws|wss|wtai|wyciwyg|xcon|xcon-userid|xfire|xmlrpc.beep|xmlrpc.beeps|xmpp|xri|ymsgr|z39.50|z39.50r|z39.50s" : e.join("|")).split("|").map((o) => o.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|");
190
152
  try {
191
153
  const c = new URL(t).protocol.replace(":", "");
192
154
  if (r.split("|").includes(c))
@@ -217,195 +179,174 @@ function Kt(t, n = []) {
217
179
  return !1;
218
180
  }
219
181
  }
220
- function Zt(t, n = null) {
221
- if (!N(t))
222
- return !1;
223
- const e = P();
224
- return n !== null && !e.validate(t) ? !1 : n === null ? /^[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}$/.test(
225
- t
226
- ) : n === 0 || n === "nil" ? t.toLowerCase() === e.NIL : n === "max" ? t.toLowerCase() === e.MAX : n < 1 || n > 8 ? !1 : e.version(t) === n;
227
- }
228
- function Jt(t) {
229
- if (!N(t))
230
- return !1;
231
- const n = t.toUpperCase();
232
- return /^[0-9A-HJKMNP-TV-Z]{26}$/.test(n);
233
- }
234
- function Xt(t) {
235
- return ht(t, "-");
182
+ function Ft(t) {
183
+ return rt(t, "-");
236
184
  }
237
- function z(t) {
185
+ function F(t) {
238
186
  return t.length;
239
187
  }
240
- function vt(t, n = 100, e = "...", r = !1) {
241
- if (t.length <= n)
188
+ function zt(t, e = 100, n = "...", r = !1) {
189
+ if (t.length <= e)
242
190
  return t;
243
191
  if (!r)
244
- return t.slice(0, n).replace(/\s+$/, "") + e;
245
- t = dt(t).replace(/[\n\r]+/g, " ").trim();
246
- const s = t.slice(0, n).replace(/\s+$/, "");
247
- return t.substring(n, n + 1) === " " ? s + e : s.replace(/(.*)\s.*/, "$1") + e;
192
+ return t.slice(0, e).replace(/\s+$/, "") + n;
193
+ t = nt(t).replace(/[\n\r]+/g, " ").trim();
194
+ const s = t.slice(0, e).replace(/\s+$/, "");
195
+ return t.substring(e, e + 1) === " " ? s + n : s.replace(/(.*)\s.*/, "$1") + n;
248
196
  }
249
- function T(t) {
250
- return q(t);
197
+ function U(t) {
198
+ return N(t);
251
199
  }
252
- function Bt(t, n = 100, e = "...") {
253
- if (n <= 0)
200
+ function _t(t, e = 100, n = "...") {
201
+ if (e <= 0)
254
202
  return t;
255
- const r = n, s = new RegExp(`^\\s*(?:\\S+\\s*){1,${r}}`, "u"), i = t.match(s);
256
- return !i || z(t) === z(i[0]) ? t : i[0].replace(/\s+$/, "") + e;
203
+ const r = e, s = new RegExp(`^\\s*(?:\\S+\\s*){1,${r}}`, "u"), o = t.match(s);
204
+ return !o || F(t) === F(o[0]) ? t : o[0].replace(/\s+$/, "") + n;
257
205
  }
258
- function Ht(t, n, e, r = null) {
259
- if (n === "")
206
+ function Ot(t, e, n, r = null) {
207
+ if (e === "")
260
208
  return t;
261
209
  const s = t.length;
262
- let i = e;
263
- e < 0 && (i = e < -s ? 0 : s + e);
210
+ let o = n;
211
+ n < 0 && (o = n < -s ? 0 : s + n);
264
212
  const c = t.slice(
265
- i,
266
- r !== null ? i + r : void 0
213
+ o,
214
+ r !== null ? o + r : void 0
267
215
  );
268
216
  if (c === "")
269
217
  return t;
270
- const o = t.slice(0, i), l = c.length, a = t.slice(i + l);
271
- return o + n.slice(0, 1).repeat(l) + a;
218
+ const i = t.slice(0, o), l = c.length, f = t.slice(o + l);
219
+ return i + e.slice(0, 1).repeat(l) + f;
272
220
  }
273
- function Vt(t, n) {
274
- let e = "u", r = t;
221
+ function Nt(t, e) {
222
+ let n = "u", r = t;
275
223
  if (t.length >= 2 && t[0] === "/") {
276
224
  let s = -1;
277
- for (let i = t.length - 1; i > 0; i--)
278
- if (t[i] === "/") {
225
+ for (let o = t.length - 1; o > 0; o--)
226
+ if (t[o] === "/") {
279
227
  let c = 0;
280
- for (let o = i - 1; o >= 0 && t[o] === "\\"; o--)
228
+ for (let i = o - 1; i >= 0 && t[i] === "\\"; i--)
281
229
  c++;
282
230
  if (c % 2 === 0) {
283
- s = i;
231
+ s = o;
284
232
  break;
285
233
  }
286
234
  }
287
235
  if (s > 0) {
288
236
  r = t.slice(1, s);
289
- const i = t.slice(s + 1);
290
- if (i)
291
- for (const c of i)
292
- /[imsuy]/.test(c) && !e.includes(c) && (e += c);
237
+ const o = t.slice(s + 1);
238
+ if (o)
239
+ for (const c of o)
240
+ /[imsuy]/.test(c) && !n.includes(c) && (n += c);
293
241
  }
294
242
  }
295
243
  try {
296
- const i = new RegExp(r, e).exec(n);
297
- return i ? i[1] !== void 0 ? i[1] : i[0] : "";
244
+ const o = new RegExp(r, n).exec(e);
245
+ return o ? o[1] !== void 0 ? o[1] : o[0] : "";
298
246
  } catch {
299
247
  return "";
300
248
  }
301
249
  }
302
- function Qt(t, n) {
303
- n = String(n);
304
- const e = typeof t == "string" ? [t] : Array.from(t);
305
- for (const r of e) {
250
+ function Mt(t, e) {
251
+ e = String(e);
252
+ const n = typeof t == "string" ? [t] : Array.from(t);
253
+ for (const r of n) {
306
254
  if (typeof r != "string" || r === "") continue;
307
- let s = "u", i = r;
255
+ let s = "u", o = r;
308
256
  if (r.length >= 2 && r[0] === "/") {
309
257
  let c = -1;
310
- for (let o = r.length - 1; o > 0; o--)
311
- if (r[o] === "/") {
258
+ for (let i = r.length - 1; i > 0; i--)
259
+ if (r[i] === "/") {
312
260
  let l = 0;
313
- for (let a = o - 1; a >= 0 && r[a] === "\\"; a--)
261
+ for (let f = i - 1; f >= 0 && r[f] === "\\"; f--)
314
262
  l++;
315
263
  if (l % 2 === 0) {
316
- c = o;
264
+ c = i;
317
265
  break;
318
266
  }
319
267
  }
320
268
  if (c > 0) {
321
- i = r.slice(1, c);
322
- const o = r.slice(c + 1);
323
- if (o)
324
- for (const l of o)
269
+ o = r.slice(1, c);
270
+ const i = r.slice(c + 1);
271
+ if (i)
272
+ for (const l of i)
325
273
  /[imsuy]/.test(l) && !s.includes(l) && (s += l);
326
274
  }
327
275
  }
328
276
  try {
329
- if (new RegExp(i, s).test(n))
277
+ if (new RegExp(o, s).test(e))
330
278
  return !0;
331
279
  } catch {
332
280
  }
333
281
  }
334
282
  return !1;
335
283
  }
336
- function Yt(t, n) {
337
- let e = "u", r = t;
284
+ function Wt(t, e) {
285
+ let n = "u", r = t;
338
286
  if (t.length >= 2 && t[0] === "/") {
339
- let i = -1;
287
+ let o = -1;
340
288
  for (let c = t.length - 1; c > 0; c--)
341
289
  if (t[c] === "/") {
342
- let o = 0;
290
+ let i = 0;
343
291
  for (let l = c - 1; l >= 0 && t[l] === "\\"; l--)
344
- o++;
345
- if (o % 2 === 0) {
346
- i = c;
292
+ i++;
293
+ if (i % 2 === 0) {
294
+ o = c;
347
295
  break;
348
296
  }
349
297
  }
350
- if (i > 0) {
351
- r = t.slice(1, i);
352
- const c = t.slice(i + 1);
298
+ if (o > 0) {
299
+ r = t.slice(1, o);
300
+ const c = t.slice(o + 1);
353
301
  if (c)
354
- for (const o of c)
355
- /[imsuy]/.test(o) && !e.includes(o) && (e += o);
302
+ for (const i of c)
303
+ /[imsuy]/.test(i) && !n.includes(i) && (n += i);
356
304
  }
357
305
  }
358
- e.includes("g") || (e += "g");
306
+ n.includes("g") || (n += "g");
359
307
  let s = [];
360
308
  try {
361
- const i = new RegExp(r, e);
309
+ const o = new RegExp(r, n);
362
310
  let c;
363
- for (; (c = i.exec(n)) !== null; )
364
- s.push(c[1] !== void 0 ? c[1] : c[0]), c[0] === "" && i.lastIndex++;
311
+ for (; (c = o.exec(e)) !== null; )
312
+ s.push(c[1] !== void 0 ? c[1] : c[0]), c[0] === "" && o.lastIndex++;
365
313
  } catch {
366
314
  s = [];
367
315
  }
368
316
  return s;
369
317
  }
370
- function tn(t) {
371
- return S(t) ? t.map((n) => n.replace(/[^0-9]/g, "")) : t.replace(/[^0-9]/g, "");
318
+ function Ut(t) {
319
+ return S(t) ? t.map((e) => e.replace(/[^0-9]/g, "")) : t.replace(/[^0-9]/g, "");
372
320
  }
373
- function nn(t, n, e = " ") {
321
+ function It(t, e, n = " ") {
374
322
  const r = t.length;
375
- if (n <= r || e === "")
323
+ if (e <= r || n === "")
376
324
  return t;
377
- const s = n - r, i = Math.floor(s / 2), c = s - i;
378
- return _(e, i) + t + _(e, c);
325
+ const s = e - r, o = Math.floor(s / 2), c = s - o;
326
+ return z(n, o) + t + z(n, c);
379
327
  }
380
- function en(t, n, e = " ") {
328
+ function qt(t, e, n = " ") {
381
329
  const r = t.length;
382
- if (n <= r || e === "")
330
+ if (e <= r || n === "")
383
331
  return t;
384
- const i = n - r;
385
- return _(e, i) + t;
332
+ const o = e - r;
333
+ return z(n, o) + t;
386
334
  }
387
- function rn(t, n, e = " ") {
335
+ function Gt(t, e, n = " ") {
388
336
  const r = t.length;
389
- if (n <= r || e === "")
337
+ if (e <= r || n === "")
390
338
  return t;
391
- const i = n - r;
392
- return t + _(e, i);
339
+ const o = e - r;
340
+ return t + z(n, o);
393
341
  }
394
- function _(t, n) {
395
- if (n <= 0) return "";
396
- const e = Math.ceil(n / t.length);
397
- return t.repeat(e).slice(0, n);
342
+ function z(t, e) {
343
+ if (e <= 0) return "";
344
+ const n = Math.ceil(e / t.length);
345
+ return t.repeat(n).slice(0, e);
398
346
  }
399
- function ut(t, n = 2) {
400
- const e = t.split(/(?=[A-Z])/), r = String(e.pop());
401
- return e.join("") + Y(r, n);
402
- }
403
- function sn(t, n = 2) {
404
- return ut(t, n);
405
- }
406
- function on(t = 32, n = !0, e = !0, r = !0, s = !1) {
407
- const a = [
408
- n ? [
347
+ function Pt(t = 32, e = !0, n = !0, r = !0, s = !1) {
348
+ const f = [
349
+ e ? [
409
350
  "a",
410
351
  "b",
411
352
  "c",
@@ -459,7 +400,7 @@ function on(t = 32, n = !0, e = !0, r = !0, s = !1) {
459
400
  "Y",
460
401
  "Z"
461
402
  ] : null,
462
- e ? ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"] : null,
403
+ n ? ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"] : null,
463
404
  r ? [
464
405
  "~",
465
406
  "!",
@@ -490,245 +431,245 @@ function on(t = 32, n = !0, e = !0, r = !0, s = !1) {
490
431
  ] : null,
491
432
  s ? [" "] : null
492
433
  ].filter((p) => S(p));
493
- if (a.length === 0 || t <= 0)
434
+ if (f.length === 0 || t <= 0)
494
435
  return "";
495
436
  const m = [];
496
- for (const p of a) {
497
- const g = I(0, p.length - 1);
437
+ for (const p of f) {
438
+ const g = O(0, p.length - 1);
498
439
  m.push(p[g]);
499
440
  }
500
- const f = Math.max(0, t - m.length), u = a.flat();
501
- for (let p = 0; p < f; p++) {
502
- const g = I(0, u.length - 1);
503
- m.push(u[g]);
441
+ const u = Math.max(0, t - m.length), a = f.flat();
442
+ for (let p = 0; p < u; p++) {
443
+ const g = O(0, a.length - 1);
444
+ m.push(a[g]);
504
445
  }
505
446
  for (let p = m.length - 1; p > 0; p--) {
506
- const g = I(0, p), d = m[p];
507
- m[p] = m[g], m[g] = d;
447
+ const g = O(0, p), h = m[p];
448
+ m[p] = m[g], m[g] = h;
508
449
  }
509
450
  return m.join("");
510
451
  }
511
- function cn(t, n, e = 0) {
512
- if (n === "")
452
+ function jt(t, e, n = 0) {
453
+ if (e === "")
513
454
  return !1;
514
- const r = Array.from(t), s = Array.from(n);
515
- let i = e >= 0 ? e : r.length + e;
516
- if (i < 0 && (i = 0), i >= r.length)
455
+ const r = Array.from(t), s = Array.from(e);
456
+ let o = n >= 0 ? n : r.length + n;
457
+ if (o < 0 && (o = 0), o >= r.length)
517
458
  return !1;
518
459
  const c = r.length - s.length;
519
- for (let o = i; o <= c; o++) {
460
+ for (let i = o; i <= c; i++) {
520
461
  let l = !0;
521
- for (let a = 0; a < s.length; a++)
522
- if (r[o + a] !== s[a]) {
462
+ for (let f = 0; f < s.length; f++)
463
+ if (r[i + f] !== s[f]) {
523
464
  l = !1;
524
465
  break;
525
466
  }
526
467
  if (l)
527
- return o;
468
+ return i;
528
469
  }
529
470
  return !1;
530
471
  }
531
- function ft(t = 16) {
532
- return (R ?? ((e) => tt(e)))(t);
533
- }
534
- function pt(t) {
535
- R = t;
472
+ function Y(t = 16) {
473
+ return (b ?? ((n) => J(n)))(t);
536
474
  }
537
- function ln(t, n) {
538
- let e = 0;
539
- const r = n ?? function(s) {
540
- const i = R;
541
- R = null;
542
- const c = ft(s);
543
- return R = i, e++, c;
475
+ function v(t) {
476
+ b = t;
477
+ }
478
+ function Kt(t, e) {
479
+ let n = 0;
480
+ const r = e ?? function(s) {
481
+ const o = b;
482
+ b = null;
483
+ const c = Y(s);
484
+ return b = o, n++, c;
544
485
  };
545
- pt((s) => e < t.length ? String(t[e++]) : r(s));
486
+ v((s) => n < t.length ? String(t[n++]) : r(s));
546
487
  }
547
- function an() {
548
- R = null;
488
+ function Tt() {
489
+ b = null;
549
490
  }
550
- function un(t, n) {
551
- return n <= 0 ? "" : t.repeat(n);
491
+ function Bt(t, e) {
492
+ return e <= 0 ? "" : t.repeat(e);
552
493
  }
553
- function fn(t, n, e) {
494
+ function Jt(t, e, n) {
554
495
  let r;
555
- typeof n == "object" && !S(n) ? r = Object.values(n) : r = S(n) ? [...n] : Array.from(n);
556
- const s = e.split(t);
496
+ typeof e == "object" && !S(e) ? r = Object.values(e) : r = S(e) ? [...e] : Array.from(e);
497
+ const s = n.split(t);
557
498
  if (s.length === 1)
558
- return e;
559
- let i = s[0];
499
+ return n;
500
+ let o = s[0];
560
501
  for (let c = 1; c < s.length; c++) {
561
- const o = r.length ? r.shift() : t;
562
- i += o + s[c];
502
+ const i = r.length ? r.shift() : t;
503
+ o += i + s[c];
563
504
  }
564
- return String(i);
505
+ return String(o);
565
506
  }
566
- function pn(t, n) {
507
+ function Zt(t, e) {
567
508
  try {
568
- const e = String(t);
569
- if (e.length)
570
- return e;
509
+ const n = String(t);
510
+ if (n.length)
511
+ return n;
571
512
  throw new Error("Failed to convert value to string");
572
513
  } catch {
573
- return n;
514
+ return e;
574
515
  }
575
516
  }
576
- function gn(t, n, e, r = !0) {
577
- const s = (a) => typeof a == "string" ? [a] : Array.from(a), i = s(t), c = s(n), o = (a) => a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), l = (a) => i.reduce((m, f, u) => {
578
- if (f === "") return m;
579
- const p = c[u] ?? "";
517
+ function Ht(t, e, n, r = !0) {
518
+ const s = (f) => typeof f == "string" ? [f] : Array.from(f), o = s(t), c = s(e), i = (f) => f.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), l = (f) => o.reduce((m, u, a) => {
519
+ if (u === "") return m;
520
+ const p = c[a] ?? "";
580
521
  if (!r)
581
- return m.split(f).join(p);
582
- const g = new RegExp(o(f), "gi");
522
+ return m.split(u).join(p);
523
+ const g = new RegExp(i(u), "gi");
583
524
  return m.replace(g, () => p);
584
- }, a);
585
- return N(e) ? l(e) : Array.from(e).map(l);
525
+ }, f);
526
+ return M(n) ? l(n) : Array.from(n).map(l);
586
527
  }
587
- function gt(t, n, e) {
528
+ function tt(t, e, n) {
588
529
  if (t = String(t), t === "")
589
- return e;
590
- const r = e.indexOf(t);
591
- return r !== -1 ? e.slice(0, r) + n + e.slice(r + t.length) : e;
530
+ return n;
531
+ const r = n.indexOf(t);
532
+ return r !== -1 ? n.slice(0, r) + e + n.slice(r + t.length) : n;
592
533
  }
593
- function mn(t, n, e) {
594
- return t = String(t), t === "" ? e : D(e, t) ? gt(t, n, e) : e;
534
+ function Vt(t, e, n) {
535
+ return t = String(t), t === "" ? n : I(n, t) ? tt(t, e, n) : n;
595
536
  }
596
- function mt(t, n, e) {
537
+ function et(t, e, n) {
597
538
  if (t = String(t), t === "")
598
- return e;
599
- const r = e.lastIndexOf(t);
600
- return r !== -1 ? e.slice(0, r) + n + e.slice(r + t.length) : e;
539
+ return n;
540
+ const r = n.lastIndexOf(t);
541
+ return r !== -1 ? n.slice(0, r) + e + n.slice(r + t.length) : n;
601
542
  }
602
- function dn(t, n, e) {
603
- return t = String(t), t === "" ? e : W(e, t) ? mt(t, n, e) : e;
543
+ function Dt(t, e, n) {
544
+ return t = String(t), t === "" ? n : W(n, t) ? et(t, e, n) : n;
604
545
  }
605
- function hn(t, n, e, r = -1) {
606
- const s = (f) => S(f) ? f : [f], i = s(t);
607
- function c(f) {
546
+ function Qt(t, e, n, r = -1) {
547
+ const s = (u) => S(u) ? u : [u], o = s(t);
548
+ function c(u) {
608
549
  try {
609
- if (f instanceof RegExp) {
610
- let g = f.flags;
611
- return g.includes("g") || (g += "g"), g.includes("u") || (g += "u"), new RegExp(f.source, g);
550
+ if (u instanceof RegExp) {
551
+ let g = u.flags;
552
+ return g.includes("g") || (g += "g"), g.includes("u") || (g += "u"), new RegExp(u.source, g);
612
553
  }
613
- let u = f, p = "gu";
614
- if (f.length >= 2 && f[0] === "/") {
554
+ let a = u, p = "gu";
555
+ if (u.length >= 2 && u[0] === "/") {
615
556
  let g = -1;
616
- for (let d = f.length - 1; d > 0; d--)
617
- if (f[d] === "/") {
618
- let h = 0;
619
- for (let y = d - 1; y >= 0 && f[y] === "\\"; y--)
620
- h++;
621
- if (h % 2 === 0) {
622
- g = d;
557
+ for (let h = u.length - 1; h > 0; h--)
558
+ if (u[h] === "/") {
559
+ let d = 0;
560
+ for (let y = h - 1; y >= 0 && u[y] === "\\"; y--)
561
+ d++;
562
+ if (d % 2 === 0) {
563
+ g = h;
623
564
  break;
624
565
  }
625
566
  }
626
567
  if (g > 1) {
627
- u = f.slice(1, g);
628
- const d = f.slice(g + 1);
629
- if (d)
630
- for (const h of d)
631
- /[imsuy]/.test(h) && !p.includes(h) && (p += h);
568
+ a = u.slice(1, g);
569
+ const h = u.slice(g + 1);
570
+ if (h)
571
+ for (const d of h)
572
+ /[imsuy]/.test(d) && !p.includes(d) && (p += d);
632
573
  p.includes("g") || (p += "g"), p.includes("u") || (p += "u");
633
574
  }
634
575
  }
635
576
  return new RegExp(
636
- u,
577
+ a,
637
578
  Array.from(new Set(p.split(""))).join("")
638
579
  );
639
580
  } catch {
640
581
  return null;
641
582
  }
642
583
  }
643
- const o = [];
644
- for (const f of i) {
645
- const u = c(f);
646
- if (!u) return null;
647
- o.push(u);
584
+ const i = [];
585
+ for (const u of o) {
586
+ const a = c(u);
587
+ if (!a) return null;
588
+ i.push(a);
648
589
  }
649
- const l = rt(n), a = l ? [] : s(n), m = (f) => {
650
- let u = f;
651
- for (let p = 0; p < o.length; p++) {
652
- const g = o[p];
590
+ const l = D(e), f = l ? [] : s(e), m = (u) => {
591
+ let a = u;
592
+ for (let p = 0; p < i.length; p++) {
593
+ const g = i[p];
653
594
  if (l) {
654
- let d = 0;
655
- const h = n;
656
- u = u.replace(
595
+ let h = 0;
596
+ const d = e;
597
+ a = a.replace(
657
598
  g,
658
599
  (y, ...w) => {
659
- if (r >= 0 && d >= r) return y;
660
- d++;
661
- const C = typeof w[w.length - 1] == "object" && typeof w[w.length - 2] == "number" ? w.length - 3 : w.length - 2, A = [];
662
- for (let k = 0; k < C; k++)
663
- A.push(w[k]);
664
- const b = [y, ...A];
665
- return h(b);
600
+ if (r >= 0 && h >= r) return y;
601
+ h++;
602
+ const L = typeof w[w.length - 1] == "object" && typeof w[w.length - 2] == "number" ? w.length - 3 : w.length - 2, $ = [];
603
+ for (let k = 0; k < L; k++)
604
+ $.push(w[k]);
605
+ const A = [y, ...$];
606
+ return d(A);
666
607
  }
667
608
  );
668
609
  } else {
669
- const d = a[p] ?? (a.length === 1 ? a[0] : "");
610
+ const h = f[p] ?? (f.length === 1 ? f[0] : "");
670
611
  if (r < 0)
671
- u = u.replace(g, (h, ...y) => {
672
- const O = typeof y[y.length - 1] == "object" && typeof y[y.length - 2] == "number" ? y.length - 3 : y.length - 2, C = y.slice(0, O).map((A) => String(A));
673
- return d.replace(/\$(\d{1,2})/g, (A, b) => {
674
- const k = parseInt(b, 10);
675
- return (C[k - 1] ?? "").toUpperCase();
612
+ a = a.replace(g, (d, ...y) => {
613
+ const _ = typeof y[y.length - 1] == "object" && typeof y[y.length - 2] == "number" ? y.length - 3 : y.length - 2, L = y.slice(0, _).map(($) => String($));
614
+ return h.replace(/\$(\d{1,2})/g, ($, A) => {
615
+ const k = parseInt(A, 10);
616
+ return (L[k - 1] ?? "").toUpperCase();
676
617
  });
677
618
  });
678
619
  else {
679
- let h = 0;
680
- u = u.replace(g, (y, ...w) => {
681
- if (h >= r) return y;
682
- h++;
683
- const C = typeof w[w.length - 1] == "object" && typeof w[w.length - 2] == "number" ? w.length - 3 : w.length - 2, A = w.slice(0, C).map((b) => String(b));
684
- return d.replace(/\$(\d{1,2})/g, (b, k) => {
685
- const G = parseInt(k, 10);
686
- return (A[G - 1] ?? "").toUpperCase();
620
+ let d = 0;
621
+ a = a.replace(g, (y, ...w) => {
622
+ if (d >= r) return y;
623
+ d++;
624
+ const L = typeof w[w.length - 1] == "object" && typeof w[w.length - 2] == "number" ? w.length - 3 : w.length - 2, $ = w.slice(0, L).map((A) => String(A));
625
+ return h.replace(/\$(\d{1,2})/g, (A, k) => {
626
+ const q = parseInt(k, 10);
627
+ return ($[q - 1] ?? "").toUpperCase();
687
628
  });
688
629
  });
689
630
  }
690
631
  }
691
632
  }
692
- return u;
633
+ return a;
693
634
  };
694
- return S(e) ? e.map(m) : m(e);
635
+ return S(n) ? n.map(m) : m(n);
695
636
  }
696
- function dt(t) {
637
+ function nt(t) {
697
638
  return t.replace(/<\/?[^>]+(>|$)/g, "");
698
639
  }
699
- function yn(t, n, e = !0) {
700
- const r = typeof t == "string" ? [t] : Array.from(t), s = (c) => c.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), i = (c) => {
701
- let o = c;
640
+ function Xt(t, e, n = !0) {
641
+ const r = typeof t == "string" ? [t] : Array.from(t), s = (c) => c.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), o = (c) => {
642
+ let i = c;
702
643
  for (const l of r)
703
644
  if (l !== "")
704
- if (e)
705
- o = o.split(l).join("");
645
+ if (n)
646
+ i = i.split(l).join("");
706
647
  else {
707
- const a = new RegExp(s(l), "gi");
708
- o = o.replace(a, "");
648
+ const f = new RegExp(s(l), "gi");
649
+ i = i.replace(f, "");
709
650
  }
710
- return o;
651
+ return i;
711
652
  };
712
- return typeof n == "string" ? i(n) : Array.from(n, (c) => i(String(c)));
653
+ return typeof e == "string" ? o(e) : Array.from(e, (c) => o(String(c)));
713
654
  }
714
- function wn(t) {
655
+ function Yt(t) {
715
656
  return Array.from(t).reverse().join("");
716
657
  }
717
- function xn(t, n) {
718
- const e = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
719
- return n + t.replace(new RegExp(`^(?:${e})+`, "u"), "");
658
+ function vt(t, e) {
659
+ const n = e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
660
+ return e + t.replace(new RegExp(`^(?:${n})+`, "u"), "");
720
661
  }
721
- function Sn(t) {
722
- const n = String(t).trim();
723
- if (n === "")
662
+ function te(t) {
663
+ const e = String(t).trim();
664
+ if (e === "")
724
665
  return "";
725
- let e = n.split(/\s+/u);
726
- return e.length > 1 ? e = e.map((s) => Z(s)) : e = wt(e.join("_")).map((s) => Z(s)), e.join("_").replace(/[-_ ]+/gu, "_").split("_").filter((s) => s.length > 0).join(" ");
666
+ let n = e.split(/\s+/u);
667
+ return n.length > 1 ? n = n.map((s) => j(s)) : n = ot(n.join("_")).map((s) => j(s)), n.join("_").replace(/[-_ ]+/gu, "_").split("_").filter((s) => s.length > 0).join(" ");
727
668
  }
728
- function $n(t) {
669
+ function ee(t) {
729
670
  if (t.trim() === "")
730
671
  return t;
731
- const n = /* @__PURE__ */ new Set([
672
+ const e = /* @__PURE__ */ new Set([
732
673
  "and",
733
674
  "as",
734
675
  "but",
@@ -764,365 +705,273 @@ function $n(t) {
764
705
  "des",
765
706
  "par",
766
707
  "à"
767
- ]), e = /* @__PURE__ */ new Set([".", "!", "?", ":", "—", ","]), r = t.split(/\s+/u), s = (i) => {
768
- if (!i) return i;
769
- const c = Array.from(i), o = c[0].toLocaleUpperCase(), l = c.slice(1).join("");
770
- return o + l;
708
+ ]), n = /* @__PURE__ */ new Set([".", "!", "?", ":", "—", ","]), r = t.split(/\s+/u), s = (o) => {
709
+ if (!o) return o;
710
+ const c = Array.from(o), i = c[0].toLocaleUpperCase(), l = c.slice(1).join("");
711
+ return i + l;
771
712
  };
772
- for (let i = 0; i < r.length; i++) {
773
- const c = r[i].toLocaleLowerCase();
713
+ for (let o = 0; o < r.length; o++) {
714
+ const c = r[o].toLocaleLowerCase();
774
715
  if (c.includes("-")) {
775
- const l = c.split("-").map((a) => n.has(a) && a.length <= 3 ? a : s(a));
776
- r[i] = l.join("-");
716
+ const l = c.split("-").map((f) => e.has(f) && f.length <= 3 ? f : s(f));
717
+ r[o] = l.join("-");
777
718
  } else {
778
- const o = i > 0 ? r[i - 1] : "", l = o ? Array.from(o).slice(-1)[0] : void 0, a = i === 0 || l !== void 0 && e.has(l);
779
- n.has(c) && c.length <= 3 && !a ? r[i] = c : r[i] = s(c);
719
+ const i = o > 0 ? r[o - 1] : "", l = i ? Array.from(i).slice(-1)[0] : void 0, f = o === 0 || l !== void 0 && n.has(l);
720
+ e.has(c) && c.length <= 3 && !f ? r[o] = c : r[o] = s(c);
780
721
  }
781
722
  }
782
723
  return r.join(" ");
783
724
  }
784
- function An(t, n = "-", e = { "@": "at" }) {
785
- const r = n, s = (f) => f.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&"), i = (f) => f.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), c = (f) => {
786
- let u = f;
725
+ function ne(t, e = "-", n = { "@": "at" }) {
726
+ const r = e, s = (u) => u.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&"), o = (u) => u.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), c = (u) => {
727
+ let a = u;
787
728
  const p = r === "-" ? "_" : "-";
788
729
  {
789
730
  const g = new RegExp(`[${s(p)}]+`, "gu");
790
- u = u.replace(g, r);
731
+ a = a.replace(g, r);
791
732
  }
792
- if (e && typeof e == "object") {
733
+ if (n && typeof n == "object") {
793
734
  const g = {};
794
- for (const [d, h] of Object.entries(e))
795
- g[d] = (r ?? "") + h + (r ?? "");
796
- for (const [d, h] of Object.entries(g))
797
- d !== "" && (u = u.split(d).join(h));
735
+ for (const [h, d] of Object.entries(n))
736
+ g[h] = (r ?? "") + d + (r ?? "");
737
+ for (const [h, d] of Object.entries(g))
738
+ h !== "" && (a = a.split(h).join(d));
798
739
  }
799
- if (u = T(u), r === "")
800
- return u = u.replace(/[^\p{L}\p{N}\s]+/gu, ""), u = u.replace(/[\s]+/gu, ""), u;
740
+ if (a = U(a), r === "")
741
+ return a = a.replace(/[^\p{L}\p{N}\s]+/gu, ""), a = a.replace(/[\s]+/gu, ""), a;
801
742
  {
802
743
  const g = new RegExp(
803
744
  `[^${s(r)}\\p{L}\\p{N}\\s]+`,
804
745
  "gu"
805
746
  );
806
- u = u.replace(g, "");
807
- const d = new RegExp(
747
+ a = a.replace(g, "");
748
+ const h = new RegExp(
808
749
  `[${s(r)}\\s]+`,
809
750
  "gu"
810
751
  );
811
- u = u.replace(d, r);
812
- const h = new RegExp(
813
- `^${i(r)}+|${i(r)}+$`,
752
+ a = a.replace(h, r);
753
+ const d = new RegExp(
754
+ `^${o(r)}+|${o(r)}+$`,
814
755
  "gu"
815
756
  );
816
- return u = u.replace(h, ""), u;
757
+ return a = a.replace(d, ""), a;
817
758
  }
818
- }, o = c(t), l = c(ct(t));
819
- return Object.keys(e || {}).some((f) => /[A-Za-z0-9]/.test(f)) ? l : o;
759
+ }, i = c(t), l = c(Z(t));
760
+ return Object.keys(n || {}).some((u) => /[A-Za-z0-9]/.test(u)) ? l : i;
820
761
  }
821
- function ht(t, n = "_") {
822
- const r = `${t}|${n}`;
823
- if (E.has(r))
824
- return E.get(r);
762
+ function rt(t, e = "_") {
763
+ const r = `${t}|${e}`;
764
+ if (R.has(r))
765
+ return R.get(r);
825
766
  let s = t;
826
- return /^[a-z]+$/.test(t) || (s = xt(t).replace(/\s+/gu, ""), s = s.replace(/(.)(?=[A-Z])/g, `$1${n}`), s = T(s)), E.set(r, s), s;
767
+ return /^[a-z]+$/.test(t) || (s = it(t).replace(/\s+/gu, ""), s = s.replace(/(.)(?=[A-Z])/g, `$1${e}`), s = U(s)), R.set(r, s), s;
827
768
  }
828
- function kn(t) {
829
- return nt(t).replace(/[\s\u3164\u1160]+/gu, " ");
769
+ function re(t) {
770
+ return H(t).replace(/[\s\u3164\u1160]+/gu, " ");
830
771
  }
831
- function D(t, n) {
832
- if (t == null || n == null)
772
+ function I(t, e) {
773
+ if (t == null || e == null)
833
774
  return !1;
834
- let e = [
835
- n
775
+ let n = [
776
+ e
836
777
  ];
837
- typeof n == "string" || typeof n == "number" ? e = [n] : Symbol.iterator in Object(n) && (e = Array.from(n));
778
+ typeof e == "string" || typeof e == "number" ? n = [e] : Symbol.iterator in Object(e) && (n = Array.from(e));
838
779
  const r = String(t);
839
- for (const s of e) {
780
+ for (const s of n) {
840
781
  if (s == null)
841
782
  continue;
842
- const i = String(s);
843
- if (i !== "" && r.startsWith(i))
783
+ const o = String(s);
784
+ if (o !== "" && r.startsWith(o))
844
785
  return !0;
845
786
  }
846
787
  return !1;
847
788
  }
848
- function Ln(t, n) {
849
- return !D(t, n);
789
+ function se(t, e) {
790
+ return !I(t, e);
850
791
  }
851
- function v(t) {
852
- const n = t;
853
- if (U.has(n))
854
- return U.get(n);
855
- const e = String(t).replace(/[-_]+/g, " "), r = e.trim() === "" ? [] : e.split(/\s+/u), s = (c) => {
792
+ function B(t) {
793
+ const e = t;
794
+ if (C.has(e))
795
+ return C.get(e);
796
+ const n = String(t).replace(/[-_]+/g, " "), r = n.trim() === "" ? [] : n.split(/\s+/u), s = (c) => {
856
797
  if (!c) return c;
857
- const o = Array.from(c), l = o[0].toUpperCase(), a = o.slice(1).join("");
858
- return l + a;
859
- }, i = r.map(s).join("");
860
- return U.set(n, i), i;
798
+ const i = Array.from(c), l = i[0].toUpperCase(), f = i.slice(1).join("");
799
+ return l + f;
800
+ }, o = r.map(s).join("");
801
+ return C.set(e, o), o;
861
802
  }
862
- function bn(t) {
863
- return v(t);
803
+ function oe(t) {
804
+ return B(t);
864
805
  }
865
- function Rn(t, n) {
806
+ function ie(t, e) {
866
807
  if (!t || Object.keys(t).length === 0)
867
- return n;
868
- const e = Object.keys(t).filter((i) => i !== "");
869
- if (e.length === 0)
870
- return n;
871
- e.sort((i, c) => c.length - i.length);
872
- const r = (i) => i.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), s = new RegExp(e.map(r).join("|"), "gu");
873
- return n.replace(s, (i) => t[i] ?? i);
808
+ return e;
809
+ const n = Object.keys(t).filter((o) => o !== "");
810
+ if (n.length === 0)
811
+ return e;
812
+ n.sort((o, c) => c.length - o.length);
813
+ const r = (o) => o.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), s = new RegExp(n.map(r).join("|"), "gu");
814
+ return e.replace(s, (o) => t[o] ?? o);
874
815
  }
875
- function Cn(t, n) {
876
- return n < 0 ? x(t, n) : x(t, 0, n);
816
+ function ce(t, e) {
817
+ return e < 0 ? x(t, e) : x(t, 0, e);
877
818
  }
878
- function yt(t) {
879
- return T(x(t, 0, 1)) + x(t, 1);
819
+ function st(t) {
820
+ return U(x(t, 0, 1)) + x(t, 1);
880
821
  }
881
- function En(t) {
882
- return et(x(t, 0, 1)) + x(t, 1);
822
+ function le(t) {
823
+ return V(x(t, 0, 1)) + x(t, 1);
883
824
  }
884
- function wt(t) {
825
+ function ot(t) {
885
826
  return t.split(new RegExp("(?=\\p{Lu})", "u")).filter(Boolean);
886
827
  }
887
- function xt(t, n = ` \r
828
+ function it(t, e = ` \r
888
829
  \f\v`) {
889
- const e = S(n) ? n.join("") : n, r = (o) => o.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&"), s = e.length ? r(e) : "", i = s.length ? `(?:\\s|[${s}])` : "\\s", c = new RegExp(`(^|${i})(\\p{Ll})`, "gu");
890
- return t.replace(c, (o, l, a) => l + a.toUpperCase());
830
+ const n = S(e) ? e.join("") : e, r = (i) => i.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&"), s = n.length ? r(n) : "", o = s.length ? `(?:\\s|[${s}])` : "\\s", c = new RegExp(`(^|${o})(\\p{Ll})`, "gu");
831
+ return t.replace(c, (i, l, f) => l + f.toUpperCase());
891
832
  }
892
- function Fn(t, n = null) {
893
- const e = n && n.length > 0 ? n.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&") : "", r = e.length > 0 ? new RegExp(`[\\p{L}\\p{N}${e}]+`, "gu") : /[\p{L}\p{N}]+/gu, s = t.match(r);
833
+ function fe(t, e = null) {
834
+ const n = e && e.length > 0 ? e.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&") : "", r = n.length > 0 ? new RegExp(`[\\p{L}\\p{N}${n}]+`, "gu") : /[\p{L}\p{N}]+/gu, s = t.match(r);
894
835
  return s ? s.length : 0;
895
836
  }
896
- function Un(t, n = 75, e = `
837
+ function ae(t, e = 75, n = `
897
838
  `, r = !1) {
898
- if (t.length === 0 || n < 1 || e === "")
839
+ if (t.length === 0 || e < 1 || n === "")
899
840
  return t;
900
- const s = t.split(/\r\n|\n|\r/), i = [];
841
+ const s = t.split(/\r\n|\n|\r/), o = [];
901
842
  for (const c of s) {
902
- let o = c;
903
- if (o.length === 0) {
904
- i.push("");
843
+ let i = c;
844
+ if (i.length === 0) {
845
+ o.push("");
905
846
  continue;
906
847
  }
907
848
  if (r) {
908
- for (; o.length > 0 && !(/^\s/u.test(o) && (o = o.replace(/^\s+/u, ""), o.length === 0)); ) {
909
- if (o.length <= n) {
910
- i.push(o), o = "";
849
+ for (; i.length > 0 && !(/^\s/u.test(i) && (i = i.replace(/^\s+/u, ""), i.length === 0)); ) {
850
+ if (i.length <= e) {
851
+ o.push(i), i = "";
911
852
  break;
912
853
  }
913
- let l = o.slice(0, n);
914
- l = l.replace(/\s+$/u, ""), i.push(l), o = o.slice(n).replace(/^\s+/u, "");
854
+ let l = i.slice(0, e);
855
+ l = l.replace(/\s+$/u, ""), o.push(l), i = i.slice(e).replace(/^\s+/u, "");
915
856
  }
916
857
  continue;
917
858
  }
918
- for (; o.length > n; ) {
919
- const l = o.replace(/^\s+/u, "");
920
- if (l.length !== o.length && (o = l, o.length <= n))
859
+ for (; i.length > e; ) {
860
+ const l = i.replace(/^\s+/u, "");
861
+ if (l.length !== i.length && (i = l, i.length <= e))
921
862
  break;
922
- const a = o.slice(0, n + 1);
863
+ const f = i.slice(0, e + 1);
923
864
  let m = -1;
924
- for (let u = a.length - 1; u >= 0; u--)
925
- if (/\s/u.test(a[u])) {
926
- m = u;
865
+ for (let a = f.length - 1; a >= 0; a--)
866
+ if (/\s/u.test(f[a])) {
867
+ m = a;
927
868
  break;
928
869
  }
929
870
  if (m > 0) {
930
- i.push(o.slice(0, m)), o = o.slice(m + 1);
871
+ o.push(i.slice(0, m)), i = i.slice(m + 1);
931
872
  continue;
932
873
  }
933
- const f = o.search(/\s/u);
934
- if (f >= 0) {
935
- i.push(o.slice(0, f)), o = o.slice(f + 1);
874
+ const u = i.search(/\s/u);
875
+ if (u >= 0) {
876
+ o.push(i.slice(0, u)), i = i.slice(u + 1);
936
877
  continue;
937
878
  }
938
- i.push(o), o = "";
879
+ o.push(i), i = "";
939
880
  break;
940
881
  }
941
- o.length > 0 && i.push(o);
942
- }
943
- return i.join(e);
944
- }
945
- function B() {
946
- return $ ? $() : P().v4();
947
- }
948
- function Nn() {
949
- return $ ? $() : P().v7();
950
- }
951
- function H(t = null) {
952
- $ = t;
953
- }
954
- function zn(t, n = null) {
955
- let e = 0;
956
- n ??= function() {
957
- const r = $;
958
- $ = null;
959
- const s = B();
960
- return $ = r, e++, s;
961
- }, H(function() {
962
- return e < t.length ? t[e++] : n();
963
- });
964
- }
965
- function _n(t = null) {
966
- const n = B();
967
- if (H(() => n), t !== null)
968
- try {
969
- t(n);
970
- } finally {
971
- St();
972
- }
973
- return n;
974
- }
975
- function St() {
976
- $ = null;
977
- }
978
- function V(t = null) {
979
- if (L)
980
- return L();
981
- const n = ot();
982
- if (t == null)
983
- return n();
984
- let e;
985
- t instanceof Date ? e = t.getTime() : e = t;
986
- const r = Date.now;
987
- try {
988
- return Date.now = () => e, n();
989
- } finally {
990
- Date.now = r;
882
+ i.length > 0 && o.push(i);
991
883
  }
884
+ return o.join(n);
992
885
  }
993
- function $t() {
994
- L = null;
995
- }
996
- function Q(t = null) {
997
- L = t;
998
- }
999
- function Mn(t, n = null) {
1000
- let e = 0;
1001
- n ??= function() {
1002
- const r = L;
1003
- L = null;
1004
- const s = V();
1005
- return L = r, e++, s;
1006
- }, Q(function() {
1007
- return e < t.length ? t[e++] : n();
1008
- });
1009
- }
1010
- function On(t = null) {
1011
- const n = V();
1012
- if (Q(() => n), t !== null)
1013
- try {
1014
- t(n);
1015
- } finally {
1016
- $t();
1017
- }
1018
- return n;
886
+ function ue() {
887
+ return R.size;
1019
888
  }
1020
- function In() {
889
+ function pe() {
1021
890
  return E.size;
1022
891
  }
1023
- function qn() {
1024
- return F.size;
1025
- }
1026
- function Pn() {
1027
- return U.size;
892
+ function ge() {
893
+ return C.size;
1028
894
  }
1029
- function Wn() {
1030
- E.clear(), F.clear(), U.clear();
895
+ function me() {
896
+ R.clear(), E.clear(), C.clear();
1031
897
  }
1032
898
  export {
1033
- J as after,
1034
- bt as afterLast,
1035
- $n as apa,
1036
- ct as ascii,
1037
- lt as before,
1038
- at as beforeLast,
1039
- Ct as between,
1040
- Et as betweenFirst,
1041
- Ft as camel,
1042
- qn as camelCacheSize,
1043
- Ut as charAt,
1044
- zt as chopEnd,
1045
- Nt as chopStart,
1046
- X as contains,
1047
- Mt as containsAll,
1048
- an as createRandomStringsNormally,
1049
- pt as createRandomStringsUsing,
1050
- ln as createRandomStringsUsingSequence,
1051
- $t as createUlidsNormally,
1052
- Q as createUlidsUsing,
1053
- Mn as createUlidsUsingSequence,
1054
- St as createUuidsNormally,
1055
- H as createUuidsUsing,
1056
- zn as createUuidsUsingSequence,
1057
- It as deduplicate,
1058
- Ot as doesntContain,
1059
- qt as doesntEndWith,
1060
- Ln as doesntStartWith,
899
+ K as after,
900
+ at as afterLast,
901
+ ee as apa,
902
+ Q as before,
903
+ X as beforeLast,
904
+ ut as between,
905
+ pt as betweenFirst,
906
+ gt as camel,
907
+ pe as camelCacheSize,
908
+ mt as charAt,
909
+ dt as chopEnd,
910
+ ht as chopStart,
911
+ T as contains,
912
+ wt as containsAll,
913
+ Tt as createRandomStringsNormally,
914
+ v as createRandomStringsUsing,
915
+ Kt as createRandomStringsUsingSequence,
916
+ St as deduplicate,
917
+ xt as doesntContain,
918
+ $t as doesntEndWith,
919
+ se as doesntStartWith,
1061
920
  W as endsWith,
1062
- _t as excerpt,
1063
- Pt as finish,
1064
- Wn as flushCache,
1065
- On as freezeUlids,
1066
- _n as freezeUuids,
1067
- Sn as headline,
1068
- Dt as is,
1069
- Gt as isAscii,
1070
- jt as isJson,
1071
- Qt as isMatch,
1072
- Jt as isUlid,
1073
- Kt as isUrl,
1074
- Zt as isUuid,
1075
- Xt as kebab,
1076
- yt as lcfirst,
1077
- z as length,
1078
- vt as limit,
1079
- T as lower,
1080
- _ as makePad,
1081
- Ht as mask,
1082
- Vt as match,
1083
- Yt as matchAll,
1084
- tn as numbers,
1085
- nn as padBoth,
1086
- en as padLeft,
1087
- rn as padRight,
1088
- bn as pascal,
1089
- on as password,
1090
- sn as pluralPascal,
1091
- ut as pluralStudly,
1092
- cn as position,
1093
- ft as random,
1094
- yn as remove,
1095
- un as repeat,
1096
- gn as replace,
1097
- fn as replaceArray,
1098
- dn as replaceEnd,
1099
- gt as replaceFirst,
1100
- mt as replaceLast,
1101
- hn as replaceMatches,
1102
- mn as replaceStart,
1103
- wn as reverse,
1104
- An as slug,
1105
- ht as snake,
1106
- In as snakeCacheSize,
1107
- kn as squish,
1108
- xn as start,
1109
- D as startsWith,
1110
- dt as stripTags,
1111
- v as studly,
1112
- Pn as studlyCacheSize,
1113
- Rn as swap,
1114
- Cn as take,
1115
- pn as toStringOr,
1116
- Rt as transliterate,
1117
- En as ucfirst,
1118
- wt as ucsplit,
1119
- xt as ucwords,
1120
- V as ulid,
1121
- Tt as unwrap,
1122
- B as uuid,
1123
- Nn as uuid7,
1124
- Fn as wordCount,
1125
- Un as wordWrap,
1126
- Bt as words,
1127
- Wt as wrap
921
+ yt as excerpt,
922
+ kt as finish,
923
+ me as flushCache,
924
+ te as headline,
925
+ Lt as is,
926
+ Rt as isAscii,
927
+ Et as isJson,
928
+ Mt as isMatch,
929
+ Ct as isUrl,
930
+ Ft as kebab,
931
+ st as lcfirst,
932
+ F as length,
933
+ zt as limit,
934
+ U as lower,
935
+ z as makePad,
936
+ Ot as mask,
937
+ Nt as match,
938
+ Wt as matchAll,
939
+ Ut as numbers,
940
+ It as padBoth,
941
+ qt as padLeft,
942
+ Gt as padRight,
943
+ oe as pascal,
944
+ Pt as password,
945
+ jt as position,
946
+ Y as random,
947
+ Xt as remove,
948
+ Bt as repeat,
949
+ Ht as replace,
950
+ Jt as replaceArray,
951
+ Dt as replaceEnd,
952
+ tt as replaceFirst,
953
+ et as replaceLast,
954
+ Qt as replaceMatches,
955
+ Vt as replaceStart,
956
+ Yt as reverse,
957
+ ne as slug,
958
+ rt as snake,
959
+ ue as snakeCacheSize,
960
+ re as squish,
961
+ vt as start,
962
+ I as startsWith,
963
+ nt as stripTags,
964
+ B as studly,
965
+ ge as studlyCacheSize,
966
+ ie as swap,
967
+ ce as take,
968
+ Zt as toStringOr,
969
+ le as ucfirst,
970
+ ot as ucsplit,
971
+ it as ucwords,
972
+ bt as unwrap,
973
+ fe as wordCount,
974
+ ae as wordWrap,
975
+ _t as words,
976
+ At as wrap
1128
977
  };