physical-quantity 1.1.86 → 1.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -6
- package/dist/pq.es.js +1 -1
- package/dist/pq.umd.js +1 -238
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
This package introduces three custom HTML elements designed for expressing and manipulating physical quantities with seamless unit conversion:
|
|
6
6
|
|
|
7
|
-
`<physical-quantity>` (alias: `<uc-qty>`) A versatile component for single quantities, featuring a value input and a unit dropdown. It automatically handles conversions within the same unit category.
|
|
7
|
+
- `<physical-quantity>` (alias: `<uc-qty>`) A versatile component for single quantities, featuring a value input and a unit dropdown. It automatically handles conversions within the same unit category.
|
|
8
8
|
|
|
9
|
-
`<uc-qty-pair>` Represents a pair of physical quantities sharing the same unit. It displays two values and a unit dropdown, enabling simultaneous conversion of both quantities.
|
|
9
|
+
- `<uc-qty-pair>` Represents a pair of physical quantities sharing the same unit. It displays two values and a unit dropdown, enabling simultaneous conversion of both quantities.
|
|
10
10
|
|
|
11
|
-
`<uc-qty-triplet>` Designed for triplets of physical quantities with a common unit. It presents three values and a unit dropdown, facilitating synchronized conversion across all three quantities.
|
|
11
|
+
- `<uc-qty-triplet>` Designed for triplets of physical quantities with a common unit. It presents three values and a unit dropdown, facilitating synchronized conversion across all three quantities.
|
|
12
12
|
|
|
13
13
|
These web components offer:
|
|
14
14
|
- Self-contained unit conversion
|
|
@@ -20,7 +20,7 @@ By leveraging these custom elements, developers can easily incorporate sophistic
|
|
|
20
20
|
|
|
21
21
|
## Features
|
|
22
22
|
|
|
23
|
-
- Create a
|
|
23
|
+
- Create a `<physical quantity>` or `<uc-qty>`, `<uc-qty-pair>` or `<uc-qty-triplet>` with a value(values) and unit.
|
|
24
24
|
- Automatically convert between units within the same category.
|
|
25
25
|
- Display values with customizable decimal places if not an integer; show integers without decimal parts.
|
|
26
26
|
- Easy to integrate into any web project.
|
|
@@ -92,9 +92,9 @@ Add the `<physical-quantity>`, `<uc-qty>`, `<uc-qty-pair>`, or `<uc-qty-triplet>
|
|
|
92
92
|
<physical-quantity value="10" unit="kgf" ></physical-quantity>
|
|
93
93
|
<physical-quantity value="10" unit="Volt" ></physical-quantity>
|
|
94
94
|
|
|
95
|
-
<uc-qty-pair values="10,20" unit="cm"></uc-qty-pair
|
|
95
|
+
<uc-qty-pair values="10,20" unit="cm"></uc-qty-pair> Quantity pair<br>
|
|
96
96
|
|
|
97
|
-
triplet values="10x20x30" unit="cm"
|
|
97
|
+
<uc-qty-triplet values="10x20x30" unit="cm"></uc-qty-triplet> Quantity triplet values="10x20x30" unit="cm"<br>
|
|
98
98
|
```
|
|
99
99
|
[Above Rendered in Web Browser](https://v2-docs.donwen.com/demo/pq-samples.html)
|
|
100
100
|
|
|
@@ -282,6 +282,8 @@ Contributions are welcome! Please contact the developer for any bugs, features,
|
|
|
282
282
|
## Change Log
|
|
283
283
|
| Version | Date | Description |
|
|
284
284
|
|---|---|---|
|
|
285
|
+
| v1.1.90 |20250120| Volume unit 'mL' to 'ml'. |
|
|
286
|
+
| v1.1.88 |20241016| Code optimized. |
|
|
285
287
|
| v1.1.85 |20241015| Bug fixes. |
|
|
286
288
|
| v1.1.81 |20241014| Added uc-qty-pair & uc-qty-triplet. |
|
|
287
289
|
| v1.1.80 |20241013| Minor bug fixes. |
|
package/dist/pq.es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x263b8b=_0x4ebc;(function(_0x39b7d1,_0x58432f){const _0x5aa91f=_0x4ebc,_0x1e98f1=_0x39b7d1();while(!![]){try{const _0x5ee331=-parseInt(_0x5aa91f(0x206))/0x1*(parseInt(_0x5aa91f(0x263))/0x2)+-parseInt(_0x5aa91f(0x265))/0x3*(parseInt(_0x5aa91f(0x386))/0x4)+parseInt(_0x5aa91f(0x30f))/0x5+parseInt(_0x5aa91f(0x362))/0x6+-parseInt(_0x5aa91f(0x2cc))/0x7*(-parseInt(_0x5aa91f(0x1d0))/0x8)+parseInt(_0x5aa91f(0x298))/0x9*(parseInt(_0x5aa91f(0x2de))/0xa)+parseInt(_0x5aa91f(0x296))/0xb*(-parseInt(_0x5aa91f(0x1f9))/0xc);if(_0x5ee331===_0x58432f)break;else _0x1e98f1['push'](_0x1e98f1['shift']());}catch(_0xb20d9d){_0x1e98f1['push'](_0x1e98f1['shift']());}}}(_0x2c2a,0xb3918));const o=0.45359237,r=9.80665,v=0x14a0,l=25.4/0x3e8,n=0xc*l,W=0x73c,V=0x42*0x294,d=4.54609,p=0xe7,I=268.8025,g=0x1/0x8,F=0x1/0x14,G=0x1/0x10,_=0x8,B=0x8,q=0x1/0x10,z=0xf0,K=0xfa,Q=0xa,T=14.59390294,M=1055.05585262,w=4.1868,f=4.184,R=0x226*o*r*n,N=0x18bcd,$=0x1/0x2f8,y=133.322387415,j=0x569e4c0a22d73800,U={'Length':['m','nano[nm]','µm',_0x263b8b(0x395),'mm','cm','dm','km','in',_0x263b8b(0x365),_0x263b8b(0x2c2),'ft','yd',_0x263b8b(0x2a7),_0x263b8b(0x2fa)],'Mass':['kg','g','mg','µg','oz','lbm','slug',_0x263b8b(0x208),_0x263b8b(0x1f3),_0x263b8b(0x2a5)],'Time':[_0x263b8b(0x2f8),'s',_0x263b8b(0x3b6),'h',_0x263b8b(0x338),_0x263b8b(0x217),_0x263b8b(0x385)],'ElectricalCurrent':['A',_0x263b8b(0x322),'mA','µA','kA','MA',_0x263b8b(0x1e9)],'Temperature':['°K','°C','°F',_0x263b8b(0x399)],'Amount\x20of\x20Substance':[_0x263b8b(0x1ea),_0x263b8b(0x38f),'kmol'],'Luminous\x20Intensity':[_0x263b8b(0x2d2),'lm/sr','cp[candlepower]',_0x263b8b(0x1ee)],'Acceleration':[_0x263b8b(0x2ab),'m/min²',_0x263b8b(0x1e4),_0x263b8b(0x1d1),'ft/min²','in/s²'],'Gravitational\x20Constant':[_0x263b8b(0x390),_0x263b8b(0x389),_0x263b8b(0x209)],'Velocity\x20(Angular)':['rad/s',_0x263b8b(0x2ac),_0x263b8b(0x268),_0x263b8b(0x3a7),_0x263b8b(0x388),_0x263b8b(0x1fd),'rpm[rev/min]',_0x263b8b(0x331)],'Acceleration\x20(Angular)':[_0x263b8b(0x1ec),_0x263b8b(0x271),_0x263b8b(0x364),_0x263b8b(0x391)],'Illuminance':['lux','lumen/m²','lm/m²',_0x263b8b(0x22d),'phot',_0x263b8b(0x23b),'fc',_0x263b8b(0x1ff),_0x263b8b(0x1e2)],'Frequency':['Hz',_0x263b8b(0x2f1),_0x263b8b(0x22e),_0x263b8b(0x32b),_0x263b8b(0x335),_0x263b8b(0x341),_0x263b8b(0x211),_0x263b8b(0x24c),_0x263b8b(0x222)],'Area':['m²',_0x263b8b(0x1e7),_0x263b8b(0x2ce),_0x263b8b(0x226),_0x263b8b(0x370),_0x263b8b(0x34f),_0x263b8b(0x394),_0x263b8b(0x2a1),_0x263b8b(0x266),_0x263b8b(0x33b),_0x263b8b(0x213)],'Volume\x20/\x20Section\x20Modulus':['m³',_0x263b8b(0x1c4),_0x263b8b(0x224),'cm³','L','mL',_0x263b8b(0x255),_0x263b8b(0x1de),'ft³',_0x263b8b(0x348),_0x263b8b(0x1fe),_0x263b8b(0x2f2),_0x263b8b(0x1c8),'pint(UK-imperial)','pint(US-liquid)',_0x263b8b(0x2e3),_0x263b8b(0x28e),_0x263b8b(0x2e0),_0x263b8b(0x305),_0x263b8b(0x3a1),_0x263b8b(0x1f4),_0x263b8b(0x371),_0x263b8b(0x2ba),_0x263b8b(0x228)],'Polar\x20Moment\x20of\x20Inertia':['m⁴','mm⁴',_0x263b8b(0x2e1),_0x263b8b(0x1cc),_0x263b8b(0x363)],'Moment\x20of\x20Inertia':['kg⋅m²',_0x263b8b(0x294),'g⋅mm²',_0x263b8b(0x2fc),_0x263b8b(0x32e),_0x263b8b(0x3ae)],'Force':['N','kN','MN',_0x263b8b(0x231),'lb',_0x263b8b(0x372),_0x263b8b(0x2a0)],'Angle':['radian',_0x263b8b(0x3b3),'deg°',_0x263b8b(0x2fe)],'Solid\x20Angle':['sr[steradian]',_0x263b8b(0x30c)],'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':['kg/m²',_0x263b8b(0x38b),_0x263b8b(0x34d),_0x263b8b(0x25a),_0x263b8b(0x278),_0x263b8b(0x327),_0x263b8b(0x1f5),_0x263b8b(0x29f),_0x263b8b(0x35c),_0x263b8b(0x25b)],'Density':[_0x263b8b(0x313),'kg/L',_0x263b8b(0x233),_0x263b8b(0x26e),'lbm/ft³',_0x263b8b(0x3a3)],'Energy':['J[Joule]','kJ','MJ','GJ',_0x263b8b(0x2c4),_0x263b8b(0x3b4),_0x263b8b(0x2be),'calorie(IT)','kilo-calorie(IT)',_0x263b8b(0x1d4),_0x263b8b(0x36f),_0x263b8b(0x2bc),'Wh',_0x263b8b(0x2e4),'eV[electron-volt]'],'Power':[_0x263b8b(0x299),'kW','MW',_0x263b8b(0x1cb),'Btu/h',_0x263b8b(0x26a),_0x263b8b(0x321),_0x263b8b(0x343),_0x263b8b(0x22b),_0x263b8b(0x349),'calorie(TH)/second',_0x263b8b(0x396),_0x263b8b(0x28d),_0x263b8b(0x2b8),_0x263b8b(0x1d3),'HP','J/second',_0x263b8b(0x3b5),_0x263b8b(0x28c),_0x263b8b(0x269),'kJ/minute'],'Torque,\x20Moment\x20of\x20Force':['Nm',_0x263b8b(0x3a2),'lb-in',_0x263b8b(0x1be),_0x263b8b(0x24e),_0x263b8b(0x33f),'oz-ft'],'Pressure/Stress':['Pa',_0x263b8b(0x27a),'MPa',_0x263b8b(0x1c3),_0x263b8b(0x273),_0x263b8b(0x290),_0x263b8b(0x24d),_0x263b8b(0x328),'cm\x20HG',_0x263b8b(0x247),_0x263b8b(0x36c),_0x263b8b(0x2fb),_0x263b8b(0x373),'psf','psi',_0x263b8b(0x3ad),_0x263b8b(0x32d)],'Pressure\x20Drop\x20per\x20Unit\x20Length':[_0x263b8b(0x1e5),_0x263b8b(0x27c),_0x263b8b(0x295),_0x263b8b(0x342),'bar/m',_0x263b8b(0x2f9),_0x263b8b(0x1c2),'mm\x20HG/m',_0x263b8b(0x1fb),_0x263b8b(0x237),_0x263b8b(0x274),_0x263b8b(0x1bf),_0x263b8b(0x2d9),_0x263b8b(0x359),_0x263b8b(0x31c),'ksi/ft',_0x263b8b(0x249),'mTorr/m'],'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':[_0x263b8b(0x30a),_0x263b8b(0x38a),_0x263b8b(0x374),_0x263b8b(0x3a6),_0x263b8b(0x29a),_0x263b8b(0x28b)],'Stiffness\x20of\x20Rotary\x20Spring':[_0x263b8b(0x2f3),_0x263b8b(0x318),_0x263b8b(0x37d),_0x263b8b(0x39f),_0x263b8b(0x2b3),_0x263b8b(0x292),_0x263b8b(0x2bf),'lb-in/deg°'],'Flow\x20Rate\x20(Volume)':[_0x263b8b(0x2dd),_0x263b8b(0x207),_0x263b8b(0x200),_0x263b8b(0x21e),_0x263b8b(0x283),'L/h','cm³/s',_0x263b8b(0x25c),_0x263b8b(0x2df),_0x263b8b(0x316),'ft³/s',_0x263b8b(0x39e),_0x263b8b(0x29d),'CFH',_0x263b8b(0x25d),_0x263b8b(0x2c9),'yd³/h',_0x263b8b(0x1cf),_0x263b8b(0x37c),'bushel(UK-imperial)/h',_0x263b8b(0x3b9)],'Flow\x20Rate\x20(Mass)':[_0x263b8b(0x1d5),_0x263b8b(0x344),_0x263b8b(0x33d),'g/s','g/min',_0x263b8b(0x354),_0x263b8b(0x393),'slug/min',_0x263b8b(0x340),_0x263b8b(0x315),_0x263b8b(0x1bc),'lbm/h',_0x263b8b(0x38c),_0x263b8b(0x2f6),_0x263b8b(0x2f7),_0x263b8b(0x309),_0x263b8b(0x29e),_0x263b8b(0x31d)],'Speed\x20/\x20Velocity\x20(Linear)':['m/s',_0x263b8b(0x215),_0x263b8b(0x280),_0x263b8b(0x333),_0x263b8b(0x39a),_0x263b8b(0x31f),_0x263b8b(0x1ef),_0x263b8b(0x205),'km/h',_0x263b8b(0x1c7),_0x263b8b(0x3ab),_0x263b8b(0x308),_0x263b8b(0x345),'fpm[ft/minute]',_0x263b8b(0x270),_0x263b8b(0x210)],'Fuel\x20Heat\x20Value\x20(Volume)':['J/m³',_0x263b8b(0x248),_0x263b8b(0x332),_0x263b8b(0x36d),_0x263b8b(0x29b),'GJ/m³','cal(IT)/L',_0x263b8b(0x1f8),_0x263b8b(0x375),_0x263b8b(0x1ce),_0x263b8b(0x21d),_0x263b8b(0x250),'kWh/m³',_0x263b8b(0x227),_0x263b8b(0x32f),_0x263b8b(0x1e1),_0x263b8b(0x257)],'Fuel\x20Heat\x20Value\x20(Mass)':['J/kg','J/g','kJ/kg','MJ/kg',_0x263b8b(0x243),_0x263b8b(0x2a2),_0x263b8b(0x2dc),'cal(TH)/g','kcal(TH)/kg',_0x263b8b(0x378),_0x263b8b(0x2e9),_0x263b8b(0x1fc),_0x263b8b(0x23c),_0x263b8b(0x286),_0x263b8b(0x238),_0x263b8b(0x1eb)],'Mass\x20Heat\x20Capacity':[_0x263b8b(0x32c),'J/(kg·°C)','J/(g·°K)',_0x263b8b(0x2ea),'Btu/(lbm·°F)'],'Viscosity\x20-\x20Absolute/Dynamic(μ)':[_0x263b8b(0x2aa),'N·s/m²',_0x263b8b(0x2b6),_0x263b8b(0x3b0),'cP',_0x263b8b(0x398),'lbm/ft/s'],'Viscosity\x20-\x20Kinematic':[_0x263b8b(0x27e),'m²/min','m²/hr',_0x263b8b(0x339),_0x263b8b(0x35f),_0x263b8b(0x2a3),_0x263b8b(0x2ef),'cSt[mm²/s]',_0x263b8b(0x23d),_0x263b8b(0x34a),_0x263b8b(0x2c8),_0x263b8b(0x2f5),_0x263b8b(0x20d),_0x263b8b(0x229),_0x263b8b(0x1da),_0x263b8b(0x387)],'Linear\x20Thermal\x20Expansion\x20Coefficient':['1/°K','1/°C','1/°F',_0x263b8b(0x21c)],'Thermal\x20Conductivity':[_0x263b8b(0x2fd),_0x263b8b(0x2a8),_0x263b8b(0x384),_0x263b8b(0x27d)],'Electrical\x20Charge':[_0x263b8b(0x1c6),'Ah',_0x263b8b(0x272),'mAh',_0x263b8b(0x24b),'faraday'],'Electrical\x20Potential\x20Difference\x20(Voltage)':['V','Volt',_0x263b8b(0x22c),_0x263b8b(0x30d),'µV','mV','kV','MV'],'Electrical\x20Resistance(Impedance)':['Ω[Ohm]','µΩ','mΩ','kΩ','MΩ'],'Electrical\x20Capacitance':['F[farad]','pF','nF','µF','mF'],'Electrical\x20Inductance':[_0x263b8b(0x259),'µH','mH'],'Electrical\x20Conductance':[_0x263b8b(0x1d2),'℧','µS','mS','kS'],'Magnetic\x20Flux':[_0x263b8b(0x352),_0x263b8b(0x379),_0x263b8b(0x2db),_0x263b8b(0x34c),_0x263b8b(0x21b),_0x263b8b(0x23e)],'Luminous\x20Flux':['lm[lumen]',_0x263b8b(0x1d9)],'Magnetic\x20Flux\x20Density':[_0x263b8b(0x353),_0x263b8b(0x36e),'µT','G','mT'],'Katalytic\x20Activity':['kat[katal]',_0x263b8b(0x2b9),'µkat','mkat',_0x263b8b(0x201),_0x263b8b(0x2ae)],'Radioactivity':[_0x263b8b(0x30b),_0x263b8b(0x2f1),_0x263b8b(0x304),_0x263b8b(0x376),_0x263b8b(0x351),_0x263b8b(0x34e),_0x263b8b(0x2d1),_0x263b8b(0x20f)],'Absorbed\x20Dose\x20of\x20Ionizing\x20Radiation':['Gy[gray]',_0x263b8b(0x33c),'µGy',_0x263b8b(0x301),'kGy','MGy'],'Equivalent\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x263b8b(0x2cb),_0x263b8b(0x33c),'µSv',_0x263b8b(0x33a),_0x263b8b(0x264),_0x263b8b(0x39b)],'Volumetric\x20Displacement':[_0x263b8b(0x26b),_0x263b8b(0x39d),_0x263b8b(0x326),_0x263b8b(0x1f7),_0x263b8b(0x236),'in³/rev',_0x263b8b(0x317)],'Fuel\x20Economy':['km/L',_0x263b8b(0x35e),_0x263b8b(0x336),_0x263b8b(0x2e7),_0x263b8b(0x252),'mile/L'],'Fuel\x20Consumption':[_0x263b8b(0x2d3),'L/km','L/100km',_0x263b8b(0x25f),_0x263b8b(0x369),_0x263b8b(0x3ac),_0x263b8b(0x366),_0x263b8b(0x24a),_0x263b8b(0x39c)],'New\x20Energy\x20Economy\x20(MPGe)':[_0x263b8b(0x2f4),_0x263b8b(0x303),_0x263b8b(0x1e6),_0x263b8b(0x27f),_0x263b8b(0x1fa),_0x263b8b(0x307),'mile/MM\x20Btu'],'New\x20Energy\x20Consumption':[_0x263b8b(0x293),_0x263b8b(0x314),'Wh/mile','kWh/km',_0x263b8b(0x3a8),'kWh/mile',_0x263b8b(0x285),_0x263b8b(0x30e),'MJ/100km','MJ/mile',_0x263b8b(0x1dc),'MM\x20Btu/km',_0x263b8b(0x324),_0x263b8b(0x1cd),_0x263b8b(0x23a)],'Baud\x20Rate':['bit/s','Bd',_0x263b8b(0x311),_0x263b8b(0x3aa),_0x263b8b(0x2b7)],'Currency':['$','¢','$1K',_0x263b8b(0x2da),_0x263b8b(0x3a4),_0x263b8b(0x288)],'Impulse\x20/\x20Momentum':['N·s',_0x263b8b(0x302),_0x263b8b(0x37f),_0x263b8b(0x368),_0x263b8b(0x1e3),_0x263b8b(0x300)],'Digital\x20Storage':[_0x263b8b(0x202),_0x263b8b(0x37b),_0x263b8b(0x22f),'megabit','mebibit',_0x263b8b(0x2d7),_0x263b8b(0x358),'terabit','tebibit',_0x263b8b(0x367),'pebibit','byte',_0x263b8b(0x2cd),_0x263b8b(0x2d5),_0x263b8b(0x232),_0x263b8b(0x1c0),_0x263b8b(0x2d4),_0x263b8b(0x26c),_0x263b8b(0x35b),'tebibyte',_0x263b8b(0x357),_0x263b8b(0x31a)],'Data\x20Transfer\x20Rate':['bit/s',_0x263b8b(0x256),_0x263b8b(0x239),_0x263b8b(0x235),_0x263b8b(0x251),_0x263b8b(0x21f),_0x263b8b(0x3a5),_0x263b8b(0x1d8),_0x263b8b(0x297),'petabit/s',_0x263b8b(0x1df)]},b={'Length':{'m':0x1,'nano[nm]':0x1/0x3b9aca00,'µm':0x1/0xf4240,'micron':0x1/0xf4240,'mm':0x1/0x3e8,'cm':0.01,'dm':0.1,'km':0x3e8,'in':l,'thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]':l/0x3e8,'ft-in':l,'ft':n,'yd':0x3*n,'mile':v*n,'NM[M,\x20nmi,\x20or\x20nautical\x20mile]':W},'Mass':{'kg':0x1,'g':0.001,'mg':0x1/0xf4240,'µg':0x1/0x3b9aca00,'oz':0x1/0x10*o,'lbm':o,'slug':T,'ton(US/short)':0x7d0*o,'ton(UK-Imperial/long)':0x8c0*o,'tonne':0x3e8},'Time':{'s[second]':0x1,'s':0x1,'minute':0x3c,'h':0xe10,'h[hour]':0xe10,'day':0xe10*0x18,'week':0xe10*0x18*0x7},'ElectricalCurrent':{'A':0x1,'Ampere[amp]':0x1,'mA':0.001,'µA':0.000001,'kA':0x3e8,'MA':0xf4240,'esu/s':0x1/0xb2d05e00},'Temperature':{'°K':{'c0':0x1,'c1':0x0},'°C':{'c0':0x1,'c1':273.15},'°F':{'c0':0x5/0x9,'c1':255.3722222},'°Ra':{'c0':0x5/0x9,'c1':0x0}},'Amount\x20of\x20Substance':{'mol':0x1,'mmol':0.001,'kmol':0x3e8},'Luminous\x20Intensity':{'cd[candela]':0x1,'lm/sr':0x1,'cp[candlepower]':0x1,'cp[candlepower(before\x201948)]':0.981},'Acceleration':{'m/s²':0x1,'m/min²':0x1/0xe10,'mm/s²':0.001,'ft/s²':n,'ft/min²':n/0xe10,'in/s²':l},'Gravitational\x20Constant':{'m³/kg/s²':0x1,'N⋅m²/kg²':0x1,'dyn⋅cm²/g²':0x3e8},'Velocity\x20(Angular)':{'rad/s':0x1,'rad/min':0x1/0x3c,'rad/h':0x1/0xe10,'deg°/s':Math['PI']/0xb4,'deg°/min':Math['PI']/0xb4/0x3c,'deg°/h':Math['PI']/0xb4/0xe10,'rpm[rev/min]':0x2*Math['PI']/0x3c,'rev/s':0x2*Math['PI']},'Acceleration\x20(Angular)':{'rad/s²':0x1,'rad/min²':0x1/0xe10,'deg°/s²':Math['PI']/0xb4,'deg°/min²':Math['PI']/0xb4/0xe10},'Illuminance':{'lux':0x1,'lumen/m²':0x1,'lm/m²':0x1,'meter-candle':0x1,'phot':0x2710,'foot-candle':0x1/Math['pow'](n,0x2),'fc':0x1/Math[_0x263b8b(0x275)](n,0x2),'lumen/ft²':0x1/Math[_0x263b8b(0x275)](n,0x2),'lm/ft²':0x1/Math[_0x263b8b(0x275)](n,0x2)},'Frequency':{'Hz':0x1,'1/s':0x1,'1/min':0x1/0x3c,'rpm':0x1/0x3c,'1/hour':0x1/0xe10,'mHz':0x1/0x3e8,'kHz':0x3e8,'MHz':0xf4240,'GHz':0x3b9aca00},'Area':{'m²':0x1,'µm²':Math[_0x263b8b(0x275)](0x1/0xf4240,0x2),'mm²':Math['pow'](0x1/0x3e8,0x2),'cm²':Math[_0x263b8b(0x275)](0x1/0x64,0x2),'km²':0xf4240,'hectare':Math['pow'](0x64,0x2),'in²':Math[_0x263b8b(0x275)](l,0x2),'ft²':Math[_0x263b8b(0x275)](n,0x2),'yd²':Math[_0x263b8b(0x275)](n*0x3,0x2),'acre':V*Math['pow'](n,0x2),'mile²':Math[_0x263b8b(0x275)](v*n,0x2)},'Volume\x20/\x20Section\x20Modulus':{'m³':0x1,'µm³':Math[_0x263b8b(0x275)](0x1/0xf4240,0x3),'mm³':Math[_0x263b8b(0x275)](0x1/0x3e8,0x3),'cm³':Math[_0x263b8b(0x275)](0x1/0x64,0x3),'L':0x1/0x3e8,'mL':0x1/0xf4240,'km³':Math[_0x263b8b(0x275)](0x3e8,0x3),'in³':Math[_0x263b8b(0x275)](l,0x3),'ft³':Math[_0x263b8b(0x275)](n,0x3),'yd³':Math[_0x263b8b(0x275)](n*0x3,0x3),'gal(UK-imperial)':d*0x1/0x3e8,'gal(US-liquid)':p*Math[_0x263b8b(0x275)](l,0x3),'gal(US-dry)':I*Math[_0x263b8b(0x275)](l,0x3),'pint(UK-imperial)':g*d*0x1/0x3e8,'pint(US-liquid)':g*p*Math['pow'](l,0x3),'pint(US-dry)':g*I*Math[_0x263b8b(0x275)](l,0x3),'fluid\x20ounce(UK-imperial)':F*g*d/0x3e8,'fluid\x20ounce(US-liquid)':G*g*p*Math['pow'](l,0x3),'bushel(UK-imperial)':_*d/0x3e8,'bushel(US-dry)':B*I*Math[_0x263b8b(0x275)](l,0x3),'cup(US-liquid)':q*p*Math[_0x263b8b(0x275)](l,0x3),'cup(Legal)':z*Math[_0x263b8b(0x275)](0.01,0x3),'cup(Metric)':K*Math[_0x263b8b(0x275)](0.01,0x3),'cup(Imperial)':Q*F*g*d/0x3e8},'Polar\x20Moment\x20of\x20Inertia':{'m⁴':0x1,'mm⁴':1e-12,'cm⁴':1e-8,'in⁴':Math[_0x263b8b(0x275)](l,0x4),'ft⁴':Math[_0x263b8b(0x275)](n,0x4)},'Moment\x20of\x20Inertia':{'kg⋅m²':0x1,'g⋅cm²':0x1/(0x3e8*0x2710),'g⋅mm²':0x1/(0x3e8*0xf4240),'lbm⋅ft²':o*Math[_0x263b8b(0x275)](n,0x2),'lbm⋅in²':o*Math[_0x263b8b(0x275)](l,0x2),'oz⋅in²':o/0x10*Math['pow'](l,0x2)},'Force':{'N':0x1,'kN':0x3e8,'MN':0xf4240,'kgf':r,'lb':o*r,'lbf':o*r,'kip[kilo\x20pound]':0x3e8*o*r},'Angle':{'radian':0x1,'rad':0x1,'deg°':Math['PI']/0xb4,'revolution':Math['PI']*0x2},'Solid\x20Angle':{'sr[steradian]':0x1,'m²/m²':0x1},'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':{'kg/m²':0x1,'g/cm²':0x1/0x3e8/Math[_0x263b8b(0x275)](0.01,0x2),'g/mm²':0x1/0x3e8/Math[_0x263b8b(0x275)](0.001,0x2),'tonne/m²':0x3e8,'lbm/yd²':o/Math[_0x263b8b(0x275)](n*0x3,0x2),'lbm/ft²':o/Math[_0x263b8b(0x275)](n,0x2),'lbm/in²':o/Math[_0x263b8b(0x275)](l,0x2),'oz/yd²':o/0x10/Math['pow'](0x3*n,0x2),'oz/ft²':o/0x10/Math[_0x263b8b(0x275)](n,0x2),'oz/in²':o/0x10/Math[_0x263b8b(0x275)](l,0x2)},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0x1/0x3e8/Math[_0x263b8b(0x275)](0.01,0x3),'g/mm³':0x1/0x3e8/Math[_0x263b8b(0x275)](0.001,0x3),'lbm/ft³':o/Math[_0x263b8b(0x275)](n,0x3),'lbm/in³':o/Math[_0x263b8b(0x275)](l,0x3)},'Energy':{'J[Joule]':0x1,'kJ':0x3e8,'MJ':0xf4240,'GJ':0x3b9aca00,'TNT\x20Equivalent[kiloton]':0x3b9aca00*f,'Btu':M,'MM\x20Btu':M*0xf4240,'calorie(IT)':w,'kilo-calorie(IT)':w*0x3e8,'calorie(TH)':f,'kilo-calorie(TH)':f*0x3e8,'HP\x20Hour':R*0xe10,'Wh':0xe10,'kWh':0xe10*0x3e8,'eV{electron-volt]':0x1/j},'Power':{'W[watt]':0x1,'kW':0x3e8,'MW':0xf4240,'GW[Gigawatt]':0x3b9aca00,'Btu/h':M/0xe10,'Btu/minute':M/0x3c,'MM\x20Btu/h':M*0xf4240/0xe10,'calorie(IT)/second':w,'calorie(IT)/minute':w/0x3c,'kilo-calorie(IT)/hour':w*0x3e8/0xe10,'calorie(TH)/second':f,'calorie(TH)/minute':f/0x3c,'kilo-calorie(TH)/hour':f*0x3e8/0xe10,'lb-ft/second':o*r*n,'lb-ft/minute':o*r*n/0x3c,'HP':R,'J/second':0x1,'J/minute':0x1/0x3c,'J/h':0x1/0xe10,'MJ/h':0xf4240/0xe10,'kJ/minute':0x3e8/0x3c},'Torque,\x20Moment\x20of\x20Force':{'Nm':0x1,'kNm':0x3e8,'lb-in':o*r*l,'kip-in':0x3e8*o*r*l,'lb-ft':o*r*n,'oz-in':o/0x10*r*l,'oz-ft':o/0x10*r*n},'Pressure/Stress':{'Pa':0x1,'kPa':0x3e8,'MPa':0xf4240,'GPa':0x3b9aca00,'bar':0x64*0x3e8,'mbar':0x64,'atm':N,'mm\x20HG':y,'cm\x20HG':y*0xa,'in\x20HG':y*25.4,'mm\x20W.C.':0x1/0x3e8*0x3e8*r,'m\x20W.C.':0x1*0x3e8*r,'in\x20W.C.':l*0x3e8*r,'psf':o*r/Math[_0x263b8b(0x275)](n,0x2),'psi':o*r/Math['pow'](l,0x2),'ksi':o*r/Math['pow'](l,0x2)*0x3e8,'ksi{kip/in²]':o*r/Math['pow'](l,0x2)*0x3e8},'Pressure\x20Drop\x20per\x20Unit\x20Length':{'Pa/m':0x1,'Pascal/m':0x1,'kPa/m':0x3e8,'MPa/km':0xf4240/0x3e8,'bar/m':0x186a0,'mbar/mm':0x64*0x3e8,'atm/m':N,'mm\x20HG/m':y,'in\x20HG/ft':y*25.4/n,'mm\x20W.C./m':0x1/0x3e8*0x3e8*r,'m\x20W.C./m':0x3e8*r,'in\x20W.C./ft':l*0x3e8*r/n,'in\x20W.C./100\x20ft':l*0x3e8*r/n/0x64,'psf/in':o*r/Math[_0x263b8b(0x275)](n,0x2)/l,'psi/ft':o*r/Math[_0x263b8b(0x275)](n,0x2)/n,'ksi/ft':o*r/Math[_0x263b8b(0x275)](n,0x2)/n*0x3e8,'Torr/ft':$*N/n,'mTorr/m':$*N/0x3e8},'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':{'N/m':0x1,'N/mm':0x3e8,'kN/m':0x3e8,'lb/ft':o*r/n,'kips/ft':0x3e8*o*r/n,'lb/in':o*r/l},'Stiffness\x20of\x20Rotary\x20Spring':{'N⋅m/rad':0x1,'N⋅m/deg°':0x1/Math['PI']*0xb4,'N⋅mm/rad':0x1/0x3e8,'N⋅mm/deg°':0x1/0x3e8/Math['PI']*0xb4,'lb-ft/rad':o*r*n,'lb-ft/deg°':o*r*n/(Math['PI']/0xb4),'lb-in/rad':o*r*l,'lb-in/deg°':o*r*l/(Math['PI']/0xb4)},'Flow\x20Rate\x20(Volume)':{'m³/s':0x1,'m³/min':0x1/0x3c,'m³/h':0x1/0xe10,'L/s':0x1/0x3e8,'L/min':0x1/0x3e8/0x3c,'L/h':0x1/0x3e8/0xe10,'cm³/s':0.000001,'cm³/min':0.000001/0x3c,'in³/s':Math[_0x263b8b(0x275)](l,0x3),'in³/min':Math[_0x263b8b(0x275)](l,0x3)/0x3c,'ft³/s':Math[_0x263b8b(0x275)](n,0x3),'CFM':Math[_0x263b8b(0x275)](n,0x3)/0x3c,'CFM[ft³/min]':Math['pow'](n,0x3)/0x3c,'CFH':Math[_0x263b8b(0x275)](n,0x3)/0xe10,'CFH[ft³/h]':Math['pow'](n,0x3)/0xe10,'yd³/min':Math['pow'](n*0x3,0x3)/0x3c,'yd³/h':Math[_0x263b8b(0x275)](n*0x3,0x3)/0xe10,'gpm(US)':p*Math[_0x263b8b(0x275)](l,0x3)/0x3c,'gph(US)':p*Math[_0x263b8b(0x275)](l,0x3)/0xe10,'bushel(UK-imperial)/h':_*d/0x3e8/0xe10,'bushel(US)/h':B*I*Math['pow'](l,0x3)/0xe10},'Flow\x20Rate\x20(Mass)':{'kg/s':0x1,'kg/min':0x1/0x3c,'kg/h':0x1/0xe10,'g/s':0x1/0x3e8,'g/min':0x1/0x3e8/0x3c,'g/h':0x1/0x3e8/0xe10,'slug/s':T,'slug/min':T/0x3c,'slug/h':T/0xe10,'lbm/s':o,'lbm/min':o/0x3c,'lbm/h':o/0xe10,'oz/s':o/0x10,'oz/min':o/0x10/0x3c,'oz/h':o/0x10/0xe10,'tonne/h':0x3e8/0xe10,'short\x20ton/h':0x7d0*o/0xe10,'long\x20ton/h':0x8c0*o/0xe10},'Speed\x20/\x20Velocity\x20(Linear)':{'m/s':0x1,'mm/s':0x1/0x3e8,'km/s':0x1,'mm/min':0x1/0x3e8/0x3c,'m/min':0x1/0x3c,'km/min':0x3e8/0x3c,'mm/h':0x1/0x3e8/0xe10,'m/h':0x1/0xe10,'km/h':0x3e8/0xe10,'in/s':l,'fps':n,'fps[ft/second]':n,'fpm':n/0x3c,'fpm[ft/minute]':n/0x3c,'mph[mile/h]':v*n/0xe10,'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]':W/0xe10},'Electrical\x20Potential\x20Difference\x20(Voltage)':{'V':0x1,'Volt':0x1,'joule/coulomb':0x1,'J/C':0x1,'µV':0x1/0xf4240,'mV':0x1/0x3e8,'kV':0x3e8,'MV':0xf4240}},k=_0x1578fc=>{const _0x30c3c8=_0x263b8b;if(console['log']('getUnitCategory\x20called\x20with\x20unit:',_0x1578fc),!_0x1578fc)return console[_0x30c3c8(0x22a)](_0x30c3c8(0x2b1)),'Custom';for(const _0x42b297 in U)if(U[_0x42b297][_0x30c3c8(0x2a9)](_0x1578fc))return console[_0x30c3c8(0x214)](_0x30c3c8(0x34b)+_0x1578fc+':',_0x42b297),_0x42b297;return console[_0x30c3c8(0x22a)](_0x30c3c8(0x35d)+_0x1578fc),_0x30c3c8(0x346);},u=(_0x5b2777,_0x49d57e,_0xf389dc,_0x35fcc7)=>{const _0x4a4481=_0x263b8b;if(_0x49d57e===_0x4a4481(0x365)&&_0xf389dc!==_0x4a4481(0x365))return Y(_0x5b2777,_0xf389dc);if(_0x49d57e!==_0x4a4481(0x365)&&_0xf389dc==='ft-in')return X(_0x5b2777,_0x49d57e);if(_0x35fcc7!=='Temperature'){const _0x5dfa80=b[_0x35fcc7][_0x49d57e]/b[_0x35fcc7][_0xf389dc];return _0x5b2777*_0x5dfa80;}else{const _0x14c4ee=b[_0x35fcc7][_0x49d57e]['c0'],_0x274f76=b[_0x35fcc7][_0x49d57e]['c1'],_0x3effbd=b[_0x35fcc7][_0xf389dc]['c0'],_0x2eee5e=b[_0x35fcc7][_0xf389dc]['c1'];return(_0x5b2777*_0x14c4ee+_0x274f76-_0x2eee5e)/_0x3effbd;}},O=(_0x132be9,_0x1719ed)=>{const _0x53942b=_0x263b8b;let _0x231eb8;if(Number[_0x53942b(0x282)](_0x132be9)?_0x231eb8=_0x132be9['toString']():_0x231eb8=_0x132be9['toFixed'](_0x1719ed)[_0x53942b(0x3a0)](/\.?0+$/,''),Math[_0x53942b(0x281)](parseFloat(_0x231eb8))>=0x3e8){const _0x18d45f=_0x231eb8[_0x53942b(0x26f)]('.');_0x18d45f[0x0]=_0x18d45f[0x0]['replace'](/\B(?=(\d{3})+(?!\d))/g,','),_0x231eb8=_0x18d45f[_0x53942b(0x323)]('.');}return _0x231eb8;},D=_0x441cc4=>{const _0xfc5d4c=_0x263b8b,_0x5ce41f=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,_0x2a0d00=/(\d+)\'/,_0x7d6215=/(\d+)/;let _0x2edae6=_0x441cc4[_0xfc5d4c(0x2d0)](_0x5ce41f);if(_0x2edae6){const _0x2130e7=parseInt(_0x2edae6[0x1])||0x0,_0x556498=parseInt(_0x2edae6[0x3])||0x0,_0xe2f2c1=parseInt(_0x2edae6[0x5])||0x0,_0x5005b9=parseInt(_0x2edae6[0x6])||0x1;return H(_0x2130e7,_0x556498,_0xe2f2c1,_0x5005b9);}if(_0x2edae6=_0x441cc4[_0xfc5d4c(0x2d0)](_0x2a0d00),_0x2edae6){const _0x1473dd=parseInt(_0x2edae6[0x1])||0x0;return H(_0x1473dd,0x0,0x0,0x1);}if(_0x2edae6=_0x441cc4[_0xfc5d4c(0x2d0)](_0x7d6215),_0x2edae6){const _0x1820d4=parseInt(_0x2edae6[0x1])||0x0;return H(0x0,_0x1820d4,0x0,0x1);}return parseFloat(_0x441cc4);},H=(_0x3076d2,_0x2cf8a7,_0x34b840,_0x1d5c5f)=>_0x3076d2*0xc+_0x2cf8a7+_0x34b840/_0x1d5c5f,C=(_0x33eab4,_0x328fa8=_0x263b8b(0x3b8))=>{const _0x36a4e1=_0x263b8b;if(_0x33eab4<0x0)return'-'+C(-_0x33eab4,_0x328fa8);const _0x21f8e6=parseInt(_0x328fa8[_0x36a4e1(0x26f)]('/')[0x1][_0x36a4e1(0x3a0)]('\x22',''));let _0x8a8977=Math[_0x36a4e1(0x329)](_0x33eab4/0xc),_0x197020=Math[_0x36a4e1(0x329)](_0x33eab4%0xc);const _0x11ccdf=_0x33eab4-Math[_0x36a4e1(0x329)](_0x33eab4);let _0x15947e='';if(_0x11ccdf>0x0&&_0x328fa8!==0x0){let _0x5799f3=Math['round'](_0x11ccdf*_0x21f8e6);const _0x535bb0=(_0x202a6b,_0x3ecba6)=>_0x3ecba6?_0x535bb0(_0x3ecba6,_0x202a6b%_0x3ecba6):_0x202a6b,_0x29a308=_0x535bb0(_0x5799f3,_0x21f8e6);_0x15947e='\x20'+_0x5799f3/_0x29a308+'/'+_0x21f8e6/_0x29a308,_0x15947e[_0x36a4e1(0x1f6)]()==='1/1'&&(_0x197020++,_0x197020>=0xc&&(_0x8a8977++,_0x197020-=0xc),_0x15947e='');}let _0x212259='';return _0x8a8977>0x0&&(_0x212259+=_0x8a8977+'\x27'),_0x8a8977>0x0&&(_0x197020>0x0||_0x15947e!=='')&&(_0x212259+='-'),_0x197020>0x0&&(_0x212259+=''+_0x197020),_0x15947e!==''&&(_0x212259+=_0x15947e),(_0x197020>0x0||_0x15947e!=='')&&(_0x212259+='\x22'),_0x212259['trim']();},Y=(_0x36a8c3,_0x24a74e)=>{const _0x1bc328=_0x263b8b,_0x4e31fc=_0x36a8c3*0.0254;return u(_0x4e31fc,'m',_0x24a74e,_0x1bc328(0x360));},X=(_0x4b73e6,_0x477929)=>u(_0x4b73e6,_0x477929,'m',_0x263b8b(0x360))/0.0254;function _0x2c2a(){const _0x4f7d6b=['formatPairValue','mouseout','GJ/kg','new-component-1','createElement','position','in\x20HG','J/L','Torr/ft','gal(UK-imperial)/mile','e[electron]','MHz','atm','lb-ft','parseValue','Wh/m³','mebibit/s','mile/gal(UK-imperial)','comma','innerHTML','km³','kilobit/s','MM\x20Btu/ft³','define','H[henry]','tonne/m²','oz/in²','cm³/min','CFH[ft³/h]','attributeChangedCallback\x20called:\x20','L/mile','decimal-places','removeEventListeners','show-unit-arrow','110lDLwft','kSv','150nsHphg','yd²','updateUnitCategory','rad/h','MJ/h','Btu/minute','m³/rad','gibibyte','selected','g/mm³','split','mph[mile/h]','rad/min²','ampere-hour','bar','m\x20W.C./m','pow',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20Custom\x20arrow\x20styles\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container::after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27▼\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.7em;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20right:\x200.3em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateX(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2012px;\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container:hover\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20underline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22value\x22>','<option\x20value=\x22','lbm/yd²',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20','kPa','.tooltip','Pascal/m','BTU/(h⋅in⋅°F)','m²/s','MPGe','km/s','abs','isInteger','L/min','uc-qty-triplet','kWh/100mile','Btu/lbm','click','$1T','tagName','visibility','lb/in','J/h','kilo-calorie(TH)/hour','fluid\x20ounce(UK-imperial)','shadowRoot','mbar','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22increment\x22>+</button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','lb-ft/deg°','J/m','g⋅cm²','kPa/m','11oUojbq','tebibit/s','9WsmeFy','W[watt]','kips/ft','MJ/m³','updateDropdownWidth','CFM[ft³/min]','short\x20ton/h','oz/yd²','kip[kilo\x20pound]','ft²','cal(IT)/g','cm²/min','</span>\x20x\x20','tonne','mouseover','mile','W/(cm⋅°K)','includes','PI[Pa·s]','m/s²','rad/min','select','Mkat','attachShadow','</span>\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','Unit\x20is\x20undefined\x20or\x20null','https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/shared%2Fassets%2Fimages%2Fe3d-logo2.png?alt=media&token=7064f466-6168-4b8a-b921-4e86115cb492','lb-ft/rad','bind','values','kg/m/s','GBd','lb-ft/second','mol/s','cup(Metric)','handleUnitContainerMouseOver','HP\x20Hour','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.value\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','MM\x20Btu','lb-in/rad','handleUnitContainerMouseOut','render','thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]','change','TNT\x20Equivalent[kiloton]','PhysicalQuantity\x20constructor\x20called','get','observedAttributes','ft²/s','yd³/min','removeEventListener','Sv[sievert]','7zvkzoX','kilobyte','mm²','whiteSpace','match','Rd[rutherford]','cd[candela]','m³/m','gigabyte','kibibyte','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','gigabit','handleUnitChange','in\x20W.C./100\x20ft','$1M','µWb','kcal(IT)/kg','m³/s','13431030dcwtwr','in³/s','fluid\x20ounce(US-liquid)','cm⁴','block','pint(US-dry)','kWh','Converted\x20value:','handleUnitChange:','mpg(UK)','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity-pair\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.values\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','Wh/kg','J/(g·°C)','display','SELECT','appendChild','textContent','cm²/hr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20','1/s','gal(US-liquid)','N⋅m/rad','m/J','ft²/min','oz/min','oz/h','s[second]','mbar/mm','NM[M,\x20nmi,\x20or\x20nautical\x20mile]','m\x20W.C.','lbm⋅ft²','W/(m⋅°K)','revolution','uc-qty-pair','lbm·fpm','mGy','Newton-second','km/kWh','µBq','bushel(UK-imperial)','updateCount','mile/kWh','fps[ft/second]','tonne/h','N/m','Bq[becquerel]','m²/m²','J/C','MJ/km','3131730lELcVs','max','kBd','Show\x20unit\x20arrow:','kg/m³','Wh/km','lbm/s','in³/min','gal(US-liquid)/rev','N⋅m/deg°','style','pebibyte',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/*\x20height:\x201.1em;\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select::-ms-expand\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20','psi/ft','long\x20ton/h','inputValue','km/min','>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MM\x20Btu/h','Ampere[amp]','join','MM\x20Btu/100km','open','L/rev','lbm/ft²','mm\x20HG','floor',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22quantity-triplet\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','rpm','J/(kg·°K)','ksi[kip/in²]','lbm⋅in²','Btu/gal(US)','e3dLogoUrl','rev/s','kJ/L','mm/min','Initial\x20inputValue:','1/hour','mile/gal(US-liquid)','Empty\x20string\x20value,\x20returning\x200','h[hour]','St[cm²/s]','mSv','acre','J/kg','kg/h','addEventListener','oz-in','slug/h','mHz','MPa/km','calorie(IT)/second','kg/min','fpm','Custom','getComputedStyle','yd³','kilo-calorie(IT)/hour','mm²/hr','Category\x20found\x20for\x20unit\x20','mWb','g/mm²','MBq','hectare','span','kBq','Wb[weber]','T[tesla]','g/h','parseValue\x20called\x20with:','count','petabyte','gibibit','psf/in','decimalPlaces','terabyte','oz/ft²','No\x20category\x20found\x20for\x20unit:\x20','mpg(US)','Stoke','Length','New\x20decimal\x20places:','7843278ScZzlV','ft⁴','deg°/s²','ft-in','gal(US-liquid)/100mile','petabit','kg·m/s','L/100mile','removeChild','body','mm\x20W.C.','kJ/m³','Wb/m²','kilo-calorie(TH)','km²','cup(Legal)','lbf','in\x20W.C.','kN/m','cal(TH)/L','mBq','Initial\x20unit:','Wh/g','nWb','string','kilobit','gph(US)','N⋅mm/rad','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22values\x22>','lb·s','\x20<span\x20class=\x22unit-text\x22>','hidden','auto','showUnitArrow','BTU/(h⋅ft⋅°F)','week','45388JqJMMX','in²/hr','deg°/min','N⋅m²/kg²','N/mm','g/cm²','oz/s','endsWith','tooltipTimeout','mmol','m³/kg/s²','deg°/min²',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity-pair\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22values\x22>(','slug/s','in²','micron','calorie(TH)/minute','</option>','lb·s/ft²','°Ra','m/min','MSv','gal(UK-imperial)/100mile','m³/rev','CFM','N⋅mm/deg°','replace','bushel(US-dry)','kNm','lbm/in³','$1B','gibibit/s','lb/ft','deg°/s','kWh/100km','.unit-container','MBd','fps','gal(US-liquid)/mile','ksi','oz⋅in²','none','P[Poise]','absolute','unitCategory','rad','Btu','J/minute','minute','value','1/16\x22','bushel(US)/h','lbm/min','Initial\x20state:','kip-in','in\x20W.C./ft','mebibyte','updateUnitCategory\x20called\x20with\x20unit:','atm/m','GPa','µm³','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x0a\x20\x20\x20\x20','C[coulomb]','in/s','gal(US-dry)','true','map','GW[Gigawatt]','in⁴','MM\x20Btu/mile','kcal(TH)/m³','gpm(US)','4814968WiwTNP','ft/s²','S[siemens]','lb-ft/minute','calorie(TH)','kg/s','startsWith','nowrap','terabit/s','cd⋅sr','in²/min','Unit\x20category\x20changed,\x20keeping\x20original\x20value','MJ/100mile','attachEventListeners','in³','pebibit/s','parseTripletValues','Btu/ft³','lm/ft²','lbm·fps','mm/s²','Pa/m','km/MJ','µm²','slice','esu/s','mol','Btu/ton(short)','rad/s²','hasAttribute','cp[candlepower(before\x201948)]','mm/h','attributeChangedCallback','width','font','ton(UK-Imperial/long)','cup(US-liquid)','lbm/in²','trim','cc/rev','kcal(IT)/m³','25339632IOnzel','mile/MJ','in\x20HG/ft','kWh/kg','deg°/h','gal(UK-imperial)','lumen/ft²','m³/h','kkat','bit','formatTriplet',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20','m/h','8437yKEAkl','m³/min','ton(US/short)','dyn⋅cm²/g²','.decrement','offsetWidth','format','ft²/hr','unit','Ci[curie]','knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]','kHz','formatTripletValue','mile²','log','mm/s','uc-qty','day','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity-triplet\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.values\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-text,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','hasParentheses','.count','cWb','1/°Ra','Wh/L','L/s','gigabit/s','target','querySelector','GHz','\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</span>\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20','mm³','\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','cm²','HP\x20Hour/ft³','cup(Imperial)','in²/s','warn','calorie(IT)/minute','joule/coulomb','meter-candle','1/min','kibibit','space','kgf','megabyte','g/cm³','connectedCallback','megabit/s','ft³/rev','mm\x20W.C./m','MM\x20Btu/lbm','kibibit/s','MM\x20Btu/100mile','foot-candle','HP\x20Hour/lbm','mm²/min','dWb','getAttribute','decrement'];_0x2c2a=function(){return _0x4f7d6b;};return _0x2c2a();}class J extends HTMLElement{constructor(){const _0xcffd73=_0x263b8b;super(),this[_0xcffd73(0x2af)]({'mode':'open'}),this[_0xcffd73(0x38e)]=null,this[_0xcffd73(0x3b2)]='',this[_0xcffd73(0x330)]=_0xcffd73(0x2b2),this[_0xcffd73(0x20e)]='',this[_0xcffd73(0x3b7)]=0x0,console['log'](_0xcffd73(0x2c5));}[_0x263b8b(0x234)](){const _0x455ed6=_0x263b8b;console[_0x455ed6(0x214)]('connectedCallback\x20called'),this['unit']=this['getAttribute'](_0x455ed6(0x20e))||'mm',console['log'](_0x455ed6(0x377),this['unit']),this[_0x455ed6(0x267)](),this[_0x455ed6(0x31e)]=this[_0x455ed6(0x23f)]('value')||'0',console[_0x455ed6(0x214)](_0x455ed6(0x334),this[_0x455ed6(0x31e)]),this[_0x455ed6(0x3b7)]=this[_0x455ed6(0x24f)](this[_0x455ed6(0x31e)],this[_0x455ed6(0x20e)]),console[_0x455ed6(0x214)]('Parsed\x20value:',this['value']),this[_0x455ed6(0x35a)]=parseInt(this['getAttribute'](_0x455ed6(0x260)))||0x2,this[_0x455ed6(0x383)]=!this['hasAttribute'](_0x455ed6(0x262))||this[_0x455ed6(0x23f)]('show-unit-arrow')===_0x455ed6(0x1c9),console[_0x455ed6(0x214)](_0x455ed6(0x1bd),{'unit':this[_0x455ed6(0x20e)],'value':this[_0x455ed6(0x3b7)],'unitCategory':this['unitCategory'],'decimalPlaces':this[_0x455ed6(0x35a)],'showUnitArrow':this['showUnitArrow']}),this['render'](),this[_0x455ed6(0x1dd)]();}['disconnectedCallback'](){const _0x14eeb4=_0x263b8b;this[_0x14eeb4(0x261)]();}static get['observedAttributes'](){const _0x2a37a3=_0x263b8b;return[_0x2a37a3(0x3b7),'unit',_0x2a37a3(0x260),_0x2a37a3(0x262)];}['attributeChangedCallback'](_0x390623,_0x35c7e1,_0x3f4a5d){const _0x6d9cde=_0x263b8b;if(console['log'](_0x6d9cde(0x25e)+_0x390623,{'oldValue':_0x35c7e1,'newValue':_0x3f4a5d}),_0x390623===_0x6d9cde(0x3b7))this[_0x6d9cde(0x31e)]=_0x3f4a5d||'0',this[_0x6d9cde(0x3b7)]=this[_0x6d9cde(0x24f)](this[_0x6d9cde(0x31e)],this[_0x6d9cde(0x20e)]),console[_0x6d9cde(0x214)]('New\x20value\x20parsed:',this[_0x6d9cde(0x3b7)]);else{if(_0x390623===_0x6d9cde(0x20e)){const _0x393eef=this['unit'],_0x3d6703=this[_0x6d9cde(0x3b2)];this[_0x6d9cde(0x20e)]=_0x3f4a5d||'mm',this['updateUnitCategory'](),_0x393eef!==this['unit']&&(_0x3d6703===this['unitCategory']?(console[_0x6d9cde(0x214)]('Converting\x20value:',{'from':_0x393eef,'to':this['unit'],'value':this['value'],'unitCategory':this['unitCategory']}),this[_0x6d9cde(0x3b7)]=u({'value':this[_0x6d9cde(0x3b7)],'fromUnit':_0x393eef,'toUnit':this[_0x6d9cde(0x20e)],'unitCategory':this['unitCategory']})):console[_0x6d9cde(0x214)](_0x6d9cde(0x1db)),console[_0x6d9cde(0x214)]('New\x20value:',this[_0x6d9cde(0x3b7)]));}else _0x390623===_0x6d9cde(0x260)?(this[_0x6d9cde(0x35a)]=parseInt(_0x3f4a5d)||0x2,console[_0x6d9cde(0x214)](_0x6d9cde(0x361),this[_0x6d9cde(0x35a)])):_0x390623===_0x6d9cde(0x262)&&(this['showUnitArrow']=_0x3f4a5d===null||_0x3f4a5d===_0x6d9cde(0x1c9),console[_0x6d9cde(0x214)](_0x6d9cde(0x312),this[_0x6d9cde(0x383)]));}this['render']();}[_0x263b8b(0x267)](){const _0x583b30=_0x263b8b;console[_0x583b30(0x214)](_0x583b30(0x1c1),this[_0x583b30(0x20e)]),this[_0x583b30(0x3b2)]=k(this[_0x583b30(0x20e)]),console[_0x583b30(0x214)]('Updated\x20unit\x20category:',this[_0x583b30(0x3b2)]);}[_0x263b8b(0x24f)](_0x23a36,_0x264a0e){const _0x5df9c5=_0x263b8b;if(console[_0x5df9c5(0x214)](_0x5df9c5(0x355),{'value':_0x23a36,'unit':_0x264a0e}),typeof _0x23a36==_0x5df9c5(0x37a)&&_0x23a36[_0x5df9c5(0x1f6)]()==='')return console['log'](_0x5df9c5(0x337)),0x0;const _0x56aa58=_0x264a0e===_0x5df9c5(0x365)?D(_0x23a36):parseFloat(_0x23a36)||0x0;return console['log']('Parsed\x20value:',_0x56aa58),_0x56aa58;}['formatDisplayValue'](){const _0x4f6a1d=_0x263b8b;return this['unit']===_0x4f6a1d(0x365)?C(this[_0x4f6a1d(0x3b7)]):O(this[_0x4f6a1d(0x3b7)],this[_0x4f6a1d(0x35a)]);}['handleUnitChange'](_0x16f533){const _0xa6fc6f=_0x263b8b;if(_0x16f533[_0xa6fc6f(0x220)]['tagName']==='SELECT'){const _0x461c52=_0x16f533[_0xa6fc6f(0x220)][_0xa6fc6f(0x3b7)];console[_0xa6fc6f(0x214)](_0xa6fc6f(0x2e6),{'from':this[_0xa6fc6f(0x20e)],'to':_0x461c52,'value':this['value'],'unitCategory':this[_0xa6fc6f(0x3b2)]}),this[_0xa6fc6f(0x3b7)]=u(this[_0xa6fc6f(0x3b7)],this['unit'],_0x461c52,this[_0xa6fc6f(0x3b2)]),console[_0xa6fc6f(0x214)](_0xa6fc6f(0x2e5),this[_0xa6fc6f(0x3b7)]),this[_0xa6fc6f(0x20e)]=_0x461c52,this['updateUnitCategory'](),this[_0xa6fc6f(0x2c1)]();}this[_0xa6fc6f(0x29c)]();}[_0x263b8b(0x2c1)](){const _0x122b0c=_0x263b8b,_0x54fbdc=this['formatDisplayValue']();this[_0x122b0c(0x28f)]['innerHTML']=_0x122b0c(0x2bd)+(this['showUnitArrow']?'auto':_0x122b0c(0x3af))+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20'+(this[_0x122b0c(0x383)]?_0x122b0c(0x382):_0x122b0c(0x3af))+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20'+(this[_0x122b0c(0x383)]?_0x122b0c(0x382):_0x122b0c(0x3af))+_0x122b0c(0x31b)+(this[_0x122b0c(0x383)]?'block':'none')+_0x122b0c(0x276)+_0x54fbdc+'</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(U[this[_0x122b0c(0x3b2)]]||[this[_0x122b0c(0x20e)]])[_0x122b0c(0x1ca)](_0x13ad68=>_0x122b0c(0x277)+_0x13ad68+'\x22\x20'+(_0x13ad68===this[_0x122b0c(0x20e)]?_0x122b0c(0x26d):'')+_0x122b0c(0x320)+_0x13ad68+_0x122b0c(0x397))[_0x122b0c(0x323)]('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(this['showUnitArrow']&&this['unitCategory']!==_0x122b0c(0x346)?'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22tooltip\x22\x20href=\x22https://v2-docs.donwen.com/daily-calculations/unit-converter.html\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22Unit\x20Converter\x20for\x20All\x20Categories\x22\x20target=\x22_blank\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22'+this[_0x122b0c(0x330)]+'\x22\x20width=\x2212\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20':'')+_0x122b0c(0x1c5),this[_0x122b0c(0x29c)]();}[_0x263b8b(0x29c)](){const _0x4224af=_0x263b8b,_0x718e58=this[_0x4224af(0x28f)][_0x4224af(0x221)](_0x4224af(0x2ad));if(!_0x718e58)return;const _0x3d59e3=document['createElement'](_0x4224af(0x350));_0x3d59e3[_0x4224af(0x319)]['visibility']='hidden',_0x3d59e3[_0x4224af(0x319)][_0x4224af(0x246)]=_0x4224af(0x3b1),_0x3d59e3[_0x4224af(0x319)][_0x4224af(0x2cf)]='nowrap',_0x3d59e3[_0x4224af(0x319)][_0x4224af(0x1f2)]=window[_0x4224af(0x347)](_0x718e58)[_0x4224af(0x1f2)],document[_0x4224af(0x36b)][_0x4224af(0x2ed)](_0x3d59e3),_0x3d59e3['textContent']=this['unit'];const _0x3883ba=_0x3d59e3[_0x4224af(0x20b)];document[_0x4224af(0x36b)][_0x4224af(0x36a)](_0x3d59e3);const _0x23f357=this[_0x4224af(0x383)]?0x10:0x6,_0x4bf35b=this[_0x4224af(0x383)]?0x8:0x0;let _0x48ed2a=_0x3883ba+_0x23f357+_0x4bf35b+0x2;_0x48ed2a=Math[_0x4224af(0x310)](_0x48ed2a,0x1e),_0x718e58[_0x4224af(0x319)]['width']=_0x48ed2a+'px';}[_0x263b8b(0x1dd)](){const _0x73c47f=_0x263b8b;this[_0x73c47f(0x28f)][_0x73c47f(0x33e)](_0x73c47f(0x2c3),this['handleUnitChange'][_0x73c47f(0x2b4)](this));const _0x41c2b4=this[_0x73c47f(0x28f)]['querySelector']('.unit-container');_0x41c2b4&&(_0x41c2b4[_0x73c47f(0x33e)]('mouseover',this[_0x73c47f(0x2bb)]['bind'](this)),_0x41c2b4[_0x73c47f(0x33e)](_0x73c47f(0x242),this[_0x73c47f(0x2c0)][_0x73c47f(0x2b4)](this)));}[_0x263b8b(0x261)](){const _0x28bf77=_0x263b8b;this[_0x28bf77(0x28f)][_0x28bf77(0x2ca)](_0x28bf77(0x2c3),this[_0x28bf77(0x2d8)][_0x28bf77(0x2b4)](this));const _0x35a3af=this['shadowRoot'][_0x28bf77(0x221)](_0x28bf77(0x3a9));_0x35a3af&&(_0x35a3af['removeEventListener'](_0x28bf77(0x2a6),this[_0x28bf77(0x2bb)][_0x28bf77(0x2b4)](this)),_0x35a3af[_0x28bf77(0x2ca)](_0x28bf77(0x242),this[_0x28bf77(0x2c0)][_0x28bf77(0x2b4)](this)));}['handleUnitContainerMouseOver'](){const _0x16a24a=_0x263b8b,_0x217d28=this[_0x16a24a(0x28f)][_0x16a24a(0x221)](_0x16a24a(0x27b));_0x217d28&&(this['tooltipTimeout']=setTimeout(()=>{const _0x4fd738=_0x16a24a;_0x217d28['style'][_0x4fd738(0x2eb)]=_0x4fd738(0x2e2);},0x3e8));}['handleUnitContainerMouseOut'](){const _0x31bbfb=_0x263b8b,_0x9b9f4d=this['shadowRoot'][_0x31bbfb(0x221)](_0x31bbfb(0x27b));_0x9b9f4d&&(setTimeout(()=>{const _0x254468=_0x31bbfb;_0x9b9f4d[_0x254468(0x319)][_0x254468(0x2eb)]='none';},0x7d0),clearTimeout(this[_0x31bbfb(0x38e)]));}}function _0x4ebc(_0x331730,_0x28ae81){const _0x2c2a29=_0x2c2a();return _0x4ebc=function(_0x4ebcaf,_0x4f5557){_0x4ebcaf=_0x4ebcaf-0x1bc;let _0x54da6d=_0x2c2a29[_0x4ebcaf];return _0x54da6d;},_0x4ebc(_0x331730,_0x28ae81);}class Z extends HTMLElement{constructor(){const _0x2df503=_0x263b8b;super(),this['attachShadow']({'mode':_0x2df503(0x325)}),this[_0x2df503(0x2b5)]=[],this[_0x2df503(0x20e)]='',this[_0x2df503(0x3b2)]='',this[_0x2df503(0x35a)]=0x2,this[_0x2df503(0x383)]=!0x0;}[_0x263b8b(0x234)](){const _0x82a9f1=_0x263b8b;this[_0x82a9f1(0x20e)]=this[_0x82a9f1(0x23f)]('unit')||'cm',this['values']=this['getAttribute'](_0x82a9f1(0x2b5))[_0x82a9f1(0x26f)](',')[_0x82a9f1(0x1ca)](Number)[_0x82a9f1(0x1ca)](_0x48701a=>this['parseValue'](_0x48701a,this[_0x82a9f1(0x20e)])),this[_0x82a9f1(0x3b2)]=k(this[_0x82a9f1(0x20e)]),this[_0x82a9f1(0x35a)]=parseInt(this[_0x82a9f1(0x23f)](_0x82a9f1(0x260)))||0x2,this[_0x82a9f1(0x383)]=!this['hasAttribute'](_0x82a9f1(0x262))||this['getAttribute'](_0x82a9f1(0x262))===_0x82a9f1(0x1c9),this[_0x82a9f1(0x2c1)](),this[_0x82a9f1(0x1dd)]();}static get[_0x263b8b(0x2c7)](){const _0x70fb6b=_0x263b8b;return[_0x70fb6b(0x2b5),'unit',_0x70fb6b(0x260),_0x70fb6b(0x262)];}[_0x263b8b(0x1f0)](_0x1b3f09,_0x35cc0c,_0x1705f9){const _0x29216b=_0x263b8b;if(_0x1b3f09===_0x29216b(0x2b5))this[_0x29216b(0x2b5)]=_0x1705f9['split'](',')[_0x29216b(0x1ca)](Number)[_0x29216b(0x1ca)](_0x4698b1=>this[_0x29216b(0x24f)](_0x4698b1,this[_0x29216b(0x20e)]));else{if(_0x1b3f09===_0x29216b(0x20e)){const _0x569941=this[_0x29216b(0x20e)];this[_0x29216b(0x20e)]=_0x1705f9,this['unitCategory']=k(_0x1705f9),_0x569941!==_0x1705f9&&(this[_0x29216b(0x2b5)]=this[_0x29216b(0x2b5)][_0x29216b(0x1ca)](_0x16a6ea=>u(_0x16a6ea,_0x569941,_0x1705f9,this[_0x29216b(0x3b2)])));}else _0x1b3f09===_0x29216b(0x260)?this['decimalPlaces']=parseInt(_0x1705f9)||0x2:_0x1b3f09==='show-unit-arrow'&&(this['showUnitArrow']=_0x1705f9===null||_0x1705f9==='true');}this[_0x29216b(0x2c1)]();}[_0x263b8b(0x2c1)](){const _0x285e8f=_0x263b8b,_0x43ce22=this['values']['map'](_0x98f8ee=>this[_0x285e8f(0x241)](_0x98f8ee));this[_0x285e8f(0x28f)][_0x285e8f(0x254)]=_0x285e8f(0x2e8)+(this[_0x285e8f(0x383)]?_0x285e8f(0x382):_0x285e8f(0x3af))+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20'+(this[_0x285e8f(0x383)]?'auto':_0x285e8f(0x3af))+_0x285e8f(0x279)+(this[_0x285e8f(0x383)]?_0x285e8f(0x382):_0x285e8f(0x3af))+_0x285e8f(0x392)+_0x43ce22['join'](',\x20')+')</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(U[this[_0x285e8f(0x3b2)]]||[this[_0x285e8f(0x20e)]])[_0x285e8f(0x1ca)](_0x870052=>'<option\x20value=\x22'+_0x870052+'\x22\x20'+(_0x870052===this[_0x285e8f(0x20e)]?_0x285e8f(0x26d):'')+_0x285e8f(0x320)+_0x870052+_0x285e8f(0x397))['join']('')+_0x285e8f(0x2f0),this[_0x285e8f(0x29c)]();}[_0x263b8b(0x29c)](){const _0x1602f0=_0x263b8b,_0x347319=this[_0x1602f0(0x28f)][_0x1602f0(0x221)](_0x1602f0(0x2ad));if(!_0x347319)return;const _0x39100d=document[_0x1602f0(0x245)](_0x1602f0(0x350));_0x39100d[_0x1602f0(0x319)][_0x1602f0(0x28a)]=_0x1602f0(0x381),_0x39100d[_0x1602f0(0x319)]['position']=_0x1602f0(0x3b1),_0x39100d[_0x1602f0(0x319)][_0x1602f0(0x2cf)]=_0x1602f0(0x1d7),_0x39100d[_0x1602f0(0x319)][_0x1602f0(0x1f2)]=window[_0x1602f0(0x347)](_0x347319)[_0x1602f0(0x1f2)],document['body'][_0x1602f0(0x2ed)](_0x39100d),_0x39100d[_0x1602f0(0x2ee)]=this['unit'];const _0xd5ab75=_0x39100d[_0x1602f0(0x20b)];document[_0x1602f0(0x36b)][_0x1602f0(0x36a)](_0x39100d);const _0x238686=this['showUnitArrow']?0x10:0x6,_0x38f9ea=this[_0x1602f0(0x383)]?0x8:0x0;let _0x204838=_0xd5ab75+_0x238686+_0x38f9ea+0x2;_0x204838=Math[_0x1602f0(0x310)](_0x204838,0x1e),_0x347319[_0x1602f0(0x319)]['width']=_0x204838+'px';}[_0x263b8b(0x1dd)](){const _0x9bf273=_0x263b8b;this['shadowRoot'][_0x9bf273(0x33e)](_0x9bf273(0x2c3),this['handleUnitChange'][_0x9bf273(0x2b4)](this));}['parseValue'](_0x5f40e8,_0x75e277){const _0x4c5ca0=_0x263b8b;return _0x75e277===_0x4c5ca0(0x365)?D(_0x5f40e8):parseFloat(_0x5f40e8);}['formatPairValue'](_0x225282){const _0x404938=_0x263b8b;return this[_0x404938(0x20e)]===_0x404938(0x365)?C(_0x225282):O(_0x225282,this[_0x404938(0x35a)]);}[_0x263b8b(0x2d8)](_0x1e00ad){const _0x1f7885=_0x263b8b;if(_0x1e00ad[_0x1f7885(0x220)][_0x1f7885(0x289)]===_0x1f7885(0x2ec)){const _0x50f4fc=_0x1e00ad[_0x1f7885(0x220)][_0x1f7885(0x3b7)];this[_0x1f7885(0x2b5)]=this[_0x1f7885(0x2b5)][_0x1f7885(0x1ca)](_0x563ccd=>u(_0x563ccd,this[_0x1f7885(0x20e)],_0x50f4fc,this['unitCategory'])),this[_0x1f7885(0x20e)]=_0x50f4fc,this['render']();}this[_0x1f7885(0x29c)]();}}class tt extends HTMLElement{constructor(){const _0x5f0ce0=_0x263b8b;super(),this[_0x5f0ce0(0x2af)]({'mode':_0x5f0ce0(0x325)}),this[_0x5f0ce0(0x2b5)]=[],this[_0x5f0ce0(0x20e)]='',this['unitCategory']='',this[_0x5f0ce0(0x35a)]=0x2,this[_0x5f0ce0(0x383)]=!0x0,this[_0x5f0ce0(0x20c)]='',this[_0x5f0ce0(0x219)]=!0x1;}[_0x263b8b(0x234)](){const _0x2bfea6=_0x263b8b;this[_0x2bfea6(0x20e)]=this['getAttribute'](_0x2bfea6(0x20e))||'cm',this[_0x2bfea6(0x1e0)](this[_0x2bfea6(0x23f)]('values')),this[_0x2bfea6(0x3b2)]=k(this[_0x2bfea6(0x20e)]),this[_0x2bfea6(0x35a)]=parseInt(this[_0x2bfea6(0x23f)](_0x2bfea6(0x260)))||0x2,this['showUnitArrow']=!this[_0x2bfea6(0x1ed)](_0x2bfea6(0x262))||this[_0x2bfea6(0x23f)](_0x2bfea6(0x262))===_0x2bfea6(0x1c9),this[_0x2bfea6(0x2c1)](),this[_0x2bfea6(0x1dd)]();}static get['observedAttributes'](){const _0x53237d=_0x263b8b;return[_0x53237d(0x2b5),_0x53237d(0x20e),'decimal-places',_0x53237d(0x262)];}[_0x263b8b(0x1f0)](_0x5c1591,_0x11ac47,_0x2be346){const _0xf986da=_0x263b8b;if(_0x5c1591==='values')this[_0xf986da(0x1e0)](_0x2be346);else{if(_0x5c1591==='unit'){const _0xcb0fdc=this['unit'];this['unit']=_0x2be346,this[_0xf986da(0x3b2)]=k(_0x2be346),_0xcb0fdc!==_0x2be346&&(this['values']=this[_0xf986da(0x2b5)][_0xf986da(0x1ca)](_0x35a6b7=>u(_0x35a6b7,_0xcb0fdc,_0x2be346,this['unitCategory'])));}else _0x5c1591===_0xf986da(0x260)?this[_0xf986da(0x35a)]=parseInt(_0x2be346)||0x2:_0x5c1591===_0xf986da(0x262)&&(this[_0xf986da(0x383)]=_0x2be346===null||_0x2be346==='true');}this[_0xf986da(0x2c1)]();}[_0x263b8b(0x24f)](_0x392619,_0x2721e4){return _0x2721e4==='ft-in'?D(_0x392619):parseFloat(_0x392619);}[_0x263b8b(0x1e0)](_0x5e6391){const _0x2e2a54=_0x263b8b;this[_0x2e2a54(0x20c)]='',this[_0x2e2a54(0x219)]=_0x5e6391[_0x2e2a54(0x1d6)]('(')&&_0x5e6391[_0x2e2a54(0x38d)](')'),this[_0x2e2a54(0x219)]&&(_0x5e6391=_0x5e6391[_0x2e2a54(0x1e8)](0x1,-0x1)),_0x5e6391[_0x2e2a54(0x2a9)]('x')?(this['values']=_0x5e6391[_0x2e2a54(0x26f)]('x')[_0x2e2a54(0x1ca)](_0x5e9250=>this[_0x2e2a54(0x24f)](_0x5e9250,this[_0x2e2a54(0x20e)])),this[_0x2e2a54(0x20c)]='x'):_0x5e6391['includes'](',')?(this[_0x2e2a54(0x2b5)]=_0x5e6391[_0x2e2a54(0x26f)](',')[_0x2e2a54(0x1ca)](_0x302f5e=>_0x302f5e[_0x2e2a54(0x1f6)]())[_0x2e2a54(0x1ca)](_0x5a524d=>this[_0x2e2a54(0x24f)](_0x5a524d,this['unit'])),this['format']=_0x2e2a54(0x253)):(this[_0x2e2a54(0x2b5)]=_0x5e6391[_0x2e2a54(0x26f)](/\s+/)[_0x2e2a54(0x1ca)](_0x4e6862=>this[_0x2e2a54(0x24f)](_0x4e6862,this[_0x2e2a54(0x20e)])),this[_0x2e2a54(0x20c)]=_0x2e2a54(0x230));}[_0x263b8b(0x212)](_0x4f070b){const _0x2a5bb4=_0x263b8b;return this['unit']===_0x2a5bb4(0x365)?C(_0x4f070b):O(_0x4f070b,this['decimalPlaces']);}[_0x263b8b(0x203)](_0x442cef){const _0x24f9f0=_0x263b8b;let _0x27c08d='';const _0x3f7507=_0x442cef[_0x24f9f0(0x1ca)](_0x51adc6=>this[_0x24f9f0(0x212)](_0x51adc6));return this[_0x24f9f0(0x20c)]==='x'?_0x27c08d=_0x3f7507[0x0]+_0x24f9f0(0x380)+this['unit']+_0x24f9f0(0x2a4)+_0x3f7507[0x1]+_0x24f9f0(0x380)+this['unit']+_0x24f9f0(0x2a4)+_0x3f7507[0x2]:this['format']===_0x24f9f0(0x253)?_0x27c08d=_0x3f7507[_0x24f9f0(0x323)](',\x20'):_0x27c08d=_0x3f7507[_0x24f9f0(0x323)]('\x20'),_0x27c08d;}['render'](){const _0x2661df=_0x263b8b,_0x4f8b87=this[_0x2661df(0x203)](this['values']);this[_0x2661df(0x28f)][_0x2661df(0x254)]=_0x2661df(0x218)+(this[_0x2661df(0x383)]?_0x2661df(0x382):'none')+_0x2661df(0x204)+(this[_0x2661df(0x383)]?_0x2661df(0x382):_0x2661df(0x3af))+_0x2661df(0x279)+(this['showUnitArrow']?'auto':'none')+_0x2661df(0x32a)+(this[_0x2661df(0x219)]?'(':'')+_0x2661df(0x37e)+_0x4f8b87+_0x2661df(0x2b0)+(this[_0x2661df(0x219)]&&this[_0x2661df(0x20c)]!=='x'?')':'')+_0x2661df(0x225)+(U[this[_0x2661df(0x3b2)]]||[this[_0x2661df(0x20e)]])[_0x2661df(0x1ca)](_0x2816e7=>_0x2661df(0x277)+_0x2816e7+'\x22\x20'+(_0x2816e7===this[_0x2661df(0x20e)]?'selected':'')+_0x2661df(0x320)+_0x2816e7+_0x2661df(0x397))[_0x2661df(0x323)]('')+_0x2661df(0x2d6)+(this[_0x2661df(0x219)]&&this['format']==='x'?')':'')+_0x2661df(0x223),this['updateDropdownWidth']();}['updateDropdownWidth'](){const _0x5c0d7a=_0x263b8b,_0x315728=this[_0x5c0d7a(0x28f)]['querySelector'](_0x5c0d7a(0x2ad));if(!_0x315728)return;const _0x1a3200=document[_0x5c0d7a(0x245)](_0x5c0d7a(0x350));_0x1a3200[_0x5c0d7a(0x319)]['visibility']=_0x5c0d7a(0x381),_0x1a3200[_0x5c0d7a(0x319)][_0x5c0d7a(0x246)]=_0x5c0d7a(0x3b1),_0x1a3200[_0x5c0d7a(0x319)][_0x5c0d7a(0x2cf)]=_0x5c0d7a(0x1d7),_0x1a3200[_0x5c0d7a(0x319)][_0x5c0d7a(0x1f2)]=window['getComputedStyle'](_0x315728)['font'],document[_0x5c0d7a(0x36b)]['appendChild'](_0x1a3200),_0x1a3200['textContent']=this['unit'];const _0x28a518=_0x1a3200['offsetWidth'];document['body']['removeChild'](_0x1a3200);const _0x521504=this[_0x5c0d7a(0x383)]?0x10:0x6,_0x5ef3cb=this['showUnitArrow']?0x8:0x0;let _0x25c334=_0x28a518+_0x521504+_0x5ef3cb+0x2;_0x25c334=Math[_0x5c0d7a(0x310)](_0x25c334,0x1e),_0x315728[_0x5c0d7a(0x319)][_0x5c0d7a(0x1f1)]=_0x25c334+'px';}[_0x263b8b(0x1dd)](){const _0x2aa810=_0x263b8b;this[_0x2aa810(0x28f)]['addEventListener'](_0x2aa810(0x2c3),this[_0x2aa810(0x2d8)][_0x2aa810(0x2b4)](this));}['handleUnitChange'](_0x173f8f){const _0x3a1031=_0x263b8b;if(_0x173f8f[_0x3a1031(0x220)][_0x3a1031(0x289)]==='SELECT'){const _0x233027=_0x173f8f[_0x3a1031(0x220)]['value'];this['values']=this['values'][_0x3a1031(0x1ca)](_0x4f3bfc=>u(_0x4f3bfc,this[_0x3a1031(0x20e)],_0x233027,this[_0x3a1031(0x3b2)])),this['unit']=_0x233027,this[_0x3a1031(0x2c1)]();}this[_0x3a1031(0x29c)]();}}class et extends HTMLElement{constructor(){const _0x354871=_0x263b8b;super(),this[_0x354871(0x2af)]({'mode':_0x354871(0x325)}),this[_0x354871(0x356)]=0x0;}[_0x263b8b(0x234)](){const _0xb84ef2=_0x263b8b;this['render'](),this[_0xb84ef2(0x1dd)]();}[_0x263b8b(0x2c1)](){const _0x19e1b9=_0x263b8b;this['shadowRoot']['innerHTML']='\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20Arial,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.counter\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x201px\x20solid\x20#ccc;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20button\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2016px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.count\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2018px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22counter\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22decrement\x22>-</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22count\x22>'+this['count']+_0x19e1b9(0x291);}['attachEventListeners'](){const _0x2f7b20=_0x263b8b,_0x8c9443=this[_0x2f7b20(0x28f)][_0x2f7b20(0x221)]('.increment'),_0x40f0d5=this[_0x2f7b20(0x28f)][_0x2f7b20(0x221)](_0x2f7b20(0x20a));_0x8c9443[_0x2f7b20(0x33e)](_0x2f7b20(0x287),()=>this['increment']()),_0x40f0d5['addEventListener'](_0x2f7b20(0x287),()=>this[_0x2f7b20(0x240)]());}['increment'](){const _0x4205c3=_0x263b8b;this[_0x4205c3(0x356)]++,this[_0x4205c3(0x306)]();}[_0x263b8b(0x240)](){const _0x471c98=_0x263b8b;this[_0x471c98(0x356)]--,this[_0x471c98(0x306)]();}[_0x263b8b(0x306)](){const _0x8d1397=_0x263b8b,_0x3d9fea=this[_0x8d1397(0x28f)][_0x8d1397(0x221)](_0x8d1397(0x21a));_0x3d9fea[_0x8d1397(0x2ee)]=this['count'];}}const L=(_0x5a6d39,_0x3f63c5)=>{const _0x7a837f=_0x263b8b;typeof window<'u'&&!customElements[_0x7a837f(0x2c6)](_0x5a6d39)&&customElements[_0x7a837f(0x258)](_0x5a6d39,_0x3f63c5);};L('physical-quantity',J),L(_0x263b8b(0x216),class extends J{}),L(_0x263b8b(0x2ff),Z),L(_0x263b8b(0x284),tt),L(_0x263b8b(0x244),et);export{et as NewComponent1,J as PhysicalQuantity,Z as UcQtyPair,tt as UcQtyTriplet};
|
|
1
|
+
const _0x5f5b1e=_0x50e0;(function(_0x37f9aa,_0x3dd866){const _0x3b438f=_0x50e0,_0x1171c7=_0x37f9aa();while(!![]){try{const _0x5b934e=-parseInt(_0x3b438f(0x248))/0x1*(-parseInt(_0x3b438f(0x14d))/0x2)+parseInt(_0x3b438f(0x15a))/0x3+-parseInt(_0x3b438f(0x18d))/0x4+parseInt(_0x3b438f(0x158))/0x5*(-parseInt(_0x3b438f(0x286))/0x6)+parseInt(_0x3b438f(0x14f))/0x7*(parseInt(_0x3b438f(0x265))/0x8)+parseInt(_0x3b438f(0x168))/0x9+-parseInt(_0x3b438f(0x219))/0xa;if(_0x5b934e===_0x3dd866)break;else _0x1171c7['push'](_0x1171c7['shift']());}catch(_0x2719cd){_0x1171c7['push'](_0x1171c7['shift']());}}}(_0x4bac,0x5bb7d));function _0x50e0(_0x541557,_0x4b65ba){const _0x4baca8=_0x4bac();return _0x50e0=function(_0x50e02d,_0x204426){_0x50e02d=_0x50e02d-0xa5;let _0x5a20c0=_0x4baca8[_0x50e02d];return _0x5a20c0;},_0x50e0(_0x541557,_0x4b65ba);}const o=0.45359237,r=9.80665,v=0x14a0,l=25.4/0x3e8,n=0xc*l,W=0x73c,V=0x42*0x294,d=4.54609,p=0xe7,L=268.8025,g=0x1/0x8,F=0x1/0x14,G=0x1/0x10,_=0x8,B=0x8,q=0x1/0x10,z=0xf0,K=0xfa,Q=0xa,T=14.59390294,M=1055.05585262,w=4.1868,f=4.184,R=0x226*o*r*n,N=0x18bcd,$=0x1/0x2f8,y=133.322387415,j=0x569e4c0a22d73800,U={'Length':['m',_0x5f5b1e(0x1bf),'µm','micron','mm','cm','dm','km','in','ft-in',_0x5f5b1e(0x29b),'ft','yd','mile',_0x5f5b1e(0x18b)],'Mass':['kg','g','mg','µg','oz',_0x5f5b1e(0x21c),_0x5f5b1e(0x1f0),_0x5f5b1e(0x22e),_0x5f5b1e(0x1e1),_0x5f5b1e(0x192)],'Time':[_0x5f5b1e(0x100),'s',_0x5f5b1e(0xe9),'h','h[hour]','day','week'],'ElectricalCurrent':['A',_0x5f5b1e(0x111),'mA','µA','kA','MA','esu/s'],'Temperature':['°K','°C','°F',_0x5f5b1e(0x217)],'Amount\x20of\x20Substance':[_0x5f5b1e(0x1d4),_0x5f5b1e(0x162),_0x5f5b1e(0x1af)],'Luminous\x20Intensity':[_0x5f5b1e(0x198),_0x5f5b1e(0x1d6),_0x5f5b1e(0x27b),_0x5f5b1e(0x27a)],'Acceleration':[_0x5f5b1e(0x11c),_0x5f5b1e(0x1b4),_0x5f5b1e(0x1e5),_0x5f5b1e(0x12c),'ft/min²',_0x5f5b1e(0xa7)],'Gravitational\x20Constant':[_0x5f5b1e(0x1fc),_0x5f5b1e(0x1a4),'dyn⋅cm²/g²'],'Velocity\x20(Angular)':[_0x5f5b1e(0x1c5),_0x5f5b1e(0x291),'rad/h',_0x5f5b1e(0x1e9),'deg°/min','deg°/h','rpm[rev/min]',_0x5f5b1e(0x20c)],'Acceleration\x20(Angular)':[_0x5f5b1e(0xe0),'rad/min²',_0x5f5b1e(0x21b),_0x5f5b1e(0x25c)],'Illuminance':['lux',_0x5f5b1e(0x281),'lm/m²','meter-candle',_0x5f5b1e(0x1ac),_0x5f5b1e(0xd7),'fc',_0x5f5b1e(0x235),'lm/ft²'],'Frequency':['Hz',_0x5f5b1e(0x25d),_0x5f5b1e(0x1f2),'rpm','1/hour','mHz',_0x5f5b1e(0x145),'MHz',_0x5f5b1e(0x25a)],'Area':['m²',_0x5f5b1e(0x112),'mm²',_0x5f5b1e(0x195),'km²','hectare','in²',_0x5f5b1e(0x170),_0x5f5b1e(0x206),'acre','mile²'],'Volume\x20/\x20Section\x20Modulus':['m³',_0x5f5b1e(0x14e),_0x5f5b1e(0x13b),_0x5f5b1e(0x11f),'L','ml',_0x5f5b1e(0x245),_0x5f5b1e(0x263),_0x5f5b1e(0x1d3),_0x5f5b1e(0x1b1),_0x5f5b1e(0x175),_0x5f5b1e(0x1de),_0x5f5b1e(0xf4),_0x5f5b1e(0x15d),'pint(US-liquid)',_0x5f5b1e(0x197),'fluid\x20ounce(UK-imperial)',_0x5f5b1e(0x108),_0x5f5b1e(0x255),_0x5f5b1e(0x278),_0x5f5b1e(0x133),_0x5f5b1e(0x23e),_0x5f5b1e(0x103),'cup(Imperial)'],'Polar\x20Moment\x20of\x20Inertia':['m⁴','mm⁴',_0x5f5b1e(0x14c),'in⁴',_0x5f5b1e(0x1f7)],'Moment\x20of\x20Inertia':[_0x5f5b1e(0x10e),_0x5f5b1e(0x14a),_0x5f5b1e(0xac),'lbm⋅ft²',_0x5f5b1e(0x1e4),_0x5f5b1e(0x28f)],'Force':['N','kN','MN',_0x5f5b1e(0xaa),'lb','lbf',_0x5f5b1e(0x183)],'Angle':[_0x5f5b1e(0xbb),_0x5f5b1e(0x10d),_0x5f5b1e(0xc3),_0x5f5b1e(0xff)],'Solid\x20Angle':['sr[steradian]',_0x5f5b1e(0x194)],'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':['kg/m²',_0x5f5b1e(0x270),_0x5f5b1e(0x18c),'tonne/m²',_0x5f5b1e(0xf1),_0x5f5b1e(0x153),_0x5f5b1e(0x244),_0x5f5b1e(0x294),_0x5f5b1e(0x19b),'oz/in²'],'Density':['kg/m³',_0x5f5b1e(0x29f),_0x5f5b1e(0x26e),_0x5f5b1e(0x207),_0x5f5b1e(0x19a),_0x5f5b1e(0x118)],'Energy':['J[Joule]','kJ','MJ','GJ','TNT\x20Equivalent[kiloton]',_0x5f5b1e(0xd8),_0x5f5b1e(0xa6),_0x5f5b1e(0x134),_0x5f5b1e(0x130),_0x5f5b1e(0x1ca),'kilo-calorie(TH)',_0x5f5b1e(0x250),'Wh',_0x5f5b1e(0x277),_0x5f5b1e(0x1cd)],'Power':[_0x5f5b1e(0x1da),'kW','MW','GW[Gigawatt]','Btu/h','Btu/minute',_0x5f5b1e(0x23b),'calorie(IT)/second','calorie(IT)/minute',_0x5f5b1e(0x1bb),_0x5f5b1e(0xbd),_0x5f5b1e(0xca),_0x5f5b1e(0x179),'lb-ft/second',_0x5f5b1e(0xfb),'HP','J/second',_0x5f5b1e(0x1f4),_0x5f5b1e(0x10b),_0x5f5b1e(0x221),_0x5f5b1e(0xb6)],'Torque,\x20Moment\x20of\x20Force':['Nm',_0x5f5b1e(0xfd),_0x5f5b1e(0xd0),_0x5f5b1e(0xb3),_0x5f5b1e(0x200),'oz-in','oz-ft'],'Pressure/Stress':['Pa',_0x5f5b1e(0xa8),_0x5f5b1e(0x26d),'GPa',_0x5f5b1e(0x293),_0x5f5b1e(0x166),_0x5f5b1e(0xd9),'mm\x20HG',_0x5f5b1e(0x273),_0x5f5b1e(0x139),_0x5f5b1e(0x126),_0x5f5b1e(0x288),_0x5f5b1e(0x160),_0x5f5b1e(0x233),_0x5f5b1e(0x295),_0x5f5b1e(0x1a0),_0x5f5b1e(0x24a)],'Pressure\x20Drop\x20per\x20Unit\x20Length':[_0x5f5b1e(0x1d1),_0x5f5b1e(0x21e),_0x5f5b1e(0x1b5),'MPa/km',_0x5f5b1e(0x16c),_0x5f5b1e(0x27f),'atm/m','mm\x20HG/m',_0x5f5b1e(0xc0),_0x5f5b1e(0xe6),_0x5f5b1e(0x23a),_0x5f5b1e(0x1fe),_0x5f5b1e(0x22a),_0x5f5b1e(0x239),_0x5f5b1e(0xc2),_0x5f5b1e(0x1d9),_0x5f5b1e(0xeb),_0x5f5b1e(0x1b6)],'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':[_0x5f5b1e(0x188),'N/mm','kN/m',_0x5f5b1e(0xdb),'kips/ft',_0x5f5b1e(0x17e)],'Stiffness\x20of\x20Rotary\x20Spring':[_0x5f5b1e(0x1a3),_0x5f5b1e(0x1fa),'N⋅mm/rad',_0x5f5b1e(0x17a),_0x5f5b1e(0x117),_0x5f5b1e(0xbc),_0x5f5b1e(0x127),_0x5f5b1e(0x181)],'Flow\x20Rate\x20(Volume)':[_0x5f5b1e(0xb7),'m³/min',_0x5f5b1e(0x274),_0x5f5b1e(0xdd),_0x5f5b1e(0x13e),_0x5f5b1e(0x199),'cm³/s',_0x5f5b1e(0x27e),_0x5f5b1e(0x105),_0x5f5b1e(0xc9),_0x5f5b1e(0xcc),_0x5f5b1e(0x120),_0x5f5b1e(0x268),_0x5f5b1e(0x28e),_0x5f5b1e(0x182),'yd³/min','yd³/h',_0x5f5b1e(0x205),_0x5f5b1e(0xa9),_0x5f5b1e(0x177),_0x5f5b1e(0x1ce)],'Flow\x20Rate\x20(Mass)':[_0x5f5b1e(0x1c7),'kg/min',_0x5f5b1e(0xad),_0x5f5b1e(0xd1),_0x5f5b1e(0x1a5),_0x5f5b1e(0x142),_0x5f5b1e(0x1ff),'slug/min',_0x5f5b1e(0x17f),_0x5f5b1e(0x204),_0x5f5b1e(0xc7),_0x5f5b1e(0xbf),_0x5f5b1e(0x275),_0x5f5b1e(0x19f),'oz/h','tonne/h','short\x20ton/h',_0x5f5b1e(0x157)],'Speed\x20/\x20Velocity\x20(Linear)':[_0x5f5b1e(0x16a),_0x5f5b1e(0x18e),_0x5f5b1e(0xb2),_0x5f5b1e(0x267),'m/min',_0x5f5b1e(0x109),_0x5f5b1e(0x230),_0x5f5b1e(0xec),_0x5f5b1e(0x11a),_0x5f5b1e(0x1a9),_0x5f5b1e(0xe8),_0x5f5b1e(0x29d),_0x5f5b1e(0x1cc),'fpm[ft/minute]',_0x5f5b1e(0x1be),'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]'],'Fuel\x20Heat\x20Value\x20(Volume)':[_0x5f5b1e(0x146),_0x5f5b1e(0x1b3),_0x5f5b1e(0x186),_0x5f5b1e(0x1c9),'MJ/m³','GJ/m³',_0x5f5b1e(0x223),_0x5f5b1e(0x1db),_0x5f5b1e(0x119),'kcal(TH)/m³',_0x5f5b1e(0x178),_0x5f5b1e(0x24f),_0x5f5b1e(0xf2),'HP\x20Hour/ft³','Btu/gal(US)','Btu/ft³',_0x5f5b1e(0x16f)],'Fuel\x20Heat\x20Value\x20(Mass)':['J/kg','J/g',_0x5f5b1e(0x191),_0x5f5b1e(0x12e),_0x5f5b1e(0x234),_0x5f5b1e(0xce),_0x5f5b1e(0x101),'cal(TH)/g',_0x5f5b1e(0x1eb),_0x5f5b1e(0x23f),_0x5f5b1e(0x1c1),_0x5f5b1e(0xfc),'HP\x20Hour/lbm',_0x5f5b1e(0x211),'MM\x20Btu/lbm',_0x5f5b1e(0x1aa)],'Mass\x20Heat\x20Capacity':[_0x5f5b1e(0x174),_0x5f5b1e(0x15e),_0x5f5b1e(0x20a),'J/(g·°C)',_0x5f5b1e(0x1ed)],'Viscosity\x20-\x20Absolute/Dynamic(μ)':[_0x5f5b1e(0xba),_0x5f5b1e(0x1a7),_0x5f5b1e(0x1a2),_0x5f5b1e(0x22c),'cP',_0x5f5b1e(0x161),_0x5f5b1e(0x1ef)],'Viscosity\x20-\x20Kinematic':['m²/s','m²/min',_0x5f5b1e(0x1bd),_0x5f5b1e(0x24d),_0x5f5b1e(0xbe),_0x5f5b1e(0x140),_0x5f5b1e(0x1dd),_0x5f5b1e(0x1f8),_0x5f5b1e(0x264),_0x5f5b1e(0x132),_0x5f5b1e(0x115),_0x5f5b1e(0x190),_0x5f5b1e(0x26f),_0x5f5b1e(0xe1),'in²/min',_0x5f5b1e(0x1e8)],'Linear\x20Thermal\x20Expansion\x20Coefficient':[_0x5f5b1e(0x272),_0x5f5b1e(0x13f),_0x5f5b1e(0x298),_0x5f5b1e(0x15c)],'Thermal\x20Conductivity':[_0x5f5b1e(0x20e),_0x5f5b1e(0x1b0),_0x5f5b1e(0x151),_0x5f5b1e(0x220)],'Electrical\x20Charge':[_0x5f5b1e(0x1d8),'Ah',_0x5f5b1e(0x17b),'mAh',_0x5f5b1e(0x214),_0x5f5b1e(0x180)],'Electrical\x20Potential\x20Difference\x20(Voltage)':['V',_0x5f5b1e(0x225),_0x5f5b1e(0xcb),_0x5f5b1e(0x147),'µV','mV','kV','MV'],'Electrical\x20Resistance(Impedance)':[_0x5f5b1e(0xf3),'µΩ','mΩ','kΩ','MΩ'],'Electrical\x20Capacitance':[_0x5f5b1e(0x280),'pF','nF','µF','mF'],'Electrical\x20Inductance':[_0x5f5b1e(0x1d7),'µH','mH'],'Electrical\x20Conductance':[_0x5f5b1e(0x202),'℧','µS','mS','kS'],'Magnetic\x20Flux':[_0x5f5b1e(0x19d),_0x5f5b1e(0x285),'µWb','mWb',_0x5f5b1e(0x11d),_0x5f5b1e(0x1a6)],'Luminous\x20Flux':['lm[lumen]','cd⋅sr'],'Magnetic\x20Flux\x20Density':[_0x5f5b1e(0xae),_0x5f5b1e(0x1f6),'µT','G','mT'],'Katalytic\x20Activity':[_0x5f5b1e(0x259),_0x5f5b1e(0x1c8),_0x5f5b1e(0x240),'mkat','kkat',_0x5f5b1e(0x15f)],'Radioactivity':[_0x5f5b1e(0xef),_0x5f5b1e(0x25d),_0x5f5b1e(0x23c),_0x5f5b1e(0x25b),'kBq',_0x5f5b1e(0x1e7),_0x5f5b1e(0xb0),'Ci[curie]'],'Absorbed\x20Dose\x20of\x20Ionizing\x20Radiation':['Gy[gray]',_0x5f5b1e(0x251),'µGy','mGy','kGy',_0x5f5b1e(0x110)],'Equivalent\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x5f5b1e(0x1d2),'J/kg','µSv',_0x5f5b1e(0x271),'kSv','MSv'],'Volumetric\x20Displacement':[_0x5f5b1e(0x21d),_0x5f5b1e(0x165),_0x5f5b1e(0xdc),_0x5f5b1e(0x224),'ft³/rev',_0x5f5b1e(0x17d),_0x5f5b1e(0x269)],'Fuel\x20Economy':[_0x5f5b1e(0x283),_0x5f5b1e(0xe5),_0x5f5b1e(0x249),_0x5f5b1e(0x1ec),'mile/gal(UK-imperial)',_0x5f5b1e(0x159)],'Fuel\x20Consumption':['m³/m',_0x5f5b1e(0x21f),_0x5f5b1e(0x254),_0x5f5b1e(0x201),_0x5f5b1e(0x216),_0x5f5b1e(0x243),_0x5f5b1e(0x266),_0x5f5b1e(0x169),_0x5f5b1e(0x20d)],'New\x20Energy\x20Economy\x20(MPGe)':[_0x5f5b1e(0x12b),_0x5f5b1e(0xf5),_0x5f5b1e(0x241),_0x5f5b1e(0x131),_0x5f5b1e(0x26a),_0x5f5b1e(0x24b),_0x5f5b1e(0xda)],'New\x20Energy\x20Consumption':[_0x5f5b1e(0x16e),_0x5f5b1e(0x276),_0x5f5b1e(0x237),'kWh/km',_0x5f5b1e(0x210),_0x5f5b1e(0x122),_0x5f5b1e(0x257),_0x5f5b1e(0x17c),_0x5f5b1e(0xfa),_0x5f5b1e(0x11b),_0x5f5b1e(0x14b),'MM\x20Btu/km',_0x5f5b1e(0xd3),'MM\x20Btu/mile',_0x5f5b1e(0x116)],'Baud\x20Rate':['bit/s','Bd',_0x5f5b1e(0x1e2),_0x5f5b1e(0xea),_0x5f5b1e(0x123)],'Currency':['$','¢',_0x5f5b1e(0x226),_0x5f5b1e(0xb8),_0x5f5b1e(0x287),_0x5f5b1e(0x16b)],'Impulse\x20/\x20Momentum':[_0x5f5b1e(0x1c6),'Newton-second',_0x5f5b1e(0x185),'kg·m/s',_0x5f5b1e(0xc5),'lbm·fpm'],'Digital\x20Storage':['bit',_0x5f5b1e(0x1dc),_0x5f5b1e(0xd2),_0x5f5b1e(0xfe),'mebibit',_0x5f5b1e(0x104),_0x5f5b1e(0xde),_0x5f5b1e(0x121),_0x5f5b1e(0xdf),_0x5f5b1e(0x155),'pebibit',_0x5f5b1e(0xc6),_0x5f5b1e(0x173),'kibibyte',_0x5f5b1e(0x23d),'mebibyte',_0x5f5b1e(0x203),'gibibyte',_0x5f5b1e(0x262),_0x5f5b1e(0x1e6),_0x5f5b1e(0x256),'pebibyte'],'Data\x20Transfer\x20Rate':['bit/s',_0x5f5b1e(0x113),_0x5f5b1e(0x129),'megabit/s',_0x5f5b1e(0xe3),'gigabit/s',_0x5f5b1e(0x1fd),_0x5f5b1e(0x29c),'tebibit/s',_0x5f5b1e(0x167),_0x5f5b1e(0x19e)]},b={'Length':{'m':0x1,'nano[nm]':0x1/0x3b9aca00,'µm':0x1/0xf4240,'micron':0x1/0xf4240,'mm':0x1/0x3e8,'cm':0.01,'dm':0.1,'km':0x3e8,'in':l,'thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]':l/0x3e8,'ft-in':l,'ft':n,'yd':0x3*n,'mile':v*n,'NM[M,\x20nmi,\x20or\x20nautical\x20mile]':W},'Mass':{'kg':0x1,'g':0.001,'mg':0x1/0xf4240,'µg':0x1/0x3b9aca00,'oz':0x1/0x10*o,'lbm':o,'slug':T,'ton(US/short)':0x7d0*o,'ton(UK-Imperial/long)':0x8c0*o,'tonne':0x3e8},'Time':{'s[second]':0x1,'s':0x1,'minute':0x3c,'h':0xe10,'h[hour]':0xe10,'day':0xe10*0x18,'week':0xe10*0x18*0x7},'ElectricalCurrent':{'A':0x1,'Ampere[amp]':0x1,'mA':0.001,'µA':0.000001,'kA':0x3e8,'MA':0xf4240,'esu/s':0x1/0xb2d05e00},'Temperature':{'°K':{'c0':0x1,'c1':0x0},'°C':{'c0':0x1,'c1':273.15},'°F':{'c0':0x5/0x9,'c1':255.3722222},'°Ra':{'c0':0x5/0x9,'c1':0x0}},'Amount\x20of\x20Substance':{'mol':0x1,'mmol':0.001,'kmol':0x3e8},'Luminous\x20Intensity':{'cd[candela]':0x1,'lm/sr':0x1,'cp[candlepower]':0x1,'cp[candlepower(before\x201948)]':0.981},'Acceleration':{'m/s²':0x1,'m/min²':0x1/0xe10,'mm/s²':0.001,'ft/s²':n,'ft/min²':n/0xe10,'in/s²':l},'Gravitational\x20Constant':{'m³/kg/s²':0x1,'N⋅m²/kg²':0x1,'dyn⋅cm²/g²':0x3e8},'Velocity\x20(Angular)':{'rad/s':0x1,'rad/min':0x1/0x3c,'rad/h':0x1/0xe10,'deg°/s':Math['PI']/0xb4,'deg°/min':Math['PI']/0xb4/0x3c,'deg°/h':Math['PI']/0xb4/0xe10,'rpm[rev/min]':0x2*Math['PI']/0x3c,'rev/s':0x2*Math['PI']},'Acceleration\x20(Angular)':{'rad/s²':0x1,'rad/min²':0x1/0xe10,'deg°/s²':Math['PI']/0xb4,'deg°/min²':Math['PI']/0xb4/0xe10},'Illuminance':{'lux':0x1,'lumen/m²':0x1,'lm/m²':0x1,'meter-candle':0x1,'phot':0x2710,'foot-candle':0x1/Math[_0x5f5b1e(0x227)](n,0x2),'fc':0x1/Math[_0x5f5b1e(0x227)](n,0x2),'lumen/ft²':0x1/Math[_0x5f5b1e(0x227)](n,0x2),'lm/ft²':0x1/Math[_0x5f5b1e(0x227)](n,0x2)},'Frequency':{'Hz':0x1,'1/s':0x1,'1/min':0x1/0x3c,'rpm':0x1/0x3c,'1/hour':0x1/0xe10,'mHz':0x1/0x3e8,'kHz':0x3e8,'MHz':0xf4240,'GHz':0x3b9aca00},'Area':{'m²':0x1,'µm²':Math[_0x5f5b1e(0x227)](0x1/0xf4240,0x2),'mm²':Math['pow'](0x1/0x3e8,0x2),'cm²':Math[_0x5f5b1e(0x227)](0x1/0x64,0x2),'km²':0xf4240,'hectare':Math[_0x5f5b1e(0x227)](0x64,0x2),'in²':Math[_0x5f5b1e(0x227)](l,0x2),'ft²':Math[_0x5f5b1e(0x227)](n,0x2),'yd²':Math[_0x5f5b1e(0x227)](n*0x3,0x2),'acre':V*Math['pow'](n,0x2),'mile²':Math[_0x5f5b1e(0x227)](v*n,0x2)},'Volume\x20/\x20Section\x20Modulus':{'m³':0x1,'µm³':Math[_0x5f5b1e(0x227)](0x1/0xf4240,0x3),'mm³':Math[_0x5f5b1e(0x227)](0x1/0x3e8,0x3),'cm³':Math[_0x5f5b1e(0x227)](0x1/0x64,0x3),'L':0x1/0x3e8,'ml':0x1/0xf4240,'km³':Math[_0x5f5b1e(0x227)](0x3e8,0x3),'in³':Math[_0x5f5b1e(0x227)](l,0x3),'ft³':Math['pow'](n,0x3),'yd³':Math[_0x5f5b1e(0x227)](n*0x3,0x3),'gal(UK-imperial)':d*0x1/0x3e8,'gal(US-liquid)':p*Math[_0x5f5b1e(0x227)](l,0x3),'gal(US-dry)':L*Math[_0x5f5b1e(0x227)](l,0x3),'pint(UK-imperial)':g*d*0x1/0x3e8,'pint(US-liquid)':g*p*Math[_0x5f5b1e(0x227)](l,0x3),'pint(US-dry)':g*L*Math[_0x5f5b1e(0x227)](l,0x3),'fluid\x20ounce(UK-imperial)':F*g*d/0x3e8,'fluid\x20ounce(US-liquid)':G*g*p*Math['pow'](l,0x3),'bushel(UK-imperial)':_*d/0x3e8,'bushel(US-dry)':B*L*Math[_0x5f5b1e(0x227)](l,0x3),'cup(US-liquid)':q*p*Math['pow'](l,0x3),'cup(Legal)':z*Math[_0x5f5b1e(0x227)](0.01,0x3),'cup(Metric)':K*Math[_0x5f5b1e(0x227)](0.01,0x3),'cup(Imperial)':Q*F*g*d/0x3e8},'Polar\x20Moment\x20of\x20Inertia':{'m⁴':0x1,'mm⁴':1e-12,'cm⁴':1e-8,'in⁴':Math[_0x5f5b1e(0x227)](l,0x4),'ft⁴':Math[_0x5f5b1e(0x227)](n,0x4)},'Moment\x20of\x20Inertia':{'kg⋅m²':0x1,'g⋅cm²':0x1/(0x3e8*0x2710),'g⋅mm²':0x1/(0x3e8*0xf4240),'lbm⋅ft²':o*Math[_0x5f5b1e(0x227)](n,0x2),'lbm⋅in²':o*Math[_0x5f5b1e(0x227)](l,0x2),'oz⋅in²':o/0x10*Math[_0x5f5b1e(0x227)](l,0x2)},'Force':{'N':0x1,'kN':0x3e8,'MN':0xf4240,'kgf':r,'lb':o*r,'lbf':o*r,'kip[kilo\x20pound]':0x3e8*o*r},'Angle':{'radian':0x1,'rad':0x1,'deg°':Math['PI']/0xb4,'revolution':Math['PI']*0x2},'Solid\x20Angle':{'sr[steradian]':0x1,'m²/m²':0x1},'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':{'kg/m²':0x1,'g/cm²':0x1/0x3e8/Math[_0x5f5b1e(0x227)](0.01,0x2),'g/mm²':0x1/0x3e8/Math['pow'](0.001,0x2),'tonne/m²':0x3e8,'lbm/yd²':o/Math['pow'](n*0x3,0x2),'lbm/ft²':o/Math[_0x5f5b1e(0x227)](n,0x2),'lbm/in²':o/Math[_0x5f5b1e(0x227)](l,0x2),'oz/yd²':o/0x10/Math['pow'](0x3*n,0x2),'oz/ft²':o/0x10/Math['pow'](n,0x2),'oz/in²':o/0x10/Math[_0x5f5b1e(0x227)](l,0x2)},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0x1/0x3e8/Math['pow'](0.01,0x3),'g/mm³':0x1/0x3e8/Math[_0x5f5b1e(0x227)](0.001,0x3),'lbm/ft³':o/Math['pow'](n,0x3),'lbm/in³':o/Math[_0x5f5b1e(0x227)](l,0x3)},'Energy':{'J[Joule]':0x1,'kJ':0x3e8,'MJ':0xf4240,'GJ':0x3b9aca00,'TNT\x20Equivalent[kiloton]':0x3b9aca00*f,'Btu':M,'MM\x20Btu':M*0xf4240,'calorie(IT)':w,'kilo-calorie(IT)':w*0x3e8,'calorie(TH)':f,'kilo-calorie(TH)':f*0x3e8,'HP\x20Hour':R*0xe10,'Wh':0xe10,'kWh':0xe10*0x3e8,'eV{electron-volt]':0x1/j},'Power':{'W[watt]':0x1,'kW':0x3e8,'MW':0xf4240,'GW[Gigawatt]':0x3b9aca00,'Btu/h':M/0xe10,'Btu/minute':M/0x3c,'MM\x20Btu/h':M*0xf4240/0xe10,'calorie(IT)/second':w,'calorie(IT)/minute':w/0x3c,'kilo-calorie(IT)/hour':w*0x3e8/0xe10,'calorie(TH)/second':f,'calorie(TH)/minute':f/0x3c,'kilo-calorie(TH)/hour':f*0x3e8/0xe10,'lb-ft/second':o*r*n,'lb-ft/minute':o*r*n/0x3c,'HP':R,'J/second':0x1,'J/minute':0x1/0x3c,'J/h':0x1/0xe10,'MJ/h':0xf4240/0xe10,'kJ/minute':0x3e8/0x3c},'Torque,\x20Moment\x20of\x20Force':{'Nm':0x1,'kNm':0x3e8,'lb-in':o*r*l,'kip-in':0x3e8*o*r*l,'lb-ft':o*r*n,'oz-in':o/0x10*r*l,'oz-ft':o/0x10*r*n},'Pressure/Stress':{'Pa':0x1,'kPa':0x3e8,'MPa':0xf4240,'GPa':0x3b9aca00,'bar':0x64*0x3e8,'mbar':0x64,'atm':N,'mm\x20HG':y,'cm\x20HG':y*0xa,'in\x20HG':y*25.4,'mm\x20W.C.':0x1/0x3e8*0x3e8*r,'m\x20W.C.':0x1*0x3e8*r,'in\x20W.C.':l*0x3e8*r,'psf':o*r/Math['pow'](n,0x2),'psi':o*r/Math[_0x5f5b1e(0x227)](l,0x2),'ksi':o*r/Math[_0x5f5b1e(0x227)](l,0x2)*0x3e8,'ksi{kip/in²]':o*r/Math['pow'](l,0x2)*0x3e8},'Pressure\x20Drop\x20per\x20Unit\x20Length':{'Pa/m':0x1,'Pascal/m':0x1,'kPa/m':0x3e8,'MPa/km':0xf4240/0x3e8,'bar/m':0x186a0,'mbar/mm':0x64*0x3e8,'atm/m':N,'mm\x20HG/m':y,'in\x20HG/ft':y*25.4/n,'mm\x20W.C./m':0x1/0x3e8*0x3e8*r,'m\x20W.C./m':0x3e8*r,'in\x20W.C./ft':l*0x3e8*r/n,'in\x20W.C./100\x20ft':l*0x3e8*r/n/0x64,'psf/in':o*r/Math[_0x5f5b1e(0x227)](n,0x2)/l,'psi/ft':o*r/Math['pow'](n,0x2)/n,'ksi/ft':o*r/Math[_0x5f5b1e(0x227)](n,0x2)/n*0x3e8,'Torr/ft':$*N/n,'mTorr/m':$*N/0x3e8},'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':{'N/m':0x1,'N/mm':0x3e8,'kN/m':0x3e8,'lb/ft':o*r/n,'kips/ft':0x3e8*o*r/n,'lb/in':o*r/l},'Stiffness\x20of\x20Rotary\x20Spring':{'N⋅m/rad':0x1,'N⋅m/deg°':0x1/Math['PI']*0xb4,'N⋅mm/rad':0x1/0x3e8,'N⋅mm/deg°':0x1/0x3e8/Math['PI']*0xb4,'lb-ft/rad':o*r*n,'lb-ft/deg°':o*r*n/(Math['PI']/0xb4),'lb-in/rad':o*r*l,'lb-in/deg°':o*r*l/(Math['PI']/0xb4)},'Flow\x20Rate\x20(Volume)':{'m³/s':0x1,'m³/min':0x1/0x3c,'m³/h':0x1/0xe10,'L/s':0x1/0x3e8,'L/min':0x1/0x3e8/0x3c,'L/h':0x1/0x3e8/0xe10,'cm³/s':0.000001,'cm³/min':0.000001/0x3c,'in³/s':Math[_0x5f5b1e(0x227)](l,0x3),'in³/min':Math[_0x5f5b1e(0x227)](l,0x3)/0x3c,'ft³/s':Math[_0x5f5b1e(0x227)](n,0x3),'CFM':Math[_0x5f5b1e(0x227)](n,0x3)/0x3c,'CFM[ft³/min]':Math[_0x5f5b1e(0x227)](n,0x3)/0x3c,'CFH':Math[_0x5f5b1e(0x227)](n,0x3)/0xe10,'CFH[ft³/h]':Math['pow'](n,0x3)/0xe10,'yd³/min':Math[_0x5f5b1e(0x227)](n*0x3,0x3)/0x3c,'yd³/h':Math[_0x5f5b1e(0x227)](n*0x3,0x3)/0xe10,'gpm(US)':p*Math[_0x5f5b1e(0x227)](l,0x3)/0x3c,'gph(US)':p*Math[_0x5f5b1e(0x227)](l,0x3)/0xe10,'bushel(UK-imperial)/h':_*d/0x3e8/0xe10,'bushel(US)/h':B*L*Math[_0x5f5b1e(0x227)](l,0x3)/0xe10},'Flow\x20Rate\x20(Mass)':{'kg/s':0x1,'kg/min':0x1/0x3c,'kg/h':0x1/0xe10,'g/s':0x1/0x3e8,'g/min':0x1/0x3e8/0x3c,'g/h':0x1/0x3e8/0xe10,'slug/s':T,'slug/min':T/0x3c,'slug/h':T/0xe10,'lbm/s':o,'lbm/min':o/0x3c,'lbm/h':o/0xe10,'oz/s':o/0x10,'oz/min':o/0x10/0x3c,'oz/h':o/0x10/0xe10,'tonne/h':0x3e8/0xe10,'short\x20ton/h':0x7d0*o/0xe10,'long\x20ton/h':0x8c0*o/0xe10},'Speed\x20/\x20Velocity\x20(Linear)':{'m/s':0x1,'mm/s':0x1/0x3e8,'km/s':0x1,'mm/min':0x1/0x3e8/0x3c,'m/min':0x1/0x3c,'km/min':0x3e8/0x3c,'mm/h':0x1/0x3e8/0xe10,'m/h':0x1/0xe10,'km/h':0x3e8/0xe10,'in/s':l,'fps':n,'fps[ft/second]':n,'fpm':n/0x3c,'fpm[ft/minute]':n/0x3c,'mph[mile/h]':v*n/0xe10,'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]':W/0xe10},'Electrical\x20Potential\x20Difference\x20(Voltage)':{'V':0x1,'Volt':0x1,'joule/coulomb':0x1,'J/C':0x1,'µV':0x1/0xf4240,'mV':0x1/0x3e8,'kV':0x3e8,'MV':0xf4240}},k=_0x4eff32=>{const _0x51e73a=_0x5f5b1e;if(console[_0x51e73a(0x212)](_0x51e73a(0x141),_0x4eff32),!_0x4eff32)return console[_0x51e73a(0x258)](_0x51e73a(0x292)),_0x51e73a(0x10f);for(const _0x114ce2 in U)if(U[_0x114ce2][_0x51e73a(0x10a)](_0x4eff32))return console[_0x51e73a(0x212)](_0x51e73a(0xd5)+_0x4eff32+':',_0x114ce2),_0x114ce2;return console[_0x51e73a(0x258)](_0x51e73a(0xa5)+_0x4eff32),_0x51e73a(0x10f);},u=(_0x17de4c,_0x2fe11b,_0x2f7948,_0x3c7e14)=>{const _0xfc8472=_0x5f5b1e;if(_0x2fe11b===_0xfc8472(0x290)&&_0x2f7948!==_0xfc8472(0x290))return Y(_0x17de4c,_0x2f7948);if(_0x2fe11b!==_0xfc8472(0x290)&&_0x2f7948===_0xfc8472(0x290))return X(_0x17de4c,_0x2fe11b);if(_0x3c7e14!==_0xfc8472(0x289)){const _0x1d55c9=b[_0x3c7e14][_0x2fe11b]/b[_0x3c7e14][_0x2f7948];return _0x17de4c*_0x1d55c9;}else{const _0x3bcb39=b[_0x3c7e14][_0x2fe11b]['c0'],_0x2a34f7=b[_0x3c7e14][_0x2fe11b]['c1'],_0x593ec5=b[_0x3c7e14][_0x2f7948]['c0'],_0x38cb04=b[_0x3c7e14][_0x2f7948]['c1'];return(_0x17de4c*_0x3bcb39+_0x2a34f7-_0x38cb04)/_0x593ec5;}},O=(_0x3bddf9,_0x1d8b58)=>{const _0x58db52=_0x5f5b1e;let _0x3543ed;if(Number['isInteger'](_0x3bddf9)?_0x3543ed=_0x3bddf9[_0x58db52(0x22b)]():_0x3543ed=_0x3bddf9[_0x58db52(0x260)](_0x1d8b58)[_0x58db52(0x236)](/\.?0+$/,''),Math[_0x58db52(0xd4)](parseFloat(_0x3543ed))>=0x3e8){const _0x3b88ee=_0x3543ed[_0x58db52(0x16d)]('.');_0x3b88ee[0x0]=_0x3b88ee[0x0][_0x58db52(0x236)](/\B(?=(\d{3})+(?!\d))/g,','),_0x3543ed=_0x3b88ee[_0x58db52(0x253)]('.');}return _0x3543ed;},D=_0x2bf6e8=>{const _0x1424ef=_0x5f5b1e,_0x3bafd2=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,_0xc26483=/(\d+)\'/,_0x3d0a8c=/(\d+)/;let _0x26aa60=_0x2bf6e8[_0x1424ef(0x209)](_0x3bafd2);if(_0x26aa60){const _0x4b0d60=parseInt(_0x26aa60[0x1])||0x0,_0x589b35=parseInt(_0x26aa60[0x3])||0x0,_0xc46078=parseInt(_0x26aa60[0x5])||0x0,_0x66ea6d=parseInt(_0x26aa60[0x6])||0x1;return H(_0x4b0d60,_0x589b35,_0xc46078,_0x66ea6d);}if(_0x26aa60=_0x2bf6e8[_0x1424ef(0x209)](_0xc26483),_0x26aa60){const _0x1da2b2=parseInt(_0x26aa60[0x1])||0x0;return H(_0x1da2b2,0x0,0x0,0x1);}if(_0x26aa60=_0x2bf6e8[_0x1424ef(0x209)](_0x3d0a8c),_0x26aa60){const _0xa5483a=parseInt(_0x26aa60[0x1])||0x0;return H(0x0,_0xa5483a,0x0,0x1);}return parseFloat(_0x2bf6e8);},H=(_0x42efd8,_0x506df9,_0x5cdc82,_0x5954c4)=>_0x42efd8*0xc+_0x506df9+_0x5cdc82/_0x5954c4,C=(_0x405e99,_0x2b7a48=_0x5f5b1e(0xf7))=>{const _0x933dfe=_0x5f5b1e;if(_0x405e99<0x0)return'-'+C(-_0x405e99,_0x2b7a48);const _0x1f9ac4=parseInt(_0x2b7a48[_0x933dfe(0x16d)]('/')[0x1][_0x933dfe(0x236)]('\x22',''));let _0x831c92=Math[_0x933dfe(0x229)](_0x405e99/0xc),_0x5de41f=Math[_0x933dfe(0x229)](_0x405e99%0xc);const _0x21b608=_0x405e99-Math['floor'](_0x405e99);let _0x4f230e='';if(_0x21b608>0x0&&_0x2b7a48!==0x0){let _0x56cccb=Math['round'](_0x21b608*_0x1f9ac4);const _0x2586e9=(_0x22bcac,_0x155da7)=>_0x155da7?_0x2586e9(_0x155da7,_0x22bcac%_0x155da7):_0x22bcac,_0x3e7fc5=_0x2586e9(_0x56cccb,_0x1f9ac4);_0x4f230e='\x20'+_0x56cccb/_0x3e7fc5+'/'+_0x1f9ac4/_0x3e7fc5,_0x4f230e[_0x933dfe(0x144)]()===_0x933dfe(0x164)&&(_0x5de41f++,_0x5de41f>=0xc&&(_0x831c92++,_0x5de41f-=0xc),_0x4f230e='');}let _0x5d4de0='';return _0x831c92>0x0&&(_0x5d4de0+=_0x831c92+'\x27'),_0x831c92>0x0&&(_0x5de41f>0x0||_0x4f230e!=='')&&(_0x5d4de0+='-'),_0x5de41f>0x0&&(_0x5d4de0+=''+_0x5de41f),_0x4f230e!==''&&(_0x5d4de0+=_0x4f230e),(_0x5de41f>0x0||_0x4f230e!=='')&&(_0x5d4de0+='\x22'),_0x5d4de0[_0x933dfe(0x144)]();},Y=(_0x1d80c1,_0x182923)=>{const _0x583a57=_0x5f5b1e,_0x56672f=_0x1d80c1*0.0254;return u(_0x56672f,'m',_0x182923,_0x583a57(0x1ba));},X=(_0x499181,_0x142805)=>u(_0x499181,_0x142805,'m',_0x5f5b1e(0x1ba))/0.0254;class J extends HTMLElement{constructor(){const _0x2a9c57=_0x5f5b1e;super(),this[_0x2a9c57(0x150)]({'mode':_0x2a9c57(0x28a)}),this[_0x2a9c57(0x296)]=null,this[_0x2a9c57(0x18a)]='',this[_0x2a9c57(0xe7)]=_0x2a9c57(0x24e),console[_0x2a9c57(0x212)](_0x2a9c57(0x143));}[_0x5f5b1e(0x1a8)](){const _0x128af6=_0x5f5b1e;console[_0x128af6(0x212)](_0x128af6(0x1cf)),this[_0x128af6(0xb4)]=this[_0x128af6(0x20f)](_0x128af6(0xb4)),console[_0x128af6(0x212)](_0x128af6(0x29a),this[_0x128af6(0xb4)]),this[_0x128af6(0x114)](),this[_0x128af6(0x13c)]=this['getAttribute'](_0x128af6(0x24c)),console[_0x128af6(0x212)](_0x128af6(0x242),this[_0x128af6(0x13c)]),this['value']=this['parseValue'](this[_0x128af6(0x13c)],this[_0x128af6(0xb4)]),console[_0x128af6(0x212)]('Parsed\x20value:',this[_0x128af6(0x24c)]),this[_0x128af6(0x1b7)]=parseInt(this[_0x128af6(0x20f)]('decimal-places'))||0x2,this[_0x128af6(0x222)]=!this[_0x128af6(0xf8)](_0x128af6(0x1e0))||this[_0x128af6(0x20f)](_0x128af6(0x1e0))===_0x128af6(0x27d),console['log']('Initial\x20state:',{'unit':this['unit'],'value':this['value'],'unitCategory':this[_0x128af6(0x18a)],'decimalPlaces':this['decimalPlaces'],'showUnitArrow':this[_0x128af6(0x222)]}),this['render'](),this[_0x128af6(0x1e3)]();}[_0x5f5b1e(0x28d)](){const _0x5afa02=_0x5f5b1e;this[_0x5afa02(0x15b)]();}static get[_0x5f5b1e(0x1b2)](){const _0x4f0a71=_0x5f5b1e;return[_0x4f0a71(0x24c),_0x4f0a71(0xb4),_0x4f0a71(0x218),_0x4f0a71(0x1e0)];}[_0x5f5b1e(0x25e)](_0x16595a,_0x552e81,_0x31038f){const _0x421950=_0x5f5b1e;if(console[_0x421950(0x212)](_0x421950(0x156)+_0x16595a,{'oldValue':_0x552e81,'newValue':_0x31038f}),_0x16595a==='value')this[_0x421950(0x13c)]=_0x31038f||'0',this[_0x421950(0x24c)]=this[_0x421950(0x22d)](this[_0x421950(0x13c)],this[_0x421950(0xb4)]),console[_0x421950(0x212)](_0x421950(0x12d),this[_0x421950(0x24c)]);else{if(_0x16595a===_0x421950(0xb4)){const _0x42a89a=this[_0x421950(0xb4)],_0x139805=this[_0x421950(0x18a)];this[_0x421950(0xb4)]=_0x31038f||'mm',this['updateUnitCategory'](),_0x42a89a!==this[_0x421950(0xb4)]&&(_0x139805===this[_0x421950(0x18a)]?(console['log']('Converting\x20value:',{'from':_0x42a89a,'to':this['unit'],'value':this['value'],'unitCategory':this[_0x421950(0x18a)]}),this['value']=u({'value':this[_0x421950(0x24c)],'fromUnit':_0x42a89a,'toUnit':this[_0x421950(0xb4)],'unitCategory':this['unitCategory']})):console['log'](_0x421950(0xb5)),console['log'](_0x421950(0x18f),this[_0x421950(0x24c)]));}else _0x16595a===_0x421950(0x218)?(this[_0x421950(0x1b7)]=parseInt(_0x31038f)||0x2,console[_0x421950(0x212)](_0x421950(0x1c4),this['decimalPlaces'])):_0x16595a==='show-unit-arrow'&&(this[_0x421950(0x222)]=_0x31038f===null||_0x31038f===_0x421950(0x27d),console[_0x421950(0x212)](_0x421950(0x215),this[_0x421950(0x222)]));}this['render']();}[_0x5f5b1e(0x114)](){const _0x57c74c=_0x5f5b1e;console[_0x57c74c(0x212)]('updateUnitCategory\x20called\x20with\x20unit:',this[_0x57c74c(0xb4)]),this[_0x57c74c(0x18a)]=k(this[_0x57c74c(0xb4)]),console[_0x57c74c(0x212)](_0x57c74c(0x1b9),this[_0x57c74c(0x18a)]);}[_0x5f5b1e(0x22d)](_0x446051,_0x44709e){const _0x343b0f=_0x5f5b1e;if(console[_0x343b0f(0x212)](_0x343b0f(0x1ee),{'value':_0x446051,'unit':_0x44709e}),typeof _0x446051=='string'&&_0x446051[_0x343b0f(0x144)]()==='')return console[_0x343b0f(0x212)]('Empty\x20string\x20value,\x20returning\x200'),0x0;const _0x139611=_0x44709e===_0x343b0f(0x290)?D(_0x446051):parseFloat(_0x446051)||0x0;return console['log'](_0x343b0f(0x1ae),_0x139611),_0x139611;}[_0x5f5b1e(0x189)](){const _0x44d4e2=_0x5f5b1e;return this[_0x44d4e2(0xb4)]===_0x44d4e2(0x290)?C(this[_0x44d4e2(0x24c)]):O(this[_0x44d4e2(0x24c)],this[_0x44d4e2(0x1b7)]);}[_0x5f5b1e(0x187)](_0x1a7429){const _0x5444ac=_0x5f5b1e;if(_0x1a7429[_0x5444ac(0x171)]['tagName']===_0x5444ac(0x196)){const _0x202389=_0x1a7429['target']['value'];console[_0x5444ac(0x212)](_0x5444ac(0x20b),{'from':this[_0x5444ac(0xb4)],'to':_0x202389,'value':this[_0x5444ac(0x24c)],'unitCategory':this[_0x5444ac(0x18a)]}),this[_0x5444ac(0x24c)]=u(this[_0x5444ac(0x24c)],this['unit'],_0x202389,this[_0x5444ac(0x18a)]),console[_0x5444ac(0x212)]('Converted\x20value:',this[_0x5444ac(0x24c)]),this[_0x5444ac(0xb4)]=_0x202389,this[_0x5444ac(0x114)](),this['render']();}this[_0x5444ac(0x1f5)]();}['render'](){const _0x5df523=_0x5f5b1e,_0x54df7b=this[_0x5df523(0x189)]();this[_0x5df523(0x1c0)][_0x5df523(0x231)]=_0x5df523(0x128)+(this[_0x5df523(0x222)]?_0x5df523(0x29e):'none')+_0x5df523(0x124)+(this[_0x5df523(0x222)]?'auto':'none')+_0x5df523(0x1cb)+(this[_0x5df523(0x222)]?_0x5df523(0x29e):_0x5df523(0x136))+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/*\x20height:\x201.1em;\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select::-ms-expand\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20'+(this['showUnitArrow']?_0x5df523(0xcf):_0x5df523(0x136))+_0x5df523(0xc1)+_0x54df7b+_0x5df523(0xd6)+(U[this['unitCategory']]||[this[_0x5df523(0xb4)]])[_0x5df523(0x284)](_0x51396e=>_0x5df523(0x11e)+_0x51396e+'\x22\x20'+(_0x51396e===this[_0x5df523(0xb4)]?_0x5df523(0x22f):'')+_0x5df523(0x163)+_0x51396e+_0x5df523(0x28b))[_0x5df523(0x253)]('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(this['showUnitArrow']&&this['unitCategory']!=='Custom'?_0x5df523(0x297)+this[_0x5df523(0xe7)]+_0x5df523(0xc8):'')+_0x5df523(0x137),this[_0x5df523(0x1f5)]();}[_0x5f5b1e(0x1f5)](){const _0x265b20=_0x5f5b1e,_0x5c9a59=this[_0x265b20(0x1c0)][_0x265b20(0x232)](_0x265b20(0x28c));if(!_0x5c9a59)return;const _0x17009c=document[_0x265b20(0xf0)](_0x265b20(0xe2));_0x17009c[_0x265b20(0x1d5)][_0x265b20(0x26c)]=_0x265b20(0xed),_0x17009c[_0x265b20(0x1d5)]['position']=_0x265b20(0x27c),_0x17009c['style'][_0x265b20(0x149)]=_0x265b20(0x252),_0x17009c[_0x265b20(0x1d5)][_0x265b20(0x1c2)]=window[_0x265b20(0xf6)](_0x5c9a59)['font'],document[_0x265b20(0x172)][_0x265b20(0xc4)](_0x17009c),_0x17009c[_0x265b20(0x1ab)]=this[_0x265b20(0xb4)];const _0x4770e4=_0x17009c[_0x265b20(0x25f)];document['body'][_0x265b20(0x154)](_0x17009c);const _0x2e7e40=this[_0x265b20(0x222)]?0x10:0x6,_0x343cd7=this[_0x265b20(0x222)]?0x8:0x0;let _0x40db28=_0x4770e4+_0x2e7e40+_0x343cd7+0x2;_0x40db28=Math[_0x265b20(0x10c)](_0x40db28,0x1e),_0x5c9a59[_0x265b20(0x1d5)][_0x265b20(0x125)]=_0x40db28+'px';}[_0x5f5b1e(0x1e3)](){const _0x45024a=_0x5f5b1e;this['shadowRoot'][_0x45024a(0x19c)](_0x45024a(0x1df),this[_0x45024a(0x187)][_0x45024a(0x193)](this));const _0x3cdb76=this['shadowRoot'][_0x45024a(0x232)](_0x45024a(0xab));_0x3cdb76&&(_0x3cdb76['addEventListener'](_0x45024a(0x148),this[_0x45024a(0x1bc)][_0x45024a(0x193)](this)),_0x3cdb76[_0x45024a(0x19c)](_0x45024a(0x213),this[_0x45024a(0x21a)]['bind'](this)));}['removeEventListeners'](){const _0x5d650e=_0x5f5b1e;this[_0x5d650e(0x1c0)][_0x5d650e(0x135)](_0x5d650e(0x1df),this[_0x5d650e(0x187)]['bind'](this));const _0x188101=this[_0x5d650e(0x1c0)][_0x5d650e(0x232)](_0x5d650e(0xab));_0x188101&&(_0x188101[_0x5d650e(0x135)](_0x5d650e(0x148),this[_0x5d650e(0x1bc)][_0x5d650e(0x193)](this)),_0x188101[_0x5d650e(0x135)](_0x5d650e(0x213),this[_0x5d650e(0x21a)][_0x5d650e(0x193)](this)));}[_0x5f5b1e(0x1bc)](){const _0x144cb7=_0x5f5b1e,_0x4f1b2c=this[_0x144cb7(0x1c0)][_0x144cb7(0x232)](_0x144cb7(0x152));_0x4f1b2c&&(this[_0x144cb7(0x296)]=setTimeout(()=>{const _0x173e36=_0x144cb7;_0x4f1b2c['style'][_0x173e36(0xb1)]='block';},0x3e8));}['handleUnitContainerMouseOut'](){const _0x21deb4=_0x5f5b1e,_0x5293ed=this[_0x21deb4(0x1c0)][_0x21deb4(0x232)](_0x21deb4(0x152));_0x5293ed&&(setTimeout(()=>{const _0x12ca32=_0x21deb4;_0x5293ed[_0x12ca32(0x1d5)][_0x12ca32(0xb1)]='none';},0x7d0),clearTimeout(this[_0x21deb4(0x296)]));}}function _0x4bac(){const _0x217955=['lb·s/ft²','mmol','>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','1/1','m³/rev','mbar','petabit/s','509859yObyPa','gal(UK-imperial)/mile','m/s','$1T','bar/m','split','J/m','MM\x20Btu/ft³','ft²','target','body','kilobyte','J/(kg·°K)','gal(UK-imperial)','uc-qty-triplet','bushel(UK-imperial)/h','Wh/L','kilo-calorie(TH)/hour','N⋅mm/deg°','ampere-hour','MJ/km','in³/rev','lb/in','slug/h','faraday','lb-in/deg°','CFH[ft³/h]','kip[kilo\x20pound]','formatTripletValue','lb·s','kJ/L','handleUnitChange','N/m','formatDisplayValue','unitCategory','NM[M,\x20nmi,\x20or\x20nautical\x20mile]','g/mm²','620384CZaYvs','mm/s','New\x20value:','ft²/min','kJ/kg','tonne','bind','m²/m²','cm²','SELECT','pint(US-dry)','cd[candela]','L/h','lbm/ft³','oz/ft²','addEventListener','Wb[weber]','pebibit/s','oz/min','ksi','\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</span>\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20','kg/m/s','N⋅m/rad','N⋅m²/kg²','g/min','dWb','N·s/m²','connectedCallback','in/s','Btu/ton(short)','textContent','phot','parseTripletValues','Parsed\x20value:','kmol','W/(cm⋅°K)','yd³','observedAttributes','J/L','m/min²','kPa/m','mTorr/m','decimalPlaces','space','Updated\x20unit\x20category:','Length','kilo-calorie(IT)/hour','handleUnitContainerMouseOver','m²/hr','mph[mile/h]','nano[nm]','shadowRoot','Wh/kg','font','physical-quantity','New\x20decimal\x20places:','rad/s','N·s','kg/s','mol/s','kJ/m³','calorie(TH)',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20','fpm','eV[electron-volt]','bushel(US)/h','connectedCallback\x20called','</span>\x20x\x20','Pa/m','Sv[sievert]','ft³','mol','style','lm/sr','H[henry]','C[coulomb]','ksi/ft','W[watt]','kcal(IT)/m³','kilobit','cm²/hr','gal(US-liquid)','change','show-unit-arrow','ton(UK-Imperial/long)','kBd','attachEventListeners','lbm⋅in²','mm/s²','tebibyte','MBq','in²/hr','deg°/s','\x20<span\x20class=\x22unit-text\x22>','kcal(TH)/kg','mpg(UK)','Btu/(lbm·°F)','parseValue\x20called\x20with:','lbm/ft/s','slug','increment','1/min','render','J/minute','updateDropdownWidth','Wb/m²','ft⁴','cSt[mm²/s]','count','N⋅m/deg°','tagName','m³/kg/s²','gibibit/s','in\x20W.C./ft','slug/s','lb-ft','L/mile','S[siemens]','gigabyte','lbm/s','gpm(US)','yd²','g/mm³','updateCount','match','J/(g·°K)','handleUnitChange:','rev/s','gal(UK-imperial)/100mile','W/(m⋅°K)','getAttribute','kWh/100km','Btu/lbm','log','mouseout','e[electron]','Show\x20unit\x20arrow:','L/100mile','°Ra','decimal-places','11928780ikJtBT','handleUnitContainerMouseOut','deg°/s²','lbm','m³/rad','Pascal/m','L/km','BTU/(h⋅in⋅°F)','MJ/h','showUnitArrow','cal(IT)/L','cc/rev','Volt','$1K','pow','formatTriplet','floor','in\x20W.C./100\x20ft','toString','P[Poise]','parseValue','ton(US/short)','selected','mm/h','innerHTML','querySelector','psf','GJ/kg','lumen/ft²','replace','Wh/mile','format','psf/in','m\x20W.C./m','MM\x20Btu/h','µBq','megabyte','cup(Legal)','Wh/g','µkat','km/MJ','Initial\x20inputValue:','gal(US-liquid)/mile','lbm/in²','km³','slice',')</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','6MDyePN','mile/gal(US-liquid)','ksi[kip/in²]','mile/kWh','value','St[cm²/s]','https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/shared%2Fassets%2Fimages%2Fe3d-logo2.png?alt=media&token=7064f466-6168-4b8a-b921-4e86115cb492','Wh/m³','HP\x20Hour','J/kg','nowrap','join','L/100km','bushel(UK-imperial)','petabyte','kWh/100mile','warn','kat[katal]','GHz','mBq','deg°/min²','1/s','attributeChangedCallback','offsetWidth','toFixed','uc-qty','terabyte','in³','mm²/min','3784WddfJm','gal(US-liquid)/100mile','mm/min','CFM[ft³/min]','gal(US-liquid)/rev','mile/MJ','startsWith','visibility','MPa','g/cm³','ft²/hr','g/cm²','mSv','1/°K','cm\x20HG','m³/h','oz/s','Wh/km','kWh','bushel(US-dry)','hasParentheses','cp[candlepower(before\x201948)]','cp[candlepower]','absolute','true','cm³/min','mbar/mm','F[farad]','lumen/m²','comma','km/L','map','nWb','1169310bBtwiu','$1B','m\x20W.C.','Temperature','open','</option>','select','disconnectedCallback','CFH','oz⋅in²','ft-in','rad/min','Unit\x20is\x20undefined\x20or\x20null','bar','oz/yd²','psi','tooltipTimeout','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22tooltip\x22\x20href=\x22https://v2-docs.donwen.com/daily-calculations/unit-converter.html\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22Unit\x20Converter\x20for\x20All\x20Categories\x22\x20target=\x22_blank\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22','1/°F',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22quantity-triplet\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','Initial\x20unit:','thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]','terabit/s','fps[ft/second]','auto','kg/L','No\x20category\x20found\x20for\x20unit:\x20','MM\x20Btu','in/s²','kPa','gph(US)','kgf','.unit-container','g⋅mm²','kg/h','T[tesla]','values','Rd[rutherford]','display','km/s','kip-in','unit','Unit\x20category\x20changed,\x20keeping\x20original\x20value','kJ/minute','m³/s','$1M','uc-qty-pair','PI[Pa·s]','radian','lb-ft/deg°','calorie(TH)/second','Stoke','lbm/h','in\x20HG/ft',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20Custom\x20arrow\x20styles\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container::after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27▼\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.7em;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20right:\x200.3em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateX(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2012px;\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container:hover\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20underline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22value\x22>','psi/ft','deg°','appendChild','lbm·fps','byte','lbm/min','\x22\x20width=\x2212\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','in³/min','calorie(TH)/minute','joule/coulomb','ft³/s','.decrement','cal(IT)/g','block','lb-in','g/s','kibibit','MM\x20Btu/100km','abs','Category\x20found\x20for\x20unit\x20','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','foot-candle','Btu','atm','mile/MM\x20Btu','lb/ft','L/rev','L/s','gibibit','tebibit','rad/s²','in²/s','span','mebibit/s','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22increment\x22>+</button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','mpg(US)','mm\x20W.C./m','e3dLogoUrl','fps','minute','MBd','Torr/ft','m/h','hidden','</span>\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','Bq[becquerel]','createElement','lbm/yd²','kWh/m³','Ω[Ohm]','gal(US-dry)','km/kWh','getComputedStyle','1/16\x22','hasAttribute','.increment','MJ/100km','lb-ft/minute','kWh/kg','kNm','megabit','revolution','s[second]','kcal(IT)/kg','.count','cup(Metric)','gigabit','in³/s','endsWith','decrement','fluid\x20ounce(US-liquid)','km/min','includes','J/h','max','rad','kg⋅m²','Custom','MGy','Ampere[amp]','µm²','kilobit/s','updateUnitCategory','ft²/s','MM\x20Btu/100mile','lb-ft/rad','lbm/in³','cal(TH)/L','km/h','MJ/mile','m/s²','cWb','<option\x20value=\x22','cm³','CFM','terabit','kWh/mile','GBd',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20','width','mm\x20W.C.','lb-in/rad','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.value\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','kibibit/s','\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','m/J','ft/s²','New\x20value\x20parsed:','MJ/kg','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22values\x22>','kilo-calorie(IT)','MPGe','mm²/hr','cup(US-liquid)','calorie(IT)','removeEventListener','none','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x0a\x20\x20\x20\x20','position','in\x20HG','define','mm³','inputValue','formatPairValue','L/min','1/°C','cm²/min','getUnitCategory\x20called\x20with\x20unit:','g/h','PhysicalQuantity\x20constructor\x20called','trim','kHz','J/m³','J/C','mouseover','whiteSpace','g⋅cm²','MJ/100mile','cm⁴','203132oXYDLz','µm³','7651VnBEpJ','attachShadow','BTU/(h⋅ft⋅°F)','.tooltip','lbm/ft²','removeChild','petabit','attributeChangedCallback\x20called:\x20','long\x20ton/h','5wptVYU','mile/L','2206500SMnFPQ','removeEventListeners','1/°Ra','pint(UK-imperial)','J/(kg·°C)','Mkat','in\x20W.C.'];_0x4bac=function(){return _0x217955;};return _0x4bac();}class Z extends HTMLElement{constructor(){const _0x3b0033=_0x5f5b1e;super(),this[_0x3b0033(0x150)]({'mode':_0x3b0033(0x28a)}),this[_0x3b0033(0xaf)]=[],this['unit']='',this[_0x3b0033(0x18a)]='',this[_0x3b0033(0x1b7)]=0x2,this[_0x3b0033(0x222)]=!0x0;}[_0x5f5b1e(0x1a8)](){const _0x21f144=_0x5f5b1e;this[_0x21f144(0xb4)]=this['getAttribute']('unit')||'cm',this['values']=this[_0x21f144(0x20f)](_0x21f144(0xaf))[_0x21f144(0x16d)](',')[_0x21f144(0x284)](Number)[_0x21f144(0x284)](_0x29ea81=>this['parseValue'](_0x29ea81,this[_0x21f144(0xb4)])),this[_0x21f144(0x18a)]=k(this[_0x21f144(0xb4)]),this[_0x21f144(0x1b7)]=parseInt(this[_0x21f144(0x20f)](_0x21f144(0x218)))||0x2,this[_0x21f144(0x222)]=!this[_0x21f144(0xf8)](_0x21f144(0x1e0))||this['getAttribute']('show-unit-arrow')===_0x21f144(0x27d),this[_0x21f144(0x1f3)](),this[_0x21f144(0x1e3)]();}static get[_0x5f5b1e(0x1b2)](){const _0x54042a=_0x5f5b1e;return[_0x54042a(0xaf),_0x54042a(0xb4),_0x54042a(0x218),_0x54042a(0x1e0)];}[_0x5f5b1e(0x25e)](_0x2d77ab,_0x4718db,_0x2e261e){const _0x5f533b=_0x5f5b1e;if(_0x2d77ab==='values')this['values']=_0x2e261e[_0x5f533b(0x16d)](',')[_0x5f533b(0x284)](Number)[_0x5f533b(0x284)](_0xaba7c1=>this[_0x5f533b(0x22d)](_0xaba7c1,this[_0x5f533b(0xb4)]));else{if(_0x2d77ab===_0x5f533b(0xb4)){const _0x44216f=this[_0x5f533b(0xb4)];this['unit']=_0x2e261e,this[_0x5f533b(0x18a)]=k(_0x2e261e),_0x44216f!==_0x2e261e&&(this[_0x5f533b(0xaf)]=this['values']['map'](_0x2259ba=>u(_0x2259ba,_0x44216f,_0x2e261e,this[_0x5f533b(0x18a)])));}else _0x2d77ab===_0x5f533b(0x218)?this[_0x5f533b(0x1b7)]=parseInt(_0x2e261e)||0x2:_0x2d77ab===_0x5f533b(0x1e0)&&(this[_0x5f533b(0x222)]=_0x2e261e===null||_0x2e261e==='true');}this[_0x5f533b(0x1f3)]();}[_0x5f5b1e(0x1f3)](){const _0x6d6b8a=_0x5f5b1e,_0x1976fe=this[_0x6d6b8a(0xaf)]['map'](_0x3b31e1=>this[_0x6d6b8a(0x13d)](_0x3b31e1));this['shadowRoot'][_0x6d6b8a(0x231)]='\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity-pair\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.values\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20'+(this[_0x6d6b8a(0x222)]?_0x6d6b8a(0x29e):_0x6d6b8a(0x136))+_0x6d6b8a(0x124)+(this[_0x6d6b8a(0x222)]?_0x6d6b8a(0x29e):_0x6d6b8a(0x136))+_0x6d6b8a(0x1cb)+(this[_0x6d6b8a(0x222)]?_0x6d6b8a(0x29e):'none')+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity-pair\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22values\x22>('+_0x1976fe['join'](',\x20')+_0x6d6b8a(0x247)+(U[this[_0x6d6b8a(0x18a)]]||[this['unit']])[_0x6d6b8a(0x284)](_0x5986bf=>_0x6d6b8a(0x11e)+_0x5986bf+'\x22\x20'+(_0x5986bf===this['unit']?_0x6d6b8a(0x22f):'')+'>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5986bf+_0x6d6b8a(0x28b))[_0x6d6b8a(0x253)]('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20',this[_0x6d6b8a(0x1f5)]();}[_0x5f5b1e(0x1f5)](){const _0x245222=_0x5f5b1e,_0x2ce6af=this['shadowRoot'][_0x245222(0x232)](_0x245222(0x28c));if(!_0x2ce6af)return;const _0x596e98=document[_0x245222(0xf0)](_0x245222(0xe2));_0x596e98['style'][_0x245222(0x26c)]=_0x245222(0xed),_0x596e98[_0x245222(0x1d5)]['position']='absolute',_0x596e98[_0x245222(0x1d5)]['whiteSpace']=_0x245222(0x252),_0x596e98[_0x245222(0x1d5)]['font']=window[_0x245222(0xf6)](_0x2ce6af)[_0x245222(0x1c2)],document['body'][_0x245222(0xc4)](_0x596e98),_0x596e98[_0x245222(0x1ab)]=this[_0x245222(0xb4)];const _0x5cee49=_0x596e98[_0x245222(0x25f)];document[_0x245222(0x172)]['removeChild'](_0x596e98);const _0x51e6ed=this[_0x245222(0x222)]?0x10:0x6,_0x30f153=this['showUnitArrow']?0x8:0x0;let _0x45e5b2=_0x5cee49+_0x51e6ed+_0x30f153+0x2;_0x45e5b2=Math[_0x245222(0x10c)](_0x45e5b2,0x1e),_0x2ce6af[_0x245222(0x1d5)][_0x245222(0x125)]=_0x45e5b2+'px';}[_0x5f5b1e(0x1e3)](){const _0x2d8b2e=_0x5f5b1e;this['shadowRoot']['addEventListener'](_0x2d8b2e(0x1df),this['handleUnitChange'][_0x2d8b2e(0x193)](this));}['parseValue'](_0x344a2a,_0x4e296a){const _0x1ce87a=_0x5f5b1e;return _0x4e296a===_0x1ce87a(0x290)?D(_0x344a2a):parseFloat(_0x344a2a);}[_0x5f5b1e(0x13d)](_0x535cd3){const _0x5cf06f=_0x5f5b1e;return this[_0x5cf06f(0xb4)]===_0x5cf06f(0x290)?C(_0x535cd3):O(_0x535cd3,this['decimalPlaces']);}[_0x5f5b1e(0x187)](_0x20f812){const _0x1f298d=_0x5f5b1e;if(_0x20f812[_0x1f298d(0x171)][_0x1f298d(0x1fb)]===_0x1f298d(0x196)){const _0x842533=_0x20f812[_0x1f298d(0x171)][_0x1f298d(0x24c)];this[_0x1f298d(0xaf)]=this['values'][_0x1f298d(0x284)](_0x6e7b96=>u(_0x6e7b96,this[_0x1f298d(0xb4)],_0x842533,this[_0x1f298d(0x18a)])),this['unit']=_0x842533,this[_0x1f298d(0x1f3)]();}this[_0x1f298d(0x1f5)]();}}class tt extends HTMLElement{constructor(){const _0x1b7148=_0x5f5b1e;super(),this['attachShadow']({'mode':_0x1b7148(0x28a)}),this['values']=[],this['unit']='',this[_0x1b7148(0x18a)]='',this['decimalPlaces']=0x2,this['showUnitArrow']=!0x0,this[_0x1b7148(0x238)]='',this['hasParentheses']=!0x1;}['connectedCallback'](){const _0x468cce=_0x5f5b1e;this[_0x468cce(0xb4)]=this['getAttribute'](_0x468cce(0xb4))||'cm',this[_0x468cce(0x1ad)](this[_0x468cce(0x20f)](_0x468cce(0xaf))),this[_0x468cce(0x18a)]=k(this[_0x468cce(0xb4)]),this[_0x468cce(0x1b7)]=parseInt(this[_0x468cce(0x20f)](_0x468cce(0x218)))||0x2,this['showUnitArrow']=!this[_0x468cce(0xf8)](_0x468cce(0x1e0))||this['getAttribute'](_0x468cce(0x1e0))===_0x468cce(0x27d),this[_0x468cce(0x1f3)](),this[_0x468cce(0x1e3)]();}static get[_0x5f5b1e(0x1b2)](){const _0xaf9e7b=_0x5f5b1e;return['values','unit','decimal-places',_0xaf9e7b(0x1e0)];}[_0x5f5b1e(0x25e)](_0x2dcd7e,_0x470ca3,_0x398797){const _0x3b354f=_0x5f5b1e;if(_0x2dcd7e===_0x3b354f(0xaf))this[_0x3b354f(0x1ad)](_0x398797);else{if(_0x2dcd7e===_0x3b354f(0xb4)){const _0x2a52b1=this[_0x3b354f(0xb4)];this['unit']=_0x398797,this[_0x3b354f(0x18a)]=k(_0x398797),_0x2a52b1!==_0x398797&&(this[_0x3b354f(0xaf)]=this[_0x3b354f(0xaf)][_0x3b354f(0x284)](_0x2b39c4=>u(_0x2b39c4,_0x2a52b1,_0x398797,this['unitCategory'])));}else _0x2dcd7e===_0x3b354f(0x218)?this['decimalPlaces']=parseInt(_0x398797)||0x2:_0x2dcd7e===_0x3b354f(0x1e0)&&(this[_0x3b354f(0x222)]=_0x398797===null||_0x398797===_0x3b354f(0x27d));}this[_0x3b354f(0x1f3)]();}[_0x5f5b1e(0x22d)](_0x44fc48,_0x40dba5){const _0x3cb26c=_0x5f5b1e;return _0x40dba5===_0x3cb26c(0x290)?D(_0x44fc48):parseFloat(_0x44fc48);}[_0x5f5b1e(0x1ad)](_0x323983){const _0x4d334c=_0x5f5b1e;this[_0x4d334c(0x238)]='',this['hasParentheses']=_0x323983[_0x4d334c(0x26b)]('(')&&_0x323983[_0x4d334c(0x106)](')'),this[_0x4d334c(0x279)]&&(_0x323983=_0x323983[_0x4d334c(0x246)](0x1,-0x1)),_0x323983[_0x4d334c(0x10a)]('x')?(this[_0x4d334c(0xaf)]=_0x323983[_0x4d334c(0x16d)]('x')[_0x4d334c(0x284)](_0x2d1cb2=>this[_0x4d334c(0x22d)](_0x2d1cb2,this[_0x4d334c(0xb4)])),this[_0x4d334c(0x238)]='x'):_0x323983[_0x4d334c(0x10a)](',')?(this[_0x4d334c(0xaf)]=_0x323983[_0x4d334c(0x16d)](',')[_0x4d334c(0x284)](_0x4728f5=>_0x4728f5['trim']())[_0x4d334c(0x284)](_0x547262=>this[_0x4d334c(0x22d)](_0x547262,this[_0x4d334c(0xb4)])),this[_0x4d334c(0x238)]=_0x4d334c(0x282)):(this[_0x4d334c(0xaf)]=_0x323983[_0x4d334c(0x16d)](/\s+/)[_0x4d334c(0x284)](_0x56cc50=>this[_0x4d334c(0x22d)](_0x56cc50,this[_0x4d334c(0xb4)])),this[_0x4d334c(0x238)]=_0x4d334c(0x1b8));}[_0x5f5b1e(0x184)](_0x44518f){const _0x1b3012=_0x5f5b1e;return this['unit']===_0x1b3012(0x290)?C(_0x44518f):O(_0x44518f,this['decimalPlaces']);}[_0x5f5b1e(0x228)](_0xd8c3da){const _0x37ce79=_0x5f5b1e;let _0x4d2426='';const _0x425450=_0xd8c3da[_0x37ce79(0x284)](_0xa2740b=>this[_0x37ce79(0x184)](_0xa2740b));return this[_0x37ce79(0x238)]==='x'?_0x4d2426=_0x425450[0x0]+'\x20<span\x20class=\x22unit-text\x22>'+this[_0x37ce79(0xb4)]+_0x37ce79(0x1d0)+_0x425450[0x1]+_0x37ce79(0x1ea)+this[_0x37ce79(0xb4)]+_0x37ce79(0x1d0)+_0x425450[0x2]:this[_0x37ce79(0x238)]===_0x37ce79(0x282)?_0x4d2426=_0x425450[_0x37ce79(0x253)](',\x20'):_0x4d2426=_0x425450['join']('\x20'),_0x4d2426;}['render'](){const _0x4ffb5f=_0x5f5b1e,_0x3e9e27=this[_0x4ffb5f(0x228)](this[_0x4ffb5f(0xaf)]);this[_0x4ffb5f(0x1c0)][_0x4ffb5f(0x231)]='\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity-triplet\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.values\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-text,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20'+(this['showUnitArrow']?_0x4ffb5f(0x29e):_0x4ffb5f(0x136))+_0x4ffb5f(0x124)+(this[_0x4ffb5f(0x222)]?'auto':'none')+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20'+(this[_0x4ffb5f(0x222)]?_0x4ffb5f(0x29e):_0x4ffb5f(0x136))+_0x4ffb5f(0x299)+(this[_0x4ffb5f(0x279)]?'(':'')+_0x4ffb5f(0x12f)+_0x3e9e27+_0x4ffb5f(0xee)+(this[_0x4ffb5f(0x279)]&&this[_0x4ffb5f(0x238)]!=='x'?')':'')+_0x4ffb5f(0x12a)+(U[this['unitCategory']]||[this[_0x4ffb5f(0xb4)]])[_0x4ffb5f(0x284)](_0x2b5780=>_0x4ffb5f(0x11e)+_0x2b5780+'\x22\x20'+(_0x2b5780===this[_0x4ffb5f(0xb4)]?'selected':'')+'>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2b5780+_0x4ffb5f(0x28b))[_0x4ffb5f(0x253)]('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(this[_0x4ffb5f(0x279)]&&this[_0x4ffb5f(0x238)]==='x'?')':'')+_0x4ffb5f(0x1a1),this['updateDropdownWidth']();}[_0x5f5b1e(0x1f5)](){const _0x4fbfeb=_0x5f5b1e,_0x20e822=this[_0x4fbfeb(0x1c0)][_0x4fbfeb(0x232)](_0x4fbfeb(0x28c));if(!_0x20e822)return;const _0x2498be=document[_0x4fbfeb(0xf0)](_0x4fbfeb(0xe2));_0x2498be[_0x4fbfeb(0x1d5)][_0x4fbfeb(0x26c)]=_0x4fbfeb(0xed),_0x2498be[_0x4fbfeb(0x1d5)][_0x4fbfeb(0x138)]=_0x4fbfeb(0x27c),_0x2498be[_0x4fbfeb(0x1d5)][_0x4fbfeb(0x149)]=_0x4fbfeb(0x252),_0x2498be['style'][_0x4fbfeb(0x1c2)]=window['getComputedStyle'](_0x20e822)[_0x4fbfeb(0x1c2)],document[_0x4fbfeb(0x172)][_0x4fbfeb(0xc4)](_0x2498be),_0x2498be[_0x4fbfeb(0x1ab)]=this[_0x4fbfeb(0xb4)];const _0x2e6912=_0x2498be[_0x4fbfeb(0x25f)];document[_0x4fbfeb(0x172)][_0x4fbfeb(0x154)](_0x2498be);const _0x1c77b3=this['showUnitArrow']?0x10:0x6,_0x2adf5f=this[_0x4fbfeb(0x222)]?0x8:0x0;let _0x1a09c5=_0x2e6912+_0x1c77b3+_0x2adf5f+0x2;_0x1a09c5=Math[_0x4fbfeb(0x10c)](_0x1a09c5,0x1e),_0x20e822[_0x4fbfeb(0x1d5)][_0x4fbfeb(0x125)]=_0x1a09c5+'px';}[_0x5f5b1e(0x1e3)](){const _0x2c5a0d=_0x5f5b1e;this[_0x2c5a0d(0x1c0)][_0x2c5a0d(0x19c)](_0x2c5a0d(0x1df),this[_0x2c5a0d(0x187)][_0x2c5a0d(0x193)](this));}[_0x5f5b1e(0x187)](_0x4ce81a){const _0x437be5=_0x5f5b1e;if(_0x4ce81a[_0x437be5(0x171)][_0x437be5(0x1fb)]===_0x437be5(0x196)){const _0xd37aae=_0x4ce81a[_0x437be5(0x171)]['value'];this[_0x437be5(0xaf)]=this[_0x437be5(0xaf)][_0x437be5(0x284)](_0x1f4c25=>u(_0x1f4c25,this['unit'],_0xd37aae,this['unitCategory'])),this[_0x437be5(0xb4)]=_0xd37aae,this[_0x437be5(0x1f3)]();}this[_0x437be5(0x1f5)]();}}class et extends HTMLElement{constructor(){const _0x23f72a=_0x5f5b1e;super(),this[_0x23f72a(0x150)]({'mode':_0x23f72a(0x28a)}),this[_0x23f72a(0x1f9)]=0x0;}['connectedCallback'](){const _0x49d0e5=_0x5f5b1e;this[_0x49d0e5(0x1f3)](),this['attachEventListeners']();}[_0x5f5b1e(0x1f3)](){const _0x184161=_0x5f5b1e;this[_0x184161(0x1c0)][_0x184161(0x231)]='\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20Arial,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.counter\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x201px\x20solid\x20#ccc;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20button\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2016px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.count\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2018px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22counter\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22decrement\x22>-</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22count\x22>'+this[_0x184161(0x1f9)]+_0x184161(0xe4);}[_0x5f5b1e(0x1e3)](){const _0x476ea6=_0x5f5b1e,_0x3f2436=this[_0x476ea6(0x1c0)]['querySelector'](_0x476ea6(0xf9)),_0x51c2ee=this[_0x476ea6(0x1c0)]['querySelector'](_0x476ea6(0xcd));_0x3f2436['addEventListener']('click',()=>this[_0x476ea6(0x1f1)]()),_0x51c2ee[_0x476ea6(0x19c)]('click',()=>this[_0x476ea6(0x107)]());}['increment'](){const _0xb0d70c=_0x5f5b1e;this[_0xb0d70c(0x1f9)]++,this[_0xb0d70c(0x208)]();}[_0x5f5b1e(0x107)](){const _0x468efc=_0x5f5b1e;this[_0x468efc(0x1f9)]--,this['updateCount']();}[_0x5f5b1e(0x208)](){const _0x3ac2fd=_0x5f5b1e,_0x467737=this['shadowRoot'][_0x3ac2fd(0x232)](_0x3ac2fd(0x102));_0x467737[_0x3ac2fd(0x1ab)]=this['count'];}}const A=(_0x1cb543,_0x44e1a3)=>{const _0x4cd26c=_0x5f5b1e;typeof window<'u'&&!customElements['get'](_0x1cb543)&&customElements[_0x4cd26c(0x13a)](_0x1cb543,_0x44e1a3);};A(_0x5f5b1e(0x1c3),J),A(_0x5f5b1e(0x261),class extends J{}),A(_0x5f5b1e(0xb9),Z),A(_0x5f5b1e(0x176),tt),A('new-component-1',et);export{et as NewComponent1,J as PhysicalQuantity,Z as UcQtyPair,tt as UcQtyTriplet};
|
package/dist/pq.umd.js
CHANGED
|
@@ -1,238 +1 @@
|
|
|
1
|
-
(function(u,A){typeof exports=="object"&&typeof module<"u"?A(exports):typeof define=="function"&&define.amd?define(["exports"],A):(u=typeof globalThis<"u"?globalThis:u||self,A(u.PQWebComponents={}))})(this,function(u){"use strict";const o=.45359237,r=9.80665,H=5280,a=25.4/1e3,n=12*a,W=1852,Q=66*660,p=4.54609,g=231,I=268.8025,f=1/8,F=1/20,j=1/16,_=8,B=8,Y=1/16,X=240,Z=250,tt=10,N=14.59390294,w=1055.05585262,y=4.1868,b=4.184,R=550*o*r*n,C=101325,$=1/760,U=133.322387415,et=624150974e10,k={Length:["m","nano[nm]","µm","micron","mm","cm","dm","km","in","ft-in","thou[mil, or thousandth of an inch]","ft","yd","mile","NM[M, nmi, or nautical mile]"],Mass:["kg","g","mg","µg","oz","lbm","slug","ton(US/short)","ton(UK-Imperial/long)","tonne"],Time:["s[second]","s","minute","h","h[hour]","day","week"],ElectricalCurrent:["A","Ampere[amp]","mA","µA","kA","MA","esu/s"],Temperature:["°K","°C","°F","°Ra"],"Amount of Substance":["mol","mmol","kmol"],"Luminous Intensity":["cd[candela]","lm/sr","cp[candlepower]","cp[candlepower(before 1948)]"],Acceleration:["m/s²","m/min²","mm/s²","ft/s²","ft/min²","in/s²"],"Gravitational Constant":["m³/kg/s²","N⋅m²/kg²","dyn⋅cm²/g²"],"Velocity (Angular)":["rad/s","rad/min","rad/h","deg°/s","deg°/min","deg°/h","rpm[rev/min]","rev/s"],"Acceleration (Angular)":["rad/s²","rad/min²","deg°/s²","deg°/min²"],Illuminance:["lux","lumen/m²","lm/m²","meter-candle","phot","foot-candle","fc","lumen/ft²","lm/ft²"],Frequency:["Hz","1/s","1/min","rpm","1/hour","mHz","kHz","MHz","GHz"],Area:["m²","µm²","mm²","cm²","km²","hectare","in²","ft²","yd²","acre","mile²"],"Volume / Section Modulus":["m³","µm³","mm³","cm³","L","mL","km³","in³","ft³","yd³","gal(UK-imperial)","gal(US-liquid)","gal(US-dry)","pint(UK-imperial)","pint(US-liquid)","pint(US-dry)","fluid ounce(UK-imperial)","fluid ounce(US-liquid)","bushel(UK-imperial)","bushel(US-dry)","cup(US-liquid)","cup(Legal)","cup(Metric)","cup(Imperial)"],"Polar Moment of Inertia":["m⁴","mm⁴","cm⁴","in⁴","ft⁴"],"Moment of Inertia":["kg⋅m²","g⋅cm²","g⋅mm²","lbm⋅ft²","lbm⋅in²","oz⋅in²"],Force:["N","kN","MN","kgf","lb","lbf","kip[kilo pound]"],Angle:["radian","rad","deg°","revolution"],"Solid Angle":["sr[steradian]","m²/m²"],"BMI-Body Mass Index/Ballistic Coefficient":["kg/m²","g/cm²","g/mm²","tonne/m²","lbm/yd²","lbm/ft²","lbm/in²","oz/yd²","oz/ft²","oz/in²"],Density:["kg/m³","kg/L","g/cm³","g/mm³","lbm/ft³","lbm/in³"],Energy:["J[Joule]","kJ","MJ","GJ","TNT Equivalent[kiloton]","Btu","MM Btu","calorie(IT)","kilo-calorie(IT)","calorie(TH)","kilo-calorie(TH)","HP Hour","Wh","kWh","eV[electron-volt]"],Power:["W[watt]","kW","MW","GW[Gigawatt]","Btu/h","Btu/minute","MM Btu/h","calorie(IT)/second","calorie(IT)/minute","kilo-calorie(IT)/hour","calorie(TH)/second","calorie(TH)/minute","kilo-calorie(TH)/hour","lb-ft/second","lb-ft/minute","HP","J/second","J/minute","J/h","MJ/h","kJ/minute"],"Torque, Moment of Force":["Nm","kNm","lb-in","kip-in","lb-ft","oz-in","oz-ft"],"Pressure/Stress":["Pa","kPa","MPa","GPa","bar","mbar","atm","mm HG","cm HG","in HG","mm W.C.","m W.C.","in W.C.","psf","psi","ksi","ksi[kip/in²]"],"Pressure Drop per Unit Length":["Pa/m","Pascal/m","kPa/m","MPa/km","bar/m","mbar/mm","atm/m","mm HG/m","in HG/ft","mm W.C./m","m W.C./m","in W.C./ft","in W.C./100 ft","psf/in","psi/ft","ksi/ft","Torr/ft","mTorr/m"],"Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring":["N/m","N/mm","kN/m","lb/ft","kips/ft","lb/in"],"Stiffness of Rotary Spring":["N⋅m/rad","N⋅m/deg°","N⋅mm/rad","N⋅mm/deg°","lb-ft/rad","lb-ft/deg°","lb-in/rad","lb-in/deg°"],"Flow Rate (Volume)":["m³/s","m³/min","m³/h","L/s","L/min","L/h","cm³/s","cm³/min","in³/s","in³/min","ft³/s","CFM","CFM[ft³/min]","CFH","CFH[ft³/h]","yd³/min","yd³/h","gpm(US)","gph(US)","bushel(UK-imperial)/h","bushel(US)/h"],"Flow Rate (Mass)":["kg/s","kg/min","kg/h","g/s","g/min","g/h","slug/s","slug/min","slug/h","lbm/s","lbm/min","lbm/h","oz/s","oz/min","oz/h","tonne/h","short ton/h","long ton/h"],"Speed / Velocity (Linear)":["m/s","mm/s","km/s","mm/min","m/min","km/min","mm/h","m/h","km/h","in/s","fps","fps[ft/second]","fpm","fpm[ft/minute]","mph[mile/h]","knot[kn, kt, or nautical mile/h]"],"Fuel Heat Value (Volume)":["J/m³","J/L","kJ/L","kJ/m³","MJ/m³","GJ/m³","cal(IT)/L","kcal(IT)/m³","cal(TH)/L","kcal(TH)/m³","Wh/L","Wh/m³","kWh/m³","HP Hour/ft³","Btu/gal(US)","Btu/ft³","MM Btu/ft³"],"Fuel Heat Value (Mass)":["J/kg","J/g","kJ/kg","MJ/kg","GJ/kg","cal(IT)/g","kcal(IT)/kg","cal(TH)/g","kcal(TH)/kg","Wh/g","Wh/kg","kWh/kg","HP Hour/lbm","Btu/lbm","MM Btu/lbm","Btu/ton(short)"],"Mass Heat Capacity":["J/(kg·°K)","J/(kg·°C)","J/(g·°K)","J/(g·°C)","Btu/(lbm·°F)"],"Viscosity - Absolute/Dynamic(μ)":["PI[Pa·s]","N·s/m²","kg/m/s","P[Poise]","cP","lb·s/ft²","lbm/ft/s"],"Viscosity - Kinematic":["m²/s","m²/min","m²/hr","St[cm²/s]","Stoke","cm²/min","cm²/hr","cSt[mm²/s]","mm²/min","mm²/hr","ft²/s","ft²/min","ft²/hr","in²/s","in²/min","in²/hr"],"Linear Thermal Expansion Coefficient":["1/°K","1/°C","1/°F","1/°Ra"],"Thermal Conductivity":["W/(m⋅°K)","W/(cm⋅°K)","BTU/(h⋅ft⋅°F)","BTU/(h⋅in⋅°F)"],"Electrical Charge":["C[coulomb]","Ah","ampere-hour","mAh","e[electron]","faraday"],"Electrical Potential Difference (Voltage)":["V","Volt","joule/coulomb","J/C","µV","mV","kV","MV"],"Electrical Resistance(Impedance)":["Ω[Ohm]","µΩ","mΩ","kΩ","MΩ"],"Electrical Capacitance":["F[farad]","pF","nF","µF","mF"],"Electrical Inductance":["H[henry]","µH","mH"],"Electrical Conductance":["S[siemens]","℧","µS","mS","kS"],"Magnetic Flux":["Wb[weber]","nWb","µWb","mWb","cWb","dWb"],"Luminous Flux":["lm[lumen]","cd⋅sr"],"Magnetic Flux Density":["T[tesla]","Wb/m²","µT","G","mT"],"Katalytic Activity":["kat[katal]","mol/s","µkat","mkat","kkat","Mkat"],Radioactivity:["Bq[becquerel]","1/s","µBq","mBq","kBq","MBq","Rd[rutherford]","Ci[curie]"],"Absorbed Dose of Ionizing Radiation":["Gy[gray]","J/kg","µGy","mGy","kGy","MGy"],"Equivalent Dose of Ionizing Radiation":["Sv[sievert]","J/kg","µSv","mSv","kSv","MSv"],"Volumetric Displacement":["m³/rad","m³/rev","L/rev","cc/rev","ft³/rev","in³/rev","gal(US-liquid)/rev"],"Fuel Economy":["km/L","mpg(US)","mile/gal(US-liquid)","mpg(UK)","mile/gal(UK-imperial)","mile/L"],"Fuel Consumption":["m³/m","L/km","L/100km","L/mile","L/100mile","gal(US-liquid)/mile","gal(US-liquid)/100mile","gal(UK-imperial)/mile","gal(UK-imperial)/100mile"],"New Energy Economy (MPGe)":["m/J","km/kWh","km/MJ","MPGe","mile/MJ","mile/kWh","mile/MM Btu"],"New Energy Consumption":["J/m","Wh/km","Wh/mile","kWh/km","kWh/100km","kWh/mile","kWh/100mile","MJ/km","MJ/100km","MJ/mile","MJ/100mile","MM Btu/km","MM Btu/100km","MM Btu/mile","MM Btu/100mile"],"Baud Rate":["bit/s","Bd","kBd","MBd","GBd"],Currency:["$","¢","$1K","$1M","$1B","$1T"],"Impulse / Momentum":["N·s","Newton-second","lb·s","kg·m/s","lbm·fps","lbm·fpm"],"Digital Storage":["bit","kilobit","kibibit","megabit","mebibit","gigabit","gibibit","terabit","tebibit","petabit","pebibit","byte","kilobyte","kibibyte","megabyte","mebibyte","gigabyte","gibibyte","terabyte","tebibyte","petabyte","pebibyte"],"Data Transfer Rate":["bit/s","kilobit/s","kibibit/s","megabit/s","mebibit/s","gigabit/s","gibibit/s","terabit/s","tebibit/s","petabit/s","pebibit/s"]},M={Length:{m:1,"nano[nm]":1/1e9,µm:1/1e6,micron:1/1e6,mm:1/1e3,cm:.01,dm:.1,km:1e3,in:a,"thou[mil, or thousandth of an inch]":a/1e3,"ft-in":a,ft:n,yd:3*n,mile:H*n,"NM[M, nmi, or nautical mile]":W},Mass:{kg:1,g:.001,mg:1/1e6,µg:1/1e9,oz:1/16*o,lbm:o,slug:N,"ton(US/short)":2e3*o,"ton(UK-Imperial/long)":2240*o,tonne:1e3},Time:{"s[second]":1,s:1,minute:60,h:3600,"h[hour]":3600,day:3600*24,week:3600*24*7},ElectricalCurrent:{A:1,"Ampere[amp]":1,mA:.001,µA:1e-6,kA:1e3,MA:1e6,"esu/s":1/3e9},Temperature:{"°K":{c0:1,c1:0},"°C":{c0:1,c1:273.15},"°F":{c0:5/9,c1:255.3722222},"°Ra":{c0:5/9,c1:0}},"Amount of Substance":{mol:1,mmol:.001,kmol:1e3},"Luminous Intensity":{"cd[candela]":1,"lm/sr":1,"cp[candlepower]":1,"cp[candlepower(before 1948)]":.981},Acceleration:{"m/s²":1,"m/min²":1/3600,"mm/s²":.001,"ft/s²":n,"ft/min²":n/3600,"in/s²":a},"Gravitational Constant":{"m³/kg/s²":1,"N⋅m²/kg²":1,"dyn⋅cm²/g²":1e3},"Velocity (Angular)":{"rad/s":1,"rad/min":1/60,"rad/h":1/3600,"deg°/s":Math.PI/180,"deg°/min":Math.PI/180/60,"deg°/h":Math.PI/180/3600,"rpm[rev/min]":2*Math.PI/60,"rev/s":2*Math.PI},"Acceleration (Angular)":{"rad/s²":1,"rad/min²":1/3600,"deg°/s²":Math.PI/180,"deg°/min²":Math.PI/180/3600},Illuminance:{lux:1,"lumen/m²":1,"lm/m²":1,"meter-candle":1,phot:1e4,"foot-candle":1/Math.pow(n,2),fc:1/Math.pow(n,2),"lumen/ft²":1/Math.pow(n,2),"lm/ft²":1/Math.pow(n,2)},Frequency:{Hz:1,"1/s":1,"1/min":1/60,rpm:1/60,"1/hour":1/3600,mHz:1/1e3,kHz:1e3,MHz:1e6,GHz:1e9},Area:{"m²":1,"µm²":Math.pow(1/1e6,2),"mm²":Math.pow(1/1e3,2),"cm²":Math.pow(1/100,2),"km²":1e6,hectare:Math.pow(100,2),"in²":Math.pow(a,2),"ft²":Math.pow(n,2),"yd²":Math.pow(n*3,2),acre:Q*Math.pow(n,2),"mile²":Math.pow(H*n,2)},"Volume / Section Modulus":{"m³":1,"µm³":Math.pow(1/1e6,3),"mm³":Math.pow(1/1e3,3),"cm³":Math.pow(1/100,3),L:1/1e3,mL:1/1e6,"km³":Math.pow(1e3,3),"in³":Math.pow(a,3),"ft³":Math.pow(n,3),"yd³":Math.pow(n*3,3),"gal(UK-imperial)":p*1/1e3,"gal(US-liquid)":g*Math.pow(a,3),"gal(US-dry)":I*Math.pow(a,3),"pint(UK-imperial)":f*p*1/1e3,"pint(US-liquid)":f*g*Math.pow(a,3),"pint(US-dry)":f*I*Math.pow(a,3),"fluid ounce(UK-imperial)":F*f*p/1e3,"fluid ounce(US-liquid)":j*f*g*Math.pow(a,3),"bushel(UK-imperial)":_*p/1e3,"bushel(US-dry)":B*I*Math.pow(a,3),"cup(US-liquid)":Y*g*Math.pow(a,3),"cup(Legal)":X*Math.pow(.01,3),"cup(Metric)":Z*Math.pow(.01,3),"cup(Imperial)":tt*F*f*p/1e3},"Polar Moment of Inertia":{"m⁴":1,"mm⁴":1e-12,"cm⁴":1e-8,"in⁴":Math.pow(a,4),"ft⁴":Math.pow(n,4)},"Moment of Inertia":{"kg⋅m²":1,"g⋅cm²":1/(1e3*1e4),"g⋅mm²":1/(1e3*1e6),"lbm⋅ft²":o*Math.pow(n,2),"lbm⋅in²":o*Math.pow(a,2),"oz⋅in²":o/16*Math.pow(a,2)},Force:{N:1,kN:1e3,MN:1e6,kgf:r,lb:o*r,lbf:o*r,"kip[kilo pound]":1e3*o*r},Angle:{radian:1,rad:1,"deg°":Math.PI/180,revolution:Math.PI*2},"Solid Angle":{"sr[steradian]":1,"m²/m²":1},"BMI-Body Mass Index/Ballistic Coefficient":{"kg/m²":1,"g/cm²":1/1e3/Math.pow(.01,2),"g/mm²":1/1e3/Math.pow(.001,2),"tonne/m²":1e3,"lbm/yd²":o/Math.pow(n*3,2),"lbm/ft²":o/Math.pow(n,2),"lbm/in²":o/Math.pow(a,2),"oz/yd²":o/16/Math.pow(3*n,2),"oz/ft²":o/16/Math.pow(n,2),"oz/in²":o/16/Math.pow(a,2)},Density:{"kg/m³":1,"kg/L":1e3,"g/cm³":1/1e3/Math.pow(.01,3),"g/mm³":1/1e3/Math.pow(.001,3),"lbm/ft³":o/Math.pow(n,3),"lbm/in³":o/Math.pow(a,3)},Energy:{"J[Joule]":1,kJ:1e3,MJ:1e6,GJ:1e9,"TNT Equivalent[kiloton]":1e9*b,Btu:w,"MM Btu":w*1e6,"calorie(IT)":y,"kilo-calorie(IT)":y*1e3,"calorie(TH)":b,"kilo-calorie(TH)":b*1e3,"HP Hour":R*3600,Wh:3600,kWh:3600*1e3,"eV{electron-volt]":1/et},Power:{"W[watt]":1,kW:1e3,MW:1e6,"GW[Gigawatt]":1e9,"Btu/h":w/3600,"Btu/minute":w/60,"MM Btu/h":w*1e6/3600,"calorie(IT)/second":y,"calorie(IT)/minute":y/60,"kilo-calorie(IT)/hour":y*1e3/3600,"calorie(TH)/second":b,"calorie(TH)/minute":b/60,"kilo-calorie(TH)/hour":b*1e3/3600,"lb-ft/second":o*r*n,"lb-ft/minute":o*r*n/60,HP:R,"J/second":1,"J/minute":1/60,"J/h":1/3600,"MJ/h":1e6/3600,"kJ/minute":1e3/60},"Torque, Moment of Force":{Nm:1,kNm:1e3,"lb-in":o*r*a,"kip-in":1e3*o*r*a,"lb-ft":o*r*n,"oz-in":o/16*r*a,"oz-ft":o/16*r*n},"Pressure/Stress":{Pa:1,kPa:1e3,MPa:1e6,GPa:1e9,bar:100*1e3,mbar:100,atm:C,"mm HG":U,"cm HG":U*10,"in HG":U*25.4,"mm W.C.":1/1e3*1e3*r,"m W.C.":1*1e3*r,"in W.C.":a*1e3*r,psf:o*r/Math.pow(n,2),psi:o*r/Math.pow(a,2),ksi:o*r/Math.pow(a,2)*1e3,"ksi{kip/in²]":o*r/Math.pow(a,2)*1e3},"Pressure Drop per Unit Length":{"Pa/m":1,"Pascal/m":1,"kPa/m":1e3,"MPa/km":1e6/1e3,"bar/m":1e5,"mbar/mm":100*1e3,"atm/m":C,"mm HG/m":U,"in HG/ft":U*25.4/n,"mm W.C./m":1/1e3*1e3*r,"m W.C./m":1e3*r,"in W.C./ft":a*1e3*r/n,"in W.C./100 ft":a*1e3*r/n/100,"psf/in":o*r/Math.pow(n,2)/a,"psi/ft":o*r/Math.pow(n,2)/n,"ksi/ft":o*r/Math.pow(n,2)/n*1e3,"Torr/ft":$*C/n,"mTorr/m":$*C/1e3},"Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring":{"N/m":1,"N/mm":1e3,"kN/m":1e3,"lb/ft":o*r/n,"kips/ft":1e3*o*r/n,"lb/in":o*r/a},"Stiffness of Rotary Spring":{"N⋅m/rad":1,"N⋅m/deg°":1/Math.PI*180,"N⋅mm/rad":1/1e3,"N⋅mm/deg°":1/1e3/Math.PI*180,"lb-ft/rad":o*r*n,"lb-ft/deg°":o*r*n/(Math.PI/180),"lb-in/rad":o*r*a,"lb-in/deg°":o*r*a/(Math.PI/180)},"Flow Rate (Volume)":{"m³/s":1,"m³/min":1/60,"m³/h":1/3600,"L/s":1/1e3,"L/min":1/1e3/60,"L/h":1/1e3/3600,"cm³/s":1e-6,"cm³/min":1e-6/60,"in³/s":Math.pow(a,3),"in³/min":Math.pow(a,3)/60,"ft³/s":Math.pow(n,3),CFM:Math.pow(n,3)/60,"CFM[ft³/min]":Math.pow(n,3)/60,CFH:Math.pow(n,3)/3600,"CFH[ft³/h]":Math.pow(n,3)/3600,"yd³/min":Math.pow(n*3,3)/60,"yd³/h":Math.pow(n*3,3)/3600,"gpm(US)":g*Math.pow(a,3)/60,"gph(US)":g*Math.pow(a,3)/3600,"bushel(UK-imperial)/h":_*p/1e3/3600,"bushel(US)/h":B*I*Math.pow(a,3)/3600},"Flow Rate (Mass)":{"kg/s":1,"kg/min":1/60,"kg/h":1/3600,"g/s":1/1e3,"g/min":1/1e3/60,"g/h":1/1e3/3600,"slug/s":N,"slug/min":N/60,"slug/h":N/3600,"lbm/s":o,"lbm/min":o/60,"lbm/h":o/3600,"oz/s":o/16,"oz/min":o/16/60,"oz/h":o/16/3600,"tonne/h":1e3/3600,"short ton/h":2e3*o/3600,"long ton/h":2240*o/3600},"Speed / Velocity (Linear)":{"m/s":1,"mm/s":1/1e3,"km/s":1,"mm/min":1/1e3/60,"m/min":1/60,"km/min":1e3/60,"mm/h":1/1e3/3600,"m/h":1/3600,"km/h":1e3/3600,"in/s":a,fps:n,"fps[ft/second]":n,fpm:n/60,"fpm[ft/minute]":n/60,"mph[mile/h]":H*n/3600,"knot[kn, kt, or nautical mile/h]":W/3600},"Electrical Potential Difference (Voltage)":{V:1,Volt:1,"joule/coulomb":1,"J/C":1,µV:1/1e6,mV:1/1e3,kV:1e3,MV:1e6}},L=l=>{if(console.log("getUnitCategory called with unit:",l),!l)return console.warn("Unit is undefined or null"),"Custom";for(const t in k)if(k[t].includes(l))return console.log(`Category found for unit ${l}:`,t),t;return console.warn(`No category found for unit: ${l}`),"Custom"},d=(l,t,e,i)=>{if(t==="ft-in"&&e!=="ft-in")return it(l,e);if(t!=="ft-in"&&e==="ft-in")return nt(l,t);if(i!=="Temperature"){const s=M[i][t]/M[i][e];return l*s}else{const s=M[i][t].c0,m=M[i][t].c1,c=M[i][e].c0,h=M[i][e].c1;return(l*s+m-h)/c}},O=(l,t)=>{let e;if(Number.isInteger(l)?e=l.toString():e=l.toFixed(t).replace(/\.?0+$/,""),Math.abs(parseFloat(e))>=1e3){const i=e.split(".");i[0]=i[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e=i.join(".")}return e},P=l=>{const t=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,e=/(\d+)\'/,i=/(\d+)/;let s=l.match(t);if(s){const m=parseInt(s[1])||0,c=parseInt(s[3])||0,h=parseInt(s[5])||0,v=parseInt(s[6])||1;return D(m,c,h,v)}if(s=l.match(e),s){const m=parseInt(s[1])||0;return D(m,0,0,1)}if(s=l.match(i),s){const m=parseInt(s[1])||0;return D(0,m,0,1)}return parseFloat(l)},D=(l,t,e,i)=>l*12+t+e/i,S=(l,t='1/16"')=>{if(l<0)return`-${S(-l,t)}`;const e=parseInt(t.split("/")[1].replace('"',""));let i=Math.floor(l/12),s=Math.floor(l%12);const m=l-Math.floor(l);let c="";if(m>0&&t!==0){let v=Math.round(m*e);const q=(K,x)=>x?q(x,K%x):K,z=q(v,e);c=` ${v/z}/${e/z}`,c.trim()==="1/1"&&(s++,s>=12&&(i++,s-=12),c="")}let h="";return i>0&&(h+=`${i}'`),i>0&&(s>0||c!=="")&&(h+="-"),s>0&&(h+=`${s}`),c!==""&&(h+=c),(s>0||c!=="")&&(h+='"'),h.trim()},it=(l,t)=>{const e=l*.0254;return d(e,"m",t,"Length")},nt=(l,t)=>d(l,t,"m","Length")/.0254;class E extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.tooltipTimeout=null,this.unitCategory="",this.e3dLogoUrl="https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/shared%2Fassets%2Fimages%2Fe3d-logo2.png?alt=media&token=7064f466-6168-4b8a-b921-4e86115cb492",this.unit="",this.value=0,console.log("PhysicalQuantity constructor called")}connectedCallback(){console.log("connectedCallback called"),this.unit=this.getAttribute("unit")||"mm",console.log("Initial unit:",this.unit),this.updateUnitCategory(),this.inputValue=this.getAttribute("value")||"0",console.log("Initial inputValue:",this.inputValue),this.value=this.parseValue(this.inputValue,this.unit),console.log("Parsed value:",this.value),this.decimalPlaces=parseInt(this.getAttribute("decimal-places"))||2,this.showUnitArrow=!this.hasAttribute("show-unit-arrow")||this.getAttribute("show-unit-arrow")==="true",console.log("Initial state:",{unit:this.unit,value:this.value,unitCategory:this.unitCategory,decimalPlaces:this.decimalPlaces,showUnitArrow:this.showUnitArrow}),this.render(),this.attachEventListeners()}disconnectedCallback(){this.removeEventListeners()}static get observedAttributes(){return["value","unit","decimal-places","show-unit-arrow"]}attributeChangedCallback(t,e,i){if(console.log(`attributeChangedCallback called: ${t}`,{oldValue:e,newValue:i}),t==="value")this.inputValue=i||"0",this.value=this.parseValue(this.inputValue,this.unit),console.log("New value parsed:",this.value);else if(t==="unit"){const s=this.unit,m=this.unitCategory;this.unit=i||"mm",this.updateUnitCategory(),s!==this.unit&&(m===this.unitCategory?(console.log("Converting value:",{from:s,to:this.unit,value:this.value,unitCategory:this.unitCategory}),this.value=d({value:this.value,fromUnit:s,toUnit:this.unit,unitCategory:this.unitCategory})):console.log("Unit category changed, keeping original value"),console.log("New value:",this.value))}else t==="decimal-places"?(this.decimalPlaces=parseInt(i)||2,console.log("New decimal places:",this.decimalPlaces)):t==="show-unit-arrow"&&(this.showUnitArrow=i===null||i==="true",console.log("Show unit arrow:",this.showUnitArrow));this.render()}updateUnitCategory(){console.log("updateUnitCategory called with unit:",this.unit),this.unitCategory=L(this.unit),console.log("Updated unit category:",this.unitCategory)}parseValue(t,e){if(console.log("parseValue called with:",{value:t,unit:e}),typeof t=="string"&&t.trim()==="")return console.log("Empty string value, returning 0"),0;const i=e==="ft-in"?P(t):parseFloat(t)||0;return console.log("Parsed value:",i),i}formatDisplayValue(){return this.unit==="ft-in"?S(this.value):O(this.value,this.decimalPlaces)}handleUnitChange(t){if(t.target.tagName==="SELECT"){const e=t.target.value;console.log("handleUnitChange:",{from:this.unit,to:e,value:this.value,unitCategory:this.unitCategory}),this.value=d(this.value,this.unit,e,this.unitCategory),console.log("Converted value:",this.value),this.unit=e,this.updateUnitCategory(),this.render()}this.updateDropdownWidth()}render(){const t=this.formatDisplayValue();this.shadowRoot.innerHTML=`
|
|
2
|
-
<style>
|
|
3
|
-
:host {
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
align-items: baseline;
|
|
6
|
-
vertical-align: baseline;
|
|
7
|
-
}
|
|
8
|
-
.quantity {
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
align-items: baseline;
|
|
11
|
-
position: relative;
|
|
12
|
-
}
|
|
13
|
-
.value {
|
|
14
|
-
margin-right: 2px;
|
|
15
|
-
margin-left: 2px;
|
|
16
|
-
position: relative;
|
|
17
|
-
}
|
|
18
|
-
.unit-container {
|
|
19
|
-
position: relative;
|
|
20
|
-
display: inline-flex;
|
|
21
|
-
align-items: baseline;
|
|
22
|
-
}
|
|
23
|
-
.unit-container select {
|
|
24
|
-
appearance: ${this.showUnitArrow?"auto":"none"};
|
|
25
|
-
-webkit-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
26
|
-
-moz-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
27
|
-
border-radius: 0.15em;
|
|
28
|
-
border: none;
|
|
29
|
-
margin: 0;
|
|
30
|
-
padding: 0 0.1em 0 0.2em;
|
|
31
|
-
color: blue;
|
|
32
|
-
background-color: lightgray;
|
|
33
|
-
font-family: inherit;
|
|
34
|
-
font-size: 0.9em;
|
|
35
|
-
line-height: normal;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
text-align: left;
|
|
38
|
-
text-align-last: center;
|
|
39
|
-
/* height: 1.1em; */
|
|
40
|
-
vertical-align: baseline;
|
|
41
|
-
min-width: 2.5em;
|
|
42
|
-
}
|
|
43
|
-
.unit-container select::-ms-expand {
|
|
44
|
-
display: ${this.showUnitArrow?"block":"none"};
|
|
45
|
-
}
|
|
46
|
-
/* Custom arrow styles */
|
|
47
|
-
/*
|
|
48
|
-
.unit-container::after {
|
|
49
|
-
content: '▼';
|
|
50
|
-
font-size: 0.7em;
|
|
51
|
-
color: red;
|
|
52
|
-
position: absolute;
|
|
53
|
-
right: 0.3em;
|
|
54
|
-
top: 50%;
|
|
55
|
-
transform: translateY(-50%);
|
|
56
|
-
pointer-events: none;
|
|
57
|
-
}
|
|
58
|
-
*/
|
|
59
|
-
.tooltip {
|
|
60
|
-
position: absolute;
|
|
61
|
-
bottom: 100%;
|
|
62
|
-
left: 50%;
|
|
63
|
-
transform: translateX(-50%);
|
|
64
|
-
padding: 0;
|
|
65
|
-
display: none;
|
|
66
|
-
font-size: 12px;
|
|
67
|
-
pointer-events: none;
|
|
68
|
-
}
|
|
69
|
-
.unit-container:hover .tooltip {
|
|
70
|
-
display: block;
|
|
71
|
-
}
|
|
72
|
-
.tooltip a {
|
|
73
|
-
text-decoration: none;
|
|
74
|
-
color: blue;
|
|
75
|
-
}
|
|
76
|
-
.tooltip a:hover {
|
|
77
|
-
text-decoration: underline;
|
|
78
|
-
}
|
|
79
|
-
</style>
|
|
80
|
-
|
|
81
|
-
<div class="quantity">
|
|
82
|
-
<span class="value">${t}</span>
|
|
83
|
-
<div class="unit-container">
|
|
84
|
-
<select>
|
|
85
|
-
${(k[this.unitCategory]||[this.unit]).map(e=>`<option value="${e}" ${e===this.unit?"selected":""}>
|
|
86
|
-
${e}</option>`).join("")}
|
|
87
|
-
</select>
|
|
88
|
-
|
|
89
|
-
${this.showUnitArrow&&this.unitCategory!=="Custom"?`
|
|
90
|
-
<a class="tooltip" href="https://v2-docs.donwen.com/daily-calculations/unit-converter.html"
|
|
91
|
-
title="Unit Converter for All Categories" target="_blank">
|
|
92
|
-
<img src="${this.e3dLogoUrl}" width="12" />
|
|
93
|
-
</a>
|
|
94
|
-
`:""}
|
|
95
|
-
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
`,this.updateDropdownWidth()}updateDropdownWidth(){const t=this.shadowRoot.querySelector("select");if(!t)return;const e=document.createElement("span");e.style.visibility="hidden",e.style.position="absolute",e.style.whiteSpace="nowrap",e.style.font=window.getComputedStyle(t).font,document.body.appendChild(e),e.textContent=this.unit;const i=e.offsetWidth;document.body.removeChild(e);const s=this.showUnitArrow?16:6,m=this.showUnitArrow?8:0;let h=i+s+m+2;h=Math.max(h,30),t.style.width=`${h}px`}attachEventListeners(){this.shadowRoot.addEventListener("change",this.handleUnitChange.bind(this));const t=this.shadowRoot.querySelector(".unit-container");t&&(t.addEventListener("mouseover",this.handleUnitContainerMouseOver.bind(this)),t.addEventListener("mouseout",this.handleUnitContainerMouseOut.bind(this)))}removeEventListeners(){this.shadowRoot.removeEventListener("change",this.handleUnitChange.bind(this));const t=this.shadowRoot.querySelector(".unit-container");t&&(t.removeEventListener("mouseover",this.handleUnitContainerMouseOver.bind(this)),t.removeEventListener("mouseout",this.handleUnitContainerMouseOut.bind(this)))}handleUnitContainerMouseOver(){const t=this.shadowRoot.querySelector(".tooltip");t&&(this.tooltipTimeout=setTimeout(()=>{t.style.display="block"},1e3))}handleUnitContainerMouseOut(){const t=this.shadowRoot.querySelector(".tooltip");t&&(setTimeout(()=>{t.style.display="none"},2e3),clearTimeout(this.tooltipTimeout))}}class J extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.values=[],this.unit="",this.unitCategory="",this.decimalPlaces=2,this.showUnitArrow=!0}connectedCallback(){this.unit=this.getAttribute("unit")||"cm",this.values=this.getAttribute("values").split(",").map(Number).map(t=>this.parseValue(t,this.unit)),this.unitCategory=L(this.unit),this.decimalPlaces=parseInt(this.getAttribute("decimal-places"))||2,this.showUnitArrow=!this.hasAttribute("show-unit-arrow")||this.getAttribute("show-unit-arrow")==="true",this.render(),this.attachEventListeners()}static get observedAttributes(){return["values","unit","decimal-places","show-unit-arrow"]}attributeChangedCallback(t,e,i){if(t==="values")this.values=i.split(",").map(Number).map(s=>this.parseValue(s,this.unit));else if(t==="unit"){const s=this.unit;this.unit=i,this.unitCategory=L(i),s!==i&&(this.values=this.values.map(m=>d(m,s,i,this.unitCategory)))}else t==="decimal-places"?this.decimalPlaces=parseInt(i)||2:t==="show-unit-arrow"&&(this.showUnitArrow=i===null||i==="true");this.render()}render(){const t=this.values.map(e=>this.formatPairValue(e));this.shadowRoot.innerHTML=`
|
|
99
|
-
<style>
|
|
100
|
-
:host {
|
|
101
|
-
display: inline-flex;
|
|
102
|
-
align-items: baseline;
|
|
103
|
-
vertical-align: baseline;
|
|
104
|
-
}
|
|
105
|
-
.quantity-pair {
|
|
106
|
-
display: inline-flex;
|
|
107
|
-
align-items: baseline;
|
|
108
|
-
position: relative;
|
|
109
|
-
}
|
|
110
|
-
.values {
|
|
111
|
-
margin-right: 2px;
|
|
112
|
-
margin-left: 2px;
|
|
113
|
-
position: relative;
|
|
114
|
-
}
|
|
115
|
-
.unit-container {
|
|
116
|
-
position: relative;
|
|
117
|
-
display: inline-flex;
|
|
118
|
-
align-items: baseline;
|
|
119
|
-
}
|
|
120
|
-
.unit-container select {
|
|
121
|
-
appearance: ${this.showUnitArrow?"auto":"none"};
|
|
122
|
-
-webkit-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
123
|
-
-moz-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
124
|
-
border-radius: 0.15em;
|
|
125
|
-
border: none;
|
|
126
|
-
margin: 0;
|
|
127
|
-
padding: 0 0.1em 0 0.2em;
|
|
128
|
-
color: blue;
|
|
129
|
-
background-color: lightgray;
|
|
130
|
-
font-family: inherit;
|
|
131
|
-
font-size: 0.9em;
|
|
132
|
-
line-height: normal;
|
|
133
|
-
cursor: pointer;
|
|
134
|
-
text-align: left;
|
|
135
|
-
text-align-last: center;
|
|
136
|
-
vertical-align: baseline;
|
|
137
|
-
min-width: 2.5em;
|
|
138
|
-
}
|
|
139
|
-
</style>
|
|
140
|
-
|
|
141
|
-
<div class="quantity-pair">
|
|
142
|
-
<span class="values">(${t.join(", ")})</span>
|
|
143
|
-
<div class="unit-container">
|
|
144
|
-
<select>
|
|
145
|
-
${(k[this.unitCategory]||[this.unit]).map(e=>`<option value="${e}" ${e===this.unit?"selected":""}>
|
|
146
|
-
${e}</option>`).join("")}
|
|
147
|
-
</select>
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
`,this.updateDropdownWidth()}updateDropdownWidth(){const t=this.shadowRoot.querySelector("select");if(!t)return;const e=document.createElement("span");e.style.visibility="hidden",e.style.position="absolute",e.style.whiteSpace="nowrap",e.style.font=window.getComputedStyle(t).font,document.body.appendChild(e),e.textContent=this.unit;const i=e.offsetWidth;document.body.removeChild(e);const s=this.showUnitArrow?16:6,m=this.showUnitArrow?8:0;let h=i+s+m+2;h=Math.max(h,30),t.style.width=`${h}px`}attachEventListeners(){this.shadowRoot.addEventListener("change",this.handleUnitChange.bind(this))}parseValue(t,e){return e==="ft-in"?P(t):parseFloat(t)}formatPairValue(t){return this.unit==="ft-in"?S(t):O(t,this.decimalPlaces)}handleUnitChange(t){if(t.target.tagName==="SELECT"){const e=t.target.value;this.values=this.values.map(i=>d(i,this.unit,e,this.unitCategory)),this.unit=e,this.render()}this.updateDropdownWidth()}}class V extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.values=[],this.unit="",this.unitCategory="",this.decimalPlaces=2,this.showUnitArrow=!0,this.format="",this.hasParentheses=!1}connectedCallback(){this.unit=this.getAttribute("unit")||"cm",this.parseTripletValues(this.getAttribute("values")),this.unitCategory=L(this.unit),this.decimalPlaces=parseInt(this.getAttribute("decimal-places"))||2,this.showUnitArrow=!this.hasAttribute("show-unit-arrow")||this.getAttribute("show-unit-arrow")==="true",this.render(),this.attachEventListeners()}static get observedAttributes(){return["values","unit","decimal-places","show-unit-arrow"]}attributeChangedCallback(t,e,i){if(t==="values")this.parseTripletValues(i);else if(t==="unit"){const s=this.unit;this.unit=i,this.unitCategory=L(i),s!==i&&(this.values=this.values.map(m=>d(m,s,i,this.unitCategory)))}else t==="decimal-places"?this.decimalPlaces=parseInt(i)||2:t==="show-unit-arrow"&&(this.showUnitArrow=i===null||i==="true");this.render()}parseValue(t,e){return e==="ft-in"?P(t):parseFloat(t)}parseTripletValues(t){this.format="",this.hasParentheses=t.startsWith("(")&&t.endsWith(")"),this.hasParentheses&&(t=t.slice(1,-1)),t.includes("x")?(this.values=t.split("x").map(e=>this.parseValue(e,this.unit)),this.format="x"):t.includes(",")?(this.values=t.split(",").map(e=>e.trim()).map(e=>this.parseValue(e,this.unit)),this.format="comma"):(this.values=t.split(/\s+/).map(e=>this.parseValue(e,this.unit)),this.format="space")}formatTripletValue(t){return this.unit==="ft-in"?S(t):O(t,this.decimalPlaces)}formatTriplet(t){let e="";const i=t.map(s=>this.formatTripletValue(s));return this.format==="x"?e=`${i[0]} <span class="unit-text">${this.unit}</span> x ${i[1]} <span class="unit-text">${this.unit}</span> x ${i[2]}`:this.format==="comma"?e=i.join(", "):e=i.join(" "),e}render(){const t=this.formatTriplet(this.values);this.shadowRoot.innerHTML=`
|
|
151
|
-
<style>
|
|
152
|
-
:host {
|
|
153
|
-
display: inline-flex;
|
|
154
|
-
align-items: baseline;
|
|
155
|
-
vertical-align: baseline;
|
|
156
|
-
}
|
|
157
|
-
.quantity-triplet {
|
|
158
|
-
display: inline-flex;
|
|
159
|
-
align-items: baseline;
|
|
160
|
-
position: relative;
|
|
161
|
-
}
|
|
162
|
-
.values {
|
|
163
|
-
margin-right: 2px;
|
|
164
|
-
position: relative;
|
|
165
|
-
}
|
|
166
|
-
.unit-text,
|
|
167
|
-
.unit-container,
|
|
168
|
-
.unit-container select {
|
|
169
|
-
color: blue;
|
|
170
|
-
background-color: lightgray;
|
|
171
|
-
font-family: inherit;
|
|
172
|
-
font-size: 0.9em;
|
|
173
|
-
line-height: normal;
|
|
174
|
-
border-radius: 0.15em;
|
|
175
|
-
padding: 0 0.2em;
|
|
176
|
-
}
|
|
177
|
-
.unit-container {
|
|
178
|
-
position: relative;
|
|
179
|
-
display: inline-flex;
|
|
180
|
-
align-items: baseline;
|
|
181
|
-
}
|
|
182
|
-
.unit-container select {
|
|
183
|
-
appearance: ${this.showUnitArrow?"auto":"none"};
|
|
184
|
-
-webkit-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
185
|
-
-moz-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
186
|
-
border: none;
|
|
187
|
-
margin: 0;
|
|
188
|
-
cursor: pointer;
|
|
189
|
-
text-align: left;
|
|
190
|
-
text-align-last: center;
|
|
191
|
-
min-width: 2.5em;
|
|
192
|
-
}
|
|
193
|
-
</style>
|
|
194
|
-
|
|
195
|
-
<span class="quantity-triplet">
|
|
196
|
-
${this.hasParentheses?"(":""}
|
|
197
|
-
<span class="values">${t}</span>
|
|
198
|
-
${this.hasParentheses&&this.format!=="x"?")":""}
|
|
199
|
-
<div class="unit-container">
|
|
200
|
-
<select>
|
|
201
|
-
${(k[this.unitCategory]||[this.unit]).map(e=>`<option value="${e}" ${e===this.unit?"selected":""}>
|
|
202
|
-
${e}</option>`).join("")}
|
|
203
|
-
</select>
|
|
204
|
-
</div>
|
|
205
|
-
${this.hasParentheses&&this.format==="x"?")":""}
|
|
206
|
-
</span>
|
|
207
|
-
`,this.updateDropdownWidth()}updateDropdownWidth(){const t=this.shadowRoot.querySelector("select");if(!t)return;const e=document.createElement("span");e.style.visibility="hidden",e.style.position="absolute",e.style.whiteSpace="nowrap",e.style.font=window.getComputedStyle(t).font,document.body.appendChild(e),e.textContent=this.unit;const i=e.offsetWidth;document.body.removeChild(e);const s=this.showUnitArrow?16:6,m=this.showUnitArrow?8:0;let h=i+s+m+2;h=Math.max(h,30),t.style.width=`${h}px`}attachEventListeners(){this.shadowRoot.addEventListener("change",this.handleUnitChange.bind(this))}handleUnitChange(t){if(t.target.tagName==="SELECT"){const e=t.target.value;this.values=this.values.map(i=>d(i,this.unit,e,this.unitCategory)),this.unit=e,this.render()}this.updateDropdownWidth()}}class G extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.count=0}connectedCallback(){this.render(),this.attachEventListeners()}render(){this.shadowRoot.innerHTML=`
|
|
208
|
-
<style>
|
|
209
|
-
:host {
|
|
210
|
-
display: inline-block;
|
|
211
|
-
font-family: Arial, sans-serif;
|
|
212
|
-
}
|
|
213
|
-
.counter {
|
|
214
|
-
display: flex;
|
|
215
|
-
align-items: center;
|
|
216
|
-
gap: 10px;
|
|
217
|
-
padding: 10px;
|
|
218
|
-
border: 1px solid #ccc;
|
|
219
|
-
border-radius: 5px;
|
|
220
|
-
}
|
|
221
|
-
button {
|
|
222
|
-
font-size: 16px;
|
|
223
|
-
background-color: blue;
|
|
224
|
-
color: red;
|
|
225
|
-
padding: 5px 10px;
|
|
226
|
-
cursor: pointer;
|
|
227
|
-
}
|
|
228
|
-
.count {
|
|
229
|
-
font-size: 18px;
|
|
230
|
-
font-weight: bold;
|
|
231
|
-
}
|
|
232
|
-
</style>
|
|
233
|
-
<div class="counter">
|
|
234
|
-
<button class="decrement">-</button>
|
|
235
|
-
<span class="count">${this.count}</span>
|
|
236
|
-
<button class="increment">+</button>
|
|
237
|
-
</div>
|
|
238
|
-
`}attachEventListeners(){const t=this.shadowRoot.querySelector(".increment"),e=this.shadowRoot.querySelector(".decrement");t.addEventListener("click",()=>this.increment()),e.addEventListener("click",()=>this.decrement())}increment(){this.count++,this.updateCount()}decrement(){this.count--,this.updateCount()}updateCount(){const t=this.shadowRoot.querySelector(".count");t.textContent=this.count}}const T=(l,t)=>{typeof window<"u"&&!customElements.get(l)&&customElements.define(l,t)};T("physical-quantity",E),T("uc-qty",class extends E{}),T("uc-qty-pair",J),T("uc-qty-triplet",V),T("new-component-1",G),u.NewComponent1=G,u.PhysicalQuantity=E,u.UcQtyPair=J,u.UcQtyTriplet=V,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
function _0x1eea(){const _0x2d31cb=['deg°/s²','ton(US/short)','increment','GHz','toStringTag','Initial\x20state:','updateUnitCategory','381705kLbyjn','ft³/s','cal(IT)/g','mm²/min','kWh/100km','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22tooltip\x22\x20href=\x22https://v2-docs.donwen.com/daily-calculations/unit-converter.html\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22Unit\x20Converter\x20for\x20All\x20Categories\x22\x20target=\x22_blank\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22','psf/in','https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/shared%2Fassets%2Fimages%2Fe3d-logo2.png?alt=media&token=7064f466-6168-4b8a-b921-4e86115cb492','2356944ckaXHK','kmol','createElement','Pa/m','parseTripletValues','lb·s','>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SELECT','showUnitArrow','hasAttribute','St[cm²/s]','cm⁴','cal(TH)/L','defineProperty','µSv','revolution','m/h','removeEventListeners','tonne','dWb','m/s','nWb','font','formatDisplayValue','m³/h','value','lb-in/deg°','slice','J/(kg·°K)','removeEventListener','span','tebibit/s','short\x20ton/h','mTorr/m','µWb','.unit-container','Torr/ft','updateDropdownWidth','m²/hr','km/s','CFM[ft³/min]','381846JneiTg',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22quantity-triplet\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','Sv[sievert]','handleUnitChange','pebibyte','decimal-places','Rd[rutherford]','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','click','kHz','lbm/s','cm³',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20','getComputedStyle','replace','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','kip-in','handleUnitChange:','km/kWh','in/s²','parseValue','J[Joule]','oz-ft','mile/gal(US-liquid)','rad','split','ksi','updateCount','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.value\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','in\x20HG','uc-qty-triplet','kg/L','$1K','cc/rev','Length','in²/min','J/kg','.count','deg°','J/h','MM\x20Btu/100km','m²/min','MGy','mm⁴','kg/min','Btu/ton(short)','gal(US-liquid)/mile','cal(IT)/L','position','psi/ft','hidden','fluid\x20ounce(US-liquid)','m³/rad','body','W[watt]','J/minute','space','6994098SKHbfj','mol','change','F[farad]','S[siemens]','terabyte','kg/m/s','ksi/ft','style','cm²/min','</span>\x20x\x20','MSv','lb-ft/rad','bit/s','Mkat','mile/kWh','physical-quantity','lb-in/rad','Pascal/m','calorie(IT)/second','PhysicalQuantity\x20constructor\x20called','MM\x20Btu/ft³','MJ/mile','Category\x20found\x20for\x20unit\x20','exports','416cOAitk','L/rev','</span>\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','kJ/m³','km/h','1/s','Wb[weber]','target','cm³/min','uc-qty-pair','BTU/(h⋅ft⋅°F)','lbm','pint(US-liquid)','Wh/g','textContent','round','Wh/mile','gal(US-dry)','petabit','map','km²','$1T','PhysicalQuantity','MHz','in\x20W.C./100\x20ft',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20Custom\x20arrow\x20styles\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container::after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27▼\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.7em;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20right:\x200.3em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateX(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2012px;\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container:hover\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20underline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22value\x22>','appendChild','CFH','visibility','deg°/min²','ft²','attributeChangedCallback','none','lbf','slug','mm/min','L/mile','formatTriplet','2398PbyxOl','sr[steradian]','megabit/s','mebibit/s','kg/m³','GBd','oz/s','mkat','lbm·fpm','J/m','m³/kg/s²','J/m³','1/16\x22','kat[katal]','ft/min²','MJ/kg','cup(Metric)','cp[candlepower(before\x201948)]','cup(Legal)','in\x20W.C.','function','Module','Btu/lbm','pint(US-dry)','gigabit/s','bushel(US-dry)','GW[Gigawatt]','define','kibibit','lbm/min','micron','lumen/m²','ft/s²','Gy[gray]','kGy','MJ/m³','MM\x20Btu/100mile','L/100km','lb-ft','4qtSkLn','attachEventListeners','isInteger','gigabyte','megabyte','<option\x20value=\x22','MJ/h','connectedCallback\x20called','lb/ft','m³/min','Wb/m²','ft³/rev','kcal(TH)/kg','oz/in²','formatTripletValue','kilo-calorie(IT)/hour','mm³','in³/rev','1/hour','mebibit','J/(kg·°C)','J/(g·°K)','m³/s','°Ra','gal(US-liquid)','warn','New\x20decimal\x20places:','mebibyte','fluid\x20ounce(UK-imperial)','Btu/(lbm·°F)','Stoke','g/cm²','select','block','Unit\x20is\x20undefined\x20or\x20null','tooltipTimeout','addEventListener','long\x20ton/h','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity-triplet\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.values\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-text,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','mile/MJ','cSt[mm²/s]','getUnitCategory\x20called\x20with\x20unit:','ft²/hr','cd⋅sr','toString','trim','join','Parsed\x20value:','knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]','nowrap','mbar/mm','show-unit-arrow','mile','h[hour]','attachShadow','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity-pair\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.values\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','yd³/min','attributeChangedCallback\x20called:\x20','tebibyte','day','MJ/100km','g/mm³','N⋅m/rad','µGy','updateUnitCategory\x20called\x20with\x20unit:','kilo-calorie(TH)/hour','nano[nm]','parseValue\x20called\x20with:','tonne/m²','GJ/m³','calorie(IT)/minute','10vjarLE','lb·s/ft²','Btu/gal(US)','querySelector','kip[kilo\x20pound]',')</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','cp[candlepower]','kJ/L','km/min','hectare','deg°/min','Btu/h','Custom','L/h','mBq','offsetWidth','lbm/ft³','cup(Imperial)','disconnectedCallback','oz/yd²','getAttribute','toFixed','whiteSpace','gpm(US)','kg⋅m²','lb-ft/minute','m²/m²','cWb','45XOBsJu','pow','meter-candle','m³/m','NM[M,\x20nmi,\x20or\x20nautical\x20mile]','calorie(TH)/second','g/cm³','mSv','max','kPa/m','lm/m²','petabyte','kWh/100mile','Initial\x20inputValue:','joule/coulomb','Newton-second','kWh/kg','CFM','rev/s','UcQtyPair','kg/s','unitCategory','rpm','kWh/mile','µkat','handleUnitContainerMouseOut','Empty\x20string\x20value,\x20returning\x200','display','endsWith','lbm/ft/s','lbm/in²','µBq','m/min²','kips/ft','kilobit/s','mpg(US)','N⋅m²/kg²','mm\x20HG','N·s','kilo-calorie(TH)','kSv','W/(m⋅°K)','N·s/m²','format','µm³','MPGe','auto','render','J/g','kBd','gigabit','9108QBzpnI','\x20<span\x20class=\x22unit-text\x22>','PQWebComponents','amd','kibibyte','in³/s','ft²/s','phot','mouseout','inputValue','N/m','open','in³/min','HP\x20Hour','terabit','mpg(UK)',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20','shadowRoot','cup(US-liquid)','in²','1/°Ra','m\x20W.C.','rad/min²','bushel(US)/h','bushel(UK-imperial)/h','eV[electron-volt]','m/min','comma','Bq[becquerel]','in²/hr','yd³','selected','Wh/kg','Volt','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x0a\x20\x20\x20\x20','km/L','gal(US-liquid)/rev','J/second','1/°C','mph[mile/h]','kkat','MPa','connectedCallback','deg°/s','mile/L','bit','No\x20category\x20found\x20for\x20unit:\x20','mm²/hr','J/(g·°C)','fps[ft/second]','slug/s','Ci[curie]','mm\x20W.C./m','log','Wh/km','MM\x20Btu/h','bushel(UK-imperial)','ft-in','e3dLogoUrl','kilo-calorie(IT)','ksi[kip/in²]','match','GPa','20430rdwvBy','Btu/ft³','lb/in','unit','kg/h','true','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','rad/min','lbm/ft²','N/mm','mm\x20HG/m',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/*\x20height:\x201.1em;\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select::-ms-expand\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20','radian','gibibit/s','New\x20value\x20parsed:','kilobit','fpm[ft/minute]','cd[candela]','PI[Pa·s]','atm/m','calorie(TH)','1/min','g/s','rad/s','in³','calorie(TH)/minute','width','Show\x20unit\x20arrow:','minute','observedAttributes','e[electron]','slug/h','startsWith','g/mm²','mmol','L/min','N⋅mm/rad','lm/ft²','removeChild','mile/gal(UK-imperial)','Converting\x20value:','\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','oz/min','values','lm/sr','T[tesla]','µm²','MJ/km','decimalPlaces','kgf','NewComponent1','hasParentheses','s[second]','C[coulomb]','fps','floor','HP\x20Hour/lbm','string','lux','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22increment\x22>+</button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','kN/m','</option>','includes','1/1','week','H[henry]','J/C','kNm','innerHTML','handleUnitContainerMouseOver','get','kWh/km',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity-pair\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22values\x22>(','mile²','pebibit','deg°/h','Wh/m³','absolute','km/MJ','tagName','bind','oz/ft²','cal(TH)/g','calorie(IT)','psi','MJ/100mile','thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20Arial,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.counter\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x201px\x20solid\x20#ccc;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20button\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2016px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.count\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2018px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22counter\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22decrement\x22>-</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22count\x22>','decrement','1306438oMNNHT','lbm/in³','ft²/min','count','New\x20value:','Ampere[amp]'];_0x1eea=function(){return _0x2d31cb;};return _0x1eea();}function _0x33d4(_0x333c2e,_0x1486be){const _0x1eea3b=_0x1eea();return _0x33d4=function(_0x33d427,_0x2245ca){_0x33d427=_0x33d427-0xa7;let _0x1da4f0=_0x1eea3b[_0x33d427];return _0x1da4f0;},_0x33d4(_0x333c2e,_0x1486be);}(function(_0x53ff06,_0x367fe9){const _0x5890a4=_0x33d4,_0x4a939f=_0x53ff06();while(!![]){try{const _0x16035a=parseInt(_0x5890a4(0x1b9))/0x1*(-parseInt(_0x5890a4(0x289))/0x2)+parseInt(_0x5890a4(0x153))/0x3*(parseInt(_0x5890a4(0x23c))/0x4)+-parseInt(_0x5890a4(0xe1))/0x5*(parseInt(_0x5890a4(0x1ea))/0x6)+-parseInt(_0x5890a4(0x1ac))/0x7+parseInt(_0x5890a4(0x1c1))/0x8+parseInt(_0x5890a4(0x223))/0x9*(parseInt(_0x5890a4(0xc5))/0xa)+parseInt(_0x5890a4(0x262))/0xb*(parseInt(_0x5890a4(0x114))/0xc);if(_0x16035a===_0x367fe9)break;else _0x4a939f['push'](_0x4a939f['shift']());}catch(_0x14b788){_0x4a939f['push'](_0x4a939f['shift']());}}}(_0x1eea,0x672e5),function(_0x16b90b,_0x264001){const _0x4888f3=_0x33d4;typeof exports=='object'&&typeof module<'u'?_0x264001(exports):typeof define==_0x4888f3(0x276)&&define[_0x4888f3(0x117)]?define([_0x4888f3(0x23b)],_0x264001):(_0x16b90b=typeof globalThis<'u'?globalThis:_0x16b90b||self,_0x264001(_0x16b90b[_0x4888f3(0x116)]={}));}(this,function(_0x4068ae){'use strict';const _0xbded2c=_0x33d4;const _0x42db80=0.45359237,_0x5df376=9.80665,_0x173f20=0x14a0,_0x14b23c=25.4/0x3e8,_0x567a8e=0xc*_0x14b23c,_0x3ca213=0x73c,_0x92b9de=0x42*0x294,_0x26651b=4.54609,_0x443288=0xe7,_0x421059=268.8025,_0x3088f5=0x1/0x8,_0x17264c=0x1/0x14,_0x2621d4=0x1/0x10,_0x366cde=0x8,_0x5a4486=0x8,_0x46011a=0x1/0x10,_0x19d095=0xf0,_0x20ecd2=0xfa,_0x56ef08=0xa,_0x424d5b=14.59390294,_0x20062c=1055.05585262,_0x229f46=4.1868,_0x598c78=4.184,_0x55da1a=0x226*_0x42db80*_0x5df376*_0x567a8e,_0x33f581=0x18bcd,_0x269b34=0x1/0x2f8,_0xc70558=133.322387415,_0x145077=0x569e4c0a22d73800,_0x439340={'Length':['m',_0xbded2c(0xc0),'µm',_0xbded2c(0x280),'mm','cm','dm','km','in',_0xbded2c(0x14d),_0xbded2c(0x1a9),'ft','yd',_0xbded2c(0xb2),_0xbded2c(0xe5)],'Mass':['kg','g','mg','µg','oz',_0xbded2c(0x247),_0xbded2c(0x25e),_0xbded2c(0x1b3),'ton(UK-Imperial/long)',_0xbded2c(0x1d3)],'Time':[_0xbded2c(0x187),'s',_0xbded2c(0x16f),'h',_0xbded2c(0xb3),_0xbded2c(0xb9),_0xbded2c(0x193)],'ElectricalCurrent':['A',_0xbded2c(0x1b1),'mA','µA','kA','MA','esu/s'],'Temperature':['°K','°C','°F',_0xbded2c(0x2a0)],'Amount\x20of\x20Substance':[_0xbded2c(0x224),_0xbded2c(0x175),_0xbded2c(0x1c2)],'Luminous\x20Intensity':[_0xbded2c(0x164),_0xbded2c(0x17f),_0xbded2c(0xcb),_0xbded2c(0x273)],'Acceleration':['m/s²',_0xbded2c(0x101),'mm/s²',_0xbded2c(0x282),_0xbded2c(0x270),_0xbded2c(0x1fd)],'Gravitational\x20Constant':[_0xbded2c(0x26c),_0xbded2c(0x105),'dyn⋅cm²/g²'],'Velocity\x20(Angular)':[_0xbded2c(0x16a),_0xbded2c(0x15a),'rad/h',_0xbded2c(0x13f),_0xbded2c(0xcf),_0xbded2c(0x19e),'rpm[rev/min]',_0xbded2c(0xf3)],'Acceleration\x20(Angular)':['rad/s²',_0xbded2c(0x12a),_0xbded2c(0x1b2),_0xbded2c(0x259)],'Illuminance':[_0xbded2c(0x18d),_0xbded2c(0x281),_0xbded2c(0xeb),_0xbded2c(0xe3),_0xbded2c(0x11b),'foot-candle','fc','lumen/ft²',_0xbded2c(0x178)],'Frequency':['Hz',_0xbded2c(0x241),_0xbded2c(0x168),_0xbded2c(0xf7),_0xbded2c(0x29b),'mHz',_0xbded2c(0x1f3),_0xbded2c(0x253),_0xbded2c(0x1b5)],'Area':['m²',_0xbded2c(0x181),'mm²','cm²',_0xbded2c(0x250),_0xbded2c(0xce),_0xbded2c(0x127),_0xbded2c(0x25a),'yd²','acre',_0xbded2c(0x19c)],'Volume\x20/\x20Section\x20Modulus':['m³',_0xbded2c(0x10d),_0xbded2c(0x299),_0xbded2c(0x1f5),'L','ml','km³',_0xbded2c(0x16b),'ft³',_0xbded2c(0x132),'gal(UK-imperial)',_0xbded2c(0x2a1),_0xbded2c(0x24d),'pint(UK-imperial)',_0xbded2c(0x248),_0xbded2c(0x279),_0xbded2c(0x2a5),_0xbded2c(0x21d),_0xbded2c(0x14c),_0xbded2c(0x27b),_0xbded2c(0x126),_0xbded2c(0x274),_0xbded2c(0x272),_0xbded2c(0xd6)],'Polar\x20Moment\x20of\x20Inertia':['m⁴',_0xbded2c(0x215),_0xbded2c(0x1cc),'in⁴','ft⁴'],'Moment\x20of\x20Inertia':[_0xbded2c(0xdd),'g⋅cm²','g⋅mm²','lbm⋅ft²','lbm⋅in²','oz⋅in²'],'Force':['N','kN','MN',_0xbded2c(0x184),'lb',_0xbded2c(0x25d),_0xbded2c(0xc9)],'Angle':[_0xbded2c(0x15f),_0xbded2c(0x202),_0xbded2c(0x210),_0xbded2c(0x1d0)],'Solid\x20Angle':[_0xbded2c(0x263),_0xbded2c(0xdf)],'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':['kg/m²',_0xbded2c(0x2a8),_0xbded2c(0x174),_0xbded2c(0xc2),'lbm/yd²',_0xbded2c(0x15b),_0xbded2c(0xff),_0xbded2c(0xd8),_0xbded2c(0x1a4),_0xbded2c(0x296)],'Density':[_0xbded2c(0x266),_0xbded2c(0x209),_0xbded2c(0xe7),_0xbded2c(0xbb),_0xbded2c(0xd5),_0xbded2c(0x1ad)],'Energy':[_0xbded2c(0x1ff),'kJ','MJ','GJ','TNT\x20Equivalent[kiloton]','Btu','MM\x20Btu',_0xbded2c(0x1a6),_0xbded2c(0x14f),_0xbded2c(0x167),_0xbded2c(0x108),_0xbded2c(0x121),'Wh','kWh',_0xbded2c(0x12d)],'Power':[_0xbded2c(0x220),'kW','MW',_0xbded2c(0x27c),_0xbded2c(0xd0),'Btu/minute',_0xbded2c(0x14b),_0xbded2c(0x236),_0xbded2c(0xc4),_0xbded2c(0x298),_0xbded2c(0xe6),_0xbded2c(0x16c),_0xbded2c(0xbf),'lb-ft/second',_0xbded2c(0xde),'HP',_0xbded2c(0x139),_0xbded2c(0x221),_0xbded2c(0x211),_0xbded2c(0x28f),'kJ/minute'],'Torque,\x20Moment\x20of\x20Force':['Nm',_0xbded2c(0x196),'lb-in',_0xbded2c(0x1fa),_0xbded2c(0x288),'oz-in',_0xbded2c(0x200)],'Pressure/Stress':['Pa','kPa',_0xbded2c(0x13d),_0xbded2c(0x152),'bar','mbar','atm',_0xbded2c(0x106),'cm\x20HG',_0xbded2c(0x207),'mm\x20W.C.',_0xbded2c(0x129),_0xbded2c(0x275),'psf',_0xbded2c(0x1a7),_0xbded2c(0x204),_0xbded2c(0x150)],'Pressure\x20Drop\x20per\x20Unit\x20Length':[_0xbded2c(0x1c4),_0xbded2c(0x235),_0xbded2c(0xea),'MPa/km','bar/m',_0xbded2c(0xb0),_0xbded2c(0x166),_0xbded2c(0x15d),'in\x20HG/ft',_0xbded2c(0x148),'m\x20W.C./m','in\x20W.C./ft',_0xbded2c(0x254),_0xbded2c(0x1bf),_0xbded2c(0x21b),_0xbded2c(0x22a),_0xbded2c(0x1e5),_0xbded2c(0x1e2)],'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':[_0xbded2c(0x11e),_0xbded2c(0x15c),_0xbded2c(0x18f),_0xbded2c(0x291),_0xbded2c(0x102),_0xbded2c(0x155)],'Stiffness\x20of\x20Rotary\x20Spring':[_0xbded2c(0xbc),'N⋅m/deg°',_0xbded2c(0x177),'N⋅mm/deg°',_0xbded2c(0x22f),'lb-ft/deg°',_0xbded2c(0x234),_0xbded2c(0x1db)],'Flow\x20Rate\x20(Volume)':[_0xbded2c(0x29f),_0xbded2c(0x292),_0xbded2c(0x1d9),'L/s',_0xbded2c(0x176),_0xbded2c(0xd2),'cm³/s',_0xbded2c(0x244),_0xbded2c(0x119),_0xbded2c(0x120),_0xbded2c(0x1ba),_0xbded2c(0xf2),_0xbded2c(0x1e9),_0xbded2c(0x257),'CFH[ft³/h]',_0xbded2c(0xb6),'yd³/h',_0xbded2c(0xdc),'gph(US)',_0xbded2c(0x12c),_0xbded2c(0x12b)],'Flow\x20Rate\x20(Mass)':[_0xbded2c(0xf5),_0xbded2c(0x216),_0xbded2c(0x157),_0xbded2c(0x169),'g/min','g/h',_0xbded2c(0x146),'slug/min',_0xbded2c(0x172),_0xbded2c(0x1f4),_0xbded2c(0x27f),'lbm/h',_0xbded2c(0x268),_0xbded2c(0x17d),'oz/h','tonne/h',_0xbded2c(0x1e1),_0xbded2c(0x2ae)],'Speed\x20/\x20Velocity\x20(Linear)':[_0xbded2c(0x1d5),'mm/s',_0xbded2c(0x1e8),_0xbded2c(0x25f),_0xbded2c(0x12e),_0xbded2c(0xcd),'mm/h',_0xbded2c(0x1d1),_0xbded2c(0x240),'in/s',_0xbded2c(0x189),_0xbded2c(0x145),'fpm',_0xbded2c(0x163),_0xbded2c(0x13b),_0xbded2c(0xae)],'Fuel\x20Heat\x20Value\x20(Volume)':[_0xbded2c(0x26d),'J/L',_0xbded2c(0xcc),_0xbded2c(0x23f),_0xbded2c(0x285),_0xbded2c(0xc3),_0xbded2c(0x219),'kcal(IT)/m³',_0xbded2c(0x1cd),'kcal(TH)/m³','Wh/L',_0xbded2c(0x19f),'kWh/m³','HP\x20Hour/ft³',_0xbded2c(0xc7),_0xbded2c(0x154),_0xbded2c(0x238)],'Fuel\x20Heat\x20Value\x20(Mass)':[_0xbded2c(0x20e),_0xbded2c(0x111),'kJ/kg',_0xbded2c(0x271),'GJ/kg',_0xbded2c(0x1bb),'kcal(IT)/kg',_0xbded2c(0x1a5),_0xbded2c(0x295),_0xbded2c(0x249),_0xbded2c(0x134),_0xbded2c(0xf1),_0xbded2c(0x18b),_0xbded2c(0x278),'MM\x20Btu/lbm',_0xbded2c(0x217)],'Mass\x20Heat\x20Capacity':[_0xbded2c(0x1dd),_0xbded2c(0x29d),_0xbded2c(0x29e),_0xbded2c(0x144),_0xbded2c(0x2a6)],'Viscosity\x20-\x20Absolute/Dynamic(μ)':[_0xbded2c(0x165),_0xbded2c(0x10b),_0xbded2c(0x229),'P[Poise]','cP',_0xbded2c(0xc6),_0xbded2c(0xfe)],'Viscosity\x20-\x20Kinematic':['m²/s',_0xbded2c(0x213),_0xbded2c(0x1e7),_0xbded2c(0x1cb),_0xbded2c(0x2a7),_0xbded2c(0x22c),'cm²/hr',_0xbded2c(0x2b1),_0xbded2c(0x1bc),_0xbded2c(0x143),_0xbded2c(0x11a),_0xbded2c(0x1ae),_0xbded2c(0xa8),'in²/s',_0xbded2c(0x20d),_0xbded2c(0x131)],'Linear\x20Thermal\x20Expansion\x20Coefficient':['1/°K',_0xbded2c(0x13a),'1/°F',_0xbded2c(0x128)],'Thermal\x20Conductivity':[_0xbded2c(0x10a),'W/(cm⋅°K)',_0xbded2c(0x246),'BTU/(h⋅in⋅°F)'],'Electrical\x20Charge':[_0xbded2c(0x188),'Ah','ampere-hour','mAh',_0xbded2c(0x171),'faraday'],'Electrical\x20Potential\x20Difference\x20(Voltage)':['V',_0xbded2c(0x135),_0xbded2c(0xef),_0xbded2c(0x195),'µV','mV','kV','MV'],'Electrical\x20Resistance(Impedance)':['Ω[Ohm]','µΩ','mΩ','kΩ','MΩ'],'Electrical\x20Capacitance':[_0xbded2c(0x226),'pF','nF','µF','mF'],'Electrical\x20Inductance':[_0xbded2c(0x194),'µH','mH'],'Electrical\x20Conductance':[_0xbded2c(0x227),'℧','µS','mS','kS'],'Magnetic\x20Flux':[_0xbded2c(0x242),_0xbded2c(0x1d6),_0xbded2c(0x1e3),'mWb',_0xbded2c(0xe0),_0xbded2c(0x1d4)],'Luminous\x20Flux':['lm[lumen]',_0xbded2c(0xa9)],'Magnetic\x20Flux\x20Density':[_0xbded2c(0x180),_0xbded2c(0x293),'µT','G','mT'],'Katalytic\x20Activity':[_0xbded2c(0x26f),'mol/s',_0xbded2c(0xf9),_0xbded2c(0x269),_0xbded2c(0x13c),_0xbded2c(0x231)],'Radioactivity':[_0xbded2c(0x130),_0xbded2c(0x241),_0xbded2c(0x100),_0xbded2c(0xd3),'kBq','MBq',_0xbded2c(0x1f0),_0xbded2c(0x147)],'Absorbed\x20Dose\x20of\x20Ionizing\x20Radiation':[_0xbded2c(0x283),_0xbded2c(0x20e),_0xbded2c(0xbd),'mGy',_0xbded2c(0x284),_0xbded2c(0x214)],'Equivalent\x20Dose\x20of\x20Ionizing\x20Radiation':[_0xbded2c(0x1ec),_0xbded2c(0x20e),_0xbded2c(0x1cf),_0xbded2c(0xe8),_0xbded2c(0x109),_0xbded2c(0x22e)],'Volumetric\x20Displacement':[_0xbded2c(0x21e),'m³/rev',_0xbded2c(0x23d),_0xbded2c(0x20b),_0xbded2c(0x294),_0xbded2c(0x29a),_0xbded2c(0x138)],'Fuel\x20Economy':[_0xbded2c(0x137),_0xbded2c(0x104),_0xbded2c(0x201),_0xbded2c(0x123),_0xbded2c(0x17a),_0xbded2c(0x140)],'Fuel\x20Consumption':[_0xbded2c(0xe4),'L/km',_0xbded2c(0x287),_0xbded2c(0x260),'L/100mile',_0xbded2c(0x218),'gal(US-liquid)/100mile','gal(UK-imperial)/mile','gal(UK-imperial)/100mile'],'New\x20Energy\x20Economy\x20(MPGe)':['m/J',_0xbded2c(0x1fc),_0xbded2c(0x1a1),_0xbded2c(0x10e),_0xbded2c(0x2b0),_0xbded2c(0x232),'mile/MM\x20Btu'],'New\x20Energy\x20Consumption':[_0xbded2c(0x26b),_0xbded2c(0x14a),_0xbded2c(0x24c),_0xbded2c(0x19a),_0xbded2c(0x1bd),_0xbded2c(0xf8),_0xbded2c(0xed),_0xbded2c(0x182),_0xbded2c(0xba),_0xbded2c(0x239),_0xbded2c(0x1a8),'MM\x20Btu/km',_0xbded2c(0x212),'MM\x20Btu/mile',_0xbded2c(0x286)],'Baud\x20Rate':[_0xbded2c(0x230),'Bd',_0xbded2c(0x112),'MBd',_0xbded2c(0x267)],'Currency':['$','¢',_0xbded2c(0x20a),'$1M','$1B',_0xbded2c(0x251)],'Impulse\x20/\x20Momentum':[_0xbded2c(0x107),_0xbded2c(0xf0),_0xbded2c(0x1c6),'kg·m/s','lbm·fps',_0xbded2c(0x26a)],'Digital\x20Storage':[_0xbded2c(0x141),_0xbded2c(0x162),_0xbded2c(0x27e),'megabit',_0xbded2c(0x29c),_0xbded2c(0x113),'gibibit',_0xbded2c(0x122),'tebibit',_0xbded2c(0x24e),_0xbded2c(0x19d),'byte','kilobyte',_0xbded2c(0x118),_0xbded2c(0x28d),_0xbded2c(0x2a4),_0xbded2c(0x28c),'gibibyte',_0xbded2c(0x228),_0xbded2c(0xb8),_0xbded2c(0xec),_0xbded2c(0x1ee)],'Data\x20Transfer\x20Rate':[_0xbded2c(0x230),_0xbded2c(0x103),'kibibit/s',_0xbded2c(0x264),_0xbded2c(0x265),_0xbded2c(0x27a),_0xbded2c(0x160),'terabit/s',_0xbded2c(0x1e0),'petabit/s','pebibit/s']},_0x3becd9={'Length':{'m':0x1,'nano[nm]':0x1/0x3b9aca00,'µm':0x1/0xf4240,'micron':0x1/0xf4240,'mm':0x1/0x3e8,'cm':0.01,'dm':0.1,'km':0x3e8,'in':_0x14b23c,'thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]':_0x14b23c/0x3e8,'ft-in':_0x14b23c,'ft':_0x567a8e,'yd':0x3*_0x567a8e,'mile':_0x173f20*_0x567a8e,'NM[M,\x20nmi,\x20or\x20nautical\x20mile]':_0x3ca213},'Mass':{'kg':0x1,'g':0.001,'mg':0x1/0xf4240,'µg':0x1/0x3b9aca00,'oz':0x1/0x10*_0x42db80,'lbm':_0x42db80,'slug':_0x424d5b,'ton(US/short)':0x7d0*_0x42db80,'ton(UK-Imperial/long)':0x8c0*_0x42db80,'tonne':0x3e8},'Time':{'s[second]':0x1,'s':0x1,'minute':0x3c,'h':0xe10,'h[hour]':0xe10,'day':0xe10*0x18,'week':0xe10*0x18*0x7},'ElectricalCurrent':{'A':0x1,'Ampere[amp]':0x1,'mA':0.001,'µA':0.000001,'kA':0x3e8,'MA':0xf4240,'esu/s':0x1/0xb2d05e00},'Temperature':{'°K':{'c0':0x1,'c1':0x0},'°C':{'c0':0x1,'c1':273.15},'°F':{'c0':0x5/0x9,'c1':255.3722222},'°Ra':{'c0':0x5/0x9,'c1':0x0}},'Amount\x20of\x20Substance':{'mol':0x1,'mmol':0.001,'kmol':0x3e8},'Luminous\x20Intensity':{'cd[candela]':0x1,'lm/sr':0x1,'cp[candlepower]':0x1,'cp[candlepower(before\x201948)]':0.981},'Acceleration':{'m/s²':0x1,'m/min²':0x1/0xe10,'mm/s²':0.001,'ft/s²':_0x567a8e,'ft/min²':_0x567a8e/0xe10,'in/s²':_0x14b23c},'Gravitational\x20Constant':{'m³/kg/s²':0x1,'N⋅m²/kg²':0x1,'dyn⋅cm²/g²':0x3e8},'Velocity\x20(Angular)':{'rad/s':0x1,'rad/min':0x1/0x3c,'rad/h':0x1/0xe10,'deg°/s':Math['PI']/0xb4,'deg°/min':Math['PI']/0xb4/0x3c,'deg°/h':Math['PI']/0xb4/0xe10,'rpm[rev/min]':0x2*Math['PI']/0x3c,'rev/s':0x2*Math['PI']},'Acceleration\x20(Angular)':{'rad/s²':0x1,'rad/min²':0x1/0xe10,'deg°/s²':Math['PI']/0xb4,'deg°/min²':Math['PI']/0xb4/0xe10},'Illuminance':{'lux':0x1,'lumen/m²':0x1,'lm/m²':0x1,'meter-candle':0x1,'phot':0x2710,'foot-candle':0x1/Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'fc':0x1/Math['pow'](_0x567a8e,0x2),'lumen/ft²':0x1/Math['pow'](_0x567a8e,0x2),'lm/ft²':0x1/Math[_0xbded2c(0xe2)](_0x567a8e,0x2)},'Frequency':{'Hz':0x1,'1/s':0x1,'1/min':0x1/0x3c,'rpm':0x1/0x3c,'1/hour':0x1/0xe10,'mHz':0x1/0x3e8,'kHz':0x3e8,'MHz':0xf4240,'GHz':0x3b9aca00},'Area':{'m²':0x1,'µm²':Math['pow'](0x1/0xf4240,0x2),'mm²':Math[_0xbded2c(0xe2)](0x1/0x3e8,0x2),'cm²':Math[_0xbded2c(0xe2)](0x1/0x64,0x2),'km²':0xf4240,'hectare':Math[_0xbded2c(0xe2)](0x64,0x2),'in²':Math['pow'](_0x14b23c,0x2),'ft²':Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'yd²':Math[_0xbded2c(0xe2)](_0x567a8e*0x3,0x2),'acre':_0x92b9de*Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'mile²':Math[_0xbded2c(0xe2)](_0x173f20*_0x567a8e,0x2)},'Volume\x20/\x20Section\x20Modulus':{'m³':0x1,'µm³':Math[_0xbded2c(0xe2)](0x1/0xf4240,0x3),'mm³':Math['pow'](0x1/0x3e8,0x3),'cm³':Math['pow'](0x1/0x64,0x3),'L':0x1/0x3e8,'ml':0x1/0xf4240,'km³':Math[_0xbded2c(0xe2)](0x3e8,0x3),'in³':Math[_0xbded2c(0xe2)](_0x14b23c,0x3),'ft³':Math[_0xbded2c(0xe2)](_0x567a8e,0x3),'yd³':Math[_0xbded2c(0xe2)](_0x567a8e*0x3,0x3),'gal(UK-imperial)':_0x26651b*0x1/0x3e8,'gal(US-liquid)':_0x443288*Math[_0xbded2c(0xe2)](_0x14b23c,0x3),'gal(US-dry)':_0x421059*Math[_0xbded2c(0xe2)](_0x14b23c,0x3),'pint(UK-imperial)':_0x3088f5*_0x26651b*0x1/0x3e8,'pint(US-liquid)':_0x3088f5*_0x443288*Math[_0xbded2c(0xe2)](_0x14b23c,0x3),'pint(US-dry)':_0x3088f5*_0x421059*Math[_0xbded2c(0xe2)](_0x14b23c,0x3),'fluid\x20ounce(UK-imperial)':_0x17264c*_0x3088f5*_0x26651b/0x3e8,'fluid\x20ounce(US-liquid)':_0x2621d4*_0x3088f5*_0x443288*Math['pow'](_0x14b23c,0x3),'bushel(UK-imperial)':_0x366cde*_0x26651b/0x3e8,'bushel(US-dry)':_0x5a4486*_0x421059*Math['pow'](_0x14b23c,0x3),'cup(US-liquid)':_0x46011a*_0x443288*Math['pow'](_0x14b23c,0x3),'cup(Legal)':_0x19d095*Math[_0xbded2c(0xe2)](0.01,0x3),'cup(Metric)':_0x20ecd2*Math[_0xbded2c(0xe2)](0.01,0x3),'cup(Imperial)':_0x56ef08*_0x17264c*_0x3088f5*_0x26651b/0x3e8},'Polar\x20Moment\x20of\x20Inertia':{'m⁴':0x1,'mm⁴':1e-12,'cm⁴':1e-8,'in⁴':Math[_0xbded2c(0xe2)](_0x14b23c,0x4),'ft⁴':Math[_0xbded2c(0xe2)](_0x567a8e,0x4)},'Moment\x20of\x20Inertia':{'kg⋅m²':0x1,'g⋅cm²':0x1/(0x3e8*0x2710),'g⋅mm²':0x1/(0x3e8*0xf4240),'lbm⋅ft²':_0x42db80*Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'lbm⋅in²':_0x42db80*Math[_0xbded2c(0xe2)](_0x14b23c,0x2),'oz⋅in²':_0x42db80/0x10*Math[_0xbded2c(0xe2)](_0x14b23c,0x2)},'Force':{'N':0x1,'kN':0x3e8,'MN':0xf4240,'kgf':_0x5df376,'lb':_0x42db80*_0x5df376,'lbf':_0x42db80*_0x5df376,'kip[kilo\x20pound]':0x3e8*_0x42db80*_0x5df376},'Angle':{'radian':0x1,'rad':0x1,'deg°':Math['PI']/0xb4,'revolution':Math['PI']*0x2},'Solid\x20Angle':{'sr[steradian]':0x1,'m²/m²':0x1},'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':{'kg/m²':0x1,'g/cm²':0x1/0x3e8/Math[_0xbded2c(0xe2)](0.01,0x2),'g/mm²':0x1/0x3e8/Math[_0xbded2c(0xe2)](0.001,0x2),'tonne/m²':0x3e8,'lbm/yd²':_0x42db80/Math['pow'](_0x567a8e*0x3,0x2),'lbm/ft²':_0x42db80/Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'lbm/in²':_0x42db80/Math[_0xbded2c(0xe2)](_0x14b23c,0x2),'oz/yd²':_0x42db80/0x10/Math[_0xbded2c(0xe2)](0x3*_0x567a8e,0x2),'oz/ft²':_0x42db80/0x10/Math['pow'](_0x567a8e,0x2),'oz/in²':_0x42db80/0x10/Math[_0xbded2c(0xe2)](_0x14b23c,0x2)},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0x1/0x3e8/Math[_0xbded2c(0xe2)](0.01,0x3),'g/mm³':0x1/0x3e8/Math[_0xbded2c(0xe2)](0.001,0x3),'lbm/ft³':_0x42db80/Math[_0xbded2c(0xe2)](_0x567a8e,0x3),'lbm/in³':_0x42db80/Math[_0xbded2c(0xe2)](_0x14b23c,0x3)},'Energy':{'J[Joule]':0x1,'kJ':0x3e8,'MJ':0xf4240,'GJ':0x3b9aca00,'TNT\x20Equivalent[kiloton]':0x3b9aca00*_0x598c78,'Btu':_0x20062c,'MM\x20Btu':_0x20062c*0xf4240,'calorie(IT)':_0x229f46,'kilo-calorie(IT)':_0x229f46*0x3e8,'calorie(TH)':_0x598c78,'kilo-calorie(TH)':_0x598c78*0x3e8,'HP\x20Hour':_0x55da1a*0xe10,'Wh':0xe10,'kWh':0xe10*0x3e8,'eV{electron-volt]':0x1/_0x145077},'Power':{'W[watt]':0x1,'kW':0x3e8,'MW':0xf4240,'GW[Gigawatt]':0x3b9aca00,'Btu/h':_0x20062c/0xe10,'Btu/minute':_0x20062c/0x3c,'MM\x20Btu/h':_0x20062c*0xf4240/0xe10,'calorie(IT)/second':_0x229f46,'calorie(IT)/minute':_0x229f46/0x3c,'kilo-calorie(IT)/hour':_0x229f46*0x3e8/0xe10,'calorie(TH)/second':_0x598c78,'calorie(TH)/minute':_0x598c78/0x3c,'kilo-calorie(TH)/hour':_0x598c78*0x3e8/0xe10,'lb-ft/second':_0x42db80*_0x5df376*_0x567a8e,'lb-ft/minute':_0x42db80*_0x5df376*_0x567a8e/0x3c,'HP':_0x55da1a,'J/second':0x1,'J/minute':0x1/0x3c,'J/h':0x1/0xe10,'MJ/h':0xf4240/0xe10,'kJ/minute':0x3e8/0x3c},'Torque,\x20Moment\x20of\x20Force':{'Nm':0x1,'kNm':0x3e8,'lb-in':_0x42db80*_0x5df376*_0x14b23c,'kip-in':0x3e8*_0x42db80*_0x5df376*_0x14b23c,'lb-ft':_0x42db80*_0x5df376*_0x567a8e,'oz-in':_0x42db80/0x10*_0x5df376*_0x14b23c,'oz-ft':_0x42db80/0x10*_0x5df376*_0x567a8e},'Pressure/Stress':{'Pa':0x1,'kPa':0x3e8,'MPa':0xf4240,'GPa':0x3b9aca00,'bar':0x64*0x3e8,'mbar':0x64,'atm':_0x33f581,'mm\x20HG':_0xc70558,'cm\x20HG':_0xc70558*0xa,'in\x20HG':_0xc70558*25.4,'mm\x20W.C.':0x1/0x3e8*0x3e8*_0x5df376,'m\x20W.C.':0x1*0x3e8*_0x5df376,'in\x20W.C.':_0x14b23c*0x3e8*_0x5df376,'psf':_0x42db80*_0x5df376/Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'psi':_0x42db80*_0x5df376/Math[_0xbded2c(0xe2)](_0x14b23c,0x2),'ksi':_0x42db80*_0x5df376/Math[_0xbded2c(0xe2)](_0x14b23c,0x2)*0x3e8,'ksi{kip/in²]':_0x42db80*_0x5df376/Math['pow'](_0x14b23c,0x2)*0x3e8},'Pressure\x20Drop\x20per\x20Unit\x20Length':{'Pa/m':0x1,'Pascal/m':0x1,'kPa/m':0x3e8,'MPa/km':0xf4240/0x3e8,'bar/m':0x186a0,'mbar/mm':0x64*0x3e8,'atm/m':_0x33f581,'mm\x20HG/m':_0xc70558,'in\x20HG/ft':_0xc70558*25.4/_0x567a8e,'mm\x20W.C./m':0x1/0x3e8*0x3e8*_0x5df376,'m\x20W.C./m':0x3e8*_0x5df376,'in\x20W.C./ft':_0x14b23c*0x3e8*_0x5df376/_0x567a8e,'in\x20W.C./100\x20ft':_0x14b23c*0x3e8*_0x5df376/_0x567a8e/0x64,'psf/in':_0x42db80*_0x5df376/Math[_0xbded2c(0xe2)](_0x567a8e,0x2)/_0x14b23c,'psi/ft':_0x42db80*_0x5df376/Math['pow'](_0x567a8e,0x2)/_0x567a8e,'ksi/ft':_0x42db80*_0x5df376/Math[_0xbded2c(0xe2)](_0x567a8e,0x2)/_0x567a8e*0x3e8,'Torr/ft':_0x269b34*_0x33f581/_0x567a8e,'mTorr/m':_0x269b34*_0x33f581/0x3e8},'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':{'N/m':0x1,'N/mm':0x3e8,'kN/m':0x3e8,'lb/ft':_0x42db80*_0x5df376/_0x567a8e,'kips/ft':0x3e8*_0x42db80*_0x5df376/_0x567a8e,'lb/in':_0x42db80*_0x5df376/_0x14b23c},'Stiffness\x20of\x20Rotary\x20Spring':{'N⋅m/rad':0x1,'N⋅m/deg°':0x1/Math['PI']*0xb4,'N⋅mm/rad':0x1/0x3e8,'N⋅mm/deg°':0x1/0x3e8/Math['PI']*0xb4,'lb-ft/rad':_0x42db80*_0x5df376*_0x567a8e,'lb-ft/deg°':_0x42db80*_0x5df376*_0x567a8e/(Math['PI']/0xb4),'lb-in/rad':_0x42db80*_0x5df376*_0x14b23c,'lb-in/deg°':_0x42db80*_0x5df376*_0x14b23c/(Math['PI']/0xb4)},'Flow\x20Rate\x20(Volume)':{'m³/s':0x1,'m³/min':0x1/0x3c,'m³/h':0x1/0xe10,'L/s':0x1/0x3e8,'L/min':0x1/0x3e8/0x3c,'L/h':0x1/0x3e8/0xe10,'cm³/s':0.000001,'cm³/min':0.000001/0x3c,'in³/s':Math['pow'](_0x14b23c,0x3),'in³/min':Math[_0xbded2c(0xe2)](_0x14b23c,0x3)/0x3c,'ft³/s':Math[_0xbded2c(0xe2)](_0x567a8e,0x3),'CFM':Math[_0xbded2c(0xe2)](_0x567a8e,0x3)/0x3c,'CFM[ft³/min]':Math[_0xbded2c(0xe2)](_0x567a8e,0x3)/0x3c,'CFH':Math[_0xbded2c(0xe2)](_0x567a8e,0x3)/0xe10,'CFH[ft³/h]':Math[_0xbded2c(0xe2)](_0x567a8e,0x3)/0xe10,'yd³/min':Math[_0xbded2c(0xe2)](_0x567a8e*0x3,0x3)/0x3c,'yd³/h':Math[_0xbded2c(0xe2)](_0x567a8e*0x3,0x3)/0xe10,'gpm(US)':_0x443288*Math[_0xbded2c(0xe2)](_0x14b23c,0x3)/0x3c,'gph(US)':_0x443288*Math[_0xbded2c(0xe2)](_0x14b23c,0x3)/0xe10,'bushel(UK-imperial)/h':_0x366cde*_0x26651b/0x3e8/0xe10,'bushel(US)/h':_0x5a4486*_0x421059*Math['pow'](_0x14b23c,0x3)/0xe10},'Flow\x20Rate\x20(Mass)':{'kg/s':0x1,'kg/min':0x1/0x3c,'kg/h':0x1/0xe10,'g/s':0x1/0x3e8,'g/min':0x1/0x3e8/0x3c,'g/h':0x1/0x3e8/0xe10,'slug/s':_0x424d5b,'slug/min':_0x424d5b/0x3c,'slug/h':_0x424d5b/0xe10,'lbm/s':_0x42db80,'lbm/min':_0x42db80/0x3c,'lbm/h':_0x42db80/0xe10,'oz/s':_0x42db80/0x10,'oz/min':_0x42db80/0x10/0x3c,'oz/h':_0x42db80/0x10/0xe10,'tonne/h':0x3e8/0xe10,'short\x20ton/h':0x7d0*_0x42db80/0xe10,'long\x20ton/h':0x8c0*_0x42db80/0xe10},'Speed\x20/\x20Velocity\x20(Linear)':{'m/s':0x1,'mm/s':0x1/0x3e8,'km/s':0x1,'mm/min':0x1/0x3e8/0x3c,'m/min':0x1/0x3c,'km/min':0x3e8/0x3c,'mm/h':0x1/0x3e8/0xe10,'m/h':0x1/0xe10,'km/h':0x3e8/0xe10,'in/s':_0x14b23c,'fps':_0x567a8e,'fps[ft/second]':_0x567a8e,'fpm':_0x567a8e/0x3c,'fpm[ft/minute]':_0x567a8e/0x3c,'mph[mile/h]':_0x173f20*_0x567a8e/0xe10,'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]':_0x3ca213/0xe10},'Electrical\x20Potential\x20Difference\x20(Voltage)':{'V':0x1,'Volt':0x1,'joule/coulomb':0x1,'J/C':0x1,'µV':0x1/0xf4240,'mV':0x1/0x3e8,'kV':0x3e8,'MV':0xf4240}},_0x354538=_0x3bd147=>{const _0x1af849=_0xbded2c;if(console[_0x1af849(0x149)](_0x1af849(0xa7),_0x3bd147),!_0x3bd147)return console[_0x1af849(0x2a2)](_0x1af849(0x2ab)),'Custom';for(const _0x32f080 in _0x439340)if(_0x439340[_0x32f080][_0x1af849(0x191)](_0x3bd147))return console['log'](_0x1af849(0x23a)+_0x3bd147+':',_0x32f080),_0x32f080;return console[_0x1af849(0x2a2)](_0x1af849(0x142)+_0x3bd147),_0x1af849(0xd1);},_0x322322=(_0x46570f,_0x483113,_0x3ec5be,_0x24db42)=>{const _0x4894f8=_0xbded2c;if(_0x483113===_0x4894f8(0x14d)&&_0x3ec5be!==_0x4894f8(0x14d))return _0x327962(_0x46570f,_0x3ec5be);if(_0x483113!==_0x4894f8(0x14d)&&_0x3ec5be==='ft-in')return _0x3d5fe9(_0x46570f,_0x483113);if(_0x24db42!=='Temperature'){const _0x52de90=_0x3becd9[_0x24db42][_0x483113]/_0x3becd9[_0x24db42][_0x3ec5be];return _0x46570f*_0x52de90;}else{const _0x3646b5=_0x3becd9[_0x24db42][_0x483113]['c0'],_0x3bf7b3=_0x3becd9[_0x24db42][_0x483113]['c1'],_0xb4c4a9=_0x3becd9[_0x24db42][_0x3ec5be]['c0'],_0x4cd9f9=_0x3becd9[_0x24db42][_0x3ec5be]['c1'];return(_0x46570f*_0x3646b5+_0x3bf7b3-_0x4cd9f9)/_0xb4c4a9;}},_0x154f0b=(_0x55da19,_0x174265)=>{const _0x59383a=_0xbded2c;let _0x5fc244;if(Number[_0x59383a(0x28b)](_0x55da19)?_0x5fc244=_0x55da19[_0x59383a(0xaa)]():_0x5fc244=_0x55da19[_0x59383a(0xda)](_0x174265)[_0x59383a(0x1f8)](/\.?0+$/,''),Math['abs'](parseFloat(_0x5fc244))>=0x3e8){const _0x4d1fd3=_0x5fc244[_0x59383a(0x203)]('.');_0x4d1fd3[0x0]=_0x4d1fd3[0x0]['replace'](/\B(?=(\d{3})+(?!\d))/g,','),_0x5fc244=_0x4d1fd3['join']('.');}return _0x5fc244;},_0x39efa2=_0x223d0e=>{const _0x5cfa48=_0xbded2c,_0x185bd4=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,_0x7b3b0=/(\d+)\'/,_0x2f8520=/(\d+)/;let _0x1f3d86=_0x223d0e[_0x5cfa48(0x151)](_0x185bd4);if(_0x1f3d86){const _0x1aeddc=parseInt(_0x1f3d86[0x1])||0x0,_0x3b93ca=parseInt(_0x1f3d86[0x3])||0x0,_0x33ecbf=parseInt(_0x1f3d86[0x5])||0x0,_0x47c0bb=parseInt(_0x1f3d86[0x6])||0x1;return _0x2bb3b1(_0x1aeddc,_0x3b93ca,_0x33ecbf,_0x47c0bb);}if(_0x1f3d86=_0x223d0e[_0x5cfa48(0x151)](_0x7b3b0),_0x1f3d86){const _0x4cc086=parseInt(_0x1f3d86[0x1])||0x0;return _0x2bb3b1(_0x4cc086,0x0,0x0,0x1);}if(_0x1f3d86=_0x223d0e[_0x5cfa48(0x151)](_0x2f8520),_0x1f3d86){const _0x4dfa46=parseInt(_0x1f3d86[0x1])||0x0;return _0x2bb3b1(0x0,_0x4dfa46,0x0,0x1);}return parseFloat(_0x223d0e);},_0x2bb3b1=(_0x1ec641,_0xc3545,_0x11267c,_0x3ce649)=>_0x1ec641*0xc+_0xc3545+_0x11267c/_0x3ce649,_0x289b40=(_0x430b30,_0x53a8c3=_0xbded2c(0x26e))=>{const _0x19dc88=_0xbded2c;if(_0x430b30<0x0)return'-'+_0x289b40(-_0x430b30,_0x53a8c3);const _0xa5377a=parseInt(_0x53a8c3['split']('/')[0x1][_0x19dc88(0x1f8)]('\x22',''));let _0x56c3ec=Math[_0x19dc88(0x18a)](_0x430b30/0xc),_0x3bae11=Math[_0x19dc88(0x18a)](_0x430b30%0xc);const _0x108045=_0x430b30-Math[_0x19dc88(0x18a)](_0x430b30);let _0x10a156='';if(_0x108045>0x0&&_0x53a8c3!==0x0){let _0x32c56b=Math[_0x19dc88(0x24b)](_0x108045*_0xa5377a);const _0x3702e3=(_0x3f27ff,_0x1b77c7)=>_0x1b77c7?_0x3702e3(_0x1b77c7,_0x3f27ff%_0x1b77c7):_0x3f27ff,_0x520002=_0x3702e3(_0x32c56b,_0xa5377a);_0x10a156='\x20'+_0x32c56b/_0x520002+'/'+_0xa5377a/_0x520002,_0x10a156[_0x19dc88(0xab)]()===_0x19dc88(0x192)&&(_0x3bae11++,_0x3bae11>=0xc&&(_0x56c3ec++,_0x3bae11-=0xc),_0x10a156='');}let _0x452f5c='';return _0x56c3ec>0x0&&(_0x452f5c+=_0x56c3ec+'\x27'),_0x56c3ec>0x0&&(_0x3bae11>0x0||_0x10a156!=='')&&(_0x452f5c+='-'),_0x3bae11>0x0&&(_0x452f5c+=''+_0x3bae11),_0x10a156!==''&&(_0x452f5c+=_0x10a156),(_0x3bae11>0x0||_0x10a156!=='')&&(_0x452f5c+='\x22'),_0x452f5c['trim']();},_0x327962=(_0x2d4d08,_0xd6f76a)=>{const _0x383a5a=_0xbded2c,_0x4c40be=_0x2d4d08*0.0254;return _0x322322(_0x4c40be,'m',_0xd6f76a,_0x383a5a(0x20c));},_0x3d5fe9=(_0x46f7dd,_0x590083)=>_0x322322(_0x46f7dd,_0x590083,'m','Length')/0.0254;class _0x2f6cef extends HTMLElement{constructor(){const _0x315c8c=_0xbded2c;super(),this[_0x315c8c(0xb4)]({'mode':_0x315c8c(0x11f)}),this[_0x315c8c(0x2ac)]=null,this[_0x315c8c(0xf6)]='',this[_0x315c8c(0x14e)]=_0x315c8c(0x1c0),console[_0x315c8c(0x149)](_0x315c8c(0x237));}[_0xbded2c(0x13e)](){const _0x487b57=_0xbded2c;console[_0x487b57(0x149)](_0x487b57(0x290)),this[_0x487b57(0x156)]=this[_0x487b57(0xd9)](_0x487b57(0x156)),console[_0x487b57(0x149)]('Initial\x20unit:',this[_0x487b57(0x156)]),this[_0x487b57(0x1b8)](),this[_0x487b57(0x11d)]=this[_0x487b57(0xd9)](_0x487b57(0x1da)),console[_0x487b57(0x149)](_0x487b57(0xee),this[_0x487b57(0x11d)]),this[_0x487b57(0x1da)]=this[_0x487b57(0x1fe)](this[_0x487b57(0x11d)],this[_0x487b57(0x156)]),console['log'](_0x487b57(0xad),this[_0x487b57(0x1da)]),this[_0x487b57(0x183)]=parseInt(this[_0x487b57(0xd9)](_0x487b57(0x1ef)))||0x2,this[_0x487b57(0x1c9)]=!this['hasAttribute'](_0x487b57(0xb1))||this[_0x487b57(0xd9)](_0x487b57(0xb1))===_0x487b57(0x158),console[_0x487b57(0x149)](_0x487b57(0x1b7),{'unit':this[_0x487b57(0x156)],'value':this[_0x487b57(0x1da)],'unitCategory':this[_0x487b57(0xf6)],'decimalPlaces':this['decimalPlaces'],'showUnitArrow':this[_0x487b57(0x1c9)]}),this['render'](),this[_0x487b57(0x28a)]();}[_0xbded2c(0xd7)](){const _0x3cecd2=_0xbded2c;this[_0x3cecd2(0x1d2)]();}static get[_0xbded2c(0x170)](){const _0x3e652b=_0xbded2c;return[_0x3e652b(0x1da),_0x3e652b(0x156),_0x3e652b(0x1ef),_0x3e652b(0xb1)];}['attributeChangedCallback'](_0x5710cd,_0x1e8ee5,_0x20e7c7){const _0x1c512d=_0xbded2c;if(console['log'](_0x1c512d(0xb7)+_0x5710cd,{'oldValue':_0x1e8ee5,'newValue':_0x20e7c7}),_0x5710cd===_0x1c512d(0x1da))this[_0x1c512d(0x11d)]=_0x20e7c7||'0',this[_0x1c512d(0x1da)]=this[_0x1c512d(0x1fe)](this[_0x1c512d(0x11d)],this[_0x1c512d(0x156)]),console[_0x1c512d(0x149)](_0x1c512d(0x161),this[_0x1c512d(0x1da)]);else{if(_0x5710cd===_0x1c512d(0x156)){const _0x24f789=this[_0x1c512d(0x156)],_0xdcfc5d=this[_0x1c512d(0xf6)];this[_0x1c512d(0x156)]=_0x20e7c7||'mm',this[_0x1c512d(0x1b8)](),_0x24f789!==this[_0x1c512d(0x156)]&&(_0xdcfc5d===this[_0x1c512d(0xf6)]?(console[_0x1c512d(0x149)](_0x1c512d(0x17b),{'from':_0x24f789,'to':this[_0x1c512d(0x156)],'value':this[_0x1c512d(0x1da)],'unitCategory':this[_0x1c512d(0xf6)]}),this[_0x1c512d(0x1da)]=_0x322322({'value':this[_0x1c512d(0x1da)],'fromUnit':_0x24f789,'toUnit':this['unit'],'unitCategory':this[_0x1c512d(0xf6)]})):console['log']('Unit\x20category\x20changed,\x20keeping\x20original\x20value'),console[_0x1c512d(0x149)](_0x1c512d(0x1b0),this[_0x1c512d(0x1da)]));}else _0x5710cd===_0x1c512d(0x1ef)?(this[_0x1c512d(0x183)]=parseInt(_0x20e7c7)||0x2,console[_0x1c512d(0x149)](_0x1c512d(0x2a3),this[_0x1c512d(0x183)])):_0x5710cd===_0x1c512d(0xb1)&&(this[_0x1c512d(0x1c9)]=_0x20e7c7===null||_0x20e7c7===_0x1c512d(0x158),console[_0x1c512d(0x149)](_0x1c512d(0x16e),this[_0x1c512d(0x1c9)]));}this[_0x1c512d(0x110)]();}['updateUnitCategory'](){const _0x44f2a8=_0xbded2c;console[_0x44f2a8(0x149)](_0x44f2a8(0xbe),this[_0x44f2a8(0x156)]),this[_0x44f2a8(0xf6)]=_0x354538(this[_0x44f2a8(0x156)]),console['log']('Updated\x20unit\x20category:',this[_0x44f2a8(0xf6)]);}[_0xbded2c(0x1fe)](_0x5e01f9,_0x321386){const _0x17dc58=_0xbded2c;if(console['log'](_0x17dc58(0xc1),{'value':_0x5e01f9,'unit':_0x321386}),typeof _0x5e01f9==_0x17dc58(0x18c)&&_0x5e01f9[_0x17dc58(0xab)]()==='')return console['log'](_0x17dc58(0xfb)),0x0;const _0x4ed1a5=_0x321386===_0x17dc58(0x14d)?_0x39efa2(_0x5e01f9):parseFloat(_0x5e01f9)||0x0;return console[_0x17dc58(0x149)]('Parsed\x20value:',_0x4ed1a5),_0x4ed1a5;}[_0xbded2c(0x1d8)](){const _0x561b26=_0xbded2c;return this[_0x561b26(0x156)]===_0x561b26(0x14d)?_0x289b40(this[_0x561b26(0x1da)]):_0x154f0b(this[_0x561b26(0x1da)],this[_0x561b26(0x183)]);}[_0xbded2c(0x1ed)](_0xf1a347){const _0x414672=_0xbded2c;if(_0xf1a347['target'][_0x414672(0x1a2)]===_0x414672(0x1c8)){const _0x53544e=_0xf1a347[_0x414672(0x243)][_0x414672(0x1da)];console[_0x414672(0x149)](_0x414672(0x1fb),{'from':this[_0x414672(0x156)],'to':_0x53544e,'value':this[_0x414672(0x1da)],'unitCategory':this[_0x414672(0xf6)]}),this['value']=_0x322322(this[_0x414672(0x1da)],this['unit'],_0x53544e,this[_0x414672(0xf6)]),console[_0x414672(0x149)]('Converted\x20value:',this[_0x414672(0x1da)]),this[_0x414672(0x156)]=_0x53544e,this[_0x414672(0x1b8)](),this[_0x414672(0x110)]();}this[_0x414672(0x1e6)]();}[_0xbded2c(0x110)](){const _0x4c72d2=_0xbded2c,_0x46e23f=this[_0x4c72d2(0x1d8)]();this['shadowRoot']['innerHTML']=_0x4c72d2(0x206)+(this[_0x4c72d2(0x1c9)]?_0x4c72d2(0x10f):_0x4c72d2(0x25c))+_0x4c72d2(0x124)+(this[_0x4c72d2(0x1c9)]?_0x4c72d2(0x10f):_0x4c72d2(0x25c))+_0x4c72d2(0x1f6)+(this[_0x4c72d2(0x1c9)]?_0x4c72d2(0x10f):_0x4c72d2(0x25c))+_0x4c72d2(0x15e)+(this[_0x4c72d2(0x1c9)]?_0x4c72d2(0x2aa):'none')+_0x4c72d2(0x255)+_0x46e23f+_0x4c72d2(0x1f9)+(_0x439340[this[_0x4c72d2(0xf6)]]||[this['unit']])[_0x4c72d2(0x24f)](_0x393651=>_0x4c72d2(0x28e)+_0x393651+'\x22\x20'+(_0x393651===this[_0x4c72d2(0x156)]?_0x4c72d2(0x133):'')+_0x4c72d2(0x1c7)+_0x393651+_0x4c72d2(0x190))[_0x4c72d2(0xac)]('')+_0x4c72d2(0x159)+(this['showUnitArrow']&&this['unitCategory']!==_0x4c72d2(0xd1)?_0x4c72d2(0x1be)+this[_0x4c72d2(0x14e)]+'\x22\x20width=\x2212\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20':'')+_0x4c72d2(0x136),this[_0x4c72d2(0x1e6)]();}['updateDropdownWidth'](){const _0x49157a=_0xbded2c,_0x5d340b=this[_0x49157a(0x125)]['querySelector'](_0x49157a(0x2a9));if(!_0x5d340b)return;const _0x4a4f75=document[_0x49157a(0x1c3)]('span');_0x4a4f75[_0x49157a(0x22b)]['visibility']='hidden',_0x4a4f75[_0x49157a(0x22b)]['position']=_0x49157a(0x1a0),_0x4a4f75[_0x49157a(0x22b)][_0x49157a(0xdb)]=_0x49157a(0xaf),_0x4a4f75['style'][_0x49157a(0x1d7)]=window[_0x49157a(0x1f7)](_0x5d340b)[_0x49157a(0x1d7)],document[_0x49157a(0x21f)]['appendChild'](_0x4a4f75),_0x4a4f75[_0x49157a(0x24a)]=this[_0x49157a(0x156)];const _0x62c889=_0x4a4f75['offsetWidth'];document[_0x49157a(0x21f)][_0x49157a(0x179)](_0x4a4f75);const _0x49da51=this[_0x49157a(0x1c9)]?0x10:0x6,_0x5ae110=this[_0x49157a(0x1c9)]?0x8:0x0;let _0x1aed11=_0x62c889+_0x49da51+_0x5ae110+0x2;_0x1aed11=Math['max'](_0x1aed11,0x1e),_0x5d340b[_0x49157a(0x22b)][_0x49157a(0x16d)]=_0x1aed11+'px';}[_0xbded2c(0x28a)](){const _0x637ffe=_0xbded2c;this[_0x637ffe(0x125)][_0x637ffe(0x2ad)](_0x637ffe(0x225),this['handleUnitChange'][_0x637ffe(0x1a3)](this));const _0x3ce083=this[_0x637ffe(0x125)][_0x637ffe(0xc8)](_0x637ffe(0x1e4));_0x3ce083&&(_0x3ce083[_0x637ffe(0x2ad)]('mouseover',this[_0x637ffe(0x198)][_0x637ffe(0x1a3)](this)),_0x3ce083[_0x637ffe(0x2ad)](_0x637ffe(0x11c),this['handleUnitContainerMouseOut']['bind'](this)));}[_0xbded2c(0x1d2)](){const _0x523132=_0xbded2c;this['shadowRoot'][_0x523132(0x1de)](_0x523132(0x225),this[_0x523132(0x1ed)]['bind'](this));const _0x4b43d6=this[_0x523132(0x125)][_0x523132(0xc8)](_0x523132(0x1e4));_0x4b43d6&&(_0x4b43d6[_0x523132(0x1de)]('mouseover',this[_0x523132(0x198)][_0x523132(0x1a3)](this)),_0x4b43d6['removeEventListener'](_0x523132(0x11c),this[_0x523132(0xfa)][_0x523132(0x1a3)](this)));}['handleUnitContainerMouseOver'](){const _0x71a91e=_0xbded2c,_0x354f07=this[_0x71a91e(0x125)]['querySelector']('.tooltip');_0x354f07&&(this['tooltipTimeout']=setTimeout(()=>{const _0x58275e=_0x71a91e;_0x354f07['style'][_0x58275e(0xfc)]='block';},0x3e8));}[_0xbded2c(0xfa)](){const _0x226db3=_0xbded2c,_0x1317ab=this[_0x226db3(0x125)][_0x226db3(0xc8)]('.tooltip');_0x1317ab&&(setTimeout(()=>{const _0x10323f=_0x226db3;_0x1317ab[_0x10323f(0x22b)][_0x10323f(0xfc)]=_0x10323f(0x25c);},0x7d0),clearTimeout(this[_0x226db3(0x2ac)]));}}class _0x1cf3f4 extends HTMLElement{constructor(){const _0x481d8a=_0xbded2c;super(),this['attachShadow']({'mode':_0x481d8a(0x11f)}),this[_0x481d8a(0x17e)]=[],this[_0x481d8a(0x156)]='',this['unitCategory']='',this[_0x481d8a(0x183)]=0x2,this['showUnitArrow']=!0x0;}['connectedCallback'](){const _0x18d613=_0xbded2c;this['unit']=this['getAttribute'](_0x18d613(0x156))||'cm',this[_0x18d613(0x17e)]=this[_0x18d613(0xd9)]('values')[_0x18d613(0x203)](',')['map'](Number)[_0x18d613(0x24f)](_0xe991a=>this[_0x18d613(0x1fe)](_0xe991a,this['unit'])),this['unitCategory']=_0x354538(this[_0x18d613(0x156)]),this[_0x18d613(0x183)]=parseInt(this['getAttribute']('decimal-places'))||0x2,this[_0x18d613(0x1c9)]=!this[_0x18d613(0x1ca)](_0x18d613(0xb1))||this[_0x18d613(0xd9)](_0x18d613(0xb1))===_0x18d613(0x158),this['render'](),this[_0x18d613(0x28a)]();}static get[_0xbded2c(0x170)](){const _0x57a2de=_0xbded2c;return['values',_0x57a2de(0x156),'decimal-places',_0x57a2de(0xb1)];}[_0xbded2c(0x25b)](_0x2dd42a,_0xf6072f,_0x21a570){const _0x452126=_0xbded2c;if(_0x2dd42a===_0x452126(0x17e))this['values']=_0x21a570[_0x452126(0x203)](',')['map'](Number)['map'](_0x31d2b9=>this[_0x452126(0x1fe)](_0x31d2b9,this[_0x452126(0x156)]));else{if(_0x2dd42a==='unit'){const _0x121882=this[_0x452126(0x156)];this[_0x452126(0x156)]=_0x21a570,this[_0x452126(0xf6)]=_0x354538(_0x21a570),_0x121882!==_0x21a570&&(this['values']=this[_0x452126(0x17e)][_0x452126(0x24f)](_0x4afde2=>_0x322322(_0x4afde2,_0x121882,_0x21a570,this[_0x452126(0xf6)])));}else _0x2dd42a===_0x452126(0x1ef)?this[_0x452126(0x183)]=parseInt(_0x21a570)||0x2:_0x2dd42a===_0x452126(0xb1)&&(this[_0x452126(0x1c9)]=_0x21a570===null||_0x21a570===_0x452126(0x158));}this[_0x452126(0x110)]();}[_0xbded2c(0x110)](){const _0x4c95a4=_0xbded2c,_0x40bf63=this[_0x4c95a4(0x17e)][_0x4c95a4(0x24f)](_0x17e8f1=>this['formatPairValue'](_0x17e8f1));this[_0x4c95a4(0x125)][_0x4c95a4(0x197)]=_0x4c95a4(0xb5)+(this[_0x4c95a4(0x1c9)]?_0x4c95a4(0x10f):_0x4c95a4(0x25c))+_0x4c95a4(0x124)+(this['showUnitArrow']?_0x4c95a4(0x10f):_0x4c95a4(0x25c))+_0x4c95a4(0x1f6)+(this['showUnitArrow']?'auto':_0x4c95a4(0x25c))+_0x4c95a4(0x19b)+_0x40bf63[_0x4c95a4(0xac)](',\x20')+_0x4c95a4(0xca)+(_0x439340[this[_0x4c95a4(0xf6)]]||[this[_0x4c95a4(0x156)]])[_0x4c95a4(0x24f)](_0x1b5fd2=>'<option\x20value=\x22'+_0x1b5fd2+'\x22\x20'+(_0x1b5fd2===this[_0x4c95a4(0x156)]?_0x4c95a4(0x133):'')+_0x4c95a4(0x1c7)+_0x1b5fd2+_0x4c95a4(0x190))[_0x4c95a4(0xac)]('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20',this[_0x4c95a4(0x1e6)]();}[_0xbded2c(0x1e6)](){const _0x357969=_0xbded2c,_0x79ad61=this['shadowRoot']['querySelector'](_0x357969(0x2a9));if(!_0x79ad61)return;const _0xf7ea84=document['createElement'](_0x357969(0x1df));_0xf7ea84[_0x357969(0x22b)][_0x357969(0x258)]=_0x357969(0x21c),_0xf7ea84['style'][_0x357969(0x21a)]=_0x357969(0x1a0),_0xf7ea84[_0x357969(0x22b)][_0x357969(0xdb)]='nowrap',_0xf7ea84[_0x357969(0x22b)][_0x357969(0x1d7)]=window[_0x357969(0x1f7)](_0x79ad61)[_0x357969(0x1d7)],document['body'][_0x357969(0x256)](_0xf7ea84),_0xf7ea84['textContent']=this[_0x357969(0x156)];const _0x305951=_0xf7ea84['offsetWidth'];document[_0x357969(0x21f)][_0x357969(0x179)](_0xf7ea84);const _0x3c85a7=this[_0x357969(0x1c9)]?0x10:0x6,_0x428310=this[_0x357969(0x1c9)]?0x8:0x0;let _0x497be9=_0x305951+_0x3c85a7+_0x428310+0x2;_0x497be9=Math['max'](_0x497be9,0x1e),_0x79ad61['style']['width']=_0x497be9+'px';}[_0xbded2c(0x28a)](){const _0x173e12=_0xbded2c;this['shadowRoot']['addEventListener']('change',this[_0x173e12(0x1ed)][_0x173e12(0x1a3)](this));}[_0xbded2c(0x1fe)](_0x97a737,_0xe0cd6e){const _0x2f43dd=_0xbded2c;return _0xe0cd6e===_0x2f43dd(0x14d)?_0x39efa2(_0x97a737):parseFloat(_0x97a737);}['formatPairValue'](_0x5a8306){return this['unit']==='ft-in'?_0x289b40(_0x5a8306):_0x154f0b(_0x5a8306,this['decimalPlaces']);}[_0xbded2c(0x1ed)](_0x46c0c1){const _0x51d6d7=_0xbded2c;if(_0x46c0c1[_0x51d6d7(0x243)]['tagName']===_0x51d6d7(0x1c8)){const _0x486ecf=_0x46c0c1['target'][_0x51d6d7(0x1da)];this[_0x51d6d7(0x17e)]=this['values']['map'](_0x3396cf=>_0x322322(_0x3396cf,this[_0x51d6d7(0x156)],_0x486ecf,this[_0x51d6d7(0xf6)])),this[_0x51d6d7(0x156)]=_0x486ecf,this[_0x51d6d7(0x110)]();}this['updateDropdownWidth']();}}class _0x3ecece extends HTMLElement{constructor(){const _0x744f1d=_0xbded2c;super(),this[_0x744f1d(0xb4)]({'mode':_0x744f1d(0x11f)}),this['values']=[],this[_0x744f1d(0x156)]='',this[_0x744f1d(0xf6)]='',this['decimalPlaces']=0x2,this[_0x744f1d(0x1c9)]=!0x0,this[_0x744f1d(0x10c)]='',this[_0x744f1d(0x186)]=!0x1;}[_0xbded2c(0x13e)](){const _0x32ec39=_0xbded2c;this['unit']=this[_0x32ec39(0xd9)]('unit')||'cm',this[_0x32ec39(0x1c5)](this[_0x32ec39(0xd9)](_0x32ec39(0x17e))),this[_0x32ec39(0xf6)]=_0x354538(this['unit']),this[_0x32ec39(0x183)]=parseInt(this['getAttribute'](_0x32ec39(0x1ef)))||0x2,this[_0x32ec39(0x1c9)]=!this[_0x32ec39(0x1ca)](_0x32ec39(0xb1))||this[_0x32ec39(0xd9)]('show-unit-arrow')===_0x32ec39(0x158),this[_0x32ec39(0x110)](),this[_0x32ec39(0x28a)]();}static get[_0xbded2c(0x170)](){const _0x232104=_0xbded2c;return[_0x232104(0x17e),_0x232104(0x156),'decimal-places','show-unit-arrow'];}[_0xbded2c(0x25b)](_0x5111aa,_0x5aeeab,_0xcc7c2a){const _0x5ae14a=_0xbded2c;if(_0x5111aa===_0x5ae14a(0x17e))this['parseTripletValues'](_0xcc7c2a);else{if(_0x5111aa===_0x5ae14a(0x156)){const _0x44cf96=this['unit'];this['unit']=_0xcc7c2a,this[_0x5ae14a(0xf6)]=_0x354538(_0xcc7c2a),_0x44cf96!==_0xcc7c2a&&(this[_0x5ae14a(0x17e)]=this['values'][_0x5ae14a(0x24f)](_0x52853b=>_0x322322(_0x52853b,_0x44cf96,_0xcc7c2a,this['unitCategory'])));}else _0x5111aa===_0x5ae14a(0x1ef)?this[_0x5ae14a(0x183)]=parseInt(_0xcc7c2a)||0x2:_0x5111aa===_0x5ae14a(0xb1)&&(this[_0x5ae14a(0x1c9)]=_0xcc7c2a===null||_0xcc7c2a==='true');}this[_0x5ae14a(0x110)]();}[_0xbded2c(0x1fe)](_0x480b2f,_0x2ad01c){const _0x1a955a=_0xbded2c;return _0x2ad01c===_0x1a955a(0x14d)?_0x39efa2(_0x480b2f):parseFloat(_0x480b2f);}['parseTripletValues'](_0x449e6b){const _0x3414e8=_0xbded2c;this[_0x3414e8(0x10c)]='',this[_0x3414e8(0x186)]=_0x449e6b[_0x3414e8(0x173)]('(')&&_0x449e6b[_0x3414e8(0xfd)](')'),this[_0x3414e8(0x186)]&&(_0x449e6b=_0x449e6b[_0x3414e8(0x1dc)](0x1,-0x1)),_0x449e6b[_0x3414e8(0x191)]('x')?(this['values']=_0x449e6b[_0x3414e8(0x203)]('x')[_0x3414e8(0x24f)](_0x4fbfab=>this[_0x3414e8(0x1fe)](_0x4fbfab,this[_0x3414e8(0x156)])),this[_0x3414e8(0x10c)]='x'):_0x449e6b[_0x3414e8(0x191)](',')?(this[_0x3414e8(0x17e)]=_0x449e6b['split'](',')[_0x3414e8(0x24f)](_0x2c6ffa=>_0x2c6ffa['trim']())[_0x3414e8(0x24f)](_0x54082d=>this['parseValue'](_0x54082d,this[_0x3414e8(0x156)])),this[_0x3414e8(0x10c)]=_0x3414e8(0x12f)):(this[_0x3414e8(0x17e)]=_0x449e6b[_0x3414e8(0x203)](/\s+/)['map'](_0x25dcc7=>this[_0x3414e8(0x1fe)](_0x25dcc7,this[_0x3414e8(0x156)])),this[_0x3414e8(0x10c)]=_0x3414e8(0x222));}[_0xbded2c(0x297)](_0x529c35){const _0xb73699=_0xbded2c;return this[_0xb73699(0x156)]===_0xb73699(0x14d)?_0x289b40(_0x529c35):_0x154f0b(_0x529c35,this[_0xb73699(0x183)]);}[_0xbded2c(0x261)](_0x405e80){const _0x12534d=_0xbded2c;let _0x2f08a4='';const _0x121aa7=_0x405e80[_0x12534d(0x24f)](_0x122841=>this['formatTripletValue'](_0x122841));return this['format']==='x'?_0x2f08a4=_0x121aa7[0x0]+_0x12534d(0x115)+this[_0x12534d(0x156)]+'</span>\x20x\x20'+_0x121aa7[0x1]+_0x12534d(0x115)+this['unit']+_0x12534d(0x22d)+_0x121aa7[0x2]:this[_0x12534d(0x10c)]===_0x12534d(0x12f)?_0x2f08a4=_0x121aa7[_0x12534d(0xac)](',\x20'):_0x2f08a4=_0x121aa7[_0x12534d(0xac)]('\x20'),_0x2f08a4;}[_0xbded2c(0x110)](){const _0x19c149=_0xbded2c,_0x33b73c=this['formatTriplet'](this['values']);this[_0x19c149(0x125)][_0x19c149(0x197)]=_0x19c149(0x2af)+(this['showUnitArrow']?'auto':'none')+_0x19c149(0x124)+(this[_0x19c149(0x1c9)]?_0x19c149(0x10f):_0x19c149(0x25c))+_0x19c149(0x1f6)+(this[_0x19c149(0x1c9)]?_0x19c149(0x10f):_0x19c149(0x25c))+_0x19c149(0x1eb)+(this['hasParentheses']?'(':'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22values\x22>'+_0x33b73c+_0x19c149(0x23e)+(this[_0x19c149(0x186)]&&this[_0x19c149(0x10c)]!=='x'?')':'')+_0x19c149(0x17c)+(_0x439340[this[_0x19c149(0xf6)]]||[this['unit']])[_0x19c149(0x24f)](_0x2350a1=>'<option\x20value=\x22'+_0x2350a1+'\x22\x20'+(_0x2350a1===this['unit']?_0x19c149(0x133):'')+_0x19c149(0x1c7)+_0x2350a1+_0x19c149(0x190))[_0x19c149(0xac)]('')+_0x19c149(0x1f1)+(this[_0x19c149(0x186)]&&this[_0x19c149(0x10c)]==='x'?')':'')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</span>\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20',this['updateDropdownWidth']();}[_0xbded2c(0x1e6)](){const _0xcb2b03=_0xbded2c,_0x2d184f=this[_0xcb2b03(0x125)][_0xcb2b03(0xc8)](_0xcb2b03(0x2a9));if(!_0x2d184f)return;const _0x4f199e=document['createElement'](_0xcb2b03(0x1df));_0x4f199e[_0xcb2b03(0x22b)][_0xcb2b03(0x258)]=_0xcb2b03(0x21c),_0x4f199e['style']['position']=_0xcb2b03(0x1a0),_0x4f199e['style']['whiteSpace']=_0xcb2b03(0xaf),_0x4f199e[_0xcb2b03(0x22b)][_0xcb2b03(0x1d7)]=window['getComputedStyle'](_0x2d184f)[_0xcb2b03(0x1d7)],document['body']['appendChild'](_0x4f199e),_0x4f199e[_0xcb2b03(0x24a)]=this['unit'];const _0x14d91c=_0x4f199e[_0xcb2b03(0xd4)];document['body'][_0xcb2b03(0x179)](_0x4f199e);const _0x1301d1=this['showUnitArrow']?0x10:0x6,_0x215640=this[_0xcb2b03(0x1c9)]?0x8:0x0;let _0x3110ef=_0x14d91c+_0x1301d1+_0x215640+0x2;_0x3110ef=Math[_0xcb2b03(0xe9)](_0x3110ef,0x1e),_0x2d184f['style'][_0xcb2b03(0x16d)]=_0x3110ef+'px';}[_0xbded2c(0x28a)](){const _0x1102b0=_0xbded2c;this[_0x1102b0(0x125)][_0x1102b0(0x2ad)](_0x1102b0(0x225),this['handleUnitChange'][_0x1102b0(0x1a3)](this));}[_0xbded2c(0x1ed)](_0x6b736b){const _0x2ac941=_0xbded2c;if(_0x6b736b[_0x2ac941(0x243)][_0x2ac941(0x1a2)]===_0x2ac941(0x1c8)){const _0x31095d=_0x6b736b[_0x2ac941(0x243)]['value'];this[_0x2ac941(0x17e)]=this[_0x2ac941(0x17e)]['map'](_0x58a6bf=>_0x322322(_0x58a6bf,this[_0x2ac941(0x156)],_0x31095d,this[_0x2ac941(0xf6)])),this[_0x2ac941(0x156)]=_0x31095d,this[_0x2ac941(0x110)]();}this[_0x2ac941(0x1e6)]();}}class _0x5e01d9 extends HTMLElement{constructor(){const _0x53e5e5=_0xbded2c;super(),this[_0x53e5e5(0xb4)]({'mode':_0x53e5e5(0x11f)}),this[_0x53e5e5(0x1af)]=0x0;}[_0xbded2c(0x13e)](){this['render'](),this['attachEventListeners']();}[_0xbded2c(0x110)](){const _0x24d9e0=_0xbded2c;this[_0x24d9e0(0x125)][_0x24d9e0(0x197)]=_0x24d9e0(0x1aa)+this['count']+_0x24d9e0(0x18e);}[_0xbded2c(0x28a)](){const _0x4e6fcc=_0xbded2c,_0x1fe278=this[_0x4e6fcc(0x125)][_0x4e6fcc(0xc8)]('.increment'),_0x251939=this['shadowRoot'][_0x4e6fcc(0xc8)]('.decrement');_0x1fe278[_0x4e6fcc(0x2ad)](_0x4e6fcc(0x1f2),()=>this['increment']()),_0x251939[_0x4e6fcc(0x2ad)](_0x4e6fcc(0x1f2),()=>this[_0x4e6fcc(0x1ab)]());}[_0xbded2c(0x1b4)](){const _0x2ce853=_0xbded2c;this[_0x2ce853(0x1af)]++,this['updateCount']();}[_0xbded2c(0x1ab)](){const _0x3160ed=_0xbded2c;this[_0x3160ed(0x1af)]--,this[_0x3160ed(0x205)]();}[_0xbded2c(0x205)](){const _0x347130=_0xbded2c,_0xfea913=this[_0x347130(0x125)]['querySelector'](_0x347130(0x20f));_0xfea913['textContent']=this[_0x347130(0x1af)];}}const _0x5f1b70=(_0x3d2dba,_0xf1102b)=>{const _0x4ff9a1=_0xbded2c;typeof window<'u'&&!customElements[_0x4ff9a1(0x199)](_0x3d2dba)&&customElements[_0x4ff9a1(0x27d)](_0x3d2dba,_0xf1102b);};_0x5f1b70(_0xbded2c(0x233),_0x2f6cef),_0x5f1b70('uc-qty',class extends _0x2f6cef{}),_0x5f1b70(_0xbded2c(0x245),_0x1cf3f4),_0x5f1b70(_0xbded2c(0x208),_0x3ecece),_0x5f1b70('new-component-1',_0x5e01d9),_0x4068ae[_0xbded2c(0x185)]=_0x5e01d9,_0x4068ae[_0xbded2c(0x252)]=_0x2f6cef,_0x4068ae[_0xbded2c(0xf4)]=_0x1cf3f4,_0x4068ae['UcQtyTriplet']=_0x3ecece,Object[_0xbded2c(0x1ce)](_0x4068ae,Symbol[_0xbded2c(0x1b6)],{'value':_0xbded2c(0x277)});}));
|
package/package.json
CHANGED