uom-types 5.0.1 → 5.1.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.mjs CHANGED
@@ -1,732 +1,2 @@
1
- function add(...args) {
2
- return args.length === 1 ? (a) => a + args[0] : args[0] + args[1];
3
- }
4
- function sub(...args) {
5
- return args.length === 1 ? (a) => a - args[0] : args[0] - args[1];
6
- }
7
- function mul(...args) {
8
- return args.length === 1 ? (a) => a * args[0] : args[0] * args[1];
9
- }
10
- function div(...args) {
11
- return args.length === 1 ? (a) => a / args[0] : args[0] / args[1];
12
- }
13
- function mod(...args) {
14
- return args.length === 1 ? (a) => a % args[0] : args[0] % args[1];
15
- }
16
- function modSafe(...args) {
17
- return args.length === 1
18
- ? (a) => ((a % args[0]) + args[0]) % args[0]
19
- : ((args[0] % args[1]) + args[1]) % args[1];
20
- }
21
- function pow(...args) {
22
- return args.length === 1 ? (b) => b ** args[0] : args[0] ** args[1];
23
- }
24
- function root(...args) {
25
- return args.length === 1 ? (b) => b ** (1 / args[0]) : args[0] ** (1 / args[1]);
26
- }
27
- /**
28
- * Take the square root of the given value.
29
- *
30
- * @category Math
31
- * @returns `value ** (1/2)`
32
- */
33
- function sqrt(value) {
34
- return root(value, 2);
35
- }
36
- /**
37
- * Inverse the given value.
38
- *
39
- * @category Math
40
- * @returns `value ** -1`
41
- */
42
- function inverse(value) {
43
- return pow(value, -1);
44
- }
45
- /**
46
- * Returns the negative of the given value.
47
- *
48
- * @category Math
49
- * @returns `-value`
50
- */
51
- function negate(value) {
52
- return -value;
53
- }
54
- /**
55
- * Returns the absolute value of the given value.
56
- *
57
- * @category Math
58
- * @returns `Math.abs(value)`
59
- */
60
- function abs(value) {
61
- return Math.abs(value);
62
- }
63
- /**
64
- * Returns the greatest integer less than or equal to the given value.
65
- *
66
- * @category Math
67
- * @returns `Math.floor(value)`
68
- */
69
- function floor(value) {
70
- return Math.floor(value);
71
- }
72
- /**
73
- * Returns the smallest integer greater than or equal the given value.
74
- *
75
- * @category Math
76
- * @returns `Math.ceil(value)`
77
- */
78
- function ceil(value) {
79
- return Math.ceil(value);
80
- }
81
- /**
82
- * Returns the given value rounded to the nearest integer.
83
- *
84
- * @category Math
85
- * @returns `Math.round(value)`
86
- */
87
- function round(value) {
88
- return Math.round(value);
89
- }
90
- /**
91
- * Returns the larger value in the given collection.
92
- *
93
- * @category Math
94
- * @returns `Math.max(values)`
95
- */
96
- function max(values) {
97
- return Math.max(...values);
98
- }
99
- /**
100
- * Returns the smallest value in the given collection.
101
- *
102
- * @category Math
103
- * @returns `Math.min(values)`
104
- */
105
- function min(values) {
106
- return Math.min(...values);
107
- }
108
- /**
109
- * Takes the sum of all the values in the given collection.
110
- *
111
- * @category Math
112
- * @returns `Math.sum(values)`
113
- */
114
- function sum(values) {
115
- return [...values].reduce(add, 0);
116
- }
117
- function eq(...args) {
118
- return args.length === 1 ? (a) => a === args[0] : args[0] === args[1];
119
- }
120
- function gt(...args) {
121
- return args.length === 1 ? (a) => a > args[0] : args[0] > args[1];
122
- }
123
- function gte(...args) {
124
- return args.length === 1 ? (a) => a >= args[0] : args[0] >= args[1];
125
- }
126
- function lt(...args) {
127
- return args.length === 1 ? (a) => a < args[0] : args[0] < args[1];
128
- }
129
- function lte(...args) {
130
- return args.length === 1 ? (a) => a <= args[0] : args[0] <= args[1];
131
- }
132
- /**
133
- * Returns the sine of a number.
134
- *
135
- * @category Math
136
- * @returns `Math.sin(angle)`
137
- */
138
- function sin(angle) {
139
- return Math.sin(angle);
140
- }
141
- /**
142
- * Returns the cosine of a number.
143
- *
144
- * @category Math
145
- * @returns `Math.cos(angle)`
146
- */
147
- function cos(angle) {
148
- return Math.cos(angle);
149
- }
150
- /**
151
- * Returns the tangent of a number.
152
- *
153
- * @category Math
154
- * @returns `Math.tan(angle)`
155
- */
156
- function tan(angle) {
157
- return Math.tan(angle);
158
- }
159
- /**
160
- * Returns the arcsine of a number.
161
- *
162
- * @category Math
163
- * @returns `Math.asin(value)`
164
- */
165
- function asin(value) {
166
- return Math.asin(value);
167
- }
168
- /**
169
- * Returns the arc cosine (or inverse cosine) of a number.
170
- *
171
- * @category Math
172
- * @returns `Math.acos(value)`
173
- */
174
- function acos(value) {
175
- return Math.acos(value);
176
- }
177
- /**
178
- * Returns the arctangent of a number.
179
- *
180
- * @category Math
181
- * @returns `Math.atan(value)`
182
- */
183
- function atan(value) {
184
- return Math.atan(value);
185
- }
186
- /**
187
- * Returns the angle (in radians) from the X axis to a point.
188
- *
189
- * @category Math
190
- * @param x - A number representing the cartesian x-coordinate.
191
- * @param y - A number representing the cartesian y-coordinate.
192
- * @returns `Math.atan2(x, y)`
193
- */
194
- function atan2(x, y) {
195
- return Math.atan2(x, y);
196
- }
197
- /**
198
- * Returns the hyperbolic sine of a number.
199
- *
200
- * @category Math
201
- * @returns `Math.sinh(angle)`
202
- */
203
- function sinh(angle) {
204
- return Math.sinh(angle);
205
- }
206
- /**
207
- * Returns the hyperbolic cosine of a number.
208
- *
209
- * @category Math
210
- * @returns `Math.cosh(angle)`
211
- */
212
- function cosh(angle) {
213
- return Math.cosh(angle);
214
- }
215
- /**
216
- * Returns the hyperbolic tangent of a number.
217
- *
218
- * @category Math
219
- * @returns `Math.tanh(angle)`
220
- */
221
- function tanh(angle) {
222
- return Math.tanh(angle);
223
- }
224
- /**
225
- * Returns the inverse hyperbolic sine of a number.
226
- *
227
- * @category Math
228
- * @returns `Math.asinh(value)`
229
- */
230
- function asinh(value) {
231
- return Math.asinh(value);
232
- }
233
- /**
234
- * Returns the inverse hyperbolic cosine of a number.
235
- *
236
- * @category Math
237
- * @returns `Math.acosh(value)`
238
- */
239
- function acosh(value) {
240
- return Math.acosh(value);
241
- }
242
- /**
243
- * Returns the inverse hyperbolic tangent of a number.
244
- *
245
- * @category Math
246
- * @returns `Math.atanh(value)`
247
- */
248
- function atanh(value) {
249
- return Math.atanh(value);
250
- }
251
-
252
- /**
253
- * Convert {@link Radian} to {@link Degree}.
254
- */
255
- function radiansToDegrees(angle) {
256
- return mul(angle, (180 / Math.PI));
257
- }
258
- /**
259
- * Convert {@link Radian} to {@link Gradian}.
260
- */
261
- function radiansToGradians(angle) {
262
- return mul(angle, (200 / Math.PI));
263
- }
264
- /**
265
- * Convert {@link Radian} to {@link Turn}.
266
- */
267
- function radiansToTurns(angle) {
268
- return div(angle, Math.PI);
269
- }
270
- /**
271
- * Convert {@link Degree} to {@link Radian}.
272
- */
273
- function degreesToRadians(angle) {
274
- return mul(angle, (Math.PI / 180));
275
- }
276
- /**
277
- * Convert {@link Degree} to {@link Gradian}.
278
- */
279
- function degreesToGradians(angle) {
280
- return mul(angle, (10 / 9));
281
- }
282
- /**
283
- * Convert {@link Degree} to {@link Turn}.
284
- */
285
- function degreesToTurns(angle) {
286
- return div(angle, 360);
287
- }
288
- /**
289
- * Convert {@link Gradian} to {@link Radian}.
290
- */
291
- function gradiansToRadians(angle) {
292
- return mul(angle, (Math.PI / 400));
293
- }
294
- /**
295
- * Convert {@link Gradian} to {@link Degree}.
296
- */
297
- function gradiansToDegrees(angle) {
298
- return mul(angle, (9 / 10));
299
- }
300
- /**
301
- * Convert {@link Gradian} to {@link Turn}.
302
- */
303
- function gradiansToTurns(angle) {
304
- return div(angle, 400);
305
- }
306
- /**
307
- * Convert {@link Turn} to {@link Radian}.
308
- */
309
- function turnsToRadians(angle) {
310
- return mul(angle, (2 * Math.PI));
311
- }
312
- /**
313
- * Convert {@link Turn} to {@link Degree}.
314
- */
315
- function turnsToDegrees(angle) {
316
- return mul(angle, 360);
317
- }
318
- /**
319
- * Convert {@link Turn} to {@link Gradian}.
320
- */
321
- function turnsToGradians(angle) {
322
- return mul(angle, 400);
323
- }
324
-
325
- /**
326
- * Convert {@link Square}<{@link Meter}> to {@link Are}.
327
- */
328
- function squareMetersToAres(area) {
329
- return div(area, 100);
330
- }
331
- /**
332
- * Convert {@link Square}<{@link Meter}> to {@link Hectare}.
333
- */
334
- function squareMetersToHectares(area) {
335
- return div(area, 10_000);
336
- }
337
- /**
338
- * Convert {@link Are} to {@link Square}<{@link Meter}>.
339
- */
340
- function aresToSquareMeters(area) {
341
- return mul(area, 100);
342
- }
343
- /**
344
- * Convert {@link Are} to {@link Hectare}.
345
- */
346
- function aresToHectares(area) {
347
- return div(area, 100);
348
- }
349
- /**
350
- * Convert {@link Hectare} to {@link Square}<{@link Meter}>.
351
- */
352
- function hectaresToSquareMeters(area) {
353
- return mul(area, 10_000);
354
- }
355
- /**
356
- * Convert {@link Hectare} to {@link Are}.
357
- */
358
- function hectaresToAres(area) {
359
- return mul(area, 100);
360
- }
361
-
362
- /**
363
- * Convert {@link Second} to {@link Minute}.
364
- */
365
- function secondsToMinutes(duration) {
366
- return div(duration, 60);
367
- }
368
- /**
369
- * Convert {@link Second} to {@link Hour}.
370
- */
371
- function secondsToHours(duration) {
372
- return div(duration, 3600);
373
- }
374
- /**
375
- * Convert {@link Minute} to {@link Second}.
376
- */
377
- function minutesToSeconds(duration) {
378
- return mul(duration, 60);
379
- }
380
- /**
381
- * Convert {@link Minute} to {@link Hour}.
382
- */
383
- function minutesToHours(duration) {
384
- return div(duration, 60);
385
- }
386
- /**
387
- * Convert {@link Hour} to {@link Second}.
388
- */
389
- function hoursToSeconds(duration) {
390
- return mul(duration, 3600);
391
- }
392
- /**
393
- * Convert {@link Hour} to {@link Minute}.
394
- */
395
- function hoursToMinutes(duration) {
396
- return mul(duration, 60);
397
- }
398
- /**
399
- * Convert {@link Hour} to {@link Day}.
400
- */
401
- function hoursToDays(duration) {
402
- return div(duration, 24);
403
- }
404
- /**
405
- * Convert {@link Day} to {@link Hour}.
406
- */
407
- function daysToHours(duration) {
408
- return mul(duration, 24);
409
- }
410
- /**
411
- * Convert {@link Day} to {@link Week}.
412
- */
413
- function daysToWeeks(duration) {
414
- return div(duration, 7);
415
- }
416
- /**
417
- * Convert {@link Day} to {@link Year}.
418
- *
419
- * This function assume that one year is equal to 365.25 Day.
420
- * Use an actual date/time library if you need more control.
421
- */
422
- function daysToYears(duration) {
423
- return div(duration, 365.25);
424
- }
425
- /**
426
- * Convert {@link Week} to {@link Day}.
427
- */
428
- function weeksToDays(duration) {
429
- return mul(duration, 7);
430
- }
431
- /**
432
- * Convert {@link Week} to {@link Year}.
433
- */
434
- function weeksToYears(duration) {
435
- return daysToYears(weeksToDays(duration));
436
- }
437
- /**
438
- * Convert {@link Year} to {@link Day}.
439
- *
440
- * This function assume that one year is equal to 365.25 Day.
441
- * Use an actual date/time library if you need more control.
442
- */
443
- function yearsToDays(duration) {
444
- return mul(duration, 365.25);
445
- }
446
- /**
447
- * Convert {@link Year} to {@link Week}.
448
- */
449
- function yearsToWeeks(duration) {
450
- return daysToWeeks(yearsToDays(duration));
451
- }
452
-
453
- /**
454
- * Convert {@link Joule} to {@link WattMinute}.
455
- */
456
- function joulesToWattMinutes(energy) {
457
- return div(energy, 60);
458
- }
459
- /**
460
- * Convert {@link Joule} to {@link WattHour}.
461
- */
462
- function joulesToWattHours(energy) {
463
- return div(energy, 3600);
464
- }
465
- /**
466
- * Convert {@link WattMinute} to {@link Joule}.
467
- */
468
- function wattMinutesToJoules(energy) {
469
- return mul(energy, 60);
470
- }
471
- /**
472
- * Convert {@link WattHour} to {@link Joule}.
473
- */
474
- function wattHoursToJoules(energy) {
475
- return mul(energy, 3600);
476
- }
477
-
478
- /**
479
- * Convert {@link Hertz} to {@link PerMinute}.
480
- */
481
- function hertzToPerMinute(frequency) {
482
- return mul(frequency, 60);
483
- }
484
- /**
485
- * Convert {@link Hertz} to {@link PerHour}.
486
- */
487
- function hertzToPerHour(frequency) {
488
- return mul(frequency, 3600);
489
- }
490
- /**
491
- * Convert {@link PerMinute} to {@link Hertz}.
492
- */
493
- function perMinuteToHertz(frequency) {
494
- return div(frequency, 60);
495
- }
496
- /**
497
- * Convert {@link PerMinute} to {@link PerHour}.
498
- */
499
- function perMinuteToPerHour(frequency) {
500
- return mul(frequency, 60);
501
- }
502
- /**
503
- * Convert {@link PerHour} to {@link Hertz}.
504
- */
505
- function perHourToHertz(frequency) {
506
- return div(frequency, 3600);
507
- }
508
- /**
509
- * Convert {@link PerHour} to {@link PerMinute}.
510
- */
511
- function perHourToPerMinute(frequency) {
512
- return div(frequency, 60);
513
- }
514
- /**
515
- * Convert {@link PerHour} to {@link PerDay}.
516
- */
517
- function perHourToPerDay(frequency) {
518
- return mul(frequency, 24);
519
- }
520
- /**
521
- * Convert {@link PerDay} to {@link PerHour}.
522
- */
523
- function perDayToPerHour(frequency) {
524
- return div(frequency, 24);
525
- }
526
- /**
527
- * Convert {@link PerDay} to {@link PerWeek}.
528
- */
529
- function perDayToPerWeek(frequency) {
530
- return mul(frequency, 7);
531
- }
532
- /**
533
- * Convert {@link PerDay} to {@link PerYear}.
534
- *
535
- * This function assume that one year is equal to 365.25 Day.
536
- * Use an actual date/time library if you need more control.
537
- */
538
- function perDayToPerYear(frequency) {
539
- return mul(frequency, 365.25);
540
- }
541
- /**
542
- * Convert {@link PerWeek} to {@link PerDay}.
543
- */
544
- function perWeekToPerDay(frequency) {
545
- return div(frequency, 7);
546
- }
547
- /**
548
- * Convert {@link PerWeek} to {@link PerYear}.
549
- */
550
- function perWeekToPerYear(frequency) {
551
- return perDayToPerYear(perWeekToPerDay(frequency));
552
- }
553
- /**
554
- * Convert {@link PerYear} to {@link PerDay}.
555
- *
556
- * This function assume that one year is equal to 365.25 Day.
557
- * Use an actual date/time library if you need more control.
558
- */
559
- function perYearToPerDay(frequency) {
560
- return div(frequency, 365.25);
561
- }
562
- /**
563
- * Convert {@link PerYear} to {@link PerWeek}.
564
- */
565
- function perYearToPerWeek(frequency) {
566
- return perDayToPerWeek(perYearToPerDay(frequency));
567
- }
568
-
569
- /**
570
- * Convert {@link Gram} to {@link Tonne}.
571
- */
572
- function gramsToTonnes(mass) {
573
- return div(mass, 1_000_000);
574
- }
575
- /**
576
- * Convert {@link Tonne} to {@link Gram}.
577
- */
578
- function tonnesToGrams(mass) {
579
- return mul(mass, 1_000_000);
580
- }
581
-
582
- /**
583
- * @file Autogenerated File - Don't manually edit.
584
- */
585
- /**
586
- * Convert `X` to `dekaX`.
587
- */
588
- function toDeka(value) {
589
- return mul(value, 10);
590
- }
591
- /**
592
- * Convert `dekaX` to `X`.
593
- */
594
- const fromDeka = toDeci;
595
- /**
596
- * Convert `X` to `deciX`.
597
- */
598
- function toDeci(value) {
599
- return div(value, 10);
600
- }
601
- /**
602
- * Convert `deciX` to `X`.
603
- */
604
- const fromDeci = toDeka;
605
- /**
606
- * Convert `X` to `hectoX`.
607
- */
608
- function toHecto(value) {
609
- return mul(value, 100);
610
- }
611
- /**
612
- * Convert `hectoX` to `X`.
613
- */
614
- const fromHecto = toCenti;
615
- /**
616
- * Convert `X` to `centiX`.
617
- */
618
- function toCenti(value) {
619
- return div(value, 100);
620
- }
621
- /**
622
- * Convert `centiX` to `X`.
623
- */
624
- const fromCenti = toHecto;
625
- /**
626
- * Convert `X` to `kiloX`.
627
- */
628
- function toKilo(value) {
629
- return mul(value, 1000);
630
- }
631
- /**
632
- * Convert `kiloX` to `X`.
633
- */
634
- const fromKilo = toMilli;
635
- /**
636
- * Convert `X` to `milliX`.
637
- */
638
- function toMilli(value) {
639
- return div(value, 1000);
640
- }
641
- /**
642
- * Convert `milliX` to `X`.
643
- */
644
- const fromMilli = toKilo;
645
- /**
646
- * Convert `X` to `megaX`.
647
- */
648
- function toMega(value) {
649
- return mul(value, 1000000);
650
- }
651
- /**
652
- * Convert `megaX` to `X`.
653
- */
654
- const fromMega = toMicro;
655
- /**
656
- * Convert `X` to `microX`.
657
- */
658
- function toMicro(value) {
659
- return div(value, 1000000);
660
- }
661
- /**
662
- * Convert `microX` to `X`.
663
- */
664
- const fromMicro = toMega;
665
- /**
666
- * Convert `X` to `gigaX`.
667
- */
668
- function toGiga(value) {
669
- return mul(value, 1000000000);
670
- }
671
- /**
672
- * Convert `gigaX` to `X`.
673
- */
674
- const fromGiga = toNano;
675
- /**
676
- * Convert `X` to `nanoX`.
677
- */
678
- function toNano(value) {
679
- return div(value, 1000000000);
680
- }
681
- /**
682
- * Convert `nanoX` to `X`.
683
- */
684
- const fromNano = toGiga;
685
- /**
686
- * Convert `X` to `teraX`.
687
- */
688
- function toTera(value) {
689
- return mul(value, 1000000000000);
690
- }
691
- /**
692
- * Convert `teraX` to `X`.
693
- */
694
- const fromTera = toPico;
695
- /**
696
- * Convert `X` to `picoX`.
697
- */
698
- function toPico(value) {
699
- return div(value, 1000000000000);
700
- }
701
- /**
702
- * Convert `picoX` to `X`.
703
- */
704
- const fromPico = toTera;
705
-
706
- /**
707
- * Convert {@link Celsius} to {@link Kelvin}.
708
- */
709
- function celsiusToKelvin(temperature) {
710
- return (temperature - 273.15);
711
- }
712
- /**
713
- * Convert {@link Kelvin} to {@link Celsius}.
714
- */
715
- function kelvinToCelsius(temperature) {
716
- return (temperature + 273.15);
717
- }
718
-
719
- /**
720
- * Convert {@link Cubic}<{@link Meter}> to {@link Liter}.
721
- */
722
- function cubicMetersToLiters(volume) {
723
- return mul(volume, 1000);
724
- }
725
- /**
726
- * Convert {@link Liter} to {@link Cubic}<{@link Meter}>.
727
- */
728
- function litersToCubicMeters(volume) {
729
- return div(volume, 1000);
730
- }
731
-
732
- export { abs, acos, acosh, add, aresToHectares, aresToSquareMeters, asin, asinh, atan, atan2, atanh, ceil, celsiusToKelvin, cos, cosh, cubicMetersToLiters, daysToHours, daysToWeeks, daysToYears, degreesToGradians, degreesToRadians, degreesToTurns, div, eq, floor, fromCenti, fromDeci, fromDeka, fromGiga, fromHecto, fromKilo, fromMega, fromMicro, fromMilli, fromNano, fromPico, fromTera, gradiansToDegrees, gradiansToRadians, gradiansToTurns, gramsToTonnes, gt, gte, hectaresToAres, hectaresToSquareMeters, hertzToPerHour, hertzToPerMinute, hoursToDays, hoursToMinutes, hoursToSeconds, inverse, joulesToWattHours, joulesToWattMinutes, kelvinToCelsius, litersToCubicMeters, lt, lte, max, min, minutesToHours, minutesToSeconds, mod, modSafe, mul, negate, perDayToPerHour, perDayToPerWeek, perDayToPerYear, perHourToHertz, perHourToPerDay, perHourToPerMinute, perMinuteToHertz, perMinuteToPerHour, perWeekToPerDay, perWeekToPerYear, perYearToPerDay, perYearToPerWeek, pow, radiansToDegrees, radiansToGradians, radiansToTurns, root, round, secondsToHours, secondsToMinutes, sin, sinh, sqrt, squareMetersToAres, squareMetersToHectares, sub, sum, tan, tanh, toCenti, toDeci, toDeka, toGiga, toHecto, toKilo, toMega, toMicro, toMilli, toNano, toPico, toTera, tonnesToGrams, turnsToDegrees, turnsToGradians, turnsToRadians, wattHoursToJoules, wattMinutesToJoules, weeksToDays, weeksToYears, yearsToDays, yearsToWeeks };
1
+ export { a as abs, b as acos, c as acosh, d as add, e as asin, f as asinh, g as atan, h as atan2, i as atanh, j as ceil, k as cos, l as cosh, m as div, n as eq, o as floor, p as gt, q as gte, r as inverse, s as lt, t as lte, u as max, v as min, w as mod, x as modSafe, y as mul, z as negate, A as pow, B as root, C as round, D as sin, E as sinh, F as sqrt, G as sub, H as sum, I as tan, J as tanh } from './chunks/B2m_qd8-.mjs';
2
+ export { a as aresToHectares, b as aresToSquareMeters, c as celsiusToKelvin, d as cubicMetersToLiters, e as daysToHours, f as daysToWeeks, g as daysToYears, h as degreesToGradians, i as degreesToRadians, j as degreesToTurns, k as fromCenti, l as fromDeci, m as fromDeka, n as fromGiga, o as fromHecto, p as fromKilo, q as fromMega, r as fromMicro, s as fromMilli, t as fromNano, u as fromPico, v as fromTera, w as gradiansToDegrees, x as gradiansToRadians, y as gradiansToTurns, z as gramsToTonnes, A as hectaresToAres, B as hectaresToSquareMeters, C as hertzToPerHour, D as hertzToPerMinute, E as hoursToDays, F as hoursToMinutes, G as hoursToSeconds, H as joulesToWattHours, I as joulesToWattMinutes, J as kelvinToCelsius, K as litersToCubicMeters, L as minutesToHours, M as minutesToSeconds, N as perDayToPerHour, O as perDayToPerWeek, P as perDayToPerYear, Q as perHourToHertz, R as perHourToPerDay, S as perHourToPerMinute, T as perMinuteToHertz, U as perMinuteToPerHour, V as perWeekToPerDay, W as perWeekToPerYear, X as perYearToPerDay, Y as perYearToPerWeek, Z as radiansToDegrees, _ as radiansToGradians, $ as radiansToTurns, a0 as secondsToHours, a1 as secondsToMinutes, a2 as squareMetersToAres, a3 as squareMetersToHectares, a4 as toCenti, a5 as toDeci, a6 as toDeka, a7 as toGiga, a8 as toHecto, a9 as toKilo, aa as toMega, ab as toMicro, ac as toMilli, ad as toNano, ae as toPico, af as toTera, ag as tonnesToGrams, ah as turnsToDegrees, ai as turnsToGradians, aj as turnsToRadians, ak as wattHoursToJoules, al as wattMinutesToJoules, am as weeksToDays, an as weeksToYears, ao as yearsToDays, ap as yearsToWeeks } from './chunks/nRDIxMhl.mjs';