mc-react-library 0.7.4 → 0.7.5

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.
Files changed (3) hide show
  1. package/dist/main.css +1 -1
  2. package/dist/main.js +1012 -1032
  3. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./main.css";
2
- import mn, { useState as E, useRef as Mt, useEffect as nt, useMemo as Yn } from "react";
3
- import { fromOptimade as Gn, fromStructureData as Kn, fromJSON as Ot, toJSON as gn, parseStructure as sn } from "matsci-parse";
4
- var Zt = { exports: {} }, _t = {};
2
+ import _n, { useState as E, useRef as Zt, useEffect as nt, useMemo as Yn } from "react";
3
+ import { fromOptimade as Gn, fromStructureData as Kn, fromJSON as Tt, toJSON as mn, parseStructure as on } from "matsci-parse";
4
+ var Dt = { exports: {} }, lt = {};
5
5
  /**
6
6
  * @license React
7
7
  * react-jsx-runtime.production.min.js
@@ -11,21 +11,21 @@ var Zt = { exports: {} }, _t = {};
11
11
  * This source code is licensed under the MIT license found in the
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
- var an;
14
+ var sn;
15
15
  function Qn() {
16
- if (an) return _t;
17
- an = 1;
18
- var t = mn, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
16
+ if (sn) return lt;
17
+ sn = 1;
18
+ var t = _n, r = Symbol.for("react.element"), i = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
19
19
  function m(a, g, l) {
20
- var p, d = {}, f = null, b = null;
20
+ var u, p = {}, f = null, b = null;
21
21
  l !== void 0 && (f = "" + l), g.key !== void 0 && (f = "" + g.key), g.ref !== void 0 && (b = g.ref);
22
- for (p in g) s.call(g, p) && !_.hasOwnProperty(p) && (d[p] = g[p]);
23
- if (a && a.defaultProps) for (p in g = a.defaultProps, g) d[p] === void 0 && (d[p] = g[p]);
24
- return { $$typeof: r, type: a, key: f, ref: b, props: d, _owner: i.current };
22
+ for (u in g) s.call(g, u) && !_.hasOwnProperty(u) && (p[u] = g[u]);
23
+ if (a && a.defaultProps) for (u in g = a.defaultProps, g) p[u] === void 0 && (p[u] = g[u]);
24
+ return { $$typeof: r, type: a, key: f, ref: b, props: p, _owner: o.current };
25
25
  }
26
- return _t.Fragment = o, _t.jsx = m, _t.jsxs = m, _t;
26
+ return lt.Fragment = i, lt.jsx = m, lt.jsxs = m, lt;
27
27
  }
28
- var mt = {};
28
+ var _t = {};
29
29
  /**
30
30
  * @license React
31
31
  * react-jsx-runtime.development.js
@@ -35,54 +35,54 @@ var mt = {};
35
35
  * This source code is licensed under the MIT license found in the
36
36
  * LICENSE file in the root directory of this source tree.
37
37
  */
38
- var cn;
38
+ var an;
39
39
  function Wn() {
40
- return cn || (cn = 1, process.env.NODE_ENV !== "production" && function() {
41
- var t = mn, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), x = Symbol.iterator, S = "@@iterator";
42
- function P(n) {
40
+ return an || (an = 1, process.env.NODE_ENV !== "production" && function() {
41
+ var t = _n, r = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y = Symbol.iterator, R = "@@iterator";
42
+ function A(n) {
43
43
  if (n === null || typeof n != "object")
44
44
  return null;
45
- var c = x && n[x] || n[S];
45
+ var c = y && n[y] || n[R];
46
46
  return typeof c == "function" ? c : null;
47
47
  }
48
48
  var j = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
49
49
  function I(n) {
50
50
  {
51
- for (var c = arguments.length, u = new Array(c > 1 ? c - 1 : 0), v = 1; v < c; v++)
52
- u[v - 1] = arguments[v];
53
- O("error", n, u);
51
+ for (var c = arguments.length, d = new Array(c > 1 ? c - 1 : 0), P = 1; P < c; P++)
52
+ d[P - 1] = arguments[P];
53
+ O("error", n, d);
54
54
  }
55
55
  }
56
- function O(n, c, u) {
56
+ function O(n, c, d) {
57
57
  {
58
- var v = j.ReactDebugCurrentFrame, k = v.getStackAddendum();
59
- k !== "" && (c += "%s", u = u.concat([k]));
60
- var C = u.map(function(A) {
61
- return String(A);
58
+ var P = j.ReactDebugCurrentFrame, k = P.getStackAddendum();
59
+ k !== "" && (c += "%s", d = d.concat([k]));
60
+ var C = d.map(function(w) {
61
+ return String(w);
62
62
  });
63
63
  C.unshift("Warning: " + c), Function.prototype.apply.call(console[n], console, C);
64
64
  }
65
65
  }
66
- var Z = !1, pt = !1, J = !1, ht = !1, it = !1, st;
67
- st = Symbol.for("react.module.reference");
68
- function ft(n) {
69
- return !!(typeof n == "string" || typeof n == "function" || n === s || n === _ || it || n === i || n === l || n === p || ht || n === b || Z || pt || J || typeof n == "object" && n !== null && (n.$$typeof === f || n.$$typeof === d || n.$$typeof === m || n.$$typeof === a || n.$$typeof === g || // This needs to include all possible module reference object
66
+ var z = !1, dt = !1, ot = !1, pt = !1, ht = !1, Y;
67
+ Y = Symbol.for("react.module.reference");
68
+ function kt(n) {
69
+ return !!(typeof n == "string" || typeof n == "function" || n === s || n === _ || ht || n === o || n === l || n === u || pt || n === b || z || dt || ot || typeof n == "object" && n !== null && (n.$$typeof === f || n.$$typeof === p || n.$$typeof === m || n.$$typeof === a || n.$$typeof === g || // This needs to include all possible module reference object
70
70
  // types supported by any Flight configuration anywhere since
71
71
  // we don't know which Flight build this will end up being used
72
72
  // with.
73
- n.$$typeof === st || n.getModuleId !== void 0));
73
+ n.$$typeof === Y || n.getModuleId !== void 0));
74
74
  }
75
- function K(n, c, u) {
76
- var v = n.displayName;
77
- if (v)
78
- return v;
75
+ function G(n, c, d) {
76
+ var P = n.displayName;
77
+ if (P)
78
+ return P;
79
79
  var k = c.displayName || c.name || "";
80
- return k !== "" ? u + "(" + k + ")" : u;
80
+ return k !== "" ? d + "(" + k + ")" : d;
81
81
  }
82
- function vt(n) {
82
+ function ft(n) {
83
83
  return n.displayName || "Context";
84
84
  }
85
- function z(n) {
85
+ function U(n) {
86
86
  if (n == null)
87
87
  return null;
88
88
  if (typeof n.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
@@ -92,34 +92,34 @@ function Wn() {
92
92
  switch (n) {
93
93
  case s:
94
94
  return "Fragment";
95
- case o:
95
+ case i:
96
96
  return "Portal";
97
97
  case _:
98
98
  return "Profiler";
99
- case i:
99
+ case o:
100
100
  return "StrictMode";
101
101
  case l:
102
102
  return "Suspense";
103
- case p:
103
+ case u:
104
104
  return "SuspenseList";
105
105
  }
106
106
  if (typeof n == "object")
107
107
  switch (n.$$typeof) {
108
108
  case a:
109
109
  var c = n;
110
- return vt(c) + ".Consumer";
110
+ return ft(c) + ".Consumer";
111
111
  case m:
112
- var u = n;
113
- return vt(u._context) + ".Provider";
112
+ var d = n;
113
+ return ft(d._context) + ".Provider";
114
114
  case g:
115
- return K(n, n.render, "ForwardRef");
116
- case d:
117
- var v = n.displayName || null;
118
- return v !== null ? v : z(n.type) || "Memo";
115
+ return G(n, n.render, "ForwardRef");
116
+ case p:
117
+ var P = n.displayName || null;
118
+ return P !== null ? P : U(n.type) || "Memo";
119
119
  case f: {
120
- var k = n, C = k._payload, A = k._init;
120
+ var k = n, C = k._payload, w = k._init;
121
121
  try {
122
- return z(A(C));
122
+ return U(w(C));
123
123
  } catch {
124
124
  return null;
125
125
  }
@@ -127,18 +127,18 @@ function Wn() {
127
127
  }
128
128
  return null;
129
129
  }
130
- var V = Object.assign, Q = 0, yt, Pt, at, ct, h, y, R;
131
- function B() {
130
+ var J = Object.assign, Q = 0, st, at, h, v, S, B, K;
131
+ function Ht() {
132
132
  }
133
- B.__reactDisabledLog = !0;
134
- function W() {
133
+ Ht.__reactDisabledLog = !0;
134
+ function vn() {
135
135
  {
136
136
  if (Q === 0) {
137
- yt = console.log, Pt = console.info, at = console.warn, ct = console.error, h = console.group, y = console.groupCollapsed, R = console.groupEnd;
137
+ st = console.log, at = console.info, h = console.warn, v = console.error, S = console.group, B = console.groupCollapsed, K = console.groupEnd;
138
138
  var n = {
139
139
  configurable: !0,
140
140
  enumerable: !0,
141
- value: B,
141
+ value: Ht,
142
142
  writable: !0
143
143
  };
144
144
  Object.defineProperties(console, {
@@ -154,7 +154,7 @@ function Wn() {
154
154
  Q++;
155
155
  }
156
156
  }
157
- function Pn() {
157
+ function yn() {
158
158
  {
159
159
  if (Q--, Q === 0) {
160
160
  var n = {
@@ -163,225 +163,225 @@ function Wn() {
163
163
  writable: !0
164
164
  };
165
165
  Object.defineProperties(console, {
166
- log: V({}, n, {
167
- value: yt
168
- }),
169
- info: V({}, n, {
170
- value: Pt
166
+ log: J({}, n, {
167
+ value: st
171
168
  }),
172
- warn: V({}, n, {
169
+ info: J({}, n, {
173
170
  value: at
174
171
  }),
175
- error: V({}, n, {
176
- value: ct
177
- }),
178
- group: V({}, n, {
172
+ warn: J({}, n, {
179
173
  value: h
180
174
  }),
181
- groupCollapsed: V({}, n, {
182
- value: y
175
+ error: J({}, n, {
176
+ value: v
177
+ }),
178
+ group: J({}, n, {
179
+ value: S
180
+ }),
181
+ groupCollapsed: J({}, n, {
182
+ value: B
183
183
  }),
184
- groupEnd: V({}, n, {
185
- value: R
184
+ groupEnd: J({}, n, {
185
+ value: K
186
186
  })
187
187
  });
188
188
  }
189
189
  Q < 0 && I("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
190
190
  }
191
191
  }
192
- var Rt = j.ReactCurrentDispatcher, St;
193
- function bt(n, c, u) {
192
+ var jt = j.ReactCurrentDispatcher, Ct;
193
+ function Pt(n, c, d) {
194
194
  {
195
- if (St === void 0)
195
+ if (Ct === void 0)
196
196
  try {
197
197
  throw Error();
198
198
  } catch (k) {
199
- var v = k.stack.trim().match(/\n( *(at )?)/);
200
- St = v && v[1] || "";
199
+ var P = k.stack.trim().match(/\n( *(at )?)/);
200
+ Ct = P && P[1] || "";
201
201
  }
202
202
  return `
203
- ` + St + n;
203
+ ` + Ct + n;
204
204
  }
205
205
  }
206
- var It = !1, xt;
206
+ var Rt = !1, vt;
207
207
  {
208
208
  var bn = typeof WeakMap == "function" ? WeakMap : Map;
209
- xt = new bn();
209
+ vt = new bn();
210
210
  }
211
- function Jt(n, c) {
212
- if (!n || It)
211
+ function Ut(n, c) {
212
+ if (!n || Rt)
213
213
  return "";
214
214
  {
215
- var u = xt.get(n);
216
- if (u !== void 0)
217
- return u;
215
+ var d = vt.get(n);
216
+ if (d !== void 0)
217
+ return d;
218
218
  }
219
- var v;
220
- It = !0;
219
+ var P;
220
+ Rt = !0;
221
221
  var k = Error.prepareStackTrace;
222
222
  Error.prepareStackTrace = void 0;
223
223
  var C;
224
- C = Rt.current, Rt.current = null, W();
224
+ C = jt.current, jt.current = null, vn();
225
225
  try {
226
226
  if (c) {
227
- var A = function() {
227
+ var w = function() {
228
228
  throw Error();
229
229
  };
230
- if (Object.defineProperty(A.prototype, "props", {
230
+ if (Object.defineProperty(w.prototype, "props", {
231
231
  set: function() {
232
232
  throw Error();
233
233
  }
234
234
  }), typeof Reflect == "object" && Reflect.construct) {
235
235
  try {
236
- Reflect.construct(A, []);
236
+ Reflect.construct(w, []);
237
237
  } catch (D) {
238
- v = D;
238
+ P = D;
239
239
  }
240
- Reflect.construct(n, [], A);
240
+ Reflect.construct(n, [], w);
241
241
  } else {
242
242
  try {
243
- A.call();
243
+ w.call();
244
244
  } catch (D) {
245
- v = D;
245
+ P = D;
246
246
  }
247
- n.call(A.prototype);
247
+ n.call(w.prototype);
248
248
  }
249
249
  } else {
250
250
  try {
251
251
  throw Error();
252
252
  } catch (D) {
253
- v = D;
253
+ P = D;
254
254
  }
255
255
  n();
256
256
  }
257
257
  } catch (D) {
258
- if (D && v && typeof D.stack == "string") {
259
- for (var w = D.stack.split(`
260
- `), T = v.stack.split(`
261
- `), N = w.length - 1, F = T.length - 1; N >= 1 && F >= 0 && w[N] !== T[F]; )
258
+ if (D && P && typeof D.stack == "string") {
259
+ for (var x = D.stack.split(`
260
+ `), T = P.stack.split(`
261
+ `), N = x.length - 1, F = T.length - 1; N >= 1 && F >= 0 && x[N] !== T[F]; )
262
262
  F--;
263
263
  for (; N >= 1 && F >= 0; N--, F--)
264
- if (w[N] !== T[F]) {
264
+ if (x[N] !== T[F]) {
265
265
  if (N !== 1 || F !== 1)
266
266
  do
267
- if (N--, F--, F < 0 || w[N] !== T[F]) {
268
- var L = `
269
- ` + w[N].replace(" at new ", " at ");
270
- return n.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", n.displayName)), typeof n == "function" && xt.set(n, L), L;
267
+ if (N--, F--, F < 0 || x[N] !== T[F]) {
268
+ var Z = `
269
+ ` + x[N].replace(" at new ", " at ");
270
+ return n.displayName && Z.includes("<anonymous>") && (Z = Z.replace("<anonymous>", n.displayName)), typeof n == "function" && vt.set(n, Z), Z;
271
271
  }
272
272
  while (N >= 1 && F >= 0);
273
273
  break;
274
274
  }
275
275
  }
276
276
  } finally {
277
- It = !1, Rt.current = C, Pn(), Error.prepareStackTrace = k;
277
+ Rt = !1, jt.current = C, yn(), Error.prepareStackTrace = k;
278
278
  }
279
- var rt = n ? n.displayName || n.name : "", X = rt ? bt(rt) : "";
280
- return typeof n == "function" && xt.set(n, X), X;
279
+ var rt = n ? n.displayName || n.name : "", W = rt ? Pt(rt) : "";
280
+ return typeof n == "function" && vt.set(n, W), W;
281
281
  }
282
- function xn(n, c, u) {
283
- return Jt(n, !1);
282
+ function xn(n, c, d) {
283
+ return Ut(n, !1);
284
284
  }
285
285
  function wn(n) {
286
286
  var c = n.prototype;
287
287
  return !!(c && c.isReactComponent);
288
288
  }
289
- function wt(n, c, u) {
289
+ function yt(n, c, d) {
290
290
  if (n == null)
291
291
  return "";
292
292
  if (typeof n == "function")
293
- return Jt(n, wn(n));
293
+ return Ut(n, wn(n));
294
294
  if (typeof n == "string")
295
- return bt(n);
295
+ return Pt(n);
296
296
  switch (n) {
297
297
  case l:
298
- return bt("Suspense");
299
- case p:
300
- return bt("SuspenseList");
298
+ return Pt("Suspense");
299
+ case u:
300
+ return Pt("SuspenseList");
301
301
  }
302
302
  if (typeof n == "object")
303
303
  switch (n.$$typeof) {
304
304
  case g:
305
305
  return xn(n.render);
306
- case d:
307
- return wt(n.type, c, u);
306
+ case p:
307
+ return yt(n.type, c, d);
308
308
  case f: {
309
- var v = n, k = v._payload, C = v._init;
309
+ var P = n, k = P._payload, C = P._init;
310
310
  try {
311
- return wt(C(k), c, u);
311
+ return yt(C(k), c, d);
312
312
  } catch {
313
313
  }
314
314
  }
315
315
  }
316
316
  return "";
317
317
  }
318
- var lt = Object.prototype.hasOwnProperty, Vt = {}, Yt = j.ReactDebugCurrentFrame;
319
- function At(n) {
318
+ var ct = Object.prototype.hasOwnProperty, Jt = {}, Vt = j.ReactDebugCurrentFrame;
319
+ function bt(n) {
320
320
  if (n) {
321
- var c = n._owner, u = wt(n.type, n._source, c ? c.type : null);
322
- Yt.setExtraStackFrame(u);
321
+ var c = n._owner, d = yt(n.type, n._source, c ? c.type : null);
322
+ Vt.setExtraStackFrame(d);
323
323
  } else
324
- Yt.setExtraStackFrame(null);
324
+ Vt.setExtraStackFrame(null);
325
325
  }
326
- function An(n, c, u, v, k) {
326
+ function An(n, c, d, P, k) {
327
327
  {
328
- var C = Function.call.bind(lt);
329
- for (var A in n)
330
- if (C(n, A)) {
331
- var w = void 0;
328
+ var C = Function.call.bind(ct);
329
+ for (var w in n)
330
+ if (C(n, w)) {
331
+ var x = void 0;
332
332
  try {
333
- if (typeof n[A] != "function") {
334
- var T = Error((v || "React class") + ": " + u + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
+ if (typeof n[w] != "function") {
334
+ var T = Error((P || "React class") + ": " + d + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
335
  throw T.name = "Invariant Violation", T;
336
336
  }
337
- w = n[A](c, A, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
+ x = n[w](c, w, P, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
338
338
  } catch (N) {
339
- w = N;
339
+ x = N;
340
340
  }
341
- w && !(w instanceof Error) && (At(k), I("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", u, A, typeof w), At(null)), w instanceof Error && !(w.message in Vt) && (Vt[w.message] = !0, At(k), I("Failed %s type: %s", u, w.message), At(null));
341
+ x && !(x instanceof Error) && (bt(k), I("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", d, w, typeof x), bt(null)), x instanceof Error && !(x.message in Jt) && (Jt[x.message] = !0, bt(k), I("Failed %s type: %s", d, x.message), bt(null));
342
342
  }
343
343
  }
344
344
  }
345
345
  var kn = Array.isArray;
346
- function Nt(n) {
346
+ function It(n) {
347
347
  return kn(n);
348
348
  }
349
349
  function jn(n) {
350
350
  {
351
- var c = typeof Symbol == "function" && Symbol.toStringTag, u = c && n[Symbol.toStringTag] || n.constructor.name || "Object";
352
- return u;
351
+ var c = typeof Symbol == "function" && Symbol.toStringTag, d = c && n[Symbol.toStringTag] || n.constructor.name || "Object";
352
+ return d;
353
353
  }
354
354
  }
355
355
  function Cn(n) {
356
356
  try {
357
- return Gt(n), !1;
357
+ return Yt(n), !1;
358
358
  } catch {
359
359
  return !0;
360
360
  }
361
361
  }
362
- function Gt(n) {
362
+ function Yt(n) {
363
363
  return "" + n;
364
364
  }
365
- function Kt(n) {
365
+ function Gt(n) {
366
366
  if (Cn(n))
367
- return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jn(n)), Gt(n);
367
+ return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jn(n)), Yt(n);
368
368
  }
369
- var Qt = j.ReactCurrentOwner, Rn = {
369
+ var Kt = j.ReactCurrentOwner, Rn = {
370
370
  key: !0,
371
371
  ref: !0,
372
372
  __self: !0,
373
373
  __source: !0
374
- }, Wt, Xt;
375
- function Sn(n) {
376
- if (lt.call(n, "ref")) {
374
+ }, Qt, Wt;
375
+ function In(n) {
376
+ if (ct.call(n, "ref")) {
377
377
  var c = Object.getOwnPropertyDescriptor(n, "ref").get;
378
378
  if (c && c.isReactWarning)
379
379
  return !1;
380
380
  }
381
381
  return n.ref !== void 0;
382
382
  }
383
- function In(n) {
384
- if (lt.call(n, "key")) {
383
+ function Sn(n) {
384
+ if (ct.call(n, "key")) {
385
385
  var c = Object.getOwnPropertyDescriptor(n, "key").get;
386
386
  if (c && c.isReactWarning)
387
387
  return !1;
@@ -389,94 +389,94 @@ function Wn() {
389
389
  return n.key !== void 0;
390
390
  }
391
391
  function Nn(n, c) {
392
- typeof n.ref == "string" && Qt.current;
392
+ typeof n.ref == "string" && Kt.current;
393
393
  }
394
394
  function Fn(n, c) {
395
395
  {
396
- var u = function() {
397
- Wt || (Wt = !0, I("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
396
+ var d = function() {
397
+ Qt || (Qt = !0, I("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
398
398
  };
399
- u.isReactWarning = !0, Object.defineProperty(n, "key", {
400
- get: u,
399
+ d.isReactWarning = !0, Object.defineProperty(n, "key", {
400
+ get: d,
401
401
  configurable: !0
402
402
  });
403
403
  }
404
404
  }
405
405
  function En(n, c) {
406
406
  {
407
- var u = function() {
408
- Xt || (Xt = !0, I("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
407
+ var d = function() {
408
+ Wt || (Wt = !0, I("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
409
409
  };
410
- u.isReactWarning = !0, Object.defineProperty(n, "ref", {
411
- get: u,
410
+ d.isReactWarning = !0, Object.defineProperty(n, "ref", {
411
+ get: d,
412
412
  configurable: !0
413
413
  });
414
414
  }
415
415
  }
416
- var zn = function(n, c, u, v, k, C, A) {
417
- var w = {
416
+ var zn = function(n, c, d, P, k, C, w) {
417
+ var x = {
418
418
  // This tag allows us to uniquely identify this as a React Element
419
419
  $$typeof: r,
420
420
  // Built-in properties that belong on the element
421
421
  type: n,
422
422
  key: c,
423
- ref: u,
424
- props: A,
423
+ ref: d,
424
+ props: w,
425
425
  // Record the component responsible for creating this element.
426
426
  _owner: C
427
427
  };
428
- return w._store = {}, Object.defineProperty(w._store, "validated", {
428
+ return x._store = {}, Object.defineProperty(x._store, "validated", {
429
429
  configurable: !1,
430
430
  enumerable: !1,
431
431
  writable: !0,
432
432
  value: !1
433
- }), Object.defineProperty(w, "_self", {
433
+ }), Object.defineProperty(x, "_self", {
434
434
  configurable: !1,
435
435
  enumerable: !1,
436
436
  writable: !1,
437
- value: v
438
- }), Object.defineProperty(w, "_source", {
437
+ value: P
438
+ }), Object.defineProperty(x, "_source", {
439
439
  configurable: !1,
440
440
  enumerable: !1,
441
441
  writable: !1,
442
442
  value: k
443
- }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
443
+ }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
444
444
  };
445
- function Bn(n, c, u, v, k) {
445
+ function Bn(n, c, d, P, k) {
446
446
  {
447
- var C, A = {}, w = null, T = null;
448
- u !== void 0 && (Kt(u), w = "" + u), In(c) && (Kt(c.key), w = "" + c.key), Sn(c) && (T = c.ref, Nn(c, k));
447
+ var C, w = {}, x = null, T = null;
448
+ d !== void 0 && (Gt(d), x = "" + d), Sn(c) && (Gt(c.key), x = "" + c.key), In(c) && (T = c.ref, Nn(c, k));
449
449
  for (C in c)
450
- lt.call(c, C) && !Rn.hasOwnProperty(C) && (A[C] = c[C]);
450
+ ct.call(c, C) && !Rn.hasOwnProperty(C) && (w[C] = c[C]);
451
451
  if (n && n.defaultProps) {
452
452
  var N = n.defaultProps;
453
453
  for (C in N)
454
- A[C] === void 0 && (A[C] = N[C]);
454
+ w[C] === void 0 && (w[C] = N[C]);
455
455
  }
456
- if (w || T) {
456
+ if (x || T) {
457
457
  var F = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
458
- w && Fn(A, F), T && En(A, F);
458
+ x && Fn(w, F), T && En(w, F);
459
459
  }
460
- return zn(n, w, T, k, v, Qt.current, A);
460
+ return zn(n, x, T, k, P, Kt.current, w);
461
461
  }
462
462
  }
463
- var Ft = j.ReactCurrentOwner, qt = j.ReactDebugCurrentFrame;
463
+ var St = j.ReactCurrentOwner, Xt = j.ReactDebugCurrentFrame;
464
464
  function et(n) {
465
465
  if (n) {
466
- var c = n._owner, u = wt(n.type, n._source, c ? c.type : null);
467
- qt.setExtraStackFrame(u);
466
+ var c = n._owner, d = yt(n.type, n._source, c ? c.type : null);
467
+ Xt.setExtraStackFrame(d);
468
468
  } else
469
- qt.setExtraStackFrame(null);
469
+ Xt.setExtraStackFrame(null);
470
470
  }
471
- var Et;
472
- Et = !1;
473
- function zt(n) {
471
+ var Nt;
472
+ Nt = !1;
473
+ function Ft(n) {
474
474
  return typeof n == "object" && n !== null && n.$$typeof === r;
475
475
  }
476
- function $t() {
476
+ function qt() {
477
477
  {
478
- if (Ft.current) {
479
- var n = z(Ft.current.type);
478
+ if (St.current) {
479
+ var n = U(St.current.type);
480
480
  if (n)
481
481
  return `
482
482
 
@@ -488,48 +488,48 @@ Check the render method of \`` + n + "`.";
488
488
  function Tn(n) {
489
489
  return "";
490
490
  }
491
- var tn = {};
491
+ var $t = {};
492
492
  function Dn(n) {
493
493
  {
494
- var c = $t();
494
+ var c = qt();
495
495
  if (!c) {
496
- var u = typeof n == "string" ? n : n.displayName || n.name;
497
- u && (c = `
496
+ var d = typeof n == "string" ? n : n.displayName || n.name;
497
+ d && (c = `
498
498
 
499
- Check the top-level render call using <` + u + ">.");
499
+ Check the top-level render call using <` + d + ">.");
500
500
  }
501
501
  return c;
502
502
  }
503
503
  }
504
- function nn(n, c) {
504
+ function tn(n, c) {
505
505
  {
506
506
  if (!n._store || n._store.validated || n.key != null)
507
507
  return;
508
508
  n._store.validated = !0;
509
- var u = Dn(c);
510
- if (tn[u])
509
+ var d = Dn(c);
510
+ if ($t[d])
511
511
  return;
512
- tn[u] = !0;
513
- var v = "";
514
- n && n._owner && n._owner !== Ft.current && (v = " It was passed a child from " + z(n._owner.type) + "."), et(n), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), et(null);
512
+ $t[d] = !0;
513
+ var P = "";
514
+ n && n._owner && n._owner !== St.current && (P = " It was passed a child from " + U(n._owner.type) + "."), et(n), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, P), et(null);
515
515
  }
516
516
  }
517
- function en(n, c) {
517
+ function nn(n, c) {
518
518
  {
519
519
  if (typeof n != "object")
520
520
  return;
521
- if (Nt(n))
522
- for (var u = 0; u < n.length; u++) {
523
- var v = n[u];
524
- zt(v) && nn(v, c);
521
+ if (It(n))
522
+ for (var d = 0; d < n.length; d++) {
523
+ var P = n[d];
524
+ Ft(P) && tn(P, c);
525
525
  }
526
- else if (zt(n))
526
+ else if (Ft(n))
527
527
  n._store && (n._store.validated = !0);
528
528
  else if (n) {
529
- var k = P(n);
529
+ var k = A(n);
530
530
  if (typeof k == "function" && k !== n.entries)
531
- for (var C = k.call(n), A; !(A = C.next()).done; )
532
- zt(A.value) && nn(A.value, c);
531
+ for (var C = k.call(n), w; !(w = C.next()).done; )
532
+ Ft(w.value) && tn(w.value, c);
533
533
  }
534
534
  }
535
535
  }
@@ -538,21 +538,21 @@ Check the top-level render call using <` + u + ">.");
538
538
  var c = n.type;
539
539
  if (c == null || typeof c == "string")
540
540
  return;
541
- var u;
541
+ var d;
542
542
  if (typeof c == "function")
543
- u = c.propTypes;
543
+ d = c.propTypes;
544
544
  else if (typeof c == "object" && (c.$$typeof === g || // Note: Memo only checks outer props here.
545
545
  // Inner props are checked in the reconciler.
546
- c.$$typeof === d))
547
- u = c.propTypes;
546
+ c.$$typeof === p))
547
+ d = c.propTypes;
548
548
  else
549
549
  return;
550
- if (u) {
551
- var v = z(c);
552
- An(u, n.props, "prop", v, n);
553
- } else if (c.PropTypes !== void 0 && !Et) {
554
- Et = !0;
555
- var k = z(c);
550
+ if (d) {
551
+ var P = U(c);
552
+ An(d, n.props, "prop", P, n);
553
+ } else if (c.PropTypes !== void 0 && !Nt) {
554
+ Nt = !0;
555
+ var k = U(c);
556
556
  I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
557
557
  }
558
558
  typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -560,149 +560,149 @@ Check the top-level render call using <` + u + ">.");
560
560
  }
561
561
  function Zn(n) {
562
562
  {
563
- for (var c = Object.keys(n.props), u = 0; u < c.length; u++) {
564
- var v = c[u];
565
- if (v !== "children" && v !== "key") {
566
- et(n), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), et(null);
563
+ for (var c = Object.keys(n.props), d = 0; d < c.length; d++) {
564
+ var P = c[d];
565
+ if (P !== "children" && P !== "key") {
566
+ et(n), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", P), et(null);
567
567
  break;
568
568
  }
569
569
  }
570
570
  n.ref !== null && (et(n), I("Invalid attribute `ref` supplied to `React.Fragment`."), et(null));
571
571
  }
572
572
  }
573
- var rn = {};
574
- function on(n, c, u, v, k, C) {
573
+ var en = {};
574
+ function rn(n, c, d, P, k, C) {
575
575
  {
576
- var A = ft(n);
577
- if (!A) {
578
- var w = "";
579
- (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
576
+ var w = kt(n);
577
+ if (!w) {
578
+ var x = "";
579
+ (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
580
580
  var T = Tn();
581
- T ? w += T : w += $t();
581
+ T ? x += T : x += qt();
582
582
  var N;
583
- n === null ? N = "null" : Nt(n) ? N = "array" : n !== void 0 && n.$$typeof === r ? (N = "<" + (z(n.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : N = typeof n, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, w);
583
+ n === null ? N = "null" : It(n) ? N = "array" : n !== void 0 && n.$$typeof === r ? (N = "<" + (U(n.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : N = typeof n, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, x);
584
584
  }
585
- var F = Bn(n, c, u, k, C);
585
+ var F = Bn(n, c, d, k, C);
586
586
  if (F == null)
587
587
  return F;
588
- if (A) {
589
- var L = c.children;
590
- if (L !== void 0)
591
- if (v)
592
- if (Nt(L)) {
593
- for (var rt = 0; rt < L.length; rt++)
594
- en(L[rt], n);
595
- Object.freeze && Object.freeze(L);
588
+ if (w) {
589
+ var Z = c.children;
590
+ if (Z !== void 0)
591
+ if (P)
592
+ if (It(Z)) {
593
+ for (var rt = 0; rt < Z.length; rt++)
594
+ nn(Z[rt], n);
595
+ Object.freeze && Object.freeze(Z);
596
596
  } else
597
597
  I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
598
598
  else
599
- en(L, n);
599
+ nn(Z, n);
600
600
  }
601
- if (lt.call(c, "key")) {
602
- var X = z(n), D = Object.keys(c).filter(function(Vn) {
601
+ if (ct.call(c, "key")) {
602
+ var W = U(n), D = Object.keys(c).filter(function(Vn) {
603
603
  return Vn !== "key";
604
- }), Bt = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
605
- if (!rn[X + Bt]) {
604
+ }), Et = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
605
+ if (!en[W + Et]) {
606
606
  var Jn = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
607
607
  I(`A props object containing a "key" prop is being spread into JSX:
608
608
  let props = %s;
609
609
  <%s {...props} />
610
610
  React keys must be passed directly to JSX without using spread:
611
611
  let props = %s;
612
- <%s key={someKey} {...props} />`, Bt, X, Jn, X), rn[X + Bt] = !0;
612
+ <%s key={someKey} {...props} />`, Et, W, Jn, W), en[W + Et] = !0;
613
613
  }
614
614
  }
615
615
  return n === s ? Zn(F) : On(F), F;
616
616
  }
617
617
  }
618
- function Ln(n, c, u) {
619
- return on(n, c, u, !0);
618
+ function Mn(n, c, d) {
619
+ return rn(n, c, d, !0);
620
620
  }
621
- function Mn(n, c, u) {
622
- return on(n, c, u, !1);
621
+ function Ln(n, c, d) {
622
+ return rn(n, c, d, !1);
623
623
  }
624
- var Hn = Mn, Un = Ln;
625
- mt.Fragment = s, mt.jsx = Hn, mt.jsxs = Un;
626
- }()), mt;
624
+ var Hn = Ln, Un = Mn;
625
+ _t.Fragment = s, _t.jsx = Hn, _t.jsxs = Un;
626
+ }()), _t;
627
627
  }
628
- process.env.NODE_ENV === "production" ? Zt.exports = Qn() : Zt.exports = Wn();
629
- var e = Zt.exports;
628
+ process.env.NODE_ENV === "production" ? Dt.exports = Qn() : Dt.exports = Wn();
629
+ var e = Dt.exports;
630
630
  const Xn = "_button_qg5kh_1", qn = {
631
631
  button: Xn
632
632
  };
633
- function li({ className: t = "", ...r }) {
633
+ function so({ className: t = "", ...r }) {
634
634
  return /* @__PURE__ */ e.jsx("button", { className: `${qn.button} ${t}`, ...r, children: "TEST" });
635
635
  }
636
- const $n = "_archive_doicitation_y1o5i_1", te = "_doi_badge_y1o5i_9", ne = "_doi_left_y1o5i_13", ee = "_doi_right_y1o5i_27", kt = {
636
+ const $n = "_archive_doicitation_y1o5i_1", te = "_doi_badge_y1o5i_9", ne = "_doi_left_y1o5i_13", ee = "_doi_right_y1o5i_27", xt = {
637
637
  archive_doicitation: $n,
638
638
  doi_badge: te,
639
639
  doi_left: ne,
640
640
  doi_right: ee
641
- }, _i = ({
641
+ }, ao = ({
642
642
  doi_id: t,
643
643
  doi: r,
644
- label: o = "DOI",
644
+ label: i = "DOI",
645
645
  color: s = "#a2cbff",
646
- className: i = "",
646
+ className: o = "",
647
647
  ..._
648
648
  }) => {
649
649
  let m = "";
650
- return t != null ? m = `10.24435/materialscloud:${t}` : m = r, /* @__PURE__ */ e.jsx("div", { className: `${kt.archive_doicitation} ${i}`, ..._, children: /* @__PURE__ */ e.jsxs("span", { className: kt.doi_badge, children: [
651
- /* @__PURE__ */ e.jsx("span", { className: kt.doi_left, children: o }),
650
+ return t != null ? m = `10.24435/materialscloud:${t}` : m = r, /* @__PURE__ */ e.jsx("div", { className: `${xt.archive_doicitation} ${o}`, ..._, children: /* @__PURE__ */ e.jsxs("span", { className: xt.doi_badge, children: [
651
+ /* @__PURE__ */ e.jsx("span", { className: xt.doi_left, children: i }),
652
652
  /* @__PURE__ */ e.jsx(
653
653
  "a",
654
654
  {
655
655
  href: `https://doi.org/${m}`,
656
- className: kt.doi_right,
656
+ className: xt.doi_right,
657
657
  target: "_blank",
658
658
  style: { backgroundColor: s },
659
659
  children: m
660
660
  }
661
661
  )
662
662
  ] }) });
663
- }, gt = (...t) => t.filter(Boolean).join(" ");
663
+ }, mt = (...t) => t.filter(Boolean).join(" ");
664
664
  function re(t) {
665
- const r = t == null ? void 0 : t.type, o = (r == null ? void 0 : r.displayName) || (r == null ? void 0 : r.name) || (typeof r == "string" ? r : "");
666
- return typeof o == "string" && o.toLowerCase().includes("popover");
665
+ const r = t == null ? void 0 : t.type, i = (r == null ? void 0 : r.displayName) || (r == null ? void 0 : r.name) || (typeof r == "string" ? r : "");
666
+ return typeof i == "string" && i.toLowerCase().includes("popover");
667
667
  }
668
- function oe(t) {
668
+ function ie(t) {
669
669
  let r = t;
670
670
  for (; r && typeof r == "object" && "props" in r && re(r); )
671
671
  r = r.props.children;
672
672
  return r;
673
673
  }
674
- function mi({
674
+ function co({
675
675
  popover: t,
676
676
  content: r,
677
- placement: o = "top",
677
+ placement: i = "top",
678
678
  className: s,
679
- classes: i = {},
679
+ classes: o = {},
680
680
  children: _ = "?",
681
681
  ...m
682
682
  }) {
683
- const [a, g] = E(!1), l = Mt(null), p = r !== void 0 ? r : t, d = p != null;
683
+ const [a, g] = E(!1), l = Zt(null), u = r !== void 0 ? r : t, p = u != null;
684
684
  return nt(() => {
685
- if (!a || !d) return;
686
- const f = (x) => {
687
- l.current && !l.current.contains(x.target) && g(!1);
688
- }, b = (x) => {
689
- x.key === "Escape" && g(!1);
685
+ if (!a || !p) return;
686
+ const f = (y) => {
687
+ l.current && !l.current.contains(y.target) && g(!1);
688
+ }, b = (y) => {
689
+ y.key === "Escape" && g(!1);
690
690
  };
691
691
  return document.addEventListener("pointerdown", f), document.addEventListener("keydown", b), () => {
692
692
  document.removeEventListener("pointerdown", f), document.removeEventListener("keydown", b);
693
693
  };
694
- }, [a, d]), d ? /* @__PURE__ */ e.jsxs(
694
+ }, [a, p]), p ? /* @__PURE__ */ e.jsxs(
695
695
  "div",
696
696
  {
697
697
  ref: l,
698
- className: gt("help-button", s, i.root),
698
+ className: mt("help-button", s, o.root),
699
699
  ...m,
700
700
  children: [
701
701
  /* @__PURE__ */ e.jsx(
702
702
  "button",
703
703
  {
704
704
  type: "button",
705
- className: gt("help-button__trigger", i.trigger),
705
+ className: mt("help-button__trigger", o.trigger),
706
706
  onClick: () => g((f) => !f),
707
707
  "aria-expanded": a,
708
708
  "aria-haspopup": "dialog",
@@ -713,17 +713,17 @@ function mi({
713
713
  "div",
714
714
  {
715
715
  role: "dialog",
716
- "data-placement": o,
717
- className: gt("help-button__popover", i.popover),
718
- children: oe(p)
716
+ "data-placement": i,
717
+ className: mt("help-button__popover", o.popover),
718
+ children: ie(u)
719
719
  }
720
720
  )
721
721
  ]
722
722
  }
723
- ) : /* @__PURE__ */ e.jsx("div", { className: gt("help-button", s, i.root), ...m, children: /* @__PURE__ */ e.jsx("span", { className: gt("help-button__trigger", i.trigger), children: _ }) });
723
+ ) : /* @__PURE__ */ e.jsx("div", { className: mt("help-button", s, o.root), ...m, children: /* @__PURE__ */ e.jsx("span", { className: mt("help-button__trigger", o.trigger), children: _ }) });
724
724
  }
725
- const ie = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='36.012337'%20height='31.802971'%20viewBox='0%200%2036.012336%2031.802972'%20id='svg9098'%20version='1.1'%20inkscape:version='0.91%20r13725'%20sodipodi:docname='mclogo-split-rotate-v9.svg'%3e%3cdefs%20id='defs9100'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='11.2'%20inkscape:cx='14.890099'%20inkscape:cy='23.051314'%20inkscape:document-units='px'%20inkscape:current-layer='g9'%20showgrid='false'%20units='px'%20inkscape:window-width='1680'%20inkscape:window-height='940'%20inkscape:window-x='0'%20inkscape:window-y='1'%20inkscape:window-maximized='1'%20fit-margin-top='3'%20fit-margin-left='3'%20fit-margin-right='3'%20fit-margin-bottom='5'%20/%3e%3cmetadata%20id='metadata9103'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Layer%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(3.0066849,-1015.2422)'%3e%3cg%20id='mctriangle'%20transform='matrix(1.1533275,0,0,1.1556928,-379.094,391.20844)'%3e%3cg%20transform='translate(2975.41,266.50511)'%20style='display:inline;stroke:%23d21f15;stroke-width:0.86616874;stroke-opacity:1'%20id='layer6'%20/%3e%3cg%20id='g9'%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9220'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9224'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9228'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9232'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9236'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9240'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9244'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9248'%20/%3e%3cellipse%20ry='0.25958455'%20rx='0.26011693'%20cy='553.91522'%20cx='341.70126'%20id='ref'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.4000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20/%3e%3cpath%20id='mctriangleonly'%20d='M%20335.13723,550.18801%20338.41923,555.66439%20341.70129,561.14077%20344.98332,555.66439%20348.26535,550.18801%20341.70129,550.18801%20Z'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.91575587;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20inkscape:connector-curvature='0'%20/%3e%3ccircle%20cy='550.02032'%20cx='348.39252'%20id='circle7840-5'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20cy='550.02032'%20cx='335.01007'%20id='circle7842-0'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20id='circle7844-5'%20cx='341.70132'%20cy='561.30841'%20r='1.4070433'%20/%3e%3ccircle%20r='1.4070433'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;filter-blend-mode:normal;filter-gaussianBlur-deviation:0'%20id='movingcircle'%20cx='335.01007'%20cy='550.02032'%3e%3canimateTransform%20id='anim1'%20repeatCount='indefinite'%20begin='0s'%20dur='1s'%20values='0.0%200.0;13.38245%200.0;6.69125%2011.28809;0.0%200.0'%20type='translate'%20attributeName='transform'%20/%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
726
- function gi({ className: t = "", style: r, ...o }) {
725
+ const oe = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='36.012337'%20height='31.802971'%20viewBox='0%200%2036.012336%2031.802972'%20id='svg9098'%20version='1.1'%20inkscape:version='0.91%20r13725'%20sodipodi:docname='mclogo-split-rotate-v9.svg'%3e%3cdefs%20id='defs9100'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='11.2'%20inkscape:cx='14.890099'%20inkscape:cy='23.051314'%20inkscape:document-units='px'%20inkscape:current-layer='g9'%20showgrid='false'%20units='px'%20inkscape:window-width='1680'%20inkscape:window-height='940'%20inkscape:window-x='0'%20inkscape:window-y='1'%20inkscape:window-maximized='1'%20fit-margin-top='3'%20fit-margin-left='3'%20fit-margin-right='3'%20fit-margin-bottom='5'%20/%3e%3cmetadata%20id='metadata9103'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Layer%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(3.0066849,-1015.2422)'%3e%3cg%20id='mctriangle'%20transform='matrix(1.1533275,0,0,1.1556928,-379.094,391.20844)'%3e%3cg%20transform='translate(2975.41,266.50511)'%20style='display:inline;stroke:%23d21f15;stroke-width:0.86616874;stroke-opacity:1'%20id='layer6'%20/%3e%3cg%20id='g9'%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9220'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9224'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9228'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9232'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9236'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9240'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9244'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9248'%20/%3e%3cellipse%20ry='0.25958455'%20rx='0.26011693'%20cy='553.91522'%20cx='341.70126'%20id='ref'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.4000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20/%3e%3cpath%20id='mctriangleonly'%20d='M%20335.13723,550.18801%20338.41923,555.66439%20341.70129,561.14077%20344.98332,555.66439%20348.26535,550.18801%20341.70129,550.18801%20Z'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.91575587;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20inkscape:connector-curvature='0'%20/%3e%3ccircle%20cy='550.02032'%20cx='348.39252'%20id='circle7840-5'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20cy='550.02032'%20cx='335.01007'%20id='circle7842-0'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20id='circle7844-5'%20cx='341.70132'%20cy='561.30841'%20r='1.4070433'%20/%3e%3ccircle%20r='1.4070433'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;filter-blend-mode:normal;filter-gaussianBlur-deviation:0'%20id='movingcircle'%20cx='335.01007'%20cy='550.02032'%3e%3canimateTransform%20id='anim1'%20repeatCount='indefinite'%20begin='0s'%20dur='1s'%20values='0.0%200.0;13.38245%200.0;6.69125%2011.28809;0.0%200.0'%20type='translate'%20attributeName='transform'%20/%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
726
+ function lo({ className: t = "", style: r, ...i }) {
727
727
  return /* @__PURE__ */ e.jsx(
728
728
  "div",
729
729
  {
@@ -734,11 +734,11 @@ function gi({ className: t = "", style: r, ...o }) {
734
734
  textAlign: "center",
735
735
  ...r
736
736
  },
737
- ...o,
737
+ ...i,
738
738
  children: /* @__PURE__ */ e.jsx(
739
739
  "img",
740
740
  {
741
- src: ie,
741
+ src: oe,
742
742
  alt: "Materials Cloud spinner",
743
743
  style: {
744
744
  width: "100%",
@@ -751,7 +751,7 @@ function gi({ className: t = "", style: r, ...o }) {
751
751
  }
752
752
  );
753
753
  }
754
- function un({ className: t = "h-4 w-4", ...r }) {
754
+ function gn({ className: t = "h-4 w-4", ...r }) {
755
755
  return /* @__PURE__ */ e.jsxs(
756
756
  "svg",
757
757
  {
@@ -771,7 +771,7 @@ function un({ className: t = "h-4 w-4", ...r }) {
771
771
  }
772
772
  );
773
773
  }
774
- function dn({ className: t = "h-4 w-4", ...r }) {
774
+ function un({ className: t = "h-4 w-4", ...r }) {
775
775
  return /* @__PURE__ */ e.jsx(
776
776
  "svg",
777
777
  {
@@ -788,7 +788,7 @@ function dn({ className: t = "h-4 w-4", ...r }) {
788
788
  }
789
789
  );
790
790
  }
791
- function Ht({ className: t = "h-4 w-4", ...r }) {
791
+ function Mt({ className: t = "h-4 w-4", ...r }) {
792
792
  return /* @__PURE__ */ e.jsxs(
793
793
  "svg",
794
794
  {
@@ -829,27 +829,27 @@ function se({ className: t = "h-4 w-4", ...r }) {
829
829
  }
830
830
  );
831
831
  }
832
- const q = (...t) => t.filter(Boolean).join(" "), ae = [
832
+ const X = (...t) => t.filter(Boolean).join(" "), ae = [
833
833
  { format: "cif", label: "CIF" },
834
834
  { format: "xsf", label: "XSF" },
835
835
  { format: "xyz", label: "XYZ" }
836
836
  ];
837
- function ui({
837
+ function _o({
838
838
  aiida_rest_url: t,
839
839
  uuid: r,
840
- download_formats: o,
840
+ download_formats: i,
841
841
  title: s = "Download",
842
- className: i,
842
+ className: o,
843
843
  classes: _ = {},
844
844
  ...m
845
845
  }) {
846
- const [a, g] = E(!1), l = Mt(null), p = `${t}/nodes/${r}/download`, d = o || ae;
846
+ const [a, g] = E(!1), l = Zt(null), u = `${t}/nodes/${r}/download`, p = i || ae;
847
847
  return nt(() => {
848
848
  if (!a) return;
849
- const f = (x) => {
850
- l.current && !l.current.contains(x.target) && g(!1);
851
- }, b = (x) => {
852
- x.key === "Escape" && g(!1);
849
+ const f = (y) => {
850
+ l.current && !l.current.contains(y.target) && g(!1);
851
+ }, b = (y) => {
852
+ y.key === "Escape" && g(!1);
853
853
  };
854
854
  return document.addEventListener("pointerdown", f), document.addEventListener("keydown", b), () => {
855
855
  document.removeEventListener("pointerdown", f), document.removeEventListener("keydown", b);
@@ -858,7 +858,7 @@ function ui({
858
858
  "div",
859
859
  {
860
860
  ref: l,
861
- className: q("struct-download", i, _.root),
861
+ className: X("struct-download", o, _.root),
862
862
  ...m,
863
863
  children: [
864
864
  /* @__PURE__ */ e.jsx(
@@ -869,32 +869,32 @@ function ui({
869
869
  "aria-expanded": a,
870
870
  "aria-haspopup": "menu",
871
871
  onClick: () => g((f) => !f),
872
- className: q("struct-download__button", _.button),
872
+ className: X("struct-download__button", _.button),
873
873
  children: /* @__PURE__ */ e.jsx(
874
- Ht,
874
+ Mt,
875
875
  {
876
- className: q("struct-download__icon", _.icon)
876
+ className: X("struct-download__icon", _.icon)
877
877
  }
878
878
  )
879
879
  }
880
880
  ),
881
- a && /* @__PURE__ */ e.jsx("div", { className: q("struct-download__dropdown", _.dropdown), children: /* @__PURE__ */ e.jsx(
881
+ a && /* @__PURE__ */ e.jsx("div", { className: X("struct-download__dropdown", _.dropdown), children: /* @__PURE__ */ e.jsx(
882
882
  "ul",
883
883
  {
884
884
  role: "menu",
885
- className: q("struct-download__menu", _.menu),
886
- children: d.map(({ format: f, label: b }) => /* @__PURE__ */ e.jsx(
885
+ className: X("struct-download__menu", _.menu),
886
+ children: p.map(({ format: f, label: b }) => /* @__PURE__ */ e.jsx(
887
887
  "li",
888
888
  {
889
889
  role: "none",
890
- className: q(_.menuItem),
890
+ className: X(_.menuItem),
891
891
  onClick: () => g(!1),
892
892
  children: /* @__PURE__ */ e.jsx(
893
893
  "a",
894
894
  {
895
895
  role: "menuitem",
896
- href: `${p}?download_format=${f}`,
897
- className: q(_.menuLink),
896
+ href: `${u}?download_format=${f}`,
897
+ className: X(_.menuLink),
898
898
  children: b
899
899
  }
900
900
  )
@@ -907,31 +907,31 @@ function ui({
907
907
  }
908
908
  );
909
909
  }
910
- const ce = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAACACAYAAADUHPECAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAdTAAAHUwAGRbQIfA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II=", wt = (...t) => t.filter(Boolean).join(" ");
911
+ function mo({
912
912
  explore_url: t,
913
913
  uuid: r,
914
- placement: o = "bottom",
914
+ placement: i = "bottom",
915
915
  tooltip: s,
916
- className: i,
916
+ className: o,
917
917
  classes: _ = {},
918
918
  ...m
919
919
  }) {
920
920
  const a = `${t}/details/${r}?nodeType=NODE`;
921
- return /* @__PURE__ */ e.jsxs("span", { className: jt("explore-button", i, _.root), ...m, children: [
921
+ return /* @__PURE__ */ e.jsxs("span", { className: wt("explore-button", o, _.root), ...m, children: [
922
922
  /* @__PURE__ */ e.jsx(
923
923
  "a",
924
924
  {
925
925
  href: a,
926
926
  target: "_blank",
927
927
  rel: "noreferrer",
928
- className: jt("explore-button__link", _.link),
928
+ className: wt("explore-button__link", _.link),
929
929
  children: /* @__PURE__ */ e.jsx(
930
930
  "img",
931
931
  {
932
932
  src: ce,
933
933
  alt: "Explore provenance",
934
- className: jt("explore-button__logo", _.logo)
934
+ className: wt("explore-button__logo", _.logo)
935
935
  }
936
936
  )
937
937
  }
@@ -940,8 +940,8 @@ function di({
940
940
  "span",
941
941
  {
942
942
  role: "tooltip",
943
- "data-placement": o,
944
- className: jt("explore-button__tooltip", _.tooltip),
943
+ "data-placement": i,
944
+ className: wt("explore-button__tooltip", _.tooltip),
945
945
  children: s ?? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
946
946
  "Browse provenance",
947
947
  /* @__PURE__ */ e.jsx("br", {}),
@@ -951,7 +951,7 @@ function di({
951
951
  )
952
952
  ] });
953
953
  }
954
- const le = "_toggleSwitchWrapper_i81zd_2", _e = "_toggleLabel_i81zd_11", me = "_toggleSwitchContainer_i81zd_16", ge = "_toggleSwitch_i81zd_2", ue = "_thumb_i81zd_34", de = "_toggled_i81zd_46", $ = {
954
+ const le = "_toggleSwitchWrapper_i81zd_2", _e = "_toggleLabel_i81zd_11", me = "_toggleSwitchContainer_i81zd_16", ge = "_toggleSwitch_i81zd_2", ue = "_thumb_i81zd_34", de = "_toggled_i81zd_46", q = {
955
955
  toggleSwitchWrapper: le,
956
956
  toggleLabel: _e,
957
957
  toggleSwitchContainer: me,
@@ -959,63 +959,63 @@ const le = "_toggleSwitchWrapper_i81zd_2", _e = "_toggleLabel_i81zd_11", me = "_
959
959
  thumb: ue,
960
960
  toggled: de
961
961
  };
962
- function pi({
962
+ function go({
963
963
  switchLength: t = "50px",
964
964
  labelLeft: r = "Left",
965
- labelRight: o = "Right",
965
+ labelRight: i = "Right",
966
966
  fontSize: s = "12px",
967
- toggled: i,
967
+ toggled: o,
968
968
  onToggle: _ = () => {
969
969
  },
970
970
  labelClassName: m = "",
971
971
  containerClassName: a = "",
972
972
  switchClassName: g = "",
973
973
  thumbClassName: l = "",
974
- ...p
974
+ ...u
975
975
  }) {
976
- const [d, f] = E(!1), b = i !== void 0, x = b ? i : d;
976
+ const [p, f] = E(!1), b = o !== void 0, y = b ? o : p;
977
977
  nt(() => {
978
- b && f(i);
979
- }, [i, b]);
980
- const S = () => {
981
- const P = !x;
982
- b || f(P), _(P);
978
+ b && f(o);
979
+ }, [o, b]);
980
+ const R = () => {
981
+ const A = !y;
982
+ b || f(A), _(A);
983
983
  };
984
984
  return /* @__PURE__ */ e.jsxs(
985
985
  "div",
986
986
  {
987
- className: `${$.toggleSwitchWrapper} ${a}`,
987
+ className: `${q.toggleSwitchWrapper} ${a}`,
988
988
  style: { fontSize: s },
989
- ...p,
989
+ ...u,
990
990
  children: [
991
- /* @__PURE__ */ e.jsx("span", { className: `${$.toggleLabel} ${m}`, children: r }),
992
- /* @__PURE__ */ e.jsx("div", { className: $.toggleSwitchContainer, children: /* @__PURE__ */ e.jsx(
991
+ /* @__PURE__ */ e.jsx("span", { className: `${q.toggleLabel} ${m}`, children: r }),
992
+ /* @__PURE__ */ e.jsx("div", { className: q.toggleSwitchContainer, children: /* @__PURE__ */ e.jsx(
993
993
  "button",
994
994
  {
995
995
  type: "button",
996
- className: `${$.toggleSwitch} ${x ? $.toggled : ""} ${g}`,
997
- onClick: S,
996
+ className: `${q.toggleSwitch} ${y ? q.toggled : ""} ${g}`,
997
+ onClick: R,
998
998
  style: { "--switch-length": t },
999
- children: /* @__PURE__ */ e.jsx("div", { className: `${$.thumb} ${l}` })
999
+ children: /* @__PURE__ */ e.jsx("div", { className: `${q.thumb} ${l}` })
1000
1000
  }
1001
1001
  ) }),
1002
- /* @__PURE__ */ e.jsx("span", { className: `${$.toggleLabel} ${m}`, children: o })
1002
+ /* @__PURE__ */ e.jsx("span", { className: `${q.toggleLabel} ${m}`, children: i })
1003
1003
  ]
1004
1004
  }
1005
1005
  );
1006
1006
  }
1007
- const pe = "_card_6y0jx_1", he = "_header_6y0jx_13", fe = "_body_6y0jx_18", ve = "_footer_6y0jx_23", Ct = {
1007
+ const pe = "_card_6y0jx_1", he = "_header_6y0jx_13", fe = "_body_6y0jx_18", Pe = "_footer_6y0jx_23", At = {
1008
1008
  card: pe,
1009
1009
  header: he,
1010
1010
  body: fe,
1011
- footer: ve
1011
+ footer: Pe
1012
1012
  };
1013
- function hi({
1013
+ function uo({
1014
1014
  children: t,
1015
1015
  header: r,
1016
- footer: o,
1016
+ footer: i,
1017
1017
  className: s = "",
1018
- childrenClassName: i = "",
1018
+ childrenClassName: o = "",
1019
1019
  style: _,
1020
1020
  scrollable: m = !1,
1021
1021
  maxHeight: a,
@@ -1024,7 +1024,7 @@ function hi({
1024
1024
  return /* @__PURE__ */ e.jsxs(
1025
1025
  "div",
1026
1026
  {
1027
- className: `${Ct.card} ${s}`,
1027
+ className: `${At.card} ${s}`,
1028
1028
  style: {
1029
1029
  ..._,
1030
1030
  ...m ? {
@@ -1034,45 +1034,45 @@ function hi({
1034
1034
  },
1035
1035
  ...g,
1036
1036
  children: [
1037
- r && /* @__PURE__ */ e.jsx("div", { className: Ct.header, children: r }),
1038
- /* @__PURE__ */ e.jsx("div", { className: `${Ct.body} ${i}`, children: t }),
1039
- o && /* @__PURE__ */ e.jsx("div", { className: Ct.footer, children: o })
1037
+ r && /* @__PURE__ */ e.jsx("div", { className: At.header, children: r }),
1038
+ /* @__PURE__ */ e.jsx("div", { className: `${At.body} ${o}`, children: t }),
1039
+ i && /* @__PURE__ */ e.jsx("div", { className: At.footer, children: i })
1040
1040
  ]
1041
1041
  }
1042
1042
  );
1043
1043
  }
1044
- const Y = (...t) => t.filter(Boolean).join(" ");
1045
- function ye({
1044
+ const V = (...t) => t.filter(Boolean).join(" ");
1045
+ function ve({
1046
1046
  onFile: t,
1047
1047
  accept: r,
1048
- fileName: o,
1048
+ fileName: i,
1049
1049
  disabled: s = !1,
1050
- title: i = "Drop your file here",
1050
+ title: o = "Drop your file here",
1051
1051
  subtitle: _,
1052
1052
  replaceHint: m = "Click or drop another file to replace it",
1053
1053
  hint: a,
1054
1054
  className: g,
1055
1055
  classes: l = {},
1056
- ...p
1056
+ ...u
1057
1057
  }) {
1058
- const d = Mt(null), [f, b] = E(!1), x = (P) => {
1059
- !P || s || t == null || t(P);
1060
- }, S = (P) => {
1058
+ const p = Zt(null), [f, b] = E(!1), y = (A) => {
1059
+ !A || s || t == null || t(A);
1060
+ }, R = (A) => {
1061
1061
  var j;
1062
- P.preventDefault(), b(!1), x((j = P.dataTransfer.files) == null ? void 0 : j[0]);
1062
+ A.preventDefault(), b(!1), y((j = A.dataTransfer.files) == null ? void 0 : j[0]);
1063
1063
  };
1064
- return /* @__PURE__ */ e.jsxs("div", { className: Y("mc-dropzone", g, l.root), ...p, children: [
1064
+ return /* @__PURE__ */ e.jsxs("div", { className: V("mc-dropzone", g, l.root), ...u, children: [
1065
1065
  /* @__PURE__ */ e.jsx(
1066
1066
  "input",
1067
1067
  {
1068
- ref: d,
1068
+ ref: p,
1069
1069
  type: "file",
1070
1070
  accept: r,
1071
1071
  disabled: s,
1072
- className: Y(l.input),
1073
- onChange: (P) => {
1072
+ className: V(l.input),
1073
+ onChange: (A) => {
1074
1074
  var j;
1075
- x((j = P.target.files) == null ? void 0 : j[0]), P.target.value = "";
1075
+ y((j = A.target.files) == null ? void 0 : j[0]), A.target.value = "";
1076
1076
  },
1077
1077
  hidden: !0
1078
1078
  }
@@ -1083,32 +1083,32 @@ function ye({
1083
1083
  type: "button",
1084
1084
  disabled: s,
1085
1085
  onClick: () => {
1086
- var P;
1087
- return (P = d.current) == null ? void 0 : P.click();
1086
+ var A;
1087
+ return (A = p.current) == null ? void 0 : A.click();
1088
1088
  },
1089
- onDragOver: (P) => {
1090
- P.preventDefault(), b(!0);
1089
+ onDragOver: (A) => {
1090
+ A.preventDefault(), b(!0);
1091
1091
  },
1092
1092
  onDragLeave: () => b(!1),
1093
- onDrop: S,
1094
- className: Y(
1093
+ onDrop: R,
1094
+ className: V(
1095
1095
  "mc-dropzone__button",
1096
1096
  f && "mc-dropzone__button--dragging",
1097
1097
  l.button
1098
1098
  ),
1099
1099
  children: [
1100
- /* @__PURE__ */ e.jsx("span", { className: Y("mc-dropzone__icon", l.icon), children: /* @__PURE__ */ e.jsx(se, { className: "mc-dropzone__icon-svg" }) }),
1101
- o ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1102
- /* @__PURE__ */ e.jsx("p", { className: Y("mc-dropzone__title", l.fileName), children: o }),
1103
- /* @__PURE__ */ e.jsx("p", { className: Y("mc-dropzone__subtitle", l.subtitle), children: m })
1100
+ /* @__PURE__ */ e.jsx("span", { className: V("mc-dropzone__icon", l.icon), children: /* @__PURE__ */ e.jsx(se, { className: "mc-dropzone__icon-svg" }) }),
1101
+ i ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1102
+ /* @__PURE__ */ e.jsx("p", { className: V("mc-dropzone__title", l.fileName), children: i }),
1103
+ /* @__PURE__ */ e.jsx("p", { className: V("mc-dropzone__subtitle", l.subtitle), children: m })
1104
1104
  ] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1105
- /* @__PURE__ */ e.jsx("p", { className: Y("mc-dropzone__title", l.title), children: i }),
1106
- /* @__PURE__ */ e.jsx("p", { className: Y("mc-dropzone__subtitle", l.subtitle), children: _ ?? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1105
+ /* @__PURE__ */ e.jsx("p", { className: V("mc-dropzone__title", l.title), children: o }),
1106
+ /* @__PURE__ */ e.jsx("p", { className: V("mc-dropzone__subtitle", l.subtitle), children: _ ?? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1107
1107
  "or",
1108
1108
  " ",
1109
1109
  /* @__PURE__ */ e.jsx("span", { className: "mc-dropzone__browse", children: "browse your files" })
1110
1110
  ] }) }),
1111
- a && /* @__PURE__ */ e.jsx("p", { className: Y("mc-dropzone__hint", l.hint), children: a })
1111
+ a && /* @__PURE__ */ e.jsx("p", { className: V("mc-dropzone__hint", l.hint), children: a })
1112
1112
  ] })
1113
1113
  ]
1114
1114
  }
@@ -1116,7 +1116,7 @@ function ye({
1116
1116
  ] });
1117
1117
  }
1118
1118
  const M = (...t) => t.filter(Boolean).join(" ");
1119
- function Pe(t) {
1119
+ function ye(t) {
1120
1120
  if (!t) return null;
1121
1121
  const r = new Date(t);
1122
1122
  return Number.isNaN(r.getTime()) ? String(t) : r.toLocaleString();
@@ -1124,19 +1124,19 @@ function Pe(t) {
1124
1124
  function be({
1125
1125
  entries: t = [],
1126
1126
  onLoad: r,
1127
- onDelete: o,
1127
+ onDelete: i,
1128
1128
  onClear: s,
1129
- title: i = "History",
1129
+ title: o = "History",
1130
1130
  clearLabel: _ = "Clear all",
1131
1131
  loadLabel: m = "Load",
1132
1132
  deleteLabel: a = "Delete",
1133
1133
  className: g,
1134
1134
  classes: l = {},
1135
- ...p
1135
+ ...u
1136
1136
  }) {
1137
- return t.length === 0 ? null : /* @__PURE__ */ e.jsxs("div", { className: M("mc-history", g, l.root), ...p, children: [
1137
+ return t.length === 0 ? null : /* @__PURE__ */ e.jsxs("div", { className: M("mc-history", g, l.root), ...u, children: [
1138
1138
  /* @__PURE__ */ e.jsxs("div", { className: M("mc-history__header", l.header), children: [
1139
- /* @__PURE__ */ e.jsx("p", { className: M("mc-history__title", l.title), children: i }),
1139
+ /* @__PURE__ */ e.jsx("p", { className: M("mc-history__title", l.title), children: o }),
1140
1140
  s && /* @__PURE__ */ e.jsx(
1141
1141
  "button",
1142
1142
  {
@@ -1147,46 +1147,46 @@ function be({
1147
1147
  }
1148
1148
  )
1149
1149
  ] }),
1150
- /* @__PURE__ */ e.jsx("ul", { className: M("mc-history__list", l.list), children: t.map((d) => /* @__PURE__ */ e.jsxs(
1150
+ /* @__PURE__ */ e.jsx("ul", { className: M("mc-history__list", l.list), children: t.map((p) => /* @__PURE__ */ e.jsxs(
1151
1151
  "li",
1152
1152
  {
1153
1153
  className: M("mc-history__item", l.item),
1154
1154
  children: [
1155
1155
  /* @__PURE__ */ e.jsxs("div", { className: M("mc-history__details", l.details), children: [
1156
- /* @__PURE__ */ e.jsx("p", { className: M("mc-history__name", l.fileName), children: d.fileName }),
1157
- d.date && /* @__PURE__ */ e.jsx("p", { className: M("mc-history__date", l.date), children: Pe(d.date) })
1156
+ /* @__PURE__ */ e.jsx("p", { className: M("mc-history__name", l.fileName), children: p.fileName }),
1157
+ p.date && /* @__PURE__ */ e.jsx("p", { className: M("mc-history__date", l.date), children: ye(p.date) })
1158
1158
  ] }),
1159
- d.format && /* @__PURE__ */ e.jsx("span", { className: M("mc-history__format", l.format), children: String(d.format).toUpperCase() }),
1159
+ p.format && /* @__PURE__ */ e.jsx("span", { className: M("mc-history__format", l.format), children: String(p.format).toUpperCase() }),
1160
1160
  r && /* @__PURE__ */ e.jsx(
1161
1161
  "button",
1162
1162
  {
1163
1163
  type: "button",
1164
- onClick: () => r(d),
1164
+ onClick: () => r(p),
1165
1165
  className: M("mc-history__load", l.loadButton),
1166
1166
  children: m
1167
1167
  }
1168
1168
  ),
1169
- o && /* @__PURE__ */ e.jsx(
1169
+ i && /* @__PURE__ */ e.jsx(
1170
1170
  "button",
1171
1171
  {
1172
1172
  type: "button",
1173
- onClick: () => o(d.id),
1174
- "aria-label": `${a} ${d.fileName}`,
1173
+ onClick: () => i(p.id),
1174
+ "aria-label": `${a} ${p.fileName}`,
1175
1175
  className: M("mc-history__delete", l.deleteButton),
1176
1176
  children: a
1177
1177
  }
1178
1178
  )
1179
1179
  ]
1180
1180
  },
1181
- d.id
1181
+ p.id
1182
1182
  )) })
1183
1183
  ] });
1184
1184
  }
1185
- function pn(t) {
1186
- var o;
1187
- const r = (o = String(t).match(
1185
+ function dn(t) {
1186
+ var i;
1187
+ const r = (i = String(t).match(
1188
1188
  /[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/
1189
- )) == null ? void 0 : o[0];
1189
+ )) == null ? void 0 : i[0];
1190
1190
  return r ? r.split("-")[0] : null;
1191
1191
  }
1192
1192
  function xe(t) {
@@ -1200,95 +1200,95 @@ function we(t) {
1200
1200
  function Ae({
1201
1201
  onLoaded: t,
1202
1202
  onError: r,
1203
- fromURL: o,
1203
+ fromURL: i,
1204
1204
  format: s,
1205
- autoLoad: i = !0
1205
+ autoLoad: o = !0
1206
1206
  }) {
1207
1207
  return nt(() => {
1208
- if (!i) return;
1209
- const _ = new URLSearchParams(window.location.search), m = o ?? _.get("fromURL");
1208
+ if (!o) return;
1209
+ const _ = new URLSearchParams(window.location.search), m = i ?? _.get("fromURL");
1210
1210
  if (!m) return;
1211
1211
  const a = s ?? _.get("format"), g = _.get("tag");
1212
1212
  fetch(m).then((l) => l.json()).then((l) => {
1213
- const p = a === "optimade" ? { structure: Gn(we(l)), format: a } : {
1213
+ const u = a === "optimade" ? { structure: Gn(we(l)), format: a } : {
1214
1214
  structure: Kn(xe(l)),
1215
1215
  format: "aiida"
1216
- }, d = g ?? pn(m) ?? new URL(m).pathname.split("/").filter(Boolean).pop() ?? m;
1217
- t == null || t({ ...p, fileName: d, sourceUrl: m });
1216
+ }, p = g ?? dn(m) ?? new URL(m).pathname.split("/").filter(Boolean).pop() ?? m;
1217
+ t == null || t({ ...u, fileName: p, sourceUrl: m });
1218
1218
  }).catch(
1219
1219
  (l) => r == null ? void 0 : r(l instanceof Error ? l.message : String(l))
1220
1220
  );
1221
1221
  }, []), null;
1222
1222
  }
1223
- const ke = "#", tt = (...t) => t.filter(Boolean).join(" ");
1224
- function Tt() {
1223
+ const ke = "#", $ = (...t) => t.filter(Boolean).join(" ");
1224
+ function zt() {
1225
1225
  const t = typeof window < "u" ? window.location.hash : "";
1226
1226
  return t.startsWith(ke) ? t.slice(1) : t;
1227
1227
  }
1228
- function je({
1228
+ function po({
1229
1229
  hash: t,
1230
1230
  open: r,
1231
- onClose: o,
1231
+ onClose: i,
1232
1232
  title: s,
1233
- children: i,
1233
+ children: o,
1234
1234
  maxWidth: _ = "48rem",
1235
1235
  className: m,
1236
1236
  classes: a = {},
1237
1237
  ...g
1238
1238
  }) {
1239
- const [l, p] = E(() => Tt() === t);
1239
+ const [l, u] = E(() => zt() === t);
1240
1240
  nt(() => {
1241
1241
  if (r !== void 0) return;
1242
- const x = () => p(Tt() === t);
1243
- return x(), window.addEventListener("hashchange", x), () => window.removeEventListener("hashchange", x);
1242
+ const y = () => u(zt() === t);
1243
+ return y(), window.addEventListener("hashchange", y), () => window.removeEventListener("hashchange", y);
1244
1244
  }, [t, r]);
1245
1245
  const f = r !== void 0 ? r : l, b = () => {
1246
- if (o) {
1247
- o();
1246
+ if (i) {
1247
+ i();
1248
1248
  return;
1249
1249
  }
1250
- Tt() === t && window.history.replaceState(
1250
+ zt() === t && window.history.replaceState(
1251
1251
  null,
1252
1252
  "",
1253
1253
  window.location.pathname + window.location.search
1254
- ), p(!1);
1254
+ ), u(!1);
1255
1255
  };
1256
1256
  return nt(() => {
1257
1257
  if (!f) return;
1258
- const x = (S) => {
1259
- S.key === "Escape" && b();
1258
+ const y = (R) => {
1259
+ R.key === "Escape" && b();
1260
1260
  };
1261
- return document.addEventListener("keydown", x), () => document.removeEventListener("keydown", x);
1262
- }, [f, o, t]), f ? /* @__PURE__ */ e.jsx(
1261
+ return document.addEventListener("keydown", y), () => document.removeEventListener("keydown", y);
1262
+ }, [f, i, t]), f ? /* @__PURE__ */ e.jsx(
1263
1263
  "div",
1264
1264
  {
1265
- className: tt("hash-modal", m, a.root),
1265
+ className: $("hash-modal", m, a.root),
1266
1266
  onClick: b,
1267
1267
  ...g,
1268
1268
  children: /* @__PURE__ */ e.jsxs(
1269
1269
  "div",
1270
1270
  {
1271
- className: tt("hash-modal__dialog", a.dialog),
1271
+ className: $("hash-modal__dialog", a.dialog),
1272
1272
  style: { "--hash-modal-max-width": _ },
1273
- onClick: (x) => x.stopPropagation(),
1273
+ onClick: (y) => y.stopPropagation(),
1274
1274
  role: "dialog",
1275
1275
  "aria-modal": "true",
1276
1276
  children: [
1277
- /* @__PURE__ */ e.jsxs("div", { className: tt("hash-modal__header", a.header), children: [
1278
- /* @__PURE__ */ e.jsx("h2", { className: tt("hash-modal__title", a.title), children: s }),
1277
+ /* @__PURE__ */ e.jsxs("div", { className: $("hash-modal__header", a.header), children: [
1278
+ /* @__PURE__ */ e.jsx("h2", { className: $("hash-modal__title", a.title), children: s }),
1279
1279
  /* @__PURE__ */ e.jsx(
1280
1280
  "button",
1281
1281
  {
1282
1282
  type: "button",
1283
1283
  onClick: b,
1284
1284
  "aria-label": "Close",
1285
- className: tt("hash-modal__close", a.closeButton),
1285
+ className: $("hash-modal__close", a.closeButton),
1286
1286
  children: /* @__PURE__ */ e.jsx(
1287
1287
  "svg",
1288
1288
  {
1289
1289
  viewBox: "0 0 24 24",
1290
1290
  fill: "none",
1291
- className: tt("hash-modal__close-icon", a.closeIcon),
1291
+ className: $("hash-modal__close-icon", a.closeIcon),
1292
1292
  stroke: "currentColor",
1293
1293
  strokeWidth: "2",
1294
1294
  "aria-hidden": "true",
@@ -1298,47 +1298,47 @@ function je({
1298
1298
  }
1299
1299
  )
1300
1300
  ] }),
1301
- /* @__PURE__ */ e.jsx("div", { className: tt("hash-modal__body", a.body), children: i })
1301
+ /* @__PURE__ */ e.jsx("div", { className: $("hash-modal__body", a.body), children: o })
1302
1302
  ]
1303
1303
  }
1304
1304
  )
1305
1305
  }
1306
1306
  ) : null;
1307
1307
  }
1308
- const H = (...t) => t.filter(Boolean).join(" ");
1309
- function fi({
1308
+ const L = (...t) => t.filter(Boolean).join(" ");
1309
+ function ho({
1310
1310
  title: t,
1311
1311
  text: r,
1312
- filename: o = "text.txt",
1312
+ filename: i = "text.txt",
1313
1313
  open: s,
1314
- onToggle: i,
1314
+ onToggle: o,
1315
1315
  className: _,
1316
1316
  classes: m = {},
1317
1317
  ...a
1318
1318
  }) {
1319
- const [g, l] = E(!0), [p, d] = E(!1), f = s !== void 0 ? s : g, b = () => {
1320
- const P = !f;
1321
- i ? i(P) : l(P);
1322
- }, x = async (P) => {
1323
- P.stopPropagation();
1319
+ const [g, l] = E(!0), [u, p] = E(!1), f = s !== void 0 ? s : g, b = () => {
1320
+ const A = !f;
1321
+ o ? o(A) : l(A);
1322
+ }, y = async (A) => {
1323
+ A.stopPropagation();
1324
1324
  try {
1325
- await navigator.clipboard.writeText(r), d(!0), setTimeout(() => {
1326
- d(!1);
1325
+ await navigator.clipboard.writeText(r), p(!0), setTimeout(() => {
1326
+ p(!1);
1327
1327
  }, 1500);
1328
1328
  } catch {
1329
- d(!1);
1329
+ p(!1);
1330
1330
  }
1331
- }, S = (P) => {
1332
- P.stopPropagation();
1331
+ }, R = (A) => {
1332
+ A.stopPropagation();
1333
1333
  const j = new Blob([r], {
1334
1334
  type: "text/plain;charset=utf-8"
1335
1335
  }), I = URL.createObjectURL(j), O = document.createElement("a");
1336
- O.href = I, O.download = o, document.body.appendChild(O), O.click(), O.remove(), URL.revokeObjectURL(I);
1336
+ O.href = I, O.download = i, document.body.appendChild(O), O.click(), O.remove(), URL.revokeObjectURL(I);
1337
1337
  };
1338
1338
  return /* @__PURE__ */ e.jsxs(
1339
1339
  "div",
1340
1340
  {
1341
- className: H(
1341
+ className: L(
1342
1342
  "mc-acc",
1343
1343
  "text-renderer",
1344
1344
  f && "mc-acc--open",
@@ -1348,20 +1348,20 @@ function fi({
1348
1348
  ),
1349
1349
  ...a,
1350
1350
  children: [
1351
- /* @__PURE__ */ e.jsxs("div", { className: H("text-renderer__header", m.header), children: [
1351
+ /* @__PURE__ */ e.jsxs("div", { className: L("text-renderer__header", m.header), children: [
1352
1352
  /* @__PURE__ */ e.jsxs(
1353
1353
  "button",
1354
1354
  {
1355
1355
  type: "button",
1356
1356
  onClick: b,
1357
- className: H("text-renderer__toggle", m.toggle),
1357
+ className: L("text-renderer__toggle", m.toggle),
1358
1358
  "aria-expanded": f,
1359
1359
  children: [
1360
- /* @__PURE__ */ e.jsx("span", { className: H("text-renderer__title", m.title), children: t }),
1360
+ /* @__PURE__ */ e.jsx("span", { className: L("text-renderer__title", m.title), children: t }),
1361
1361
  /* @__PURE__ */ e.jsx(
1362
1362
  "span",
1363
1363
  {
1364
- className: H(
1364
+ className: L(
1365
1365
  "mc-acc__chevron",
1366
1366
  "text-renderer__chevron",
1367
1367
  f && "mc-acc__chevron--open",
@@ -1391,21 +1391,21 @@ function fi({
1391
1391
  ]
1392
1392
  }
1393
1393
  ),
1394
- /* @__PURE__ */ e.jsxs("div", { className: H("text-renderer__actions", m.actions), children: [
1394
+ /* @__PURE__ */ e.jsxs("div", { className: L("text-renderer__actions", m.actions), children: [
1395
1395
  /* @__PURE__ */ e.jsxs(
1396
1396
  "button",
1397
1397
  {
1398
1398
  type: "button",
1399
- onClick: x,
1400
- className: H(
1399
+ onClick: y,
1400
+ className: L(
1401
1401
  "text-renderer__action",
1402
1402
  "text-renderer__copy-button",
1403
1403
  m.action,
1404
1404
  m.copyButton
1405
1405
  ),
1406
1406
  children: [
1407
- p ? /* @__PURE__ */ e.jsx(dn, { className: "text-renderer__action-icon" }) : /* @__PURE__ */ e.jsx(un, { className: "text-renderer__action-icon" }),
1408
- /* @__PURE__ */ e.jsx("span", { children: p ? "Copied!" : "Copy" })
1407
+ u ? /* @__PURE__ */ e.jsx(un, { className: "text-renderer__action-icon" }) : /* @__PURE__ */ e.jsx(gn, { className: "text-renderer__action-icon" }),
1408
+ /* @__PURE__ */ e.jsx("span", { children: u ? "Copied!" : "Copy" })
1409
1409
  ]
1410
1410
  }
1411
1411
  ),
@@ -1413,15 +1413,15 @@ function fi({
1413
1413
  "button",
1414
1414
  {
1415
1415
  type: "button",
1416
- onClick: S,
1417
- className: H(
1416
+ onClick: R,
1417
+ className: L(
1418
1418
  "text-renderer__action",
1419
1419
  "text-renderer__download-button",
1420
1420
  m.action,
1421
1421
  m.downloadButton
1422
1422
  ),
1423
1423
  children: [
1424
- /* @__PURE__ */ e.jsx(Ht, { className: "text-renderer__action-icon" }),
1424
+ /* @__PURE__ */ e.jsx(Mt, { className: "text-renderer__action-icon" }),
1425
1425
  /* @__PURE__ */ e.jsx("span", { children: "Download" })
1426
1426
  ]
1427
1427
  }
@@ -1431,7 +1431,7 @@ function fi({
1431
1431
  /* @__PURE__ */ e.jsx(
1432
1432
  "div",
1433
1433
  {
1434
- className: H(
1434
+ className: L(
1435
1435
  "mc-acc__collapse",
1436
1436
  "text-renderer__content-wrapper",
1437
1437
  f && "mc-acc__collapse--open",
@@ -1440,12 +1440,12 @@ function fi({
1440
1440
  children: /* @__PURE__ */ e.jsx("div", { className: "mc-acc__collapse-inner", children: /* @__PURE__ */ e.jsx(
1441
1441
  "div",
1442
1442
  {
1443
- className: H(
1443
+ className: L(
1444
1444
  "mc-acc__panel",
1445
1445
  "text-renderer__content",
1446
1446
  m.content
1447
1447
  ),
1448
- children: /* @__PURE__ */ e.jsx("div", { className: H("text-renderer__scroll", m.scroll), children: /* @__PURE__ */ e.jsx("pre", { className: H("text-renderer__pre", m.pre), children: r }) })
1448
+ children: /* @__PURE__ */ e.jsx("div", { className: L("text-renderer__scroll", m.scroll), children: /* @__PURE__ */ e.jsx("pre", { className: L("text-renderer__pre", m.pre), children: r }) })
1449
1449
  }
1450
1450
  ) })
1451
1451
  }
@@ -1454,22 +1454,22 @@ function fi({
1454
1454
  }
1455
1455
  );
1456
1456
  }
1457
- const U = (...t) => t.filter(Boolean).join(" ");
1458
- function vi({
1457
+ const H = (...t) => t.filter(Boolean).join(" ");
1458
+ function fo({
1459
1459
  title: t,
1460
1460
  text: r,
1461
- filename: o = "text.txt",
1461
+ filename: i = "text.txt",
1462
1462
  open: s,
1463
- onToggle: i,
1463
+ onToggle: o,
1464
1464
  extraActions: _,
1465
1465
  className: m,
1466
1466
  classes: a = {},
1467
1467
  ...g
1468
1468
  }) {
1469
- const [l, p] = E(!0), [d, f] = E(!1), b = s !== void 0 ? s : l, x = () => {
1469
+ const [l, u] = E(!0), [p, f] = E(!1), b = s !== void 0 ? s : l, y = () => {
1470
1470
  const j = !b;
1471
- i ? i(j) : p(j);
1472
- }, S = async (j) => {
1471
+ o ? o(j) : u(j);
1472
+ }, R = async (j) => {
1473
1473
  j.stopPropagation();
1474
1474
  try {
1475
1475
  await navigator.clipboard.writeText(r), f(!0), setTimeout(() => {
@@ -1478,17 +1478,17 @@ function vi({
1478
1478
  } catch {
1479
1479
  f(!1);
1480
1480
  }
1481
- }, P = (j) => {
1481
+ }, A = (j) => {
1482
1482
  j.stopPropagation();
1483
1483
  const I = new Blob([r], {
1484
1484
  type: "text/plain;charset=utf-8"
1485
- }), O = URL.createObjectURL(I), Z = document.createElement("a");
1486
- Z.href = O, Z.download = o, document.body.appendChild(Z), Z.click(), Z.remove(), URL.revokeObjectURL(O);
1485
+ }), O = URL.createObjectURL(I), z = document.createElement("a");
1486
+ z.href = O, z.download = i, document.body.appendChild(z), z.click(), z.remove(), URL.revokeObjectURL(O);
1487
1487
  };
1488
1488
  return /* @__PURE__ */ e.jsxs(
1489
1489
  "div",
1490
1490
  {
1491
- className: U(
1491
+ className: H(
1492
1492
  "mc-acc",
1493
1493
  "text-renderer",
1494
1494
  b && "mc-acc--open",
@@ -1498,20 +1498,20 @@ function vi({
1498
1498
  ),
1499
1499
  ...g,
1500
1500
  children: [
1501
- /* @__PURE__ */ e.jsxs("div", { className: U("text-renderer__header", a.header), children: [
1501
+ /* @__PURE__ */ e.jsxs("div", { className: H("text-renderer__header", a.header), children: [
1502
1502
  /* @__PURE__ */ e.jsxs(
1503
1503
  "button",
1504
1504
  {
1505
1505
  type: "button",
1506
- onClick: x,
1507
- className: U("text-renderer__toggle", a.toggle),
1506
+ onClick: y,
1507
+ className: H("text-renderer__toggle", a.toggle),
1508
1508
  "aria-expanded": b,
1509
1509
  children: [
1510
- /* @__PURE__ */ e.jsx("span", { className: U("text-renderer__title", a.title), children: t }),
1510
+ /* @__PURE__ */ e.jsx("span", { className: H("text-renderer__title", a.title), children: t }),
1511
1511
  /* @__PURE__ */ e.jsx(
1512
1512
  "span",
1513
1513
  {
1514
- className: U(
1514
+ className: H(
1515
1515
  "mc-acc__chevron",
1516
1516
  "text-renderer__chevron",
1517
1517
  b && "mc-acc__chevron--open",
@@ -1541,21 +1541,21 @@ function vi({
1541
1541
  ]
1542
1542
  }
1543
1543
  ),
1544
- /* @__PURE__ */ e.jsxs("div", { className: U("text-renderer__actions", a.actions), children: [
1544
+ /* @__PURE__ */ e.jsxs("div", { className: H("text-renderer__actions", a.actions), children: [
1545
1545
  /* @__PURE__ */ e.jsxs(
1546
1546
  "button",
1547
1547
  {
1548
1548
  type: "button",
1549
- onClick: S,
1550
- className: U(
1549
+ onClick: R,
1550
+ className: H(
1551
1551
  "text-renderer__action",
1552
1552
  "text-renderer__copy-button",
1553
1553
  a.action,
1554
1554
  a.copyButton
1555
1555
  ),
1556
1556
  children: [
1557
- d ? /* @__PURE__ */ e.jsx(dn, { className: "text-renderer__action-icon" }) : /* @__PURE__ */ e.jsx(un, { className: "text-renderer__action-icon" }),
1558
- /* @__PURE__ */ e.jsx("span", { children: d ? "Copied!" : "Copy" })
1557
+ p ? /* @__PURE__ */ e.jsx(un, { className: "text-renderer__action-icon" }) : /* @__PURE__ */ e.jsx(gn, { className: "text-renderer__action-icon" }),
1558
+ /* @__PURE__ */ e.jsx("span", { children: p ? "Copied!" : "Copy" })
1559
1559
  ]
1560
1560
  }
1561
1561
  ),
@@ -1563,15 +1563,15 @@ function vi({
1563
1563
  "button",
1564
1564
  {
1565
1565
  type: "button",
1566
- onClick: P,
1567
- className: U(
1566
+ onClick: A,
1567
+ className: H(
1568
1568
  "text-renderer__action",
1569
1569
  "text-renderer__download-button",
1570
1570
  a.action,
1571
1571
  a.downloadButton
1572
1572
  ),
1573
1573
  children: [
1574
- /* @__PURE__ */ e.jsx(Ht, { className: "text-renderer__action-icon" }),
1574
+ /* @__PURE__ */ e.jsx(Mt, { className: "text-renderer__action-icon" }),
1575
1575
  /* @__PURE__ */ e.jsx("span", { children: "Download" })
1576
1576
  ]
1577
1577
  }
@@ -1582,7 +1582,7 @@ function vi({
1582
1582
  /* @__PURE__ */ e.jsx(
1583
1583
  "div",
1584
1584
  {
1585
- className: U(
1585
+ className: H(
1586
1586
  "mc-acc__collapse",
1587
1587
  "text-renderer__content-wrapper",
1588
1588
  b && "mc-acc__collapse--open",
@@ -1591,12 +1591,12 @@ function vi({
1591
1591
  children: /* @__PURE__ */ e.jsx("div", { className: "mc-acc__collapse-inner", children: /* @__PURE__ */ e.jsx(
1592
1592
  "div",
1593
1593
  {
1594
- className: U(
1594
+ className: H(
1595
1595
  "mc-acc__panel",
1596
1596
  "text-renderer__content",
1597
1597
  a.content
1598
1598
  ),
1599
- children: /* @__PURE__ */ e.jsx("div", { className: U("text-renderer__scroll", a.scroll), children: /* @__PURE__ */ e.jsx("pre", { className: U("text-renderer__pre", a.pre), children: r }) })
1599
+ children: /* @__PURE__ */ e.jsx("div", { className: H("text-renderer__scroll", a.scroll), children: /* @__PURE__ */ e.jsx("pre", { className: H("text-renderer__pre", a.pre), children: r }) })
1600
1600
  }
1601
1601
  ) })
1602
1602
  }
@@ -1605,29 +1605,29 @@ function vi({
1605
1605
  }
1606
1606
  );
1607
1607
  }
1608
- const ot = (...t) => t.filter(Boolean).join(" ");
1609
- function yi({
1608
+ const it = (...t) => t.filter(Boolean).join(" ");
1609
+ function Po({
1610
1610
  title: t,
1611
1611
  children: r,
1612
- className: o = "",
1612
+ className: i = "",
1613
1613
  open: s,
1614
- onToggle: i,
1614
+ onToggle: o,
1615
1615
  classes: _ = {},
1616
1616
  ...m
1617
1617
  }) {
1618
- const [a, g] = E(!0), l = s !== void 0 ? s : a, p = () => {
1619
- const d = !l;
1620
- i ? i(d) : g(d);
1618
+ const [a, g] = E(!0), l = s !== void 0 ? s : a, u = () => {
1619
+ const p = !l;
1620
+ o ? o(p) : g(p);
1621
1621
  };
1622
1622
  return /* @__PURE__ */ e.jsxs(
1623
1623
  "div",
1624
1624
  {
1625
- className: ot(
1625
+ className: it(
1626
1626
  "mc-acc",
1627
1627
  "info-accordion",
1628
1628
  l && "mc-acc--open",
1629
1629
  l && "info-accordion--open",
1630
- o,
1630
+ i,
1631
1631
  _.root
1632
1632
  ),
1633
1633
  ...m,
@@ -1636,15 +1636,15 @@ function yi({
1636
1636
  "button",
1637
1637
  {
1638
1638
  type: "button",
1639
- onClick: p,
1640
- className: ot("info-accordion__toggle", _.toggle),
1639
+ onClick: u,
1640
+ className: it("info-accordion__toggle", _.toggle),
1641
1641
  "aria-expanded": l,
1642
1642
  children: [
1643
- /* @__PURE__ */ e.jsx("span", { className: ot("info-accordion__title", _.title), children: t }),
1643
+ /* @__PURE__ */ e.jsx("span", { className: it("info-accordion__title", _.title), children: t }),
1644
1644
  /* @__PURE__ */ e.jsx(
1645
1645
  "span",
1646
1646
  {
1647
- className: ot(
1647
+ className: it(
1648
1648
  "mc-acc__chevron",
1649
1649
  "info-accordion__chevron",
1650
1650
  l && "mc-acc__chevron--open",
@@ -1677,7 +1677,7 @@ function yi({
1677
1677
  /* @__PURE__ */ e.jsx(
1678
1678
  "div",
1679
1679
  {
1680
- className: ot(
1680
+ className: it(
1681
1681
  "mc-acc__collapse",
1682
1682
  "info-accordion__content-wrapper",
1683
1683
  l && "mc-acc__collapse--open",
@@ -1686,7 +1686,7 @@ function yi({
1686
1686
  children: /* @__PURE__ */ e.jsx("div", { className: "mc-acc__collapse-inner", children: /* @__PURE__ */ e.jsx(
1687
1687
  "div",
1688
1688
  {
1689
- className: ot(
1689
+ className: it(
1690
1690
  "mc-acc__panel",
1691
1691
  "info-accordion__content",
1692
1692
  _.content
@@ -1700,8 +1700,8 @@ function yi({
1700
1700
  }
1701
1701
  );
1702
1702
  }
1703
- function Ce(t, { maxEntries: r = 50 } = {}) {
1704
- function o() {
1703
+ function je(t, { maxEntries: r = 50 } = {}) {
1704
+ function i() {
1705
1705
  try {
1706
1706
  const a = localStorage.getItem(t);
1707
1707
  if (!a) return [];
@@ -1721,298 +1721,278 @@ function Ce(t, { maxEntries: r = 50 } = {}) {
1721
1721
  return !1;
1722
1722
  }
1723
1723
  }
1724
- function i(a) {
1725
- const g = [a, ...o().filter((l) => l.id !== a.id)].slice(
1724
+ function o(a) {
1725
+ const g = [a, ...i().filter((l) => l.id !== a.id)].slice(
1726
1726
  0,
1727
1727
  r
1728
1728
  );
1729
1729
  return s(g), g;
1730
1730
  }
1731
1731
  function _(a) {
1732
- const g = o().filter((l) => l.id !== a);
1732
+ const g = i().filter((l) => l.id !== a);
1733
1733
  return s(g), g;
1734
1734
  }
1735
1735
  function m() {
1736
1736
  return s([]), [];
1737
1737
  }
1738
- return { load: o, save: s, add: i, remove: _, clear: m };
1738
+ return { load: i, save: s, add: o, remove: _, clear: m };
1739
1739
  }
1740
- const hn = "structure", Re = 1, Pi = ({ structure: t, fileName: r }) => ({
1741
- kind: hn,
1742
- version: Re,
1740
+ const pn = "structure", Ce = 1, vo = ({ structure: t, fileName: r }) => ({
1741
+ kind: pn,
1742
+ version: Ce,
1743
1743
  fileName: r,
1744
- structure: gn(t)
1744
+ structure: mn(t)
1745
1745
  });
1746
- function Se(t) {
1747
- if ((t == null ? void 0 : t.kind) !== hn || !t.structure)
1746
+ function Re(t) {
1747
+ if ((t == null ? void 0 : t.kind) !== pn || !t.structure)
1748
1748
  throw new Error("this link does not hold a structure");
1749
- return { structure: Ot(t.structure), fileName: t.fileName };
1750
- }
1751
- function Ie() {
1752
- return /* @__PURE__ */ e.jsxs("div", { className: "mc-structure-upload__terms", children: [
1753
- /* @__PURE__ */ e.jsx("h3", { children: "Links To Other Web Sites" }),
1754
- /* @__PURE__ */ e.jsx("p", { children: "Our Service may contain links to third-party web sites or services that are not owned or controlled by us. We have no control over, and assume no responsibility for, the content, privacy policies, or practices of any third party web sites or services. You further acknowledge and agree that we shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through any such web sites or services." }),
1755
- /* @__PURE__ */ e.jsx("p", { children: "We strongly advise you to read the terms and conditions and privacy policies of any third-party web sites or services that you visit." }),
1756
- /* @__PURE__ */ e.jsx("h3", { children: "Changes" }),
1757
- /* @__PURE__ */ e.jsx("p", { children: "We reserve the right, at our sole discretion, to modify or replace these Terms at any time. By continuing to access or use our Service after those revisions become effective, you agree to be bound by the revised terms. If you do not agree to the new terms, please stop using the Service." }),
1758
- /* @__PURE__ */ e.jsx("h3", { children: "Contact Us" }),
1759
- /* @__PURE__ */ e.jsx("p", { children: "If you have any questions about these Terms, please contact us." })
1760
- ] });
1749
+ return { structure: Tt(t.structure), fileName: t.fileName };
1761
1750
  }
1762
- const G = (...t) => t.filter(Boolean).join(" "), Ne = (t) => t.split(/[?#]/)[0].split("/").pop();
1763
- function bi({
1751
+ const tt = (...t) => t.filter(Boolean).join(" "), Ie = (t) => t.split(/[?#]/)[0].split("/").pop();
1752
+ function yo({
1764
1753
  onStructureParsed: t,
1765
1754
  validate: r,
1766
- historyKey: o,
1755
+ historyKey: i,
1767
1756
  historyTitle: s = "Previously uploaded structures",
1768
- examples: i = [],
1757
+ examples: o = [],
1769
1758
  examplesTitle: _ = "Otherwise, pick an example",
1770
1759
  label: m = "Upload a crystal structure",
1771
1760
  title: a = "Drop your crystal structure here",
1772
1761
  accept: g = ".cif,.xyz,.vasp,.poscar,.xsf,.in,.pwi",
1773
1762
  hint: l = "CIF, XYZ, POSCAR, XSF and Quantum ESPRESSO files",
1774
- terms: p = /* @__PURE__ */ e.jsx(Ie, {}),
1775
- termsTitle: d = "Terms of service",
1776
- shareStore: f,
1777
- className: b,
1778
- classes: x = {},
1779
- ...S
1763
+ shareStore: u,
1764
+ className: p,
1765
+ classes: f = {},
1766
+ ...b
1780
1767
  }) {
1781
- const P = Yn(
1782
- () => o ? Ce(o) : null,
1783
- [o]
1784
- ), [j, I] = E(null), [O, Z] = E(null), [pt, J] = E(null), [ht, it] = E(() => (P == null ? void 0 : P.load()) ?? []), [st, ft] = E(null), [K] = E(() => {
1768
+ const y = Yn(
1769
+ () => i ? je(i) : null,
1770
+ [i]
1771
+ ), [R, A] = E(null), [j, I] = E(null), [O, z] = E(null), [dt, ot] = E(() => (y == null ? void 0 : y.load()) ?? []), [pt, ht] = E(null), [Y] = E(() => {
1785
1772
  try {
1786
- const h = new URLSearchParams(window.location.search).get("fromURL"), y = h && pn(h);
1787
- return y && (P == null ? void 0 : P.load().find((R) => R.fileName === y)) || null;
1773
+ const h = new URLSearchParams(window.location.search).get("fromURL"), v = h && dn(h);
1774
+ return v && (y == null ? void 0 : y.load().find((S) => S.fileName === v)) || null;
1788
1775
  } catch {
1789
1776
  return null;
1790
1777
  }
1791
- }), vt = ({ fileName: h, format: y, structure: R }, { unique: B = !1 } = {}) => {
1792
- P && (B && P.load().some((W) => W.fileName === h) || it(
1793
- P.add({
1778
+ }), kt = ({ fileName: h, format: v, structure: S }, { unique: B = !1 } = {}) => {
1779
+ y && (B && y.load().some((K) => K.fileName === h) || ot(
1780
+ y.add({
1794
1781
  id: crypto.randomUUID(),
1795
1782
  fileName: h,
1796
- format: y,
1783
+ format: v,
1797
1784
  date: (/* @__PURE__ */ new Date()).toISOString(),
1798
- structure: gn(R)
1785
+ structure: mn(S)
1799
1786
  })
1800
1787
  ));
1801
- }, z = (h, { remember: y = !0, fromLink: R = !1 } = {}) => {
1802
- J(null);
1788
+ }, G = (h, { remember: v = !0, fromLink: S = !1 } = {}) => {
1789
+ z(null);
1803
1790
  try {
1804
1791
  r == null || r(h.structure);
1805
1792
  } catch (B) {
1806
- return J((B == null ? void 0 : B.message) ?? String(B)), !1;
1793
+ return z((B == null ? void 0 : B.message) ?? String(B)), !1;
1807
1794
  }
1808
- return R || f == null || f.syncAddressBar(null), t == null || t(h), y && vt(h, { unique: R }), !0;
1795
+ return S || u == null || u.syncAddressBar(null), t == null || t(h), v && kt(h, { unique: S }), !0;
1809
1796
  };
1810
1797
  nt(() => {
1811
- K && z(
1798
+ Y && G(
1812
1799
  {
1813
- format: K.format,
1814
- structure: Ot(K.structure),
1815
- fileName: K.fileName
1800
+ format: Y.format,
1801
+ structure: Tt(Y.structure),
1802
+ fileName: Y.fileName
1816
1803
  },
1817
1804
  { remember: !1, fromLink: !0 }
1818
1805
  );
1819
- const h = f == null ? void 0 : f.idFromLocation();
1806
+ const h = u == null ? void 0 : u.idFromLocation();
1820
1807
  if (!h) return;
1821
- let y = !1;
1822
- return Z("shared structure"), f.fetch(h).then((R) => {
1823
- if (y) return;
1824
- const { structure: B, fileName: W } = Se(R);
1825
- z(
1826
- { format: "shared", structure: B, fileName: W ?? h, shareId: h },
1808
+ let v = !1;
1809
+ return I("shared structure"), u.fetch(h).then((S) => {
1810
+ if (v) return;
1811
+ const { structure: B, fileName: K } = Re(S);
1812
+ G(
1813
+ { format: "shared", structure: B, fileName: K ?? h, shareId: h },
1827
1814
  { fromLink: !0 }
1828
1815
  );
1829
- }).catch((R) => {
1830
- y || J(`Loading shared structure failed: ${R.message}`);
1816
+ }).catch((S) => {
1817
+ v || z(`Loading shared structure failed: ${S.message}`);
1831
1818
  }).finally(() => {
1832
- y || Z(null);
1819
+ v || I(null);
1833
1820
  }), () => {
1834
- y = !0;
1821
+ v = !0;
1835
1822
  };
1836
1823
  }, []);
1837
- const V = async (h) => {
1824
+ const ft = async (h) => {
1838
1825
  if (h) {
1839
- I(h), J(null), Z(h.name);
1826
+ A(h), z(null), I(h.name);
1840
1827
  try {
1841
- const y = await h.text(), { format: R, structure: B } = sn(y, {
1828
+ const v = await h.text(), { format: S, structure: B } = on(v, {
1842
1829
  fileName: h.name
1843
1830
  });
1844
- z({ format: R, structure: B, fileName: h.name });
1845
- } catch (y) {
1846
- J((y == null ? void 0 : y.message) ?? String(y));
1831
+ G({ format: S, structure: B, fileName: h.name });
1832
+ } catch (v) {
1833
+ z((v == null ? void 0 : v.message) ?? String(v));
1847
1834
  } finally {
1848
- Z(null);
1835
+ I(null);
1849
1836
  }
1850
1837
  }
1851
- }, Q = ({ structure: h, format: y, fileName: R }) => {
1852
- z({ format: y, structure: h, fileName: R }, { fromLink: !0 });
1853
- }, yt = (h) => {
1838
+ }, U = ({ structure: h, format: v, fileName: S }) => {
1839
+ G({ format: v, structure: h, fileName: S }, { fromLink: !0 });
1840
+ }, J = (h) => {
1854
1841
  try {
1855
- z(
1842
+ G(
1856
1843
  {
1857
1844
  format: h.format,
1858
- structure: Ot(h.structure),
1845
+ structure: Tt(h.structure),
1859
1846
  fileName: h.fileName
1860
1847
  },
1861
1848
  { remember: !1 }
1862
1849
  );
1863
- } catch (y) {
1864
- J((y == null ? void 0 : y.message) ?? String(y));
1850
+ } catch (v) {
1851
+ z((v == null ? void 0 : v.message) ?? String(v));
1865
1852
  }
1866
- }, Pt = async (h) => {
1867
- J(null), ft(h.url);
1853
+ }, Q = async (h) => {
1854
+ z(null), ht(h.url);
1868
1855
  try {
1869
- const y = await fetch(h.url);
1870
- if (!y.ok) throw new Error(`Failed to load example (${y.status})`);
1871
- const R = h.fileName ?? Ne(h.url), { format: B, structure: W } = sn(await y.text(), {
1872
- fileName: R
1856
+ const v = await fetch(h.url);
1857
+ if (!v.ok) throw new Error(`Failed to load example (${v.status})`);
1858
+ const S = h.fileName ?? Ie(h.url), { format: B, structure: K } = on(await v.text(), {
1859
+ fileName: S
1873
1860
  });
1874
- z({ format: B, structure: W, fileName: R }, { remember: !1 });
1875
- } catch (y) {
1876
- J((y == null ? void 0 : y.message) ?? String(y));
1861
+ G({ format: B, structure: K, fileName: S }, { remember: !1 });
1862
+ } catch (v) {
1863
+ z((v == null ? void 0 : v.message) ?? String(v));
1877
1864
  } finally {
1878
- ft(null);
1865
+ ht(null);
1879
1866
  }
1880
- }, at = i.some((h) => h.family) ? Object.entries(
1881
- i.reduce((h, y) => {
1882
- var R;
1883
- return (h[R = y.family ?? "Other"] || (h[R] = [])).push(y), h;
1867
+ }, st = o.some((h) => h.family) ? Object.entries(
1868
+ o.reduce((h, v) => {
1869
+ var S;
1870
+ return (h[S = v.family ?? "Other"] || (h[S] = [])).push(v), h;
1884
1871
  }, {})
1885
- ) : null, ct = (h) => /* @__PURE__ */ e.jsx("option", { value: h.url, children: h.label }, h.url);
1886
- return /* @__PURE__ */ e.jsxs("div", { className: G("mc-structure-upload", b, x.root), ...S, children: [
1887
- /* @__PURE__ */ e.jsx("label", { className: G("mc-structure-upload__label", x.label), children: m }),
1872
+ ) : null, at = (h) => /* @__PURE__ */ e.jsx("option", { value: h.url, children: h.label }, h.url);
1873
+ return /* @__PURE__ */ e.jsxs("div", { className: tt("mc-structure-upload", p, f.root), ...b, children: [
1874
+ /* @__PURE__ */ e.jsx("label", { className: tt("mc-structure-upload__label", f.label), children: m }),
1888
1875
  /* @__PURE__ */ e.jsx(
1889
- ye,
1876
+ ve,
1890
1877
  {
1891
1878
  accept: g,
1892
- fileName: j == null ? void 0 : j.name,
1893
- onFile: V,
1879
+ fileName: R == null ? void 0 : R.name,
1880
+ onFile: ft,
1894
1881
  title: a,
1895
1882
  hint: l
1896
1883
  }
1897
1884
  ),
1898
- p && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1899
- /* @__PURE__ */ e.jsxs("p", { className: G("mc-structure-upload__agree", x.agree), children: [
1900
- "By continuing you agree to our ",
1901
- /* @__PURE__ */ e.jsx("a", { href: "#terms", children: d })
1902
- ] }),
1903
- /* @__PURE__ */ e.jsx(je, { hash: "terms", title: d, children: p })
1904
- ] }),
1905
- O && /* @__PURE__ */ e.jsxs("p", { className: G("mc-structure-upload__status", x.status), children: [
1885
+ j && /* @__PURE__ */ e.jsxs("p", { className: tt("mc-structure-upload__status", f.status), children: [
1906
1886
  /* @__PURE__ */ e.jsx("span", { className: "mc-structure-upload__spinner" }),
1907
1887
  "Loading ",
1908
- O,
1888
+ j,
1909
1889
  "…"
1910
1890
  ] }),
1911
- pt && /* @__PURE__ */ e.jsx("p", { className: G("mc-structure-upload__error", x.error), children: pt }),
1891
+ O && /* @__PURE__ */ e.jsx("p", { className: tt("mc-structure-upload__error", f.error), children: O }),
1912
1892
  /* @__PURE__ */ e.jsx(
1913
1893
  Ae,
1914
1894
  {
1915
- autoLoad: !K,
1916
- onLoaded: Q,
1917
- onError: (h) => J(h)
1895
+ autoLoad: !Y,
1896
+ onLoaded: U,
1897
+ onError: (h) => z(h)
1918
1898
  }
1919
1899
  ),
1920
- i.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: G("mc-structure-upload__examples", x.examples), children: [
1900
+ o.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: tt("mc-structure-upload__examples", f.examples), children: [
1921
1901
  /* @__PURE__ */ e.jsx("p", { className: "mc-structure-upload__examples-title", children: _ }),
1922
1902
  /* @__PURE__ */ e.jsxs(
1923
1903
  "select",
1924
1904
  {
1925
1905
  value: "",
1926
1906
  onChange: (h) => {
1927
- const y = i.find((R) => R.url === h.target.value);
1928
- y && Pt(y);
1907
+ const v = o.find((S) => S.url === h.target.value);
1908
+ v && Q(v);
1929
1909
  },
1930
- disabled: st !== null,
1931
- className: G("mc-structure-upload__select", x.select),
1910
+ disabled: pt !== null,
1911
+ className: tt("mc-structure-upload__select", f.select),
1932
1912
  children: [
1933
- /* @__PURE__ */ e.jsx("option", { value: "", children: st ? "Loading example…" : "Select an example…" }),
1934
- at ? at.map(([h, y]) => /* @__PURE__ */ e.jsx("optgroup", { label: h, children: y.map(ct) }, h)) : i.map(ct)
1913
+ /* @__PURE__ */ e.jsx("option", { value: "", children: pt ? "Loading example…" : "Select an example…" }),
1914
+ st ? st.map(([h, v]) => /* @__PURE__ */ e.jsx("optgroup", { label: h, children: v.map(at) }, h)) : o.map(at)
1935
1915
  ]
1936
1916
  }
1937
1917
  )
1938
1918
  ] }),
1939
- ht.length > 0 && /* @__PURE__ */ e.jsx(
1919
+ dt.length > 0 && /* @__PURE__ */ e.jsx(
1940
1920
  be,
1941
1921
  {
1942
- className: G("mc-structure-upload__history", x.history),
1922
+ className: tt("mc-structure-upload__history", f.history),
1943
1923
  title: s,
1944
- entries: ht,
1945
- onLoad: yt,
1946
- onDelete: (h) => it(P.remove(h)),
1947
- onClear: () => it(P.clear())
1924
+ entries: dt,
1925
+ onLoad: J,
1926
+ onDelete: (h) => ot(y.remove(h)),
1927
+ onClear: () => ot(y.clear())
1948
1928
  }
1949
1929
  )
1950
1930
  ] });
1951
1931
  }
1952
- const ut = (...t) => t.filter(Boolean).join(" "), ln = { status: "idle" };
1953
- function xi({
1932
+ const gt = (...t) => t.filter(Boolean).join(" "), cn = { status: "idle" };
1933
+ function bo({
1954
1934
  store: t,
1955
1935
  data: r,
1956
- toDocument: o = (p) => p,
1936
+ toDocument: i = (u) => u,
1957
1937
  shareId: s,
1958
- onShared: i,
1938
+ onShared: o,
1959
1939
  label: _ = "Share",
1960
1940
  busyLabel: m = "Sharing…",
1961
1941
  className: a,
1962
1942
  classes: g = {},
1963
1943
  ...l
1964
1944
  }) {
1965
- const [p, d] = E(ln), [f, b] = E(r);
1966
- if (r !== f && (b(r), d(ln)), !(t != null && t.enabled) || !r) return null;
1967
- const x = async () => {
1968
- d({ status: "uploading" });
1945
+ const [u, p] = E(cn), [f, b] = E(r);
1946
+ if (r !== f && (b(r), p(cn)), !(t != null && t.enabled) || !r) return null;
1947
+ const y = async () => {
1948
+ p({ status: "uploading" });
1969
1949
  try {
1970
- const S = p.id ?? s ?? await t.upload(o(r));
1971
- t.syncAddressBar(S), S !== s && (i == null || i(S));
1972
- const P = t.linkFor(S);
1950
+ const R = u.id ?? s ?? await t.upload(i(r));
1951
+ t.syncAddressBar(R), R !== s && (o == null || o(R));
1952
+ const A = t.linkFor(R);
1973
1953
  let j = !1;
1974
1954
  try {
1975
- await navigator.clipboard.writeText(P), j = !0;
1955
+ await navigator.clipboard.writeText(A), j = !0;
1976
1956
  } catch {
1977
1957
  }
1978
- d({ status: "done", id: S, link: P, copied: j });
1979
- } catch (S) {
1980
- d({ status: "error", message: (S == null ? void 0 : S.message) ?? String(S) });
1958
+ p({ status: "done", id: R, link: A, copied: j });
1959
+ } catch (R) {
1960
+ p({ status: "error", message: (R == null ? void 0 : R.message) ?? String(R) });
1981
1961
  }
1982
1962
  };
1983
- return /* @__PURE__ */ e.jsxs("div", { className: ut("mc-share", a, g.root), ...l, children: [
1963
+ return /* @__PURE__ */ e.jsxs("div", { className: gt("mc-share", a, g.root), ...l, children: [
1984
1964
  /* @__PURE__ */ e.jsx(
1985
1965
  "button",
1986
1966
  {
1987
1967
  type: "button",
1988
- onClick: x,
1989
- disabled: p.status === "uploading",
1990
- className: ut("mc-share__button", g.button),
1991
- children: p.status === "uploading" ? m : _
1968
+ onClick: y,
1969
+ disabled: u.status === "uploading",
1970
+ className: gt("mc-share__button", g.button),
1971
+ children: u.status === "uploading" ? m : _
1992
1972
  }
1993
1973
  ),
1994
- p.status === "done" && /* @__PURE__ */ e.jsxs("span", { className: ut("mc-share__link", g.link), children: [
1995
- p.copied ? "Link copied: " : "Link: ",
1996
- /* @__PURE__ */ e.jsx("a", { href: p.link, children: p.link })
1974
+ u.status === "done" && /* @__PURE__ */ e.jsxs("span", { className: gt("mc-share__link", g.link), children: [
1975
+ u.copied ? "Link copied: " : "Link: ",
1976
+ /* @__PURE__ */ e.jsx("a", { href: u.link, children: u.link })
1997
1977
  ] }),
1998
- p.status === "error" && /* @__PURE__ */ e.jsxs("span", { className: ut("mc-share__error", g.error), children: [
1978
+ u.status === "error" && /* @__PURE__ */ e.jsxs("span", { className: gt("mc-share__error", g.error), children: [
1999
1979
  "Sharing failed: ",
2000
- p.message
1980
+ u.message
2001
1981
  ] }),
2002
- t.name !== "production" && /* @__PURE__ */ e.jsxs("span", { className: ut("mc-share__store", g.store), children: [
1982
+ t.name !== "production" && /* @__PURE__ */ e.jsxs("span", { className: gt("mc-share__store", g.store), children: [
2003
1983
  "(",
2004
1984
  t.name,
2005
1985
  " share store)"
2006
1986
  ] })
2007
1987
  ] });
2008
1988
  }
2009
- function wi(t) {
2010
- return t.split(/(\d+)/).map((o, s) => o.match(/\d+/) ? /* @__PURE__ */ e.jsx("sub", { children: o }, s) : o);
1989
+ function xo(t) {
1990
+ return t.split(/(\d+)/).map((i, s) => i.match(/\d+/) ? /* @__PURE__ */ e.jsx("sub", { children: i }, s) : i);
2011
1991
  }
2012
- const Fe = {
1992
+ const Se = {
2013
1993
  display: "inline-block",
2014
1994
  position: "relative"
2015
- }, Ee = {
1995
+ }, Ne = {
2016
1996
  position: "absolute",
2017
1997
  top: "0.15em",
2018
1998
  left: 0,
@@ -2021,59 +2001,59 @@ const Fe = {
2021
2001
  height: 0,
2022
2002
  zIndex: 1
2023
2003
  };
2024
- function Ai(t) {
2025
- let r = !1, o = !1;
2026
- return /* @__PURE__ */ e.jsx("span", { children: t.split("").map((s, i) => s == "-" ? (o = !0, null) : s == "_" ? (r = !0, null) : o ? (o = !1, /* @__PURE__ */ e.jsxs("span", { style: Fe, children: [
2027
- /* @__PURE__ */ e.jsx("span", { style: Ee }),
2004
+ function wo(t) {
2005
+ let r = !1, i = !1;
2006
+ return /* @__PURE__ */ e.jsx("span", { children: t.split("").map((s, o) => s == "-" ? (i = !0, null) : s == "_" ? (r = !0, null) : i ? (i = !1, /* @__PURE__ */ e.jsxs("span", { style: Se, children: [
2007
+ /* @__PURE__ */ e.jsx("span", { style: Ne }),
2028
2008
  s
2029
- ] }, i)) : r ? (r = !1, /* @__PURE__ */ e.jsx("sub", { children: s }, i)) : s) });
2009
+ ] }, o)) : r ? (r = !1, /* @__PURE__ */ e.jsx("sub", { children: s }, o)) : s) });
2030
2010
  }
2031
- const Dt = {
2011
+ const Bt = {
2032
2012
  dev: "https://kv-store.dev.materialscloud.org",
2033
2013
  production: "https://kv-store.materialscloud.org"
2034
- }, ze = /^[A-Za-z0-9_-]+$/, _n = () => window.location.origin + window.location.pathname;
2035
- function ki(t) {
2036
- const r = t ? Dt[t] ?? (/^https?:\/\//.test(t) ? t : null) : null;
2014
+ }, Fe = /^[A-Za-z0-9_-]+$/, ln = () => window.location.origin + window.location.pathname;
2015
+ function Ao(t) {
2016
+ const r = t ? Bt[t] ?? (/^https?:\/\//.test(t) ? t : null) : null;
2037
2017
  if (t && !r)
2038
2018
  throw new Error(
2039
- `Unknown share store '${t}' (expected: ${Object.keys(Dt).join(", ")} or a URL)`
2019
+ `Unknown share store '${t}' (expected: ${Object.keys(Bt).join(", ")} or a URL)`
2040
2020
  );
2041
- const o = r !== null, s = o ? Dt[t] ? t : r : null, i = o ? `${r.replace(/\/+$/, "")}/api/shares` : null;
2021
+ const i = r !== null, s = i ? Bt[t] ? t : r : null, o = i ? `${r.replace(/\/+$/, "")}/api/shares` : null;
2042
2022
  function _() {
2043
- if (!o) return null;
2044
- const d = [...new URLSearchParams(window.location.search)].find(
2045
- ([f, b]) => b === "" && ze.test(f)
2023
+ if (!i) return null;
2024
+ const p = [...new URLSearchParams(window.location.search)].find(
2025
+ ([f, b]) => b === "" && Fe.test(f)
2046
2026
  );
2047
- return d ? d[0] : null;
2027
+ return p ? p[0] : null;
2048
2028
  }
2049
- const m = (p) => `${_n()}?${p}`;
2050
- function a(p) {
2051
- if (!o) return;
2052
- const d = p ? m(p) : _n();
2053
- window.history.replaceState(null, "", d + window.location.hash);
2029
+ const m = (u) => `${ln()}?${u}`;
2030
+ function a(u) {
2031
+ if (!i) return;
2032
+ const p = u ? m(u) : ln();
2033
+ window.history.replaceState(null, "", p + window.location.hash);
2054
2034
  }
2055
- async function g(p) {
2056
- if (!o) throw new Error("sharing is not enabled");
2057
- const d = await fetch(i, {
2035
+ async function g(u) {
2036
+ if (!i) throw new Error("sharing is not enabled");
2037
+ const p = await fetch(o, {
2058
2038
  method: "POST",
2059
2039
  headers: { "Content-Type": "application/json" },
2060
- body: JSON.stringify(p)
2040
+ body: JSON.stringify(u)
2061
2041
  });
2062
- if (d.status === 413) throw new Error("this data is too large to share");
2063
- if (!d.ok) throw new Error(`share service returned ${d.status}`);
2064
- const { id: f } = await d.json();
2042
+ if (p.status === 413) throw new Error("this data is too large to share");
2043
+ if (!p.ok) throw new Error(`share service returned ${p.status}`);
2044
+ const { id: f } = await p.json();
2065
2045
  return f;
2066
2046
  }
2067
- async function l(p) {
2068
- if (!o) throw new Error("sharing is not enabled");
2069
- const d = await fetch(`${i}/${encodeURIComponent(p)}`);
2070
- if (d.status === 404)
2047
+ async function l(u) {
2048
+ if (!i) throw new Error("sharing is not enabled");
2049
+ const p = await fetch(`${o}/${encodeURIComponent(u)}`);
2050
+ if (p.status === 404)
2071
2051
  throw new Error("shared data not found (links expire after 30 days)");
2072
- if (!d.ok) throw new Error(`could not load shared data (${d.status})`);
2073
- return d.json();
2052
+ if (!p.ok) throw new Error(`could not load shared data (${p.status})`);
2053
+ return p.json();
2074
2054
  }
2075
2055
  return {
2076
- enabled: o,
2056
+ enabled: i,
2077
2057
  name: s,
2078
2058
  idFromLocation: _,
2079
2059
  linkFor: m,
@@ -2082,599 +2062,599 @@ function ki(t) {
2082
2062
  fetch: l
2083
2063
  };
2084
2064
  }
2085
- function fn(t) {
2086
- return Math.sqrt(t.reduce((r, o) => r + o * o, 0));
2065
+ function hn(t) {
2066
+ return Math.sqrt(t.reduce((r, i) => r + i * i, 0));
2087
2067
  }
2088
- function vn(t, r) {
2089
- return t.reduce((o, s, i) => o + s * r[i], 0);
2068
+ function fn(t, r) {
2069
+ return t.reduce((i, s, o) => i + s * r[o], 0);
2090
2070
  }
2091
- function Be(t) {
2092
- return t[0].map((r, o) => t.map((s) => s[o]));
2071
+ function Ee(t) {
2072
+ return t[0].map((r, i) => t.map((s) => s[i]));
2093
2073
  }
2094
- function Te(t, r) {
2095
- return t.map((o) => o.map((s) => s * r));
2074
+ function ze(t, r) {
2075
+ return t.map((i) => i.map((s) => s * r));
2096
2076
  }
2097
- function De(t) {
2077
+ function Be(t) {
2098
2078
  return Array.from(
2099
2079
  { length: t },
2100
- (r, o) => Array.from({ length: t }, (s, i) => o === i ? 1 : 0)
2080
+ (r, i) => Array.from({ length: t }, (s, o) => i === o ? 1 : 0)
2101
2081
  );
2102
2082
  }
2103
- function Oe(t, r) {
2104
- for (var o = [], s = 0; s < t.length; s++) {
2105
- o[s] = [];
2106
- for (var i = 0; i < r[0].length; i++) {
2083
+ function Te(t, r) {
2084
+ for (var i = [], s = 0; s < t.length; s++) {
2085
+ i[s] = [];
2086
+ for (var o = 0; o < r[0].length; o++) {
2107
2087
  for (var _ = 0, m = 0; m < t[0].length; m++)
2108
- _ += t[s][m] * r[m][i];
2109
- o[s][i] = _;
2088
+ _ += t[s][m] * r[m][o];
2089
+ i[s][o] = _;
2110
2090
  }
2111
2091
  }
2112
- return o;
2092
+ return i;
2113
2093
  }
2114
- function Ze(t) {
2115
- const r = t.length, o = t.map((i) => fn(i)), s = Array.from({ length: r }, () => Array(r).fill(0));
2116
- for (let i = 0; i < r; i++)
2094
+ function De(t) {
2095
+ const r = t.length, i = t.map((o) => hn(o)), s = Array.from({ length: r }, () => Array(r).fill(0));
2096
+ for (let o = 0; o < r; o++)
2117
2097
  for (let _ = 0; _ < r; _++) {
2118
- if (i === _) {
2119
- s[i][_] = 0;
2098
+ if (o === _) {
2099
+ s[o][_] = 0;
2120
2100
  continue;
2121
2101
  }
2122
- const m = vn(t[i], t[_]), a = o[i], g = o[_];
2102
+ const m = fn(t[o], t[_]), a = i[o], g = i[_];
2123
2103
  if (a > 0 && g > 0) {
2124
2104
  let l = m / (a * g);
2125
2105
  l = Math.max(-1, Math.min(1, l));
2126
- const p = Math.acos(l);
2127
- s[i][_] = p * (180 / Math.PI);
2106
+ const u = Math.acos(l);
2107
+ s[o][_] = u * (180 / Math.PI);
2128
2108
  } else
2129
- s[i][_] = null;
2109
+ s[o][_] = null;
2130
2110
  }
2131
- return { lengths: o, angles: s };
2111
+ return { lengths: i, angles: s };
2132
2112
  }
2133
- function Le(t) {
2134
- const r = t.length, o = t.map((i) => i.slice()), s = Array.from(
2113
+ function Oe(t) {
2114
+ const r = t.length, i = t.map((o) => o.slice()), s = Array.from(
2135
2115
  { length: r },
2136
- (i, _) => Array.from({ length: r }, (m, a) => _ === a ? 1 : 0)
2116
+ (o, _) => Array.from({ length: r }, (m, a) => _ === a ? 1 : 0)
2137
2117
  );
2138
- for (let i = 0; i < r; i++) {
2139
- let _ = i;
2140
- for (let a = i + 1; a < r; a++)
2141
- Math.abs(o[a][i]) > Math.abs(o[_][i]) && (_ = a);
2142
- if ([o[i], o[_]] = [o[_], o[i]], [s[i], s[_]] = [s[_], s[i]], o[i][i] === 0)
2118
+ for (let o = 0; o < r; o++) {
2119
+ let _ = o;
2120
+ for (let a = o + 1; a < r; a++)
2121
+ Math.abs(i[a][o]) > Math.abs(i[_][o]) && (_ = a);
2122
+ if ([i[o], i[_]] = [i[_], i[o]], [s[o], s[_]] = [s[_], s[o]], i[o][o] === 0)
2143
2123
  throw new Error("Matrix is singular and cannot be inverted.");
2144
- const m = o[i][i];
2124
+ const m = i[o][o];
2145
2125
  for (let a = 0; a < r; a++)
2146
- o[i][a] /= m, s[i][a] /= m;
2126
+ i[o][a] /= m, s[o][a] /= m;
2147
2127
  for (let a = 0; a < r; a++) {
2148
- if (a === i) continue;
2149
- const g = o[a][i];
2128
+ if (a === o) continue;
2129
+ const g = i[a][o];
2150
2130
  for (let l = 0; l < r; l++)
2151
- o[a][l] -= g * o[i][l], s[a][l] -= g * s[i][l];
2131
+ i[a][l] -= g * i[o][l], s[a][l] -= g * s[o][l];
2152
2132
  }
2153
2133
  }
2154
2134
  return s;
2155
2135
  }
2156
- function yn(t) {
2136
+ function Pn(t) {
2157
2137
  const r = t.length;
2158
2138
  if (r === 1) return t[0][0];
2159
2139
  if (r === 2)
2160
2140
  return t[0][0] * t[1][1] - t[0][1] * t[1][0];
2161
- let o = 0;
2141
+ let i = 0;
2162
2142
  for (let s = 0; s < r; s++) {
2163
- const i = t.slice(1).map((m) => m.filter((a, g) => g !== s)), _ = s % 2 === 0 ? 1 : -1;
2164
- o += _ * t[0][s] * yn(i);
2143
+ const o = t.slice(1).map((m) => m.filter((a, g) => g !== s)), _ = s % 2 === 0 ? 1 : -1;
2144
+ i += _ * t[0][s] * Pn(o);
2165
2145
  }
2166
- return o;
2146
+ return i;
2167
2147
  }
2168
- const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2148
+ const ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2169
2149
  __proto__: null,
2170
- determinant: yn,
2171
- dot: vn,
2172
- getMatrixParams: Ze,
2173
- identityMatrix: De,
2174
- invertMatrix: Le,
2175
- multiplyMatrices: Oe,
2176
- norm: fn,
2177
- scalarMultiply: Te,
2178
- transpose: Be
2179
- }, Symbol.toStringTag, { value: "Module" })), Me = {
2150
+ determinant: Pn,
2151
+ dot: fn,
2152
+ getMatrixParams: De,
2153
+ identityMatrix: Be,
2154
+ invertMatrix: Oe,
2155
+ multiplyMatrices: Te,
2156
+ norm: hn,
2157
+ scalarMultiply: ze,
2158
+ transpose: Ee
2159
+ }, Symbol.toStringTag, { value: "Module" })), Ze = {
2180
2160
  Z: 1,
2181
2161
  mz: 1.00794
2182
- }, He = {
2162
+ }, Me = {
2183
2163
  Z: 2,
2184
2164
  mz: 4.002602
2185
- }, Ue = {
2165
+ }, Le = {
2186
2166
  Z: 3,
2187
2167
  mz: 6.941
2188
- }, Je = {
2168
+ }, He = {
2189
2169
  Z: 4,
2190
2170
  mz: 9.012182
2191
- }, Ve = {
2171
+ }, Ue = {
2192
2172
  Z: 5,
2193
2173
  mz: 10.811
2194
- }, Ye = {
2174
+ }, Je = {
2195
2175
  Z: 6,
2196
2176
  mz: 12.0107
2197
- }, Ge = {
2177
+ }, Ve = {
2198
2178
  Z: 7,
2199
2179
  mz: 14.0067
2200
- }, Ke = {
2180
+ }, Ye = {
2201
2181
  Z: 8,
2202
2182
  mz: 15.9994
2203
- }, Qe = {
2183
+ }, Ge = {
2204
2184
  Z: 9,
2205
2185
  mz: 18.9984032
2206
- }, We = {
2186
+ }, Ke = {
2207
2187
  Z: 10,
2208
2188
  mz: 20.1797
2209
- }, Xe = {
2189
+ }, Qe = {
2210
2190
  Z: 11,
2211
2191
  mz: 22.98976928
2212
- }, qe = {
2192
+ }, We = {
2213
2193
  Z: 12,
2214
2194
  mz: 24.305
2215
- }, $e = {
2195
+ }, Xe = {
2216
2196
  Z: 13,
2217
2197
  mz: 26.9815386
2218
- }, tr = {
2198
+ }, qe = {
2219
2199
  Z: 14,
2220
2200
  mz: 28.0855
2221
- }, nr = {
2201
+ }, $e = {
2222
2202
  Z: 15,
2223
2203
  mz: 30.973762
2224
- }, er = {
2204
+ }, tr = {
2225
2205
  Z: 16,
2226
2206
  mz: 32.065
2227
- }, rr = {
2207
+ }, nr = {
2228
2208
  Z: 17,
2229
2209
  mz: 35.453
2230
- }, or = {
2210
+ }, er = {
2231
2211
  Z: 18,
2232
2212
  mz: 39.948
2233
- }, ir = {
2213
+ }, rr = {
2234
2214
  Z: 19,
2235
2215
  mz: 39.0983
2236
- }, sr = {
2216
+ }, ir = {
2237
2217
  Z: 20,
2238
2218
  mz: 40.078
2239
- }, ar = {
2219
+ }, or = {
2240
2220
  Z: 21,
2241
2221
  mz: 44.955912
2242
- }, cr = {
2222
+ }, sr = {
2243
2223
  Z: 22,
2244
2224
  mz: 47.867
2245
- }, lr = {
2225
+ }, ar = {
2246
2226
  Z: 23,
2247
2227
  mz: 50.9415
2248
- }, _r = {
2228
+ }, cr = {
2249
2229
  Z: 24,
2250
2230
  mz: 51.9961
2251
- }, mr = {
2231
+ }, lr = {
2252
2232
  Z: 25,
2253
2233
  mz: 54.938045
2254
- }, gr = {
2234
+ }, _r = {
2255
2235
  Z: 26,
2256
2236
  mz: 55.845
2257
- }, ur = {
2237
+ }, mr = {
2258
2238
  Z: 27,
2259
2239
  mz: 58.933195
2260
- }, dr = {
2240
+ }, gr = {
2261
2241
  Z: 28,
2262
2242
  mz: 58.6934
2263
- }, pr = {
2243
+ }, ur = {
2264
2244
  Z: 29,
2265
2245
  mz: 63.546
2266
- }, hr = {
2246
+ }, dr = {
2267
2247
  Z: 30,
2268
2248
  mz: 65.409
2269
- }, fr = {
2249
+ }, pr = {
2270
2250
  Z: 31,
2271
2251
  mz: 69.723
2272
- }, vr = {
2252
+ }, hr = {
2273
2253
  Z: 32,
2274
2254
  mz: 72.64
2275
- }, yr = {
2255
+ }, fr = {
2276
2256
  Z: 33,
2277
2257
  mz: 74.9216
2278
2258
  }, Pr = {
2279
2259
  Z: 34,
2280
2260
  mz: 78.96
2281
- }, br = {
2261
+ }, vr = {
2282
2262
  Z: 35,
2283
2263
  mz: 79.904
2284
- }, xr = {
2264
+ }, yr = {
2285
2265
  Z: 36,
2286
2266
  mz: 83.798
2287
- }, wr = {
2267
+ }, br = {
2288
2268
  Z: 37,
2289
2269
  mz: 85.4678
2290
- }, Ar = {
2270
+ }, xr = {
2291
2271
  Z: 38,
2292
2272
  mz: 87.62
2293
- }, kr = {
2273
+ }, wr = {
2294
2274
  Z: 39,
2295
2275
  mz: 88.90585
2296
- }, jr = {
2276
+ }, Ar = {
2297
2277
  Z: 40,
2298
2278
  mz: 91.224
2299
- }, Cr = {
2279
+ }, kr = {
2300
2280
  Z: 41,
2301
2281
  mz: 92.90638
2302
- }, Rr = {
2282
+ }, jr = {
2303
2283
  Z: 42,
2304
2284
  mz: 95.94
2305
- }, Sr = {
2285
+ }, Cr = {
2306
2286
  Z: 43,
2307
2287
  mz: 98
2308
- }, Ir = {
2288
+ }, Rr = {
2309
2289
  Z: 44,
2310
2290
  mz: 101.07
2311
- }, Nr = {
2291
+ }, Ir = {
2312
2292
  Z: 45,
2313
2293
  mz: 102.9055
2314
- }, Fr = {
2294
+ }, Sr = {
2315
2295
  Z: 46,
2316
2296
  mz: 106.42
2317
- }, Er = {
2297
+ }, Nr = {
2318
2298
  Z: 47,
2319
2299
  mz: 107.8682
2320
- }, zr = {
2300
+ }, Fr = {
2321
2301
  Z: 48,
2322
2302
  mz: 112.411
2323
- }, Br = {
2303
+ }, Er = {
2324
2304
  Z: 49,
2325
2305
  mz: 114.818
2326
- }, Tr = {
2306
+ }, zr = {
2327
2307
  Z: 50,
2328
2308
  mz: 118.71
2329
- }, Dr = {
2309
+ }, Br = {
2330
2310
  Z: 51,
2331
2311
  mz: 121.76
2332
- }, Or = {
2312
+ }, Tr = {
2333
2313
  Z: 52,
2334
2314
  mz: 127.6
2335
- }, Zr = {
2315
+ }, Dr = {
2336
2316
  Z: 53,
2337
2317
  mz: 126.90447
2338
- }, Lr = {
2318
+ }, Or = {
2339
2319
  Z: 54,
2340
2320
  mz: 131.293
2341
- }, Mr = {
2321
+ }, Zr = {
2342
2322
  Z: 55,
2343
2323
  mz: 132.9054519
2344
- }, Hr = {
2324
+ }, Mr = {
2345
2325
  Z: 56,
2346
2326
  mz: 137.327
2347
- }, Ur = {
2327
+ }, Lr = {
2348
2328
  Z: 57,
2349
2329
  mz: 138.90547
2350
- }, Jr = {
2330
+ }, Hr = {
2351
2331
  Z: 58,
2352
2332
  mz: 140.116
2353
- }, Vr = {
2333
+ }, Ur = {
2354
2334
  Z: 59,
2355
2335
  mz: 140.90765
2356
- }, Yr = {
2336
+ }, Jr = {
2357
2337
  Z: 60,
2358
2338
  mz: 144.242
2359
- }, Gr = {
2339
+ }, Vr = {
2360
2340
  Z: 61,
2361
2341
  mz: 145
2362
- }, Kr = {
2342
+ }, Yr = {
2363
2343
  Z: 62,
2364
2344
  mz: 150.36
2365
- }, Qr = {
2345
+ }, Gr = {
2366
2346
  Z: 63,
2367
2347
  mz: 151.964
2368
- }, Wr = {
2348
+ }, Kr = {
2369
2349
  Z: 64,
2370
2350
  mz: 157.25
2371
- }, Xr = {
2351
+ }, Qr = {
2372
2352
  Z: 65,
2373
2353
  mz: 158.92535
2374
- }, qr = {
2354
+ }, Wr = {
2375
2355
  Z: 66,
2376
2356
  mz: 162.5
2377
- }, $r = {
2357
+ }, Xr = {
2378
2358
  Z: 67,
2379
2359
  mz: 164.93032
2380
- }, to = {
2360
+ }, qr = {
2381
2361
  Z: 68,
2382
2362
  mz: 167.259
2383
- }, no = {
2363
+ }, $r = {
2384
2364
  Z: 69,
2385
2365
  mz: 168.93421
2386
- }, eo = {
2366
+ }, ti = {
2387
2367
  Z: 70,
2388
2368
  mz: 173.04
2389
- }, ro = {
2369
+ }, ni = {
2390
2370
  Z: 71,
2391
2371
  mz: 174.967
2392
- }, oo = {
2372
+ }, ei = {
2393
2373
  Z: 72,
2394
2374
  mz: 178.49
2395
- }, io = {
2375
+ }, ri = {
2396
2376
  Z: 73,
2397
2377
  mz: 180.94788
2398
- }, so = {
2378
+ }, ii = {
2399
2379
  Z: 74,
2400
2380
  mz: 183.84
2401
- }, ao = {
2381
+ }, oi = {
2402
2382
  Z: 75,
2403
2383
  mz: 186.207
2404
- }, co = {
2384
+ }, si = {
2405
2385
  Z: 76,
2406
2386
  mz: 190.23
2407
- }, lo = {
2387
+ }, ai = {
2408
2388
  Z: 77,
2409
2389
  mz: 192.217
2410
- }, _o = {
2390
+ }, ci = {
2411
2391
  Z: 78,
2412
2392
  mz: 195.084
2413
- }, mo = {
2393
+ }, li = {
2414
2394
  Z: 79,
2415
2395
  mz: 196.966569
2416
- }, go = {
2396
+ }, _i = {
2417
2397
  Z: 80,
2418
2398
  mz: 200.59
2419
- }, uo = {
2399
+ }, mi = {
2420
2400
  Z: 81,
2421
2401
  mz: 204.3833
2422
- }, po = {
2402
+ }, gi = {
2423
2403
  Z: 82,
2424
2404
  mz: 207.2
2425
- }, ho = {
2405
+ }, ui = {
2426
2406
  Z: 83,
2427
2407
  mz: 208.9804
2428
- }, fo = {
2408
+ }, di = {
2429
2409
  Z: 84,
2430
2410
  mz: 210
2431
- }, vo = {
2411
+ }, pi = {
2432
2412
  Z: 85,
2433
2413
  mz: 210
2434
- }, yo = {
2414
+ }, hi = {
2435
2415
  Z: 86,
2436
2416
  mz: 220
2437
- }, Po = {
2417
+ }, fi = {
2438
2418
  Z: 87,
2439
2419
  mz: 223
2440
- }, bo = {
2420
+ }, Pi = {
2441
2421
  Z: 88,
2442
2422
  mz: 226
2443
- }, xo = {
2423
+ }, vi = {
2444
2424
  Z: 89,
2445
2425
  mz: 227
2446
- }, wo = {
2426
+ }, yi = {
2447
2427
  Z: 90,
2448
2428
  mz: 232.03806
2449
- }, Ao = {
2429
+ }, bi = {
2450
2430
  Z: 91,
2451
2431
  mz: 231.03588
2452
- }, ko = {
2432
+ }, xi = {
2453
2433
  Z: 92,
2454
2434
  mz: 238.02891
2455
- }, jo = {
2435
+ }, wi = {
2456
2436
  Z: 93,
2457
2437
  mz: 237
2458
- }, Co = {
2438
+ }, Ai = {
2459
2439
  Z: 94,
2460
2440
  mz: 244
2461
- }, Ro = {
2441
+ }, ki = {
2462
2442
  Z: 95,
2463
2443
  mz: 243
2464
- }, So = {
2444
+ }, ji = {
2465
2445
  Z: 96,
2466
2446
  mz: 247
2467
- }, Io = {
2447
+ }, Ci = {
2468
2448
  Z: 97,
2469
2449
  mz: 247
2470
- }, No = {
2450
+ }, Ri = {
2471
2451
  Z: 98,
2472
2452
  mz: 251
2473
- }, Fo = {
2453
+ }, Ii = {
2474
2454
  Z: 99,
2475
2455
  mz: 252
2476
- }, Eo = {
2456
+ }, Si = {
2477
2457
  Z: 100,
2478
2458
  mz: 257
2479
- }, zo = {
2459
+ }, Ni = {
2480
2460
  Z: 101,
2481
2461
  mz: 258
2482
- }, Bo = {
2462
+ }, Fi = {
2483
2463
  Z: 102,
2484
2464
  mz: 259
2485
- }, To = {
2465
+ }, Ei = {
2486
2466
  Z: 103,
2487
2467
  mz: 262
2488
- }, Do = {
2468
+ }, zi = {
2489
2469
  Z: 104,
2490
2470
  mz: 267
2491
- }, Oo = {
2471
+ }, Bi = {
2492
2472
  Z: 105,
2493
2473
  mz: 268
2494
- }, Zo = {
2474
+ }, Ti = {
2495
2475
  Z: 106,
2496
2476
  mz: 269
2497
- }, Lo = {
2477
+ }, Di = {
2498
2478
  Z: 107,
2499
2479
  mz: 270
2500
- }, Mo = {
2480
+ }, Oi = {
2501
2481
  Z: 108,
2502
2482
  mz: 270
2503
- }, Ho = {
2483
+ }, Zi = {
2504
2484
  Z: 109,
2505
2485
  mz: 278
2506
- }, Uo = {
2486
+ }, Mi = {
2507
2487
  Z: 110,
2508
2488
  mz: 281
2509
- }, Jo = {
2489
+ }, Li = {
2510
2490
  Z: 111,
2511
2491
  mz: 282
2512
- }, Vo = {
2492
+ }, Hi = {
2513
2493
  Z: 112,
2514
2494
  mz: 285
2515
- }, Yo = {
2495
+ }, Ui = {
2516
2496
  Z: 113,
2517
2497
  mz: 286
2518
- }, Go = {
2498
+ }, Ji = {
2519
2499
  Z: 114,
2520
2500
  mz: 289
2521
- }, Ko = {
2501
+ }, Vi = {
2522
2502
  Z: 115,
2523
2503
  mz: 290
2524
- }, Qo = {
2504
+ }, Yi = {
2525
2505
  Z: 116,
2526
2506
  mz: 293
2527
- }, Wo = {
2507
+ }, Gi = {
2528
2508
  Z: 117,
2529
2509
  mz: 294
2530
- }, Xo = {
2510
+ }, Ki = {
2531
2511
  Z: 118,
2532
2512
  mz: 294
2533
- }, qo = {
2534
- H: Me,
2535
- He,
2536
- Li: Ue,
2537
- Be: Je,
2538
- B: Ve,
2539
- C: Ye,
2540
- N: Ge,
2541
- O: Ke,
2542
- F: Qe,
2543
- Ne: We,
2544
- Na: Xe,
2545
- Mg: qe,
2546
- Al: $e,
2547
- Si: tr,
2548
- P: nr,
2549
- S: er,
2550
- Cl: rr,
2551
- Ar: or,
2552
- K: ir,
2553
- Ca: sr,
2554
- Sc: ar,
2555
- Ti: cr,
2556
- V: lr,
2557
- Cr: _r,
2558
- Mn: mr,
2559
- Fe: gr,
2560
- Co: ur,
2561
- Ni: dr,
2562
- Cu: pr,
2563
- Zn: hr,
2564
- Ga: fr,
2565
- Ge: vr,
2566
- As: yr,
2513
+ }, Qi = {
2514
+ H: Ze,
2515
+ He: Me,
2516
+ Li: Le,
2517
+ Be: He,
2518
+ B: Ue,
2519
+ C: Je,
2520
+ N: Ve,
2521
+ O: Ye,
2522
+ F: Ge,
2523
+ Ne: Ke,
2524
+ Na: Qe,
2525
+ Mg: We,
2526
+ Al: Xe,
2527
+ Si: qe,
2528
+ P: $e,
2529
+ S: tr,
2530
+ Cl: nr,
2531
+ Ar: er,
2532
+ K: rr,
2533
+ Ca: ir,
2534
+ Sc: or,
2535
+ Ti: sr,
2536
+ V: ar,
2537
+ Cr: cr,
2538
+ Mn: lr,
2539
+ Fe: _r,
2540
+ Co: mr,
2541
+ Ni: gr,
2542
+ Cu: ur,
2543
+ Zn: dr,
2544
+ Ga: pr,
2545
+ Ge: hr,
2546
+ As: fr,
2567
2547
  Se: Pr,
2568
- Br: br,
2569
- Kr: xr,
2570
- Rb: wr,
2571
- Sr: Ar,
2572
- Y: kr,
2573
- Zr: jr,
2574
- Nb: Cr,
2575
- Mo: Rr,
2576
- Tc: Sr,
2577
- Ru: Ir,
2578
- Rh: Nr,
2579
- Pd: Fr,
2580
- Ag: Er,
2581
- Cd: zr,
2582
- In: Br,
2583
- Sn: Tr,
2584
- Sb: Dr,
2585
- Te: Or,
2586
- I: Zr,
2587
- Xe: Lr,
2588
- Cs: Mr,
2589
- Ba: Hr,
2590
- La: Ur,
2591
- Ce: Jr,
2592
- Pr: Vr,
2593
- Nd: Yr,
2594
- Pm: Gr,
2595
- Sm: Kr,
2596
- Eu: Qr,
2597
- Gd: Wr,
2598
- Tb: Xr,
2599
- Dy: qr,
2600
- Ho: $r,
2601
- Er: to,
2602
- Tm: no,
2603
- Yb: eo,
2604
- Lu: ro,
2605
- Hf: oo,
2606
- Ta: io,
2607
- W: so,
2608
- Re: ao,
2609
- Os: co,
2610
- Ir: lo,
2611
- Pt: _o,
2612
- Au: mo,
2613
- Hg: go,
2614
- Tl: uo,
2615
- Pb: po,
2616
- Bi: ho,
2617
- Po: fo,
2618
- At: vo,
2619
- Rn: yo,
2620
- Fr: Po,
2621
- Ra: bo,
2622
- Ac: xo,
2623
- Th: wo,
2624
- Pa: Ao,
2625
- U: ko,
2626
- Np: jo,
2627
- Pu: Co,
2628
- Am: Ro,
2629
- Cm: So,
2630
- Bk: Io,
2631
- Cf: No,
2632
- Es: Fo,
2633
- Fm: Eo,
2634
- Md: zo,
2635
- No: Bo,
2636
- Lr: To,
2637
- Rf: Do,
2638
- Db: Oo,
2639
- Sg: Zo,
2640
- Bh: Lo,
2641
- Hs: Mo,
2642
- Mt: Ho,
2643
- Ds: Uo,
2644
- Rg: Jo,
2645
- Cn: Vo,
2646
- Nh: Yo,
2647
- Fl: Go,
2648
- Mc: Ko,
2649
- Lv: Qo,
2650
- Ts: Wo,
2651
- Og: Xo
2548
+ Br: vr,
2549
+ Kr: yr,
2550
+ Rb: br,
2551
+ Sr: xr,
2552
+ Y: wr,
2553
+ Zr: Ar,
2554
+ Nb: kr,
2555
+ Mo: jr,
2556
+ Tc: Cr,
2557
+ Ru: Rr,
2558
+ Rh: Ir,
2559
+ Pd: Sr,
2560
+ Ag: Nr,
2561
+ Cd: Fr,
2562
+ In: Er,
2563
+ Sn: zr,
2564
+ Sb: Br,
2565
+ Te: Tr,
2566
+ I: Dr,
2567
+ Xe: Or,
2568
+ Cs: Zr,
2569
+ Ba: Mr,
2570
+ La: Lr,
2571
+ Ce: Hr,
2572
+ Pr: Ur,
2573
+ Nd: Jr,
2574
+ Pm: Vr,
2575
+ Sm: Yr,
2576
+ Eu: Gr,
2577
+ Gd: Kr,
2578
+ Tb: Qr,
2579
+ Dy: Wr,
2580
+ Ho: Xr,
2581
+ Er: qr,
2582
+ Tm: $r,
2583
+ Yb: ti,
2584
+ Lu: ni,
2585
+ Hf: ei,
2586
+ Ta: ri,
2587
+ W: ii,
2588
+ Re: oi,
2589
+ Os: si,
2590
+ Ir: ai,
2591
+ Pt: ci,
2592
+ Au: li,
2593
+ Hg: _i,
2594
+ Tl: mi,
2595
+ Pb: gi,
2596
+ Bi: ui,
2597
+ Po: di,
2598
+ At: pi,
2599
+ Rn: hi,
2600
+ Fr: fi,
2601
+ Ra: Pi,
2602
+ Ac: vi,
2603
+ Th: yi,
2604
+ Pa: bi,
2605
+ U: xi,
2606
+ Np: wi,
2607
+ Pu: Ai,
2608
+ Am: ki,
2609
+ Cm: ji,
2610
+ Bk: Ci,
2611
+ Cf: Ri,
2612
+ Es: Ii,
2613
+ Fm: Si,
2614
+ Md: Ni,
2615
+ No: Fi,
2616
+ Lr: Ei,
2617
+ Rf: zi,
2618
+ Db: Bi,
2619
+ Sg: Ti,
2620
+ Bh: Di,
2621
+ Hs: Oi,
2622
+ Mt: Zi,
2623
+ Ds: Mi,
2624
+ Rg: Li,
2625
+ Cn: Hi,
2626
+ Nh: Ui,
2627
+ Fl: Ji,
2628
+ Mc: Vi,
2629
+ Lv: Yi,
2630
+ Ts: Gi,
2631
+ Og: Ki
2652
2632
  };
2653
- function $o(t) {
2654
- var r = t.split(/(?=[A-Z])/), o = 0;
2633
+ function Wi(t) {
2634
+ var r = t.split(/(?=[A-Z])/), i = 0;
2655
2635
  return r.forEach((s) => {
2656
- let i = s.match(/\d+/), _ = i == null ? 1 : parseInt(i[0]);
2657
- o += _;
2658
- }), o;
2636
+ let o = s.match(/\d+/), _ = o == null ? 1 : parseInt(o[0]);
2637
+ i += _;
2638
+ }), i;
2659
2639
  }
2660
- function ti(t) {
2640
+ function Xi(t) {
2661
2641
  return t.split(/(?=[A-Z])/).length;
2662
2642
  }
2663
- function ni(t, r) {
2664
- var o = t.split(/(?=[A-Z])/);
2643
+ function qi(t, r) {
2644
+ var i = t.split(/(?=[A-Z])/);
2665
2645
  let s = 0;
2666
- return o.forEach((i) => {
2646
+ return i.forEach((o) => {
2667
2647
  var l;
2668
- const _ = i.match(/([a-zA-Z]+)(\d*)/), m = _[1], a = parseInt(_[2] || "1"), g = ((l = qo[m]) == null ? void 0 : l.mz) || 0;
2648
+ const _ = o.match(/([a-zA-Z]+)(\d*)/), m = _[1], a = parseInt(_[2] || "1"), g = ((l = Qi[m]) == null ? void 0 : l.mz) || 0;
2669
2649
  s += g * a;
2670
2650
  }), Math.round(s * 1e4 / (r.value * 6.0223));
2671
2651
  }
2672
- const Ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2652
+ const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2673
2653
  __proto__: null,
2674
- calculateDensity: ni,
2675
- countNumberOfAtoms: $o,
2676
- countNumberOfElements: ti
2677
- }, Symbol.toStringTag, { value: "Module" })), Lt = {
2654
+ calculateDensity: qi,
2655
+ countNumberOfAtoms: Wi,
2656
+ countNumberOfElements: Xi
2657
+ }, Symbol.toStringTag, { value: "Module" })), Ot = {
2678
2658
  1: {
2679
2659
  pg_int: "1",
2680
2660
  sg_int: "P1",
@@ -3825,14 +3805,14 @@ const Ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3825
3805
  sg_int: "Ia-3d",
3826
3806
  sg_int_short: "Ia-3d"
3827
3807
  }
3828
- }, Ut = {
3808
+ }, Lt = {
3829
3809
  a: "triclinic",
3830
3810
  m: "monoclinic",
3831
3811
  o: "orthorhombic",
3832
3812
  t: "tetragonal",
3833
3813
  h: "hexagonal",
3834
3814
  c: "cubic"
3835
- }, ei = {
3815
+ }, $i = {
3836
3816
  aP: "triclinic",
3837
3817
  mP: "simple monoclinic",
3838
3818
  mS: "base-centered monoclinic",
@@ -3848,39 +3828,39 @@ const Ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3848
3828
  cI: "body-centered cubic",
3849
3829
  cF: "face-centered cubic"
3850
3830
  };
3851
- function dt(t) {
3831
+ function ut(t) {
3852
3832
  if (t < 1 || t > 230)
3853
3833
  throw new Error(`Invalid space group number ${t}`);
3854
3834
  return t < 3 ? "a" : t < 16 ? "m" : t < 75 ? "o" : t < 143 ? "t" : t < 195 ? "h" : "c";
3855
3835
  }
3856
- function ri(t) {
3857
- return t > 142 && t < 168 ? "trigonal" : Ut[dt(t)];
3836
+ function to(t) {
3837
+ return t > 142 && t < 168 ? "trigonal" : Lt[ut(t)];
3858
3838
  }
3859
- function oi(t) {
3860
- return [146, 148, 155, 160, 161, 166, 167].includes(t) ? "rhombohedral" : Ut[dt(t)];
3839
+ function no(t) {
3840
+ return [146, 148, 155, 160, 161, 166, 167].includes(t) ? "rhombohedral" : Lt[ut(t)];
3861
3841
  }
3862
- function ii(t) {
3863
- let r = Lt[t.toString()].sg_int_short.charAt(0), o = r;
3864
- ["A", "C"].includes(r) && (o = "S");
3865
- let s = dt(t) + o;
3866
- return [s, ei[s]];
3842
+ function eo(t) {
3843
+ let r = Ot[t.toString()].sg_int_short.charAt(0), i = r;
3844
+ ["A", "C"].includes(r) && (i = "S");
3845
+ let s = ut(t) + i;
3846
+ return [s, $i[s]];
3867
3847
  }
3868
- function Ri(t) {
3848
+ function Co(t) {
3869
3849
  if (t < 1 || t > 230)
3870
3850
  throw new Error(`Invalid space group number ${t}`);
3871
- let r = ii(t);
3851
+ let r = eo(t);
3872
3852
  return {
3873
- space_group_symbol: Lt[t.toString()].sg_int_short,
3874
- point_group_symbol: Lt[t.toString()].pg_int,
3875
- crystal_family_pearson: dt(t),
3876
- crystal_family: Ut[dt(t)],
3877
- crystal_system: ri(t),
3878
- lattice_system: oi(t),
3853
+ space_group_symbol: Ot[t.toString()].sg_int_short,
3854
+ point_group_symbol: Ot[t.toString()].pg_int,
3855
+ crystal_family_pearson: ut(t),
3856
+ crystal_family: Lt[ut(t)],
3857
+ crystal_system: to(t),
3858
+ lattice_system: no(t),
3879
3859
  bravais_lattice_pearson: r[0],
3880
3860
  bravais_lattice: r[1]
3881
3861
  };
3882
3862
  }
3883
- function Si(t) {
3863
+ function Ro(t) {
3884
3864
  return t.includes("P") ? [
3885
3865
  [1, 0, 0],
3886
3866
  [0, 1, 0],
@@ -3916,33 +3896,33 @@ function Si(t) {
3916
3896
  ]);
3917
3897
  }
3918
3898
  export {
3919
- _i as DoiBadge,
3920
- di as ExploreButton,
3921
- je as HashModal,
3922
- mi as HelpButton,
3923
- fi as McCopyAccordion,
3924
- vi as McCopyExtraAccordion,
3925
- ye as McDropzone,
3899
+ ao as DoiBadge,
3900
+ mo as ExploreButton,
3901
+ po as HashModal,
3902
+ co as HelpButton,
3903
+ ho as McCopyAccordion,
3904
+ fo as McCopyExtraAccordion,
3905
+ ve as McDropzone,
3926
3906
  be as McHistoryList,
3927
- yi as McInfoAccordion,
3928
- xi as McShareButton,
3929
- bi as McStructureUpload,
3930
- hi as McloudCard,
3931
- gi as McloudSpinner,
3907
+ Po as McInfoAccordion,
3908
+ bo as McShareButton,
3909
+ yo as McStructureUpload,
3910
+ uo as McloudCard,
3911
+ lo as McloudSpinner,
3932
3912
  Ae as RemoteStructureLoader,
3933
- Dt as SHARE_STORES,
3934
- ui as StructDownloadButton,
3935
- li as TestButton,
3936
- pi as ToggleSwitch,
3937
- Ce as createHistoryStore,
3938
- ki as createShareStore,
3939
- wi as formatChemicalFormula,
3940
- Ai as formatSpaceGroupSymbol,
3941
- Ci as formula,
3942
- Se as fromStructureShare,
3943
- Si as getPrimToConvMatrix,
3944
- Ri as getSymmetryInfo,
3945
- ji as matrix,
3946
- pn as shortHashForUrl,
3947
- Pi as toStructureShare
3913
+ Bt as SHARE_STORES,
3914
+ _o as StructDownloadButton,
3915
+ so as TestButton,
3916
+ go as ToggleSwitch,
3917
+ je as createHistoryStore,
3918
+ Ao as createShareStore,
3919
+ xo as formatChemicalFormula,
3920
+ wo as formatSpaceGroupSymbol,
3921
+ jo as formula,
3922
+ Re as fromStructureShare,
3923
+ Ro as getPrimToConvMatrix,
3924
+ Co as getSymmetryInfo,
3925
+ ko as matrix,
3926
+ dn as shortHashForUrl,
3927
+ vo as toStructureShare
3948
3928
  };