codeforlife 2.14.9 → 2.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/{Countdown-B8t-gwPp.cjs → Countdown-BlWW6v4w.cjs} +2 -2
  2. package/dist/{Countdown-B8t-gwPp.cjs.map → Countdown-BlWW6v4w.cjs.map} +1 -1
  3. package/dist/{Countdown-B4alF-zt.js → Countdown-CawuOdYd.js} +2 -2
  4. package/dist/{Countdown-B4alF-zt.js.map → Countdown-CawuOdYd.js.map} +1 -1
  5. package/dist/{LinkButton-EQvTNtbi.js → LinkButton-BeFBbR7x.js} +2 -2
  6. package/dist/{LinkButton-EQvTNtbi.js.map → LinkButton-BeFBbR7x.js.map} +1 -1
  7. package/dist/{LinkButton-C_pRNvqs.cjs → LinkButton-CT5GnUkH.cjs} +2 -2
  8. package/dist/{LinkButton-C_pRNvqs.cjs.map → LinkButton-CT5GnUkH.cjs.map} +1 -1
  9. package/dist/{Navigate-CmvxpGu9.js → Navigate-DBH0qlzU.js} +2 -2
  10. package/dist/{Navigate-CmvxpGu9.js.map → Navigate-DBH0qlzU.js.map} +1 -1
  11. package/dist/{Navigate-N_lhvJqc.cjs → Navigate-w-jtzle_.cjs} +2 -2
  12. package/dist/{Navigate-N_lhvJqc.cjs.map → Navigate-w-jtzle_.cjs.map} +1 -1
  13. package/dist/api/endpoints/index.cjs.js +1 -1
  14. package/dist/api/endpoints/index.es.js +2 -2
  15. package/dist/api/index.cjs.js +1 -1
  16. package/dist/api/index.es.js +3 -3
  17. package/dist/api-CaEovEUU.cjs +2 -0
  18. package/dist/api-CaEovEUU.cjs.map +1 -0
  19. package/dist/{api-uh8UKwsU.js → api-r7TLkejc.js} +5 -5
  20. package/dist/api-r7TLkejc.js.map +1 -0
  21. package/dist/{auth-C3UdJFcP.js → auth-BXLedrZH.js} +3 -3
  22. package/dist/{auth-C3UdJFcP.js.map → auth-BXLedrZH.js.map} +1 -1
  23. package/dist/{auth--UJpsJx8.cjs → auth-DdbHSDCh.cjs} +2 -2
  24. package/dist/{auth--UJpsJx8.cjs.map → auth-DdbHSDCh.cjs.map} +1 -1
  25. package/dist/components/form/index.cjs.js +1 -1
  26. package/dist/components/form/index.es.js +1 -1
  27. package/dist/components/index.cjs.js +1 -1
  28. package/dist/components/index.es.js +7 -7
  29. package/dist/components/page/index.cjs.js +1 -1
  30. package/dist/components/page/index.es.js +1 -1
  31. package/dist/components/router/index.cjs.js +1 -1
  32. package/dist/components/router/index.es.js +2 -2
  33. package/dist/features/index.cjs.js +1 -1
  34. package/dist/features/index.es.js +4 -4
  35. package/dist/hooks/index.cjs.js +1 -1
  36. package/dist/hooks/index.es.js +1 -1
  37. package/dist/{index-BUG2k4XI.cjs → index-BepQQq9P.cjs} +2 -2
  38. package/dist/{index-BUG2k4XI.cjs.map → index-BepQQq9P.cjs.map} +1 -1
  39. package/dist/{index-Uk65JJpc.js → index-CTYVnDkQ.js} +28 -28
  40. package/dist/index-CTYVnDkQ.js.map +1 -0
  41. package/dist/index-CgShi-oQ.cjs +2 -0
  42. package/dist/index-CgShi-oQ.cjs.map +1 -0
  43. package/dist/{index-CYI_rUWI.js → index-DeEIS6R8.js} +3 -3
  44. package/dist/{index-CYI_rUWI.js.map → index-DeEIS6R8.js.map} +1 -1
  45. package/dist/object-C0ukOmY8.cjs +2 -0
  46. package/dist/object-C0ukOmY8.cjs.map +1 -0
  47. package/dist/object-CcXAH2vY.js +34 -0
  48. package/dist/object-CcXAH2vY.js.map +1 -0
  49. package/dist/schemas-B1L2Knka.cjs +2 -0
  50. package/dist/schemas-B1L2Knka.cjs.map +1 -0
  51. package/dist/schemas-BEK79Cdh.js +783 -0
  52. package/dist/schemas-BEK79Cdh.js.map +1 -0
  53. package/dist/server/server.cjs.js +3 -2
  54. package/dist/server/server.cjs.js.map +1 -1
  55. package/dist/server/server.es.js +26 -18
  56. package/dist/server/server.es.js.map +1 -1
  57. package/dist/src/api/models.d.ts +1 -1
  58. package/dist/src/server/server.d.ts +1 -0
  59. package/dist/src/utils/general.d.ts +0 -11
  60. package/dist/src/utils/location.d.ts +7 -0
  61. package/dist/src/utils/object.d.ts +11 -0
  62. package/dist/{urls-BG788CnL.js → urls-CQ1fgrB1.js} +2 -2
  63. package/dist/{urls-BG788CnL.js.map → urls-CQ1fgrB1.js.map} +1 -1
  64. package/dist/{urls-2gheISSO.cjs → urls-DJiVb_ID.cjs} +2 -2
  65. package/dist/{urls-2gheISSO.cjs.map → urls-DJiVb_ID.cjs.map} +1 -1
  66. package/dist/utils/api.cjs.js +1 -1
  67. package/dist/utils/api.es.js +2 -2
  68. package/dist/utils/form.cjs.js +1 -1
  69. package/dist/utils/form.cjs.js.map +1 -1
  70. package/dist/utils/form.es.js +16 -16
  71. package/dist/utils/form.es.js.map +1 -1
  72. package/dist/utils/general.cjs.js +1 -1
  73. package/dist/utils/general.cjs.js.map +1 -1
  74. package/dist/utils/general.es.js +31 -947
  75. package/dist/utils/general.es.js.map +1 -1
  76. package/dist/utils/router.cjs.js +1 -1
  77. package/dist/utils/router.es.js +1 -1
  78. package/package.json +4 -4
  79. package/dist/api-G8CV5bUa.cjs +0 -2
  80. package/dist/api-G8CV5bUa.cjs.map +0 -1
  81. package/dist/api-uh8UKwsU.js.map +0 -1
  82. package/dist/index-BhTYGZm3.cjs +0 -2
  83. package/dist/index-BhTYGZm3.cjs.map +0 -1
  84. package/dist/index-Uk65JJpc.js.map +0 -1
  85. package/dist/schemas-UIk-meAN.js +0 -162
  86. package/dist/schemas-UIk-meAN.js.map +0 -1
  87. package/dist/schemas-hIW9-H6-.cjs +0 -2
  88. package/dist/schemas-hIW9-H6-.cjs.map +0 -1
  89. /package/dist/src/utils/{general.test.d.ts → object.test.d.ts} +0 -0
@@ -1,963 +1,47 @@
1
- function h(n, a = "_blank") {
2
- window.open(n, a);
3
- }
4
- function S(n, a) {
5
- return (...e) => {
6
- n.before !== void 0 && n.before(...e);
7
- let i;
8
- return a !== void 0 && (i = a(...e)), n.after !== void 0 && n.after(...e), i;
1
+ function c(e, t = "_blank") {
2
+ window.open(e, t);
3
+ }
4
+ function f(e, t) {
5
+ return (...o) => {
6
+ e.before !== void 0 && e.before(...o);
7
+ let n;
8
+ return t !== void 0 && (n = t(...o)), e.after !== void 0 && e.after(...o), n;
9
9
  };
10
10
  }
11
- function u(n) {
12
- Object.entries(n).forEach(([a, e]) => {
13
- typeof e == "object" && u(e);
14
- const i = a.replace(
11
+ function a(e) {
12
+ Object.entries(e).forEach(([t, o]) => {
13
+ typeof o == "object" && a(o);
14
+ const n = t.replace(
15
15
  /_+[a-z]/g,
16
16
  (r) => r[r.length - 1].toUpperCase()
17
17
  );
18
- delete n[a], n[i] = e;
18
+ delete e[t], e[n] = o;
19
19
  });
20
20
  }
21
- function d(n) {
22
- Object.entries(n).forEach(([a, e]) => {
23
- typeof e == "object" && d(e);
24
- const i = a.replace(
21
+ function i(e) {
22
+ Object.entries(e).forEach(([t, o]) => {
23
+ typeof o == "object" && i(o);
24
+ const n = t.replace(
25
25
  /[A-Z]/g,
26
26
  (r) => `_${r.toLowerCase()}`
27
27
  );
28
- delete n[a], n[i] = e;
28
+ delete e[t], e[n] = o;
29
29
  });
30
30
  }
31
- const c = new Date(0, 0, 0), M = [
32
- "AD",
33
- "AE",
34
- "AF",
35
- "AG",
36
- "AI",
37
- "AL",
38
- "AM",
39
- "AO",
40
- "AQ",
41
- "AR",
42
- "AS",
43
- "AT",
44
- "AU",
45
- "AW",
46
- "AX",
47
- "AZ",
48
- "BA",
49
- "BB",
50
- "BD",
51
- "BE",
52
- "BF",
53
- "BG",
54
- "BH",
55
- "BI",
56
- "BJ",
57
- "BL",
58
- "BM",
59
- "BN",
60
- "BO",
61
- "BQ",
62
- "BR",
63
- "BS",
64
- "BT",
65
- "BV",
66
- "BW",
67
- "BY",
68
- "BZ",
69
- "CA",
70
- "CC",
71
- "CD",
72
- "CF",
73
- "CG",
74
- "CH",
75
- "CI",
76
- "CK",
77
- "CL",
78
- "CM",
79
- "CN",
80
- "CO",
81
- "CR",
82
- "CU",
83
- "CV",
84
- "CW",
85
- "CX",
86
- "CY",
87
- "CZ",
88
- "DE",
89
- "DJ",
90
- "DK",
91
- "DM",
92
- "DO",
93
- "DZ",
94
- "EC",
95
- "EE",
96
- "EG",
97
- "EH",
98
- "ER",
99
- "ES",
100
- "ET",
101
- "FI",
102
- "FJ",
103
- "FK",
104
- "FM",
105
- "FO",
106
- "FR",
107
- "GA",
108
- "GB",
109
- "GD",
110
- "GE",
111
- "GF",
112
- "GG",
113
- "GH",
114
- "GI",
115
- "GL",
116
- "GM",
117
- "GN",
118
- "GP",
119
- "GQ",
120
- "GR",
121
- "GS",
122
- "GT",
123
- "GU",
124
- "GW",
125
- "GY",
126
- "HK",
127
- "HM",
128
- "HN",
129
- "HR",
130
- "HT",
131
- "HU",
132
- "ID",
133
- "IE",
134
- "IL",
135
- "IM",
136
- "IN",
137
- "IO",
138
- "IQ",
139
- "IR",
140
- "IS",
141
- "IT",
142
- "JE",
143
- "JM",
144
- "JO",
145
- "JP",
146
- "KE",
147
- "KG",
148
- "KH",
149
- "KI",
150
- "KM",
151
- "KN",
152
- "KP",
153
- "KR",
154
- "KW",
155
- "KY",
156
- "KZ",
157
- "LA",
158
- "LB",
159
- "LC",
160
- "LI",
161
- "LK",
162
- "LR",
163
- "LS",
164
- "LT",
165
- "LU",
166
- "LV",
167
- "LY",
168
- "MA",
169
- "MC",
170
- "MD",
171
- "ME",
172
- "MF",
173
- "MG",
174
- "MH",
175
- "MK",
176
- "ML",
177
- "MM",
178
- "MN",
179
- "MO",
180
- "MP",
181
- "MQ",
182
- "MR",
183
- "MS",
184
- "MT",
185
- "MU",
186
- "MV",
187
- "MW",
188
- "MX",
189
- "MY",
190
- "MZ",
191
- "NA",
192
- "NC",
193
- "NE",
194
- "NF",
195
- "NG",
196
- "NI",
197
- "NL",
198
- "NO",
199
- "NP",
200
- "NR",
201
- "NU",
202
- "NZ",
203
- "OM",
204
- "PA",
205
- "PE",
206
- "PF",
207
- "PG",
208
- "PH",
209
- "PK",
210
- "PL",
211
- "PM",
212
- "PN",
213
- "PR",
214
- "PS",
215
- "PT",
216
- "PW",
217
- "PY",
218
- "QA",
219
- "RE",
220
- "RO",
221
- "RS",
222
- "RU",
223
- "RW",
224
- "SA",
225
- "SB",
226
- "SC",
227
- "SD",
228
- "SE",
229
- "SG",
230
- "SH",
231
- "SI",
232
- "SJ",
233
- "SK",
234
- "SL",
235
- "SM",
236
- "SN",
237
- "SO",
238
- "SR",
239
- "SS",
240
- "ST",
241
- "SV",
242
- "SX",
243
- "SY",
244
- "SZ",
245
- "TC",
246
- "TD",
247
- "TF",
248
- "TG",
249
- "TH",
250
- "TJ",
251
- "TK",
252
- "TL",
253
- "TM",
254
- "TN",
255
- "TO",
256
- "TR",
257
- "TT",
258
- "TV",
259
- "TW",
260
- "TZ",
261
- "UA",
262
- "UG",
263
- "UM",
264
- "US",
265
- "UY",
266
- "UZ",
267
- "VA",
268
- "VC",
269
- "VE",
270
- "VG",
271
- "VI",
272
- "VN",
273
- "VU",
274
- "WF",
275
- "WS",
276
- "YE",
277
- "YT",
278
- "ZA",
279
- "ZM",
280
- "ZW"
281
- ], C = [
282
- "Andorra",
283
- "United Arab Emirates (the)",
284
- "Afghanistan",
285
- "Antigua and Barbuda",
286
- "Anguilla",
287
- "Albania",
288
- "Armenia",
289
- "Angola",
290
- "Antarctica",
291
- "Argentina",
292
- "American Samoa",
293
- "Austria",
294
- "Australia",
295
- "Aruba",
296
- "Åland Islands",
297
- "Azerbaijan",
298
- "Bosnia and Herzegovina",
299
- "Barbados",
300
- "Bangladesh",
301
- "Belgium",
302
- "Burkina Faso",
303
- "Bulgaria",
304
- "Bahrain",
305
- "Burundi",
306
- "Benin",
307
- "Saint Barthélemy",
308
- "Bermuda",
309
- "Brunei Darussalam",
310
- "Bolivia (Plurinational State of)",
311
- "Bonaire, Sint Eustatius and Saba",
312
- "Brazil",
313
- "Bahamas (the)",
314
- "Bhutan",
315
- "Bouvet Island",
316
- "Botswana",
317
- "Belarus",
318
- "Belize",
319
- "Canada",
320
- "Cocos (Keeling) Islands (the)",
321
- "Congo (the Democratic Republic of the)",
322
- "Central African Republic (the)",
323
- "Congo (the)",
324
- "Switzerland",
325
- "Côte d'Ivoire",
326
- "Cook Islands (the)",
327
- "Chile",
328
- "Cameroon",
329
- "China",
330
- "Colombia",
331
- "Costa Rica",
332
- "Cuba",
333
- "Cabo Verde",
334
- "Curaçao",
335
- "Christmas Island",
336
- "Cyprus",
337
- "Czechia",
338
- "Germany",
339
- "Djibouti",
340
- "Denmark",
341
- "Dominica",
342
- "Dominican Republic (the",
343
- "Algeria",
344
- "Ecuador",
345
- "Estonia",
346
- "Egypt",
347
- "Western Sahara",
348
- "Eritrea",
349
- "Spain",
350
- "Ethiopia",
351
- "Finland",
352
- "Fiji",
353
- "Falkland Islands (the) [Malvinas]",
354
- "Micronesia (Federated States of)",
355
- "Faroe Islands (the)",
356
- "France",
357
- "Gabon",
358
- "United Kingdom of Great Britain and Northern Ireland (the)",
359
- "Grenada",
360
- "Georgia",
361
- "French Guiana",
362
- "Guernsey",
363
- "Ghana",
364
- "Gibraltar",
365
- "Greenland",
366
- "Gambia (the)",
367
- "Guinea",
368
- "Guadeloupe",
369
- "Equatorial Guinea",
370
- "Greece",
371
- "South Georgia and the South Sandwich Islands",
372
- "Guatemala",
373
- "Guam",
374
- "Guinea-Bissau",
375
- "Guyana",
376
- "Hong Kong",
377
- "Heard Island and McDonald Islands",
378
- "Honduras",
379
- "Croatia",
380
- "Haiti",
381
- "Hungary",
382
- "Indonesia",
383
- "Ireland",
384
- "Israel",
385
- "Isle of Man",
386
- "India",
387
- "British Indian Ocean Territory (the)",
388
- "Iraq",
389
- "Iran (Islamic Republic of)",
390
- "Iceland",
391
- "Italy",
392
- "Jersey",
393
- "Jamaica",
394
- "Jordan",
395
- "Japan",
396
- "Kenya",
397
- "Kyrgyzstan",
398
- "Cambodia",
399
- "Kiribati",
400
- "Comoros (the)",
401
- "Saint Kitts and Nevis",
402
- "Korea (the Democratic People's Republic of)",
403
- "Korea (the Republic of)",
404
- "Kuwait",
405
- "Cayman Islands (the)",
406
- "Kazakhstan",
407
- "Lao People's Democratic Republic (the)",
408
- "Lebanon",
409
- "Saint Lucia",
410
- "Liechtenstein",
411
- "Sri Lanka",
412
- "Liberia",
413
- "Lesotho",
414
- "Lithuania",
415
- "Luxembourg",
416
- "Latvia",
417
- "Libya",
418
- "Morocco",
419
- "Monaco",
420
- "Moldova (the Republic of)",
421
- "Montenegro",
422
- "Saint Martin (French part)",
423
- "Madagascar",
424
- "Marshall Islands (the)",
425
- "Republic of North Macedonia",
426
- "Mali",
427
- "Myanmar",
428
- "Mongolia",
429
- "Macao",
430
- "Northern Mariana Islands (the)",
431
- "Martinique",
432
- "Mauritania",
433
- "Montserrat",
434
- "Malta",
435
- "Mauritius",
436
- "Maldives",
437
- "Malawi",
438
- "Mexico",
439
- "Malaysia",
440
- "Mozambique",
441
- "Namibia",
442
- "New Caledonia",
443
- "Niger (the)",
444
- "Norfolk Island",
445
- "Nigeria",
446
- "Nicaragua",
447
- "Netherlands (the)",
448
- "Norway",
449
- "Nepal",
450
- "Nauru",
451
- "Niue",
452
- "New Zealand",
453
- "Oman",
454
- "Panama",
455
- "Peru",
456
- "French Polynesia",
457
- "Papua New Guinea",
458
- "Philippines (the)",
459
- "Pakistan",
460
- "Poland",
461
- "Saint Pierre and Miquelon",
462
- "Pitcairn",
463
- "Puerto Rico",
464
- "Palestine, State of",
465
- "Portugal",
466
- "Palau",
467
- "Paraguay",
468
- "Qatar",
469
- "Réunion",
470
- "Romania",
471
- "Serbia",
472
- "Russian Federation (the)",
473
- "Rwanda",
474
- "Saudi Arabia",
475
- "Solomon Islands",
476
- "Seychelles",
477
- "Sudan (the)",
478
- "Sweden",
479
- "Singapore",
480
- "Saint Helena, Ascension and Tristan da Cunha",
481
- "Slovenia",
482
- "Svalbard and Jan Mayen",
483
- "Slovakia",
484
- "Sierra Leone",
485
- "San Marino",
486
- "Senegal",
487
- "Somalia",
488
- "Suriname",
489
- "South Sudan",
490
- "Sao Tome and Principe",
491
- "El Salvador",
492
- "Sint Maarten (Dutch part)",
493
- "Syrian Arab Republic",
494
- "Eswatini",
495
- "Turks and Caicos Islands (the)",
496
- "Chad",
497
- "French Southern Territories (the)",
498
- "Togo",
499
- "Thailand",
500
- "Tajikistan",
501
- "Tokelau",
502
- "Timor-Leste",
503
- "Turkmenistan",
504
- "Tunisia",
505
- "Tonga",
506
- "Turkey",
507
- "Trinidad and Tobago",
508
- "Tuvalu",
509
- "Taiwan (Province of China)",
510
- "Tanzania, United Republic of",
511
- "Ukraine",
512
- "Uganda",
513
- "United States Minor Outlying Islands (the)",
514
- "United States of America (the)",
515
- "Uruguay",
516
- "Uzbekistan",
517
- "Holy See (the)",
518
- "Saint Vincent and the Grenadines",
519
- "Venezuela (Bolivarian Republic of)",
520
- "Virgin Islands (British)",
521
- "Virgin Islands (U.S.)",
522
- "Viet Nam",
523
- "Vanuatu",
524
- "Wallis and Futuna",
525
- "Samoa",
526
- "Yemen",
527
- "Mayotte",
528
- "South Africa",
529
- "Zambia",
530
- "Zimbabwe"
531
- ], m = {
532
- AD: "Andorra",
533
- AE: "United Arab Emirates (the)",
534
- AF: "Afghanistan",
535
- AG: "Antigua and Barbuda",
536
- AI: "Anguilla",
537
- AL: "Albania",
538
- AM: "Armenia",
539
- AO: "Angola",
540
- AQ: "Antarctica",
541
- AR: "Argentina",
542
- AS: "American Samoa",
543
- AT: "Austria",
544
- AU: "Australia",
545
- AW: "Aruba",
546
- AX: "Åland Islands",
547
- AZ: "Azerbaijan",
548
- BA: "Bosnia and Herzegovina",
549
- BB: "Barbados",
550
- BD: "Bangladesh",
551
- BE: "Belgium",
552
- BF: "Burkina Faso",
553
- BG: "Bulgaria",
554
- BH: "Bahrain",
555
- BI: "Burundi",
556
- BJ: "Benin",
557
- BL: "Saint Barthélemy",
558
- BM: "Bermuda",
559
- BN: "Brunei Darussalam",
560
- BO: "Bolivia (Plurinational State of)",
561
- BQ: "Bonaire, Sint Eustatius and Saba",
562
- BR: "Brazil",
563
- BS: "Bahamas (the)",
564
- BT: "Bhutan",
565
- BV: "Bouvet Island",
566
- BW: "Botswana",
567
- BY: "Belarus",
568
- BZ: "Belize",
569
- CA: "Canada",
570
- CC: "Cocos (Keeling) Islands (the)",
571
- CD: "Congo (the Democratic Republic of the)",
572
- CF: "Central African Republic (the)",
573
- CG: "Congo (the)",
574
- CH: "Switzerland",
575
- CI: "Côte d'Ivoire",
576
- CK: "Cook Islands (the)",
577
- CL: "Chile",
578
- CM: "Cameroon",
579
- CN: "China",
580
- CO: "Colombia",
581
- CR: "Costa Rica",
582
- CU: "Cuba",
583
- CV: "Cabo Verde",
584
- CW: "Curaçao",
585
- CX: "Christmas Island",
586
- CY: "Cyprus",
587
- CZ: "Czechia",
588
- DE: "Germany",
589
- DJ: "Djibouti",
590
- DK: "Denmark",
591
- DM: "Dominica",
592
- DO: "Dominican Republic (the",
593
- DZ: "Algeria",
594
- EC: "Ecuador",
595
- EE: "Estonia",
596
- EG: "Egypt",
597
- EH: "Western Sahara",
598
- ER: "Eritrea",
599
- ES: "Spain",
600
- ET: "Ethiopia",
601
- FI: "Finland",
602
- FJ: "Fiji",
603
- FK: "Falkland Islands (the) [Malvinas]",
604
- FM: "Micronesia (Federated States of)",
605
- FO: "Faroe Islands (the)",
606
- FR: "France",
607
- GA: "Gabon",
608
- GB: "United Kingdom of Great Britain and Northern Ireland (the)",
609
- GD: "Grenada",
610
- GE: "Georgia",
611
- GF: "French Guiana",
612
- GG: "Guernsey",
613
- GH: "Ghana",
614
- GI: "Gibraltar",
615
- GL: "Greenland",
616
- GM: "Gambia (the)",
617
- GN: "Guinea",
618
- GP: "Guadeloupe",
619
- GQ: "Equatorial Guinea",
620
- GR: "Greece",
621
- GS: "South Georgia and the South Sandwich Islands",
622
- GT: "Guatemala",
623
- GU: "Guam",
624
- GW: "Guinea-Bissau",
625
- GY: "Guyana",
626
- HK: "Hong Kong",
627
- HM: "Heard Island and McDonald Islands",
628
- HN: "Honduras",
629
- HR: "Croatia",
630
- HT: "Haiti",
631
- HU: "Hungary",
632
- ID: "Indonesia",
633
- IE: "Ireland",
634
- IL: "Israel",
635
- IM: "Isle of Man",
636
- IN: "India",
637
- IO: "British Indian Ocean Territory (the)",
638
- IQ: "Iraq",
639
- IR: "Iran (Islamic Republic of)",
640
- IS: "Iceland",
641
- IT: "Italy",
642
- JE: "Jersey",
643
- JM: "Jamaica",
644
- JO: "Jordan",
645
- JP: "Japan",
646
- KE: "Kenya",
647
- KG: "Kyrgyzstan",
648
- KH: "Cambodia",
649
- KI: "Kiribati",
650
- KM: "Comoros (the)",
651
- KN: "Saint Kitts and Nevis",
652
- KP: "Korea (the Democratic People's Republic of)",
653
- KR: "Korea (the Republic of)",
654
- KW: "Kuwait",
655
- KY: "Cayman Islands (the)",
656
- KZ: "Kazakhstan",
657
- LA: "Lao People's Democratic Republic (the)",
658
- LB: "Lebanon",
659
- LC: "Saint Lucia",
660
- LI: "Liechtenstein",
661
- LK: "Sri Lanka",
662
- LR: "Liberia",
663
- LS: "Lesotho",
664
- LT: "Lithuania",
665
- LU: "Luxembourg",
666
- LV: "Latvia",
667
- LY: "Libya",
668
- MA: "Morocco",
669
- MC: "Monaco",
670
- MD: "Moldova (the Republic of)",
671
- ME: "Montenegro",
672
- MF: "Saint Martin (French part)",
673
- MG: "Madagascar",
674
- MH: "Marshall Islands (the)",
675
- MK: "Republic of North Macedonia",
676
- ML: "Mali",
677
- MM: "Myanmar",
678
- MN: "Mongolia",
679
- MO: "Macao",
680
- MP: "Northern Mariana Islands (the)",
681
- MQ: "Martinique",
682
- MR: "Mauritania",
683
- MS: "Montserrat",
684
- MT: "Malta",
685
- MU: "Mauritius",
686
- MV: "Maldives",
687
- MW: "Malawi",
688
- MX: "Mexico",
689
- MY: "Malaysia",
690
- MZ: "Mozambique",
691
- NA: "Namibia",
692
- NC: "New Caledonia",
693
- NE: "Niger (the)",
694
- NF: "Norfolk Island",
695
- NG: "Nigeria",
696
- NI: "Nicaragua",
697
- NL: "Netherlands (the)",
698
- NO: "Norway",
699
- NP: "Nepal",
700
- NR: "Nauru",
701
- NU: "Niue",
702
- NZ: "New Zealand",
703
- OM: "Oman",
704
- PA: "Panama",
705
- PE: "Peru",
706
- PF: "French Polynesia",
707
- PG: "Papua New Guinea",
708
- PH: "Philippines (the)",
709
- PK: "Pakistan",
710
- PL: "Poland",
711
- PM: "Saint Pierre and Miquelon",
712
- PN: "Pitcairn",
713
- PR: "Puerto Rico",
714
- PS: "Palestine, State of",
715
- PT: "Portugal",
716
- PW: "Palau",
717
- PY: "Paraguay",
718
- QA: "Qatar",
719
- RE: "Réunion",
720
- RO: "Romania",
721
- RS: "Serbia",
722
- RU: "Russian Federation (the)",
723
- RW: "Rwanda",
724
- SA: "Saudi Arabia",
725
- SB: "Solomon Islands",
726
- SC: "Seychelles",
727
- SD: "Sudan (the)",
728
- SE: "Sweden",
729
- SG: "Singapore",
730
- SH: "Saint Helena, Ascension and Tristan da Cunha",
731
- SI: "Slovenia",
732
- SJ: "Svalbard and Jan Mayen",
733
- SK: "Slovakia",
734
- SL: "Sierra Leone",
735
- SM: "San Marino",
736
- SN: "Senegal",
737
- SO: "Somalia",
738
- SR: "Suriname",
739
- SS: "South Sudan",
740
- ST: "Sao Tome and Principe",
741
- SV: "El Salvador",
742
- SX: "Sint Maarten (Dutch part)",
743
- SY: "Syrian Arab Republic",
744
- SZ: "Eswatini",
745
- TC: "Turks and Caicos Islands (the)",
746
- TD: "Chad",
747
- TF: "French Southern Territories (the)",
748
- TG: "Togo",
749
- TH: "Thailand",
750
- TJ: "Tajikistan",
751
- TK: "Tokelau",
752
- TL: "Timor-Leste",
753
- TM: "Turkmenistan",
754
- TN: "Tunisia",
755
- TO: "Tonga",
756
- TR: "Turkey",
757
- TT: "Trinidad and Tobago",
758
- TV: "Tuvalu",
759
- TW: "Taiwan (Province of China)",
760
- TZ: "Tanzania, United Republic of",
761
- UA: "Ukraine",
762
- UG: "Uganda",
763
- UM: "United States Minor Outlying Islands (the)",
764
- US: "United States of America (the)",
765
- UY: "Uruguay",
766
- UZ: "Uzbekistan",
767
- VA: "Holy See (the)",
768
- VC: "Saint Vincent and the Grenadines",
769
- VE: "Venezuela (Bolivarian Republic of)",
770
- VG: "Virgin Islands (British)",
771
- VI: "Virgin Islands (U.S.)",
772
- VN: "Viet Nam",
773
- VU: "Vanuatu",
774
- WF: "Wallis and Futuna",
775
- WS: "Samoa",
776
- YE: "Yemen",
777
- YT: "Mayotte",
778
- ZA: "South Africa",
779
- ZM: "Zambia",
780
- ZW: "Zimbabwe"
781
- }, I = [
782
- "Aberdeen City",
783
- "Aberdeenshire",
784
- "Angus",
785
- "Argyll and Bute",
786
- "Bedfordshire",
787
- "Belfast",
788
- "Belfast Greater",
789
- "Berkshire",
790
- "Blaenau Gwent",
791
- "Bridgend",
792
- "Buckinghamshire",
793
- "Caerphilly",
794
- "Cambridgeshire",
795
- "Cardiff",
796
- "Carmarthenshire",
797
- "Ceredigion",
798
- "Channel Islands",
799
- "Cheshire",
800
- "City of Edinburgh",
801
- "Clackmannanshire",
802
- "Conwy",
803
- "Cornwall",
804
- "County Antrim",
805
- "County Armagh",
806
- "County Down",
807
- "County Fermanagh",
808
- "County Londonderry",
809
- "County Tyrone",
810
- "County of Bristol",
811
- "Cumbria",
812
- "Denbighshire",
813
- "Derbyshire",
814
- "Devon",
815
- "Dorset",
816
- "Dumfries and Galloway",
817
- "Dunbartonshire",
818
- "Dundee City",
819
- "Durham",
820
- "East Ayrshire",
821
- "East Dunbartonshire",
822
- "East Lothian",
823
- "East Renfrewshire",
824
- "East Riding of Yorkshire",
825
- "East Sussex",
826
- "Essex",
827
- "Falkirk",
828
- "Fife",
829
- "Flintshire",
830
- "Glasgow City",
831
- "Gloucestershire",
832
- "Greater London",
833
- "Greater Manchester",
834
- "Guernsey Channel Islands",
835
- "Gwynedd",
836
- "Hampshire",
837
- "Hereford and Worcester",
838
- "Herefordshire",
839
- "Hertfordshire",
840
- "Highland",
841
- "Inverclyde",
842
- "Inverness",
843
- "Isle of Anglesey",
844
- "Isle of Barra",
845
- "Isle of Man",
846
- "Isle of Wight",
847
- "Jersey Channel Islands",
848
- "Kent",
849
- "Lancashire",
850
- "Leicestershire",
851
- "Lincolnshire",
852
- "Merseyside",
853
- "Merthyr Tydfil",
854
- "Midlothian",
855
- "Monmouthshire",
856
- "Moray",
857
- "Neath Port Talbot",
858
- "Newport",
859
- "Norfolk",
860
- "North Ayrshire",
861
- "North Lanarkshire",
862
- "North Yorkshire",
863
- "Northamptonshire",
864
- "Northumberland",
865
- "Nottinghamshire",
866
- "Orkney",
867
- "Orkney Islands",
868
- "Oxfordshire",
869
- "Pembrokeshire",
870
- "Perth and Kinross",
871
- "Powys",
872
- "Renfrewshire",
873
- "Rhondda Cynon Taff",
874
- "Rutland",
875
- "Scottish Borders",
876
- "Shetland Islands",
877
- "Shropshire",
878
- "Somerset",
879
- "South Ayrshire",
880
- "South Lanarkshire",
881
- "South Yorkshire",
882
- "Staffordshire",
883
- "Stirling",
884
- "Suffolk",
885
- "Surrey",
886
- "Swansea",
887
- "Torfaen",
888
- "Tyne and Wear",
889
- "Vale of Glamorgan",
890
- "Warwickshire",
891
- "West Dunbart",
892
- "West Lothian",
893
- "West Midlands",
894
- "West Sussex",
895
- "West Yorkshire",
896
- "Western Isles",
897
- "Wiltshire",
898
- "Worcestershire",
899
- "Wrexham"
900
- ];
901
- function G(n, a) {
902
- typeof a == "string" && (a = a.split("."));
903
- let e = n;
904
- for (let i = 0; i < a.length; i++)
905
- if (e = e[a[i]], i !== a.length - 1 && (typeof e != "object" || e === null))
906
- return;
907
- return e;
908
- }
909
- function A(n, a = ".") {
910
- function e(i, r) {
911
- return Object.fromEntries(
912
- Object.entries(i).map(([s, t]) => {
913
- const o = [...r, s];
914
- return typeof t == "object" && t !== null && (t = e(t, o)), [o.join(a), t];
915
- })
916
- );
917
- }
918
- return e(n, []);
919
- }
920
- function B(n, a = ".") {
921
- function e(i, r) {
922
- return Object.entries(i).map(([s, t]) => {
923
- const o = [...r, s], l = o.join(a);
924
- return typeof t == "object" && t !== null ? [l, ...e(t, o)] : [l];
925
- }).flat();
926
- }
927
- return e(n, []);
928
- }
929
- function b(n, a, e = ".") {
930
- function i(r, s) {
931
- return Object.fromEntries(
932
- Object.entries(r).map(([t, o]) => {
933
- const l = [...s, t];
934
- return typeof o == "object" && o !== null && !(o instanceof Date) && (o = i(o, l)), a.includes(l.join(e)) ? [] : [t, o];
935
- }).filter((t) => t.length)
936
- );
937
- }
938
- return a.length ? i(n, []) : n;
939
- }
940
- function g(n, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") {
941
- const e = window.crypto.getRandomValues(new Uint8Array(n));
942
- let i = "";
943
- for (let r = 0; r < n; r++)
944
- i += a.charAt(e[r] % a.length);
945
- return i;
31
+ const s = new Date(0, 0, 0);
32
+ function l(e, t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") {
33
+ const o = window.crypto.getRandomValues(new Uint8Array(e));
34
+ let n = "";
35
+ for (let r = 0; r < e; r++)
36
+ n += t.charAt(o[r] % t.length);
37
+ return n;
946
38
  }
947
39
  export {
948
- C as COUNTRIES,
949
- M as COUNTRY_ISO_CODES,
950
- m as COUNTRY_ISO_CODE_MAPPING,
951
- c as MIN_DATE,
952
- I as UK_COUNTIES,
953
- d as camelCaseToSnakeCase,
954
- b as excludeKeyPaths,
955
- g as generateSecureRandomString,
956
- B as getKeyPaths,
957
- G as getNestedProperty,
958
- h as openInNewTab,
959
- u as snakeCaseToCamelCase,
960
- A as withKeyPaths,
961
- S as wrap
40
+ s as MIN_DATE,
41
+ i as camelCaseToSnakeCase,
42
+ l as generateSecureRandomString,
43
+ c as openInNewTab,
44
+ a as snakeCaseToCamelCase,
45
+ f as wrap
962
46
  };
963
47
  //# sourceMappingURL=general.es.js.map