@stryke/string-format 0.12.24 → 0.12.26

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 (388) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/acronyms.cjs +1 -1
  3. package/dist/acronyms.d.cts +17 -2
  4. package/dist/acronyms.d.cts.map +1 -0
  5. package/dist/acronyms.d.mts +17 -2
  6. package/dist/acronyms.d.mts.map +1 -0
  7. package/dist/acronyms.mjs +2 -1
  8. package/dist/acronyms.mjs.map +1 -0
  9. package/dist/articles.cjs +1 -1
  10. package/dist/articles.d.cts +5 -2
  11. package/dist/articles.d.cts.map +1 -0
  12. package/dist/articles.d.mts +5 -2
  13. package/dist/articles.d.mts.map +1 -0
  14. package/dist/articles.mjs +2 -1
  15. package/dist/articles.mjs.map +1 -0
  16. package/dist/camel-case.cjs +1 -1
  17. package/dist/camel-case.d.cts +24 -2
  18. package/dist/camel-case.d.cts.map +1 -0
  19. package/dist/camel-case.d.mts +24 -2
  20. package/dist/camel-case.d.mts.map +1 -0
  21. package/dist/camel-case.mjs +2 -1
  22. package/dist/camel-case.mjs.map +1 -0
  23. package/dist/combine.cjs +1 -1
  24. package/dist/combine.d.cts +12 -2
  25. package/dist/combine.d.cts.map +1 -0
  26. package/dist/combine.d.mts +12 -2
  27. package/dist/combine.d.mts.map +1 -0
  28. package/dist/combine.mjs +2 -1
  29. package/dist/combine.mjs.map +1 -0
  30. package/dist/conjunctions.cjs +1 -1
  31. package/dist/conjunctions.d.cts +5 -2
  32. package/dist/conjunctions.d.cts.map +1 -0
  33. package/dist/conjunctions.d.mts +5 -2
  34. package/dist/conjunctions.d.mts.map +1 -0
  35. package/dist/conjunctions.mjs +2 -1
  36. package/dist/conjunctions.mjs.map +1 -0
  37. package/dist/constant-case.cjs +1 -1
  38. package/dist/constant-case.d.cts +24 -2
  39. package/dist/constant-case.d.cts.map +1 -0
  40. package/dist/constant-case.d.mts +24 -2
  41. package/dist/constant-case.d.mts.map +1 -0
  42. package/dist/constant-case.mjs +2 -1
  43. package/dist/constant-case.mjs.map +1 -0
  44. package/dist/deburr.cjs +1 -1
  45. package/dist/deburr.d.cts +24 -2
  46. package/dist/deburr.d.cts.map +1 -0
  47. package/dist/deburr.d.mts +24 -2
  48. package/dist/deburr.d.mts.map +1 -0
  49. package/dist/deburr.mjs +2 -1
  50. package/dist/deburr.mjs.map +1 -0
  51. package/dist/decamelize.cjs +1 -1
  52. package/dist/decamelize.d.cts +11 -2
  53. package/dist/decamelize.d.cts.map +1 -0
  54. package/dist/decamelize.d.mts +11 -2
  55. package/dist/decamelize.d.mts.map +1 -0
  56. package/dist/decamelize.mjs +2 -1
  57. package/dist/decamelize.mjs.map +1 -0
  58. package/dist/escape.cjs +1 -1
  59. package/dist/escape.d.cts +21 -2
  60. package/dist/escape.d.cts.map +1 -0
  61. package/dist/escape.d.mts +21 -2
  62. package/dist/escape.d.mts.map +1 -0
  63. package/dist/escape.mjs +2 -1
  64. package/dist/escape.mjs.map +1 -0
  65. package/dist/format-special-cases.cjs +1 -1
  66. package/dist/format-special-cases.d.cts +23 -2
  67. package/dist/format-special-cases.d.cts.map +1 -0
  68. package/dist/format-special-cases.d.mts +23 -2
  69. package/dist/format-special-cases.d.mts.map +1 -0
  70. package/dist/format-special-cases.mjs +2 -1
  71. package/dist/format-special-cases.mjs.map +1 -0
  72. package/dist/get-words.cjs +1 -1
  73. package/dist/get-words.d.cts +47 -2
  74. package/dist/get-words.d.cts.map +1 -0
  75. package/dist/get-words.d.mts +47 -2
  76. package/dist/get-words.d.mts.map +1 -0
  77. package/dist/get-words.mjs +2 -1
  78. package/dist/get-words.mjs.map +1 -0
  79. package/dist/{deburr-Ct9BIF1O.mjs → helpers/src/remove-accents.cjs} +1 -2
  80. package/dist/{deburr-ulWvJuGq.cjs → helpers/src/remove-accents.mjs} +2 -1
  81. package/dist/helpers/src/remove-accents.mjs.map +1 -0
  82. package/dist/index.cjs +1 -1
  83. package/dist/index.d.cts +27 -27
  84. package/dist/index.d.mts +27 -27
  85. package/dist/index.mjs +1 -1
  86. package/dist/kebab-case.cjs +1 -1
  87. package/dist/kebab-case.d.cts +24 -2
  88. package/dist/kebab-case.d.cts.map +1 -0
  89. package/dist/kebab-case.d.mts +24 -2
  90. package/dist/kebab-case.d.mts.map +1 -0
  91. package/dist/kebab-case.mjs +2 -1
  92. package/dist/kebab-case.mjs.map +1 -0
  93. package/dist/lower-case-first.cjs +1 -1
  94. package/dist/lower-case-first.d.cts +14 -2
  95. package/dist/lower-case-first.d.cts.map +1 -0
  96. package/dist/lower-case-first.d.mts +14 -2
  97. package/dist/lower-case-first.d.mts.map +1 -0
  98. package/dist/lower-case-first.mjs +2 -1
  99. package/dist/lower-case-first.mjs.map +1 -0
  100. package/dist/normalize-email.cjs +1 -1
  101. package/dist/normalize-email.d.cts +20 -2
  102. package/dist/normalize-email.d.cts.map +1 -0
  103. package/dist/normalize-email.d.mts +20 -2
  104. package/dist/normalize-email.d.mts.map +1 -0
  105. package/dist/normalize-email.mjs +2 -1
  106. package/dist/normalize-email.mjs.map +1 -0
  107. package/dist/package.cjs +1 -1
  108. package/dist/package.d.cts +112 -2
  109. package/dist/package.d.cts.map +1 -0
  110. package/dist/package.d.mts +112 -2
  111. package/dist/package.d.mts.map +1 -0
  112. package/dist/package.mjs +2 -1
  113. package/dist/package.mjs.map +1 -0
  114. package/dist/pad.cjs +1 -1
  115. package/dist/pad.d.cts +22 -2
  116. package/dist/pad.d.cts.map +1 -0
  117. package/dist/pad.d.mts +22 -2
  118. package/dist/pad.d.mts.map +1 -0
  119. package/dist/pad.mjs +2 -1
  120. package/dist/pad.mjs.map +1 -0
  121. package/dist/pascal-case.cjs +1 -1
  122. package/dist/pascal-case.d.cts +24 -2
  123. package/dist/pascal-case.d.cts.map +1 -0
  124. package/dist/pascal-case.d.mts +24 -2
  125. package/dist/pascal-case.d.mts.map +1 -0
  126. package/dist/pascal-case.mjs +2 -1
  127. package/dist/pascal-case.mjs.map +1 -0
  128. package/dist/period-split.cjs +1 -1
  129. package/dist/period-split.d.cts +24 -2
  130. package/dist/period-split.d.cts.map +1 -0
  131. package/dist/period-split.d.mts +24 -2
  132. package/dist/period-split.d.mts.map +1 -0
  133. package/dist/period-split.mjs +2 -1
  134. package/dist/period-split.mjs.map +1 -0
  135. package/dist/prepositions.cjs +1 -1
  136. package/dist/prepositions.d.cts +5 -2
  137. package/dist/prepositions.d.cts.map +1 -0
  138. package/dist/prepositions.d.mts +5 -2
  139. package/dist/prepositions.d.mts.map +1 -0
  140. package/dist/prepositions.mjs +2 -1
  141. package/dist/prepositions.mjs.map +1 -0
  142. package/dist/pretty-bytes.cjs +1 -1
  143. package/dist/pretty-bytes.d.cts +152 -2
  144. package/dist/pretty-bytes.d.cts.map +1 -0
  145. package/dist/pretty-bytes.d.mts +152 -2
  146. package/dist/pretty-bytes.d.mts.map +1 -0
  147. package/dist/pretty-bytes.mjs +2 -1
  148. package/dist/pretty-bytes.mjs.map +1 -0
  149. package/dist/snake-case.cjs +1 -1
  150. package/dist/snake-case.d.cts +28 -2
  151. package/dist/snake-case.d.cts.map +1 -0
  152. package/dist/snake-case.d.mts +28 -2
  153. package/dist/snake-case.d.mts.map +1 -0
  154. package/dist/snake-case.mjs +2 -1
  155. package/dist/snake-case.mjs.map +1 -0
  156. package/dist/special-cases.cjs +1 -1
  157. package/dist/special-cases.d.cts +5 -2
  158. package/dist/special-cases.d.cts.map +1 -0
  159. package/dist/special-cases.d.mts +5 -2
  160. package/dist/special-cases.d.mts.map +1 -0
  161. package/dist/special-cases.mjs +2 -1
  162. package/dist/special-cases.mjs.map +1 -0
  163. package/dist/start-case.cjs +1 -1
  164. package/dist/start-case.d.cts +32 -2
  165. package/dist/start-case.d.cts.map +1 -0
  166. package/dist/start-case.d.mts +32 -2
  167. package/dist/start-case.d.mts.map +1 -0
  168. package/dist/start-case.mjs +2 -1
  169. package/dist/start-case.mjs.map +1 -0
  170. package/dist/strip-indents.cjs +3 -1
  171. package/dist/strip-indents.d.cts +21 -2
  172. package/dist/strip-indents.d.cts.map +1 -0
  173. package/dist/strip-indents.d.mts +21 -2
  174. package/dist/strip-indents.d.mts.map +1 -0
  175. package/dist/strip-indents.mjs +4 -1
  176. package/dist/strip-indents.mjs.map +1 -0
  177. package/dist/title-case.cjs +1 -1
  178. package/dist/title-case.d.cts +15 -2
  179. package/dist/title-case.d.cts.map +1 -0
  180. package/dist/title-case.d.mts +15 -2
  181. package/dist/title-case.d.mts.map +1 -0
  182. package/dist/title-case.mjs +2 -1
  183. package/dist/title-case.mjs.map +1 -0
  184. package/dist/types/src/base.cjs +1 -0
  185. package/dist/types/src/base.mjs +2 -0
  186. package/dist/types/src/base.mjs.map +1 -0
  187. package/dist/unescape.cjs +1 -1
  188. package/dist/unescape.d.cts +20 -2
  189. package/dist/unescape.d.cts.map +1 -0
  190. package/dist/unescape.d.mts +20 -2
  191. package/dist/unescape.d.mts.map +1 -0
  192. package/dist/unescape.mjs +2 -1
  193. package/dist/unescape.mjs.map +1 -0
  194. package/dist/upper-case-first.cjs +1 -1
  195. package/dist/upper-case-first.d.cts +14 -2
  196. package/dist/upper-case-first.d.cts.map +1 -0
  197. package/dist/upper-case-first.d.mts +14 -2
  198. package/dist/upper-case-first.d.mts.map +1 -0
  199. package/dist/upper-case-first.mjs +2 -1
  200. package/dist/upper-case-first.mjs.map +1 -0
  201. package/package.json +3 -3
  202. package/dist/acronyms-Clf_sxuQ.d.mts +0 -17
  203. package/dist/acronyms-Clf_sxuQ.d.mts.map +0 -1
  204. package/dist/acronyms-CqHURYjd.mjs +0 -2
  205. package/dist/acronyms-CqHURYjd.mjs.map +0 -1
  206. package/dist/acronyms-D4QIJv0a.d.cts +0 -17
  207. package/dist/acronyms-D4QIJv0a.d.cts.map +0 -1
  208. package/dist/acronyms-DiyHB1FK.cjs +0 -1
  209. package/dist/articles-Cla7DH2n.d.mts +0 -5
  210. package/dist/articles-Cla7DH2n.d.mts.map +0 -1
  211. package/dist/articles-D9xvmhoM.cjs +0 -1
  212. package/dist/articles-DzjpMs-D.d.cts +0 -5
  213. package/dist/articles-DzjpMs-D.d.cts.map +0 -1
  214. package/dist/articles-Dzsbtfwj.mjs +0 -2
  215. package/dist/articles-Dzsbtfwj.mjs.map +0 -1
  216. package/dist/base-BHbehXQX.mjs +0 -2
  217. package/dist/base-BHbehXQX.mjs.map +0 -1
  218. package/dist/base-DdjslzIj.cjs +0 -1
  219. package/dist/camel-case-BjbgGrxH.d.mts +0 -24
  220. package/dist/camel-case-BjbgGrxH.d.mts.map +0 -1
  221. package/dist/camel-case-C05avVyv.cjs +0 -1
  222. package/dist/camel-case-CZhC2BRe.d.cts +0 -24
  223. package/dist/camel-case-CZhC2BRe.d.cts.map +0 -1
  224. package/dist/camel-case-GuOpCLmz.mjs +0 -2
  225. package/dist/camel-case-GuOpCLmz.mjs.map +0 -1
  226. package/dist/combine-CAxhmyey.mjs +0 -2
  227. package/dist/combine-CAxhmyey.mjs.map +0 -1
  228. package/dist/combine-DZZlBlm_.d.cts +0 -12
  229. package/dist/combine-DZZlBlm_.d.cts.map +0 -1
  230. package/dist/combine-PAQYt88F.cjs +0 -1
  231. package/dist/combine-g1cpXeuj.d.mts +0 -12
  232. package/dist/combine-g1cpXeuj.d.mts.map +0 -1
  233. package/dist/conjunctions-B7prVj02.d.mts +0 -5
  234. package/dist/conjunctions-B7prVj02.d.mts.map +0 -1
  235. package/dist/conjunctions-CWyOkdmq.mjs +0 -2
  236. package/dist/conjunctions-CWyOkdmq.mjs.map +0 -1
  237. package/dist/conjunctions-CaM47PDl.cjs +0 -1
  238. package/dist/conjunctions-Chb943kG.d.cts +0 -5
  239. package/dist/conjunctions-Chb943kG.d.cts.map +0 -1
  240. package/dist/constant-case-B0oTEBjC.cjs +0 -1
  241. package/dist/constant-case-Cn0OS_D5.mjs +0 -2
  242. package/dist/constant-case-Cn0OS_D5.mjs.map +0 -1
  243. package/dist/constant-case-m6XLIpEZ.d.mts +0 -24
  244. package/dist/constant-case-m6XLIpEZ.d.mts.map +0 -1
  245. package/dist/constant-case-w4mBqXc4.d.cts +0 -24
  246. package/dist/constant-case-w4mBqXc4.d.cts.map +0 -1
  247. package/dist/deburr-Bc41oTWI.d.mts +0 -24
  248. package/dist/deburr-Bc41oTWI.d.mts.map +0 -1
  249. package/dist/deburr-Brmq0CIE.d.cts +0 -24
  250. package/dist/deburr-Brmq0CIE.d.cts.map +0 -1
  251. package/dist/deburr-Ct9BIF1O.mjs.map +0 -1
  252. package/dist/decamelize-CO4-wIwF.cjs +0 -1
  253. package/dist/decamelize-CXxqH9_o.d.mts +0 -11
  254. package/dist/decamelize-CXxqH9_o.d.mts.map +0 -1
  255. package/dist/decamelize-CuI8547m.mjs +0 -2
  256. package/dist/decamelize-CuI8547m.mjs.map +0 -1
  257. package/dist/decamelize-esVsRIRg.d.cts +0 -11
  258. package/dist/decamelize-esVsRIRg.d.cts.map +0 -1
  259. package/dist/escape-C1LTGJQ1.d.cts +0 -21
  260. package/dist/escape-C1LTGJQ1.d.cts.map +0 -1
  261. package/dist/escape-C44shywT.d.mts +0 -21
  262. package/dist/escape-C44shywT.d.mts.map +0 -1
  263. package/dist/escape-CRoXgV4v.cjs +0 -1
  264. package/dist/escape-CydJ1P9x.mjs +0 -2
  265. package/dist/escape-CydJ1P9x.mjs.map +0 -1
  266. package/dist/format-special-cases-CuctZ76T.cjs +0 -1
  267. package/dist/format-special-cases-DLTiwMAS.d.mts +0 -23
  268. package/dist/format-special-cases-DLTiwMAS.d.mts.map +0 -1
  269. package/dist/format-special-cases-Db69zjlV.d.cts +0 -23
  270. package/dist/format-special-cases-Db69zjlV.d.cts.map +0 -1
  271. package/dist/format-special-cases-F9O32YcB.mjs +0 -2
  272. package/dist/format-special-cases-F9O32YcB.mjs.map +0 -1
  273. package/dist/get-words-Cdgu0ngS.d.cts +0 -47
  274. package/dist/get-words-Cdgu0ngS.d.cts.map +0 -1
  275. package/dist/get-words-De8YIU0J.d.mts +0 -47
  276. package/dist/get-words-De8YIU0J.d.mts.map +0 -1
  277. package/dist/get-words-IF97Rpfr.cjs +0 -1
  278. package/dist/get-words-vlruPM_Q.mjs +0 -2
  279. package/dist/get-words-vlruPM_Q.mjs.map +0 -1
  280. package/dist/kebab-case-CT-vTX1k.mjs +0 -2
  281. package/dist/kebab-case-CT-vTX1k.mjs.map +0 -1
  282. package/dist/kebab-case-P86ZRHrn.cjs +0 -1
  283. package/dist/kebab-case-j61N8v5l.d.cts +0 -24
  284. package/dist/kebab-case-j61N8v5l.d.cts.map +0 -1
  285. package/dist/kebab-case-pl--iN9P.d.mts +0 -24
  286. package/dist/kebab-case-pl--iN9P.d.mts.map +0 -1
  287. package/dist/lower-case-first-BSnwPTwZ.d.cts +0 -14
  288. package/dist/lower-case-first-BSnwPTwZ.d.cts.map +0 -1
  289. package/dist/lower-case-first-CES45S2D.cjs +0 -1
  290. package/dist/lower-case-first-CVRU3SQT.mjs +0 -2
  291. package/dist/lower-case-first-CVRU3SQT.mjs.map +0 -1
  292. package/dist/lower-case-first-_dvT-gH7.d.mts +0 -14
  293. package/dist/lower-case-first-_dvT-gH7.d.mts.map +0 -1
  294. package/dist/normalize-email-BGivsxZI.d.cts +0 -20
  295. package/dist/normalize-email-BGivsxZI.d.cts.map +0 -1
  296. package/dist/normalize-email-DRezSgOV.cjs +0 -1
  297. package/dist/normalize-email-bfhnC3KA.d.mts +0 -20
  298. package/dist/normalize-email-bfhnC3KA.d.mts.map +0 -1
  299. package/dist/normalize-email-us4o_m-8.mjs +0 -2
  300. package/dist/normalize-email-us4o_m-8.mjs.map +0 -1
  301. package/dist/package-BSidq8g2.mjs +0 -2
  302. package/dist/package-BSidq8g2.mjs.map +0 -1
  303. package/dist/package-Cw2gkIBD.cjs +0 -1
  304. package/dist/package-dwE_olpo.d.mts +0 -112
  305. package/dist/package-dwE_olpo.d.mts.map +0 -1
  306. package/dist/package-o2QJauB-.d.cts +0 -112
  307. package/dist/package-o2QJauB-.d.cts.map +0 -1
  308. package/dist/pad-7O_mbugy.cjs +0 -1
  309. package/dist/pad-B___Grg_.mjs +0 -2
  310. package/dist/pad-B___Grg_.mjs.map +0 -1
  311. package/dist/pad-C-Y_3U-y.d.cts +0 -22
  312. package/dist/pad-C-Y_3U-y.d.cts.map +0 -1
  313. package/dist/pad-mujSKqwW.d.mts +0 -22
  314. package/dist/pad-mujSKqwW.d.mts.map +0 -1
  315. package/dist/pascal-case-BNtNlP7E.mjs +0 -2
  316. package/dist/pascal-case-BNtNlP7E.mjs.map +0 -1
  317. package/dist/pascal-case-BQIXhOgM.cjs +0 -1
  318. package/dist/pascal-case-DpwdMyIR.d.mts +0 -24
  319. package/dist/pascal-case-DpwdMyIR.d.mts.map +0 -1
  320. package/dist/pascal-case-KPXemzHF.d.cts +0 -24
  321. package/dist/pascal-case-KPXemzHF.d.cts.map +0 -1
  322. package/dist/period-split-BN6zXi_S.cjs +0 -1
  323. package/dist/period-split-C2v7R4SQ.d.cts +0 -24
  324. package/dist/period-split-C2v7R4SQ.d.cts.map +0 -1
  325. package/dist/period-split-CBVGYrUw.d.mts +0 -24
  326. package/dist/period-split-CBVGYrUw.d.mts.map +0 -1
  327. package/dist/period-split-PMoklYb7.mjs +0 -2
  328. package/dist/period-split-PMoklYb7.mjs.map +0 -1
  329. package/dist/prepositions-BOeFQ28J.mjs +0 -2
  330. package/dist/prepositions-BOeFQ28J.mjs.map +0 -1
  331. package/dist/prepositions-Bp1VMgpn.cjs +0 -1
  332. package/dist/prepositions-By1zoaRG.d.cts +0 -5
  333. package/dist/prepositions-By1zoaRG.d.cts.map +0 -1
  334. package/dist/prepositions-DHokBFOW.d.mts +0 -5
  335. package/dist/prepositions-DHokBFOW.d.mts.map +0 -1
  336. package/dist/pretty-bytes-Dam2n54B.d.mts +0 -152
  337. package/dist/pretty-bytes-Dam2n54B.d.mts.map +0 -1
  338. package/dist/pretty-bytes-DmvsumO5.mjs +0 -2
  339. package/dist/pretty-bytes-DmvsumO5.mjs.map +0 -1
  340. package/dist/pretty-bytes-Dv8t5D6N.d.cts +0 -152
  341. package/dist/pretty-bytes-Dv8t5D6N.d.cts.map +0 -1
  342. package/dist/pretty-bytes-aHFwwFbw.cjs +0 -1
  343. package/dist/snake-case-C5v7aTGP.d.cts +0 -28
  344. package/dist/snake-case-C5v7aTGP.d.cts.map +0 -1
  345. package/dist/snake-case-CKf8oDuS.d.mts +0 -28
  346. package/dist/snake-case-CKf8oDuS.d.mts.map +0 -1
  347. package/dist/special-cases-Ab3-SD5v.d.cts +0 -5
  348. package/dist/special-cases-Ab3-SD5v.d.cts.map +0 -1
  349. package/dist/special-cases-CfBSDTk8.cjs +0 -1
  350. package/dist/special-cases-D7iFXvkR.d.mts +0 -5
  351. package/dist/special-cases-D7iFXvkR.d.mts.map +0 -1
  352. package/dist/special-cases-gNNOSEbK.mjs +0 -2
  353. package/dist/special-cases-gNNOSEbK.mjs.map +0 -1
  354. package/dist/start-case-B9JLArn_.d.mts +0 -32
  355. package/dist/start-case-B9JLArn_.d.mts.map +0 -1
  356. package/dist/start-case-CbdCqiBN.mjs +0 -2
  357. package/dist/start-case-CbdCqiBN.mjs.map +0 -1
  358. package/dist/start-case-ChU_5Pyw.cjs +0 -1
  359. package/dist/start-case-CsYY3Ed4.d.cts +0 -32
  360. package/dist/start-case-CsYY3Ed4.d.cts.map +0 -1
  361. package/dist/strip-indents-CPW83oCs.cjs +0 -3
  362. package/dist/strip-indents-D2-u4Zmx.mjs +0 -4
  363. package/dist/strip-indents-D2-u4Zmx.mjs.map +0 -1
  364. package/dist/strip-indents-DBLDecNL.d.cts +0 -21
  365. package/dist/strip-indents-DBLDecNL.d.cts.map +0 -1
  366. package/dist/strip-indents-Dtn3rr-P.d.mts +0 -21
  367. package/dist/strip-indents-Dtn3rr-P.d.mts.map +0 -1
  368. package/dist/title-case-B_fyCnko.cjs +0 -1
  369. package/dist/title-case-Cx3FA_Rw.d.mts +0 -15
  370. package/dist/title-case-Cx3FA_Rw.d.mts.map +0 -1
  371. package/dist/title-case-DHhN2pBE.mjs +0 -2
  372. package/dist/title-case-DHhN2pBE.mjs.map +0 -1
  373. package/dist/title-case-mvtRcmDU.d.cts +0 -15
  374. package/dist/title-case-mvtRcmDU.d.cts.map +0 -1
  375. package/dist/unescape-5MrwINOf.d.cts +0 -20
  376. package/dist/unescape-5MrwINOf.d.cts.map +0 -1
  377. package/dist/unescape-9cS7rNT5.d.mts +0 -20
  378. package/dist/unescape-9cS7rNT5.d.mts.map +0 -1
  379. package/dist/unescape-CKwnSwBD.mjs +0 -2
  380. package/dist/unescape-CKwnSwBD.mjs.map +0 -1
  381. package/dist/unescape-Ck5lwccz.cjs +0 -1
  382. package/dist/upper-case-first-Bwfq-lAe.d.mts +0 -14
  383. package/dist/upper-case-first-Bwfq-lAe.d.mts.map +0 -1
  384. package/dist/upper-case-first-Ca89zvpr.mjs +0 -2
  385. package/dist/upper-case-first-Ca89zvpr.mjs.map +0 -1
  386. package/dist/upper-case-first-IJMSoKjS.cjs +0 -1
  387. package/dist/upper-case-first-uHFwRCJ8.d.cts +0 -14
  388. package/dist/upper-case-first-uHFwRCJ8.d.cts.map +0 -1
@@ -1 +0,0 @@
1
- const e={"2D":{description:`Two-Dimensional`,display:`2d`},"3D":{description:`Three-Dimensional`,display:`3d`},"4D":{description:`Four-Dimensional`,display:`4d`},"5G":{description:`Fifth Generation (mobile networks)`},"6G":{description:`Sixth Generation (mobile networks)`},"7G":{description:`Seventh Generation (mobile networks)`},"8G":{description:`Eighth Generation (mobile networks)`},ACID:{description:`Atomicity, Consistency, Isolation, Durability`},AITA:{description:`Am I The Asshole`},AES:{description:`Advanced Encryption Standard`},AI:{description:`Artificial Intelligence`},AJAX:{description:`Asynchronous JavaScript and XML`},API:{description:`Application Programming Interface`},AR:{description:`Augmented Reality`},ASCII:{description:`American Standard Code for Information Interchange`},ATF:{description:`Bureau of Alcohol, Tobacco, Firearms and Explosives`},ATM:{description:`Automated Teller Machine`},B2B:{description:`Business to Business`},B2C:{description:`Business to Consumer`},BATFE:{description:`Bureau of Alcohol, Tobacco, Firearms and Explosives`},BFF:{description:`Best Friends Forever`},BFFS:{description:`Best Friends Forever (plural)`},BI:{description:`Business Intelligence`},BIOS:{description:`Basic Input/Output System`},BGP:{description:`Border Gateway Protocol`},BOM:{description:`Bill of Materials / Byte Order Mark`},BSON:{description:`Binary JSON`},BYOD:{description:`Bring Your Own Device`},C2C:{description:`Consumer to Consumer`},CAGR:{description:`Compound Annual Growth Rate`},CAPTCHA:{description:`Completely Automated Public Turing test to tell Computers and Humans Apart`},CCTV:{description:`Closed-Circuit Television`},CD:{description:`Continuous Delivery / Compact Disc`},CDN:{description:`Content Delivery Network`},CDP:{description:`Customer Data Platform`},CDT:{description:`Central Daylight Time`},CIA:{description:`Central Intelligence Agency`},CI:{description:`Continuous Integration`},"CI/CD":{description:`Continuous Integration/Continuous Delivery`},CIAM:{description:`Customer Identity and Access Management`},CICD:{description:`Continuous Integration Continuous Delivery`,display:`CI/CD`},CLI:{description:`Command Line Interface`},CMDB:{description:`Configuration Management Database`},CORS:{description:`Cross-Origin Resource Sharing`},CPA:{description:`Certified Public Accountant`},CPU:{description:`Central Processing Unit`},CRUD:{description:`Create, Read, Update, Delete`},CSR:{description:`Certificate Signing Request / Corporate Social Responsibility`},CSS:{description:`Cascading Style Sheets`},CST:{description:`Central Standard Time`},CTA:{description:`Call To Action`},CWD:{description:`Current Working Directory`},CX:{description:`Customer Experience`},DAG:{description:`Directed Acyclic Graph`},DBMS:{description:`Database Management System`},DDOS:{description:`Distributed Denial of Service`,display:`DDoS`},DEA:{description:`Drug Enforcement Administration`},DEVENV:{description:`Devenv`,display:`Devenv`},DEVOPS:{description:`Development Operations`,display:`DevOps`},DHS:{description:`Department of Homeland Security`},DIRENV:{description:`DirEnv`,display:`DirEnv`},DNC:{description:`Democratic National Committee / Do Not Call`},DNS:{description:`Domain Name System`},DNSSEC:{description:`Domain Name System Security Extensions`},DOD:{description:`Department of Defense`,display:`DoD`},DOJ:{description:`Department of Justice`,display:`DoJ`},DOM:{description:`Document Object Model`},DOT:{description:`Department of Transportation`,display:`DoT`},DOTENV:{description:`Dotenv (.env)`,display:`Dotenv`},DR:{description:`Disaster Recovery`},DRM:{description:`Digital Rights Management`},DSN:{description:`Data Source Name`},DWH:{description:`Data Warehouse`},E2E:{description:`End to End`},EAI:{description:`Enterprise Application Integration`},EDT:{description:`Eastern Daylight Time`},EEA:{description:`European Economic Area`},EKS:{description:`Elastic Kubernetes Service`},EOF:{description:`End Of File`},EOD:{description:`End Of Day / Explosive Ordnance Disposal`},EPA:{description:`Environmental Protection Agency`},ER:{description:`Emergency Room / Entity Relationship`},EST:{description:`Eastern Standard Time`},ETC:{description:`Et Cetera`},ETL:{description:`Extract, Transform, Load`},EULA:{description:`End User License Agreement`},FAAS:{description:`Function as a Service`,display:`FaaS`},FAQ:{description:`Frequently Asked Questions`,display:`FAQs`},FAQS:{description:`Frequently Asked Questions`},FBI:{description:`Federal Bureau of Investigation`},FCC:{description:`Federal Communications Commission`},FDA:{description:`Food and Drug Administration`},FIDO:{description:`Fast IDentity Online`},FLOTUS:{description:`First Lady of the United States`},FQDN:{description:`Fully Qualified Domain Name`},FTC:{description:`Federal Trade Commission`},FTP:{description:`File Transfer Protocol`},GC:{description:`Garbage Collection`},GCP:{description:`Google Cloud Platform`},GDPR:{description:`General Data Protection Regulation`},GMT:{description:`Greenwich Mean Time`},GOP:{description:`Grand Old Party`},GPU:{description:`Graphics Processing Unit`},GUID:{description:`Globally Unique Identifier`},GUI:{description:`Graphical User Interface`},GZIP:{description:`GNU Zip`},HCI:{description:`Human Computer Interaction / Hyper-Converged Infrastructure`},HDD:{description:`Hard Disk Drive`},HDFS:{description:`Hadoop Distributed File System`},HHS:{description:`Health and Human Services`},HIPAA:{description:`Health Insurance Portability and Accountability Act`},HMAC:{description:`Hash-based Message Authentication Code`},HOTP:{description:`HMAC-based One-Time Password`},HSM:{description:`Hardware Security Module`},HTML:{description:`HyperText Markup Language`},HTTP:{description:`HyperText Transfer Protocol (HTTP)`},"HTTP/2":{description:`HyperText Transfer Protocol Version 2 (HTTP/2)`},"HTTP/2.0":{description:`HyperText Transfer Protocol Version 2 (HTTP/2)`,display:`HTTP2`},"HTTP/3":{description:`HyperText Transfer Protocol Version 3 (HTTP/3)`},"HTTP/3.0":{description:`HyperText Transfer Protocol Version 3 (HTTP/3)`,display:`HTTP3`},HTTP2:{description:`HyperText Transfer Protocol Version 2 (HTTP/2)`,display:`HTTP2`},"HTTP2.0":{description:`HyperText Transfer Protocol Version 2 (HTTP/2)`,display:`HTTP2`},HTTP3:{description:`HyperText Transfer Protocol Version 3 (HTTP/3)`,display:`HTTP3`},"HTTP3.0":{description:`HyperText Transfer Protocol Version 3 (HTTP/3)`,display:`HTTP3`},HTTPS:{description:`HyperText Transfer Protocol Secure (HTTPS)`},"HTTPS/2":{description:`HyperText Transfer Protocol Secure Version 2 (HTTPS/2)`},"HTTPS/2.0":{description:`HyperText Transfer Protocol Secure Version 2 (HTTPS/2)`,display:`HTTPS2`},"HTTPS/3":{description:`HyperText Transfer Protocol Secure Version 3 (HTTPS/3)`},"HTTPS/3.0":{description:`HyperText Transfer Protocol Secure Version 3 (HTTPS/3)`,display:`HTTPS3`},HTTPS2:{description:`HyperText Transfer Protocol Secure Version 2 (HTTPS/2)`,display:`HTTPS2`},"HTTPS2.0":{description:`HyperText Transfer Protocol Secure Version 2 (HTTPS/2)`,display:`HTTPS2`},HTTPS3:{description:`HyperText Transfer Protocol Secure Version 3 (HTTPS/3)`,display:`HTTPS3`},"HTTPS3.0":{description:`HyperText Transfer Protocol Secure Version 3 (HTTPS/3)`,display:`HTTPS3`},IAAS:{description:`Infrastructure as a Service`,display:`IaaS`},IAM:{description:`Identity and Access Management`},IAMM:{description:`Identity and Access Management and Monitoring`},IAMT:{description:`Identity and Access Management Tool`},ID:{description:`Identifier`,display:`Id`},IFTTT:{description:`If This Then That`},IMAP:{description:`Internet Message Access Protocol`},IO:{description:`Input/Output`},IP:{description:`Internet Protocol`},IPFS:{description:`InterPlanetary File System`},IPS:{description:`Intrusion Prevention System`},ISO:{description:`International Organization for Standardization`},IQ:{description:`Intelligence Quotient`,display:`IQ`},IOT:{description:`Internet of Things`,display:`IoT`},JSON:{description:`JavaScript Object Notation`},JSONP:{description:`JSON with Padding`},JWT:{description:`JSON Web Token`},K8S:{description:`Kubernetes`,display:`K8s`},KMS:{description:`Key Management Service`},KPI:{description:`Key Performance Indicator`},KV:{description:`Key Value`},LAN:{description:`Local Area Network`},LHS:{description:`Left Hand Side`},LPGA:{description:`Ladies Professional Golf Association`},LXC:{description:`Linux Containers`},MDT:{description:`Mountain Daylight Time`},MFA:{description:`Multi-Factor Authentication`},ML:{description:`Machine Learning`},MLB:{description:`Major League Baseball`},MLOps:{description:`Machine Learning Operations`},MPA:{description:`Multi-Page Application`},MST:{description:`Mountain Standard Time`},MVC:{description:`Model View Controller`},MVP:{description:`Minimum Viable Product / Most Valuable Player`},NAIA:{description:`National Association of Intercollegiate Athletics`},NAS:{description:`Network Attached Storage`},NASA:{description:`National Aeronautics and Space Administration`},NASCAR:{description:`National Association for Stock Car Auto Racing`},NAT:{description:`Network Address Translation`},NBA:{description:`National Basketball Association`},NCAA:{description:`National Collegiate Athletic Association`},NDA:{description:`Non-Disclosure Agreement`},NFS:{description:`Network File System`},NHL:{description:`National Hockey League`},NIST:{description:`National Institute of Standards and Technology`},NLP:{description:`Natural Language Processing`},NPS:{description:`Net Promoter Score`},NRA:{description:`National Rifle Association`},NSFW:{description:`Not Safe For Work`},NX:{description:`Nx`,display:`Nx`},OCR:{description:`Optical Character Recognition`},OEM:{description:`Original Equipment Manufacturer`},OKR:{description:`Objectives and Key Results`},OLAP:{description:`Online Analytical Processing`},OLTP:{description:`Online Transaction Processing`},OOP:{description:`Object Oriented Programming`},ORM:{description:`Object Relational Mapping`},OS:{description:`Operating System`},OSINT:{description:`Open Source Intelligence`},OSS:{description:`Open Source Software`},OTP:{description:`One-Time Password`},P2P:{description:`Peer to Peer`},PAAS:{description:`Platform as a Service`,display:`PaaS`},PCI:{description:`Payment Card Industry`},PDP:{description:`Policy Decision Point / Product Detail Page`},PDT:{description:`Pacific Daylight Time`},PGA:{description:`Professional Golfers' Association`},POTUS:{description:`President of the United States`},PP:{description:`Pages / PayPal / Percentage Points`},PST:{description:`Pacific Standard Time`},PTO:{description:`Paid Time Off / Power Take-Off`},PKI:{description:`Public Key Infrastructure`},PWA:{description:`Progressive Web App`},PX:{description:`Pixel`},QA:{description:`Quality Assurance`},R2:{description:`R2`},RAID:{description:`Redundant Array of Independent Disks`},RAM:{description:`Random Access Memory`},RDS:{description:`Relational Database Service`},REST:{description:`Representational State Transfer`},RHS:{description:`Right Hand Side`},ROI:{description:`Return on Investment`},RPC:{description:`Remote Procedure Call`},RPA:{description:`Robotic Process Automation`},RSC:{description:`React Server Components`},RSS:{description:`Really Simple Syndication`},RUM:{description:`Real User Monitoring`},S3:{description:`Simple Storage Service (S3)`},SAN:{description:`Storage Area Network`},SASE:{description:`Secure Access Service Edge`},SCOTUS:{description:`Supreme Court of the United States`},SDLC:{description:`Software Development Life Cycle`},SDK:{description:`Software Development Kit`},SEC:{description:`Securities and Exchange Commission`},SEO:{description:`Search Engine Optimization`},SFTP:{description:`SSH File Transfer Protocol / Secure File Transfer Protocol`},SIEM:{description:`Security Information and Event Management`},SLA:{description:`Service Level Agreement`},SMB:{description:`Server Message Block / Small and Medium Business`},SMTP:{description:`Simple Mail Transfer Protocol`},SOAP:{description:`Simple Object Access Protocol`},SOA:{description:`Service Oriented Architecture`},SOC:{description:`Security Operations Center / System on Chip`},SPA:{description:`Single Page Application`},SPDY:{description:`Speedy (pronounced "SPeeDY")`},SPF:{description:`Sender Policy Framework`},SQL:{description:`Structured Query Language`},SRV:{description:`Service`},SRE:{description:`Site Reliability Engineering`},SSH:{description:`Secure Shell`},SSDL:{description:`Secure Software Development Lifecycle`},SSG:{description:`Static Site Generation`},SSR:{description:`Server Side Rendering`},SSO:{description:`Single Sign-On`},SSL:{description:`Secure Sockets Layer`},TDD:{description:`Test Driven Development`},TLD:{description:`Top Level Domain`},TLS:{description:`Transport Layer Security`},"TLS1.3":{description:`Transport Layer Security 1.3`},TOR:{description:`The Onion Router`},TOTP:{description:`Time-based One-Time Password`},TRPC:{description:`TypeScript Remote Procedure Call`},TSA:{description:`Transportation Security Administration`},TTL:{description:`Time To Live`},UDP:{description:`User Datagram Protocol`},UI:{description:`User Interface`},UID:{description:`Unique Identifier`},URI:{description:`Uniform Resource Identifier`},URL:{description:`Uniform Resource Locator`},USOPC:{description:`United States Olympic & Paralympic Committee`},USPS:{description:`United States Postal Service`},USTA:{description:`United States Tennis Association`},UTF:{description:`Unicode Transformation Format`},UTC:{description:`Coordinated Universal Time`},UUID:{description:`Universally Unique Identifier`},UX:{description:`User Experience`},VM:{description:`Virtual Machine`},VLAN:{description:`Virtual Local Area Network`},VPN:{description:`Virtual Private Network`},VPPA:{description:`Video Privacy Protection Act`},VR:{description:`Virtual Reality`},WAF:{description:`Web Application Firewall`},WAN:{description:`Wide Area Network`},WNBA:{description:`Women's National Basketball Association`},WLAN:{description:`Wireless Local Area Network`},WPA:{description:`Wi-Fi Protected Access`},WPA2:{description:`Wi-Fi Protected Access II`},WPA3:{description:`Wi-Fi Protected Access III`},WWW:{description:`World Wide Web`},WYSIWYG:{description:`What You See Is What You Get`},XACML:{description:`eXtensible Access Control Markup Language`},XDG:{description:`Cross-Desktop Group`},XML:{description:`eXtensible Markup Language`},XSRF:{description:`Cross-Site Request Forgery`},XSS:{description:`Cross-Site Scripting`},XR:{description:`Extended Reality`},YAML:{description:`YAML Ain't Markup Language`},YMCA:{description:`Young Men's Christian Association`},YWCA:{description:`Young Women's Christian Association`},ZTA:{description:`Zero Trust Architecture`}},t=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,t.display??e])),n=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,t.description])),r=Object.keys(e);Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
@@ -1,5 +0,0 @@
1
- //#region src/articles.d.ts
2
- declare const ARTICLES: string[];
3
- //#endregion
4
- export { ARTICLES as t };
5
- //# sourceMappingURL=articles-Cla7DH2n.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"articles-Cla7DH2n.d.mts","names":[],"sources":["../src/articles.ts"],"sourcesContent":[],"mappings":";cAkBa"}
@@ -1 +0,0 @@
1
- const e=[`a`,`an`,`the`];Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
@@ -1,5 +0,0 @@
1
- //#region src/articles.d.ts
2
- declare const ARTICLES: string[];
3
- //#endregion
4
- export { ARTICLES as t };
5
- //# sourceMappingURL=articles-DzjpMs-D.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"articles-DzjpMs-D.d.cts","names":[],"sources":["../src/articles.ts"],"sourcesContent":[],"mappings":";cAkBa"}
@@ -1,2 +0,0 @@
1
- const e=[`a`,`an`,`the`];export{e as t};
2
- //# sourceMappingURL=articles-Dzsbtfwj.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"articles-Dzsbtfwj.mjs","names":[],"sources":["../src/articles.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const ARTICLES = [\"a\", \"an\", \"the\"];\n"],"mappings":"AAkBA,MAAa,EAAW,CAAC,IAAK,KAAM,MAAM"}
@@ -1,2 +0,0 @@
1
- const e=``;export{e as t};
2
- //# sourceMappingURL=base-BHbehXQX.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-BHbehXQX.mjs","names":[],"sources":["../../types/src/base.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { TypedArray } from \"./array\";\n\nexport type SerializablePrimitive =\n | null\n | undefined\n | string\n | number\n | boolean\n | bigint;\nexport type Primitive = SerializablePrimitive | symbol;\n\n/**\n * Matches any primitive, `void`, `Date`, or `RegExp` value.\n */\nexport type BuiltIns = Primitive | void | Date | RegExp;\n\n/**\n * Matches any non-primitive object\n */\n// eslint-disable-next-line ts/no-unsafe-function-type\nexport type AtomicObject = Function | Promise<any> | Date | RegExp;\n\n/** Determines if the passed value is of a specific type */\nexport type TypeTester = (value: any) => boolean;\n\n/**\n * The interface for a type mapping (key =\\> function) to use for {@link getType}.\n * export * The key represents the name of the type. The function represents the {@link TypeTester | test method}.\n * The map should be ordered by testing preference, with more specific tests first.\n * If a test returns true, it is selected, and the key is returned as the type.\n */\nexport type TypeMap = Record<string, TypeTester>;\n\ndeclare const emptyObjectSymbol: unique symbol;\n\nexport type FunctionOrValue<Value> = Value extends () => infer X ? X : Value;\n\n/**\n * A [[List]]\n *\n * @example\n * ```ts\n * type list0 = [1, 2, 3]\n * type list1 = number[]\n * ```\n *\n * @param A - its type\n * @returns [[List]]\n */\nexport type List<A = any> = ReadonlyArray<A>;\n\n/**\n * Alias to create a [[Function]]\n *\n * @example\n * ```ts\n * import { FunctionLike } from '@stryke/types'\n *\n * type test0 = FunctionLike<[string, number], boolean>\n * /// (args_0: string, args_1: number) => boolean\n * ```\n *\n * @param P - parameters\n * @param R - return type\n * @returns [[Function]]\n */\nexport type FunctionLike<P extends List = any, R = any> = (...args: P) => R;\n\nexport type AnyFunction = FunctionLike<any, any>;\nexport type Nullish = undefined | null;\nexport type Nullishable<T> = T | Nullish;\nexport type NonNullishObject = object; // not null/undefined which are Object\nexport type NativeClass = abstract new (...args: any) => any;\nexport type AnyNumber = number | number;\nexport type AnyString = string | string;\nexport type AnyBoolean = boolean | boolean;\nexport type AnyArray = any[];\nexport type PlainObject = Record<any, object>; // https://stackoverflow.com/a/75052315/130638\nexport type AnyMap = Map<any, any>;\nexport type AnyWeakMap = WeakMap<WeakKey, any>;\nexport type EmptyArray = [];\nexport interface EmptyObject {\n [emptyObjectSymbol]?: never;\n}\n\nexport type Any =\n | boolean\n | number\n | bigint\n | string\n | null\n | undefined\n | void\n | symbol\n | object\n | PlainObject\n | AnyArray\n | AnyMap\n | AnyWeakMap;\n\n/**\n * The valid types of the index for an `Indexable` type object\n */\nexport type IndexType = string | number | symbol;\n\n/**\n * The declaration of a ***dictionary-type*** object with a specific type\n *\n * @see {@link Indexable}\n * @see {@link IndexType}\n * @see {@link Dictionary}\n */\nexport type TypedIndexable<T> = Record<IndexType, T>;\n\n/**\n * The declaration of a ***dictionary-type*** object\n *\n * @see {@link TypedIndexable}\n * @see {@link IndexType}\n * @see {@link Dictionary}\n */\nexport type Indexable = TypedIndexable<any>;\n\n/**\n * The declaration of a ***dictionary-type*** object with a specific type\n *\n * @see {@link Indexable}\n * @see {@link IndexType}\n * @see {@link TypedIndexable}\n */\nexport type Dictionary<T> = Record<string, T>;\n\nexport const EMPTY_STRING = \"\";\nexport const NEWLINE_STRING = \"\\r\\n\";\nexport const EMPTY_OBJECT = {};\n\nexport type AnyCase<T extends IndexType> = string extends T\n ? string\n : T extends `${infer F1}${infer F2}${infer R}`\n ? `${Uppercase<F1> | Lowercase<F1>}${Uppercase<F2> | Lowercase<F2>}${AnyCase<R>}`\n : T extends `${infer F}${infer R}`\n ? `${Uppercase<F> | Lowercase<F>}${AnyCase<R>}`\n : typeof EMPTY_STRING;\n\nexport type Newable<T> = new (..._args: never[]) => T;\n\nexport interface Abstract<T> {\n prototype: T;\n}\n\nexport interface Clonable<T> {\n clone: () => T;\n}\n\nexport type MaybePromise<T> = T | Promise<T>;\n\nexport type ReducerFunction<TState, TAction> = (\n state: TState,\n action: TAction\n) => TState;\n\n// NOTE: for the file size optimization\nexport const TYPE_ARGUMENTS = \"Arguments\";\nexport const TYPE_ARRAY = \"Array\";\nexport const TYPE_OBJECT = \"Object\";\nexport const TYPE_MAP = \"Map\";\nexport const TYPE_SET = \"Set\";\n\nexport type Collection =\n | IArguments\n | unknown[]\n | Map<unknown, unknown>\n | Record<string | number | symbol, unknown>\n | Set<unknown>;\n\nexport type NonUndefined<T> = T extends undefined ? never : T;\n\nexport type BrowserNativeObject = Date | File;\n\nexport type DeepPartial<T> = T extends BrowserNativeObject | NestedValue\n ? T\n : {\n [K in keyof T]?: DeepPartial<T[K]>;\n };\n\nexport type Rollback = Record<\n string,\n (initialValue: any, currentValue: any) => any\n>;\n\n/**\n * Extract all required keys from the given type.\n *\n * @remarks\n * This is useful when you want to create a new type that contains different type values for the required keys only or use the list of keys for validation purposes, etc...\n */\nexport type RequiredKeysOf<BaseType extends object> = Exclude<\n {\n [Key in keyof BaseType]: BaseType extends Record<Key, BaseType[Key]>\n ? Key\n : never;\n }[keyof BaseType],\n undefined\n>;\n\n/**\n * Returns a boolean for whether the two given types are equal.\n *\n * @remarks\n * Use-cases: If you want to make a conditional branch based on the result of a comparison of two types.\n *\n * @see https://github.com/microsoft/TypeScript/issues/27024#issuecomment-421529650\n * @see https://stackoverflow.com/questions/68961864/how-does-the-equals-work-in-typescript/68963796#68963796\n */\nexport type IsEqual<A, B> =\n (<G>() => G extends A ? 1 : 2) extends <G>() => G extends B ? 1 : 2\n ? true\n : false;\n\nexport type Filter<KeyType, ExcludeType> =\n IsEqual<KeyType, ExcludeType> extends true\n ? never\n : KeyType extends ExcludeType\n ? never\n : KeyType;\n\ninterface ExceptOptions {\n /**\n Disallow assigning non-specified properties.\n\n Note that any omitted properties in the resulting type will be present in autocomplete as `undefined`.\n\n @defaultValue false\n */\n requireExactProps?: boolean;\n}\n\n/**\n * Create a type from an object type without certain keys.\n *\n * @remarks\n * We recommend setting the `requireExactProps` option to `true`.\n *\n * This type is a stricter version of [`Omit`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type). The `Omit` type does not restrict the omitted keys to be keys present on the given type, while `Except` does. The benefits of a stricter type are avoiding typos and allowing the compiler to pick up on rename refactors automatically.\n *\n * This type was proposed to the TypeScript team, which declined it, saying they prefer that libraries implement stricter versions of the built-in types ([microsoft/TypeScript#30825](https://github.com/microsoft/TypeScript/issues/30825#issuecomment-523668235)).\n */\nexport type Except<\n ObjectType,\n KeysType extends keyof ObjectType,\n Options extends ExceptOptions = { requireExactProps: false }\n> = {\n [KeyType in keyof ObjectType as Filter<\n KeyType,\n KeysType\n >]: ObjectType[KeyType];\n} & (Options[\"requireExactProps\"] extends true\n ? Partial<Record<KeysType, never>>\n : Record<string, never>);\n\n/**\n * Useful to flatten the type output to improve type hints shown in editors. And also to transform an interface into a type to aide with assignability.\n *\n * @remarks\n * Sometimes it is desired to pass a value as a function argument that has a different type. At first inspection it may seem assignable, and then you discover it is not because the `value`'s type definition was defined as an interface. In the following example, `fn` requires an argument of type `Record<string, unknown>`. If the value is defined as a literal, then it is assignable. And if the `value` is defined as type using the `Simplify` utility the value is assignable. But if the `value` is defined as an interface, it is not assignable because the interface is not sealed and elsewhere a non-string property could be added to the interface.\n *\n * If the type definition must be an interface (perhaps it was defined in a third-party npm package), then the `value` can be defined as `const value: Simplify<SomeInterface> = ...`. Then `value` will be assignable to the `fn` argument. Or the `value` can be cast as `Simplify<SomeInterface>` if you can't re-declare the `value`.\n *\n * @see https://github.com/microsoft/TypeScript/issues/15300\n */\nexport type Simplify<T> = { [KeyType in keyof T]: T[KeyType] } & {};\n\n/**\n * Create a type that makes the given keys required. The remaining keys are kept as is. The sister of the `SetOptional` type.\n *\n * @remarks\n * Use-case: You want to define a single model where the only thing that changes is whether or not some of the keys are required.\n */\nexport type SetRequired<\n BaseType,\n Keys extends keyof BaseType\n> = BaseType extends unknown // type](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html#distributive-conditional-types). // union into a [distributive conditional // `extends unknown` is always going to be the case and is used to convert any\n ? Simplify<\n // Pick just the keys that are optional from the base type.\n Except<BaseType, Keys> &\n // Pick the keys that should be required from the base type and make them required.\n Required<Pick<BaseType, Keys>>\n >\n : never;\n\nexport const $NestedValue: unique symbol = Symbol(\"NestedValue\");\n\nexport type NestedValue<TValue extends object = object> = {\n [$NestedValue]: never;\n} & TValue;\n\nexport interface RefObject<T> {\n current: T;\n}\n\nexport interface Identity<T = string> {\n id: T;\n}\n\nexport interface Versioned {\n version: number;\n}\n\nexport interface Sequenced {\n /**\n * The sequence number (version, or event counter, etc.) of the record\n */\n sequence: number;\n}\n\nexport interface Typed {\n /**\n * The type of the record\n */\n __type: string;\n}\n\nexport interface ClassTypeCheckable<T> extends Typed {\n /**\n * Run type check on the given value\n * @param value - The value to check\n * @returns True if the value is of the type of the class\n */\n isTypeOf: (value: unknown) => value is T;\n}\n\n/**\n * Matches non-recursive types.\n */\nexport type NonRecursiveType =\n | BuiltIns\n // eslint-disable-next-line ts/no-unsafe-function-type\n | Function\n | (new (...arguments_: any[]) => unknown);\n\nexport type IsPrimitive<T> = [T] extends [Primitive] ? true : false;\nexport type IsNever<T> = [T] extends [never] ? true : false;\nexport type IsAny<T> = 0 extends 1 & T ? true : false;\nexport type IsNull<T> = [T] extends [null] ? true : false;\nexport type IsUndefined<T> = T extends undefined ? true : false;\nexport type IsUnknown<T> = unknown extends T // `T` can be `unknown` or `any`\n ? IsNull<T> extends false // `any` can be `null`, but `unknown` can't be\n ? true\n : false\n : false;\nexport type IsNullish<T> = IsNull<T> & IsUndefined<T>;\nexport type IsFunction<T> = T extends AnyFunction ? true : false;\n\n/**\n * Declare locally scoped properties on `globalThis`.\n *\n * When defining a global variable in a declaration file is inappropriate, it can be helpful to define a `type` or `interface` (say `ExtraGlobals`) with the global variable and then cast `globalThis` via code like `globalThis as unknown as ExtraGlobals`.\n *\n * Instead of casting through `unknown`, you can update your `type` or `interface` to extend `GlobalThis` and then directly cast `globalThis`.\n *\n * @example\n * ```\n * import type { GlobalThis } from '@stryke/types';\n *\n * type ExtraGlobals = GlobalThis & {\n * readonly GLOBAL_TOKEN: string;\n * };\n *\n * (globalThis as ExtraGlobals).GLOBAL_TOKEN;\n * ```\n */\nexport type GlobalThis = typeof globalThis;\n\n/**\n * Matches a [`class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).\n */\nexport interface Class<T, Arguments extends unknown[] = any[]> {\n prototype: Pick<T, keyof T>;\n new (...arguments_: Arguments): T;\n}\n\n/**\n * Matches a [`class` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).\n */\nexport type Constructor<T, Arguments extends unknown[] = any[]> = new (\n ...arguments_: Arguments\n) => T;\n\n/**\n * Matches an [`abstract class`](https://www.typescriptlang.org/docs/handbook/classes.html#abstract-classes).\n *\n * @privateRemarks\n * We cannot use a `type` here because TypeScript throws: 'abstract' modifier cannot appear on a type member. (1070)\n */\n\nexport interface AbstractClass<\n T,\n Arguments extends unknown[] = any[]\n> extends AbstractConstructor<T, Arguments> {\n prototype: Pick<T, keyof T>;\n}\n\n/**\n * Matches an [`abstract class`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-2.html#abstract-construct-signatures) constructor.\n */\nexport type AbstractConstructor<\n T,\n Arguments extends unknown[] = any[]\n> = abstract new (...arguments_: Arguments) => T;\n\n/**\n * Create a tuple type of the given length `<L>` and fill it with the given type `<Fill>`.\n *\n * If `<Fill>` is not provided, it will default to `unknown`.\n *\n * @see https://itnext.io/implementing-arithmetic-within-typescripts-type-system-a1ef140a6f6f\n */\nexport type BuildTuple<\n L extends number,\n Fill = unknown,\n T extends readonly unknown[] = []\n> = T[\"length\"] extends L ? T : BuildTuple<L, Fill, [...T, Fill]>;\n\n/**\n * Test if the given function has multiple call signatures.\n *\n * Needed to handle the case of a single call signature with properties.\n *\n * Multiple call signatures cannot currently be supported due to a TypeScript limitation.\n * @see https://github.com/microsoft/TypeScript/issues/29732\n */\nexport type HasMultipleCallSignatures<\n T extends (...arguments_: any[]) => unknown\n> = T extends {\n (...arguments_: infer A): unknown;\n (...arguments_: infer B): unknown;\n}\n ? B extends A\n ? A extends B\n ? false\n : true\n : true\n : false;\n\ntype StructuredCloneablePrimitive =\n | string\n | number\n | bigint\n | boolean\n | null\n | undefined\n | boolean\n | number\n | string;\n\ntype StructuredCloneableData =\n | ArrayBuffer\n | DataView\n | Date\n | Error\n | RegExp\n | TypedArray\n | Blob\n | File;\n\n// DOM exclusive types\n// | AudioData\n// | CropTarget\n// | CryptoKey\n// | DOMException\n// | DOMMatrix\n// | DOMMatrixReadOnly\n// | DOMPoint\n// | DOMPointReadOnly\n// | DOMQuad\n// | DOMRect\n// | DOMRectReadOnly\n// | FileList\n// | FileSystemDirectoryHandle\n// | FileSystemFileHandle\n// | FileSystemHandle\n// | GPUCompilationInfo\n// | GPUCompilationMessage\n// | ImageBitmap\n// | ImageData\n// | RTCCertificate\n// | VideoFrame\n\ntype StructuredCloneableCollection =\n | readonly StructuredCloneable[]\n | {\n readonly [key: string]: StructuredCloneable;\n readonly [key: number]: StructuredCloneable;\n }\n | ReadonlyMap<StructuredCloneable, StructuredCloneable>\n | ReadonlySet<StructuredCloneable>;\n\n/**\n * Matches a value that can be losslessly cloned using `structuredClone`.\n *\n * Note:\n * - Custom error types will be cloned as the base `Error` type\n * - This type doesn't include types exclusive to the TypeScript DOM library (e.g. `DOMRect` and `VideoFrame`)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm\n *\n * @example\n * ```\n * import type { StructuredCloneable } from '@stryke/types';\n *\n * class CustomClass {}\n *\n * // @ts-expect-error\n * const error: StructuredCloneable = {\n * custom: new CustomClass(),\n * };\n *\n * structuredClone(error);\n * //=> {custom: {}}\n *\n * const good: StructuredCloneable = {\n * number: 3,\n * date: new Date(),\n * map: new Map<string, number>(),\n * }\n *\n * good.map.set('key', 1);\n *\n * structuredClone(good);\n * //=> {number: 3, date: Date(2022-10-17 22:22:35.920), map: Map {'key' -> 1}}\n * ```\n */\nexport type StructuredCloneable =\n | StructuredCloneablePrimitive\n | StructuredCloneableData\n | StructuredCloneableCollection;\n"],"mappings":"AAsJA,MAAa,EAAe"}
@@ -1 +0,0 @@
1
- const e=``;Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return``}});
@@ -1,24 +0,0 @@
1
- //#region src/camel-case.d.ts
2
- /**
3
- * Check if the input string is in camel case.
4
- *
5
- * @remarks
6
- * Camel case is defined as a lowercase first letter followed by any number of uppercase letters and digits - "thisIsAnExample".
7
- *
8
- * @param input - The input string to check.
9
- * @returns True if the input is in camel case, false otherwise.
10
- */
11
- declare function isCamelCase(input: string | undefined): boolean;
12
- /**
13
- * Convert the input string to camel case.
14
- *
15
- * @remarks
16
- * Camel case is defined as a lowercase first letter followed by any number of uppercase letters and digits - "thisIsAnExample".
17
- *
18
- * @param input - The input string.
19
- * @returns The camel-cased string.
20
- */
21
- declare function camelCase<T extends string | undefined>(input: T): T;
22
- //#endregion
23
- export { isCamelCase as n, camelCase as t };
24
- //# sourceMappingURL=camel-case-BjbgGrxH.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"camel-case-BjbgGrxH.d.mts","names":[],"sources":["../src/camel-case.ts"],"sourcesContent":[],"mappings":";;AA8BA;AAiBA;;;;;;;iBAjBgB,WAAA;;;;;;;;;;iBAiBA,+CAA+C,IAAI"}
@@ -1 +0,0 @@
1
- const e=require(`./acronyms-DiyHB1FK.cjs`),t=require(`./get-words-IF97Rpfr.cjs`);function n(t){return t?/^[a-z][a-z0-9]*$/.test(t)&&e.i.includes(t.trim().toUpperCase())||/^(?:[a-z][a-z0-9]*[A-Z]+)*$/.test(t):!1}function r(r){return n(r)||r===void 0?r:t.r(r).map((t,n)=>n===0?t.trim().toLowerCase():e.i.includes(t.trim().toUpperCase())?e.t[t.trim().toUpperCase()]?.display||t.trim().toUpperCase():t.trim().charAt(0).toUpperCase()+t.trim().slice(1).toLowerCase()).join(``)}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
@@ -1,24 +0,0 @@
1
- //#region src/camel-case.d.ts
2
- /**
3
- * Check if the input string is in camel case.
4
- *
5
- * @remarks
6
- * Camel case is defined as a lowercase first letter followed by any number of uppercase letters and digits - "thisIsAnExample".
7
- *
8
- * @param input - The input string to check.
9
- * @returns True if the input is in camel case, false otherwise.
10
- */
11
- declare function isCamelCase(input: string | undefined): boolean;
12
- /**
13
- * Convert the input string to camel case.
14
- *
15
- * @remarks
16
- * Camel case is defined as a lowercase first letter followed by any number of uppercase letters and digits - "thisIsAnExample".
17
- *
18
- * @param input - The input string.
19
- * @returns The camel-cased string.
20
- */
21
- declare function camelCase<T extends string | undefined>(input: T): T;
22
- //#endregion
23
- export { isCamelCase as n, camelCase as t };
24
- //# sourceMappingURL=camel-case-CZhC2BRe.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"camel-case-CZhC2BRe.d.cts","names":[],"sources":["../src/camel-case.ts"],"sourcesContent":[],"mappings":";;AA8BA;AAiBA;;;;;;;iBAjBgB,WAAA;;;;;;;;;;iBAiBA,+CAA+C,IAAI"}
@@ -1,2 +0,0 @@
1
- import{i as e,t}from"./acronyms-CqHURYjd.mjs";import{r as n}from"./get-words-vlruPM_Q.mjs";function r(t){return t?/^[a-z][a-z0-9]*$/.test(t)&&e.includes(t.trim().toUpperCase())||/^(?:[a-z][a-z0-9]*[A-Z]+)*$/.test(t):!1}function i(i){return r(i)||i===void 0?i:n(i).map((n,r)=>r===0?n.trim().toLowerCase():e.includes(n.trim().toUpperCase())?t[n.trim().toUpperCase()]?.display||n.trim().toUpperCase():n.trim().charAt(0).toUpperCase()+n.trim().slice(1).toLowerCase()).join(``)}export{r as n,i as t};
2
- //# sourceMappingURL=camel-case-GuOpCLmz.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"camel-case-GuOpCLmz.mjs","names":[],"sources":["../src/camel-case.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { ACRONYM_LIST, ACRONYMS } from \"./acronyms\";\nimport { getWords } from \"./get-words\";\n\n/**\n * Check if the input string is in camel case.\n *\n * @remarks\n * Camel case is defined as a lowercase first letter followed by any number of uppercase letters and digits - \"thisIsAnExample\".\n *\n * @param input - The input string to check.\n * @returns True if the input is in camel case, false otherwise.\n */\nexport function isCamelCase(input: string | undefined): boolean {\n return input\n ? (/^[a-z][a-z0-9]*$/.test(input) &&\n ACRONYM_LIST.includes(input.trim().toUpperCase())) ||\n /^(?:[a-z][a-z0-9]*[A-Z]+)*$/.test(input)\n : false;\n}\n\n/**\n * Convert the input string to camel case.\n *\n * @remarks\n * Camel case is defined as a lowercase first letter followed by any number of uppercase letters and digits - \"thisIsAnExample\".\n *\n * @param input - The input string.\n * @returns The camel-cased string.\n */\nexport function camelCase<T extends string | undefined>(input: T): T {\n return (\n isCamelCase(input) || input === undefined\n ? input\n : getWords(input)\n .map((word, index) =>\n index === 0\n ? word.trim().toLowerCase()\n : ACRONYM_LIST.includes(word.trim().toUpperCase())\n ? ACRONYMS[word.trim().toUpperCase()]?.display ||\n word.trim().toUpperCase()\n : word.trim().charAt(0).toUpperCase() +\n word.trim().slice(1).toLowerCase()\n )\n .join(\"\")\n ) as T;\n}\n"],"mappings":"2FA8BA,SAAgB,EAAY,EAAoC,CAC9D,OAAO,EACF,mBAAmB,KAAK,EAAM,EAC7B,EAAa,SAAS,EAAM,MAAM,CAAC,aAAa,CAAC,EACjD,8BAA8B,KAAK,EAAM,CAC3C,GAYN,SAAgB,EAAwC,EAAa,CACnE,OACE,EAAY,EAAM,EAAI,IAAU,IAAA,GAC5B,EACA,EAAS,EAAM,CACZ,KAAK,EAAM,IACV,IAAU,EACN,EAAK,MAAM,CAAC,aAAa,CACzB,EAAa,SAAS,EAAK,MAAM,CAAC,aAAa,CAAC,CAC9C,EAAS,EAAK,MAAM,CAAC,aAAa,GAAG,SACrC,EAAK,MAAM,CAAC,aAAa,CACzB,EAAK,MAAM,CAAC,OAAO,EAAE,CAAC,aAAa,CACnC,EAAK,MAAM,CAAC,MAAM,EAAE,CAAC,aAAa,CACzC,CACA,KAAK,GAAG"}
@@ -1,2 +0,0 @@
1
- function e(e,t){return`${e} ${t}`}export{e as t};
2
- //# sourceMappingURL=combine-CAxhmyey.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"combine-CAxhmyey.mjs","names":[],"sources":["../src/combine.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Combine two strings with a space in between.\n *\n * @param acc - The accumulated string.\n * @param str - The string to add.\n * @returns The combined string.\n */\nexport function combine(acc: string, str: string): string {\n return `${acc} ${str}`;\n}\n"],"mappings":"AAyBA,SAAgB,EAAQ,EAAa,EAAqB,CACxD,MAAO,GAAG,EAAI,GAAG"}
@@ -1,12 +0,0 @@
1
- //#region src/combine.d.ts
2
- /**
3
- * Combine two strings with a space in between.
4
- *
5
- * @param acc - The accumulated string.
6
- * @param str - The string to add.
7
- * @returns The combined string.
8
- */
9
- declare function combine(acc: string, str: string): string;
10
- //#endregion
11
- export { combine as t };
12
- //# sourceMappingURL=combine-DZZlBlm_.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"combine-DZZlBlm_.d.cts","names":[],"sources":["../src/combine.ts"],"sourcesContent":[],"mappings":";;AAyBA;;;;;;iBAAgB,OAAA"}
@@ -1 +0,0 @@
1
- function e(e,t){return`${e} ${t}`}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
@@ -1,12 +0,0 @@
1
- //#region src/combine.d.ts
2
- /**
3
- * Combine two strings with a space in between.
4
- *
5
- * @param acc - The accumulated string.
6
- * @param str - The string to add.
7
- * @returns The combined string.
8
- */
9
- declare function combine(acc: string, str: string): string;
10
- //#endregion
11
- export { combine as t };
12
- //# sourceMappingURL=combine-g1cpXeuj.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"combine-g1cpXeuj.d.mts","names":[],"sources":["../src/combine.ts"],"sourcesContent":[],"mappings":";;AAyBA;;;;;;iBAAgB,OAAA"}
@@ -1,5 +0,0 @@
1
- //#region src/conjunctions.d.ts
2
- declare const CONJUNCTIONS: string[];
3
- //#endregion
4
- export { CONJUNCTIONS as t };
5
- //# sourceMappingURL=conjunctions-B7prVj02.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conjunctions-B7prVj02.d.mts","names":[],"sources":["../src/conjunctions.ts"],"sourcesContent":[],"mappings":";cAkBa"}
@@ -1,2 +0,0 @@
1
- const e=[`and`,`that`,`but`,`or`,`as`,`if`,`when`,`than`,`because`,`while`,`where`,`after`,`so`,`though`,`since`,`until`,`whether`,`before`,`although`,`nor`,`like`,`once`,`unless`,`now`,`except`];export{e as t};
2
- //# sourceMappingURL=conjunctions-CWyOkdmq.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conjunctions-CWyOkdmq.mjs","names":[],"sources":["../src/conjunctions.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const CONJUNCTIONS = [\n \"and\",\n \"that\",\n \"but\",\n \"or\",\n \"as\",\n \"if\",\n \"when\",\n \"than\",\n \"because\",\n \"while\",\n \"where\",\n \"after\",\n \"so\",\n \"though\",\n \"since\",\n \"until\",\n \"whether\",\n \"before\",\n \"although\",\n \"nor\",\n \"like\",\n \"once\",\n \"unless\",\n \"now\",\n \"except\"\n];\n"],"mappings":"AAkBA,MAAa,EAAe,CAC1B,MACA,OACA,MACA,KACA,KACA,KACA,OACA,OACA,UACA,QACA,QACA,QACA,KACA,SACA,QACA,QACA,UACA,SACA,WACA,MACA,OACA,OACA,SACA,MACA,SACD"}
@@ -1 +0,0 @@
1
- const e=[`and`,`that`,`but`,`or`,`as`,`if`,`when`,`than`,`because`,`while`,`where`,`after`,`so`,`though`,`since`,`until`,`whether`,`before`,`although`,`nor`,`like`,`once`,`unless`,`now`,`except`];Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
@@ -1,5 +0,0 @@
1
- //#region src/conjunctions.d.ts
2
- declare const CONJUNCTIONS: string[];
3
- //#endregion
4
- export { CONJUNCTIONS as t };
5
- //# sourceMappingURL=conjunctions-Chb943kG.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conjunctions-Chb943kG.d.cts","names":[],"sources":["../src/conjunctions.ts"],"sourcesContent":[],"mappings":";cAkBa"}
@@ -1 +0,0 @@
1
- const e=require(`./get-words-IF97Rpfr.cjs`),t=require(`./base-DdjslzIj.cjs`),n=require(`./upper-case-first-IJMSoKjS.cjs`);function r(e){return e?/^[a-z]+(?:_[a-z0-9]+)*$/.test(e):!1}function i(e,i){if(r(e)||e===void 0)return e;if(a(e))return e.toLowerCase();let o=e?.replace(/[A-Z]+/g,e=>n.t(e)??t.t).split(/(?=[A-Z])|[\s._-]/).map(e=>e.toLowerCase())??[];if(o.length===0)return``;if(o.length===1)return o[0];let s=o.reduce((e,t)=>`${e}_${t.toLowerCase()}`);return i?.splitOnNumber===!1?s:s.replace(/[A-Z]\d/i,e=>`${e[0]}_${e[1]}`)}function a(e){return e?/^[A-Z0-9_]+$/.test(e):!1}function o(t){return a(t)||t===void 0?t:r(t)?t.toUpperCase():e.r(t).join(`_`).toUpperCase()}Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
@@ -1,2 +0,0 @@
1
- import{r as e}from"./get-words-vlruPM_Q.mjs";import{t}from"./base-BHbehXQX.mjs";import{t as n}from"./upper-case-first-Ca89zvpr.mjs";function r(e){return e?/^[a-z]+(?:_[a-z0-9]+)*$/.test(e):!1}function i(e,i){if(r(e)||e===void 0)return e;if(a(e))return e.toLowerCase();let o=e?.replace(/[A-Z]+/g,e=>n(e)??t).split(/(?=[A-Z])|[\s._-]/).map(e=>e.toLowerCase())??[];if(o.length===0)return``;if(o.length===1)return o[0];let s=o.reduce((e,t)=>`${e}_${t.toLowerCase()}`);return i?.splitOnNumber===!1?s:s.replace(/[A-Z]\d/i,e=>`${e[0]}_${e[1]}`)}function a(e){return e?/^[A-Z0-9_]+$/.test(e):!1}function o(t){return a(t)||t===void 0?t:r(t)?t.toUpperCase():e(t).join(`_`).toUpperCase()}export{i,a as n,r,o as t};
2
- //# sourceMappingURL=constant-case-Cn0OS_D5.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constant-case-Cn0OS_D5.mjs","names":["input"],"sources":["../src/snake-case.ts","../src/constant-case.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { EMPTY_STRING } from \"@stryke/types\";\nimport { isConstantCase } from \"./constant-case\";\nimport { upperCaseFirst } from \"./upper-case-first\";\n\nexport interface SnakeCaseOptions {\n splitOnNumber: boolean;\n}\n\n/**\n * Check if the input string is in snake case.\n *\n * @remarks\n * Snake case is defined as all lowercase letters with underscores separating words - \"this_is_an_example\"\n *\n * @param input - The input string to check.\n * @returns True if the input is in snake case, false otherwise.\n */\nexport function isSnakeCase(input: string | undefined): boolean {\n return input ? /^[a-z]+(?:_[a-z0-9]+)*$/.test(input) : false;\n}\n\n/**\n * Convert the input string to snake case.\n *\n * @remarks\n * Snake case is defined as all lowercase letters with underscores separating words - \"this_is_an_example\"\n *\n * @param input - The input string.\n * @param options - Options to control the behavior of the function.\n * @returns The snake-cased string.\n */\nexport function snakeCase<T extends string | undefined>(\n input: T,\n options?: SnakeCaseOptions\n): T {\n if (isSnakeCase(input) || input === undefined) {\n return input;\n }\n\n if (isConstantCase(input)) {\n return input.toLowerCase() as T;\n }\n\n const parts =\n input\n ?.replace(\n /[A-Z]+/g,\n (input?: string) => upperCaseFirst(input) ?? EMPTY_STRING\n )\n .split(/(?=[A-Z])|[\\s._-]/)\n .map((x: string) => x.toLowerCase()) ?? [];\n if (parts.length === 0) {\n return \"\" as T;\n }\n if (parts.length === 1) {\n return parts[0] as T;\n }\n const result = parts.reduce((ret: string, part: string) => {\n return `${ret}_${part.toLowerCase()}`;\n });\n\n return (\n options?.splitOnNumber === false\n ? result\n : result.replace(/[A-Z]\\d/i, (val: string) => `${val[0]}_${val[1]}`)\n ) as T;\n}\n","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { getWords } from \"./get-words\";\nimport { isSnakeCase } from \"./snake-case\";\n\n/**\n * Check if the input string is in constant case.\n *\n * @remarks\n * Constant case is defined as all uppercase letters with underscores separating words - \"THIS_IS_AN_EXAMPLE\".\n *\n * @param input - The input string to check.\n * @returns True if the input is in constant case, false otherwise.\n */\nexport function isConstantCase(input: string | undefined): boolean {\n return input ? /^[A-Z0-9_]+$/.test(input) : false;\n}\n\n/**\n * Convert the input string to constant case.\n *\n * @remarks\n * Constant case is defined as all uppercase letters with underscores separating words - \"THIS_IS_AN_EXAMPLE\".\n *\n * @param input - The input string.\n * @returns The constant-cased string.\n */\nexport function constantCase<T extends string | undefined>(input: T): T {\n return isConstantCase(input) || input === undefined\n ? input\n : isSnakeCase(input)\n ? (input.toUpperCase() as T)\n : (getWords(input).join(\"_\").toUpperCase() as T);\n}\n"],"mappings":"oIAmCA,SAAgB,EAAY,EAAoC,CAC9D,OAAO,EAAQ,0BAA0B,KAAK,EAAM,CAAG,GAazD,SAAgB,EACd,EACA,EACG,CACH,GAAI,EAAY,EAAM,EAAI,IAAU,IAAA,GAClC,OAAO,EAGT,GAAI,EAAe,EAAM,CACvB,OAAO,EAAM,aAAa,CAG5B,IAAM,EACJ,GACI,QACA,UACC,GAAmB,EAAeA,EAAM,EAAI,EAC9C,CACA,MAAM,oBAAoB,CAC1B,IAAK,GAAc,EAAE,aAAa,CAAC,EAAI,EAAE,CAC9C,GAAI,EAAM,SAAW,EACnB,MAAO,GAET,GAAI,EAAM,SAAW,EACnB,OAAO,EAAM,GAEf,IAAM,EAAS,EAAM,QAAQ,EAAa,IACjC,GAAG,EAAI,GAAG,EAAK,aAAa,GACnC,CAEF,OACE,GAAS,gBAAkB,GACvB,EACA,EAAO,QAAQ,WAAa,GAAgB,GAAG,EAAI,GAAG,GAAG,EAAI,KAAK,CCpD1E,SAAgB,EAAe,EAAoC,CACjE,OAAO,EAAQ,eAAe,KAAK,EAAM,CAAG,GAY9C,SAAgB,EAA2C,EAAa,CACtE,OAAO,EAAe,EAAM,EAAI,IAAU,IAAA,GACtC,EACA,EAAY,EAAM,CACf,EAAM,aAAa,CACnB,EAAS,EAAM,CAAC,KAAK,IAAI,CAAC,aAAa"}
@@ -1,24 +0,0 @@
1
- //#region src/constant-case.d.ts
2
- /**
3
- * Check if the input string is in constant case.
4
- *
5
- * @remarks
6
- * Constant case is defined as all uppercase letters with underscores separating words - "THIS_IS_AN_EXAMPLE".
7
- *
8
- * @param input - The input string to check.
9
- * @returns True if the input is in constant case, false otherwise.
10
- */
11
- declare function isConstantCase(input: string | undefined): boolean;
12
- /**
13
- * Convert the input string to constant case.
14
- *
15
- * @remarks
16
- * Constant case is defined as all uppercase letters with underscores separating words - "THIS_IS_AN_EXAMPLE".
17
- *
18
- * @param input - The input string.
19
- * @returns The constant-cased string.
20
- */
21
- declare function constantCase<T extends string | undefined>(input: T): T;
22
- //#endregion
23
- export { isConstantCase as n, constantCase as t };
24
- //# sourceMappingURL=constant-case-m6XLIpEZ.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constant-case-m6XLIpEZ.d.mts","names":[],"sources":["../src/constant-case.ts"],"sourcesContent":[],"mappings":";;AA8BA;AAaA;;;;;;;iBAbgB,cAAA;;;;;;;;;;iBAaA,kDAAkD,IAAI"}
@@ -1,24 +0,0 @@
1
- //#region src/constant-case.d.ts
2
- /**
3
- * Check if the input string is in constant case.
4
- *
5
- * @remarks
6
- * Constant case is defined as all uppercase letters with underscores separating words - "THIS_IS_AN_EXAMPLE".
7
- *
8
- * @param input - The input string to check.
9
- * @returns True if the input is in constant case, false otherwise.
10
- */
11
- declare function isConstantCase(input: string | undefined): boolean;
12
- /**
13
- * Convert the input string to constant case.
14
- *
15
- * @remarks
16
- * Constant case is defined as all uppercase letters with underscores separating words - "THIS_IS_AN_EXAMPLE".
17
- *
18
- * @param input - The input string.
19
- * @returns The constant-cased string.
20
- */
21
- declare function constantCase<T extends string | undefined>(input: T): T;
22
- //#endregion
23
- export { isConstantCase as n, constantCase as t };
24
- //# sourceMappingURL=constant-case-w4mBqXc4.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constant-case-w4mBqXc4.d.cts","names":[],"sources":["../src/constant-case.ts"],"sourcesContent":[],"mappings":";;AA8BA;AAaA;;;;;;;iBAbgB,cAAA;;;;;;;;;;iBAaA,kDAAkD,IAAI"}
@@ -1,24 +0,0 @@
1
- //#region src/deburr.d.ts
2
- /**
3
- * Converts a string by replacing special characters and diacritical marks with their ASCII equivalents.
4
- * For example, "Crème brûlée" becomes "Creme brulee".
5
- *
6
- * @param str - The input string to be deburred.
7
- * @returns The deburred string with special characters replaced by their ASCII equivalents.
8
- *
9
- * @example
10
- * // Basic usage:
11
- * deburr('Æthelred') // returns 'Aethelred'
12
- *
13
- * @example
14
- * // Handling diacritical marks:
15
- * deburr('München') // returns 'Munchen'
16
- *
17
- * @example
18
- * // Special characters:
19
- * deburr('Crème brûlée') // returns 'Creme brulee'
20
- */
21
- declare function deburr(str: string): string;
22
- //#endregion
23
- export { deburr as t };
24
- //# sourceMappingURL=deburr-Bc41oTWI.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deburr-Bc41oTWI.d.mts","names":[],"sources":["../src/deburr.ts"],"sourcesContent":[],"mappings":";;AAuCA;;;;;;;;;;;;;;;;;;iBAAgB,MAAA"}
@@ -1,24 +0,0 @@
1
- //#region src/deburr.d.ts
2
- /**
3
- * Converts a string by replacing special characters and diacritical marks with their ASCII equivalents.
4
- * For example, "Crème brûlée" becomes "Creme brulee".
5
- *
6
- * @param str - The input string to be deburred.
7
- * @returns The deburred string with special characters replaced by their ASCII equivalents.
8
- *
9
- * @example
10
- * // Basic usage:
11
- * deburr('Æthelred') // returns 'Aethelred'
12
- *
13
- * @example
14
- * // Handling diacritical marks:
15
- * deburr('München') // returns 'Munchen'
16
- *
17
- * @example
18
- * // Special characters:
19
- * deburr('Crème brûlée') // returns 'Creme brulee'
20
- */
21
- declare function deburr(str: string): string;
22
- //#endregion
23
- export { deburr as t };
24
- //# sourceMappingURL=deburr-Brmq0CIE.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deburr-Brmq0CIE.d.cts","names":[],"sources":["../src/deburr.ts"],"sourcesContent":[],"mappings":";;AAuCA;;;;;;;;;;;;;;;;;;iBAAgB,MAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"deburr-Ct9BIF1O.mjs","names":["characterMap: Record<string, string>"],"sources":["../../helpers/src/remove-accents.ts","../src/deburr.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 License, and is\n free for commercial and private use. For more information, please visit\n our licensing page.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://stormsoftware.com/projects/stryke/docs\n Contact: https://stormsoftware.com/contact\n License: https://stormsoftware.com/projects/stryke/license\n\n ------------------------------------------------------------------- */\n\nexport const characterMap: Record<string, string> = {\n À: \"A\",\n Á: \"A\",\n Â: \"A\",\n Ã: \"A\",\n Ä: \"A\",\n Å: \"A\",\n Ấ: \"A\",\n Ắ: \"A\",\n Ẳ: \"A\",\n Ẵ: \"A\",\n Ặ: \"A\",\n Æ: \"AE\",\n Ầ: \"A\",\n Ằ: \"A\",\n Ȃ: \"A\",\n Ç: \"C\",\n Ḉ: \"C\",\n È: \"E\",\n É: \"E\",\n Ê: \"E\",\n Ë: \"E\",\n Ế: \"E\",\n Ḗ: \"E\",\n Ề: \"E\",\n Ḕ: \"E\",\n Ḝ: \"E\",\n Ȇ: \"E\",\n Ì: \"I\",\n Í: \"I\",\n Î: \"I\",\n Ï: \"I\",\n Ḯ: \"I\",\n Ȋ: \"I\",\n Ð: \"D\",\n Ñ: \"N\",\n Ò: \"O\",\n Ó: \"O\",\n Ô: \"O\",\n Õ: \"O\",\n Ö: \"O\",\n Ø: \"O\",\n Ố: \"O\",\n Ṍ: \"O\",\n Ṓ: \"O\",\n Ȏ: \"O\",\n Ù: \"U\",\n Ú: \"U\",\n Û: \"U\",\n Ü: \"U\",\n Ý: \"Y\",\n à: \"a\",\n á: \"a\",\n â: \"a\",\n ã: \"a\",\n ä: \"a\",\n å: \"a\",\n ấ: \"a\",\n ắ: \"a\",\n ẳ: \"a\",\n ẵ: \"a\",\n ặ: \"a\",\n æ: \"ae\",\n ầ: \"a\",\n ằ: \"a\",\n ȃ: \"a\",\n ç: \"c\",\n ḉ: \"c\",\n è: \"e\",\n é: \"e\",\n ê: \"e\",\n ë: \"e\",\n ế: \"e\",\n ḗ: \"e\",\n ề: \"e\",\n ḕ: \"e\",\n ḝ: \"e\",\n ȇ: \"e\",\n ì: \"i\",\n í: \"i\",\n î: \"i\",\n ï: \"i\",\n ḯ: \"i\",\n ȋ: \"i\",\n ð: \"d\",\n ñ: \"n\",\n ò: \"o\",\n ó: \"o\",\n ô: \"o\",\n õ: \"o\",\n ö: \"o\",\n ø: \"o\",\n ố: \"o\",\n ṍ: \"o\",\n ṓ: \"o\",\n ȏ: \"o\",\n ù: \"u\",\n ú: \"u\",\n û: \"u\",\n ü: \"u\",\n ý: \"y\",\n ÿ: \"y\",\n Ā: \"A\",\n ā: \"a\",\n Ă: \"A\",\n ă: \"a\",\n Ą: \"A\",\n ą: \"a\",\n Ć: \"C\",\n ć: \"c\",\n Ĉ: \"C\",\n ĉ: \"c\",\n Ċ: \"C\",\n ċ: \"c\",\n Č: \"C\",\n č: \"c\",\n C̆: \"C\",\n c̆: \"c\",\n Ď: \"D\",\n ď: \"d\",\n Đ: \"D\",\n đ: \"d\",\n Ē: \"E\",\n ē: \"e\",\n Ĕ: \"E\",\n ĕ: \"e\",\n Ė: \"E\",\n ė: \"e\",\n Ę: \"E\",\n ę: \"e\",\n Ě: \"E\",\n ě: \"e\",\n Ĝ: \"G\",\n Ǵ: \"G\",\n ĝ: \"g\",\n ǵ: \"g\",\n Ğ: \"G\",\n ğ: \"g\",\n Ġ: \"G\",\n ġ: \"g\",\n Ģ: \"G\",\n ģ: \"g\",\n Ĥ: \"H\",\n ĥ: \"h\",\n Ħ: \"H\",\n ħ: \"h\",\n Ḫ: \"H\",\n ḫ: \"h\",\n Ĩ: \"I\",\n ĩ: \"i\",\n Ī: \"I\",\n ī: \"i\",\n Ĭ: \"I\",\n ĭ: \"i\",\n Į: \"I\",\n į: \"i\",\n İ: \"I\",\n ı: \"i\",\n IJ: \"IJ\",\n ij: \"ij\",\n Ĵ: \"J\",\n ĵ: \"j\",\n Ķ: \"K\",\n ķ: \"k\",\n Ḱ: \"K\",\n ḱ: \"k\",\n K̆: \"K\",\n k̆: \"k\",\n Ĺ: \"L\",\n ĺ: \"l\",\n Ļ: \"L\",\n ļ: \"l\",\n Ľ: \"L\",\n ľ: \"l\",\n Ŀ: \"L\",\n ŀ: \"l\",\n Ł: \"l\",\n ł: \"l\",\n Ḿ: \"M\",\n ḿ: \"m\",\n M̆: \"M\",\n m̆: \"m\",\n Ń: \"N\",\n ń: \"n\",\n Ņ: \"N\",\n ņ: \"n\",\n Ň: \"N\",\n ň: \"n\",\n ʼn: \"n\",\n N̆: \"N\",\n n̆: \"n\",\n Ō: \"O\",\n ō: \"o\",\n Ŏ: \"O\",\n ŏ: \"o\",\n Ő: \"O\",\n ő: \"o\",\n Œ: \"OE\",\n œ: \"oe\",\n P̆: \"P\",\n p̆: \"p\",\n Ŕ: \"R\",\n ŕ: \"r\",\n Ŗ: \"R\",\n ŗ: \"r\",\n Ř: \"R\",\n ř: \"r\",\n R̆: \"R\",\n r̆: \"r\",\n Ȓ: \"R\",\n ȓ: \"r\",\n Ś: \"S\",\n ś: \"s\",\n Ŝ: \"S\",\n ŝ: \"s\",\n Ş: \"S\",\n Ș: \"S\",\n ș: \"s\",\n ş: \"s\",\n Š: \"S\",\n š: \"s\",\n Ţ: \"T\",\n ţ: \"t\",\n ț: \"t\",\n Ț: \"T\",\n Ť: \"T\",\n ť: \"t\",\n Ŧ: \"T\",\n ŧ: \"t\",\n T̆: \"T\",\n t̆: \"t\",\n Ũ: \"U\",\n ũ: \"u\",\n Ū: \"U\",\n ū: \"u\",\n Ŭ: \"U\",\n ŭ: \"u\",\n Ů: \"U\",\n ů: \"u\",\n Ű: \"U\",\n ű: \"u\",\n Ų: \"U\",\n ų: \"u\",\n Ȗ: \"U\",\n ȗ: \"u\",\n V̆: \"V\",\n v̆: \"v\",\n Ŵ: \"W\",\n ŵ: \"w\",\n Ẃ: \"W\",\n ẃ: \"w\",\n X̆: \"X\",\n x̆: \"x\",\n Ŷ: \"Y\",\n ŷ: \"y\",\n Ÿ: \"Y\",\n Y̆: \"Y\",\n y̆: \"y\",\n Ź: \"Z\",\n ź: \"z\",\n Ż: \"Z\",\n ż: \"z\",\n Ž: \"Z\",\n ž: \"z\",\n ſ: \"s\",\n ƒ: \"f\",\n Ơ: \"O\",\n ơ: \"o\",\n Ư: \"U\",\n ư: \"u\",\n Ǎ: \"A\",\n ǎ: \"a\",\n Ǐ: \"I\",\n ǐ: \"i\",\n Ǒ: \"O\",\n ǒ: \"o\",\n Ǔ: \"U\",\n ǔ: \"u\",\n Ǖ: \"U\",\n ǖ: \"u\",\n Ǘ: \"U\",\n ǘ: \"u\",\n Ǚ: \"U\",\n ǚ: \"u\",\n Ǜ: \"U\",\n ǜ: \"u\",\n Ứ: \"U\",\n ứ: \"u\",\n Ṹ: \"U\",\n ṹ: \"u\",\n Ǻ: \"A\",\n ǻ: \"a\",\n Ǽ: \"AE\",\n ǽ: \"ae\",\n Ǿ: \"O\",\n ǿ: \"o\",\n Þ: \"TH\",\n þ: \"th\",\n Ṕ: \"P\",\n ṕ: \"p\",\n Ṥ: \"S\",\n ṥ: \"s\",\n X́: \"X\",\n x́: \"x\",\n Ѓ: \"Г\",\n ѓ: \"г\",\n Ќ: \"К\",\n ќ: \"к\",\n A̋: \"A\",\n a̋: \"a\",\n E̋: \"E\",\n e̋: \"e\",\n I̋: \"I\",\n i̋: \"i\",\n Ǹ: \"N\",\n ǹ: \"n\",\n Ồ: \"O\",\n ồ: \"o\",\n Ṑ: \"O\",\n ṑ: \"o\",\n Ừ: \"U\",\n ừ: \"u\",\n Ẁ: \"W\",\n ẁ: \"w\",\n Ỳ: \"Y\",\n ỳ: \"y\",\n Ȁ: \"A\",\n ȁ: \"a\",\n Ȅ: \"E\",\n ȅ: \"e\",\n Ȉ: \"I\",\n ȉ: \"i\",\n Ȍ: \"O\",\n ȍ: \"o\",\n Ȑ: \"R\",\n ȑ: \"r\",\n Ȕ: \"U\",\n ȕ: \"u\",\n B̌: \"B\",\n b̌: \"b\",\n Č̣: \"C\",\n č̣: \"c\",\n Ê̌: \"E\",\n ê̌: \"e\",\n F̌: \"F\",\n f̌: \"f\",\n Ǧ: \"G\",\n ǧ: \"g\",\n Ȟ: \"H\",\n ȟ: \"h\",\n J̌: \"J\",\n ǰ: \"j\",\n Ǩ: \"K\",\n ǩ: \"k\",\n M̌: \"M\",\n m̌: \"m\",\n P̌: \"P\",\n p̌: \"p\",\n Q̌: \"Q\",\n q̌: \"q\",\n Ř̩: \"R\",\n ř̩: \"r\",\n Ṧ: \"S\",\n ṧ: \"s\",\n V̌: \"V\",\n v̌: \"v\",\n W̌: \"W\",\n w̌: \"w\",\n X̌: \"X\",\n x̌: \"x\",\n Y̌: \"Y\",\n y̌: \"y\",\n A̧: \"A\",\n a̧: \"a\",\n B̧: \"B\",\n b̧: \"b\",\n Ḑ: \"D\",\n ḑ: \"d\",\n Ȩ: \"E\",\n ȩ: \"e\",\n Ɛ̧: \"E\",\n ɛ̧: \"e\",\n Ḩ: \"H\",\n ḩ: \"h\",\n I̧: \"I\",\n i̧: \"i\",\n Ɨ̧: \"I\",\n ɨ̧: \"i\",\n M̧: \"M\",\n m̧: \"m\",\n O̧: \"O\",\n o̧: \"o\",\n Q̧: \"Q\",\n q̧: \"q\",\n U̧: \"U\",\n u̧: \"u\",\n X̧: \"X\",\n x̧: \"x\",\n Z̧: \"Z\",\n z̧: \"z\"\n};\n\nconst chars = Object.keys(characterMap).join(\"|\");\nconst allAccents = new RegExp(chars, \"g\");\n\n/**\n * Removes accents from a string.\n *\n * @param str - The string to remove accents from\n * @returns The string without accents\n */\nexport const removeAccents = (str: string) =>\n str.replace(allAccents, match => characterMap[match]!);\n","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { removeAccents } from \"@stryke/helpers/remove-accents\";\n\n/**\n * Converts a string by replacing special characters and diacritical marks with their ASCII equivalents.\n * For example, \"Crème brûlée\" becomes \"Creme brulee\".\n *\n * @param str - The input string to be deburred.\n * @returns The deburred string with special characters replaced by their ASCII equivalents.\n *\n * @example\n * // Basic usage:\n * deburr('Æthelred') // returns 'Aethelred'\n *\n * @example\n * // Handling diacritical marks:\n * deburr('München') // returns 'Munchen'\n *\n * @example\n * // Special characters:\n * deburr('Crème brûlée') // returns 'Creme brulee'\n */\nexport function deburr(str: string): string {\n return removeAccents(str.normalize(\"NFD\"));\n}\n"],"mappings":"AAiBA,MAAaA,EAAuC,CAClD,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,KACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,KACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,KACH,EAAG,KACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,KACH,EAAG,KACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,KACH,EAAG,KACH,EAAG,IACH,EAAG,IACH,EAAG,KACH,EAAG,KACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,EAAG,IACH,EAAG,IACH,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACL,CAEK,EAAQ,OAAO,KAAK,EAAa,CAAC,KAAK,IAAI,CAC3C,EAAa,IAAI,OAAO,EAAO,IAAI,CAQ5B,EAAiB,GAC5B,EAAI,QAAQ,EAAY,GAAS,EAAa,GAAQ,CCtYxD,SAAgB,EAAO,EAAqB,CAC1C,OAAO,EAAc,EAAI,UAAU,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- function e(e){return e.replace(/([a-z\d])([A-Z])/g,`$1_$2`).replace(/([A-Z]+)([A-Z][a-z\d]+)/g,`$1_$2`).toLowerCase()}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
@@ -1,11 +0,0 @@
1
- //#region src/decamelize.d.ts
2
- /**
3
- * Convert a camelCase or PascalCase string to a snake_case string.
4
- *
5
- * @param value - The camelCase or PascalCase string to convert.
6
- * @returns The converted snake_case string.
7
- */
8
- declare function decamelize(value: string): string;
9
- //#endregion
10
- export { decamelize as t };
11
- //# sourceMappingURL=decamelize-CXxqH9_o.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decamelize-CXxqH9_o.d.mts","names":[],"sources":["../src/decamelize.ts"],"sourcesContent":[],"mappings":";;AAwBA;;;;;iBAAgB,UAAA"}
@@ -1,2 +0,0 @@
1
- function e(e){return e.replace(/([a-z\d])([A-Z])/g,`$1_$2`).replace(/([A-Z]+)([A-Z][a-z\d]+)/g,`$1_$2`).toLowerCase()}export{e as t};
2
- //# sourceMappingURL=decamelize-CuI8547m.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decamelize-CuI8547m.mjs","names":[],"sources":["../src/decamelize.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Convert a camelCase or PascalCase string to a snake_case string.\n *\n * @param value - The camelCase or PascalCase string to convert.\n * @returns The converted snake_case string.\n */\nexport function decamelize(value: string): string {\n return value\n .replace(/([a-z\\d])([A-Z])/g, \"$1_$2\")\n .replace(/([A-Z]+)([A-Z][a-z\\d]+)/g, \"$1_$2\")\n .toLowerCase();\n}\n"],"mappings":"AAwBA,SAAgB,EAAW,EAAuB,CAChD,OAAO,EACJ,QAAQ,oBAAqB,QAAQ,CACrC,QAAQ,2BAA4B,QAAQ,CAC5C,aAAa"}
@@ -1,11 +0,0 @@
1
- //#region src/decamelize.d.ts
2
- /**
3
- * Convert a camelCase or PascalCase string to a snake_case string.
4
- *
5
- * @param value - The camelCase or PascalCase string to convert.
6
- * @returns The converted snake_case string.
7
- */
8
- declare function decamelize(value: string): string;
9
- //#endregion
10
- export { decamelize as t };
11
- //# sourceMappingURL=decamelize-esVsRIRg.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decamelize-esVsRIRg.d.cts","names":[],"sources":["../src/decamelize.ts"],"sourcesContent":[],"mappings":";;AAwBA;;;;;iBAAgB,UAAA"}
@@ -1,21 +0,0 @@
1
- //#region src/escape.d.ts
2
- /**
3
- * Converts the characters "&", "\<", "\>", '"', and "'" in `str` to their corresponding HTML entities.
4
- * For example, "\<" becomes "&lt;".
5
- *
6
- *
7
- * @example
8
- * ```ts
9
- * escape('This is a <div> element.'); // returns 'This is a &lt;div&gt; element.'
10
- * escape('This is a "quote"'); // returns 'This is a &quot;quote&quot;'
11
- * escape("This is a 'quote'"); // returns 'This is a &#39;quote&#39;'
12
- * escape('This is a & symbol'); // returns 'This is a &amp; symbol'
13
- * ```
14
- *
15
- * @param str - The string to escape.
16
- * @returns Returns the escaped string.
17
- */
18
- declare function escape(str: string): string;
19
- //#endregion
20
- export { escape as t };
21
- //# sourceMappingURL=escape-C1LTGJQ1.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"escape-C1LTGJQ1.d.cts","names":[],"sources":["../src/escape.ts"],"sourcesContent":[],"mappings":";;AA0CA;;;;;;;;;;;;;;;iBAAgB,MAAA"}
@@ -1,21 +0,0 @@
1
- //#region src/escape.d.ts
2
- /**
3
- * Converts the characters "&", "\<", "\>", '"', and "'" in `str` to their corresponding HTML entities.
4
- * For example, "\<" becomes "&lt;".
5
- *
6
- *
7
- * @example
8
- * ```ts
9
- * escape('This is a <div> element.'); // returns 'This is a &lt;div&gt; element.'
10
- * escape('This is a "quote"'); // returns 'This is a &quot;quote&quot;'
11
- * escape("This is a 'quote'"); // returns 'This is a &#39;quote&#39;'
12
- * escape('This is a & symbol'); // returns 'This is a &amp; symbol'
13
- * ```
14
- *
15
- * @param str - The string to escape.
16
- * @returns Returns the escaped string.
17
- */
18
- declare function escape(str: string): string;
19
- //#endregion
20
- export { escape as t };
21
- //# sourceMappingURL=escape-C44shywT.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"escape-C44shywT.d.mts","names":[],"sources":["../src/escape.ts"],"sourcesContent":[],"mappings":";;AA0CA;;;;;;;;;;;;;;;iBAAgB,MAAA"}
@@ -1 +0,0 @@
1
- const e={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`};function t(t){return t.replace(/["&'<>]/g,t=>e[t]||``)}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
@@ -1,2 +0,0 @@
1
- const e={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`};function t(t){return t.replace(/["&'<>]/g,t=>e[t]||``)}export{t};
2
- //# sourceMappingURL=escape-CydJ1P9x.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"escape-CydJ1P9x.mjs","names":["htmlEscapes: Record<string, string>"],"sources":["../src/escape.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nconst htmlEscapes: Record<string, string> = {\n \"&\": \"&amp;\",\n \"<\": \"&lt;\",\n \">\": \"&gt;\",\n '\"': \"&quot;\",\n \"'\": \"&#39;\"\n};\n\n/**\n * Converts the characters \"&\", \"\\<\", \"\\>\", '\"', and \"'\" in `str` to their corresponding HTML entities.\n * For example, \"\\<\" becomes \"&lt;\".\n *\n *\n * @example\n * ```ts\n * escape('This is a <div> element.'); // returns 'This is a &lt;div&gt; element.'\n * escape('This is a \"quote\"'); // returns 'This is a &quot;quote&quot;'\n * escape(\"This is a 'quote'\"); // returns 'This is a &#39;quote&#39;'\n * escape('This is a & symbol'); // returns 'This is a &amp; symbol'\n * ```\n *\n * @param str - The string to escape.\n * @returns Returns the escaped string.\n */\nexport function escape(str: string): string {\n return str.replace(/[\"&'<>]/g, match => htmlEscapes[match] || \"\");\n}\n"],"mappings":"AAkBA,MAAMA,EAAsC,CAC1C,IAAK,QACL,IAAK,OACL,IAAK,OACL,IAAK,SACL,IAAK,QACN,CAkBD,SAAgB,EAAO,EAAqB,CAC1C,OAAO,EAAI,QAAQ,WAAY,GAAS,EAAY,IAAU,GAAG"}
@@ -1 +0,0 @@
1
- const e=require(`./acronyms-DiyHB1FK.cjs`),t=require(`./articles-D9xvmhoM.cjs`),n=require(`./conjunctions-CaM47PDl.cjs`),r=require(`./prepositions-Bp1VMgpn.cjs`),i=require(`./special-cases-CfBSDTk8.cjs`);function a(a,o,s,c){let l=a.toLowerCase(),u=a.toUpperCase();for(let e of i.t)if(e.toLowerCase()===l)return e;return e.t[u]?c?.useDescriptions===!1?e.t[u].display||u:e.t[u].description:o===0||o===s.length-1||a.length>=4?a:r.t.includes(l)||n.t.includes(l)||t.t.includes(l)?l:a}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});