physical-quantity 1.1.40 → 1.1.42
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 +31 -19
- package/dist/pq.es.js +1 -647
- package/dist/pq.umd.js +1 -686
- package/package.json +1 -1
package/dist/pq.es.js
CHANGED
|
@@ -1,647 +1 @@
|
|
|
1
|
-
const _0x4b583c = _0xa576;
|
|
2
|
-
(function (_0x40722a, _0x66e435) {
|
|
3
|
-
const _0x432fa9 = _0xa576,
|
|
4
|
-
_0x2c39d4 = _0x40722a();
|
|
5
|
-
while (!![]) {
|
|
6
|
-
try {
|
|
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"]());
|
|
21
|
-
}
|
|
22
|
-
}
|
|
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)],
|
|
32
|
-
Pressure: [
|
|
33
|
-
"Pa",
|
|
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),
|
|
49
|
-
"ksi[kip/in²]",
|
|
50
|
-
],
|
|
51
|
-
Density: [
|
|
52
|
-
_0x4b583c(0x154),
|
|
53
|
-
"kg/L",
|
|
54
|
-
"g/cm³",
|
|
55
|
-
"g/mm³",
|
|
56
|
-
"lbm/ft³",
|
|
57
|
-
_0x4b583c(0x122),
|
|
58
|
-
],
|
|
59
|
-
Time: [
|
|
60
|
-
_0x4b583c(0x159),
|
|
61
|
-
"s",
|
|
62
|
-
"minute",
|
|
63
|
-
"h",
|
|
64
|
-
_0x4b583c(0x124),
|
|
65
|
-
"day",
|
|
66
|
-
_0x4b583c(0x146),
|
|
67
|
-
],
|
|
68
|
-
ElectricalCurrent: [
|
|
69
|
-
"A",
|
|
70
|
-
_0x4b583c(0x162),
|
|
71
|
-
"mA",
|
|
72
|
-
"µA",
|
|
73
|
-
"kA",
|
|
74
|
-
"MA",
|
|
75
|
-
_0x4b583c(0x144),
|
|
76
|
-
],
|
|
77
|
-
Temperature: ["°K", "°C", "°F", "°Ra"],
|
|
78
|
-
},
|
|
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 },
|
|
90
|
-
Pressure: {
|
|
91
|
-
Pa: 0x1,
|
|
92
|
-
kPa: 0x3e8,
|
|
93
|
-
MPa: 0xf4240,
|
|
94
|
-
GPa: 0x3b9aca00,
|
|
95
|
-
bar: 0x64 * 0x3e8,
|
|
96
|
-
mbar: 0x64,
|
|
97
|
-
atm: A,
|
|
98
|
-
"mm\x20HG": f,
|
|
99
|
-
"cm\x20HG": f * 0xa,
|
|
100
|
-
"in\x20HG": f * 25.4,
|
|
101
|
-
"mm\x20W.C.": (0x1 / 0x3e8) * 0x3e8 * 9.80665,
|
|
102
|
-
"m\x20W.C.": 0x1 * 0x3e8 * 9.80665,
|
|
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,
|
|
108
|
-
},
|
|
109
|
-
Density: {
|
|
110
|
-
"kg/m³": 0x1,
|
|
111
|
-
"kg/L": 0x3e8,
|
|
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),
|
|
116
|
-
},
|
|
117
|
-
Time: {
|
|
118
|
-
"s[second]": 0x1,
|
|
119
|
-
s: 0x1,
|
|
120
|
-
minute: 0x3c,
|
|
121
|
-
h: 0xe10,
|
|
122
|
-
"h[hour]": 0xe10,
|
|
123
|
-
day: 0xe10 * 0x18,
|
|
124
|
-
week: 0xe10 * 0x18 * 0x7,
|
|
125
|
-
},
|
|
126
|
-
ElectricalCurrent: {
|
|
127
|
-
A: 0x1,
|
|
128
|
-
"Ampere[amp]": 0x1,
|
|
129
|
-
mA: 0.001,
|
|
130
|
-
µA: 0.000001,
|
|
131
|
-
kA: 0x3e8,
|
|
132
|
-
MA: 0xf4240,
|
|
133
|
-
"esu/s": 0x1 / 0xb2d05e00,
|
|
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
|
-
},
|
|
141
|
-
};
|
|
142
|
-
class v extends HTMLElement {
|
|
143
|
-
constructor() {
|
|
144
|
-
const _0x38e8ed = _0x4b583c;
|
|
145
|
-
super(),
|
|
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
|
-
];
|
|
174
|
-
}
|
|
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);
|
|
223
|
-
}
|
|
224
|
-
[_0x4b583c(0x181)](_0x586685, _0xf33a45, _0x1e07d6, _0x328a53) {
|
|
225
|
-
return _0x586685 * 0xc + _0xf33a45 + _0x1e07d6 / _0x328a53;
|
|
226
|
-
}
|
|
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 = "";
|
|
250
|
-
return (
|
|
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),
|
|
327
|
-
"Custom"
|
|
328
|
-
);
|
|
329
|
-
}
|
|
330
|
-
[_0x4b583c(0x107)]() {
|
|
331
|
-
const _0x2dbe15 = _0x4b583c;
|
|
332
|
-
this[_0x2dbe15(0x12a)][_0x2dbe15(0x125)](
|
|
333
|
-
_0x2dbe15(0x17e),
|
|
334
|
-
this[_0x2dbe15(0x182)][_0x2dbe15(0x141)](this)
|
|
335
|
-
),
|
|
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)]();
|
|
342
|
-
}
|
|
343
|
-
[_0x4b583c(0x13f)]() {
|
|
344
|
-
const _0x524318 = _0x4b583c;
|
|
345
|
-
this[_0x524318(0x12a)][_0x524318(0x11e)](
|
|
346
|
-
_0x524318(0x17e),
|
|
347
|
-
this[_0x524318(0x182)][_0x524318(0x141)](this)
|
|
348
|
-
);
|
|
349
|
-
}
|
|
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)
|
|
355
|
-
);
|
|
356
|
-
_0x3db7b3 &&
|
|
357
|
-
(_0x3db7b3[_0xa63d19(0x16a)](), _0x3db7b3[_0xa63d19(0x14c)]());
|
|
358
|
-
}
|
|
359
|
-
}
|
|
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)]();
|
|
392
|
-
}
|
|
393
|
-
this[_0x17ab35(0x174)]();
|
|
394
|
-
}
|
|
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);
|
|
404
|
-
}
|
|
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 +
|
|
431
|
-
"\x22\x20" +
|
|
432
|
-
(_0x2f9384 === this["unit"] ? "selected" : "") +
|
|
433
|
-
_0x24f2ea(0x158) +
|
|
434
|
-
_0x2f9384 +
|
|
435
|
-
_0x24f2ea(0x129)
|
|
436
|
-
)
|
|
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)
|
|
441
|
-
: "") +
|
|
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);
|
|
453
|
-
}, 0x3e8);
|
|
454
|
-
}),
|
|
455
|
-
_0x259aa8[_0x24f2ea(0x125)](_0x24f2ea(0x12c), () => {
|
|
456
|
-
setTimeout(() => {
|
|
457
|
-
const _0x4f6b9d = _0xa576;
|
|
458
|
-
_0x22d3b9[_0x4f6b9d(0x121)][_0x4f6b9d(0x136)] = _0x4f6b9d(0x150);
|
|
459
|
-
}, 0x7d0),
|
|
460
|
-
clearTimeout(this["tooltipTimeout"]);
|
|
461
|
-
}),
|
|
462
|
-
_0x22d3b9[_0x24f2ea(0x125)](_0x24f2ea(0x12c), () => {
|
|
463
|
-
setTimeout(() => {
|
|
464
|
-
const _0x8d92d3 = _0xa576;
|
|
465
|
-
_0x22d3b9["style"][_0x8d92d3(0x136)] = _0x8d92d3(0x150);
|
|
466
|
-
}, 0x7d0);
|
|
467
|
-
})),
|
|
468
|
-
this[_0x24f2ea(0x174)]();
|
|
469
|
-
}
|
|
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");
|
|
492
|
-
}
|
|
493
|
-
}
|
|
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();
|
|
499
|
-
return (
|
|
500
|
-
(_0xa576 = function (_0xa57686, _0x22aaa3) {
|
|
501
|
-
_0xa57686 = _0xa57686 - 0x105;
|
|
502
|
-
let _0x4f4e74 = _0x2301ab[_0xa57686];
|
|
503
|
-
return _0x4f4e74;
|
|
504
|
-
}),
|
|
505
|
-
_0xa576(_0xf21fd5, _0x32738d)
|
|
506
|
-
);
|
|
507
|
-
}
|
|
508
|
-
function _0x2301() {
|
|
509
|
-
const _0x3154db = [
|
|
510
|
-
"formatFeetInchesValue2",
|
|
511
|
-
"mm\x20HG",
|
|
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",
|
|
523
|
-
"change",
|
|
524
|
-
"block",
|
|
525
|
-
"handleArrowClick",
|
|
526
|
-
"calculateTotalInches",
|
|
527
|
-
"handleUnitChange",
|
|
528
|
-
"paddingLeft",
|
|
529
|
-
"in\x20HG",
|
|
530
|
-
"psi",
|
|
531
|
-
"replace",
|
|
532
|
-
"parseFeetInchesValue",
|
|
533
|
-
"toFixed",
|
|
534
|
-
"width",
|
|
535
|
-
"connectedCallback",
|
|
536
|
-
"paddingRight",
|
|
537
|
-
"pow",
|
|
538
|
-
"attributeChangedCallback",
|
|
539
|
-
"select",
|
|
540
|
-
"cm\x20HG",
|
|
541
|
-
"trim",
|
|
542
|
-
"includes",
|
|
543
|
-
"GPa",
|
|
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",
|
|
558
|
-
"removeEventListener",
|
|
559
|
-
"lbm",
|
|
560
|
-
"unitConversion",
|
|
561
|
-
"style",
|
|
562
|
-
"lbm/in³",
|
|
563
|
-
"1555839zOSVDq",
|
|
564
|
-
"h[hour]",
|
|
565
|
-
"addEventListener",
|
|
566
|
-
"formatValue",
|
|
567
|
-
"split",
|
|
568
|
-
"mouseover",
|
|
569
|
-
"</option>",
|
|
570
|
-
"shadowRoot",
|
|
571
|
-
"log",
|
|
572
|
-
"mouseout",
|
|
573
|
-
"observedAttributes",
|
|
574
|
-
"round",
|
|
575
|
-
"getAttribute",
|
|
576
|
-
"2bxbarX",
|
|
577
|
-
"selectedIndex",
|
|
578
|
-
"units",
|
|
579
|
-
"<option\x20value=\x22",
|
|
580
|
-
"uc-qty",
|
|
581
|
-
".unit-container",
|
|
582
|
-
"display",
|
|
583
|
-
"showUnitArrow",
|
|
584
|
-
"target",
|
|
585
|
-
"innerHTML",
|
|
586
|
-
"1/16\x22",
|
|
587
|
-
"unit",
|
|
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",
|
|
624
|
-
"show-unit-arrow",
|
|
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",
|
|
641
|
-
];
|
|
642
|
-
_0x2301 = function () {
|
|
643
|
-
return _0x3154db;
|
|
644
|
-
};
|
|
645
|
-
return _0x2301();
|
|
646
|
-
}
|
|
647
|
-
export { v as default };
|
|
1
|
+
const _0x5f1701=_0x1e4f;(function(_0x5c0f6b,_0x39a0db){const _0x22dbf2=_0x1e4f,_0x2d320a=_0x5c0f6b();while(!![]){try{const _0x2bc8fd=-parseInt(_0x22dbf2(0x1a5))/0x1+parseInt(_0x22dbf2(0x1b2))/0x2*(-parseInt(_0x22dbf2(0x1da))/0x3)+-parseInt(_0x22dbf2(0x206))/0x4+parseInt(_0x22dbf2(0x1fe))/0x5*(parseInt(_0x22dbf2(0x236))/0x6)+parseInt(_0x22dbf2(0x1de))/0x7+-parseInt(_0x22dbf2(0x228))/0x8*(-parseInt(_0x22dbf2(0x223))/0x9)+parseInt(_0x22dbf2(0x1cb))/0xa*(parseInt(_0x22dbf2(0x20d))/0xb);if(_0x2bc8fd===_0x39a0db)break;else _0x2d320a['push'](_0x2d320a['shift']());}catch(_0x2c9a39){_0x2d320a['push'](_0x2d320a['shift']());}}}(_0x25cc,0xd8348));const u=0.45359237,d=25.4/0x3e8,p=0xc*d,I=0x18bcd,f=133.322387415,C={'Length':['m','km','cm','mm','in',_0x5f1701(0x1d8),'ft'],'Mass':['g','kg',_0x5f1701(0x200)],'Time':[_0x5f1701(0x1f9),'s',_0x5f1701(0x1ba),'h',_0x5f1701(0x21a),'day',_0x5f1701(0x1c9)],'ElectricalCurrent':['A',_0x5f1701(0x204),'mA','µA','kA','MA',_0x5f1701(0x231)],'Temperature':['°K','°C','°F','°Ra'],'Pressure':['Pa','kPa',_0x5f1701(0x1e9),_0x5f1701(0x222),'bar',_0x5f1701(0x1b3),'atm',_0x5f1701(0x233),_0x5f1701(0x1c4),_0x5f1701(0x1cf),_0x5f1701(0x1ac),_0x5f1701(0x1b1),'in\x20W.C.',_0x5f1701(0x1bf),_0x5f1701(0x1fb),_0x5f1701(0x1fc),_0x5f1701(0x21e)],'Density':[_0x5f1701(0x1eb),_0x5f1701(0x20a),_0x5f1701(0x1af),_0x5f1701(0x205),_0x5f1701(0x220),_0x5f1701(0x219)],'Force':['N','kN','MN',_0x5f1701(0x210),'lb',_0x5f1701(0x1ec),'kip[kilo\x20pound]']},y={'Length':{'m':0x1,'km':0x3e8,'cm':0.01,'mm':0.001,'in':d,'ft-in':d,'ft':p},'Mass':{'kg':0x1,'g':0.001,'lbm':u},'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}},'Pressure':{'Pa':0x1,'kPa':0x3e8,'MPa':0xf4240,'GPa':0x3b9aca00,'bar':0x64*0x3e8,'mbar':0x64,'atm':I,'mm\x20HG':f,'cm\x20HG':f*0xa,'in\x20HG':f*25.4,'mm\x20W.C.':0x1/0x3e8*0x3e8*9.80665,'m\x20W.C.':0x1*0x3e8*9.80665,'in\x20W.C.':d*0x3e8*9.80665,'psf':u*9.80665/Math[_0x5f1701(0x1e8)](p,0x2),'psi':u*9.80665/Math['pow'](d,0x2),'ksi':u*9.80665/Math[_0x5f1701(0x1e8)](d,0x2)*0x3e8,'ksi[kip/in²]':u*9.80665/Math[_0x5f1701(0x1e8)](d,0x2)*0x3e8},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0x1/0x3e8/Math[_0x5f1701(0x1e8)](0.01,0x3),'g/mm³':0x1/0x3e8/Math[_0x5f1701(0x1e8)](0.001,0x3),'lbm/ft³':u/Math[_0x5f1701(0x1e8)](p,0x3),'lbm/in³':u/Math[_0x5f1701(0x1e8)](d,0x3)},'Force':{'N':0x1,'kN':0x3e8,'MN':0xf4240,'kgf':9.80665,'lb':u*9.80665,'lbf':u*9.80665,'kip[kilo\x20pound]':0x3e8*u*9.80665}};class v extends HTMLElement{constructor(){const _0x5ac327=_0x5f1701;super(),this[_0x5ac327(0x22b)]({'mode':'open'}),this[_0x5ac327(0x1ce)]=C,this[_0x5ac327(0x207)]=y,this['unit']=this['getAttribute'](_0x5ac327(0x1ea))||'mm',this[_0x5ac327(0x215)]=this['getUnitCategory'](this['unit']),this[_0x5ac327(0x1ab)]=this[_0x5ac327(0x1a9)](_0x5ac327(0x218)),this['unit']===_0x5ac327(0x1d8)?this[_0x5ac327(0x218)]=this[_0x5ac327(0x1bd)](this[_0x5ac327(0x1ab)]):this[_0x5ac327(0x218)]=parseFloat(this[_0x5ac327(0x1ab)]),this['tooltipTimeout']=null,this[_0x5ac327(0x201)]=0x3,this['e3dLogoUrl']=_0x5ac327(0x1a8),this['units']=C,this[_0x5ac327(0x207)]=y,this[_0x5ac327(0x1bb)]=!this[_0x5ac327(0x1b7)](_0x5ac327(0x1c1))||this['getAttribute'](_0x5ac327(0x1c1))===_0x5ac327(0x1c6),this[_0x5ac327(0x229)]();}static get[_0x5f1701(0x1b9)](){const _0x38414d=_0x5f1701;return[_0x38414d(0x218),_0x38414d(0x1ea),_0x38414d(0x1b5),_0x38414d(0x1c1)];}['attributeChangedCallback'](_0xef4220,_0x238077,_0x30f062){const _0x112976=_0x5f1701;_0xef4220==='value'?(this['inputValue']=_0x30f062,this[_0x112976(0x1ea)]===_0x112976(0x1d8)?this['value']=this[_0x112976(0x1bd)](_0x30f062):this[_0x112976(0x218)]=parseFloat(_0x30f062)):_0xef4220===_0x112976(0x1ea)?(this[_0x112976(0x1ea)]=_0x30f062,this[_0x112976(0x215)]=this['getUnitCategory'](_0x30f062),this['unit']==='ft-in'?this[_0x112976(0x218)]=this[_0x112976(0x1bd)](this[_0x112976(0x1ab)]):_0x238077==='ft-in'&&(this['value']=this['convertToNewUnit'](this['value'],'in',this[_0x112976(0x1ea)]))):_0xef4220===_0x112976(0x1b5)?this[_0x112976(0x201)]=parseInt(_0x30f062)||0x3:_0xef4220===_0x112976(0x1c1)&&(this[_0x112976(0x1bb)]=_0x30f062===null||_0x30f062===_0x112976(0x1c6)),this[_0x112976(0x229)]();}[_0x5f1701(0x1bd)](_0x4836cb){const _0x2e2cfc=_0x5f1701,_0x38c70f=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,_0x71a9c6=/(\d+)\'/,_0x4c0718=/(\d+)/;let _0xc278f6=_0x4836cb[_0x2e2cfc(0x212)](_0x38c70f);if(_0xc278f6){const _0x3daed6=parseInt(_0xc278f6[0x1])||0x0,_0xcc7a92=parseInt(_0xc278f6[0x3])||0x0,_0x2f9439=parseInt(_0xc278f6[0x5])||0x0,_0x25a8be=parseInt(_0xc278f6[0x6])||0x1;return this['calculateTotalInches'](_0x3daed6,_0xcc7a92,_0x2f9439,_0x25a8be);}if(_0xc278f6=_0x4836cb[_0x2e2cfc(0x212)](_0x71a9c6),_0xc278f6){const _0x42b8fd=parseInt(_0xc278f6[0x1])||0x0;return this['calculateTotalInches'](_0x42b8fd,0x0,0x0,0x1);}if(_0xc278f6=_0x4836cb[_0x2e2cfc(0x212)](_0x4c0718),_0xc278f6){const _0x403b86=parseInt(_0xc278f6[0x1])||0x0;return this[_0x2e2cfc(0x202)](0x0,_0x403b86,0x0,0x1);}return parseFloat(_0x4836cb);}[_0x5f1701(0x202)](_0x56ed77,_0x4b77c4,_0x431377,_0x2fcf20){return _0x56ed77*0xc+_0x4b77c4+_0x431377/_0x2fcf20;}[_0x5f1701(0x22a)](_0x517fc7,_0x3ec476=_0x5f1701(0x21c)){const _0x9c184e=_0x5f1701;if(_0x517fc7<0x0)return'-'+formatFeetInchesValue(-_0x517fc7);const _0x1bd9de=parseInt(_0x3ec476[_0x9c184e(0x1fd)]('/')[0x1][_0x9c184e(0x1d0)]('\x22',''));let _0x4a6040=Math[_0x9c184e(0x1bc)](_0x517fc7/0xc),_0x757ae6=Math['floor'](_0x517fc7%0xc);const _0x1747a2=_0x517fc7-Math[_0x9c184e(0x1bc)](_0x517fc7);let _0x45ff6f='';if(_0x1747a2>0x0&&_0x3ec476!==0x0){let _0x59de4b=Math[_0x9c184e(0x1d2)](_0x1747a2*_0x1bd9de);const _0x5602d8=(_0x3b8051,_0x45e4fd)=>_0x45e4fd?_0x5602d8(_0x45e4fd,_0x3b8051%_0x45e4fd):_0x3b8051,_0x2e4611=_0x5602d8(_0x59de4b,_0x1bd9de);_0x45ff6f='\x20'+_0x59de4b/_0x2e4611+'/'+_0x1bd9de/_0x2e4611,_0x45ff6f[_0x9c184e(0x216)]()===_0x9c184e(0x232)&&(_0x757ae6++,_0x757ae6>=0xc&&(_0x4a6040++,_0x757ae6-=0xc),_0x45ff6f='');}let _0x4a62dc='';return _0x4a6040>0x0&&(_0x4a62dc+=_0x4a6040+'\x27'),_0x4a6040>0x0&&(_0x757ae6>0x0||_0x45ff6f!=='')&&(_0x4a62dc+='-'),_0x757ae6>0x0&&(_0x4a62dc+=''+_0x757ae6),_0x45ff6f!==''&&(_0x4a62dc+=_0x45ff6f),(_0x757ae6>0x0||_0x45ff6f!=='')&&(_0x4a62dc+='\x22'),_0x4a62dc[_0x9c184e(0x216)]();}[_0x5f1701(0x1b8)](_0x57c958){const _0x1d726e=_0x5f1701;debugger;if(_0x57c958<0x0)return'-'+formatFeetInchesValue(-_0x57c958);const _0xf8d7ff=Math[_0x1d726e(0x1bc)](_0x57c958/0xc),_0x585228=Math[_0x1d726e(0x1bc)](_0x57c958%0xc),_0x1ab631=_0x57c958-Math[_0x1d726e(0x1bc)](_0x57c958);let _0x615ffc='';if(_0x1ab631>0x0){const _0x81a9a3=(_0x3ce8f3,_0x39064d)=>_0x39064d?_0x81a9a3(_0x39064d,_0x3ce8f3%_0x39064d):_0x3ce8f3,_0xbd136e=Math[_0x1d726e(0x1d2)](_0x1ab631*0x10),_0x384d5f=0x10,_0x2346f7=_0x81a9a3(_0xbd136e,_0x384d5f);_0x615ffc=_0xbd136e/_0x2346f7+'/'+_0x384d5f/_0x2346f7;}return _0x585228===0x0?_0xf8d7ff+'\x27-'+_0x615ffc+'\x22':_0xf8d7ff+'\x27-'+_0x585228+'\x20'+_0x615ffc+'\x22';}['formatFeetInchesValue1'](_0x2dc18d){const _0x539b21=_0x5f1701;debugger;const _0x6a3113=Math[_0x539b21(0x1bc)](_0x2dc18d/0xc),_0x3ae195=Math[_0x539b21(0x1bc)](_0x2dc18d%0xc),_0x4ac5ff=_0x2dc18d%0x1;let _0x5b35f2='';if(_0x4ac5ff>0x0){const _0x384912=(_0x28d2a4,_0x5c5760)=>_0x5c5760?_0x384912(_0x5c5760,_0x28d2a4%_0x5c5760):_0x28d2a4,_0x10dcf8=Math[_0x539b21(0x1d2)](_0x4ac5ff*0x10),_0x17de68=0x10,_0x5d798e=_0x384912(_0x10dcf8,_0x17de68);_0x5b35f2='\x20'+_0x10dcf8/_0x5d798e+'/'+_0x17de68/_0x5d798e;}return _0x6a3113+'\x27-'+_0x3ae195+'\x20'+_0x5b35f2+'\x22';}[_0x5f1701(0x1cd)](_0x38538e){const _0x4c8ba1=_0x5f1701,_0x4632d5=Math[_0x4c8ba1(0x1bc)](_0x38538e/0xc),_0x3e7e0d=Math[_0x4c8ba1(0x1d2)](_0x38538e%0xc*0xa)/0xa;return _0x4632d5>0x0&&_0x3e7e0d>0x0?_0x4632d5+'\x27-'+_0x3e7e0d+'\x22':_0x4632d5>0x0?_0x4632d5+'\x27':_0x3e7e0d+'\x22';}[_0x5f1701(0x1e7)](_0x154976,_0xc6dbcb,_0x11307b){const _0x447538=this['unitConversion'][this['unitCategory']][_0xc6dbcb]/this['unitConversion'][this['unitCategory']][_0x11307b];return _0x154976*_0x447538;}[_0x5f1701(0x209)](_0x5418d7){const _0x335342=_0x5f1701;for(const _0x3797ef in this['units'])if(this['units'][_0x3797ef]['includes'](_0x5418d7))return _0x3797ef;return this[_0x335342(0x1ce)][_0x335342(0x1f5)]=this[_0x335342(0x1ce)][_0x335342(0x1f5)]||[],this[_0x335342(0x1ce)][_0x335342(0x1f5)][_0x335342(0x22e)](_0x5418d7),this[_0x335342(0x207)]['Custom']=this[_0x335342(0x207)][_0x335342(0x1f5)]||{},this['unitConversion'][_0x335342(0x1f5)][_0x5418d7]=0x1,_0x335342(0x1f5);}[_0x5f1701(0x1f6)](){const _0x3f1f7e=_0x5f1701;this[_0x3f1f7e(0x1dc)]['addEventListener'](_0x3f1f7e(0x20e),this[_0x3f1f7e(0x1f8)][_0x3f1f7e(0x1e6)](this)),this[_0x3f1f7e(0x1ea)]=this[_0x3f1f7e(0x1a9)](_0x3f1f7e(0x1ea))||'mm',this['unitCategory']=this['getUnitCategory'](this[_0x3f1f7e(0x1ea)]),this[_0x3f1f7e(0x1bb)]=this[_0x3f1f7e(0x1b7)](_0x3f1f7e(0x1c1))?this[_0x3f1f7e(0x1a9)](_0x3f1f7e(0x1c1))===_0x3f1f7e(0x1c6):this[_0x3f1f7e(0x215)]!=='Custom',this[_0x3f1f7e(0x229)]();}[_0x5f1701(0x1f7)](){const _0x1be525=_0x5f1701;this[_0x1be525(0x1dc)][_0x1be525(0x214)](_0x1be525(0x20e),this[_0x1be525(0x1f8)]['bind'](this));}[_0x5f1701(0x1c7)](_0x723b1c){const _0x39e243=_0x5f1701;if(_0x723b1c['target'][_0x39e243(0x1b4)](_0x39e243(0x1e3))){const _0x19a7e6=this[_0x39e243(0x1dc)][_0x39e243(0x1e4)]('select');_0x19a7e6&&(_0x19a7e6[_0x39e243(0x22f)](),_0x19a7e6[_0x39e243(0x1ad)]());}}[_0x5f1701(0x1f8)](_0xd78d76){const _0x188420=_0x5f1701;let _0x31317e=0x1,_0x4e0c67=0x1,_0x2d46c2=0x0,_0x1ae01d=0x0;if(_0xd78d76[_0x188420(0x1db)][_0x188420(0x1f2)]===_0x188420(0x1c2)){const _0x48c507=_0xd78d76[_0x188420(0x1db)][_0x188420(0x218)];if(this[_0x188420(0x215)]!==_0x188420(0x1d6)){const _0xd62d61=this[_0x188420(0x207)][this[_0x188420(0x215)]][this[_0x188420(0x1ea)]]/this['unitConversion'][this[_0x188420(0x215)]][_0x48c507];this[_0x188420(0x218)]=this['value']*_0xd62d61;}else console[_0x188420(0x1e5)](_0x188420(0x1b6)+this[_0x188420(0x215)]),console[_0x188420(0x1e5)](_0x188420(0x1e2)+this['unit']),console[_0x188420(0x1e5)](_0x188420(0x1be)+_0x48c507),_0x31317e=this[_0x188420(0x207)][this[_0x188420(0x215)]][this['unit']]['c0'],_0x4e0c67=this[_0x188420(0x207)][this[_0x188420(0x215)]][this['unit']]['c1'],_0x2d46c2=this[_0x188420(0x207)][this[_0x188420(0x215)]][_0x48c507]['c0'],_0x1ae01d=this[_0x188420(0x207)][this[_0x188420(0x215)]][_0x48c507]['c1'],this[_0x188420(0x218)]=(this[_0x188420(0x218)]*_0x31317e+_0x4e0c67-_0x1ae01d)/_0x2d46c2;this[_0x188420(0x1ea)]=_0x48c507,this['render']();}this[_0x188420(0x1d5)]();}[_0x5f1701(0x1c5)](_0xb51bf4){const _0x5bf396=_0x5f1701;return Number[_0x5bf396(0x1c8)](_0xb51bf4)?_0xb51bf4[_0x5bf396(0x1d4)]():Math[_0x5bf396(0x1bc)](_0xb51bf4)!==0x0?_0xb51bf4['toFixed'](this[_0x5bf396(0x201)])[_0x5bf396(0x1d0)](/0+$/,'')['replace'](/\.$/,''):_0xb51bf4[_0x5bf396(0x227)](0x3);}[_0x5f1701(0x229)](){const _0x19ea36=_0x5f1701,_0x596b6a=this[_0x19ea36(0x1ea)]==='ft-in'?_0x19ea36(0x226):_0x19ea36(0x1f4);this[_0x19ea36(0x1dc)][_0x19ea36(0x211)]=_0x19ea36(0x1f3)+(this[_0x19ea36(0x1bb)]?_0x19ea36(0x21f):_0x19ea36(0x1ca))+_0x19ea36(0x1f1)+(this[_0x19ea36(0x1bb)]?_0x19ea36(0x21f):_0x19ea36(0x1ca))+_0x19ea36(0x1c3)+(this[_0x19ea36(0x1bb)]?_0x19ea36(0x21f):_0x19ea36(0x1ca))+_0x19ea36(0x1d9)+_0x596b6a+_0x19ea36(0x213)+(this[_0x19ea36(0x1ea)]===_0x19ea36(0x1d8)?this[_0x19ea36(0x22a)](this[_0x19ea36(0x218)]):this[_0x19ea36(0x1c5)](this[_0x19ea36(0x218)]))+_0x19ea36(0x234)+(this[_0x19ea36(0x1ea)]===_0x19ea36(0x1d8)?'ft-in-hidden':'')+_0x19ea36(0x1f0)+(this[_0x19ea36(0x1ce)][this[_0x19ea36(0x215)]]||[this['unit']])[_0x19ea36(0x1d7)](_0x195ce2=>_0x19ea36(0x20f)+_0x195ce2+'\x22\x20'+(_0x195ce2===this[_0x19ea36(0x1ea)]?_0x19ea36(0x20b):'')+'>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x195ce2+_0x19ea36(0x225))[_0x19ea36(0x217)]('')+_0x19ea36(0x1dd)+(this[_0x19ea36(0x1bb)]&&this['unitCategory']!==_0x19ea36(0x1f5)?'\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[_0x19ea36(0x224)]+_0x19ea36(0x20c):'')+_0x19ea36(0x1ed);const _0x3f4683=this[_0x19ea36(0x1dc)]['querySelector'](_0x19ea36(0x1e3)),_0x2aa479=this[_0x19ea36(0x1dc)]['querySelectorAll'](_0x19ea36(0x1ee))[0x0];_0x3f4683&&_0x2aa479&&(_0x3f4683[_0x19ea36(0x1a6)](_0x19ea36(0x1d1),()=>{const _0x3ce717=_0x19ea36;this[_0x3ce717(0x1ff)]=setTimeout(()=>{const _0xd03b66=_0x3ce717;_0x2aa479[_0xd03b66(0x230)][_0xd03b66(0x203)]='block';},0x3e8);}),_0x3f4683['addEventListener'](_0x19ea36(0x1ae),()=>{const _0x371f21=_0x19ea36;setTimeout(()=>{const _0x31da6b=_0x1e4f;_0x2aa479[_0x31da6b(0x230)][_0x31da6b(0x203)]=_0x31da6b(0x1ca);},0x7d0),clearTimeout(this[_0x371f21(0x1ff)]);}),_0x2aa479['addEventListener'](_0x19ea36(0x1ae),()=>{setTimeout(()=>{const _0x1a3251=_0x1e4f;_0x2aa479['style']['display']=_0x1a3251(0x1ca);},0x7d0);})),this[_0x19ea36(0x1d5)]();}[_0x5f1701(0x1d5)](){const _0x109b5f=_0x5f1701,_0x2790a0=this['shadowRoot'][_0x109b5f(0x1e4)](_0x109b5f(0x1e1)),_0x11ac24=_0x2790a0[_0x109b5f(0x1fa)][_0x2790a0[_0x109b5f(0x22d)]],_0x13685c=document[_0x109b5f(0x208)](_0x109b5f(0x22c));_0x13685c[_0x109b5f(0x230)]['position']=_0x109b5f(0x235),_0x13685c[_0x109b5f(0x230)][_0x109b5f(0x21d)]=_0x109b5f(0x226),_0x13685c['style'][_0x109b5f(0x1e0)]=getComputedStyle(_0x2790a0)[_0x109b5f(0x1e0)],document[_0x109b5f(0x1ef)][_0x109b5f(0x1d3)](_0x13685c),_0x13685c[_0x109b5f(0x1aa)]=_0x11ac24[_0x109b5f(0x1b0)];const _0x16a8fb=_0x13685c['offsetWidth'];document['body'][_0x109b5f(0x221)](_0x13685c);const _0x4b7467=parseInt(getComputedStyle(_0x2790a0)['paddingLeft'])+parseInt(getComputedStyle(_0x2790a0)[_0x109b5f(0x1a7)]);_0x2790a0[_0x109b5f(0x230)][_0x109b5f(0x1cc)]=this[_0x109b5f(0x1bb)]?_0x16a8fb+_0x4b7467+0x16+'px':_0x16a8fb+_0x4b7467+0x4+'px',this[_0x109b5f(0x1ea)]===_0x109b5f(0x1d8)&&(_0x2790a0[_0x109b5f(0x230)][_0x109b5f(0x1cc)]=_0x4b7467+0xc+'px');}}function _0x25cc(){const _0x1df0f4=['SELECT',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20','cm\x20HG','formatValue','true','handleArrowClick','isInteger','week','none','10441130ABXUlA','width','formatFeetInchesValue0','units','in\x20HG','replace','mouseover','round','appendChild','toString','updateDropdownWidth','Temperature','map','ft-in',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20','5119746RndgIv','target','shadowRoot','\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','4887099iZBRDG','define','font','select','unit:\x20','.unit-container','querySelector','log','bind','convertToNewUnit','pow','MPa','unit','kg/m³','lbf','\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','.tooltip','body','\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20','tagName','\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','visible','Custom','connectedCallback','disconnectedCallback','handleUnitChange','s[second]','options','psi','ksi','split','885irdieO','tooltipTimeout','lbm','decimalPlaces','calculateTotalInches','display','Ampere[amp]','g/mm³','6685212pfCsRN','unitConversion','createElement','getUnitCategory','kg/L','selected','\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','33aLtOJb','change','<option\x20value=\x22','kgf','innerHTML','match',';\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','removeEventListener','unitCategory','trim','join','value','lbm/in³','h[hour]','physical-quantity','1/16\x22','visibility','ksi[kip/in²]','auto','lbm/ft³','removeChild','GPa','18pFjAuA','e3dLogoUrl','</option>','hidden','toPrecision','1384264ccnjlt','render','formatFeetInchesValue','attachShadow','span','selectedIndex','push','focus','style','esu/s','1/1','mm\x20HG','\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','absolute','37542ZnFbBD','1020590BtabOE','addEventListener','paddingRight','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','getAttribute','textContent','inputValue','mm\x20W.C.','click','mouseout','g/cm³','text','m\x20W.C.','2RYXkrp','mbar','closest','decimal-places','category:\x20','hasAttribute','formatFeetInchesValue2','observedAttributes','minute','showUnitArrow','floor','parseFeetInchesValue','newUnit:\x20','psf','uc-qty','show-unit-arrow'];_0x25cc=function(){return _0x1df0f4;};return _0x25cc();}customElements[_0x5f1701(0x1df)](_0x5f1701(0x21b),v);class w extends v{}customElements['define'](_0x5f1701(0x1c0),w);function _0x1e4f(_0x597e7b,_0x5049e4){const _0x25cc94=_0x25cc();return _0x1e4f=function(_0x1e4fc9,_0x2f43a2){_0x1e4fc9=_0x1e4fc9-0x1a5;let _0x2a759f=_0x25cc94[_0x1e4fc9];return _0x2a759f;},_0x1e4f(_0x597e7b,_0x5049e4);}export{v as default};
|