@rzl-zone/utils-js 3.1.0-beta.2 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/README.md +56 -27
  2. package/dist/NumberRangeUnion-DC-C3_Kq.d.ts +23 -23
  3. package/dist/any-BmdI8UbK.d.ts +56 -56
  4. package/dist/arrays-normalize-recursive-CnjYJ9xg.d.ts +66 -66
  5. package/dist/assertions/index.cjs +1 -1
  6. package/dist/assertions/index.d.ts +396 -396
  7. package/dist/assertions/index.js +1 -1
  8. package/dist/chunk-26XIKDJI.cjs +1 -0
  9. package/dist/chunk-2NWHDDM5.js +1 -0
  10. package/dist/chunk-2UIRWYE3.js +1 -0
  11. package/dist/chunk-3KBHD3BS.cjs +1 -0
  12. package/dist/chunk-4HD2O5A4.js +1 -0
  13. package/dist/chunk-5C2SMIGX.cjs +1 -0
  14. package/dist/chunk-5I2B5DOG.js +1 -0
  15. package/dist/chunk-6HQDHIOD.js +1 -0
  16. package/dist/chunk-735HJXBT.cjs +1 -0
  17. package/dist/chunk-7BXIZM57.cjs +1 -0
  18. package/dist/chunk-7KJBDGEP.js +1 -0
  19. package/dist/chunk-7U44T63D.cjs +1 -0
  20. package/dist/chunk-AJ65QFV2.js +1 -0
  21. package/dist/chunk-APHDUCVQ.js +1 -0
  22. package/dist/chunk-BSVZRN7C.js +1 -0
  23. package/dist/chunk-C6JFHUR2.cjs +1 -0
  24. package/dist/chunk-CPLBRGST.js +1 -0
  25. package/dist/chunk-CTBRLEOG.js +1 -0
  26. package/dist/chunk-DUK2K4FB.js +1 -0
  27. package/dist/chunk-DVMHRLKP.cjs +1 -0
  28. package/dist/chunk-E63WVPZE.cjs +1 -0
  29. package/dist/chunk-EBMHQW7X.cjs +1 -0
  30. package/dist/chunk-EGNZCW4K.js +1 -0
  31. package/dist/chunk-FEKDB32T.js +1 -0
  32. package/dist/chunk-FIAAX3UE.js +1 -0
  33. package/dist/chunk-FUS3DVLB.cjs +1 -0
  34. package/dist/chunk-GGRMHIFJ.cjs +1 -0
  35. package/dist/chunk-HQ5GQTEE.js +1 -0
  36. package/dist/chunk-I5X5IN4H.js +1 -0
  37. package/dist/chunk-I7YGXQPI.cjs +1 -0
  38. package/dist/chunk-INUFZJLX.cjs +1 -0
  39. package/dist/chunk-IREHUBF7.js +1 -0
  40. package/dist/chunk-J2RGTPGK.cjs +1 -0
  41. package/dist/chunk-KHO2SBNA.cjs +1 -0
  42. package/dist/chunk-KXIXXSWX.cjs +1 -0
  43. package/dist/chunk-LBMEEJWA.js +1 -0
  44. package/dist/chunk-MC3LXMCQ.js +1 -0
  45. package/dist/chunk-MMSYCIJ2.cjs +1 -1
  46. package/dist/chunk-NU3N4WHD.cjs +1 -0
  47. package/dist/chunk-ODZQXH7E.cjs +1 -0
  48. package/dist/chunk-ONZFBJVW.js +1 -0
  49. package/dist/chunk-PXDRHFIE.js +1 -0
  50. package/dist/chunk-Q6NHYWVX.js +1 -0
  51. package/dist/chunk-QNKGP5DY.js +1 -0
  52. package/dist/chunk-S6Z6I2EG.cjs +1 -0
  53. package/dist/chunk-SMADKXZE.js +1 -0
  54. package/dist/chunk-TSLYDPBJ.js +1 -0
  55. package/dist/chunk-TVXADXCC.cjs +1 -0
  56. package/dist/chunk-UDA26MCU.cjs +1 -0
  57. package/dist/chunk-UET567YM.cjs +1 -0
  58. package/dist/chunk-VEYMQ3UA.js +1 -0
  59. package/dist/chunk-W2W3L2M5.js +1 -0
  60. package/dist/chunk-WBWTXKMC.cjs +1 -0
  61. package/dist/chunk-WVSPXFTY.js +1 -0
  62. package/dist/chunk-XC2PYCT4.cjs +1 -0
  63. package/dist/chunk-XIXA5KDF.cjs +1 -0
  64. package/dist/chunk-Y4O5KZF6.cjs +1 -0
  65. package/dist/chunk-YRM7IJLX.js +1 -0
  66. package/dist/chunk-YT3MSZKK.cjs +1 -0
  67. package/dist/chunk-YXHCULSO.cjs +1 -0
  68. package/dist/chunk-YZR5OGJA.cjs +1 -0
  69. package/dist/chunk-Z4DXK7A6.cjs +1 -0
  70. package/dist/chunk-ZXIWDFEQ.js +1 -0
  71. package/dist/conversions/index.cjs +1 -1
  72. package/dist/conversions/index.d.ts +1347 -1297
  73. package/dist/conversions/index.js +1 -1
  74. package/dist/env/index.cjs +1 -1
  75. package/dist/env/index.d.ts +14 -14
  76. package/dist/env/index.js +1 -1
  77. package/dist/events/index.cjs +1 -1
  78. package/dist/events/index.d.ts +109 -109
  79. package/dist/events/index.js +1 -1
  80. package/dist/extends-Bk_SBGdT.d.ts +330 -330
  81. package/dist/formatting/index.cjs +1 -1
  82. package/dist/formatting/index.d.ts +855 -855
  83. package/dist/formatting/index.js +1 -1
  84. package/dist/generator/index.cjs +1 -1
  85. package/dist/generator/index.d.ts +155 -155
  86. package/dist/generator/index.js +1 -1
  87. package/dist/if-CvT4R7Kh.d.ts +16 -16
  88. package/dist/is-array-Cymwrsmm.d.ts +1119 -0
  89. package/dist/isPlainObject-BVhBAPHX.d.ts +154 -154
  90. package/dist/never-BfayMBF9.d.ts +64 -64
  91. package/dist/next/index.cjs +1 -8
  92. package/dist/next/index.d.ts +183 -183
  93. package/dist/next/index.js +1 -8
  94. package/dist/next/server/index.cjs +1 -2
  95. package/dist/next/server/index.d.ts +25 -25
  96. package/dist/next/server/index.js +1 -2
  97. package/dist/nils-DMz3kU7M.d.ts +155 -155
  98. package/dist/omit-VvmIsZmX.d.ts +25 -25
  99. package/dist/operations/index.cjs +1 -1
  100. package/dist/operations/index.d.ts +120 -120
  101. package/dist/operations/index.js +1 -1
  102. package/dist/or-DyZCRvaU.d.ts +89 -0
  103. package/dist/parsers/index.cjs +1 -1
  104. package/dist/parsers/index.d.ts +34 -34
  105. package/dist/parsers/index.js +1 -1
  106. package/dist/predicates/index.cjs +1 -1
  107. package/dist/predicates/index.d.ts +1774 -1680
  108. package/dist/predicates/index.js +1 -1
  109. package/dist/prettify-C4xLcYOP.d.ts +328 -328
  110. package/dist/promise/index.cjs +1 -1
  111. package/dist/promise/index.d.ts +29 -29
  112. package/dist/promise/index.js +1 -1
  113. package/dist/rzl-utils.global.js +1 -4
  114. package/dist/string-XA-til3C.d.ts +318 -318
  115. package/dist/strings/index.cjs +1 -1
  116. package/dist/strings/index.d.ts +690 -690
  117. package/dist/strings/index.js +1 -1
  118. package/dist/tailwind/index.cjs +1 -0
  119. package/dist/tailwind/index.d.ts +565 -0
  120. package/dist/tailwind/index.js +1 -0
  121. package/dist/type-data-DDs-u2kq.d.ts +241 -241
  122. package/dist/types/index.d.ts +3266 -3266
  123. package/dist/urls/index.cjs +1 -1
  124. package/dist/urls/index.d.ts +373 -373
  125. package/dist/urls/index.js +1 -1
  126. package/package.json +24 -23
  127. package/dist/chunk-25G6B35W.js +0 -1
  128. package/dist/chunk-2AUUPGMN.js +0 -1
  129. package/dist/chunk-2JQQQ625.js +0 -1
  130. package/dist/chunk-445TAVT4.cjs +0 -1
  131. package/dist/chunk-467VEMJH.js +0 -1
  132. package/dist/chunk-56QBKKRE.js +0 -1
  133. package/dist/chunk-5SZUSNGZ.js +0 -1
  134. package/dist/chunk-6Q4I2RPC.cjs +0 -1
  135. package/dist/chunk-6SMJMZ7G.cjs +0 -1
  136. package/dist/chunk-7YWAQOA4.cjs +0 -1
  137. package/dist/chunk-BLCANGFS.js +0 -1
  138. package/dist/chunk-CK3BZGEU.js +0 -1
  139. package/dist/chunk-D43GV6EF.cjs +0 -1
  140. package/dist/chunk-DFSTVQFI.cjs +0 -1
  141. package/dist/chunk-DYRDBYPF.cjs +0 -1
  142. package/dist/chunk-ELDDNERR.js +0 -1
  143. package/dist/chunk-EXXLUO7L.cjs +0 -1
  144. package/dist/chunk-FIEZKTAZ.cjs +0 -1
  145. package/dist/chunk-G72VSVGO.js +0 -1
  146. package/dist/chunk-GAJTFCUA.js +0 -1
  147. package/dist/chunk-GOJNH55O.cjs +0 -1
  148. package/dist/chunk-HXST7RJB.js +0 -1
  149. package/dist/chunk-HXTACM3O.cjs +0 -1
  150. package/dist/chunk-IJTZWWRJ.cjs +0 -1
  151. package/dist/chunk-ISJ33O2J.cjs +0 -1
  152. package/dist/chunk-JISH2VGG.js +0 -1
  153. package/dist/chunk-JQZUWBIX.js +0 -1
  154. package/dist/chunk-K4PLGD7C.js +0 -1
  155. package/dist/chunk-KZQB7H4E.cjs +0 -1
  156. package/dist/chunk-LUVV5KSD.cjs +0 -2
  157. package/dist/chunk-LVUSFXQS.cjs +0 -1
  158. package/dist/chunk-ME5OV5HN.js +0 -1
  159. package/dist/chunk-MF5Y5K4N.cjs +0 -1
  160. package/dist/chunk-MJAW5RAK.js +0 -1
  161. package/dist/chunk-MWLEM7ED.js +0 -1
  162. package/dist/chunk-NNM7QCNB.js +0 -1
  163. package/dist/chunk-NSVLG7NY.js +0 -4
  164. package/dist/chunk-NUHOOAUN.cjs +0 -1
  165. package/dist/chunk-NUVGETPD.js +0 -2
  166. package/dist/chunk-O5VXBNUQ.cjs +0 -4
  167. package/dist/chunk-O7SJR4CY.cjs +0 -1
  168. package/dist/chunk-OX6RLS2F.cjs +0 -1
  169. package/dist/chunk-PFLNHD4B.cjs +0 -1
  170. package/dist/chunk-PSWITZK5.js +0 -1
  171. package/dist/chunk-PUQXRLZH.cjs +0 -1
  172. package/dist/chunk-PYUVKHUF.cjs +0 -1
  173. package/dist/chunk-REFMEB4A.js +0 -1
  174. package/dist/chunk-RHE3M2NJ.cjs +0 -1
  175. package/dist/chunk-RHIBYOFQ.js +0 -1
  176. package/dist/chunk-RV2VULM7.cjs +0 -1
  177. package/dist/chunk-S7GMG4TB.js +0 -1
  178. package/dist/chunk-SW6HYEW7.cjs +0 -1
  179. package/dist/chunk-SYJC7UAW.js +0 -1
  180. package/dist/chunk-TQMZ2LPI.js +0 -1
  181. package/dist/chunk-U4TZO7WV.js +0 -1
  182. package/dist/chunk-UUMKL74S.js +0 -1
  183. package/dist/chunk-VQLAPEL3.js +0 -1
  184. package/dist/chunk-VTR75UID.cjs +0 -1
  185. package/dist/chunk-XFCJDSB2.cjs +0 -1
  186. package/dist/chunk-XOYX4PLZ.cjs +0 -1
  187. package/dist/chunk-Z6FLCEN6.js +0 -1
  188. package/dist/chunk-ZO5364A6.cjs +0 -1
  189. package/dist/index.cjs +0 -1
  190. package/dist/index.d.ts +0 -1
  191. package/dist/index.js +0 -1
  192. package/dist/is-array--YjXV-Wx.d.ts +0 -1207
  193. package/dist/stylings/index.cjs +0 -1
  194. package/dist/stylings/index.d.ts +0 -41
  195. package/dist/stylings/index.js +0 -1
@@ -1 +0,0 @@
1
- 'use strict';var o=()=>{};exports.a=o;
@@ -1 +0,0 @@
1
- import {a as a$1}from'./chunk-NNM7QCNB.js';import {d}from'./chunk-PSWITZK5.js';import {a as a$3}from'./chunk-REFMEB4A.js';import {a as a$2}from'./chunk-2JQQQ625.js';import {b}from'./chunk-HXST7RJB.js';import {a}from'./chunk-Z6FLCEN6.js';import {c}from'./chunk-467VEMJH.js';import {g,E,m,p,b as b$1,k,C as C$1}from'./chunk-MJAW5RAK.js';var A=(t,e,o)=>{if(g(t)){if(a(t))throw new TypeError("First parameter (`baseUrl`) cannot be an empty-string.");t=b(t);}else if(!a$1(t))throw new TypeError(`First parameter (\`baseUrl\`) must be of type an URL instance or a \`string\` and a non empty-string, but received: \`${E(t)}\`, with current value: \`${c(t)}\`.`);if(!m(o)&&(a$2(o,{message:({currentType:r,validType:n})=>`Third parameter (\`removeParams\`) must be of type \`${n} of strings\`, but received: \`${r}\`.`}),!o.every(r=>p(r))))throw new TypeError("Third parameter (`removeParams`) must be of type `array` and contains `string` only and non empty-string.");try{if(!m(e)&&!b$1(e[Symbol.iterator]))throw new TypeError(`Second parameter (\`queryParams\`) must be iterable (like URLSearchParams.entries() or an array of [[string, string | number]...]), but received: \`${E(e)}\`, with value: \`${c(e)}\`.`);let r=new URL(t);if(!m(e)){let n=Object.fromEntries(e);if(!a$3(n)){let i=new URLSearchParams(r.search);for(let[s,f]of Object.entries(n)){if(!p(f)&&!k(f,{includeNaN:!0}))throw new TypeError(`Second parameter (\`queryParams\`) must be iterable (like URLSearchParams.entries() or an array of [[string, string | number]...]), but received: \`${E(e)}\`, with value: \`${c(e)}\`.`);i.set(s,String(f));}o?.length&&d(o).map(s=>{i.delete(s);}),r.search=i.toString();}}return o?.forEach(n=>r.searchParams.delete(n)),r}catch(r){throw C$1(r)?r:new Error("Failed to construct a valid URL in `constructURL()`, Error:"+r)}};var C=t=>{if(!p(t))return null;let e;try{e=decodeURIComponent(t);}catch{return null}let o=/https?:\/\/.*?(?=https?:\/\/|\s|$)/g,r=e.match(o);if(!r)return null;let n=r.map(i=>i.replace(/[.,;:!?)]*$/,"")).filter(i=>{try{let s=new URL(i);return s.protocol==="http:"||s.protocol==="https:"}catch{return false}});return n.length?n:null};export{A as a,C as b};
@@ -1 +0,0 @@
1
- 'use strict';var e=()=>typeof window>"u"||typeof document>"u";exports.a=e;
@@ -1 +0,0 @@
1
- var o=()=>{};export{o as a};
@@ -1 +0,0 @@
1
- import {k,g as g$1,E,p}from'./chunk-MJAW5RAK.js';var g=(r,t,o)=>{if(!k(r)||!g$1(o)||!g$1(t))throw new TypeError(`First parameter (\`index\`) must be of type \`number\`, second parameter (\`originalString\`) and third parameter (\`replaceTo\`) must be of type \`string\`, but received: "['index': \`${E(r)}\`, 'originalString': \`${E(t)}\`, 'replaceTo': \`${E(o)}\`]".`);if(r<0||r>=t.length)throw new RangeError("First parameter (`index`) is out of range from second parameter (`originalString`).");return t.slice(0,r)+o+t.slice(r+1)},u=r=>{if(!p(r))return "";r=r.replace(/\s+/g," ").trim();let t=r.split(" ");return t.length>1?t[0][0]+t[1][0].toUpperCase():r.length>1?r.substring(0,2).toUpperCase():r[0].toUpperCase()};export{g as a,u as b};
@@ -1 +0,0 @@
1
- import {a}from'./chunk-56QBKKRE.js';import {a as a$1}from'./chunk-JISH2VGG.js';import {f,o,p,k}from'./chunk-MJAW5RAK.js';var b=(e="on_processing")=>{if(a())return;a$1(e,{message({validType:r,currentType:i}){return `First parameter \`className\` must be of type \`${r}\`, but received: \`${i}\`.`}});let{documentElement:t}=document;t&&!t.classList.contains(e)&&t.classList.add(e);},h=(e="on_processing")=>{if(a())return;a$1(e,{message({validType:r,currentType:i}){return `First parameter \`className\` must be of type \`${r}\`, but received: \`${i}\`.`}});let{documentElement:t}=document;t&&t.classList.contains(e)&&t.classList.remove(e);},T=()=>{if(a())return;let e=document.activeElement;e instanceof HTMLElement&&e.blur();},g=e=>{if(a())return;f(e)||(e={});let t=o(e,"behavior")&&p(e.behavior)&&["auto","instant","smooth"].includes(e.behavior.trim())?e.behavior:"smooth",r=o(e,"timeout")&&k(e.timeout)&&e.timeout>=1?e.timeout:1;r=r>2147483647?2147483647:r,setTimeout(()=>window.scrollTo({top:0,left:0,behavior:t}),r);};export{b as a,h as b,T as c,g as d};
@@ -1 +0,0 @@
1
- import {d as d$2}from'./chunk-MWLEM7ED.js';import {d as d$1,e}from'./chunk-ME5OV5HN.js';import {a}from'./chunk-2JQQQ625.js';import {c}from'./chunk-467VEMJH.js';import {f,r,n,d as d$3,h,m}from'./chunk-MJAW5RAK.js';var d=n=>{a(n,{message:({currentType:t,validType:i})=>`First parameter (\`values\`) must be of type \`${i}\` (array literal or instance), but received: \`${t}\`.`});let r=[];return n.forEach((t,i)=>{for(let o=i+1;o<n.length;o++)if(d$1(t,n[o])){r.some(c=>d$1(c,t))||r.push(t);break}}),r};var v=(n,r)=>{if(!f(n))return {};a(r,{message:({currentType:i,validType:o})=>`Second parameter (\`keysToOmit\`) must be of type \`${o}\` (array literal or instance), but received: \`${i}\`.`});let t=d(r);if(t.length>0)throw new Error(`Function "omitKeys" Error: Duplicate keys detected - \`${t}\``);return Object.fromEntries(Object.entries(n).filter(([i])=>!r.includes(i)))};var G=(n$1,r$1)=>{if(!f(n$1))return {};a(r$1,{message:({currentType:e,validType:a})=>`Second parameter (\`keysToOmit\`) must be of type \`${a}\` (array literal or instance), but received: \`${e}\`.`});let t=d(r$1);if(r(t))throw new Error(`Function "omitKeysDeep" Error: Duplicate keys detected - \`${c(t)}\`.`);let i=(e$1,a)=>{if(!n(e$1))return e$1;let[s,...l]=a;if(e(l))if(d$3(e$1)){let m=parseInt(s);!h(m)&&m in e$1&&e$1.splice(m,1);}else delete e$1[s];else {let m=e$1[s];n(m)&&(e$1[s]=i(m,l));}return e$1},o=e=>d$3(e)?e.map(o).filter(a=>!(n(a)&&Object.keys(a).length===0)):n(e)?Object.fromEntries(Object.entries(e).map(([s,l])=>[s,o(l)]).filter(([,s])=>!m(s)&&!(n(s)&&Object.keys(s).length===0))):e,c$1=d$2(c(n$1));for(let e of r$1){let a=e.split(".");i(c$1,a);}return o(c$1)};export{d as a,v as b,G as c};
@@ -1 +0,0 @@
1
- import {p as p$1}from'./chunk-MJAW5RAK.js';var i=new Set(["txt","md","rtf","tex","doc","docx","odt","ott","pdf","djvu","epub","mobi","azw","azw3","xls","xlsx","ods","csv","tsv","ppt","pptx","odp","pps","md","bib","tex","log","jpg","jpeg","png","gif","bmp","tif","tiff","webp","svg","ico","heif","heic","raw","cr2","nef","orf","sr2","dng","dds","psd","exr","xcf","ai","eps","cdr","psd","indd","mp3","wav","ogg","flac","aac","m4a","wma","alac","aiff","amr","mid","midi","opus","au","caf","ape","opus","mp4","mkv","avi","mov","flv","wmv","webm","mpeg","mpg","3gp","3g2","m4v","ts","mts","asf","rm","rmvb","vob","f4v","ogv","m2ts","mod","dav","zip","rar","7z","tar","gz","bz2","xz","tgz","tbz2","txz","lz","lzma","z","cab","arj","ace","iso","dmg","rpm","deb","pkg","apk","jar","iso","img","vhd","vmdk","qcow2","dmg","sql","db","dbf","mdb","accdb","json","xml","yaml","yml","toml","ini","plist","yaml","pkl","msgpack","h5","hdf5","parquet","avro","orc","ndjson","db","pdb","sqlite","sqlite3","dbx","sdf","js","jsx","ts","tsx","c","cpp","h","hpp","java","py","rb","go","rs","php","pl","sh","bat","cmd","ps1","lua","swift","kt","scala","cs","vb","dart","m","r","jl","fs","vbproj","sln","pri","Makefile","html","htm","xhtml","css","scss","sass","less","xml","json","yaml","yml","xlf","xlf","po","pot","jsp","asp","aspx","php","jspf","cgi","cfm","pl","env","conf","config","xml","ini","cfg","toml","yaml","dockerfile","gitignore","gitconfig","gitattributes","npmignore","lock","gradle","pom","yaml","prettierrc","eslintrc","babelrc","editorconfig","ttf","otf","woff","woff2","eot","dwg","dxf","shp","kml","kmz","gpx","stl","step","iges","3ds","3dm","fbx","obj","exe","msi","bin","run","com","cmd","apk","app","deb","rpm","elf","dll","so","dylib","sys","pem","crt","cer","key","der","csr","p12","pfx","jks","iso","cue","bin","nes","sfc","gba","nds","nes","sav","rom","pak","vpk","bik","epub","mobi","azw","azw3","fb2","lit","lrf","cbr","cbz","cbt","cba","opds","fasta","fa","fas","ffn","faa","fna","frn","fastq","fq","gb","gbk","sam","bam","vcf","gff","bed","log","bak","tmp","old","backup","swp","part","crdownload","torrent","ics","vcf","ics","ical","ics","ical","calendar","srt","sub","idx","cue","cdf","hdf","h5","nc","grib","fits","netcdf","sdf","vtk","xmind","drawio","jar","war","ear","crx","xpi","plugin","vsix","safariextz"]),p=new Set(["tar.gz","tar.bz2","tar.xz","tar.lz","tar.lzma","tar.Z","tar.zst","tar.xz"]),o=e=>{if(!p$1(e))return;let s=e.split("/").pop();if(s==="")return "";if(s){for(let t of p){let a=`.${t}`;if(s.toLowerCase().endsWith(a))return s.slice(0,-a.length)}for(;;){let t=s.lastIndexOf(".");if(t===-1)break;let a=s.slice(t+1).toLowerCase();if(i.has(a))s=s.slice(0,t);else break}return s}};export{o as a};
@@ -1 +0,0 @@
1
- 'use strict';var chunkD43GV6EF_cjs=require('./chunk-D43GV6EF.cjs'),chunkMF5Y5K4N_cjs=require('./chunk-MF5Y5K4N.cjs'),chunk445TAVT4_cjs=require('./chunk-445TAVT4.cjs'),chunk6Q4I2RPC_cjs=require('./chunk-6Q4I2RPC.cjs'),chunkDYRDBYPF_cjs=require('./chunk-DYRDBYPF.cjs'),chunkPUQXRLZH_cjs=require('./chunk-PUQXRLZH.cjs'),chunkO7SJR4CY_cjs=require('./chunk-O7SJR4CY.cjs'),chunkLVUSFXQS_cjs=require('./chunk-LVUSFXQS.cjs'),locale=require('date-fns/locale'),dateFns=require('date-fns');var pe=(r,e={})=>{if(!chunkLVUSFXQS_cjs.g(r)&&!chunkMF5Y5K4N_cjs.a(r))throw new TypeError(`First parameter (\`value\`) must be of type \`string\` or \`primitive-number\`, but received: \`${chunkLVUSFXQS_cjs.E(r)}\`, with value: \`${chunkO7SJR4CY_cjs.c(r)}\`.`);chunkLVUSFXQS_cjs.j(e,{message:({currentType:u,validType:D})=>`Second parameter (\`options\`) must be of type \`${D}\`, but received: \`${u}\`.`});let n=chunkLVUSFXQS_cjs.o(e,"decimal")?e.decimal:false,t=chunkLVUSFXQS_cjs.o(e,"totalDecimal")?e.totalDecimal:2,i=chunkLVUSFXQS_cjs.o(e,"endDecimal")?e.endDecimal:true,f=chunkLVUSFXQS_cjs.o(e,"indianFormat")?e.indianFormat:false,m=chunkLVUSFXQS_cjs.o(e,"suffixCurrency")?e.suffixCurrency:"",c=chunkLVUSFXQS_cjs.o(e,"suffixDecimal")?e.suffixDecimal:"",s=chunkLVUSFXQS_cjs.o(e,"roundedDecimal")?e.roundedDecimal:"round",o=chunkLVUSFXQS_cjs.o(e,"negativeFormat")?e.negativeFormat:"dash",a=chunkLVUSFXQS_cjs.o(e,"separatorDecimals")?e.separatorDecimals:",",h=chunkLVUSFXQS_cjs.o(e,"separator")?e.separator:".";if(!chunkLVUSFXQS_cjs.g(h)||!chunkLVUSFXQS_cjs.g(a)||!chunkLVUSFXQS_cjs.g(m)||!chunkLVUSFXQS_cjs.g(c))throw new TypeError(`Parameter \`separator\`, \`separatorDecimals\`, \`suffixCurrency\` and \`suffixDecimal\` property of the \`options\` (second parameter) must be of type \`string\`, but received: ['separator': \`${chunkLVUSFXQS_cjs.E(h)}\`, 'separatorDecimals': \`${chunkLVUSFXQS_cjs.E(a)}\`, 'suffixCurrency': \`${chunkLVUSFXQS_cjs.E(m)}\`, 'suffixDecimal': \`${chunkLVUSFXQS_cjs.E(c)}\`].`);if(!chunkLVUSFXQS_cjs.a(n)||!chunkLVUSFXQS_cjs.a(i)||!chunkLVUSFXQS_cjs.a(f))throw new TypeError(`Parameter \`decimal\`, \`endDecimal\` and \`indianFormat\` property of the \`options\` (second parameter) must be of type \`boolean\`, but received: ['decimal': \`${chunkLVUSFXQS_cjs.E(n)}\`, 'endDecimal': \`${chunkLVUSFXQS_cjs.E(i)}\`, 'indianFormat': \`${chunkLVUSFXQS_cjs.E(f)}\`].`);if(!chunkPUQXRLZH_cjs.a(t))throw new TypeError(`Parameter \`totalDecimal\` property of the \`options\` (second parameter) must be of type \`integer-number\`, but received: \`${chunkLVUSFXQS_cjs.E(t)}\`, with value: \`${chunkO7SJR4CY_cjs.c(length)}\`.`);if(!(s===false||s==="round"||s==="ceil"||s==="floor"))throw new TypeError(`Parameter \`roundedDecimal\` property of the \`options\` (second parameter) must be of type \`false\` or \`string\` must be one of "round" | "ceil" | "floor", but received: \`${chunkLVUSFXQS_cjs.E(s)}\`, with value: \`${chunkO7SJR4CY_cjs.c(s)}\`.`);if(!(o==="abs"||o==="brackets"||o==="dash"||chunkLVUSFXQS_cjs.f(o)))throw new TypeError(`Parameter \`negativeFormat\` property of the \`options\` (second parameter) must be of type \`string\` must be one of "abs" | "brackets" | "dash" or \`plain-object\` type, but received: \`${chunkLVUSFXQS_cjs.E(o)}\`, with value: \`${chunkO7SJR4CY_cjs.c(o)}\`.`);let S=chunkLVUSFXQS_cjs.g(r)?chunkD43GV6EF_cjs.a(r):r;if(chunkLVUSFXQS_cjs.h(S))throw new TypeError("First parameter (`value`) could not be parsed into a valid `number`.");let b="",y="",$=Math.abs(S),P=Math.pow(10,t);if(s){let u=$*P;switch(s){case "round":$=Math.round(u)/P;break;case "ceil":$=Math.ceil(u)/P;break;case "floor":$=Math.floor(u)/P;break}}if(s)[b,y]=$.toFixed(t).split("."),y=y??"".padEnd(t,"0");else {let u=String($).split(".");b=u[0],y=(u[1]||"").slice(0,t).padEnd(t,"0");}let g;if(f?(h=",",a=".",g=(m.trim().length?m:"")+H(b,h)):g=(m.trim().length?m:"")+b.replace(/\B(?=(\d{3})+(?!\d))/g,h),n&&!chunkLVUSFXQS_cjs.m(y)&&t>0){let u=a+y;i&&(u+=c),g+=u;}if(S<0){if(o==="dash")g="-"+g;else if(o==="brackets")g="("+g+")";else if(o!=="abs"){if(chunkLVUSFXQS_cjs.f(o))if(chunkLVUSFXQS_cjs.o(o,"custom")){let u=o.custom;if(!chunkLVUSFXQS_cjs.b(u))throw new TypeError(`Parameter \`negativeFormat.custom\` property of the \`options\` (second parameter) must be of type function: \`(formatted: string) => string\`, but received: \`${chunkLVUSFXQS_cjs.E(u)}\`.`);let D=u(g);chunkDYRDBYPF_cjs.a(D,{message:({currentType:V,validType:j})=>`Parameter \`negativeFormat.custom\` property of the \`options\` (second parameter) expected return a \`${j}\` type value, but received: \`${V}\`.`}),g=D;}else {let u=o.style||"dash",D=chunkLVUSFXQS_cjs.m(o.space)?false:o.space;if(chunkLVUSFXQS_cjs.G(D,{message:({currentType:V,validType:j})=>`Parameter \`negativeFormat.space\` property of the \`options\` (second parameter) must be of type \`${j} or undefined\`, but received: \`${V}\`.`}),!(u==="abs"||u==="brackets"||u==="dash"))throw new TypeError(`Parameter \`negativeFormat.style\` property of the \`options\` (second parameter) must be of type \`string\` must be of type "abs" | "brackets" | "dash", but received: \`${chunkLVUSFXQS_cjs.E(u)}\`, with value: \`${chunkO7SJR4CY_cjs.c(u)}\`.`);switch(u){case "dash":g="-"+(D?" ":"")+g;break;case "brackets":g=D?`( ${g} )`:`(${g})`;break;}}}}return g},H=(r,e)=>{let n=r.slice(-3),t=r.slice(0,-3);return t?t.replace(/\B(?=(\d{2})+(?!\d))/g,e)+e+n:n};var he=(r,e=",")=>{if(!chunkLVUSFXQS_cjs.g(r)&&!chunkMF5Y5K4N_cjs.a(r))throw new TypeError(`First parameter (\`value\`) must be of type \`string\` or \`primitive number\`, but received: \`${chunkLVUSFXQS_cjs.E(r)}\`.`);if(!chunkLVUSFXQS_cjs.g(e))throw new TypeError(`Second parameter (\`separator\`) must be of type \`string\` or empty as \`undefined\`, but received: \`${chunkLVUSFXQS_cjs.E(e)}\`.`);e=chunkLVUSFXQS_cjs.g(e)?e:",";let n=e==="."?",":".",t=r.toString().trim(),i=t.lastIndexOf("."),f=t.lastIndexOf(","),m="";i>f?m=".":f>i&&(m=",");let c=t,s="";if(m){let a=t.split(m);c=a.slice(0,-1).join(m),s=a.slice(-1)[0];}c=c.replace(/[^\d]/g,"");let o=c.replace(/\B(?=(\d{3})+(?!\d))/g,e);return s?`${o}${n}${s}`:o};function Fe(r,e={}){if(chunkLVUSFXQS_cjs.c(r))return "";if(!chunkLVUSFXQS_cjs.g(r)&&!chunkLVUSFXQS_cjs.k(r))throw new TypeError(`First parameter (\`value\`) must be of type \`string\`, \`number\`, \`null\` or \`undefined\`, but received: \`${chunkLVUSFXQS_cjs.E(r)}\`.`);chunkLVUSFXQS_cjs.j(e,{message:({currentType:u,validType:D})=>`Second parameter (\`options\`) must be of type \`${D}\`, but received: \`${u}\`.`});let n=chunkLVUSFXQS_cjs.o(e,"separator")?e.separator:" ",t=chunkLVUSFXQS_cjs.o(e,"takeNumberOnly")?e.takeNumberOnly:false,i=chunkLVUSFXQS_cjs.o(e,"checkValidOnly")?e.checkValidOnly:false,f=chunkLVUSFXQS_cjs.o(e,"plusNumberCountry")?e.plusNumberCountry:"",m=chunkLVUSFXQS_cjs.o(e,"openingNumberCountry")?e.openingNumberCountry:"",c=chunkLVUSFXQS_cjs.o(e,"closingNumberCountry")?e.closingNumberCountry:"";if(!chunkLVUSFXQS_cjs.a(t)||!chunkLVUSFXQS_cjs.a(i))throw new TypeError(`Parameter \`takeNumberOnly\` and \`checkValidOnly\` property of the \`options\` (second parameter) must be of type \`boolean\` or unset as \`undefined\` value, but received: ['takeNumberOnly': \`${chunkLVUSFXQS_cjs.E(t)}\`, 'checkValidOnly': \`${chunkLVUSFXQS_cjs.E(i)}\`].`);if(!chunkLVUSFXQS_cjs.g(n)||!chunkLVUSFXQS_cjs.g(f)||!chunkLVUSFXQS_cjs.g(m)||!chunkLVUSFXQS_cjs.g(c))throw new TypeError(`Parameter \`separator\`, \`plusNumberCountry\`, \`openingNumberCountry\` and \`closingNumberCountry\` property of the \`options\` (second parameter) must be of type \`string\` or unset as \`undefined\` value, but received: ['separator': \`${chunkLVUSFXQS_cjs.E(n)}\`, 'plusNumberCountry': \`${chunkLVUSFXQS_cjs.E(f)}\`, 'openingNumberCountry': \`${chunkLVUSFXQS_cjs.E(m)}\`, 'closingNumberCountry': \`${chunkLVUSFXQS_cjs.E(c)}\`].`);if(chunkLVUSFXQS_cjs.g(r)||(r=String(r)),t)return r.replace(/\D/g,"");if(i)return /^(\+)?[0-9\s().-]+$/.test(r)&&r.replace(/\D/g,"").length<24;r=r.replace(/\D/g,"");let s=f.trim().replace(/\s+/g,"").replace(/[^\d+]/g,"");/^\+/.test(s)&&(s="+"+s.replace(/^\++/,""));let o="",a="",h={7:"Russia, Kazakhstan",27:"South Africa",31:"Netherlands",32:"Belgium",33:"France",34:"Spain",36:"Hungary",39:"Italy, San Marino, Vatican",44:"United Kingdom",46:"Sweden",47:"Norway",48:"Poland",49:"Germany",52:"Mexico",54:"Argentina",55:"Brazil",56:"Chile",61:"Australia",62:"Indonesia",64:"New Zealand",81:"Japan",82:"South Korea",86:"China",90:"Turkey",91:"India",92:"Pakistan",351:"Portugal",352:"Luxembourg",971:"UAE"},S=s.replace(/^\+/,"").replace(/[^\d]/g,"");h[S]&&r.startsWith("0")?(o=r.slice(1,4),a=r.slice(4)):(o=r.slice(0,4),a=r.slice(4));let b=s.trim(),y=m.trim(),$=c.trim(),P="";b?y&&$?P=`${y}${b}${$} ${o}`:y&&!$?P=`${y}${b} ${o}`:!y&&$?P=`${b}${$} ${o}`:P=`${b} ${o}`:P=`${o}`;let g={0:n,4:n,8:n,12:n,16:n,20:n,24:n};for(let u=0;u<a.length;u++){let D=u+o.length;P+=(g[D]||"")+a[u];}return P}var Be=(r,e)=>{if(chunkLVUSFXQS_cjs.c(e)&&(e="YYYY-MM-DD hh:mm:ss"),!chunkLVUSFXQS_cjs.g(e)||chunkLVUSFXQS_cjs.c(r)||!(dateFns.isDate(r)||chunkLVUSFXQS_cjs.p(r)))return null;try{let n=new Date(r);if(chunkLVUSFXQS_cjs.h(n.getTime()))return null;let t=m=>m.toString().padStart(2,"0"),i={YYYY:n.getFullYear().toString(),MM:t(n.getMonth()+1),DD:t(n.getDate()),hh:t(n.getHours()),mm:t(n.getMinutes()),ss:t(n.getSeconds())},f=Object.entries(i).reduce((m,[c,s])=>m.split(c).join(s),e);return f.includes("NaN")?null:f}catch{return null}},Ve=(r,e)=>{if(chunkLVUSFXQS_cjs.c(r)||!(dateFns.isDate(r)||chunkLVUSFXQS_cjs.p(r)))return null;let n=new Date(r);if(chunkLVUSFXQS_cjs.h(n.getTime()))return null;chunkLVUSFXQS_cjs.f(e)||(e={});let{locale:t="en-US",...i}=e;try{return new Intl.DateTimeFormat(chunkLVUSFXQS_cjs.p(t)?t.trim():"en-US",i).format(n)}catch{return null}},je=(r,e={})=>{if(chunkLVUSFXQS_cjs.c(r)||!(dateFns.isDate(r)||chunkLVUSFXQS_cjs.p(r)))return null;chunkLVUSFXQS_cjs.f(e)||(e={});let{inputFormat:n,locale:t="en",inputLocale:i="en",...f}=e,m=chunkLVUSFXQS_cjs.o(e,"format")&&chunkLVUSFXQS_cjs.p(e.format)?e.format:"dd MMM yyyy - HH:mm:ss",c;try{if(chunkLVUSFXQS_cjs.p(r)&&n&&i){let o=chunkLVUSFXQS_cjs.p(i)?i==="id"?locale.id:locale.enUS:i;c=dateFns.parse(r,n,new Date,{locale:o});}else c=new Date(r);if(chunkLVUSFXQS_cjs.h(c.getTime()))return null;let s=chunkLVUSFXQS_cjs.p(t)?t==="id"?locale.id:locale.enUS:t;return dateFns.format(c,m,{...f,locale:s})}catch{return null}},ze=r=>{try{if(chunkLVUSFXQS_cjs.c(r)||chunkLVUSFXQS_cjs.g(r)&&chunk6Q4I2RPC_cjs.a(r))r=new Date;else if(!(dateFns.isDate(r)||chunkLVUSFXQS_cjs.p(r)))return "0";let e=new Date(r);if(chunkLVUSFXQS_cjs.h(e.getTime()))return "0";let n=f=>f.toString().padStart(2,"0"),t=e.getTimezoneOffset(),i=t<0?"+":"-";return t=Math.abs(t),`${i}${n(Math.floor(t/60))}${n(t%60)}`}catch{return "0"}};var Ke=(r,e={})=>{if(!chunkLVUSFXQS_cjs.p(r))return "";chunkLVUSFXQS_cjs.j(e,{message:({currentType:P,validType:g})=>`Second parameter (\`options\`) must be of type \`${g}\`, but received: \`${P}\`.`});let n=chunkLVUSFXQS_cjs.o(e,"mode")?e.mode:"fixed";if(n!=="random"&&n!=="fixed")throw new TypeError(`Parameter \`mode\` property of the \`options\` (second parameter) must be one of "fixed" or "random", but received: \`${chunkLVUSFXQS_cjs.E(n)}\`, with value: \`${chunkO7SJR4CY_cjs.c(n)}\`.`);if(!/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(r))return "";let[i,f]=r.split("@"),m=f.split(".");if(m.length<2)return "";let[c,...s]=m,o=s.join("."),a=_(n,r),h=i.length<4?1:2,S=c.length<4?1:2,b=z(i,h,.6,a),y=z(c,S,.5,a),$=o.length<=2?o:z(o,1,.4,a);return `${b}@${y}.${$}`},_=(r,e)=>r==="fixed"?(()=>{let t=0;for(let i=0;i<e.length;i++)t=(t<<5)-t+e.charCodeAt(i),t|=0;return Math.abs(t)})():void 0,z=(r,e,n,t)=>{if(r.length<=e)return "*".repeat(r.length);let i=r.split(""),f=Math.max(e,Math.ceil(r.length*n)),m=new Set,c=0;for(;m.size<f;){let s=chunkLVUSFXQS_cjs.m(t)?Math.floor(Math.random()*r.length):(t+r.length+c*31)%r.length;m.add(s),c++;}for(let s of m)i[s]="*";return i.join("")};function nr(r,e,n={}){if(chunkLVUSFXQS_cjs.c(r)||e<=0)return r;if(chunkDYRDBYPF_cjs.a(r,{message:({currentType:o,validType:a})=>`First parameter (\`subject\`) must be of type \`${a}\`, but received: \`${o}\`.`}),!chunkPUQXRLZH_cjs.a(e))throw new TypeError(`Second parameter (\`limiter\`) must be of type \`integer-number\`, but received: \`${chunkLVUSFXQS_cjs.E(e)}\`, with value: \`${chunkO7SJR4CY_cjs.c(e)}\`.`);chunkLVUSFXQS_cjs.j(n,{message:({currentType:o,validType:a})=>`Third parameter (\`options\`) must be of type \`${a}\`, but received: \`${o}\`.`});let t=chunkLVUSFXQS_cjs.o(n,"separator")?n.separator:" ",i=chunkLVUSFXQS_cjs.o(n,"reCountAfterSpace")?n.reCountAfterSpace:false;if(chunkDYRDBYPF_cjs.a(t,{message:({currentType:o,validType:a})=>`Parameter \`separator\` property of the \`options\` (third parameter) must be of type \`${a}\`, but received: \`${o}\`.`}),chunkLVUSFXQS_cjs.G(i,{message:({currentType:o,validType:a})=>`Parameter \`reCountAfterSpace\` property of the \`options\` (third parameter) must be of type \`${a}\`, but received: \`${o}\`.`}),r=chunk445TAVT4_cjs.a(r),!i){let o="",a=0;for(let h=0;h<r.length;h++){let S=r[h];a===e&&(o+=t,a=0),o+=S,a++;}return o}let f=r.split(" "),m=[],c=[],s=0;for(let o=0;o<f.length;o++){let a=f[o],h="",S=0;for(let b=0;b<a.length;b++)h+=a[b],S++,S===e&&b<a.length-1&&(h+=t,S=0);c.push(h),s++,(s===e||o===f.length-1)&&(m.push(c.join(t)),c=[],s=0);}return m.join(" ")}var gr=(r,e={})=>{if(!chunkLVUSFXQS_cjs.p(r))return "";chunkLVUSFXQS_cjs.j(e,{message:({currentType:o,validType:a})=>`Seconds parameter (\`options\`) must be of type \`${a}\`, but received: \`${o}\`.`});let n=chunkLVUSFXQS_cjs.o(e,"trim")?e.trim:true,t=chunkLVUSFXQS_cjs.o(e,"length")?e.length:10,i=chunkLVUSFXQS_cjs.o(e,"ending")?e.ending:"...";if(!chunkPUQXRLZH_cjs.a(t))throw new TypeError(`Parameter \`length\` property of the \`options\` (second parameter) must be of type \`integer-number\`, but received: \`${chunkLVUSFXQS_cjs.E(t)}\`, with value: \`${chunkO7SJR4CY_cjs.c(t)}\`.`);if(t<1)return "";chunkDYRDBYPF_cjs.a(i,{message:({currentType:o,validType:a})=>`Parameter \`ending\` property of the \`options\` (second parameter) must be of type \`${a}\`, but received: \`${o}\`.`}),chunkLVUSFXQS_cjs.G(n,{message:({currentType:o,validType:a})=>`Parameter \`trim\` property of the \`options\` (second parameter) must be of type \`${a}\`, but received: \`${o}\`.`}),chunk6Q4I2RPC_cjs.a(i)?i="...":i=i.trim();let f=n?r.trim():r;if(f.length<=t)return f;let c=f.slice(0,t);return (n?c:c.trimEnd())+i};exports.a=pe;exports.b=he;exports.c=Fe;exports.d=Be;exports.e=Ve;exports.f=je;exports.g=ze;exports.h=Ke;exports.i=nr;exports.j=gr;
@@ -1 +0,0 @@
1
- 'use strict';var chunkRHE3M2NJ_cjs=require('./chunk-RHE3M2NJ.cjs'),chunkZO5364A6_cjs=require('./chunk-ZO5364A6.cjs'),chunkPFLNHD4B_cjs=require('./chunk-PFLNHD4B.cjs'),chunkISJ33O2J_cjs=require('./chunk-ISJ33O2J.cjs'),chunkMF5Y5K4N_cjs=require('./chunk-MF5Y5K4N.cjs'),chunk6Q4I2RPC_cjs=require('./chunk-6Q4I2RPC.cjs'),chunkDYRDBYPF_cjs=require('./chunk-DYRDBYPF.cjs'),chunkO7SJR4CY_cjs=require('./chunk-O7SJR4CY.cjs'),chunk7YWAQOA4_cjs=require('./chunk-7YWAQOA4.cjs'),chunkLVUSFXQS_cjs=require('./chunk-LVUSFXQS.cjs');function ne(e,n={}){chunkLVUSFXQS_cjs.j(n,{message:({currentType:i,validType:m})=>`Second parameter (\`options\`) must be of type \`${m}\`, but received: \`${i}\`.`});let p=chunkLVUSFXQS_cjs.o(n,"removeInvalidValueNumber")?n.removeInvalidValueNumber:true;if(chunkLVUSFXQS_cjs.G(p,{message:({currentType:i,validType:m})=>`Parameter \`removeInvalidValueNumber\` property of the \`options\` (second parameter) must be of type \`${m}\`, but received: \`${i}\`.`}),chunkLVUSFXQS_cjs.d(e)){let i=Array.from(e,m=>{if(chunk7YWAQOA4_cjs.a(m))return Number(m);let u=String(m).trim().match(/-?\d+(\.\d+)?/);return u?Number(u[0]):chunkLVUSFXQS_cjs.i(m)?null:void 0});return p?chunkZO5364A6_cjs.b(i):i}}var Oe=e=>chunkLVUSFXQS_cjs.c(e)?false:chunkLVUSFXQS_cjs.g(e)?chunkLVUSFXQS_cjs.p(e):chunkLVUSFXQS_cjs.a(e)?e:chunkLVUSFXQS_cjs.k(e,{includeNaN:true})?e!==0:chunkLVUSFXQS_cjs.d(e)||chunkLVUSFXQS_cjs.e(e)?chunkRHE3M2NJ_cjs.a(e):!!e;var Q=e=>chunkLVUSFXQS_cjs.c(e)?false:chunkLVUSFXQS_cjs.g(e)?chunkLVUSFXQS_cjs.p(e):chunkLVUSFXQS_cjs.a(e)?e:chunkLVUSFXQS_cjs.k(e,{includeNaN:true})?e!==0:chunkLVUSFXQS_cjs.d(e)?e.some(Q):chunkLVUSFXQS_cjs.e(e)?Object.values(e).some(Q):false;var Ke=(e,n={})=>{if(chunkLVUSFXQS_cjs.c(e))return false;chunkLVUSFXQS_cjs.f(n)||(n={});let p=chunkLVUSFXQS_cjs.o(n,"caseInsensitive")?n.caseInsensitive:false,i=chunkLVUSFXQS_cjs.o(n,"trimString")?n.trimString:true,m=chunkLVUSFXQS_cjs.o(n,"includeIndeterminate")?n.includeIndeterminate:false;if(!chunkLVUSFXQS_cjs.a(p)||!chunkLVUSFXQS_cjs.a(i)||!chunkLVUSFXQS_cjs.a(m))throw new TypeError(`Parameters \`caseInsensitive\`, \`trimString\` and \`includeIndeterminate\` property of the \`options\` (second parameter) expected to be a \`boolean\` type, but received: ['caseInsensitive': \`${chunkLVUSFXQS_cjs.E(p)}\`, 'trimString': \`${chunkLVUSFXQS_cjs.E(i)}\`, 'includeIndeterminate': \`${chunkLVUSFXQS_cjs.E(m)}\`].`);if(chunkLVUSFXQS_cjs.g(e)){let r=e;i&&(r=r.trim()),p&&(r=r.toLowerCase());let u=["true","on","yes","1"];return m&&u.push("indeterminate"),u.includes(r)}return chunkLVUSFXQS_cjs.k(e)?e===1:chunkLVUSFXQS_cjs.a(e)?e:false};var _e=e=>chunkLVUSFXQS_cjs.c(e)?false:chunkLVUSFXQS_cjs.g(e)?!chunk6Q4I2RPC_cjs.a(e):chunkLVUSFXQS_cjs.a(e)?e:chunkLVUSFXQS_cjs.k(e,{includeNaN:true})?e!==0:chunkLVUSFXQS_cjs.d(e)?e.length>0:!!e;var mr=e=>{let n={undefined:void 0,null:null,nan:NaN,true:true,false:false,yes:true,no:false};if(chunkLVUSFXQS_cjs.g(e)){let p=e.trim().toLowerCase();if(Object.prototype.hasOwnProperty.call(n,p))return n[p];let i=p.replace(/,/g,""),m=Number(i);return !chunkLVUSFXQS_cjs.h(m)&&chunkLVUSFXQS_cjs.p(i)?m:e.trim()}return e};var X=e=>{try{if(chunkLVUSFXQS_cjs.b(structuredClone))return structuredClone(e)}catch{}return JSON.parse(JSON.stringify(e))},$=(e,n)=>{if(!chunkLVUSFXQS_cjs.n(e))return e;let[p,...i]=n;if(chunkLVUSFXQS_cjs.d(e))for(let m of e)chunkLVUSFXQS_cjs.n(m)&&$(m,n);else chunkPFLNHD4B_cjs.e(i)?chunkLVUSFXQS_cjs.f(e)&&delete e[p]:chunkLVUSFXQS_cjs.f(e)&&chunkLVUSFXQS_cjs.n(e[p])&&$(e[p],i);return e},W=(e,n)=>{if(!chunkLVUSFXQS_cjs.f(e))return e;let[p,...i]=n;return i.length===0?chunkLVUSFXQS_cjs.f(e)&&delete e[p]:chunkLVUSFXQS_cjs.f(e[p])&&W(e[p],i),e};function gr(e,n,p=true){if(chunkPFLNHD4B_cjs.f(e,{checkSymbols:true}))return {};if(chunkISJ33O2J_cjs.a(n,{message:({currentType:m,validType:r})=>`Second parameter (\`keysToDelete\`) must be of type \`${r}\` with value of { key: string, deep?: boolean } plain-object, but received: \`${m}\`, with value: \`${chunkO7SJR4CY_cjs.c(n)}\`.`}),!n.every(m=>chunkLVUSFXQS_cjs.f(m)&&"key"in m))throw new TypeError(`Each element in Second Parameter (\`keysToDelete\`) must be of type \`plain-object\` with at least a "key" property (optionally "deep"), but received: \`${chunkO7SJR4CY_cjs.c(n)}\`.`);let i=p?X(e):e;for(let{key:m,deep:r}of n){if(chunkDYRDBYPF_cjs.a(m,{message:({currentType:s,validType:a})=>`Parameter \`key\` at Second Parameter (\`keysToDelete\`) must be of type \`${a}\`, but received: \`${s}\`.`}),!chunkLVUSFXQS_cjs.m(r)&&!chunkLVUSFXQS_cjs.a(r))throw new TypeError(`Parameter \`deep\` at Second Parameter (\`keysToDelete\`) \u2794 (key: "${m}", deep: ${r}) must be of type \`boolean\` or \`undefined\`, but received: \`${chunkLVUSFXQS_cjs.E(r)}\`.`);let u=m.split(".");i=r?$(i,u):W(i,u);}return i}function Qr(e,n={}){chunkLVUSFXQS_cjs.j(n,{message:({currentType:r,validType:u})=>`Second parameter (\`options\`) must be of type \`${u}\`, but received: \`${r}\`.`});let p=chunkLVUSFXQS_cjs.o(n,"removeEmptyObjects")?n.removeEmptyObjects:false,i=chunkLVUSFXQS_cjs.o(n,"removeEmptyArrays")?n.removeEmptyArrays:false;function m(r,u){if(chunkLVUSFXQS_cjs.c(r))return;let{removeEmptyArrays:s,removeEmptyObjects:a,isRoot:k}=u;if(!chunkLVUSFXQS_cjs.a(a)||!chunkLVUSFXQS_cjs.a(s))throw new TypeError(`Parameters \`removeEmptyObjects\` and \`removeEmptyArrays\` property of the \`options\` (second parameter) must be of type \`boolean\`, but received: ['removeEmptyObjects': \`${chunkLVUSFXQS_cjs.E(a)}\`, 'removeEmptyArrays': \`${chunkLVUSFXQS_cjs.E(s)}\`].`);if(chunkLVUSFXQS_cjs.k(r)||chunkLVUSFXQS_cjs.p(r)&&!chunkLVUSFXQS_cjs.h(Number(r))){let o=Number(r);return chunkMF5Y5K4N_cjs.a(o)?o:void 0}if(chunkLVUSFXQS_cjs.d(r)){let o=r.map(t=>m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false})).filter(t=>!chunkLVUSFXQS_cjs.m(t));return s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}if(chunkLVUSFXQS_cjs.q(r)){let o=Array.from(r).map(t=>m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false})).filter(t=>!chunkLVUSFXQS_cjs.m(t));return s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}if(chunkO7SJR4CY_cjs.a(r)){let o=Array.from(r.entries()).map(([t,A])=>{let T=m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false}),B=m(A,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false});return !chunkLVUSFXQS_cjs.m(T)&&!chunkLVUSFXQS_cjs.m(B)?[T,B]:void 0}).filter(t=>!chunkLVUSFXQS_cjs.m(t));return s&&(o=o.filter(t=>!(chunkLVUSFXQS_cjs.d(t)&&t.length===0))),s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}if(chunkLVUSFXQS_cjs.D(r)){let o=Array.from(r).map(t=>m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false})).filter(t=>!chunkLVUSFXQS_cjs.m(t));return s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}if(chunkRHE3M2NJ_cjs.b(r))if(r instanceof BigInt64Array||r instanceof BigUint64Array){let o=Array.from(r).map(t=>m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false})).filter(t=>!chunkLVUSFXQS_cjs.m(t));return s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}else {let o=Array.from(r).map(t=>m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false})).filter(t=>!chunkLVUSFXQS_cjs.m(t));return s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}if(chunkO7SJR4CY_cjs.b(r))return chunkLVUSFXQS_cjs.h(r.getTime())?0:r.getTime();if(chunkLVUSFXQS_cjs.e(r)){let o={};for(let[t,A]of Object.entries(r)){let T=m(A,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false});chunkLVUSFXQS_cjs.m(T)||(o[t]=T);}return a&&chunkPFLNHD4B_cjs.f(o)?k?{}:void 0:o}}return m(e,{removeEmptyObjects:p,removeEmptyArrays:i,isRoot:true})}function dt(e,n={}){chunkLVUSFXQS_cjs.j(n,{message:({currentType:r,validType:u})=>`Second parameter (\`options\`) must be of type \`${u}\`, but received: \`${r}\`.`});let p=chunkLVUSFXQS_cjs.o(n,"removeEmptyObjects")?n.removeEmptyObjects:false,i=chunkLVUSFXQS_cjs.o(n,"removeEmptyArrays")?n.removeEmptyArrays:false;function m(r,u){if(chunkLVUSFXQS_cjs.c(r))return;let{removeEmptyArrays:s,removeEmptyObjects:a,isRoot:k}=u;if(!chunkLVUSFXQS_cjs.a(a)||!chunkLVUSFXQS_cjs.a(s))throw new TypeError(`Parameters \`removeEmptyObjects\` and \`removeEmptyArrays\` property of the \`options\` (second parameter) must be of type \`boolean\`, but received: ['removeEmptyObjects': \`${chunkLVUSFXQS_cjs.E(a)}\`, 'removeEmptyArrays': \`${chunkLVUSFXQS_cjs.E(s)}\`].`);if(chunkLVUSFXQS_cjs.k(r)||chunkLVUSFXQS_cjs.g(r))return String(r);if(chunkO7SJR4CY_cjs.b(r))return r.toISOString();if(chunkPFLNHD4B_cjs.a(r))return r.toString();if(chunkLVUSFXQS_cjs.D(r))return Array.from(r).map(o=>String(o)).filter(o=>!chunkLVUSFXQS_cjs.m(o));if(chunkRHE3M2NJ_cjs.b(r))if(r instanceof BigInt64Array||r instanceof BigUint64Array){let o=Array.from(r).map(t=>m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false})).map(t=>String(t)).filter(t=>!chunkLVUSFXQS_cjs.m(t));return s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}else {let o=Array.from(r).map(t=>m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false})).map(t=>String(t)).filter(t=>!chunkLVUSFXQS_cjs.m(t));return s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}if(chunkLVUSFXQS_cjs.q(r)){let o=Array.from(r).map(t=>m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false})).filter(t=>!chunkLVUSFXQS_cjs.m(t));return s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}if(chunkO7SJR4CY_cjs.a(r)){let o=Array.from(r.entries()).map(([t,A])=>[m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false}),m(A,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false})]).filter(([t,A])=>!chunkLVUSFXQS_cjs.m(t)&&!chunkLVUSFXQS_cjs.m(A));return s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}if(chunkLVUSFXQS_cjs.d(r)){let o=r.map(t=>m(t,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false})).filter(t=>!chunkLVUSFXQS_cjs.m(t));return s&&(o=o.filter(t=>!(chunkLVUSFXQS_cjs.d(t)&&t.length===0))),s&&chunkPFLNHD4B_cjs.e(o)?void 0:o}if(chunkLVUSFXQS_cjs.e(r)){let o={};for(let[t,A]of Object.entries(r)){let T=m(A,{removeEmptyObjects:a,removeEmptyArrays:s,isRoot:false});chunkLVUSFXQS_cjs.m(T)?chunkLVUSFXQS_cjs.d(A)&&!s&&(o[t]=[]):o[t]=T;}return a&&Object.keys(o).length===0?k?{}:void 0:o}}return m(e,{removeEmptyObjects:p,removeEmptyArrays:i,isRoot:true})}exports.a=ne;exports.b=Oe;exports.c=Q;exports.d=Ke;exports.e=_e;exports.f=mr;exports.g=gr;exports.h=Qr;exports.i=dt;
@@ -1 +0,0 @@
1
- 'use strict';var chunkLVUSFXQS_cjs=require('./chunk-LVUSFXQS.cjs');var g=(r,t,o)=>{if(!chunkLVUSFXQS_cjs.k(r)||!chunkLVUSFXQS_cjs.g(o)||!chunkLVUSFXQS_cjs.g(t))throw new TypeError(`First parameter (\`index\`) must be of type \`number\`, second parameter (\`originalString\`) and third parameter (\`replaceTo\`) must be of type \`string\`, but received: "['index': \`${chunkLVUSFXQS_cjs.E(r)}\`, 'originalString': \`${chunkLVUSFXQS_cjs.E(t)}\`, 'replaceTo': \`${chunkLVUSFXQS_cjs.E(o)}\`]".`);if(r<0||r>=t.length)throw new RangeError("First parameter (`index`) is out of range from second parameter (`originalString`).");return t.slice(0,r)+o+t.slice(r+1)},u=r=>{if(!chunkLVUSFXQS_cjs.p(r))return "";r=r.replace(/\s+/g," ").trim();let t=r.split(" ");return t.length>1?t[0][0]+t[1][0].toUpperCase():r.length>1?r.substring(0,2).toUpperCase():r[0].toUpperCase()};exports.a=g;exports.b=u;
@@ -1 +0,0 @@
1
- import {p}from'./chunk-MJAW5RAK.js';var r=(n,o={})=>!p(n,o);export{r as a};
@@ -1 +0,0 @@
1
- 'use strict';var chunkPFLNHD4B_cjs=require('./chunk-PFLNHD4B.cjs'),chunkISJ33O2J_cjs=require('./chunk-ISJ33O2J.cjs'),chunkMF5Y5K4N_cjs=require('./chunk-MF5Y5K4N.cjs'),chunkO7SJR4CY_cjs=require('./chunk-O7SJR4CY.cjs'),chunk7YWAQOA4_cjs=require('./chunk-7YWAQOA4.cjs'),chunkLVUSFXQS_cjs=require('./chunk-LVUSFXQS.cjs');function m(r,e){if(!(e===false||e==="stringOrNumber"||e==="primitives"||e==="all"))throw new TypeError(`Second parameter \`forceToString\` must be of type \`false\` or \`string\` with value one of "stringOrNumber" | "primitives" | "all", but received: \`${chunkLVUSFXQS_cjs.E(e)}\`, with value: \`${chunkO7SJR4CY_cjs.c(e)}\`.`);if(chunkLVUSFXQS_cjs.h(r))return e==="primitives"||e==="all"?"NaN":NaN;if(chunkLVUSFXQS_cjs.g(r)||chunkLVUSFXQS_cjs.k(r))return e==="stringOrNumber"||e==="primitives"||e==="all"?String(r):r;if(chunkLVUSFXQS_cjs.a(r)||chunk7YWAQOA4_cjs.a(r)||chunkLVUSFXQS_cjs.c(r))return e==="primitives"||e==="all"?String(r):r;if(chunkLVUSFXQS_cjs.l(r)||chunkLVUSFXQS_cjs.b(r))return e==="all"?r.toString():r;if(chunkLVUSFXQS_cjs.d(r))return r.map(o=>m(o,e));if(chunkLVUSFXQS_cjs.n(r)){if(chunkO7SJR4CY_cjs.b(r))return e==="all"?r.toISOString():r;if(chunkPFLNHD4B_cjs.a(r)||chunkLVUSFXQS_cjs.C(r)||r instanceof Promise)return e==="all"?r.toString():r;if(chunkLVUSFXQS_cjs.q(r))return e==="all"?[...r].map(t=>m(t,e)):r;if(chunkO7SJR4CY_cjs.a(r))return e==="all"?[...r.entries()].map(([t,n])=>[m(t,e),m(n,e)]):r;let o={};if(chunkLVUSFXQS_cjs.e(r))for(let t of Object.keys(r))o[t]=m(r[t],e);return o}return r}function F(r){return chunkLVUSFXQS_cjs.c(r)?void 0:chunkLVUSFXQS_cjs.d(r)?r.reduce((o,t)=>{if(!chunkLVUSFXQS_cjs.c(t))if(chunkLVUSFXQS_cjs.d(t)){let n=F(t);n&&!chunkPFLNHD4B_cjs.e(n)&&o.push(n);}else o.push(t);return o},[]):[]}var br=(r,e={})=>{chunkISJ33O2J_cjs.a(r,{message:({currentType:i,validType:p})=>`First parameter (\`inputArray\`) must be of type \`${p}\` (array literal or instance), but received: \`${i}\`.`}),chunkLVUSFXQS_cjs.j(e,{message:({currentType:i,validType:p})=>`Second parameter (\`options\`) must be of type \`${p}\`, but received: \`${i}\`.`});let o=chunkLVUSFXQS_cjs.o(e,"flatten")?e.flatten:false,t=chunkLVUSFXQS_cjs.o(e,"forceToString")?e.forceToString:false;if(!(t===false||t==="stringOrNumber"||t==="primitives"||t==="all"))throw new TypeError(`Parameter \`forceToString\` property of the \`options\` (second parameter) must be of type \`false\` or \`string\` with value one of "stringOrNumber" | "primitives" | "all", but received: \`${chunkLVUSFXQS_cjs.E(t)}\`, with value: \`${chunkO7SJR4CY_cjs.c(t)}\`.`);chunkLVUSFXQS_cjs.G(o,{message:({currentType:i,validType:p})=>`Parameter \`flatten\` property of the \`options\` (second parameter) must be of type \`${p}\`, but received: \`${i}\`.`});let n=i=>{let p=[];return i.reduce((R,O)=>{let S=chunkLVUSFXQS_cjs.d(O)?n(O):m(O,t);return p.some(v=>chunkPFLNHD4B_cjs.d(v,S))||(p.push(S),R.push(S)),R},[])},u=i=>chunkLVUSFXQS_cjs.d(i)?i.flatMap(u):chunkLVUSFXQS_cjs.q(i)?[...i].flatMap(u):chunkO7SJR4CY_cjs.a(i)?[...i.values()].flatMap(u):[i];return n(o?u(r):r)};function Pr(r,e={}){chunkLVUSFXQS_cjs.j(e,{message:({currentType:t,validType:n})=>`Second parameter (\`options\`) must be of type \`${n}\`, but received: \`${t}\`.`});let o=chunkLVUSFXQS_cjs.o(e,"removeInvalidValue")?e.removeInvalidValue:true;if(chunkLVUSFXQS_cjs.G(o,{message:({currentType:t,validType:n})=>`Parameter \`removeInvalidValue\` property of the \`options\` (second parameter) must be of type \`${n}\`, but received: \`${t}\`.`}),chunkLVUSFXQS_cjs.d(r)){let t=Array.from(r,n=>chunkLVUSFXQS_cjs.g(n)||chunkMF5Y5K4N_cjs.a(n)||chunkLVUSFXQS_cjs.a(n)||chunk7YWAQOA4_cjs.a(n)?String(n):chunkLVUSFXQS_cjs.i(n)?null:void 0);return o?F(t):t}}exports.a=m;exports.b=F;exports.c=br;exports.d=Pr;
package/dist/index.cjs DELETED
@@ -1 +0,0 @@
1
- 'use strict';var chunkPYUVKHUF_cjs=require('./chunk-PYUVKHUF.cjs'),chunkHXTACM3O_cjs=require('./chunk-HXTACM3O.cjs'),chunkLUVV5KSD_cjs=require('./chunk-LUVV5KSD.cjs'),chunkOX6RLS2F_cjs=require('./chunk-OX6RLS2F.cjs'),chunkXOYX4PLZ_cjs=require('./chunk-XOYX4PLZ.cjs'),chunkGOJNH55O_cjs=require('./chunk-GOJNH55O.cjs'),chunkKZQB7H4E_cjs=require('./chunk-KZQB7H4E.cjs'),chunkFIEZKTAZ_cjs=require('./chunk-FIEZKTAZ.cjs'),chunkDFSTVQFI_cjs=require('./chunk-DFSTVQFI.cjs'),chunkXFCJDSB2_cjs=require('./chunk-XFCJDSB2.cjs'),chunkIJTZWWRJ_cjs=require('./chunk-IJTZWWRJ.cjs'),chunkRHE3M2NJ_cjs=require('./chunk-RHE3M2NJ.cjs'),chunkZO5364A6_cjs=require('./chunk-ZO5364A6.cjs'),chunk6SMJMZ7G_cjs=require('./chunk-6SMJMZ7G.cjs'),chunkPFLNHD4B_cjs=require('./chunk-PFLNHD4B.cjs'),chunkISJ33O2J_cjs=require('./chunk-ISJ33O2J.cjs');require('./chunk-MMSYCIJ2.cjs');var chunkEXXLUO7L_cjs=require('./chunk-EXXLUO7L.cjs'),chunkSW6HYEW7_cjs=require('./chunk-SW6HYEW7.cjs'),chunkVTR75UID_cjs=require('./chunk-VTR75UID.cjs'),chunkD43GV6EF_cjs=require('./chunk-D43GV6EF.cjs'),chunkMF5Y5K4N_cjs=require('./chunk-MF5Y5K4N.cjs'),chunkNUHOOAUN_cjs=require('./chunk-NUHOOAUN.cjs'),chunkRV2VULM7_cjs=require('./chunk-RV2VULM7.cjs'),chunkO5VXBNUQ_cjs=require('./chunk-O5VXBNUQ.cjs'),chunk445TAVT4_cjs=require('./chunk-445TAVT4.cjs'),chunk6Q4I2RPC_cjs=require('./chunk-6Q4I2RPC.cjs'),chunkDYRDBYPF_cjs=require('./chunk-DYRDBYPF.cjs'),chunkPUQXRLZH_cjs=require('./chunk-PUQXRLZH.cjs'),chunkO7SJR4CY_cjs=require('./chunk-O7SJR4CY.cjs'),chunk7YWAQOA4_cjs=require('./chunk-7YWAQOA4.cjs'),chunkLVUSFXQS_cjs=require('./chunk-LVUSFXQS.cjs');Object.defineProperty(exports,"findDuplicates",{enumerable:true,get:function(){return chunkPYUVKHUF_cjs.a}});Object.defineProperty(exports,"omitKeys",{enumerable:true,get:function(){return chunkPYUVKHUF_cjs.b}});Object.defineProperty(exports,"omitKeysDeep",{enumerable:true,get:function(){return chunkPYUVKHUF_cjs.c}});Object.defineProperty(exports,"extractFileName",{enumerable:true,get:function(){return chunkHXTACM3O_cjs.a}});Object.defineProperty(exports,"areArraysEqual",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.a}});Object.defineProperty(exports,"areObjectsEqual",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.b}});Object.defineProperty(exports,"areURLsEqualPath",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.c}});Object.defineProperty(exports,"areURLsIdentical",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.d}});Object.defineProperty(exports,"arrayHasAnyMatch",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.i}});Object.defineProperty(exports,"doesKeyExist",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.h}});Object.defineProperty(exports,"isArguments",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.j}});Object.defineProperty(exports,"isArrayLike",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.l}});Object.defineProperty(exports,"isArrayLikeObject",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.m}});Object.defineProperty(exports,"isCurrencyLike",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.n}});Object.defineProperty(exports,"isDeepEqual",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.o}});Object.defineProperty(exports,"isElement",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.p}});Object.defineProperty(exports,"isEmpty",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.q}});Object.defineProperty(exports,"isEmptyDeep",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.r}});Object.defineProperty(exports,"isEqualWith",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.s}});Object.defineProperty(exports,"isLength",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.k}});Object.defineProperty(exports,"isMatch",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.u}});Object.defineProperty(exports,"isMatchWith",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.t}});Object.defineProperty(exports,"isNative",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.v}});Object.defineProperty(exports,"isObjectLoose",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.w}});Object.defineProperty(exports,"isPropertyKey",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.g}});Object.defineProperty(exports,"isSafeInteger",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.x}});Object.defineProperty(exports,"isValidURL",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.y}});Object.defineProperty(exports,"isWeakMap",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.z}});Object.defineProperty(exports,"textContainsAll",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.e}});Object.defineProperty(exports,"textContainsAny",{enumerable:true,get:function(){return chunkLUVV5KSD_cjs.f}});Object.defineProperty(exports,"delay",{enumerable:true,get:function(){return chunkOX6RLS2F_cjs.a}});Object.defineProperty(exports,"getInitialsName",{enumerable:true,get:function(){return chunkXOYX4PLZ_cjs.b}});Object.defineProperty(exports,"replaceAt",{enumerable:true,get:function(){return chunkXOYX4PLZ_cjs.a}});Object.defineProperty(exports,"shouldForwardProp",{enumerable:true,get:function(){return chunkGOJNH55O_cjs.a}});Object.defineProperty(exports,"constructURL",{enumerable:true,get:function(){return chunkKZQB7H4E_cjs.a}});Object.defineProperty(exports,"extractURLs",{enumerable:true,get:function(){return chunkKZQB7H4E_cjs.b}});Object.defineProperty(exports,"isURL",{enumerable:true,get:function(){return chunkFIEZKTAZ_cjs.a}});Object.defineProperty(exports,"assertIsBigInt",{enumerable:true,get:function(){return chunkDFSTVQFI_cjs.a}});Object.defineProperty(exports,"assertIsNumber",{enumerable:true,get:function(){return chunkDFSTVQFI_cjs.b}});Object.defineProperty(exports,"convertType",{enumerable:true,get:function(){return chunkXFCJDSB2_cjs.f}});Object.defineProperty(exports,"removeObjectPaths",{enumerable:true,get:function(){return chunkXFCJDSB2_cjs.g}});Object.defineProperty(exports,"toBooleanContent",{enumerable:true,get:function(){return chunkXFCJDSB2_cjs.b}});Object.defineProperty(exports,"toBooleanContentDeep",{enumerable:true,get:function(){return chunkXFCJDSB2_cjs.c}});Object.defineProperty(exports,"toBooleanExplicit",{enumerable:true,get:function(){return chunkXFCJDSB2_cjs.d}});Object.defineProperty(exports,"toBooleanLoose",{enumerable:true,get:function(){return chunkXFCJDSB2_cjs.e}});Object.defineProperty(exports,"toNumberArrayUnRecursive",{enumerable:true,get:function(){return chunkXFCJDSB2_cjs.a}});Object.defineProperty(exports,"toNumberDeep",{enumerable:true,get:function(){return chunkXFCJDSB2_cjs.h}});Object.defineProperty(exports,"toStringDeep",{enumerable:true,get:function(){return chunkXFCJDSB2_cjs.i}});Object.defineProperty(exports,"cleanParsedData",{enumerable:true,get:function(){return chunkIJTZWWRJ_cjs.b}});Object.defineProperty(exports,"extractDigits",{enumerable:true,get:function(){return chunkIJTZWWRJ_cjs.a}});Object.defineProperty(exports,"parseCustomDate",{enumerable:true,get:function(){return chunkIJTZWWRJ_cjs.c}});Object.defineProperty(exports,"safeJsonParse",{enumerable:true,get:function(){return chunkIJTZWWRJ_cjs.d}});Object.defineProperty(exports,"isNonEmptyValue",{enumerable:true,get:function(){return chunkRHE3M2NJ_cjs.a}});Object.defineProperty(exports,"isTypedArray",{enumerable:true,get:function(){return chunkRHE3M2NJ_cjs.b}});Object.defineProperty(exports,"dedupeArray",{enumerable:true,get:function(){return chunkZO5364A6_cjs.c}});Object.defineProperty(exports,"filterNilArray",{enumerable:true,get:function(){return chunkZO5364A6_cjs.b}});Object.defineProperty(exports,"toStringArrayUnRecursive",{enumerable:true,get:function(){return chunkZO5364A6_cjs.d}});Object.defineProperty(exports,"toStringDeepForce",{enumerable:true,get:function(){return chunkZO5364A6_cjs.a}});Object.defineProperty(exports,"isEmptyValue",{enumerable:true,get:function(){return chunk6SMJMZ7G_cjs.a}});Object.defineProperty(exports,"isArrayBuffer",{enumerable:true,get:function(){return chunkPFLNHD4B_cjs.b}});Object.defineProperty(exports,"isEmptyArray",{enumerable:true,get:function(){return chunkPFLNHD4B_cjs.e}});Object.defineProperty(exports,"isEmptyObject",{enumerable:true,get:function(){return chunkPFLNHD4B_cjs.f}});Object.defineProperty(exports,"isEqual",{enumerable:true,get:function(){return chunkPFLNHD4B_cjs.d}});Object.defineProperty(exports,"isRegExp",{enumerable:true,get:function(){return chunkPFLNHD4B_cjs.a}});Object.defineProperty(exports,"assertIsArray",{enumerable:true,get:function(){return chunkISJ33O2J_cjs.a}});Object.defineProperty(exports,"disableUserInteraction",{enumerable:true,get:function(){return chunkEXXLUO7L_cjs.a}});Object.defineProperty(exports,"enableUserInteraction",{enumerable:true,get:function(){return chunkEXXLUO7L_cjs.b}});Object.defineProperty(exports,"removeElementFocus",{enumerable:true,get:function(){return chunkEXXLUO7L_cjs.c}});Object.defineProperty(exports,"scrollToTop",{enumerable:true,get:function(){return chunkEXXLUO7L_cjs.d}});Object.defineProperty(exports,"isServer",{enumerable:true,get:function(){return chunkSW6HYEW7_cjs.a}});Object.defineProperty(exports,"censorEmail",{enumerable:true,get:function(){return chunkVTR75UID_cjs.h}});Object.defineProperty(exports,"chunkString",{enumerable:true,get:function(){return chunkVTR75UID_cjs.i}});Object.defineProperty(exports,"formatCurrency",{enumerable:true,get:function(){return chunkVTR75UID_cjs.a}});Object.defineProperty(exports,"formatDateFns",{enumerable:true,get:function(){return chunkVTR75UID_cjs.f}});Object.defineProperty(exports,"formatDateIntl",{enumerable:true,get:function(){return chunkVTR75UID_cjs.e}});Object.defineProperty(exports,"formatDateTime",{enumerable:true,get:function(){return chunkVTR75UID_cjs.d}});Object.defineProperty(exports,"formatNumber",{enumerable:true,get:function(){return chunkVTR75UID_cjs.b}});Object.defineProperty(exports,"formatPhoneNumber",{enumerable:true,get:function(){return chunkVTR75UID_cjs.c}});Object.defineProperty(exports,"getGMTOffset",{enumerable:true,get:function(){return chunkVTR75UID_cjs.g}});Object.defineProperty(exports,"truncateString",{enumerable:true,get:function(){return chunkVTR75UID_cjs.j}});Object.defineProperty(exports,"parseCurrencyString",{enumerable:true,get:function(){return chunkD43GV6EF_cjs.a}});Object.defineProperty(exports,"isFinite",{enumerable:true,get:function(){return chunkMF5Y5K4N_cjs.a}});Object.defineProperty(exports,"getRandomItem",{enumerable:true,get:function(){return chunkNUHOOAUN_cjs.a}});Object.defineProperty(exports,"randomInt",{enumerable:true,get:function(){return chunkNUHOOAUN_cjs.b}});Object.defineProperty(exports,"randomIntByLength",{enumerable:true,get:function(){return chunkNUHOOAUN_cjs.c}});Object.defineProperty(exports,"randomStr",{enumerable:true,get:function(){return chunkNUHOOAUN_cjs.d}});Object.defineProperty(exports,"noop",{enumerable:true,get:function(){return chunkRV2VULM7_cjs.a}});Object.defineProperty(exports,"formatEnvPort",{enumerable:true,get:function(){return chunkO5VXBNUQ_cjs.d}});Object.defineProperty(exports,"getFirstPrefixPathname",{enumerable:true,get:function(){return chunkO5VXBNUQ_cjs.b}});Object.defineProperty(exports,"getPrefixPathname",{enumerable:true,get:function(){return chunkO5VXBNUQ_cjs.a}});Object.defineProperty(exports,"normalizePathname",{enumerable:true,get:function(){return chunkO5VXBNUQ_cjs.c}});Object.defineProperty(exports,"normalizeSpaces",{enumerable:true,get:function(){return chunk445TAVT4_cjs.a}});Object.defineProperty(exports,"normalizeString",{enumerable:true,get:function(){return chunk445TAVT4_cjs.b}});Object.defineProperty(exports,"removeSpaces",{enumerable:true,get:function(){return chunk445TAVT4_cjs.c}});Object.defineProperty(exports,"stripHtmlTags",{enumerable:true,get:function(){return chunk445TAVT4_cjs.d}});Object.defineProperty(exports,"isEmptyString",{enumerable:true,get:function(){return chunk6Q4I2RPC_cjs.a}});Object.defineProperty(exports,"assertIsString",{enumerable:true,get:function(){return chunkDYRDBYPF_cjs.a}});Object.defineProperty(exports,"isInteger",{enumerable:true,get:function(){return chunkPUQXRLZH_cjs.a}});Object.defineProperty(exports,"isDate",{enumerable:true,get:function(){return chunkO7SJR4CY_cjs.b}});Object.defineProperty(exports,"isMap",{enumerable:true,get:function(){return chunkO7SJR4CY_cjs.a}});Object.defineProperty(exports,"safeStableStringify",{enumerable:true,get:function(){return chunkO7SJR4CY_cjs.c}});Object.defineProperty(exports,"isBigInt",{enumerable:true,get:function(){return chunk7YWAQOA4_cjs.a}});Object.defineProperty(exports,"assertIsBoolean",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.G}});Object.defineProperty(exports,"assertIsPlainObject",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.j}});Object.defineProperty(exports,"capitalizeFirst",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.s}});Object.defineProperty(exports,"capitalizeWords",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.t}});Object.defineProperty(exports,"getPreciseType",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.E}});Object.defineProperty(exports,"hasOwnProp",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.o}});Object.defineProperty(exports,"isArray",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.d}});Object.defineProperty(exports,"isBoolean",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.a}});Object.defineProperty(exports,"isBuffer",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.D}});Object.defineProperty(exports,"isError",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.C}});Object.defineProperty(exports,"isFunction",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.b}});Object.defineProperty(exports,"isNaN",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.h}});Object.defineProperty(exports,"isNil",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.c}});Object.defineProperty(exports,"isNonEmptyArray",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.r}});Object.defineProperty(exports,"isNonEmptyString",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.p}});Object.defineProperty(exports,"isNull",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.i}});Object.defineProperty(exports,"isNumber",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.k}});Object.defineProperty(exports,"isObject",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.e}});Object.defineProperty(exports,"isObjectOrArray",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.n}});Object.defineProperty(exports,"isPlainObject",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.f}});Object.defineProperty(exports,"isSet",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.q}});Object.defineProperty(exports,"isString",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.g}});Object.defineProperty(exports,"isSymbol",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.l}});Object.defineProperty(exports,"isUndefined",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.m}});Object.defineProperty(exports,"slugify",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.B}});Object.defineProperty(exports,"toCamelCase",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.u}});Object.defineProperty(exports,"toDotCase",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.A}});Object.defineProperty(exports,"toKebabCase",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.y}});Object.defineProperty(exports,"toLowerCase",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.x}});Object.defineProperty(exports,"toPascalCase",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.w}});Object.defineProperty(exports,"toPascalCaseSpace",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.v}});Object.defineProperty(exports,"toSnakeCase",{enumerable:true,get:function(){return chunkLVUSFXQS_cjs.z}});
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export{assertIsArray,assertIsBigInt,assertIsBoolean,assertIsNumber,assertIsPlainObject,assertIsString}from'./assertions/index.js';export{cleanParsedData,convertType,dedupeArray,extractDigits,filterNilArray,parseCurrencyString,parseCustomDate,removeObjectPaths,safeJsonParse,safeStableStringify,toBooleanContent,toBooleanContentDeep,toBooleanExplicit,toBooleanLoose,toNumberArrayUnRecursive,toNumberDeep,toStringArrayUnRecursive,toStringDeep,toStringDeepForce}from'./conversions/index.js';export{isServer}from'./env/index.js';export{disableUserInteraction,enableUserInteraction,removeElementFocus,scrollToTop}from'./events/index.js';export{censorEmail,chunkString,formatCurrency,formatDateFns,formatDateIntl,formatDateTime,formatNumber,formatPhoneNumber,getGMTOffset,truncateString}from'./formatting/index.js';export{getRandomItem,noop,randomInt,randomIntByLength,randomStr}from'./generator/index.js';export{findDuplicates,omitKeys,omitKeysDeep}from'./operations/index.js';export{extractFileName}from'./parsers/index.js';export{IsArrayResult,areArraysEqual,areObjectsEqual,areURLsEqualPath,areURLsIdentical,arrayHasAnyMatch,doesKeyExist,hasOwnProp,isArguments,isArray,isArrayBuffer,isArrayLike,isArrayLikeObject,isBigInt,isBoolean,isBuffer,isCurrencyLike,isDate,isDeepEqual,isElement,isEmpty,isEmptyArray,isEmptyDeep,isEmptyObject,isEmptyString,isEmptyValue,isEqual,isEqualWith,isError,isFinite,isFunction,isInteger,isLength,isMap,isMatch,isMatchWith,isNaN,isNative,isNil,isNonEmptyArray,isNonEmptyString,isNonEmptyValue,isNull,isObject,isObjectLoose,isObjectOrArray,isPropertyKey,isRegExp,isSafeInteger,isSet,isString,isSymbol,isTypedArray,isURL,isUndefined,isValidURL,isWeakMap,textContainsAll,textContainsAny}from'./predicates/index.js';export{G as GetPreciseTypeOptions,I as IsNumberOptions,a as IsPlainObjectResult,g as getPreciseType,i as isNumber,b as isPlainObject}from'./isPlainObject-BVhBAPHX.js';export{delay}from'./promise/index.js';export{capitalizeFirst,capitalizeWords,getInitialsName,normalizeSpaces,normalizeString,removeSpaces,replaceAt,slugify,stripHtmlTags,toCamelCase,toDotCase,toKebabCase,toLowerCase,toPascalCase,toPascalCaseSpace,toSnakeCase}from'./strings/index.js';export{shouldForwardProp}from'./stylings/index.js';export{QueryParamPairs,constructURL,extractURLs,formatEnvPort,getFirstPrefixPathname,getPrefixPathname,normalizePathname}from'./urls/index.js';import'./type-data-DDs-u2kq.js';import'./arrays-normalize-recursive-CnjYJ9xg.js';import'./nils-DMz3kU7M.js';import'./any-BmdI8UbK.js';import'./if-CvT4R7Kh.js';import'./extends-Bk_SBGdT.js';import'./never-BfayMBF9.js';import'./prettify-C4xLcYOP.js';import'./NumberRangeUnion-DC-C3_Kq.js';import'./omit-VvmIsZmX.js';import'date-fns';import'./string-XA-til3C.js';import'./is-array--YjXV-Wx.js';
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- export{a as findDuplicates,b as omitKeys,c as omitKeysDeep}from'./chunk-UUMKL74S.js';export{a as extractFileName}from'./chunk-VQLAPEL3.js';export{a as areArraysEqual,b as areObjectsEqual,c as areURLsEqualPath,d as areURLsIdentical,i as arrayHasAnyMatch,h as doesKeyExist,j as isArguments,l as isArrayLike,m as isArrayLikeObject,n as isCurrencyLike,o as isDeepEqual,p as isElement,q as isEmpty,r as isEmptyDeep,s as isEqualWith,k as isLength,u as isMatch,t as isMatchWith,v as isNative,w as isObjectLoose,g as isPropertyKey,x as isSafeInteger,y as isValidURL,z as isWeakMap,e as textContainsAll,f as textContainsAny}from'./chunk-NUVGETPD.js';export{a as delay}from'./chunk-BLCANGFS.js';export{b as getInitialsName,a as replaceAt}from'./chunk-TQMZ2LPI.js';export{a as shouldForwardProp}from'./chunk-JQZUWBIX.js';export{a as constructURL,b as extractURLs}from'./chunk-S7GMG4TB.js';export{a as isURL}from'./chunk-NNM7QCNB.js';export{a as assertIsBigInt,b as assertIsNumber}from'./chunk-2AUUPGMN.js';export{f as convertType,g as removeObjectPaths,b as toBooleanContent,c as toBooleanContentDeep,d as toBooleanExplicit,e as toBooleanLoose,a as toNumberArrayUnRecursive,h as toNumberDeep,i as toStringDeep}from'./chunk-G72VSVGO.js';export{b as cleanParsedData,a as extractDigits,c as parseCustomDate,d as safeJsonParse}from'./chunk-MWLEM7ED.js';export{a as isNonEmptyValue,b as isTypedArray}from'./chunk-RHIBYOFQ.js';export{c as dedupeArray,b as filterNilArray,d as toStringArrayUnRecursive,a as toStringDeepForce}from'./chunk-PSWITZK5.js';export{a as isEmptyValue}from'./chunk-REFMEB4A.js';export{b as isArrayBuffer,e as isEmptyArray,f as isEmptyObject,d as isEqual,a as isRegExp}from'./chunk-ME5OV5HN.js';export{a as assertIsArray}from'./chunk-2JQQQ625.js';import'./chunk-G5LXIEFO.js';export{a as disableUserInteraction,b as enableUserInteraction,c as removeElementFocus,d as scrollToTop}from'./chunk-U4TZO7WV.js';export{a as isServer}from'./chunk-56QBKKRE.js';export{h as censorEmail,i as chunkString,a as formatCurrency,f as formatDateFns,e as formatDateIntl,d as formatDateTime,b as formatNumber,c as formatPhoneNumber,g as getGMTOffset,j as truncateString}from'./chunk-25G6B35W.js';export{a as parseCurrencyString}from'./chunk-K4PLGD7C.js';export{a as isFinite}from'./chunk-GAJTFCUA.js';export{a as getRandomItem,b as randomInt,c as randomIntByLength,d as randomStr}from'./chunk-CK3BZGEU.js';export{a as noop}from'./chunk-SYJC7UAW.js';export{d as formatEnvPort,b as getFirstPrefixPathname,a as getPrefixPathname,c as normalizePathname}from'./chunk-NSVLG7NY.js';export{a as normalizeSpaces,b as normalizeString,c as removeSpaces,d as stripHtmlTags}from'./chunk-HXST7RJB.js';export{a as isEmptyString}from'./chunk-Z6FLCEN6.js';export{a as assertIsString}from'./chunk-JISH2VGG.js';export{a as isInteger}from'./chunk-ELDDNERR.js';export{b as isDate,a as isMap,c as safeStableStringify}from'./chunk-467VEMJH.js';export{a as isBigInt}from'./chunk-5SZUSNGZ.js';export{G as assertIsBoolean,j as assertIsPlainObject,s as capitalizeFirst,t as capitalizeWords,E as getPreciseType,o as hasOwnProp,d as isArray,a as isBoolean,D as isBuffer,C as isError,b as isFunction,h as isNaN,c as isNil,r as isNonEmptyArray,p as isNonEmptyString,i as isNull,k as isNumber,e as isObject,n as isObjectOrArray,f as isPlainObject,q as isSet,g as isString,l as isSymbol,m as isUndefined,B as slugify,u as toCamelCase,A as toDotCase,y as toKebabCase,x as toLowerCase,w as toPascalCase,v as toPascalCaseSpace,z as toSnakeCase}from'./chunk-MJAW5RAK.js';