physical-quantity 1.2.2 → 1.3.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/pq.umd.js CHANGED
@@ -2,1031 +2,3185 @@
2
2
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.PQWebComponents = {}));
3
3
  })(this, function(exports2) {
4
4
  "use strict";/**
5
- * physical-quantity v1.2.0
5
+ * physical-quantity v1.3.0
6
6
  * A web component bundle to represent physical quantities with automated unit conversion.
7
7
  * @license MIT
8
8
  * @author E3d - Don Wen <don.wen@calcslive.com>
9
9
  */
10
10
 
11
- const THOUSAND = 1e3;
12
- const MILLION = 1e6;
13
- const BILLION = 1e9;
14
- const POUNDMASS_KG = 0.45359237;
15
- const GRAVITY_SI = 9.80665;
16
- const MILE_FOOT = 5280;
17
- const INCH_METER = 25.4 / 1e3;
18
- const FOOT_METER = 12 * INCH_METER;
19
- const NM_METER = 1852;
20
- const ACRE_FOOT2 = 66 * 660;
21
- const GALLON_UK_IMPERIAL_LITRE = 4.54609;
22
- const GALLON_US_LIQUID_IN3 = 231;
23
- const GALLON_US_DRY_IN3 = 268.8025;
24
- const PINT_GALLON = 1 / 8;
25
- const OUNCE_FLUID_PINT_UK_IMPERIAL = 1 / 20;
26
- const OUNCE_FLUID_PINT_US_LIQUID = 1 / 16;
27
- const BUSHEL_GALLON_UK_IMPERIAL = 8;
28
- const BUSHEL_GALLON_US_DRY = 8;
29
- const CUP_US_GALLON_LIQUID = 1 / 16;
30
- const CUP_LEGAL_ML_LIQUID = 240;
31
- const CUP_METRIC_ML_LIQUID = 250;
32
- const CUP_IMPERIAL_OUNCE_LIQUID = 10;
33
- const SLUG_KG = 14.59390294;
34
- const BTU_J = 1055.05585262;
35
- const CALORIE_IT_J = 4.1868;
36
- const CALORIE_TH_J = 4.184;
37
- const HP_W = 550 * POUNDMASS_KG * GRAVITY_SI * FOOT_METER;
38
- const ATM_PA = 101325;
39
- const TORR_ATM = 1 / 760;
40
- const MMHG_PA = 133.322387415;
41
- const J_EV = 624150974e10;
42
- const UNITS = {
43
- /* 901 */
44
- Length: [
45
- "m",
46
- "nano[nm]",
47
- "µm",
48
- "micron",
49
- "mm",
50
- "cm",
51
- "dm",
52
- "km",
53
- "in",
54
- "ft-in",
55
- "thou[mil, or thousandth of an inch]",
56
- // a thousandth is called a thou per wiki
57
- "ft",
58
- "yd",
59
- "mile",
60
- "NM[M, nmi, or nautical mile]"
61
- ],
62
- /* 902 */
63
- Mass: [
64
- "kg",
65
- "g",
66
- "mg",
67
- "µg",
68
- "oz",
69
- "lbm",
70
- "slug",
71
- "ton(US/short)",
72
- "ton(UK-Imperial/long)",
73
- "tonne"
74
- ],
75
- /* 903 */
76
- Time: ["s[second]", "s", "minute", "h", "h[hour]", "day", "week"],
77
- /* 904 */
78
- ElectricalCurrent: ["A", "Ampere[amp]", "mA", "µA", "kA", "MA", "esu/s"],
79
- /* 905 */
80
- Temperature: ["°K", "°C", "°F", "°Ra"],
81
- /* 906 */
82
- "Amount of Substance": ["mol", "mmol", "kmol"],
83
- /* 907 */
84
- "Luminous Intensity": [
85
- "cd[candela]",
86
- "lm/sr",
87
- "cp[candlepower]",
88
- "cp[candlepower(before 1948)]"
89
- ],
90
- /* 100 */
91
- Acceleration: ["m/s²", "m/min²", "mm/s²", "ft/s²", "ft/min²", "in/s²"],
92
- /* 1001 */
93
- "Gravitational Constant": ["m³/kg/s²", "N⋅m²/kg²", "dyn⋅cm²/g²"],
94
- /* 1010 */
95
- "Velocity (Angular)": [
96
- "rad/s",
97
- "rad/min",
98
- "rad/h",
99
- "deg°/s",
100
- "deg°/min",
101
- "deg°/h",
102
- "rpm[rev/min]",
103
- "rev/s"
104
- ],
105
- /* 1011 */
106
- "Acceleration (Angular)": ["rad/s²", "rad/min²", "deg°/s²", "deg°/min²"],
107
- /* 102 */
108
- Illuminance: [
109
- "lux",
110
- "lumen/m²",
111
- "lm/m²",
112
- "meter-candle",
113
- "phot",
114
- "foot-candle",
115
- "fc",
116
- "lumen/ft²",
117
- "lm/ft²"
118
- ],
119
- /* 103 */
120
- Frequency: ["Hz", "1/s", "1/min", "rpm", "1/hour", "mHz", "kHz", "MHz", "GHz"],
121
- /* 104 */
122
- Area: [
123
- "m²",
124
- "µm²",
125
- "mm²",
126
- "cm²",
127
- "km²",
128
- "hectare",
129
- "in²",
130
- "ft²",
131
- "yd²",
132
- "acre",
133
- "mile²"
134
- ],
135
- /* 105 */
136
- "Volume / Section Modulus": [
137
- "m³",
138
- "µm³",
139
- "mm³",
140
- "cm³",
141
- "L",
142
- "ml",
143
- "km³",
144
- "in³",
145
- "ft³",
146
- "yd³",
147
- "gal(UK-imperial)",
148
- "gal(US-liquid)",
149
- "gal(US-dry)",
150
- "pint(UK-imperial)",
151
- "pint(US-liquid)",
152
- "pint(US-dry)",
153
- "fluid ounce(UK-imperial)",
154
- "fluid ounce(US-liquid)",
155
- "bushel(UK-imperial)",
156
- "bushel(US-dry)",
157
- "cup(US-liquid)",
158
- "cup(Legal)",
159
- "cup(Metric)",
160
- "cup(Imperial)"
161
- ],
162
- /* 106 */
163
- "Polar Moment of Inertia": ["m⁴", "mm⁴", "cm⁴", "in⁴", "ft⁴"],
164
- /* 1060 */
165
- "Moment of Inertia": ["kg⋅m²", "g⋅cm²", "g⋅mm²", "lbm⋅ft²", "lbm⋅in²", "oz⋅in²"],
166
- /* 107 */
167
- Force: ["N", "kN", "MN", "kgf", "lb", "lbf", "kip[kilo pound]"],
168
- /* 108 */
169
- Angle: ["radian", "rad", "deg°", "revolution"],
170
- /* 1081 */
171
- "Solid Angle": ["sr[steradian]", "m²/m²"],
172
- /* 1090 */
173
- "BMI-Body Mass Index/Ballistic Coefficient": [
174
- "kg/m²",
175
- "g/cm²",
176
- "g/mm²",
177
- "tonne/m²",
178
- "lbm/yd²",
179
- "lbm/ft²",
180
- "lbm/in²",
181
- "oz/yd²",
182
- "oz/ft²",
183
- "oz/in²"
184
- ],
185
- /* 1091 */
186
- Density: ["kg/m³", "kg/L", "g/cm³", "g/mm³", "lbm/ft³", "lbm/in³"],
187
- /* 110 */
188
- Energy: [
189
- "J[Joule]",
190
- "kJ",
191
- "MJ",
192
- "GJ",
193
- "TNT Equivalent[kiloton]",
194
- "Btu",
195
- "MM Btu",
196
- "calorie(IT)",
197
- // 4.1868J
198
- "kilo-calorie(IT)",
199
- "calorie(TH)",
200
- // 4.184J
201
- "kilo-calorie(TH)",
202
- "HP Hour",
203
- "Wh",
204
- "kWh",
205
- "eV[electron-volt]"
206
- ],
207
- /* 111 */
208
- Power: [
209
- "W",
210
- "kW",
211
- "MW",
212
- "GW[Gigawatt]",
213
- "Btu/h",
214
- "Btu/minute",
215
- "MM Btu/h",
216
- "Btu(AC)",
217
- "calorie(IT)/second",
218
- "calorie(IT)/minute",
219
- "kilo-calorie(IT)/hour",
220
- "calorie(TH)/second",
221
- "calorie(TH)/minute",
222
- "kilo-calorie(TH)/hour",
223
- "lb-ft/second",
224
- "lb-ft/minute",
225
- "HP",
226
- "J/second",
227
- "J/minute",
228
- "J/h",
229
- "MJ/h",
230
- "kJ/minute"
231
- ],
232
- /* 112 */
233
- "Torque, Moment of Force": ["Nm", "kNm", "lb-in", "kip-in", "lb-ft", "oz-in", "oz-ft"],
234
- /* 1130 */
235
- "Pressure/Stress": [
236
- "Pa",
237
- "kPa",
238
- "MPa",
239
- "GPa",
240
- "bar",
241
- "mbar",
242
- "atm",
243
- "mm HG",
244
- "cm HG",
245
- "in HG",
246
- "mm W.C.",
247
- "m W.C.",
248
- "in W.C.",
249
- "psf",
250
- "psi",
251
- "ksi",
252
- "ksi[kip/in²]"
253
- ],
254
- /* 1131 */
255
- "Pressure Drop per Unit Length": [
256
- "Pa/m",
257
- "Pascal/m",
258
- "kPa/m",
259
- "MPa/km",
260
- "bar/m",
261
- "mbar/mm",
262
- "atm/m",
263
- "mm HG/m",
264
- "in HG/ft",
265
- "mm W.C./m",
266
- "m W.C./m",
267
- "in W.C./ft",
268
- "in W.C./100 ft",
269
- "psf/in",
270
- "psi/ft",
271
- "ksi/ft",
272
- "Torr/ft",
273
- "mTorr/m"
274
- ],
275
- /* 1132 */
276
- "Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring": ["N/m", "N/mm", "kN/m", "lb/ft", "kips/ft", "lb/in"],
277
- // 1132
278
- /* 1133 */
279
- "Stiffness of Rotary Spring": [
280
- "N⋅m/rad",
281
- "N⋅m/deg°",
282
- "N⋅mm/rad",
283
- "N⋅mm/deg°",
284
- "lb-ft/rad",
285
- "lb-ft/deg°",
286
- "lb-in/rad",
287
- "lb-in/deg°"
288
- ],
289
- /* 114 */
290
- "Flow Rate (Volume)": [
291
- "m³/s",
292
- "m³/min",
293
- "m³/h",
294
- "L/s",
295
- "L/min",
296
- "L/h",
297
- "cm³/s",
298
- "cm³/min",
299
- "in³/s",
300
- "in³/min",
301
- "ft³/s",
302
- "CFM",
303
- "CFM[ft³/min]",
304
- "CFH",
305
- "CFH[ft³/h]",
306
- "yd³/min",
307
- "yd³/h",
308
- "gpm(US)",
309
- "gph(US)",
310
- "bushel(UK-imperial)/h",
311
- "bushel(US)/h"
312
- ],
313
- /* 115 */
314
- "Flow Rate (Mass)": [
315
- "kg/s",
316
- "kg/min",
317
- "kg/h",
318
- "g/s",
319
- "g/min",
320
- "g/h",
321
- "slug/s",
322
- "slug/min",
323
- "slug/h",
324
- "lbm/s",
325
- "lbm/min",
326
- "lbm/h",
327
- "oz/s",
328
- "oz/min",
329
- "oz/h",
330
- "tonne/h",
331
- "short ton/h",
332
- "long ton/h"
333
- ],
334
- /* 117 */
335
- "Speed / Velocity (Linear)": [
336
- "m/s",
337
- "mm/s",
338
- "km/s",
339
- "mm/min",
340
- "m/min",
341
- "km/min",
342
- "mm/h",
343
- "m/h",
344
- "km/h",
345
- "in/s",
346
- "fps",
347
- "fps[ft/second]",
348
- "fpm",
349
- // clear version
350
- "fpm[ft/minute]",
351
- // redundant version
352
- "mph[mile/h]",
353
- "knot[kn, kt, or nautical mile/h]"
354
- ],
355
- /* 118 */
356
- /* 119 */
357
- "Fuel Heat Value (Volume)": [
358
- "J/m³",
359
- "J/L",
360
- "kJ/L",
361
- "kJ/m³",
362
- "MJ/m³",
363
- "GJ/m³",
364
- "cal(IT)/L",
365
- // 4.1868J
366
- "kcal(IT)/m³",
367
- "cal(TH)/L",
368
- // 4.184J
369
- "kcal(TH)/m³",
370
- "Wh/L",
371
- "Wh/m³",
372
- "kWh/m³",
373
- "HP Hour/ft³",
374
- "Btu/gal(US)",
375
- "Btu/ft³",
376
- "MM Btu/ft³"
377
- ],
378
- /* 120 */
379
- "Fuel Heat Value (Mass)": [
380
- "J/kg",
381
- "J/g",
382
- "kJ/kg",
383
- "MJ/kg",
384
- "GJ/kg",
385
- "cal(IT)/g",
386
- "kcal(IT)/kg",
387
- "cal(TH)/g",
388
- "kcal(TH)/kg",
389
- "Wh/g",
390
- "Wh/kg",
391
- "kWh/kg",
392
- "HP Hour/lbm",
393
- "Btu/lbm",
394
- "MM Btu/lbm",
395
- "Btu/ton(short)"
396
- ],
397
- /* 121 */
398
- "Mass Heat Capacity": ["J/(kg·°K)", "J/(kg·°C)", "J/(g·°K)", "J/(g·°C)", "Btu/(lbm·°F)"],
399
- /* 122 */
400
- "Viscosity - Absolute/Dynamic(μ)": [
401
- "PI[Pa·s]",
402
- "N·s/m²",
403
- "kg/m/s",
404
- "P[Poise]",
405
- "cP",
406
- "lb·s/ft²",
407
- "lbm/ft/s"
408
- ],
409
- /* 123 */
410
- "Viscosity - Kinematic": [
411
- "m²/s",
412
- "m²/min",
413
- "m²/hr",
414
- "St[cm²/s]",
415
- "Stoke",
416
- "cm²/min",
417
- "cm²/hr",
418
- "cSt[mm²/s]",
419
- "mm²/min",
420
- "mm²/hr",
421
- "ft²/s",
422
- "ft²/min",
423
- "ft²/hr",
424
- "in²/s",
425
- "in²/min",
426
- "in²/hr"
427
- ],
428
- /* 1240 */
429
- "Linear Thermal Expansion Coefficient": ["1/°K", "1/°C", "1/°F", "1/°Ra"],
430
- /* 1241 */
431
- "Thermal Conductivity": ["W/(m⋅°K)", "W/(cm⋅°K)", "BTU/(h⋅ft⋅°F)", "BTU/(h⋅in⋅°F)"],
432
- // TODO:
433
- /* 125 */
434
- "Electrical Charge": [
435
- "C[coulomb]",
436
- "Ah",
437
- "ampere-hour",
438
- "mAh",
439
- "e[electron]",
440
- "faraday"
441
- ],
442
- /* 126 */
443
- "Electrical Potential Difference (Voltage)": [
444
- "V",
445
- "Volt",
446
- "joule/coulomb",
447
- "J/C",
448
- "µV",
449
- "mV",
450
- "kV",
451
- "MV"
452
- ],
453
- /* 127 */
454
- "Electrical Resistance(Impedance)": ["Ω[Ohm]", "µΩ", "mΩ", "kΩ", "MΩ"],
455
- /* 128 */
456
- "Electrical Capacitance": ["F[farad]", "pF", "nF", "µF", "mF"],
457
- /* 129 */
458
- "Electrical Inductance": ["H[henry]", "µH", "mH"],
459
- /* 130 */
460
- "Electrical Conductance": ["S[siemens]", "℧", "µS", "mS", "kS"],
461
- /* 131 */
462
- "Magnetic Flux": ["Wb[weber]", "nWb", "µWb", "mWb", "cWb", "dWb"],
463
- /* 132 */
464
- "Luminous Flux": ["lm[lumen]", "cd⋅sr"],
465
- /* 133 */
466
- "Magnetic Flux Density": ["T[tesla]", "Wb/m²", "µT", "G", "mT"],
467
- /* 134 */
468
- "Katalytic Activity": ["kat[katal]", "mol/s", "µkat", "mkat", "kkat", "Mkat"],
469
- /* 135 */
470
- Radioactivity: [
471
- "Bq[becquerel]",
472
- "1/s",
473
- "µBq",
474
- "mBq",
475
- "kBq",
476
- "MBq",
477
- "Rd[rutherford]",
478
- "Ci[curie]"
479
- ],
480
- /* 136 */
481
- "Absorbed Dose of Ionizing Radiation": ["Gy[gray]", "J/kg", "µGy", "mGy", "kGy", "MGy"],
482
- /* 137 */
483
- "Equivalent Dose of Ionizing Radiation": ["Sv[sievert]", "J/kg", "µSv", "mSv", "kSv", "MSv"],
484
- /* 138 */
485
- "Volumetric Displacement": [
486
- /** baseUnit does not need to be included here.
487
- * => Update: show baseUnit so user can tell it is based on volume/angle, instead of volume/cycle. 20221016
488
- */
489
- "m³/rad",
490
- "m³/rev",
491
- "L/rev",
492
- "cc/rev",
493
- "ft³/rev",
494
- "in³/rev",
495
- "gal(US-liquid)/rev"
496
- ],
497
- /* 139 */
498
- "Fuel Economy": [
499
- // 'm/m³',
500
- "km/L",
501
- "mpg(US)",
502
- "mile/gal(US-liquid)",
503
- "mpg(UK)",
504
- "mile/gal(UK-imperial)",
505
- "mile/L"
506
- ],
507
- /* 140 */
508
- "Fuel Consumption": [
509
- "m³/m",
510
- "L/km",
511
- "L/100km",
512
- "L/mile",
513
- "L/100mile",
514
- "gal(US-liquid)/mile",
515
- "gal(US-liquid)/100mile",
516
- "gal(UK-imperial)/mile",
517
- "gal(UK-imperial)/100mile"
518
- ],
519
- /* 141 */
520
- "New Energy Economy (MPGe)": [
521
- "m/J",
522
- "km/kWh",
523
- "km/MJ",
524
- "MPGe",
525
- "mile/MJ",
526
- "mile/kWh",
527
- "mile/MM Btu"
528
- ],
529
- /* 142 */
530
- "New Energy Consumption": [
531
- "J/m",
532
- "Wh/km",
533
- "Wh/mile",
534
- "kWh/km",
535
- "kWh/100km",
536
- "kWh/mile",
537
- "kWh/100mile",
538
- "MJ/km",
539
- "MJ/100km",
540
- "MJ/mile",
541
- "MJ/100mile",
542
- "MM Btu/km",
543
- "MM Btu/100km",
544
- "MM Btu/mile",
545
- "MM Btu/100mile"
546
- ],
547
- /* 143 */
548
- "Baud Rate": ["bit/s", "Bd", "kBd", "MBd", "GBd"],
549
- /* 144 */
550
- /* 145 */
551
- /* 146 */
552
- /* 147 */
553
- /* 148 */
554
- /* 149 */
555
- /* 150 */
556
- Currency: ["$", "¢", "$1K", "$1M", "$1B", "$1T"],
557
- /* 151 */
558
- "Impulse / Momentum": ["N·s", "Newton-second", "lb·s", "kg·m/s", "lbm·fps", "lbm·fpm"],
559
- /* 152 */
560
- "Digital Storage": [
561
- "bit",
562
- "kilobit",
563
- "kibibit",
564
- "megabit",
565
- "mebibit",
566
- "gigabit",
567
- "gibibit",
568
- "terabit",
569
- "tebibit",
570
- "petabit",
571
- "pebibit",
572
- "byte",
573
- "kilobyte",
574
- "kibibyte",
575
- "megabyte",
576
- "mebibyte",
577
- "gigabyte",
578
- "gibibyte",
579
- "terabyte",
580
- "tebibyte",
581
- "petabyte",
582
- "pebibyte"
583
- ],
584
- /* 153 */
585
- "Data Transfer Rate": [
586
- "bit/s",
587
- "kilobit/s",
588
- "kibibit/s",
589
- "megabit/s",
590
- "mebibit/s",
591
- "gigabit/s",
592
- "gibibit/s",
593
- "terabit/s",
594
- "tebibit/s",
595
- "petabit/s",
596
- "pebibit/s"
597
- ]
598
- /* 154 */
599
- /* */
11
+ const meta = {
12
+ warning: "DO NOT EDIT — generated by units-export.py from Excel master source. Regenerate: python .e3d/chat-logs/data/units-export.py --uom-data",
13
+ version: "2.0.29",
14
+ generated: {
15
+ timestamp: "2026-04-01T22:32:36.380733",
16
+ source: {
17
+ fileName: "constants_categories_units_full.xlsm",
18
+ lastModified: "2026-04-01T22:16:43.302987"
19
+ }
20
+ },
21
+ stats: {
22
+ totalCategories: 67,
23
+ totalUnits: 571
24
+ }
600
25
  };
601
- const CONVERSION_FACTORS = {
602
- /* 901 */
603
- Length: {
604
- "m": 1,
605
- "nano[nm]": 1 / BILLION,
606
- "µm": 1 / MILLION,
607
- "micron": 1 / MILLION,
608
- "mm": 1 / THOUSAND,
609
- "cm": 0.01,
610
- "dm": 0.1,
611
- "km": THOUSAND,
612
- "in": INCH_METER,
613
- "thou[mil, or thousandth of an inch]": INCH_METER / THOUSAND,
614
- // a thousandth is called a thou per wiki
615
- "ft-in": INCH_METER,
616
- "ft": FOOT_METER,
617
- "yd": 3 * FOOT_METER,
618
- "mile": MILE_FOOT * FOOT_METER,
619
- "NM[M, nmi, or nautical mile]": NM_METER
620
- },
621
- /* 902 */
622
- Mass: {
623
- "kg": 1,
624
- "g": 1e-3,
625
- "mg": 1 / MILLION,
626
- "µg": 1 / BILLION,
627
- "oz": 1 / 16 * POUNDMASS_KG,
628
- "lbm": POUNDMASS_KG,
629
- "slug": SLUG_KG,
630
- "ton(US/short)": 2e3 * POUNDMASS_KG,
631
- "ton(UK-Imperial/long)": 2240 * POUNDMASS_KG,
632
- "tonne": THOUSAND
633
- },
634
- /* 903 */
635
- Time: {
636
- /* ["s[second]", "s", "minute", "h", "h[hour]", "day", "week"], */
637
- "s[second]": 1,
638
- "s": 1,
639
- "minute": 60,
640
- "h": 3600,
641
- "h[hour]": 3600,
642
- "day": 3600 * 24,
643
- "week": 3600 * 24 * 7
644
- },
645
- /* 904 */
646
- ElectricalCurrent: {
647
- /* ["A", "Ampere[amp]", "mA", "µA", "kA", "MA", "esu/s"], */
648
- "A": 1,
649
- "Ampere[amp]": 1,
650
- "mA": 1e-3,
651
- "µA": 1e-6,
652
- "kA": THOUSAND,
653
- "MA": MILLION,
654
- "esu/s": 1 / 3e9
655
- },
656
- /* 905 */
657
- Temperature: {
658
- "°K": { c0: 1, c1: 0 },
659
- "°C": { c0: 1, c1: 273.15 },
660
- "°F": { c0: 5 / 9, c1: 255.3722222 },
661
- "°Ra": { c0: 5 / 9, c1: 0 }
662
- },
663
- /* 906 */
664
- "Amount of Substance": {
665
- "mol": 1,
666
- "mmol": 1e-3,
667
- "kmol": THOUSAND
668
- },
669
- /* 907 */
670
- "Luminous Intensity": {
671
- "cd[candela]": 1,
672
- "lm/sr": 1,
673
- "cp[candlepower]": 1,
674
- "cp[candlepower(before 1948)]": 0.981
675
- },
676
- /* 100 */
677
- Acceleration: {
678
- "m/s²": 1,
679
- "m/min²": 1 / 3600,
680
- "mm/s²": 1e-3,
681
- "ft/s²": FOOT_METER,
682
- "ft/min²": FOOT_METER / 3600,
683
- "in/s²": INCH_METER
684
- },
685
- /* 1001 */
686
- "Gravitational Constant": {
687
- "m³/kg/s²": 1,
688
- "N⋅m²/kg²": 1,
689
- "dyn⋅cm²/g²": THOUSAND
690
- },
691
- /* 1010 */
692
- "Velocity (Angular)": {
693
- "rad/s": 1,
694
- "rad/min": 1 / 60,
695
- "rad/h": 1 / 3600,
696
- "deg°/s": Math.PI / 180,
697
- "deg°/min": Math.PI / 180 / 60,
698
- "deg°/h": Math.PI / 180 / 3600,
699
- "rpm[rev/min]": 2 * Math.PI / 60,
700
- "rev/s": 2 * Math.PI
701
- },
702
- /* 1011 */
703
- "Acceleration (Angular)": {
704
- "rad/s²": 1,
705
- "rad/min²": 1 / 3600,
706
- "deg°/s²": Math.PI / 180,
707
- "deg°/min²": Math.PI / 180 / 3600
708
- },
709
- /* 102 */
710
- Illuminance: {
711
- "lux": 1,
712
- "lumen/m²": 1,
713
- "lm/m²": 1,
714
- "meter-candle": 1,
715
- "phot": 1e4,
716
- "foot-candle": 1 / Math.pow(FOOT_METER, 2),
717
- "fc": 1 / Math.pow(FOOT_METER, 2),
718
- "lumen/ft²": 1 / Math.pow(FOOT_METER, 2),
719
- "lm/ft²": 1 / Math.pow(FOOT_METER, 2)
720
- },
721
- /* 103 */
722
- Frequency: {
723
- "Hz": 1,
724
- "1/s": 1,
725
- "1/min": 1 / 60,
726
- "rpm": 1 / 60,
727
- "1/hour": 1 / 3600,
728
- "mHz": 1 / THOUSAND,
729
- "kHz": THOUSAND,
730
- "MHz": MILLION,
731
- "GHz": BILLION
732
- },
733
- /* 104 */
734
- Area: {
735
- "": 1,
736
- "µm²": Math.pow(1 / MILLION, 2),
737
- "mm²": Math.pow(1 / THOUSAND, 2),
738
- "cm²": Math.pow(1 / 100, 2),
739
- "km²": MILLION,
740
- "hectare": Math.pow(100, 2),
741
- "in²": Math.pow(INCH_METER, 2),
742
- "ft²": Math.pow(FOOT_METER, 2),
743
- "yd²": Math.pow(FOOT_METER * 3, 2),
744
- "acre": ACRE_FOOT2 * Math.pow(FOOT_METER, 2),
745
- "mile²": Math.pow(MILE_FOOT * FOOT_METER, 2)
746
- },
747
- /* 105 */
748
- "Volume / Section Modulus": {
749
- "m³": 1,
750
- "µm³": Math.pow(1 / MILLION, 3),
751
- "mm³": Math.pow(1 / THOUSAND, 3),
752
- "cm³": Math.pow(1 / 100, 3),
753
- "L": 1 / THOUSAND,
754
- "ml": 1 / MILLION,
755
- "km³": Math.pow(THOUSAND, 3),
756
- "in³": Math.pow(INCH_METER, 3),
757
- "ft³": Math.pow(FOOT_METER, 3),
758
- "yd³": Math.pow(FOOT_METER * 3, 3),
759
- "gal(UK-imperial)": GALLON_UK_IMPERIAL_LITRE * 1 / 1e3,
760
- "gal(US-liquid)": GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3),
761
- "gal(US-dry)": GALLON_US_DRY_IN3 * Math.pow(INCH_METER, 3),
762
- "pint(UK-imperial)": PINT_GALLON * GALLON_UK_IMPERIAL_LITRE * 1 / 1e3,
763
- "pint(US-liquid)": PINT_GALLON * GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3),
764
- "pint(US-dry)": PINT_GALLON * GALLON_US_DRY_IN3 * Math.pow(INCH_METER, 3),
765
- "fluid ounce(UK-imperial)": OUNCE_FLUID_PINT_UK_IMPERIAL * PINT_GALLON * GALLON_UK_IMPERIAL_LITRE / 1e3,
766
- "fluid ounce(US-liquid)": OUNCE_FLUID_PINT_US_LIQUID * PINT_GALLON * GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3),
767
- "bushel(UK-imperial)": BUSHEL_GALLON_UK_IMPERIAL * GALLON_UK_IMPERIAL_LITRE / 1e3,
768
- "bushel(US-dry)": BUSHEL_GALLON_US_DRY * GALLON_US_DRY_IN3 * Math.pow(INCH_METER, 3),
769
- "cup(US-liquid)": CUP_US_GALLON_LIQUID * GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3),
770
- "cup(Legal)": CUP_LEGAL_ML_LIQUID * Math.pow(0.01, 3),
771
- "cup(Metric)": CUP_METRIC_ML_LIQUID * Math.pow(0.01, 3),
772
- "cup(Imperial)": CUP_IMPERIAL_OUNCE_LIQUID * OUNCE_FLUID_PINT_UK_IMPERIAL * PINT_GALLON * GALLON_UK_IMPERIAL_LITRE / 1e3
773
- },
774
- /* 106 */
775
- "Polar Moment of Inertia": {
776
- "m⁴": 1,
777
- "mm⁴": 1e-12,
778
- "cm⁴": 1e-8,
779
- "in⁴": Math.pow(INCH_METER, 4),
780
- "ft⁴": Math.pow(FOOT_METER, 4)
781
- },
782
- /* 1060 */
783
- "Moment of Inertia": {
784
- "kg⋅m²": 1,
785
- "g⋅cm²": 1 / (THOUSAND * 1e4),
786
- "g⋅mm²": 1 / (THOUSAND * MILLION),
787
- "lbm⋅ft²": POUNDMASS_KG * Math.pow(FOOT_METER, 2),
788
- "lbm⋅in²": POUNDMASS_KG * Math.pow(INCH_METER, 2),
789
- "oz⋅in²": POUNDMASS_KG / 16 * Math.pow(INCH_METER, 2)
790
- },
791
- /* 107 */
792
- Force: {
793
- "N": 1,
794
- "kN": THOUSAND,
795
- "MN": MILLION,
796
- "kgf": GRAVITY_SI,
797
- "lb": POUNDMASS_KG * GRAVITY_SI,
798
- "lbf": POUNDMASS_KG * GRAVITY_SI,
799
- "kip[kilo pound]": THOUSAND * POUNDMASS_KG * GRAVITY_SI
800
- },
801
- /* 108 */
802
- Angle: {
803
- "radian": 1,
804
- "rad": 1,
805
- "deg°": Math.PI / 180,
806
- "revolution": Math.PI * 2
807
- },
808
- /* 1081 */
809
- "Solid Angle": {
810
- "sr[steradian]": 1,
811
- "m²/m²": 1
812
- },
813
- /* 1090 */
814
- "BMI-Body Mass Index/Ballistic Coefficient": {
815
- "kg/m²": 1,
816
- "g/cm²": 1 / THOUSAND / Math.pow(0.01, 2),
817
- "g/mm²": 1 / THOUSAND / Math.pow(1e-3, 2),
818
- "tonne/m²": THOUSAND,
819
- "lbm/yd²": POUNDMASS_KG / Math.pow(FOOT_METER * 3, 2),
820
- "lbm/ft²": POUNDMASS_KG / Math.pow(FOOT_METER, 2),
821
- "lbm/in²": POUNDMASS_KG / Math.pow(INCH_METER, 2),
822
- "oz/yd²": POUNDMASS_KG / 16 / Math.pow(3 * FOOT_METER, 2),
823
- "oz/ft²": POUNDMASS_KG / 16 / Math.pow(FOOT_METER, 2),
824
- "oz/in²": POUNDMASS_KG / 16 / Math.pow(INCH_METER, 2)
825
- },
826
- /* 1091 */
827
- Density: {
828
- "kg/m³": 1,
829
- "kg/L": 1e3,
830
- "g/cm³": 1 / 1e3 / Math.pow(0.01, 3),
831
- "g/mm³": 1 / 1e3 / Math.pow(1e-3, 3),
832
- "lbm/ft³": POUNDMASS_KG / Math.pow(FOOT_METER, 3),
833
- "lbm/in³": POUNDMASS_KG / Math.pow(INCH_METER, 3)
834
- },
835
- /* 110 */
836
- Energy: {
837
- "J[Joule]": 1,
838
- "kJ": THOUSAND,
839
- "MJ": MILLION,
840
- "GJ": BILLION,
841
- "TNT Equivalent[kiloton]": 1e9 * CALORIE_TH_J,
842
- // 1e9 = 1000000000.0,
843
- "Btu": BTU_J,
844
- "MM Btu": BTU_J * MILLION,
845
- "calorie(IT)": CALORIE_IT_J,
846
- // 4.1868J
847
- "kilo-calorie(IT)": CALORIE_IT_J * THOUSAND,
848
- "calorie(TH)": CALORIE_TH_J,
849
- // 4.184J
850
- "kilo-calorie(TH)": CALORIE_TH_J * 1e3,
851
- "HP Hour": HP_W * 3600,
852
- "Wh": 3600,
853
- "kWh": 3600 * THOUSAND,
854
- "eV{electron-volt]": 1 / J_EV
855
- },
856
- /* 111 */
857
- Power: {
858
- "W": 1,
859
- "kW": THOUSAND,
860
- "MW": MILLION,
861
- "GW[Gigawatt]": BILLION,
862
- "Btu/h": BTU_J / 3600,
863
- "Btu/minute": BTU_J / 60,
864
- "MM Btu/h": BTU_J * MILLION / 3600,
865
- "Btu(AC)": BTU_J / 3600,
866
- "calorie(IT)/second": CALORIE_IT_J,
867
- "calorie(IT)/minute": CALORIE_IT_J / 60,
868
- "kilo-calorie(IT)/hour": CALORIE_IT_J * THOUSAND / 3600,
869
- "calorie(TH)/second": CALORIE_TH_J,
870
- "calorie(TH)/minute": CALORIE_TH_J / 60,
871
- "kilo-calorie(TH)/hour": CALORIE_TH_J * THOUSAND / 3600,
872
- "lb-ft/second": POUNDMASS_KG * GRAVITY_SI * FOOT_METER,
873
- "lb-ft/minute": POUNDMASS_KG * GRAVITY_SI * FOOT_METER / 60,
874
- "HP": HP_W,
875
- "J/second": 1,
876
- "J/minute": 1 / 60,
877
- "J/h": 1 / 3600,
878
- "MJ/h": MILLION / 3600,
879
- "kJ/minute": THOUSAND / 60
880
- },
881
- /* 112 */
882
- "Torque, Moment of Force": {
883
- "Nm": 1,
884
- "kNm": THOUSAND,
885
- "lb-in": POUNDMASS_KG * GRAVITY_SI * INCH_METER,
886
- "kip-in": THOUSAND * POUNDMASS_KG * GRAVITY_SI * INCH_METER,
887
- "lb-ft": POUNDMASS_KG * GRAVITY_SI * FOOT_METER,
888
- "oz-in": POUNDMASS_KG / 16 * GRAVITY_SI * INCH_METER,
889
- "oz-ft": POUNDMASS_KG / 16 * GRAVITY_SI * FOOT_METER
890
- },
891
- /* 1130 */
892
- "Pressure/Stress": {
893
- "Pa": 1,
894
- "kPa": THOUSAND,
895
- "MPa": MILLION,
896
- "GPa": BILLION,
897
- "bar": 100 * THOUSAND,
898
- "mbar": 100,
899
- "atm": ATM_PA,
900
- "mm HG": MMHG_PA,
901
- "cm HG": MMHG_PA * 10,
902
- "in HG": MMHG_PA * 25.4,
903
- "mm W.C.": 1 / 1e3 * 1e3 * GRAVITY_SI,
904
- "m W.C.": 1 * 1e3 * GRAVITY_SI,
905
- "in W.C.": INCH_METER * 1e3 * GRAVITY_SI,
906
- "psf": POUNDMASS_KG * GRAVITY_SI / Math.pow(FOOT_METER, 2),
907
- "psi": POUNDMASS_KG * GRAVITY_SI / Math.pow(INCH_METER, 2),
908
- "ksi": POUNDMASS_KG * GRAVITY_SI / Math.pow(INCH_METER, 2) * THOUSAND,
909
- "ksi{kip/in²]": POUNDMASS_KG * GRAVITY_SI / Math.pow(INCH_METER, 2) * THOUSAND
910
- },
911
- /* 1131 */
912
- "Pressure Drop per Unit Length": {
913
- "Pa/m": 1,
914
- "Pascal/m": 1,
915
- "kPa/m": THOUSAND,
916
- "MPa/km": MILLION / THOUSAND,
917
- "bar/m": 1e5,
918
- "mbar/mm": 100 * THOUSAND,
919
- "atm/m": ATM_PA,
920
- "mm HG/m": MMHG_PA,
921
- "in HG/ft": MMHG_PA * 25.4 / FOOT_METER,
922
- "mm W.C./m": 1 / THOUSAND * THOUSAND * GRAVITY_SI,
923
- "m W.C./m": THOUSAND * GRAVITY_SI,
924
- "in W.C./ft": INCH_METER * THOUSAND * GRAVITY_SI / FOOT_METER,
925
- "in W.C./100 ft": INCH_METER * THOUSAND * GRAVITY_SI / FOOT_METER / 100,
926
- "psf/in": POUNDMASS_KG * GRAVITY_SI / Math.pow(FOOT_METER, 2) / INCH_METER,
927
- "psi/ft": POUNDMASS_KG * GRAVITY_SI / Math.pow(FOOT_METER, 2) / FOOT_METER,
928
- "ksi/ft": POUNDMASS_KG * GRAVITY_SI / Math.pow(FOOT_METER, 2) / FOOT_METER * THOUSAND,
929
- "Torr/ft": TORR_ATM * ATM_PA / FOOT_METER,
930
- "mTorr/m": TORR_ATM * ATM_PA / THOUSAND
931
- },
932
- /* 1132 */
933
- "Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring": {
934
- "N/m": 1,
935
- "N/mm": THOUSAND,
936
- "kN/m": THOUSAND,
937
- "lb/ft": POUNDMASS_KG * GRAVITY_SI / FOOT_METER,
938
- "kips/ft": THOUSAND * POUNDMASS_KG * GRAVITY_SI / FOOT_METER,
939
- "lb/in": POUNDMASS_KG * GRAVITY_SI / INCH_METER
940
- },
941
- /* 1133 */
942
- "Stiffness of Rotary Spring": {
943
- "N⋅m/rad": 1,
944
- "N⋅m/deg°": 1 / Math.PI * 180,
945
- "N⋅mm/rad": 1 / THOUSAND,
946
- "N⋅mm/deg°": 1 / THOUSAND / Math.PI * 180,
947
- "lb-ft/rad": POUNDMASS_KG * GRAVITY_SI * FOOT_METER,
948
- "lb-ft/deg°": POUNDMASS_KG * GRAVITY_SI * FOOT_METER / (Math.PI / 180),
949
- "lb-in/rad": POUNDMASS_KG * GRAVITY_SI * INCH_METER,
950
- "lb-in/deg°": POUNDMASS_KG * GRAVITY_SI * INCH_METER / (Math.PI / 180)
951
- },
952
- /* 114 */
953
- "Flow Rate (Volume)": {
954
- "m³/s": 1,
955
- "m³/min": 1 / 60,
956
- "m³/h": 1 / 3600,
957
- "L/s": 1 / THOUSAND,
958
- "L/min": 1 / THOUSAND / 60,
959
- "L/h": 1 / THOUSAND / 3600,
960
- "cm³/s": 1e-6,
961
- "cm³/min": 1e-6 / 60,
962
- "in³/s": Math.pow(INCH_METER, 3),
963
- "in³/min": Math.pow(INCH_METER, 3) / 60,
964
- "ft³/s": Math.pow(FOOT_METER, 3),
965
- "CFM": Math.pow(FOOT_METER, 3) / 60,
966
- "CFM[ft³/min]": Math.pow(FOOT_METER, 3) / 60,
967
- "CFH": Math.pow(FOOT_METER, 3) / 3600,
968
- "CFH[ft³/h]": Math.pow(FOOT_METER, 3) / 3600,
969
- "yd³/min": Math.pow(FOOT_METER * 3, 3) / 60,
970
- "yd³/h": Math.pow(FOOT_METER * 3, 3) / 3600,
971
- "gpm(US)": GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3) / 60,
972
- "gph(US)": GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3) / 3600,
973
- "bushel(UK-imperial)/h": BUSHEL_GALLON_UK_IMPERIAL * GALLON_UK_IMPERIAL_LITRE / 1e3 / 3600,
974
- "bushel(US)/h": BUSHEL_GALLON_US_DRY * GALLON_US_DRY_IN3 * Math.pow(INCH_METER, 3) / 3600
975
- },
976
- /* 115 */
977
- "Flow Rate (Mass)": {
978
- "kg/s": 1,
979
- "kg/min": 1 / 60,
980
- "kg/h": 1 / 3600,
981
- "g/s": 1 / THOUSAND,
982
- "g/min": 1 / THOUSAND / 60,
983
- "g/h": 1 / THOUSAND / 3600,
984
- "slug/s": SLUG_KG,
985
- "slug/min": SLUG_KG / 60,
986
- "slug/h": SLUG_KG / 3600,
987
- "lbm/s": POUNDMASS_KG,
988
- "lbm/min": POUNDMASS_KG / 60,
989
- "lbm/h": POUNDMASS_KG / 3600,
990
- "oz/s": POUNDMASS_KG / 16,
991
- "oz/min": POUNDMASS_KG / 16 / 60,
992
- "oz/h": POUNDMASS_KG / 16 / 3600,
993
- "tonne/h": THOUSAND / 3600,
994
- "short ton/h": 2e3 * POUNDMASS_KG / 3600,
995
- "long ton/h": 2240 * POUNDMASS_KG / 3600
996
- },
997
- /* 117 */
998
- "Speed / Velocity (Linear)": {
999
- "m/s": 1,
1000
- "mm/s": 1 / THOUSAND,
1001
- "km/s": 1,
1002
- "mm/min": 1 / THOUSAND / 60,
1003
- "m/min": 1 / 60,
1004
- "km/min": THOUSAND / 60,
1005
- "mm/h": 1 / THOUSAND / 3600,
1006
- "m/h": 1 / 3600,
1007
- "km/h": THOUSAND / 3600,
1008
- "in/s": INCH_METER,
1009
- "fps": FOOT_METER,
1010
- "fps[ft/second]": FOOT_METER,
1011
- "fpm": FOOT_METER / 60,
1012
- // clear version
1013
- "fpm[ft/minute]": FOOT_METER / 60,
1014
- // redundant version
1015
- "mph[mile/h]": MILE_FOOT * FOOT_METER / 3600,
1016
- "knot[kn, kt, or nautical mile/h]": NM_METER / 3600
1017
- },
1018
- /* 126 */
1019
- "Electrical Potential Difference (Voltage)": {
1020
- "V": 1,
1021
- "Volt": 1,
1022
- "joule/coulomb": 1,
1023
- "J/C": 1,
1024
- "µV": 1 / MILLION,
1025
- "mV": 1 / THOUSAND,
1026
- "kV": THOUSAND,
1027
- "MV": MILLION
26
+ const categories = [
27
+ {
28
+ id: "900",
29
+ description: "Unitless"
30
+ },
31
+ {
32
+ id: "901",
33
+ description: "Length"
34
+ },
35
+ {
36
+ id: "902",
37
+ description: "Mass"
38
+ },
39
+ {
40
+ id: "903",
41
+ description: "Time"
42
+ },
43
+ {
44
+ id: "904",
45
+ description: "Electric Current"
46
+ },
47
+ {
48
+ id: "905",
49
+ description: "Temperature"
50
+ },
51
+ {
52
+ id: "906",
53
+ description: "Amount of Substance"
54
+ },
55
+ {
56
+ id: "907",
57
+ description: "Luminous Intensity"
58
+ },
59
+ {
60
+ id: "100",
61
+ description: "Acceleration"
62
+ },
63
+ {
64
+ id: "105",
65
+ description: "Gravitational Constant"
66
+ },
67
+ {
68
+ id: "110",
69
+ description: "Angle"
70
+ },
71
+ {
72
+ id: "115",
73
+ description: "Velocity Angular"
74
+ },
75
+ {
76
+ id: "120",
77
+ description: "Acceleration Angular"
78
+ },
79
+ {
80
+ id: "125",
81
+ description: "Illuminance"
82
+ },
83
+ {
84
+ id: "130",
85
+ description: "Frequency"
86
+ },
87
+ {
88
+ id: "135",
89
+ description: "Area"
90
+ },
91
+ {
92
+ id: "140",
93
+ description: "Volume / Section Modulus"
94
+ },
95
+ {
96
+ id: "145",
97
+ description: "Polar Moment of Inertia"
98
+ },
99
+ {
100
+ id: "150",
101
+ description: "Moment of Inertia"
102
+ },
103
+ {
104
+ id: "155",
105
+ description: "Force"
106
+ },
107
+ {
108
+ id: "160",
109
+ description: "Solid Angle"
110
+ },
111
+ {
112
+ id: "165",
113
+ description: "BMI-Body Mass Index/Ballistic Coefficient"
114
+ },
115
+ {
116
+ id: "170",
117
+ description: "Density"
118
+ },
119
+ {
120
+ id: "171",
121
+ description: "Linear Mass Density"
122
+ },
123
+ {
124
+ id: "175",
125
+ description: "Energy"
126
+ },
127
+ {
128
+ id: "180",
129
+ description: "Power"
130
+ },
131
+ {
132
+ id: "181",
133
+ description: "Apparent Power"
134
+ },
135
+ {
136
+ id: "182",
137
+ description: "Reactive Power"
138
+ },
139
+ {
140
+ id: "185",
141
+ description: "Torque, Moment of Force"
142
+ },
143
+ {
144
+ id: "190",
145
+ description: "Pressure/Stress/ShearModulus"
146
+ },
147
+ {
148
+ id: "195",
149
+ description: "Pressure Drop per Unit Length"
150
+ },
151
+ {
152
+ id: "200",
153
+ description: "Uniformly Distributed (Uniform Line) Load/Stiffness of Linear Spring"
154
+ },
155
+ {
156
+ id: "205",
157
+ description: "Stiffness of Rotary Spring"
158
+ },
159
+ {
160
+ id: "210",
161
+ description: "Flow Rate (Volume)"
162
+ },
163
+ {
164
+ id: "215",
165
+ description: "Flow Rate (Mass)"
166
+ },
167
+ {
168
+ id: "220",
169
+ description: "Speed / Velocity (Linear)"
170
+ },
171
+ {
172
+ id: "224",
173
+ description: "Energy per Unit Area | Heat Flux"
174
+ },
175
+ {
176
+ id: "225",
177
+ description: "Energy per Unit Volume | Volumetric Energy Density | Fuel Heat Value (Volume)"
178
+ },
179
+ {
180
+ id: "230",
181
+ description: "Energy per Unit Mass | Gravimetric Energy Density |Fuel Heat Value (Mass)"
182
+ },
183
+ {
184
+ id: "235",
185
+ description: "Mass Heat Capacity"
186
+ },
187
+ {
188
+ id: "240",
189
+ description: "Viscosity - Absolute/Dynamic(μ)"
190
+ },
191
+ {
192
+ id: "245",
193
+ description: "Viscosity - Kinematic"
194
+ },
195
+ {
196
+ id: "249",
197
+ description: "Temperature Difference"
198
+ },
199
+ {
200
+ id: "250",
201
+ description: "Linear Thermal Expansion Coefficient"
202
+ },
203
+ {
204
+ id: "255",
205
+ description: "Thermal Conductivity"
206
+ },
207
+ {
208
+ id: "260",
209
+ description: "Electrical Charge"
210
+ },
211
+ {
212
+ id: "265",
213
+ description: "Electrical Potential Difference (Voltage)"
214
+ },
215
+ {
216
+ id: "270",
217
+ description: "Electrical Resistance(Impedance)"
218
+ },
219
+ {
220
+ id: "275",
221
+ description: "Electrical Capacitance"
222
+ },
223
+ {
224
+ id: "280",
225
+ description: "Electrical Inductance"
226
+ },
227
+ {
228
+ id: "285",
229
+ description: "Electrical Conductance"
230
+ },
231
+ {
232
+ id: "290",
233
+ description: "Magnetic Flux"
234
+ },
235
+ {
236
+ id: "295",
237
+ description: "Luminous Flux"
238
+ },
239
+ {
240
+ id: "300",
241
+ description: "Magnetic Flux Density"
242
+ },
243
+ {
244
+ id: "305",
245
+ description: "Katalytic Activity"
246
+ },
247
+ {
248
+ id: "310",
249
+ description: "Radioactivity"
250
+ },
251
+ {
252
+ id: "315",
253
+ description: "Absorbed Dose of Ionizing Radiation"
254
+ },
255
+ {
256
+ id: "320",
257
+ description: "Equivalent Dose of Ionizing Radiation"
258
+ },
259
+ {
260
+ id: "325",
261
+ description: "Volumetric Displacement"
262
+ },
263
+ {
264
+ id: "330",
265
+ description: "Fuel Economy"
266
+ },
267
+ {
268
+ id: "335",
269
+ description: "Fuel Consumption"
270
+ },
271
+ {
272
+ id: "340",
273
+ description: "New Energy Economy (MPGe)"
274
+ },
275
+ {
276
+ id: "345",
277
+ description: "New Energy Consumption"
278
+ },
279
+ {
280
+ id: "355",
281
+ description: "Currency"
282
+ },
283
+ {
284
+ id: "360",
285
+ description: "Impulse / Momentum"
286
+ },
287
+ {
288
+ id: "365",
289
+ description: "Digital Storage"
290
+ },
291
+ {
292
+ id: "370",
293
+ description: "Data Transfer Rate"
294
+ }
295
+ ];
296
+ const units = [
297
+ {
298
+ unit: "ul",
299
+ categoryId: "900",
300
+ c0: 1
301
+ },
302
+ {
303
+ unit: "ea",
304
+ categoryId: "900",
305
+ c0: 1
306
+ },
307
+ {
308
+ unit: "%",
309
+ categoryId: "900",
310
+ c0: 0.01
311
+ },
312
+ {
313
+ unit: "",
314
+ categoryId: "900",
315
+ c0: 1e-3
316
+ },
317
+ {
318
+ unit: "m",
319
+ categoryId: "901",
320
+ c0: 1
321
+ },
322
+ {
323
+ unit: "cm",
324
+ categoryId: "901",
325
+ c0: 0.01
326
+ },
327
+ {
328
+ unit: "mm",
329
+ categoryId: "901",
330
+ c0: 1e-3
331
+ },
332
+ {
333
+ unit: "in",
334
+ categoryId: "901",
335
+ c0: 0.0254
336
+ },
337
+ {
338
+ unit: "nm",
339
+ categoryId: "901",
340
+ c0: 1e-9
341
+ },
342
+ {
343
+ unit: "µm",
344
+ categoryId: "901",
345
+ c0: 1e-6
346
+ },
347
+ {
348
+ unit: "dm",
349
+ categoryId: "901",
350
+ c0: 0.1
351
+ },
352
+ {
353
+ unit: "km",
354
+ categoryId: "901",
355
+ c0: 1e3
356
+ },
357
+ {
358
+ unit: "thou",
359
+ categoryId: "901",
360
+ c0: 254e-7
361
+ },
362
+ {
363
+ unit: "ft-in",
364
+ categoryId: "901",
365
+ c0: 0.0254
366
+ },
367
+ {
368
+ unit: "ft",
369
+ categoryId: "901",
370
+ c0: 0.30479999999999996
371
+ },
372
+ {
373
+ unit: "yd",
374
+ categoryId: "901",
375
+ c0: 0.9143999999999999
376
+ },
377
+ {
378
+ unit: "mi",
379
+ categoryId: "901",
380
+ c0: 1609.3439999999998
381
+ },
382
+ {
383
+ unit: "NM",
384
+ categoryId: "901",
385
+ c0: 1852
386
+ },
387
+ {
388
+ unit: "kg",
389
+ categoryId: "902",
390
+ c0: 1
391
+ },
392
+ {
393
+ unit: "g",
394
+ categoryId: "902",
395
+ c0: 1e-3
396
+ },
397
+ {
398
+ unit: "mg",
399
+ categoryId: "902",
400
+ c0: 1e-6
401
+ },
402
+ {
403
+ unit: "µg",
404
+ categoryId: "902",
405
+ c0: 1e-9
406
+ },
407
+ {
408
+ unit: "slug",
409
+ categoryId: "902",
410
+ c0: 14.59390294
411
+ },
412
+ {
413
+ unit: "blob",
414
+ categoryId: "902",
415
+ c0: 175.12683528
416
+ },
417
+ {
418
+ unit: "lbm",
419
+ categoryId: "902",
420
+ c0: 0.45359237
421
+ },
422
+ {
423
+ unit: "oz",
424
+ categoryId: "902",
425
+ c0: 0.028349523125
426
+ },
427
+ {
428
+ unit: "ton(US/short)",
429
+ categoryId: "902",
430
+ c0: 907.18474
431
+ },
432
+ {
433
+ unit: "ton(UK-Imperial/long)",
434
+ categoryId: "902",
435
+ c0: 1016.0469088000001
436
+ },
437
+ {
438
+ unit: "tonne",
439
+ categoryId: "902",
440
+ c0: 1e3
441
+ },
442
+ {
443
+ unit: "s",
444
+ categoryId: "903",
445
+ c0: 1
446
+ },
447
+ {
448
+ unit: "min",
449
+ categoryId: "903",
450
+ c0: 60
451
+ },
452
+ {
453
+ unit: "h",
454
+ categoryId: "903",
455
+ c0: 3600
456
+ },
457
+ {
458
+ unit: "d",
459
+ categoryId: "903",
460
+ c0: 86400
461
+ },
462
+ {
463
+ unit: "wk",
464
+ categoryId: "903",
465
+ c0: 604800
466
+ },
467
+ {
468
+ unit: "A",
469
+ categoryId: "904",
470
+ c0: 1
471
+ },
472
+ {
473
+ unit: "mA",
474
+ categoryId: "904",
475
+ c0: 1e-3
476
+ },
477
+ {
478
+ unit: "µA",
479
+ categoryId: "904",
480
+ c0: 1e-6
481
+ },
482
+ {
483
+ unit: "kA",
484
+ categoryId: "904",
485
+ c0: 1e3
486
+ },
487
+ {
488
+ unit: "MA",
489
+ categoryId: "904",
490
+ c0: 1e6
491
+ },
492
+ {
493
+ unit: "esu/s",
494
+ categoryId: "904",
495
+ c0: 3333333333333333e-25
496
+ },
497
+ {
498
+ unit: "K",
499
+ categoryId: "905",
500
+ c0: 1
501
+ },
502
+ {
503
+ unit: "°C",
504
+ categoryId: "905",
505
+ c0: 1,
506
+ c1: 273.15
507
+ },
508
+ {
509
+ unit: "°F",
510
+ categoryId: "905",
511
+ c0: 0.5555555555555556,
512
+ c1: 255.3722222
513
+ },
514
+ {
515
+ unit: "°Ra",
516
+ categoryId: "905",
517
+ c0: 0.5555555555555556,
518
+ c1: 0
519
+ },
520
+ {
521
+ unit: "mol",
522
+ categoryId: "906",
523
+ c0: 1
524
+ },
525
+ {
526
+ unit: "mmol",
527
+ categoryId: "906",
528
+ c0: 1e-3
529
+ },
530
+ {
531
+ unit: "kmol",
532
+ categoryId: "906",
533
+ c0: 1e3
534
+ },
535
+ {
536
+ unit: "molecular entity",
537
+ categoryId: "906",
538
+ c0: 16605390671738466e-40
539
+ },
540
+ {
541
+ unit: "cd",
542
+ categoryId: "907",
543
+ c0: 1
544
+ },
545
+ {
546
+ unit: "lm/sr",
547
+ categoryId: "907",
548
+ c0: 1
549
+ },
550
+ {
551
+ unit: "cp",
552
+ categoryId: "907",
553
+ c0: 1
554
+ },
555
+ {
556
+ unit: "cp(candlepower before 1948)",
557
+ categoryId: "907",
558
+ c0: 0.981
559
+ },
560
+ {
561
+ unit: "m/s²",
562
+ categoryId: "100",
563
+ c0: 1
564
+ },
565
+ {
566
+ unit: "m/min²",
567
+ categoryId: "100",
568
+ c0: 2777777777777778e-19
569
+ },
570
+ {
571
+ unit: "mm/s²",
572
+ categoryId: "100",
573
+ c0: 1e-3
574
+ },
575
+ {
576
+ unit: "ft/s²",
577
+ categoryId: "100",
578
+ c0: 0.30479999999999996
579
+ },
580
+ {
581
+ unit: "ft/min²",
582
+ categoryId: "100",
583
+ c0: 8466666666666666e-20
584
+ },
585
+ {
586
+ unit: "in/s²",
587
+ categoryId: "100",
588
+ c0: 0.0254
589
+ },
590
+ {
591
+ unit: "m³/kg/s²",
592
+ categoryId: "105",
593
+ c0: 1
594
+ },
595
+ {
596
+ unit: "N⋅m²/kg²",
597
+ categoryId: "105",
598
+ c0: 1
599
+ },
600
+ {
601
+ unit: "dyn⋅cm²/g²",
602
+ categoryId: "105",
603
+ c0: 1e3
604
+ },
605
+ {
606
+ unit: "rad",
607
+ categoryId: "110",
608
+ c0: 1
609
+ },
610
+ {
611
+ unit: "deg°",
612
+ categoryId: "110",
613
+ c0: 0.017453292519943295
614
+ },
615
+ {
616
+ unit: "rev",
617
+ categoryId: "110",
618
+ c0: 6.283185307179586
619
+ },
620
+ {
621
+ unit: "rad/s",
622
+ categoryId: "115",
623
+ c0: 1
624
+ },
625
+ {
626
+ unit: "rad/min",
627
+ categoryId: "115",
628
+ c0: 0.016666666666666666
629
+ },
630
+ {
631
+ unit: "rad/h",
632
+ categoryId: "115",
633
+ c0: 2777777777777778e-19
634
+ },
635
+ {
636
+ unit: "deg°/s",
637
+ categoryId: "115",
638
+ c0: 0.017453292519943295
639
+ },
640
+ {
641
+ unit: "deg°/min",
642
+ categoryId: "115",
643
+ c0: 2908882086657216e-19
644
+ },
645
+ {
646
+ unit: "deg°/h",
647
+ categoryId: "115",
648
+ c0: 484813681109536e-20
649
+ },
650
+ {
651
+ unit: "rev/min",
652
+ categoryId: "115",
653
+ c0: 0.10471975511965977
654
+ },
655
+ {
656
+ unit: "rev/s",
657
+ categoryId: "115",
658
+ c0: 6.283185307179586
659
+ },
660
+ {
661
+ unit: "rad/s²",
662
+ categoryId: "120",
663
+ c0: 1
664
+ },
665
+ {
666
+ unit: "rad/min²",
667
+ categoryId: "120",
668
+ c0: 2777777777777778e-19
669
+ },
670
+ {
671
+ unit: "deg°/s²",
672
+ categoryId: "120",
673
+ c0: 0.017453292519943295
674
+ },
675
+ {
676
+ unit: "deg°/min²",
677
+ categoryId: "120",
678
+ c0: 484813681109536e-20
679
+ },
680
+ {
681
+ unit: "lux",
682
+ categoryId: "125",
683
+ c0: 1
684
+ },
685
+ {
686
+ unit: "lm/m²",
687
+ categoryId: "125",
688
+ c0: 1
689
+ },
690
+ {
691
+ unit: "m·cd",
692
+ categoryId: "125",
693
+ c0: 1
694
+ },
695
+ {
696
+ unit: "ph",
697
+ categoryId: "125",
698
+ c0: 1e4
699
+ },
700
+ {
701
+ unit: "fc",
702
+ categoryId: "125",
703
+ c0: 10.763910416709725
704
+ },
705
+ {
706
+ unit: "lm/ft²",
707
+ categoryId: "125",
708
+ c0: 10.763910416709725
709
+ },
710
+ {
711
+ unit: "Hz",
712
+ categoryId: "130",
713
+ c0: 1
714
+ },
715
+ {
716
+ unit: "1/min",
717
+ categoryId: "130",
718
+ c0: 0.016666666666666666
719
+ },
720
+ {
721
+ unit: "cycle/min",
722
+ categoryId: "130",
723
+ c0: 0.016666666666666666
724
+ },
725
+ {
726
+ unit: "1/h",
727
+ categoryId: "130",
728
+ c0: 2777777777777778e-19
729
+ },
730
+ {
731
+ unit: "mHz",
732
+ categoryId: "130",
733
+ c0: 1e-3
734
+ },
735
+ {
736
+ unit: "kHz",
737
+ categoryId: "130",
738
+ c0: 1e3
739
+ },
740
+ {
741
+ unit: "MHz",
742
+ categoryId: "130",
743
+ c0: 1e6
744
+ },
745
+ {
746
+ unit: "GHz",
747
+ categoryId: "130",
748
+ c0: 1e9
749
+ },
750
+ {
751
+ unit: "m²",
752
+ categoryId: "135",
753
+ c0: 1
754
+ },
755
+ {
756
+ unit: "µm²",
757
+ categoryId: "135",
758
+ c0: 1e-12
759
+ },
760
+ {
761
+ unit: "mm²",
762
+ categoryId: "135",
763
+ c0: 1e-6
764
+ },
765
+ {
766
+ unit: "cm²",
767
+ categoryId: "135",
768
+ c0: 1e-4
769
+ },
770
+ {
771
+ unit: "km²",
772
+ categoryId: "135",
773
+ c0: 1e6
774
+ },
775
+ {
776
+ unit: "hectare",
777
+ categoryId: "135",
778
+ c0: 1e4
779
+ },
780
+ {
781
+ unit: "in²",
782
+ categoryId: "135",
783
+ c0: 64516e-8
784
+ },
785
+ {
786
+ unit: "ft²",
787
+ categoryId: "135",
788
+ c0: 0.09290303999999998
789
+ },
790
+ {
791
+ unit: "yd²",
792
+ categoryId: "135",
793
+ c0: 0.8361273599999998
794
+ },
795
+ {
796
+ unit: "acre",
797
+ categoryId: "135",
798
+ c0: 4046.8564223999992
799
+ },
800
+ {
801
+ unit: "mile²",
802
+ categoryId: "135",
803
+ c0: 2.5899881103359996e6
804
+ },
805
+ {
806
+ unit: "m³",
807
+ categoryId: "140",
808
+ c0: 1
809
+ },
810
+ {
811
+ unit: "µm³",
812
+ categoryId: "140",
813
+ c0: 9999999999999999e-34
814
+ },
815
+ {
816
+ unit: "mm³",
817
+ categoryId: "140",
818
+ c0: 1e-9
819
+ },
820
+ {
821
+ unit: "cm³",
822
+ categoryId: "140",
823
+ c0: 10000000000000002e-22
824
+ },
825
+ {
826
+ unit: "L",
827
+ categoryId: "140",
828
+ c0: 1e-3
829
+ },
830
+ {
831
+ unit: "km³",
832
+ categoryId: "140",
833
+ c0: 1e9
834
+ },
835
+ {
836
+ unit: "in³",
837
+ categoryId: "140",
838
+ c0: 16387064e-12
839
+ },
840
+ {
841
+ unit: "ft³",
842
+ categoryId: "140",
843
+ c0: 0.02831684659199999
844
+ },
845
+ {
846
+ unit: "yd³",
847
+ categoryId: "140",
848
+ c0: 0.7645548579839997
849
+ },
850
+ {
851
+ unit: "gal(UK-imperial)",
852
+ categoryId: "140",
853
+ c0: 454609e-8
854
+ },
855
+ {
856
+ unit: "gal(US-liquid)",
857
+ categoryId: "140",
858
+ c0: 0.0037854117839999997
859
+ },
860
+ {
861
+ unit: "gal(US-dry)",
862
+ categoryId: "140",
863
+ c0: 0.00440488377086
864
+ },
865
+ {
866
+ unit: "pint(UK-imperial)",
867
+ categoryId: "140",
868
+ c0: 56826125e-11
869
+ },
870
+ {
871
+ unit: "pint(US-liquid)",
872
+ categoryId: "140",
873
+ c0: 47317647299999996e-20
874
+ },
875
+ {
876
+ unit: "pint(US-dry)",
877
+ categoryId: "140",
878
+ c0: 5506104713575e-16
879
+ },
880
+ {
881
+ unit: "fluid ounce(UK-imperial)",
882
+ categoryId: "140",
883
+ c0: 284130625e-13
884
+ },
885
+ {
886
+ unit: "fluid ounce(US-liquid)",
887
+ categoryId: "140",
888
+ c0: 29573529562499998e-21
889
+ },
890
+ {
891
+ unit: "bushel(UK-imperial)",
892
+ categoryId: "140",
893
+ c0: 0.03636872
894
+ },
895
+ {
896
+ unit: "bushel(US-dry)",
897
+ categoryId: "140",
898
+ c0: 0.03523907016688
899
+ },
900
+ {
901
+ unit: "m⁴",
902
+ categoryId: "145",
903
+ c0: 1
904
+ },
905
+ {
906
+ unit: "mm⁴",
907
+ categoryId: "145",
908
+ c0: 1e-12
909
+ },
910
+ {
911
+ unit: "cm⁴",
912
+ categoryId: "145",
913
+ c0: 1e-8
914
+ },
915
+ {
916
+ unit: "in⁴",
917
+ categoryId: "145",
918
+ c0: 41623142559999997e-23
919
+ },
920
+ {
921
+ unit: "ft⁴",
922
+ categoryId: "145",
923
+ c0: 0.008630974841241597
924
+ },
925
+ {
926
+ unit: "kg⋅m²",
927
+ categoryId: "150",
928
+ c0: 1
929
+ },
930
+ {
931
+ unit: "g⋅cm²",
932
+ categoryId: "150",
933
+ c0: 10000000000000001e-23
934
+ },
935
+ {
936
+ unit: "g⋅mm²",
937
+ categoryId: "150",
938
+ c0: 9999999999999999e-25
939
+ },
940
+ {
941
+ unit: "lbm⋅ft²",
942
+ categoryId: "150",
943
+ c0: 0.04214011009380479
944
+ },
945
+ {
946
+ unit: "lbm⋅in²",
947
+ categoryId: "150",
948
+ c0: 2926396534292e-16
949
+ },
950
+ {
951
+ unit: "oz⋅in²",
952
+ categoryId: "150",
953
+ c0: 18289978339325e-18
954
+ },
955
+ {
956
+ unit: "N",
957
+ categoryId: "155",
958
+ c0: 1
959
+ },
960
+ {
961
+ unit: "kN",
962
+ categoryId: "155",
963
+ c0: 1e3
964
+ },
965
+ {
966
+ unit: "MN",
967
+ categoryId: "155",
968
+ c0: 1e6
969
+ },
970
+ {
971
+ unit: "kgf",
972
+ categoryId: "155",
973
+ c0: 9.80665
974
+ },
975
+ {
976
+ unit: "lbf",
977
+ categoryId: "155",
978
+ c0: 4.4482216152605
979
+ },
980
+ {
981
+ unit: "kip",
982
+ categoryId: "155",
983
+ c0: 4448.2216152605
984
+ },
985
+ {
986
+ unit: "sr",
987
+ categoryId: "160",
988
+ c0: 1
989
+ },
990
+ {
991
+ unit: "m²/m²",
992
+ categoryId: "160",
993
+ c0: 1
994
+ },
995
+ {
996
+ unit: "kg/m²",
997
+ categoryId: "165",
998
+ c0: 1
999
+ },
1000
+ {
1001
+ unit: "g/cm²",
1002
+ categoryId: "165",
1003
+ c0: 10
1004
+ },
1005
+ {
1006
+ unit: "g/mm²",
1007
+ categoryId: "165",
1008
+ c0: 1000.0000000000001
1009
+ },
1010
+ {
1011
+ unit: "tonne/m²",
1012
+ categoryId: "165",
1013
+ c0: 1e3
1014
+ },
1015
+ {
1016
+ unit: "lbm/yd²",
1017
+ categoryId: "165",
1018
+ c0: 0.5424919595981169
1019
+ },
1020
+ {
1021
+ unit: "lbm/ft²",
1022
+ categoryId: "165",
1023
+ c0: 4.882427636383052
1024
+ },
1025
+ {
1026
+ unit: "lbm/in²",
1027
+ categoryId: "165",
1028
+ c0: 703.0695796391593
1029
+ },
1030
+ {
1031
+ unit: "oz/yd²",
1032
+ categoryId: "165",
1033
+ c0: 0.03390574747488231
1034
+ },
1035
+ {
1036
+ unit: "oz/ft²",
1037
+ categoryId: "165",
1038
+ c0: 0.30515172727394074
1039
+ },
1040
+ {
1041
+ unit: "oz/in²",
1042
+ categoryId: "165",
1043
+ c0: 43.94184872744746
1044
+ },
1045
+ {
1046
+ unit: "kg/m³",
1047
+ categoryId: "170",
1048
+ c0: 1
1049
+ },
1050
+ {
1051
+ unit: "kg/L",
1052
+ categoryId: "170",
1053
+ c0: 1e3
1054
+ },
1055
+ {
1056
+ unit: "kg/mm³",
1057
+ categoryId: "170",
1058
+ c0: 9999999999999999e-7
1059
+ },
1060
+ {
1061
+ unit: "g/cm³",
1062
+ categoryId: "170",
1063
+ c0: 999.9999999999999
1064
+ },
1065
+ {
1066
+ unit: "g/mm³",
1067
+ categoryId: "170",
1068
+ c0: 1e6
1069
+ },
1070
+ {
1071
+ unit: "tonne/m³",
1072
+ categoryId: "170",
1073
+ c0: 1e3
1074
+ },
1075
+ {
1076
+ unit: "lbm/yd³",
1077
+ categoryId: "170",
1078
+ c0: 0.5932764212577832
1079
+ },
1080
+ {
1081
+ unit: "lbm/ft³",
1082
+ categoryId: "170",
1083
+ c0: 16.018463373960145
1084
+ },
1085
+ {
1086
+ unit: "lbm/in³",
1087
+ categoryId: "170",
1088
+ c0: 27679.904710203125
1089
+ },
1090
+ {
1091
+ unit: "lbm/gal(US)",
1092
+ categoryId: "170",
1093
+ c0: 119.82642731689664
1094
+ },
1095
+ {
1096
+ unit: "oz/yd³",
1097
+ categoryId: "170",
1098
+ c0: 0.03707977632861145
1099
+ },
1100
+ {
1101
+ unit: "oz/ft³",
1102
+ categoryId: "170",
1103
+ c0: 1.001153960872509
1104
+ },
1105
+ {
1106
+ unit: "oz/in³",
1107
+ categoryId: "170",
1108
+ c0: 1729.9940443876953
1109
+ },
1110
+ {
1111
+ unit: "oz/gal(US)",
1112
+ categoryId: "170",
1113
+ c0: 7.48915170730604
1114
+ },
1115
+ {
1116
+ unit: "kg/m",
1117
+ categoryId: "171",
1118
+ c0: 1
1119
+ },
1120
+ {
1121
+ unit: "g/cm",
1122
+ categoryId: "171",
1123
+ c0: 0.1
1124
+ },
1125
+ {
1126
+ unit: "g/mm",
1127
+ categoryId: "171",
1128
+ c0: 1
1129
+ },
1130
+ {
1131
+ unit: "g/km",
1132
+ categoryId: "171",
1133
+ c0: 1e-3
1134
+ },
1135
+ {
1136
+ unit: "denier",
1137
+ categoryId: "171",
1138
+ c0: 11111111111111112e-20
1139
+ },
1140
+ {
1141
+ unit: "decitex",
1142
+ categoryId: "171",
1143
+ c0: 1e-4
1144
+ },
1145
+ {
1146
+ unit: "lbm/ft",
1147
+ categoryId: "171",
1148
+ c0: 1.4881639435695542
1149
+ },
1150
+ {
1151
+ unit: "lbm/in",
1152
+ categoryId: "171",
1153
+ c0: 17.857967322834646
1154
+ },
1155
+ {
1156
+ unit: "lbm/yd",
1157
+ categoryId: "171",
1158
+ c0: 0.49605464785651804
1159
+ },
1160
+ {
1161
+ unit: "oz/ft",
1162
+ categoryId: "171",
1163
+ c0: 0.09301024647309714
1164
+ },
1165
+ {
1166
+ unit: "oz/in",
1167
+ categoryId: "171",
1168
+ c0: 1.1161229576771654
1169
+ },
1170
+ {
1171
+ unit: "J",
1172
+ categoryId: "175",
1173
+ c0: 1
1174
+ },
1175
+ {
1176
+ unit: "kJ",
1177
+ categoryId: "175",
1178
+ c0: 1e3
1179
+ },
1180
+ {
1181
+ unit: "MJ",
1182
+ categoryId: "175",
1183
+ c0: 1e6
1184
+ },
1185
+ {
1186
+ unit: "GJ",
1187
+ categoryId: "175",
1188
+ c0: 1e9
1189
+ },
1190
+ {
1191
+ unit: "kiloton",
1192
+ categoryId: "175",
1193
+ c0: 4184e6
1194
+ },
1195
+ {
1196
+ unit: "Btu",
1197
+ categoryId: "175",
1198
+ c0: 1055.05585262
1199
+ },
1200
+ {
1201
+ unit: "kBtu",
1202
+ categoryId: "175",
1203
+ c0: 105505585262e-5
1204
+ },
1205
+ {
1206
+ unit: "MMBtu",
1207
+ categoryId: "175",
1208
+ c0: 105505585262e-2
1209
+ },
1210
+ {
1211
+ unit: "calorie(IT)",
1212
+ categoryId: "175",
1213
+ c0: 4.1868
1214
+ },
1215
+ {
1216
+ unit: "kilo-calorie(IT)",
1217
+ categoryId: "175",
1218
+ c0: 4186.8
1219
+ },
1220
+ {
1221
+ unit: "calorie(TH)",
1222
+ categoryId: "175",
1223
+ c0: 4.184
1224
+ },
1225
+ {
1226
+ unit: "kilo-calorie(TH)",
1227
+ categoryId: "175",
1228
+ c0: 4184
1229
+ },
1230
+ {
1231
+ unit: "HP Hour",
1232
+ categoryId: "175",
1233
+ c0: 2684519537696172e-9
1234
+ },
1235
+ {
1236
+ unit: "Wh",
1237
+ categoryId: "175",
1238
+ c0: 3600
1239
+ },
1240
+ {
1241
+ unit: "kWh",
1242
+ categoryId: "175",
1243
+ c0: 36e5
1244
+ },
1245
+ {
1246
+ unit: "eV",
1247
+ categoryId: "175",
1248
+ c0: 16021764631580947e-35
1249
+ },
1250
+ {
1251
+ unit: "W",
1252
+ categoryId: "180",
1253
+ c0: 1
1254
+ },
1255
+ {
1256
+ unit: "kW",
1257
+ categoryId: "180",
1258
+ c0: 1e3
1259
+ },
1260
+ {
1261
+ unit: "MW",
1262
+ categoryId: "180",
1263
+ c0: 1e6
1264
+ },
1265
+ {
1266
+ unit: "GW",
1267
+ categoryId: "180",
1268
+ c0: 1e9
1269
+ },
1270
+ {
1271
+ unit: "Btu/h",
1272
+ categoryId: "180",
1273
+ c0: 0.2930710701722222
1274
+ },
1275
+ {
1276
+ unit: "Btu(AC)",
1277
+ categoryId: "180",
1278
+ c0: 0.2930710701722222
1279
+ },
1280
+ {
1281
+ unit: "Btu/min",
1282
+ categoryId: "180",
1283
+ c0: 17.584264210333334
1284
+ },
1285
+ {
1286
+ unit: "kBtu/h",
1287
+ categoryId: "180",
1288
+ c0: 17.584264210333334
1289
+ },
1290
+ {
1291
+ unit: "MMBtu/h",
1292
+ categoryId: "180",
1293
+ c0: 293071.0701722222
1294
+ },
1295
+ {
1296
+ unit: "MMBtu/yr",
1297
+ categoryId: "180",
1298
+ c0: 33.45560161783359
1299
+ },
1300
+ {
1301
+ unit: "TR",
1302
+ categoryId: "180",
1303
+ c0: 3516.8528420666667
1304
+ },
1305
+ {
1306
+ unit: "calorie(IT)/second",
1307
+ categoryId: "180",
1308
+ c0: 4.1868
1309
+ },
1310
+ {
1311
+ unit: "calorie(IT)/minute",
1312
+ categoryId: "180",
1313
+ c0: 0.06978
1314
+ },
1315
+ {
1316
+ unit: "kilo-calorie(IT)/hour",
1317
+ categoryId: "180",
1318
+ c0: 1.163
1319
+ },
1320
+ {
1321
+ unit: "calorie(TH)/second",
1322
+ categoryId: "180",
1323
+ c0: 4.184
1324
+ },
1325
+ {
1326
+ unit: "calorie(TH)/minute",
1327
+ categoryId: "180",
1328
+ c0: 0.06973333333333334
1329
+ },
1330
+ {
1331
+ unit: "kilo-calorie(TH)/hour",
1332
+ categoryId: "180",
1333
+ c0: 1.1622222222222223
1334
+ },
1335
+ {
1336
+ unit: "lb-ft/second",
1337
+ categoryId: "180",
1338
+ c0: 1.3558179483314001
1339
+ },
1340
+ {
1341
+ unit: "lb-ft/minute",
1342
+ categoryId: "180",
1343
+ c0: 0.022596965805523336
1344
+ },
1345
+ {
1346
+ unit: "HP",
1347
+ categoryId: "180",
1348
+ c0: 745.69987158227
1349
+ },
1350
+ {
1351
+ unit: "J/s",
1352
+ categoryId: "180",
1353
+ c0: 1
1354
+ },
1355
+ {
1356
+ unit: "J/min",
1357
+ categoryId: "180",
1358
+ c0: 0.016666666666666666
1359
+ },
1360
+ {
1361
+ unit: "J/h",
1362
+ categoryId: "180",
1363
+ c0: 2777777777777778e-19
1364
+ },
1365
+ {
1366
+ unit: "MJ/h",
1367
+ categoryId: "180",
1368
+ c0: 277.77777777777777
1369
+ },
1370
+ {
1371
+ unit: "kJ/min",
1372
+ categoryId: "180",
1373
+ c0: 16.666666666666668
1374
+ },
1375
+ {
1376
+ unit: "VA",
1377
+ categoryId: "181",
1378
+ c0: 1
1379
+ },
1380
+ {
1381
+ unit: "kVA",
1382
+ categoryId: "181",
1383
+ c0: 1e3
1384
+ },
1385
+ {
1386
+ unit: "MVA",
1387
+ categoryId: "181",
1388
+ c0: 1e6
1389
+ },
1390
+ {
1391
+ unit: "GVA",
1392
+ categoryId: "181",
1393
+ c0: 1e9
1394
+ },
1395
+ {
1396
+ unit: "mVA",
1397
+ categoryId: "181",
1398
+ c0: 1e-3
1399
+ },
1400
+ {
1401
+ unit: "VAr",
1402
+ categoryId: "182",
1403
+ c0: 1
1404
+ },
1405
+ {
1406
+ unit: "kVAr",
1407
+ categoryId: "182",
1408
+ c0: 1e3
1409
+ },
1410
+ {
1411
+ unit: "MVAr",
1412
+ categoryId: "182",
1413
+ c0: 1e6
1414
+ },
1415
+ {
1416
+ unit: "GVAr",
1417
+ categoryId: "182",
1418
+ c0: 1e9
1419
+ },
1420
+ {
1421
+ unit: "mVAr",
1422
+ categoryId: "182",
1423
+ c0: 1e-3
1424
+ },
1425
+ {
1426
+ unit: "Nm",
1427
+ categoryId: "185",
1428
+ c0: 1
1429
+ },
1430
+ {
1431
+ unit: "kNm",
1432
+ categoryId: "185",
1433
+ c0: 1e3
1434
+ },
1435
+ {
1436
+ unit: "lb-in",
1437
+ categoryId: "185",
1438
+ c0: 0.11298482902761668
1439
+ },
1440
+ {
1441
+ unit: "kip-in",
1442
+ categoryId: "185",
1443
+ c0: 112.98482902761668
1444
+ },
1445
+ {
1446
+ unit: "lb-ft",
1447
+ categoryId: "185",
1448
+ c0: 1.3558179483314001
1449
+ },
1450
+ {
1451
+ unit: "oz-in",
1452
+ categoryId: "185",
1453
+ c0: 0.007061551814226043
1454
+ },
1455
+ {
1456
+ unit: "oz-ft",
1457
+ categoryId: "185",
1458
+ c0: 0.08473862177071251
1459
+ },
1460
+ {
1461
+ unit: "Pa",
1462
+ categoryId: "190",
1463
+ c0: 1
1464
+ },
1465
+ {
1466
+ unit: "hPa",
1467
+ categoryId: "190",
1468
+ c0: 100
1469
+ },
1470
+ {
1471
+ unit: "kPa",
1472
+ categoryId: "190",
1473
+ c0: 1e3
1474
+ },
1475
+ {
1476
+ unit: "MPa",
1477
+ categoryId: "190",
1478
+ c0: 1e6
1479
+ },
1480
+ {
1481
+ unit: "GPa",
1482
+ categoryId: "190",
1483
+ c0: 1e9
1484
+ },
1485
+ {
1486
+ unit: "bar",
1487
+ categoryId: "190",
1488
+ c0: 1e5
1489
+ },
1490
+ {
1491
+ unit: "mbar",
1492
+ categoryId: "190",
1493
+ c0: 100
1494
+ },
1495
+ {
1496
+ unit: "kgf/m²",
1497
+ categoryId: "190",
1498
+ c0: 9.80665
1499
+ },
1500
+ {
1501
+ unit: "kgf/cm²",
1502
+ categoryId: "190",
1503
+ c0: 98066.49999999999
1504
+ },
1505
+ {
1506
+ unit: "atm",
1507
+ categoryId: "190",
1508
+ c0: 101325
1509
+ },
1510
+ {
1511
+ unit: "mm HG",
1512
+ categoryId: "190",
1513
+ c0: 133.322387415
1514
+ },
1515
+ {
1516
+ unit: "cm HG",
1517
+ categoryId: "190",
1518
+ c0: 1333.22387415
1519
+ },
1520
+ {
1521
+ unit: "in HG",
1522
+ categoryId: "190",
1523
+ c0: 3386.388640341
1524
+ },
1525
+ {
1526
+ unit: "mm W.C.",
1527
+ categoryId: "190",
1528
+ c0: 9.80665
1529
+ },
1530
+ {
1531
+ unit: "m W.C.",
1532
+ categoryId: "190",
1533
+ c0: 9806.65
1534
+ },
1535
+ {
1536
+ unit: "in W.C.",
1537
+ categoryId: "190",
1538
+ c0: 249.08890999999997
1539
+ },
1540
+ {
1541
+ unit: "psf",
1542
+ categoryId: "190",
1543
+ c0: 47.88025898033585
1544
+ },
1545
+ {
1546
+ unit: "psi",
1547
+ categoryId: "190",
1548
+ c0: 6894.757293168361
1549
+ },
1550
+ {
1551
+ unit: "ozf/in²",
1552
+ categoryId: "190",
1553
+ c0: 430.92233082302255
1554
+ },
1555
+ {
1556
+ unit: "ksi",
1557
+ categoryId: "190",
1558
+ c0: 6894757293168361e-9
1559
+ },
1560
+ {
1561
+ unit: "Torr",
1562
+ categoryId: "190",
1563
+ c0: 133.32236842105263
1564
+ },
1565
+ {
1566
+ unit: "mTorr",
1567
+ categoryId: "190",
1568
+ c0: 0.13332236842105263
1569
+ },
1570
+ {
1571
+ unit: "Pa/m",
1572
+ categoryId: "195",
1573
+ c0: 1
1574
+ },
1575
+ {
1576
+ unit: "kPa/m",
1577
+ categoryId: "195",
1578
+ c0: 1e3
1579
+ },
1580
+ {
1581
+ unit: "MPa/km",
1582
+ categoryId: "195",
1583
+ c0: 1e3
1584
+ },
1585
+ {
1586
+ unit: "bar/m",
1587
+ categoryId: "195",
1588
+ c0: 1e5
1589
+ },
1590
+ {
1591
+ unit: "mbar/mm",
1592
+ categoryId: "195",
1593
+ c0: 1e5
1594
+ },
1595
+ {
1596
+ unit: "atm/m",
1597
+ categoryId: "195",
1598
+ c0: 101325
1599
+ },
1600
+ {
1601
+ unit: "mm HG/m",
1602
+ categoryId: "195",
1603
+ c0: 133.322387415
1604
+ },
1605
+ {
1606
+ unit: "in HG/ft",
1607
+ categoryId: "195",
1608
+ c0: 11110.198951250002
1609
+ },
1610
+ {
1611
+ unit: "mm W.C./m",
1612
+ categoryId: "195",
1613
+ c0: 9.80665
1614
+ },
1615
+ {
1616
+ unit: "m W.C./m",
1617
+ categoryId: "195",
1618
+ c0: 9806.65
1619
+ },
1620
+ {
1621
+ unit: "in W.C./ft",
1622
+ categoryId: "195",
1623
+ c0: 817.2208333333333
1624
+ },
1625
+ {
1626
+ unit: "in W.C./100 ft",
1627
+ categoryId: "195",
1628
+ c0: 8.172208333333334
1629
+ },
1630
+ {
1631
+ unit: "psf/in",
1632
+ categoryId: "195",
1633
+ c0: 1885.0495661549548
1634
+ },
1635
+ {
1636
+ unit: "psi/ft",
1637
+ categoryId: "195",
1638
+ c0: 22620.594793859455
1639
+ },
1640
+ {
1641
+ unit: "ksi/ft",
1642
+ categoryId: "195",
1643
+ c0: 22620594793859456e-9
1644
+ },
1645
+ {
1646
+ unit: "Torr/ft",
1647
+ categoryId: "195",
1648
+ c0: 437.40934521342734
1649
+ },
1650
+ {
1651
+ unit: "mTorr/m",
1652
+ categoryId: "195",
1653
+ c0: 0.13332236842105263
1654
+ },
1655
+ {
1656
+ unit: "N/m",
1657
+ categoryId: "200",
1658
+ c0: 1
1659
+ },
1660
+ {
1661
+ unit: "N/mm",
1662
+ categoryId: "200",
1663
+ c0: 1e3
1664
+ },
1665
+ {
1666
+ unit: "kN/m",
1667
+ categoryId: "200",
1668
+ c0: 1e3
1669
+ },
1670
+ {
1671
+ unit: "lb/ft",
1672
+ categoryId: "200",
1673
+ c0: 14.593902937206366
1674
+ },
1675
+ {
1676
+ unit: "kips/ft",
1677
+ categoryId: "200",
1678
+ c0: 14593.902937206365
1679
+ },
1680
+ {
1681
+ unit: "lb/in",
1682
+ categoryId: "200",
1683
+ c0: 175.12683524647636
1684
+ },
1685
+ {
1686
+ unit: "N⋅m/rad",
1687
+ categoryId: "205",
1688
+ c0: 1
1689
+ },
1690
+ {
1691
+ unit: "N⋅m/deg°",
1692
+ categoryId: "205",
1693
+ c0: 57.29577951308232
1694
+ },
1695
+ {
1696
+ unit: "N⋅mm/rad",
1697
+ categoryId: "205",
1698
+ c0: 1e-3
1699
+ },
1700
+ {
1701
+ unit: "N⋅mm/deg°",
1702
+ categoryId: "205",
1703
+ c0: 0.057295779513082325
1704
+ },
1705
+ {
1706
+ unit: "lb-ft/rad",
1707
+ categoryId: "205",
1708
+ c0: 1.3558179483314001
1709
+ },
1710
+ {
1711
+ unit: "lb-ft/deg°",
1712
+ categoryId: "205",
1713
+ c0: 77.68264622747554
1714
+ },
1715
+ {
1716
+ unit: "lb-in/rad",
1717
+ categoryId: "205",
1718
+ c0: 0.11298482902761668
1719
+ },
1720
+ {
1721
+ unit: "lb-in/deg°",
1722
+ categoryId: "205",
1723
+ c0: 6.473553852289629
1724
+ },
1725
+ {
1726
+ unit: "m³/s",
1727
+ categoryId: "210",
1728
+ c0: 1
1729
+ },
1730
+ {
1731
+ unit: "m³/min",
1732
+ categoryId: "210",
1733
+ c0: 0.016666666666666666
1734
+ },
1735
+ {
1736
+ unit: "m³/h",
1737
+ categoryId: "210",
1738
+ c0: 2777777777777778e-19
1739
+ },
1740
+ {
1741
+ unit: "L/s",
1742
+ categoryId: "210",
1743
+ c0: 1e-3
1744
+ },
1745
+ {
1746
+ unit: "L/min",
1747
+ categoryId: "210",
1748
+ c0: 16666666666666667e-21
1749
+ },
1750
+ {
1751
+ unit: "L/h",
1752
+ categoryId: "210",
1753
+ c0: 27777777777777776e-23
1754
+ },
1755
+ {
1756
+ unit: "cm³/s",
1757
+ categoryId: "210",
1758
+ c0: 1e-6
1759
+ },
1760
+ {
1761
+ unit: "cm³/min",
1762
+ categoryId: "210",
1763
+ c0: 16666666666666667e-24
1764
+ },
1765
+ {
1766
+ unit: "mm³/s",
1767
+ categoryId: "210",
1768
+ c0: 1e-9
1769
+ },
1770
+ {
1771
+ unit: "in³/s",
1772
+ categoryId: "210",
1773
+ c0: 16387064e-12
1774
+ },
1775
+ {
1776
+ unit: "in³/min",
1777
+ categoryId: "210",
1778
+ c0: 27311773333333333e-23
1779
+ },
1780
+ {
1781
+ unit: "ft³/s",
1782
+ categoryId: "210",
1783
+ c0: 0.02831684659199999
1784
+ },
1785
+ {
1786
+ unit: "CFM",
1787
+ categoryId: "210",
1788
+ c0: 4719474431999998e-19
1789
+ },
1790
+ {
1791
+ unit: "CFH",
1792
+ categoryId: "210",
1793
+ c0: 7865790719999997e-21
1794
+ },
1795
+ {
1796
+ unit: "yd³/min",
1797
+ categoryId: "210",
1798
+ c0: 0.012742580966399995
1799
+ },
1800
+ {
1801
+ unit: "yd³/h",
1802
+ categoryId: "210",
1803
+ c0: 21237634943999993e-20
1804
+ },
1805
+ {
1806
+ unit: "gpm(US)",
1807
+ categoryId: "210",
1808
+ c0: 6309019639999999e-20
1809
+ },
1810
+ {
1811
+ unit: "bushel(UK-imperial)/h",
1812
+ categoryId: "210",
1813
+ c0: 10102422222222223e-21
1814
+ },
1815
+ {
1816
+ unit: "bushel(US)/h",
1817
+ categoryId: "210",
1818
+ c0: 9788630601911111e-21
1819
+ },
1820
+ {
1821
+ unit: "kg/s",
1822
+ categoryId: "215",
1823
+ c0: 1
1824
+ },
1825
+ {
1826
+ unit: "kg/min",
1827
+ categoryId: "215",
1828
+ c0: 0.016666666666666666
1829
+ },
1830
+ {
1831
+ unit: "kg/h",
1832
+ categoryId: "215",
1833
+ c0: 2777777777777778e-19
1834
+ },
1835
+ {
1836
+ unit: "g/s",
1837
+ categoryId: "215",
1838
+ c0: 1e-3
1839
+ },
1840
+ {
1841
+ unit: "g/min",
1842
+ categoryId: "215",
1843
+ c0: 16666666666666667e-21
1844
+ },
1845
+ {
1846
+ unit: "g/h",
1847
+ categoryId: "215",
1848
+ c0: 27777777777777776e-23
1849
+ },
1850
+ {
1851
+ unit: "slug/s",
1852
+ categoryId: "215",
1853
+ c0: 14.59390294
1854
+ },
1855
+ {
1856
+ unit: "slug/min",
1857
+ categoryId: "215",
1858
+ c0: 0.24323171566666665
1859
+ },
1860
+ {
1861
+ unit: "slug/h",
1862
+ categoryId: "215",
1863
+ c0: 0.004053861927777778
1864
+ },
1865
+ {
1866
+ unit: "lbm/s",
1867
+ categoryId: "215",
1868
+ c0: 0.45359237
1869
+ },
1870
+ {
1871
+ unit: "lbm/min",
1872
+ categoryId: "215",
1873
+ c0: 0.007559872833333333
1874
+ },
1875
+ {
1876
+ unit: "lbm/h",
1877
+ categoryId: "215",
1878
+ c0: 12599788055555556e-20
1879
+ },
1880
+ {
1881
+ unit: "oz/s",
1882
+ categoryId: "215",
1883
+ c0: 0.028349523125
1884
+ },
1885
+ {
1886
+ unit: "oz/min",
1887
+ categoryId: "215",
1888
+ c0: 47249205208333334e-20
1889
+ },
1890
+ {
1891
+ unit: "oz/h",
1892
+ categoryId: "215",
1893
+ c0: 7874867534722223e-21
1894
+ },
1895
+ {
1896
+ unit: "tonne/h",
1897
+ categoryId: "215",
1898
+ c0: 0.2777777777777778
1899
+ },
1900
+ {
1901
+ unit: "short ton/h",
1902
+ categoryId: "215",
1903
+ c0: 0.2519957611111111
1904
+ },
1905
+ {
1906
+ unit: "long ton/h",
1907
+ categoryId: "215",
1908
+ c0: 0.2822352524444445
1909
+ },
1910
+ {
1911
+ unit: "m/s",
1912
+ categoryId: "220",
1913
+ c0: 1
1914
+ },
1915
+ {
1916
+ unit: "mm/s",
1917
+ categoryId: "220",
1918
+ c0: 1e-3
1919
+ },
1920
+ {
1921
+ unit: "km/s",
1922
+ categoryId: "220",
1923
+ c0: 1e3
1924
+ },
1925
+ {
1926
+ unit: "mm/min",
1927
+ categoryId: "220",
1928
+ c0: 16666666666666667e-21
1929
+ },
1930
+ {
1931
+ unit: "m/min",
1932
+ categoryId: "220",
1933
+ c0: 0.016666666666666666
1934
+ },
1935
+ {
1936
+ unit: "km/min",
1937
+ categoryId: "220",
1938
+ c0: 16.666666666666668
1939
+ },
1940
+ {
1941
+ unit: "mm/h",
1942
+ categoryId: "220",
1943
+ c0: 27777777777777776e-23
1944
+ },
1945
+ {
1946
+ unit: "m/h",
1947
+ categoryId: "220",
1948
+ c0: 2777777777777778e-19
1949
+ },
1950
+ {
1951
+ unit: "km/h",
1952
+ categoryId: "220",
1953
+ c0: 0.2777777777777778
1954
+ },
1955
+ {
1956
+ unit: "in/s",
1957
+ categoryId: "220",
1958
+ c0: 0.0254
1959
+ },
1960
+ {
1961
+ unit: "fps",
1962
+ categoryId: "220",
1963
+ c0: 0.30479999999999996
1964
+ },
1965
+ {
1966
+ unit: "ft/s",
1967
+ categoryId: "220",
1968
+ c0: 0.30479999999999996
1969
+ },
1970
+ {
1971
+ unit: "fpm",
1972
+ categoryId: "220",
1973
+ c0: 0.0050799999999999994
1974
+ },
1975
+ {
1976
+ unit: "mph",
1977
+ categoryId: "220",
1978
+ c0: 0.44703999999999994
1979
+ },
1980
+ {
1981
+ unit: "knot",
1982
+ categoryId: "220",
1983
+ c0: 0.5144444444444445
1984
+ },
1985
+ {
1986
+ unit: "J/m²",
1987
+ categoryId: "224",
1988
+ c0: 1
1989
+ },
1990
+ {
1991
+ unit: "kJ/m²",
1992
+ categoryId: "224",
1993
+ c0: 1e3
1994
+ },
1995
+ {
1996
+ unit: "cal/cm²",
1997
+ categoryId: "224",
1998
+ c0: 41840000000000003e-20
1999
+ },
2000
+ {
2001
+ unit: "kcal/m²",
2002
+ categoryId: "224",
2003
+ c0: 4184
2004
+ },
2005
+ {
2006
+ unit: "Wh/m²",
2007
+ categoryId: "224",
2008
+ c0: 3600
2009
+ },
2010
+ {
2011
+ unit: "kWh/m²",
2012
+ categoryId: "224",
2013
+ c0: 36e5
2014
+ },
2015
+ {
2016
+ unit: "Btu/yd²",
2017
+ categoryId: "224",
2018
+ c0: 1261.8362980252198
2019
+ },
2020
+ {
2021
+ unit: "Btu/ft²",
2022
+ categoryId: "224",
2023
+ c0: 11356.526682226979
2024
+ },
2025
+ {
2026
+ unit: "Btu/in²",
2027
+ categoryId: "224",
2028
+ c0: 1.6353398422406844e6
2029
+ },
2030
+ {
2031
+ unit: "J/m³",
2032
+ categoryId: "225",
2033
+ c0: 1
2034
+ },
2035
+ {
2036
+ unit: "J/L",
2037
+ categoryId: "225",
2038
+ c0: 1e3
2039
+ },
2040
+ {
2041
+ unit: "kJ/L",
2042
+ categoryId: "225",
2043
+ c0: 1e6
2044
+ },
2045
+ {
2046
+ unit: "kJ/m³",
2047
+ categoryId: "225",
2048
+ c0: 1e3
2049
+ },
2050
+ {
2051
+ unit: "MJ/m³",
2052
+ categoryId: "225",
2053
+ c0: 1e6
2054
+ },
2055
+ {
2056
+ unit: "GJ/m³",
2057
+ categoryId: "225",
2058
+ c0: 1e9
2059
+ },
2060
+ {
2061
+ unit: "cal(IT)/L",
2062
+ categoryId: "225",
2063
+ c0: 4186.8
2064
+ },
2065
+ {
2066
+ unit: "kcal(IT)/m³",
2067
+ categoryId: "225",
2068
+ c0: 4186.8
2069
+ },
2070
+ {
2071
+ unit: "cal(TH)/L",
2072
+ categoryId: "225",
2073
+ c0: 4184
2074
+ },
2075
+ {
2076
+ unit: "kcal(TH)/m³",
2077
+ categoryId: "225",
2078
+ c0: 4184
2079
+ },
2080
+ {
2081
+ unit: "Wh/L",
2082
+ categoryId: "225",
2083
+ c0: 36e5
2084
+ },
2085
+ {
2086
+ unit: "Wh/m³",
2087
+ categoryId: "225",
2088
+ c0: 3600
2089
+ },
2090
+ {
2091
+ unit: "kWh/m³",
2092
+ categoryId: "225",
2093
+ c0: 36e5
2094
+ },
2095
+ {
2096
+ unit: "HP Hour/ft³",
2097
+ categoryId: "225",
2098
+ c0: 9480291278106497e-8
2099
+ },
2100
+ {
2101
+ unit: "Btu/gal(US)",
2102
+ categoryId: "225",
2103
+ c0: 278716.2699391016
2104
+ },
2105
+ {
2106
+ unit: "Btu/ft³",
2107
+ categoryId: "225",
2108
+ c0: 37258.9458078313
2109
+ },
2110
+ {
2111
+ unit: "MMBtu/ft³",
2112
+ categoryId: "225",
2113
+ c0: 372589458078313e-4
2114
+ },
2115
+ {
2116
+ unit: "J/kg",
2117
+ categoryId: "230",
2118
+ c0: 1
2119
+ },
2120
+ {
2121
+ unit: "J/g",
2122
+ categoryId: "230",
2123
+ c0: 1e3
2124
+ },
2125
+ {
2126
+ unit: "kJ/kg",
2127
+ categoryId: "230",
2128
+ c0: 1e3
2129
+ },
2130
+ {
2131
+ unit: "MJ/kg",
2132
+ categoryId: "230",
2133
+ c0: 1e6
2134
+ },
2135
+ {
2136
+ unit: "GJ/kg",
2137
+ categoryId: "230",
2138
+ c0: 1e9
2139
+ },
2140
+ {
2141
+ unit: "cal(IT)/g",
2142
+ categoryId: "230",
2143
+ c0: 4186.8
2144
+ },
2145
+ {
2146
+ unit: "kcal(IT)/kg",
2147
+ categoryId: "230",
2148
+ c0: 4186.8
2149
+ },
2150
+ {
2151
+ unit: "cal(TH)/g",
2152
+ categoryId: "230",
2153
+ c0: 4184
2154
+ },
2155
+ {
2156
+ unit: "kcal(TH)/kg",
2157
+ categoryId: "230",
2158
+ c0: 4184
2159
+ },
2160
+ {
2161
+ unit: "Wh/g",
2162
+ categoryId: "230",
2163
+ c0: 36e5
2164
+ },
2165
+ {
2166
+ unit: "Wh/kg",
2167
+ categoryId: "230",
2168
+ c0: 3600
2169
+ },
2170
+ {
2171
+ unit: "kWh/kg",
2172
+ categoryId: "230",
2173
+ c0: 36e5
2174
+ },
2175
+ {
2176
+ unit: "HP Hour/lbm",
2177
+ categoryId: "230",
2178
+ c0: 5918352501599998e-9
2179
+ },
2180
+ {
2181
+ unit: "Btu/lbm",
2182
+ categoryId: "230",
2183
+ c0: 2326
2184
+ },
2185
+ {
2186
+ unit: "MMBtu/lbm",
2187
+ categoryId: "230",
2188
+ c0: 2326e6
2189
+ },
2190
+ {
2191
+ unit: "Btu/ton(short)",
2192
+ categoryId: "230",
2193
+ c0: 1.163
2194
+ },
2195
+ {
2196
+ unit: "J/(kg·K)",
2197
+ categoryId: "235",
2198
+ c0: 1
2199
+ },
2200
+ {
2201
+ unit: "J/(kg·°C)",
2202
+ categoryId: "235",
2203
+ c0: 1
2204
+ },
2205
+ {
2206
+ unit: "J/(g·K)",
2207
+ categoryId: "235",
2208
+ c0: 1e3
2209
+ },
2210
+ {
2211
+ unit: "J/(g·°C)",
2212
+ categoryId: "235",
2213
+ c0: 1e3
2214
+ },
2215
+ {
2216
+ unit: "Btu/(lbm·°F)",
2217
+ categoryId: "235",
2218
+ c0: 4186.799999999999
2219
+ },
2220
+ {
2221
+ unit: "Pa·s",
2222
+ categoryId: "240",
2223
+ c0: 1
2224
+ },
2225
+ {
2226
+ unit: "N·s/m²",
2227
+ categoryId: "240",
2228
+ c0: 1
2229
+ },
2230
+ {
2231
+ unit: "kg/m/s",
2232
+ categoryId: "240",
2233
+ c0: 1
2234
+ },
2235
+ {
2236
+ unit: "P",
2237
+ categoryId: "240",
2238
+ c0: 0.1
2239
+ },
2240
+ {
2241
+ unit: "cP",
2242
+ categoryId: "240",
2243
+ c0: 1e-3
2244
+ },
2245
+ {
2246
+ unit: "lb·s/ft²",
2247
+ categoryId: "240",
2248
+ c0: 47.88025898033585
2249
+ },
2250
+ {
2251
+ unit: "lbm/ft/s",
2252
+ categoryId: "240",
2253
+ c0: 1.4881639435695542
2254
+ },
2255
+ {
2256
+ unit: "m²/s",
2257
+ categoryId: "245",
2258
+ c0: 1
2259
+ },
2260
+ {
2261
+ unit: "m²/min",
2262
+ categoryId: "245",
2263
+ c0: 0.016666666666666666
2264
+ },
2265
+ {
2266
+ unit: "m²/hr",
2267
+ categoryId: "245",
2268
+ c0: 2777777777777778e-19
2269
+ },
2270
+ {
2271
+ unit: "St",
2272
+ categoryId: "245",
2273
+ c0: 1e-4
2274
+ },
2275
+ {
2276
+ unit: "cm²/min",
2277
+ categoryId: "245",
2278
+ c0: 16666666666666667e-22
2279
+ },
2280
+ {
2281
+ unit: "cm²/hr",
2282
+ categoryId: "245",
2283
+ c0: 2777777777777778e-23
2284
+ },
2285
+ {
2286
+ unit: "cSt",
2287
+ categoryId: "245",
2288
+ c0: 1e-6
2289
+ },
2290
+ {
2291
+ unit: "mm²/min",
2292
+ categoryId: "245",
2293
+ c0: 16666666666666667e-24
2294
+ },
2295
+ {
2296
+ unit: "mm²/hr",
2297
+ categoryId: "245",
2298
+ c0: 27777777777777777e-26
2299
+ },
2300
+ {
2301
+ unit: "ft²/s",
2302
+ categoryId: "245",
2303
+ c0: 0.09290303999999998
2304
+ },
2305
+ {
2306
+ unit: "ft²/min",
2307
+ categoryId: "245",
2308
+ c0: 0.0015483839999999997
2309
+ },
2310
+ {
2311
+ unit: "ft²/hr",
2312
+ categoryId: "245",
2313
+ c0: 25806399999999994e-21
2314
+ },
2315
+ {
2316
+ unit: "in²/s",
2317
+ categoryId: "245",
2318
+ c0: 64516e-8
2319
+ },
2320
+ {
2321
+ unit: "in²/min",
2322
+ categoryId: "245",
2323
+ c0: 10752666666666666e-21
2324
+ },
2325
+ {
2326
+ unit: "in²/hr",
2327
+ categoryId: "245",
2328
+ c0: 17921111111111112e-23
2329
+ },
2330
+ {
2331
+ unit: "ΔK",
2332
+ categoryId: "249",
2333
+ c0: 1
2334
+ },
2335
+ {
2336
+ unit: "Δ°C",
2337
+ categoryId: "249",
2338
+ c0: 1
2339
+ },
2340
+ {
2341
+ unit: "Δ°F",
2342
+ categoryId: "249",
2343
+ c0: 0.5555555555555556
2344
+ },
2345
+ {
2346
+ unit: "Δ°Ra",
2347
+ categoryId: "249",
2348
+ c0: 0.5555555555555556
2349
+ },
2350
+ {
2351
+ unit: "1/K",
2352
+ categoryId: "250",
2353
+ c0: 1
2354
+ },
2355
+ {
2356
+ unit: "1/°C",
2357
+ categoryId: "250",
2358
+ c0: 1
2359
+ },
2360
+ {
2361
+ unit: "1/°F",
2362
+ categoryId: "250",
2363
+ c0: 1.8
2364
+ },
2365
+ {
2366
+ unit: "1/°Ra",
2367
+ categoryId: "250",
2368
+ c0: 1.8
2369
+ },
2370
+ {
2371
+ unit: "W/(m⋅K)",
2372
+ categoryId: "255",
2373
+ c0: 1
2374
+ },
2375
+ {
2376
+ unit: "W/(cm⋅K)",
2377
+ categoryId: "255",
2378
+ c0: 100
2379
+ },
2380
+ {
2381
+ unit: "BTU/(h⋅ft⋅°F)",
2382
+ categoryId: "255",
2383
+ c0: 1.7307346663713914
2384
+ },
2385
+ {
2386
+ unit: "BTU/(h⋅in⋅°F)",
2387
+ categoryId: "255",
2388
+ c0: 20.76881599645669
2389
+ },
2390
+ {
2391
+ unit: "A⋅s",
2392
+ categoryId: "260",
2393
+ c0: 1
2394
+ },
2395
+ {
2396
+ unit: "C",
2397
+ categoryId: "260",
2398
+ c0: 1
2399
+ },
2400
+ {
2401
+ unit: "Ah",
2402
+ categoryId: "260",
2403
+ c0: 3600
2404
+ },
2405
+ {
2406
+ unit: "mAh",
2407
+ categoryId: "260",
2408
+ c0: 3.6
2409
+ },
2410
+ {
2411
+ unit: "e",
2412
+ categoryId: "260",
2413
+ c0: 1602307322544464e-34
2414
+ },
2415
+ {
2416
+ unit: "faraday",
2417
+ categoryId: "260",
2418
+ c0: 96493.20237141484
2419
+ },
2420
+ {
2421
+ unit: "V",
2422
+ categoryId: "265",
2423
+ c0: 1
2424
+ },
2425
+ {
2426
+ unit: "µV",
2427
+ categoryId: "265",
2428
+ c0: 1e-6
2429
+ },
2430
+ {
2431
+ unit: "mV",
2432
+ categoryId: "265",
2433
+ c0: 1e-3
2434
+ },
2435
+ {
2436
+ unit: "kV",
2437
+ categoryId: "265",
2438
+ c0: 1e3
2439
+ },
2440
+ {
2441
+ unit: "MV",
2442
+ categoryId: "265",
2443
+ c0: 1e6
2444
+ },
2445
+ {
2446
+ unit: "J/C",
2447
+ categoryId: "265",
2448
+ c0: 1
2449
+ },
2450
+ {
2451
+ unit: "Ω",
2452
+ categoryId: "270",
2453
+ c0: 1
2454
+ },
2455
+ {
2456
+ unit: "µΩ",
2457
+ categoryId: "270",
2458
+ c0: 1e-6
2459
+ },
2460
+ {
2461
+ unit: "mΩ",
2462
+ categoryId: "270",
2463
+ c0: 1e-3
2464
+ },
2465
+ {
2466
+ unit: "kΩ",
2467
+ categoryId: "270",
2468
+ c0: 1e3
2469
+ },
2470
+ {
2471
+ unit: "MΩ",
2472
+ categoryId: "270",
2473
+ c0: 1e6
2474
+ },
2475
+ {
2476
+ unit: "F",
2477
+ categoryId: "275",
2478
+ c0: 1
2479
+ },
2480
+ {
2481
+ unit: "pF",
2482
+ categoryId: "275",
2483
+ c0: 1e-12
2484
+ },
2485
+ {
2486
+ unit: "nF",
2487
+ categoryId: "275",
2488
+ c0: 1e-9
2489
+ },
2490
+ {
2491
+ unit: "µF",
2492
+ categoryId: "275",
2493
+ c0: 1e-6
2494
+ },
2495
+ {
2496
+ unit: "mF",
2497
+ categoryId: "275",
2498
+ c0: 1e-3
2499
+ },
2500
+ {
2501
+ unit: "H",
2502
+ categoryId: "280",
2503
+ c0: 1
2504
+ },
2505
+ {
2506
+ unit: "µH",
2507
+ categoryId: "280",
2508
+ c0: 1e-6
2509
+ },
2510
+ {
2511
+ unit: "mH",
2512
+ categoryId: "280",
2513
+ c0: 1e-3
2514
+ },
2515
+ {
2516
+ unit: "S",
2517
+ categoryId: "285",
2518
+ c0: 1
2519
+ },
2520
+ {
2521
+ unit: "℧",
2522
+ categoryId: "285",
2523
+ c0: 1
2524
+ },
2525
+ {
2526
+ unit: "µS",
2527
+ categoryId: "285",
2528
+ c0: 1e-6
2529
+ },
2530
+ {
2531
+ unit: "mS",
2532
+ categoryId: "285",
2533
+ c0: 1e-3
2534
+ },
2535
+ {
2536
+ unit: "kS",
2537
+ categoryId: "285",
2538
+ c0: 1e3
2539
+ },
2540
+ {
2541
+ unit: "Wb",
2542
+ categoryId: "290",
2543
+ c0: 1
2544
+ },
2545
+ {
2546
+ unit: "nWb",
2547
+ categoryId: "290",
2548
+ c0: 1e-9
2549
+ },
2550
+ {
2551
+ unit: "µWb",
2552
+ categoryId: "290",
2553
+ c0: 1e-6
2554
+ },
2555
+ {
2556
+ unit: "mWb",
2557
+ categoryId: "290",
2558
+ c0: 1e-3
2559
+ },
2560
+ {
2561
+ unit: "cWb",
2562
+ categoryId: "290",
2563
+ c0: 0.01
2564
+ },
2565
+ {
2566
+ unit: "dWb",
2567
+ categoryId: "290",
2568
+ c0: 0.1
2569
+ },
2570
+ {
2571
+ unit: "lm",
2572
+ categoryId: "295",
2573
+ c0: 1
2574
+ },
2575
+ {
2576
+ unit: "cd⋅sr",
2577
+ categoryId: "295",
2578
+ c0: 1
2579
+ },
2580
+ {
2581
+ unit: "T",
2582
+ categoryId: "300",
2583
+ c0: 1
2584
+ },
2585
+ {
2586
+ unit: "Wb/m²",
2587
+ categoryId: "300",
2588
+ c0: 1
2589
+ },
2590
+ {
2591
+ unit: "µT",
2592
+ categoryId: "300",
2593
+ c0: 1e-6
2594
+ },
2595
+ {
2596
+ unit: "G",
2597
+ categoryId: "300",
2598
+ c0: 1e-4
2599
+ },
2600
+ {
2601
+ unit: "mT",
2602
+ categoryId: "300",
2603
+ c0: 1e-3
2604
+ },
2605
+ {
2606
+ unit: "kat",
2607
+ categoryId: "305",
2608
+ c0: 1
2609
+ },
2610
+ {
2611
+ unit: "mol/s",
2612
+ categoryId: "305",
2613
+ c0: 1
2614
+ },
2615
+ {
2616
+ unit: "µkat",
2617
+ categoryId: "305",
2618
+ c0: 1e-6
2619
+ },
2620
+ {
2621
+ unit: "mkat",
2622
+ categoryId: "305",
2623
+ c0: 1e-3
2624
+ },
2625
+ {
2626
+ unit: "kkat",
2627
+ categoryId: "305",
2628
+ c0: 1e3
2629
+ },
2630
+ {
2631
+ unit: "Mkat",
2632
+ categoryId: "305",
2633
+ c0: 1e6
2634
+ },
2635
+ {
2636
+ unit: "Bq",
2637
+ categoryId: "310",
2638
+ c0: 1
2639
+ },
2640
+ {
2641
+ unit: "µBq",
2642
+ categoryId: "310",
2643
+ c0: 1e-6
2644
+ },
2645
+ {
2646
+ unit: "mBq",
2647
+ categoryId: "310",
2648
+ c0: 1e-3
2649
+ },
2650
+ {
2651
+ unit: "kBq",
2652
+ categoryId: "310",
2653
+ c0: 1e3
2654
+ },
2655
+ {
2656
+ unit: "MBq",
2657
+ categoryId: "310",
2658
+ c0: 1e6
2659
+ },
2660
+ {
2661
+ unit: "Rd",
2662
+ categoryId: "310",
2663
+ c0: 1e6
2664
+ },
2665
+ {
2666
+ unit: "Ci",
2667
+ categoryId: "310",
2668
+ c0: 37e9
2669
+ },
2670
+ {
2671
+ unit: "Gy",
2672
+ categoryId: "315",
2673
+ c0: 1
2674
+ },
2675
+ {
2676
+ unit: "µGy",
2677
+ categoryId: "315",
2678
+ c0: 1e-6
2679
+ },
2680
+ {
2681
+ unit: "mGy",
2682
+ categoryId: "315",
2683
+ c0: 1e-3
2684
+ },
2685
+ {
2686
+ unit: "kGy",
2687
+ categoryId: "315",
2688
+ c0: 1e3
2689
+ },
2690
+ {
2691
+ unit: "MGy",
2692
+ categoryId: "315",
2693
+ c0: 1e6
2694
+ },
2695
+ {
2696
+ unit: "Sv",
2697
+ categoryId: "320",
2698
+ c0: 1
2699
+ },
2700
+ {
2701
+ unit: "µSv",
2702
+ categoryId: "320",
2703
+ c0: 1e-6
2704
+ },
2705
+ {
2706
+ unit: "mSv",
2707
+ categoryId: "320",
2708
+ c0: 1e-3
2709
+ },
2710
+ {
2711
+ unit: "kSv",
2712
+ categoryId: "320",
2713
+ c0: 1e3
2714
+ },
2715
+ {
2716
+ unit: "MSv",
2717
+ categoryId: "320",
2718
+ c0: 1e6
2719
+ },
2720
+ {
2721
+ unit: "m³/rad",
2722
+ categoryId: "325",
2723
+ c0: 1
2724
+ },
2725
+ {
2726
+ unit: "m³/rev",
2727
+ categoryId: "325",
2728
+ c0: 0.15915494309189535
2729
+ },
2730
+ {
2731
+ unit: "L/rev",
2732
+ categoryId: "325",
2733
+ c0: 15915494309189535e-20
2734
+ },
2735
+ {
2736
+ unit: "cc/rev",
2737
+ categoryId: "325",
2738
+ c0: 15915494309189532e-23
2739
+ },
2740
+ {
2741
+ unit: "ft³/rev",
2742
+ categoryId: "325",
2743
+ c0: 0.004506766107891689
2744
+ },
2745
+ {
2746
+ unit: "in³/rev",
2747
+ categoryId: "325",
2748
+ c0: 2608082238363247e-21
2749
+ },
2750
+ {
2751
+ unit: "gal(US-liquid)/rev",
2752
+ categoryId: "325",
2753
+ c0: 60246699706191e-17
2754
+ },
2755
+ {
2756
+ unit: "m/m³",
2757
+ categoryId: "330",
2758
+ c0: 1
2759
+ },
2760
+ {
2761
+ unit: "km/L",
2762
+ categoryId: "330",
2763
+ c0: 1e6
2764
+ },
2765
+ {
2766
+ unit: "mpg(US)",
2767
+ categoryId: "330",
2768
+ c0: 425143.707430272
2769
+ },
2770
+ {
2771
+ unit: "mpg(UK)",
2772
+ categoryId: "330",
2773
+ c0: 354006.1899346471
2774
+ },
2775
+ {
2776
+ unit: "mile/L",
2777
+ categoryId: "330",
2778
+ c0: 1.6093439999999998e6
2779
+ },
2780
+ {
2781
+ unit: "m³/m",
2782
+ categoryId: "335",
2783
+ c0: 1
2784
+ },
2785
+ {
2786
+ unit: "L/km",
2787
+ categoryId: "335",
2788
+ c0: 1e-6
2789
+ },
2790
+ {
2791
+ unit: "L/100km",
2792
+ categoryId: "335",
2793
+ c0: 1e-8
2794
+ },
2795
+ {
2796
+ unit: "L/mile",
2797
+ categoryId: "335",
2798
+ c0: 6213711922373341e-22
2799
+ },
2800
+ {
2801
+ unit: "L/100mile",
2802
+ categoryId: "335",
2803
+ c0: 62137119223733416e-25
2804
+ },
2805
+ {
2806
+ unit: "gal(US-liquid)/mile",
2807
+ categoryId: "335",
2808
+ c0: 23521458333333333e-22
2809
+ },
2810
+ {
2811
+ unit: "gal(US-liquid)/100mile",
2812
+ categoryId: "335",
2813
+ c0: 23521458333333335e-24
2814
+ },
2815
+ {
2816
+ unit: "gal(UK-imperial)/mile",
2817
+ categoryId: "335",
2818
+ c0: 2824809363318222e-21
2819
+ },
2820
+ {
2821
+ unit: "gal(UK-imperial)/100mile",
2822
+ categoryId: "335",
2823
+ c0: 2824809363318222e-23
2824
+ },
2825
+ {
2826
+ unit: "m/J",
2827
+ categoryId: "340",
2828
+ c0: 1
2829
+ },
2830
+ {
2831
+ unit: "km/kWh",
2832
+ categoryId: "340",
2833
+ c0: 2777777777777778e-19
2834
+ },
2835
+ {
2836
+ unit: "km/MJ",
2837
+ categoryId: "340",
2838
+ c0: 1e-3
2839
+ },
2840
+ {
2841
+ unit: "MPGe",
2842
+ categoryId: "340",
2843
+ c0: 13267469084913437e-21
2844
+ },
2845
+ {
2846
+ unit: "mile/MJ",
2847
+ categoryId: "340",
2848
+ c0: 0.0016093439999999997
2849
+ },
2850
+ {
2851
+ unit: "mile/kWh",
2852
+ categoryId: "340",
2853
+ c0: 44703999999999995e-20
2854
+ },
2855
+ {
2856
+ unit: "mile/MMBtu",
2857
+ categoryId: "340",
2858
+ c0: 1525363795673515e-21
2859
+ },
2860
+ {
2861
+ unit: "J/m",
2862
+ categoryId: "345",
2863
+ c0: 1
2864
+ },
2865
+ {
2866
+ unit: "Wh/km",
2867
+ categoryId: "345",
2868
+ c0: 3.6
2869
+ },
2870
+ {
2871
+ unit: "Wh/mile",
2872
+ categoryId: "345",
2873
+ c0: 2.2369362920544025
2874
+ },
2875
+ {
2876
+ unit: "kWh/km",
2877
+ categoryId: "345",
2878
+ c0: 3600
2879
+ },
2880
+ {
2881
+ unit: "kWh/100km",
2882
+ categoryId: "345",
2883
+ c0: 36
2884
+ },
2885
+ {
2886
+ unit: "kWh/mile",
2887
+ categoryId: "345",
2888
+ c0: 2236.9362920544027
2889
+ },
2890
+ {
2891
+ unit: "kWh/100mile",
2892
+ categoryId: "345",
2893
+ c0: 22.369362920544027
2894
+ },
2895
+ {
2896
+ unit: "MJ/km",
2897
+ categoryId: "345",
2898
+ c0: 1e3
2899
+ },
2900
+ {
2901
+ unit: "MJ/100km",
2902
+ categoryId: "345",
2903
+ c0: 10
2904
+ },
2905
+ {
2906
+ unit: "MJ/mile",
2907
+ categoryId: "345",
2908
+ c0: 621.3711922373341
2909
+ },
2910
+ {
2911
+ unit: "MJ/100mile",
2912
+ categoryId: "345",
2913
+ c0: 6.213711922373341
2914
+ },
2915
+ {
2916
+ unit: "MMBtu/km",
2917
+ categoryId: "345",
2918
+ c0: 105505585262e-5
2919
+ },
2920
+ {
2921
+ unit: "MMBtu/100km",
2922
+ categoryId: "345",
2923
+ c0: 10550.5585262
2924
+ },
2925
+ {
2926
+ unit: "MMBtu/mile",
2927
+ categoryId: "345",
2928
+ c0: 655581.3130194664
2929
+ },
2930
+ {
2931
+ unit: "MMBtu/100mile",
2932
+ categoryId: "345",
2933
+ c0: 6555.813130194665
2934
+ },
2935
+ {
2936
+ unit: "$",
2937
+ categoryId: "355",
2938
+ c0: 1
2939
+ },
2940
+ {
2941
+ unit: "¢",
2942
+ categoryId: "355",
2943
+ c0: 0.01
2944
+ },
2945
+ {
2946
+ unit: "$1K",
2947
+ categoryId: "355",
2948
+ c0: 1e3
2949
+ },
2950
+ {
2951
+ unit: "$1M",
2952
+ categoryId: "355",
2953
+ c0: 1e6
2954
+ },
2955
+ {
2956
+ unit: "$1B",
2957
+ categoryId: "355",
2958
+ c0: 1e9
2959
+ },
2960
+ {
2961
+ unit: "$1T",
2962
+ categoryId: "355",
2963
+ c0: 1e12
2964
+ },
2965
+ {
2966
+ unit: "N·s",
2967
+ categoryId: "360",
2968
+ c0: 1
2969
+ },
2970
+ {
2971
+ unit: "lb·s",
2972
+ categoryId: "360",
2973
+ c0: 4.4482216152605
2974
+ },
2975
+ {
2976
+ unit: "kg·m/s",
2977
+ categoryId: "360",
2978
+ c0: 1
2979
+ },
2980
+ {
2981
+ unit: "lbm·fps",
2982
+ categoryId: "360",
2983
+ c0: 0.138254954376
2984
+ },
2985
+ {
2986
+ unit: "lbm·fpm",
2987
+ categoryId: "360",
2988
+ c0: 0.0023042492396
2989
+ },
2990
+ {
2991
+ unit: "bit",
2992
+ categoryId: "365",
2993
+ c0: 1
2994
+ },
2995
+ {
2996
+ unit: "kilobit",
2997
+ categoryId: "365",
2998
+ c0: 1e3
2999
+ },
3000
+ {
3001
+ unit: "kibibit",
3002
+ categoryId: "365",
3003
+ c0: 1024
3004
+ },
3005
+ {
3006
+ unit: "megabit",
3007
+ categoryId: "365",
3008
+ c0: 1e6
3009
+ },
3010
+ {
3011
+ unit: "mebibit",
3012
+ categoryId: "365",
3013
+ c0: 1048576
3014
+ },
3015
+ {
3016
+ unit: "gigabit",
3017
+ categoryId: "365",
3018
+ c0: 1e9
3019
+ },
3020
+ {
3021
+ unit: "gibibit",
3022
+ categoryId: "365",
3023
+ c0: 1073741824
3024
+ },
3025
+ {
3026
+ unit: "terabit",
3027
+ categoryId: "365",
3028
+ c0: 1e12
3029
+ },
3030
+ {
3031
+ unit: "tebibit",
3032
+ categoryId: "365",
3033
+ c0: 1099511627776
3034
+ },
3035
+ {
3036
+ unit: "petabit",
3037
+ categoryId: "365",
3038
+ c0: 1e15
3039
+ },
3040
+ {
3041
+ unit: "pebibit",
3042
+ categoryId: "365",
3043
+ c0: 1125899906842624
3044
+ },
3045
+ {
3046
+ unit: "byte",
3047
+ categoryId: "365",
3048
+ c0: 8
3049
+ },
3050
+ {
3051
+ unit: "kilobyte",
3052
+ categoryId: "365",
3053
+ c0: 8e3
3054
+ },
3055
+ {
3056
+ unit: "kibibyte",
3057
+ categoryId: "365",
3058
+ c0: 8192
3059
+ },
3060
+ {
3061
+ unit: "megabyte",
3062
+ categoryId: "365",
3063
+ c0: 8e6
3064
+ },
3065
+ {
3066
+ unit: "mebibyte",
3067
+ categoryId: "365",
3068
+ c0: 8388608
3069
+ },
3070
+ {
3071
+ unit: "gigabyte",
3072
+ categoryId: "365",
3073
+ c0: 8e9
3074
+ },
3075
+ {
3076
+ unit: "gibibyte",
3077
+ categoryId: "365",
3078
+ c0: 8589934592
3079
+ },
3080
+ {
3081
+ unit: "terabyte",
3082
+ categoryId: "365",
3083
+ c0: 8e12
3084
+ },
3085
+ {
3086
+ unit: "tebibyte",
3087
+ categoryId: "365",
3088
+ c0: 8796093022208
3089
+ },
3090
+ {
3091
+ unit: "petabyte",
3092
+ categoryId: "365",
3093
+ c0: 8e15
3094
+ },
3095
+ {
3096
+ unit: "pebibyte",
3097
+ categoryId: "365",
3098
+ c0: 9007199254740992
3099
+ },
3100
+ {
3101
+ unit: "bit/s",
3102
+ categoryId: "370",
3103
+ c0: 1
3104
+ },
3105
+ {
3106
+ unit: "kilobit/s",
3107
+ categoryId: "370",
3108
+ c0: 1e3
3109
+ },
3110
+ {
3111
+ unit: "kibibit/s",
3112
+ categoryId: "370",
3113
+ c0: 1024
3114
+ },
3115
+ {
3116
+ unit: "megabit/s",
3117
+ categoryId: "370",
3118
+ c0: 1e6
3119
+ },
3120
+ {
3121
+ unit: "mebibit/s",
3122
+ categoryId: "370",
3123
+ c0: 1048576
3124
+ },
3125
+ {
3126
+ unit: "gigabit/s",
3127
+ categoryId: "370",
3128
+ c0: 1e9
3129
+ },
3130
+ {
3131
+ unit: "gibibit/s",
3132
+ categoryId: "370",
3133
+ c0: 1073741824
3134
+ },
3135
+ {
3136
+ unit: "terabit/s",
3137
+ categoryId: "370",
3138
+ c0: 1099511627776
3139
+ },
3140
+ {
3141
+ unit: "tebibit/s",
3142
+ categoryId: "370",
3143
+ c0: 1099511627776
3144
+ },
3145
+ {
3146
+ unit: "petabit/s",
3147
+ categoryId: "370",
3148
+ c0: 1e15
3149
+ },
3150
+ {
3151
+ unit: "pebibit/s",
3152
+ categoryId: "370",
3153
+ c0: 1125899906842624
1028
3154
  }
3155
+ ];
3156
+ const data = {
3157
+ meta,
3158
+ categories,
3159
+ units
1029
3160
  };
3161
+ const grouped = /* @__PURE__ */ new Map();
3162
+ for (const u of data.units) {
3163
+ if (!grouped.has(u.categoryId))
3164
+ grouped.set(u.categoryId, []);
3165
+ grouped.get(u.categoryId).push(u);
3166
+ }
3167
+ const UNITS = {};
3168
+ const CONVERSION_FACTORS = {};
3169
+ for (const cat of data.categories) {
3170
+ const units2 = grouped.get(cat.id) ?? [];
3171
+ const key = cat.description;
3172
+ const isAffine = units2.some((u) => u.c1 != null);
3173
+ UNITS[key] = units2.map((u) => u.unit);
3174
+ if (isAffine) {
3175
+ CONVERSION_FACTORS[key] = Object.fromEntries(
3176
+ units2.map((u) => [u.unit, { c0: u.c0, c1: u.c1 ?? 0 }])
3177
+ );
3178
+ } else {
3179
+ CONVERSION_FACTORS[key] = Object.fromEntries(
3180
+ units2.map((u) => [u.unit, u.c0])
3181
+ );
3182
+ }
3183
+ }
1030
3184
  const getUnitCategory = (unit) => {
1031
3185
  console.log("getUnitCategory called with unit:", unit);
1032
3186
  if (!unit) {
@@ -1670,69 +3824,6 @@
1670
3824
  this.updateDropdownWidth();
1671
3825
  }
1672
3826
  }
1673
- class NewComponent1 extends HTMLElement {
1674
- constructor() {
1675
- super();
1676
- this.attachShadow({ mode: "open" });
1677
- this.count = 0;
1678
- }
1679
- connectedCallback() {
1680
- this.render();
1681
- this.attachEventListeners();
1682
- }
1683
- render() {
1684
- this.shadowRoot.innerHTML = `
1685
- <style>
1686
- :host {
1687
- display: inline-block;
1688
- font-family: Arial, sans-serif;
1689
- }
1690
- .counter {
1691
- display: flex;
1692
- align-items: center;
1693
- gap: 10px;
1694
- padding: 10px;
1695
- border: 1px solid #ccc;
1696
- border-radius: 5px;
1697
- }
1698
- button {
1699
- font-size: 16px;
1700
- background-color: blue;
1701
- color: red;
1702
- padding: 5px 10px;
1703
- cursor: pointer;
1704
- }
1705
- .count {
1706
- font-size: 18px;
1707
- font-weight: bold;
1708
- }
1709
- </style>
1710
- <div class="counter">
1711
- <button class="decrement">-</button>
1712
- <span class="count">${this.count}</span>
1713
- <button class="increment">+</button>
1714
- </div>
1715
- `;
1716
- }
1717
- attachEventListeners() {
1718
- const incrementBtn = this.shadowRoot.querySelector(".increment");
1719
- const decrementBtn = this.shadowRoot.querySelector(".decrement");
1720
- incrementBtn.addEventListener("click", () => this.increment());
1721
- decrementBtn.addEventListener("click", () => this.decrement());
1722
- }
1723
- increment() {
1724
- this.count++;
1725
- this.updateCount();
1726
- }
1727
- decrement() {
1728
- this.count--;
1729
- this.updateCount();
1730
- }
1731
- updateCount() {
1732
- const countElement = this.shadowRoot.querySelector(".count");
1733
- countElement.textContent = this.count;
1734
- }
1735
- }
1736
3827
  const defineCustomElement = (name, component) => {
1737
3828
  if (typeof window !== "undefined" && !customElements.get(name)) {
1738
3829
  customElements.define(name, component);
@@ -1743,8 +3834,6 @@
1743
3834
  });
1744
3835
  defineCustomElement("uc-qty-pair", UcQtyPair);
1745
3836
  defineCustomElement("uc-qty-triplet", UcQtyTriplet);
1746
- defineCustomElement("new-component-1", NewComponent1);
1747
- exports2.NewComponent1 = NewComponent1;
1748
3837
  exports2.PhysicalQuantity = PhysicalQuantity;
1749
3838
  exports2.UcQtyPair = UcQtyPair;
1750
3839
  exports2.UcQtyTriplet = UcQtyTriplet;