deverything 0.25.1 → 0.26.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/dist/index.d.ts CHANGED
@@ -129,6 +129,14 @@ declare const pretty: (arg?: any) => string;
129
129
 
130
130
  declare const promiseWithTimeout: <T>(promise: () => Promise<T>, timeoutMs: number, error?: Error) => Promise<T>;
131
131
 
132
+ /**
133
+ * Serialize an object to a string, sorting the keys
134
+ *
135
+ * @example
136
+ * serializeObject({ b: 1, a: 2 }) // '{"a":1,"b":2}'
137
+ */
138
+ declare const serializeObject: (obj: PlainObject) => string;
139
+
132
140
  declare const shuffle: <T>(array: T[]) => T[];
133
141
 
134
142
  declare const sleep: (timeMs: number) => Promise<void>;
@@ -149,6 +157,7 @@ declare const uniqueValues: (arr: any[]) => any[];
149
157
  type Address = {
150
158
  city: string;
151
159
  country: string;
160
+ countryCode: string;
152
161
  state?: string;
153
162
  street: string;
154
163
  line2?: string;
@@ -362,4 +371,4 @@ declare const isUUID: (arg: string) => boolean;
362
371
 
363
372
  declare const isValue: (arg?: Maybe<any>) => boolean;
364
373
 
365
- 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, normalizeNumber, 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 };
374
+ 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, normalizeNumber, 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, serializeObject, shuffle, sleep, toggleArray, toggleArrayValue, truncate, uniqueValues };
@@ -1,13 +1,13 @@
1
1
  (function (exports) {
2
2
  'use strict';
3
3
 
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},z=(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 H=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 ze=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"),Hr=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 ro=({value:t,max:e,min:r})=>t>=e?1:t<=r?0:(t-r)/(e-r);var ao=(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 uo=t=>JSON.stringify(t,wt(),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 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 So=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},go=kt;var ho=(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)),_o=(t=100)=>s(1,t),Do=(t=-100)=>s(t,-1),Io=()=>s(-Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),Mo=()=>s(-Number.MAX_VALUE,Number.MAX_VALUE),Ft=({min:t,max:e}={})=>s(t!=null?t:-100,e!=null?e:100),Ro=({min:t,max:e}={})=>s(t!=null?t:1,e!=null?e:100),Oo=()=>Ft()+"%";var n=t=>t[s(0,t.length-1)];var jo=()=>n(ot);var vt="123456789ABCDEFGHIJKLMNPQRSTUVWXYZ".split(""),Fo=({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 zt=[{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"}],Ht=[{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=[...zt,...Ht,...Gt,...Jt];var Jo=()=>n(it);var qo=()=>!!s(0,1);var Zo=16,w=(t=-9,e=9,r)=>{let o=Math.random()*(e-t)+t;return et(r)?parseFloat(o.toFixed(r)):o};var en=()=>({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()))},cn=(t,e)=>{let r=t||new Date(-864e13),o=e||new Date(864e13);return x(r,o)},mn=({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)},pn=({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)},un=()=>{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 Nn=()=>`${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 Dn=()=>n(lt);var ft=t=>Object.keys(t).filter(e=>!tt(e));var Pn=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 Wn=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=()=>H(d(s(8,16),()=>M()).join(" "))+".";var se=["png","jpg","jpeg","gif","svg","webp"],Qn=({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 ii=()=>"#"+d(6,()=>n(R)).join("");var mi=()=>n(R);var xt=()=>n(At);var Ai=()=>n(nt);var gi=()=>d(4,()=>s(0,255).toString()).join(".");var Ti=()=>n([...st,...ct]),Ci=()=>n(mt),_i=()=>n(pt),Di=()=>n(g)+" "+n(E);var Oi=({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 Ui=()=>xt()+n(dt)+s(11,99);var Fi=()=>{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=>z(v({},e),{suit:r}))),t),[]);var Xi=()=>n(U),qi=()=>n(W),Yi=()=>rt(Et);
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},z=(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(([S,y])=>{Dt.includes(S)&&l({envVarValue:m,validation:{[S]:y},envVarKey:c});}),Object.entries(a).forEach(([S,y])=>{process.env[r]===S&&(p(y)?l({envVarValue:m,validation:y,envVarKey:c}):N({envVarValue:m,rule:y,envVarKey:c}));})):f(a)?a.forEach(y=>{process.env[r]===y&&!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 G=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 H=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(H," ").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 ze=t=>Object.values(t)[0];var He=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 A=t=>typeof t=="string";var or=t=>A(t)&&/\S+@\S+\.\S+/.test(t);var Y=t=>!!(t===void 0||t===null||Mt(t)||Rt(t)||Ot(t)),Mt=t=>A(t)&&t.trim().length===0,Ot=t=>f(t)&&t.length===0,Rt=t=>p(t)&&Object.keys(t).length===0;var R=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,yr=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:!A(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 Or=()=>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 R(t)&&R(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"),Gr=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 ro=({value:t,max:e,min:r})=>t>=e?1:t<=r?0:(t-r)/(e-r);var ao=(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 uo=t=>JSON.stringify(t,wt(),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 yo=t=>JSON.stringify(t,Object.keys(t).sort());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 xo=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},No=kt;var Co=(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",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"}],Ut=[{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"}],Wt=[{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"}],Kt=[{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"}],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)),Io=(t=100)=>s(1,t),Mo=(t=-100)=>s(t,-1),Oo=()=>s(-Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),Ro=()=>s(-Number.MAX_VALUE,Number.MAX_VALUE),Ft=({min:t,max:e}={})=>s(t!=null?t:-100,e!=null?e:100),Bo=({min:t,max:e}={})=>s(t!=null?t:1,e!=null?e:100),Po=()=>Ft()+"%";var n=t=>t[s(0,t.length-1)];var Wo=()=>n(ot);var vt="123456789ABCDEFGHIJKLMNPQRSTUVWXYZ".split(""),zo=({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 zt=[{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"}],Gt=[{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"}],Ht=[{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=[...zt,...Gt,...Ht,...Jt];var Xo=()=>n(it);var Vo=()=>!!s(0,1);var tn=16,w=(t=-9,e=9,r)=>{let o=Math.random()*(e-t)+t;return et(r)?parseFloat(o.toFixed(r)):o};var on=()=>({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()))},pn=(t,e)=>{let r=t||new Date(-864e13),o=e||new Date(864e13);return x(r,o)},un=({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)},ln=({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)},dn=()=>{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 Tn=()=>`${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 Mn=()=>n(lt);var ft=t=>Object.keys(t).filter(e=>!tt(e));var wn=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 Fn=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 yt=["AliceBlue","Aqua","Aquamarine","Azure","Beige","Bisque","Black","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","DarkSlateGray","DeepPink","Gold","Lime","Olive","Orchid","Salmon","Turquoise"],At=[...re,...oe,...ne,...ie,...ae];var M=()=>n(At);var St=()=>G(d(s(8,16),()=>M()).join(" "))+".";var se=["png","jpg","jpeg","gif","svg","webp"],ei=({name:t,extension:e}={})=>{if(typeof File=="undefined")return;let r=e||n(se);return new File([St()],`${t||M()}.${r}`,{type:`image/${r}`})};var O=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];var si=()=>"#"+d(6,()=>n(O)).join("");var ui=()=>n(O);var xt=()=>n(yt);var Si=()=>n(nt);var Ni=()=>d(4,()=>s(0,255).toString()).join(".");var _i=()=>n([...st,...ct]),Di=()=>n(mt),Ii=()=>n(pt),Mi=()=>n(g)+" "+n(E);var Pi=({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 zi=()=>{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=>z(v({},e),{suit:r}))),t),[]);var Yi=()=>n(U),Vi=()=>n(W),Zi=()=>rt(Et);
5
5
 
6
- exports.JS_MAX_DIGITS = Zo;
6
+ exports.JS_MAX_DIGITS = tn;
7
7
  exports.array = d;
8
8
  exports.arrayDiff = xe;
9
9
  exports.arrayIntersection = Ne;
10
- exports.capitalize = H;
10
+ exports.capitalize = G;
11
11
  exports.checkEnvVars = fe;
12
12
  exports.clamp = Ce;
13
13
  exports.cleanSpaces = we;
@@ -22,22 +22,22 @@
22
22
  exports.isClient = T;
23
23
  exports.isEmail = or;
24
24
  exports.isEmpty = Y;
25
- exports.isEmptyArray = Rt;
26
- exports.isEmptyObject = Ot;
25
+ exports.isEmptyArray = Ot;
26
+ exports.isEmptyObject = Rt;
27
27
  exports.isEmptyString = Mt;
28
28
  exports.isEven = fr;
29
- exports.isFunction = O;
29
+ exports.isFunction = R;
30
30
  exports.isFutureDate = B;
31
31
  exports.isInt = D;
32
32
  exports.isJsDate = C;
33
33
  exports.isKey = _;
34
- exports.isNegative = Ar;
34
+ exports.isNegative = yr;
35
35
  exports.isNumber = Z;
36
36
  exports.isNumeric = tt;
37
37
  exports.isNumericId = hr;
38
38
  exports.isObject = p;
39
39
  exports.isOdd = br;
40
- exports.isPWA = Rr;
40
+ exports.isPWA = Or;
41
41
  exports.isPastDate = P;
42
42
  exports.isPositive = V;
43
43
  exports.isPromise = Dr;
@@ -46,12 +46,12 @@
46
46
  exports.isSame = I;
47
47
  exports.isServer = q;
48
48
  exports.isSpacedString = Q;
49
- exports.isString = S;
49
+ exports.isString = A;
50
50
  exports.isStringDate = vr;
51
- exports.isURL = Hr;
51
+ exports.isURL = Gr;
52
52
  exports.isUUID = Jr;
53
53
  exports.isValue = et;
54
- exports.last = Ge;
54
+ exports.last = He;
55
55
  exports.merge = L;
56
56
  exports.moveToFirst = Zr;
57
57
  exports.moveToLast = to;
@@ -60,57 +60,58 @@
60
60
  exports.parseDate = b;
61
61
  exports.pretty = uo;
62
62
  exports.promiseWithTimeout = fo;
63
- exports.randomAddress = jo;
64
- exports.randomAlphaNumericCode = Fo;
63
+ exports.randomAddress = Wo;
64
+ exports.randomAlphaNumericCode = zo;
65
65
  exports.randomArrayItem = n;
66
- exports.randomBankAccount = Jo;
67
- exports.randomBlackJackCard = qi;
68
- exports.randomBlackJackDeck = Yi;
69
- exports.randomBool = qo;
70
- exports.randomCoords = en;
66
+ exports.randomBankAccount = Xo;
67
+ exports.randomBlackJackCard = Vi;
68
+ exports.randomBlackJackDeck = Zi;
69
+ exports.randomBool = Vo;
70
+ exports.randomCoords = on;
71
71
  exports.randomDate = x;
72
- exports.randomDateRange = un;
73
- exports.randomEmail = Nn;
74
- exports.randomEmoji = Dn;
75
- exports.randomEnumKey = Pn;
76
- exports.randomEnumValue = Wn;
77
- exports.randomFile = Qn;
78
- exports.randomFirstName = Ci;
72
+ exports.randomDateRange = dn;
73
+ exports.randomEmail = Tn;
74
+ exports.randomEmoji = Mn;
75
+ exports.randomEnumKey = wn;
76
+ exports.randomEnumValue = Fn;
77
+ exports.randomFile = ei;
78
+ exports.randomFirstName = Di;
79
79
  exports.randomFloat = w;
80
- exports.randomFormattedPercentage = Oo;
81
- exports.randomFullName = Di;
82
- exports.randomFutureDate = mn;
80
+ exports.randomFormattedPercentage = Po;
81
+ exports.randomFullName = Mi;
82
+ exports.randomFutureDate = un;
83
83
  exports.randomHandle = ut;
84
- exports.randomHexColor = ii;
85
- exports.randomHexValue = mi;
84
+ exports.randomHexColor = si;
85
+ exports.randomHexValue = ui;
86
86
  exports.randomHtmlColorName = xt;
87
- exports.randomIBAN = Ai;
88
- exports.randomIP = gi;
87
+ exports.randomIBAN = Si;
88
+ exports.randomIP = Ni;
89
89
  exports.randomInt = s;
90
- exports.randomLastName = _i;
90
+ exports.randomLastName = Ii;
91
91
  exports.randomLat = $t;
92
92
  exports.randomLng = Xt;
93
- exports.randomMaxDate = cn;
94
- exports.randomMaxInt = Mo;
95
- exports.randomMaxSafeInt = Io;
96
- exports.randomName = Ti;
97
- exports.randomNegativeInt = Do;
98
- exports.randomNumericCode = Oi;
93
+ exports.randomMaxDate = pn;
94
+ exports.randomMaxInt = Ro;
95
+ exports.randomMaxSafeInt = Oo;
96
+ exports.randomName = _i;
97
+ exports.randomNegativeInt = Mo;
98
+ exports.randomNumericCode = Pi;
99
99
  exports.randomNumericId = gt;
100
- exports.randomParagraph = yt;
101
- exports.randomPassword = Ui;
102
- exports.randomPastDate = pn;
100
+ exports.randomParagraph = St;
101
+ exports.randomPassword = Ki;
102
+ exports.randomPastDate = ln;
103
103
  exports.randomPercentage = Ft;
104
- exports.randomPlayingCardSuit = Xi;
105
- exports.randomPositiveInt = _o;
106
- exports.randomPositivePercentage = Ro;
107
- exports.randomUUID = Fi;
104
+ exports.randomPlayingCardSuit = Yi;
105
+ exports.randomPositiveInt = Io;
106
+ exports.randomPositivePercentage = Bo;
107
+ exports.randomUUID = zi;
108
108
  exports.randomWord = M;
109
+ exports.serializeObject = yo;
109
110
  exports.shuffle = rt;
110
- exports.sleep = So;
111
- exports.toggleArray = go;
111
+ exports.sleep = xo;
112
+ exports.toggleArray = No;
112
113
  exports.toggleArrayValue = kt;
113
- exports.truncate = ho;
114
+ exports.truncate = Co;
114
115
  exports.uniqueValues = h;
115
116
 
116
117
  return exports;