@pie-players/pie-tool-periodic-table 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tool-periodic-table.js +1536 -1313
- package/dist/tool-periodic-table.js.map +1 -1
- package/package.json +7 -5
|
@@ -1,139 +1,145 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ms = Object.defineProperty;
|
|
2
|
+
var Li = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
typeof window < "u" && ((
|
|
10
|
-
const
|
|
11
|
-
var
|
|
12
|
-
|
|
5
|
+
var hs = (e, n, t) => n in e ? ms(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
6
|
+
var L = (e, n, t) => hs(e, typeof n != "symbol" ? n + "" : n, t), Ht = (e, n, t) => n.has(e) || Li("Cannot " + t);
|
|
7
|
+
var l = (e, n, t) => (Ht(e, n, "read from private field"), t ? t.call(e) : n.get(e)), v = (e, n, t) => n.has(e) ? Li("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(e) : n.set(e, t), b = (e, n, t, i) => (Ht(e, n, "write to private field"), i ? i.call(e, t) : n.set(e, t), t), B = (e, n, t) => (Ht(e, n, "access private method"), t);
|
|
8
|
+
var to;
|
|
9
|
+
typeof window < "u" && ((to = window.__svelte ?? (window.__svelte = {})).v ?? (to.v = /* @__PURE__ */ new Set())).add("5");
|
|
10
|
+
const gs = 1, ys = 2, io = 4, bs = 8, vs = 16, ws = 2, ci = "[", Ct = "[!", ui = "]", Nn = {}, X = /* @__PURE__ */ Symbol(), oo = "http://www.w3.org/1999/xhtml", Wt = !1;
|
|
11
|
+
var so = Array.isArray, xs = Array.prototype.indexOf, Ln = Array.prototype.includes, Tt = Array.from, xt = Object.keys, kt = Object.defineProperty, Sn = Object.getOwnPropertyDescriptor, ks = Object.getOwnPropertyDescriptors, Ss = Object.prototype, Es = Array.prototype, ro = Object.getPrototypeOf, ji = Object.isExtensible;
|
|
12
|
+
const $s = () => {
|
|
13
|
+
};
|
|
14
|
+
function As(e) {
|
|
13
15
|
for (var n = 0; n < e.length; n++)
|
|
14
16
|
e[n]();
|
|
15
17
|
}
|
|
16
|
-
function
|
|
18
|
+
function lo() {
|
|
17
19
|
var e, n, t = new Promise((i, o) => {
|
|
18
20
|
e = i, n = o;
|
|
19
21
|
});
|
|
20
22
|
return { promise: t, resolve: e, reject: n };
|
|
21
23
|
}
|
|
22
|
-
const
|
|
24
|
+
const K = 2, qn = 4, Rt = 8, ao = 1 << 24, Ve = 16, Se = 32, sn = 64, co = 128, fe = 512, G = 1024, W = 2048, ke = 4096, le = 8192, Xe = 16384, Bn = 32768, jn = 65536, Mi = 1 << 17, uo = 1 << 18, xn = 1 << 19, Cs = 1 << 20, Fe = 1 << 25, bn = 65536, Vt = 1 << 21, di = 1 << 22, nn = 1 << 23, ht = /* @__PURE__ */ Symbol("$state"), Ts = /* @__PURE__ */ Symbol("legacy props"), Rs = /* @__PURE__ */ Symbol(""), an = new class extends Error {
|
|
23
25
|
constructor() {
|
|
24
26
|
super(...arguments);
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
L(this, "name", "StaleReactionError");
|
|
28
|
+
L(this, "message", "The reaction that called `getAbortSignal()` was re-run or destroyed");
|
|
27
29
|
}
|
|
28
|
-
}(),
|
|
29
|
-
function
|
|
30
|
+
}(), zs = /* @__PURE__ */ globalThis.document?.contentType.includes("xml") ?? !1, it = 3, Gn = 8;
|
|
31
|
+
function Ns(e) {
|
|
30
32
|
throw new Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
31
33
|
}
|
|
32
|
-
function
|
|
34
|
+
function Ls() {
|
|
33
35
|
throw new Error("https://svelte.dev/e/async_derived_orphan");
|
|
34
36
|
}
|
|
35
|
-
function
|
|
37
|
+
function js(e, n, t) {
|
|
38
|
+
throw new Error("https://svelte.dev/e/each_key_duplicate");
|
|
39
|
+
}
|
|
40
|
+
function Ms(e) {
|
|
36
41
|
throw new Error("https://svelte.dev/e/effect_in_teardown");
|
|
37
42
|
}
|
|
38
|
-
function
|
|
43
|
+
function Os() {
|
|
39
44
|
throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
|
|
40
45
|
}
|
|
41
|
-
function
|
|
46
|
+
function Ds(e) {
|
|
42
47
|
throw new Error("https://svelte.dev/e/effect_orphan");
|
|
43
48
|
}
|
|
44
|
-
function
|
|
49
|
+
function Is() {
|
|
45
50
|
throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
|
|
46
51
|
}
|
|
47
|
-
function
|
|
52
|
+
function Ps() {
|
|
48
53
|
throw new Error("https://svelte.dev/e/hydration_failed");
|
|
49
54
|
}
|
|
50
|
-
function
|
|
55
|
+
function Bs() {
|
|
51
56
|
throw new Error("https://svelte.dev/e/state_descriptors_fixed");
|
|
52
57
|
}
|
|
53
|
-
function
|
|
58
|
+
function Gs() {
|
|
54
59
|
throw new Error("https://svelte.dev/e/state_prototype_fixed");
|
|
55
60
|
}
|
|
56
|
-
function
|
|
61
|
+
function Hs() {
|
|
57
62
|
throw new Error("https://svelte.dev/e/state_unsafe_mutation");
|
|
58
63
|
}
|
|
59
|
-
function
|
|
64
|
+
function Fs() {
|
|
60
65
|
throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
|
|
61
66
|
}
|
|
62
|
-
function
|
|
67
|
+
function zt(e) {
|
|
63
68
|
console.warn("https://svelte.dev/e/hydration_mismatch");
|
|
64
69
|
}
|
|
65
|
-
function
|
|
70
|
+
function Us() {
|
|
66
71
|
console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
|
|
67
72
|
}
|
|
68
|
-
let
|
|
73
|
+
let E = !1;
|
|
69
74
|
function Ue(e) {
|
|
70
|
-
|
|
75
|
+
E = e;
|
|
71
76
|
}
|
|
72
|
-
let
|
|
73
|
-
function
|
|
77
|
+
let $;
|
|
78
|
+
function q(e) {
|
|
74
79
|
if (e === null)
|
|
75
|
-
throw
|
|
76
|
-
return
|
|
80
|
+
throw zt(), Nn;
|
|
81
|
+
return $ = e;
|
|
77
82
|
}
|
|
78
|
-
function
|
|
79
|
-
return
|
|
83
|
+
function Nt() {
|
|
84
|
+
return q(/* @__PURE__ */ Le($));
|
|
80
85
|
}
|
|
81
|
-
function
|
|
82
|
-
if (
|
|
83
|
-
if (/* @__PURE__ */
|
|
84
|
-
throw
|
|
85
|
-
|
|
86
|
+
function S(e) {
|
|
87
|
+
if (E) {
|
|
88
|
+
if (/* @__PURE__ */ Le($) !== null)
|
|
89
|
+
throw zt(), Nn;
|
|
90
|
+
$ = e;
|
|
86
91
|
}
|
|
87
92
|
}
|
|
88
|
-
function
|
|
89
|
-
if (
|
|
90
|
-
for (var n = e, t =
|
|
93
|
+
function Xs(e = 1) {
|
|
94
|
+
if (E) {
|
|
95
|
+
for (var n = e, t = $; n--; )
|
|
91
96
|
t = /** @type {TemplateNode} */
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
|
|
97
|
+
/* @__PURE__ */ Le(t);
|
|
98
|
+
$ = t;
|
|
94
99
|
}
|
|
95
100
|
}
|
|
96
|
-
function
|
|
97
|
-
for (var n = 0, t =
|
|
98
|
-
if (t.nodeType ===
|
|
101
|
+
function St(e = !0) {
|
|
102
|
+
for (var n = 0, t = $; ; ) {
|
|
103
|
+
if (t.nodeType === Gn) {
|
|
99
104
|
var i = (
|
|
100
105
|
/** @type {Comment} */
|
|
101
106
|
t.data
|
|
102
107
|
);
|
|
103
|
-
if (i ===
|
|
108
|
+
if (i === ui) {
|
|
104
109
|
if (n === 0) return t;
|
|
105
110
|
n -= 1;
|
|
106
|
-
} else (i ===
|
|
111
|
+
} else (i === ci || i === Ct || // "[1", "[2", etc. for if blocks
|
|
112
|
+
i[0] === "[" && !isNaN(Number(i.slice(1)))) && (n += 1);
|
|
107
113
|
}
|
|
108
114
|
var o = (
|
|
109
115
|
/** @type {TemplateNode} */
|
|
110
|
-
/* @__PURE__ */
|
|
116
|
+
/* @__PURE__ */ Le(t)
|
|
111
117
|
);
|
|
112
118
|
e && t.remove(), t = o;
|
|
113
119
|
}
|
|
114
120
|
}
|
|
115
|
-
function
|
|
116
|
-
if (!e || e.nodeType !==
|
|
117
|
-
throw
|
|
121
|
+
function po(e) {
|
|
122
|
+
if (!e || e.nodeType !== Gn)
|
|
123
|
+
throw zt(), Nn;
|
|
118
124
|
return (
|
|
119
125
|
/** @type {Comment} */
|
|
120
126
|
e.data
|
|
121
127
|
);
|
|
122
128
|
}
|
|
123
|
-
function
|
|
129
|
+
function fo(e) {
|
|
124
130
|
return e === this.v;
|
|
125
131
|
}
|
|
126
|
-
function
|
|
132
|
+
function Ks(e, n) {
|
|
127
133
|
return e != e ? n == n : e !== n || e !== null && typeof e == "object" || typeof e == "function";
|
|
128
134
|
}
|
|
129
|
-
function
|
|
130
|
-
return !
|
|
135
|
+
function _o(e) {
|
|
136
|
+
return !Ks(e, this.v);
|
|
131
137
|
}
|
|
132
|
-
let
|
|
133
|
-
function
|
|
138
|
+
let Ws = !1, ae = null;
|
|
139
|
+
function Mn(e) {
|
|
134
140
|
ae = e;
|
|
135
141
|
}
|
|
136
|
-
function
|
|
142
|
+
function mo(e, n = !1, t) {
|
|
137
143
|
ae = {
|
|
138
144
|
p: ae,
|
|
139
145
|
i: !1,
|
|
@@ -144,7 +150,7 @@ function so(e, n = !1, t) {
|
|
|
144
150
|
l: null
|
|
145
151
|
};
|
|
146
152
|
}
|
|
147
|
-
function
|
|
153
|
+
function ho(e) {
|
|
148
154
|
var n = (
|
|
149
155
|
/** @type {ComponentContext} */
|
|
150
156
|
ae
|
|
@@ -152,158 +158,182 @@ function ro(e) {
|
|
|
152
158
|
if (t !== null) {
|
|
153
159
|
n.e = null;
|
|
154
160
|
for (var i of t)
|
|
155
|
-
|
|
161
|
+
Bo(i);
|
|
156
162
|
}
|
|
157
163
|
return e !== void 0 && (n.x = e), n.i = !0, ae = n.p, e ?? /** @type {T} */
|
|
158
164
|
{};
|
|
159
165
|
}
|
|
160
|
-
function
|
|
166
|
+
function go() {
|
|
161
167
|
return !0;
|
|
162
168
|
}
|
|
163
|
-
let
|
|
164
|
-
function
|
|
165
|
-
var e =
|
|
166
|
-
|
|
169
|
+
let cn = [];
|
|
170
|
+
function yo() {
|
|
171
|
+
var e = cn;
|
|
172
|
+
cn = [], As(e);
|
|
167
173
|
}
|
|
168
174
|
function Ke(e) {
|
|
169
|
-
if (
|
|
170
|
-
var n =
|
|
175
|
+
if (cn.length === 0 && !Vn) {
|
|
176
|
+
var n = cn;
|
|
171
177
|
queueMicrotask(() => {
|
|
172
|
-
n ===
|
|
178
|
+
n === cn && yo();
|
|
173
179
|
});
|
|
174
180
|
}
|
|
175
|
-
|
|
181
|
+
cn.push(e);
|
|
176
182
|
}
|
|
177
|
-
function
|
|
178
|
-
for (;
|
|
179
|
-
|
|
183
|
+
function Vs() {
|
|
184
|
+
for (; cn.length > 0; )
|
|
185
|
+
yo();
|
|
180
186
|
}
|
|
181
|
-
function
|
|
182
|
-
var n =
|
|
187
|
+
function bo(e) {
|
|
188
|
+
var n = A;
|
|
183
189
|
if (n === null)
|
|
184
|
-
return w.f |=
|
|
185
|
-
if ((n.f &
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
n.b.error(e);
|
|
189
|
-
} else
|
|
190
|
-
Fn(e, n);
|
|
190
|
+
return w.f |= nn, e;
|
|
191
|
+
if ((n.f & Bn) === 0 && (n.f & qn) === 0)
|
|
192
|
+
throw e;
|
|
193
|
+
On(e, n);
|
|
191
194
|
}
|
|
192
|
-
function
|
|
195
|
+
function On(e, n) {
|
|
193
196
|
for (; n !== null; ) {
|
|
194
|
-
if ((n.f &
|
|
197
|
+
if ((n.f & co) !== 0) {
|
|
198
|
+
if ((n.f & Bn) === 0)
|
|
199
|
+
throw e;
|
|
195
200
|
try {
|
|
196
201
|
n.b.error(e);
|
|
197
202
|
return;
|
|
198
203
|
} catch (t) {
|
|
199
204
|
e = t;
|
|
200
205
|
}
|
|
206
|
+
}
|
|
201
207
|
n = n.parent;
|
|
202
208
|
}
|
|
203
209
|
throw e;
|
|
204
210
|
}
|
|
205
|
-
const
|
|
206
|
-
function
|
|
207
|
-
e.f = e.f &
|
|
211
|
+
const Js = -7169;
|
|
212
|
+
function j(e, n) {
|
|
213
|
+
e.f = e.f & Js | n;
|
|
208
214
|
}
|
|
209
|
-
function
|
|
210
|
-
(e.f & fe) !== 0 || e.deps === null ?
|
|
215
|
+
function pi(e) {
|
|
216
|
+
(e.f & fe) !== 0 || e.deps === null ? j(e, G) : j(e, ke);
|
|
211
217
|
}
|
|
212
|
-
function
|
|
218
|
+
function vo(e) {
|
|
213
219
|
if (e !== null)
|
|
214
220
|
for (const n of e)
|
|
215
|
-
(n.f &
|
|
221
|
+
(n.f & K) === 0 || (n.f & bn) === 0 || (n.f ^= bn, vo(
|
|
216
222
|
/** @type {Derived} */
|
|
217
223
|
n.deps
|
|
218
224
|
));
|
|
219
225
|
}
|
|
220
|
-
function
|
|
221
|
-
(e.f &
|
|
226
|
+
function wo(e, n, t) {
|
|
227
|
+
(e.f & W) !== 0 ? n.add(e) : (e.f & ke) !== 0 && t.add(e), vo(e.deps), j(e, G);
|
|
222
228
|
}
|
|
223
|
-
const
|
|
224
|
-
let N = null,
|
|
225
|
-
var
|
|
229
|
+
const dt = /* @__PURE__ */ new Set();
|
|
230
|
+
let N = null, ve = null, ee = [], Lt = null, Jt = !1, Vn = !1;
|
|
231
|
+
var En, $n, dn, An, Qn, Zn, pn, Ie, Cn, Ne, qt, Yt, xo;
|
|
226
232
|
const xi = class xi {
|
|
227
233
|
constructor() {
|
|
228
|
-
v(this,
|
|
229
|
-
|
|
234
|
+
v(this, Ne);
|
|
235
|
+
L(this, "committed", !1);
|
|
230
236
|
/**
|
|
231
237
|
* The current values of any sources that are updated in this batch
|
|
232
238
|
* They keys of this map are identical to `this.#previous`
|
|
233
239
|
* @type {Map<Source, any>}
|
|
234
240
|
*/
|
|
235
|
-
|
|
241
|
+
L(this, "current", /* @__PURE__ */ new Map());
|
|
236
242
|
/**
|
|
237
243
|
* The values of any sources that are updated in this batch _before_ those updates took place.
|
|
238
244
|
* They keys of this map are identical to `this.#current`
|
|
239
245
|
* @type {Map<Source, any>}
|
|
240
246
|
*/
|
|
241
|
-
|
|
247
|
+
L(this, "previous", /* @__PURE__ */ new Map());
|
|
242
248
|
/**
|
|
243
249
|
* When the batch is committed (and the DOM is updated), we need to remove old branches
|
|
244
250
|
* and append new ones by calling the functions added inside (if/each/key/etc) blocks
|
|
245
251
|
* @type {Set<() => void>}
|
|
246
252
|
*/
|
|
247
|
-
v(this,
|
|
253
|
+
v(this, En, /* @__PURE__ */ new Set());
|
|
248
254
|
/**
|
|
249
255
|
* If a fork is discarded, we need to destroy any effects that are no longer needed
|
|
250
256
|
* @type {Set<(batch: Batch) => void>}
|
|
251
257
|
*/
|
|
252
|
-
v(this,
|
|
258
|
+
v(this, $n, /* @__PURE__ */ new Set());
|
|
253
259
|
/**
|
|
254
260
|
* The number of async effects that are currently in flight
|
|
255
261
|
*/
|
|
256
|
-
v(this,
|
|
262
|
+
v(this, dn, 0);
|
|
257
263
|
/**
|
|
258
264
|
* The number of async effects that are currently in flight, _not_ inside a pending boundary
|
|
259
265
|
*/
|
|
260
|
-
v(this,
|
|
266
|
+
v(this, An, 0);
|
|
261
267
|
/**
|
|
262
268
|
* A deferred that resolves when the batch is committed, used with `settled()`
|
|
263
269
|
* TODO replace with Promise.withResolvers once supported widely enough
|
|
264
270
|
* @type {{ promise: Promise<void>, resolve: (value?: any) => void, reject: (reason: unknown) => void } | null}
|
|
265
271
|
*/
|
|
266
|
-
v(this,
|
|
272
|
+
v(this, Qn, null);
|
|
267
273
|
/**
|
|
268
274
|
* Deferred effects (which run after async work has completed) that are DIRTY
|
|
269
275
|
* @type {Set<Effect>}
|
|
270
276
|
*/
|
|
271
|
-
v(this,
|
|
277
|
+
v(this, Zn, /* @__PURE__ */ new Set());
|
|
272
278
|
/**
|
|
273
279
|
* Deferred effects that are MAYBE_DIRTY
|
|
274
280
|
* @type {Set<Effect>}
|
|
275
281
|
*/
|
|
276
|
-
v(this,
|
|
282
|
+
v(this, pn, /* @__PURE__ */ new Set());
|
|
277
283
|
/**
|
|
278
|
-
* A
|
|
279
|
-
* is committed — we skip over these during `process
|
|
280
|
-
*
|
|
284
|
+
* A map of branches that still exist, but will be destroyed when this batch
|
|
285
|
+
* is committed — we skip over these during `process`.
|
|
286
|
+
* The value contains child effects that were dirty/maybe_dirty before being reset,
|
|
287
|
+
* so they can be rescheduled if the branch survives.
|
|
288
|
+
* @type {Map<Effect, { d: Effect[], m: Effect[] }>}
|
|
281
289
|
*/
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
v(this,
|
|
290
|
+
v(this, Ie, /* @__PURE__ */ new Map());
|
|
291
|
+
L(this, "is_fork", !1);
|
|
292
|
+
v(this, Cn, !1);
|
|
285
293
|
}
|
|
286
294
|
is_deferred() {
|
|
287
|
-
return this.is_fork ||
|
|
295
|
+
return this.is_fork || l(this, An) > 0;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Add an effect to the #skipped_branches map and reset its children
|
|
299
|
+
* @param {Effect} effect
|
|
300
|
+
*/
|
|
301
|
+
skip_effect(n) {
|
|
302
|
+
l(this, Ie).has(n) || l(this, Ie).set(n, { d: [], m: [] });
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Remove an effect from the #skipped_branches map and reschedule
|
|
306
|
+
* any tracked dirty/maybe_dirty child effects
|
|
307
|
+
* @param {Effect} effect
|
|
308
|
+
*/
|
|
309
|
+
unskip_effect(n) {
|
|
310
|
+
var t = l(this, Ie).get(n);
|
|
311
|
+
if (t) {
|
|
312
|
+
l(this, Ie).delete(n);
|
|
313
|
+
for (var i of t.d)
|
|
314
|
+
j(i, W), we(i);
|
|
315
|
+
for (i of t.m)
|
|
316
|
+
j(i, ke), we(i);
|
|
317
|
+
}
|
|
288
318
|
}
|
|
289
319
|
/**
|
|
290
320
|
*
|
|
291
321
|
* @param {Effect[]} root_effects
|
|
292
322
|
*/
|
|
293
323
|
process(n) {
|
|
294
|
-
|
|
324
|
+
ee = [], this.apply();
|
|
295
325
|
var t = [], i = [];
|
|
296
326
|
for (const o of n)
|
|
297
|
-
B(this,
|
|
327
|
+
B(this, Ne, qt).call(this, o, t, i);
|
|
298
328
|
if (this.is_deferred()) {
|
|
299
|
-
B(this,
|
|
300
|
-
for (const o of this
|
|
301
|
-
|
|
329
|
+
B(this, Ne, Yt).call(this, i), B(this, Ne, Yt).call(this, t);
|
|
330
|
+
for (const [o, s] of l(this, Ie))
|
|
331
|
+
$o(o, s);
|
|
302
332
|
} else {
|
|
303
|
-
for (const o of
|
|
304
|
-
|
|
333
|
+
for (const o of l(this, En)) o();
|
|
334
|
+
l(this, En).clear(), l(this, dn) === 0 && B(this, Ne, xo).call(this), N = null, Oi(i), Oi(t), l(this, Qn)?.resolve();
|
|
305
335
|
}
|
|
306
|
-
|
|
336
|
+
ve = null;
|
|
307
337
|
}
|
|
308
338
|
/**
|
|
309
339
|
* Associate a change to a given source with the current
|
|
@@ -312,63 +342,63 @@ const xi = class xi {
|
|
|
312
342
|
* @param {any} value
|
|
313
343
|
*/
|
|
314
344
|
capture(n, t) {
|
|
315
|
-
t !==
|
|
345
|
+
t !== X && !this.previous.has(n) && this.previous.set(n, t), (n.f & nn) === 0 && (this.current.set(n, n.v), ve?.set(n, n.v));
|
|
316
346
|
}
|
|
317
347
|
activate() {
|
|
318
348
|
N = this, this.apply();
|
|
319
349
|
}
|
|
320
350
|
deactivate() {
|
|
321
|
-
N === this && (N = null,
|
|
351
|
+
N === this && (N = null, ve = null);
|
|
322
352
|
}
|
|
323
353
|
flush() {
|
|
324
|
-
if (this.activate(),
|
|
325
|
-
if (
|
|
354
|
+
if (this.activate(), ee.length > 0) {
|
|
355
|
+
if (ko(), N !== null && N !== this)
|
|
326
356
|
return;
|
|
327
|
-
} else
|
|
357
|
+
} else l(this, dn) === 0 && this.process([]);
|
|
328
358
|
this.deactivate();
|
|
329
359
|
}
|
|
330
360
|
discard() {
|
|
331
|
-
for (const n of
|
|
332
|
-
|
|
361
|
+
for (const n of l(this, $n)) n(this);
|
|
362
|
+
l(this, $n).clear();
|
|
333
363
|
}
|
|
334
364
|
/**
|
|
335
365
|
*
|
|
336
366
|
* @param {boolean} blocking
|
|
337
367
|
*/
|
|
338
368
|
increment(n) {
|
|
339
|
-
b(this,
|
|
369
|
+
b(this, dn, l(this, dn) + 1), n && b(this, An, l(this, An) + 1);
|
|
340
370
|
}
|
|
341
371
|
/**
|
|
342
372
|
*
|
|
343
373
|
* @param {boolean} blocking
|
|
344
374
|
*/
|
|
345
375
|
decrement(n) {
|
|
346
|
-
b(this,
|
|
347
|
-
b(this,
|
|
376
|
+
b(this, dn, l(this, dn) - 1), n && b(this, An, l(this, An) - 1), !l(this, Cn) && (b(this, Cn, !0), Ke(() => {
|
|
377
|
+
b(this, Cn, !1), this.is_deferred() ? ee.length > 0 && this.flush() : this.revive();
|
|
348
378
|
}));
|
|
349
379
|
}
|
|
350
380
|
revive() {
|
|
351
|
-
for (const n of
|
|
352
|
-
|
|
353
|
-
for (const n of
|
|
354
|
-
|
|
381
|
+
for (const n of l(this, Zn))
|
|
382
|
+
l(this, pn).delete(n), j(n, W), we(n);
|
|
383
|
+
for (const n of l(this, pn))
|
|
384
|
+
j(n, ke), we(n);
|
|
355
385
|
this.flush();
|
|
356
386
|
}
|
|
357
387
|
/** @param {() => void} fn */
|
|
358
388
|
oncommit(n) {
|
|
359
|
-
|
|
389
|
+
l(this, En).add(n);
|
|
360
390
|
}
|
|
361
391
|
/** @param {(batch: Batch) => void} fn */
|
|
362
392
|
ondiscard(n) {
|
|
363
|
-
|
|
393
|
+
l(this, $n).add(n);
|
|
364
394
|
}
|
|
365
395
|
settled() {
|
|
366
|
-
return (
|
|
396
|
+
return (l(this, Qn) ?? b(this, Qn, lo())).promise;
|
|
367
397
|
}
|
|
368
398
|
static ensure() {
|
|
369
399
|
if (N === null) {
|
|
370
400
|
const n = N = new xi();
|
|
371
|
-
|
|
401
|
+
dt.add(N), Vn || Ke(() => {
|
|
372
402
|
N === n && n.flush();
|
|
373
403
|
});
|
|
374
404
|
}
|
|
@@ -377,19 +407,19 @@ const xi = class xi {
|
|
|
377
407
|
apply() {
|
|
378
408
|
}
|
|
379
409
|
};
|
|
380
|
-
|
|
410
|
+
En = new WeakMap(), $n = new WeakMap(), dn = new WeakMap(), An = new WeakMap(), Qn = new WeakMap(), Zn = new WeakMap(), pn = new WeakMap(), Ie = new WeakMap(), Cn = new WeakMap(), Ne = new WeakSet(), /**
|
|
381
411
|
* Traverse the effect tree, executing effects or stashing
|
|
382
412
|
* them for later execution as appropriate
|
|
383
413
|
* @param {Effect} root
|
|
384
414
|
* @param {Effect[]} effects
|
|
385
415
|
* @param {Effect[]} render_effects
|
|
386
416
|
*/
|
|
387
|
-
|
|
388
|
-
n.f ^=
|
|
417
|
+
qt = function(n, t, i) {
|
|
418
|
+
n.f ^= G;
|
|
389
419
|
for (var o = n.first, s = null; o !== null; ) {
|
|
390
|
-
var r = o.f,
|
|
420
|
+
var r = o.f, a = (r & (Se | sn)) !== 0, c = a && (r & G) !== 0, u = c || (r & le) !== 0 || l(this, Ie).has(o);
|
|
391
421
|
if (!u && o.fn !== null) {
|
|
392
|
-
|
|
422
|
+
a ? o.f ^= G : s !== null && (r & (qn | Rt | ao)) !== 0 ? s.b.defer_effect(o) : (r & qn) !== 0 ? t.push(o) : ot(o) && ((r & Ve) !== 0 && l(this, pn).add(o), Pn(o));
|
|
393
423
|
var d = o.first;
|
|
394
424
|
if (d !== null) {
|
|
395
425
|
o = d;
|
|
@@ -403,137 +433,137 @@ ei = function(n, t, i) {
|
|
|
403
433
|
}, /**
|
|
404
434
|
* @param {Effect[]} effects
|
|
405
435
|
*/
|
|
406
|
-
|
|
436
|
+
Yt = function(n) {
|
|
407
437
|
for (var t = 0; t < n.length; t += 1)
|
|
408
|
-
|
|
409
|
-
},
|
|
438
|
+
wo(n[t], l(this, Zn), l(this, pn));
|
|
439
|
+
}, xo = function() {
|
|
410
440
|
var o;
|
|
411
|
-
if (
|
|
441
|
+
if (dt.size > 1) {
|
|
412
442
|
this.previous.clear();
|
|
413
|
-
var n =
|
|
414
|
-
for (const s of
|
|
443
|
+
var n = ve, t = !0;
|
|
444
|
+
for (const s of dt) {
|
|
415
445
|
if (s === this) {
|
|
416
446
|
t = !1;
|
|
417
447
|
continue;
|
|
418
448
|
}
|
|
419
449
|
const r = [];
|
|
420
|
-
for (const [
|
|
421
|
-
if (s.current.has(
|
|
422
|
-
if (t && u !== s.current.get(
|
|
423
|
-
s.current.set(
|
|
450
|
+
for (const [c, u] of this.current) {
|
|
451
|
+
if (s.current.has(c))
|
|
452
|
+
if (t && u !== s.current.get(c))
|
|
453
|
+
s.current.set(c, u);
|
|
424
454
|
else
|
|
425
455
|
continue;
|
|
426
|
-
r.push(
|
|
456
|
+
r.push(c);
|
|
427
457
|
}
|
|
428
458
|
if (r.length === 0)
|
|
429
459
|
continue;
|
|
430
|
-
const
|
|
431
|
-
if (
|
|
432
|
-
var i =
|
|
433
|
-
|
|
434
|
-
const
|
|
460
|
+
const a = [...s.current.keys()].filter((c) => !this.current.has(c));
|
|
461
|
+
if (a.length > 0) {
|
|
462
|
+
var i = ee;
|
|
463
|
+
ee = [];
|
|
464
|
+
const c = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map();
|
|
435
465
|
for (const d of r)
|
|
436
|
-
|
|
437
|
-
if (
|
|
466
|
+
So(d, a, c, u);
|
|
467
|
+
if (ee.length > 0) {
|
|
438
468
|
N = s, s.apply();
|
|
439
|
-
for (const d of
|
|
440
|
-
B(o = s,
|
|
469
|
+
for (const d of ee)
|
|
470
|
+
B(o = s, Ne, qt).call(o, d, [], []);
|
|
441
471
|
s.deactivate();
|
|
442
472
|
}
|
|
443
|
-
|
|
473
|
+
ee = i;
|
|
444
474
|
}
|
|
445
475
|
}
|
|
446
|
-
N = null,
|
|
476
|
+
N = null, ve = n;
|
|
447
477
|
}
|
|
448
|
-
this.committed = !0,
|
|
478
|
+
this.committed = !0, dt.delete(this);
|
|
449
479
|
};
|
|
450
480
|
let We = xi;
|
|
451
|
-
function
|
|
452
|
-
var n =
|
|
453
|
-
|
|
481
|
+
function gt(e) {
|
|
482
|
+
var n = Vn;
|
|
483
|
+
Vn = !0;
|
|
454
484
|
try {
|
|
455
485
|
for (var t; ; ) {
|
|
456
|
-
if (
|
|
457
|
-
return
|
|
486
|
+
if (Vs(), ee.length === 0 && (N?.flush(), ee.length === 0))
|
|
487
|
+
return Lt = null, /** @type {T} */
|
|
458
488
|
t;
|
|
459
|
-
|
|
489
|
+
ko();
|
|
460
490
|
}
|
|
461
491
|
} finally {
|
|
462
|
-
|
|
492
|
+
Vn = n;
|
|
463
493
|
}
|
|
464
494
|
}
|
|
465
|
-
function
|
|
466
|
-
|
|
495
|
+
function ko() {
|
|
496
|
+
Jt = !0;
|
|
467
497
|
var e = null;
|
|
468
498
|
try {
|
|
469
|
-
for (var n = 0;
|
|
499
|
+
for (var n = 0; ee.length > 0; ) {
|
|
470
500
|
var t = We.ensure();
|
|
471
501
|
if (n++ > 1e3) {
|
|
472
502
|
var i, o;
|
|
473
|
-
|
|
503
|
+
qs();
|
|
474
504
|
}
|
|
475
|
-
t.process(
|
|
505
|
+
t.process(ee), tn.clear();
|
|
476
506
|
}
|
|
477
507
|
} finally {
|
|
478
|
-
|
|
508
|
+
ee = [], Jt = !1, Lt = null;
|
|
479
509
|
}
|
|
480
510
|
}
|
|
481
|
-
function
|
|
511
|
+
function qs() {
|
|
482
512
|
try {
|
|
483
|
-
|
|
513
|
+
Is();
|
|
484
514
|
} catch (e) {
|
|
485
|
-
|
|
515
|
+
On(e, Lt);
|
|
486
516
|
}
|
|
487
517
|
}
|
|
488
|
-
let
|
|
489
|
-
function
|
|
518
|
+
let De = null;
|
|
519
|
+
function Oi(e) {
|
|
490
520
|
var n = e.length;
|
|
491
521
|
if (n !== 0) {
|
|
492
522
|
for (var t = 0; t < n; ) {
|
|
493
523
|
var i = e[t++];
|
|
494
|
-
if ((i.f & (Xe | le)) === 0 &&
|
|
495
|
-
|
|
496
|
-
for (const o of
|
|
524
|
+
if ((i.f & (Xe | le)) === 0 && ot(i) && (De = /* @__PURE__ */ new Set(), Pn(i), i.deps === null && i.first === null && i.nodes === null && i.teardown === null && i.ac === null && Fo(i), De?.size > 0)) {
|
|
525
|
+
tn.clear();
|
|
526
|
+
for (const o of De) {
|
|
497
527
|
if ((o.f & (Xe | le)) !== 0) continue;
|
|
498
528
|
const s = [o];
|
|
499
529
|
let r = o.parent;
|
|
500
530
|
for (; r !== null; )
|
|
501
|
-
|
|
502
|
-
for (let
|
|
503
|
-
const
|
|
504
|
-
(
|
|
531
|
+
De.has(r) && (De.delete(r), s.push(r)), r = r.parent;
|
|
532
|
+
for (let a = s.length - 1; a >= 0; a--) {
|
|
533
|
+
const c = s[a];
|
|
534
|
+
(c.f & (Xe | le)) === 0 && Pn(c);
|
|
505
535
|
}
|
|
506
536
|
}
|
|
507
|
-
|
|
537
|
+
De.clear();
|
|
508
538
|
}
|
|
509
539
|
}
|
|
510
|
-
|
|
540
|
+
De = null;
|
|
511
541
|
}
|
|
512
542
|
}
|
|
513
|
-
function
|
|
543
|
+
function So(e, n, t, i) {
|
|
514
544
|
if (!t.has(e) && (t.add(e), e.reactions !== null))
|
|
515
545
|
for (const o of e.reactions) {
|
|
516
546
|
const s = o.f;
|
|
517
|
-
(s &
|
|
547
|
+
(s & K) !== 0 ? So(
|
|
518
548
|
/** @type {Derived} */
|
|
519
549
|
o,
|
|
520
550
|
n,
|
|
521
551
|
t,
|
|
522
552
|
i
|
|
523
|
-
) : (s & (
|
|
553
|
+
) : (s & (di | Ve)) !== 0 && (s & W) === 0 && Eo(o, n, i) && (j(o, W), we(
|
|
524
554
|
/** @type {Effect} */
|
|
525
555
|
o
|
|
526
556
|
));
|
|
527
557
|
}
|
|
528
558
|
}
|
|
529
|
-
function
|
|
559
|
+
function Eo(e, n, t) {
|
|
530
560
|
const i = t.get(e);
|
|
531
561
|
if (i !== void 0) return i;
|
|
532
562
|
if (e.deps !== null)
|
|
533
563
|
for (const o of e.deps) {
|
|
534
|
-
if (
|
|
564
|
+
if (Ln.call(n, o))
|
|
535
565
|
return !0;
|
|
536
|
-
if ((o.f &
|
|
566
|
+
if ((o.f & K) !== 0 && Eo(
|
|
537
567
|
/** @type {Derived} */
|
|
538
568
|
o,
|
|
539
569
|
n,
|
|
@@ -547,80 +577,80 @@ function yo(e, n, t) {
|
|
|
547
577
|
}
|
|
548
578
|
return t.set(e, !1), !1;
|
|
549
579
|
}
|
|
550
|
-
function
|
|
551
|
-
for (var n =
|
|
580
|
+
function we(e) {
|
|
581
|
+
for (var n = Lt = e; n.parent !== null; ) {
|
|
552
582
|
n = n.parent;
|
|
553
583
|
var t = n.f;
|
|
554
|
-
if (
|
|
584
|
+
if (Jt && n === A && (t & Ve) !== 0 && (t & uo) === 0)
|
|
555
585
|
return;
|
|
556
|
-
if ((t & (
|
|
557
|
-
if ((t &
|
|
558
|
-
n.f ^=
|
|
586
|
+
if ((t & (sn | Se)) !== 0) {
|
|
587
|
+
if ((t & G) === 0) return;
|
|
588
|
+
n.f ^= G;
|
|
559
589
|
}
|
|
560
590
|
}
|
|
561
|
-
|
|
591
|
+
ee.push(n);
|
|
562
592
|
}
|
|
563
|
-
function
|
|
564
|
-
if (!((e.f &
|
|
565
|
-
|
|
566
|
-
for (var
|
|
567
|
-
|
|
593
|
+
function $o(e, n) {
|
|
594
|
+
if (!((e.f & Se) !== 0 && (e.f & G) !== 0)) {
|
|
595
|
+
(e.f & W) !== 0 ? n.d.push(e) : (e.f & ke) !== 0 && n.m.push(e), j(e, G);
|
|
596
|
+
for (var t = e.first; t !== null; )
|
|
597
|
+
$o(t, n), t = t.next;
|
|
568
598
|
}
|
|
569
599
|
}
|
|
570
|
-
function
|
|
571
|
-
let n = 0, t =
|
|
600
|
+
function Ys(e) {
|
|
601
|
+
let n = 0, t = vn(0), i;
|
|
572
602
|
return () => {
|
|
573
|
-
hi() && (_(t), gi(() => (n === 0 && (i = wi(() => e(() =>
|
|
603
|
+
hi() && (_(t), gi(() => (n === 0 && (i = wi(() => e(() => Jn(t)))), n += 1, () => {
|
|
574
604
|
Ke(() => {
|
|
575
|
-
n -= 1, n === 0 && (i?.(), i = void 0,
|
|
605
|
+
n -= 1, n === 0 && (i?.(), i = void 0, Jn(t));
|
|
576
606
|
});
|
|
577
607
|
})));
|
|
578
608
|
};
|
|
579
609
|
}
|
|
580
|
-
var
|
|
581
|
-
function
|
|
582
|
-
new
|
|
610
|
+
var Qs = jn | xn | co;
|
|
611
|
+
function Zs(e, n, t) {
|
|
612
|
+
new er(e, n, t);
|
|
583
613
|
}
|
|
584
|
-
var
|
|
585
|
-
class
|
|
614
|
+
var se, et, Ae, fn, Ce, ue, Z, Te, Pe, Ze, _n, Be, Tn, mn, Rn, zn, Ge, $t, M, Ao, Co, Qt, yt, bt, Zt;
|
|
615
|
+
class er {
|
|
586
616
|
/**
|
|
587
617
|
* @param {TemplateNode} node
|
|
588
618
|
* @param {BoundaryProps} props
|
|
589
619
|
* @param {((anchor: Node) => void)} children
|
|
590
620
|
*/
|
|
591
621
|
constructor(n, t, i) {
|
|
592
|
-
v(this,
|
|
622
|
+
v(this, M);
|
|
593
623
|
/** @type {Boundary | null} */
|
|
594
|
-
|
|
595
|
-
|
|
624
|
+
L(this, "parent");
|
|
625
|
+
L(this, "is_pending", !1);
|
|
596
626
|
/** @type {TemplateNode} */
|
|
597
|
-
v(this,
|
|
627
|
+
v(this, se);
|
|
598
628
|
/** @type {TemplateNode | null} */
|
|
599
|
-
v(this,
|
|
629
|
+
v(this, et, E ? $ : null);
|
|
600
630
|
/** @type {BoundaryProps} */
|
|
601
|
-
v(this,
|
|
631
|
+
v(this, Ae);
|
|
602
632
|
/** @type {((anchor: Node) => void)} */
|
|
603
|
-
v(this,
|
|
633
|
+
v(this, fn);
|
|
604
634
|
/** @type {Effect} */
|
|
605
|
-
v(this,
|
|
635
|
+
v(this, Ce);
|
|
606
636
|
/** @type {Effect | null} */
|
|
607
637
|
v(this, ue, null);
|
|
608
638
|
/** @type {Effect | null} */
|
|
609
|
-
v(this,
|
|
639
|
+
v(this, Z, null);
|
|
610
640
|
/** @type {Effect | null} */
|
|
611
|
-
v(this,
|
|
641
|
+
v(this, Te, null);
|
|
612
642
|
/** @type {DocumentFragment | null} */
|
|
613
|
-
v(this,
|
|
643
|
+
v(this, Pe, null);
|
|
614
644
|
/** @type {TemplateNode | null} */
|
|
615
|
-
v(this,
|
|
616
|
-
v(this,
|
|
645
|
+
v(this, Ze, null);
|
|
646
|
+
v(this, _n, 0);
|
|
617
647
|
v(this, Be, 0);
|
|
618
|
-
v(this,
|
|
619
|
-
v(this,
|
|
648
|
+
v(this, Tn, !1);
|
|
649
|
+
v(this, mn, !1);
|
|
620
650
|
/** @type {Set<Effect>} */
|
|
621
|
-
v(this,
|
|
651
|
+
v(this, Rn, /* @__PURE__ */ new Set());
|
|
622
652
|
/** @type {Set<Effect>} */
|
|
623
|
-
v(this,
|
|
653
|
+
v(this, zn, /* @__PURE__ */ new Set());
|
|
624
654
|
/**
|
|
625
655
|
* A source containing the number of pending async deriveds/expressions.
|
|
626
656
|
* Only created if `$effect.pending()` is used inside the boundary,
|
|
@@ -628,37 +658,37 @@ class Xs {
|
|
|
628
658
|
* calls followed by no-op flushes
|
|
629
659
|
* @type {Source<number> | null}
|
|
630
660
|
*/
|
|
631
|
-
v(this,
|
|
632
|
-
v(this,
|
|
633
|
-
b(this,
|
|
661
|
+
v(this, Ge, null);
|
|
662
|
+
v(this, $t, Ys(() => (b(this, Ge, vn(l(this, _n))), () => {
|
|
663
|
+
b(this, Ge, null);
|
|
634
664
|
})));
|
|
635
|
-
b(this,
|
|
636
|
-
|
|
637
|
-
if (
|
|
638
|
-
const s =
|
|
639
|
-
|
|
640
|
-
s.nodeType ===
|
|
641
|
-
s.data ===
|
|
665
|
+
b(this, se, n), b(this, Ae, t), b(this, fn, i), this.parent = /** @type {Effect} */
|
|
666
|
+
A.b, this.is_pending = !!l(this, Ae).pending, b(this, Ce, yi(() => {
|
|
667
|
+
if (A.b = this, E) {
|
|
668
|
+
const s = l(this, et);
|
|
669
|
+
Nt(), /** @type {Comment} */
|
|
670
|
+
s.nodeType === Gn && /** @type {Comment} */
|
|
671
|
+
s.data === Ct ? B(this, M, Co).call(this) : (B(this, M, Ao).call(this), l(this, Be) === 0 && (this.is_pending = !1));
|
|
642
672
|
} else {
|
|
643
|
-
var o = B(this,
|
|
673
|
+
var o = B(this, M, Qt).call(this);
|
|
644
674
|
try {
|
|
645
675
|
b(this, ue, pe(() => i(o)));
|
|
646
676
|
} catch (s) {
|
|
647
677
|
this.error(s);
|
|
648
678
|
}
|
|
649
|
-
|
|
679
|
+
l(this, Be) > 0 ? B(this, M, bt).call(this) : this.is_pending = !1;
|
|
650
680
|
}
|
|
651
681
|
return () => {
|
|
652
|
-
|
|
682
|
+
l(this, Ze)?.remove();
|
|
653
683
|
};
|
|
654
|
-
},
|
|
684
|
+
}, Qs)), E && b(this, se, $);
|
|
655
685
|
}
|
|
656
686
|
/**
|
|
657
687
|
* Defer an effect inside a pending boundary until the boundary resolves
|
|
658
688
|
* @param {Effect} effect
|
|
659
689
|
*/
|
|
660
690
|
defer_effect(n) {
|
|
661
|
-
|
|
691
|
+
wo(n, l(this, Rn), l(this, zn));
|
|
662
692
|
}
|
|
663
693
|
/**
|
|
664
694
|
* Returns `false` if the effect exists inside a boundary whose pending snippet is shown
|
|
@@ -668,7 +698,7 @@ class Xs {
|
|
|
668
698
|
return !this.is_pending && (!this.parent || this.parent.is_rendered());
|
|
669
699
|
}
|
|
670
700
|
has_pending_snippet() {
|
|
671
|
-
return !!
|
|
701
|
+
return !!l(this, Ae).pending;
|
|
672
702
|
}
|
|
673
703
|
/**
|
|
674
704
|
* Update the source that powers `$effect.pending()` inside this boundary,
|
|
@@ -677,199 +707,199 @@ class Xs {
|
|
|
677
707
|
* @param {1 | -1} d
|
|
678
708
|
*/
|
|
679
709
|
update_pending_count(n) {
|
|
680
|
-
B(this,
|
|
681
|
-
b(this,
|
|
710
|
+
B(this, M, Zt).call(this, n), b(this, _n, l(this, _n) + n), !(!l(this, Ge) || l(this, Tn)) && (b(this, Tn, !0), Ke(() => {
|
|
711
|
+
b(this, Tn, !1), l(this, Ge) && Dn(l(this, Ge), l(this, _n));
|
|
682
712
|
}));
|
|
683
713
|
}
|
|
684
714
|
get_effect_pending() {
|
|
685
|
-
return
|
|
715
|
+
return l(this, $t).call(this), _(
|
|
686
716
|
/** @type {Source<number>} */
|
|
687
|
-
|
|
717
|
+
l(this, Ge)
|
|
688
718
|
);
|
|
689
719
|
}
|
|
690
720
|
/** @param {unknown} error */
|
|
691
721
|
error(n) {
|
|
692
|
-
var t =
|
|
693
|
-
let i =
|
|
694
|
-
if (
|
|
722
|
+
var t = l(this, Ae).onerror;
|
|
723
|
+
let i = l(this, Ae).failed;
|
|
724
|
+
if (l(this, mn) || !t && !i)
|
|
695
725
|
throw n;
|
|
696
|
-
|
|
726
|
+
l(this, ue) && (Y(l(this, ue)), b(this, ue, null)), l(this, Z) && (Y(l(this, Z)), b(this, Z, null)), l(this, Te) && (Y(l(this, Te)), b(this, Te, null)), E && (q(
|
|
697
727
|
/** @type {TemplateNode} */
|
|
698
|
-
|
|
699
|
-
),
|
|
728
|
+
l(this, et)
|
|
729
|
+
), Xs(), q(St()));
|
|
700
730
|
var o = !1, s = !1;
|
|
701
731
|
const r = () => {
|
|
702
732
|
if (o) {
|
|
703
|
-
|
|
733
|
+
Us();
|
|
704
734
|
return;
|
|
705
735
|
}
|
|
706
|
-
o = !0, s &&
|
|
707
|
-
b(this,
|
|
708
|
-
}), this.is_pending = this.has_pending_snippet(), b(this, ue, B(this,
|
|
736
|
+
o = !0, s && Fs(), We.ensure(), b(this, _n, 0), l(this, Te) !== null && gn(l(this, Te), () => {
|
|
737
|
+
b(this, Te, null);
|
|
738
|
+
}), this.is_pending = this.has_pending_snippet(), b(this, ue, B(this, M, yt).call(this, () => (b(this, mn, !1), pe(() => l(this, fn).call(this, l(this, se)))))), l(this, Be) > 0 ? B(this, M, bt).call(this) : this.is_pending = !1;
|
|
709
739
|
};
|
|
710
740
|
Ke(() => {
|
|
711
741
|
try {
|
|
712
742
|
s = !0, t?.(n, r), s = !1;
|
|
713
|
-
} catch (
|
|
714
|
-
|
|
743
|
+
} catch (a) {
|
|
744
|
+
On(a, l(this, Ce) && l(this, Ce).parent);
|
|
715
745
|
}
|
|
716
|
-
i && b(this,
|
|
717
|
-
We.ensure(), b(this,
|
|
746
|
+
i && b(this, Te, B(this, M, yt).call(this, () => {
|
|
747
|
+
We.ensure(), b(this, mn, !0);
|
|
718
748
|
try {
|
|
719
749
|
return pe(() => {
|
|
720
750
|
i(
|
|
721
|
-
|
|
751
|
+
l(this, se),
|
|
722
752
|
() => n,
|
|
723
753
|
() => r
|
|
724
754
|
);
|
|
725
755
|
});
|
|
726
|
-
} catch (
|
|
727
|
-
return
|
|
728
|
-
|
|
756
|
+
} catch (a) {
|
|
757
|
+
return On(
|
|
758
|
+
a,
|
|
729
759
|
/** @type {Effect} */
|
|
730
|
-
|
|
760
|
+
l(this, Ce).parent
|
|
731
761
|
), null;
|
|
732
762
|
} finally {
|
|
733
|
-
b(this,
|
|
763
|
+
b(this, mn, !1);
|
|
734
764
|
}
|
|
735
765
|
}));
|
|
736
766
|
});
|
|
737
767
|
}
|
|
738
768
|
}
|
|
739
|
-
|
|
769
|
+
se = new WeakMap(), et = new WeakMap(), Ae = new WeakMap(), fn = new WeakMap(), Ce = new WeakMap(), ue = new WeakMap(), Z = new WeakMap(), Te = new WeakMap(), Pe = new WeakMap(), Ze = new WeakMap(), _n = new WeakMap(), Be = new WeakMap(), Tn = new WeakMap(), mn = new WeakMap(), Rn = new WeakMap(), zn = new WeakMap(), Ge = new WeakMap(), $t = new WeakMap(), M = new WeakSet(), Ao = function() {
|
|
740
770
|
try {
|
|
741
|
-
b(this, ue, pe(() =>
|
|
771
|
+
b(this, ue, pe(() => l(this, fn).call(this, l(this, se))));
|
|
742
772
|
} catch (n) {
|
|
743
773
|
this.error(n);
|
|
744
774
|
}
|
|
745
|
-
},
|
|
746
|
-
const n =
|
|
747
|
-
n && (b(this,
|
|
748
|
-
var t = B(this,
|
|
749
|
-
b(this, ue, B(this,
|
|
775
|
+
}, Co = function() {
|
|
776
|
+
const n = l(this, Ae).pending;
|
|
777
|
+
n && (b(this, Z, pe(() => n(l(this, se)))), Ke(() => {
|
|
778
|
+
var t = B(this, M, Qt).call(this);
|
|
779
|
+
b(this, ue, B(this, M, yt).call(this, () => (We.ensure(), pe(() => l(this, fn).call(this, t))))), l(this, Be) > 0 ? B(this, M, bt).call(this) : (gn(
|
|
750
780
|
/** @type {Effect} */
|
|
751
|
-
|
|
781
|
+
l(this, Z),
|
|
752
782
|
() => {
|
|
753
|
-
b(this,
|
|
783
|
+
b(this, Z, null);
|
|
754
784
|
}
|
|
755
785
|
), this.is_pending = !1);
|
|
756
786
|
}));
|
|
757
|
-
},
|
|
758
|
-
var n =
|
|
759
|
-
return this.is_pending && (b(this,
|
|
787
|
+
}, Qt = function() {
|
|
788
|
+
var n = l(this, se);
|
|
789
|
+
return this.is_pending && (b(this, Ze, te()), l(this, se).before(l(this, Ze)), n = l(this, Ze)), n;
|
|
760
790
|
}, /**
|
|
761
791
|
* @param {() => Effect | null} fn
|
|
762
792
|
*/
|
|
763
|
-
|
|
764
|
-
var t =
|
|
765
|
-
|
|
793
|
+
yt = function(n) {
|
|
794
|
+
var t = A, i = w, o = ae;
|
|
795
|
+
ze(l(this, Ce)), me(l(this, Ce)), Mn(l(this, Ce).ctx);
|
|
766
796
|
try {
|
|
767
797
|
return n();
|
|
768
798
|
} catch (s) {
|
|
769
|
-
return
|
|
799
|
+
return bo(s), null;
|
|
770
800
|
} finally {
|
|
771
|
-
|
|
801
|
+
ze(t), me(i), Mn(o);
|
|
772
802
|
}
|
|
773
|
-
},
|
|
803
|
+
}, bt = function() {
|
|
774
804
|
const n = (
|
|
775
805
|
/** @type {(anchor: Node) => void} */
|
|
776
|
-
|
|
806
|
+
l(this, Ae).pending
|
|
777
807
|
);
|
|
778
|
-
|
|
808
|
+
l(this, ue) !== null && (b(this, Pe, document.createDocumentFragment()), l(this, Pe).append(
|
|
779
809
|
/** @type {TemplateNode} */
|
|
780
|
-
|
|
781
|
-
),
|
|
810
|
+
l(this, Ze)
|
|
811
|
+
), Ko(l(this, ue), l(this, Pe))), l(this, Z) === null && b(this, Z, pe(() => n(l(this, se))));
|
|
782
812
|
}, /**
|
|
783
813
|
* Updates the pending count associated with the currently visible pending snippet,
|
|
784
814
|
* if any, such that we can replace the snippet with content once work is done
|
|
785
815
|
* @param {1 | -1} d
|
|
786
816
|
*/
|
|
787
|
-
|
|
817
|
+
Zt = function(n) {
|
|
788
818
|
var t;
|
|
789
819
|
if (!this.has_pending_snippet()) {
|
|
790
|
-
this.parent && B(t = this.parent,
|
|
820
|
+
this.parent && B(t = this.parent, M, Zt).call(t, n);
|
|
791
821
|
return;
|
|
792
822
|
}
|
|
793
|
-
if (b(this, Be,
|
|
823
|
+
if (b(this, Be, l(this, Be) + n), l(this, Be) === 0) {
|
|
794
824
|
this.is_pending = !1;
|
|
795
|
-
for (const i of
|
|
796
|
-
|
|
797
|
-
for (const i of
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
b(this,
|
|
801
|
-
}),
|
|
825
|
+
for (const i of l(this, Rn))
|
|
826
|
+
j(i, W), we(i);
|
|
827
|
+
for (const i of l(this, zn))
|
|
828
|
+
j(i, ke), we(i);
|
|
829
|
+
l(this, Rn).clear(), l(this, zn).clear(), l(this, Z) && gn(l(this, Z), () => {
|
|
830
|
+
b(this, Z, null);
|
|
831
|
+
}), l(this, Pe) && (l(this, se).before(l(this, Pe)), b(this, Pe, null));
|
|
802
832
|
}
|
|
803
833
|
};
|
|
804
|
-
function
|
|
805
|
-
const o =
|
|
834
|
+
function nr(e, n, t, i) {
|
|
835
|
+
const o = jt;
|
|
806
836
|
var s = e.filter((p) => !p.settled);
|
|
807
837
|
if (t.length === 0 && s.length === 0) {
|
|
808
838
|
i(n.map(o));
|
|
809
839
|
return;
|
|
810
840
|
}
|
|
811
|
-
var r = N,
|
|
841
|
+
var r = N, a = (
|
|
812
842
|
/** @type {Effect} */
|
|
813
|
-
|
|
814
|
-
),
|
|
843
|
+
A
|
|
844
|
+
), c = tr(), u = s.length === 1 ? s[0].promise : s.length > 1 ? Promise.all(s.map((p) => p.promise)) : null;
|
|
815
845
|
function d(p) {
|
|
816
|
-
|
|
846
|
+
c();
|
|
817
847
|
try {
|
|
818
848
|
i(p);
|
|
819
|
-
} catch (
|
|
820
|
-
(
|
|
849
|
+
} catch (h) {
|
|
850
|
+
(a.f & Xe) === 0 && On(h, a);
|
|
821
851
|
}
|
|
822
|
-
r?.deactivate(),
|
|
852
|
+
r?.deactivate(), ei();
|
|
823
853
|
}
|
|
824
854
|
if (t.length === 0) {
|
|
825
855
|
u.then(() => d(n.map(o)));
|
|
826
856
|
return;
|
|
827
857
|
}
|
|
828
858
|
function m() {
|
|
829
|
-
|
|
859
|
+
c(), Promise.all(t.map((p) => /* @__PURE__ */ ir(p))).then((p) => d([...n.map(o), ...p])).catch((p) => On(p, a));
|
|
830
860
|
}
|
|
831
861
|
u ? u.then(m) : m();
|
|
832
862
|
}
|
|
833
|
-
function
|
|
834
|
-
var e =
|
|
863
|
+
function tr() {
|
|
864
|
+
var e = A, n = w, t = ae, i = N;
|
|
835
865
|
return function(s = !0) {
|
|
836
|
-
|
|
866
|
+
ze(e), me(n), Mn(t), s && i?.activate();
|
|
837
867
|
};
|
|
838
868
|
}
|
|
839
|
-
function
|
|
840
|
-
|
|
869
|
+
function ei() {
|
|
870
|
+
ze(null), me(null), Mn(null);
|
|
841
871
|
}
|
|
842
872
|
// @__NO_SIDE_EFFECTS__
|
|
843
|
-
function
|
|
844
|
-
var n =
|
|
873
|
+
function jt(e) {
|
|
874
|
+
var n = K | W, t = w !== null && (w.f & K) !== 0 ? (
|
|
845
875
|
/** @type {Derived} */
|
|
846
876
|
w
|
|
847
877
|
) : null;
|
|
848
|
-
return
|
|
878
|
+
return A !== null && (A.f |= xn), {
|
|
849
879
|
ctx: ae,
|
|
850
880
|
deps: null,
|
|
851
881
|
effects: null,
|
|
852
|
-
equals:
|
|
882
|
+
equals: fo,
|
|
853
883
|
f: n,
|
|
854
884
|
fn: e,
|
|
855
885
|
reactions: null,
|
|
856
886
|
rv: 0,
|
|
857
887
|
v: (
|
|
858
888
|
/** @type {V} */
|
|
859
|
-
|
|
889
|
+
X
|
|
860
890
|
),
|
|
861
891
|
wv: 0,
|
|
862
|
-
parent: t ??
|
|
892
|
+
parent: t ?? A,
|
|
863
893
|
ac: null
|
|
864
894
|
};
|
|
865
895
|
}
|
|
866
896
|
// @__NO_SIDE_EFFECTS__
|
|
867
|
-
function
|
|
897
|
+
function ir(e, n, t) {
|
|
868
898
|
let i = (
|
|
869
899
|
/** @type {Effect | null} */
|
|
870
|
-
|
|
900
|
+
A
|
|
871
901
|
);
|
|
872
|
-
i === null &&
|
|
902
|
+
i === null && Ls();
|
|
873
903
|
var o = (
|
|
874
904
|
/** @type {Boundary} */
|
|
875
905
|
i.b
|
|
@@ -877,44 +907,44 @@ function Js(e, n, t) {
|
|
|
877
907
|
/** @type {Promise<V>} */
|
|
878
908
|
/** @type {unknown} */
|
|
879
909
|
void 0
|
|
880
|
-
), r =
|
|
910
|
+
), r = vn(
|
|
881
911
|
/** @type {V} */
|
|
882
|
-
|
|
883
|
-
),
|
|
884
|
-
return
|
|
885
|
-
var u =
|
|
912
|
+
X
|
|
913
|
+
), a = !w, c = /* @__PURE__ */ new Map();
|
|
914
|
+
return _r(() => {
|
|
915
|
+
var u = lo();
|
|
886
916
|
s = u.promise;
|
|
887
917
|
try {
|
|
888
918
|
Promise.resolve(e()).then(u.resolve, u.reject).then(() => {
|
|
889
|
-
d === N && d.committed && d.deactivate(),
|
|
919
|
+
d === N && d.committed && d.deactivate(), ei();
|
|
890
920
|
});
|
|
891
|
-
} catch (
|
|
892
|
-
u.reject(
|
|
921
|
+
} catch (h) {
|
|
922
|
+
u.reject(h), ei();
|
|
893
923
|
}
|
|
894
924
|
var d = (
|
|
895
925
|
/** @type {Batch} */
|
|
896
926
|
N
|
|
897
927
|
);
|
|
898
|
-
if (
|
|
928
|
+
if (a) {
|
|
899
929
|
var m = o.is_rendered();
|
|
900
|
-
o.update_pending_count(1), d.increment(m),
|
|
930
|
+
o.update_pending_count(1), d.increment(m), c.get(d)?.reject(an), c.delete(d), c.set(d, u);
|
|
901
931
|
}
|
|
902
|
-
const p = (
|
|
903
|
-
if (d.activate(),
|
|
904
|
-
|
|
932
|
+
const p = (h, g = void 0) => {
|
|
933
|
+
if (d.activate(), g)
|
|
934
|
+
g !== an && (r.f |= nn, Dn(r, g));
|
|
905
935
|
else {
|
|
906
|
-
(r.f &
|
|
907
|
-
for (const [
|
|
908
|
-
if (
|
|
909
|
-
f.reject(
|
|
936
|
+
(r.f & nn) !== 0 && (r.f ^= nn), Dn(r, h);
|
|
937
|
+
for (const [k, f] of c) {
|
|
938
|
+
if (c.delete(k), k === d) break;
|
|
939
|
+
f.reject(an);
|
|
910
940
|
}
|
|
911
941
|
}
|
|
912
|
-
|
|
942
|
+
a && (o.update_pending_count(-1), d.decrement(m));
|
|
913
943
|
};
|
|
914
|
-
u.promise.then(p, (
|
|
915
|
-
}),
|
|
916
|
-
for (const u of
|
|
917
|
-
u.reject(
|
|
944
|
+
u.promise.then(p, (h) => p(null, h || "unknown"));
|
|
945
|
+
}), Po(() => {
|
|
946
|
+
for (const u of c.values())
|
|
947
|
+
u.reject(an);
|
|
918
948
|
}), new Promise((u) => {
|
|
919
949
|
function d(m) {
|
|
920
950
|
function p() {
|
|
@@ -926,29 +956,29 @@ function Js(e, n, t) {
|
|
|
926
956
|
});
|
|
927
957
|
}
|
|
928
958
|
// @__NO_SIDE_EFFECTS__
|
|
929
|
-
function
|
|
930
|
-
const n = /* @__PURE__ */
|
|
931
|
-
return
|
|
959
|
+
function Di(e) {
|
|
960
|
+
const n = /* @__PURE__ */ jt(e);
|
|
961
|
+
return Wo(n), n;
|
|
932
962
|
}
|
|
933
963
|
// @__NO_SIDE_EFFECTS__
|
|
934
|
-
function
|
|
935
|
-
const n = /* @__PURE__ */
|
|
936
|
-
return n.equals =
|
|
964
|
+
function or(e) {
|
|
965
|
+
const n = /* @__PURE__ */ jt(e);
|
|
966
|
+
return n.equals = _o, n;
|
|
937
967
|
}
|
|
938
|
-
function
|
|
968
|
+
function sr(e) {
|
|
939
969
|
var n = e.effects;
|
|
940
970
|
if (n !== null) {
|
|
941
971
|
e.effects = null;
|
|
942
972
|
for (var t = 0; t < n.length; t += 1)
|
|
943
|
-
|
|
973
|
+
Y(
|
|
944
974
|
/** @type {Effect} */
|
|
945
975
|
n[t]
|
|
946
976
|
);
|
|
947
977
|
}
|
|
948
978
|
}
|
|
949
|
-
function
|
|
979
|
+
function rr(e) {
|
|
950
980
|
for (var n = e.parent; n !== null; ) {
|
|
951
|
-
if ((n.f &
|
|
981
|
+
if ((n.f & K) === 0)
|
|
952
982
|
return (n.f & Xe) === 0 ? (
|
|
953
983
|
/** @type {Effect} */
|
|
954
984
|
n
|
|
@@ -957,162 +987,172 @@ function Ys(e) {
|
|
|
957
987
|
}
|
|
958
988
|
return null;
|
|
959
989
|
}
|
|
960
|
-
function
|
|
961
|
-
var n, t =
|
|
962
|
-
|
|
990
|
+
function fi(e) {
|
|
991
|
+
var n, t = A;
|
|
992
|
+
ze(rr(e));
|
|
963
993
|
try {
|
|
964
|
-
e.f &= ~
|
|
994
|
+
e.f &= ~bn, sr(e), n = Yo(e);
|
|
965
995
|
} finally {
|
|
966
|
-
|
|
996
|
+
ze(t);
|
|
967
997
|
}
|
|
968
998
|
return n;
|
|
969
999
|
}
|
|
970
|
-
function
|
|
971
|
-
var n =
|
|
972
|
-
if (!e.equals(n) && (e.wv =
|
|
973
|
-
|
|
1000
|
+
function To(e) {
|
|
1001
|
+
var n = fi(e);
|
|
1002
|
+
if (!e.equals(n) && (e.wv = Jo(), (!N?.is_fork || e.deps === null) && (e.v = n, e.deps === null))) {
|
|
1003
|
+
j(e, G);
|
|
974
1004
|
return;
|
|
975
1005
|
}
|
|
976
|
-
|
|
1006
|
+
on || (ve !== null ? (hi() || N?.is_fork) && ve.set(e, n) : pi(e));
|
|
1007
|
+
}
|
|
1008
|
+
function lr(e) {
|
|
1009
|
+
if (e.effects !== null)
|
|
1010
|
+
for (const n of e.effects)
|
|
1011
|
+
(n.teardown || n.ac) && (n.teardown?.(), n.ac?.abort(an), n.teardown = $s, n.ac = null, Yn(n, 0), bi(n));
|
|
977
1012
|
}
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
1013
|
+
function Ro(e) {
|
|
1014
|
+
if (e.effects !== null)
|
|
1015
|
+
for (const n of e.effects)
|
|
1016
|
+
n.teardown && Pn(n);
|
|
1017
|
+
}
|
|
1018
|
+
let ni = /* @__PURE__ */ new Set();
|
|
1019
|
+
const tn = /* @__PURE__ */ new Map();
|
|
1020
|
+
let zo = !1;
|
|
1021
|
+
function vn(e, n) {
|
|
982
1022
|
var t = {
|
|
983
1023
|
f: 0,
|
|
984
1024
|
// TODO ideally we could skip this altogether, but it causes type errors
|
|
985
1025
|
v: e,
|
|
986
1026
|
reactions: null,
|
|
987
|
-
equals:
|
|
1027
|
+
equals: fo,
|
|
988
1028
|
rv: 0,
|
|
989
1029
|
wv: 0
|
|
990
1030
|
};
|
|
991
1031
|
return t;
|
|
992
1032
|
}
|
|
993
1033
|
// @__NO_SIDE_EFFECTS__
|
|
994
|
-
function
|
|
995
|
-
const t =
|
|
996
|
-
return
|
|
1034
|
+
function D(e, n) {
|
|
1035
|
+
const t = vn(e);
|
|
1036
|
+
return Wo(t), t;
|
|
997
1037
|
}
|
|
998
1038
|
// @__NO_SIDE_EFFECTS__
|
|
999
|
-
function
|
|
1000
|
-
const i =
|
|
1001
|
-
return n || (i.equals =
|
|
1039
|
+
function No(e, n = !1, t = !0) {
|
|
1040
|
+
const i = vn(e);
|
|
1041
|
+
return n || (i.equals = _o), i;
|
|
1002
1042
|
}
|
|
1003
|
-
function
|
|
1043
|
+
function I(e, n, t = !1) {
|
|
1004
1044
|
w !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
|
|
1005
1045
|
// to ensure we error if state is set inside an inspect effect
|
|
1006
|
-
(!
|
|
1007
|
-
let i = t ?
|
|
1008
|
-
return
|
|
1046
|
+
(!xe || (w.f & Mi) !== 0) && go() && (w.f & (K | Ve | di | Mi)) !== 0 && (_e === null || !Ln.call(_e, e)) && Hs();
|
|
1047
|
+
let i = t ? en(n) : n;
|
|
1048
|
+
return Dn(e, i);
|
|
1009
1049
|
}
|
|
1010
|
-
function
|
|
1050
|
+
function Dn(e, n) {
|
|
1011
1051
|
if (!e.equals(n)) {
|
|
1012
1052
|
var t = e.v;
|
|
1013
|
-
|
|
1053
|
+
on ? tn.set(e, n) : tn.set(e, t), e.v = n;
|
|
1014
1054
|
var i = We.ensure();
|
|
1015
|
-
if (i.capture(e, t), (e.f &
|
|
1055
|
+
if (i.capture(e, t), (e.f & K) !== 0) {
|
|
1016
1056
|
const o = (
|
|
1017
1057
|
/** @type {Derived} */
|
|
1018
1058
|
e
|
|
1019
1059
|
);
|
|
1020
|
-
(e.f &
|
|
1060
|
+
(e.f & W) !== 0 && fi(o), pi(o);
|
|
1021
1061
|
}
|
|
1022
|
-
e.wv =
|
|
1062
|
+
e.wv = Jo(), Lo(e, W), A !== null && (A.f & G) !== 0 && (A.f & (Se | sn)) === 0 && (ce === null ? gr([e]) : ce.push(e)), !i.is_fork && ni.size > 0 && !zo && ar();
|
|
1023
1063
|
}
|
|
1024
1064
|
return n;
|
|
1025
1065
|
}
|
|
1026
|
-
function
|
|
1027
|
-
|
|
1028
|
-
for (const e of
|
|
1029
|
-
(e.f &
|
|
1030
|
-
|
|
1066
|
+
function ar() {
|
|
1067
|
+
zo = !1;
|
|
1068
|
+
for (const e of ni)
|
|
1069
|
+
(e.f & G) !== 0 && j(e, ke), ot(e) && Pn(e);
|
|
1070
|
+
ni.clear();
|
|
1031
1071
|
}
|
|
1032
|
-
function
|
|
1033
|
-
|
|
1072
|
+
function Jn(e) {
|
|
1073
|
+
I(e, e.v + 1);
|
|
1034
1074
|
}
|
|
1035
|
-
function
|
|
1075
|
+
function Lo(e, n) {
|
|
1036
1076
|
var t = e.reactions;
|
|
1037
1077
|
if (t !== null)
|
|
1038
1078
|
for (var i = t.length, o = 0; o < i; o++) {
|
|
1039
|
-
var s = t[o], r = s.f,
|
|
1040
|
-
if (
|
|
1041
|
-
var
|
|
1079
|
+
var s = t[o], r = s.f, a = (r & W) === 0;
|
|
1080
|
+
if (a && j(s, n), (r & K) !== 0) {
|
|
1081
|
+
var c = (
|
|
1042
1082
|
/** @type {Derived} */
|
|
1043
1083
|
s
|
|
1044
1084
|
);
|
|
1045
|
-
|
|
1046
|
-
} else
|
|
1085
|
+
ve?.delete(c), (r & bn) === 0 && (r & fe && (s.f |= bn), Lo(c, ke));
|
|
1086
|
+
} else a && ((r & Ve) !== 0 && De !== null && De.add(
|
|
1047
1087
|
/** @type {Effect} */
|
|
1048
1088
|
s
|
|
1049
|
-
),
|
|
1089
|
+
), we(
|
|
1050
1090
|
/** @type {Effect} */
|
|
1051
1091
|
s
|
|
1052
1092
|
));
|
|
1053
1093
|
}
|
|
1054
1094
|
}
|
|
1055
|
-
function
|
|
1056
|
-
if (typeof e != "object" || e === null ||
|
|
1095
|
+
function en(e) {
|
|
1096
|
+
if (typeof e != "object" || e === null || ht in e)
|
|
1057
1097
|
return e;
|
|
1058
|
-
const n =
|
|
1059
|
-
if (n !==
|
|
1098
|
+
const n = ro(e);
|
|
1099
|
+
if (n !== Ss && n !== Es)
|
|
1060
1100
|
return e;
|
|
1061
|
-
var t = /* @__PURE__ */ new Map(), i =
|
|
1062
|
-
if (
|
|
1063
|
-
return
|
|
1064
|
-
var
|
|
1065
|
-
me(null),
|
|
1066
|
-
var d =
|
|
1067
|
-
return me(
|
|
1101
|
+
var t = /* @__PURE__ */ new Map(), i = so(e), o = /* @__PURE__ */ D(0), s = yn, r = (a) => {
|
|
1102
|
+
if (yn === s)
|
|
1103
|
+
return a();
|
|
1104
|
+
var c = w, u = yn;
|
|
1105
|
+
me(null), Bi(s);
|
|
1106
|
+
var d = a();
|
|
1107
|
+
return me(c), Bi(u), d;
|
|
1068
1108
|
};
|
|
1069
|
-
return i && t.set("length", /* @__PURE__ */
|
|
1109
|
+
return i && t.set("length", /* @__PURE__ */ D(
|
|
1070
1110
|
/** @type {any[]} */
|
|
1071
1111
|
e.length
|
|
1072
1112
|
)), new Proxy(
|
|
1073
1113
|
/** @type {any} */
|
|
1074
1114
|
e,
|
|
1075
1115
|
{
|
|
1076
|
-
defineProperty(
|
|
1077
|
-
(!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) &&
|
|
1078
|
-
var d = t.get(
|
|
1079
|
-
return d === void 0 ?
|
|
1080
|
-
var m = /* @__PURE__ */
|
|
1081
|
-
return t.set(
|
|
1082
|
-
}) :
|
|
1116
|
+
defineProperty(a, c, u) {
|
|
1117
|
+
(!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) && Bs();
|
|
1118
|
+
var d = t.get(c);
|
|
1119
|
+
return d === void 0 ? r(() => {
|
|
1120
|
+
var m = /* @__PURE__ */ D(u.value);
|
|
1121
|
+
return t.set(c, m), m;
|
|
1122
|
+
}) : I(d, u.value, !0), !0;
|
|
1083
1123
|
},
|
|
1084
|
-
deleteProperty(
|
|
1085
|
-
var u = t.get(
|
|
1124
|
+
deleteProperty(a, c) {
|
|
1125
|
+
var u = t.get(c);
|
|
1086
1126
|
if (u === void 0) {
|
|
1087
|
-
if (
|
|
1088
|
-
const d = r(() => /* @__PURE__ */
|
|
1089
|
-
t.set(
|
|
1127
|
+
if (c in a) {
|
|
1128
|
+
const d = r(() => /* @__PURE__ */ D(X));
|
|
1129
|
+
t.set(c, d), Jn(o);
|
|
1090
1130
|
}
|
|
1091
1131
|
} else
|
|
1092
|
-
|
|
1132
|
+
I(u, X), Jn(o);
|
|
1093
1133
|
return !0;
|
|
1094
1134
|
},
|
|
1095
|
-
get(
|
|
1096
|
-
if (
|
|
1135
|
+
get(a, c, u) {
|
|
1136
|
+
if (c === ht)
|
|
1097
1137
|
return e;
|
|
1098
|
-
var d = t.get(
|
|
1099
|
-
if (d === void 0 && (!m ||
|
|
1100
|
-
var
|
|
1101
|
-
return
|
|
1102
|
-
}), t.set(
|
|
1138
|
+
var d = t.get(c), m = c in a;
|
|
1139
|
+
if (d === void 0 && (!m || Sn(a, c)?.writable) && (d = r(() => {
|
|
1140
|
+
var h = en(m ? a[c] : X), g = /* @__PURE__ */ D(h);
|
|
1141
|
+
return g;
|
|
1142
|
+
}), t.set(c, d)), d !== void 0) {
|
|
1103
1143
|
var p = _(d);
|
|
1104
|
-
return p ===
|
|
1144
|
+
return p === X ? void 0 : p;
|
|
1105
1145
|
}
|
|
1106
|
-
return Reflect.get(
|
|
1146
|
+
return Reflect.get(a, c, u);
|
|
1107
1147
|
},
|
|
1108
|
-
getOwnPropertyDescriptor(
|
|
1109
|
-
var u = Reflect.getOwnPropertyDescriptor(
|
|
1148
|
+
getOwnPropertyDescriptor(a, c) {
|
|
1149
|
+
var u = Reflect.getOwnPropertyDescriptor(a, c);
|
|
1110
1150
|
if (u && "value" in u) {
|
|
1111
|
-
var d = t.get(
|
|
1151
|
+
var d = t.get(c);
|
|
1112
1152
|
d && (u.value = _(d));
|
|
1113
1153
|
} else if (u === void 0) {
|
|
1114
|
-
var m = t.get(
|
|
1115
|
-
if (m !== void 0 && p !==
|
|
1154
|
+
var m = t.get(c), p = m?.v;
|
|
1155
|
+
if (m !== void 0 && p !== X)
|
|
1116
1156
|
return {
|
|
1117
1157
|
enumerable: !0,
|
|
1118
1158
|
configurable: !0,
|
|
@@ -1122,182 +1162,188 @@ function tn(e) {
|
|
|
1122
1162
|
}
|
|
1123
1163
|
return u;
|
|
1124
1164
|
},
|
|
1125
|
-
has(
|
|
1126
|
-
if (
|
|
1165
|
+
has(a, c) {
|
|
1166
|
+
if (c === ht)
|
|
1127
1167
|
return !0;
|
|
1128
|
-
var u = t.get(
|
|
1129
|
-
if (u !== void 0 ||
|
|
1168
|
+
var u = t.get(c), d = u !== void 0 && u.v !== X || Reflect.has(a, c);
|
|
1169
|
+
if (u !== void 0 || A !== null && (!d || Sn(a, c)?.writable)) {
|
|
1130
1170
|
u === void 0 && (u = r(() => {
|
|
1131
|
-
var p = d ?
|
|
1132
|
-
return
|
|
1133
|
-
}), t.set(
|
|
1171
|
+
var p = d ? en(a[c]) : X, h = /* @__PURE__ */ D(p);
|
|
1172
|
+
return h;
|
|
1173
|
+
}), t.set(c, u));
|
|
1134
1174
|
var m = _(u);
|
|
1135
|
-
if (m ===
|
|
1175
|
+
if (m === X)
|
|
1136
1176
|
return !1;
|
|
1137
1177
|
}
|
|
1138
1178
|
return d;
|
|
1139
1179
|
},
|
|
1140
|
-
set(
|
|
1141
|
-
var m = t.get(
|
|
1142
|
-
if (i &&
|
|
1143
|
-
for (var
|
|
1144
|
-
m.v;
|
|
1145
|
-
var
|
|
1146
|
-
|
|
1180
|
+
set(a, c, u, d) {
|
|
1181
|
+
var m = t.get(c), p = c in a;
|
|
1182
|
+
if (i && c === "length")
|
|
1183
|
+
for (var h = u; h < /** @type {Source<number>} */
|
|
1184
|
+
m.v; h += 1) {
|
|
1185
|
+
var g = t.get(h + "");
|
|
1186
|
+
g !== void 0 ? I(g, X) : h in a && (g = r(() => /* @__PURE__ */ D(X)), t.set(h + "", g));
|
|
1147
1187
|
}
|
|
1148
1188
|
if (m === void 0)
|
|
1149
|
-
(!p ||
|
|
1189
|
+
(!p || Sn(a, c)?.writable) && (m = r(() => /* @__PURE__ */ D(void 0)), I(m, en(u)), t.set(c, m));
|
|
1150
1190
|
else {
|
|
1151
|
-
p = m.v !==
|
|
1152
|
-
var
|
|
1153
|
-
|
|
1191
|
+
p = m.v !== X;
|
|
1192
|
+
var k = r(() => en(u));
|
|
1193
|
+
I(m, k);
|
|
1154
1194
|
}
|
|
1155
|
-
var f = Reflect.getOwnPropertyDescriptor(
|
|
1195
|
+
var f = Reflect.getOwnPropertyDescriptor(a, c);
|
|
1156
1196
|
if (f?.set && f.set.call(d, u), !p) {
|
|
1157
|
-
if (i && typeof
|
|
1158
|
-
var
|
|
1197
|
+
if (i && typeof c == "string") {
|
|
1198
|
+
var y = (
|
|
1159
1199
|
/** @type {Source<number>} */
|
|
1160
1200
|
t.get("length")
|
|
1161
|
-
),
|
|
1162
|
-
Number.isInteger(
|
|
1201
|
+
), V = Number(c);
|
|
1202
|
+
Number.isInteger(V) && V >= y.v && I(y, V + 1);
|
|
1163
1203
|
}
|
|
1164
|
-
|
|
1204
|
+
Jn(o);
|
|
1165
1205
|
}
|
|
1166
1206
|
return !0;
|
|
1167
1207
|
},
|
|
1168
|
-
ownKeys(
|
|
1208
|
+
ownKeys(a) {
|
|
1169
1209
|
_(o);
|
|
1170
|
-
var
|
|
1210
|
+
var c = Reflect.ownKeys(a).filter((m) => {
|
|
1171
1211
|
var p = t.get(m);
|
|
1172
|
-
return p === void 0 || p.v !==
|
|
1212
|
+
return p === void 0 || p.v !== X;
|
|
1173
1213
|
});
|
|
1174
1214
|
for (var [u, d] of t)
|
|
1175
|
-
d.v !==
|
|
1176
|
-
return
|
|
1215
|
+
d.v !== X && !(u in a) && c.push(u);
|
|
1216
|
+
return c;
|
|
1177
1217
|
},
|
|
1178
1218
|
setPrototypeOf() {
|
|
1179
|
-
|
|
1219
|
+
Gs();
|
|
1180
1220
|
}
|
|
1181
1221
|
}
|
|
1182
1222
|
);
|
|
1183
1223
|
}
|
|
1184
|
-
var
|
|
1185
|
-
function
|
|
1186
|
-
if (
|
|
1187
|
-
|
|
1224
|
+
var Ii, jo, Mo, Oo;
|
|
1225
|
+
function ti() {
|
|
1226
|
+
if (Ii === void 0) {
|
|
1227
|
+
Ii = window, jo = /Firefox/.test(navigator.userAgent);
|
|
1188
1228
|
var e = Element.prototype, n = Node.prototype, t = Text.prototype;
|
|
1189
|
-
|
|
1229
|
+
Mo = Sn(n, "firstChild").get, Oo = Sn(n, "nextSibling").get, ji(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), ji(t) && (t.__t = void 0);
|
|
1190
1230
|
}
|
|
1191
1231
|
}
|
|
1192
|
-
function
|
|
1232
|
+
function te(e = "") {
|
|
1193
1233
|
return document.createTextNode(e);
|
|
1194
1234
|
}
|
|
1195
1235
|
// @__NO_SIDE_EFFECTS__
|
|
1196
|
-
function
|
|
1236
|
+
function In(e) {
|
|
1197
1237
|
return (
|
|
1198
1238
|
/** @type {TemplateNode | null} */
|
|
1199
|
-
|
|
1239
|
+
Mo.call(e)
|
|
1200
1240
|
);
|
|
1201
1241
|
}
|
|
1202
1242
|
// @__NO_SIDE_EFFECTS__
|
|
1203
|
-
function
|
|
1243
|
+
function Le(e) {
|
|
1204
1244
|
return (
|
|
1205
1245
|
/** @type {TemplateNode | null} */
|
|
1206
|
-
|
|
1246
|
+
Oo.call(e)
|
|
1207
1247
|
);
|
|
1208
1248
|
}
|
|
1209
|
-
function
|
|
1210
|
-
if (!
|
|
1211
|
-
return /* @__PURE__ */
|
|
1212
|
-
var t = /* @__PURE__ */
|
|
1249
|
+
function T(e, n) {
|
|
1250
|
+
if (!E)
|
|
1251
|
+
return /* @__PURE__ */ In(e);
|
|
1252
|
+
var t = /* @__PURE__ */ In($);
|
|
1213
1253
|
if (t === null)
|
|
1214
|
-
t =
|
|
1215
|
-
else if (n && t.nodeType !==
|
|
1216
|
-
var i =
|
|
1217
|
-
return t?.before(i),
|
|
1254
|
+
t = $.appendChild(te());
|
|
1255
|
+
else if (n && t.nodeType !== it) {
|
|
1256
|
+
var i = te();
|
|
1257
|
+
return t?.before(i), q(i), i;
|
|
1218
1258
|
}
|
|
1219
|
-
return n &&
|
|
1259
|
+
return n && Mt(
|
|
1220
1260
|
/** @type {Text} */
|
|
1221
1261
|
t
|
|
1222
|
-
),
|
|
1262
|
+
), q(t), t;
|
|
1223
1263
|
}
|
|
1224
|
-
function
|
|
1225
|
-
if (!
|
|
1226
|
-
var t = /* @__PURE__ */
|
|
1227
|
-
return t instanceof Comment && t.data === "" ? /* @__PURE__ */
|
|
1264
|
+
function cr(e, n = !1) {
|
|
1265
|
+
if (!E) {
|
|
1266
|
+
var t = /* @__PURE__ */ In(e);
|
|
1267
|
+
return t instanceof Comment && t.data === "" ? /* @__PURE__ */ Le(t) : t;
|
|
1228
1268
|
}
|
|
1229
1269
|
if (n) {
|
|
1230
|
-
if (
|
|
1231
|
-
var i =
|
|
1232
|
-
return
|
|
1270
|
+
if ($?.nodeType !== it) {
|
|
1271
|
+
var i = te();
|
|
1272
|
+
return $?.before(i), q(i), i;
|
|
1233
1273
|
}
|
|
1234
|
-
|
|
1274
|
+
Mt(
|
|
1235
1275
|
/** @type {Text} */
|
|
1236
|
-
|
|
1276
|
+
$
|
|
1237
1277
|
);
|
|
1238
1278
|
}
|
|
1239
|
-
return
|
|
1279
|
+
return $;
|
|
1240
1280
|
}
|
|
1241
|
-
function
|
|
1242
|
-
let i =
|
|
1281
|
+
function O(e, n = 1, t = !1) {
|
|
1282
|
+
let i = E ? $ : e;
|
|
1243
1283
|
for (var o; n--; )
|
|
1244
1284
|
o = i, i = /** @type {TemplateNode} */
|
|
1245
|
-
/* @__PURE__ */
|
|
1246
|
-
if (!
|
|
1285
|
+
/* @__PURE__ */ Le(i);
|
|
1286
|
+
if (!E)
|
|
1247
1287
|
return i;
|
|
1248
1288
|
if (t) {
|
|
1249
|
-
if (i?.nodeType !==
|
|
1250
|
-
var s =
|
|
1251
|
-
return i === null ? o?.after(s) : i.before(s),
|
|
1289
|
+
if (i?.nodeType !== it) {
|
|
1290
|
+
var s = te();
|
|
1291
|
+
return i === null ? o?.after(s) : i.before(s), q(s), s;
|
|
1252
1292
|
}
|
|
1253
|
-
|
|
1293
|
+
Mt(
|
|
1254
1294
|
/** @type {Text} */
|
|
1255
1295
|
i
|
|
1256
1296
|
);
|
|
1257
1297
|
}
|
|
1258
|
-
return
|
|
1298
|
+
return q(i), i;
|
|
1259
1299
|
}
|
|
1260
|
-
function
|
|
1300
|
+
function Do(e) {
|
|
1261
1301
|
e.textContent = "";
|
|
1262
1302
|
}
|
|
1263
|
-
function
|
|
1303
|
+
function Io() {
|
|
1264
1304
|
return !1;
|
|
1265
1305
|
}
|
|
1266
|
-
function
|
|
1306
|
+
function _i(e, n, t) {
|
|
1307
|
+
return (
|
|
1308
|
+
/** @type {T extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[T] : Element} */
|
|
1309
|
+
document.createElementNS(oo, e, void 0)
|
|
1310
|
+
);
|
|
1311
|
+
}
|
|
1312
|
+
function Mt(e) {
|
|
1267
1313
|
if (
|
|
1268
1314
|
/** @type {string} */
|
|
1269
1315
|
e.nodeValue.length < 65536
|
|
1270
1316
|
)
|
|
1271
1317
|
return;
|
|
1272
1318
|
let n = e.nextSibling;
|
|
1273
|
-
for (; n !== null && n.nodeType ===
|
|
1319
|
+
for (; n !== null && n.nodeType === it; )
|
|
1274
1320
|
n.remove(), e.nodeValue += /** @type {string} */
|
|
1275
1321
|
n.nodeValue, n = e.nextSibling;
|
|
1276
1322
|
}
|
|
1277
|
-
function
|
|
1278
|
-
var n = w, t =
|
|
1279
|
-
me(null),
|
|
1323
|
+
function mi(e) {
|
|
1324
|
+
var n = w, t = A;
|
|
1325
|
+
me(null), ze(null);
|
|
1280
1326
|
try {
|
|
1281
1327
|
return e();
|
|
1282
1328
|
} finally {
|
|
1283
|
-
me(n),
|
|
1329
|
+
me(n), ze(t);
|
|
1284
1330
|
}
|
|
1285
1331
|
}
|
|
1286
|
-
function
|
|
1287
|
-
|
|
1332
|
+
function ur(e) {
|
|
1333
|
+
A === null && (w === null && Ds(), Os()), on && Ms();
|
|
1288
1334
|
}
|
|
1289
|
-
function
|
|
1335
|
+
function dr(e, n) {
|
|
1290
1336
|
var t = n.last;
|
|
1291
1337
|
t === null ? n.last = n.first = e : (t.next = e, e.prev = t, n.last = e);
|
|
1292
1338
|
}
|
|
1293
|
-
function
|
|
1294
|
-
var i =
|
|
1339
|
+
function je(e, n, t) {
|
|
1340
|
+
var i = A;
|
|
1295
1341
|
i !== null && (i.f & le) !== 0 && (e |= le);
|
|
1296
1342
|
var o = {
|
|
1297
1343
|
ctx: ae,
|
|
1298
1344
|
deps: null,
|
|
1299
1345
|
nodes: null,
|
|
1300
|
-
f: e |
|
|
1346
|
+
f: e | W | fe,
|
|
1301
1347
|
first: null,
|
|
1302
1348
|
fn: n,
|
|
1303
1349
|
last: null,
|
|
@@ -1311,14 +1357,14 @@ function Ne(e, n, t) {
|
|
|
1311
1357
|
};
|
|
1312
1358
|
if (t)
|
|
1313
1359
|
try {
|
|
1314
|
-
|
|
1315
|
-
} catch (
|
|
1316
|
-
throw
|
|
1360
|
+
Pn(o);
|
|
1361
|
+
} catch (a) {
|
|
1362
|
+
throw Y(o), a;
|
|
1317
1363
|
}
|
|
1318
|
-
else n !== null &&
|
|
1364
|
+
else n !== null && we(o);
|
|
1319
1365
|
var s = o;
|
|
1320
1366
|
if (t && s.deps === null && s.teardown === null && s.nodes === null && s.first === s.last && // either `null`, or a singular child
|
|
1321
|
-
(s.f &
|
|
1367
|
+
(s.f & xn) === 0 && (s = s.first, (e & Ve) !== 0 && (e & jn) !== 0 && s !== null && (s.f |= jn)), s !== null && (s.parent = i, i !== null && dr(s, i), w !== null && (w.f & K) !== 0 && (e & sn) === 0)) {
|
|
1322
1368
|
var r = (
|
|
1323
1369
|
/** @type {Derived} */
|
|
1324
1370
|
w
|
|
@@ -1328,18 +1374,18 @@ function Ne(e, n, t) {
|
|
|
1328
1374
|
return o;
|
|
1329
1375
|
}
|
|
1330
1376
|
function hi() {
|
|
1331
|
-
return w !== null && !
|
|
1377
|
+
return w !== null && !xe;
|
|
1332
1378
|
}
|
|
1333
|
-
function
|
|
1334
|
-
const n =
|
|
1335
|
-
return
|
|
1379
|
+
function Po(e) {
|
|
1380
|
+
const n = je(Rt, null, !1);
|
|
1381
|
+
return j(n, G), n.teardown = e, n;
|
|
1336
1382
|
}
|
|
1337
|
-
function
|
|
1338
|
-
|
|
1383
|
+
function ii(e) {
|
|
1384
|
+
ur();
|
|
1339
1385
|
var n = (
|
|
1340
1386
|
/** @type {Effect} */
|
|
1341
|
-
|
|
1342
|
-
), t = !w && (n &
|
|
1387
|
+
A.f
|
|
1388
|
+
), t = !w && (n & Se) !== 0 && (n & Bn) === 0;
|
|
1343
1389
|
if (t) {
|
|
1344
1390
|
var i = (
|
|
1345
1391
|
/** @type {ComponentContext} */
|
|
@@ -1347,140 +1393,140 @@ function li(e) {
|
|
|
1347
1393
|
);
|
|
1348
1394
|
(i.e ?? (i.e = [])).push(e);
|
|
1349
1395
|
} else
|
|
1350
|
-
return
|
|
1396
|
+
return Bo(e);
|
|
1351
1397
|
}
|
|
1352
|
-
function
|
|
1353
|
-
return
|
|
1398
|
+
function Bo(e) {
|
|
1399
|
+
return je(qn | Cs, e, !1);
|
|
1354
1400
|
}
|
|
1355
|
-
function
|
|
1401
|
+
function pr(e) {
|
|
1356
1402
|
We.ensure();
|
|
1357
|
-
const n =
|
|
1403
|
+
const n = je(sn | xn, e, !0);
|
|
1358
1404
|
return () => {
|
|
1359
|
-
|
|
1405
|
+
Y(n);
|
|
1360
1406
|
};
|
|
1361
1407
|
}
|
|
1362
|
-
function
|
|
1408
|
+
function fr(e) {
|
|
1363
1409
|
We.ensure();
|
|
1364
|
-
const n =
|
|
1410
|
+
const n = je(sn | xn, e, !0);
|
|
1365
1411
|
return (t = {}) => new Promise((i) => {
|
|
1366
|
-
t.outro ?
|
|
1367
|
-
|
|
1368
|
-
}) : (
|
|
1412
|
+
t.outro ? gn(n, () => {
|
|
1413
|
+
Y(n), i(void 0);
|
|
1414
|
+
}) : (Y(n), i(void 0));
|
|
1369
1415
|
});
|
|
1370
1416
|
}
|
|
1371
|
-
function
|
|
1372
|
-
return
|
|
1417
|
+
function Go(e) {
|
|
1418
|
+
return je(qn, e, !1);
|
|
1373
1419
|
}
|
|
1374
|
-
function
|
|
1375
|
-
return
|
|
1420
|
+
function _r(e) {
|
|
1421
|
+
return je(di | xn, e, !0);
|
|
1376
1422
|
}
|
|
1377
1423
|
function gi(e, n = 0) {
|
|
1378
|
-
return
|
|
1424
|
+
return je(Rt | n, e, !0);
|
|
1379
1425
|
}
|
|
1380
|
-
function
|
|
1381
|
-
|
|
1382
|
-
|
|
1426
|
+
function pt(e, n = [], t = [], i = []) {
|
|
1427
|
+
nr(i, n, t, (o) => {
|
|
1428
|
+
je(Rt, () => e(...o.map(_)), !0);
|
|
1383
1429
|
});
|
|
1384
1430
|
}
|
|
1385
|
-
function
|
|
1386
|
-
var t =
|
|
1431
|
+
function yi(e, n = 0) {
|
|
1432
|
+
var t = je(Ve | n, e, !0);
|
|
1387
1433
|
return t;
|
|
1388
1434
|
}
|
|
1389
1435
|
function pe(e) {
|
|
1390
|
-
return
|
|
1436
|
+
return je(Se | xn, e, !0);
|
|
1391
1437
|
}
|
|
1392
|
-
function
|
|
1438
|
+
function Ho(e) {
|
|
1393
1439
|
var n = e.teardown;
|
|
1394
1440
|
if (n !== null) {
|
|
1395
|
-
const t =
|
|
1396
|
-
|
|
1441
|
+
const t = on, i = w;
|
|
1442
|
+
Pi(!0), me(null);
|
|
1397
1443
|
try {
|
|
1398
1444
|
n.call(null);
|
|
1399
1445
|
} finally {
|
|
1400
|
-
|
|
1446
|
+
Pi(t), me(i);
|
|
1401
1447
|
}
|
|
1402
1448
|
}
|
|
1403
1449
|
}
|
|
1404
|
-
function
|
|
1450
|
+
function bi(e, n = !1) {
|
|
1405
1451
|
var t = e.first;
|
|
1406
1452
|
for (e.first = e.last = null; t !== null; ) {
|
|
1407
1453
|
const o = t.ac;
|
|
1408
|
-
o !== null &&
|
|
1409
|
-
o.abort(
|
|
1454
|
+
o !== null && mi(() => {
|
|
1455
|
+
o.abort(an);
|
|
1410
1456
|
});
|
|
1411
1457
|
var i = t.next;
|
|
1412
|
-
(t.f &
|
|
1458
|
+
(t.f & sn) !== 0 ? t.parent = null : Y(t, n), t = i;
|
|
1413
1459
|
}
|
|
1414
1460
|
}
|
|
1415
|
-
function
|
|
1461
|
+
function mr(e) {
|
|
1416
1462
|
for (var n = e.first; n !== null; ) {
|
|
1417
1463
|
var t = n.next;
|
|
1418
|
-
(n.f &
|
|
1464
|
+
(n.f & Se) === 0 && Y(n), n = t;
|
|
1419
1465
|
}
|
|
1420
1466
|
}
|
|
1421
|
-
function
|
|
1467
|
+
function Y(e, n = !0) {
|
|
1422
1468
|
var t = !1;
|
|
1423
|
-
(n || (e.f &
|
|
1469
|
+
(n || (e.f & uo) !== 0) && e.nodes !== null && e.nodes.end !== null && (hr(
|
|
1424
1470
|
e.nodes.start,
|
|
1425
1471
|
/** @type {TemplateNode} */
|
|
1426
1472
|
e.nodes.end
|
|
1427
|
-
), t = !0),
|
|
1473
|
+
), t = !0), bi(e, n && !t), Yn(e, 0), j(e, Xe);
|
|
1428
1474
|
var i = e.nodes && e.nodes.t;
|
|
1429
1475
|
if (i !== null)
|
|
1430
1476
|
for (const s of i)
|
|
1431
1477
|
s.stop();
|
|
1432
|
-
|
|
1478
|
+
Ho(e);
|
|
1433
1479
|
var o = e.parent;
|
|
1434
|
-
o !== null && o.first !== null &&
|
|
1480
|
+
o !== null && o.first !== null && Fo(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = null;
|
|
1435
1481
|
}
|
|
1436
|
-
function
|
|
1482
|
+
function hr(e, n) {
|
|
1437
1483
|
for (; e !== null; ) {
|
|
1438
|
-
var t = e === n ? null : /* @__PURE__ */
|
|
1484
|
+
var t = e === n ? null : /* @__PURE__ */ Le(e);
|
|
1439
1485
|
e.remove(), e = t;
|
|
1440
1486
|
}
|
|
1441
1487
|
}
|
|
1442
|
-
function
|
|
1488
|
+
function Fo(e) {
|
|
1443
1489
|
var n = e.parent, t = e.prev, i = e.next;
|
|
1444
1490
|
t !== null && (t.next = i), i !== null && (i.prev = t), n !== null && (n.first === e && (n.first = i), n.last === e && (n.last = t));
|
|
1445
1491
|
}
|
|
1446
|
-
function
|
|
1492
|
+
function gn(e, n, t = !0) {
|
|
1447
1493
|
var i = [];
|
|
1448
|
-
|
|
1494
|
+
Uo(e, i, !0);
|
|
1449
1495
|
var o = () => {
|
|
1450
|
-
t &&
|
|
1496
|
+
t && Y(e), n && n();
|
|
1451
1497
|
}, s = i.length;
|
|
1452
1498
|
if (s > 0) {
|
|
1453
1499
|
var r = () => --s || o();
|
|
1454
|
-
for (var
|
|
1455
|
-
|
|
1500
|
+
for (var a of i)
|
|
1501
|
+
a.out(r);
|
|
1456
1502
|
} else
|
|
1457
1503
|
o();
|
|
1458
1504
|
}
|
|
1459
|
-
function
|
|
1505
|
+
function Uo(e, n, t) {
|
|
1460
1506
|
if ((e.f & le) === 0) {
|
|
1461
1507
|
e.f ^= le;
|
|
1462
1508
|
var i = e.nodes && e.nodes.t;
|
|
1463
1509
|
if (i !== null)
|
|
1464
|
-
for (const
|
|
1465
|
-
(
|
|
1510
|
+
for (const a of i)
|
|
1511
|
+
(a.is_global || t) && n.push(a);
|
|
1466
1512
|
for (var o = e.first; o !== null; ) {
|
|
1467
|
-
var s = o.next, r = (o.f &
|
|
1513
|
+
var s = o.next, r = (o.f & jn) !== 0 || // If this is a branch effect without a block effect parent,
|
|
1468
1514
|
// it means the parent block effect was pruned. In that case,
|
|
1469
1515
|
// transparency information was transferred to the branch effect.
|
|
1470
|
-
(o.f &
|
|
1471
|
-
|
|
1516
|
+
(o.f & Se) !== 0 && (e.f & Ve) !== 0;
|
|
1517
|
+
Uo(o, n, r ? t : !1), o = s;
|
|
1472
1518
|
}
|
|
1473
1519
|
}
|
|
1474
1520
|
}
|
|
1475
1521
|
function vi(e) {
|
|
1476
|
-
|
|
1522
|
+
Xo(e, !0);
|
|
1477
1523
|
}
|
|
1478
|
-
function
|
|
1524
|
+
function Xo(e, n) {
|
|
1479
1525
|
if ((e.f & le) !== 0) {
|
|
1480
|
-
e.f ^= le, (e.f &
|
|
1526
|
+
e.f ^= le, (e.f & G) === 0 && (j(e, W), we(e));
|
|
1481
1527
|
for (var t = e.first; t !== null; ) {
|
|
1482
|
-
var i = t.next, o = (t.f &
|
|
1483
|
-
|
|
1528
|
+
var i = t.next, o = (t.f & jn) !== 0 || (t.f & Se) !== 0;
|
|
1529
|
+
Xo(t, o ? n : !1), t = i;
|
|
1484
1530
|
}
|
|
1485
1531
|
var s = e.nodes && e.nodes.t;
|
|
1486
1532
|
if (s !== null)
|
|
@@ -1488,54 +1534,54 @@ function Do(e, n) {
|
|
|
1488
1534
|
(r.is_global || n) && r.in();
|
|
1489
1535
|
}
|
|
1490
1536
|
}
|
|
1491
|
-
function
|
|
1537
|
+
function Ko(e, n) {
|
|
1492
1538
|
if (e.nodes)
|
|
1493
1539
|
for (var t = e.nodes.start, i = e.nodes.end; t !== null; ) {
|
|
1494
|
-
var o = t === i ? null : /* @__PURE__ */
|
|
1540
|
+
var o = t === i ? null : /* @__PURE__ */ Le(t);
|
|
1495
1541
|
n.append(t), t = o;
|
|
1496
1542
|
}
|
|
1497
1543
|
}
|
|
1498
|
-
let
|
|
1499
|
-
function
|
|
1500
|
-
|
|
1544
|
+
let vt = !1, on = !1;
|
|
1545
|
+
function Pi(e) {
|
|
1546
|
+
on = e;
|
|
1501
1547
|
}
|
|
1502
|
-
let w = null,
|
|
1548
|
+
let w = null, xe = !1;
|
|
1503
1549
|
function me(e) {
|
|
1504
1550
|
w = e;
|
|
1505
1551
|
}
|
|
1506
|
-
let
|
|
1507
|
-
function
|
|
1508
|
-
|
|
1552
|
+
let A = null;
|
|
1553
|
+
function ze(e) {
|
|
1554
|
+
A = e;
|
|
1509
1555
|
}
|
|
1510
1556
|
let _e = null;
|
|
1511
|
-
function
|
|
1557
|
+
function Wo(e) {
|
|
1512
1558
|
w !== null && (_e === null ? _e = [e] : _e.push(e));
|
|
1513
1559
|
}
|
|
1514
|
-
let
|
|
1515
|
-
function
|
|
1560
|
+
let ne = null, oe = 0, ce = null;
|
|
1561
|
+
function gr(e) {
|
|
1516
1562
|
ce = e;
|
|
1517
1563
|
}
|
|
1518
|
-
let
|
|
1519
|
-
function
|
|
1520
|
-
|
|
1564
|
+
let Vo = 1, un = 0, yn = un;
|
|
1565
|
+
function Bi(e) {
|
|
1566
|
+
yn = e;
|
|
1521
1567
|
}
|
|
1522
|
-
function
|
|
1523
|
-
return ++
|
|
1568
|
+
function Jo() {
|
|
1569
|
+
return ++Vo;
|
|
1524
1570
|
}
|
|
1525
|
-
function
|
|
1571
|
+
function ot(e) {
|
|
1526
1572
|
var n = e.f;
|
|
1527
|
-
if ((n &
|
|
1573
|
+
if ((n & W) !== 0)
|
|
1528
1574
|
return !0;
|
|
1529
|
-
if (n &
|
|
1575
|
+
if (n & K && (e.f &= ~bn), (n & ke) !== 0) {
|
|
1530
1576
|
for (var t = (
|
|
1531
1577
|
/** @type {Value[]} */
|
|
1532
1578
|
e.deps
|
|
1533
1579
|
), i = t.length, o = 0; o < i; o++) {
|
|
1534
1580
|
var s = t[o];
|
|
1535
|
-
if (
|
|
1581
|
+
if (ot(
|
|
1536
1582
|
/** @type {Derived} */
|
|
1537
1583
|
s
|
|
1538
|
-
) &&
|
|
1584
|
+
) && To(
|
|
1539
1585
|
/** @type {Derived} */
|
|
1540
1586
|
s
|
|
1541
1587
|
), s.wv > e.wv)
|
|
@@ -1543,168 +1589,171 @@ function ct(e) {
|
|
|
1543
1589
|
}
|
|
1544
1590
|
(n & fe) !== 0 && // During time traveling we don't want to reset the status so that
|
|
1545
1591
|
// traversal of the graph in the other batches still happens
|
|
1546
|
-
|
|
1592
|
+
ve === null && j(e, G);
|
|
1547
1593
|
}
|
|
1548
1594
|
return !1;
|
|
1549
1595
|
}
|
|
1550
|
-
function
|
|
1596
|
+
function qo(e, n, t = !0) {
|
|
1551
1597
|
var i = e.reactions;
|
|
1552
|
-
if (i !== null && !(_e !== null &&
|
|
1598
|
+
if (i !== null && !(_e !== null && Ln.call(_e, e)))
|
|
1553
1599
|
for (var o = 0; o < i.length; o++) {
|
|
1554
1600
|
var s = i[o];
|
|
1555
|
-
(s.f &
|
|
1601
|
+
(s.f & K) !== 0 ? qo(
|
|
1556
1602
|
/** @type {Derived} */
|
|
1557
1603
|
s,
|
|
1558
1604
|
n,
|
|
1559
1605
|
!1
|
|
1560
|
-
) : n === s && (t ?
|
|
1606
|
+
) : n === s && (t ? j(s, W) : (s.f & G) !== 0 && j(s, ke), we(
|
|
1561
1607
|
/** @type {Effect} */
|
|
1562
1608
|
s
|
|
1563
1609
|
));
|
|
1564
1610
|
}
|
|
1565
1611
|
}
|
|
1566
|
-
function
|
|
1567
|
-
var
|
|
1568
|
-
var n =
|
|
1569
|
-
|
|
1570
|
-
null,
|
|
1571
|
-
e.ac.abort(
|
|
1612
|
+
function Yo(e) {
|
|
1613
|
+
var k;
|
|
1614
|
+
var n = ne, t = oe, i = ce, o = w, s = _e, r = ae, a = xe, c = yn, u = e.f;
|
|
1615
|
+
ne = /** @type {null | Value[]} */
|
|
1616
|
+
null, oe = 0, ce = null, w = (u & (Se | sn)) === 0 ? e : null, _e = null, Mn(e.ctx), xe = !1, yn = ++un, e.ac !== null && (mi(() => {
|
|
1617
|
+
e.ac.abort(an);
|
|
1572
1618
|
}), e.ac = null);
|
|
1573
1619
|
try {
|
|
1574
|
-
e.f |=
|
|
1620
|
+
e.f |= Vt;
|
|
1575
1621
|
var d = (
|
|
1576
1622
|
/** @type {Function} */
|
|
1577
1623
|
e.fn
|
|
1578
|
-
), m = d()
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1624
|
+
), m = d();
|
|
1625
|
+
e.f |= Bn;
|
|
1626
|
+
var p = e.deps, h = N?.is_fork;
|
|
1627
|
+
if (ne !== null) {
|
|
1628
|
+
var g;
|
|
1629
|
+
if (h || Yn(e, oe), p !== null && oe > 0)
|
|
1630
|
+
for (p.length = oe + ne.length, g = 0; g < ne.length; g++)
|
|
1631
|
+
p[oe + g] = ne[g];
|
|
1584
1632
|
else
|
|
1585
|
-
e.deps = p =
|
|
1633
|
+
e.deps = p = ne;
|
|
1586
1634
|
if (hi() && (e.f & fe) !== 0)
|
|
1587
|
-
for (
|
|
1588
|
-
((
|
|
1589
|
-
} else !
|
|
1590
|
-
if (
|
|
1591
|
-
for (
|
|
1592
|
-
ce.length;
|
|
1593
|
-
|
|
1594
|
-
ce[
|
|
1635
|
+
for (g = oe; g < p.length; g++)
|
|
1636
|
+
((k = p[g]).reactions ?? (k.reactions = [])).push(e);
|
|
1637
|
+
} else !h && p !== null && oe < p.length && (Yn(e, oe), p.length = oe);
|
|
1638
|
+
if (go() && ce !== null && !xe && p !== null && (e.f & (K | ke | W)) === 0)
|
|
1639
|
+
for (g = 0; g < /** @type {Source[]} */
|
|
1640
|
+
ce.length; g++)
|
|
1641
|
+
qo(
|
|
1642
|
+
ce[g],
|
|
1595
1643
|
/** @type {Effect} */
|
|
1596
1644
|
e
|
|
1597
1645
|
);
|
|
1598
1646
|
if (o !== null && o !== e) {
|
|
1599
|
-
if (
|
|
1647
|
+
if (un++, o.deps !== null)
|
|
1600
1648
|
for (let f = 0; f < t; f += 1)
|
|
1601
|
-
o.deps[f].rv =
|
|
1649
|
+
o.deps[f].rv = un;
|
|
1602
1650
|
if (n !== null)
|
|
1603
1651
|
for (const f of n)
|
|
1604
|
-
f.rv =
|
|
1652
|
+
f.rv = un;
|
|
1605
1653
|
ce !== null && (i === null ? i = ce : i.push(.../** @type {Source[]} */
|
|
1606
1654
|
ce));
|
|
1607
1655
|
}
|
|
1608
|
-
return (e.f &
|
|
1656
|
+
return (e.f & nn) !== 0 && (e.f ^= nn), m;
|
|
1609
1657
|
} catch (f) {
|
|
1610
|
-
return
|
|
1658
|
+
return bo(f);
|
|
1611
1659
|
} finally {
|
|
1612
|
-
e.f ^=
|
|
1660
|
+
e.f ^= Vt, ne = n, oe = t, ce = i, w = o, _e = s, Mn(r), xe = a, yn = c;
|
|
1613
1661
|
}
|
|
1614
1662
|
}
|
|
1615
|
-
function
|
|
1663
|
+
function yr(e, n) {
|
|
1616
1664
|
let t = n.reactions;
|
|
1617
1665
|
if (t !== null) {
|
|
1618
|
-
var i =
|
|
1666
|
+
var i = xs.call(t, e);
|
|
1619
1667
|
if (i !== -1) {
|
|
1620
1668
|
var o = t.length - 1;
|
|
1621
1669
|
o === 0 ? t = n.reactions = null : (t[i] = t[o], t.pop());
|
|
1622
1670
|
}
|
|
1623
1671
|
}
|
|
1624
|
-
if (t === null && (n.f &
|
|
1672
|
+
if (t === null && (n.f & K) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
|
|
1625
1673
|
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
|
1626
1674
|
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
|
1627
|
-
(
|
|
1675
|
+
(ne === null || !Ln.call(ne, n))) {
|
|
1628
1676
|
var s = (
|
|
1629
1677
|
/** @type {Derived} */
|
|
1630
1678
|
n
|
|
1631
1679
|
);
|
|
1632
|
-
(s.f & fe) !== 0 && (s.f ^= fe, s.f &= ~
|
|
1680
|
+
(s.f & fe) !== 0 && (s.f ^= fe, s.f &= ~bn), pi(s), lr(s), Yn(s, 0);
|
|
1633
1681
|
}
|
|
1634
1682
|
}
|
|
1635
|
-
function
|
|
1683
|
+
function Yn(e, n) {
|
|
1636
1684
|
var t = e.deps;
|
|
1637
1685
|
if (t !== null)
|
|
1638
1686
|
for (var i = n; i < t.length; i++)
|
|
1639
|
-
|
|
1687
|
+
yr(e, t[i]);
|
|
1640
1688
|
}
|
|
1641
|
-
function
|
|
1689
|
+
function Pn(e) {
|
|
1642
1690
|
var n = e.f;
|
|
1643
1691
|
if ((n & Xe) === 0) {
|
|
1644
|
-
|
|
1645
|
-
var t =
|
|
1646
|
-
|
|
1692
|
+
j(e, G);
|
|
1693
|
+
var t = A, i = vt;
|
|
1694
|
+
A = e, vt = !0;
|
|
1647
1695
|
try {
|
|
1648
|
-
(n & (
|
|
1649
|
-
var o =
|
|
1650
|
-
e.teardown = typeof o == "function" ? o : null, e.wv =
|
|
1696
|
+
(n & (Ve | ao)) !== 0 ? mr(e) : bi(e), Ho(e);
|
|
1697
|
+
var o = Yo(e);
|
|
1698
|
+
e.teardown = typeof o == "function" ? o : null, e.wv = Vo;
|
|
1651
1699
|
var s;
|
|
1652
|
-
|
|
1700
|
+
Wt && Ws && (e.f & W) !== 0 && e.deps;
|
|
1653
1701
|
} finally {
|
|
1654
|
-
|
|
1702
|
+
vt = i, A = t;
|
|
1655
1703
|
}
|
|
1656
1704
|
}
|
|
1657
1705
|
}
|
|
1658
1706
|
function _(e) {
|
|
1659
|
-
var n = e.f, t = (n &
|
|
1660
|
-
if (w !== null && !
|
|
1661
|
-
var i =
|
|
1662
|
-
if (!i && (_e === null || !
|
|
1707
|
+
var n = e.f, t = (n & K) !== 0;
|
|
1708
|
+
if (w !== null && !xe) {
|
|
1709
|
+
var i = A !== null && (A.f & Xe) !== 0;
|
|
1710
|
+
if (!i && (_e === null || !Ln.call(_e, e))) {
|
|
1663
1711
|
var o = w.deps;
|
|
1664
|
-
if ((w.f &
|
|
1665
|
-
e.rv <
|
|
1712
|
+
if ((w.f & Vt) !== 0)
|
|
1713
|
+
e.rv < un && (e.rv = un, ne === null && o !== null && o[oe] === e ? oe++ : ne === null ? ne = [e] : ne.push(e));
|
|
1666
1714
|
else {
|
|
1667
1715
|
(w.deps ?? (w.deps = [])).push(e);
|
|
1668
1716
|
var s = e.reactions;
|
|
1669
|
-
s === null ? e.reactions = [w] :
|
|
1717
|
+
s === null ? e.reactions = [w] : Ln.call(s, w) || s.push(w);
|
|
1670
1718
|
}
|
|
1671
1719
|
}
|
|
1672
1720
|
}
|
|
1673
|
-
if (
|
|
1674
|
-
return
|
|
1721
|
+
if (on && tn.has(e))
|
|
1722
|
+
return tn.get(e);
|
|
1675
1723
|
if (t) {
|
|
1676
1724
|
var r = (
|
|
1677
1725
|
/** @type {Derived} */
|
|
1678
1726
|
e
|
|
1679
1727
|
);
|
|
1680
|
-
if (
|
|
1681
|
-
var
|
|
1682
|
-
return ((r.f &
|
|
1728
|
+
if (on) {
|
|
1729
|
+
var a = r.v;
|
|
1730
|
+
return ((r.f & G) === 0 && r.reactions !== null || Zo(r)) && (a = fi(r)), tn.set(r, a), a;
|
|
1683
1731
|
}
|
|
1684
|
-
var
|
|
1685
|
-
|
|
1732
|
+
var c = (r.f & fe) === 0 && !xe && w !== null && (vt || (w.f & fe) !== 0), u = (r.f & Bn) === 0;
|
|
1733
|
+
ot(r) && (c && (r.f |= fe), To(r)), c && !u && (Ro(r), Qo(r));
|
|
1686
1734
|
}
|
|
1687
|
-
if (
|
|
1688
|
-
return
|
|
1689
|
-
if ((e.f &
|
|
1735
|
+
if (ve?.has(e))
|
|
1736
|
+
return ve.get(e);
|
|
1737
|
+
if ((e.f & nn) !== 0)
|
|
1690
1738
|
throw e.v;
|
|
1691
1739
|
return e.v;
|
|
1692
1740
|
}
|
|
1693
|
-
function
|
|
1694
|
-
if (e.deps !== null)
|
|
1695
|
-
e.f |= fe;
|
|
1741
|
+
function Qo(e) {
|
|
1742
|
+
if (e.f |= fe, e.deps !== null)
|
|
1696
1743
|
for (const n of e.deps)
|
|
1697
|
-
(n.reactions ?? (n.reactions = [])).push(e), (n.f &
|
|
1744
|
+
(n.reactions ?? (n.reactions = [])).push(e), (n.f & K) !== 0 && (n.f & fe) === 0 && (Ro(
|
|
1698
1745
|
/** @type {Derived} */
|
|
1699
1746
|
n
|
|
1700
|
-
)
|
|
1701
|
-
|
|
1747
|
+
), Qo(
|
|
1748
|
+
/** @type {Derived} */
|
|
1749
|
+
n
|
|
1750
|
+
));
|
|
1702
1751
|
}
|
|
1703
|
-
function
|
|
1704
|
-
if (e.v ===
|
|
1752
|
+
function Zo(e) {
|
|
1753
|
+
if (e.v === X) return !0;
|
|
1705
1754
|
if (e.deps === null) return !1;
|
|
1706
1755
|
for (const n of e.deps)
|
|
1707
|
-
if (
|
|
1756
|
+
if (tn.has(n) || (n.f & K) !== 0 && Zo(
|
|
1708
1757
|
/** @type {Derived} */
|
|
1709
1758
|
n
|
|
1710
1759
|
))
|
|
@@ -1712,40 +1761,40 @@ function Xo(e) {
|
|
|
1712
1761
|
return !1;
|
|
1713
1762
|
}
|
|
1714
1763
|
function wi(e) {
|
|
1715
|
-
var n =
|
|
1764
|
+
var n = xe;
|
|
1716
1765
|
try {
|
|
1717
|
-
return
|
|
1766
|
+
return xe = !0, e();
|
|
1718
1767
|
} finally {
|
|
1719
|
-
|
|
1768
|
+
xe = n;
|
|
1720
1769
|
}
|
|
1721
1770
|
}
|
|
1722
|
-
const
|
|
1723
|
-
function
|
|
1771
|
+
const es = /* @__PURE__ */ new Set(), oi = /* @__PURE__ */ new Set();
|
|
1772
|
+
function br(e, n, t, i = {}) {
|
|
1724
1773
|
function o(s) {
|
|
1725
|
-
if (i.capture ||
|
|
1726
|
-
return
|
|
1774
|
+
if (i.capture || si.call(n, s), !s.cancelBubble)
|
|
1775
|
+
return mi(() => t?.call(this, s));
|
|
1727
1776
|
}
|
|
1728
1777
|
return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? Ke(() => {
|
|
1729
1778
|
n.addEventListener(e, o, i);
|
|
1730
1779
|
}) : n.addEventListener(e, o, i), o;
|
|
1731
1780
|
}
|
|
1732
|
-
function
|
|
1733
|
-
var s = { capture: i, passive: o }, r =
|
|
1781
|
+
function vr(e, n, t, i, o) {
|
|
1782
|
+
var s = { capture: i, passive: o }, r = br(e, n, t, s);
|
|
1734
1783
|
(n === document.body || // @ts-ignore
|
|
1735
1784
|
n === window || // @ts-ignore
|
|
1736
1785
|
n === document || // Firefox has quirky behavior, it can happen that we still get "canplay" events when the element is already removed
|
|
1737
|
-
n instanceof HTMLMediaElement) &&
|
|
1786
|
+
n instanceof HTMLMediaElement) && Po(() => {
|
|
1738
1787
|
n.removeEventListener(e, r, s);
|
|
1739
1788
|
});
|
|
1740
1789
|
}
|
|
1741
|
-
function
|
|
1790
|
+
function wr(e) {
|
|
1742
1791
|
for (var n = 0; n < e.length; n++)
|
|
1743
|
-
|
|
1744
|
-
for (var t of
|
|
1792
|
+
es.add(e[n]);
|
|
1793
|
+
for (var t of oi)
|
|
1745
1794
|
t(e);
|
|
1746
1795
|
}
|
|
1747
|
-
let
|
|
1748
|
-
function
|
|
1796
|
+
let Gi = null;
|
|
1797
|
+
function si(e) {
|
|
1749
1798
|
var n = this, t = (
|
|
1750
1799
|
/** @type {Node} */
|
|
1751
1800
|
n.ownerDocument
|
|
@@ -1753,11 +1802,11 @@ function Qn(e) {
|
|
|
1753
1802
|
/** @type {null | Element} */
|
|
1754
1803
|
o[0] || e.target
|
|
1755
1804
|
);
|
|
1756
|
-
|
|
1757
|
-
var r = 0,
|
|
1758
|
-
if (
|
|
1759
|
-
var
|
|
1760
|
-
if (
|
|
1805
|
+
Gi = e;
|
|
1806
|
+
var r = 0, a = Gi === e && e.__root;
|
|
1807
|
+
if (a) {
|
|
1808
|
+
var c = o.indexOf(a);
|
|
1809
|
+
if (c !== -1 && (n === document || n === /** @type {any} */
|
|
1761
1810
|
window)) {
|
|
1762
1811
|
e.__root = n;
|
|
1763
1812
|
return;
|
|
@@ -1765,97 +1814,110 @@ function Qn(e) {
|
|
|
1765
1814
|
var u = o.indexOf(n);
|
|
1766
1815
|
if (u === -1)
|
|
1767
1816
|
return;
|
|
1768
|
-
|
|
1817
|
+
c <= u && (r = c);
|
|
1769
1818
|
}
|
|
1770
1819
|
if (s = /** @type {Element} */
|
|
1771
1820
|
o[r] || e.target, s !== n) {
|
|
1772
|
-
|
|
1821
|
+
kt(e, "currentTarget", {
|
|
1773
1822
|
configurable: !0,
|
|
1774
1823
|
get() {
|
|
1775
1824
|
return s || t;
|
|
1776
1825
|
}
|
|
1777
1826
|
});
|
|
1778
|
-
var d = w, m =
|
|
1779
|
-
me(null),
|
|
1827
|
+
var d = w, m = A;
|
|
1828
|
+
me(null), ze(null);
|
|
1780
1829
|
try {
|
|
1781
|
-
for (var p,
|
|
1782
|
-
var
|
|
1830
|
+
for (var p, h = []; s !== null; ) {
|
|
1831
|
+
var g = s.assignedSlot || s.parentNode || /** @type {any} */
|
|
1783
1832
|
s.host || null;
|
|
1784
1833
|
try {
|
|
1785
|
-
var
|
|
1786
|
-
|
|
1834
|
+
var k = s["__" + i];
|
|
1835
|
+
k != null && (!/** @type {any} */
|
|
1787
1836
|
s.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
|
|
1788
1837
|
// -> the target could not have been disabled because it emits the event in the first place
|
|
1789
|
-
e.target === s) &&
|
|
1838
|
+
e.target === s) && k.call(s, e);
|
|
1790
1839
|
} catch (f) {
|
|
1791
|
-
p ?
|
|
1840
|
+
p ? h.push(f) : p = f;
|
|
1792
1841
|
}
|
|
1793
|
-
if (e.cancelBubble ||
|
|
1842
|
+
if (e.cancelBubble || g === n || g === null)
|
|
1794
1843
|
break;
|
|
1795
|
-
s =
|
|
1844
|
+
s = g;
|
|
1796
1845
|
}
|
|
1797
1846
|
if (p) {
|
|
1798
|
-
for (let f of
|
|
1847
|
+
for (let f of h)
|
|
1799
1848
|
queueMicrotask(() => {
|
|
1800
1849
|
throw f;
|
|
1801
1850
|
});
|
|
1802
1851
|
throw p;
|
|
1803
1852
|
}
|
|
1804
1853
|
} finally {
|
|
1805
|
-
e.__root = n, delete e.currentTarget, me(d),
|
|
1854
|
+
e.__root = n, delete e.currentTarget, me(d), ze(m);
|
|
1806
1855
|
}
|
|
1807
1856
|
}
|
|
1808
1857
|
}
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1858
|
+
const xr = /* @__PURE__ */ globalThis?.window?.trustedTypes?.createPolicy(
|
|
1859
|
+
"svelte-trusted-html",
|
|
1860
|
+
{
|
|
1861
|
+
/** @param {string} html */
|
|
1862
|
+
createHTML: (e) => e
|
|
1863
|
+
}
|
|
1864
|
+
);
|
|
1865
|
+
function kr(e) {
|
|
1866
|
+
return (
|
|
1867
|
+
/** @type {string} */
|
|
1868
|
+
xr?.createHTML(e) ?? e
|
|
1869
|
+
);
|
|
1812
1870
|
}
|
|
1813
|
-
function
|
|
1871
|
+
function Sr(e, n = !1) {
|
|
1872
|
+
var t = _i("template");
|
|
1873
|
+
return e = e.replaceAll("<!>", "<!---->"), t.innerHTML = n ? kr(e) : e, t.content;
|
|
1874
|
+
}
|
|
1875
|
+
function wn(e, n) {
|
|
1814
1876
|
var t = (
|
|
1815
1877
|
/** @type {Effect} */
|
|
1816
|
-
|
|
1878
|
+
A
|
|
1817
1879
|
);
|
|
1818
1880
|
t.nodes === null && (t.nodes = { start: e, end: n, a: null, t: null });
|
|
1819
1881
|
}
|
|
1820
1882
|
// @__NO_SIDE_EFFECTS__
|
|
1821
|
-
function
|
|
1822
|
-
var t = (n &
|
|
1883
|
+
function Hn(e, n) {
|
|
1884
|
+
var t = (n & ws) !== 0, i, o = !e.startsWith("<!>");
|
|
1823
1885
|
return () => {
|
|
1824
|
-
if (
|
|
1825
|
-
return
|
|
1826
|
-
i === void 0 && (i =
|
|
1827
|
-
/* @__PURE__ */
|
|
1886
|
+
if (E)
|
|
1887
|
+
return wn($, null), $;
|
|
1888
|
+
i === void 0 && (i = Sr(o ? e : "<!>" + e, !0), i = /** @type {TemplateNode} */
|
|
1889
|
+
/* @__PURE__ */ In(i));
|
|
1828
1890
|
var s = (
|
|
1829
1891
|
/** @type {TemplateNode} */
|
|
1830
|
-
t ||
|
|
1892
|
+
t || jo ? document.importNode(i, !0) : i.cloneNode(!0)
|
|
1831
1893
|
);
|
|
1832
|
-
return
|
|
1894
|
+
return wn(s, s), s;
|
|
1833
1895
|
};
|
|
1834
1896
|
}
|
|
1835
|
-
function
|
|
1836
|
-
if (!
|
|
1837
|
-
var n =
|
|
1838
|
-
return
|
|
1897
|
+
function Ft(e = "") {
|
|
1898
|
+
if (!E) {
|
|
1899
|
+
var n = te(e + "");
|
|
1900
|
+
return wn(n, n), n;
|
|
1839
1901
|
}
|
|
1840
|
-
var t =
|
|
1841
|
-
return t.nodeType !==
|
|
1902
|
+
var t = $;
|
|
1903
|
+
return t.nodeType !== it ? (t.before(t = te()), q(t)) : Mt(
|
|
1842
1904
|
/** @type {Text} */
|
|
1843
1905
|
t
|
|
1844
|
-
),
|
|
1906
|
+
), wn(t, t), t;
|
|
1845
1907
|
}
|
|
1846
|
-
function
|
|
1847
|
-
if (
|
|
1848
|
-
return
|
|
1849
|
-
var e = document.createDocumentFragment(), n = document.createComment(""), t =
|
|
1850
|
-
return e.append(n, t),
|
|
1908
|
+
function Er() {
|
|
1909
|
+
if (E)
|
|
1910
|
+
return wn($, null), $;
|
|
1911
|
+
var e = document.createDocumentFragment(), n = document.createComment(""), t = te();
|
|
1912
|
+
return e.append(n, t), wn(n, t), e;
|
|
1851
1913
|
}
|
|
1852
|
-
function
|
|
1853
|
-
if (
|
|
1914
|
+
function ye(e, n) {
|
|
1915
|
+
if (E) {
|
|
1854
1916
|
var t = (
|
|
1855
1917
|
/** @type {Effect & { nodes: EffectNodes }} */
|
|
1856
|
-
|
|
1918
|
+
A
|
|
1857
1919
|
);
|
|
1858
|
-
((t.f &
|
|
1920
|
+
((t.f & Bn) === 0 || t.nodes.end === null) && (t.nodes.end = $), Nt();
|
|
1859
1921
|
return;
|
|
1860
1922
|
}
|
|
1861
1923
|
e !== null && e.before(
|
|
@@ -1863,61 +1925,64 @@ function te(e, n) {
|
|
|
1863
1925
|
n
|
|
1864
1926
|
);
|
|
1865
1927
|
}
|
|
1866
|
-
const
|
|
1867
|
-
function
|
|
1868
|
-
return
|
|
1928
|
+
const $r = ["touchstart", "touchmove"];
|
|
1929
|
+
function Ar(e) {
|
|
1930
|
+
return $r.includes(e);
|
|
1869
1931
|
}
|
|
1870
|
-
function
|
|
1932
|
+
function ge(e, n) {
|
|
1871
1933
|
var t = n == null ? "" : typeof n == "object" ? n + "" : n;
|
|
1872
1934
|
t !== (e.__t ?? (e.__t = e.nodeValue)) && (e.__t = t, e.nodeValue = t + "");
|
|
1873
1935
|
}
|
|
1874
|
-
function
|
|
1875
|
-
return
|
|
1936
|
+
function ns(e, n) {
|
|
1937
|
+
return ts(e, n);
|
|
1876
1938
|
}
|
|
1877
|
-
function
|
|
1878
|
-
|
|
1879
|
-
const t = n.target, i =
|
|
1939
|
+
function Cr(e, n) {
|
|
1940
|
+
ti(), n.intro = n.intro ?? !1;
|
|
1941
|
+
const t = n.target, i = E, o = $;
|
|
1880
1942
|
try {
|
|
1881
|
-
for (var s = /* @__PURE__ */
|
|
1882
|
-
s.data !==
|
|
1883
|
-
s = /* @__PURE__ */
|
|
1943
|
+
for (var s = /* @__PURE__ */ In(t); s && (s.nodeType !== Gn || /** @type {Comment} */
|
|
1944
|
+
s.data !== ci); )
|
|
1945
|
+
s = /* @__PURE__ */ Le(s);
|
|
1884
1946
|
if (!s)
|
|
1885
|
-
throw
|
|
1886
|
-
Ue(!0),
|
|
1947
|
+
throw Nn;
|
|
1948
|
+
Ue(!0), q(
|
|
1887
1949
|
/** @type {Comment} */
|
|
1888
1950
|
s
|
|
1889
1951
|
);
|
|
1890
|
-
const r =
|
|
1952
|
+
const r = ts(e, { ...n, anchor: s });
|
|
1891
1953
|
return Ue(!1), /** @type {Exports} */
|
|
1892
1954
|
r;
|
|
1893
1955
|
} catch (r) {
|
|
1894
1956
|
if (r instanceof Error && r.message.split(`
|
|
1895
|
-
`).some((
|
|
1957
|
+
`).some((a) => a.startsWith("https://svelte.dev/e/")))
|
|
1896
1958
|
throw r;
|
|
1897
|
-
return r !==
|
|
1959
|
+
return r !== Nn && console.warn("Failed to hydrate: ", r), n.recover === !1 && Ps(), ti(), Do(t), Ue(!1), ns(e, n);
|
|
1898
1960
|
} finally {
|
|
1899
|
-
Ue(i),
|
|
1961
|
+
Ue(i), q(o);
|
|
1900
1962
|
}
|
|
1901
1963
|
}
|
|
1902
|
-
const
|
|
1903
|
-
function
|
|
1904
|
-
|
|
1905
|
-
var
|
|
1964
|
+
const ft = /* @__PURE__ */ new Map();
|
|
1965
|
+
function ts(e, { target: n, anchor: t, props: i = {}, events: o, context: s, intro: r = !0 }) {
|
|
1966
|
+
ti();
|
|
1967
|
+
var a = /* @__PURE__ */ new Set(), c = (m) => {
|
|
1906
1968
|
for (var p = 0; p < m.length; p++) {
|
|
1907
|
-
var
|
|
1908
|
-
if (!
|
|
1909
|
-
|
|
1910
|
-
var
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1969
|
+
var h = m[p];
|
|
1970
|
+
if (!a.has(h)) {
|
|
1971
|
+
a.add(h);
|
|
1972
|
+
var g = Ar(h);
|
|
1973
|
+
for (const y of [n, document]) {
|
|
1974
|
+
var k = ft.get(y);
|
|
1975
|
+
k === void 0 && (k = /* @__PURE__ */ new Map(), ft.set(y, k));
|
|
1976
|
+
var f = k.get(h);
|
|
1977
|
+
f === void 0 ? (y.addEventListener(h, si, { passive: g }), k.set(h, 1)) : k.set(h, f + 1);
|
|
1978
|
+
}
|
|
1914
1979
|
}
|
|
1915
1980
|
}
|
|
1916
1981
|
};
|
|
1917
|
-
|
|
1918
|
-
var u = void 0, d =
|
|
1919
|
-
var m = t ?? n.appendChild(
|
|
1920
|
-
return
|
|
1982
|
+
c(Tt(es)), oi.add(c);
|
|
1983
|
+
var u = void 0, d = fr(() => {
|
|
1984
|
+
var m = t ?? n.appendChild(te());
|
|
1985
|
+
return Zs(
|
|
1921
1986
|
/** @type {TemplateNode} */
|
|
1922
1987
|
m,
|
|
1923
1988
|
{
|
|
@@ -1925,53 +1990,53 @@ function Jo(e, { target: n, anchor: t, props: i = {}, events: o, context: s, int
|
|
|
1925
1990
|
}
|
|
1926
1991
|
},
|
|
1927
1992
|
(p) => {
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
y.c = s;
|
|
1935
|
-
}
|
|
1936
|
-
if (o && (i.$$events = o), S && kn(
|
|
1993
|
+
mo({});
|
|
1994
|
+
var h = (
|
|
1995
|
+
/** @type {ComponentContext} */
|
|
1996
|
+
ae
|
|
1997
|
+
);
|
|
1998
|
+
if (s && (h.c = s), o && (i.$$events = o), E && wn(
|
|
1937
1999
|
/** @type {TemplateNode} */
|
|
1938
2000
|
p,
|
|
1939
2001
|
null
|
|
1940
|
-
), u = e(p, i) || {},
|
|
1941
|
-
|
|
1942
|
-
throw
|
|
1943
|
-
|
|
2002
|
+
), u = e(p, i) || {}, E && (A.nodes.end = $, $ === null || $.nodeType !== Gn || /** @type {Comment} */
|
|
2003
|
+
$.data !== ui))
|
|
2004
|
+
throw zt(), Nn;
|
|
2005
|
+
ho();
|
|
1944
2006
|
}
|
|
1945
2007
|
), () => {
|
|
1946
|
-
for (var p of
|
|
1947
|
-
n
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
2008
|
+
for (var p of a)
|
|
2009
|
+
for (const k of [n, document]) {
|
|
2010
|
+
var h = (
|
|
2011
|
+
/** @type {Map<string, number>} */
|
|
2012
|
+
ft.get(k)
|
|
2013
|
+
), g = (
|
|
2014
|
+
/** @type {number} */
|
|
2015
|
+
h.get(p)
|
|
2016
|
+
);
|
|
2017
|
+
--g == 0 ? (k.removeEventListener(p, si), h.delete(p), h.size === 0 && ft.delete(k)) : h.set(p, g);
|
|
2018
|
+
}
|
|
2019
|
+
oi.delete(c), m !== t && m.parentNode?.removeChild(m);
|
|
1955
2020
|
};
|
|
1956
2021
|
});
|
|
1957
|
-
return
|
|
2022
|
+
return ri.set(u, d), u;
|
|
1958
2023
|
}
|
|
1959
|
-
let
|
|
1960
|
-
function
|
|
1961
|
-
const t =
|
|
1962
|
-
return t ? (
|
|
2024
|
+
let ri = /* @__PURE__ */ new WeakMap();
|
|
2025
|
+
function Tr(e, n) {
|
|
2026
|
+
const t = ri.get(e);
|
|
2027
|
+
return t ? (ri.delete(e), t(n)) : Promise.resolve();
|
|
1963
2028
|
}
|
|
1964
|
-
var
|
|
1965
|
-
class
|
|
2029
|
+
var be, Re, re, hn, nt, tt, At;
|
|
2030
|
+
class Rr {
|
|
1966
2031
|
/**
|
|
1967
2032
|
* @param {TemplateNode} anchor
|
|
1968
2033
|
* @param {boolean} transition
|
|
1969
2034
|
*/
|
|
1970
2035
|
constructor(n, t = !0) {
|
|
1971
2036
|
/** @type {TemplateNode} */
|
|
1972
|
-
|
|
2037
|
+
L(this, "anchor");
|
|
1973
2038
|
/** @type {Map<Batch, Key>} */
|
|
1974
|
-
v(this,
|
|
2039
|
+
v(this, be, /* @__PURE__ */ new Map());
|
|
1975
2040
|
/**
|
|
1976
2041
|
* Map of keys to effects that are currently rendered in the DOM.
|
|
1977
2042
|
* These effects are visible and actively part of the document tree.
|
|
@@ -1986,69 +2051,69 @@ class mr {
|
|
|
1986
2051
|
* Can result in the entries `true->Effect` and `false->Effect`
|
|
1987
2052
|
* @type {Map<Key, Effect>}
|
|
1988
2053
|
*/
|
|
1989
|
-
v(this,
|
|
2054
|
+
v(this, Re, /* @__PURE__ */ new Map());
|
|
1990
2055
|
/**
|
|
1991
2056
|
* Similar to #onscreen with respect to the keys, but contains branches that are not yet
|
|
1992
2057
|
* in the DOM, because their insertion is deferred.
|
|
1993
2058
|
* @type {Map<Key, Branch>}
|
|
1994
2059
|
*/
|
|
1995
|
-
v(this,
|
|
2060
|
+
v(this, re, /* @__PURE__ */ new Map());
|
|
1996
2061
|
/**
|
|
1997
2062
|
* Keys of effects that are currently outroing
|
|
1998
2063
|
* @type {Set<Key>}
|
|
1999
2064
|
*/
|
|
2000
|
-
v(this,
|
|
2065
|
+
v(this, hn, /* @__PURE__ */ new Set());
|
|
2001
2066
|
/**
|
|
2002
2067
|
* Whether to pause (i.e. outro) on change, or destroy immediately.
|
|
2003
2068
|
* This is necessary for `<svelte:element>`
|
|
2004
2069
|
*/
|
|
2005
|
-
v(this,
|
|
2006
|
-
v(this,
|
|
2070
|
+
v(this, nt, !0);
|
|
2071
|
+
v(this, tt, () => {
|
|
2007
2072
|
var n = (
|
|
2008
2073
|
/** @type {Batch} */
|
|
2009
2074
|
N
|
|
2010
2075
|
);
|
|
2011
|
-
if (
|
|
2076
|
+
if (l(this, be).has(n)) {
|
|
2012
2077
|
var t = (
|
|
2013
2078
|
/** @type {Key} */
|
|
2014
|
-
|
|
2015
|
-
), i =
|
|
2079
|
+
l(this, be).get(n)
|
|
2080
|
+
), i = l(this, Re).get(t);
|
|
2016
2081
|
if (i)
|
|
2017
|
-
vi(i),
|
|
2082
|
+
vi(i), l(this, hn).delete(t);
|
|
2018
2083
|
else {
|
|
2019
|
-
var o =
|
|
2020
|
-
o && (
|
|
2084
|
+
var o = l(this, re).get(t);
|
|
2085
|
+
o && (l(this, Re).set(t, o.effect), l(this, re).delete(t), o.fragment.lastChild.remove(), this.anchor.before(o.fragment), i = o.effect);
|
|
2021
2086
|
}
|
|
2022
|
-
for (const [s, r] of
|
|
2023
|
-
if (
|
|
2087
|
+
for (const [s, r] of l(this, be)) {
|
|
2088
|
+
if (l(this, be).delete(s), s === n)
|
|
2024
2089
|
break;
|
|
2025
|
-
const
|
|
2026
|
-
|
|
2090
|
+
const a = l(this, re).get(r);
|
|
2091
|
+
a && (Y(a.effect), l(this, re).delete(r));
|
|
2027
2092
|
}
|
|
2028
|
-
for (const [s, r] of
|
|
2029
|
-
if (s === t ||
|
|
2030
|
-
const
|
|
2031
|
-
if (Array.from(
|
|
2093
|
+
for (const [s, r] of l(this, Re)) {
|
|
2094
|
+
if (s === t || l(this, hn).has(s)) continue;
|
|
2095
|
+
const a = () => {
|
|
2096
|
+
if (Array.from(l(this, be).values()).includes(s)) {
|
|
2032
2097
|
var u = document.createDocumentFragment();
|
|
2033
|
-
|
|
2098
|
+
Ko(r, u), u.append(te()), l(this, re).set(s, { effect: r, fragment: u });
|
|
2034
2099
|
} else
|
|
2035
|
-
|
|
2036
|
-
|
|
2100
|
+
Y(r);
|
|
2101
|
+
l(this, hn).delete(s), l(this, Re).delete(s);
|
|
2037
2102
|
};
|
|
2038
|
-
|
|
2103
|
+
l(this, nt) || !i ? (l(this, hn).add(s), gn(r, a, !1)) : a();
|
|
2039
2104
|
}
|
|
2040
2105
|
}
|
|
2041
2106
|
});
|
|
2042
2107
|
/**
|
|
2043
2108
|
* @param {Batch} batch
|
|
2044
2109
|
*/
|
|
2045
|
-
v(this,
|
|
2046
|
-
|
|
2047
|
-
const t = Array.from(
|
|
2048
|
-
for (const [i, o] of
|
|
2049
|
-
t.includes(i) || (
|
|
2110
|
+
v(this, At, (n) => {
|
|
2111
|
+
l(this, be).delete(n);
|
|
2112
|
+
const t = Array.from(l(this, be).values());
|
|
2113
|
+
for (const [i, o] of l(this, re))
|
|
2114
|
+
t.includes(i) || (Y(o.effect), l(this, re).delete(i));
|
|
2050
2115
|
});
|
|
2051
|
-
this.anchor = n, b(this,
|
|
2116
|
+
this.anchor = n, b(this, nt, t);
|
|
2052
2117
|
}
|
|
2053
2118
|
/**
|
|
2054
2119
|
*
|
|
@@ -2059,32 +2124,32 @@ class mr {
|
|
|
2059
2124
|
var i = (
|
|
2060
2125
|
/** @type {Batch} */
|
|
2061
2126
|
N
|
|
2062
|
-
), o =
|
|
2063
|
-
if (t && !
|
|
2127
|
+
), o = Io();
|
|
2128
|
+
if (t && !l(this, Re).has(n) && !l(this, re).has(n))
|
|
2064
2129
|
if (o) {
|
|
2065
|
-
var s = document.createDocumentFragment(), r =
|
|
2066
|
-
s.append(r),
|
|
2130
|
+
var s = document.createDocumentFragment(), r = te();
|
|
2131
|
+
s.append(r), l(this, re).set(n, {
|
|
2067
2132
|
effect: pe(() => t(r)),
|
|
2068
2133
|
fragment: s
|
|
2069
2134
|
});
|
|
2070
2135
|
} else
|
|
2071
|
-
|
|
2136
|
+
l(this, Re).set(
|
|
2072
2137
|
n,
|
|
2073
2138
|
pe(() => t(this.anchor))
|
|
2074
2139
|
);
|
|
2075
|
-
if (
|
|
2076
|
-
for (const [
|
|
2077
|
-
|
|
2078
|
-
for (const [
|
|
2079
|
-
|
|
2080
|
-
i.oncommit(
|
|
2140
|
+
if (l(this, be).set(i, n), o) {
|
|
2141
|
+
for (const [a, c] of l(this, Re))
|
|
2142
|
+
a === n ? i.unskip_effect(c) : i.skip_effect(c);
|
|
2143
|
+
for (const [a, c] of l(this, re))
|
|
2144
|
+
a === n ? i.unskip_effect(c.effect) : i.skip_effect(c.effect);
|
|
2145
|
+
i.oncommit(l(this, tt)), i.ondiscard(l(this, At));
|
|
2081
2146
|
} else
|
|
2082
|
-
|
|
2147
|
+
E && (this.anchor = $), l(this, tt).call(this);
|
|
2083
2148
|
}
|
|
2084
2149
|
}
|
|
2085
|
-
|
|
2086
|
-
function
|
|
2087
|
-
ae === null &&
|
|
2150
|
+
be = new WeakMap(), Re = new WeakMap(), re = new WeakMap(), hn = new WeakMap(), nt = new WeakMap(), tt = new WeakMap(), At = new WeakMap();
|
|
2151
|
+
function zr(e) {
|
|
2152
|
+
ae === null && Ns(), ii(() => {
|
|
2088
2153
|
const n = wi(e);
|
|
2089
2154
|
if (typeof n == "function") return (
|
|
2090
2155
|
/** @type {() => void} */
|
|
@@ -2092,34 +2157,35 @@ function yr(e) {
|
|
|
2092
2157
|
);
|
|
2093
2158
|
});
|
|
2094
2159
|
}
|
|
2095
|
-
function
|
|
2096
|
-
|
|
2097
|
-
var i = new
|
|
2098
|
-
function s(r,
|
|
2099
|
-
if (
|
|
2100
|
-
const
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2160
|
+
function Ut(e, n, t = !1) {
|
|
2161
|
+
E && Nt();
|
|
2162
|
+
var i = new Rr(e), o = t ? jn : 0;
|
|
2163
|
+
function s(r, a) {
|
|
2164
|
+
if (E) {
|
|
2165
|
+
const d = po(e);
|
|
2166
|
+
var c;
|
|
2167
|
+
if (d === ci ? c = 0 : d === Ct ? c = !1 : c = parseInt(d.substring(1)), r !== c) {
|
|
2168
|
+
var u = St();
|
|
2169
|
+
q(u), i.anchor = u, Ue(!1), i.ensure(r, a), Ue(!0);
|
|
2104
2170
|
return;
|
|
2105
2171
|
}
|
|
2106
2172
|
}
|
|
2107
|
-
i.ensure(r,
|
|
2173
|
+
i.ensure(r, a);
|
|
2108
2174
|
}
|
|
2109
|
-
|
|
2175
|
+
yi(() => {
|
|
2110
2176
|
var r = !1;
|
|
2111
|
-
n((
|
|
2112
|
-
r = !0, s(
|
|
2177
|
+
n((a, c = 0) => {
|
|
2178
|
+
r = !0, s(c, a);
|
|
2113
2179
|
}), r || s(!1, null);
|
|
2114
2180
|
}, o);
|
|
2115
2181
|
}
|
|
2116
|
-
function
|
|
2182
|
+
function Hi(e, n) {
|
|
2117
2183
|
return n;
|
|
2118
2184
|
}
|
|
2119
|
-
function
|
|
2120
|
-
for (var i = [], o = n.length, s, r = n.length,
|
|
2121
|
-
let m = n[
|
|
2122
|
-
|
|
2185
|
+
function Nr(e, n, t) {
|
|
2186
|
+
for (var i = [], o = n.length, s, r = n.length, a = 0; a < o; a++) {
|
|
2187
|
+
let m = n[a];
|
|
2188
|
+
gn(
|
|
2123
2189
|
m,
|
|
2124
2190
|
() => {
|
|
2125
2191
|
if (s) {
|
|
@@ -2128,7 +2194,7 @@ function hr(e, n, t) {
|
|
|
2128
2194
|
/** @type {Set<EachOutroGroup>} */
|
|
2129
2195
|
e.outrogroups
|
|
2130
2196
|
);
|
|
2131
|
-
|
|
2197
|
+
li(Tt(s.done)), p.delete(s), p.size === 0 && (e.outrogroups = null);
|
|
2132
2198
|
}
|
|
2133
2199
|
} else
|
|
2134
2200
|
r -= 1;
|
|
@@ -2137,8 +2203,8 @@ function hr(e, n, t) {
|
|
|
2137
2203
|
);
|
|
2138
2204
|
}
|
|
2139
2205
|
if (r === 0) {
|
|
2140
|
-
var
|
|
2141
|
-
if (
|
|
2206
|
+
var c = i.length === 0 && t !== null;
|
|
2207
|
+
if (c) {
|
|
2142
2208
|
var u = (
|
|
2143
2209
|
/** @type {Element} */
|
|
2144
2210
|
t
|
|
@@ -2146,147 +2212,147 @@ function hr(e, n, t) {
|
|
|
2146
2212
|
/** @type {Element} */
|
|
2147
2213
|
u.parentNode
|
|
2148
2214
|
);
|
|
2149
|
-
|
|
2215
|
+
Do(d), d.append(u), e.items.clear();
|
|
2150
2216
|
}
|
|
2151
|
-
|
|
2217
|
+
li(n, !c);
|
|
2152
2218
|
} else
|
|
2153
2219
|
s = {
|
|
2154
2220
|
pending: new Set(n),
|
|
2155
2221
|
done: /* @__PURE__ */ new Set()
|
|
2156
2222
|
}, (e.outrogroups ?? (e.outrogroups = /* @__PURE__ */ new Set())).add(s);
|
|
2157
2223
|
}
|
|
2158
|
-
function
|
|
2224
|
+
function li(e, n = !0) {
|
|
2159
2225
|
for (var t = 0; t < e.length; t++)
|
|
2160
|
-
|
|
2226
|
+
Y(e[t], n);
|
|
2161
2227
|
}
|
|
2162
|
-
var
|
|
2163
|
-
function
|
|
2164
|
-
var r = e,
|
|
2165
|
-
if (
|
|
2228
|
+
var Fi;
|
|
2229
|
+
function _t(e, n, t, i, o, s = null) {
|
|
2230
|
+
var r = e, a = /* @__PURE__ */ new Map(), c = (n & io) !== 0;
|
|
2231
|
+
if (c) {
|
|
2166
2232
|
var u = (
|
|
2167
2233
|
/** @type {Element} */
|
|
2168
2234
|
e
|
|
2169
2235
|
);
|
|
2170
|
-
r =
|
|
2171
|
-
}
|
|
2172
|
-
|
|
2173
|
-
var d = null, m = /* @__PURE__ */
|
|
2174
|
-
var
|
|
2175
|
-
return
|
|
2176
|
-
}), p,
|
|
2177
|
-
function
|
|
2178
|
-
f.fallback = d,
|
|
2236
|
+
r = E ? q(/* @__PURE__ */ In(u)) : u.appendChild(te());
|
|
2237
|
+
}
|
|
2238
|
+
E && Nt();
|
|
2239
|
+
var d = null, m = /* @__PURE__ */ or(() => {
|
|
2240
|
+
var y = t();
|
|
2241
|
+
return so(y) ? y : y == null ? [] : Tt(y);
|
|
2242
|
+
}), p, h = !0;
|
|
2243
|
+
function g() {
|
|
2244
|
+
f.fallback = d, Lr(f, p, r, n, i), d !== null && (p.length === 0 ? (d.f & Fe) === 0 ? vi(d) : (d.f ^= Fe, Wn(d, null, r)) : gn(d, () => {
|
|
2179
2245
|
d = null;
|
|
2180
2246
|
}));
|
|
2181
2247
|
}
|
|
2182
|
-
var
|
|
2248
|
+
var k = yi(() => {
|
|
2183
2249
|
p = /** @type {V[]} */
|
|
2184
2250
|
_(m);
|
|
2185
|
-
var
|
|
2186
|
-
let
|
|
2187
|
-
if (
|
|
2188
|
-
var
|
|
2189
|
-
|
|
2251
|
+
var y = p.length;
|
|
2252
|
+
let V = !1;
|
|
2253
|
+
if (E) {
|
|
2254
|
+
var Je = po(r) === Ct;
|
|
2255
|
+
Je !== (y === 0) && (r = St(), q(r), Ue(!1), V = !0);
|
|
2190
2256
|
}
|
|
2191
|
-
for (var
|
|
2257
|
+
for (var Q = /* @__PURE__ */ new Set(), Me = (
|
|
2192
2258
|
/** @type {Batch} */
|
|
2193
2259
|
N
|
|
2194
|
-
),
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
var
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2260
|
+
), Oe = Io(), J = 0; J < y; J += 1) {
|
|
2261
|
+
E && $.nodeType === Gn && /** @type {Comment} */
|
|
2262
|
+
$.data === ui && (r = /** @type {Comment} */
|
|
2263
|
+
$, V = !0, Ue(!1));
|
|
2264
|
+
var Ee = p[J], qe = i(Ee, J), P = h ? null : a.get(qe);
|
|
2265
|
+
P ? (P.v && Dn(P.v, Ee), P.i && Dn(P.i, J), Oe && Me.unskip_effect(P.e)) : (P = jr(
|
|
2266
|
+
a,
|
|
2267
|
+
h ? r : Fi ?? (Fi = te()),
|
|
2268
|
+
Ee,
|
|
2269
|
+
qe,
|
|
2270
|
+
J,
|
|
2205
2271
|
o,
|
|
2206
2272
|
n,
|
|
2207
2273
|
t
|
|
2208
|
-
),
|
|
2274
|
+
), h || (P.e.f |= Fe), a.set(qe, P)), Q.add(qe);
|
|
2209
2275
|
}
|
|
2210
|
-
if (
|
|
2211
|
-
if (
|
|
2212
|
-
for (const [
|
|
2213
|
-
|
|
2214
|
-
|
|
2276
|
+
if (y === 0 && s && !d && (h ? d = pe(() => s(r)) : (d = pe(() => s(Fi ?? (Fi = te()))), d.f |= Fe)), y > Q.size && js(), E && y > 0 && q(St()), !h)
|
|
2277
|
+
if (Oe) {
|
|
2278
|
+
for (const [st, Ot] of a)
|
|
2279
|
+
Q.has(st) || Me.skip_effect(Ot.e);
|
|
2280
|
+
Me.oncommit(g), Me.ondiscard(() => {
|
|
2215
2281
|
});
|
|
2216
2282
|
} else
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
}), f = { effect:
|
|
2220
|
-
|
|
2283
|
+
g();
|
|
2284
|
+
V && Ue(!0), _(m);
|
|
2285
|
+
}), f = { effect: k, items: a, outrogroups: null, fallback: d };
|
|
2286
|
+
h = !1, E && (r = $);
|
|
2221
2287
|
}
|
|
2222
|
-
function
|
|
2223
|
-
for (; e !== null && (e.f &
|
|
2288
|
+
function Xn(e) {
|
|
2289
|
+
for (; e !== null && (e.f & Se) === 0; )
|
|
2224
2290
|
e = e.next;
|
|
2225
2291
|
return e;
|
|
2226
2292
|
}
|
|
2227
|
-
function
|
|
2228
|
-
var s = (i &
|
|
2293
|
+
function Lr(e, n, t, i, o) {
|
|
2294
|
+
var s = (i & bs) !== 0, r = n.length, a = e.items, c = Xn(e.effect.first), u, d = null, m, p = [], h = [], g, k, f, y;
|
|
2229
2295
|
if (s)
|
|
2230
|
-
for (
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
for (
|
|
2234
|
-
if (
|
|
2235
|
-
|
|
2236
|
-
for (const
|
|
2237
|
-
|
|
2238
|
-
if ((f.f &
|
|
2239
|
-
if (f.f ^=
|
|
2240
|
-
|
|
2296
|
+
for (y = 0; y < r; y += 1)
|
|
2297
|
+
g = n[y], k = o(g, y), f = /** @type {EachItem} */
|
|
2298
|
+
a.get(k).e, (f.f & Fe) === 0 && (f.nodes?.a?.measure(), (m ?? (m = /* @__PURE__ */ new Set())).add(f));
|
|
2299
|
+
for (y = 0; y < r; y += 1) {
|
|
2300
|
+
if (g = n[y], k = o(g, y), f = /** @type {EachItem} */
|
|
2301
|
+
a.get(k).e, e.outrogroups !== null)
|
|
2302
|
+
for (const P of e.outrogroups)
|
|
2303
|
+
P.pending.delete(f), P.done.delete(f);
|
|
2304
|
+
if ((f.f & Fe) !== 0)
|
|
2305
|
+
if (f.f ^= Fe, f === c)
|
|
2306
|
+
Wn(f, null, t);
|
|
2241
2307
|
else {
|
|
2242
|
-
var
|
|
2243
|
-
f === e.effect.last && (e.effect.last = f.prev), f.prev && (f.prev.next = f.next), f.next && (f.next.prev = f.prev),
|
|
2308
|
+
var V = d ? d.next : c;
|
|
2309
|
+
f === e.effect.last && (e.effect.last = f.prev), f.prev && (f.prev.next = f.next), f.next && (f.next.prev = f.prev), Qe(e, d, f), Qe(e, f, V), Wn(f, V, t), d = f, p = [], h = [], c = Xn(d.next);
|
|
2244
2310
|
continue;
|
|
2245
2311
|
}
|
|
2246
|
-
if ((f.f & le) !== 0 && (vi(f), s && (f.nodes?.a?.unfix(), (m ?? (m = /* @__PURE__ */ new Set())).delete(f))), f !==
|
|
2312
|
+
if ((f.f & le) !== 0 && (vi(f), s && (f.nodes?.a?.unfix(), (m ?? (m = /* @__PURE__ */ new Set())).delete(f))), f !== c) {
|
|
2247
2313
|
if (u !== void 0 && u.has(f)) {
|
|
2248
|
-
if (p.length <
|
|
2249
|
-
var
|
|
2250
|
-
d =
|
|
2251
|
-
var
|
|
2252
|
-
for (
|
|
2253
|
-
|
|
2254
|
-
for (
|
|
2255
|
-
u.delete(
|
|
2256
|
-
|
|
2314
|
+
if (p.length < h.length) {
|
|
2315
|
+
var Je = h[0], Q;
|
|
2316
|
+
d = Je.prev;
|
|
2317
|
+
var Me = p[0], Oe = p[p.length - 1];
|
|
2318
|
+
for (Q = 0; Q < p.length; Q += 1)
|
|
2319
|
+
Wn(p[Q], Je, t);
|
|
2320
|
+
for (Q = 0; Q < h.length; Q += 1)
|
|
2321
|
+
u.delete(h[Q]);
|
|
2322
|
+
Qe(e, Me.prev, Oe.next), Qe(e, d, Me), Qe(e, Oe, Je), c = Je, d = Oe, y -= 1, p = [], h = [];
|
|
2257
2323
|
} else
|
|
2258
|
-
u.delete(f),
|
|
2324
|
+
u.delete(f), Wn(f, c, t), Qe(e, f.prev, f.next), Qe(e, f, d === null ? e.effect.first : d.next), Qe(e, d, f), d = f;
|
|
2259
2325
|
continue;
|
|
2260
2326
|
}
|
|
2261
|
-
for (p = [],
|
|
2262
|
-
(u ?? (u = /* @__PURE__ */ new Set())).add(
|
|
2263
|
-
if (
|
|
2327
|
+
for (p = [], h = []; c !== null && c !== f; )
|
|
2328
|
+
(u ?? (u = /* @__PURE__ */ new Set())).add(c), h.push(c), c = Xn(c.next);
|
|
2329
|
+
if (c === null)
|
|
2264
2330
|
continue;
|
|
2265
2331
|
}
|
|
2266
|
-
(f.f &
|
|
2332
|
+
(f.f & Fe) === 0 && p.push(f), d = f, c = Xn(f.next);
|
|
2267
2333
|
}
|
|
2268
2334
|
if (e.outrogroups !== null) {
|
|
2269
|
-
for (const
|
|
2270
|
-
|
|
2335
|
+
for (const P of e.outrogroups)
|
|
2336
|
+
P.pending.size === 0 && (li(Tt(P.done)), e.outrogroups?.delete(P));
|
|
2271
2337
|
e.outrogroups.size === 0 && (e.outrogroups = null);
|
|
2272
2338
|
}
|
|
2273
|
-
if (
|
|
2274
|
-
var
|
|
2339
|
+
if (c !== null || u !== void 0) {
|
|
2340
|
+
var J = [];
|
|
2275
2341
|
if (u !== void 0)
|
|
2276
2342
|
for (f of u)
|
|
2277
|
-
(f.f & le) === 0 &&
|
|
2278
|
-
for (;
|
|
2279
|
-
(
|
|
2280
|
-
var
|
|
2281
|
-
if (
|
|
2282
|
-
var
|
|
2343
|
+
(f.f & le) === 0 && J.push(f);
|
|
2344
|
+
for (; c !== null; )
|
|
2345
|
+
(c.f & le) === 0 && c !== e.fallback && J.push(c), c = Xn(c.next);
|
|
2346
|
+
var Ee = J.length;
|
|
2347
|
+
if (Ee > 0) {
|
|
2348
|
+
var qe = (i & io) !== 0 && r === 0 ? t : null;
|
|
2283
2349
|
if (s) {
|
|
2284
|
-
for (
|
|
2285
|
-
|
|
2286
|
-
for (
|
|
2287
|
-
|
|
2350
|
+
for (y = 0; y < Ee; y += 1)
|
|
2351
|
+
J[y].nodes?.a?.measure();
|
|
2352
|
+
for (y = 0; y < Ee; y += 1)
|
|
2353
|
+
J[y].nodes?.a?.fix();
|
|
2288
2354
|
}
|
|
2289
|
-
|
|
2355
|
+
Nr(e, J, qe);
|
|
2290
2356
|
}
|
|
2291
2357
|
}
|
|
2292
2358
|
s && Ke(() => {
|
|
@@ -2295,36 +2361,36 @@ function gr(e, n, t, i, o) {
|
|
|
2295
2361
|
f.nodes?.a?.apply();
|
|
2296
2362
|
});
|
|
2297
2363
|
}
|
|
2298
|
-
function
|
|
2299
|
-
var
|
|
2364
|
+
function jr(e, n, t, i, o, s, r, a) {
|
|
2365
|
+
var c = (r & gs) !== 0 ? (r & vs) === 0 ? /* @__PURE__ */ No(t, !1, !1) : vn(t) : null, u = (r & ys) !== 0 ? vn(o) : null;
|
|
2300
2366
|
return {
|
|
2301
|
-
v:
|
|
2367
|
+
v: c,
|
|
2302
2368
|
i: u,
|
|
2303
|
-
e: pe(() => (s(n,
|
|
2369
|
+
e: pe(() => (s(n, c ?? t, u ?? o, a), () => {
|
|
2304
2370
|
e.delete(i);
|
|
2305
2371
|
}))
|
|
2306
2372
|
};
|
|
2307
2373
|
}
|
|
2308
|
-
function
|
|
2374
|
+
function Wn(e, n, t) {
|
|
2309
2375
|
if (e.nodes)
|
|
2310
|
-
for (var i = e.nodes.start, o = e.nodes.end, s = n && (n.f &
|
|
2376
|
+
for (var i = e.nodes.start, o = e.nodes.end, s = n && (n.f & Fe) === 0 ? (
|
|
2311
2377
|
/** @type {EffectNodes} */
|
|
2312
2378
|
n.nodes.start
|
|
2313
2379
|
) : t; i !== null; ) {
|
|
2314
2380
|
var r = (
|
|
2315
2381
|
/** @type {TemplateNode} */
|
|
2316
|
-
/* @__PURE__ */
|
|
2382
|
+
/* @__PURE__ */ Le(i)
|
|
2317
2383
|
);
|
|
2318
2384
|
if (s.before(i), i === o)
|
|
2319
2385
|
return;
|
|
2320
2386
|
i = r;
|
|
2321
2387
|
}
|
|
2322
2388
|
}
|
|
2323
|
-
function
|
|
2389
|
+
function Qe(e, n, t) {
|
|
2324
2390
|
n === null ? e.effect.first = t : n.next = t, t === null ? e.effect.last = n : t.prev = n;
|
|
2325
2391
|
}
|
|
2326
|
-
function
|
|
2327
|
-
|
|
2392
|
+
function Mr(e, n) {
|
|
2393
|
+
Go(() => {
|
|
2328
2394
|
var t = e.getRootNode(), i = (
|
|
2329
2395
|
/** @type {ShadowRoot} */
|
|
2330
2396
|
t.host ? (
|
|
@@ -2337,14 +2403,14 @@ function vr(e, n) {
|
|
|
2337
2403
|
)
|
|
2338
2404
|
);
|
|
2339
2405
|
if (!i.querySelector("#" + n.hash)) {
|
|
2340
|
-
const o =
|
|
2406
|
+
const o = _i("style");
|
|
2341
2407
|
o.id = n.hash, o.textContent = n.code, i.appendChild(o);
|
|
2342
2408
|
}
|
|
2343
2409
|
});
|
|
2344
2410
|
}
|
|
2345
|
-
const
|
|
2411
|
+
const Ui = [...`
|
|
2346
2412
|
\r\f \v\uFEFF`];
|
|
2347
|
-
function
|
|
2413
|
+
function Or(e, n, t) {
|
|
2348
2414
|
var i = e == null ? "" : "" + e;
|
|
2349
2415
|
if (n && (i = i ? i + " " + n : n), t) {
|
|
2350
2416
|
for (var o in t)
|
|
@@ -2352,116 +2418,116 @@ function wr(e, n, t) {
|
|
|
2352
2418
|
i = i ? i + " " + o : o;
|
|
2353
2419
|
else if (i.length)
|
|
2354
2420
|
for (var s = o.length, r = 0; (r = i.indexOf(o, r)) >= 0; ) {
|
|
2355
|
-
var
|
|
2356
|
-
(r === 0 ||
|
|
2421
|
+
var a = r + s;
|
|
2422
|
+
(r === 0 || Ui.includes(i[r - 1])) && (a === i.length || Ui.includes(i[a])) ? i = (r === 0 ? "" : i.substring(0, r)) + i.substring(a + 1) : r = a;
|
|
2357
2423
|
}
|
|
2358
2424
|
}
|
|
2359
2425
|
return i === "" ? null : i;
|
|
2360
2426
|
}
|
|
2361
|
-
function
|
|
2427
|
+
function Dr(e, n) {
|
|
2362
2428
|
return e == null ? null : String(e);
|
|
2363
2429
|
}
|
|
2364
|
-
function
|
|
2430
|
+
function mt(e, n, t, i, o, s) {
|
|
2365
2431
|
var r = e.__className;
|
|
2366
|
-
if (
|
|
2367
|
-
var
|
|
2368
|
-
(!
|
|
2432
|
+
if (E || r !== t || r === void 0) {
|
|
2433
|
+
var a = Or(t, i, s);
|
|
2434
|
+
(!E || a !== e.getAttribute("class")) && (a == null ? e.removeAttribute("class") : e.className = a), e.__className = t;
|
|
2369
2435
|
} else if (s && o !== s)
|
|
2370
|
-
for (var
|
|
2371
|
-
var u = !!s[
|
|
2372
|
-
(o == null || u !== !!o[
|
|
2436
|
+
for (var c in s) {
|
|
2437
|
+
var u = !!s[c];
|
|
2438
|
+
(o == null || u !== !!o[c]) && e.classList.toggle(c, u);
|
|
2373
2439
|
}
|
|
2374
2440
|
return s;
|
|
2375
2441
|
}
|
|
2376
|
-
function
|
|
2442
|
+
function Xt(e, n, t, i) {
|
|
2377
2443
|
var o = e.__style;
|
|
2378
|
-
if (
|
|
2379
|
-
var s =
|
|
2380
|
-
(!
|
|
2444
|
+
if (E || o !== n) {
|
|
2445
|
+
var s = Dr(n);
|
|
2446
|
+
(!E || s !== e.getAttribute("style")) && (s == null ? e.removeAttribute("style") : e.style.cssText = s), e.__style = n;
|
|
2381
2447
|
}
|
|
2382
2448
|
return i;
|
|
2383
2449
|
}
|
|
2384
|
-
const
|
|
2385
|
-
function
|
|
2386
|
-
var o =
|
|
2387
|
-
|
|
2450
|
+
const Ir = /* @__PURE__ */ Symbol("is custom element"), Pr = /* @__PURE__ */ Symbol("is html"), Br = zs ? "link" : "LINK";
|
|
2451
|
+
function Kn(e, n, t, i) {
|
|
2452
|
+
var o = Gr(e);
|
|
2453
|
+
E && (o[n] = e.getAttribute(n), n === "src" || n === "srcset" || n === "href" && e.nodeName === Br) || o[n] !== (o[n] = t) && (n === "loading" && (e[Rs] = t), t == null ? e.removeAttribute(n) : typeof t != "string" && Hr(e).includes(n) ? e[n] = t : e.setAttribute(n, t));
|
|
2388
2454
|
}
|
|
2389
|
-
function
|
|
2455
|
+
function Gr(e) {
|
|
2390
2456
|
return (
|
|
2391
2457
|
/** @type {Record<string | symbol, unknown>} **/
|
|
2392
2458
|
// @ts-expect-error
|
|
2393
2459
|
e.__attributes ?? (e.__attributes = {
|
|
2394
|
-
[
|
|
2395
|
-
[
|
|
2460
|
+
[Ir]: e.nodeName.includes("-"),
|
|
2461
|
+
[Pr]: e.namespaceURI === oo
|
|
2396
2462
|
})
|
|
2397
2463
|
);
|
|
2398
2464
|
}
|
|
2399
|
-
var
|
|
2400
|
-
function
|
|
2401
|
-
var n = e.getAttribute("is") || e.nodeName, t =
|
|
2465
|
+
var Xi = /* @__PURE__ */ new Map();
|
|
2466
|
+
function Hr(e) {
|
|
2467
|
+
var n = e.getAttribute("is") || e.nodeName, t = Xi.get(n);
|
|
2402
2468
|
if (t) return t;
|
|
2403
|
-
|
|
2469
|
+
Xi.set(n, t = []);
|
|
2404
2470
|
for (var i, o = e, s = Element.prototype; s !== o; ) {
|
|
2405
|
-
i =
|
|
2471
|
+
i = ks(o);
|
|
2406
2472
|
for (var r in i)
|
|
2407
2473
|
i[r].set && t.push(r);
|
|
2408
|
-
o =
|
|
2474
|
+
o = ro(o);
|
|
2409
2475
|
}
|
|
2410
2476
|
return t;
|
|
2411
2477
|
}
|
|
2412
|
-
function
|
|
2413
|
-
return e === n || e?.[
|
|
2478
|
+
function Ki(e, n) {
|
|
2479
|
+
return e === n || e?.[ht] === n;
|
|
2414
2480
|
}
|
|
2415
|
-
function
|
|
2416
|
-
return
|
|
2481
|
+
function Fr(e = {}, n, t, i) {
|
|
2482
|
+
return Go(() => {
|
|
2417
2483
|
var o, s;
|
|
2418
2484
|
return gi(() => {
|
|
2419
2485
|
o = s, s = [], wi(() => {
|
|
2420
|
-
e !== t(...s) && (n(e, ...s), o &&
|
|
2486
|
+
e !== t(...s) && (n(e, ...s), o && Ki(t(...o), e) && n(null, ...o));
|
|
2421
2487
|
});
|
|
2422
2488
|
}), () => {
|
|
2423
2489
|
Ke(() => {
|
|
2424
|
-
s &&
|
|
2490
|
+
s && Ki(t(...s), e) && n(null, ...s);
|
|
2425
2491
|
});
|
|
2426
2492
|
};
|
|
2427
2493
|
}), e;
|
|
2428
2494
|
}
|
|
2429
|
-
function
|
|
2495
|
+
function Kt(e, n, t, i) {
|
|
2430
2496
|
var o = (
|
|
2431
2497
|
/** @type {V} */
|
|
2432
2498
|
i
|
|
2433
2499
|
), s = !0, r = () => (s && (s = !1, o = /** @type {V} */
|
|
2434
|
-
i), o),
|
|
2435
|
-
|
|
2436
|
-
e[n],
|
|
2437
|
-
var
|
|
2438
|
-
|
|
2500
|
+
i), o), a;
|
|
2501
|
+
a = /** @type {V} */
|
|
2502
|
+
e[n], a === void 0 && i !== void 0 && (a = r());
|
|
2503
|
+
var c;
|
|
2504
|
+
c = () => {
|
|
2439
2505
|
var p = (
|
|
2440
2506
|
/** @type {V} */
|
|
2441
2507
|
e[n]
|
|
2442
2508
|
);
|
|
2443
2509
|
return p === void 0 ? r() : (s = !0, p);
|
|
2444
2510
|
};
|
|
2445
|
-
var u = !1, d = /* @__PURE__ */
|
|
2511
|
+
var u = !1, d = /* @__PURE__ */ jt(() => (u = !1, c())), m = (
|
|
2446
2512
|
/** @type {Effect} */
|
|
2447
|
-
|
|
2513
|
+
A
|
|
2448
2514
|
);
|
|
2449
2515
|
return (
|
|
2450
2516
|
/** @type {() => V} */
|
|
2451
|
-
(function(p,
|
|
2517
|
+
(function(p, h) {
|
|
2452
2518
|
if (arguments.length > 0) {
|
|
2453
|
-
const
|
|
2454
|
-
return
|
|
2519
|
+
const g = h ? _(d) : p;
|
|
2520
|
+
return I(d, g), u = !0, o !== void 0 && (o = g), p;
|
|
2455
2521
|
}
|
|
2456
|
-
return
|
|
2522
|
+
return on && u || (m.f & Xe) !== 0 ? d.v : _(d);
|
|
2457
2523
|
})
|
|
2458
2524
|
);
|
|
2459
2525
|
}
|
|
2460
|
-
function
|
|
2461
|
-
return new
|
|
2526
|
+
function Ur(e) {
|
|
2527
|
+
return new Xr(e);
|
|
2462
2528
|
}
|
|
2463
|
-
var
|
|
2464
|
-
class
|
|
2529
|
+
var He, de;
|
|
2530
|
+
class Xr {
|
|
2465
2531
|
/**
|
|
2466
2532
|
* @param {ComponentConstructorOptions & {
|
|
2467
2533
|
* component: any;
|
|
@@ -2469,12 +2535,12 @@ class Rr {
|
|
|
2469
2535
|
*/
|
|
2470
2536
|
constructor(n) {
|
|
2471
2537
|
/** @type {any} */
|
|
2472
|
-
v(this,
|
|
2538
|
+
v(this, He);
|
|
2473
2539
|
/** @type {Record<string, any>} */
|
|
2474
2540
|
v(this, de);
|
|
2475
2541
|
var t = /* @__PURE__ */ new Map(), i = (s, r) => {
|
|
2476
|
-
var
|
|
2477
|
-
return t.set(s,
|
|
2542
|
+
var a = /* @__PURE__ */ No(r, !1, !1);
|
|
2543
|
+
return t.set(s, a), a;
|
|
2478
2544
|
};
|
|
2479
2545
|
const o = new Proxy(
|
|
2480
2546
|
{ ...n.props || {}, $$events: {} },
|
|
@@ -2483,42 +2549,42 @@ class Rr {
|
|
|
2483
2549
|
return _(t.get(r) ?? i(r, Reflect.get(s, r)));
|
|
2484
2550
|
},
|
|
2485
2551
|
has(s, r) {
|
|
2486
|
-
return r ===
|
|
2552
|
+
return r === Ts ? !0 : (_(t.get(r) ?? i(r, Reflect.get(s, r))), Reflect.has(s, r));
|
|
2487
2553
|
},
|
|
2488
|
-
set(s, r,
|
|
2489
|
-
return
|
|
2554
|
+
set(s, r, a) {
|
|
2555
|
+
return I(t.get(r) ?? i(r, a), a), Reflect.set(s, r, a);
|
|
2490
2556
|
}
|
|
2491
2557
|
}
|
|
2492
2558
|
);
|
|
2493
|
-
b(this, de, (n.hydrate ?
|
|
2559
|
+
b(this, de, (n.hydrate ? Cr : ns)(n.component, {
|
|
2494
2560
|
target: n.target,
|
|
2495
2561
|
anchor: n.anchor,
|
|
2496
2562
|
props: o,
|
|
2497
2563
|
context: n.context,
|
|
2498
2564
|
intro: n.intro ?? !1,
|
|
2499
2565
|
recover: n.recover
|
|
2500
|
-
})), (!n?.props?.$$host || n.sync === !1) &&
|
|
2501
|
-
for (const s of Object.keys(
|
|
2502
|
-
s === "$set" || s === "$destroy" || s === "$on" ||
|
|
2566
|
+
})), (!n?.props?.$$host || n.sync === !1) && gt(), b(this, He, o.$$events);
|
|
2567
|
+
for (const s of Object.keys(l(this, de)))
|
|
2568
|
+
s === "$set" || s === "$destroy" || s === "$on" || kt(this, s, {
|
|
2503
2569
|
get() {
|
|
2504
|
-
return
|
|
2570
|
+
return l(this, de)[s];
|
|
2505
2571
|
},
|
|
2506
2572
|
/** @param {any} value */
|
|
2507
2573
|
set(r) {
|
|
2508
|
-
|
|
2574
|
+
l(this, de)[s] = r;
|
|
2509
2575
|
},
|
|
2510
2576
|
enumerable: !0
|
|
2511
2577
|
});
|
|
2512
|
-
|
|
2578
|
+
l(this, de).$set = /** @param {Record<string, any>} next */
|
|
2513
2579
|
(s) => {
|
|
2514
2580
|
Object.assign(o, s);
|
|
2515
|
-
},
|
|
2516
|
-
|
|
2581
|
+
}, l(this, de).$destroy = () => {
|
|
2582
|
+
Tr(l(this, de));
|
|
2517
2583
|
};
|
|
2518
2584
|
}
|
|
2519
2585
|
/** @param {Record<string, any>} props */
|
|
2520
2586
|
$set(n) {
|
|
2521
|
-
|
|
2587
|
+
l(this, de).$set(n);
|
|
2522
2588
|
}
|
|
2523
2589
|
/**
|
|
2524
2590
|
* @param {string} event
|
|
@@ -2526,22 +2592,22 @@ class Rr {
|
|
|
2526
2592
|
* @returns {any}
|
|
2527
2593
|
*/
|
|
2528
2594
|
$on(n, t) {
|
|
2529
|
-
|
|
2595
|
+
l(this, He)[n] = l(this, He)[n] || [];
|
|
2530
2596
|
const i = (...o) => t.call(this, ...o);
|
|
2531
|
-
return
|
|
2532
|
-
|
|
2597
|
+
return l(this, He)[n].push(i), () => {
|
|
2598
|
+
l(this, He)[n] = l(this, He)[n].filter(
|
|
2533
2599
|
/** @param {any} fn */
|
|
2534
2600
|
(o) => o !== i
|
|
2535
2601
|
);
|
|
2536
2602
|
};
|
|
2537
2603
|
}
|
|
2538
2604
|
$destroy() {
|
|
2539
|
-
|
|
2605
|
+
l(this, de).$destroy();
|
|
2540
2606
|
}
|
|
2541
2607
|
}
|
|
2542
|
-
|
|
2543
|
-
let
|
|
2544
|
-
typeof HTMLElement == "function" && (
|
|
2608
|
+
He = new WeakMap(), de = new WeakMap();
|
|
2609
|
+
let is;
|
|
2610
|
+
typeof HTMLElement == "function" && (is = class extends HTMLElement {
|
|
2545
2611
|
/**
|
|
2546
2612
|
* @param {*} $$componentCtor
|
|
2547
2613
|
* @param {*} $$slots
|
|
@@ -2550,27 +2616,27 @@ typeof HTMLElement == "function" && (qo = class extends HTMLElement {
|
|
|
2550
2616
|
constructor(n, t, i) {
|
|
2551
2617
|
super();
|
|
2552
2618
|
/** The Svelte component constructor */
|
|
2553
|
-
|
|
2619
|
+
L(this, "$$ctor");
|
|
2554
2620
|
/** Slots */
|
|
2555
|
-
|
|
2621
|
+
L(this, "$$s");
|
|
2556
2622
|
/** @type {any} The Svelte component instance */
|
|
2557
|
-
|
|
2623
|
+
L(this, "$$c");
|
|
2558
2624
|
/** Whether or not the custom element is connected */
|
|
2559
|
-
|
|
2625
|
+
L(this, "$$cn", !1);
|
|
2560
2626
|
/** @type {Record<string, any>} Component props data */
|
|
2561
|
-
|
|
2627
|
+
L(this, "$$d", {});
|
|
2562
2628
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
2563
|
-
|
|
2629
|
+
L(this, "$$r", !1);
|
|
2564
2630
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
2565
|
-
|
|
2631
|
+
L(this, "$$p_d", {});
|
|
2566
2632
|
/** @type {Record<string, EventListenerOrEventListenerObject[]>} Event listeners */
|
|
2567
|
-
|
|
2633
|
+
L(this, "$$l", {});
|
|
2568
2634
|
/** @type {Map<EventListenerOrEventListenerObject, Function>} Event listener unsubscribe functions */
|
|
2569
|
-
|
|
2635
|
+
L(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
2570
2636
|
/** @type {any} The managed render effect for reflecting attributes */
|
|
2571
|
-
|
|
2637
|
+
L(this, "$$me");
|
|
2572
2638
|
/** @type {ShadowRoot | null} The ShadowRoot of the custom element */
|
|
2573
|
-
|
|
2639
|
+
L(this, "$$shadowRoot", null);
|
|
2574
2640
|
this.$$ctor = n, this.$$s = t, i && (this.$$shadowRoot = this.attachShadow(i));
|
|
2575
2641
|
}
|
|
2576
2642
|
/**
|
|
@@ -2600,22 +2666,22 @@ typeof HTMLElement == "function" && (qo = class extends HTMLElement {
|
|
|
2600
2666
|
if (this.$$cn = !0, !this.$$c) {
|
|
2601
2667
|
let n = function(o) {
|
|
2602
2668
|
return (s) => {
|
|
2603
|
-
const r =
|
|
2604
|
-
o !== "default" && (r.name = o),
|
|
2669
|
+
const r = _i("slot");
|
|
2670
|
+
o !== "default" && (r.name = o), ye(s, r);
|
|
2605
2671
|
};
|
|
2606
2672
|
};
|
|
2607
2673
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
2608
2674
|
return;
|
|
2609
|
-
const t = {}, i =
|
|
2675
|
+
const t = {}, i = Kr(this);
|
|
2610
2676
|
for (const o of this.$$s)
|
|
2611
2677
|
o in i && (o === "default" && !this.$$d.children ? (this.$$d.children = n(o), t.default = !0) : t[o] = n(o));
|
|
2612
2678
|
for (const o of this.attributes) {
|
|
2613
2679
|
const s = this.$$g_p(o.name);
|
|
2614
|
-
s in this.$$d || (this.$$d[s] =
|
|
2680
|
+
s in this.$$d || (this.$$d[s] = wt(s, o.value, this.$$p_d, "toProp"));
|
|
2615
2681
|
}
|
|
2616
2682
|
for (const o in this.$$p_d)
|
|
2617
2683
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
2618
|
-
this.$$c =
|
|
2684
|
+
this.$$c = Ur({
|
|
2619
2685
|
component: this.$$ctor,
|
|
2620
2686
|
target: this.$$shadowRoot || this,
|
|
2621
2687
|
props: {
|
|
@@ -2623,13 +2689,13 @@ typeof HTMLElement == "function" && (qo = class extends HTMLElement {
|
|
|
2623
2689
|
$$slots: t,
|
|
2624
2690
|
$$host: this
|
|
2625
2691
|
}
|
|
2626
|
-
}), this.$$me =
|
|
2692
|
+
}), this.$$me = pr(() => {
|
|
2627
2693
|
gi(() => {
|
|
2628
2694
|
this.$$r = !0;
|
|
2629
|
-
for (const o of
|
|
2695
|
+
for (const o of xt(this.$$c)) {
|
|
2630
2696
|
if (!this.$$p_d[o]?.reflect) continue;
|
|
2631
2697
|
this.$$d[o] = this.$$c[o];
|
|
2632
|
-
const s =
|
|
2698
|
+
const s = wt(
|
|
2633
2699
|
o,
|
|
2634
2700
|
this.$$d[o],
|
|
2635
2701
|
this.$$p_d,
|
|
@@ -2656,7 +2722,7 @@ typeof HTMLElement == "function" && (qo = class extends HTMLElement {
|
|
|
2656
2722
|
* @param {string} newValue
|
|
2657
2723
|
*/
|
|
2658
2724
|
attributeChangedCallback(n, t, i) {
|
|
2659
|
-
this.$$r || (n = this.$$g_p(n), this.$$d[n] =
|
|
2725
|
+
this.$$r || (n = this.$$g_p(n), this.$$d[n] = wt(n, i, this.$$p_d, "toProp"), this.$$c?.$set({ [n]: this.$$d[n] }));
|
|
2660
2726
|
}
|
|
2661
2727
|
disconnectedCallback() {
|
|
2662
2728
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -2667,12 +2733,12 @@ typeof HTMLElement == "function" && (qo = class extends HTMLElement {
|
|
|
2667
2733
|
* @param {string} attribute_name
|
|
2668
2734
|
*/
|
|
2669
2735
|
$$g_p(n) {
|
|
2670
|
-
return
|
|
2736
|
+
return xt(this.$$p_d).find(
|
|
2671
2737
|
(t) => this.$$p_d[t].attribute === n || !this.$$p_d[t].attribute && t.toLowerCase() === n
|
|
2672
2738
|
) || n;
|
|
2673
2739
|
}
|
|
2674
2740
|
});
|
|
2675
|
-
function
|
|
2741
|
+
function wt(e, n, t, i) {
|
|
2676
2742
|
const o = t[e]?.type;
|
|
2677
2743
|
if (n = o === "Boolean" && typeof n != "boolean" ? n != null : n, !i || !t[e])
|
|
2678
2744
|
return n;
|
|
@@ -2702,7 +2768,7 @@ function kt(e, n, t, i) {
|
|
|
2702
2768
|
return n;
|
|
2703
2769
|
}
|
|
2704
2770
|
}
|
|
2705
|
-
function
|
|
2771
|
+
function Kr(e) {
|
|
2706
2772
|
const n = {};
|
|
2707
2773
|
return e.childNodes.forEach((t) => {
|
|
2708
2774
|
n[
|
|
@@ -2711,95 +2777,278 @@ function Cr(e) {
|
|
|
2711
2777
|
] = !0;
|
|
2712
2778
|
}), n;
|
|
2713
2779
|
}
|
|
2714
|
-
function
|
|
2715
|
-
let r = class extends
|
|
2780
|
+
function Wr(e, n, t, i, o, s) {
|
|
2781
|
+
let r = class extends is {
|
|
2716
2782
|
constructor() {
|
|
2717
2783
|
super(e, t, o), this.$$p_d = n;
|
|
2718
2784
|
}
|
|
2719
2785
|
static get observedAttributes() {
|
|
2720
|
-
return
|
|
2721
|
-
(
|
|
2786
|
+
return xt(n).map(
|
|
2787
|
+
(a) => (n[a].attribute || a).toLowerCase()
|
|
2722
2788
|
);
|
|
2723
2789
|
}
|
|
2724
2790
|
};
|
|
2725
|
-
return
|
|
2726
|
-
|
|
2791
|
+
return xt(n).forEach((a) => {
|
|
2792
|
+
kt(r.prototype, a, {
|
|
2727
2793
|
get() {
|
|
2728
|
-
return this.$$c &&
|
|
2794
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
2729
2795
|
},
|
|
2730
|
-
set(
|
|
2731
|
-
|
|
2796
|
+
set(c) {
|
|
2797
|
+
c = wt(a, c, n), this.$$d[a] = c;
|
|
2732
2798
|
var u = this.$$c;
|
|
2733
2799
|
if (u) {
|
|
2734
|
-
var d =
|
|
2735
|
-
d ? u[
|
|
2800
|
+
var d = Sn(u, a)?.get;
|
|
2801
|
+
d ? u[a] = c : u.$set({ [a]: c });
|
|
2736
2802
|
}
|
|
2737
2803
|
}
|
|
2738
2804
|
});
|
|
2739
|
-
}), i.forEach((
|
|
2740
|
-
|
|
2805
|
+
}), i.forEach((a) => {
|
|
2806
|
+
kt(r.prototype, a, {
|
|
2741
2807
|
get() {
|
|
2742
|
-
return this.$$c?.[
|
|
2808
|
+
return this.$$c?.[a];
|
|
2743
2809
|
}
|
|
2744
2810
|
});
|
|
2745
2811
|
}), e.element = /** @type {any} */
|
|
2746
2812
|
r, r;
|
|
2747
2813
|
}
|
|
2748
|
-
var
|
|
2814
|
+
var Wi;
|
|
2749
2815
|
(function(e) {
|
|
2750
2816
|
e.TTS_WORD = "tts-word", e.TTS_SENTENCE = "tts-sentence", e.ANNOTATION = "annotation";
|
|
2751
|
-
})(
|
|
2752
|
-
var
|
|
2817
|
+
})(Wi || (Wi = {}));
|
|
2818
|
+
var Vi;
|
|
2753
2819
|
(function(e) {
|
|
2754
|
-
e.YELLOW = "yellow", e.GREEN = "green", e.BLUE = "blue", e.PINK = "pink", e.ORANGE = "orange";
|
|
2755
|
-
})(
|
|
2756
|
-
const
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2820
|
+
e.YELLOW = "yellow", e.GREEN = "green", e.BLUE = "blue", e.PINK = "pink", e.ORANGE = "orange", e.UNDERLINE = "underline";
|
|
2821
|
+
})(Vi || (Vi = {}));
|
|
2822
|
+
const Vr = {
|
|
2823
|
+
/**
|
|
2824
|
+
* Visual accessibility features
|
|
2825
|
+
* For students with low vision, color blindness, or visual processing needs
|
|
2826
|
+
*/
|
|
2827
|
+
visual: {
|
|
2828
|
+
// Magnification and zoom
|
|
2829
|
+
magnification: "magnification",
|
|
2830
|
+
screenMagnifier: "screenMagnifier",
|
|
2831
|
+
zoomable: "zoomable",
|
|
2832
|
+
// Color and contrast
|
|
2833
|
+
highContrastDisplay: "highContrastDisplay",
|
|
2834
|
+
highContrastAudio: "highContrastAudio",
|
|
2835
|
+
colorContrast: "colorContrast",
|
|
2836
|
+
invertColors: "invertColors",
|
|
2837
|
+
// Display customization
|
|
2838
|
+
displayTransformability: "displayTransformability",
|
|
2839
|
+
largePrint: "largePrint",
|
|
2840
|
+
fontEnlargement: "fontEnlargement",
|
|
2841
|
+
resizeText: "resizeText",
|
|
2842
|
+
// Visual alternatives
|
|
2843
|
+
alternativeText: "alternativeText",
|
|
2844
|
+
longDescription: "longDescription",
|
|
2845
|
+
describedMath: "describedMath",
|
|
2846
|
+
tactileGraphic: "tactileGraphic",
|
|
2847
|
+
tactileObject: "tactileObject"
|
|
2848
|
+
},
|
|
2849
|
+
/**
|
|
2850
|
+
* Auditory accessibility features
|
|
2851
|
+
* For students who are deaf, hard of hearing, or benefit from audio
|
|
2852
|
+
*/
|
|
2853
|
+
auditory: {
|
|
2854
|
+
// Audio output
|
|
2855
|
+
audioDescription: "audioDescription",
|
|
2856
|
+
textToSpeech: "textToSpeech",
|
|
2857
|
+
readAloud: "readAloud",
|
|
2858
|
+
humanVoice: "humanVoice",
|
|
2859
|
+
syntheticVoice: "syntheticVoice",
|
|
2860
|
+
// Speech control
|
|
2861
|
+
speechRate: "speechRate",
|
|
2862
|
+
speechVolume: "speechVolume",
|
|
2863
|
+
voicePitch: "voicePitch",
|
|
2864
|
+
// Visual alternatives for audio
|
|
2865
|
+
captions: "captions",
|
|
2866
|
+
closedCaptions: "closedCaptions",
|
|
2867
|
+
openCaptions: "openCaptions",
|
|
2868
|
+
transcript: "transcript",
|
|
2869
|
+
signLanguage: "signLanguage",
|
|
2870
|
+
subtitles: "subtitles",
|
|
2871
|
+
// Audio adjustments
|
|
2872
|
+
audioControl: "audioControl",
|
|
2873
|
+
noBackgroundAudio: "noBackgroundAudio"
|
|
2874
|
+
},
|
|
2875
|
+
/**
|
|
2876
|
+
* Motor/physical accessibility features
|
|
2877
|
+
* For students with limited mobility or motor control
|
|
2878
|
+
*/
|
|
2879
|
+
motor: {
|
|
2880
|
+
// Input alternatives
|
|
2881
|
+
keyboardControl: "keyboardControl",
|
|
2882
|
+
mouseControl: "mouseControl",
|
|
2883
|
+
touchControl: "touchControl",
|
|
2884
|
+
voiceControl: "voiceControl",
|
|
2885
|
+
switchControl: "switchControl",
|
|
2886
|
+
eyeGazeControl: "eyeGazeControl",
|
|
2887
|
+
// Keyboard features
|
|
2888
|
+
singleSwitchAccess: "singleSwitchAccess",
|
|
2889
|
+
stickyKeys: "stickyKeys",
|
|
2890
|
+
keyboardShortcuts: "keyboardShortcuts",
|
|
2891
|
+
// Timing
|
|
2892
|
+
timingControl: "timingControl",
|
|
2893
|
+
unlimitedTime: "unlimitedTime",
|
|
2894
|
+
extendedTime: "extendedTime",
|
|
2895
|
+
pauseControl: "pauseControl"
|
|
2896
|
+
},
|
|
2897
|
+
/**
|
|
2898
|
+
* Cognitive/learning accessibility features
|
|
2899
|
+
* For students with learning disabilities, ADHD, autism, etc.
|
|
2900
|
+
*/
|
|
2901
|
+
cognitive: {
|
|
2902
|
+
// Content simplification
|
|
2903
|
+
simplifiedLanguage: "simplifiedLanguage",
|
|
2904
|
+
reducedComplexity: "reducedComplexity",
|
|
2905
|
+
structuralNavigation: "structuralNavigation",
|
|
2906
|
+
tableOfContents: "tableOfContents",
|
|
2907
|
+
// Focus and attention
|
|
2908
|
+
reducedDistraction: "reducedDistraction",
|
|
2909
|
+
noFlashing: "noFlashing",
|
|
2910
|
+
pauseAnimation: "pauseAnimation",
|
|
2911
|
+
// Organization and support
|
|
2912
|
+
annotations: "annotations",
|
|
2913
|
+
bookmarking: "bookmarking",
|
|
2914
|
+
highlighting: "highlighting",
|
|
2915
|
+
guidedNavigation: "guidedNavigation",
|
|
2916
|
+
// Tools
|
|
2917
|
+
calculator: "calculator",
|
|
2918
|
+
dictionary: "dictionary",
|
|
2919
|
+
thesaurus: "thesaurus",
|
|
2920
|
+
spellingAssistance: "spellingAssistance",
|
|
2921
|
+
grammarAssistance: "grammarAssistance"
|
|
2922
|
+
},
|
|
2923
|
+
/**
|
|
2924
|
+
* Reading support features
|
|
2925
|
+
* For students with dyslexia or reading challenges
|
|
2926
|
+
*/
|
|
2927
|
+
reading: {
|
|
2928
|
+
// Text presentation
|
|
2929
|
+
lineSpacing: "lineSpacing",
|
|
2930
|
+
wordSpacing: "wordSpacing",
|
|
2931
|
+
letterSpacing: "letterSpacing",
|
|
2932
|
+
fontFamily: "fontFamily",
|
|
2933
|
+
readingMask: "readingMask",
|
|
2934
|
+
readingGuide: "readingGuide",
|
|
2935
|
+
readingRuler: "readingRuler",
|
|
2936
|
+
// Highlighting and emphasis
|
|
2937
|
+
wordHighlighting: "wordHighlighting",
|
|
2938
|
+
lineHighlighting: "lineHighlighting",
|
|
2939
|
+
focusIndicator: "focusIndicator",
|
|
2940
|
+
// Content support
|
|
2941
|
+
printableResource: "printableResource",
|
|
2942
|
+
braille: "braille",
|
|
2943
|
+
nemeth: "nemeth",
|
|
2944
|
+
refreshableBraille: "refreshableBraille"
|
|
2945
|
+
},
|
|
2946
|
+
/**
|
|
2947
|
+
* Navigation features
|
|
2948
|
+
* For efficient content navigation
|
|
2949
|
+
*/
|
|
2950
|
+
navigation: {
|
|
2951
|
+
// Structure
|
|
2952
|
+
index: "index",
|
|
2953
|
+
pageNavigation: "pageNavigation",
|
|
2954
|
+
skipContent: "skipContent",
|
|
2955
|
+
breadcrumbs: "breadcrumbs",
|
|
2956
|
+
// Search
|
|
2957
|
+
searchable: "searchable",
|
|
2958
|
+
fullTextSearch: "fullTextSearch"
|
|
2959
|
+
},
|
|
2960
|
+
/**
|
|
2961
|
+
* Linguistic features
|
|
2962
|
+
* For language support
|
|
2963
|
+
*/
|
|
2964
|
+
linguistic: {
|
|
2965
|
+
// Languages
|
|
2966
|
+
multilingualText: "multilingualText",
|
|
2967
|
+
translatedText: "translatedText",
|
|
2968
|
+
glossary: "glossary",
|
|
2969
|
+
// Sign language
|
|
2970
|
+
signLanguageInterpretation: "signLanguageInterpretation",
|
|
2971
|
+
visualLanguage: "visualLanguage"
|
|
2972
|
+
},
|
|
2973
|
+
/**
|
|
2974
|
+
* Assessment-specific features
|
|
2975
|
+
* Features specific to test-taking environments
|
|
2976
|
+
*/
|
|
2977
|
+
assessment: {
|
|
2978
|
+
// Tools
|
|
2979
|
+
protractor: "protractor",
|
|
2980
|
+
ruler: "ruler",
|
|
2981
|
+
graph: "graph",
|
|
2982
|
+
graphingCalculator: "graphingCalculator",
|
|
2983
|
+
periodicTable: "periodicTable",
|
|
2984
|
+
formulaSheet: "formulaSheet",
|
|
2985
|
+
// Answer support
|
|
2986
|
+
answerMasking: "answerMasking",
|
|
2987
|
+
answerEliminator: "answerEliminator",
|
|
2988
|
+
strikethrough: "strikethrough",
|
|
2989
|
+
// Item features
|
|
2990
|
+
itemGlossary: "itemGlossary",
|
|
2991
|
+
tutorialAvailable: "tutorialAvailable"
|
|
2992
|
+
}
|
|
2772
2993
|
};
|
|
2773
|
-
Object.
|
|
2774
|
-
var
|
|
2994
|
+
Object.values(Vr).flatMap((e) => Object.values(e));
|
|
2995
|
+
var Et;
|
|
2775
2996
|
(function(e) {
|
|
2776
2997
|
e[e.BASE = 0] = "BASE", e[e.TOOL = 1e3] = "TOOL", e[e.MODAL = 2e3] = "MODAL", e[e.CONTROL = 3e3] = "CONTROL", e[e.HIGHLIGHT = 4e3] = "HIGHLIGHT";
|
|
2777
|
-
})(
|
|
2778
|
-
var
|
|
2998
|
+
})(Et || (Et = {}));
|
|
2999
|
+
var Ji;
|
|
2779
3000
|
(function(e) {
|
|
2780
3001
|
e.IDLE = "idle", e.LOADING = "loading", e.PLAYING = "playing", e.PAUSED = "paused", e.ERROR = "error";
|
|
2781
|
-
})(
|
|
2782
|
-
const
|
|
2783
|
-
function
|
|
3002
|
+
})(Ji || (Ji = {}));
|
|
3003
|
+
const Jr = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, os = "https://proxy.pie-api.com", qr = `${os}/bundles/`;
|
|
3004
|
+
function ss(e) {
|
|
2784
3005
|
try {
|
|
2785
|
-
const n =
|
|
2786
|
-
if (typeof n == "string" && n.length > 0)
|
|
3006
|
+
const n = Jr?.[e];
|
|
3007
|
+
if (typeof n == "string" && n.length > 0)
|
|
3008
|
+
return n;
|
|
2787
3009
|
} catch {
|
|
2788
3010
|
}
|
|
2789
3011
|
}
|
|
2790
|
-
typeof window < "u" && window.PIE_BUILDER_ORIGIN_URL ||
|
|
2791
|
-
typeof window < "u" && window.PIE_BUILDER_BUNDLE_URL ||
|
|
2792
|
-
var
|
|
3012
|
+
typeof window < "u" && window.PIE_BUILDER_ORIGIN_URL || ss("PUBLIC_BUILDER_ORIGIN_URL");
|
|
3013
|
+
typeof window < "u" && window.PIE_BUILDER_BUNDLE_URL || ss("PUBLIC_BUILDER_BUNDLE_URL");
|
|
3014
|
+
var ai;
|
|
3015
|
+
(function(e) {
|
|
3016
|
+
e.player = "player.js", e.clientPlayer = "client-player.js", e.editor = "editor.js";
|
|
3017
|
+
})(ai || (ai = {}));
|
|
3018
|
+
var qi;
|
|
3019
|
+
(function(e) {
|
|
3020
|
+
e.loading = "loading", e.loaded = "loaded";
|
|
3021
|
+
})(qi || (qi = {}));
|
|
2793
3022
|
typeof window < "u" && !window.pieHelpers && (window.pieHelpers = {
|
|
2794
3023
|
loadingScripts: {},
|
|
2795
3024
|
loadingPromises: {}
|
|
2796
3025
|
});
|
|
2797
|
-
|
|
2798
|
-
const Mr = /* @__PURE__ */ JSON.parse('[{"name":"Hydrogen","atomic_mass":1.008,"boil":20.271,"category":"diatomic nonmetal","density":0.08988,"discovered_by":"Henry Cavendish","melt":13.99,"molar_heat":28.836,"named_by":"Antoine Lavoisier","number":1,"period":1,"group":1,"phase":"Gas","symbol":"H","xpos":1,"ypos":1,"wxpos":1,"wypos":1,"shells":[1],"electron_configuration":"1s1","electron_configuration_semantic":"1s1","electron_affinity":72.769,"electronegativity_pauling":2.2,"ionization_energies":[1312],"block":"s"},{"name":"Helium","atomic_mass":4.0026022,"boil":4.222,"category":"noble gas","density":0.1786,"discovered_by":"Pierre Janssen","melt":0.95,"molar_heat":null,"named_by":null,"number":2,"period":1,"group":18,"phase":"Gas","symbol":"He","xpos":18,"ypos":1,"wxpos":32,"wypos":1,"shells":[2],"electron_configuration":"1s2","electron_configuration_semantic":"1s2","electron_affinity":-48,"electronegativity_pauling":null,"ionization_energies":[2372.3,5250.5],"block":"s"},{"name":"Lithium","atomic_mass":6.94,"boil":1603,"category":"alkali metal","density":0.534,"discovered_by":"Johan August Arfwedson","melt":453.65,"molar_heat":24.86,"named_by":null,"number":3,"period":2,"group":1,"phase":"Solid","symbol":"Li","xpos":1,"ypos":2,"wxpos":1,"wypos":2,"shells":[2,1],"electron_configuration":"1s2 2s1","electron_configuration_semantic":"[He] 2s1","electron_affinity":59.6326,"electronegativity_pauling":0.98,"ionization_energies":[520.2,7298.1,11815],"block":"s"},{"name":"Beryllium","atomic_mass":9.01218315,"boil":2742,"category":"alkaline earth metal","density":1.85,"discovered_by":"Louis Nicolas Vauquelin","melt":1560,"molar_heat":16.443,"named_by":null,"number":4,"period":2,"group":2,"phase":"Solid","symbol":"Be","xpos":2,"ypos":2,"wxpos":2,"wypos":2,"shells":[2,2],"electron_configuration":"1s2 2s2","electron_configuration_semantic":"[He] 2s2","electron_affinity":-48,"electronegativity_pauling":1.57,"ionization_energies":[899.5,1757.1,14848.7,21006.6],"block":"s"},{"name":"Boron","atomic_mass":10.81,"boil":4200,"category":"metalloid","density":2.08,"discovered_by":"Joseph Louis Gay-Lussac","melt":2349,"molar_heat":11.087,"named_by":null,"number":5,"period":2,"group":13,"phase":"Solid","symbol":"B","xpos":13,"ypos":2,"wxpos":27,"wypos":2,"shells":[2,3],"electron_configuration":"1s2 2s2 2p1","electron_configuration_semantic":"[He] 2s2 2p1","electron_affinity":26.989,"electronegativity_pauling":2.04,"ionization_energies":[800.6,2427.1,3659.7,25025.8,32826.7],"block":"p"},{"name":"Carbon","atomic_mass":12.011,"boil":null,"category":"polyatomic nonmetal","density":1.821,"discovered_by":"Ancient Egypt","melt":null,"molar_heat":8.517,"named_by":null,"number":6,"period":2,"group":14,"phase":"Solid","symbol":"C","xpos":14,"ypos":2,"wxpos":28,"wypos":2,"shells":[2,4],"electron_configuration":"1s2 2s2 2p2","electron_configuration_semantic":"[He] 2s2 2p2","electron_affinity":121.7763,"electronegativity_pauling":2.55,"ionization_energies":[1086.5,2352.6,4620.5,6222.7,37831,47277],"block":"p"},{"name":"Nitrogen","atomic_mass":14.007,"boil":77.355,"category":"diatomic nonmetal","density":1.251,"discovered_by":"Daniel Rutherford","melt":63.15,"molar_heat":null,"named_by":"Jean-Antoine Chaptal","number":7,"period":2,"group":15,"phase":"Gas","symbol":"N","xpos":15,"ypos":2,"wxpos":29,"wypos":2,"shells":[2,5],"electron_configuration":"1s2 2s2 2p3","electron_configuration_semantic":"[He] 2s2 2p3","electron_affinity":-6.8,"electronegativity_pauling":3.04,"ionization_energies":[1402.3,2856,4578.1,7475,9444.9,53266.6,64360],"block":"p"},{"name":"Oxygen","atomic_mass":15.999,"boil":90.188,"category":"diatomic nonmetal","density":1.429,"discovered_by":"Carl Wilhelm Scheele","melt":54.36,"molar_heat":null,"named_by":"Antoine Lavoisier","number":8,"period":2,"group":16,"phase":"Gas","symbol":"O","xpos":16,"ypos":2,"wxpos":30,"wypos":2,"shells":[2,6],"electron_configuration":"1s2 2s2 2p4","electron_configuration_semantic":"[He] 2s2 2p4","electron_affinity":140.976,"electronegativity_pauling":3.44,"ionization_energies":[1313.9,3388.3,5300.5,7469.2,10989.5,13326.5,71330,84078],"block":"p"},{"name":"Fluorine","atomic_mass":18.9984031636,"boil":85.03,"category":"diatomic nonmetal","density":1.696,"discovered_by":"André-Marie Ampère","melt":53.48,"molar_heat":null,"named_by":"Humphry Davy","number":9,"period":2,"group":17,"phase":"Gas","symbol":"F","xpos":17,"ypos":2,"wxpos":31,"wypos":2,"shells":[2,7],"electron_configuration":"1s2 2s2 2p5","electron_configuration_semantic":"[He] 2s2 2p5","electron_affinity":328.1649,"electronegativity_pauling":3.98,"ionization_energies":[1681,3374.2,6050.4,8407.7,11022.7,15164.1,17868,92038.1,106434.3],"block":"p"},{"name":"Neon","atomic_mass":20.17976,"boil":27.104,"category":"noble gas","density":0.9002,"discovered_by":"Morris Travers","melt":24.56,"molar_heat":null,"named_by":null,"number":10,"period":2,"group":18,"phase":"Gas","symbol":"Ne","xpos":18,"ypos":2,"wxpos":32,"wypos":2,"shells":[2,8],"electron_configuration":"1s2 2s2 2p6","electron_configuration_semantic":"[He] 2s2 2p6","electron_affinity":-116,"electronegativity_pauling":null,"ionization_energies":[2080.7,3952.3,6122,9371,12177,15238,19999,23069.5,115379.5,131432],"block":"p"},{"name":"Sodium","atomic_mass":22.989769282,"boil":1156.09,"category":"alkali metal","density":0.968,"discovered_by":"Humphry Davy","melt":370.944,"molar_heat":28.23,"named_by":null,"number":11,"period":3,"group":1,"phase":"Solid","symbol":"Na","xpos":1,"ypos":3,"wxpos":1,"wypos":3,"shells":[2,8,1],"electron_configuration":"1s2 2s2 2p6 3s1","electron_configuration_semantic":"[Ne] 3s1","electron_affinity":52.867,"electronegativity_pauling":0.93,"ionization_energies":[495.8,4562,6910.3,9543,13354,16613,20117,25496,28932,141362,159076],"block":"s"},{"name":"Magnesium","atomic_mass":24.305,"boil":1363,"category":"alkaline earth metal","density":1.738,"discovered_by":"Joseph Black","melt":923,"molar_heat":24.869,"named_by":null,"number":12,"period":3,"group":2,"phase":"Solid","symbol":"Mg","xpos":2,"ypos":3,"wxpos":2,"wypos":3,"shells":[2,8,2],"electron_configuration":"1s2 2s2 2p6 3s2","electron_configuration_semantic":"[Ne] 3s2","electron_affinity":-40,"electronegativity_pauling":1.31,"ionization_energies":[737.7,1450.7,7732.7,10542.5,13630,18020,21711,25661,31653,35458,169988,189368],"block":"s"},{"name":"Aluminium","atomic_mass":26.98153857,"boil":2743,"category":"post-transition metal","density":2.7,"discovered_by":null,"melt":933.47,"molar_heat":24.2,"named_by":"Humphry Davy","number":13,"period":3,"group":13,"phase":"Solid","symbol":"Al","xpos":13,"ypos":3,"wxpos":27,"wypos":3,"shells":[2,8,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p1","electron_configuration_semantic":"[Ne] 3s2 3p1","electron_affinity":41.762,"electronegativity_pauling":1.61,"ionization_energies":[577.5,1816.7,2744.8,11577,14842,18379,23326,27465,31853,38473,42647,201266,222316],"block":"p"},{"name":"Silicon","atomic_mass":28.085,"boil":3538,"category":"metalloid","density":2.329,"discovered_by":"Jöns Jacob Berzelius","melt":1687,"molar_heat":19.789,"named_by":"Thomas Thomson (chemist)","number":14,"period":3,"group":14,"phase":"Solid","symbol":"Si","xpos":14,"ypos":3,"wxpos":28,"wypos":3,"shells":[2,8,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p2","electron_configuration_semantic":"[Ne] 3s2 3p2","electron_affinity":134.0684,"electronegativity_pauling":1.9,"ionization_energies":[786.5,1577.1,3231.6,4355.5,16091,19805,23780,29287,33878,38726,45962,50502,235196,257923],"block":"p"},{"name":"Phosphorus","atomic_mass":30.9737619985,"boil":null,"category":"polyatomic nonmetal","density":1.823,"discovered_by":"Hennig Brand","melt":null,"molar_heat":23.824,"named_by":null,"number":15,"period":3,"group":15,"phase":"Solid","symbol":"P","xpos":15,"ypos":3,"wxpos":29,"wypos":3,"shells":[2,8,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p3","electron_configuration_semantic":"[Ne] 3s2 3p3","electron_affinity":72.037,"electronegativity_pauling":2.19,"ionization_energies":[1011.8,1907,2914.1,4963.6,6273.9,21267,25431,29872,35905,40950,46261,54110,59024,271791,296195],"block":"p"},{"name":"Sulfur","atomic_mass":32.06,"boil":717.8,"category":"polyatomic nonmetal","density":2.07,"discovered_by":"Ancient china","melt":388.36,"molar_heat":22.75,"named_by":null,"number":16,"period":3,"group":16,"phase":"Solid","symbol":"S","xpos":16,"ypos":3,"wxpos":30,"wypos":3,"shells":[2,8,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p4","electron_configuration_semantic":"[Ne] 3s2 3p4","electron_affinity":200.4101,"electronegativity_pauling":2.58,"ionization_energies":[999.6,2252,3357,4556,7004.3,8495.8,27107,31719,36621,43177,48710,54460,62930,68216,311048,337138],"block":"p"},{"name":"Chlorine","atomic_mass":35.45,"boil":239.11,"category":"diatomic nonmetal","density":3.2,"discovered_by":"Carl Wilhelm Scheele","melt":171.6,"molar_heat":null,"named_by":null,"number":17,"period":3,"group":17,"phase":"Gas","symbol":"Cl","xpos":17,"ypos":3,"wxpos":31,"wypos":3,"shells":[2,8,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p5","electron_configuration_semantic":"[Ne] 3s2 3p5","electron_affinity":348.575,"electronegativity_pauling":3.16,"ionization_energies":[1251.2,2298,3822,5158.6,6542,9362,11018,33604,38600,43961,51068,57119,63363,72341,78095,352994,380760],"block":"p"},{"name":"Argon","atomic_mass":39.9481,"boil":87.302,"category":"noble gas","density":1.784,"discovered_by":"Lord Rayleigh","melt":83.81,"molar_heat":null,"named_by":null,"number":18,"period":3,"group":18,"phase":"Gas","symbol":"Ar","xpos":18,"ypos":3,"wxpos":32,"wypos":3,"shells":[2,8,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6","electron_configuration_semantic":"[Ne] 3s2 3p6","electron_affinity":-96,"electronegativity_pauling":null,"ionization_energies":[1520.6,2665.8,3931,5771,7238,8781,11995,13842,40760,46186,52002,59653,66199,72918,82473,88576,397605,427066],"block":"p"},{"name":"Potassium","atomic_mass":39.09831,"boil":1032,"category":"alkali metal","density":0.862,"discovered_by":"Humphry Davy","melt":336.7,"molar_heat":29.6,"named_by":null,"number":19,"period":4,"group":1,"phase":"Solid","symbol":"K","xpos":1,"ypos":4,"wxpos":1,"wypos":4,"shells":[2,8,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1","electron_configuration_semantic":"[Ar] 4s1","electron_affinity":48.383,"electronegativity_pauling":0.82,"ionization_energies":[418.8,3052,4420,5877,7975,9590,11343,14944,16963.7,48610,54490,60730,68950,75900,83080,93400,99710,444880,476063],"block":"s"},{"name":"Calcium","atomic_mass":40.0784,"boil":1757,"category":"alkaline earth metal","density":1.55,"discovered_by":"Humphry Davy","melt":1115,"molar_heat":25.929,"named_by":null,"number":20,"period":4,"group":2,"phase":"Solid","symbol":"Ca","xpos":2,"ypos":4,"wxpos":2,"wypos":4,"shells":[2,8,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2","electron_configuration_semantic":"[Ar] 4s2","electron_affinity":2.37,"electronegativity_pauling":1,"ionization_energies":[589.8,1145.4,4912.4,6491,8153,10496,12270,14206,18191,20385,57110,63410,70110,78890,86310,94000,104900,111711,494850,527762],"block":"s"},{"name":"Scandium","atomic_mass":44.9559085,"boil":3109,"category":"transition metal","density":2.985,"discovered_by":"Lars Fredrik Nilson","melt":1814,"molar_heat":25.52,"named_by":null,"number":21,"period":4,"group":3,"phase":"Solid","symbol":"Sc","xpos":3,"ypos":4,"wxpos":17,"wypos":4,"shells":[2,8,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d1","electron_configuration_semantic":"[Ar] 3d1 4s2","electron_affinity":18,"electronegativity_pauling":1.36,"ionization_energies":[633.1,1235,2388.6,7090.6,8843,10679,13310,15250,17370,21726,24102,66320,73010,80160,89490,97400,105600,117000,124270,547530,582163],"block":"d"},{"name":"Titanium","atomic_mass":47.8671,"boil":3560,"category":"transition metal","density":4.506,"discovered_by":"William Gregor","melt":1941,"molar_heat":25.06,"named_by":"Martin Heinrich Klaproth","number":22,"period":4,"group":4,"phase":"Solid","symbol":"Ti","xpos":4,"ypos":4,"wxpos":18,"wypos":4,"shells":[2,8,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d2","electron_configuration_semantic":"[Ar] 3d2 4s2","electron_affinity":7.289,"electronegativity_pauling":1.54,"ionization_energies":[658.8,1309.8,2652.5,4174.6,9581,11533,13590,16440,18530,20833,25575,28125,76015,83280,90880,100700,109100,117800,129900,137530,602930,639294],"block":"d"},{"name":"Vanadium","atomic_mass":50.94151,"boil":3680,"category":"transition metal","density":6,"discovered_by":"Andrés Manuel del Río","melt":2183,"molar_heat":24.89,"named_by":"Isotopes of vanadium","number":23,"period":4,"group":5,"phase":"Solid","symbol":"V","xpos":5,"ypos":4,"wxpos":19,"wypos":4,"shells":[2,8,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d3","electron_configuration_semantic":"[Ar] 3d3 4s2","electron_affinity":50.911,"electronegativity_pauling":1.63,"ionization_energies":[650.9,1414,2830,4507,6298.7,12363,14530,16730,19860,22240,24670,29730,32446,86450,94170,102300,112700,121600,130700,143400,151440,661050,699144],"block":"d"},{"name":"Chromium","atomic_mass":51.99616,"boil":2944,"category":"transition metal","density":7.19,"discovered_by":"Louis Nicolas Vauquelin","melt":2180,"molar_heat":23.35,"named_by":null,"number":24,"period":4,"group":6,"phase":"Solid","symbol":"Cr","xpos":6,"ypos":4,"wxpos":20,"wypos":4,"shells":[2,8,13,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1 3d5","electron_configuration_semantic":"[Ar] 3d5 4s1","electron_affinity":65.21,"electronegativity_pauling":1.66,"ionization_energies":[652.9,1590.6,2987,4743,6702,8744.9,15455,17820,20190,23580,26130,28750,34230,37066,97510,105800,114300,125300,134700,144300,157700,166090,721870,761733],"block":"d"},{"name":"Manganese","atomic_mass":54.9380443,"boil":2334,"category":"transition metal","density":7.21,"discovered_by":"Torbern Olof Bergman","melt":1519,"molar_heat":26.32,"named_by":null,"number":25,"period":4,"group":7,"phase":"Solid","symbol":"Mn","xpos":7,"ypos":4,"wxpos":21,"wypos":4,"shells":[2,8,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d5","electron_configuration_semantic":"[Ar] 3d5 4s2","electron_affinity":-50,"electronegativity_pauling":1.55,"ionization_energies":[717.3,1509,3248,4940,6990,9220,11500,18770,21400,23960,27590,30330,33150,38880,41987,109480,118100,127100,138600,148500,158600,172500,181380,785450,827067],"block":"d"},{"name":"Iron","atomic_mass":55.8452,"boil":3134,"category":"transition metal","density":7.874,"discovered_by":"5000 BC","melt":1811,"molar_heat":25.1,"named_by":null,"number":26,"period":4,"group":8,"phase":"Solid","symbol":"Fe","xpos":8,"ypos":4,"wxpos":22,"wypos":4,"shells":[2,8,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d6","electron_configuration_semantic":"[Ar] 3d6 4s2","electron_affinity":14.785,"electronegativity_pauling":1.83,"ionization_energies":[762.5,1561.9,2957,5290,7240,9560,12060,14580,22540,25290,28000,31920,34830,37840,44100,47206,122200,131000,140500,152600,163000,173600,188100,195200,851800,895161],"block":"d"},{"name":"Cobalt","atomic_mass":58.9331944,"boil":3200,"category":"transition metal","density":8.9,"discovered_by":"Georg Brandt","melt":1768,"molar_heat":24.81,"named_by":null,"number":27,"period":4,"group":9,"phase":"Solid","symbol":"Co","xpos":9,"ypos":4,"wxpos":23,"wypos":4,"shells":[2,8,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d7","electron_configuration_semantic":"[Ar] 3d7 4s2","electron_affinity":63.898,"electronegativity_pauling":1.88,"ionization_energies":[760.4,1648,3232,4950,7670,9840,12440,15230,17959,26570,29400,32400,36600,39700,42800,49396,52737,134810,145170,154700,167400,178100,189300,204500,214100,920870,966023],"block":"d"},{"name":"Nickel","atomic_mass":58.69344,"boil":3003,"category":"transition metal","density":8.908,"discovered_by":"Axel Fredrik Cronstedt","melt":1728,"molar_heat":26.07,"named_by":null,"number":28,"period":4,"group":10,"phase":"Solid","symbol":"Ni","xpos":10,"ypos":4,"wxpos":24,"wypos":4,"shells":[2,8,16,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d8","electron_configuration_semantic":"[Ar] 3d8 4s2","electron_affinity":111.65,"electronegativity_pauling":1.91,"ionization_energies":[737.1,1753,3395,5300,7339,10400,12800,15600,18600,21670,30970,34000,37100,41500,44800,48100,55101,58570,148700,159000,169400,182700,194000,205600,221400,231490,992718,1039668],"block":"d"},{"name":"Copper","atomic_mass":63.5463,"boil":2835,"category":"transition metal","density":8.96,"discovered_by":"Middle East","melt":1357.77,"molar_heat":24.44,"named_by":null,"number":29,"period":4,"group":11,"phase":"Solid","symbol":"Cu","xpos":11,"ypos":4,"wxpos":25,"wypos":4,"shells":[2,8,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1 3d10","electron_configuration_semantic":"[Ar] 3d10 4s1","electron_affinity":119.235,"electronegativity_pauling":1.9,"ionization_energies":[745.5,1957.9,3555,5536,7700,9900,13400,16000,19200,22400,25600,35600,38700,42000,46700,50200,53700,61100,64702,163700,174100,184900,198800,210500,222700,239100,249660,1067358,1116105],"block":"d"},{"name":"Zinc","atomic_mass":65.382,"boil":1180,"category":"transition metal","density":7.14,"discovered_by":"India","melt":692.68,"molar_heat":25.47,"named_by":null,"number":30,"period":4,"group":12,"phase":"Solid","symbol":"Zn","xpos":12,"ypos":4,"wxpos":26,"wypos":4,"shells":[2,8,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10","electron_configuration_semantic":"[Ar] 3d10 4s2","electron_affinity":-58,"electronegativity_pauling":1.65,"ionization_energies":[906.4,1733.3,3833,5731,7970,10400,12900,16800,19600,23000,26400,29990,40490,43800,47300,52300,55900,59700,67300,71200,179100],"block":"d"},{"name":"Gallium","atomic_mass":69.7231,"boil":2673,"category":"post-transition metal","density":5.91,"discovered_by":"Lecoq de Boisbaudran","melt":302.9146,"molar_heat":25.86,"named_by":null,"number":31,"period":4,"group":13,"phase":"Solid","symbol":"Ga","xpos":13,"ypos":4,"wxpos":27,"wypos":4,"shells":[2,8,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p1","electron_configuration_semantic":"[Ar] 3d10 4s2 4p1","electron_affinity":41,"electronegativity_pauling":1.81,"ionization_energies":[578.8,1979.3,2963,6180],"block":"p"},{"name":"Germanium","atomic_mass":72.6308,"boil":3106,"category":"metalloid","density":5.323,"discovered_by":"Clemens Winkler","melt":1211.4,"molar_heat":23.222,"named_by":null,"number":32,"period":4,"group":14,"phase":"Solid","symbol":"Ge","xpos":14,"ypos":4,"wxpos":28,"wypos":4,"shells":[2,8,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p2","electron_configuration_semantic":"[Ar] 3d10 4s2 4p2","electron_affinity":118.9352,"electronegativity_pauling":2.01,"ionization_energies":[762,1537.5,3302.1,4411,9020],"block":"p"},{"name":"Arsenic","atomic_mass":74.9215956,"boil":null,"category":"metalloid","density":5.727,"discovered_by":"Bronze Age","melt":null,"molar_heat":24.64,"named_by":null,"number":33,"period":4,"group":15,"phase":"Solid","symbol":"As","xpos":15,"ypos":4,"wxpos":29,"wypos":4,"shells":[2,8,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p3","electron_configuration_semantic":"[Ar] 3d10 4s2 4p3","electron_affinity":77.65,"electronegativity_pauling":2.18,"ionization_energies":[947,1798,2735,4837,6043,12310],"block":"p"},{"name":"Selenium","atomic_mass":78.9718,"boil":958,"category":"polyatomic nonmetal","density":4.81,"discovered_by":"Jöns Jakob Berzelius","melt":494,"molar_heat":25.363,"named_by":null,"number":34,"period":4,"group":16,"phase":"Solid","symbol":"Se","xpos":16,"ypos":4,"wxpos":30,"wypos":4,"shells":[2,8,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p4","electron_configuration_semantic":"[Ar] 3d10 4s2 4p4","electron_affinity":194.9587,"electronegativity_pauling":2.55,"ionization_energies":[941,2045,2973.7,4144,6590,7880,14990],"block":"p"},{"name":"Bromine","atomic_mass":79.904,"boil":332,"category":"diatomic nonmetal","density":3.1028,"discovered_by":"Antoine Jérôme Balard","melt":265.8,"molar_heat":null,"named_by":null,"number":35,"period":4,"group":17,"phase":"Liquid","symbol":"Br","xpos":17,"ypos":4,"wxpos":31,"wypos":4,"shells":[2,8,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p5","electron_configuration_semantic":"[Ar] 3d10 4s2 4p5","electron_affinity":324.537,"electronegativity_pauling":2.96,"ionization_energies":[1139.9,2103,3470,4560,5760,8550,9940,18600],"block":"p"},{"name":"Krypton","atomic_mass":83.7982,"boil":119.93,"category":"noble gas","density":3.749,"discovered_by":"William Ramsay","melt":115.78,"molar_heat":null,"named_by":null,"number":36,"period":4,"group":18,"phase":"Gas","symbol":"Kr","xpos":18,"ypos":4,"wxpos":32,"wypos":4,"shells":[2,8,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6","electron_configuration_semantic":"[Ar] 3d10 4s2 4p6","electron_affinity":-96,"electronegativity_pauling":3,"ionization_energies":[1350.8,2350.4,3565,5070,6240,7570,10710,12138,22274,25880,29700,33800,37700,43100,47500,52200,57100,61800,75800,80400,85300,90400,96300,101400,111100,116290,282500,296200,311400,326200],"block":"p"},{"name":"Rubidium","atomic_mass":85.46783,"boil":961,"category":"alkali metal","density":1.532,"discovered_by":"Robert Bunsen","melt":312.45,"molar_heat":31.06,"named_by":null,"number":37,"period":5,"group":1,"phase":"Solid","symbol":"Rb","xpos":1,"ypos":5,"wxpos":1,"wypos":5,"shells":[2,8,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1","electron_configuration_semantic":"[Kr] 5s1","electron_affinity":46.884,"electronegativity_pauling":0.82,"ionization_energies":[403,2633,3860,5080,6850,8140,9570,13120,14500,26740],"block":"s"},{"name":"Strontium","atomic_mass":87.621,"boil":1650,"category":"alkaline earth metal","density":2.64,"discovered_by":"William Cruickshank (chemist)","melt":1050,"molar_heat":26.4,"named_by":null,"number":38,"period":5,"group":2,"phase":"Solid","symbol":"Sr","xpos":2,"ypos":5,"wxpos":2,"wypos":5,"shells":[2,8,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2","electron_configuration_semantic":"[Kr] 5s2","electron_affinity":5.023,"electronegativity_pauling":0.95,"ionization_energies":[549.5,1064.2,4138,5500,6910,8760,10230,11800,15600,17100,31270],"block":"s"},{"name":"Yttrium","atomic_mass":88.905842,"boil":3203,"category":"transition metal","density":4.472,"discovered_by":"Johan Gadolin","melt":1799,"molar_heat":26.53,"named_by":null,"number":39,"period":5,"group":3,"phase":"Solid","symbol":"Y","xpos":3,"ypos":5,"wxpos":17,"wypos":5,"shells":[2,8,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d1","electron_configuration_semantic":"[Kr] 4d1 5s2","electron_affinity":29.6,"electronegativity_pauling":1.22,"ionization_energies":[600,1180,1980,5847,7430,8970,11190,12450,14110,18400,19900,36090],"block":"d"},{"name":"Zirconium","atomic_mass":91.2242,"boil":4650,"category":"transition metal","density":6.52,"discovered_by":"Martin Heinrich Klaproth","melt":2128,"molar_heat":25.36,"named_by":null,"number":40,"period":5,"group":4,"phase":"Solid","symbol":"Zr","xpos":4,"ypos":5,"wxpos":18,"wypos":5,"shells":[2,8,18,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d2","electron_configuration_semantic":"[Kr] 4d2 5s2","electron_affinity":41.806,"electronegativity_pauling":1.33,"ionization_energies":[640.1,1270,2218,3313,7752,9500],"block":"d"},{"name":"Niobium","atomic_mass":92.906372,"boil":5017,"category":"transition metal","density":8.57,"discovered_by":"Charles Hatchett","melt":2750,"molar_heat":24.6,"named_by":null,"number":41,"period":5,"group":5,"phase":"Solid","symbol":"Nb","xpos":5,"ypos":5,"wxpos":19,"wypos":5,"shells":[2,8,18,12,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d4","electron_configuration_semantic":"[Kr] 4d4 5s1","electron_affinity":88.516,"electronegativity_pauling":1.6,"ionization_energies":[652.1,1380,2416,3700,4877,9847,12100],"block":"d"},{"name":"Molybdenum","atomic_mass":95.951,"boil":4912,"category":"transition metal","density":10.28,"discovered_by":"Carl Wilhelm Scheele","melt":2896,"molar_heat":24.06,"named_by":null,"number":42,"period":5,"group":6,"phase":"Solid","symbol":"Mo","xpos":6,"ypos":5,"wxpos":20,"wypos":5,"shells":[2,8,18,13,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d5","electron_configuration_semantic":"[Kr] 4d5 5s1","electron_affinity":72.1,"electronegativity_pauling":2.16,"ionization_energies":[684.3,1560,2618,4480,5257,6640.8,12125,13860,15835,17980,20190,22219,26930,29196,52490,55000,61400,67700,74000,80400,87000,93400,98420,104400,121900,127700,133800,139800,148100,154500],"block":"d"},{"name":"Technetium","atomic_mass":98,"boil":4538,"category":"transition metal","density":11,"discovered_by":"Emilio Segrè","melt":2430,"molar_heat":24.27,"named_by":null,"number":43,"period":5,"group":7,"phase":"Solid","symbol":"Tc","xpos":7,"ypos":5,"wxpos":21,"wypos":5,"shells":[2,8,18,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d5","electron_configuration_semantic":"[Kr] 4d5 5s2","electron_affinity":53,"electronegativity_pauling":1.9,"ionization_energies":[702,1470,2850],"block":"d"},{"name":"Ruthenium","atomic_mass":101.072,"boil":4423,"category":"transition metal","density":12.45,"discovered_by":"Karl Ernst Claus","melt":2607,"molar_heat":24.06,"named_by":null,"number":44,"period":5,"group":8,"phase":"Solid","symbol":"Ru","xpos":8,"ypos":5,"wxpos":22,"wypos":5,"shells":[2,8,18,15,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d7","electron_configuration_semantic":"[Kr] 4d7 5s1","electron_affinity":100.96,"electronegativity_pauling":2.2,"ionization_energies":[710.2,1620,2747],"block":"d"},{"name":"Rhodium","atomic_mass":102.905502,"boil":3968,"category":"transition metal","density":12.41,"discovered_by":"William Hyde Wollaston","melt":2237,"molar_heat":24.98,"named_by":null,"number":45,"period":5,"group":9,"phase":"Solid","symbol":"Rh","xpos":9,"ypos":5,"wxpos":23,"wypos":5,"shells":[2,8,18,16,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d8","electron_configuration_semantic":"[Kr] 4d8 5s1","electron_affinity":110.27,"electronegativity_pauling":2.28,"ionization_energies":[719.7,1740,2997],"block":"d"},{"name":"Palladium","atomic_mass":106.421,"boil":3236,"category":"transition metal","density":12.023,"discovered_by":"William Hyde Wollaston","melt":1828.05,"molar_heat":25.98,"named_by":null,"number":46,"period":5,"group":10,"phase":"Solid","symbol":"Pd","xpos":10,"ypos":5,"wxpos":24,"wypos":5,"shells":[2,8,18,18],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 4d10","electron_configuration_semantic":"[Kr] 4d10","electron_affinity":54.24,"electronegativity_pauling":2.2,"ionization_energies":[804.4,1870,3177],"block":"d"},{"name":"Silver","atomic_mass":107.86822,"boil":2435,"category":"transition metal","density":10.49,"discovered_by":"unknown, before 5000 BC","melt":1234.93,"molar_heat":25.35,"named_by":null,"number":47,"period":5,"group":11,"phase":"Solid","symbol":"Ag","xpos":11,"ypos":5,"wxpos":25,"wypos":5,"shells":[2,8,18,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d10","electron_configuration_semantic":"[Kr] 4d10 5s1","electron_affinity":125.862,"electronegativity_pauling":1.93,"ionization_energies":[731,2070,3361],"block":"d"},{"name":"Cadmium","atomic_mass":112.4144,"boil":1040,"category":"transition metal","density":8.65,"discovered_by":"Karl Samuel Leberecht Hermann","melt":594.22,"molar_heat":26.02,"named_by":"Isotopes of cadmium","number":48,"period":5,"group":12,"phase":"Solid","symbol":"Cd","xpos":12,"ypos":5,"wxpos":26,"wypos":5,"shells":[2,8,18,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10","electron_configuration_semantic":"[Kr] 4d10 5s2","electron_affinity":-68,"electronegativity_pauling":1.69,"ionization_energies":[867.8,1631.4,3616],"block":"d"},{"name":"Indium","atomic_mass":114.8181,"boil":2345,"category":"post-transition metal","density":7.31,"discovered_by":"Ferdinand Reich","melt":429.7485,"molar_heat":26.74,"named_by":null,"number":49,"period":5,"group":13,"phase":"Solid","symbol":"In","xpos":13,"ypos":5,"wxpos":27,"wypos":5,"shells":[2,8,18,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p1","electron_configuration_semantic":"[Kr] 4d10 5s2 5p1","electron_affinity":37.043,"electronegativity_pauling":1.78,"ionization_energies":[558.3,1820.7,2704,5210],"block":"p"},{"name":"Tin","atomic_mass":118.7107,"boil":2875,"category":"post-transition metal","density":7.365,"discovered_by":"unknown, before 3500 BC","melt":505.08,"molar_heat":27.112,"named_by":null,"number":50,"period":5,"group":14,"phase":"Solid","symbol":"Sn","xpos":14,"ypos":5,"wxpos":28,"wypos":5,"shells":[2,8,18,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p2","electron_configuration_semantic":"[Kr] 4d10 5s2 5p2","electron_affinity":107.2984,"electronegativity_pauling":1.96,"ionization_energies":[708.6,1411.8,2943,3930.3,7456],"block":"p"},{"name":"Antimony","atomic_mass":121.7601,"boil":1908,"category":"metalloid","density":6.697,"discovered_by":"unknown, before 3000 BC","melt":903.78,"molar_heat":25.23,"named_by":null,"number":51,"period":5,"group":15,"phase":"Solid","symbol":"Sb","xpos":15,"ypos":5,"wxpos":29,"wypos":5,"shells":[2,8,18,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p3","electron_configuration_semantic":"[Kr] 4d10 5s2 5p3","electron_affinity":101.059,"electronegativity_pauling":2.05,"ionization_energies":[834,1594.9,2440,4260,5400,10400],"block":"p"},{"name":"Tellurium","atomic_mass":127.603,"boil":1261,"category":"metalloid","density":6.24,"discovered_by":"Franz-Joseph Müller von Reichenstein","melt":722.66,"molar_heat":25.73,"named_by":null,"number":52,"period":5,"group":16,"phase":"Solid","symbol":"Te","xpos":16,"ypos":5,"wxpos":30,"wypos":5,"shells":[2,8,18,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p4","electron_configuration_semantic":"[Kr] 4d10 5s2 5p4","electron_affinity":190.161,"electronegativity_pauling":2.1,"ionization_energies":[869.3,1790,2698,3610,5668,6820,13200],"block":"p"},{"name":"Iodine","atomic_mass":126.904473,"boil":457.4,"category":"diatomic nonmetal","density":4.933,"discovered_by":"Bernard Courtois","melt":386.85,"molar_heat":null,"named_by":null,"number":53,"period":5,"group":17,"phase":"Solid","symbol":"I","xpos":17,"ypos":5,"wxpos":31,"wypos":5,"shells":[2,8,18,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p5","electron_configuration_semantic":"[Kr] 4d10 5s2 5p5","electron_affinity":295.1531,"electronegativity_pauling":2.66,"ionization_energies":[1008.4,1845.9,3180],"block":"p"},{"name":"Xenon","atomic_mass":131.2936,"boil":165.051,"category":"noble gas","density":5.894,"discovered_by":"William Ramsay","melt":161.4,"molar_heat":null,"named_by":null,"number":54,"period":5,"group":18,"phase":"Gas","symbol":"Xe","xpos":18,"ypos":5,"wxpos":32,"wypos":5,"shells":[2,8,18,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6","electron_configuration_semantic":"[Kr] 4d10 5s2 5p6","electron_affinity":-77,"electronegativity_pauling":2.6,"ionization_energies":[1170.4,2046.4,3099.4],"block":"p"},{"name":"Cesium","atomic_mass":132.905451966,"boil":944,"category":"alkali metal","density":1.93,"discovered_by":"Robert Bunsen","melt":301.7,"molar_heat":32.21,"named_by":null,"number":55,"period":6,"group":1,"phase":"Solid","symbol":"Cs","xpos":1,"ypos":6,"wxpos":1,"wypos":6,"shells":[2,8,18,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1","electron_configuration_semantic":"[Xe] 6s1","electron_affinity":45.505,"electronegativity_pauling":0.79,"ionization_energies":[375.7,2234.3,3400],"block":"s"},{"name":"Barium","atomic_mass":137.3277,"boil":2118,"category":"alkaline earth metal","density":3.51,"discovered_by":"Carl Wilhelm Scheele","melt":1000,"molar_heat":28.07,"named_by":null,"number":56,"period":6,"group":2,"phase":"Solid","symbol":"Ba","xpos":2,"ypos":6,"wxpos":2,"wypos":6,"shells":[2,8,18,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2","electron_configuration_semantic":"[Xe] 6s2","electron_affinity":13.954,"electronegativity_pauling":0.89,"ionization_energies":[502.9,965.2,3600],"block":"s"},{"name":"Lanthanum","atomic_mass":138.905477,"boil":3737,"category":"lanthanide","density":6.162,"discovered_by":"Carl Gustaf Mosander","melt":1193,"molar_heat":27.11,"named_by":null,"number":57,"period":6,"group":3,"phase":"Solid","symbol":"La","xpos":3,"ypos":9,"wxpos":3,"wypos":6,"shells":[2,8,18,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 5d1","electron_configuration_semantic":"[Xe] 5d16s2","electron_affinity":53,"electronegativity_pauling":1.1,"ionization_energies":[538.1,1067,1850.3,4819,5940],"block":"f"},{"name":"Cerium","atomic_mass":140.1161,"boil":3716,"category":"lanthanide","density":6.77,"discovered_by":"Martin Heinrich Klaproth","melt":1068,"molar_heat":26.94,"named_by":null,"number":58,"period":6,"group":3,"phase":"Solid","symbol":"Ce","xpos":4,"ypos":9,"wxpos":4,"wypos":6,"shells":[2,8,18,19,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 5d1 4f1","electron_configuration_semantic":"[Xe] 4f1 5d1 6s2","electron_affinity":55,"electronegativity_pauling":1.12,"ionization_energies":[534.4,1050,1949,3547,6325,7490],"block":"f"},{"name":"Praseodymium","atomic_mass":140.907662,"boil":3403,"category":"lanthanide","density":6.77,"discovered_by":"Carl Auer von Welsbach","melt":1208,"molar_heat":27.2,"named_by":null,"number":59,"period":6,"group":3,"phase":"Solid","symbol":"Pr","xpos":5,"ypos":9,"wxpos":5,"wypos":6,"shells":[2,8,18,21,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f3","electron_configuration_semantic":"[Xe] 4f3 6s2","electron_affinity":93,"electronegativity_pauling":1.13,"ionization_energies":[527,1020,2086,3761,5551],"block":"f"},{"name":"Neodymium","atomic_mass":144.2423,"boil":3347,"category":"lanthanide","density":7.01,"discovered_by":"Carl Auer von Welsbach","melt":1297,"molar_heat":27.45,"named_by":null,"number":60,"period":6,"group":3,"phase":"Solid","symbol":"Nd","xpos":6,"ypos":9,"wxpos":6,"wypos":6,"shells":[2,8,18,22,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f4","electron_configuration_semantic":"[Xe] 4f4 6s2","electron_affinity":184.87,"electronegativity_pauling":1.14,"ionization_energies":[533.1,1040,2130,3900],"block":"f"},{"name":"Promethium","atomic_mass":145,"boil":3273,"category":"lanthanide","density":7.26,"discovered_by":"Chien Shiung Wu","melt":1315,"molar_heat":null,"named_by":"Isotopes of promethium","number":61,"period":6,"group":3,"phase":"Solid","symbol":"Pm","xpos":7,"ypos":9,"wxpos":7,"wypos":6,"shells":[2,8,18,23,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f5","electron_configuration_semantic":"[Xe] 4f5 6s2","electron_affinity":12.45,"electronegativity_pauling":1.13,"ionization_energies":[540,1050,2150,3970],"block":"f"},{"name":"Samarium","atomic_mass":150.362,"boil":2173,"category":"lanthanide","density":7.52,"discovered_by":"Lecoq de Boisbaudran","melt":1345,"molar_heat":29.54,"named_by":null,"number":62,"period":6,"group":3,"phase":"Solid","symbol":"Sm","xpos":8,"ypos":9,"wxpos":8,"wypos":6,"shells":[2,8,18,24,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f6","electron_configuration_semantic":"[Xe] 4f6 6s2","electron_affinity":15.63,"electronegativity_pauling":1.17,"ionization_energies":[544.5,1070,2260,3990],"block":"f"},{"name":"Europium","atomic_mass":151.9641,"boil":1802,"category":"lanthanide","density":5.264,"discovered_by":"Eugène-Anatole Demarçay","melt":1099,"molar_heat":27.66,"named_by":null,"number":63,"period":6,"group":3,"phase":"Solid","symbol":"Eu","xpos":9,"ypos":9,"wxpos":9,"wypos":6,"shells":[2,8,18,25,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f7","electron_configuration_semantic":"[Xe] 4f7 6s2","electron_affinity":11.2,"electronegativity_pauling":1.2,"ionization_energies":[547.1,1085,2404,4120],"block":"f"},{"name":"Gadolinium","atomic_mass":157.253,"boil":3273,"category":"lanthanide","density":7.9,"discovered_by":"Jean Charles Galissard de Marignac","melt":1585,"molar_heat":37.03,"named_by":null,"number":64,"period":6,"group":3,"phase":"Solid","symbol":"Gd","xpos":10,"ypos":9,"wxpos":10,"wypos":6,"shells":[2,8,18,25,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f7 5d1","electron_configuration_semantic":"[Xe] 4f7 5d1 6s2","electron_affinity":13.22,"electronegativity_pauling":1.2,"ionization_energies":[593.4,1170,1990,4250],"block":"f"},{"name":"Terbium","atomic_mass":158.925352,"boil":3396,"category":"lanthanide","density":8.23,"discovered_by":"Carl Gustaf Mosander","melt":1629,"molar_heat":28.91,"named_by":null,"number":65,"period":6,"group":3,"phase":"Solid","symbol":"Tb","xpos":11,"ypos":9,"wxpos":11,"wypos":6,"shells":[2,8,18,27,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f9","electron_configuration_semantic":"[Xe] 4f9 6s2","electron_affinity":112.4,"electronegativity_pauling":1.1,"ionization_energies":[565.8,1110,2114,3839],"block":"f"},{"name":"Dysprosium","atomic_mass":162.5001,"boil":2840,"category":"lanthanide","density":8.54,"discovered_by":"Lecoq de Boisbaudran","melt":1680,"molar_heat":27.7,"named_by":null,"number":66,"period":6,"group":3,"phase":"Solid","symbol":"Dy","xpos":12,"ypos":9,"wxpos":12,"wypos":6,"shells":[2,8,18,28,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f10","electron_configuration_semantic":"[Xe] 4f10 6s2","electron_affinity":33.96,"electronegativity_pauling":1.22,"ionization_energies":[573,1130,2200,3990],"block":"f"},{"name":"Holmium","atomic_mass":164.930332,"boil":2873,"category":"lanthanide","density":8.79,"discovered_by":"Marc Delafontaine","melt":1734,"molar_heat":27.15,"named_by":null,"number":67,"period":6,"group":3,"phase":"Solid","symbol":"Ho","xpos":13,"ypos":9,"wxpos":13,"wypos":6,"shells":[2,8,18,29,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f11","electron_configuration_semantic":"[Xe] 4f11 6s2","electron_affinity":32.61,"electronegativity_pauling":1.23,"ionization_energies":[581,1140,2204,4100],"block":"f"},{"name":"Erbium","atomic_mass":167.2593,"boil":3141,"category":"lanthanide","density":9.066,"discovered_by":"Carl Gustaf Mosander","melt":1802,"molar_heat":28.12,"named_by":null,"number":68,"period":6,"group":3,"phase":"Solid","symbol":"Er","xpos":14,"ypos":9,"wxpos":14,"wypos":6,"shells":[2,8,18,30,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f12","electron_configuration_semantic":"[Xe] 4f12 6s2","electron_affinity":30.1,"electronegativity_pauling":1.24,"ionization_energies":[589.3,1150,2194,4120],"block":"f"},{"name":"Thulium","atomic_mass":168.934222,"boil":2223,"category":"lanthanide","density":9.32,"discovered_by":"Per Teodor Cleve","melt":1818,"molar_heat":27.03,"named_by":null,"number":69,"period":6,"group":3,"phase":"Solid","symbol":"Tm","xpos":15,"ypos":9,"wxpos":15,"wypos":6,"shells":[2,8,18,31,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f13","electron_configuration_semantic":"[Xe] 4f13 6s2","electron_affinity":99,"electronegativity_pauling":1.25,"ionization_energies":[596.7,1160,2285,4120],"block":"f"},{"name":"Ytterbium","atomic_mass":173.0451,"boil":1469,"category":"lanthanide","density":6.9,"discovered_by":"Jean Charles Galissard de Marignac","melt":1097,"molar_heat":26.74,"named_by":null,"number":70,"period":6,"group":3,"phase":"Solid","symbol":"Yb","xpos":16,"ypos":9,"wxpos":16,"wypos":6,"shells":[2,8,18,32,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14","electron_configuration_semantic":"[Xe] 4f14 6s2","electron_affinity":-1.93,"electronegativity_pauling":1.1,"ionization_energies":[603.4,1174.8,2417,4203],"block":"f"},{"name":"Lutetium","atomic_mass":174.96681,"boil":3675,"category":"lanthanide","density":9.841,"discovered_by":"Georges Urbain","melt":1925,"molar_heat":26.86,"named_by":null,"number":71,"period":6,"group":3,"phase":"Solid","symbol":"Lu","xpos":17,"ypos":9,"wxpos":17,"wypos":6,"shells":[2,8,18,32,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d1","electron_configuration_semantic":"[Xe] 4f14 5d1 6s2","electron_affinity":33.4,"electronegativity_pauling":1.27,"ionization_energies":[523.5,1340,2022.3,4370,6445],"block":"d"},{"name":"Hafnium","atomic_mass":178.492,"boil":4876,"category":"transition metal","density":13.31,"discovered_by":"Dirk Coster","melt":2506,"molar_heat":25.73,"named_by":null,"number":72,"period":6,"group":4,"phase":"Solid","symbol":"Hf","xpos":4,"ypos":6,"wxpos":18,"wypos":6,"shells":[2,8,18,32,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d2","electron_configuration_semantic":"[Xe] 4f14 5d2 6s2","electron_affinity":17.18,"electronegativity_pauling":1.3,"ionization_energies":[658.5,1440,2250,3216],"block":"d"},{"name":"Tantalum","atomic_mass":180.947882,"boil":5731,"category":"transition metal","density":16.69,"discovered_by":"Anders Gustaf Ekeberg","melt":3290,"molar_heat":25.36,"named_by":null,"number":73,"period":6,"group":5,"phase":"Solid","symbol":"Ta","xpos":5,"ypos":6,"wxpos":19,"wypos":6,"shells":[2,8,18,32,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d3","electron_configuration_semantic":"[Xe] 4f14 5d3 6s2","electron_affinity":31,"electronegativity_pauling":1.5,"ionization_energies":[761,1500],"block":"d"},{"name":"Tungsten","atomic_mass":183.841,"boil":6203,"category":"transition metal","density":19.25,"discovered_by":"Carl Wilhelm Scheele","melt":3695,"molar_heat":24.27,"named_by":null,"number":74,"period":6,"group":6,"phase":"Solid","symbol":"W","xpos":6,"ypos":6,"wxpos":20,"wypos":6,"shells":[2,8,18,32,12,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d4","electron_configuration_semantic":"[Xe] 4f14 5d4 6s2","electron_affinity":78.76,"electronegativity_pauling":2.36,"ionization_energies":[770,1700],"block":"d"},{"name":"Rhenium","atomic_mass":186.2071,"boil":5869,"category":"transition metal","density":21.02,"discovered_by":"Masataka Ogawa","melt":3459,"molar_heat":25.48,"named_by":"Walter Noddack","number":75,"period":6,"group":7,"phase":"Solid","symbol":"Re","xpos":7,"ypos":6,"wxpos":21,"wypos":6,"shells":[2,8,18,32,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d5","electron_configuration_semantic":"[Xe] 4f14 5d5 6s2","electron_affinity":5.8273,"electronegativity_pauling":1.9,"ionization_energies":[760,1260,2510,3640],"block":"d"},{"name":"Osmium","atomic_mass":190.233,"boil":5285,"category":"transition metal","density":22.59,"discovered_by":"Smithson Tennant","melt":3306,"molar_heat":24.7,"named_by":null,"number":76,"period":6,"group":8,"phase":"Solid","symbol":"Os","xpos":8,"ypos":6,"wxpos":22,"wypos":6,"shells":[2,8,18,32,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d6","electron_configuration_semantic":"[Xe] 4f14 5d6 6s2","electron_affinity":103.99,"electronegativity_pauling":2.2,"ionization_energies":[840,1600],"block":"d"},{"name":"Iridium","atomic_mass":192.2173,"boil":4403,"category":"transition metal","density":22.56,"discovered_by":"Smithson Tennant","melt":2719,"molar_heat":25.1,"named_by":null,"number":77,"period":6,"group":9,"phase":"Solid","symbol":"Ir","xpos":9,"ypos":6,"wxpos":23,"wypos":6,"shells":[2,8,18,32,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d7","electron_configuration_semantic":"[Xe] 4f14 5d7 6s2","electron_affinity":150.94,"electronegativity_pauling":2.2,"ionization_energies":[880,1600],"block":"d"},{"name":"Platinum","atomic_mass":195.0849,"boil":4098,"category":"transition metal","density":21.45,"discovered_by":"Antonio de Ulloa","melt":2041.4,"molar_heat":25.86,"named_by":null,"number":78,"period":6,"group":10,"phase":"Solid","symbol":"Pt","xpos":10,"ypos":6,"wxpos":24,"wypos":6,"shells":[2,8,18,32,17,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1 4f14 5d9","electron_configuration_semantic":"[Xe] 4f14 5d9 6s1","electron_affinity":205.041,"electronegativity_pauling":2.28,"ionization_energies":[870,1791],"block":"d"},{"name":"Gold","atomic_mass":196.9665695,"boil":3243,"category":"transition metal","density":19.3,"discovered_by":"Middle East","melt":1337.33,"molar_heat":25.418,"named_by":null,"number":79,"period":6,"group":11,"phase":"Solid","symbol":"Au","xpos":11,"ypos":6,"wxpos":25,"wypos":6,"shells":[2,8,18,32,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1 4f14 5d10","electron_configuration_semantic":"[Xe] 4f14 5d10 6s1","electron_affinity":222.747,"electronegativity_pauling":2.54,"ionization_energies":[890.1,1980],"block":"d"},{"name":"Mercury","atomic_mass":200.5923,"boil":629.88,"category":"transition metal","density":13.534,"discovered_by":"unknown, before 2000 BCE","melt":234.321,"molar_heat":27.983,"named_by":null,"number":80,"period":6,"group":12,"phase":"Liquid","symbol":"Hg","xpos":12,"ypos":6,"wxpos":26,"wypos":6,"shells":[2,8,18,32,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2","electron_affinity":-48,"electronegativity_pauling":2,"ionization_energies":[1007.1,1810,3300],"block":"d"},{"name":"Thallium","atomic_mass":204.38,"boil":1746,"category":"post-transition metal","density":11.85,"discovered_by":"William Crookes","melt":577,"molar_heat":26.32,"named_by":null,"number":81,"period":6,"group":13,"phase":"Solid","symbol":"Tl","xpos":13,"ypos":6,"wxpos":27,"wypos":6,"shells":[2,8,18,32,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p1","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p1","electron_affinity":36.4,"electronegativity_pauling":1.62,"ionization_energies":[589.4,1971,2878],"block":"p"},{"name":"Lead","atomic_mass":207.21,"boil":2022,"category":"post-transition metal","density":11.34,"discovered_by":"Middle East","melt":600.61,"molar_heat":26.65,"named_by":null,"number":82,"period":6,"group":14,"phase":"Solid","symbol":"Pb","xpos":14,"ypos":6,"wxpos":28,"wypos":6,"shells":[2,8,18,32,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p2","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p2","electron_affinity":34.4204,"electronegativity_pauling":1.87,"ionization_energies":[715.6,1450.5,3081.5,4083,6640],"block":"p"},{"name":"Bismuth","atomic_mass":208.980401,"boil":1837,"category":"post-transition metal","density":9.78,"discovered_by":"Claude François Geoffroy","melt":544.7,"molar_heat":25.52,"named_by":null,"number":83,"period":6,"group":15,"phase":"Solid","symbol":"Bi","xpos":15,"ypos":6,"wxpos":29,"wypos":6,"shells":[2,8,18,32,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p3","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p3","electron_affinity":90.924,"electronegativity_pauling":2.02,"ionization_energies":[703,1610,2466,4370,5400,8520],"block":"p"},{"name":"Polonium","atomic_mass":209,"boil":1235,"category":"post-transition metal","density":9.196,"discovered_by":"Pierre Curie","melt":527,"molar_heat":26.4,"named_by":null,"number":84,"period":6,"group":16,"phase":"Solid","symbol":"Po","xpos":16,"ypos":6,"wxpos":30,"wypos":6,"shells":[2,8,18,32,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p4","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p4","electron_affinity":136,"electronegativity_pauling":2,"ionization_energies":[812.1],"block":"p"},{"name":"Astatine","atomic_mass":210,"boil":610,"category":"metalloid","density":6.35,"discovered_by":"Dale R. Corson","melt":575,"molar_heat":null,"named_by":null,"number":85,"period":6,"group":17,"phase":"Solid","symbol":"At","xpos":17,"ypos":6,"wxpos":31,"wypos":6,"shells":[2,8,18,32,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p5","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p5","electron_affinity":233,"electronegativity_pauling":2.2,"ionization_energies":[899.003],"block":"p"},{"name":"Radon","atomic_mass":222,"boil":211.5,"category":"noble gas","density":9.73,"discovered_by":"Friedrich Ernst Dorn","melt":202,"molar_heat":null,"named_by":null,"number":86,"period":6,"group":18,"phase":"Gas","symbol":"Rn","xpos":18,"ypos":6,"wxpos":32,"wypos":6,"shells":[2,8,18,32,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p6","electron_affinity":-68,"electronegativity_pauling":2.2,"ionization_energies":[1037],"block":"p"},{"name":"Francium","atomic_mass":223,"boil":950,"category":"alkali metal","density":1.87,"discovered_by":"Marguerite Perey","melt":300,"molar_heat":null,"named_by":null,"number":87,"period":7,"group":1,"phase":"Solid","symbol":"Fr","xpos":1,"ypos":7,"wxpos":1,"wypos":7,"shells":[2,8,18,32,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s1","electron_configuration_semantic":"[Rn] 7s1","electron_affinity":46.89,"electronegativity_pauling":0.79,"ionization_energies":[380],"block":"s"},{"name":"Radium","atomic_mass":226,"boil":2010,"category":"alkaline earth metal","density":5.5,"discovered_by":"Pierre Curie","melt":1233,"molar_heat":null,"named_by":null,"number":88,"period":7,"group":2,"phase":"Solid","symbol":"Ra","xpos":2,"ypos":7,"wxpos":2,"wypos":7,"shells":[2,8,18,32,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2","electron_configuration_semantic":"[Rn] 7s2","electron_affinity":9.6485,"electronegativity_pauling":0.9,"ionization_energies":[509.3,979],"block":"s"},{"name":"Actinium","atomic_mass":227,"boil":3500,"category":"actinide","density":10,"discovered_by":"Friedrich Oskar Giesel","melt":1500,"molar_heat":27.2,"named_by":null,"number":89,"period":7,"group":3,"phase":"Solid","symbol":"Ac","xpos":3,"ypos":10,"wxpos":3,"wypos":7,"shells":[2,8,18,32,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 6d1","electron_configuration_semantic":"[Rn] 6d1 7s2","electron_affinity":33.77,"electronegativity_pauling":1.1,"ionization_energies":[499,1170],"block":"f"},{"name":"Thorium","atomic_mass":232.03774,"boil":5061,"category":"actinide","density":11.724,"discovered_by":"Jöns Jakob Berzelius","melt":2023,"molar_heat":26.23,"named_by":null,"number":90,"period":7,"group":3,"phase":"Solid","symbol":"Th","xpos":4,"ypos":10,"wxpos":4,"wypos":7,"shells":[2,8,18,32,18,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 6d2","electron_configuration_semantic":"[Rn] 6d2 7s2","electron_affinity":112.72,"electronegativity_pauling":1.3,"ionization_energies":[587,1110,1930,2780],"block":"f"},{"name":"Protactinium","atomic_mass":231.035882,"boil":4300,"category":"actinide","density":15.37,"discovered_by":"William Crookes","melt":1841,"molar_heat":null,"named_by":"Otto Hahn","number":91,"period":7,"group":3,"phase":"Solid","symbol":"Pa","xpos":5,"ypos":10,"wxpos":5,"wypos":7,"shells":[2,8,18,32,20,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f2 6d1","electron_configuration_semantic":"[Rn] 5f2 6d1 7s2","electron_affinity":53.03,"electronegativity_pauling":1.5,"ionization_energies":[568],"block":"f"},{"name":"Uranium","atomic_mass":238.028913,"boil":4404,"category":"actinide","density":19.1,"discovered_by":"Martin Heinrich Klaproth","melt":1405.3,"molar_heat":27.665,"named_by":null,"number":92,"period":7,"group":3,"phase":"Solid","symbol":"U","xpos":6,"ypos":10,"wxpos":6,"wypos":7,"shells":[2,8,18,32,21,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f3 6d1","electron_configuration_semantic":"[Rn] 5f3 6d1 7s2","electron_affinity":50.94,"electronegativity_pauling":1.38,"ionization_energies":[597.6,1420],"block":"f"},{"name":"Neptunium","atomic_mass":237,"boil":4447,"category":"actinide","density":20.45,"discovered_by":"Edwin McMillan","melt":912,"molar_heat":29.46,"named_by":null,"number":93,"period":7,"group":3,"phase":"Solid","symbol":"Np","xpos":7,"ypos":10,"wxpos":7,"wypos":7,"shells":[2,8,18,32,22,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f4 6d1","electron_configuration_semantic":"[Rn] 5f4 6d1 7s2","electron_affinity":45.85,"electronegativity_pauling":1.36,"ionization_energies":[604.5],"block":"f"},{"name":"Plutonium","atomic_mass":244,"boil":3505,"category":"actinide","density":19.816,"discovered_by":"Glenn T. Seaborg","melt":912.5,"molar_heat":35.5,"named_by":null,"number":94,"period":7,"group":3,"phase":"Solid","symbol":"Pu","xpos":8,"ypos":10,"wxpos":8,"wypos":7,"shells":[2,8,18,32,24,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f6","electron_configuration_semantic":"[Rn] 5f6 7s2","electron_affinity":-48.33,"electronegativity_pauling":1.28,"ionization_energies":[584.7],"block":"f"},{"name":"Americium","atomic_mass":243,"boil":2880,"category":"actinide","density":12,"discovered_by":"Glenn T. Seaborg","melt":1449,"molar_heat":62.7,"named_by":null,"number":95,"period":7,"group":3,"phase":"Solid","symbol":"Am","xpos":9,"ypos":10,"wxpos":9,"wypos":7,"shells":[2,8,18,32,25,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f7","electron_configuration_semantic":"[Rn] 5f7 7s2","electron_affinity":9.93,"electronegativity_pauling":1.13,"ionization_energies":[578],"block":"f"},{"name":"Curium","atomic_mass":247,"boil":3383,"category":"actinide","density":13.51,"discovered_by":"Glenn T. Seaborg","melt":1613,"molar_heat":null,"named_by":null,"number":96,"period":7,"group":3,"phase":"Solid","symbol":"Cm","xpos":10,"ypos":10,"wxpos":10,"wypos":7,"shells":[2,8,18,32,25,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f7 6d1","electron_configuration_semantic":"[Rn] 5f7 6d1 7s2","electron_affinity":27.17,"electronegativity_pauling":1.28,"ionization_energies":[581],"block":"f"},{"name":"Berkelium","atomic_mass":247,"boil":2900,"category":"actinide","density":14.78,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1259,"molar_heat":null,"named_by":null,"number":97,"period":7,"group":3,"phase":"Solid","symbol":"Bk","xpos":11,"ypos":10,"wxpos":11,"wypos":7,"shells":[2,8,18,32,27,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f9","electron_configuration_semantic":"[Rn] 5f9 7s2","electron_affinity":-165.24,"electronegativity_pauling":1.3,"ionization_energies":[601],"block":"f"},{"name":"Californium","atomic_mass":251,"boil":1743,"category":"actinide","density":15.1,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1173,"molar_heat":null,"named_by":null,"number":98,"period":7,"group":3,"phase":"Solid","symbol":"Cf","xpos":12,"ypos":10,"wxpos":12,"wypos":7,"shells":[2,8,18,32,28,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f10","electron_configuration_semantic":"[Rn] 5f10 7s2","electron_affinity":-97.31,"electronegativity_pauling":1.3,"ionization_energies":[608],"block":"f"},{"name":"Einsteinium","atomic_mass":252,"boil":1269,"category":"actinide","density":8.84,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1133,"molar_heat":null,"named_by":null,"number":99,"period":7,"group":3,"phase":"Solid","symbol":"Es","xpos":13,"ypos":10,"wxpos":13,"wypos":7,"shells":[2,8,18,32,29,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f11","electron_configuration_semantic":"[Rn] 5f11 7s2","electron_affinity":-28.6,"electronegativity_pauling":1.3,"ionization_energies":[619],"block":"f"},{"name":"Fermium","atomic_mass":257,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1800,"molar_heat":null,"named_by":null,"number":100,"period":7,"group":3,"phase":"Solid","symbol":"Fm","xpos":14,"ypos":10,"wxpos":14,"wypos":7,"shells":[2,8,18,32,30,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f12","electron_configuration_semantic":"[Rn] 5f12 7s2","electron_affinity":33.96,"electronegativity_pauling":1.3,"ionization_energies":[627],"block":"f"},{"name":"Mendelevium","atomic_mass":258,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1100,"molar_heat":null,"named_by":null,"number":101,"period":7,"group":3,"phase":"Solid","symbol":"Md","xpos":15,"ypos":10,"wxpos":15,"wypos":7,"shells":[2,8,18,32,31,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f13","electron_configuration_semantic":"[Rn] 5f13 7s2","electron_affinity":93.91,"electronegativity_pauling":1.3,"ionization_energies":[635],"block":"f"},{"name":"Nobelium","atomic_mass":259,"boil":null,"category":"actinide","density":null,"discovered_by":"Joint Institute for Nuclear Research","melt":1100,"molar_heat":null,"named_by":null,"number":102,"period":7,"group":3,"phase":"Solid","symbol":"No","xpos":16,"ypos":10,"wxpos":16,"wypos":7,"shells":[2,8,18,32,32,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14","electron_configuration_semantic":"[Rn] 5f14 7s2","electron_affinity":-223.22,"electronegativity_pauling":1.3,"ionization_energies":[642],"block":"f"},{"name":"Lawrencium","atomic_mass":266,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1900,"molar_heat":null,"named_by":null,"number":103,"period":7,"group":3,"phase":"Solid","symbol":"Lr","xpos":17,"ypos":10,"wxpos":17,"wypos":7,"shells":[2,8,18,32,32,8,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 7p1","electron_configuration_semantic":"[Rn] 5f14 7s2 7p1","electron_affinity":-30.04,"electronegativity_pauling":1.3,"ionization_energies":[470],"block":"d"},{"name":"Rutherfordium","atomic_mass":267,"boil":5800,"category":"transition metal","density":23.2,"discovered_by":"Joint Institute for Nuclear Research","melt":2400,"molar_heat":null,"named_by":null,"number":104,"period":7,"group":4,"phase":"Solid","symbol":"Rf","xpos":4,"ypos":7,"wxpos":18,"wypos":7,"shells":[2,8,18,32,32,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d2","electron_configuration_semantic":"[Rn] 5f14 6d2 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[580],"block":"d"},{"name":"Dubnium","atomic_mass":268,"boil":null,"category":"transition metal","density":29.3,"discovered_by":"Joint Institute for Nuclear Research","melt":null,"molar_heat":null,"named_by":null,"number":105,"period":7,"group":5,"phase":"Solid","symbol":"Db","xpos":5,"ypos":7,"wxpos":19,"wypos":7,"shells":[2,8,18,32,32,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d3","electron_configuration_semantic":"*[Rn] 5f14 6d3 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Seaborgium","atomic_mass":269,"boil":null,"category":"transition metal","density":35,"discovered_by":"Lawrence Berkeley National Laboratory","melt":null,"molar_heat":null,"named_by":null,"number":106,"period":7,"group":6,"phase":"Solid","symbol":"Sg","xpos":6,"ypos":7,"wxpos":20,"wypos":7,"shells":[2,8,18,32,32,12,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d4","electron_configuration_semantic":"*[Rn] 5f14 6d4 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Bohrium","atomic_mass":270,"boil":null,"category":"transition metal","density":37.1,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":107,"period":7,"group":7,"phase":"Solid","symbol":"Bh","xpos":7,"ypos":7,"wxpos":21,"wypos":7,"shells":[2,8,18,32,32,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d5","electron_configuration_semantic":"*[Rn] 5f14 6d5 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Hassium","atomic_mass":269,"boil":null,"category":"transition metal","density":40.7,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":126,"molar_heat":null,"named_by":null,"number":108,"period":7,"group":8,"phase":"Solid","symbol":"Hs","xpos":8,"ypos":7,"wxpos":22,"wypos":7,"shells":[2,8,18,32,32,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d6","electron_configuration_semantic":"*[Rn] 5f14 6d6 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Meitnerium","atomic_mass":278,"boil":null,"category":"unknown, probably transition metal","density":37.4,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":109,"period":7,"group":9,"phase":"Solid","symbol":"Mt","xpos":9,"ypos":7,"wxpos":23,"wypos":7,"shells":[2,8,18,32,32,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d7","electron_configuration_semantic":"*[Rn] 5f14 6d7 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Darmstadtium","atomic_mass":281,"boil":null,"category":"unknown, probably transition metal","density":34.8,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":110,"period":7,"group":10,"phase":"Solid","symbol":"Ds","xpos":10,"ypos":7,"wxpos":24,"wypos":7,"shells":[2,8,18,32,32,16,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d8","electron_configuration_semantic":"*[Rn] 5f14 6d9 7s1","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Roentgenium","atomic_mass":282,"boil":null,"category":"unknown, probably transition metal","density":28.7,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":111,"period":7,"group":11,"phase":"Solid","symbol":"Rg","xpos":11,"ypos":7,"wxpos":25,"wypos":7,"shells":[2,8,18,32,32,17,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d9","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s1","electron_affinity":151,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Copernicium","atomic_mass":285,"boil":3570,"category":"transition metal","density":14,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":112,"period":7,"group":12,"phase":"Liquid","symbol":"Cn","xpos":12,"ypos":7,"wxpos":26,"wypos":7,"shells":[2,8,18,32,32,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Nihonium","atomic_mass":286,"boil":1430,"category":"unknown, probably transition metal","density":16,"discovered_by":"RIKEN","melt":700,"molar_heat":null,"named_by":null,"number":113,"period":7,"group":13,"phase":"Solid","symbol":"Nh","xpos":13,"ypos":7,"wxpos":27,"wypos":7,"shells":[2,8,18,32,32,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p1","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p1","electron_affinity":66.6,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Flerovium","atomic_mass":289,"boil":420,"category":"post-transition metal","density":14,"discovered_by":"Joint Institute for Nuclear Research","melt":340,"molar_heat":null,"named_by":null,"number":114,"period":7,"group":14,"phase":"Solid","symbol":"Fl","xpos":14,"ypos":7,"wxpos":28,"wypos":7,"shells":[2,8,18,32,32,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p2","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Moscovium","atomic_mass":289,"boil":1400,"category":"unknown, probably post-transition metal","density":13.5,"discovered_by":"Joint Institute for Nuclear Research","melt":670,"molar_heat":null,"named_by":null,"number":115,"period":7,"group":15,"phase":"Solid","symbol":"Mc","xpos":15,"ypos":7,"wxpos":29,"wypos":7,"shells":[2,8,18,32,32,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p3","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p3","electron_affinity":35.3,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Livermorium","atomic_mass":293,"boil":1085,"category":"unknown, probably post-transition metal","density":12.9,"discovered_by":"Joint Institute for Nuclear Research","melt":709,"molar_heat":null,"named_by":null,"number":116,"period":7,"group":16,"phase":"Solid","symbol":"Lv","xpos":16,"ypos":7,"wxpos":30,"wypos":7,"shells":[2,8,18,32,32,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p4","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p4","electron_affinity":74.9,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Tennessine","atomic_mass":294,"boil":883,"category":"unknown, probably metalloid","density":7.17,"discovered_by":"Joint Institute for Nuclear Research","melt":723,"molar_heat":null,"named_by":null,"number":117,"period":7,"group":17,"phase":"Solid","symbol":"Ts","xpos":17,"ypos":7,"wxpos":31,"wypos":7,"shells":[2,8,18,32,32,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p5","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p5","electron_affinity":165.9,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Oganesson","atomic_mass":294,"boil":350,"category":"unknown, predicted to be noble gas","density":4.95,"discovered_by":"Joint Institute for Nuclear Research","melt":null,"molar_heat":null,"named_by":null,"number":118,"period":7,"group":18,"phase":"Solid","symbol":"Og","xpos":18,"ypos":7,"wxpos":32,"wypos":7,"shells":[2,8,18,32,32,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p6","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p6","electron_affinity":5.40318,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Ununennium","atomic_mass":315,"boil":630,"category":"unknown, but predicted to be an alkali metal","density":3,"discovered_by":"GSI Helmholtz Centre for Heavy Ion Research","melt":null,"molar_heat":null,"named_by":null,"number":119,"period":8,"group":1,"phase":"Solid","symbol":"Uue","xpos":1,"ypos":8,"wxpos":1,"wypos":8,"shells":[2,8,18,32,32,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p6 8s1","electron_configuration_semantic":"*[Uuo] 8s1","electron_affinity":63.87,"electronegativity_pauling":null,"ionization_energies":[],"block":"s"}]'), Or = {
|
|
2799
|
-
|
|
3026
|
+
var Yi;
|
|
3027
|
+
(function(e) {
|
|
3028
|
+
e.SAVE = "save", e.MODEL = "model", e.SCORE = "score", e.MANUAL_SCORE = "manual-score";
|
|
3029
|
+
})(Yi || (Yi = {}));
|
|
3030
|
+
var Qi;
|
|
3031
|
+
(function(e) {
|
|
3032
|
+
e.AUTO = "auto", e.MANUAL = "manual";
|
|
3033
|
+
})(Qi || (Qi = {}));
|
|
3034
|
+
var Zi;
|
|
3035
|
+
(function(e) {
|
|
3036
|
+
e.GATHER = "gather", e.VIEW = "view", e.EVALUATE = "evaluate";
|
|
3037
|
+
})(Zi || (Zi = {}));
|
|
3038
|
+
var eo;
|
|
3039
|
+
(function(e) {
|
|
3040
|
+
e.PENDING = "pending", e.IN_PROGRESS = "in_progress", e.COMPLETED = "completed", e.FAILED = "failed";
|
|
3041
|
+
})(eo || (eo = {}));
|
|
3042
|
+
var no;
|
|
3043
|
+
(function(e) {
|
|
3044
|
+
e[e.ROOT = 0] = "ROOT", e[e.SUBJECT = 1] = "SUBJECT", e[e.LEVEL = 2] = "LEVEL", e[e.STANDARD = 3] = "STANDARD";
|
|
3045
|
+
})(no || (no = {}));
|
|
3046
|
+
ai.player;
|
|
3047
|
+
const Yr = /* @__PURE__ */ JSON.parse('[{"name":"Hydrogen","atomic_mass":1.008,"boil":20.271,"category":"diatomic nonmetal","density":0.08988,"discovered_by":"Henry Cavendish","melt":13.99,"molar_heat":28.836,"named_by":"Antoine Lavoisier","number":1,"period":1,"group":1,"phase":"Gas","symbol":"H","xpos":1,"ypos":1,"wxpos":1,"wypos":1,"shells":[1],"electron_configuration":"1s1","electron_configuration_semantic":"1s1","electron_affinity":72.769,"electronegativity_pauling":2.2,"ionization_energies":[1312],"block":"s"},{"name":"Helium","atomic_mass":4.0026022,"boil":4.222,"category":"noble gas","density":0.1786,"discovered_by":"Pierre Janssen","melt":0.95,"molar_heat":null,"named_by":null,"number":2,"period":1,"group":18,"phase":"Gas","symbol":"He","xpos":18,"ypos":1,"wxpos":32,"wypos":1,"shells":[2],"electron_configuration":"1s2","electron_configuration_semantic":"1s2","electron_affinity":-48,"electronegativity_pauling":null,"ionization_energies":[2372.3,5250.5],"block":"s"},{"name":"Lithium","atomic_mass":6.94,"boil":1603,"category":"alkali metal","density":0.534,"discovered_by":"Johan August Arfwedson","melt":453.65,"molar_heat":24.86,"named_by":null,"number":3,"period":2,"group":1,"phase":"Solid","symbol":"Li","xpos":1,"ypos":2,"wxpos":1,"wypos":2,"shells":[2,1],"electron_configuration":"1s2 2s1","electron_configuration_semantic":"[He] 2s1","electron_affinity":59.6326,"electronegativity_pauling":0.98,"ionization_energies":[520.2,7298.1,11815],"block":"s"},{"name":"Beryllium","atomic_mass":9.01218315,"boil":2742,"category":"alkaline earth metal","density":1.85,"discovered_by":"Louis Nicolas Vauquelin","melt":1560,"molar_heat":16.443,"named_by":null,"number":4,"period":2,"group":2,"phase":"Solid","symbol":"Be","xpos":2,"ypos":2,"wxpos":2,"wypos":2,"shells":[2,2],"electron_configuration":"1s2 2s2","electron_configuration_semantic":"[He] 2s2","electron_affinity":-48,"electronegativity_pauling":1.57,"ionization_energies":[899.5,1757.1,14848.7,21006.6],"block":"s"},{"name":"Boron","atomic_mass":10.81,"boil":4200,"category":"metalloid","density":2.08,"discovered_by":"Joseph Louis Gay-Lussac","melt":2349,"molar_heat":11.087,"named_by":null,"number":5,"period":2,"group":13,"phase":"Solid","symbol":"B","xpos":13,"ypos":2,"wxpos":27,"wypos":2,"shells":[2,3],"electron_configuration":"1s2 2s2 2p1","electron_configuration_semantic":"[He] 2s2 2p1","electron_affinity":26.989,"electronegativity_pauling":2.04,"ionization_energies":[800.6,2427.1,3659.7,25025.8,32826.7],"block":"p"},{"name":"Carbon","atomic_mass":12.011,"boil":null,"category":"polyatomic nonmetal","density":1.821,"discovered_by":"Ancient Egypt","melt":null,"molar_heat":8.517,"named_by":null,"number":6,"period":2,"group":14,"phase":"Solid","symbol":"C","xpos":14,"ypos":2,"wxpos":28,"wypos":2,"shells":[2,4],"electron_configuration":"1s2 2s2 2p2","electron_configuration_semantic":"[He] 2s2 2p2","electron_affinity":121.7763,"electronegativity_pauling":2.55,"ionization_energies":[1086.5,2352.6,4620.5,6222.7,37831,47277],"block":"p"},{"name":"Nitrogen","atomic_mass":14.007,"boil":77.355,"category":"diatomic nonmetal","density":1.251,"discovered_by":"Daniel Rutherford","melt":63.15,"molar_heat":null,"named_by":"Jean-Antoine Chaptal","number":7,"period":2,"group":15,"phase":"Gas","symbol":"N","xpos":15,"ypos":2,"wxpos":29,"wypos":2,"shells":[2,5],"electron_configuration":"1s2 2s2 2p3","electron_configuration_semantic":"[He] 2s2 2p3","electron_affinity":-6.8,"electronegativity_pauling":3.04,"ionization_energies":[1402.3,2856,4578.1,7475,9444.9,53266.6,64360],"block":"p"},{"name":"Oxygen","atomic_mass":15.999,"boil":90.188,"category":"diatomic nonmetal","density":1.429,"discovered_by":"Carl Wilhelm Scheele","melt":54.36,"molar_heat":null,"named_by":"Antoine Lavoisier","number":8,"period":2,"group":16,"phase":"Gas","symbol":"O","xpos":16,"ypos":2,"wxpos":30,"wypos":2,"shells":[2,6],"electron_configuration":"1s2 2s2 2p4","electron_configuration_semantic":"[He] 2s2 2p4","electron_affinity":140.976,"electronegativity_pauling":3.44,"ionization_energies":[1313.9,3388.3,5300.5,7469.2,10989.5,13326.5,71330,84078],"block":"p"},{"name":"Fluorine","atomic_mass":18.9984031636,"boil":85.03,"category":"diatomic nonmetal","density":1.696,"discovered_by":"André-Marie Ampère","melt":53.48,"molar_heat":null,"named_by":"Humphry Davy","number":9,"period":2,"group":17,"phase":"Gas","symbol":"F","xpos":17,"ypos":2,"wxpos":31,"wypos":2,"shells":[2,7],"electron_configuration":"1s2 2s2 2p5","electron_configuration_semantic":"[He] 2s2 2p5","electron_affinity":328.1649,"electronegativity_pauling":3.98,"ionization_energies":[1681,3374.2,6050.4,8407.7,11022.7,15164.1,17868,92038.1,106434.3],"block":"p"},{"name":"Neon","atomic_mass":20.17976,"boil":27.104,"category":"noble gas","density":0.9002,"discovered_by":"Morris Travers","melt":24.56,"molar_heat":null,"named_by":null,"number":10,"period":2,"group":18,"phase":"Gas","symbol":"Ne","xpos":18,"ypos":2,"wxpos":32,"wypos":2,"shells":[2,8],"electron_configuration":"1s2 2s2 2p6","electron_configuration_semantic":"[He] 2s2 2p6","electron_affinity":-116,"electronegativity_pauling":null,"ionization_energies":[2080.7,3952.3,6122,9371,12177,15238,19999,23069.5,115379.5,131432],"block":"p"},{"name":"Sodium","atomic_mass":22.989769282,"boil":1156.09,"category":"alkali metal","density":0.968,"discovered_by":"Humphry Davy","melt":370.944,"molar_heat":28.23,"named_by":null,"number":11,"period":3,"group":1,"phase":"Solid","symbol":"Na","xpos":1,"ypos":3,"wxpos":1,"wypos":3,"shells":[2,8,1],"electron_configuration":"1s2 2s2 2p6 3s1","electron_configuration_semantic":"[Ne] 3s1","electron_affinity":52.867,"electronegativity_pauling":0.93,"ionization_energies":[495.8,4562,6910.3,9543,13354,16613,20117,25496,28932,141362,159076],"block":"s"},{"name":"Magnesium","atomic_mass":24.305,"boil":1363,"category":"alkaline earth metal","density":1.738,"discovered_by":"Joseph Black","melt":923,"molar_heat":24.869,"named_by":null,"number":12,"period":3,"group":2,"phase":"Solid","symbol":"Mg","xpos":2,"ypos":3,"wxpos":2,"wypos":3,"shells":[2,8,2],"electron_configuration":"1s2 2s2 2p6 3s2","electron_configuration_semantic":"[Ne] 3s2","electron_affinity":-40,"electronegativity_pauling":1.31,"ionization_energies":[737.7,1450.7,7732.7,10542.5,13630,18020,21711,25661,31653,35458,169988,189368],"block":"s"},{"name":"Aluminium","atomic_mass":26.98153857,"boil":2743,"category":"post-transition metal","density":2.7,"discovered_by":null,"melt":933.47,"molar_heat":24.2,"named_by":"Humphry Davy","number":13,"period":3,"group":13,"phase":"Solid","symbol":"Al","xpos":13,"ypos":3,"wxpos":27,"wypos":3,"shells":[2,8,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p1","electron_configuration_semantic":"[Ne] 3s2 3p1","electron_affinity":41.762,"electronegativity_pauling":1.61,"ionization_energies":[577.5,1816.7,2744.8,11577,14842,18379,23326,27465,31853,38473,42647,201266,222316],"block":"p"},{"name":"Silicon","atomic_mass":28.085,"boil":3538,"category":"metalloid","density":2.329,"discovered_by":"Jöns Jacob Berzelius","melt":1687,"molar_heat":19.789,"named_by":"Thomas Thomson (chemist)","number":14,"period":3,"group":14,"phase":"Solid","symbol":"Si","xpos":14,"ypos":3,"wxpos":28,"wypos":3,"shells":[2,8,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p2","electron_configuration_semantic":"[Ne] 3s2 3p2","electron_affinity":134.0684,"electronegativity_pauling":1.9,"ionization_energies":[786.5,1577.1,3231.6,4355.5,16091,19805,23780,29287,33878,38726,45962,50502,235196,257923],"block":"p"},{"name":"Phosphorus","atomic_mass":30.9737619985,"boil":null,"category":"polyatomic nonmetal","density":1.823,"discovered_by":"Hennig Brand","melt":null,"molar_heat":23.824,"named_by":null,"number":15,"period":3,"group":15,"phase":"Solid","symbol":"P","xpos":15,"ypos":3,"wxpos":29,"wypos":3,"shells":[2,8,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p3","electron_configuration_semantic":"[Ne] 3s2 3p3","electron_affinity":72.037,"electronegativity_pauling":2.19,"ionization_energies":[1011.8,1907,2914.1,4963.6,6273.9,21267,25431,29872,35905,40950,46261,54110,59024,271791,296195],"block":"p"},{"name":"Sulfur","atomic_mass":32.06,"boil":717.8,"category":"polyatomic nonmetal","density":2.07,"discovered_by":"Ancient china","melt":388.36,"molar_heat":22.75,"named_by":null,"number":16,"period":3,"group":16,"phase":"Solid","symbol":"S","xpos":16,"ypos":3,"wxpos":30,"wypos":3,"shells":[2,8,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p4","electron_configuration_semantic":"[Ne] 3s2 3p4","electron_affinity":200.4101,"electronegativity_pauling":2.58,"ionization_energies":[999.6,2252,3357,4556,7004.3,8495.8,27107,31719,36621,43177,48710,54460,62930,68216,311048,337138],"block":"p"},{"name":"Chlorine","atomic_mass":35.45,"boil":239.11,"category":"diatomic nonmetal","density":3.2,"discovered_by":"Carl Wilhelm Scheele","melt":171.6,"molar_heat":null,"named_by":null,"number":17,"period":3,"group":17,"phase":"Gas","symbol":"Cl","xpos":17,"ypos":3,"wxpos":31,"wypos":3,"shells":[2,8,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p5","electron_configuration_semantic":"[Ne] 3s2 3p5","electron_affinity":348.575,"electronegativity_pauling":3.16,"ionization_energies":[1251.2,2298,3822,5158.6,6542,9362,11018,33604,38600,43961,51068,57119,63363,72341,78095,352994,380760],"block":"p"},{"name":"Argon","atomic_mass":39.9481,"boil":87.302,"category":"noble gas","density":1.784,"discovered_by":"Lord Rayleigh","melt":83.81,"molar_heat":null,"named_by":null,"number":18,"period":3,"group":18,"phase":"Gas","symbol":"Ar","xpos":18,"ypos":3,"wxpos":32,"wypos":3,"shells":[2,8,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6","electron_configuration_semantic":"[Ne] 3s2 3p6","electron_affinity":-96,"electronegativity_pauling":null,"ionization_energies":[1520.6,2665.8,3931,5771,7238,8781,11995,13842,40760,46186,52002,59653,66199,72918,82473,88576,397605,427066],"block":"p"},{"name":"Potassium","atomic_mass":39.09831,"boil":1032,"category":"alkali metal","density":0.862,"discovered_by":"Humphry Davy","melt":336.7,"molar_heat":29.6,"named_by":null,"number":19,"period":4,"group":1,"phase":"Solid","symbol":"K","xpos":1,"ypos":4,"wxpos":1,"wypos":4,"shells":[2,8,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1","electron_configuration_semantic":"[Ar] 4s1","electron_affinity":48.383,"electronegativity_pauling":0.82,"ionization_energies":[418.8,3052,4420,5877,7975,9590,11343,14944,16963.7,48610,54490,60730,68950,75900,83080,93400,99710,444880,476063],"block":"s"},{"name":"Calcium","atomic_mass":40.0784,"boil":1757,"category":"alkaline earth metal","density":1.55,"discovered_by":"Humphry Davy","melt":1115,"molar_heat":25.929,"named_by":null,"number":20,"period":4,"group":2,"phase":"Solid","symbol":"Ca","xpos":2,"ypos":4,"wxpos":2,"wypos":4,"shells":[2,8,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2","electron_configuration_semantic":"[Ar] 4s2","electron_affinity":2.37,"electronegativity_pauling":1,"ionization_energies":[589.8,1145.4,4912.4,6491,8153,10496,12270,14206,18191,20385,57110,63410,70110,78890,86310,94000,104900,111711,494850,527762],"block":"s"},{"name":"Scandium","atomic_mass":44.9559085,"boil":3109,"category":"transition metal","density":2.985,"discovered_by":"Lars Fredrik Nilson","melt":1814,"molar_heat":25.52,"named_by":null,"number":21,"period":4,"group":3,"phase":"Solid","symbol":"Sc","xpos":3,"ypos":4,"wxpos":17,"wypos":4,"shells":[2,8,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d1","electron_configuration_semantic":"[Ar] 3d1 4s2","electron_affinity":18,"electronegativity_pauling":1.36,"ionization_energies":[633.1,1235,2388.6,7090.6,8843,10679,13310,15250,17370,21726,24102,66320,73010,80160,89490,97400,105600,117000,124270,547530,582163],"block":"d"},{"name":"Titanium","atomic_mass":47.8671,"boil":3560,"category":"transition metal","density":4.506,"discovered_by":"William Gregor","melt":1941,"molar_heat":25.06,"named_by":"Martin Heinrich Klaproth","number":22,"period":4,"group":4,"phase":"Solid","symbol":"Ti","xpos":4,"ypos":4,"wxpos":18,"wypos":4,"shells":[2,8,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d2","electron_configuration_semantic":"[Ar] 3d2 4s2","electron_affinity":7.289,"electronegativity_pauling":1.54,"ionization_energies":[658.8,1309.8,2652.5,4174.6,9581,11533,13590,16440,18530,20833,25575,28125,76015,83280,90880,100700,109100,117800,129900,137530,602930,639294],"block":"d"},{"name":"Vanadium","atomic_mass":50.94151,"boil":3680,"category":"transition metal","density":6,"discovered_by":"Andrés Manuel del Río","melt":2183,"molar_heat":24.89,"named_by":"Isotopes of vanadium","number":23,"period":4,"group":5,"phase":"Solid","symbol":"V","xpos":5,"ypos":4,"wxpos":19,"wypos":4,"shells":[2,8,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d3","electron_configuration_semantic":"[Ar] 3d3 4s2","electron_affinity":50.911,"electronegativity_pauling":1.63,"ionization_energies":[650.9,1414,2830,4507,6298.7,12363,14530,16730,19860,22240,24670,29730,32446,86450,94170,102300,112700,121600,130700,143400,151440,661050,699144],"block":"d"},{"name":"Chromium","atomic_mass":51.99616,"boil":2944,"category":"transition metal","density":7.19,"discovered_by":"Louis Nicolas Vauquelin","melt":2180,"molar_heat":23.35,"named_by":null,"number":24,"period":4,"group":6,"phase":"Solid","symbol":"Cr","xpos":6,"ypos":4,"wxpos":20,"wypos":4,"shells":[2,8,13,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1 3d5","electron_configuration_semantic":"[Ar] 3d5 4s1","electron_affinity":65.21,"electronegativity_pauling":1.66,"ionization_energies":[652.9,1590.6,2987,4743,6702,8744.9,15455,17820,20190,23580,26130,28750,34230,37066,97510,105800,114300,125300,134700,144300,157700,166090,721870,761733],"block":"d"},{"name":"Manganese","atomic_mass":54.9380443,"boil":2334,"category":"transition metal","density":7.21,"discovered_by":"Torbern Olof Bergman","melt":1519,"molar_heat":26.32,"named_by":null,"number":25,"period":4,"group":7,"phase":"Solid","symbol":"Mn","xpos":7,"ypos":4,"wxpos":21,"wypos":4,"shells":[2,8,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d5","electron_configuration_semantic":"[Ar] 3d5 4s2","electron_affinity":-50,"electronegativity_pauling":1.55,"ionization_energies":[717.3,1509,3248,4940,6990,9220,11500,18770,21400,23960,27590,30330,33150,38880,41987,109480,118100,127100,138600,148500,158600,172500,181380,785450,827067],"block":"d"},{"name":"Iron","atomic_mass":55.8452,"boil":3134,"category":"transition metal","density":7.874,"discovered_by":"5000 BC","melt":1811,"molar_heat":25.1,"named_by":null,"number":26,"period":4,"group":8,"phase":"Solid","symbol":"Fe","xpos":8,"ypos":4,"wxpos":22,"wypos":4,"shells":[2,8,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d6","electron_configuration_semantic":"[Ar] 3d6 4s2","electron_affinity":14.785,"electronegativity_pauling":1.83,"ionization_energies":[762.5,1561.9,2957,5290,7240,9560,12060,14580,22540,25290,28000,31920,34830,37840,44100,47206,122200,131000,140500,152600,163000,173600,188100,195200,851800,895161],"block":"d"},{"name":"Cobalt","atomic_mass":58.9331944,"boil":3200,"category":"transition metal","density":8.9,"discovered_by":"Georg Brandt","melt":1768,"molar_heat":24.81,"named_by":null,"number":27,"period":4,"group":9,"phase":"Solid","symbol":"Co","xpos":9,"ypos":4,"wxpos":23,"wypos":4,"shells":[2,8,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d7","electron_configuration_semantic":"[Ar] 3d7 4s2","electron_affinity":63.898,"electronegativity_pauling":1.88,"ionization_energies":[760.4,1648,3232,4950,7670,9840,12440,15230,17959,26570,29400,32400,36600,39700,42800,49396,52737,134810,145170,154700,167400,178100,189300,204500,214100,920870,966023],"block":"d"},{"name":"Nickel","atomic_mass":58.69344,"boil":3003,"category":"transition metal","density":8.908,"discovered_by":"Axel Fredrik Cronstedt","melt":1728,"molar_heat":26.07,"named_by":null,"number":28,"period":4,"group":10,"phase":"Solid","symbol":"Ni","xpos":10,"ypos":4,"wxpos":24,"wypos":4,"shells":[2,8,16,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d8","electron_configuration_semantic":"[Ar] 3d8 4s2","electron_affinity":111.65,"electronegativity_pauling":1.91,"ionization_energies":[737.1,1753,3395,5300,7339,10400,12800,15600,18600,21670,30970,34000,37100,41500,44800,48100,55101,58570,148700,159000,169400,182700,194000,205600,221400,231490,992718,1039668],"block":"d"},{"name":"Copper","atomic_mass":63.5463,"boil":2835,"category":"transition metal","density":8.96,"discovered_by":"Middle East","melt":1357.77,"molar_heat":24.44,"named_by":null,"number":29,"period":4,"group":11,"phase":"Solid","symbol":"Cu","xpos":11,"ypos":4,"wxpos":25,"wypos":4,"shells":[2,8,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1 3d10","electron_configuration_semantic":"[Ar] 3d10 4s1","electron_affinity":119.235,"electronegativity_pauling":1.9,"ionization_energies":[745.5,1957.9,3555,5536,7700,9900,13400,16000,19200,22400,25600,35600,38700,42000,46700,50200,53700,61100,64702,163700,174100,184900,198800,210500,222700,239100,249660,1067358,1116105],"block":"d"},{"name":"Zinc","atomic_mass":65.382,"boil":1180,"category":"transition metal","density":7.14,"discovered_by":"India","melt":692.68,"molar_heat":25.47,"named_by":null,"number":30,"period":4,"group":12,"phase":"Solid","symbol":"Zn","xpos":12,"ypos":4,"wxpos":26,"wypos":4,"shells":[2,8,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10","electron_configuration_semantic":"[Ar] 3d10 4s2","electron_affinity":-58,"electronegativity_pauling":1.65,"ionization_energies":[906.4,1733.3,3833,5731,7970,10400,12900,16800,19600,23000,26400,29990,40490,43800,47300,52300,55900,59700,67300,71200,179100],"block":"d"},{"name":"Gallium","atomic_mass":69.7231,"boil":2673,"category":"post-transition metal","density":5.91,"discovered_by":"Lecoq de Boisbaudran","melt":302.9146,"molar_heat":25.86,"named_by":null,"number":31,"period":4,"group":13,"phase":"Solid","symbol":"Ga","xpos":13,"ypos":4,"wxpos":27,"wypos":4,"shells":[2,8,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p1","electron_configuration_semantic":"[Ar] 3d10 4s2 4p1","electron_affinity":41,"electronegativity_pauling":1.81,"ionization_energies":[578.8,1979.3,2963,6180],"block":"p"},{"name":"Germanium","atomic_mass":72.6308,"boil":3106,"category":"metalloid","density":5.323,"discovered_by":"Clemens Winkler","melt":1211.4,"molar_heat":23.222,"named_by":null,"number":32,"period":4,"group":14,"phase":"Solid","symbol":"Ge","xpos":14,"ypos":4,"wxpos":28,"wypos":4,"shells":[2,8,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p2","electron_configuration_semantic":"[Ar] 3d10 4s2 4p2","electron_affinity":118.9352,"electronegativity_pauling":2.01,"ionization_energies":[762,1537.5,3302.1,4411,9020],"block":"p"},{"name":"Arsenic","atomic_mass":74.9215956,"boil":null,"category":"metalloid","density":5.727,"discovered_by":"Bronze Age","melt":null,"molar_heat":24.64,"named_by":null,"number":33,"period":4,"group":15,"phase":"Solid","symbol":"As","xpos":15,"ypos":4,"wxpos":29,"wypos":4,"shells":[2,8,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p3","electron_configuration_semantic":"[Ar] 3d10 4s2 4p3","electron_affinity":77.65,"electronegativity_pauling":2.18,"ionization_energies":[947,1798,2735,4837,6043,12310],"block":"p"},{"name":"Selenium","atomic_mass":78.9718,"boil":958,"category":"polyatomic nonmetal","density":4.81,"discovered_by":"Jöns Jakob Berzelius","melt":494,"molar_heat":25.363,"named_by":null,"number":34,"period":4,"group":16,"phase":"Solid","symbol":"Se","xpos":16,"ypos":4,"wxpos":30,"wypos":4,"shells":[2,8,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p4","electron_configuration_semantic":"[Ar] 3d10 4s2 4p4","electron_affinity":194.9587,"electronegativity_pauling":2.55,"ionization_energies":[941,2045,2973.7,4144,6590,7880,14990],"block":"p"},{"name":"Bromine","atomic_mass":79.904,"boil":332,"category":"diatomic nonmetal","density":3.1028,"discovered_by":"Antoine Jérôme Balard","melt":265.8,"molar_heat":null,"named_by":null,"number":35,"period":4,"group":17,"phase":"Liquid","symbol":"Br","xpos":17,"ypos":4,"wxpos":31,"wypos":4,"shells":[2,8,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p5","electron_configuration_semantic":"[Ar] 3d10 4s2 4p5","electron_affinity":324.537,"electronegativity_pauling":2.96,"ionization_energies":[1139.9,2103,3470,4560,5760,8550,9940,18600],"block":"p"},{"name":"Krypton","atomic_mass":83.7982,"boil":119.93,"category":"noble gas","density":3.749,"discovered_by":"William Ramsay","melt":115.78,"molar_heat":null,"named_by":null,"number":36,"period":4,"group":18,"phase":"Gas","symbol":"Kr","xpos":18,"ypos":4,"wxpos":32,"wypos":4,"shells":[2,8,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6","electron_configuration_semantic":"[Ar] 3d10 4s2 4p6","electron_affinity":-96,"electronegativity_pauling":3,"ionization_energies":[1350.8,2350.4,3565,5070,6240,7570,10710,12138,22274,25880,29700,33800,37700,43100,47500,52200,57100,61800,75800,80400,85300,90400,96300,101400,111100,116290,282500,296200,311400,326200],"block":"p"},{"name":"Rubidium","atomic_mass":85.46783,"boil":961,"category":"alkali metal","density":1.532,"discovered_by":"Robert Bunsen","melt":312.45,"molar_heat":31.06,"named_by":null,"number":37,"period":5,"group":1,"phase":"Solid","symbol":"Rb","xpos":1,"ypos":5,"wxpos":1,"wypos":5,"shells":[2,8,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1","electron_configuration_semantic":"[Kr] 5s1","electron_affinity":46.884,"electronegativity_pauling":0.82,"ionization_energies":[403,2633,3860,5080,6850,8140,9570,13120,14500,26740],"block":"s"},{"name":"Strontium","atomic_mass":87.621,"boil":1650,"category":"alkaline earth metal","density":2.64,"discovered_by":"William Cruickshank (chemist)","melt":1050,"molar_heat":26.4,"named_by":null,"number":38,"period":5,"group":2,"phase":"Solid","symbol":"Sr","xpos":2,"ypos":5,"wxpos":2,"wypos":5,"shells":[2,8,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2","electron_configuration_semantic":"[Kr] 5s2","electron_affinity":5.023,"electronegativity_pauling":0.95,"ionization_energies":[549.5,1064.2,4138,5500,6910,8760,10230,11800,15600,17100,31270],"block":"s"},{"name":"Yttrium","atomic_mass":88.905842,"boil":3203,"category":"transition metal","density":4.472,"discovered_by":"Johan Gadolin","melt":1799,"molar_heat":26.53,"named_by":null,"number":39,"period":5,"group":3,"phase":"Solid","symbol":"Y","xpos":3,"ypos":5,"wxpos":17,"wypos":5,"shells":[2,8,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d1","electron_configuration_semantic":"[Kr] 4d1 5s2","electron_affinity":29.6,"electronegativity_pauling":1.22,"ionization_energies":[600,1180,1980,5847,7430,8970,11190,12450,14110,18400,19900,36090],"block":"d"},{"name":"Zirconium","atomic_mass":91.2242,"boil":4650,"category":"transition metal","density":6.52,"discovered_by":"Martin Heinrich Klaproth","melt":2128,"molar_heat":25.36,"named_by":null,"number":40,"period":5,"group":4,"phase":"Solid","symbol":"Zr","xpos":4,"ypos":5,"wxpos":18,"wypos":5,"shells":[2,8,18,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d2","electron_configuration_semantic":"[Kr] 4d2 5s2","electron_affinity":41.806,"electronegativity_pauling":1.33,"ionization_energies":[640.1,1270,2218,3313,7752,9500],"block":"d"},{"name":"Niobium","atomic_mass":92.906372,"boil":5017,"category":"transition metal","density":8.57,"discovered_by":"Charles Hatchett","melt":2750,"molar_heat":24.6,"named_by":null,"number":41,"period":5,"group":5,"phase":"Solid","symbol":"Nb","xpos":5,"ypos":5,"wxpos":19,"wypos":5,"shells":[2,8,18,12,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d4","electron_configuration_semantic":"[Kr] 4d4 5s1","electron_affinity":88.516,"electronegativity_pauling":1.6,"ionization_energies":[652.1,1380,2416,3700,4877,9847,12100],"block":"d"},{"name":"Molybdenum","atomic_mass":95.951,"boil":4912,"category":"transition metal","density":10.28,"discovered_by":"Carl Wilhelm Scheele","melt":2896,"molar_heat":24.06,"named_by":null,"number":42,"period":5,"group":6,"phase":"Solid","symbol":"Mo","xpos":6,"ypos":5,"wxpos":20,"wypos":5,"shells":[2,8,18,13,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d5","electron_configuration_semantic":"[Kr] 4d5 5s1","electron_affinity":72.1,"electronegativity_pauling":2.16,"ionization_energies":[684.3,1560,2618,4480,5257,6640.8,12125,13860,15835,17980,20190,22219,26930,29196,52490,55000,61400,67700,74000,80400,87000,93400,98420,104400,121900,127700,133800,139800,148100,154500],"block":"d"},{"name":"Technetium","atomic_mass":98,"boil":4538,"category":"transition metal","density":11,"discovered_by":"Emilio Segrè","melt":2430,"molar_heat":24.27,"named_by":null,"number":43,"period":5,"group":7,"phase":"Solid","symbol":"Tc","xpos":7,"ypos":5,"wxpos":21,"wypos":5,"shells":[2,8,18,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d5","electron_configuration_semantic":"[Kr] 4d5 5s2","electron_affinity":53,"electronegativity_pauling":1.9,"ionization_energies":[702,1470,2850],"block":"d"},{"name":"Ruthenium","atomic_mass":101.072,"boil":4423,"category":"transition metal","density":12.45,"discovered_by":"Karl Ernst Claus","melt":2607,"molar_heat":24.06,"named_by":null,"number":44,"period":5,"group":8,"phase":"Solid","symbol":"Ru","xpos":8,"ypos":5,"wxpos":22,"wypos":5,"shells":[2,8,18,15,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d7","electron_configuration_semantic":"[Kr] 4d7 5s1","electron_affinity":100.96,"electronegativity_pauling":2.2,"ionization_energies":[710.2,1620,2747],"block":"d"},{"name":"Rhodium","atomic_mass":102.905502,"boil":3968,"category":"transition metal","density":12.41,"discovered_by":"William Hyde Wollaston","melt":2237,"molar_heat":24.98,"named_by":null,"number":45,"period":5,"group":9,"phase":"Solid","symbol":"Rh","xpos":9,"ypos":5,"wxpos":23,"wypos":5,"shells":[2,8,18,16,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d8","electron_configuration_semantic":"[Kr] 4d8 5s1","electron_affinity":110.27,"electronegativity_pauling":2.28,"ionization_energies":[719.7,1740,2997],"block":"d"},{"name":"Palladium","atomic_mass":106.421,"boil":3236,"category":"transition metal","density":12.023,"discovered_by":"William Hyde Wollaston","melt":1828.05,"molar_heat":25.98,"named_by":null,"number":46,"period":5,"group":10,"phase":"Solid","symbol":"Pd","xpos":10,"ypos":5,"wxpos":24,"wypos":5,"shells":[2,8,18,18],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 4d10","electron_configuration_semantic":"[Kr] 4d10","electron_affinity":54.24,"electronegativity_pauling":2.2,"ionization_energies":[804.4,1870,3177],"block":"d"},{"name":"Silver","atomic_mass":107.86822,"boil":2435,"category":"transition metal","density":10.49,"discovered_by":"unknown, before 5000 BC","melt":1234.93,"molar_heat":25.35,"named_by":null,"number":47,"period":5,"group":11,"phase":"Solid","symbol":"Ag","xpos":11,"ypos":5,"wxpos":25,"wypos":5,"shells":[2,8,18,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d10","electron_configuration_semantic":"[Kr] 4d10 5s1","electron_affinity":125.862,"electronegativity_pauling":1.93,"ionization_energies":[731,2070,3361],"block":"d"},{"name":"Cadmium","atomic_mass":112.4144,"boil":1040,"category":"transition metal","density":8.65,"discovered_by":"Karl Samuel Leberecht Hermann","melt":594.22,"molar_heat":26.02,"named_by":"Isotopes of cadmium","number":48,"period":5,"group":12,"phase":"Solid","symbol":"Cd","xpos":12,"ypos":5,"wxpos":26,"wypos":5,"shells":[2,8,18,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10","electron_configuration_semantic":"[Kr] 4d10 5s2","electron_affinity":-68,"electronegativity_pauling":1.69,"ionization_energies":[867.8,1631.4,3616],"block":"d"},{"name":"Indium","atomic_mass":114.8181,"boil":2345,"category":"post-transition metal","density":7.31,"discovered_by":"Ferdinand Reich","melt":429.7485,"molar_heat":26.74,"named_by":null,"number":49,"period":5,"group":13,"phase":"Solid","symbol":"In","xpos":13,"ypos":5,"wxpos":27,"wypos":5,"shells":[2,8,18,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p1","electron_configuration_semantic":"[Kr] 4d10 5s2 5p1","electron_affinity":37.043,"electronegativity_pauling":1.78,"ionization_energies":[558.3,1820.7,2704,5210],"block":"p"},{"name":"Tin","atomic_mass":118.7107,"boil":2875,"category":"post-transition metal","density":7.365,"discovered_by":"unknown, before 3500 BC","melt":505.08,"molar_heat":27.112,"named_by":null,"number":50,"period":5,"group":14,"phase":"Solid","symbol":"Sn","xpos":14,"ypos":5,"wxpos":28,"wypos":5,"shells":[2,8,18,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p2","electron_configuration_semantic":"[Kr] 4d10 5s2 5p2","electron_affinity":107.2984,"electronegativity_pauling":1.96,"ionization_energies":[708.6,1411.8,2943,3930.3,7456],"block":"p"},{"name":"Antimony","atomic_mass":121.7601,"boil":1908,"category":"metalloid","density":6.697,"discovered_by":"unknown, before 3000 BC","melt":903.78,"molar_heat":25.23,"named_by":null,"number":51,"period":5,"group":15,"phase":"Solid","symbol":"Sb","xpos":15,"ypos":5,"wxpos":29,"wypos":5,"shells":[2,8,18,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p3","electron_configuration_semantic":"[Kr] 4d10 5s2 5p3","electron_affinity":101.059,"electronegativity_pauling":2.05,"ionization_energies":[834,1594.9,2440,4260,5400,10400],"block":"p"},{"name":"Tellurium","atomic_mass":127.603,"boil":1261,"category":"metalloid","density":6.24,"discovered_by":"Franz-Joseph Müller von Reichenstein","melt":722.66,"molar_heat":25.73,"named_by":null,"number":52,"period":5,"group":16,"phase":"Solid","symbol":"Te","xpos":16,"ypos":5,"wxpos":30,"wypos":5,"shells":[2,8,18,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p4","electron_configuration_semantic":"[Kr] 4d10 5s2 5p4","electron_affinity":190.161,"electronegativity_pauling":2.1,"ionization_energies":[869.3,1790,2698,3610,5668,6820,13200],"block":"p"},{"name":"Iodine","atomic_mass":126.904473,"boil":457.4,"category":"diatomic nonmetal","density":4.933,"discovered_by":"Bernard Courtois","melt":386.85,"molar_heat":null,"named_by":null,"number":53,"period":5,"group":17,"phase":"Solid","symbol":"I","xpos":17,"ypos":5,"wxpos":31,"wypos":5,"shells":[2,8,18,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p5","electron_configuration_semantic":"[Kr] 4d10 5s2 5p5","electron_affinity":295.1531,"electronegativity_pauling":2.66,"ionization_energies":[1008.4,1845.9,3180],"block":"p"},{"name":"Xenon","atomic_mass":131.2936,"boil":165.051,"category":"noble gas","density":5.894,"discovered_by":"William Ramsay","melt":161.4,"molar_heat":null,"named_by":null,"number":54,"period":5,"group":18,"phase":"Gas","symbol":"Xe","xpos":18,"ypos":5,"wxpos":32,"wypos":5,"shells":[2,8,18,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6","electron_configuration_semantic":"[Kr] 4d10 5s2 5p6","electron_affinity":-77,"electronegativity_pauling":2.6,"ionization_energies":[1170.4,2046.4,3099.4],"block":"p"},{"name":"Cesium","atomic_mass":132.905451966,"boil":944,"category":"alkali metal","density":1.93,"discovered_by":"Robert Bunsen","melt":301.7,"molar_heat":32.21,"named_by":null,"number":55,"period":6,"group":1,"phase":"Solid","symbol":"Cs","xpos":1,"ypos":6,"wxpos":1,"wypos":6,"shells":[2,8,18,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1","electron_configuration_semantic":"[Xe] 6s1","electron_affinity":45.505,"electronegativity_pauling":0.79,"ionization_energies":[375.7,2234.3,3400],"block":"s"},{"name":"Barium","atomic_mass":137.3277,"boil":2118,"category":"alkaline earth metal","density":3.51,"discovered_by":"Carl Wilhelm Scheele","melt":1000,"molar_heat":28.07,"named_by":null,"number":56,"period":6,"group":2,"phase":"Solid","symbol":"Ba","xpos":2,"ypos":6,"wxpos":2,"wypos":6,"shells":[2,8,18,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2","electron_configuration_semantic":"[Xe] 6s2","electron_affinity":13.954,"electronegativity_pauling":0.89,"ionization_energies":[502.9,965.2,3600],"block":"s"},{"name":"Lanthanum","atomic_mass":138.905477,"boil":3737,"category":"lanthanide","density":6.162,"discovered_by":"Carl Gustaf Mosander","melt":1193,"molar_heat":27.11,"named_by":null,"number":57,"period":6,"group":3,"phase":"Solid","symbol":"La","xpos":3,"ypos":9,"wxpos":3,"wypos":6,"shells":[2,8,18,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 5d1","electron_configuration_semantic":"[Xe] 5d16s2","electron_affinity":53,"electronegativity_pauling":1.1,"ionization_energies":[538.1,1067,1850.3,4819,5940],"block":"f"},{"name":"Cerium","atomic_mass":140.1161,"boil":3716,"category":"lanthanide","density":6.77,"discovered_by":"Martin Heinrich Klaproth","melt":1068,"molar_heat":26.94,"named_by":null,"number":58,"period":6,"group":3,"phase":"Solid","symbol":"Ce","xpos":4,"ypos":9,"wxpos":4,"wypos":6,"shells":[2,8,18,19,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 5d1 4f1","electron_configuration_semantic":"[Xe] 4f1 5d1 6s2","electron_affinity":55,"electronegativity_pauling":1.12,"ionization_energies":[534.4,1050,1949,3547,6325,7490],"block":"f"},{"name":"Praseodymium","atomic_mass":140.907662,"boil":3403,"category":"lanthanide","density":6.77,"discovered_by":"Carl Auer von Welsbach","melt":1208,"molar_heat":27.2,"named_by":null,"number":59,"period":6,"group":3,"phase":"Solid","symbol":"Pr","xpos":5,"ypos":9,"wxpos":5,"wypos":6,"shells":[2,8,18,21,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f3","electron_configuration_semantic":"[Xe] 4f3 6s2","electron_affinity":93,"electronegativity_pauling":1.13,"ionization_energies":[527,1020,2086,3761,5551],"block":"f"},{"name":"Neodymium","atomic_mass":144.2423,"boil":3347,"category":"lanthanide","density":7.01,"discovered_by":"Carl Auer von Welsbach","melt":1297,"molar_heat":27.45,"named_by":null,"number":60,"period":6,"group":3,"phase":"Solid","symbol":"Nd","xpos":6,"ypos":9,"wxpos":6,"wypos":6,"shells":[2,8,18,22,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f4","electron_configuration_semantic":"[Xe] 4f4 6s2","electron_affinity":184.87,"electronegativity_pauling":1.14,"ionization_energies":[533.1,1040,2130,3900],"block":"f"},{"name":"Promethium","atomic_mass":145,"boil":3273,"category":"lanthanide","density":7.26,"discovered_by":"Chien Shiung Wu","melt":1315,"molar_heat":null,"named_by":"Isotopes of promethium","number":61,"period":6,"group":3,"phase":"Solid","symbol":"Pm","xpos":7,"ypos":9,"wxpos":7,"wypos":6,"shells":[2,8,18,23,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f5","electron_configuration_semantic":"[Xe] 4f5 6s2","electron_affinity":12.45,"electronegativity_pauling":1.13,"ionization_energies":[540,1050,2150,3970],"block":"f"},{"name":"Samarium","atomic_mass":150.362,"boil":2173,"category":"lanthanide","density":7.52,"discovered_by":"Lecoq de Boisbaudran","melt":1345,"molar_heat":29.54,"named_by":null,"number":62,"period":6,"group":3,"phase":"Solid","symbol":"Sm","xpos":8,"ypos":9,"wxpos":8,"wypos":6,"shells":[2,8,18,24,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f6","electron_configuration_semantic":"[Xe] 4f6 6s2","electron_affinity":15.63,"electronegativity_pauling":1.17,"ionization_energies":[544.5,1070,2260,3990],"block":"f"},{"name":"Europium","atomic_mass":151.9641,"boil":1802,"category":"lanthanide","density":5.264,"discovered_by":"Eugène-Anatole Demarçay","melt":1099,"molar_heat":27.66,"named_by":null,"number":63,"period":6,"group":3,"phase":"Solid","symbol":"Eu","xpos":9,"ypos":9,"wxpos":9,"wypos":6,"shells":[2,8,18,25,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f7","electron_configuration_semantic":"[Xe] 4f7 6s2","electron_affinity":11.2,"electronegativity_pauling":1.2,"ionization_energies":[547.1,1085,2404,4120],"block":"f"},{"name":"Gadolinium","atomic_mass":157.253,"boil":3273,"category":"lanthanide","density":7.9,"discovered_by":"Jean Charles Galissard de Marignac","melt":1585,"molar_heat":37.03,"named_by":null,"number":64,"period":6,"group":3,"phase":"Solid","symbol":"Gd","xpos":10,"ypos":9,"wxpos":10,"wypos":6,"shells":[2,8,18,25,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f7 5d1","electron_configuration_semantic":"[Xe] 4f7 5d1 6s2","electron_affinity":13.22,"electronegativity_pauling":1.2,"ionization_energies":[593.4,1170,1990,4250],"block":"f"},{"name":"Terbium","atomic_mass":158.925352,"boil":3396,"category":"lanthanide","density":8.23,"discovered_by":"Carl Gustaf Mosander","melt":1629,"molar_heat":28.91,"named_by":null,"number":65,"period":6,"group":3,"phase":"Solid","symbol":"Tb","xpos":11,"ypos":9,"wxpos":11,"wypos":6,"shells":[2,8,18,27,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f9","electron_configuration_semantic":"[Xe] 4f9 6s2","electron_affinity":112.4,"electronegativity_pauling":1.1,"ionization_energies":[565.8,1110,2114,3839],"block":"f"},{"name":"Dysprosium","atomic_mass":162.5001,"boil":2840,"category":"lanthanide","density":8.54,"discovered_by":"Lecoq de Boisbaudran","melt":1680,"molar_heat":27.7,"named_by":null,"number":66,"period":6,"group":3,"phase":"Solid","symbol":"Dy","xpos":12,"ypos":9,"wxpos":12,"wypos":6,"shells":[2,8,18,28,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f10","electron_configuration_semantic":"[Xe] 4f10 6s2","electron_affinity":33.96,"electronegativity_pauling":1.22,"ionization_energies":[573,1130,2200,3990],"block":"f"},{"name":"Holmium","atomic_mass":164.930332,"boil":2873,"category":"lanthanide","density":8.79,"discovered_by":"Marc Delafontaine","melt":1734,"molar_heat":27.15,"named_by":null,"number":67,"period":6,"group":3,"phase":"Solid","symbol":"Ho","xpos":13,"ypos":9,"wxpos":13,"wypos":6,"shells":[2,8,18,29,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f11","electron_configuration_semantic":"[Xe] 4f11 6s2","electron_affinity":32.61,"electronegativity_pauling":1.23,"ionization_energies":[581,1140,2204,4100],"block":"f"},{"name":"Erbium","atomic_mass":167.2593,"boil":3141,"category":"lanthanide","density":9.066,"discovered_by":"Carl Gustaf Mosander","melt":1802,"molar_heat":28.12,"named_by":null,"number":68,"period":6,"group":3,"phase":"Solid","symbol":"Er","xpos":14,"ypos":9,"wxpos":14,"wypos":6,"shells":[2,8,18,30,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f12","electron_configuration_semantic":"[Xe] 4f12 6s2","electron_affinity":30.1,"electronegativity_pauling":1.24,"ionization_energies":[589.3,1150,2194,4120],"block":"f"},{"name":"Thulium","atomic_mass":168.934222,"boil":2223,"category":"lanthanide","density":9.32,"discovered_by":"Per Teodor Cleve","melt":1818,"molar_heat":27.03,"named_by":null,"number":69,"period":6,"group":3,"phase":"Solid","symbol":"Tm","xpos":15,"ypos":9,"wxpos":15,"wypos":6,"shells":[2,8,18,31,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f13","electron_configuration_semantic":"[Xe] 4f13 6s2","electron_affinity":99,"electronegativity_pauling":1.25,"ionization_energies":[596.7,1160,2285,4120],"block":"f"},{"name":"Ytterbium","atomic_mass":173.0451,"boil":1469,"category":"lanthanide","density":6.9,"discovered_by":"Jean Charles Galissard de Marignac","melt":1097,"molar_heat":26.74,"named_by":null,"number":70,"period":6,"group":3,"phase":"Solid","symbol":"Yb","xpos":16,"ypos":9,"wxpos":16,"wypos":6,"shells":[2,8,18,32,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14","electron_configuration_semantic":"[Xe] 4f14 6s2","electron_affinity":-1.93,"electronegativity_pauling":1.1,"ionization_energies":[603.4,1174.8,2417,4203],"block":"f"},{"name":"Lutetium","atomic_mass":174.96681,"boil":3675,"category":"lanthanide","density":9.841,"discovered_by":"Georges Urbain","melt":1925,"molar_heat":26.86,"named_by":null,"number":71,"period":6,"group":3,"phase":"Solid","symbol":"Lu","xpos":17,"ypos":9,"wxpos":17,"wypos":6,"shells":[2,8,18,32,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d1","electron_configuration_semantic":"[Xe] 4f14 5d1 6s2","electron_affinity":33.4,"electronegativity_pauling":1.27,"ionization_energies":[523.5,1340,2022.3,4370,6445],"block":"d"},{"name":"Hafnium","atomic_mass":178.492,"boil":4876,"category":"transition metal","density":13.31,"discovered_by":"Dirk Coster","melt":2506,"molar_heat":25.73,"named_by":null,"number":72,"period":6,"group":4,"phase":"Solid","symbol":"Hf","xpos":4,"ypos":6,"wxpos":18,"wypos":6,"shells":[2,8,18,32,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d2","electron_configuration_semantic":"[Xe] 4f14 5d2 6s2","electron_affinity":17.18,"electronegativity_pauling":1.3,"ionization_energies":[658.5,1440,2250,3216],"block":"d"},{"name":"Tantalum","atomic_mass":180.947882,"boil":5731,"category":"transition metal","density":16.69,"discovered_by":"Anders Gustaf Ekeberg","melt":3290,"molar_heat":25.36,"named_by":null,"number":73,"period":6,"group":5,"phase":"Solid","symbol":"Ta","xpos":5,"ypos":6,"wxpos":19,"wypos":6,"shells":[2,8,18,32,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d3","electron_configuration_semantic":"[Xe] 4f14 5d3 6s2","electron_affinity":31,"electronegativity_pauling":1.5,"ionization_energies":[761,1500],"block":"d"},{"name":"Tungsten","atomic_mass":183.841,"boil":6203,"category":"transition metal","density":19.25,"discovered_by":"Carl Wilhelm Scheele","melt":3695,"molar_heat":24.27,"named_by":null,"number":74,"period":6,"group":6,"phase":"Solid","symbol":"W","xpos":6,"ypos":6,"wxpos":20,"wypos":6,"shells":[2,8,18,32,12,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d4","electron_configuration_semantic":"[Xe] 4f14 5d4 6s2","electron_affinity":78.76,"electronegativity_pauling":2.36,"ionization_energies":[770,1700],"block":"d"},{"name":"Rhenium","atomic_mass":186.2071,"boil":5869,"category":"transition metal","density":21.02,"discovered_by":"Masataka Ogawa","melt":3459,"molar_heat":25.48,"named_by":"Walter Noddack","number":75,"period":6,"group":7,"phase":"Solid","symbol":"Re","xpos":7,"ypos":6,"wxpos":21,"wypos":6,"shells":[2,8,18,32,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d5","electron_configuration_semantic":"[Xe] 4f14 5d5 6s2","electron_affinity":5.8273,"electronegativity_pauling":1.9,"ionization_energies":[760,1260,2510,3640],"block":"d"},{"name":"Osmium","atomic_mass":190.233,"boil":5285,"category":"transition metal","density":22.59,"discovered_by":"Smithson Tennant","melt":3306,"molar_heat":24.7,"named_by":null,"number":76,"period":6,"group":8,"phase":"Solid","symbol":"Os","xpos":8,"ypos":6,"wxpos":22,"wypos":6,"shells":[2,8,18,32,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d6","electron_configuration_semantic":"[Xe] 4f14 5d6 6s2","electron_affinity":103.99,"electronegativity_pauling":2.2,"ionization_energies":[840,1600],"block":"d"},{"name":"Iridium","atomic_mass":192.2173,"boil":4403,"category":"transition metal","density":22.56,"discovered_by":"Smithson Tennant","melt":2719,"molar_heat":25.1,"named_by":null,"number":77,"period":6,"group":9,"phase":"Solid","symbol":"Ir","xpos":9,"ypos":6,"wxpos":23,"wypos":6,"shells":[2,8,18,32,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d7","electron_configuration_semantic":"[Xe] 4f14 5d7 6s2","electron_affinity":150.94,"electronegativity_pauling":2.2,"ionization_energies":[880,1600],"block":"d"},{"name":"Platinum","atomic_mass":195.0849,"boil":4098,"category":"transition metal","density":21.45,"discovered_by":"Antonio de Ulloa","melt":2041.4,"molar_heat":25.86,"named_by":null,"number":78,"period":6,"group":10,"phase":"Solid","symbol":"Pt","xpos":10,"ypos":6,"wxpos":24,"wypos":6,"shells":[2,8,18,32,17,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1 4f14 5d9","electron_configuration_semantic":"[Xe] 4f14 5d9 6s1","electron_affinity":205.041,"electronegativity_pauling":2.28,"ionization_energies":[870,1791],"block":"d"},{"name":"Gold","atomic_mass":196.9665695,"boil":3243,"category":"transition metal","density":19.3,"discovered_by":"Middle East","melt":1337.33,"molar_heat":25.418,"named_by":null,"number":79,"period":6,"group":11,"phase":"Solid","symbol":"Au","xpos":11,"ypos":6,"wxpos":25,"wypos":6,"shells":[2,8,18,32,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1 4f14 5d10","electron_configuration_semantic":"[Xe] 4f14 5d10 6s1","electron_affinity":222.747,"electronegativity_pauling":2.54,"ionization_energies":[890.1,1980],"block":"d"},{"name":"Mercury","atomic_mass":200.5923,"boil":629.88,"category":"transition metal","density":13.534,"discovered_by":"unknown, before 2000 BCE","melt":234.321,"molar_heat":27.983,"named_by":null,"number":80,"period":6,"group":12,"phase":"Liquid","symbol":"Hg","xpos":12,"ypos":6,"wxpos":26,"wypos":6,"shells":[2,8,18,32,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2","electron_affinity":-48,"electronegativity_pauling":2,"ionization_energies":[1007.1,1810,3300],"block":"d"},{"name":"Thallium","atomic_mass":204.38,"boil":1746,"category":"post-transition metal","density":11.85,"discovered_by":"William Crookes","melt":577,"molar_heat":26.32,"named_by":null,"number":81,"period":6,"group":13,"phase":"Solid","symbol":"Tl","xpos":13,"ypos":6,"wxpos":27,"wypos":6,"shells":[2,8,18,32,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p1","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p1","electron_affinity":36.4,"electronegativity_pauling":1.62,"ionization_energies":[589.4,1971,2878],"block":"p"},{"name":"Lead","atomic_mass":207.21,"boil":2022,"category":"post-transition metal","density":11.34,"discovered_by":"Middle East","melt":600.61,"molar_heat":26.65,"named_by":null,"number":82,"period":6,"group":14,"phase":"Solid","symbol":"Pb","xpos":14,"ypos":6,"wxpos":28,"wypos":6,"shells":[2,8,18,32,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p2","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p2","electron_affinity":34.4204,"electronegativity_pauling":1.87,"ionization_energies":[715.6,1450.5,3081.5,4083,6640],"block":"p"},{"name":"Bismuth","atomic_mass":208.980401,"boil":1837,"category":"post-transition metal","density":9.78,"discovered_by":"Claude François Geoffroy","melt":544.7,"molar_heat":25.52,"named_by":null,"number":83,"period":6,"group":15,"phase":"Solid","symbol":"Bi","xpos":15,"ypos":6,"wxpos":29,"wypos":6,"shells":[2,8,18,32,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p3","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p3","electron_affinity":90.924,"electronegativity_pauling":2.02,"ionization_energies":[703,1610,2466,4370,5400,8520],"block":"p"},{"name":"Polonium","atomic_mass":209,"boil":1235,"category":"post-transition metal","density":9.196,"discovered_by":"Pierre Curie","melt":527,"molar_heat":26.4,"named_by":null,"number":84,"period":6,"group":16,"phase":"Solid","symbol":"Po","xpos":16,"ypos":6,"wxpos":30,"wypos":6,"shells":[2,8,18,32,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p4","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p4","electron_affinity":136,"electronegativity_pauling":2,"ionization_energies":[812.1],"block":"p"},{"name":"Astatine","atomic_mass":210,"boil":610,"category":"metalloid","density":6.35,"discovered_by":"Dale R. Corson","melt":575,"molar_heat":null,"named_by":null,"number":85,"period":6,"group":17,"phase":"Solid","symbol":"At","xpos":17,"ypos":6,"wxpos":31,"wypos":6,"shells":[2,8,18,32,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p5","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p5","electron_affinity":233,"electronegativity_pauling":2.2,"ionization_energies":[899.003],"block":"p"},{"name":"Radon","atomic_mass":222,"boil":211.5,"category":"noble gas","density":9.73,"discovered_by":"Friedrich Ernst Dorn","melt":202,"molar_heat":null,"named_by":null,"number":86,"period":6,"group":18,"phase":"Gas","symbol":"Rn","xpos":18,"ypos":6,"wxpos":32,"wypos":6,"shells":[2,8,18,32,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p6","electron_affinity":-68,"electronegativity_pauling":2.2,"ionization_energies":[1037],"block":"p"},{"name":"Francium","atomic_mass":223,"boil":950,"category":"alkali metal","density":1.87,"discovered_by":"Marguerite Perey","melt":300,"molar_heat":null,"named_by":null,"number":87,"period":7,"group":1,"phase":"Solid","symbol":"Fr","xpos":1,"ypos":7,"wxpos":1,"wypos":7,"shells":[2,8,18,32,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s1","electron_configuration_semantic":"[Rn] 7s1","electron_affinity":46.89,"electronegativity_pauling":0.79,"ionization_energies":[380],"block":"s"},{"name":"Radium","atomic_mass":226,"boil":2010,"category":"alkaline earth metal","density":5.5,"discovered_by":"Pierre Curie","melt":1233,"molar_heat":null,"named_by":null,"number":88,"period":7,"group":2,"phase":"Solid","symbol":"Ra","xpos":2,"ypos":7,"wxpos":2,"wypos":7,"shells":[2,8,18,32,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2","electron_configuration_semantic":"[Rn] 7s2","electron_affinity":9.6485,"electronegativity_pauling":0.9,"ionization_energies":[509.3,979],"block":"s"},{"name":"Actinium","atomic_mass":227,"boil":3500,"category":"actinide","density":10,"discovered_by":"Friedrich Oskar Giesel","melt":1500,"molar_heat":27.2,"named_by":null,"number":89,"period":7,"group":3,"phase":"Solid","symbol":"Ac","xpos":3,"ypos":10,"wxpos":3,"wypos":7,"shells":[2,8,18,32,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 6d1","electron_configuration_semantic":"[Rn] 6d1 7s2","electron_affinity":33.77,"electronegativity_pauling":1.1,"ionization_energies":[499,1170],"block":"f"},{"name":"Thorium","atomic_mass":232.03774,"boil":5061,"category":"actinide","density":11.724,"discovered_by":"Jöns Jakob Berzelius","melt":2023,"molar_heat":26.23,"named_by":null,"number":90,"period":7,"group":3,"phase":"Solid","symbol":"Th","xpos":4,"ypos":10,"wxpos":4,"wypos":7,"shells":[2,8,18,32,18,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 6d2","electron_configuration_semantic":"[Rn] 6d2 7s2","electron_affinity":112.72,"electronegativity_pauling":1.3,"ionization_energies":[587,1110,1930,2780],"block":"f"},{"name":"Protactinium","atomic_mass":231.035882,"boil":4300,"category":"actinide","density":15.37,"discovered_by":"William Crookes","melt":1841,"molar_heat":null,"named_by":"Otto Hahn","number":91,"period":7,"group":3,"phase":"Solid","symbol":"Pa","xpos":5,"ypos":10,"wxpos":5,"wypos":7,"shells":[2,8,18,32,20,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f2 6d1","electron_configuration_semantic":"[Rn] 5f2 6d1 7s2","electron_affinity":53.03,"electronegativity_pauling":1.5,"ionization_energies":[568],"block":"f"},{"name":"Uranium","atomic_mass":238.028913,"boil":4404,"category":"actinide","density":19.1,"discovered_by":"Martin Heinrich Klaproth","melt":1405.3,"molar_heat":27.665,"named_by":null,"number":92,"period":7,"group":3,"phase":"Solid","symbol":"U","xpos":6,"ypos":10,"wxpos":6,"wypos":7,"shells":[2,8,18,32,21,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f3 6d1","electron_configuration_semantic":"[Rn] 5f3 6d1 7s2","electron_affinity":50.94,"electronegativity_pauling":1.38,"ionization_energies":[597.6,1420],"block":"f"},{"name":"Neptunium","atomic_mass":237,"boil":4447,"category":"actinide","density":20.45,"discovered_by":"Edwin McMillan","melt":912,"molar_heat":29.46,"named_by":null,"number":93,"period":7,"group":3,"phase":"Solid","symbol":"Np","xpos":7,"ypos":10,"wxpos":7,"wypos":7,"shells":[2,8,18,32,22,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f4 6d1","electron_configuration_semantic":"[Rn] 5f4 6d1 7s2","electron_affinity":45.85,"electronegativity_pauling":1.36,"ionization_energies":[604.5],"block":"f"},{"name":"Plutonium","atomic_mass":244,"boil":3505,"category":"actinide","density":19.816,"discovered_by":"Glenn T. Seaborg","melt":912.5,"molar_heat":35.5,"named_by":null,"number":94,"period":7,"group":3,"phase":"Solid","symbol":"Pu","xpos":8,"ypos":10,"wxpos":8,"wypos":7,"shells":[2,8,18,32,24,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f6","electron_configuration_semantic":"[Rn] 5f6 7s2","electron_affinity":-48.33,"electronegativity_pauling":1.28,"ionization_energies":[584.7],"block":"f"},{"name":"Americium","atomic_mass":243,"boil":2880,"category":"actinide","density":12,"discovered_by":"Glenn T. Seaborg","melt":1449,"molar_heat":62.7,"named_by":null,"number":95,"period":7,"group":3,"phase":"Solid","symbol":"Am","xpos":9,"ypos":10,"wxpos":9,"wypos":7,"shells":[2,8,18,32,25,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f7","electron_configuration_semantic":"[Rn] 5f7 7s2","electron_affinity":9.93,"electronegativity_pauling":1.13,"ionization_energies":[578],"block":"f"},{"name":"Curium","atomic_mass":247,"boil":3383,"category":"actinide","density":13.51,"discovered_by":"Glenn T. Seaborg","melt":1613,"molar_heat":null,"named_by":null,"number":96,"period":7,"group":3,"phase":"Solid","symbol":"Cm","xpos":10,"ypos":10,"wxpos":10,"wypos":7,"shells":[2,8,18,32,25,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f7 6d1","electron_configuration_semantic":"[Rn] 5f7 6d1 7s2","electron_affinity":27.17,"electronegativity_pauling":1.28,"ionization_energies":[581],"block":"f"},{"name":"Berkelium","atomic_mass":247,"boil":2900,"category":"actinide","density":14.78,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1259,"molar_heat":null,"named_by":null,"number":97,"period":7,"group":3,"phase":"Solid","symbol":"Bk","xpos":11,"ypos":10,"wxpos":11,"wypos":7,"shells":[2,8,18,32,27,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f9","electron_configuration_semantic":"[Rn] 5f9 7s2","electron_affinity":-165.24,"electronegativity_pauling":1.3,"ionization_energies":[601],"block":"f"},{"name":"Californium","atomic_mass":251,"boil":1743,"category":"actinide","density":15.1,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1173,"molar_heat":null,"named_by":null,"number":98,"period":7,"group":3,"phase":"Solid","symbol":"Cf","xpos":12,"ypos":10,"wxpos":12,"wypos":7,"shells":[2,8,18,32,28,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f10","electron_configuration_semantic":"[Rn] 5f10 7s2","electron_affinity":-97.31,"electronegativity_pauling":1.3,"ionization_energies":[608],"block":"f"},{"name":"Einsteinium","atomic_mass":252,"boil":1269,"category":"actinide","density":8.84,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1133,"molar_heat":null,"named_by":null,"number":99,"period":7,"group":3,"phase":"Solid","symbol":"Es","xpos":13,"ypos":10,"wxpos":13,"wypos":7,"shells":[2,8,18,32,29,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f11","electron_configuration_semantic":"[Rn] 5f11 7s2","electron_affinity":-28.6,"electronegativity_pauling":1.3,"ionization_energies":[619],"block":"f"},{"name":"Fermium","atomic_mass":257,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1800,"molar_heat":null,"named_by":null,"number":100,"period":7,"group":3,"phase":"Solid","symbol":"Fm","xpos":14,"ypos":10,"wxpos":14,"wypos":7,"shells":[2,8,18,32,30,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f12","electron_configuration_semantic":"[Rn] 5f12 7s2","electron_affinity":33.96,"electronegativity_pauling":1.3,"ionization_energies":[627],"block":"f"},{"name":"Mendelevium","atomic_mass":258,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1100,"molar_heat":null,"named_by":null,"number":101,"period":7,"group":3,"phase":"Solid","symbol":"Md","xpos":15,"ypos":10,"wxpos":15,"wypos":7,"shells":[2,8,18,32,31,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f13","electron_configuration_semantic":"[Rn] 5f13 7s2","electron_affinity":93.91,"electronegativity_pauling":1.3,"ionization_energies":[635],"block":"f"},{"name":"Nobelium","atomic_mass":259,"boil":null,"category":"actinide","density":null,"discovered_by":"Joint Institute for Nuclear Research","melt":1100,"molar_heat":null,"named_by":null,"number":102,"period":7,"group":3,"phase":"Solid","symbol":"No","xpos":16,"ypos":10,"wxpos":16,"wypos":7,"shells":[2,8,18,32,32,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14","electron_configuration_semantic":"[Rn] 5f14 7s2","electron_affinity":-223.22,"electronegativity_pauling":1.3,"ionization_energies":[642],"block":"f"},{"name":"Lawrencium","atomic_mass":266,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1900,"molar_heat":null,"named_by":null,"number":103,"period":7,"group":3,"phase":"Solid","symbol":"Lr","xpos":17,"ypos":10,"wxpos":17,"wypos":7,"shells":[2,8,18,32,32,8,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 7p1","electron_configuration_semantic":"[Rn] 5f14 7s2 7p1","electron_affinity":-30.04,"electronegativity_pauling":1.3,"ionization_energies":[470],"block":"d"},{"name":"Rutherfordium","atomic_mass":267,"boil":5800,"category":"transition metal","density":23.2,"discovered_by":"Joint Institute for Nuclear Research","melt":2400,"molar_heat":null,"named_by":null,"number":104,"period":7,"group":4,"phase":"Solid","symbol":"Rf","xpos":4,"ypos":7,"wxpos":18,"wypos":7,"shells":[2,8,18,32,32,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d2","electron_configuration_semantic":"[Rn] 5f14 6d2 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[580],"block":"d"},{"name":"Dubnium","atomic_mass":268,"boil":null,"category":"transition metal","density":29.3,"discovered_by":"Joint Institute for Nuclear Research","melt":null,"molar_heat":null,"named_by":null,"number":105,"period":7,"group":5,"phase":"Solid","symbol":"Db","xpos":5,"ypos":7,"wxpos":19,"wypos":7,"shells":[2,8,18,32,32,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d3","electron_configuration_semantic":"*[Rn] 5f14 6d3 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Seaborgium","atomic_mass":269,"boil":null,"category":"transition metal","density":35,"discovered_by":"Lawrence Berkeley National Laboratory","melt":null,"molar_heat":null,"named_by":null,"number":106,"period":7,"group":6,"phase":"Solid","symbol":"Sg","xpos":6,"ypos":7,"wxpos":20,"wypos":7,"shells":[2,8,18,32,32,12,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d4","electron_configuration_semantic":"*[Rn] 5f14 6d4 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Bohrium","atomic_mass":270,"boil":null,"category":"transition metal","density":37.1,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":107,"period":7,"group":7,"phase":"Solid","symbol":"Bh","xpos":7,"ypos":7,"wxpos":21,"wypos":7,"shells":[2,8,18,32,32,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d5","electron_configuration_semantic":"*[Rn] 5f14 6d5 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Hassium","atomic_mass":269,"boil":null,"category":"transition metal","density":40.7,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":126,"molar_heat":null,"named_by":null,"number":108,"period":7,"group":8,"phase":"Solid","symbol":"Hs","xpos":8,"ypos":7,"wxpos":22,"wypos":7,"shells":[2,8,18,32,32,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d6","electron_configuration_semantic":"*[Rn] 5f14 6d6 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Meitnerium","atomic_mass":278,"boil":null,"category":"unknown, probably transition metal","density":37.4,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":109,"period":7,"group":9,"phase":"Solid","symbol":"Mt","xpos":9,"ypos":7,"wxpos":23,"wypos":7,"shells":[2,8,18,32,32,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d7","electron_configuration_semantic":"*[Rn] 5f14 6d7 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Darmstadtium","atomic_mass":281,"boil":null,"category":"unknown, probably transition metal","density":34.8,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":110,"period":7,"group":10,"phase":"Solid","symbol":"Ds","xpos":10,"ypos":7,"wxpos":24,"wypos":7,"shells":[2,8,18,32,32,16,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d8","electron_configuration_semantic":"*[Rn] 5f14 6d9 7s1","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Roentgenium","atomic_mass":282,"boil":null,"category":"unknown, probably transition metal","density":28.7,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":111,"period":7,"group":11,"phase":"Solid","symbol":"Rg","xpos":11,"ypos":7,"wxpos":25,"wypos":7,"shells":[2,8,18,32,32,17,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d9","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s1","electron_affinity":151,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Copernicium","atomic_mass":285,"boil":3570,"category":"transition metal","density":14,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":112,"period":7,"group":12,"phase":"Liquid","symbol":"Cn","xpos":12,"ypos":7,"wxpos":26,"wypos":7,"shells":[2,8,18,32,32,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Nihonium","atomic_mass":286,"boil":1430,"category":"unknown, probably transition metal","density":16,"discovered_by":"RIKEN","melt":700,"molar_heat":null,"named_by":null,"number":113,"period":7,"group":13,"phase":"Solid","symbol":"Nh","xpos":13,"ypos":7,"wxpos":27,"wypos":7,"shells":[2,8,18,32,32,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p1","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p1","electron_affinity":66.6,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Flerovium","atomic_mass":289,"boil":420,"category":"post-transition metal","density":14,"discovered_by":"Joint Institute for Nuclear Research","melt":340,"molar_heat":null,"named_by":null,"number":114,"period":7,"group":14,"phase":"Solid","symbol":"Fl","xpos":14,"ypos":7,"wxpos":28,"wypos":7,"shells":[2,8,18,32,32,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p2","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Moscovium","atomic_mass":289,"boil":1400,"category":"unknown, probably post-transition metal","density":13.5,"discovered_by":"Joint Institute for Nuclear Research","melt":670,"molar_heat":null,"named_by":null,"number":115,"period":7,"group":15,"phase":"Solid","symbol":"Mc","xpos":15,"ypos":7,"wxpos":29,"wypos":7,"shells":[2,8,18,32,32,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p3","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p3","electron_affinity":35.3,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Livermorium","atomic_mass":293,"boil":1085,"category":"unknown, probably post-transition metal","density":12.9,"discovered_by":"Joint Institute for Nuclear Research","melt":709,"molar_heat":null,"named_by":null,"number":116,"period":7,"group":16,"phase":"Solid","symbol":"Lv","xpos":16,"ypos":7,"wxpos":30,"wypos":7,"shells":[2,8,18,32,32,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p4","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p4","electron_affinity":74.9,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Tennessine","atomic_mass":294,"boil":883,"category":"unknown, probably metalloid","density":7.17,"discovered_by":"Joint Institute for Nuclear Research","melt":723,"molar_heat":null,"named_by":null,"number":117,"period":7,"group":17,"phase":"Solid","symbol":"Ts","xpos":17,"ypos":7,"wxpos":31,"wypos":7,"shells":[2,8,18,32,32,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p5","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p5","electron_affinity":165.9,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Oganesson","atomic_mass":294,"boil":350,"category":"unknown, predicted to be noble gas","density":4.95,"discovered_by":"Joint Institute for Nuclear Research","melt":null,"molar_heat":null,"named_by":null,"number":118,"period":7,"group":18,"phase":"Solid","symbol":"Og","xpos":18,"ypos":7,"wxpos":32,"wypos":7,"shells":[2,8,18,32,32,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p6","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p6","electron_affinity":5.40318,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Ununennium","atomic_mass":315,"boil":630,"category":"unknown, but predicted to be an alkali metal","density":3,"discovered_by":"GSI Helmholtz Centre for Heavy Ion Research","melt":null,"molar_heat":null,"named_by":null,"number":119,"period":8,"group":1,"phase":"Solid","symbol":"Uue","xpos":1,"ypos":8,"wxpos":1,"wypos":8,"shells":[2,8,18,32,32,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p6 8s1","electron_configuration_semantic":"*[Uuo] 8s1","electron_affinity":63.87,"electronegativity_pauling":null,"ionization_energies":[],"block":"s"}]'), Qr = {
|
|
3048
|
+
elements: Yr
|
|
2800
3049
|
};
|
|
2801
|
-
var
|
|
2802
|
-
const
|
|
3050
|
+
var Zr = /* @__PURE__ */ Hn("<button> </button>"), el = /* @__PURE__ */ Hn('<div class="element-overview svelte-1h56j87" style="grid-row: 2 / span 2; grid-column: 3 / span 10;" aria-live="polite"><div><div class="left-col svelte-1h56j87"><div class="symbol-center svelte-1h56j87"> </div> <div class="element-name svelte-1h56j87"> </div></div> <div class="right-col svelte-1h56j87"><div class="top-row svelte-1h56j87"><div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Atomic Mass</div> <div class="value svelte-1h56j87"> </div></div> <div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Atomic No</div> <div class="value svelte-1h56j87"> </div></div></div> <div class="bottom-row svelte-1h56j87"><div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Electron Config</div> <div class="value svelte-1h56j87"> </div></div> <div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Phase</div> <div class="value svelte-1h56j87"> </div></div></div></div></div></div>'), nl = /* @__PURE__ */ Hn('<button tabindex="0"><div class="atomic-number svelte-1h56j87"> </div> <div class="symbol svelte-1h56j87"> </div> <div class="name svelte-1h56j87"> </div> <div class="atomic-mass svelte-1h56j87"> </div></button>'), tl = /* @__PURE__ */ Hn('<div class="group-label svelte-1h56j87"></div>'), il = /* @__PURE__ */ Hn('<div class="period-label svelte-1h56j87"><!></div>'), ol = /* @__PURE__ */ Hn('<div class="periodic-table-container svelte-1h56j87" role="dialog" tabindex="-1" aria-label="Periodic Table - Click elements to view details"><div class="periodic-table-header svelte-1h56j87"><h3 id="periodic-table-title" class="periodic-table-title svelte-1h56j87">Periodic Table</h3> <div class="header-controls svelte-1h56j87"><button class="close-btn svelte-1h56j87" aria-label="Close periodic table"><svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></button></div></div> <div class="periodic-table-content svelte-1h56j87"><div class="periodic-table-wrapper svelte-1h56j87"><div class="periodic-table svelte-1h56j87" role="grid" aria-labelledby="periodic-table-title"><div class="element-category-header category-badge-row svelte-1h56j87" role="presentation" style="grid-row: 1; grid-column: 2 / span 16;"><button aria-label="Show all elements">All Elements</button> <!></div> <!> <!></div> <div class="group-labels svelte-1h56j87" aria-hidden="true"></div> <div class="period-labels svelte-1h56j87" aria-hidden="true"></div></div></div></div>');
|
|
3051
|
+
const sl = {
|
|
2803
3052
|
hash: "svelte-1h56j87",
|
|
2804
3053
|
code: `.periodic-table-container.svelte-1h56j87 {position:fixed;background:white;box-shadow:0 10px 40px rgba(0, 0, 0, 0.3);user-select:none;touch-action:none;border-radius:12px;overflow:visible; /* Changed from hidden to visible to show all content without clipping */z-index:2000; /* ZIndexLayer.MODAL */min-width:1100px; /* Match default width */display:flex;flex-direction:column;}
|
|
2805
3054
|
|
|
@@ -2828,25 +3077,25 @@ const Gr = {
|
|
|
2828
3077
|
|
|
2829
3078
|
/* Category-based background colors (matching production implementation) */.alkali-metal.svelte-1h56j87 {background-color:#ff9e9e;}.alkaline-earth-metal.svelte-1h56j87 {background-color:#ffdc8a;}.alkaline-earth.svelte-1h56j87 {background-color:#ffdc8a; /* Also handle without "-metal" suffix */}.lanthanide.svelte-1h56j87 {background-color:#f9a8d4;}.actinide.svelte-1h56j87 {background-color:#e0aaff;}.transition-metal.svelte-1h56j87 {background-color:#a3d8f4;}.post-transition-metal.svelte-1h56j87 {background-color:#b4f8c8;}.metalloid.svelte-1h56j87 {background-color:#d9f99d;}.diatomic-nonmetal.svelte-1h56j87 {background-color:#f5f5f5;}.noble-gas.svelte-1h56j87 {background-color:#c4b5fd;}.polyatomic-nonmetal.svelte-1h56j87 {background-color:#fbcfe8;}.nonmetal.svelte-1h56j87 {background-color:#f0f0f0; /* Production implementation also has this */}.halogen.svelte-1h56j87 {background-color:#8ef5d0; /* Production implementation has halogen color */}.unknown.svelte-1h56j87 {background-color:#f5f5f5;}`
|
|
2830
3079
|
};
|
|
2831
|
-
function
|
|
2832
|
-
|
|
2833
|
-
let t =
|
|
3080
|
+
function rl(e, n) {
|
|
3081
|
+
mo(n, !0), Mr(e, sl);
|
|
3082
|
+
let t = Kt(n, "visible", 7, !1), i = Kt(n, "toolId", 7, "periodicTable"), o = Kt(n, "coordinator");
|
|
2834
3083
|
const s = typeof window < "u";
|
|
2835
|
-
let r = /* @__PURE__ */
|
|
3084
|
+
let r = /* @__PURE__ */ D(void 0), a = /* @__PURE__ */ D(!1), c = /* @__PURE__ */ D(en(s ? window.innerWidth / 2 : 400)), u = /* @__PURE__ */ D(en(s ? window.innerHeight / 2 : 300)), d = /* @__PURE__ */ D(
|
|
2836
3085
|
1100
|
|
2837
3086
|
// Increased to show all 18 columns without horizontal scrolling
|
|
2838
|
-
), m = /* @__PURE__ */
|
|
3087
|
+
), m = /* @__PURE__ */ D(
|
|
2839
3088
|
750
|
|
2840
3089
|
// Increased to show all 10 rows without vertical scrolling
|
|
2841
|
-
), p = /* @__PURE__ */
|
|
2842
|
-
const
|
|
2843
|
-
let f = /* @__PURE__ */
|
|
2844
|
-
|
|
3090
|
+
), p = /* @__PURE__ */ D(0), h = /* @__PURE__ */ D(0), g = /* @__PURE__ */ D(!1);
|
|
3091
|
+
const k = Qr.elements;
|
|
3092
|
+
let f = /* @__PURE__ */ D(en(
|
|
3093
|
+
k[0] || null
|
|
2845
3094
|
// Initialize with Hydrogen
|
|
2846
|
-
)),
|
|
2847
|
-
function
|
|
2848
|
-
const
|
|
2849
|
-
return
|
|
3095
|
+
)), y = /* @__PURE__ */ D("All");
|
|
3096
|
+
function V(x) {
|
|
3097
|
+
const z = x.toLowerCase();
|
|
3098
|
+
return z.indexOf("unknown") !== -1 ? "Unknown" : {
|
|
2850
3099
|
"alkali metal": "Alkali Metal",
|
|
2851
3100
|
"alkaline earth": "Alkaline Earth Metal",
|
|
2852
3101
|
"alkaline earth metal": "Alkaline Earth Metal",
|
|
@@ -2863,220 +3112,194 @@ function Ur(e, n) {
|
|
|
2863
3112
|
actinide: "Actinide",
|
|
2864
3113
|
metal: "Post-transition Metal"
|
|
2865
3114
|
// Some elements might just be 'metal'
|
|
2866
|
-
}[
|
|
3115
|
+
}[z] || x;
|
|
2867
3116
|
}
|
|
2868
|
-
function
|
|
2869
|
-
return x.split(" ").map((
|
|
3117
|
+
function Je(x) {
|
|
3118
|
+
return x.split(" ").map((z) => z.charAt(0).toUpperCase() + z.slice(1)).join(" ");
|
|
2870
3119
|
}
|
|
2871
|
-
let
|
|
3120
|
+
let Q = /* @__PURE__ */ Di(() => {
|
|
2872
3121
|
const x = /* @__PURE__ */ new Set();
|
|
2873
|
-
return
|
|
2874
|
-
|
|
3122
|
+
return k.forEach((z) => {
|
|
3123
|
+
z.category && x.add(V(z.category));
|
|
2875
3124
|
}), Array.from(x).sort();
|
|
2876
|
-
}),
|
|
2877
|
-
function
|
|
2878
|
-
|
|
3125
|
+
}), Me = /* @__PURE__ */ Di(() => _(y) === "All" ? k : k.filter((x) => V(x.category) === _(y)));
|
|
3126
|
+
function Oe(x) {
|
|
3127
|
+
I(f, x, !0);
|
|
2879
3128
|
}
|
|
2880
|
-
function
|
|
2881
|
-
|
|
3129
|
+
function J(x) {
|
|
3130
|
+
I(y, x, !0);
|
|
2882
3131
|
}
|
|
2883
|
-
function
|
|
3132
|
+
function Ee() {
|
|
2884
3133
|
o()?.hideTool(i());
|
|
2885
3134
|
}
|
|
2886
|
-
function
|
|
2887
|
-
const
|
|
2888
|
-
|
|
3135
|
+
function qe(x) {
|
|
3136
|
+
const z = x.target;
|
|
3137
|
+
z.closest(".periodic-table-header") && (z.closest("button") || (I(a, !0), I(p, x.clientX - _(c)), I(h, x.clientY - _(u)), _(r) && (_(r).setPointerCapture(x.pointerId), o()?.bringToFront(_(r)))));
|
|
2889
3138
|
}
|
|
2890
|
-
function
|
|
2891
|
-
if (!_(
|
|
2892
|
-
let
|
|
2893
|
-
const
|
|
2894
|
-
|
|
3139
|
+
function P(x) {
|
|
3140
|
+
if (!_(a)) return;
|
|
3141
|
+
let z = x.clientX - _(p), kn = x.clientY - _(h);
|
|
3142
|
+
const Fn = (_(r)?.offsetWidth || _(d)) / 2, rt = (_(r)?.offsetHeight || _(m)) / 2;
|
|
3143
|
+
I(c, Math.max(Fn, Math.min(z, window.innerWidth - Fn)), !0), I(u, Math.max(rt, Math.min(kn, window.innerHeight - rt)), !0);
|
|
2895
3144
|
}
|
|
2896
|
-
function
|
|
2897
|
-
_(
|
|
3145
|
+
function st(x) {
|
|
3146
|
+
_(a) && _(r) && (I(a, !1), _(r).releasePointerCapture(x.pointerId));
|
|
2898
3147
|
}
|
|
2899
|
-
function
|
|
2900
|
-
x.key === "Escape" &&
|
|
3148
|
+
function Ot(x) {
|
|
3149
|
+
x.key === "Escape" && Ee();
|
|
2901
3150
|
}
|
|
2902
|
-
|
|
2903
|
-
o() && i() && !_(
|
|
2904
|
-
}),
|
|
3151
|
+
ii(() => {
|
|
3152
|
+
o() && i() && !_(g) && (_(r) ? o().registerTool(i(), "Periodic Table", _(r), Et.MODAL) : o().registerTool(i(), "Periodic Table", void 0, Et.MODAL), I(g, !0));
|
|
3153
|
+
}), ii(() => {
|
|
2905
3154
|
o() && _(r) && i() && (o().updateToolElement(i(), _(r)), o().bringToFront(_(r)));
|
|
2906
|
-
}),
|
|
3155
|
+
}), zr(() => () => {
|
|
2907
3156
|
o() && i() && o().unregisterTool(i());
|
|
2908
3157
|
});
|
|
2909
|
-
var
|
|
3158
|
+
var rs = {
|
|
2910
3159
|
get visible() {
|
|
2911
3160
|
return t();
|
|
2912
3161
|
},
|
|
2913
3162
|
set visible(x = !1) {
|
|
2914
|
-
t(x),
|
|
3163
|
+
t(x), gt();
|
|
2915
3164
|
},
|
|
2916
3165
|
get toolId() {
|
|
2917
3166
|
return i();
|
|
2918
3167
|
},
|
|
2919
3168
|
set toolId(x = "periodicTable") {
|
|
2920
|
-
i(x),
|
|
3169
|
+
i(x), gt();
|
|
2921
3170
|
},
|
|
2922
3171
|
get coordinator() {
|
|
2923
3172
|
return o();
|
|
2924
3173
|
},
|
|
2925
3174
|
set coordinator(x) {
|
|
2926
|
-
o(x),
|
|
3175
|
+
o(x), gt();
|
|
2927
3176
|
}
|
|
2928
|
-
}, ki =
|
|
3177
|
+
}, ki = Er(), ls = cr(ki);
|
|
2929
3178
|
{
|
|
2930
|
-
var
|
|
2931
|
-
var
|
|
2932
|
-
|
|
2933
|
-
var
|
|
2934
|
-
|
|
2935
|
-
var Si =
|
|
3179
|
+
var as = (x) => {
|
|
3180
|
+
var z = ol();
|
|
3181
|
+
z.__pointerdown = qe, z.__pointermove = P, z.__pointerup = st, z.__keydown = Ot;
|
|
3182
|
+
var kn = T(z), Fn = O(T(kn), 2), rt = T(Fn);
|
|
3183
|
+
rt.__click = Ee, S(Fn), S(kn);
|
|
3184
|
+
var Si = O(kn, 2), Ei = T(Si), Dt = T(Ei), It = T(Dt), lt = T(It);
|
|
2936
3185
|
let $i;
|
|
2937
|
-
|
|
2938
|
-
var
|
|
2939
|
-
|
|
2940
|
-
var R =
|
|
2941
|
-
let
|
|
2942
|
-
R.__click = () =>
|
|
2943
|
-
var
|
|
2944
|
-
|
|
2945
|
-
(
|
|
2946
|
-
|
|
3186
|
+
lt.__click = () => J("All");
|
|
3187
|
+
var cs = O(lt, 2);
|
|
3188
|
+
_t(cs, 16, () => _(Q), (H) => H, (H, C) => {
|
|
3189
|
+
var R = Zr();
|
|
3190
|
+
let F;
|
|
3191
|
+
R.__click = () => J(C);
|
|
3192
|
+
var he = T(R, !0);
|
|
3193
|
+
S(R), pt(
|
|
3194
|
+
(rn, $e) => {
|
|
3195
|
+
F = mt(R, 1, `category-badge ${rn ?? ""}`, "svelte-1h56j87", F, { active: _(y) === C }), Kn(R, "aria-label", `Filter by ${C ?? ""}`), Kn(R, "aria-pressed", _(y) === C), ge(he, $e);
|
|
2947
3196
|
},
|
|
2948
3197
|
[
|
|
2949
|
-
() =>
|
|
2950
|
-
() =>
|
|
3198
|
+
() => C.replace(" ", "-").toLowerCase(),
|
|
3199
|
+
() => Je(C)
|
|
2951
3200
|
]
|
|
2952
|
-
),
|
|
2953
|
-
}),
|
|
2954
|
-
var Ai =
|
|
3201
|
+
), ye(H, R);
|
|
3202
|
+
}), S(It);
|
|
3203
|
+
var Ai = O(It, 2);
|
|
2955
3204
|
{
|
|
2956
|
-
var
|
|
2957
|
-
var
|
|
2958
|
-
|
|
2959
|
-
var
|
|
2960
|
-
|
|
2961
|
-
var
|
|
2962
|
-
|
|
2963
|
-
var
|
|
2964
|
-
|
|
2965
|
-
var
|
|
2966
|
-
|
|
2967
|
-
var
|
|
2968
|
-
|
|
2969
|
-
(
|
|
2970
|
-
|
|
3205
|
+
var us = (H) => {
|
|
3206
|
+
var C = el(), R = T(C), F = T(R), he = T(F), rn = T(he, !0);
|
|
3207
|
+
S(he);
|
|
3208
|
+
var $e = O(he, 2), Un = T($e, !0);
|
|
3209
|
+
S($e), S(F);
|
|
3210
|
+
var Ye = O(F, 2), U = T(Ye), ie = T(U), at = O(T(ie), 2), ln = T(at, !0);
|
|
3211
|
+
S(at), S(ie);
|
|
3212
|
+
var ct = O(ie, 2), ut = O(T(ct), 2), Bt = T(ut, !0);
|
|
3213
|
+
S(ut), S(ct), S(U);
|
|
3214
|
+
var Ti = O(U, 2), Gt = T(Ti), Ri = O(T(Gt), 2), ps = T(Ri, !0);
|
|
3215
|
+
S(Ri), S(Gt);
|
|
3216
|
+
var zi = O(Gt, 2), Ni = O(T(zi), 2), fs = T(Ni, !0);
|
|
3217
|
+
S(Ni), S(zi), S(Ti), S(Ye), S(R), S(C), pt(
|
|
3218
|
+
(_s) => {
|
|
3219
|
+
mt(R, 1, `selected-element-box grid-layout ${_s ?? ""}`, "svelte-1h56j87"), ge(rn, _(f).symbol), ge(Un, _(f).name), ge(ln, _(f).atomic_mass), ge(Bt, _(f).number), ge(ps, _(f).electron_configuration_semantic), ge(fs, _(f).phase);
|
|
2971
3220
|
},
|
|
2972
3221
|
[
|
|
2973
|
-
() =>
|
|
3222
|
+
() => V(_(f).category).replace(" ", "-").toLowerCase()
|
|
2974
3223
|
]
|
|
2975
|
-
),
|
|
3224
|
+
), ye(H, C);
|
|
2976
3225
|
};
|
|
2977
|
-
|
|
2978
|
-
_(f) &&
|
|
3226
|
+
Ut(Ai, (H) => {
|
|
3227
|
+
_(f) && H(us);
|
|
2979
3228
|
});
|
|
2980
3229
|
}
|
|
2981
|
-
var
|
|
2982
|
-
|
|
2983
|
-
var R =
|
|
2984
|
-
let
|
|
2985
|
-
R.__click = () =>
|
|
2986
|
-
(
|
|
3230
|
+
var ds = O(Ai, 2);
|
|
3231
|
+
_t(ds, 17, () => _(Me), (H) => H.symbol, (H, C) => {
|
|
3232
|
+
var R = nl();
|
|
3233
|
+
let F;
|
|
3234
|
+
R.__click = () => Oe(_(C)), R.__keydown = (ln) => {
|
|
3235
|
+
(ln.key === "Enter" || ln.key === " ") && (ln.preventDefault(), Oe(_(C)));
|
|
2987
3236
|
};
|
|
2988
|
-
var
|
|
2989
|
-
|
|
2990
|
-
var
|
|
2991
|
-
|
|
2992
|
-
var
|
|
2993
|
-
|
|
2994
|
-
var
|
|
2995
|
-
|
|
2996
|
-
(
|
|
2997
|
-
|
|
3237
|
+
var he = T(R), rn = T(he, !0);
|
|
3238
|
+
S(he);
|
|
3239
|
+
var $e = O(he, 2), Un = T($e, !0);
|
|
3240
|
+
S($e);
|
|
3241
|
+
var Ye = O($e, 2), U = T(Ye, !0);
|
|
3242
|
+
S(Ye);
|
|
3243
|
+
var ie = O(Ye, 2), at = T(ie, !0);
|
|
3244
|
+
S(ie), S(R), pt(
|
|
3245
|
+
(ln, ct, ut, Bt) => {
|
|
3246
|
+
F = mt(R, 1, `element ${ln ?? ""}`, "svelte-1h56j87", F, ct), Xt(R, `grid-row: ${_(C).ypos ?? ""}; grid-column: ${_(C).xpos ?? ""};`), Kn(R, "title", _(C).name), Kn(R, "aria-label", `${_(C).name ?? ""}, Symbol: ${_(C).symbol ?? ""}, Atomic number: ${_(C).number ?? ""}, Atomic mass: ${ut ?? ""}, Category: ${_(C).category ?? ""}`), ge(rn, _(C).number), ge(Un, _(C).symbol), ge(U, _(C).name), ge(at, Bt);
|
|
2998
3247
|
},
|
|
2999
3248
|
[
|
|
3000
|
-
() =>
|
|
3249
|
+
() => V(_(C).category).replace(" ", "-").toLowerCase(),
|
|
3001
3250
|
() => ({
|
|
3002
|
-
selected: _(f)?.symbol === _(
|
|
3003
|
-
dim: _(
|
|
3251
|
+
selected: _(f)?.symbol === _(C).symbol,
|
|
3252
|
+
dim: _(y) !== "All" && V(_(C).category) !== _(y)
|
|
3004
3253
|
}),
|
|
3005
|
-
() => _(
|
|
3006
|
-
() => _(
|
|
3254
|
+
() => _(C).atomic_mass.toFixed(3),
|
|
3255
|
+
() => _(C).atomic_mass.toFixed(3)
|
|
3007
3256
|
]
|
|
3008
|
-
),
|
|
3009
|
-
}),
|
|
3010
|
-
var
|
|
3011
|
-
|
|
3012
|
-
var
|
|
3013
|
-
|
|
3014
|
-
}),
|
|
3015
|
-
var
|
|
3016
|
-
|
|
3017
|
-
var
|
|
3257
|
+
), ye(H, R);
|
|
3258
|
+
}), S(Dt);
|
|
3259
|
+
var Pt = O(Dt, 2);
|
|
3260
|
+
_t(Pt, 20, () => Array(18), Hi, (H, C, R) => {
|
|
3261
|
+
var F = tl();
|
|
3262
|
+
Xt(F, `left: ${R * 5.555555555555555}%; width: 5.555555555555555%;`), F.textContent = R + 1, ye(H, F);
|
|
3263
|
+
}), S(Pt);
|
|
3264
|
+
var Ci = O(Pt, 2);
|
|
3265
|
+
_t(Ci, 20, () => Array(10), Hi, (H, C, R) => {
|
|
3266
|
+
var F = il(), he = T(F);
|
|
3018
3267
|
{
|
|
3019
|
-
var
|
|
3020
|
-
},
|
|
3021
|
-
var
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
var Jn = (Se) => {
|
|
3030
|
-
var un = Wt("7");
|
|
3031
|
-
te(Se, un);
|
|
3032
|
-
}, ft = (Se) => {
|
|
3033
|
-
var un = Wt();
|
|
3034
|
-
un.nodeValue = R - 2, te(Se, un);
|
|
3035
|
-
};
|
|
3036
|
-
qn(
|
|
3037
|
-
An,
|
|
3038
|
-
(Se) => {
|
|
3039
|
-
R === 9 ? Se(Jn) : Se(ft, !1);
|
|
3040
|
-
},
|
|
3041
|
-
!0
|
|
3042
|
-
);
|
|
3043
|
-
}
|
|
3044
|
-
te(V, De);
|
|
3045
|
-
};
|
|
3046
|
-
qn(
|
|
3047
|
-
cn,
|
|
3048
|
-
(V) => {
|
|
3049
|
-
R === 8 ? V(Ze) : V($n, !1);
|
|
3050
|
-
},
|
|
3051
|
-
!0
|
|
3052
|
-
);
|
|
3053
|
-
}
|
|
3054
|
-
te(Me, Oe);
|
|
3268
|
+
var rn = (U) => {
|
|
3269
|
+
}, $e = (U) => {
|
|
3270
|
+
var ie = Ft("6");
|
|
3271
|
+
ye(U, ie);
|
|
3272
|
+
}, Un = (U) => {
|
|
3273
|
+
var ie = Ft("7");
|
|
3274
|
+
ye(U, ie);
|
|
3275
|
+
}, Ye = (U) => {
|
|
3276
|
+
var ie = Ft();
|
|
3277
|
+
ie.nodeValue = R - 2, ye(U, ie);
|
|
3055
3278
|
};
|
|
3056
|
-
|
|
3057
|
-
R < 3 ?
|
|
3279
|
+
Ut(he, (U) => {
|
|
3280
|
+
R < 3 ? U(rn) : R === 8 ? U($e, 1) : R === 9 ? U(Un, 2) : U(Ye, !1);
|
|
3058
3281
|
});
|
|
3059
3282
|
}
|
|
3060
|
-
|
|
3061
|
-
}),
|
|
3062
|
-
|
|
3063
|
-
}),
|
|
3283
|
+
S(F), ye(H, F);
|
|
3284
|
+
}), S(Ci), S(Ei), S(Si), S(z), Fr(z, (H) => I(r, H), () => _(r)), pt(() => {
|
|
3285
|
+
Xt(z, `left: ${_(c) ?? ""}px; top: ${_(u) ?? ""}px; width: ${_(d) ?? ""}px; height: ${_(m) ?? ""}px; transform: translate(-50%, -50%);`), $i = mt(lt, 1, "category-badge svelte-1h56j87", null, $i, { active: _(y) === "All" }), Kn(lt, "aria-pressed", _(y) === "All");
|
|
3286
|
+
}), vr("lostpointercapture", z, st), ye(x, z);
|
|
3064
3287
|
};
|
|
3065
|
-
|
|
3066
|
-
t() && x(
|
|
3288
|
+
Ut(ls, (x) => {
|
|
3289
|
+
t() && x(as);
|
|
3067
3290
|
});
|
|
3068
3291
|
}
|
|
3069
|
-
return
|
|
3292
|
+
return ye(e, ki), ho(rs);
|
|
3070
3293
|
}
|
|
3071
|
-
|
|
3294
|
+
wr([
|
|
3072
3295
|
"pointerdown",
|
|
3073
3296
|
"pointermove",
|
|
3074
3297
|
"pointerup",
|
|
3075
3298
|
"keydown",
|
|
3076
3299
|
"click"
|
|
3077
3300
|
]);
|
|
3078
|
-
customElements.define("pie-tool-periodic-table",
|
|
3079
|
-
|
|
3301
|
+
customElements.define("pie-tool-periodic-table", Wr(
|
|
3302
|
+
rl,
|
|
3080
3303
|
{
|
|
3081
3304
|
visible: { attribute: "visible", type: "Boolean" },
|
|
3082
3305
|
toolId: { attribute: "tool-id", type: "String" },
|
|
@@ -3086,6 +3309,6 @@ customElements.define("pie-tool-periodic-table", Tr(
|
|
|
3086
3309
|
[]
|
|
3087
3310
|
));
|
|
3088
3311
|
export {
|
|
3089
|
-
|
|
3312
|
+
rl as default
|
|
3090
3313
|
};
|
|
3091
3314
|
//# sourceMappingURL=tool-periodic-table.js.map
|