@tolki/str 1.8.0 → 1.9.0

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 (39) hide show
  1. package/README.md +31 -7
  2. package/dist/ascii/index.d.ts.map +1 -1
  3. package/dist/ascii/index.js +4 -2
  4. package/dist/base64/index.d.ts.map +1 -1
  5. package/dist/base64/index.js +3 -0
  6. package/dist/convertcase/index.d.ts.map +1 -1
  7. package/dist/convertcase/index.js +7 -1
  8. package/dist/index.d.ts +13 -13
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/markdown/index.d.ts.map +1 -1
  11. package/dist/markdown/index.js +5 -2
  12. package/dist/pluralizer/index.d.ts +2 -0
  13. package/dist/pluralizer/index.d.ts.map +1 -1
  14. package/dist/pluralizer/index.js +14 -5
  15. package/dist/random/index.d.ts.map +1 -1
  16. package/dist/random/index.js +3 -1
  17. package/dist/replacer/index.d.ts +3 -0
  18. package/dist/replacer/index.d.ts.map +1 -1
  19. package/dist/replacer/index.js +27 -24
  20. package/dist/str.d.ts +26 -2
  21. package/dist/str.d.ts.map +1 -1
  22. package/dist/str.js +291 -205
  23. package/dist/stringable/index.d.ts +20 -3
  24. package/dist/stringable/index.d.ts.map +1 -1
  25. package/dist/stringable/index.js +98 -94
  26. package/dist/transliterate/index.d.ts.map +1 -1
  27. package/dist/transliterate/index.js +1 -0
  28. package/dist/trimmer/index.d.ts.map +1 -1
  29. package/dist/trimmer/index.js +4 -1
  30. package/dist/ulid/index.d.ts +8 -0
  31. package/dist/ulid/index.d.ts.map +1 -1
  32. package/dist/ulid/index.js +4 -2
  33. package/dist/uuid/index.d.ts +8 -0
  34. package/dist/uuid/index.d.ts.map +1 -1
  35. package/dist/uuid/index.js +5 -2
  36. package/dist/width/index.d.ts +19 -0
  37. package/dist/width/index.d.ts.map +1 -0
  38. package/dist/width/index.js +155 -0
  39. package/package.json +8 -23
package/dist/str.js CHANGED
@@ -4,126 +4,152 @@ import { substr as i } from "./replacer/index.js";
4
4
  import { ltrim as a, rtrim as o, trim as s } from "./trimmer/index.js";
5
5
  import { createUlidsNormally as c } from "./ulid/index.js";
6
6
  import { createUuidsNormally as l } from "./uuid/index.js";
7
- import { hasOwnToString as u, isArray as d, isFunction as f, isIterable as p, isMap as m, isNull as h, isNumber as g, isObject as _, isPlainObject as v, isString as y, isUndefined as ee, phpStringCast as b, toLower as x } from "@tolki/utils";
7
+ import { strWidth as u, strimWidth as d } from "./width/index.js";
8
+ import { hasOwnToString as f, isArray as p, isFunction as m, isIterable as h, isMap as g, isNull as _, isNumber as v, isObject as y, isPlainObject as ee, isString as b, isUndefined as te, phpIntArgument as x, phpStringCast as S, toLower as C } from "@tolki/utils";
8
9
  // src/str.ts
9
- var S = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), T = null;
10
- function E(e, t) {
10
+ var w = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), D = null;
11
+ /* @__NO_SIDE_EFFECTS__ */
12
+ function O(e, t) {
11
13
  if (t === "") return e;
12
14
  let n = String(t), r = e.indexOf(n);
13
15
  return r === -1 ? e : e.slice(r + n.length);
14
16
  }
15
- function te(e, t) {
17
+ /* @__NO_SIDE_EFFECTS__ */
18
+ function ne(e, t) {
16
19
  if (t === "") return e;
17
20
  let n = e.lastIndexOf(String(t));
18
21
  return n === -1 ? e : e.slice(n + String(t).length);
19
22
  }
20
- function D(e, t) {
23
+ /* @__NO_SIDE_EFFECTS__ */
24
+ function k(e, t) {
21
25
  if (t === "") return e;
22
26
  let n = e.indexOf(String(t));
23
27
  return n === -1 ? e : e.slice(0, n);
24
28
  }
25
- function O(e, t) {
29
+ /* @__NO_SIDE_EFFECTS__ */
30
+ function re(e, t) {
26
31
  if (t === "") return e;
27
32
  let n = e.lastIndexOf(String(t));
28
- return n === -1 ? e : i(e, 0, n);
29
- }
30
- function ne(e, t, n) {
31
- return t === "" || n === "" ? e : O(E(e, t), n);
33
+ return n === -1 ? e : e.slice(0, n);
32
34
  }
33
- function re(e, t, n) {
34
- return t === "" || n === "" ? e : D(E(e, t), n);
35
+ /* @__NO_SIDE_EFFECTS__ */
36
+ function ie(e, t, n) {
37
+ return t === "" || n === "" ? e : /* @__PURE__ */ re(/* @__PURE__ */ O(e, t), n);
35
38
  }
36
- function ie(e) {
37
- if (C.has(e)) return C.get(e);
38
- let t = Y(J(e));
39
- return C.set(e, t), t;
39
+ /* @__NO_SIDE_EFFECTS__ */
40
+ function ae(e, t, n) {
41
+ return t === "" || n === "" ? e : /* @__PURE__ */ k(/* @__PURE__ */ O(e, t), n);
40
42
  }
41
- function ae(e, t) {
42
- let n = e.length;
43
- return !(t < 0 ? t < -n : t > n - 1) && (t < 0 && (t += n), e.charAt(t));
43
+ /* @__NO_SIDE_EFFECTS__ */
44
+ function oe(e) {
45
+ if (T.has(e)) return T.get(e);
46
+ let t = /* @__PURE__ */ Z(/* @__PURE__ */ X(e));
47
+ return T.set(e, t), t;
44
48
  }
45
- function oe(e, t) {
46
- for (let n of d(t) ? t : [t]) if (n !== "" && e.startsWith(n)) {
49
+ /* @__NO_SIDE_EFFECTS__ */
50
+ function se(e, t) {
51
+ let n = Array.from(e), r = n.length;
52
+ if (t < 0 ? t < -r : t > r - 1) return !1;
53
+ let i = x(t, "mb_substr(): Argument #2 ($start) must be of type int, float given");
54
+ return n[i < 0 ? i + r : i];
55
+ }
56
+ /* @__NO_SIDE_EFFECTS__ */
57
+ function ce(e, t) {
58
+ for (let n of p(t) ? t : [t]) if (n !== "" && e.startsWith(n)) {
47
59
  let t = [...e], r = [...n];
48
60
  return t.slice(r.length).join("");
49
61
  }
50
62
  return e;
51
63
  }
52
- function se(e, t) {
53
- for (let n of d(t) ? t : [t]) if (n !== "" && e.endsWith(n)) {
64
+ /* @__NO_SIDE_EFFECTS__ */
65
+ function le(e, t) {
66
+ for (let n of p(t) ? t : [t]) if (n !== "" && e.endsWith(n)) {
54
67
  let t = [...e], r = [...n];
55
68
  return t.slice(0, -r.length).join("");
56
69
  }
57
70
  return e;
58
71
  }
59
- function k(e, t, n = !1) {
72
+ /* @__NO_SIDE_EFFECTS__ */
73
+ function A(e, t, n = !1) {
60
74
  n && (e = e.toLowerCase());
61
75
  let r;
62
76
  r = typeof t == "string" ? [t] : Array.from(t);
63
77
  for (let t of r) if (n && (t = t.toLowerCase()), t !== "" && e.includes(t)) return !0;
64
78
  return !1;
65
79
  }
66
- function ce(e, t = "", n = {}) {
67
- let { radius: r = 100, omission: s = "..." } = n, c = String(e ?? ""), l = RegExp(`^(.*?)(${((e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"))(t ?? "")})(.*)$`, "iu").exec(c);
80
+ /* @__NO_SIDE_EFFECTS__ */
81
+ function ue(e, t = "", n = {}) {
82
+ let { radius: r = 100, omission: s = "..." } = n, c = String(e ?? ""), l = RegExp(`^(.*?)(${H(t ?? "")})(.*)$`, "iu").exec(c);
68
83
  if (!l) return null;
69
- let u = String(l[1]), d = String(l[2]), f = String(l[3]), p = a(u), m = Array.from(p).length, h = i(p, Math.max(m - r, 0), r), g = a(h);
84
+ let u = String(l[1]), d = String(l[2]), f = String(l[3]), p = /* @__PURE__ */ a(u), m = Array.from(p).length, h = /* @__PURE__ */ i(p, Math.max(m - r, 0), r), g = /* @__PURE__ */ a(h);
70
85
  g !== p && (g = s + g);
71
- let _ = o(f), v = i(_, 0, r), y = o(v);
72
- return y !== _ && (y += s), g + d + y;
86
+ let _ = /* @__PURE__ */ o(f), v = /* @__PURE__ */ o(/* @__PURE__ */ i(_, 0, r));
87
+ return v !== _ && (v += s), g + d + v;
73
88
  }
74
- function le(e, t, n = !1) {
89
+ /* @__NO_SIDE_EFFECTS__ */
90
+ function de(e, t, n = !1) {
75
91
  let r = !1;
76
- for (let i of t) if (r = !0, !k(e, i, n)) return !1;
92
+ for (let i of t) if (r = !0, !/* @__PURE__ */ A(e, i, n)) return !1;
77
93
  return r;
78
94
  }
79
- function ue(e, t, n = !1) {
80
- return !k(e, t, n);
95
+ /* @__NO_SIDE_EFFECTS__ */
96
+ function fe(e, t, n = !1) {
97
+ return !/* @__PURE__ */ A(e, t, n);
81
98
  }
82
- function de(e, t = " ") {
83
- return d(t) ? (t.forEach((t) => {
84
- e = e.replace(RegExp(`${t}+`, "g"), t);
85
- }), e) : e.replace(RegExp(`${t}+`, "g"), t);
99
+ /* @__NO_SIDE_EFFECTS__ */
100
+ function pe(e, t = " ") {
101
+ return p(t) ? (t.forEach((t) => {
102
+ e = e.replace(RegExp(`${H(t)}+`, "gu"), () => t);
103
+ }), e) : e.replace(RegExp(`${H(t)}+`, "gu"), () => t);
86
104
  }
87
- function A(e, t) {
105
+ /* @__NO_SIDE_EFFECTS__ */
106
+ function j(e, t) {
88
107
  if (e === null) return !1;
89
- e = String(e), t = d(t) ? Array.from(t) : [String(t)];
108
+ e = String(e), t = p(t) ? Array.from(t) : [String(t)];
90
109
  for (let n of t) if (n !== "" && e.endsWith(n)) return !0;
91
110
  return !1;
92
111
  }
93
- function fe(e, t) {
94
- return !A(e, t);
112
+ /* @__NO_SIDE_EFFECTS__ */
113
+ function me(e, t) {
114
+ return !/* @__PURE__ */ j(e, t);
95
115
  }
96
- function pe(e, t) {
97
- let n = b(e), r = b(t);
116
+ /* @__NO_SIDE_EFFECTS__ */
117
+ function he(e, t) {
118
+ let n = S(e), r = S(t);
98
119
  if (r === "") return n;
99
120
  let i = n.length;
100
121
  for (; n.endsWith(r, i);) i -= r.length;
101
122
  return `${n.slice(0, i)}${r}`;
102
123
  }
103
- function me(e, t, n = null) {
124
+ /* @__NO_SIDE_EFFECTS__ */
125
+ function ge(e, t, n = null) {
104
126
  return t + e + (n ?? t);
105
127
  }
106
- function he(e, t, n = null) {
107
- return q(e, t) && (e = i(e, M(t))), A(e, n ??= t) && (e = i(e, 0, -M(n))), e;
128
+ /* @__NO_SIDE_EFFECTS__ */
129
+ function _e(e, t, n = null) {
130
+ return /* @__PURE__ */ Y(e, t) && (e = /* @__PURE__ */ i(e, /* @__PURE__ */ N(t))), /* @__PURE__ */ j(e, n ??= t) && (e = /* @__PURE__ */ i(e, 0, -/* @__PURE__ */ N(n))), e;
108
131
  }
109
- function ge(e, t, n = !1) {
132
+ /* @__NO_SIDE_EFFECTS__ */
133
+ function ve(e, t, n = !1) {
110
134
  t = String(t);
111
135
  let r;
112
136
  r = typeof e == "string" ? [e] : Array.from(e);
113
137
  for (let e of r) {
114
- if (e = String(e), e === t || n && x(e) === x(t)) return !0;
138
+ if (e = String(e), e === t || n && C(e) === C(t)) return !0;
115
139
  e = e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), e = e.replace(/\\\*/g, ".*");
116
140
  let r = n ? "iu" : "u";
117
141
  if (RegExp(`^${e}$`, r).test(t)) return !0;
118
142
  }
119
143
  return !1;
120
144
  }
121
- function j(e) {
145
+ /* @__NO_SIDE_EFFECTS__ */
146
+ function M(e) {
122
147
  for (let t = 0; t < e.length; t++) if (e.charCodeAt(t) > 127) return !1;
123
148
  return !0;
124
149
  }
125
- function _e(e) {
126
- if (!y(e)) return !1;
150
+ /* @__NO_SIDE_EFFECTS__ */
151
+ function ye(e) {
152
+ if (!b(e)) return !1;
127
153
  try {
128
154
  JSON.parse(e);
129
155
  } catch {
@@ -131,8 +157,9 @@ function _e(e) {
131
157
  }
132
158
  return !0;
133
159
  }
134
- function ve(e, t = []) {
135
- if (!y(e)) return !1;
160
+ /* @__NO_SIDE_EFFECTS__ */
161
+ function be(e, t = []) {
162
+ if (!b(e)) return !1;
136
163
  let n = (t.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" : t.join("|")).split("|").map((e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|");
137
164
  try {
138
165
  let t = new URL(e), r = t.protocol.replace(":", ""), i = t.hostname, a = e.slice(e.indexOf("://") + 3).startsWith("/"), o = i.length > 0 && !/^\.+$/.test(i) && !a, s = r === "file" && a;
@@ -158,37 +185,46 @@ function ve(e, t = []) {
158
185
  ].join("");
159
186
  return new RegExp(r, "iu").test(e);
160
187
  }
161
- function ye(e) {
162
- return K(e, "-");
188
+ /* @__NO_SIDE_EFFECTS__ */
189
+ function xe(e) {
190
+ return /* @__PURE__ */ J(e, "-");
163
191
  }
164
- function M(e) {
165
- return e.length;
192
+ /* @__NO_SIDE_EFFECTS__ */
193
+ function N(e) {
194
+ let t = 0;
195
+ for (let n of e) t++;
196
+ return t;
166
197
  }
167
- function be(e, t = 100, n = "...", r = !1) {
168
- if (e.length <= t) return e;
169
- if (!r) return e.slice(0, t).trimEnd() + n;
170
- e = G(e).replace(/[\n\r]+/g, " ").trim();
171
- let i = e.slice(0, t).trimEnd();
172
- return e.substring(t, t + 1) === " " || !/\s/.test(i) ? i + n : i.replace(/(.*)\s.*/, "$1") + n;
198
+ /* @__NO_SIDE_EFFECTS__ */
199
+ function Se(e, t = 100, n = "...", r = !1) {
200
+ if (/* @__PURE__ */ u(e) <= t) return e;
201
+ if (!r) return (/* @__PURE__ */ d(e, t)).trimEnd() + n;
202
+ e = (/* @__PURE__ */ q(e)).replace(/[\n\r]+/g, " ").trim();
203
+ let a = (/* @__PURE__ */ d(e, t)).trimEnd();
204
+ return /* @__PURE__ */ i(e, t, 1) === " " || !/\s/.test(a) ? a + n : a.replace(/(.*)\s.*/, "$1") + n;
173
205
  }
174
- function N(e) {
175
- return x(e);
206
+ /* @__NO_SIDE_EFFECTS__ */
207
+ function P(e) {
208
+ return C(e);
176
209
  }
177
- function xe(e, t = 100, n = "...") {
210
+ /* @__NO_SIDE_EFFECTS__ */
211
+ function Ce(e, t = 100, n = "...") {
178
212
  if (t <= 0) return e;
179
213
  let r = RegExp(`^\\s*(?:\\S+\\s*){1,${t}}`, "u"), i = e.match(r);
180
- return !i || M(e) === M(i[0]) ? e : i[0].trimEnd() + n;
214
+ return !i || /* @__PURE__ */ N(e) === /* @__PURE__ */ N(i[0]) ? e : i[0].trimEnd() + n;
181
215
  }
182
- function Se(e, t, n, r = null) {
216
+ /* @__NO_SIDE_EFFECTS__ */
217
+ function we(e, t, n, r = null) {
183
218
  if (t === "") return e;
184
- let i = e.length, a = n;
185
- n < 0 && (a = n < -i ? 0 : i + n);
186
- let o = e.slice(a, r === null ? void 0 : a + r);
187
- if (o === "") return e;
188
- let s = e.slice(0, a), c = o.length, l = e.slice(a + c);
189
- return s + t.slice(0, 1).repeat(c) + l;
190
- }
191
- function Ce(e, t) {
219
+ let a = /* @__PURE__ */ i(e, n, r);
220
+ if (a === "") return e;
221
+ let o = Array.from(e).length, s = n;
222
+ n < 0 && (s = n < -o ? 0 : o + n);
223
+ let c = /* @__PURE__ */ i(e, 0, s), l = Array.from(a).length, u = /* @__PURE__ */ i(e, s + l);
224
+ return c + (/* @__PURE__ */ i(t, 0, 1)).repeat(l) + u;
225
+ }
226
+ /* @__NO_SIDE_EFFECTS__ */
227
+ function Te(e, t) {
192
228
  let n = "u", r = e;
193
229
  if (e.length >= 2 && e[0] === "/") {
194
230
  let t = -1;
@@ -213,7 +249,8 @@ function Ce(e, t) {
213
249
  return "";
214
250
  }
215
251
  }
216
- function we(e, t) {
252
+ /* @__NO_SIDE_EFFECTS__ */
253
+ function Ee(e, t) {
217
254
  t = String(t);
218
255
  let n = typeof e == "string" ? [e] : Array.from(e);
219
256
  for (let e of n) {
@@ -241,7 +278,8 @@ function we(e, t) {
241
278
  }
242
279
  return !1;
243
280
  }
244
- function Te(e, t) {
281
+ /* @__NO_SIDE_EFFECTS__ */
282
+ function De(e, t) {
245
283
  let n = "u", r = e;
246
284
  if (e.length >= 2 && e[0] === "/") {
247
285
  let t = -1;
@@ -269,29 +307,39 @@ function Te(e, t) {
269
307
  }
270
308
  return i;
271
309
  }
272
- function Ee(e) {
273
- return d(e) ? e.map((e) => e.replace(/\D/g, "")) : e.replace(/\D/g, "");
310
+ /* @__NO_SIDE_EFFECTS__ */
311
+ function Oe(e) {
312
+ return p(e) ? e.map((e) => e.replace(/\D/g, "")) : e.replace(/\D/g, "");
313
+ }
314
+ /* @__NO_SIDE_EFFECTS__ */
315
+ function ke(e, t, n = " ") {
316
+ let r = F(e, t, n), i = Math.floor(r / 2), a = r - i;
317
+ return /* @__PURE__ */ I(n, i) + e + /* @__PURE__ */ I(n, a);
274
318
  }
275
- function De(e, t, n = " ") {
276
- let r = e.length;
277
- if (t <= r || n === "") return e;
278
- let i = t - r, a = Math.floor(i / 2), o = i - a;
279
- return P(n, a) + e + P(n, o);
319
+ /* @__NO_SIDE_EFFECTS__ */
320
+ function Ae(e, t, n = " ") {
321
+ return /* @__PURE__ */ I(n, F(e, t, n)) + e;
280
322
  }
281
- function Oe(e, t, n = " ") {
282
- let r = e.length;
283
- return t <= r || n === "" ? e : P(n, t - r) + e;
323
+ /* @__NO_SIDE_EFFECTS__ */
324
+ function je(e, t, n = " ") {
325
+ return e + /* @__PURE__ */ I(n, F(e, t, n));
284
326
  }
285
- function ke(e, t, n = " ") {
286
- let r = e.length;
287
- return t <= r || n === "" ? e : e + P(n, t - r);
327
+ function F(e, t, n) {
328
+ let r = x(t, "mb_str_pad(): Argument #2 ($length) must be of type int, float given") - /* @__PURE__ */ N(e);
329
+ if (r <= 0) return 0;
330
+ if (n === "") throw Error("mb_str_pad(): Argument #3 ($pad_string) must not be empty");
331
+ return r;
288
332
  }
289
- function P(e, t) {
290
- if (t <= 0 || e.length === 0) return "";
291
- let n = Math.ceil(t / e.length);
292
- return e.repeat(n).slice(0, t);
333
+ /* @__NO_SIDE_EFFECTS__ */
334
+ function I(e, t) {
335
+ if (t <= 0) return "";
336
+ let n = Array.from(e);
337
+ if (n.length === 0) return "";
338
+ let r = Math.ceil(t / n.length);
339
+ return Array.from(e.repeat(r)).slice(0, t).join("");
293
340
  }
294
- function Ae(e = 32, t = !0, r = !0, i = !0, a = !1) {
341
+ /* @__NO_SIDE_EFFECTS__ */
342
+ function Me(e = 32, t = !0, r = !0, i = !0, a = !1) {
295
343
  let o = [
296
344
  t ? /* @__PURE__ */ "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split("") : null,
297
345
  r ? [
@@ -308,25 +356,26 @@ function Ae(e = 32, t = !0, r = !0, i = !0, a = !1) {
308
356
  ] : null,
309
357
  i ? /* @__PURE__ */ "~!#$%^&*()-_.,<>?/\\{}[]|:;".split("") : null,
310
358
  a ? [" "] : null
311
- ].filter((e) => d(e));
359
+ ].filter((e) => p(e));
312
360
  if (o.length === 0) throw Error("At least one character pool must be enabled.");
313
- let s = o.flat(), c = F(o).slice(0, Math.max(0, e)).map((e) => e[n(0, e.length - 1)]), l = Array.from({ length: Math.max(0, e - c.length) }, () => s[n(0, s.length - 1)]);
314
- return F([...c, ...l]).join("");
361
+ let s = o.flat(), c = L(o).slice(0, Math.max(0, e)).map((e) => e[/* @__PURE__ */ n(0, e.length - 1)]), l = Array.from({ length: Math.max(0, e - c.length) }, () => s[/* @__PURE__ */ n(0, s.length - 1)]);
362
+ return L([...c, ...l]).join("");
315
363
  }
316
- function F(e) {
364
+ function L(e) {
317
365
  let t = [...e];
318
366
  for (let e = t.length - 1; e > 0; e--) {
319
- let r = n(0, e);
367
+ let r = /* @__PURE__ */ n(0, e);
320
368
  [t[e], t[r]] = [t[r], t[e]];
321
369
  }
322
370
  return t;
323
371
  }
324
- function je(e, t, n = 0) {
325
- if (t === "") return !1;
326
- let r = Array.from(e), i = Array.from(t), a = n >= 0 ? n : r.length + n;
327
- if (a < 0 && (a = 0), a >= r.length) return !1;
328
- let o = r.length - i.length;
329
- for (let e = a; e <= o; e++) {
372
+ /* @__NO_SIDE_EFFECTS__ */
373
+ function Ne(e, t, n = 0) {
374
+ let r = Array.from(e), i = Array.from(t), a = x(n, "mb_strpos(): Argument #3 ($offset) must be of type int, float given"), o = a >= 0 ? a : r.length + a;
375
+ if (o < 0 || o > r.length) throw Error("mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)");
376
+ if (t === "") return o;
377
+ let s = r.length - i.length;
378
+ for (let e = o; e <= s; e++) {
330
379
  let t = !0;
331
380
  for (let n = 0; n < i.length; n++) if (r[e + n] !== i[n]) {
332
381
  t = !1;
@@ -336,30 +385,33 @@ function je(e, t, n = 0) {
336
385
  }
337
386
  return !1;
338
387
  }
339
- function I(e = 16) {
340
- return (T ?? ((e) => r(e)))(e);
388
+ /* @__NO_SIDE_EFFECTS__ */
389
+ function R(e = 16) {
390
+ return (D ?? ((e) => /* @__PURE__ */ r(e)))(e);
341
391
  }
342
- function L(e) {
343
- T = e;
392
+ function z(e) {
393
+ D = e;
344
394
  }
345
- function Me(e, t) {
395
+ function Pe(e, t) {
346
396
  let n = 0, r = t ?? function(e) {
347
- let t = T;
348
- T = null;
349
- let r = I(e);
350
- return T = t, n++, r;
397
+ let t = D;
398
+ D = null;
399
+ let r = /* @__PURE__ */ R(e);
400
+ return D = t, n++, r;
351
401
  };
352
- L((t) => n < e.length ? String(e[n++]) : r(t));
402
+ z((t) => n < e.length ? String(e[n++]) : r(t));
353
403
  }
354
- function R() {
355
- T = null;
404
+ function B() {
405
+ D = null;
356
406
  }
357
- function Ne(e, t) {
407
+ /* @__NO_SIDE_EFFECTS__ */
408
+ function Fe(e, t) {
358
409
  return t <= 0 ? "" : e.repeat(t);
359
410
  }
360
- function Pe(e, t, n) {
411
+ /* @__NO_SIDE_EFFECTS__ */
412
+ function Ie(e, t, n) {
361
413
  let r;
362
- r = typeof t == "object" && !d(t) ? Object.values(t) : d(t) ? [...t] : Array.from(t);
414
+ r = typeof t == "object" && !p(t) ? Object.values(t) : p(t) ? [...t] : Array.from(t);
363
415
  let i = n.split(e);
364
416
  if (i.length === 1) return n;
365
417
  let a = i[0];
@@ -369,7 +421,8 @@ function Pe(e, t, n) {
369
421
  }
370
422
  return String(a);
371
423
  }
372
- function z(e, t) {
424
+ /* @__NO_SIDE_EFFECTS__ */
425
+ function Le(e, t) {
373
426
  try {
374
427
  let t = String(e);
375
428
  if (t.length) return t;
@@ -378,44 +431,52 @@ function z(e, t) {
378
431
  return t;
379
432
  }
380
433
  }
381
- function B(e, t, n, r = !0) {
382
- if (y(e) && !y(t)) throw TypeError("The replacement must be a string when the search term is a string.");
383
- let i = y(e) ? [e] : Array.from(e, (e) => H(e)), a = y(t) ? i.map(() => t) : Array.from(t, (e) => H(e));
384
- return V(n, (e) => r ? i.reduce((e, t, n) => t === "" ? e : e.split(t).join(a[n] ?? ""), e) : Fe(i, a, e));
434
+ /* @__NO_SIDE_EFFECTS__ */
435
+ function V(e, t, n, r = !0) {
436
+ if (b(e) && !b(t)) throw TypeError("The replacement must be a string when the search term is a string.");
437
+ let i = b(e) ? [e] : Array.from(e, (e) => W(e)), a = b(t) ? i.map(() => t) : Array.from(t, (e) => W(e));
438
+ return U(n, (e) => r ? i.reduce((e, t, n) => t === "" ? e : e.split(t).join(a[n] ?? ""), e) : Re(i, a, e));
439
+ }
440
+ function H(e) {
441
+ return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
385
442
  }
386
- function Fe(e, t, n) {
387
- let r = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
388
- return e.reduce((e, n, i) => {
443
+ function Re(e, t, n) {
444
+ return e.reduce((e, n, r) => {
389
445
  if (n === "") return e;
390
- let a = t[i] ?? "", o = new RegExp(r(n), j(n) ? "gi" : "giu");
391
- return e.replace(o, () => a);
446
+ let i = t[r] ?? "", a = new RegExp(H(n), /* @__PURE__ */ M(n) ? "gi" : "giu");
447
+ return e.replace(a, () => i);
392
448
  }, n);
393
449
  }
394
- function V(e, t) {
395
- let n = (e) => Object.fromEntries(Object.entries(e).map(([e, n]) => [e, t(H(n))]));
396
- return y(e) ? t(e) : d(e) ? e.map((e) => t(H(e))) : m(e) ? new Map(Array.from(e, ([e, n]) => [e, t(H(n))])) : v(e) ? n(e) : _(e) && f(e.all) ? V(e.all(), t) : p(e) ? Array.from(e, (e) => t(H(e))) : u(e) ? t(String(e)) : _(e) ? n(e) : t(H(e));
450
+ function U(e, t) {
451
+ let n = (e) => Object.fromEntries(Object.entries(e).map(([e, n]) => [e, t(W(n))]));
452
+ return b(e) ? t(e) : p(e) ? e.map((e) => t(W(e))) : g(e) ? new Map(Array.from(e, ([e, n]) => [e, t(W(n))])) : ee(e) ? n(e) : y(e) && m(e.all) ? U(e.all(), t) : h(e) ? Array.from(e, (e) => t(W(e))) : f(e) ? t(String(e)) : y(e) ? n(e) : t(W(e));
397
453
  }
398
- function H(e) {
399
- return h(e) || ee(e) ? "" : String(e);
454
+ function W(e) {
455
+ return _(e) || te(e) ? "" : String(e);
400
456
  }
401
- function U(e, t, n) {
457
+ /* @__NO_SIDE_EFFECTS__ */
458
+ function G(e, t, n) {
402
459
  if (e = String(e), e === "") return n;
403
460
  let r = n.indexOf(e);
404
461
  return r === -1 ? n : n.slice(0, r) + t + n.slice(r + e.length);
405
462
  }
406
- function Ie(e, t, n) {
407
- return e = String(e), e === "" ? n : q(n, e) ? U(e, t, n) : n;
463
+ /* @__NO_SIDE_EFFECTS__ */
464
+ function ze(e, t, n) {
465
+ return e = String(e), e === "" ? n : /* @__PURE__ */ Y(n, e) ? /* @__PURE__ */ G(e, t, n) : n;
408
466
  }
409
- function W(e, t, n) {
467
+ /* @__NO_SIDE_EFFECTS__ */
468
+ function K(e, t, n) {
410
469
  if (e = String(e), e === "") return n;
411
470
  let r = n.lastIndexOf(e);
412
471
  return r === -1 ? n : n.slice(0, r) + t + n.slice(r + e.length);
413
472
  }
414
- function Le(e, t, n) {
415
- return e = String(e), e === "" ? n : A(n, e) ? W(e, t, n) : n;
473
+ /* @__NO_SIDE_EFFECTS__ */
474
+ function Be(e, t, n) {
475
+ return e = String(e), e === "" ? n : /* @__PURE__ */ j(n, e) ? /* @__PURE__ */ K(e, t, n) : n;
416
476
  }
417
- function Re(e, t, n, r = -1) {
418
- let i = (e) => d(e) ? e : [e], a = i(e);
477
+ /* @__NO_SIDE_EFFECTS__ */
478
+ function Ve(e, t, n, r = -1) {
479
+ let i = (e) => p(e) ? e : [e], a = i(e);
419
480
  function o(e) {
420
481
  try {
421
482
  if (e instanceof RegExp) {
@@ -450,7 +511,7 @@ function Re(e, t, n, r = -1) {
450
511
  if (!t) return null;
451
512
  s.push(t);
452
513
  }
453
- let c = f(t), l = c ? [] : i(t), u = (e) => {
514
+ let c = m(t), l = c ? [] : i(t), u = (e) => {
454
515
  let n = e;
455
516
  for (let e = 0; e < s.length; e++) {
456
517
  let i = s[e];
@@ -483,9 +544,10 @@ function Re(e, t, n, r = -1) {
483
544
  }
484
545
  return n;
485
546
  };
486
- return d(n) ? n.map(u) : u(n);
547
+ return p(n) ? n.map(u) : u(n);
487
548
  }
488
- function G(e) {
549
+ /* @__NO_SIDE_EFFECTS__ */
550
+ function q(e) {
489
551
  let t = "", n = !1;
490
552
  for (let r = 0; r < e.length; r++) {
491
553
  let i = e[r];
@@ -493,30 +555,36 @@ function G(e) {
493
555
  }
494
556
  return t;
495
557
  }
496
- function ze(e, t, n = !0) {
497
- return B(e, "", t, n);
558
+ /* @__NO_SIDE_EFFECTS__ */
559
+ function He(e, t, n = !0) {
560
+ return /* @__PURE__ */ V(e, "", t, n);
498
561
  }
499
- function Be(e) {
562
+ /* @__NO_SIDE_EFFECTS__ */
563
+ function Ue(e) {
500
564
  return Array.from(e).reverse().join("");
501
565
  }
502
- function Ve(e, t) {
503
- let n = b(e), r = b(t);
566
+ /* @__NO_SIDE_EFFECTS__ */
567
+ function We(e, t) {
568
+ let n = S(e), r = S(t);
504
569
  if (r === "") return n;
505
570
  let i = 0;
506
571
  for (; n.startsWith(r, i);) i += r.length;
507
572
  return `${r}${n.slice(i)}`;
508
573
  }
509
- function He(t) {
574
+ /* @__NO_SIDE_EFFECTS__ */
575
+ function Ge(t) {
510
576
  let n = String(t).trim();
511
577
  if (n === "") return "";
512
578
  let r = n.split(/\s+/u);
513
- return r = r.length > 1 ? r.map((t) => e(t)) : X(r.join("_")).map((t) => e(t)), r.join("_").replace(/[-_ ]+/gu, "_").split("_").filter((e) => e.length > 0).join(" ");
579
+ return r = r.length > 1 ? r.map((t) => /* @__PURE__ */ e(t)) : (/* @__PURE__ */ Q(r.join("_"))).map((t) => /* @__PURE__ */ e(t)), r.join("_").replace(/[-_ ]+/gu, "_").split("_").filter((e) => e.length > 0).join(" ");
514
580
  }
515
- function Ue(e, n = !1) {
581
+ /* @__NO_SIDE_EFFECTS__ */
582
+ function Ke(e, n = !1) {
516
583
  let r = e.split(/\s+/u).filter((e) => e.length > 0).map((e) => [...e][0]).join("");
517
- return n ? t(r) : r;
584
+ return n ? /* @__PURE__ */ t(r) : r;
518
585
  }
519
- function We(e) {
586
+ /* @__NO_SIDE_EFFECTS__ */
587
+ function qe(e) {
520
588
  if (e.trim() === "") return e;
521
589
  let t = /* @__PURE__ */ new Set(/* @__PURE__ */ "and.as.but.for.if.nor.or.so.yet.a.an.the.at.by.for.in.of.off.on.per.to.up.via.et.ou.un.une.la.le.les.de.du.des.par.à".split(".")), n = /* @__PURE__ */ new Set([
522
590
  ".",
@@ -542,19 +610,22 @@ function We(e) {
542
610
  }
543
611
  return r.join(" ");
544
612
  }
545
- function K(e, t = "_") {
613
+ /* @__NO_SIDE_EFFECTS__ */
614
+ function J(e, t = "_") {
546
615
  let n = `${e}|${t}`;
547
- if (S.has(n)) return S.get(n);
616
+ if (w.has(n)) return w.get(n);
548
617
  let r = e;
549
- return /^[a-z]+$/.test(e) || (r = Z(e).replace(/\s+/gu, ""), r = r.replace(/(.)(?=[A-Z])/g, `$1${t}`), r = N(r)), S.set(n, r), r;
618
+ return /^[a-z]+$/.test(e) || (r = (/* @__PURE__ */ et(e)).replace(/\s+/gu, ""), r = r.replace(/(.)(?=[A-Z])/g, `$1${t}`), r = /* @__PURE__ */ P(r)), w.set(n, r), r;
550
619
  }
551
- function Ge(e) {
552
- return s(e).replace(/[\s\u3164\u1160]+/gu, " ");
620
+ /* @__NO_SIDE_EFFECTS__ */
621
+ function Je(e) {
622
+ return (/* @__PURE__ */ s(e)).replace(/[\s\u3164\u1160]+/gu, " ");
553
623
  }
554
- function q(e, t) {
624
+ /* @__NO_SIDE_EFFECTS__ */
625
+ function Y(e, t) {
555
626
  if (e == null || t == null) return !1;
556
627
  let n;
557
- n = y(t) || g(t) ? [t] : Symbol.iterator in Object(t) ? Array.from(t) : [t];
628
+ n = b(t) || v(t) ? [t] : Symbol.iterator in Object(t) ? Array.from(t) : [t];
558
629
  let r = String(e);
559
630
  for (let e of n) {
560
631
  if (e == null) continue;
@@ -563,25 +634,29 @@ function q(e, t) {
563
634
  }
564
635
  return !1;
565
636
  }
566
- function Ke(e, t) {
567
- return !q(e, t);
637
+ /* @__NO_SIDE_EFFECTS__ */
638
+ function Ye(e, t) {
639
+ return !/* @__PURE__ */ Y(e, t);
568
640
  }
569
- function J(e, t = !1) {
641
+ /* @__NO_SIDE_EFFECTS__ */
642
+ function X(e, t = !1) {
570
643
  let n = e;
571
644
  t && (n = e.replace(/(^|[-_ \s])([A-Z]+)(?=[-_ \s]|$)/gu, (e, t, n) => t + n.toLowerCase()));
572
645
  let r = n;
573
- if (w.has(r)) return w.get(r);
646
+ if (E.has(r)) return E.get(r);
574
647
  let i = String(n).replace(/[-_]+/g, " "), a = (i.trim() === "" ? [] : i.split(/\s+/u)).map((e) => {
575
648
  if (!e) return e;
576
649
  let t = Array.from(e);
577
650
  return t[0].toUpperCase() + t.slice(1).join("");
578
651
  }).join("");
579
- return w.set(r, a), a;
652
+ return E.set(r, a), a;
580
653
  }
581
- function qe(e, t = !1) {
582
- return J(e, t);
654
+ /* @__NO_SIDE_EFFECTS__ */
655
+ function Xe(e, t = !1) {
656
+ return /* @__PURE__ */ X(e, t);
583
657
  }
584
- function Je(e, t) {
658
+ /* @__NO_SIDE_EFFECTS__ */
659
+ function Ze(e, t) {
585
660
  if (!e || Object.keys(e).length === 0) return t;
586
661
  let n = Object.keys(e).filter((e) => e !== "");
587
662
  if (n.length === 0) return t;
@@ -589,40 +664,48 @@ function Je(e, t) {
589
664
  let r = new RegExp(n.map((e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|"), "gu");
590
665
  return t.replace(r, (t) => e[t]);
591
666
  }
592
- function Ye(e, t) {
593
- return t < 0 ? i(e, t) : i(e, 0, t);
667
+ /* @__NO_SIDE_EFFECTS__ */
668
+ function Qe(e, t) {
669
+ let n = x(t, "Str::take(): Argument #2 ($limit) must be of type int, float given");
670
+ return n < 0 ? /* @__PURE__ */ i(e, n) : /* @__PURE__ */ i(e, 0, n);
594
671
  }
595
- function Y(e) {
596
- return N(i(e, 0, 1)) + i(e, 1);
672
+ /* @__NO_SIDE_EFFECTS__ */
673
+ function Z(e) {
674
+ return /* @__PURE__ */ P(/* @__PURE__ */ i(e, 0, 1)) + /* @__PURE__ */ i(e, 1);
597
675
  }
598
- function Xe(e) {
599
- return t(i(e, 0, 1)) + i(e, 1);
676
+ /* @__NO_SIDE_EFFECTS__ */
677
+ function $e(e) {
678
+ return /* @__PURE__ */ t(/* @__PURE__ */ i(e, 0, 1)) + /* @__PURE__ */ i(e, 1);
600
679
  }
601
- function X(e) {
680
+ /* @__NO_SIDE_EFFECTS__ */
681
+ function Q(e) {
602
682
  return e.split(/(?=\p{Lu})/u).filter(Boolean);
603
683
  }
604
- function Z(e, t = " \r\n\f\v") {
605
- let n = d(t) ? t.join("") : t, r = n.length ? ((e) => e.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&"))(n) : "", i = r.length ? `(?:\\s|[${r}])` : "\\s", a = RegExp(`(^|${i})(\\p{Ll})`, "gu");
684
+ /* @__NO_SIDE_EFFECTS__ */
685
+ function et(e, t = " \r\n\f\v") {
686
+ let n = p(t) ? t.join("") : t, r = n.length ? ((e) => e.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&"))(n) : "", i = r.length ? `(?:\\s|[${r}])` : "\\s", a = RegExp(`(^|${i})(\\p{Ll})`, "gu");
606
687
  return e.replace(a, (e, t, n) => t + n.toUpperCase());
607
688
  }
608
- function Ze(e, t = null) {
689
+ /* @__NO_SIDE_EFFECTS__ */
690
+ function tt(e, t = null) {
609
691
  let n = t && t.length > 0 ? t.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&") : "", r = n.length > 0 ? RegExp(`[\\p{L}\\p{N}${n}]+`, "gu") : /[\p{L}\p{N}]+/gu, i = e.match(r);
610
692
  return i ? i.length : 0;
611
693
  }
612
- function Q(e) {
694
+ function $(e) {
613
695
  return e.trim() === "";
614
696
  }
615
- function $(e, t, n) {
697
+ function nt(e, t, n) {
616
698
  let r = t;
617
- for (; r < n && Q(e[r]);) r++;
699
+ for (; r < n && $(e[r]);) r++;
618
700
  return r;
619
701
  }
620
- function Qe(e, t, n) {
702
+ function rt(e, t, n) {
621
703
  let r = n;
622
- for (; r > t && Q(e[r - 1]);) r--;
704
+ for (; r > t && $(e[r - 1]);) r--;
623
705
  return r;
624
706
  }
625
- function $e(e, t = 75, n = "\n", r = !1) {
707
+ /* @__NO_SIDE_EFFECTS__ */
708
+ function it(e, t = 75, n = "\n", r = !1) {
626
709
  if (e.length === 0 || t < 1 || n === "") return e;
627
710
  let i = e.split(/\r\n|\n|\r/), a = [];
628
711
  for (let e of i) {
@@ -632,20 +715,20 @@ function $e(e, t = 75, n = "\n", r = !1) {
632
715
  continue;
633
716
  }
634
717
  let o = 0;
635
- if (r) for (; o < i && (o = $(n, o, i), o !== i);) {
718
+ if (r) for (; o < i && (o = nt(n, o, i), o !== i);) {
636
719
  if (i - o <= t) {
637
720
  a.push(n.slice(o, i).join(""));
638
721
  break;
639
722
  }
640
- let e = Qe(n, o, o + t);
723
+ let e = rt(n, o, o + t);
641
724
  a.push(n.slice(o, e).join("")), o += t;
642
725
  }
643
726
  else {
644
727
  for (; i - o > t;) {
645
- let e = $(n, o, i);
728
+ let e = nt(n, o, i);
646
729
  if (e !== o && (o = e, i - o <= t)) break;
647
730
  let r = Math.min(i, o + t + 1), s = -1;
648
- for (let e = r - 1; e >= o; e--) if (Q(n[e])) {
731
+ for (let e = r - 1; e >= o; e--) if ($(n[e])) {
649
732
  s = e;
650
733
  break;
651
734
  }
@@ -654,7 +737,7 @@ function $e(e, t = 75, n = "\n", r = !1) {
654
737
  continue;
655
738
  }
656
739
  let c = -1;
657
- for (let e = o; e < i; e++) if (Q(n[e])) {
740
+ for (let e = o; e < i; e++) if ($(n[e])) {
658
741
  c = e;
659
742
  break;
660
743
  }
@@ -669,19 +752,22 @@ function $e(e, t = 75, n = "\n", r = !1) {
669
752
  }
670
753
  return a.join(n);
671
754
  }
672
- function et() {
673
- return S.size;
755
+ /* @__NO_SIDE_EFFECTS__ */
756
+ function at() {
757
+ return w.size;
674
758
  }
675
- function tt() {
676
- return C.size;
759
+ /* @__NO_SIDE_EFFECTS__ */
760
+ function ot() {
761
+ return T.size;
677
762
  }
678
- function nt() {
679
- return w.size;
763
+ /* @__NO_SIDE_EFFECTS__ */
764
+ function st() {
765
+ return E.size;
680
766
  }
681
- function rt() {
682
- S.clear(), C.clear(), w.clear();
767
+ function ct() {
768
+ w.clear(), T.clear(), E.clear();
683
769
  }
684
- function it() {
685
- R(), c(), l();
770
+ function lt() {
771
+ B(), c(), l();
686
772
  }
687
- export { E as after, te as afterLast, We as apa, D as before, O as beforeLast, ne as between, re as betweenFirst, ie as camel, tt as camelCacheSize, ae as charAt, se as chopEnd, oe as chopStart, k as contains, le as containsAll, R as createRandomStringsNormally, L as createRandomStringsUsing, Me as createRandomStringsUsingSequence, de as deduplicate, ue as doesntContain, fe as doesntEndWith, Ke as doesntStartWith, A as endsWith, ce as excerpt, pe as finish, rt as flushCache, He as headline, Ue as initials, ge as is, j as isAscii, _e as isJson, we as isMatch, ve as isUrl, ye as kebab, Y as lcfirst, M as length, be as limit, N as lower, P as makePad, Se as mask, Ce as match, Te as matchAll, Ee as numbers, De as padBoth, Oe as padLeft, ke as padRight, qe as pascal, Ae as password, je as position, I as random, ze as remove, Ne as repeat, B as replace, Pe as replaceArray, Le as replaceEnd, U as replaceFirst, W as replaceLast, Re as replaceMatches, Ie as replaceStart, it as resetFactoryState, Be as reverse, K as snake, et as snakeCacheSize, Ge as squish, Ve as start, q as startsWith, G as stripTags, J as studly, nt as studlyCacheSize, Je as swap, Ye as take, z as toStringOr, Xe as ucfirst, X as ucsplit, Z as ucwords, he as unwrap, Ze as wordCount, $e as wordWrap, xe as words, me as wrap };
773
+ export { O as after, ne as afterLast, qe as apa, k as before, re as beforeLast, ie as between, ae as betweenFirst, oe as camel, ot as camelCacheSize, se as charAt, le as chopEnd, ce as chopStart, A as contains, de as containsAll, B as createRandomStringsNormally, z as createRandomStringsUsing, Pe as createRandomStringsUsingSequence, pe as deduplicate, fe as doesntContain, me as doesntEndWith, Ye as doesntStartWith, j as endsWith, ue as excerpt, he as finish, ct as flushCache, Ge as headline, Ke as initials, ve as is, M as isAscii, ye as isJson, Ee as isMatch, be as isUrl, xe as kebab, Z as lcfirst, N as length, Se as limit, P as lower, I as makePad, we as mask, Te as match, De as matchAll, Oe as numbers, ke as padBoth, Ae as padLeft, je as padRight, Xe as pascal, Me as password, Ne as position, R as random, He as remove, Fe as repeat, V as replace, Ie as replaceArray, Be as replaceEnd, G as replaceFirst, K as replaceLast, Ve as replaceMatches, ze as replaceStart, lt as resetFactoryState, Ue as reverse, J as snake, at as snakeCacheSize, Je as squish, We as start, Y as startsWith, q as stripTags, X as studly, st as studlyCacheSize, Ze as swap, Qe as take, Le as toStringOr, $e as ucfirst, Q as ucsplit, et as ucwords, _e as unwrap, tt as wordCount, it as wordWrap, Ce as words, ge as wrap };