deverything 0.23.0 → 0.24.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 CHANGED
@@ -66,11 +66,12 @@ Contributions always welcome!
66
66
  - `objectDiff()`
67
67
  - ⭐ `parseDate()` pass anything Date-Like, and get a JS Date back
68
68
  - `pretty()` stringify anything, without breaking on circular dependencies
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.
70
- - `sleep()`
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.
70
+ - `sleep()` promise-based sleep
71
+ - `shuffle()` shuffles elements in an array
71
72
  - `toggleArrayValue()` remove/add value in array
72
73
  - `truncate()` truncate text, does not break emojis
73
- - `uniqueValues()`
74
+ - `uniqueValues()` gets unique values in an array
74
75
 
75
76
  ### Random data generators
76
77
 
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ type AdvancedValidation = {
6
6
  endsWith?: string;
7
7
  startsWith?: string;
8
8
  };
9
- type WithEnvValidation = {
9
+ type WithEnvValidation = AdvancedValidation | {
10
10
  [env: string]: AdvancedValidation | SimpleValidationRule;
11
11
  };
12
12
  type Config = {
@@ -23,9 +23,13 @@ type Config = {
23
23
  * ONLY_PROD: {
24
24
  * prod: true,
25
25
  * },
26
+ * APP_ENV: {
27
+ * oneOf: ["test", "dev", "prod"],
28
+ * },
26
29
  * STRIPE_KEY: {
27
30
  * prod: {
28
31
  * startsWith: "live_key_",
32
+ * endsWith: "_end",
29
33
  * },
30
34
  * },
31
35
  * }, {
@@ -119,6 +123,8 @@ declare const pretty: (arg?: any) => string;
119
123
 
120
124
  declare const promiseWithTimeout: <T>(promise: () => Promise<T>, timeoutMs: number, error?: Error) => Promise<T>;
121
125
 
126
+ declare const shuffle: <T>(array: T[]) => T[];
127
+
122
128
  declare const sleep: (timeMs: number) => Promise<void>;
123
129
 
124
130
  declare const toggleArrayValue: <T>(array: T[], value: T) => T[];
@@ -274,6 +280,20 @@ declare const randomUUID: () => string;
274
280
 
275
281
  declare const randomWord: () => string;
276
282
 
283
+ declare const randomPlayingCardSuit: () => string;
284
+ declare const randomBlackJackCard: () => {
285
+ rank: string;
286
+ value: number[];
287
+ } | {
288
+ rank: string;
289
+ value: number;
290
+ };
291
+ declare const randomBlackJackDeck: () => {
292
+ rank: string;
293
+ value: number | number[];
294
+ suit: string;
295
+ }[];
296
+
277
297
  declare const isArray: <T>(arg?: any) => arg is T[];
278
298
 
279
299
  declare const isBoolean: (arg: any) => boolean;
@@ -336,4 +356,4 @@ declare const isUUID: (arg: string) => boolean;
336
356
 
337
357
  declare const isValue: (arg?: Maybe<any>) => boolean;
338
358
 
339
- export { Coords, DateLike, DateRange, Datey, Dimensions, JS_MAX_DIGITS, Maybe, MaybePromise, MaybePromiseOrValue, MaybePromiseOrValueArray, NonUndefined, ObjectKey, ObjectKeys, ObjectValue, ObjectValues, PlainObject, Point, PrismaSelect, array, arrayDiff, arrayIntersection, capitalize, checkEnvVars, clamp, cleanSpaces, first, firstKey, firstValue, getEnumerableOwnPropertySymbols, getKeys, isArray, isBoolean, isBrowser, isClient, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyString, isEven, isFunction, isFutureDate, isInt, isJsDate, isKey, isNegative, isNumber, isNumeric, isNumericId, isObject, isOdd, isPWA, isPastDate, isPositive, isPromise, isReactElement, isRegExp, isSame, isServer, isSpacedString, isString, isStringDate, isURL, isUUID, isValue, last, merge, moveToFirst, moveToLast, objectDiff, parseDate, pretty, promiseWithTimeout, randomAddress, randomAlphaNumericCode, randomArrayItem, randomBankAccount, randomBool, 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, randomPositiveInt, randomPositivePercentage, randomUUID, randomWord, sleep, toggleArray, toggleArrayValue, truncate, uniqueValues };
359
+ export { Coords, DateLike, DateRange, Datey, Dimensions, JS_MAX_DIGITS, Maybe, MaybePromise, MaybePromiseOrValue, MaybePromiseOrValueArray, NonUndefined, ObjectKey, ObjectKeys, ObjectValue, ObjectValues, PlainObject, Point, PrismaSelect, array, arrayDiff, arrayIntersection, capitalize, checkEnvVars, clamp, cleanSpaces, first, firstKey, firstValue, getEnumerableOwnPropertySymbols, getKeys, isArray, isBoolean, isBrowser, isClient, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyString, isEven, isFunction, isFutureDate, isInt, isJsDate, isKey, isNegative, isNumber, isNumeric, isNumericId, isObject, isOdd, isPWA, isPastDate, isPositive, isPromise, isReactElement, isRegExp, isSame, isServer, isSpacedString, isString, isStringDate, isURL, isUUID, isValue, last, merge, moveToFirst, moveToLast, objectDiff, parseDate, pretty, promiseWithTimeout, randomAddress, randomAlphaNumericCode, randomArrayItem, randomBankAccount, randomBlackJackCard, randomBlackJackDeck, randomBool, 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, randomPlayingCardSuit, randomPositiveInt, randomPositivePercentage, randomUUID, randomWord, shuffle, sleep, toggleArray, toggleArrayValue, truncate, uniqueValues };
@@ -1,112 +1,116 @@
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 Qt=(t,e)=>{let r=(e==null?void 0:e.processEnvKey)||"NODE_ENV",o=[],i=[],d=({envVarKey:c,envVarValue:s,validation:m})=>{m.oneOf&&(s?m.oneOf.includes(s)||o.push(`${c}=${s} is not allowed, use one of: ${m.oneOf.join(", ")}`):o.push(`${c} is missing`)),m.endsWith&&s&&(s!=null&&s.endsWith(m.endsWith)||o.push(`${c}=${s} is not allowed, must end in: ${m.endsWith}`)),m.startsWith&&(s?s!=null&&s.startsWith(m.startsWith)||o.push(`${c}=${s} is not allowed, must start with: ${m.startsWith}`):o.push(`${c} is missing`));},g=({envVarKey:c,envVarValue:s,rule:m})=>{switch(m){case"should":s||i.push(`${c} should be set`);break;case"shouldNot":s&&i.push(`${c} should not be set`);break;case"never":case!1:s&&o.push(`${c} is not allowed`);break;case"always":case!0:default:s||o.push(`${c} is missing`);break}};if(Object.entries(t).forEach(([c,s])=>{let m=process.env[c];p(s)?Object.entries(s).forEach(([k,y])=>{process.env[r]===k&&(p(y)?d({envVarValue:m,validation:y,envVarKey:c}):g({envVarValue:m,rule:y,envVarKey:c}));}):f(s)?s.forEach(y=>{process.env[r]===y&&!m&&o.push(`${c} is missing`);}):g({envVarValue:m,rule:s,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 ne=(t,e)=>N(t.filter(r=>!e.includes(r)).concat(e.filter(r=>!t.includes(r))));var ae=(t,e)=>N(t.filter(r=>e.includes(r)));var U=t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase();var pe=({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 F=new RegExp("\\p{Zs}","gu");var K=new RegExp("\\p{Zl}","gu");var H=new RegExp("\\p{Zp}","gu");var Ee=t=>t.replace(W," ").replace(F," ").replace(K," ").replace(H," ").trim().replace(/\s{2,}/g," ");var Ne=t=>t==null?void 0:t[0];var u=t=>Object.keys(t).concat(ft(t)),ft=t=>Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[];var _e=t=>u(t)[0];var De=t=>Object.values(t)[0];var Oe=t=>t==null?void 0:t[t.length-1];var Be=t=>Object.prototype.toString.call(t)==="[object Boolean]";var z=()=>typeof window=="undefined";var h=()=>!z();var Ue=h;var S=t=>typeof t=="string";var He=t=>S(t)&&/\S+@\S+\.\S+/.test(t);var G=t=>!!(t===void 0||t===null||bt(t)||yt(t)||St(t)),bt=t=>S(t)&&t.trim().length===0,St=t=>f(t)&&t.length===0,yt=t=>p(t)&&Object.keys(t).length===0;var O=t=>Object.prototype.toString.call(t)==="[object Function]";var R=t=>{let e=b(t);return !!e&&e>new Date};var T=t=>Object.prototype.toString.call(t)==="[object Date]"&&!isNaN(t);var C=(t,e)=>e.hasOwnProperty(t)&&e.propertyIsEnumerable(t);var _=t=>Number.isInteger(t),Qe=t=>_(t)&&!(t%2),tr=t=>_(t)&&!!(t%2),$=t=>_(t)&&t>0,er=t=>_(t)&&t<0,J=t=>Object.prototype.toString.apply(t)==="[object Number]"&&isFinite(t);var X=t=>t.indexOf(" ")>=0;var v=t=>J(t)?!0:!S(t)||X(t)?!1:!isNaN(parseFloat(t));var cr=t=>/^\d+$/.test(t)&&parseInt(t)>0;var B=t=>{let e=b(t);return !!e&&e<new Date};var lr=t=>t instanceof Promise;var br=()=>h()&&window.matchMedia("(display-mode: standalone)").matches;var At=typeof Symbol=="function"&&Symbol.for,xt=At?Symbol.for("react.element"):60103,yr=t=>t.$$typeof===xt;var xr=t=>Object.prototype.toString.call(t)==="[object RegExp]";var M=(t,e)=>{if(t===e)return !0;if(f(t)&&f(e))return t.length!==e.length?!1:t.every((r,o)=>M(r,e[o]));if(p(t)&&p(e)){let r=u(t);return r.length!==u(e).length?!1:r.every(o=>M(t[o],e[o]))}return O(t)&&O(e)?t.toString()===e.toString():!1};var Mr=t=>{let e=new Date(t);return T(e)};var Et=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"),Ir=t=>!!t&&Et.test(t);var Rr=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 P=(t,e)=>{let r={};return u(t).forEach(o=>{r[o]=p(t[o])?P({},t[o]):t[o];}),u(e).forEach(o=>{C(o,t)?r[o]=p(t[o])&&p(e[o])?P(t[o],e[o]):e[o]:r[o]=p(e[o])?P({},e[o]):e[o];}),r};var kr=(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 Wr=(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=(t,e)=>{var r={};let o=new Set([...u(t),...u(e)]);for(let i of o)M(e[i],t[i])||(r[i]={from:t[i],to:e[i]});return r};var b=t=>{if(G(t))return;let e=new Date(t);if(T(e))return e};function gt(){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 d=t.indexOf(this);~d?t.splice(d+1):t.push(this),~d?e.splice(d,1/0,o):e.push(o),~t.indexOf(i)&&(i=r.call(this,o,i));}else t.push(i);return i}}var vr=t=>JSON.stringify(t,gt(),2);var Yr=(t,e,r)=>{let o,i=new Promise((d,g)=>{o=setTimeout(()=>g(r!=null?r:new Error("Promise timed out")),e);});return Promise.race([t(),i]).finally(()=>{clearTimeout(o);})};var Zr=t=>new Promise(e=>{setTimeout(e,t);});var Nt=(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},eo=Nt;var no=(t,e,r="...")=>{if(!$(e))return t;let o=[...t];return o.length<=e?t:o.slice(0,e).join("")+r};var ht=[{city:"London",country:"United Kingdom",street:"Baker Street",line2:"Marylebone",number:"221B",zip:"NW1 6XE"},{city:"Birmingham",country:"United Kingdom",street:"Bordesley Street",number:"B1 1AA",zip:"B1 1AA"}],Tt=[{city:"New York",country:"United States",state:"NY",street:"Broadway",line2:"Manhattan",number:"42",zip:"10036"},{city:"Los Angeles",country:"United States",state:"CA",street:"Hollywood Boulevard",number:"6801",zip:"90028"}],Ct=[{city:"Paris",country:"France",street:"Rue de Rivoli",number:"75001",zip:"75001"},{city:"Berlin",country:"Germany",street:"Unter den Linden",line2:"Mitte",number:"10117",zip:"10117"},{city:"Rome",country:"Italy",street:"Via del Corso",number:"00186",zip:"00186"},{city:"Madrid",country:"Spain",street:"Gran V\xEDa",line2:"Sol",number:"28013",zip:"28013"}],_t=[{city:"Moscow",country:"Russia",street:"Tverskaya",number:"101000",zip:"101000"},{city:"Tokyo",country:"Japan",street:"Shinjuku",line2:"Shinjuku City",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",line2:"Haymarket",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"}],Y=[...ht,...Tt,...Ct,..._t];var a=(t=-100,e=100)=>(t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1)+t)),ao=(t=100)=>a(1,t),co=(t=-100)=>a(t,-1),mo=()=>a(-Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),po=()=>a(-Number.MAX_VALUE,Number.MAX_VALUE),Mt=({min:t,max:e}={})=>a(t!=null?t:-100,e!=null?e:100),uo=({min:t,max:e}={})=>a(t!=null?t:1,e!=null?e:100),lo=()=>Mt()+"%";var n=t=>t[a(0,t.length-1)];var xo=()=>n(Y);var Dt="123456789ABCDEFGHIJKLMNPQRSTUVWXYZ".split(""),ho=({length:t=6}={})=>{if(t<1)throw new Error("randomAlphaNumericCode: Length must be greater than 0.");return l(t,()=>n(Dt)).join("")};var V=["AD1200012030200359100100","BA391290079401028494","BE68539007547034","BG80BNBG96611020345678","FI2112345600000785","FO6264600001631634","FR1420041010050500013M02606","GB29NWBK60161331926819","GE29NB0000000101904917"];var It=[{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"},{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"}],Ot=[{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"},{accountHolderName:"Sally T King",accountNumber:"987654321098",accountType:"savings",bankAddress:"383 Madison Avenue, New York, NY 10179, USA",bankName:"JPMorgan Chase & Co.",routingNumber:"021000021"}],Rt=[{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"},{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"}],Bt=[{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"},{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"}],Z=[...It,...Ot,...Rt,...Bt];var Do=()=>n(Z);var Ro=()=>!!a(0,1);var wo=16,w=(t=-9,e=9,r)=>{let o=Math.random()*(e-t)+t;return q(r)?parseFloat(o.toFixed(r)):o};var ko=()=>({lat:Pt(),lng:wt()}),Pt=()=>w(-90,90),wt=()=>w(-180,180);var j=t=>new Date(new Date().getTime()+t),A=(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):j(-31536e7)),d=o||(r?new Date(r.getTime()+31536e7):j(31536e7));return new Date(a(i.getTime(),d.getTime()))},zo=(t,e)=>{let r=t||new Date(-864e13),o=e||new Date(864e13);return A(r,o)},Go=({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=b(t)||j(5*6e4);return A(r,e)},$o=({startDate:t,endDate:e}={})=>{t&&R(t)&&console.warn("randomPastDate: startDate must be in the past"),e&&R(e)&&console.warn("randomPastDate: endDate must be in the past");let r=b(e)||new Date;return A(t,r)},Jo=()=>{let t=A();return {endDate:A(t),startDate:t}};var Q=["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 tt=["Albatross","Dolphin","Elephant","Giraffe","Koala","Lion","Penguin","Squirrel","Tiger","Turtle","Whale","Zebra"],et=["Axe","Chisel","Drill","Hammer","Mallet","Pliers","Saw","Screwdriver","Wrench","Blowtorch","Crowbar","Ladder"],x=["Adrian","Albert","Alexander","Alice","Amanda","Amy","Benjamin","David","Emma","Esther","Olivia","Ruby","Sarah","Victoria"],E=["Anderson","Brown","Davis","Jackson","Johnson","Jones","Miller","Moore","Smith","Taylor","Thomas","White","Williams","Wilson"],jt=["\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"],kt=["\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"],Ut=["\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"],Wt=["\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"],Ft=["\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"],Kt=["\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"],rt=[...x,...jt,...Ut,...Ft],ot=[...E,...kt,...Wt,...Kt];var nt=()=>(n(x)+"."+n(E)).toLowerCase()+a(11,99);var on=()=>`${nt()}@${n(Q)}`;var it=["\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}"],st=["!","@","#","$","%","^","&","*"];var mn=()=>n(it);var at=t=>Object.keys(t).filter(e=>!v(e));var bn=t=>{let e=at(t);return n(e)};var ct=t=>{let e=[];return Object.values(t).forEach(r=>{C(r,t)&&!e.includes(r)&&e.push(t[r]);}),e};var gn=t=>{let e=ct(t);return n(e)};var Ht=["abide","abound","accept","accomplish","achieve","acquire","act","adapt","add","adjust","admire","admit","adopt","advance","advise","afford","agree","alert","allow","be","go","need","work"],zt=["courage","family","food","friend","fun","hope","justice","life","love","music","smile","time"],Gt=["absolute","compassionate","cozy","dull","enigmatic","fascinating","interesting","playful","remarkable","sunny","unforgettable","wonderful","predictable"],$t=["abnormally","aboard","absentmindedly","absolutely","absurdly","abundantly","abysmally","academically","acceleratedly","accentually","acceptably","accessibly","accidentally","accommodatingly"],Jt=["Pneumonoultramicroscopicsilicovolcanoconiosis","Floccinaucinihilipilification","Pseudopseudohypoparathyroidism","Hippopotomonstrosesquippedaliophobia","Antidisestablishmentarianism","Supercalifragilisticexpialidocious","Honorificabilitudinitatibus"];var mt=["AliceBlue","Aqua","Aquamarine","Azure","Beige","Bisque","Black","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","DarkSlateGray","DeepPink","Gold","Lime","Olive","Orchid","Salmon","Turquoise"],pt=[...Ht,...zt,...Gt,...$t,...Jt];var D=()=>n(pt);var ut=()=>U(l(a(8,16),()=>D()).join(" "))+".";var Xt=["png","jpg","jpeg","gif","svg","webp"],Ln=({name:t,extension:e}={})=>{if(typeof File=="undefined")return;let r=e||n(Xt);return new File([ut()],`${t||D()}.${r}`,{type:`image/${r}`})};var I=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];var Kn=()=>"#"+l(6,()=>n(I)).join("");var $n=()=>n(I);var lt=()=>n(mt);var Zn=()=>n(V);var ri=()=>l(4,()=>a(0,255).toString()).join(".");var si=()=>n([...tt,...et]),ai=()=>n(rt),ci=()=>n(ot),mi=()=>n(x)+" "+n(E);var di=({length:t=6}={})=>{if(t<1)throw new Error("randomNumericCode: Length must be greater than 0.");return l(t,(e,r)=>a(r?0:1,9)).join("")};var vt=1,dt=()=>vt++;var Ei=()=>lt()+n(st)+a(11,99);var hi=()=>{let t=dt().toString().padStart(15,"0"),e=t.substring(0,12);return `00000000-0000-1000-8${t.substring(12,15)}-${e}`};
4
+ var Nt=Object.defineProperty,ht=Object.defineProperties;var Tt=Object.getOwnPropertyDescriptors;var K=Object.getOwnPropertySymbols;var Ct=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable;var F=(t,e,r)=>e in t?Nt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,v=(t,e)=>{for(var r in e||(e={}))Ct.call(e,r)&&F(t,r,e[r]);if(K)for(var r of K(e))_t.call(e,r)&&F(t,r,e[r]);return t},H=(t,e)=>ht(t,Tt(e));var f=t=>Array.isArray(t);var p=t=>Object.prototype.toString.call(t)==="[object Object]";var Dt=["oneOf","endsWith","startsWith"],fe=(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(([y,A])=>{Dt.includes(y)&&l({envVarValue:m,validation:{[y]:A},envVarKey:c});}),Object.entries(a).forEach(([y,A])=>{process.env[r]===y&&(p(A)?l({envVarValue:m,validation:A,envVarKey:c}):N({envVarValue:m,rule:A,envVarKey:c}));})):f(a)?a.forEach(A=>{process.env[r]===A&&!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 xe=(t,e)=>h(t.filter(r=>!e.includes(r)).concat(e.filter(r=>!t.includes(r))));var Ne=(t,e)=>h(t.filter(r=>e.includes(r)));var z=t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase();var Ce=({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 G=new RegExp(/\p{C}/,"gu");var J=new RegExp("\\p{Zs}","gu");var $=new RegExp("\\p{Zl}","gu");var X=new RegExp("\\p{Zp}","gu");var we=t=>t.replace(G," ").replace(J," ").replace($," ").replace(X," ").trim().replace(/\s{2,}/g," ");var je=t=>t==null?void 0:t[0];var u=t=>Object.keys(t).concat(It(t)),It=t=>Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[];var Fe=t=>u(t)[0];var He=t=>Object.values(t)[0];var Ge=t=>t==null?void 0:t[t.length-1];var $e=t=>Object.prototype.toString.call(t)==="[object Boolean]";var q=()=>typeof window=="undefined";var T=()=>!q();var Qe=T;var S=t=>typeof t=="string";var or=t=>S(t)&&/\S+@\S+\.\S+/.test(t);var Y=t=>!!(t===void 0||t===null||Mt(t)||Ot(t)||Rt(t)),Mt=t=>S(t)&&t.trim().length===0,Rt=t=>f(t)&&t.length===0,Ot=t=>p(t)&&Object.keys(t).length===0;var O=t=>Object.prototype.toString.call(t)==="[object Function]";var B=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 D=t=>Number.isInteger(t),fr=t=>D(t)&&!(t%2),br=t=>D(t)&&!!(t%2),V=t=>D(t)&&t>0,Ar=t=>D(t)&&t<0,Z=t=>Object.prototype.toString.apply(t)==="[object Number]"&&isFinite(t);var Q=t=>t.indexOf(" ")>=0;var tt=t=>Z(t)?!0:!S(t)||Q(t)?!1:!isNaN(parseFloat(t));var hr=t=>/^\d+$/.test(t)&&parseInt(t)>0;var P=t=>{let e=b(t);return !!e&&e<new Date};var Dr=t=>t instanceof Promise;var Rr=()=>T()&&window.matchMedia("(display-mode: standalone)").matches;var Bt=typeof Symbol=="function"&&Symbol.for,Pt=Bt?Symbol.for("react.element"):60103,Br=t=>t.$$typeof===Pt;var Lr=t=>Object.prototype.toString.call(t)==="[object RegExp]";var I=(t,e)=>{if(t===e)return !0;if(f(t)&&f(e))return t.length!==e.length?!1:t.every((r,o)=>I(r,e[o]));if(p(t)&&p(e)){let r=u(t);return r.length!==u(e).length?!1:r.every(o=>I(t[o],e[o]))}return O(t)&&O(e)?t.toString()===e.toString():!1};var vr=t=>{let e=new Date(t);return C(e)};var Lt=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"),zr=t=>!!t&&Lt.test(t);var Jr=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 et=t=>t!=null&&!Number.isNaN(t);var L=(t,e)=>{let r={};return u(t).forEach(o=>{r[o]=p(t[o])?L({},t[o]):t[o];}),u(e).forEach(o=>{_(o,t)?r[o]=p(t[o])&&p(e[o])?L(t[o],e[o]):e[o]:r[o]=p(e[o])?L({},e[o]):e[o];}),r};var Zr=(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 to=(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 no=(t,e)=>{var r={};let o=new Set([...u(t),...u(e)]);for(let i of o)I(e[i],t[i])||(r[i]={from:t[i],to:e[i]});return r};var b=t=>{if(Y(t))return;let e=new Date(t);if(C(e))return e};function wt(){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 mo=t=>JSON.stringify(t,wt(),2);var uo=(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 rt=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 bo=t=>new Promise(e=>{setTimeout(e,t);});var kt=(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},yo=kt;var Eo=(t,e,r="...")=>{if(!V(e))return t;let o=[...t];return o.length<=e?t:o.slice(0,e).join("")+r};var jt=[{city:"London",country:"United Kingdom",street:"Baker Street",line2:"Marylebone",number:"221B",zip:"NW1 6XE"},{city:"Birmingham",country:"United Kingdom",street:"Bordesley Street",number:"B1 1AA",zip:"B1 1AA"}],Ut=[{city:"New York",country:"United States",state:"NY",street:"Broadway",line2:"Manhattan",number:"42",zip:"10036"},{city:"Los Angeles",country:"United States",state:"CA",street:"Hollywood Boulevard",number:"6801",zip:"90028"}],Wt=[{city:"Paris",country:"France",street:"Rue de Rivoli",number:"75001",zip:"75001"},{city:"Berlin",country:"Germany",street:"Unter den Linden",line2:"Mitte",number:"10117",zip:"10117"},{city:"Rome",country:"Italy",street:"Via del Corso",number:"00186",zip:"00186"},{city:"Madrid",country:"Spain",street:"Gran V\xEDa",line2:"Sol",number:"28013",zip:"28013"}],Kt=[{city:"Moscow",country:"Russia",street:"Tverskaya",number:"101000",zip:"101000"},{city:"Tokyo",country:"Japan",street:"Shinjuku",line2:"Shinjuku City",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",line2:"Haymarket",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"}],ot=[...jt,...Ut,...Wt,...Kt];var s=(t=-100,e=100)=>(t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1)+t)),To=(t=100)=>s(1,t),Co=(t=-100)=>s(t,-1),_o=()=>s(-Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),Do=()=>s(-Number.MAX_VALUE,Number.MAX_VALUE),Ft=({min:t,max:e}={})=>s(t!=null?t:-100,e!=null?e:100),Io=({min:t,max:e}={})=>s(t!=null?t:1,e!=null?e:100),Mo=()=>Ft()+"%";var n=t=>t[s(0,t.length-1)];var wo=()=>n(ot);var vt="123456789ABCDEFGHIJKLMNPQRSTUVWXYZ".split(""),Wo=({length:t=6}={})=>{if(t<1)throw new Error("randomAlphaNumericCode: Length must be greater than 0.");return d(t,()=>n(vt)).join("")};var nt=["AD1200012030200359100100","BA391290079401028494","BE68539007547034","BG80BNBG96611020345678","FI2112345600000785","FO6264600001631634","FR1420041010050500013M02606","GB29NWBK60161331926819","GE29NB0000000101904917"];var Ht=[{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"},{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"}],zt=[{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"},{accountHolderName:"Sally T King",accountNumber:"987654321098",accountType:"savings",bankAddress:"383 Madison Avenue, New York, NY 10179, USA",bankName:"JPMorgan Chase & Co.",routingNumber:"021000021"}],Gt=[{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"},{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"}],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"},{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"}],it=[...Ht,...zt,...Gt,...Jt];var zo=()=>n(it);var $o=()=>!!s(0,1);var Yo=16,w=(t=-9,e=9,r)=>{let o=Math.random()*(e-t)+t;return et(r)?parseFloat(o.toFixed(r)):o};var Qo=()=>({lat:$t(),lng:Xt()}),$t=()=>w(-90,90),Xt=()=>w(-180,180);var j=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):j(-31536e7)),l=o||(r?new Date(r.getTime()+31536e7):j(31536e7));return new Date(s(i.getTime(),l.getTime()))},an=(t,e)=>{let r=t||new Date(-864e13),o=e||new Date(864e13);return x(r,o)},sn=({startDate:t,endDate:e}={})=>{t&&P(t)&&console.warn("randomFutureDate: startDate must be in the future"),e&&P(e)&&console.warn("randomFutureDate: endDate must be in the future");let r=b(t)||j(5*6e4);return x(r,e)},cn=({startDate:t,endDate:e}={})=>{t&&B(t)&&console.warn("randomPastDate: startDate must be in the past"),e&&B(e)&&console.warn("randomPastDate: endDate must be in the past");let r=b(e)||new Date;return x(t,r)},mn=()=>{let t=x();return {endDate:x(t),startDate:t}};var at=["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 st=["Albatross","Dolphin","Elephant","Giraffe","Koala","Lion","Penguin","Squirrel","Tiger","Turtle","Whale","Zebra"],ct=["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"],E=["Anderson","Brown","Davis","Jackson","Johnson","Jones","Miller","Moore","Smith","Taylor","Thomas","White","Williams","Wilson"],Yt=["\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"],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"],Qt=["\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"],te=["\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"],ee=["\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"],mt=[...g,...Yt,...Zt,...te],pt=[...E,...Vt,...Qt,...ee];var ut=()=>(n(g)+"."+n(E)).toLowerCase()+s(11,99);var gn=()=>`${ut()}@${n(at)}`;var lt=["\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}"],dt=["!","@","#","$","%","^","&","*"];var Cn=()=>n(lt);var ft=t=>Object.keys(t).filter(e=>!tt(e));var On=t=>{let e=ft(t);return n(e)};var bt=t=>{let e=[];return Object.values(t).forEach(r=>{_(r,t)&&!e.includes(r)&&e.push(t[r]);}),e};var jn=t=>{let e=bt(t);return n(e)};var re=["abide","abound","accept","accomplish","achieve","acquire","act","adapt","add","adjust","admire","admit","adopt","advance","advise","afford","agree","alert","allow","be","go","need","work"],oe=["courage","family","food","friend","fun","hope","justice","life","love","music","smile","time"],ne=["absolute","compassionate","cozy","dull","enigmatic","fascinating","interesting","playful","remarkable","sunny","unforgettable","wonderful","predictable"],ie=["abnormally","aboard","absentmindedly","absolutely","absurdly","abundantly","abysmally","academically","acceleratedly","accentually","acceptably","accessibly","accidentally","accommodatingly"],ae=["Pneumonoultramicroscopicsilicovolcanoconiosis","Floccinaucinihilipilification","Pseudopseudohypoparathyroidism","Hippopotomonstrosesquippedaliophobia","Antidisestablishmentarianism","Supercalifragilisticexpialidocious","Honorificabilitudinitatibus"];var At=["AliceBlue","Aqua","Aquamarine","Azure","Beige","Bisque","Black","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","DarkSlateGray","DeepPink","Gold","Lime","Olive","Orchid","Salmon","Turquoise"],St=[...re,...oe,...ne,...ie,...ae];var M=()=>n(St);var yt=()=>z(d(s(8,16),()=>M()).join(" "))+".";var se=["png","jpg","jpeg","gif","svg","webp"],Vn=({name:t,extension:e}={})=>{if(typeof File=="undefined")return;let r=e||n(se);return new File([yt()],`${t||M()}.${r}`,{type:`image/${r}`})};var R=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];var oi=()=>"#"+d(6,()=>n(R)).join("");var si=()=>n(R);var xt=()=>n(At);var fi=()=>n(nt);var yi=()=>d(4,()=>s(0,255).toString()).join(".");var Ni=()=>n([...st,...ct]),hi=()=>n(mt),Ti=()=>n(pt),Ci=()=>n(g)+" "+n(E);var Mi=({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 ce=1,gt=()=>ce++;var ki=()=>xt()+n(dt)+s(11,99);var Wi=()=>{let t=gt().toString().padStart(15,"0"),e=t.substring(0,12);return `00000000-0000-1000-8${t.substring(12,15)}-${e}`};var U=["\u2660","\u2665","\u2666","\u2663"],W=[{rank:"A",value:[1,11]},{rank:"K",value:10},{rank:"Q",value:10},{rank:"J",value:10},{rank:"10",value:10},{rank:"9",value:9},{rank:"8",value:8},{rank:"7",value:7},{rank:"6",value:6},{rank:"5",value:5},{rank:"4",value:4},{rank:"3",value:3},{rank:"2",value:2}],Et=W.reduce((t,e)=>(t.push(...U.map(r=>H(v({},e),{suit:r}))),t),[]);var Ji=()=>n(U),$i=()=>n(W),Xi=()=>rt(Et);
5
5
 
6
- exports.JS_MAX_DIGITS = wo;
7
- exports.array = l;
8
- exports.arrayDiff = ne;
9
- exports.arrayIntersection = ae;
10
- exports.capitalize = U;
11
- exports.checkEnvVars = Qt;
12
- exports.clamp = pe;
13
- exports.cleanSpaces = Ee;
14
- exports.first = Ne;
15
- exports.firstKey = _e;
16
- exports.firstValue = De;
17
- exports.getEnumerableOwnPropertySymbols = ft;
6
+ exports.JS_MAX_DIGITS = Yo;
7
+ exports.array = d;
8
+ exports.arrayDiff = xe;
9
+ exports.arrayIntersection = Ne;
10
+ exports.capitalize = z;
11
+ exports.checkEnvVars = fe;
12
+ exports.clamp = Ce;
13
+ exports.cleanSpaces = we;
14
+ exports.first = je;
15
+ exports.firstKey = Fe;
16
+ exports.firstValue = He;
17
+ exports.getEnumerableOwnPropertySymbols = It;
18
18
  exports.getKeys = u;
19
19
  exports.isArray = f;
20
- exports.isBoolean = Be;
21
- exports.isBrowser = Ue;
22
- exports.isClient = h;
23
- exports.isEmail = He;
24
- exports.isEmpty = G;
25
- exports.isEmptyArray = St;
26
- exports.isEmptyObject = yt;
27
- exports.isEmptyString = bt;
28
- exports.isEven = Qe;
20
+ exports.isBoolean = $e;
21
+ exports.isBrowser = Qe;
22
+ exports.isClient = T;
23
+ exports.isEmail = or;
24
+ exports.isEmpty = Y;
25
+ exports.isEmptyArray = Rt;
26
+ exports.isEmptyObject = Ot;
27
+ exports.isEmptyString = Mt;
28
+ exports.isEven = fr;
29
29
  exports.isFunction = O;
30
- exports.isFutureDate = R;
31
- exports.isInt = _;
32
- exports.isJsDate = T;
33
- exports.isKey = C;
34
- exports.isNegative = er;
35
- exports.isNumber = J;
36
- exports.isNumeric = v;
37
- exports.isNumericId = cr;
30
+ exports.isFutureDate = B;
31
+ exports.isInt = D;
32
+ exports.isJsDate = C;
33
+ exports.isKey = _;
34
+ exports.isNegative = Ar;
35
+ exports.isNumber = Z;
36
+ exports.isNumeric = tt;
37
+ exports.isNumericId = hr;
38
38
  exports.isObject = p;
39
- exports.isOdd = tr;
40
- exports.isPWA = br;
41
- exports.isPastDate = B;
42
- exports.isPositive = $;
43
- exports.isPromise = lr;
44
- exports.isReactElement = yr;
45
- exports.isRegExp = xr;
46
- exports.isSame = M;
47
- exports.isServer = z;
48
- exports.isSpacedString = X;
39
+ exports.isOdd = br;
40
+ exports.isPWA = Rr;
41
+ exports.isPastDate = P;
42
+ exports.isPositive = V;
43
+ exports.isPromise = Dr;
44
+ exports.isReactElement = Br;
45
+ exports.isRegExp = Lr;
46
+ exports.isSame = I;
47
+ exports.isServer = q;
48
+ exports.isSpacedString = Q;
49
49
  exports.isString = S;
50
- exports.isStringDate = Mr;
51
- exports.isURL = Ir;
52
- exports.isUUID = Rr;
53
- exports.isValue = q;
54
- exports.last = Oe;
55
- exports.merge = P;
56
- exports.moveToFirst = kr;
57
- exports.moveToLast = Wr;
58
- exports.objectDiff = zr;
50
+ exports.isStringDate = vr;
51
+ exports.isURL = zr;
52
+ exports.isUUID = Jr;
53
+ exports.isValue = et;
54
+ exports.last = Ge;
55
+ exports.merge = L;
56
+ exports.moveToFirst = Zr;
57
+ exports.moveToLast = to;
58
+ exports.objectDiff = no;
59
59
  exports.parseDate = b;
60
- exports.pretty = vr;
61
- exports.promiseWithTimeout = Yr;
62
- exports.randomAddress = xo;
63
- exports.randomAlphaNumericCode = ho;
60
+ exports.pretty = mo;
61
+ exports.promiseWithTimeout = uo;
62
+ exports.randomAddress = wo;
63
+ exports.randomAlphaNumericCode = Wo;
64
64
  exports.randomArrayItem = n;
65
- exports.randomBankAccount = Do;
66
- exports.randomBool = Ro;
67
- exports.randomCoords = ko;
68
- exports.randomDate = A;
69
- exports.randomDateRange = Jo;
70
- exports.randomEmail = on;
71
- exports.randomEmoji = mn;
72
- exports.randomEnumKey = bn;
73
- exports.randomEnumValue = gn;
74
- exports.randomFile = Ln;
75
- exports.randomFirstName = ai;
65
+ exports.randomBankAccount = zo;
66
+ exports.randomBlackJackCard = $i;
67
+ exports.randomBlackJackDeck = Xi;
68
+ exports.randomBool = $o;
69
+ exports.randomCoords = Qo;
70
+ exports.randomDate = x;
71
+ exports.randomDateRange = mn;
72
+ exports.randomEmail = gn;
73
+ exports.randomEmoji = Cn;
74
+ exports.randomEnumKey = On;
75
+ exports.randomEnumValue = jn;
76
+ exports.randomFile = Vn;
77
+ exports.randomFirstName = hi;
76
78
  exports.randomFloat = w;
77
- exports.randomFormattedPercentage = lo;
78
- exports.randomFullName = mi;
79
- exports.randomFutureDate = Go;
80
- exports.randomHandle = nt;
81
- exports.randomHexColor = Kn;
82
- exports.randomHexValue = $n;
83
- exports.randomHtmlColorName = lt;
84
- exports.randomIBAN = Zn;
85
- exports.randomIP = ri;
86
- exports.randomInt = a;
87
- exports.randomLastName = ci;
88
- exports.randomLat = Pt;
89
- exports.randomLng = wt;
90
- exports.randomMaxDate = zo;
91
- exports.randomMaxInt = po;
92
- exports.randomMaxSafeInt = mo;
93
- exports.randomName = si;
94
- exports.randomNegativeInt = co;
95
- exports.randomNumericCode = di;
96
- exports.randomNumericId = dt;
97
- exports.randomParagraph = ut;
98
- exports.randomPassword = Ei;
99
- exports.randomPastDate = $o;
100
- exports.randomPercentage = Mt;
101
- exports.randomPositiveInt = ao;
102
- exports.randomPositivePercentage = uo;
103
- exports.randomUUID = hi;
104
- exports.randomWord = D;
105
- exports.sleep = Zr;
106
- exports.toggleArray = eo;
107
- exports.toggleArrayValue = Nt;
108
- exports.truncate = no;
109
- exports.uniqueValues = N;
79
+ exports.randomFormattedPercentage = Mo;
80
+ exports.randomFullName = Ci;
81
+ exports.randomFutureDate = sn;
82
+ exports.randomHandle = ut;
83
+ exports.randomHexColor = oi;
84
+ exports.randomHexValue = si;
85
+ exports.randomHtmlColorName = xt;
86
+ exports.randomIBAN = fi;
87
+ exports.randomIP = yi;
88
+ exports.randomInt = s;
89
+ exports.randomLastName = Ti;
90
+ exports.randomLat = $t;
91
+ exports.randomLng = Xt;
92
+ exports.randomMaxDate = an;
93
+ exports.randomMaxInt = Do;
94
+ exports.randomMaxSafeInt = _o;
95
+ exports.randomName = Ni;
96
+ exports.randomNegativeInt = Co;
97
+ exports.randomNumericCode = Mi;
98
+ exports.randomNumericId = gt;
99
+ exports.randomParagraph = yt;
100
+ exports.randomPassword = ki;
101
+ exports.randomPastDate = cn;
102
+ exports.randomPercentage = Ft;
103
+ exports.randomPlayingCardSuit = Ji;
104
+ exports.randomPositiveInt = To;
105
+ exports.randomPositivePercentage = Io;
106
+ exports.randomUUID = Wi;
107
+ exports.randomWord = M;
108
+ exports.shuffle = rt;
109
+ exports.sleep = bo;
110
+ exports.toggleArray = yo;
111
+ exports.toggleArrayValue = kt;
112
+ exports.truncate = Eo;
113
+ exports.uniqueValues = h;
110
114
 
111
115
  return exports;
112
116