physical-quantity 1.1.30 → 1.1.40
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 +35 -5
- package/dist/pq.es.js +537 -346
- package/dist/pq.umd.js +583 -369
- package/package.json +1 -1
package/dist/pq.es.js
CHANGED
|
@@ -1,85 +1,92 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
1
|
+
const _0x4b583c = _0xa576;
|
|
2
|
+
(function (_0x40722a, _0x66e435) {
|
|
3
|
+
const _0x432fa9 = _0xa576,
|
|
4
|
+
_0x2c39d4 = _0x40722a();
|
|
5
5
|
while (!![]) {
|
|
6
6
|
try {
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} catch (_0x55fb3d) {
|
|
22
|
-
_0x3981ef["push"](_0x3981ef["shift"]());
|
|
7
|
+
const _0x184479 =
|
|
8
|
+
-parseInt(_0x432fa9(0x15f)) / 0x1 +
|
|
9
|
+
(parseInt(_0x432fa9(0x130)) / 0x2) *
|
|
10
|
+
(parseInt(_0x432fa9(0x123)) / 0x3) +
|
|
11
|
+
parseInt(_0x432fa9(0x143)) / 0x4 +
|
|
12
|
+
parseInt(_0x432fa9(0x11b)) / 0x5 +
|
|
13
|
+
(parseInt(_0x432fa9(0x179)) / 0x6) *
|
|
14
|
+
(parseInt(_0x432fa9(0x166)) / 0x7) +
|
|
15
|
+
parseInt(_0x432fa9(0x157)) / 0x8 +
|
|
16
|
+
-parseInt(_0x432fa9(0x14f)) / 0x9;
|
|
17
|
+
if (_0x184479 === _0x66e435) break;
|
|
18
|
+
else _0x2c39d4["push"](_0x2c39d4["shift"]());
|
|
19
|
+
} catch (_0x283794) {
|
|
20
|
+
_0x2c39d4["push"](_0x2c39d4["shift"]());
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
|
-
})(
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
Length: ["m", "km", "cm", "mm", "in", "ft"],
|
|
33
|
-
Mass: ["g", "kg",
|
|
23
|
+
})(_0x2301, 0x7c3d3);
|
|
24
|
+
const m = 0.45359237,
|
|
25
|
+
c = 25.4 / 0x3e8,
|
|
26
|
+
p = 0xc * c,
|
|
27
|
+
A = 0x18bcd,
|
|
28
|
+
f = 133.322387415,
|
|
29
|
+
C = {
|
|
30
|
+
Length: ["m", "km", "cm", "mm", "in", _0x4b583c(0x11a), "ft"],
|
|
31
|
+
Mass: ["g", "kg", _0x4b583c(0x11f)],
|
|
34
32
|
Pressure: [
|
|
35
33
|
"Pa",
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
34
|
+
"kPa",
|
|
35
|
+
_0x4b583c(0x178),
|
|
36
|
+
_0x4b583c(0x10f),
|
|
37
|
+
"bar",
|
|
38
|
+
_0x4b583c(0x165),
|
|
39
|
+
_0x4b583c(0x14d),
|
|
40
|
+
_0x4b583c(0x172),
|
|
41
|
+
_0x4b583c(0x10c),
|
|
42
|
+
_0x4b583c(0x184),
|
|
43
|
+
"mm\x20W.C.",
|
|
44
|
+
_0x4b583c(0x117),
|
|
45
|
+
_0x4b583c(0x115),
|
|
46
|
+
_0x4b583c(0x167),
|
|
47
|
+
_0x4b583c(0x185),
|
|
48
|
+
_0x4b583c(0x151),
|
|
51
49
|
"ksi[kip/in²]",
|
|
52
50
|
],
|
|
53
51
|
Density: [
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
_0x4b583c(0x154),
|
|
53
|
+
"kg/L",
|
|
56
54
|
"g/cm³",
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
"g/mm³",
|
|
56
|
+
"lbm/ft³",
|
|
57
|
+
_0x4b583c(0x122),
|
|
60
58
|
],
|
|
61
59
|
Time: [
|
|
62
|
-
|
|
60
|
+
_0x4b583c(0x159),
|
|
63
61
|
"s",
|
|
64
|
-
|
|
62
|
+
"minute",
|
|
65
63
|
"h",
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
_0x4b583c(0x124),
|
|
65
|
+
"day",
|
|
66
|
+
_0x4b583c(0x146),
|
|
69
67
|
],
|
|
70
68
|
ElectricalCurrent: [
|
|
71
69
|
"A",
|
|
72
|
-
|
|
70
|
+
_0x4b583c(0x162),
|
|
73
71
|
"mA",
|
|
74
72
|
"µA",
|
|
75
73
|
"kA",
|
|
76
74
|
"MA",
|
|
77
|
-
|
|
75
|
+
_0x4b583c(0x144),
|
|
78
76
|
],
|
|
77
|
+
Temperature: ["°K", "°C", "°F", "°Ra"],
|
|
79
78
|
},
|
|
80
|
-
|
|
81
|
-
Length: {
|
|
82
|
-
|
|
79
|
+
y = {
|
|
80
|
+
Length: {
|
|
81
|
+
m: 0x1,
|
|
82
|
+
km: 0x3e8,
|
|
83
|
+
cm: 0.01,
|
|
84
|
+
mm: 0.001,
|
|
85
|
+
in: c,
|
|
86
|
+
"ft-in": c,
|
|
87
|
+
ft: p,
|
|
88
|
+
},
|
|
89
|
+
Mass: { kg: 0x1, g: 0.001, lbm: m },
|
|
83
90
|
Pressure: {
|
|
84
91
|
Pa: 0x1,
|
|
85
92
|
kPa: 0x3e8,
|
|
@@ -87,25 +94,25 @@ const s = 0.45359237,
|
|
|
87
94
|
GPa: 0x3b9aca00,
|
|
88
95
|
bar: 0x64 * 0x3e8,
|
|
89
96
|
mbar: 0x64,
|
|
90
|
-
atm:
|
|
91
|
-
"mm\x20HG":
|
|
92
|
-
"cm\x20HG":
|
|
93
|
-
"in\x20HG":
|
|
97
|
+
atm: A,
|
|
98
|
+
"mm\x20HG": f,
|
|
99
|
+
"cm\x20HG": f * 0xa,
|
|
100
|
+
"in\x20HG": f * 25.4,
|
|
94
101
|
"mm\x20W.C.": (0x1 / 0x3e8) * 0x3e8 * 9.80665,
|
|
95
102
|
"m\x20W.C.": 0x1 * 0x3e8 * 9.80665,
|
|
96
|
-
"in\x20W.C.":
|
|
97
|
-
psf: (
|
|
98
|
-
psi: (
|
|
99
|
-
ksi: ((
|
|
100
|
-
"ksi[kip/in²]": ((
|
|
103
|
+
"in\x20W.C.": c * 0x3e8 * 9.80665,
|
|
104
|
+
psf: (m * 9.80665) / Math["pow"](p, 0x2),
|
|
105
|
+
psi: (m * 9.80665) / Math["pow"](c, 0x2),
|
|
106
|
+
ksi: ((m * 9.80665) / Math[_0x4b583c(0x109)](c, 0x2)) * 0x3e8,
|
|
107
|
+
"ksi[kip/in²]": ((m * 9.80665) / Math[_0x4b583c(0x109)](c, 0x2)) * 0x3e8,
|
|
101
108
|
},
|
|
102
109
|
Density: {
|
|
103
110
|
"kg/m³": 0x1,
|
|
104
111
|
"kg/L": 0x3e8,
|
|
105
|
-
"g/cm³": 0x1 / 0x3e8 / Math[
|
|
106
|
-
"g/mm³": 0x1 / 0x3e8 / Math[
|
|
107
|
-
"lbm/ft³":
|
|
108
|
-
"lbm/in³":
|
|
112
|
+
"g/cm³": 0x1 / 0x3e8 / Math[_0x4b583c(0x109)](0.01, 0x3),
|
|
113
|
+
"g/mm³": 0x1 / 0x3e8 / Math[_0x4b583c(0x109)](0.001, 0x3),
|
|
114
|
+
"lbm/ft³": m / Math[_0x4b583c(0x109)](p, 0x3),
|
|
115
|
+
"lbm/in³": m / Math["pow"](c, 0x3),
|
|
109
116
|
},
|
|
110
117
|
Time: {
|
|
111
118
|
"s[second]": 0x1,
|
|
@@ -125,332 +132,516 @@ const s = 0.45359237,
|
|
|
125
132
|
MA: 0xf4240,
|
|
126
133
|
"esu/s": 0x1 / 0xb2d05e00,
|
|
127
134
|
},
|
|
135
|
+
Temperature: {
|
|
136
|
+
"°K": { c0: 0x1, c1: 0x0 },
|
|
137
|
+
"°C": { c0: 0x1, c1: 273.15 },
|
|
138
|
+
"°F": { c0: 0x5 / 0x9, c1: 255.3722222 },
|
|
139
|
+
"°Ra": { c0: 0x5 / 0x9, c1: 0x0 },
|
|
140
|
+
},
|
|
128
141
|
};
|
|
129
|
-
class
|
|
142
|
+
class v extends HTMLElement {
|
|
130
143
|
constructor() {
|
|
131
|
-
const
|
|
144
|
+
const _0x38e8ed = _0x4b583c;
|
|
132
145
|
super(),
|
|
133
|
-
this[
|
|
134
|
-
(this[
|
|
135
|
-
(this[
|
|
136
|
-
(this[
|
|
137
|
-
(this[
|
|
138
|
-
(this[
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
this[
|
|
146
|
+
this[_0x38e8ed(0x142)]({ mode: "open" }),
|
|
147
|
+
(this[_0x38e8ed(0x132)] = C),
|
|
148
|
+
(this[_0x38e8ed(0x120)] = y),
|
|
149
|
+
(this["unit"] = this[_0x38e8ed(0x12f)](_0x38e8ed(0x13b)) || "mm"),
|
|
150
|
+
(this["unitCategory"] = this[_0x38e8ed(0x156)](this[_0x38e8ed(0x13b)])),
|
|
151
|
+
(this[_0x38e8ed(0x13e)] = this[_0x38e8ed(0x12f)](_0x38e8ed(0x153))),
|
|
152
|
+
this[_0x38e8ed(0x13b)] === _0x38e8ed(0x11a)
|
|
153
|
+
? (this["value"] = this[_0x38e8ed(0x187)](this[_0x38e8ed(0x13e)]))
|
|
154
|
+
: (this[_0x38e8ed(0x153)] = parseFloat(this[_0x38e8ed(0x13e)])),
|
|
155
|
+
(this["tooltipTimeout"] = null),
|
|
156
|
+
(this["decimalPlaces"] = 0x3),
|
|
157
|
+
(this[_0x38e8ed(0x152)] =
|
|
158
|
+
"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"),
|
|
159
|
+
(this[_0x38e8ed(0x132)] = C),
|
|
160
|
+
(this[_0x38e8ed(0x120)] = y),
|
|
161
|
+
(this[_0x38e8ed(0x137)] =
|
|
162
|
+
!this["hasAttribute"]("show-unit-arrow") ||
|
|
163
|
+
this[_0x38e8ed(0x12f)](_0x38e8ed(0x160)) === _0x38e8ed(0x16f)),
|
|
164
|
+
this[_0x38e8ed(0x113)]();
|
|
165
|
+
}
|
|
166
|
+
static get [_0x4b583c(0x12d)]() {
|
|
167
|
+
const _0x167a74 = _0x4b583c;
|
|
168
|
+
return [
|
|
169
|
+
_0x167a74(0x153),
|
|
170
|
+
_0x167a74(0x13b),
|
|
171
|
+
"decimal-places",
|
|
172
|
+
_0x167a74(0x160),
|
|
173
|
+
];
|
|
144
174
|
}
|
|
145
|
-
|
|
146
|
-
const
|
|
147
|
-
|
|
175
|
+
[_0x4b583c(0x10a)](_0x2c3bb9, _0x27dd1c, _0x11cb57) {
|
|
176
|
+
const _0x372d78 = _0x4b583c;
|
|
177
|
+
_0x2c3bb9 === _0x372d78(0x153)
|
|
178
|
+
? ((this[_0x372d78(0x13e)] = _0x11cb57),
|
|
179
|
+
this["unit"] === _0x372d78(0x11a)
|
|
180
|
+
? (this[_0x372d78(0x153)] = this["parseFeetInchesValue"](_0x11cb57))
|
|
181
|
+
: (this[_0x372d78(0x153)] = parseFloat(_0x11cb57)))
|
|
182
|
+
: _0x2c3bb9 === "unit"
|
|
183
|
+
? ((this[_0x372d78(0x13b)] = _0x11cb57),
|
|
184
|
+
(this[_0x372d78(0x114)] = this[_0x372d78(0x156)](_0x11cb57)),
|
|
185
|
+
this["unit"] === _0x372d78(0x11a)
|
|
186
|
+
? (this[_0x372d78(0x153)] = this[_0x372d78(0x187)](
|
|
187
|
+
this["inputValue"]
|
|
188
|
+
))
|
|
189
|
+
: _0x27dd1c === _0x372d78(0x11a) &&
|
|
190
|
+
(this[_0x372d78(0x153)] = this[_0x372d78(0x13d)](
|
|
191
|
+
this["value"],
|
|
192
|
+
"in",
|
|
193
|
+
this["unit"]
|
|
194
|
+
)))
|
|
195
|
+
: _0x2c3bb9 === "decimal-places"
|
|
196
|
+
? (this["decimalPlaces"] = parseInt(_0x11cb57) || 0x3)
|
|
197
|
+
: _0x2c3bb9 === _0x372d78(0x160) &&
|
|
198
|
+
(this[_0x372d78(0x137)] = _0x11cb57 === null || _0x11cb57 === "true"),
|
|
199
|
+
this["render"]();
|
|
200
|
+
}
|
|
201
|
+
[_0x4b583c(0x187)](_0x2f512f) {
|
|
202
|
+
const _0x27a03f = _0x4b583c,
|
|
203
|
+
_0x3ed461 = /(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,
|
|
204
|
+
_0x324bc6 = /(\d+)\'/,
|
|
205
|
+
_0x325142 = /(\d+)/;
|
|
206
|
+
let _0x43b383 = _0x2f512f[_0x27a03f(0x168)](_0x3ed461);
|
|
207
|
+
if (_0x43b383) {
|
|
208
|
+
const _0xffb043 = parseInt(_0x43b383[0x1]) || 0x0,
|
|
209
|
+
_0x2f10a1 = parseInt(_0x43b383[0x3]) || 0x0,
|
|
210
|
+
_0x38a1fa = parseInt(_0x43b383[0x5]) || 0x0,
|
|
211
|
+
_0x30d64d = parseInt(_0x43b383[0x6]) || 0x1;
|
|
212
|
+
return this[_0x27a03f(0x181)](_0xffb043, _0x2f10a1, _0x38a1fa, _0x30d64d);
|
|
213
|
+
}
|
|
214
|
+
if (((_0x43b383 = _0x2f512f[_0x27a03f(0x168)](_0x324bc6)), _0x43b383)) {
|
|
215
|
+
const _0x50e043 = parseInt(_0x43b383[0x1]) || 0x0;
|
|
216
|
+
return this["calculateTotalInches"](_0x50e043, 0x0, 0x0, 0x1);
|
|
217
|
+
}
|
|
218
|
+
if (((_0x43b383 = _0x2f512f[_0x27a03f(0x168)](_0x325142)), _0x43b383)) {
|
|
219
|
+
const _0xd6bad6 = parseInt(_0x43b383[0x1]) || 0x0;
|
|
220
|
+
return this[_0x27a03f(0x181)](0x0, _0xd6bad6, 0x0, 0x1);
|
|
221
|
+
}
|
|
222
|
+
return parseFloat(_0x2f512f);
|
|
148
223
|
}
|
|
149
|
-
[
|
|
150
|
-
|
|
151
|
-
_0x31ddd1 === _0x4080f8(0xc2)
|
|
152
|
-
? (this[_0x4080f8(0xc2)] = parseFloat(_0x4c9632))
|
|
153
|
-
: _0x31ddd1 === "unit"
|
|
154
|
-
? ((this[_0x4080f8(0xf7)] = _0x4c9632),
|
|
155
|
-
(this[_0x4080f8(0xb7)] = this[_0x4080f8(0xcf)](_0x4c9632)))
|
|
156
|
-
: _0x31ddd1 === "decimal-places"
|
|
157
|
-
? (this["decimalPlaces"] = parseInt(_0x4c9632) || 0x3)
|
|
158
|
-
: _0x31ddd1 === _0x4080f8(0xf9) &&
|
|
159
|
-
(this[_0x4080f8(0xee)] =
|
|
160
|
-
_0x4c9632 === null || _0x4c9632 === _0x4080f8(0xf2)),
|
|
161
|
-
this[_0x4080f8(0xd5)]();
|
|
224
|
+
[_0x4b583c(0x181)](_0x586685, _0xf33a45, _0x1e07d6, _0x328a53) {
|
|
225
|
+
return _0x586685 * 0xc + _0xf33a45 + _0x1e07d6 / _0x328a53;
|
|
162
226
|
}
|
|
163
|
-
[
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
227
|
+
[_0x4b583c(0x17c)](_0x3a4feb, _0x19fd94 = _0x4b583c(0x13a)) {
|
|
228
|
+
const _0x5a297d = _0x4b583c;
|
|
229
|
+
if (_0x3a4feb < 0x0) return "-" + formatFeetInchesValue(-_0x3a4feb);
|
|
230
|
+
const _0x2c571f = parseInt(
|
|
231
|
+
_0x19fd94[_0x5a297d(0x127)]("/")[0x1]["replace"]("\x22", "")
|
|
232
|
+
);
|
|
233
|
+
let _0xfd2aa3 = Math[_0x5a297d(0x175)](_0x3a4feb / 0xc),
|
|
234
|
+
_0x582091 = Math[_0x5a297d(0x175)](_0x3a4feb % 0xc);
|
|
235
|
+
const _0x39dbd3 = _0x3a4feb - Math[_0x5a297d(0x175)](_0x3a4feb);
|
|
236
|
+
let _0x17e9ea = "";
|
|
237
|
+
if (_0x39dbd3 > 0x0 && _0x19fd94 !== 0x0) {
|
|
238
|
+
let _0x34d794 = Math[_0x5a297d(0x12e)](_0x39dbd3 * _0x2c571f);
|
|
239
|
+
const _0x5f591f = (_0x255224, _0x486386) =>
|
|
240
|
+
_0x486386 ? _0x5f591f(_0x486386, _0x255224 % _0x486386) : _0x255224,
|
|
241
|
+
_0x662f63 = _0x5f591f(_0x34d794, _0x2c571f);
|
|
242
|
+
(_0x17e9ea =
|
|
243
|
+
"\x20" + _0x34d794 / _0x662f63 + "/" + _0x2c571f / _0x662f63),
|
|
244
|
+
_0x17e9ea[_0x5a297d(0x10d)]() === "1/1" &&
|
|
245
|
+
(_0x582091++,
|
|
246
|
+
_0x582091 >= 0xc && (_0xfd2aa3++, (_0x582091 -= 0xc)),
|
|
247
|
+
(_0x17e9ea = ""));
|
|
248
|
+
}
|
|
249
|
+
let _0xb6f032 = "";
|
|
168
250
|
return (
|
|
169
|
-
(
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
(
|
|
251
|
+
_0xfd2aa3 > 0x0 && (_0xb6f032 += _0xfd2aa3 + "\x27"),
|
|
252
|
+
_0xfd2aa3 > 0x0 &&
|
|
253
|
+
(_0x582091 > 0x0 || _0x17e9ea !== "") &&
|
|
254
|
+
(_0xb6f032 += "-"),
|
|
255
|
+
_0x582091 > 0x0 && (_0xb6f032 += "" + _0x582091),
|
|
256
|
+
_0x17e9ea !== "" && (_0xb6f032 += _0x17e9ea),
|
|
257
|
+
(_0x582091 > 0x0 || _0x17e9ea !== "") && (_0xb6f032 += "\x22"),
|
|
258
|
+
_0xb6f032[_0x5a297d(0x10d)]()
|
|
259
|
+
);
|
|
260
|
+
}
|
|
261
|
+
[_0x4b583c(0x171)](_0x348e52) {
|
|
262
|
+
const _0x48ba0e = _0x4b583c;
|
|
263
|
+
debugger;
|
|
264
|
+
if (_0x348e52 < 0x0) return "-" + formatFeetInchesValue(-_0x348e52);
|
|
265
|
+
const _0x2d0b62 = Math[_0x48ba0e(0x175)](_0x348e52 / 0xc),
|
|
266
|
+
_0x4364a7 = Math["floor"](_0x348e52 % 0xc),
|
|
267
|
+
_0x17cfdb = _0x348e52 - Math[_0x48ba0e(0x175)](_0x348e52);
|
|
268
|
+
let _0x77cf93 = "";
|
|
269
|
+
if (_0x17cfdb > 0x0) {
|
|
270
|
+
const _0x32ffb4 = (_0x366459, _0x2b924e) =>
|
|
271
|
+
_0x2b924e ? _0x32ffb4(_0x2b924e, _0x366459 % _0x2b924e) : _0x366459,
|
|
272
|
+
_0x306d76 = Math["round"](_0x17cfdb * 0x10),
|
|
273
|
+
_0x50cd4a = 0x10,
|
|
274
|
+
_0x57bbc3 = _0x32ffb4(_0x306d76, _0x50cd4a);
|
|
275
|
+
_0x77cf93 = _0x306d76 / _0x57bbc3 + "/" + _0x50cd4a / _0x57bbc3;
|
|
276
|
+
}
|
|
277
|
+
return _0x4364a7 === 0x0
|
|
278
|
+
? _0x2d0b62 + "\x27-" + _0x77cf93 + "\x22"
|
|
279
|
+
: _0x2d0b62 + "\x27-" + _0x4364a7 + "\x20" + _0x77cf93 + "\x22";
|
|
280
|
+
}
|
|
281
|
+
["formatFeetInchesValue1"](_0x36863e) {
|
|
282
|
+
const _0x49dff6 = _0x4b583c;
|
|
283
|
+
debugger;
|
|
284
|
+
const _0x3c55ef = Math["floor"](_0x36863e / 0xc),
|
|
285
|
+
_0x45f4da = Math["floor"](_0x36863e % 0xc),
|
|
286
|
+
_0x1d2ed9 = _0x36863e % 0x1;
|
|
287
|
+
let _0x4b0f7d = "";
|
|
288
|
+
if (_0x1d2ed9 > 0x0) {
|
|
289
|
+
const _0x8d32bf = (_0x9fef58, _0xc86482) =>
|
|
290
|
+
_0xc86482 ? _0x8d32bf(_0xc86482, _0x9fef58 % _0xc86482) : _0x9fef58,
|
|
291
|
+
_0x1f0c94 = Math[_0x49dff6(0x12e)](_0x1d2ed9 * 0x10),
|
|
292
|
+
_0x5c53f2 = 0x10,
|
|
293
|
+
_0x3acad3 = _0x8d32bf(_0x1f0c94, _0x5c53f2);
|
|
294
|
+
_0x4b0f7d = "\x20" + _0x1f0c94 / _0x3acad3 + "/" + _0x5c53f2 / _0x3acad3;
|
|
295
|
+
}
|
|
296
|
+
return _0x3c55ef + "\x27-" + _0x45f4da + "\x20" + _0x4b0f7d + "\x22";
|
|
297
|
+
}
|
|
298
|
+
[_0x4b583c(0x148)](_0x3b32f5) {
|
|
299
|
+
const _0x14be7d = _0x4b583c,
|
|
300
|
+
_0x201ca2 = Math["floor"](_0x3b32f5 / 0xc),
|
|
301
|
+
_0x27dc3b = Math[_0x14be7d(0x12e)]((_0x3b32f5 % 0xc) * 0xa) / 0xa;
|
|
302
|
+
return _0x201ca2 > 0x0 && _0x27dc3b > 0x0
|
|
303
|
+
? _0x201ca2 + "\x27-" + _0x27dc3b + "\x22"
|
|
304
|
+
: _0x201ca2 > 0x0
|
|
305
|
+
? _0x201ca2 + "\x27"
|
|
306
|
+
: _0x27dc3b + "\x22";
|
|
307
|
+
}
|
|
308
|
+
["convertToNewUnit"](_0x4c69db, _0x31738d, _0x826723) {
|
|
309
|
+
const _0x26f978 = _0x4b583c,
|
|
310
|
+
_0x3ed31e =
|
|
311
|
+
this[_0x26f978(0x120)][this[_0x26f978(0x114)]][_0x31738d] /
|
|
312
|
+
this[_0x26f978(0x120)][this[_0x26f978(0x114)]][_0x826723];
|
|
313
|
+
return _0x4c69db * _0x3ed31e;
|
|
314
|
+
}
|
|
315
|
+
[_0x4b583c(0x156)](_0x286226) {
|
|
316
|
+
const _0x1d7e7d = _0x4b583c;
|
|
317
|
+
for (const _0x50597a in this[_0x1d7e7d(0x132)])
|
|
318
|
+
if (this[_0x1d7e7d(0x132)][_0x50597a][_0x1d7e7d(0x10e)](_0x286226))
|
|
319
|
+
return _0x50597a;
|
|
320
|
+
return (
|
|
321
|
+
(this[_0x1d7e7d(0x132)][_0x1d7e7d(0x17a)] =
|
|
322
|
+
this[_0x1d7e7d(0x132)][_0x1d7e7d(0x17a)] || []),
|
|
323
|
+
this[_0x1d7e7d(0x132)][_0x1d7e7d(0x17a)][_0x1d7e7d(0x13c)](_0x286226),
|
|
324
|
+
(this["unitConversion"][_0x1d7e7d(0x17a)] =
|
|
325
|
+
this["unitConversion"]["Custom"] || {}),
|
|
326
|
+
(this[_0x1d7e7d(0x120)][_0x1d7e7d(0x17a)][_0x286226] = 0x1),
|
|
174
327
|
"Custom"
|
|
175
328
|
);
|
|
176
329
|
}
|
|
177
|
-
[
|
|
178
|
-
const
|
|
179
|
-
this[
|
|
180
|
-
|
|
181
|
-
this[
|
|
330
|
+
[_0x4b583c(0x107)]() {
|
|
331
|
+
const _0x2dbe15 = _0x4b583c;
|
|
332
|
+
this[_0x2dbe15(0x12a)][_0x2dbe15(0x125)](
|
|
333
|
+
_0x2dbe15(0x17e),
|
|
334
|
+
this[_0x2dbe15(0x182)][_0x2dbe15(0x141)](this)
|
|
182
335
|
),
|
|
183
|
-
(this[
|
|
184
|
-
(this[
|
|
185
|
-
(this[
|
|
186
|
-
? this[
|
|
187
|
-
: this[
|
|
188
|
-
this[
|
|
336
|
+
(this["unit"] = this["getAttribute"](_0x2dbe15(0x13b)) || "mm"),
|
|
337
|
+
(this[_0x2dbe15(0x114)] = this[_0x2dbe15(0x156)](this[_0x2dbe15(0x13b)])),
|
|
338
|
+
(this[_0x2dbe15(0x137)] = this[_0x2dbe15(0x161)](_0x2dbe15(0x160))
|
|
339
|
+
? this[_0x2dbe15(0x12f)](_0x2dbe15(0x160)) === _0x2dbe15(0x16f)
|
|
340
|
+
: this[_0x2dbe15(0x114)] !== _0x2dbe15(0x17a)),
|
|
341
|
+
this[_0x2dbe15(0x113)]();
|
|
189
342
|
}
|
|
190
|
-
[
|
|
191
|
-
const
|
|
192
|
-
this[
|
|
193
|
-
|
|
194
|
-
this[
|
|
343
|
+
[_0x4b583c(0x13f)]() {
|
|
344
|
+
const _0x524318 = _0x4b583c;
|
|
345
|
+
this[_0x524318(0x12a)][_0x524318(0x11e)](
|
|
346
|
+
_0x524318(0x17e),
|
|
347
|
+
this[_0x524318(0x182)][_0x524318(0x141)](this)
|
|
195
348
|
);
|
|
196
349
|
}
|
|
197
|
-
[
|
|
198
|
-
const
|
|
199
|
-
if (
|
|
200
|
-
const
|
|
201
|
-
|
|
350
|
+
[_0x4b583c(0x180)](_0x5916c6) {
|
|
351
|
+
const _0xa63d19 = _0x4b583c;
|
|
352
|
+
if (_0x5916c6[_0xa63d19(0x138)]["closest"](_0xa63d19(0x135))) {
|
|
353
|
+
const _0x3db7b3 = this[_0xa63d19(0x12a)]["querySelector"](
|
|
354
|
+
_0xa63d19(0x10b)
|
|
202
355
|
);
|
|
203
|
-
|
|
356
|
+
_0x3db7b3 &&
|
|
357
|
+
(_0x3db7b3[_0xa63d19(0x16a)](), _0x3db7b3[_0xa63d19(0x14c)]());
|
|
204
358
|
}
|
|
205
359
|
}
|
|
206
|
-
["handleUnitChange"](
|
|
207
|
-
const
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
360
|
+
["handleUnitChange"](_0x4aa01a) {
|
|
361
|
+
const _0x17ab35 = _0x4b583c;
|
|
362
|
+
let _0x39ff08 = 0x1,
|
|
363
|
+
_0x2d7bf3 = 0x1,
|
|
364
|
+
_0x314722 = 0x0,
|
|
365
|
+
_0x559e93 = 0x0;
|
|
366
|
+
if (_0x4aa01a[_0x17ab35(0x138)][_0x17ab35(0x16e)] === _0x17ab35(0x170)) {
|
|
367
|
+
const _0xf9b5a0 = _0x4aa01a[_0x17ab35(0x138)][_0x17ab35(0x153)];
|
|
368
|
+
if (this[_0x17ab35(0x114)] !== _0x17ab35(0x11c)) {
|
|
369
|
+
const _0x11910f =
|
|
370
|
+
this["unitConversion"][this[_0x17ab35(0x114)]][this["unit"]] /
|
|
371
|
+
this[_0x17ab35(0x120)][this[_0x17ab35(0x114)]][_0xf9b5a0];
|
|
372
|
+
this[_0x17ab35(0x153)] = this[_0x17ab35(0x153)] * _0x11910f;
|
|
373
|
+
} else
|
|
374
|
+
console[_0x17ab35(0x12b)](_0x17ab35(0x14a) + this["unitCategory"]),
|
|
375
|
+
console["log"](_0x17ab35(0x15e) + this["unit"]),
|
|
376
|
+
console[_0x17ab35(0x12b)](_0x17ab35(0x164) + _0xf9b5a0),
|
|
377
|
+
(_0x39ff08 =
|
|
378
|
+
this[_0x17ab35(0x120)][this[_0x17ab35(0x114)]][
|
|
379
|
+
this[_0x17ab35(0x13b)]
|
|
380
|
+
]["c0"]),
|
|
381
|
+
(_0x2d7bf3 =
|
|
382
|
+
this[_0x17ab35(0x120)][this[_0x17ab35(0x114)]][
|
|
383
|
+
this[_0x17ab35(0x13b)]
|
|
384
|
+
]["c1"]),
|
|
385
|
+
(_0x314722 =
|
|
386
|
+
this[_0x17ab35(0x120)][this["unitCategory"]][_0xf9b5a0]["c0"]),
|
|
387
|
+
(_0x559e93 =
|
|
388
|
+
this[_0x17ab35(0x120)][this[_0x17ab35(0x114)]][_0xf9b5a0]["c1"]),
|
|
389
|
+
(this[_0x17ab35(0x153)] =
|
|
390
|
+
(this["value"] * _0x39ff08 + _0x2d7bf3 - _0x559e93) / _0x314722);
|
|
391
|
+
(this["unit"] = _0xf9b5a0), this[_0x17ab35(0x113)]();
|
|
216
392
|
}
|
|
217
|
-
this[
|
|
393
|
+
this[_0x17ab35(0x174)]();
|
|
218
394
|
}
|
|
219
|
-
[
|
|
220
|
-
const
|
|
221
|
-
return Number[
|
|
222
|
-
?
|
|
223
|
-
: Math[
|
|
224
|
-
?
|
|
225
|
-
[
|
|
226
|
-
[
|
|
227
|
-
:
|
|
395
|
+
[_0x4b583c(0x126)](_0x3b0caf) {
|
|
396
|
+
const _0x2cbd9a = _0x4b583c;
|
|
397
|
+
return Number[_0x2cbd9a(0x14b)](_0x3b0caf)
|
|
398
|
+
? _0x3b0caf[_0x2cbd9a(0x145)]()
|
|
399
|
+
: Math[_0x2cbd9a(0x175)](_0x3b0caf) !== 0x0
|
|
400
|
+
? _0x3b0caf[_0x2cbd9a(0x105)](this["decimalPlaces"])
|
|
401
|
+
[_0x2cbd9a(0x186)](/0+$/, "")
|
|
402
|
+
[_0x2cbd9a(0x186)](/\.$/, "")
|
|
403
|
+
: _0x3b0caf[_0x2cbd9a(0x17d)](0x3);
|
|
228
404
|
}
|
|
229
|
-
[
|
|
230
|
-
const
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
(
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
405
|
+
["render"]() {
|
|
406
|
+
const _0x24f2ea = _0x4b583c,
|
|
407
|
+
_0xa8f16 = this["unit"] === "ft-in" ? _0x24f2ea(0x16c) : "visible";
|
|
408
|
+
this["shadowRoot"][_0x24f2ea(0x139)] =
|
|
409
|
+
"\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}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity\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\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-left:\x200.25em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x200.25em;\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\x20select\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:\x20center;\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\x20border-radius:\x200.25em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200.25em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x201px\x203px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20" +
|
|
410
|
+
(this[_0x24f2ea(0x137)] ? _0x24f2ea(0x155) : _0x24f2ea(0x150)) +
|
|
411
|
+
";\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20" +
|
|
412
|
+
(this[_0x24f2ea(0x137)] ? "auto" : _0x24f2ea(0x150)) +
|
|
413
|
+
";\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20" +
|
|
414
|
+
(this[_0x24f2ea(0x137)] ? _0x24f2ea(0x155) : _0x24f2ea(0x150)) +
|
|
415
|
+
";\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20" +
|
|
416
|
+
_0xa8f16 +
|
|
417
|
+
_0x24f2ea(0x177) +
|
|
418
|
+
(this[_0x24f2ea(0x13b)] === _0x24f2ea(0x11a)
|
|
419
|
+
? this[_0x24f2ea(0x17c)](this[_0x24f2ea(0x153)])
|
|
420
|
+
: this[_0x24f2ea(0x126)](this[_0x24f2ea(0x153)])) +
|
|
421
|
+
_0x24f2ea(0x118) +
|
|
422
|
+
(this["unit"] === _0x24f2ea(0x11a) ? _0x24f2ea(0x15d) : "") +
|
|
423
|
+
"\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" +
|
|
424
|
+
(this[_0x24f2ea(0x132)][this[_0x24f2ea(0x114)]] || [
|
|
425
|
+
this[_0x24f2ea(0x13b)],
|
|
426
|
+
])
|
|
427
|
+
[_0x24f2ea(0x110)](
|
|
428
|
+
(_0x2f9384) =>
|
|
429
|
+
_0x24f2ea(0x133) +
|
|
430
|
+
_0x2f9384 +
|
|
246
431
|
"\x22\x20" +
|
|
247
|
-
(
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
432
|
+
(_0x2f9384 === this["unit"] ? "selected" : "") +
|
|
433
|
+
_0x24f2ea(0x158) +
|
|
434
|
+
_0x2f9384 +
|
|
435
|
+
_0x24f2ea(0x129)
|
|
251
436
|
)
|
|
252
|
-
[
|
|
253
|
-
|
|
254
|
-
(this[
|
|
255
|
-
?
|
|
437
|
+
["join"]("") +
|
|
438
|
+
"\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" +
|
|
439
|
+
(this[_0x24f2ea(0x137)] && this[_0x24f2ea(0x114)] !== "Custom"
|
|
440
|
+
? _0x24f2ea(0x17b) + this["e3dLogoUrl"] + _0x24f2ea(0x169)
|
|
256
441
|
: "") +
|
|
257
|
-
|
|
258
|
-
const
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
442
|
+
_0x24f2ea(0x14e);
|
|
443
|
+
const _0x259aa8 =
|
|
444
|
+
this[_0x24f2ea(0x12a)]["querySelector"](".unit-container"),
|
|
445
|
+
_0x22d3b9 = this[_0x24f2ea(0x12a)][_0x24f2ea(0x15c)](".tooltip")[0x0];
|
|
446
|
+
_0x259aa8 &&
|
|
447
|
+
_0x22d3b9 &&
|
|
448
|
+
(_0x259aa8[_0x24f2ea(0x125)](_0x24f2ea(0x128), () => {
|
|
449
|
+
const _0x5192eb = _0x24f2ea;
|
|
450
|
+
this[_0x5192eb(0x176)] = setTimeout(() => {
|
|
451
|
+
const _0x4affc9 = _0x5192eb;
|
|
452
|
+
_0x22d3b9["style"]["display"] = _0x4affc9(0x17f);
|
|
267
453
|
}, 0x3e8);
|
|
268
454
|
}),
|
|
269
|
-
|
|
270
|
-
const _0x3065e1 = _0x3d41d3;
|
|
455
|
+
_0x259aa8[_0x24f2ea(0x125)](_0x24f2ea(0x12c), () => {
|
|
271
456
|
setTimeout(() => {
|
|
272
|
-
const
|
|
273
|
-
|
|
457
|
+
const _0x4f6b9d = _0xa576;
|
|
458
|
+
_0x22d3b9[_0x4f6b9d(0x121)][_0x4f6b9d(0x136)] = _0x4f6b9d(0x150);
|
|
274
459
|
}, 0x7d0),
|
|
275
|
-
clearTimeout(this[
|
|
460
|
+
clearTimeout(this["tooltipTimeout"]);
|
|
276
461
|
}),
|
|
277
|
-
|
|
462
|
+
_0x22d3b9[_0x24f2ea(0x125)](_0x24f2ea(0x12c), () => {
|
|
278
463
|
setTimeout(() => {
|
|
279
|
-
const
|
|
280
|
-
|
|
464
|
+
const _0x8d92d3 = _0xa576;
|
|
465
|
+
_0x22d3b9["style"][_0x8d92d3(0x136)] = _0x8d92d3(0x150);
|
|
281
466
|
}, 0x7d0);
|
|
282
467
|
})),
|
|
283
|
-
this[
|
|
468
|
+
this[_0x24f2ea(0x174)]();
|
|
284
469
|
}
|
|
285
|
-
[
|
|
286
|
-
const
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
(
|
|
291
|
-
(
|
|
292
|
-
(
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
parseInt(getComputedStyle(
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
470
|
+
[_0x4b583c(0x174)]() {
|
|
471
|
+
const _0x4a2ea6 = _0x4b583c,
|
|
472
|
+
_0x39508e = this["shadowRoot"][_0x4a2ea6(0x173)](_0x4a2ea6(0x10b)),
|
|
473
|
+
_0x2126fd = _0x39508e[_0x4a2ea6(0x140)][_0x39508e[_0x4a2ea6(0x131)]],
|
|
474
|
+
_0x339efc = document["createElement"]("span");
|
|
475
|
+
(_0x339efc["style"][_0x4a2ea6(0x16b)] = _0x4a2ea6(0x116)),
|
|
476
|
+
(_0x339efc[_0x4a2ea6(0x121)][_0x4a2ea6(0x163)] = _0x4a2ea6(0x16c)),
|
|
477
|
+
(_0x339efc[_0x4a2ea6(0x121)][_0x4a2ea6(0x15a)] =
|
|
478
|
+
getComputedStyle(_0x39508e)[_0x4a2ea6(0x15a)]),
|
|
479
|
+
document[_0x4a2ea6(0x147)][_0x4a2ea6(0x16d)](_0x339efc),
|
|
480
|
+
(_0x339efc[_0x4a2ea6(0x15b)] = _0x2126fd[_0x4a2ea6(0x149)]);
|
|
481
|
+
const _0x3666db = _0x339efc[_0x4a2ea6(0x11d)];
|
|
482
|
+
document[_0x4a2ea6(0x147)][_0x4a2ea6(0x112)](_0x339efc);
|
|
483
|
+
const _0x1b2623 =
|
|
484
|
+
parseInt(getComputedStyle(_0x39508e)[_0x4a2ea6(0x183)]) +
|
|
485
|
+
parseInt(getComputedStyle(_0x39508e)[_0x4a2ea6(0x108)]);
|
|
486
|
+
(_0x39508e[_0x4a2ea6(0x121)]["width"] = this[_0x4a2ea6(0x137)]
|
|
487
|
+
? _0x3666db + _0x1b2623 + 0x16 + "px"
|
|
488
|
+
: _0x3666db + _0x1b2623 + 0x4 + "px"),
|
|
489
|
+
this[_0x4a2ea6(0x13b)] === _0x4a2ea6(0x11a) &&
|
|
490
|
+
(_0x39508e[_0x4a2ea6(0x121)][_0x4a2ea6(0x106)] =
|
|
491
|
+
_0x1b2623 + 0xc + "px");
|
|
303
492
|
}
|
|
304
493
|
}
|
|
305
|
-
customElements[
|
|
306
|
-
class
|
|
307
|
-
|
|
308
|
-
|
|
494
|
+
customElements[_0x4b583c(0x111)](_0x4b583c(0x119), v);
|
|
495
|
+
class b extends v {}
|
|
496
|
+
customElements["define"](_0x4b583c(0x134), b);
|
|
497
|
+
function _0xa576(_0xf21fd5, _0x32738d) {
|
|
498
|
+
const _0x2301ab = _0x2301();
|
|
309
499
|
return (
|
|
310
|
-
(
|
|
311
|
-
|
|
312
|
-
let
|
|
313
|
-
return
|
|
500
|
+
(_0xa576 = function (_0xa57686, _0x22aaa3) {
|
|
501
|
+
_0xa57686 = _0xa57686 - 0x105;
|
|
502
|
+
let _0x4f4e74 = _0x2301ab[_0xa57686];
|
|
503
|
+
return _0x4f4e74;
|
|
314
504
|
}),
|
|
315
|
-
|
|
505
|
+
_0xa576(_0xf21fd5, _0x32738d)
|
|
316
506
|
);
|
|
317
507
|
}
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
"join",
|
|
323
|
-
"unitConversion",
|
|
324
|
-
"text",
|
|
325
|
-
"lbm/ft³",
|
|
326
|
-
"e3dLogoUrl",
|
|
327
|
-
"599988ZUJgGz",
|
|
328
|
-
"observedAttributes",
|
|
329
|
-
"SELECT",
|
|
330
|
-
"options",
|
|
331
|
-
"hasAttribute",
|
|
332
|
-
"\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",
|
|
333
|
-
"tooltipTimeout",
|
|
334
|
-
"querySelectorAll",
|
|
335
|
-
"isInteger",
|
|
336
|
-
"target",
|
|
337
|
-
"textContent",
|
|
338
|
-
"visibility",
|
|
339
|
-
"hidden",
|
|
340
|
-
"week",
|
|
341
|
-
"disconnectedCallback",
|
|
342
|
-
"style",
|
|
343
|
-
"offsetWidth",
|
|
344
|
-
"4385704SWYsuF",
|
|
345
|
-
"g/mm³",
|
|
346
|
-
"decimal-places",
|
|
347
|
-
"getAttribute",
|
|
348
|
-
"position",
|
|
349
|
-
"day",
|
|
350
|
-
"h[hour]",
|
|
351
|
-
"70020mkmsHH",
|
|
352
|
-
"tagName",
|
|
353
|
-
"2fxukKi",
|
|
354
|
-
"none",
|
|
355
|
-
">\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20",
|
|
356
|
-
"atm",
|
|
357
|
-
"toFixed",
|
|
358
|
-
"mouseout",
|
|
359
|
-
"in\x20HG",
|
|
360
|
-
"1274700DzbENP",
|
|
508
|
+
function _0x2301() {
|
|
509
|
+
const _0x3154db = [
|
|
510
|
+
"formatFeetInchesValue2",
|
|
511
|
+
"mm\x20HG",
|
|
361
512
|
"querySelector",
|
|
513
|
+
"updateDropdownWidth",
|
|
514
|
+
"floor",
|
|
515
|
+
"tooltipTimeout",
|
|
516
|
+
";\x0a\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.unit-container\x20select.ft-in-hidden\x20option\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.unit-container\x20select.ft-in-hidden\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x201.5em;\x0a\x20\x20\x20\x20\x20\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:\x2075%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:\x2085%;\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\x20\x20\x20\x20\x20\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\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\x20style=\x22position:\x20relative;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20",
|
|
517
|
+
"MPa",
|
|
518
|
+
"48102VJlyDa",
|
|
519
|
+
"Custom",
|
|
520
|
+
"\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",
|
|
521
|
+
"formatFeetInchesValue",
|
|
522
|
+
"toPrecision",
|
|
362
523
|
"change",
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"
|
|
367
|
-
"
|
|
368
|
-
"
|
|
369
|
-
"
|
|
370
|
-
"define",
|
|
371
|
-
"<option\x20value=\x22",
|
|
372
|
-
"kg/L",
|
|
373
|
-
"selected",
|
|
374
|
-
"\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",
|
|
375
|
-
"focus",
|
|
376
|
-
"appendChild",
|
|
377
|
-
"value",
|
|
378
|
-
"</option>",
|
|
379
|
-
"mbar",
|
|
380
|
-
"lbm/in³",
|
|
381
|
-
"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",
|
|
382
|
-
"\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}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity\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\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-left:\x200.25em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x200.25em;\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\x20select\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:\x20center;\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\x20border-radius:\x200.25em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200.25em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x201px\x203px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20",
|
|
383
|
-
"push",
|
|
524
|
+
"block",
|
|
525
|
+
"handleArrowClick",
|
|
526
|
+
"calculateTotalInches",
|
|
527
|
+
"handleUnitChange",
|
|
528
|
+
"paddingLeft",
|
|
529
|
+
"in\x20HG",
|
|
530
|
+
"psi",
|
|
384
531
|
"replace",
|
|
532
|
+
"parseFeetInchesValue",
|
|
533
|
+
"toFixed",
|
|
385
534
|
"width",
|
|
386
|
-
"
|
|
387
|
-
"
|
|
388
|
-
"
|
|
389
|
-
"
|
|
390
|
-
"
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
"mouseover",
|
|
394
|
-
"handleArrowClick",
|
|
535
|
+
"connectedCallback",
|
|
536
|
+
"paddingRight",
|
|
537
|
+
"pow",
|
|
538
|
+
"attributeChangedCallback",
|
|
539
|
+
"select",
|
|
540
|
+
"cm\x20HG",
|
|
541
|
+
"trim",
|
|
395
542
|
"includes",
|
|
396
|
-
"render",
|
|
397
|
-
"Custom",
|
|
398
543
|
"GPa",
|
|
399
|
-
"
|
|
400
|
-
"
|
|
544
|
+
"map",
|
|
545
|
+
"define",
|
|
546
|
+
"removeChild",
|
|
547
|
+
"render",
|
|
548
|
+
"unitCategory",
|
|
549
|
+
"in\x20W.C.",
|
|
550
|
+
"absolute",
|
|
551
|
+
"m\x20W.C.",
|
|
552
|
+
"\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\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\x20class=\x22",
|
|
553
|
+
"physical-quantity",
|
|
554
|
+
"ft-in",
|
|
555
|
+
"3444695usTBRk",
|
|
556
|
+
"Temperature",
|
|
557
|
+
"offsetWidth",
|
|
401
558
|
"removeEventListener",
|
|
402
|
-
"50lMgCvO",
|
|
403
|
-
"pow",
|
|
404
559
|
"lbm",
|
|
405
|
-
"
|
|
406
|
-
"
|
|
407
|
-
"
|
|
560
|
+
"unitConversion",
|
|
561
|
+
"style",
|
|
562
|
+
"lbm/in³",
|
|
563
|
+
"1555839zOSVDq",
|
|
564
|
+
"h[hour]",
|
|
565
|
+
"addEventListener",
|
|
566
|
+
"formatValue",
|
|
567
|
+
"split",
|
|
568
|
+
"mouseover",
|
|
569
|
+
"</option>",
|
|
408
570
|
"shadowRoot",
|
|
409
|
-
"
|
|
571
|
+
"log",
|
|
572
|
+
"mouseout",
|
|
573
|
+
"observedAttributes",
|
|
574
|
+
"round",
|
|
575
|
+
"getAttribute",
|
|
576
|
+
"2bxbarX",
|
|
410
577
|
"selectedIndex",
|
|
411
|
-
"
|
|
412
|
-
"
|
|
413
|
-
"open",
|
|
414
|
-
";\x0a\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:\x2075%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:\x2085%;\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\x20\x20\x20\x20\x20\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\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\x20style=\x22position:\x20relative;\x22>",
|
|
578
|
+
"units",
|
|
579
|
+
"<option\x20value=\x22",
|
|
415
580
|
"uc-qty",
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
"bar",
|
|
419
|
-
"s[second]",
|
|
420
|
-
"body",
|
|
581
|
+
".unit-container",
|
|
582
|
+
"display",
|
|
421
583
|
"showUnitArrow",
|
|
422
|
-
"
|
|
423
|
-
"
|
|
424
|
-
"
|
|
425
|
-
"true",
|
|
426
|
-
"toPrecision",
|
|
427
|
-
"psf",
|
|
428
|
-
"esu/s",
|
|
429
|
-
"attributeChangedCallback",
|
|
584
|
+
"target",
|
|
585
|
+
"innerHTML",
|
|
586
|
+
"1/16\x22",
|
|
430
587
|
"unit",
|
|
431
|
-
"
|
|
588
|
+
"push",
|
|
589
|
+
"convertToNewUnit",
|
|
590
|
+
"inputValue",
|
|
591
|
+
"disconnectedCallback",
|
|
592
|
+
"options",
|
|
593
|
+
"bind",
|
|
594
|
+
"attachShadow",
|
|
595
|
+
"811564ObQtBM",
|
|
596
|
+
"esu/s",
|
|
597
|
+
"toString",
|
|
598
|
+
"week",
|
|
599
|
+
"body",
|
|
600
|
+
"formatFeetInchesValue0",
|
|
601
|
+
"text",
|
|
602
|
+
"category:\x20",
|
|
603
|
+
"isInteger",
|
|
604
|
+
"click",
|
|
605
|
+
"atm",
|
|
606
|
+
"\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\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20",
|
|
607
|
+
"5187258ORRTog",
|
|
608
|
+
"none",
|
|
609
|
+
"ksi",
|
|
610
|
+
"e3dLogoUrl",
|
|
611
|
+
"value",
|
|
612
|
+
"kg/m³",
|
|
613
|
+
"auto",
|
|
614
|
+
"getUnitCategory",
|
|
615
|
+
"3250336KUjwGe",
|
|
616
|
+
">\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20",
|
|
617
|
+
"s[second]",
|
|
618
|
+
"font",
|
|
619
|
+
"textContent",
|
|
620
|
+
"querySelectorAll",
|
|
621
|
+
"ft-in-hidden",
|
|
622
|
+
"unit:\x20",
|
|
623
|
+
"763558oktOtc",
|
|
432
624
|
"show-unit-arrow",
|
|
433
|
-
"
|
|
434
|
-
"
|
|
435
|
-
"
|
|
436
|
-
"
|
|
437
|
-
"
|
|
438
|
-
"
|
|
439
|
-
"
|
|
440
|
-
"
|
|
441
|
-
"\
|
|
442
|
-
"
|
|
443
|
-
"
|
|
444
|
-
"
|
|
445
|
-
"
|
|
446
|
-
"
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
"createElement",
|
|
450
|
-
"physical-quantity",
|
|
625
|
+
"hasAttribute",
|
|
626
|
+
"Ampere[amp]",
|
|
627
|
+
"visibility",
|
|
628
|
+
"newUnit:\x20",
|
|
629
|
+
"mbar",
|
|
630
|
+
"28TmTrol",
|
|
631
|
+
"psf",
|
|
632
|
+
"match",
|
|
633
|
+
"\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",
|
|
634
|
+
"focus",
|
|
635
|
+
"position",
|
|
636
|
+
"hidden",
|
|
637
|
+
"appendChild",
|
|
638
|
+
"tagName",
|
|
639
|
+
"true",
|
|
640
|
+
"SELECT",
|
|
451
641
|
];
|
|
452
|
-
|
|
453
|
-
return
|
|
642
|
+
_0x2301 = function () {
|
|
643
|
+
return _0x3154db;
|
|
454
644
|
};
|
|
455
|
-
return
|
|
645
|
+
return _0x2301();
|
|
456
646
|
}
|
|
647
|
+
export { v as default };
|