deverything 0.31.0 → 0.33.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.
- package/README.md +8 -0
- package/dist/index.d.ts +20 -5
- package/dist/index.global.js +116 -110
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +116 -110
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,11 @@ Contributions always welcome!
|
|
|
67
67
|
- `cleanSpaces()` trims and turns double spaces into single space
|
|
68
68
|
- `clamp()` clamp number in a range
|
|
69
69
|
- `first()` get the first element of an array
|
|
70
|
+
- `firstKey()`
|
|
71
|
+
- `firstValue()`
|
|
70
72
|
- `getKeys()` get the keys of an object, includes symbols
|
|
73
|
+
- `getUrlSearchParam()`
|
|
74
|
+
- `getUrlSearchParams()`
|
|
71
75
|
- `last()` get the last element of an array
|
|
72
76
|
- ⭐ `merge()` deep merge objects
|
|
73
77
|
- `moveToFirst()` move array element to first
|
|
@@ -78,7 +82,9 @@ Contributions always welcome!
|
|
|
78
82
|
- ⭐ `parseDate()` pass anything Date-Like, and get a JS Date back
|
|
79
83
|
- `pretty()` stringify anything, without breaking on circular dependencies
|
|
80
84
|
- `promiseWithTimeout()` takes a promise, a timeoutMs, and an option error as arguments. Returns a new Promise that either resolves with the value of the input promise or rejects with the provided error or a default error message if the input promise does not resolve or reject within the specified timeoutMs.
|
|
85
|
+
- `scrambleText()` replace alpha chars with random chars
|
|
81
86
|
- `sleep()` promise-based sleep
|
|
87
|
+
- `setUrlSearchParams()`
|
|
82
88
|
- `shuffle()` shuffles elements in an array
|
|
83
89
|
- `toggleArrayValue()` remove/add value in array
|
|
84
90
|
- `truncate()` truncate text, does not break emojis
|
|
@@ -93,6 +99,7 @@ These functions are optimized for low entropy random data generation useful for
|
|
|
93
99
|
- ⭐ `randomArrayItem()`
|
|
94
100
|
- `randomBankAccount()`
|
|
95
101
|
- `randomBool()`
|
|
102
|
+
- `randomChar()`
|
|
96
103
|
- `randomCompany()`
|
|
97
104
|
- ⭐ `randomCoords()`
|
|
98
105
|
- `randomLat()`
|
|
@@ -128,6 +135,7 @@ These functions are optimized for low entropy random data generation useful for
|
|
|
128
135
|
- `randomParagraph()`
|
|
129
136
|
- `randomPassword()`
|
|
130
137
|
- `randomPhoneNumber()`
|
|
138
|
+
- `randomString()`
|
|
131
139
|
- `randomUUID()` lightweight uuid generation, passing UUID validation
|
|
132
140
|
- `randomWord()`
|
|
133
141
|
|
package/dist/index.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ declare const array: <U extends (...args: any) => any>(length: number, mapFn?: U
|
|
|
42
42
|
|
|
43
43
|
declare const arrayDiff: (arr1: any[], arr2: any[]) => any[];
|
|
44
44
|
|
|
45
|
-
declare const arrayIntersection: (arr1:
|
|
45
|
+
declare const arrayIntersection: <T>(arr1: T[], arr2: T[]) => T[];
|
|
46
46
|
|
|
47
47
|
declare const capitalize: (string: string) => string;
|
|
48
48
|
|
|
@@ -110,6 +110,10 @@ declare const firstValue: (arg: PlainObject) => any;
|
|
|
110
110
|
declare const getKeys: (arg: object) => string[];
|
|
111
111
|
declare const getEnumerableOwnPropertySymbols: (arg: object) => any[];
|
|
112
112
|
|
|
113
|
+
declare const getUrlSearchParam: (urlString: Maybe<string>, param: string) => string | undefined;
|
|
114
|
+
|
|
115
|
+
declare const getUrlSearchParams: (urlString: Maybe<string>) => Record<string, string>;
|
|
116
|
+
|
|
113
117
|
declare const last: <T>(arr?: T[] | undefined) => T | undefined;
|
|
114
118
|
|
|
115
119
|
/**
|
|
@@ -138,6 +142,8 @@ declare const pretty: (arg?: any) => string;
|
|
|
138
142
|
|
|
139
143
|
declare const promiseWithTimeout: <T>(promise: () => Promise<T>, timeoutMs: number, error?: Error) => Promise<T>;
|
|
140
144
|
|
|
145
|
+
declare const scrambleText: (str: string) => string;
|
|
146
|
+
|
|
141
147
|
/**
|
|
142
148
|
* Serialize plain object to a deterministic string,
|
|
143
149
|
* for nested objects use [json-stable-stringify](https://www.npmjs.com/package/json-stable-stringify)
|
|
@@ -147,6 +153,8 @@ declare const promiseWithTimeout: <T>(promise: () => Promise<T>, timeoutMs: numb
|
|
|
147
153
|
*/
|
|
148
154
|
declare const serialize: <T extends PlainObject>(obj: T) => string;
|
|
149
155
|
|
|
156
|
+
declare const setUrlSearchParams: (currentURL: string, searchParams?: Record<string, string | number | boolean>) => string;
|
|
157
|
+
|
|
150
158
|
declare const shuffle: <T>(array: T[]) => T[];
|
|
151
159
|
|
|
152
160
|
declare const sleep: (timeMs: number) => Promise<void>;
|
|
@@ -229,6 +237,8 @@ declare const randomBankAccount: () => BankAccount;
|
|
|
229
237
|
|
|
230
238
|
declare const randomBool: () => boolean;
|
|
231
239
|
|
|
240
|
+
declare const randomChar: () => string;
|
|
241
|
+
|
|
232
242
|
type Company = {
|
|
233
243
|
name: string;
|
|
234
244
|
vatRegNumber?: string;
|
|
@@ -313,8 +323,6 @@ declare const randomNumericCode: ({ length }?: {
|
|
|
313
323
|
|
|
314
324
|
declare const randomNumericId: () => number;
|
|
315
325
|
|
|
316
|
-
declare const randomPhoneNumber: () => string;
|
|
317
|
-
|
|
318
326
|
/**
|
|
319
327
|
* Generates a random paragraph of text.
|
|
320
328
|
* @param maxCharacters The maximum number of characters. The paragraph will be truncated to this length if it exceeds it. Default is 200.
|
|
@@ -327,8 +335,15 @@ declare const randomParagraph: ({ maxCharacters, minWords, maxWords, }?: {
|
|
|
327
335
|
maxWords?: number | undefined;
|
|
328
336
|
}) => string;
|
|
329
337
|
|
|
330
|
-
declare const randomPassword: ({ minChars }?: {
|
|
338
|
+
declare const randomPassword: ({ minChars, maxChars, }?: {
|
|
331
339
|
minChars?: number | undefined;
|
|
340
|
+
maxChars?: number | undefined;
|
|
341
|
+
}) => string;
|
|
342
|
+
|
|
343
|
+
declare const randomPhoneNumber: () => string;
|
|
344
|
+
|
|
345
|
+
declare const randomString: ({ length, }?: {
|
|
346
|
+
length?: number | undefined;
|
|
332
347
|
}) => string;
|
|
333
348
|
|
|
334
349
|
/**
|
|
@@ -408,4 +423,4 @@ declare const isUUID: (arg: string) => boolean;
|
|
|
408
423
|
|
|
409
424
|
declare const isValue: (arg?: Maybe<any>) => boolean;
|
|
410
425
|
|
|
411
|
-
export { Coords, DateLike, DateRange, Datey, Dimensions, JS_MAX_DIGITS, Matrix, Maybe, MaybePromise, MaybePromiseOrValue, MaybePromiseOrValueArray, NonUndefined, ObjectKey, ObjectKeys, ObjectValue, ObjectValues, PlainObject, Point, PrismaSelect, array, arrayDiff, arrayIntersection, average, capitalize, checkEnvVars, clamp, cleanSpaces, dir, first, firstKey, firstValue, getEnumerableOwnPropertySymbols, getKeys, isArray, isBoolean, isBrowser, isClient, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyString, isEven, isFunction, isFutureDate, isInt, isJsDate, isKey, isLastIndex, isNegative, isNotEmptyString, isNumber, isNumeric, isNumericId, isObject, isOdd, isPWA, isPastDate, isPositive, isPromise, isReactElement, isRegExp, isSame, isServer, isSpacedString, isString, isStringDate, isURL, isUUID, isValue, last, max, merge, min, moveToFirst, moveToLast, multiply, normalizeNumber, objectDiff, omit, parseDate, pretty, promiseWithTimeout, randomAddress, randomAlphaNumericCode, randomArrayItem, randomBankAccount, randomBool, randomCompany, randomCoords, randomDate, randomDateRange, randomEmail, randomEmoji, randomEnumKey, randomEnumValue, randomFile, randomFirstName, randomFloat, randomFormattedPercentage, randomFullName, randomFutureDate, randomHandle, randomHexColor, randomHexValue, randomHtmlColorName, randomIBAN, randomIP, randomInt, randomLastName, randomLat, randomLng, randomMaxDate, randomMaxInt, randomMaxSafeInt, randomName, randomNegativeInt, randomNumericCode, randomNumericId, randomParagraph, randomPassword, randomPastDate, randomPercentage, randomPhoneNumber, randomPositiveInt, randomPositivePercentage, randomUUID, randomWord, serialize, shuffle, sleep, sum, toggleArray, toggleArrayValue, truncate, uniqueValues };
|
|
426
|
+
export { Coords, DateLike, DateRange, Datey, Dimensions, JS_MAX_DIGITS, Matrix, Maybe, MaybePromise, MaybePromiseOrValue, MaybePromiseOrValueArray, NonUndefined, ObjectKey, ObjectKeys, ObjectValue, ObjectValues, PlainObject, Point, PrismaSelect, array, arrayDiff, arrayIntersection, average, capitalize, checkEnvVars, clamp, cleanSpaces, dir, first, firstKey, firstValue, getEnumerableOwnPropertySymbols, getKeys, getUrlSearchParam, getUrlSearchParams, isArray, isBoolean, isBrowser, isClient, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyString, isEven, isFunction, isFutureDate, isInt, isJsDate, isKey, isLastIndex, isNegative, isNotEmptyString, isNumber, isNumeric, isNumericId, isObject, isOdd, isPWA, isPastDate, isPositive, isPromise, isReactElement, isRegExp, isSame, isServer, isSpacedString, isString, isStringDate, isURL, isUUID, isValue, last, max, merge, min, moveToFirst, moveToLast, multiply, normalizeNumber, objectDiff, omit, parseDate, pretty, promiseWithTimeout, randomAddress, randomAlphaNumericCode, randomArrayItem, randomBankAccount, randomBool, randomChar, randomCompany, randomCoords, randomDate, randomDateRange, randomEmail, randomEmoji, randomEnumKey, randomEnumValue, randomFile, randomFirstName, randomFloat, randomFormattedPercentage, randomFullName, randomFutureDate, randomHandle, randomHexColor, randomHexValue, randomHtmlColorName, randomIBAN, randomIP, randomInt, randomLastName, randomLat, randomLng, randomMaxDate, randomMaxInt, randomMaxSafeInt, randomName, randomNegativeInt, randomNumericCode, randomNumericId, randomParagraph, randomPassword, randomPastDate, randomPercentage, randomPhoneNumber, randomPositiveInt, randomPositivePercentage, randomString, randomUUID, randomWord, scrambleText, serialize, setUrlSearchParams, shuffle, sleep, sum, toggleArray, toggleArrayValue, truncate, uniqueValues };
|
package/dist/index.global.js
CHANGED
|
@@ -1,126 +1,132 @@
|
|
|
1
1
|
(function (exports) {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var f=t=>Array.isArray(t);var p=t=>Object.prototype.toString.call(t)==="[object Object]";var At=["oneOf","endsWith","startsWith"],oe=(t,e)=>{let r=(e==null?void 0:e.processEnvKey)||"NODE_ENV",o=[],i=[],l=({envVarKey:c,envVarValue:a,validation:m})=>{m.oneOf&&(a?m.oneOf.includes(a)||o.push(`${c}=${a} is not allowed, use one of: ${m.oneOf.join(", ")}`):o.push(`${c} is missing`)),m.endsWith&&(a?a!=null&&a.endsWith(m.endsWith)||o.push(`${c}=${a} is not allowed, must end in: ${m.endsWith}`):o.push(`${c} is missing`)),m.startsWith&&(a?a!=null&&a.startsWith(m.startsWith)||o.push(`${c}=${a} is not allowed, must start with: ${m.startsWith}`):o.push(`${c} is missing`));},N=({envVarKey:c,envVarValue:a,rule:m})=>{switch(m){case"should":a||i.push(`${c} should be set`);break;case"shouldNot":a&&i.push(`${c} should not be set`);break;case"never":case!1:a&&o.push(`${c} is not allowed`);break;case"always":case!0:default:a||o.push(`${c} is missing`);break}};if(Object.entries(t).forEach(([c,a])=>{let m=process.env[c];p(a)?(Object.entries(a).forEach(([A,S])=>{At.includes(A)&&l({envVarValue:m,validation:{[A]:S},envVarKey:c});}),Object.entries(a).forEach(([A,S])=>{process.env[r]===A&&(p(S)?l({envVarValue:m,validation:S,envVarKey:c}):N({envVarValue:m,rule:S,envVarKey:c}));})):f(a)?a.forEach(S=>{process.env[r]===S&&!m&&o.push(`${c} is missing`);}):N({envVarValue:m,rule:a,envVarKey:c});}),i.length&&console.warn("[WARNING] "+i.join(", ")),o.length)throw new Error("[ERROR] "+o.join(", "))};var d=(t,e=()=>{})=>Array.from({length:t},e);var h=t=>[...new Set(t)];var ce=(t,e)=>h(t.filter(r=>!e.includes(r)).concat(e.filter(r=>!t.includes(r))));var ue=(t,e)=>h(t.filter(r=>e.includes(r)));var U=t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase();var fe=({number:t,min:e,max:r})=>(r<e&&process.env.DEVERYTHING_WARNINGS&&console.warn("clamp: max < min",{number:t,min:e,max:r}),t<e?e:t>r?r:t);var W=new RegExp(/\p{C}/,"gu");var H=new RegExp("\\p{Zs}","gu");var F=new RegExp("\\p{Zl}","gu");var z=new RegExp("\\p{Zp}","gu");var Te=t=>t.replace(W," ").replace(H," ").replace(F," ").replace(z," ").trim().replace(/\s{2,}/g," ");var _e=(t,e=5)=>{console.dir(t,{depth:e});};var Oe=t=>t==null?void 0:t[0];var u=t=>Object.keys(t).concat(xt(t)),xt=t=>Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[];var Pe=t=>u(t)[0];var we=t=>Object.values(t)[0];var je=t=>t==null?void 0:t[t.length-1];var Ue=t=>Object.prototype.toString.call(t)==="[object Boolean]";var K=()=>typeof window=="undefined";var T=()=>!K();var Ge=T;var b=t=>typeof t=="string";var Xe=t=>b(t)&&/\S+@\S+\.\S+/.test(t);var G=t=>!!(t===void 0||t===null||Et(t)||Nt(t)||gt(t)),Et=t=>b(t)&&t.trim().length===0,gt=t=>f(t)&&t.length===0,Nt=t=>p(t)&&Object.keys(t).length===0;var D=t=>Object.prototype.toString.call(t)==="[object Function]";var P=t=>{let e=y(t);return !!e&&e>new Date};var C=t=>Object.prototype.toString.call(t)==="[object Date]"&&!isNaN(t);var _=(t,e)=>e.hasOwnProperty(t)&&e.propertyIsEnumerable(t);var ir=(t,e)=>t===e.length-1;var M=t=>Number.isInteger(t),sr=t=>M(t)&&!(t%2),cr=t=>M(t)&&!!(t%2),v=t=>M(t)&&t>0,mr=t=>M(t)&&t<0,$=t=>Object.prototype.toString.apply(t)==="[object Number]"&&isFinite(t);var J=t=>t.indexOf(" ")>=0;var X=t=>$(t)?!0:!b(t)||J(t)?!1:!isNaN(parseFloat(t));var br=t=>/^\d+$/.test(t)&&parseInt(t)>0;var B=t=>{let e=y(t);return !!e&&e<new Date};var Er=t=>t instanceof Promise;var hr=t=>b(t)&&t.trim().length>0;var _r=()=>T()&&window.matchMedia("(display-mode: standalone)").matches;var ht=typeof Symbol=="function"&&Symbol.for,Tt=ht?Symbol.for("react.element"):60103,Or=t=>t.$$typeof===Tt;var Rr=t=>Object.prototype.toString.call(t)==="[object RegExp]";var O=(t,e)=>{if(t===e)return !0;if(f(t)&&f(e))return t.length!==e.length?!1:t.every((r,o)=>O(r,e[o]));if(p(t)&&p(e)){let r=u(t);return r.length!==u(e).length?!1:r.every(o=>O(t[o],e[o]))}return D(t)&&D(e)?t.toString()===e.toString():!1};var Ur=t=>{let e=new Date(t);return C(e)};var Ct=new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),Hr=t=>!!t&&Ct.test(t);var zr=t=>/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t);var V=t=>t!=null&&!Number.isNaN(t);var w=(t,e)=>{let r={};return u(t).forEach(o=>{r[o]=p(t[o])?w({},t[o]):t[o];}),u(e).forEach(o=>{_(o,t)?r[o]=p(t[o])&&p(e[o])?w(t[o],e[o]):e[o]:r[o]=p(e[o])?w({},e[o]):e[o];}),r};var Xr=(t,e)=>{let r=[...t];for(let o=0;o<r.length;o++)if(e(r[o],o,r)){let i=r.splice(o,1);r.unshift(i[0]);break}return r};var qr=(t,e)=>{let r=[...t];for(let o=0;o<r.length;o++)if(e(r[o],o,r)){let i=r.splice(o,1)[0];r.push(i);break}return r};var Zr=({value:t,max:e,min:r})=>t>=e?1:t<=r?0:(t-r)/(e-r);var ro=(t,e)=>{var r={};let o=new Set([...u(t),...u(e)]);for(let i of o)O(e[i],t[i])||(r[i]={from:t[i],to:e[i]});return r};var no=(t,e)=>{let r={};for(let o in t)e.includes(o)||(r[o]=t[o]);return r};var y=t=>{if(G(t))return;let e=new Date(t);if(C(e))return e};var q=()=>{let t=[],e=[],r=function(o,i){return t[0]===i?"[Circular ~]":"[Circular ~."+e.slice(0,t.indexOf(i)).join(".")+"]"};return function(o,i){if(t.length>0){let l=t.indexOf(this);~l?t.splice(l+1):t.push(this),~l?e.splice(l,1/0,o):e.push(o),~t.indexOf(i)&&(i=r.call(this,o,i));}else t.push(i);return i}};var uo=t=>JSON.stringify(t,q(),2);var fo=(t,e,r)=>{let o,i=new Promise((l,N)=>{o=setTimeout(()=>N(r!=null?r:new Error("Promise timed out")),e);});return Promise.race([t(),i]).finally(()=>{clearTimeout(o);})};var bo=t=>{let e=new Set;return JSON.stringify(t,(r,o)=>(e.add(r),o)),JSON.stringify(t,Array.from(e).sort())};var Ao=t=>{let e=[...t];for(let r=e.length-1;r>0;r--){let o=Math.floor(Math.random()*(r+1));[e[r],e[o]]=[e[o],e[r]];}return e};var Eo=t=>new Promise(e=>{setTimeout(e,t);});var _t=(t,e)=>{if(!f(t))return t;let r=t.reduce((o,i)=>(i!==e&&o.push(i),o),[]);return r.length===t.length&&r.push(e),r},ho=_t;var _o=(t,e,r="...")=>{if(!v(e))return t;let o=[...t];return o.length<=e?t:o.slice(0,e).join("")+r};var Oo=t=>t.reduce((r,o)=>r+o,0)/t.length;var Ro=t=>Math.max(...t);var Po=t=>Math.min(...t);var wo=t=>t.reduce((e,r)=>e*r,1);var jo=t=>t.reduce((e,r)=>e+r,0);var Mt=[{city:"London",country:"United Kingdom",countryCode:"GB",line2:"Marylebone",number:"221B",street:"Baker Street",zip:"NW1 6XE"},{city:"Birmingham",country:"United Kingdom",countryCode:"GB",number:"B1 1AA",street:"Bordesley Street",zip:"B1 1AA"}],Ot=[{city:"New York",country:"United States",countryCode:"US",state:"NY",street:"Broadway",line2:"Manhattan",number:"42",zip:"10036"},{city:"Los Angeles",country:"United States",countryCode:"US",state:"CA",street:"Hollywood Boulevard",number:"6801",zip:"90028"}],It=[{city:"Paris",country:"France",countryCode:"FR",street:"Rue de Rivoli",number:"75001",zip:"75001"},{city:"Berlin",country:"Germany",countryCode:"DE",street:"Unter den Linden",line2:"Mitte",number:"10117",zip:"10117"},{city:"Rome",country:"Italy",countryCode:"IT",street:"Via del Corso",number:"00186",zip:"00186"},{city:"Madrid",country:"Spain",countryCode:"ES",street:"Gran V\xEDa",line2:"Sol",number:"28013",zip:"28013"}],Rt=[{city:"Moscow",country:"Russia",countryCode:"RU",street:"Tverskaya",number:"101000",zip:"101000"},{city:"Tokyo",country:"Japan",countryCode:"JP",street:"Shinjuku",line2:"Shinjuku City",number:"160-0022",zip:"160-0022"},{city:"Beijing",country:"China",countryCode:"CN",street:"Changan",number:"100005",zip:"100005"},{city:"Cairo",country:"Egypt",countryCode:"EG",street:"Al-Muizz",number:"11511",zip:"11511"},{city:"Buenos Aires",country:"Argentina",countryCode:"AR",street:"Avenida de Mayo",number:"1002",zip:"C1006AAQ"},{city:"Cape Town",country:"South Africa",countryCode:"ZA",street:"Adderley",number:"7700",zip:"7700"},{city:"Sydney",country:"Australia",countryCode:"AU",street:"George",line2:"Haymarket",number:"2000",zip:"2000"},{city:"Rio de Janeiro",country:"Brazil",countryCode:"BR",street:"Av. Presidente Vargas",number:"20021-000",zip:"20021-000"},{city:"Mexico City",country:"Mexico",countryCode:"MX",street:"Paseo de la Reforma",number:"06500",zip:"06500"}],Y=[...Mt,...Ot,...It,...Rt];var s=(t=-100,e=100)=>(t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1)+t)),Wo=(t=100)=>s(1,t),Ho=(t=-100)=>s(t,-1),Fo=()=>s(-Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),zo=()=>s(-Number.MAX_VALUE,Number.MAX_VALUE),Dt=({min:t,max:e}={})=>s(t!=null?t:-100,e!=null?e:100),Ko=({min:t,max:e}={})=>s(t!=null?t:1,e!=null?e:100),Go=()=>Dt()+"%";var n=t=>t[s(0,t.length-1)];var qo=()=>n(Y);var Pt="123456789ABCDEFGHIJKLMNPQRSTUVWXYZ".split(""),tn=({length:t=6}={})=>{if(t<1)throw new Error("randomAlphaNumericCode: Length must be greater than 0.");return d(t,()=>n(Pt)).join("")};var Z=["AD1200012030200359100100","BA391290079401028494","BE68539007547034","BG80BNBG96611020345678","FI2112345600000785","FO6264600001631634","FR1420041010050500013M02606","GB29NWBK60161331926819","GE29NB0000000101904917"];var Bt=[{accountHolderName:"John Peters",accountNumber:"12345678",bankAddress:"1 Churchill Place, Canary Wharf, London, E14 5HP, UK",bankName:"Barclays plc",bicSwift:"BARCGB22",iban:"GB51BARC20039534871253",sortCode:"12-34-56",accountHolderType:"individual"},{accountHolderName:"Jane Evans",accountNumber:"87654321",bankAddress:"8 Canada Square, London, E14 5HQ, UK",bankName:"HSBC Holdings plc",bicSwift:"HSBCGB2L",iban:"GB82BARC20031847813531",sortCode:"65-43-21",accountHolderType:"company"}],wt=[{accountHolderName:"Jack I. Taylor",accountNumber:"123456789012",accountType:"checking",bankAddress:"Bank of America Corporate Center, 100 North Tryon Street, Charlotte, NC 28255, USA",bankName:"Bank of America Corporation",routingNumber:"111000025",accountHolderType:"individual"},{accountHolderName:"Sally T King",accountNumber:"987654321098",accountType:"savings",bankAddress:"383 Madison Avenue, New York, NY 10179, USA",bankName:"JPMorgan Chase & Co.",routingNumber:"021000021",accountHolderType:"company"}],Lt=[{accountHolderName:"William Kevin White",accountNumber:"123456789012",accountType:"savings",bankAddress:"Commonwealth Bank Centre, Tower 1, 201 Sussex Street, Sydney, NSW 2000, Australia",bankName:"Commonwealth Bank of Australia",bicSwift:"CTBAAU2S",bsbNumber:"062-000",accountHolderType:"individual"},{accountHolderName:"Jennifer Ann Brown",accountNumber:"987654321098",accountType:"checking",bankAddress:"Westpac Place, 275 Kent Street, Sydney, NSW 2000, Australia",bankName:"Westpac Banking Corporation",bicSwift:"WPACAU2S",bsbNumber:"032-001",accountHolderType:"company"}],jt=[{accountHolderName:"Charles Green",accountNumber:"123456789012",accountType:"savings",bankAddress:"Royal Bank Plaza, 200 Bay Street, North Tower, Toronto, ON M5J 2J5, Canada",bankName:"Royal Bank of Canada",branchTransitNumber:"45678",institutionNumber:"123",accountHolderType:"individual"},{accountHolderName:"Olivia Orange",accountNumber:"987654321098",accountType:"checking",bankAddress:"TD Canada Trust Tower, 161 Bay Street, Toronto, ON M5J 2S8, Canada",bankName:"Toronto-Dominion Bank",branchTransitNumber:"65432",institutionNumber:"987",accountHolderType:"company"}],Q=[...Bt,...wt,...Lt,...jt];var an=()=>n(Q);var mn=()=>!!s(0,1);var tt=["IE1234567T","GB123456789","XI123456789"],et=["Acme Inc.","Globex Ltd.","Aurora LLC","Serenity Systems","Vulcan Ventures","Umbrella Corp."];var yn=()=>({name:n(et),vatRegNumber:n(tt)});var An=16,L=(t=-9,e=9,r)=>{let o=Math.random()*(e-t)+t;return V(r)?parseFloat(o.toFixed(r)):o};var gn=()=>({lat:kt(),lng:Ut()}),kt=()=>L(-90,90),Ut=()=>L(-180,180);var k=t=>new Date(new Date().getTime()+t),x=(t,e)=>{let r=y(t),o=y(e);r&&o&&r>o&&console.warn("randomDate: startDate must be before endDate");let i=r||(o?new Date(o.getTime()-31536e7):k(-31536e7)),l=o||(r?new Date(r.getTime()+31536e7):k(31536e7));return new Date(s(i.getTime(),l.getTime()))},Mn=(t,e)=>{let r=t||new Date(-864e13),o=e||new Date(864e13);return x(r,o)},On=({startDate:t,endDate:e}={})=>{t&&B(t)&&console.warn("randomFutureDate: startDate must be in the future"),e&&B(e)&&console.warn("randomFutureDate: endDate must be in the future");let r=y(t)||k(5*6e4);return x(r,e)},In=({startDate:t,endDate:e}={})=>{t&&P(t)&&console.warn("randomPastDate: startDate must be in the past"),e&&P(e)&&console.warn("randomPastDate: endDate must be in the past");let r=y(e)||new Date;return x(t,r)},Rn=()=>{let t=x();return {endDate:x(t),startDate:t}};var rt=["gmail.com","yahoo.com","hotmail.com","aol.com","msn.com","comcast.net","live.com","att.net","mac.com","me.com","charter.net","shaw.ca","yahoo.ca","mail.com","qq.com","web.de","gmx.de","mail.ru"];var ot=["Albatross","Dolphin","Elephant","Giraffe","Koala","Lion","Penguin","Squirrel","Tiger","Turtle","Whale","Zebra"],nt=["Axe","Chisel","Drill","Hammer","Mallet","Pliers","Saw","Screwdriver","Wrench","Blowtorch","Crowbar","Ladder"],E=["Adrian","Albert","Alexander","Alice","Amanda","Amy","Benjamin","David","Emma","Esther","Olivia","Ruby","Sarah","Victoria"],g=["Anderson","Brown","Davis","Jackson","Johnson","Jones","Miller","Moore","Smith","Taylor","Thomas","White","Williams","Wilson"],Ht=["\u0410\u0431\u0438\u0433\u0430\u0438\u043B","\u0410\u0433\u043D\u0435\u0441","\u0410\u0434\u0430\u043C","\u0410\u0434\u0440\u0438\u0430\u043D","\u0410\u043B\u0430\u043D","\u0410\u043B\u0435\u043A\u0441\u0430\u043D\u0434\u0440","\u0410\u043B\u0438\u0441\u0430","\u0410\u043B\u044C\u0431\u0435\u0440\u0442","\u0410\u043C\u0430\u043D\u0434\u0430","\u0410\u043C\u0435\u043B\u0438\u044F","\u042D\u043C\u0438","\u042D\u043D\u0434\u0440\u044E"],Ft=["\u0410\u043D\u0434\u0435\u0440\u0441\u043E\u043D","\u0411\u0440\u0430\u0443\u043D","\u0412\u0438\u043B\u0441\u043E\u043D","\u0414\u0436\u0435\u043A\u0441\u043E\u043D","\u0414\u0436\u043E\u043D\u0441","\u0414\u0436\u043E\u043D\u0441\u043E\u043D","\u0414\u044D\u0432\u0438\u0441","\u041C\u0438\u043B\u043B\u0435\u0440","\u041C\u0443\u0440","\u0421\u043C\u0438\u0442","\u0422\u0435\u0439\u043B\u043E\u0440","\u0422\u043E\u043C\u0430\u0441","\u0423\u0430\u0439\u0442","\u0423\u0438\u043B\u044C\u044F\u043C\u0441"],zt=["\u30A2\u30B0\u30CD\u30B9","\u30A2\u30C0\u30E0","\u30A2\u30C9\u30EA\u30A2\u30F3","\u30A2\u30D3\u30B2\u30A4\u30EB","\u30A2\u30DE\u30F3\u30C0","\u30A2\u30DF\u30FC","\u30A2\u30E1\u30EA\u30A2","\u30A2\u30E9\u30F3","\u30A2\u30EA\u30B9","\u30A2\u30EB\u30D0\u30FC\u30C8","\u30A2\u30EC\u30AF\u30B5\u30F3\u30C0\u30FC","\u30A2\u30F3\u30C9\u30EA\u30E5\u30FC"],Kt=["\u30A2\u30F3\u30C0\u30FC\u30BD\u30F3","\u30A6\u30A3\u30EA\u30A2\u30E0\u30BA","\u30A6\u30A3\u30EB\u30BD\u30F3","\u30B8\u30E3\u30AF\u30BD\u30F3","\u30B8\u30E7\u30FC\u30F3\u30BA","\u30B8\u30E7\u30F3\u30BD\u30F3","\u30B9\u30DF\u30B9","\u30BF\u30A4\u30E9\u30FC","\u30C7\u30A4\u30D3\u30B9","\u30C8\u30FC\u30DE\u30B9","\u30D6\u30E9\u30A6\u30F3","\u30DB\u30EF\u30A4\u30C8","\u30DF\u30E9\u30FC","\u30E2\u30A2"],Gt=["\u0622\u062F\u0631\u064A\u0627\u0646","\u0622\u062F\u0645","\u0622\u0644\u0627\u0646","\u0622\u0644\u0628\u0631\u062A","\u0622\u0644\u064A\u0633","\u0622\u0645\u0627\u0646\u062F\u0627","\u0622\u0645\u064A","\u0622\u0645\u064A\u0644\u064A\u0627","\u0623\u0628\u064A\u062C\u064A\u0644","\u0623\u063A\u0646\u064A\u0633","\u0623\u0644\u0643\u0633\u0646\u062F\u0631","\u0623\u0646\u062F\u0631\u0648"],vt=["\u0623\u0646\u062F\u0631\u0633\u0648\u0646","\u0628\u0631\u0627\u0648\u0646","\u062A\u0627\u064A\u0644\u0648\u0631","\u062A\u0648\u0645\u0627\u0633","\u062C\u0627\u0643\u0633\u0648\u0646","\u062C\u0648\u0646\u0632","\u062C\u0648\u0646\u0633\u0648\u0646","\u062F\u064A\u0641\u064A\u0633","\u0633\u0645\u064A\u062B","\u0645\u0648\u0631","\u0645\u064A\u0644\u0631","\u0648\u0627\u064A\u062A","\u0648\u064A\u0644\u0633\u0648\u0646","\u0648\u064A\u0644\u064A\u0627\u0645\u0632"],it=[...E,...Ht,...zt,...Gt],at=[...g,...Ft,...Kt,...vt];var st=()=>(n(E)+"."+n(g)).toLowerCase()+s(11,99);var Fn=()=>`${st()}@${n(rt)}`;var ct=["\u{1F600}","\u{1F601}","\u{1F602}","\u{1F923}","\u{1F603}","\u{1F604}","\u{1F605}","\u{1F606}","\u{1F609}","\u{1F60A}","\u{1F60B}","\u{1F60E}","\u{1F60D}","\u{1F618}","\u{1F617}","\u{1F619}"],mt=["!","@","#","$","%","^","&","*"];var $n=()=>n(ct);var pt=t=>Object.keys(t).filter(e=>!X(e));var Zn=t=>{let e=pt(t);return n(e)};var ut=t=>{let e=[];return Object.values(t).forEach(r=>{_(r,t)&&!e.includes(r)&&e.push(t[r]);}),e};var ni=t=>{let e=ut(t);return n(e)};var $t=["abide","abound","accept","accomplish","achieve","acquire","act","adapt","add","adjust","admire","admit","adopt","advance","advise","afford","agree","alert","allow","be","go","need","work"],Jt=["courage","family","food","friend","fun","hope","justice","life","love","music","smile","time"],Xt=["absolute","compassionate","cozy","dull","enigmatic","fascinating","interesting","playful","remarkable","sunny","unforgettable","wonderful","predictable"],Vt=["abnormally","aboard","absentmindedly","absolutely","absurdly","abundantly","abysmally","academically","acceleratedly","accentually","acceptably","accessibly","accidentally","accommodatingly"],qt=["Pneumonoultramicroscopicsilicovolcanoconiosis","Floccinaucinihilipilification","Pseudopseudohypoparathyroidism","Hippopotomonstrosesquippedaliophobia","Antidisestablishmentarianism","Supercalifragilisticexpialidocious","Honorificabilitudinitatibus"];var lt=["AliceBlue","Aqua","Aquamarine","Azure","Beige","Bisque","Black","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","DarkSlateGray","DeepPink","Gold","Lime","Olive","Orchid","Salmon","Turquoise"],dt=[...$t,...Jt,...Xt,...Vt,...qt];var I=()=>n(dt);var ft=({maxCharacters:t=200,minWords:e=8,maxWords:r=16}={})=>U(d(s(e,r),()=>I()).join(" ").slice(0,t-1)+".");var Yt=["png","jpg","jpeg","gif","svg","webp"],Ai=({name:t,extension:e}={})=>{if(typeof File=="undefined")return;let r=e||n(Yt);return new File([ft()],`${t||I()}.${r}`,{type:`image/${r}`})};var R=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];var Ti=()=>"#"+d(6,()=>n(R)).join("");var Oi=()=>n(R);var yt=()=>n(lt);var Li=()=>n(Z);var Wi=()=>d(4,()=>s(0,255).toString()).join(".");var Ki=()=>n([...ot,...nt]),Gi=()=>n(it),vi=()=>n(at),$i=()=>n(E)+" "+n(g);var qi=({length:t=6}={})=>{if(t<1)throw new Error("randomNumericCode: Length must be greater than 0.");return d(t,(e,r)=>s(r?0:1,9)).join("")};var Zt=1,bt=()=>Zt++;var St=["+44 20 7123 4567","+33 1 45 67 89 10","+81 3 1234 5678","+61 2 9876 5432","+49 30 9876 5432"];var ra=()=>n(St);var ca=({minChars:t=9}={})=>yt().padEnd(t,"-")+n(mt)+s(11,99);var ua=()=>{let t=bt().toString().padStart(15,"0"),e=t.substring(0,12);return `00000000-0000-1000-8${t.substring(12,15)}-${e}`};
|
|
4
|
+
var f=t=>Array.isArray(t);var p=t=>Object.prototype.toString.call(t)==="[object Object]";var ht=["oneOf","endsWith","startsWith"],ae=(t,e)=>{let r=(e==null?void 0:e.processEnvKey)||"NODE_ENV",o=[],i=[],u=({envVarKey:c,envVarValue:a,validation:m})=>{m.oneOf&&(a?m.oneOf.includes(a)||o.push(`${c}=${a} is not allowed, use one of: ${m.oneOf.join(", ")}`):o.push(`${c} is missing`)),m.endsWith&&(a?a!=null&&a.endsWith(m.endsWith)||o.push(`${c}=${a} is not allowed, must end in: ${m.endsWith}`):o.push(`${c} is missing`)),m.startsWith&&(a?a!=null&&a.startsWith(m.startsWith)||o.push(`${c}=${a} is not allowed, must start with: ${m.startsWith}`):o.push(`${c} is missing`));},E=({envVarKey:c,envVarValue:a,rule:m})=>{switch(m){case"should":a||i.push(`${c} should be set`);break;case"shouldNot":a&&i.push(`${c} should not be set`);break;case"never":case!1:a&&o.push(`${c} is not allowed`);break;case"always":case!0:default:a||o.push(`${c} is missing`);break}};if(Object.entries(t).forEach(([c,a])=>{let m=process.env[c];p(a)?(Object.entries(a).forEach(([A,S])=>{ht.includes(A)&&u({envVarValue:m,validation:{[A]:S},envVarKey:c});}),Object.entries(a).forEach(([A,S])=>{process.env[r]===A&&(p(S)?u({envVarValue:m,validation:S,envVarKey:c}):E({envVarValue:m,rule:S,envVarKey:c}));})):f(a)?a.forEach(S=>{process.env[r]===S&&!m&&o.push(`${c} is missing`);}):E({envVarValue:m,rule:a,envVarKey:c});}),i.length&&console.warn("[WARNING] "+i.join(", ")),o.length)throw new Error("[ERROR] "+o.join(", "))};var l=(t,e=()=>{})=>Array.from({length:t},e);var N=t=>[...new Set(t)];var ue=(t,e)=>N(t.filter(r=>!e.includes(r)).concat(e.filter(r=>!t.includes(r))));var fe=(t,e)=>N(t.filter(r=>e.includes(r)));var F=t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase();var Se=({number:t,min:e,max:r})=>(r<e&&process.env.DEVERYTHING_WARNINGS&&console.warn("clamp: max < min",{number:t,min:e,max:r}),t<e?e:t>r?r:t);var z=new RegExp(/\p{C}/,"gu");var K=new RegExp("\\p{Zs}","gu");var v=new RegExp("\\p{Zl}","gu");var G=new RegExp("\\p{Zp}","gu");var Me=t=>t.replace(z," ").replace(K," ").replace(v," ").replace(G," ").trim().replace(/\s{2,}/g," ");var Oe=(t,e=5)=>{console.dir(t,{depth:e});};var Pe=t=>t==null?void 0:t[0];var d=t=>Object.keys(t).concat(Et(t)),Et=t=>Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[];var Le=t=>d(t)[0];var ke=t=>Object.values(t)[0];var $=t=>{if(!t)return {};try{let e=new URL(t);return Object.fromEntries(e.searchParams)}catch(e){return {}}};var Fe=(t,e)=>$(t)[e];var Ke=t=>t==null?void 0:t[t.length-1];var Ge=t=>Object.prototype.toString.call(t)==="[object Boolean]";var J=()=>typeof window=="undefined";var T=()=>!J();var Ye=T;var y=t=>typeof t=="string";var er=t=>y(t)&&/\S+@\S+\.\S+/.test(t);var X=t=>!!(t===void 0||t===null||Nt(t)||Ct(t)||Tt(t)),Nt=t=>y(t)&&t.trim().length===0,Tt=t=>f(t)&&t.length===0,Ct=t=>p(t)&&Object.keys(t).length===0;var B=t=>Object.prototype.toString.call(t)==="[object Function]";var w=t=>{let e=b(t);return !!e&&e>new Date};var C=t=>Object.prototype.toString.call(t)==="[object Date]"&&!isNaN(t);var _=(t,e)=>e.hasOwnProperty(t)&&e.propertyIsEnumerable(t);var lr=(t,e)=>t===e.length-1;var M=t=>Number.isInteger(t),fr=t=>M(t)&&!(t%2),br=t=>M(t)&&!!(t%2),V=t=>M(t)&&t>0,yr=t=>M(t)&&t<0,q=t=>Object.prototype.toString.apply(t)==="[object Number]"&&isFinite(t);var Y=t=>t.indexOf(" ")>=0;var Z=t=>q(t)?!0:!y(t)||Y(t)?!1:!isNaN(parseFloat(t));var Nr=t=>/^\d+$/.test(t)&&parseInt(t)>0;var L=t=>{let e=b(t);return !!e&&e<new Date};var Mr=t=>t instanceof Promise;var Ir=t=>y(t)&&t.trim().length>0;var Br=()=>T()&&window.matchMedia("(display-mode: standalone)").matches;var _t=typeof Symbol=="function"&&Symbol.for,Mt=_t?Symbol.for("react.element"):60103,Lr=t=>t.$$typeof===Mt;var kr=t=>Object.prototype.toString.call(t)==="[object RegExp]";var R=(t,e)=>{if(t===e)return !0;if(f(t)&&f(e))return t.length!==e.length?!1:t.every((r,o)=>R(r,e[o]));if(p(t)&&p(e)){let r=d(t);return r.length!==d(e).length?!1:r.every(o=>R(t[o],e[o]))}return B(t)&&B(e)?t.toString()===e.toString():!1};var Gr=t=>{let e=new Date(t);return C(e)};var Rt=new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),Jr=t=>!!t&&Rt.test(t);var Vr=t=>/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t);var Q=t=>t!=null&&!Number.isNaN(t);var j=(t,e)=>{let r={};return d(t).forEach(o=>{r[o]=p(t[o])?j({},t[o]):t[o];}),d(e).forEach(o=>{_(o,t)?r[o]=p(t[o])&&p(e[o])?j(t[o],e[o]):e[o]:r[o]=p(e[o])?j({},e[o]):e[o];}),r};var eo=(t,e)=>{let r=[...t];for(let o=0;o<r.length;o++)if(e(r[o],o,r)){let i=r.splice(o,1);r.unshift(i[0]);break}return r};var oo=(t,e)=>{let r=[...t];for(let o=0;o<r.length;o++)if(e(r[o],o,r)){let i=r.splice(o,1)[0];r.push(i);break}return r};var io=({value:t,max:e,min:r})=>t>=e?1:t<=r?0:(t-r)/(e-r);var mo=(t,e)=>{var r={};let o=new Set([...d(t),...d(e)]);for(let i of o)R(e[i],t[i])||(r[i]={from:t[i],to:e[i]});return r};var uo=(t,e)=>{let r={};for(let o in t)e.includes(o)||(r[o]=t[o]);return r};var b=t=>{if(X(t))return;let e=new Date(t);if(C(e))return e};var tt=()=>{let t=[],e=[],r=function(o,i){return t[0]===i?"[Circular ~]":"[Circular ~."+e.slice(0,t.indexOf(i)).join(".")+"]"};return function(o,i){if(t.length>0){let u=t.indexOf(this);~u?t.splice(u+1):t.push(this),~u?e.splice(u,1/0,o):e.push(o),~t.indexOf(i)&&(i=r.call(this,o,i));}else t.push(i);return i}};var xo=t=>JSON.stringify(t,tt(),2);var ho=(t,e,r)=>{let o,i=new Promise((u,E)=>{o=setTimeout(()=>E(r!=null?r:new Error("Promise timed out")),e);});return Promise.race([t(),i]).finally(()=>{clearTimeout(o);})};var s=(t=-100,e=100)=>(t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1)+t)),No=(t=100)=>s(1,t),To=(t=-100)=>s(t,-1),Co=()=>s(-Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),_o=()=>s(-Number.MAX_VALUE,Number.MAX_VALUE),Ot=({min:t,max:e}={})=>s(t!=null?t:-100,e!=null?e:100),Mo=({min:t,max:e}={})=>s(t!=null?t:1,e!=null?e:100),Ro=()=>Ot()+"%";var O=()=>String.fromCharCode(s(97,122));var et=new RegExp(/\p{L}/,"gu");var Lo=t=>t.replace(et,()=>O());var ko=t=>{let e=new Set;return JSON.stringify(t,(r,o)=>(e.add(r),o)),JSON.stringify(t,Array.from(e).sort())};var Wo=(t,e={})=>{let r=t.startsWith("/"),o=new URL(t,r?"https://deverything.dev/":void 0);return Object.entries(e).forEach(([i,u])=>{o.searchParams.set(i,u.toString());}),r?o.pathname+o.search+o.hash:o.toString()};var Fo=t=>{let e=[...t];for(let r=e.length-1;r>0;r--){let o=Math.floor(Math.random()*(r+1));[e[r],e[o]]=[e[o],e[r]];}return e};var Ko=t=>new Promise(e=>{setTimeout(e,t);});var It=(t,e)=>{if(!f(t))return t;let r=t.reduce((o,i)=>(i!==e&&o.push(i),o),[]);return r.length===t.length&&r.push(e),r},$o=It;var Vo=(t,e,r="...")=>{if(!V(e))return t;let o=[...t];return o.length<=e?t:o.slice(0,e).join("")+r};var Yo=t=>t.reduce((r,o)=>r+o,0)/t.length;var Qo=t=>Math.max(...t);var en=t=>Math.min(...t);var on=t=>t.reduce((e,r)=>e*r,1);var an=t=>t.reduce((e,r)=>e+r,0);var Pt=[{city:"London",country:"United Kingdom",countryCode:"GB",line2:"Marylebone",number:"221B",street:"Baker Street",zip:"NW1 6XE"},{city:"Birmingham",country:"United Kingdom",countryCode:"GB",number:"B1 1AA",street:"Bordesley Street",zip:"B1 1AA"}],Dt=[{city:"New York",country:"United States",countryCode:"US",state:"NY",street:"Broadway",line2:"Manhattan",number:"42",zip:"10036"},{city:"Los Angeles",country:"United States",countryCode:"US",state:"CA",street:"Hollywood Boulevard",number:"6801",zip:"90028"}],Bt=[{city:"Paris",country:"France",countryCode:"FR",street:"Rue de Rivoli",number:"75001",zip:"75001"},{city:"Berlin",country:"Germany",countryCode:"DE",street:"Unter den Linden",line2:"Mitte",number:"10117",zip:"10117"},{city:"Rome",country:"Italy",countryCode:"IT",street:"Via del Corso",number:"00186",zip:"00186"},{city:"Madrid",country:"Spain",countryCode:"ES",street:"Gran V\xEDa",line2:"Sol",number:"28013",zip:"28013"}],wt=[{city:"Moscow",country:"Russia",countryCode:"RU",street:"Tverskaya",number:"101000",zip:"101000"},{city:"Tokyo",country:"Japan",countryCode:"JP",street:"Shinjuku",line2:"Shinjuku City",number:"160-0022",zip:"160-0022"},{city:"Beijing",country:"China",countryCode:"CN",street:"Changan",number:"100005",zip:"100005"},{city:"Cairo",country:"Egypt",countryCode:"EG",street:"Al-Muizz",number:"11511",zip:"11511"},{city:"Buenos Aires",country:"Argentina",countryCode:"AR",street:"Avenida de Mayo",number:"1002",zip:"C1006AAQ"},{city:"Cape Town",country:"South Africa",countryCode:"ZA",street:"Adderley",number:"7700",zip:"7700"},{city:"Sydney",country:"Australia",countryCode:"AU",street:"George",line2:"Haymarket",number:"2000",zip:"2000"},{city:"Rio de Janeiro",country:"Brazil",countryCode:"BR",street:"Av. Presidente Vargas",number:"20021-000",zip:"20021-000"},{city:"Mexico City",country:"Mexico",countryCode:"MX",street:"Paseo de la Reforma",number:"06500",zip:"06500"}],rt=[...Pt,...Dt,...Bt,...wt];var n=t=>t[s(0,t.length-1)];var dn=()=>n(rt);var Lt="123456789ABCDEFGHIJKLMNPQRSTUVWXYZ".split(""),Sn=({length:t=6}={})=>{if(t<1)throw new Error("randomAlphaNumericCode: Length must be greater than 0.");return l(t,()=>n(Lt)).join("")};var ot=["AD1200012030200359100100","BA391290079401028494","BE68539007547034","BG80BNBG96611020345678","FI2112345600000785","FO6264600001631634","FR1420041010050500013M02606","GB29NWBK60161331926819","GE29NB0000000101904917"];var jt=[{accountHolderName:"John Peters",accountNumber:"12345678",bankAddress:"1 Churchill Place, Canary Wharf, London, E14 5HP, UK",bankName:"Barclays plc",bicSwift:"BARCGB22",iban:"GB51BARC20039534871253",sortCode:"12-34-56",accountHolderType:"individual"},{accountHolderName:"Jane Evans",accountNumber:"87654321",bankAddress:"8 Canada Square, London, E14 5HQ, UK",bankName:"HSBC Holdings plc",bicSwift:"HSBCGB2L",iban:"GB82BARC20031847813531",sortCode:"65-43-21",accountHolderType:"company"}],kt=[{accountHolderName:"Jack I. Taylor",accountNumber:"123456789012",accountType:"checking",bankAddress:"Bank of America Corporate Center, 100 North Tryon Street, Charlotte, NC 28255, USA",bankName:"Bank of America Corporation",routingNumber:"111000025",accountHolderType:"individual"},{accountHolderName:"Sally T King",accountNumber:"987654321098",accountType:"savings",bankAddress:"383 Madison Avenue, New York, NY 10179, USA",bankName:"JPMorgan Chase & Co.",routingNumber:"021000021",accountHolderType:"company"}],Ut=[{accountHolderName:"William Kevin White",accountNumber:"123456789012",accountType:"savings",bankAddress:"Commonwealth Bank Centre, Tower 1, 201 Sussex Street, Sydney, NSW 2000, Australia",bankName:"Commonwealth Bank of Australia",bicSwift:"CTBAAU2S",bsbNumber:"062-000",accountHolderType:"individual"},{accountHolderName:"Jennifer Ann Brown",accountNumber:"987654321098",accountType:"checking",bankAddress:"Westpac Place, 275 Kent Street, Sydney, NSW 2000, Australia",bankName:"Westpac Banking Corporation",bicSwift:"WPACAU2S",bsbNumber:"032-001",accountHolderType:"company"}],Wt=[{accountHolderName:"Charles Green",accountNumber:"123456789012",accountType:"savings",bankAddress:"Royal Bank Plaza, 200 Bay Street, North Tower, Toronto, ON M5J 2J5, Canada",bankName:"Royal Bank of Canada",branchTransitNumber:"45678",institutionNumber:"123",accountHolderType:"individual"},{accountHolderName:"Olivia Orange",accountNumber:"987654321098",accountType:"checking",bankAddress:"TD Canada Trust Tower, 161 Bay Street, Toronto, ON M5J 2S8, Canada",bankName:"Toronto-Dominion Bank",branchTransitNumber:"65432",institutionNumber:"987",accountHolderType:"company"}],nt=[...jt,...kt,...Ut,...Wt];var En=()=>n(nt);var Cn=()=>!!s(0,1);var it=["IE1234567T","GB123456789","XI123456789"],at=["Acme Inc.","Globex Ltd.","Aurora LLC","Serenity Systems","Vulcan Ventures","Umbrella Corp."];var Pn=()=>({name:n(at),vatRegNumber:n(it)});var wn=16,k=(t=-9,e=9,r)=>{let o=Math.random()*(e-t)+t;return Q(r)?parseFloat(o.toFixed(r)):o};var kn=()=>({lat:Ht(),lng:Ft()}),Ht=()=>k(-90,90),Ft=()=>k(-180,180);var W=t=>new Date(new Date().getTime()+t),x=(t,e)=>{let r=b(t),o=b(e);r&&o&&r>o&&console.warn("randomDate: startDate must be before endDate");let i=r||(o?new Date(o.getTime()-31536e7):W(-31536e7)),u=o||(r?new Date(r.getTime()+31536e7):W(31536e7));return new Date(s(i.getTime(),u.getTime()))},Kn=(t,e)=>{let r=t||new Date(-864e13),o=e||new Date(864e13);return x(r,o)},vn=({startDate:t,endDate:e}={})=>{t&&L(t)&&console.warn("randomFutureDate: startDate must be in the future"),e&&L(e)&&console.warn("randomFutureDate: endDate must be in the future");let r=b(t)||W(5*6e4);return x(r,e)},Gn=({startDate:t,endDate:e}={})=>{t&&w(t)&&console.warn("randomPastDate: startDate must be in the past"),e&&w(e)&&console.warn("randomPastDate: endDate must be in the past");let r=b(e)||new Date;return x(t,r)},$n=()=>{let t=x();return {endDate:x(t),startDate:t}};var st=["gmail.com","yahoo.com","hotmail.com","aol.com","msn.com","comcast.net","live.com","att.net","mac.com","me.com","charter.net","shaw.ca","yahoo.ca","mail.com","qq.com","web.de","gmx.de","mail.ru"];var ct=["Albatross","Dolphin","Elephant","Giraffe","Koala","Lion","Penguin","Squirrel","Tiger","Turtle","Whale","Zebra"],mt=["Axe","Chisel","Drill","Hammer","Mallet","Pliers","Saw","Screwdriver","Wrench","Blowtorch","Crowbar","Ladder"],g=["Adrian","Albert","Alexander","Alice","Amanda","Amy","Benjamin","David","Emma","Esther","Olivia","Ruby","Sarah","Victoria"],h=["Anderson","Brown","Davis","Jackson","Johnson","Jones","Miller","Moore","Smith","Taylor","Thomas","White","Williams","Wilson"],Kt=["\u0410\u0431\u0438\u0433\u0430\u0438\u043B","\u0410\u0433\u043D\u0435\u0441","\u0410\u0434\u0430\u043C","\u0410\u0434\u0440\u0438\u0430\u043D","\u0410\u043B\u0430\u043D","\u0410\u043B\u0435\u043A\u0441\u0430\u043D\u0434\u0440","\u0410\u043B\u0438\u0441\u0430","\u0410\u043B\u044C\u0431\u0435\u0440\u0442","\u0410\u043C\u0430\u043D\u0434\u0430","\u0410\u043C\u0435\u043B\u0438\u044F","\u042D\u043C\u0438","\u042D\u043D\u0434\u0440\u044E"],vt=["\u0410\u043D\u0434\u0435\u0440\u0441\u043E\u043D","\u0411\u0440\u0430\u0443\u043D","\u0412\u0438\u043B\u0441\u043E\u043D","\u0414\u0436\u0435\u043A\u0441\u043E\u043D","\u0414\u0436\u043E\u043D\u0441","\u0414\u0436\u043E\u043D\u0441\u043E\u043D","\u0414\u044D\u0432\u0438\u0441","\u041C\u0438\u043B\u043B\u0435\u0440","\u041C\u0443\u0440","\u0421\u043C\u0438\u0442","\u0422\u0435\u0439\u043B\u043E\u0440","\u0422\u043E\u043C\u0430\u0441","\u0423\u0430\u0439\u0442","\u0423\u0438\u043B\u044C\u044F\u043C\u0441"],Gt=["\u30A2\u30B0\u30CD\u30B9","\u30A2\u30C0\u30E0","\u30A2\u30C9\u30EA\u30A2\u30F3","\u30A2\u30D3\u30B2\u30A4\u30EB","\u30A2\u30DE\u30F3\u30C0","\u30A2\u30DF\u30FC","\u30A2\u30E1\u30EA\u30A2","\u30A2\u30E9\u30F3","\u30A2\u30EA\u30B9","\u30A2\u30EB\u30D0\u30FC\u30C8","\u30A2\u30EC\u30AF\u30B5\u30F3\u30C0\u30FC","\u30A2\u30F3\u30C9\u30EA\u30E5\u30FC"],$t=["\u30A2\u30F3\u30C0\u30FC\u30BD\u30F3","\u30A6\u30A3\u30EA\u30A2\u30E0\u30BA","\u30A6\u30A3\u30EB\u30BD\u30F3","\u30B8\u30E3\u30AF\u30BD\u30F3","\u30B8\u30E7\u30FC\u30F3\u30BA","\u30B8\u30E7\u30F3\u30BD\u30F3","\u30B9\u30DF\u30B9","\u30BF\u30A4\u30E9\u30FC","\u30C7\u30A4\u30D3\u30B9","\u30C8\u30FC\u30DE\u30B9","\u30D6\u30E9\u30A6\u30F3","\u30DB\u30EF\u30A4\u30C8","\u30DF\u30E9\u30FC","\u30E2\u30A2"],Jt=["\u0622\u062F\u0631\u064A\u0627\u0646","\u0622\u062F\u0645","\u0622\u0644\u0627\u0646","\u0622\u0644\u0628\u0631\u062A","\u0622\u0644\u064A\u0633","\u0622\u0645\u0627\u0646\u062F\u0627","\u0622\u0645\u064A","\u0622\u0645\u064A\u0644\u064A\u0627","\u0623\u0628\u064A\u062C\u064A\u0644","\u0623\u063A\u0646\u064A\u0633","\u0623\u0644\u0643\u0633\u0646\u062F\u0631","\u0623\u0646\u062F\u0631\u0648"],Xt=["\u0623\u0646\u062F\u0631\u0633\u0648\u0646","\u0628\u0631\u0627\u0648\u0646","\u062A\u0627\u064A\u0644\u0648\u0631","\u062A\u0648\u0645\u0627\u0633","\u062C\u0627\u0643\u0633\u0648\u0646","\u062C\u0648\u0646\u0632","\u062C\u0648\u0646\u0633\u0648\u0646","\u062F\u064A\u0641\u064A\u0633","\u0633\u0645\u064A\u062B","\u0645\u0648\u0631","\u0645\u064A\u0644\u0631","\u0648\u0627\u064A\u062A","\u0648\u064A\u0644\u0633\u0648\u0646","\u0648\u064A\u0644\u064A\u0627\u0645\u0632"],pt=[...g,...Kt,...Gt,...Jt],ut=[...h,...vt,...$t,...Xt];var Vt=1,I=()=>Vt++;var lt=()=>(n(g)+"."+n(h)).toLowerCase()+I();var ni=()=>`${lt()}@${n(st)}`;var dt=["\u{1F600}","\u{1F601}","\u{1F602}","\u{1F923}","\u{1F603}","\u{1F604}","\u{1F605}","\u{1F606}","\u{1F609}","\u{1F60A}","\u{1F60B}","\u{1F60E}","\u{1F60D}","\u{1F618}","\u{1F617}","\u{1F619}"],ft=["!","@","#","$","%","^","&","*"];var mi=()=>n(dt);var bt=t=>Object.keys(t).filter(e=>!Z(e));var bi=t=>{let e=bt(t);return n(e)};var yt=t=>{let e=[];return Object.values(t).forEach(r=>{_(r,t)&&!e.includes(r)&&e.push(t[r]);}),e};var hi=t=>{let e=yt(t);return n(e)};var qt=["abide","abound","accept","accomplish","achieve","acquire","act","adapt","add","adjust","admire","admit","adopt","advance","advise","afford","agree","alert","allow","be","go","need","work"],Yt=["courage","family","food","friend","fun","hope","justice","life","love","music","smile","time"],Zt=["absolute","compassionate","cozy","dull","enigmatic","fascinating","interesting","playful","remarkable","sunny","unforgettable","wonderful","predictable"],Qt=["abnormally","aboard","absentmindedly","absolutely","absurdly","abundantly","abysmally","academically","acceleratedly","accentually","acceptably","accessibly","accidentally","accommodatingly"],te=["Pneumonoultramicroscopicsilicovolcanoconiosis","Floccinaucinihilipilification","Pseudopseudohypoparathyroidism","Hippopotomonstrosesquippedaliophobia","Antidisestablishmentarianism","Supercalifragilisticexpialidocious","Honorificabilitudinitatibus"];var St=["AliceBlue","Aqua","Aquamarine","Azure","Beige","Bisque","Black","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","DarkSlateGray","DeepPink","Gold","Lime","Olive","Orchid","Salmon","Turquoise"],At=[...qt,...Yt,...Zt,...Qt,...te];var P=()=>n(At);var xt=({maxCharacters:t=200,minWords:e=8,maxWords:r=16}={})=>F(l(s(e,r),()=>P()).join(" ").slice(0,t-1)+".");var ee=["png","jpg","jpeg","gif","svg","webp"],Li=({name:t,extension:e}={})=>{if(typeof File=="undefined")return;let r=e||n(ee);return new File([xt()],`${t||P()}.${r}`,{type:`image/${r}`})};var D=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];var Fi=()=>"#"+l(6,()=>n(D)).join("");var Gi=()=>n(D);var Vi=()=>n(St);var Qi=()=>n(ot);var oa=()=>l(4,()=>s(0,255).toString()).join(".");var sa=()=>n([...ct,...mt]),ca=()=>n(pt),ma=()=>n(ut),pa=()=>n(g)+" "+n(h);var fa=({length:t=6}={})=>{if(t<1)throw new Error("randomNumericCode: Length must be greater than 0.");return l(t,(e,r)=>s(r?0:1,9)).join("")};var H=({length:t=10}={})=>l(t,()=>O()).join("");var Na=({minChars:t=9,maxChars:e=32}={})=>H({length:1}).toUpperCase()+H({length:s(t,e)-3})+n(ft)+s(1,9);var gt=["+44 20 7123 4567","+33 1 45 67 89 10","+81 3 1234 5678","+61 2 9876 5432","+49 30 9876 5432"];var Ra=()=>n(gt);var Pa=()=>{let t=I().toString().padStart(15,"0"),e=t.substring(0,12);return `00000000-0000-1000-8${t.substring(12,15)}-${e}`};
|
|
5
5
|
|
|
6
|
-
exports.JS_MAX_DIGITS =
|
|
7
|
-
exports.array =
|
|
8
|
-
exports.arrayDiff =
|
|
9
|
-
exports.arrayIntersection =
|
|
10
|
-
exports.average =
|
|
11
|
-
exports.capitalize =
|
|
12
|
-
exports.checkEnvVars =
|
|
13
|
-
exports.clamp =
|
|
14
|
-
exports.cleanSpaces =
|
|
15
|
-
exports.dir =
|
|
16
|
-
exports.first =
|
|
17
|
-
exports.firstKey =
|
|
18
|
-
exports.firstValue =
|
|
19
|
-
exports.getEnumerableOwnPropertySymbols =
|
|
20
|
-
exports.getKeys =
|
|
6
|
+
exports.JS_MAX_DIGITS = wn;
|
|
7
|
+
exports.array = l;
|
|
8
|
+
exports.arrayDiff = ue;
|
|
9
|
+
exports.arrayIntersection = fe;
|
|
10
|
+
exports.average = Yo;
|
|
11
|
+
exports.capitalize = F;
|
|
12
|
+
exports.checkEnvVars = ae;
|
|
13
|
+
exports.clamp = Se;
|
|
14
|
+
exports.cleanSpaces = Me;
|
|
15
|
+
exports.dir = Oe;
|
|
16
|
+
exports.first = Pe;
|
|
17
|
+
exports.firstKey = Le;
|
|
18
|
+
exports.firstValue = ke;
|
|
19
|
+
exports.getEnumerableOwnPropertySymbols = Et;
|
|
20
|
+
exports.getKeys = d;
|
|
21
|
+
exports.getUrlSearchParam = Fe;
|
|
22
|
+
exports.getUrlSearchParams = $;
|
|
21
23
|
exports.isArray = f;
|
|
22
|
-
exports.isBoolean =
|
|
23
|
-
exports.isBrowser =
|
|
24
|
+
exports.isBoolean = Ge;
|
|
25
|
+
exports.isBrowser = Ye;
|
|
24
26
|
exports.isClient = T;
|
|
25
|
-
exports.isEmail =
|
|
26
|
-
exports.isEmpty =
|
|
27
|
-
exports.isEmptyArray =
|
|
28
|
-
exports.isEmptyObject =
|
|
29
|
-
exports.isEmptyString =
|
|
30
|
-
exports.isEven =
|
|
31
|
-
exports.isFunction =
|
|
32
|
-
exports.isFutureDate =
|
|
27
|
+
exports.isEmail = er;
|
|
28
|
+
exports.isEmpty = X;
|
|
29
|
+
exports.isEmptyArray = Tt;
|
|
30
|
+
exports.isEmptyObject = Ct;
|
|
31
|
+
exports.isEmptyString = Nt;
|
|
32
|
+
exports.isEven = fr;
|
|
33
|
+
exports.isFunction = B;
|
|
34
|
+
exports.isFutureDate = w;
|
|
33
35
|
exports.isInt = M;
|
|
34
36
|
exports.isJsDate = C;
|
|
35
37
|
exports.isKey = _;
|
|
36
|
-
exports.isLastIndex =
|
|
37
|
-
exports.isNegative =
|
|
38
|
-
exports.isNotEmptyString =
|
|
39
|
-
exports.isNumber =
|
|
40
|
-
exports.isNumeric =
|
|
41
|
-
exports.isNumericId =
|
|
38
|
+
exports.isLastIndex = lr;
|
|
39
|
+
exports.isNegative = yr;
|
|
40
|
+
exports.isNotEmptyString = Ir;
|
|
41
|
+
exports.isNumber = q;
|
|
42
|
+
exports.isNumeric = Z;
|
|
43
|
+
exports.isNumericId = Nr;
|
|
42
44
|
exports.isObject = p;
|
|
43
|
-
exports.isOdd =
|
|
44
|
-
exports.isPWA =
|
|
45
|
-
exports.isPastDate =
|
|
46
|
-
exports.isPositive =
|
|
47
|
-
exports.isPromise =
|
|
48
|
-
exports.isReactElement =
|
|
49
|
-
exports.isRegExp =
|
|
50
|
-
exports.isSame =
|
|
51
|
-
exports.isServer =
|
|
52
|
-
exports.isSpacedString =
|
|
53
|
-
exports.isString =
|
|
54
|
-
exports.isStringDate =
|
|
55
|
-
exports.isURL =
|
|
56
|
-
exports.isUUID =
|
|
57
|
-
exports.isValue =
|
|
58
|
-
exports.last =
|
|
59
|
-
exports.max =
|
|
60
|
-
exports.merge =
|
|
61
|
-
exports.min =
|
|
62
|
-
exports.moveToFirst =
|
|
63
|
-
exports.moveToLast =
|
|
64
|
-
exports.multiply =
|
|
65
|
-
exports.normalizeNumber =
|
|
66
|
-
exports.objectDiff =
|
|
67
|
-
exports.omit =
|
|
68
|
-
exports.parseDate =
|
|
69
|
-
exports.pretty =
|
|
70
|
-
exports.promiseWithTimeout =
|
|
71
|
-
exports.randomAddress =
|
|
72
|
-
exports.randomAlphaNumericCode =
|
|
45
|
+
exports.isOdd = br;
|
|
46
|
+
exports.isPWA = Br;
|
|
47
|
+
exports.isPastDate = L;
|
|
48
|
+
exports.isPositive = V;
|
|
49
|
+
exports.isPromise = Mr;
|
|
50
|
+
exports.isReactElement = Lr;
|
|
51
|
+
exports.isRegExp = kr;
|
|
52
|
+
exports.isSame = R;
|
|
53
|
+
exports.isServer = J;
|
|
54
|
+
exports.isSpacedString = Y;
|
|
55
|
+
exports.isString = y;
|
|
56
|
+
exports.isStringDate = Gr;
|
|
57
|
+
exports.isURL = Jr;
|
|
58
|
+
exports.isUUID = Vr;
|
|
59
|
+
exports.isValue = Q;
|
|
60
|
+
exports.last = Ke;
|
|
61
|
+
exports.max = Qo;
|
|
62
|
+
exports.merge = j;
|
|
63
|
+
exports.min = en;
|
|
64
|
+
exports.moveToFirst = eo;
|
|
65
|
+
exports.moveToLast = oo;
|
|
66
|
+
exports.multiply = on;
|
|
67
|
+
exports.normalizeNumber = io;
|
|
68
|
+
exports.objectDiff = mo;
|
|
69
|
+
exports.omit = uo;
|
|
70
|
+
exports.parseDate = b;
|
|
71
|
+
exports.pretty = xo;
|
|
72
|
+
exports.promiseWithTimeout = ho;
|
|
73
|
+
exports.randomAddress = dn;
|
|
74
|
+
exports.randomAlphaNumericCode = Sn;
|
|
73
75
|
exports.randomArrayItem = n;
|
|
74
|
-
exports.randomBankAccount =
|
|
75
|
-
exports.randomBool =
|
|
76
|
-
exports.
|
|
77
|
-
exports.
|
|
76
|
+
exports.randomBankAccount = En;
|
|
77
|
+
exports.randomBool = Cn;
|
|
78
|
+
exports.randomChar = O;
|
|
79
|
+
exports.randomCompany = Pn;
|
|
80
|
+
exports.randomCoords = kn;
|
|
78
81
|
exports.randomDate = x;
|
|
79
|
-
exports.randomDateRange =
|
|
80
|
-
exports.randomEmail =
|
|
81
|
-
exports.randomEmoji =
|
|
82
|
-
exports.randomEnumKey =
|
|
83
|
-
exports.randomEnumValue =
|
|
84
|
-
exports.randomFile =
|
|
85
|
-
exports.randomFirstName =
|
|
86
|
-
exports.randomFloat =
|
|
87
|
-
exports.randomFormattedPercentage =
|
|
88
|
-
exports.randomFullName =
|
|
89
|
-
exports.randomFutureDate =
|
|
90
|
-
exports.randomHandle =
|
|
91
|
-
exports.randomHexColor =
|
|
92
|
-
exports.randomHexValue =
|
|
93
|
-
exports.randomHtmlColorName =
|
|
94
|
-
exports.randomIBAN =
|
|
95
|
-
exports.randomIP =
|
|
82
|
+
exports.randomDateRange = $n;
|
|
83
|
+
exports.randomEmail = ni;
|
|
84
|
+
exports.randomEmoji = mi;
|
|
85
|
+
exports.randomEnumKey = bi;
|
|
86
|
+
exports.randomEnumValue = hi;
|
|
87
|
+
exports.randomFile = Li;
|
|
88
|
+
exports.randomFirstName = ca;
|
|
89
|
+
exports.randomFloat = k;
|
|
90
|
+
exports.randomFormattedPercentage = Ro;
|
|
91
|
+
exports.randomFullName = pa;
|
|
92
|
+
exports.randomFutureDate = vn;
|
|
93
|
+
exports.randomHandle = lt;
|
|
94
|
+
exports.randomHexColor = Fi;
|
|
95
|
+
exports.randomHexValue = Gi;
|
|
96
|
+
exports.randomHtmlColorName = Vi;
|
|
97
|
+
exports.randomIBAN = Qi;
|
|
98
|
+
exports.randomIP = oa;
|
|
96
99
|
exports.randomInt = s;
|
|
97
|
-
exports.randomLastName =
|
|
98
|
-
exports.randomLat =
|
|
99
|
-
exports.randomLng =
|
|
100
|
-
exports.randomMaxDate =
|
|
101
|
-
exports.randomMaxInt =
|
|
102
|
-
exports.randomMaxSafeInt =
|
|
103
|
-
exports.randomName =
|
|
104
|
-
exports.randomNegativeInt =
|
|
105
|
-
exports.randomNumericCode =
|
|
106
|
-
exports.randomNumericId =
|
|
107
|
-
exports.randomParagraph =
|
|
108
|
-
exports.randomPassword =
|
|
109
|
-
exports.randomPastDate =
|
|
110
|
-
exports.randomPercentage =
|
|
111
|
-
exports.randomPhoneNumber =
|
|
112
|
-
exports.randomPositiveInt =
|
|
113
|
-
exports.randomPositivePercentage =
|
|
114
|
-
exports.
|
|
115
|
-
exports.
|
|
116
|
-
exports.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
119
|
-
exports.
|
|
120
|
-
exports.
|
|
121
|
-
exports.
|
|
122
|
-
exports.
|
|
123
|
-
exports.
|
|
100
|
+
exports.randomLastName = ma;
|
|
101
|
+
exports.randomLat = Ht;
|
|
102
|
+
exports.randomLng = Ft;
|
|
103
|
+
exports.randomMaxDate = Kn;
|
|
104
|
+
exports.randomMaxInt = _o;
|
|
105
|
+
exports.randomMaxSafeInt = Co;
|
|
106
|
+
exports.randomName = sa;
|
|
107
|
+
exports.randomNegativeInt = To;
|
|
108
|
+
exports.randomNumericCode = fa;
|
|
109
|
+
exports.randomNumericId = I;
|
|
110
|
+
exports.randomParagraph = xt;
|
|
111
|
+
exports.randomPassword = Na;
|
|
112
|
+
exports.randomPastDate = Gn;
|
|
113
|
+
exports.randomPercentage = Ot;
|
|
114
|
+
exports.randomPhoneNumber = Ra;
|
|
115
|
+
exports.randomPositiveInt = No;
|
|
116
|
+
exports.randomPositivePercentage = Mo;
|
|
117
|
+
exports.randomString = H;
|
|
118
|
+
exports.randomUUID = Pa;
|
|
119
|
+
exports.randomWord = P;
|
|
120
|
+
exports.scrambleText = Lo;
|
|
121
|
+
exports.serialize = ko;
|
|
122
|
+
exports.setUrlSearchParams = Wo;
|
|
123
|
+
exports.shuffle = Fo;
|
|
124
|
+
exports.sleep = Ko;
|
|
125
|
+
exports.sum = an;
|
|
126
|
+
exports.toggleArray = $o;
|
|
127
|
+
exports.toggleArrayValue = It;
|
|
128
|
+
exports.truncate = Vo;
|
|
129
|
+
exports.uniqueValues = N;
|
|
124
130
|
|
|
125
131
|
return exports;
|
|
126
132
|
|