deverything 0.17.1 → 0.19.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 +5 -0
- package/dist/index.d.ts +28 -8
- package/dist/index.global.js +95 -86
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +95 -86
- 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
|
@@ -43,6 +43,7 @@ Contributions always welcome!
|
|
|
43
43
|
- `isPWA()`
|
|
44
44
|
- `isReactElement()`
|
|
45
45
|
- `isRegExp()`
|
|
46
|
+
- ⭐ `isSame()` Compare if dates, functions, arrays, objects or anything else are the same
|
|
46
47
|
- `isServer()` if you are on the server
|
|
47
48
|
- `isString()`
|
|
48
49
|
- `isURL()`
|
|
@@ -51,6 +52,8 @@ Contributions always welcome!
|
|
|
51
52
|
### Helpers
|
|
52
53
|
|
|
53
54
|
- `array()` create an arbitrary array based on a function
|
|
55
|
+
- `arrayDiff()`
|
|
56
|
+
- `arrayIntersection()`
|
|
54
57
|
- `capitalize()` word => Word
|
|
55
58
|
- `cleanSpaces()` trims and turns double spaces into single space
|
|
56
59
|
- `clamp()` clamp number in a range
|
|
@@ -60,12 +63,14 @@ Contributions always welcome!
|
|
|
60
63
|
- ⭐ `merge()` deep merge objects
|
|
61
64
|
- `moveToFirst()` move array element to first
|
|
62
65
|
- `moveToLast()` move array element to last
|
|
66
|
+
- `objectDiff()`
|
|
63
67
|
- ⭐ `parseDate()` pass anything Date-Like, and get a JS Date back
|
|
64
68
|
- `pretty()`
|
|
65
69
|
- `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.
|
|
66
70
|
- `sleep()`
|
|
67
71
|
- `toggleArray()`
|
|
68
72
|
- `truncate()` truncate text, does not break emojis
|
|
73
|
+
- `uniqueValues()`
|
|
69
74
|
|
|
70
75
|
### Random data generators
|
|
71
76
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
declare const array: <U extends (...args: any) => any>(length: number, mapFn: U) => ReturnType<U>[];
|
|
2
2
|
|
|
3
|
+
declare const arrayDiff: (arr1: any[], arr2: any[]) => any[];
|
|
4
|
+
|
|
5
|
+
declare const arrayIntersection: (arr1: any[], arr2: any[]) => any[];
|
|
6
|
+
|
|
3
7
|
declare const capitalize: (string: string) => string;
|
|
4
8
|
|
|
5
9
|
declare const clamp: ({ number, min, max, }: {
|
|
@@ -12,11 +16,6 @@ declare const cleanSpaces: (str: string) => string;
|
|
|
12
16
|
|
|
13
17
|
declare const first: <T>(arr?: T[] | undefined) => T | undefined;
|
|
14
18
|
|
|
15
|
-
declare const getKeys: (arg: object) => string[];
|
|
16
|
-
declare const getEnumerableOwnPropertySymbols: (arg: object) => any[];
|
|
17
|
-
|
|
18
|
-
declare const last: <T>(arr?: T[] | undefined) => T | undefined;
|
|
19
|
-
|
|
20
19
|
type Coords = {
|
|
21
20
|
lat: number;
|
|
22
21
|
lng: number;
|
|
@@ -36,7 +35,9 @@ type MaybePromiseOrValueArray<T> = MaybePromiseOrValue<T>[];
|
|
|
36
35
|
|
|
37
36
|
type ObjectValues<ObjectType> = ObjectType[keyof ObjectType];
|
|
38
37
|
|
|
39
|
-
type PlainObject = Record<string | symbol, any
|
|
38
|
+
type PlainObject = Record<string | symbol, any> & {
|
|
39
|
+
length?: never;
|
|
40
|
+
};
|
|
40
41
|
|
|
41
42
|
type Point = {
|
|
42
43
|
x: number;
|
|
@@ -47,12 +48,23 @@ type PrismaSelect<T> = Record<keyof T, true>;
|
|
|
47
48
|
|
|
48
49
|
type NonUndefined<T> = T extends undefined ? never : T;
|
|
49
50
|
|
|
51
|
+
declare const firstKey: (arg: PlainObject) => string;
|
|
52
|
+
|
|
53
|
+
declare const firstValue: (arg: PlainObject) => any;
|
|
54
|
+
|
|
55
|
+
declare const getKeys: (arg: object) => string[];
|
|
56
|
+
declare const getEnumerableOwnPropertySymbols: (arg: object) => any[];
|
|
57
|
+
|
|
58
|
+
declare const last: <T>(arr?: T[] | undefined) => T | undefined;
|
|
59
|
+
|
|
50
60
|
declare const merge: (target: PlainObject, source: PlainObject) => PlainObject;
|
|
51
61
|
|
|
52
62
|
declare const moveToFirst: <T>(items: T[], condition: (item: T, i: number, items: T[]) => boolean) => T[];
|
|
53
63
|
|
|
54
64
|
declare const moveToLast: <T>(items: T[], condition: (item: T, i: number, items: T[]) => boolean) => T[];
|
|
55
65
|
|
|
66
|
+
declare const objectDiff: (leftObject: PlainObject, rightObject: PlainObject) => PlainObject;
|
|
67
|
+
|
|
56
68
|
declare const parseDate: (arg?: Maybe<DateLike>) => Date | undefined;
|
|
57
69
|
|
|
58
70
|
declare const pretty: (arg: any) => string;
|
|
@@ -65,6 +77,8 @@ declare const toggleArray: <T>(arg: T[], value: T) => T[];
|
|
|
65
77
|
|
|
66
78
|
declare const truncate: (arg: string, limit: number, ellipsis?: string) => string;
|
|
67
79
|
|
|
80
|
+
declare const uniqueValues: (arr: any[]) => any[];
|
|
81
|
+
|
|
68
82
|
declare const randomAddress: () => {
|
|
69
83
|
city: string;
|
|
70
84
|
country: string;
|
|
@@ -201,7 +215,9 @@ declare const isPositive: (arg: number) => boolean;
|
|
|
201
215
|
declare const isNegative: (arg: number) => boolean;
|
|
202
216
|
declare const isNumber: (arg: any) => arg is number;
|
|
203
217
|
|
|
204
|
-
declare const isNumeric: (
|
|
218
|
+
declare const isNumeric: (arg: number | string) => boolean;
|
|
219
|
+
|
|
220
|
+
declare const isNumericId: (id: string) => boolean;
|
|
205
221
|
|
|
206
222
|
declare const isObject: <T>(arg?: any) => arg is Record<string, T>;
|
|
207
223
|
|
|
@@ -213,8 +229,12 @@ declare const isReactElement: (value: any) => boolean;
|
|
|
213
229
|
|
|
214
230
|
declare const isRegExp: (arg: any) => arg is RegExp;
|
|
215
231
|
|
|
232
|
+
declare const isSame: (value1: any, value2: any) => boolean;
|
|
233
|
+
|
|
216
234
|
declare const isServer: () => boolean;
|
|
217
235
|
|
|
236
|
+
declare const isSpacedString: (s: string) => boolean;
|
|
237
|
+
|
|
218
238
|
declare const isString: (arg: any) => boolean;
|
|
219
239
|
|
|
220
240
|
declare const isStringDate: (arg: string) => boolean;
|
|
@@ -227,4 +247,4 @@ declare const isUUID: (arg: string) => boolean;
|
|
|
227
247
|
|
|
228
248
|
declare const isValue: (arg?: Maybe<any>) => boolean;
|
|
229
249
|
|
|
230
|
-
export { Coords, DateLike, Dimensions, JS_MAX_DIGITS, Maybe, MaybePromise, MaybePromiseOrValue, MaybePromiseOrValueArray, NonUndefined, ObjectValues, PlainObject, Point, PrismaSelect, array, capitalize, clamp, cleanSpaces, first, getEnumerableOwnPropertySymbols, getKeys, isArray, isBoolean, isBrowser, isClient, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyString, isEven, isFunction, isInt, isJsDate, isKey, isNegative, isNumber, isNumeric, isObject, isOdd, isPWA, isPositive, isPromise, isReactElement, isRegExp, isServer, isString, isStringDate, isURL, isUUID, isUndefined, isValue, last, merge, moveToFirst, moveToLast, parseDate, pretty, promiseWithTimeout, randomAddress, randomAlphaNumericCode, randomArrayItem, randomBool, randomCoords, randomDate, randomDateRange, randomEmail, randomEmoji, randomEnumKey, randomEnumValue, randomFile, randomFirstName, randomFloat, randomFullName, randomFutureDate, randomHandle, randomHexColor, randomHexValue, randomHtmlColorName, randomIBAN, randomIP, randomInt, randomLastName, randomLat, randomLng, randomMaxDate, randomMaxInt, randomMaxSafeInt, randomName, randomNegativeInt, randomNumericCode, randomNumericId, randomParagraph, randomPassword, randomPastDate, randomPercentage, randomPositiveInt, randomUUID, randomWord, sleep, toggleArray, truncate };
|
|
250
|
+
export { Coords, DateLike, Dimensions, JS_MAX_DIGITS, Maybe, MaybePromise, MaybePromiseOrValue, MaybePromiseOrValueArray, NonUndefined, ObjectValues, PlainObject, Point, PrismaSelect, array, arrayDiff, arrayIntersection, capitalize, clamp, cleanSpaces, first, firstKey, firstValue, getEnumerableOwnPropertySymbols, getKeys, isArray, isBoolean, isBrowser, isClient, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyString, isEven, isFunction, isInt, isJsDate, isKey, isNegative, isNumber, isNumeric, isNumericId, isObject, isOdd, isPWA, isPositive, isPromise, isReactElement, isRegExp, isSame, isServer, isSpacedString, isString, isStringDate, isURL, isUUID, isUndefined, isValue, last, merge, moveToFirst, moveToLast, objectDiff, parseDate, pretty, promiseWithTimeout, randomAddress, randomAlphaNumericCode, randomArrayItem, randomBool, randomCoords, randomDate, randomDateRange, randomEmail, randomEmoji, randomEnumKey, randomEnumValue, randomFile, randomFirstName, randomFloat, randomFullName, randomFutureDate, randomHandle, randomHexColor, randomHexValue, randomHtmlColorName, randomIBAN, randomIP, randomInt, randomLastName, randomLat, randomLng, randomMaxDate, randomMaxInt, randomMaxSafeInt, randomName, randomNegativeInt, randomNumericCode, randomNumericId, randomParagraph, randomPassword, randomPastDate, randomPercentage, randomPositiveInt, randomUUID, randomWord, sleep, toggleArray, truncate, uniqueValues };
|
package/dist/index.global.js
CHANGED
|
@@ -1,97 +1,106 @@
|
|
|
1
1
|
(function (exports) {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var s=(t,e)=>Array.from({length:t},e);var I=t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase();var It=({number:t,min:e,max:o})=>(o<e&&process.env.DEVERYTHING_WARNINGS&&console.warn("clamp: max < min",{number:t,min:e,max:o}),t<e?e:t>o?o:t);var Mt=t=>t.trim().replace(/\s{2,}/g," ");var Lt=t=>t==null?void 0:t[0];var E=t=>Object.keys(t).concat(V(t)),V=t=>Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[];var ht=t=>t==null?void 0:t[t.length-1];var u=t=>Array.isArray(t);var Ot=t=>Object.prototype.toString.call(t)==="[object Boolean]";var _=()=>typeof window=="undefined";var d=()=>!_();var Ft=d;var A=t=>typeof t=="string";var Ht=t=>A(t)&&/\S+@\S+\.\S+/.test(t);var m=t=>Object.prototype.toString.call(t)==="[object Object]";var M=t=>K(t)||W(t)||J(t)?!0:t==null,J=t=>A(t)&&t.trim().length===0,W=t=>u(t)&&t.length===0,K=t=>m(t)&&Object.keys(t).length===0;var Yt=t=>Object.prototype.toString.call(t)==="[object Function]";var S=t=>Object.prototype.toString.call(t)==="[object Date]"&&!isNaN(t);var y=(t,e)=>e.hasOwnProperty(t)&&e.propertyIsEnumerable(t);var b=t=>Number.isInteger(t),te=t=>b(t)&&!(t%2),ee=t=>b(t)&&!!(t%2),g=t=>b(t)&&t>0,oe=t=>b(t)&&t<0,re=t=>Object.prototype.toString.apply(t)==="[object Number]"&&isFinite(t);var L=t=>!isNaN(t);var ae=t=>t instanceof Promise;var ce=()=>d()&&window.matchMedia("(display-mode: standalone)").matches;var $=typeof Symbol=="function"&&Symbol.for,Y=$?Symbol.for("react.element"):60103,le=t=>t.$$typeof===Y;var de=t=>Object.prototype.toString.call(t)==="[object RegExp]";var ye=t=>{let e=new Date(t);return S(e)};var fe=t=>typeof t=="undefined";var q=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"),Ee=t=>!!t&&q.test(t);var Ne=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 B=t=>t!=null&&!Number.isNaN(t);var T=(t,e)=>{let o={};return E(t).forEach(r=>{o[r]=m(t[r])?T({},t[r]):t[r];}),E(e).forEach(r=>{y(r,t)?o[r]=m(t[r])&&m(e[r])?T(t[r],e[r]):e[r]:o[r]=m(e[r])?T({},e[r]):e[r];}),o};var Be=(t,e)=>{let o=[...t];for(let r=0;r<o.length;r++)if(e(o[r],r,o)){let a=o.splice(r,1);o.unshift(a[0]);break}return o};var he=(t,e)=>{let o=[...t];for(let r=0;r<o.length;r++)if(e(o[r],r,o)){let a=o.splice(r,1)[0];o.push(a);break}return o};var Pe=t=>{if(M(t))return;let e=new Date(t);if(S(e))return e};var je=t=>JSON.stringify(t,null,2);var ve=(t,e,o)=>{let r,a=new Promise((Et,k)=>{r=setTimeout(()=>k(o!=null?o:new Error("Promise timed out")),e);});return Promise.race([t(),a]).finally(()=>{clearTimeout(r);})};var ze=t=>new Promise(e=>{setTimeout(e,t);});var He=(t,e)=>{if(u(t)){let o=t.reduce((r,a)=>(a!==e&&r.push(a),r),[]);return o.length===t.length&&o.push(e),o}return t};var Je=(t,e,o="...")=>{if(!g(e))return t;let r=[...t];return r.length<=e?t:r.slice(0,e).join("")+o};var Z=[{city:"London",country:"United Kingdom",street:"Baker Street",number:"221B",zip:"NW1 6XE"},{city:"Birmingham",country:"United Kingdom",street:"Bordesley Street",number:"B1 1AA",zip:"B1 1AA"}],Q=[{city:"New York",country:"United States",street:"Broadway",number:"42",zip:"10036"},{city:"Los Angeles",country:"United States",street:"Hollywood Boulevard",number:"6801",zip:"90028"}],tt=[{city:"Paris",country:"France",street:"Rue de Rivoli",number:"75001",zip:"75001"},{city:"Berlin",country:"Germany",street:"Unter den Linden",number:"10117",zip:"10117"},{city:"Rome",country:"Italy",street:"Via del Corso",number:"00186",zip:"00186"},{city:"Madrid",country:"Spain",street:"Gran V\xEDa",number:"28013",zip:"28013"}],et=[{city:"Moscow",country:"Russia",street:"Tverskaya",number:"101000",zip:"101000"},{city:"Tokyo",country:"Japan",street:"Shinjuku",number:"160-0022",zip:"160-0022"},{city:"Beijing",country:"China",street:"Changan",number:"100005",zip:"100005"},{city:"Cairo",country:"Egypt",street:"Al-Muizz",number:"11511",zip:"11511"},{city:"Buenos Aires",country:"Argentina",street:"Avenida de Mayo",number:"1002",zip:"C1006AAQ"},{city:"Cape Town",country:"South Africa",street:"Adderley",number:"7700",zip:"7700"},{city:"Sydney",country:"Australia",street:"George",number:"2000",zip:"2000"},{city:"Rio de Janeiro",country:"Brazil",street:"Av. Presidente Vargas",number:"20021-000",zip:"20021-000"},{city:"Mexico City",country:"Mexico",street:"Paseo de la Reforma",number:"06500",zip:"06500"}],D=[...Z,...Q,...tt,...et];var i=(t=-100,e=100)=>Math.floor(Math.random()*(e-t+1)+t),$e=(t=100)=>i(1,t),Ye=(t=-100)=>i(t,-1),qe=()=>i(-Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),Ze=()=>i(-Number.MAX_VALUE,Number.MAX_VALUE),Qe=()=>i(-100,100);var n=t=>t[i(0,t.length-1)];var io=()=>n(D);var ot="123456789ABCDEFGHIJKLMNPQRSTUVWXYZ".split(""),co=({length:t=6}={})=>{if(t<1)throw new Error("randomAlphaNumericCode: Length must be greater than 0.");return s(t,()=>n(ot)).join("")};var uo=()=>!!i(0,1);var yo=16,N=(t=-9,e=9,o)=>{let r=Math.random()*(e-t)+t;return B(o)?parseFloat(r.toFixed(o)):r};var xo=()=>({lat:rt(),lng:nt()}),rt=()=>N(-90,90),nt=()=>N(-180,180);var c=(t,e)=>{let o=t||new Date(-31536e7),r=e||new Date(31536e7);return new Date(o.getTime()+Math.random()*(r.getTime()-o.getTime()))},No=(t,e)=>{let o=t||new Date(-864e13),r=e||new Date(864e13);return c(o,r)},Io=()=>{let t=new Date(new Date().getTime()+5*6e4);return c(t)},_o=()=>c(void 0,new Date),Mo=()=>{let t=c();return {endDate:c(t),startDate:t}};var h=["gmail.com","yahoo.com","hotmail.com","aol.com","msn.com","comcast.net","live.com","sbcglobal.net","verizon.net","att.net","mac.com","me.com","earthlink.net","charter.net","shaw.ca","yahoo.ca","googlemail.com","mail.com","qq.com","web.de","gmx.de","mail.ru"];var C=["Aardvark","Albatross","Alligator","Alpaca","Ant","Anteater","Antelope","Ape"],R=["Axe","Ball Peen Hammer","Band Saw","Bench Grinder","Biscuit Joiner","Bolt Cutter","Boring Machine","Bow Saw"],p=["Adam","Adrian","Alan","Albert","Alexander","Alice","Amanda","Emma","Amelia","Amy","Andrew","Esther","Olivia","Ruby"],l=["Smith","Johnson","Williams","Jones","Brown","Davis","Miller","Wilson","Moore","Taylor","Anderson","Thomas","Jackson","White"],st=["\u0410\u0431\u0438\u0433\u0430\u0438\u043B","\u0410\u0434\u0430\u043C","\u0410\u0434\u0440\u0438\u0430\u043D","\u0410\u0433\u043D\u0435\u0441","\u0410\u043B\u0430\u043D","\u0410\u043B\u044C\u0431\u0435\u0440\u0442","\u0410\u043B\u0435\u043A\u0441\u0430\u043D\u0434\u0440","\u0410\u043B\u0438\u0441\u0430","\u0410\u043C\u0430\u043D\u0434\u0430","\u0410\u043C\u0435\u043B\u0438\u044F","\u042D\u043C\u0438","\u042D\u043D\u0434\u0440\u044E"],mt=["\u0421\u043C\u0438\u0442","\u0414\u0436\u043E\u043D\u0441\u043E\u043D","\u0423\u0438\u043B\u044C\u044F\u043C\u0441","\u0414\u0436\u043E\u043D\u0441","\u0411\u0440\u0430\u0443\u043D","\u0414\u044D\u0432\u0438\u0441","\u041C\u0438\u043B\u043B\u0435\u0440","\u0412\u0438\u043B\u0441\u043E\u043D","\u041C\u0443\u0440","\u0422\u0435\u0439\u043B\u043E\u0440","\u0410\u043D\u0434\u0435\u0440\u0441\u043E\u043D","\u0422\u043E\u043C\u0430\u0441","\u0414\u0436\u0435\u043A\u0441\u043E\u043D","\u0423\u0430\u0439\u0442"],ct=["\u30A2\u30D3\u30B2\u30A4\u30EB","\u30A2\u30C0\u30E0","\u30A2\u30C9\u30EA\u30A2\u30F3","\u30A2\u30B0\u30CD\u30B9","\u30A2\u30E9\u30F3","\u30A2\u30EB\u30D0\u30FC\u30C8","\u30A2\u30EC\u30AF\u30B5\u30F3\u30C0\u30FC","\u30A2\u30EA\u30B9","\u30A2\u30DE\u30F3\u30C0","\u30A2\u30E1\u30EA\u30A2","\u30A2\u30DF\u30FC","\u30A2\u30F3\u30C9\u30EA\u30E5\u30FC"],pt=["\u30B9\u30DF\u30B9","\u30B8\u30E7\u30F3\u30BD\u30F3","\u30A6\u30A3\u30EA\u30A2\u30E0\u30BA","\u30B8\u30E7\u30FC\u30F3\u30BA","\u30D6\u30E9\u30A6\u30F3","\u30C7\u30A4\u30D3\u30B9","\u30DF\u30E9\u30FC","\u30A6\u30A3\u30EB\u30BD\u30F3","\u30E2\u30A2","\u30BF\u30A4\u30E9\u30FC","\u30A2\u30F3\u30C0\u30FC\u30BD\u30F3","\u30C8\u30FC\u30DE\u30B9","\u30B8\u30E3\u30AF\u30BD\u30F3","\u30DB\u30EF\u30A4\u30C8"],lt=["\u0623\u0628\u064A\u062C\u064A\u0644","\u0622\u062F\u0645","\u0622\u062F\u0631\u064A\u0627\u0646","\u0623\u063A\u0646\u064A\u0633","\u0622\u0644\u0627\u0646","\u0622\u0644\u0628\u0631\u062A","\u0623\u0644\u0643\u0633\u0646\u062F\u0631","\u0622\u0644\u064A\u0633","\u0622\u0645\u0627\u0646\u062F\u0627","\u0622\u0645\u064A\u0644\u064A\u0627","\u0622\u0645\u064A","\u0623\u0646\u062F\u0631\u0648"],ut=["\u0633\u0645\u064A\u062B","\u062C\u0648\u0646\u0633\u0648\u0646","\u0648\u064A\u0644\u064A\u0627\u0645\u0632","\u062C\u0648\u0646\u0632","\u0628\u0631\u0627\u0648\u0646","\u062F\u064A\u0641\u064A\u0633","\u0645\u064A\u0644\u0631","\u0648\u064A\u0644\u0633\u0648\u0646","\u0645\u0648\u0631","\u062A\u0627\u064A\u0644\u0648\u0631","\u0623\u0646\u062F\u0631\u0633\u0648\u0646","\u062A\u0648\u0645\u0627\u0633","\u062C\u0627\u0643\u0633\u0648\u0646","\u0648\u0627\u064A\u062A"],O=[...p,...st,...ct,...lt],P=[...l,...mt,...pt,...ut];var w=()=>(n(p)+"."+n(l)).toLowerCase()+i(11,99);var jo=()=>`${w()}@${n(h)}`;var j=["\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}"],U=["!","@","#","$","%","^","&","*"];var Go=()=>n(j);var Vo=t=>n(Object.keys(t).filter(e=>!L(e)));var $o=t=>{let e=[];return Object.values(t).forEach(o=>{y(o,t)&&!e.includes(o)&&e.push(t[o]);}),n(e)};var dt=["abide","abound","accept","accomplish","achieve","acquire","act","adapt","add","adjust","admire","admit","adopt","advance","advise","afford","agree","alert","allow","be","go","need","work"],At=["abandon","ability","able","abortion","about","above","abroad","absence","absent","absolute"],St=["abandoned","abdominal","ability","able","abnormal","abolish","abortion","about","above","abroad","absence","absent","absolute"],yt=["abnormally","aboard","absentmindedly","absolutely","absurdly","abundantly","abysmally","academically","acceleratedly","accentually","acceptably","accessibly","accidentally","accommodatingly"],bt=["Pneumonoultramicroscopicsilicovolcanoconiosis","Floccinaucinihilipilification","Pseudopseudohypoparathyroidism","Hippopotomonstrosesquippedaliophobia","Antidisestablishmentarianism","Supercalifragilisticexpialidocious","Honorificabilitudinitatibus"];var v=["AliceBlue","Aqua","Aquamarine","Azure","Beige","Bisque","Black","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","DarkSlateGray","DeepPink","Gold","Lime","Olive","Orchid","Salmon","Turquoise"],F=[...dt,...At,...St,...yt,...bt];var f=()=>n(F);var z=()=>I(s(8,()=>f()).join(" "))+".";var ft=["png","jpg","jpeg","gif","svg","webp"],mr=({name:t,extension:e}={})=>{if(typeof File=="undefined")return;let o=e||n(ft);return new File([z()],`${t||f()}.${o}`,{type:`image/${o}`})};var x=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];var Ar=()=>"#"+s(6,()=>n(x)).join("");var fr=()=>n(x);var G=()=>n(v);var X=["AD1200012030200359100100","BA391290079401028494","BE68539007547034","BG80BNBG96611020345678","BH67BMAG00001299123456","BY13NBRB3600900000002Z00AB00","CH9300762011623852957","CR05015202001026284066","CY17002001280000001200527600","CZ6508000000192000145399","DE89370400440532013000","DO28BAGR00000001212453611324","EE382200221020145685","ES9121000418450200051332","FI2112345600000785","FO6264600001631634","FR1420041010050500013M02606","GB29NWBK60161331926819","GE29NB0000000101904917"];var gr=()=>n(X);var Dr=()=>`${i(0,255).toString()}.${i(0,255).toString()}.${i(0,255).toString()}.${i(0,255).toString()}`;var Or=()=>n([...C,...R]),Pr=()=>n(O),wr=()=>n(P),jr=()=>n(p)+" "+n(l);var zr=({length:t=6}={})=>{if(t<1)throw new Error("randomNumericCode: Length must be greater than 0.");return s(t,(e,o)=>i(o?0:1,9)).join("")};var xt=1,H=()=>xt++;var Wr=()=>G()+n(U)+i(11,99);var Yr=()=>{let t=H().toString().padStart(15,"0"),e=t.substring(0,12);return `00000000-0000-1000-8${t.substring(12,15)}-${e}`};
|
|
4
|
+
var c=(t,e)=>Array.from({length:t},e);var f=t=>[...new Set(t)];var ht=(t,e)=>f(t.filter(r=>!e.includes(r)).concat(e.filter(r=>!t.includes(r))));var Rt=(t,e)=>f(t.filter(r=>e.includes(r)));var M=t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase();var wt=({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 Ut=t=>t.trim().replace(/\s{2,}/g," ");var zt=t=>t==null?void 0:t[0];var s=t=>Object.keys(t).concat(q(t)),q=t=>Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[];var Vt=t=>s(t)[0];var Ht=t=>Object.values(t)[0];var Jt=t=>t==null?void 0:t[t.length-1];var p=t=>Array.isArray(t);var qt=t=>Object.prototype.toString.call(t)==="[object Boolean]";var L=()=>typeof window=="undefined";var y=()=>!L();var re=y;var u=t=>typeof t=="string";var ae=t=>u(t)&&/\S+@\S+\.\S+/.test(t);var m=t=>Object.prototype.toString.call(t)==="[object Object]";var D=t=>Q(t)||Z(t)||Y(t)?!0:t==null,Y=t=>u(t)&&t.trim().length===0,Z=t=>p(t)&&t.length===0,Q=t=>m(t)&&Object.keys(t).length===0;var I=t=>Object.prototype.toString.call(t)==="[object Function]";var S=t=>Object.prototype.toString.call(t)==="[object Date]"&&!isNaN(t);var b=(t,e)=>e.hasOwnProperty(t)&&e.propertyIsEnumerable(t);var x=t=>Number.isInteger(t),ye=t=>x(t)&&!(t%2),Se=t=>x(t)&&!!(t%2),h=t=>x(t)&&t>0,be=t=>x(t)&&t<0,B=t=>Object.prototype.toString.apply(t)==="[object Number]"&&isFinite(t);var C=t=>t.indexOf(" ")>=0;var R=t=>B(t)?!0:!u(t)||C(t)?!1:!isNaN(parseFloat(t));var ge=t=>/^\d+$/.test(t)&&parseInt(t)>0;var Le=t=>t instanceof Promise;var Be=()=>y()&&window.matchMedia("(display-mode: standalone)").matches;var tt=typeof Symbol=="function"&&Symbol.for,et=tt?Symbol.for("react.element"):60103,Re=t=>t.$$typeof===et;var Oe=t=>Object.prototype.toString.call(t)==="[object RegExp]";var E=(t,e)=>{if(t===e)return !0;if(p(t)&&p(e))return t.length!==e.length?!1:t.every((r,o)=>E(r,e[o]));if(m(t)&&m(e)){let r=s(t);return r.length!==s(e).length?!1:r.every(o=>E(t[o],e[o]))}return I(t)&&I(e)?t.toString()===e.toString():!1};var Xe=t=>{let e=new Date(t);return S(e)};var ke=t=>typeof t=="undefined";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"),Ke=t=>!!t&&rt.test(t);var We=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 P=t=>t!=null&&!Number.isNaN(t);var _=(t,e)=>{let r={};return s(t).forEach(o=>{r[o]=m(t[o])?_({},t[o]):t[o];}),s(e).forEach(o=>{b(o,t)?r[o]=m(t[o])&&m(e[o])?_(t[o],e[o]):e[o]:r[o]=m(e[o])?_({},e[o]):e[o];}),r};var tr=(t,e)=>{let r=[...t];for(let o=0;o<r.length;o++)if(e(r[o],o,r)){let a=r.splice(o,1);r.unshift(a[0]);break}return r};var rr=(t,e)=>{let r=[...t];for(let o=0;o<r.length;o++)if(e(r[o],o,r)){let a=r.splice(o,1)[0];r.push(a);break}return r};var ar=(t,e)=>{var r={};let o=new Set([...s(t),...s(e)]);for(let a of o)E(e[a],t[a])||(r[a]={from:t[a],to:e[a]});return r};var pr=t=>{if(D(t))return;let e=new Date(t);if(S(e))return e};var lr=t=>JSON.stringify(t,null,2);var Ar=(t,e,r)=>{let o,a=new Promise((gt,$)=>{o=setTimeout(()=>$(r!=null?r:new Error("Promise timed out")),e);});return Promise.race([t(),a]).finally(()=>{clearTimeout(o);})};var yr=t=>new Promise(e=>{setTimeout(e,t);});var xr=(t,e)=>{if(p(t)){let r=t.reduce((o,a)=>(a!==e&&o.push(a),o),[]);return r.length===t.length&&r.push(e),r}return t};var Nr=(t,e,r="...")=>{if(!h(e))return t;let o=[...t];return o.length<=e?t:o.slice(0,e).join("")+r};var ot=[{city:"London",country:"United Kingdom",street:"Baker Street",number:"221B",zip:"NW1 6XE"},{city:"Birmingham",country:"United Kingdom",street:"Bordesley Street",number:"B1 1AA",zip:"B1 1AA"}],nt=[{city:"New York",country:"United States",street:"Broadway",number:"42",zip:"10036"},{city:"Los Angeles",country:"United States",street:"Hollywood Boulevard",number:"6801",zip:"90028"}],it=[{city:"Paris",country:"France",street:"Rue de Rivoli",number:"75001",zip:"75001"},{city:"Berlin",country:"Germany",street:"Unter den Linden",number:"10117",zip:"10117"},{city:"Rome",country:"Italy",street:"Via del Corso",number:"00186",zip:"00186"},{city:"Madrid",country:"Spain",street:"Gran V\xEDa",number:"28013",zip:"28013"}],at=[{city:"Moscow",country:"Russia",street:"Tverskaya",number:"101000",zip:"101000"},{city:"Tokyo",country:"Japan",street:"Shinjuku",number:"160-0022",zip:"160-0022"},{city:"Beijing",country:"China",street:"Changan",number:"100005",zip:"100005"},{city:"Cairo",country:"Egypt",street:"Al-Muizz",number:"11511",zip:"11511"},{city:"Buenos Aires",country:"Argentina",street:"Avenida de Mayo",number:"1002",zip:"C1006AAQ"},{city:"Cape Town",country:"South Africa",street:"Adderley",number:"7700",zip:"7700"},{city:"Sydney",country:"Australia",street:"George",number:"2000",zip:"2000"},{city:"Rio de Janeiro",country:"Brazil",street:"Av. Presidente Vargas",number:"20021-000",zip:"20021-000"},{city:"Mexico City",country:"Mexico",street:"Paseo de la Reforma",number:"06500",zip:"06500"}],O=[...ot,...nt,...it,...at];var i=(t=-100,e=100)=>Math.floor(Math.random()*(e-t+1)+t),gr=(t=100)=>i(1,t),Mr=(t=-100)=>i(t,-1),Lr=()=>i(-Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),Dr=()=>i(-Number.MAX_VALUE,Number.MAX_VALUE),hr=()=>i(-100,100);var n=t=>t[i(0,t.length-1)];var wr=()=>n(O);var st="123456789ABCDEFGHIJKLMNPQRSTUVWXYZ".split(""),zr=({length:t=6}={})=>{if(t<1)throw new Error("randomAlphaNumericCode: Length must be greater than 0.");return c(t,()=>n(st)).join("")};var Xr=()=>!!i(0,1);var Hr=16,g=(t=-9,e=9,r)=>{let o=Math.random()*(e-t)+t;return P(r)?parseFloat(o.toFixed(r)):o};var Wr=()=>({lat:mt(),lng:ct()}),mt=()=>g(-90,90),ct=()=>g(-180,180);var l=(t,e)=>{let r=t||new Date(-31536e7),o=e||new Date(31536e7);return new Date(r.getTime()+Math.random()*(o.getTime()-r.getTime()))},Yr=(t,e)=>{let r=t||new Date(-864e13),o=e||new Date(864e13);return l(r,o)},Zr=()=>{let t=new Date(new Date().getTime()+5*6e4);return l(t)},Qr=()=>l(void 0,new Date),to=()=>{let t=l();return {endDate:l(t),startDate:t}};var w=["gmail.com","yahoo.com","hotmail.com","aol.com","msn.com","comcast.net","live.com","sbcglobal.net","verizon.net","att.net","mac.com","me.com","earthlink.net","charter.net","shaw.ca","yahoo.ca","googlemail.com","mail.com","qq.com","web.de","gmx.de","mail.ru"];var j=["Aardvark","Albatross","Alligator","Alpaca","Ant","Anteater","Antelope","Ape"],U=["Axe","Ball Peen Hammer","Band Saw","Bench Grinder","Biscuit Joiner","Bolt Cutter","Boring Machine","Bow Saw"],d=["Adam","Adrian","Alan","Albert","Alexander","Alice","Amanda","Emma","Amelia","Amy","Andrew","Esther","Olivia","Ruby"],A=["Smith","Johnson","Williams","Jones","Brown","Davis","Miller","Wilson","Moore","Taylor","Anderson","Thomas","Jackson","White"],lt=["\u0410\u0431\u0438\u0433\u0430\u0438\u043B","\u0410\u0434\u0430\u043C","\u0410\u0434\u0440\u0438\u0430\u043D","\u0410\u0433\u043D\u0435\u0441","\u0410\u043B\u0430\u043D","\u0410\u043B\u044C\u0431\u0435\u0440\u0442","\u0410\u043B\u0435\u043A\u0441\u0430\u043D\u0434\u0440","\u0410\u043B\u0438\u0441\u0430","\u0410\u043C\u0430\u043D\u0434\u0430","\u0410\u043C\u0435\u043B\u0438\u044F","\u042D\u043C\u0438","\u042D\u043D\u0434\u0440\u044E"],dt=["\u0421\u043C\u0438\u0442","\u0414\u0436\u043E\u043D\u0441\u043E\u043D","\u0423\u0438\u043B\u044C\u044F\u043C\u0441","\u0414\u0436\u043E\u043D\u0441","\u0411\u0440\u0430\u0443\u043D","\u0414\u044D\u0432\u0438\u0441","\u041C\u0438\u043B\u043B\u0435\u0440","\u0412\u0438\u043B\u0441\u043E\u043D","\u041C\u0443\u0440","\u0422\u0435\u0439\u043B\u043E\u0440","\u0410\u043D\u0434\u0435\u0440\u0441\u043E\u043D","\u0422\u043E\u043C\u0430\u0441","\u0414\u0436\u0435\u043A\u0441\u043E\u043D","\u0423\u0430\u0439\u0442"],At=["\u30A2\u30D3\u30B2\u30A4\u30EB","\u30A2\u30C0\u30E0","\u30A2\u30C9\u30EA\u30A2\u30F3","\u30A2\u30B0\u30CD\u30B9","\u30A2\u30E9\u30F3","\u30A2\u30EB\u30D0\u30FC\u30C8","\u30A2\u30EC\u30AF\u30B5\u30F3\u30C0\u30FC","\u30A2\u30EA\u30B9","\u30A2\u30DE\u30F3\u30C0","\u30A2\u30E1\u30EA\u30A2","\u30A2\u30DF\u30FC","\u30A2\u30F3\u30C9\u30EA\u30E5\u30FC"],ft=["\u30B9\u30DF\u30B9","\u30B8\u30E7\u30F3\u30BD\u30F3","\u30A6\u30A3\u30EA\u30A2\u30E0\u30BA","\u30B8\u30E7\u30FC\u30F3\u30BA","\u30D6\u30E9\u30A6\u30F3","\u30C7\u30A4\u30D3\u30B9","\u30DF\u30E9\u30FC","\u30A6\u30A3\u30EB\u30BD\u30F3","\u30E2\u30A2","\u30BF\u30A4\u30E9\u30FC","\u30A2\u30F3\u30C0\u30FC\u30BD\u30F3","\u30C8\u30FC\u30DE\u30B9","\u30B8\u30E3\u30AF\u30BD\u30F3","\u30DB\u30EF\u30A4\u30C8"],yt=["\u0623\u0628\u064A\u062C\u064A\u0644","\u0622\u062F\u0645","\u0622\u062F\u0631\u064A\u0627\u0646","\u0623\u063A\u0646\u064A\u0633","\u0622\u0644\u0627\u0646","\u0622\u0644\u0628\u0631\u062A","\u0623\u0644\u0643\u0633\u0646\u062F\u0631","\u0622\u0644\u064A\u0633","\u0622\u0645\u0627\u0646\u062F\u0627","\u0622\u0645\u064A\u0644\u064A\u0627","\u0622\u0645\u064A","\u0623\u0646\u062F\u0631\u0648"],St=["\u0633\u0645\u064A\u062B","\u062C\u0648\u0646\u0633\u0648\u0646","\u0648\u064A\u0644\u064A\u0627\u0645\u0632","\u062C\u0648\u0646\u0632","\u0628\u0631\u0627\u0648\u0646","\u062F\u064A\u0641\u064A\u0633","\u0645\u064A\u0644\u0631","\u0648\u064A\u0644\u0633\u0648\u0646","\u0645\u0648\u0631","\u062A\u0627\u064A\u0644\u0648\u0631","\u0623\u0646\u062F\u0631\u0633\u0648\u0646","\u062A\u0648\u0645\u0627\u0633","\u062C\u0627\u0643\u0633\u0648\u0646","\u0648\u0627\u064A\u062A"],F=[...d,...lt,...At,...yt],z=[...A,...dt,...ft,...St];var v=()=>(n(d)+"."+n(A)).toLowerCase()+i(11,99);var uo=()=>`${v()}@${n(w)}`;var G=["\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}"],X=["!","@","#","$","%","^","&","*"];var So=()=>n(G);var To=t=>n(Object.keys(t).filter(e=>!R(e)));var go=t=>{let e=[];return Object.values(t).forEach(r=>{b(r,t)&&!e.includes(r)&&e.push(t[r]);}),n(e)};var bt=["abide","abound","accept","accomplish","achieve","acquire","act","adapt","add","adjust","admire","admit","adopt","advance","advise","afford","agree","alert","allow","be","go","need","work"],xt=["abandon","ability","able","abortion","about","above","abroad","absence","absent","absolute"],Et=["abandoned","abdominal","ability","able","abnormal","abolish","abortion","about","above","abroad","absence","absent","absolute"],Tt=["abnormally","aboard","absentmindedly","absolutely","absurdly","abundantly","abysmally","academically","acceleratedly","accentually","acceptably","accessibly","accidentally","accommodatingly"],Nt=["Pneumonoultramicroscopicsilicovolcanoconiosis","Floccinaucinihilipilification","Pseudopseudohypoparathyroidism","Hippopotomonstrosesquippedaliophobia","Antidisestablishmentarianism","Supercalifragilisticexpialidocious","Honorificabilitudinitatibus"];var V=["AliceBlue","Aqua","Aquamarine","Azure","Beige","Bisque","Black","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","DarkSlateGray","DeepPink","Gold","Lime","Olive","Orchid","Salmon","Turquoise"],k=[...bt,...xt,...Et,...Tt,...Nt];var T=()=>n(k);var H=()=>M(c(8,()=>T()).join(" "))+".";var It=["png","jpg","jpeg","gif","svg","webp"],Fo=({name:t,extension:e}={})=>{if(typeof File=="undefined")return;let r=e||n(It);return new File([H()],`${t||T()}.${r}`,{type:`image/${r}`})};var N=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];var ko=()=>"#"+c(6,()=>n(N)).join("");var Wo=()=>n(N);var K=()=>n(V);var J=["AD1200012030200359100100","BA391290079401028494","BE68539007547034","BG80BNBG96611020345678","BH67BMAG00001299123456","BY13NBRB3600900000002Z00AB00","CH9300762011623852957","CR05015202001026284066","CY17002001280000001200527600","CZ6508000000192000145399","DE89370400440532013000","DO28BAGR00000001212453611324","EE382200221020145685","ES9121000418450200051332","FI2112345600000785","FO6264600001631634","FR1420041010050500013M02606","GB29NWBK60161331926819","GE29NB0000000101904917"];var rn=()=>n(J);var an=()=>`${i(0,255).toString()}.${i(0,255).toString()}.${i(0,255).toString()}.${i(0,255).toString()}`;var pn=()=>n([...j,...U]),un=()=>n(F),ln=()=>n(z),dn=()=>n(d)+" "+n(A);var Sn=({length:t=6}={})=>{if(t<1)throw new Error("randomNumericCode: Length must be greater than 0.");return c(t,(e,r)=>i(r?0:1,9)).join("")};var _t=1,W=()=>_t++;var _n=()=>K()+n(X)+i(11,99);var Ln=()=>{let t=W().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.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
6
|
+
exports.JS_MAX_DIGITS = Hr;
|
|
7
|
+
exports.array = c;
|
|
8
|
+
exports.arrayDiff = ht;
|
|
9
|
+
exports.arrayIntersection = Rt;
|
|
10
|
+
exports.capitalize = M;
|
|
11
|
+
exports.clamp = wt;
|
|
12
|
+
exports.cleanSpaces = Ut;
|
|
13
|
+
exports.first = zt;
|
|
14
|
+
exports.firstKey = Vt;
|
|
15
|
+
exports.firstValue = Ht;
|
|
16
|
+
exports.getEnumerableOwnPropertySymbols = q;
|
|
17
|
+
exports.getKeys = s;
|
|
18
|
+
exports.isArray = p;
|
|
19
|
+
exports.isBoolean = qt;
|
|
20
|
+
exports.isBrowser = re;
|
|
21
|
+
exports.isClient = y;
|
|
22
|
+
exports.isEmail = ae;
|
|
23
|
+
exports.isEmpty = D;
|
|
24
|
+
exports.isEmptyArray = Z;
|
|
25
|
+
exports.isEmptyObject = Q;
|
|
26
|
+
exports.isEmptyString = Y;
|
|
27
|
+
exports.isEven = ye;
|
|
28
|
+
exports.isFunction = I;
|
|
29
|
+
exports.isInt = x;
|
|
26
30
|
exports.isJsDate = S;
|
|
27
|
-
exports.isKey =
|
|
28
|
-
exports.isNegative =
|
|
29
|
-
exports.isNumber =
|
|
30
|
-
exports.isNumeric =
|
|
31
|
+
exports.isKey = b;
|
|
32
|
+
exports.isNegative = be;
|
|
33
|
+
exports.isNumber = B;
|
|
34
|
+
exports.isNumeric = R;
|
|
35
|
+
exports.isNumericId = ge;
|
|
31
36
|
exports.isObject = m;
|
|
32
|
-
exports.isOdd =
|
|
33
|
-
exports.isPWA =
|
|
34
|
-
exports.isPositive =
|
|
35
|
-
exports.isPromise =
|
|
36
|
-
exports.isReactElement =
|
|
37
|
-
exports.isRegExp =
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
52
|
-
exports.
|
|
53
|
-
exports.
|
|
37
|
+
exports.isOdd = Se;
|
|
38
|
+
exports.isPWA = Be;
|
|
39
|
+
exports.isPositive = h;
|
|
40
|
+
exports.isPromise = Le;
|
|
41
|
+
exports.isReactElement = Re;
|
|
42
|
+
exports.isRegExp = Oe;
|
|
43
|
+
exports.isSame = E;
|
|
44
|
+
exports.isServer = L;
|
|
45
|
+
exports.isSpacedString = C;
|
|
46
|
+
exports.isString = u;
|
|
47
|
+
exports.isStringDate = Xe;
|
|
48
|
+
exports.isURL = Ke;
|
|
49
|
+
exports.isUUID = We;
|
|
50
|
+
exports.isUndefined = ke;
|
|
51
|
+
exports.isValue = P;
|
|
52
|
+
exports.last = Jt;
|
|
53
|
+
exports.merge = _;
|
|
54
|
+
exports.moveToFirst = tr;
|
|
55
|
+
exports.moveToLast = rr;
|
|
56
|
+
exports.objectDiff = ar;
|
|
57
|
+
exports.parseDate = pr;
|
|
58
|
+
exports.pretty = lr;
|
|
59
|
+
exports.promiseWithTimeout = Ar;
|
|
60
|
+
exports.randomAddress = wr;
|
|
61
|
+
exports.randomAlphaNumericCode = zr;
|
|
54
62
|
exports.randomArrayItem = n;
|
|
55
|
-
exports.randomBool =
|
|
56
|
-
exports.randomCoords =
|
|
57
|
-
exports.randomDate =
|
|
58
|
-
exports.randomDateRange =
|
|
59
|
-
exports.randomEmail =
|
|
60
|
-
exports.randomEmoji =
|
|
61
|
-
exports.randomEnumKey =
|
|
62
|
-
exports.randomEnumValue =
|
|
63
|
-
exports.randomFile =
|
|
64
|
-
exports.randomFirstName =
|
|
65
|
-
exports.randomFloat =
|
|
66
|
-
exports.randomFullName =
|
|
67
|
-
exports.randomFutureDate =
|
|
68
|
-
exports.randomHandle =
|
|
69
|
-
exports.randomHexColor =
|
|
70
|
-
exports.randomHexValue =
|
|
71
|
-
exports.randomHtmlColorName =
|
|
72
|
-
exports.randomIBAN =
|
|
73
|
-
exports.randomIP =
|
|
63
|
+
exports.randomBool = Xr;
|
|
64
|
+
exports.randomCoords = Wr;
|
|
65
|
+
exports.randomDate = l;
|
|
66
|
+
exports.randomDateRange = to;
|
|
67
|
+
exports.randomEmail = uo;
|
|
68
|
+
exports.randomEmoji = So;
|
|
69
|
+
exports.randomEnumKey = To;
|
|
70
|
+
exports.randomEnumValue = go;
|
|
71
|
+
exports.randomFile = Fo;
|
|
72
|
+
exports.randomFirstName = un;
|
|
73
|
+
exports.randomFloat = g;
|
|
74
|
+
exports.randomFullName = dn;
|
|
75
|
+
exports.randomFutureDate = Zr;
|
|
76
|
+
exports.randomHandle = v;
|
|
77
|
+
exports.randomHexColor = ko;
|
|
78
|
+
exports.randomHexValue = Wo;
|
|
79
|
+
exports.randomHtmlColorName = K;
|
|
80
|
+
exports.randomIBAN = rn;
|
|
81
|
+
exports.randomIP = an;
|
|
74
82
|
exports.randomInt = i;
|
|
75
|
-
exports.randomLastName =
|
|
76
|
-
exports.randomLat =
|
|
77
|
-
exports.randomLng =
|
|
78
|
-
exports.randomMaxDate =
|
|
79
|
-
exports.randomMaxInt =
|
|
80
|
-
exports.randomMaxSafeInt =
|
|
81
|
-
exports.randomName =
|
|
82
|
-
exports.randomNegativeInt =
|
|
83
|
-
exports.randomNumericCode =
|
|
84
|
-
exports.randomNumericId =
|
|
85
|
-
exports.randomParagraph =
|
|
86
|
-
exports.randomPassword =
|
|
87
|
-
exports.randomPastDate =
|
|
88
|
-
exports.randomPercentage =
|
|
89
|
-
exports.randomPositiveInt =
|
|
90
|
-
exports.randomUUID =
|
|
91
|
-
exports.randomWord =
|
|
92
|
-
exports.sleep =
|
|
93
|
-
exports.toggleArray =
|
|
94
|
-
exports.truncate =
|
|
83
|
+
exports.randomLastName = ln;
|
|
84
|
+
exports.randomLat = mt;
|
|
85
|
+
exports.randomLng = ct;
|
|
86
|
+
exports.randomMaxDate = Yr;
|
|
87
|
+
exports.randomMaxInt = Dr;
|
|
88
|
+
exports.randomMaxSafeInt = Lr;
|
|
89
|
+
exports.randomName = pn;
|
|
90
|
+
exports.randomNegativeInt = Mr;
|
|
91
|
+
exports.randomNumericCode = Sn;
|
|
92
|
+
exports.randomNumericId = W;
|
|
93
|
+
exports.randomParagraph = H;
|
|
94
|
+
exports.randomPassword = _n;
|
|
95
|
+
exports.randomPastDate = Qr;
|
|
96
|
+
exports.randomPercentage = hr;
|
|
97
|
+
exports.randomPositiveInt = gr;
|
|
98
|
+
exports.randomUUID = Ln;
|
|
99
|
+
exports.randomWord = T;
|
|
100
|
+
exports.sleep = yr;
|
|
101
|
+
exports.toggleArray = xr;
|
|
102
|
+
exports.truncate = Nr;
|
|
103
|
+
exports.uniqueValues = f;
|
|
95
104
|
|
|
96
105
|
return exports;
|
|
97
106
|
|