@dracor/react 1.0.0-rc.5 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,18 +1,17 @@
1
- import g1, { useState as j, useEffect as P, Fragment as n1, useRef as _1 } from "react";
2
- import { Helmet as c1 } from "react-helmet-async";
3
- import p1 from "swagger-ui-react";
4
- import { faGithub as i1 } from "@fortawesome/free-brands-svg-icons";
1
+ import f1, { useState as j, useEffect as P, Fragment as n1, useRef as _1 } from "react";
2
+ import g1 from "swagger-ui-react";
3
+ import { faGithub as c1 } from "@fortawesome/free-brands-svg-icons";
5
4
  import { FontAwesomeIcon as b } from "@fortawesome/react-fontawesome";
6
- import j1 from "react-markdown";
7
- import { faClipboard as b1, faLanguage as w1, faCaretDown as E1, faPenFancy as N1, faTheaterMasks as M1, faBook as y1 } from "@fortawesome/free-solid-svg-icons";
8
- import { CopyToClipboard as k1 } from "react-copy-to-clipboard";
9
- import { Menu as o1, MenuButton as h1, Transition as d1, MenuItems as v1, MenuItem as m1 } from "@headlessui/react";
10
- import { Link as q, useLocation as Z1 } from "@tanstack/react-router";
11
- import { useReactTable as C1, getFilteredRowModel as T1, getSortedRowModel as A1, getCoreRowModel as R1, flexRender as a1 } from "@tanstack/react-table";
12
- import S1 from "CETEIcean";
5
+ import p1 from "react-markdown";
6
+ import { faClipboard as j1, faLanguage as b1, faCaretDown as w1, faPenFancy as E1, faTheaterMasks as N1, faBook as M1 } from "@fortawesome/free-solid-svg-icons";
7
+ import { CopyToClipboard as y1 } from "react-copy-to-clipboard";
8
+ import { Menu as i1, MenuButton as o1, Transition as h1, MenuItems as d1, MenuItem as v1 } from "@headlessui/react";
9
+ import { Link as q, useLocation as k1 } from "@tanstack/react-router";
10
+ import { useReactTable as Z1, getFilteredRowModel as C1, getSortedRowModel as T1, getCoreRowModel as A1, flexRender as a1 } from "@tanstack/react-table";
11
+ import R1 from "CETEIcean";
13
12
  var L = { exports: {} }, A = {};
14
13
  var s1;
15
- function P1() {
14
+ function S1() {
16
15
  if (s1) return A;
17
16
  s1 = 1;
18
17
  var s = /* @__PURE__ */ Symbol.for("react.transitional.element"), l = /* @__PURE__ */ Symbol.for("react.fragment");
@@ -35,7 +34,7 @@ function P1() {
35
34
  }
36
35
  var R = {};
37
36
  var t1;
38
- function H1() {
37
+ function P1() {
39
38
  return t1 || (t1 = 1, process.env.NODE_ENV !== "production" && (function() {
40
39
  function s(a) {
41
40
  if (a == null) return null;
@@ -92,11 +91,11 @@ function H1() {
92
91
  }
93
92
  if (i) {
94
93
  i = console;
95
- var x = i.error, f = typeof Symbol == "function" && Symbol.toStringTag && a[Symbol.toStringTag] || a.constructor.name || "Object";
94
+ var x = i.error, u = typeof Symbol == "function" && Symbol.toStringTag && a[Symbol.toStringTag] || a.constructor.name || "Object";
96
95
  return x.call(
97
96
  i,
98
97
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
99
- f
98
+ u
100
99
  ), l(a);
101
100
  }
102
101
  }
@@ -137,23 +136,23 @@ function H1() {
137
136
  configurable: !0
138
137
  });
139
138
  }
140
- function g() {
139
+ function _() {
141
140
  var a = s(this.type);
142
141
  return X[a] || (X[a] = !0, console.error(
143
142
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
144
143
  )), a = this.props.ref, a !== void 0 ? a : null;
145
144
  }
146
- function o(a, i, x, f, O, Y) {
147
- var u = x.ref;
145
+ function o(a, i, x, u, O, Y) {
146
+ var f = x.ref;
148
147
  return a = {
149
148
  $$typeof: w,
150
149
  type: a,
151
150
  key: i,
152
151
  props: x,
153
- _owner: f
154
- }, (u !== void 0 ? u : null) !== null ? Object.defineProperty(a, "ref", {
152
+ _owner: u
153
+ }, (f !== void 0 ? f : null) !== null ? Object.defineProperty(a, "ref", {
155
154
  enumerable: !1,
156
- get: g
155
+ get: _
157
156
  }) : Object.defineProperty(a, "ref", { enumerable: !1, value: null }), a._store = {}, Object.defineProperty(a._store, "validated", {
158
157
  configurable: !1,
159
158
  enumerable: !1,
@@ -176,48 +175,48 @@ function H1() {
176
175
  value: Y
177
176
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
178
177
  }
179
- function d(a, i, x, f, O, Y) {
180
- var u = i.children;
181
- if (u !== void 0)
182
- if (f)
183
- if (f1(u)) {
184
- for (f = 0; f < u.length; f++)
185
- m(u[f]);
186
- Object.freeze && Object.freeze(u);
178
+ function d(a, i, x, u, O, Y) {
179
+ var f = i.children;
180
+ if (f !== void 0)
181
+ if (u)
182
+ if (x1(f)) {
183
+ for (u = 0; u < f.length; u++)
184
+ m(f[u]);
185
+ Object.freeze && Object.freeze(f);
187
186
  } else
188
187
  console.error(
189
188
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
190
189
  );
191
- else m(u);
190
+ else m(f);
192
191
  if (y.call(i, "key")) {
193
- u = s(a);
192
+ f = s(a);
194
193
  var k = Object.keys(i).filter(function(u1) {
195
194
  return u1 !== "key";
196
195
  });
197
- f = 0 < k.length ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}", e1[u + f] || (k = 0 < k.length ? "{" + k.join(": ..., ") + ": ...}" : "{}", console.error(
196
+ u = 0 < k.length ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}", e1[f + u] || (k = 0 < k.length ? "{" + k.join(": ..., ") + ": ...}" : "{}", console.error(
198
197
  `A props object containing a "key" prop is being spread into JSX:
199
198
  let props = %s;
200
199
  <%s {...props} />
201
200
  React keys must be passed directly to JSX without using spread:
202
201
  let props = %s;
203
202
  <%s key={someKey} {...props} />`,
204
- f,
205
203
  u,
204
+ f,
206
205
  k,
207
- u
208
- ), e1[u + f] = !0);
206
+ f
207
+ ), e1[f + u] = !0);
209
208
  }
210
- if (u = null, x !== void 0 && (r(x), u = "" + x), h(i) && (r(i.key), u = "" + i.key), "key" in i) {
209
+ if (f = null, x !== void 0 && (r(x), f = "" + x), h(i) && (r(i.key), f = "" + i.key), "key" in i) {
211
210
  x = {};
212
211
  for (var G in i)
213
212
  G !== "key" && (x[G] = i[G]);
214
213
  } else x = i;
215
- return u && v(
214
+ return f && v(
216
215
  x,
217
216
  typeof a == "function" ? a.displayName || a.name || "Unknown" : a
218
217
  ), o(
219
218
  a,
220
- u,
219
+ f,
221
220
  x,
222
221
  c(),
223
222
  O,
@@ -230,53 +229,53 @@ React keys must be passed directly to JSX without using spread:
230
229
  function p(a) {
231
230
  return typeof a == "object" && a !== null && a.$$typeof === w;
232
231
  }
233
- var _ = g1, w = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), Z = /* @__PURE__ */ Symbol.for("react.fragment"), F = /* @__PURE__ */ Symbol.for("react.strict_mode"), E = /* @__PURE__ */ Symbol.for("react.profiler"), U = /* @__PURE__ */ Symbol.for("react.consumer"), D = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), H = /* @__PURE__ */ Symbol.for("react.suspense_list"), $ = /* @__PURE__ */ Symbol.for("react.memo"), M = /* @__PURE__ */ Symbol.for("react.lazy"), z = /* @__PURE__ */ Symbol.for("react.activity"), T = /* @__PURE__ */ Symbol.for("react.client.reference"), N = _.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, y = Object.prototype.hasOwnProperty, f1 = Array.isArray, W = console.createTask ? console.createTask : function() {
232
+ var g = f1, w = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), Z = /* @__PURE__ */ Symbol.for("react.fragment"), F = /* @__PURE__ */ Symbol.for("react.strict_mode"), E = /* @__PURE__ */ Symbol.for("react.profiler"), U = /* @__PURE__ */ Symbol.for("react.consumer"), D = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), H = /* @__PURE__ */ Symbol.for("react.suspense_list"), $ = /* @__PURE__ */ Symbol.for("react.memo"), M = /* @__PURE__ */ Symbol.for("react.lazy"), z = /* @__PURE__ */ Symbol.for("react.activity"), T = /* @__PURE__ */ Symbol.for("react.client.reference"), N = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, y = Object.prototype.hasOwnProperty, x1 = Array.isArray, W = console.createTask ? console.createTask : function() {
234
233
  return null;
235
234
  };
236
- _ = {
235
+ g = {
237
236
  react_stack_bottom_frame: function(a) {
238
237
  return a();
239
238
  }
240
239
  };
241
- var J, X = {}, Q = _.react_stack_bottom_frame.bind(
242
- _,
240
+ var J, X = {}, Q = g.react_stack_bottom_frame.bind(
241
+ g,
243
242
  n
244
243
  )(), K = W(t(n)), e1 = {};
245
244
  R.Fragment = Z, R.jsx = function(a, i, x) {
246
- var f = 1e4 > N.recentlyCreatedOwnerStacks++;
245
+ var u = 1e4 > N.recentlyCreatedOwnerStacks++;
247
246
  return d(
248
247
  a,
249
248
  i,
250
249
  x,
251
250
  !1,
252
- f ? Error("react-stack-top-frame") : Q,
253
- f ? W(t(a)) : K
251
+ u ? Error("react-stack-top-frame") : Q,
252
+ u ? W(t(a)) : K
254
253
  );
255
254
  }, R.jsxs = function(a, i, x) {
256
- var f = 1e4 > N.recentlyCreatedOwnerStacks++;
255
+ var u = 1e4 > N.recentlyCreatedOwnerStacks++;
257
256
  return d(
258
257
  a,
259
258
  i,
260
259
  x,
261
260
  !0,
262
- f ? Error("react-stack-top-frame") : Q,
263
- f ? W(t(a)) : K
261
+ u ? Error("react-stack-top-frame") : Q,
262
+ u ? W(t(a)) : K
264
263
  );
265
264
  };
266
265
  })()), R;
267
266
  }
268
267
  var r1;
269
- function $1() {
270
- return r1 || (r1 = 1, process.env.NODE_ENV === "production" ? L.exports = P1() : L.exports = H1()), L.exports;
268
+ function H1() {
269
+ return r1 || (r1 = 1, process.env.NODE_ENV === "production" ? L.exports = S1() : L.exports = P1()), L.exports;
271
270
  }
272
- var e = $1();
273
- function u0({ url: s, title: l }) {
271
+ var e = H1();
272
+ function x0({ url: s, title: l }) {
274
273
  return /* @__PURE__ */ e.jsxs("div", { children: [
275
- l !== void 0 && /* @__PURE__ */ e.jsx(c1, { children: /* @__PURE__ */ e.jsx("title", { children: l }) }),
276
- /* @__PURE__ */ e.jsx(p1, { url: s, deepLinking: !0 })
274
+ l !== void 0 && /* @__PURE__ */ e.jsx("title", { children: l }),
275
+ /* @__PURE__ */ e.jsx(g1, { url: s, deepLinking: !0 })
277
276
  ] });
278
277
  }
279
- const z1 = [
278
+ const $1 = [
280
279
  {
281
280
  schema: "wikidata",
282
281
  label: "Wikidata",
@@ -307,19 +306,19 @@ const z1 = [
307
306
  url: "https://d-nb.info/gnd"
308
307
  }
309
308
  ];
310
- function x1({ showLabel: s, children: l, className: r }) {
309
+ function m1({ showLabel: s, children: l, className: r }) {
311
310
  let t = "inline-flex bg-white bg-no-repeat bg-[5px] rounded-sm px-1.5 gap-1 align-text-bottom", c;
312
- const n = z1.find(({ pattern: o, url: d, schema: m }) => {
311
+ const n = $1.find(({ pattern: o, url: d, schema: m }) => {
313
312
  const p = new RegExp(
314
313
  `^(?:${o || d}/|${m}:)([a-z\\d]+)$`,
315
314
  "i"
316
- ), _ = l.match(p);
317
- return _ ? (c = _[1], !0) : !1;
315
+ ), g = l.match(p);
316
+ return g ? (c = g[1], !0) : !1;
318
317
  });
319
318
  if (!n)
320
319
  return /* @__PURE__ */ e.jsx("span", { className: t, children: l });
321
- const { url: h, label: v, classes: g = "" } = n;
322
- return t += ` ${g}`, /* @__PURE__ */ e.jsxs("span", { className: t, children: [
320
+ const { url: h, label: v, classes: _ = "" } = n;
321
+ return t += ` ${_}`, /* @__PURE__ */ e.jsxs("span", { className: t, children: [
323
322
  s && `${v}: `,
324
323
  /* @__PURE__ */ e.jsx("a", { className: r, href: `${h}/${c}`, title: v, children: c })
325
324
  ] });
@@ -358,8 +357,8 @@ function V(s, l = "en-GB") {
358
357
  }
359
358
  return r.match("^-?[0-9]{4}") ? S(r, 1e3) : r;
360
359
  }
361
- const O1 = "https://query.wikidata.org/sparql", L1 = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='102' height='137' viewBox='-305 -516 610 820'%3E%3Ctitle%3EWikimedia Commons Logo%3C/title%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle r='298'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle r='100' fill='%23900'/%3E%3Cg fill='%23069'%3E%3Cg id='arrow' clip-path='url(%23c)'%3E%3Cpath d='m-11 180v118h22v-118'/%3E%3Cpath d='m-43 185l43-75 43 75'/%3E%3C/g%3E%3Cg id='arrows3'%3E%3Cuse xlink:href='%23arrow' transform='rotate(45)'/%3E%3Cuse xlink:href='%23arrow' transform='rotate(90)'/%3E%3Cuse xlink:href='%23arrow' transform='rotate(135)'/%3E%3C/g%3E%3Cuse xlink:href='%23arrows3' transform='scale(-1 1)'/%3E%3Cpath id='blue_path' transform='rotate(-45)' stroke='%23069' stroke-width='84' fill='none' d='M 0,-256 A 256 256 0 1 0 256,0 C 256,-100 155,-150 250,-275'/%3E%3Cpath id='arrow_top' d='m-23-515s-36 135-80 185 116-62 170-5-90-180-90-180z'/%3E%3C/g%3E%3C/svg%3E";
362
- function g0({
360
+ const z1 = "https://query.wikidata.org/sparql", O1 = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='102' height='137' viewBox='-305 -516 610 820'%3E%3Ctitle%3EWikimedia Commons Logo%3C/title%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle r='298'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle r='100' fill='%23900'/%3E%3Cg fill='%23069'%3E%3Cg id='arrow' clip-path='url(%23c)'%3E%3Cpath d='m-11 180v118h22v-118'/%3E%3Cpath d='m-43 185l43-75 43 75'/%3E%3C/g%3E%3Cg id='arrows3'%3E%3Cuse xlink:href='%23arrow' transform='rotate(45)'/%3E%3Cuse xlink:href='%23arrow' transform='rotate(90)'/%3E%3Cuse xlink:href='%23arrow' transform='rotate(135)'/%3E%3C/g%3E%3Cuse xlink:href='%23arrows3' transform='scale(-1 1)'/%3E%3Cpath id='blue_path' transform='rotate(-45)' stroke='%23069' stroke-width='84' fill='none' d='M 0,-256 A 256 256 0 1 0 256,0 C 256,-100 155,-150 250,-275'/%3E%3Cpath id='arrow_top' d='m-23-515s-36 135-80 185 116-62 170-5-90-180-90-180z'/%3E%3C/g%3E%3C/svg%3E";
361
+ function u0({
363
362
  wikidataId: s,
364
363
  name: l,
365
364
  birthLabel: r = "b.",
@@ -371,7 +370,7 @@ function g0({
371
370
  function p(w) {
372
371
  return w.startsWith("http://www.wikidata.org/.well-known/genid") ? c : V(w.replace(/^(-?\d{4}).*$/, "$1"));
373
372
  }
374
- async function _(w) {
373
+ async function g(w) {
375
374
  const I = `
376
375
  SELECT ?author ?authorLabel ?birthDate ?deathDate ?gender ?genderLabel
377
376
  ?birthPlace ?birthPlaceLabel ?birthCoord
@@ -389,7 +388,7 @@ WHERE {
389
388
  OPTIONAL { ?author wdt:P227 ?gnd. }
390
389
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en". }
391
390
  }
392
- `, Z = `${O1}?query=${encodeURIComponent(I)}`, F = {
391
+ `, Z = `${z1}?query=${encodeURIComponent(I)}`, F = {
393
392
  method: "GET",
394
393
  headers: {
395
394
  Accept: "application/json"
@@ -416,9 +415,9 @@ WHERE {
416
415
  console.log(E);
417
416
  }
418
417
  }
419
- s && _(s);
418
+ s && g(s);
420
419
  }, [s, c]);
421
- const { name: v, imageUrl: g, commonsPage: o, birth: d = [], death: m = [] } = n || {};
420
+ const { name: v, imageUrl: _, commonsPage: o, birth: d = [], death: m = [] } = n || {};
422
421
  return /* @__PURE__ */ e.jsxs("div", { className: "flex whitespace-nowrap", children: [
423
422
  /* @__PURE__ */ e.jsxs(
424
423
  "div",
@@ -426,10 +425,10 @@ WHERE {
426
425
  className: "relative w-[5em] h-[6em] overflow-hidden bg-(image:--img-author) bg-no-repeat bg-center bg-primary rounded-md border-2 border-primary mr-4",
427
426
  style: { backgroundSize: "70%" },
428
427
  children: [
429
- g && /* @__PURE__ */ e.jsx(
428
+ _ && /* @__PURE__ */ e.jsx(
430
429
  "img",
431
430
  {
432
- src: g,
431
+ src: _,
433
432
  title: v,
434
433
  alt: "",
435
434
  className: "object-cover object-top w-full h-full"
@@ -444,7 +443,7 @@ WHERE {
444
443
  children: /* @__PURE__ */ e.jsx(
445
444
  "img",
446
445
  {
447
- src: L1,
446
+ src: O1,
448
447
  className: "opacity-0 hover:opacity-100 place-self-center w-full h-full p-[20%]",
449
448
  width: "17",
450
449
  alt: "Wikimedia Commons"
@@ -457,7 +456,7 @@ WHERE {
457
456
  ),
458
457
  /* @__PURE__ */ e.jsxs("span", { children: [
459
458
  /* @__PURE__ */ e.jsx("div", { className: "text-lg", children: l || v }),
460
- s && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(x1, { children: `wikidata:${s}` }) }),
459
+ s && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(m1, { children: `wikidata:${s}` }) }),
461
460
  d.length > 0 && /* @__PURE__ */ e.jsxs("div", { children: [
462
461
  r,
463
462
  " ",
@@ -471,7 +470,7 @@ WHERE {
471
470
  ] })
472
471
  ] });
473
472
  }
474
- const _0 = ({ data: s }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map((l, r) => /* @__PURE__ */ e.jsxs("span", { children: [
473
+ const f0 = ({ data: s }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map((l, r) => /* @__PURE__ */ e.jsxs("span", { children: [
475
474
  r > 0 && /* @__PURE__ */ e.jsx("br", {}),
476
475
  l.name,
477
476
  l.pseudonym && /* @__PURE__ */ e.jsxs("i", { children: [
@@ -481,10 +480,10 @@ const _0 = ({ data: s }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map(
481
480
  ] }),
482
481
  l.ref && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
483
482
  " ",
484
- /* @__PURE__ */ e.jsx("small", { children: /* @__PURE__ */ e.jsx(x1, { children: l.ref }) })
483
+ /* @__PURE__ */ e.jsx("small", { children: /* @__PURE__ */ e.jsx(m1, { children: l.ref }) })
485
484
  ] })
486
485
  ] }, `${r}-${l.name}`)) });
487
- function p0({ repo: s, children: l }) {
486
+ function _0({ repo: s, children: l }) {
488
487
  const r = l.trim(), t = r.substring(0, 7), c = `${s}/commit/${r}`;
489
488
  return s ? /* @__PURE__ */ e.jsxs(
490
489
  "a",
@@ -494,13 +493,13 @@ function p0({ repo: s, children: l }) {
494
493
  rel: "noreferrer noopener",
495
494
  className: "text-sm",
496
495
  children: [
497
- /* @__PURE__ */ e.jsx(b, { icon: i1, size: "lg", className: "mr-1" }),
496
+ /* @__PURE__ */ e.jsx(b, { icon: c1, size: "lg", className: "mr-1" }),
498
497
  t
499
498
  ]
500
499
  }
501
500
  ) : /* @__PURE__ */ e.jsx("span", { title: "Git commit", children: t });
502
501
  }
503
- function V1({
502
+ function L1({
504
503
  value: s,
505
504
  onChange: l,
506
505
  debounce: r = 500,
@@ -523,12 +522,12 @@ function V1({
523
522
  }
524
523
  );
525
524
  }
526
- function j0({ url: s, match: l }) {
525
+ function g0({ url: s, match: l }) {
527
526
  const [r, t] = j(""), [c, n] = j("");
528
527
  return P(() => {
529
- async function h(g) {
528
+ async function h(_) {
530
529
  try {
531
- const o = await fetch(g, { method: "GET" });
530
+ const o = await fetch(_, { method: "GET" });
532
531
  if (o.status == 404) {
533
532
  t("Not Found"), n("Not Found");
534
533
  return;
@@ -536,14 +535,14 @@ function j0({ url: s, match: l }) {
536
535
  if (o.status !== 200)
537
536
  throw console.log(o.status), new Error(`Request failed with status ${o.status}`);
538
537
  const d = o.headers.get("content-type");
539
- if (console.log({ contentType: d }), !d || !d.includes("text/markdown")) {
538
+ if (!d || !d.includes("text/markdown")) {
540
539
  t("Oops, we haven't got Markdown!"), n("No Markdown");
541
540
  return;
542
541
  }
543
542
  const m = await o.text();
544
543
  t(m);
545
- const _ = m.replace(/^\s+/, "").split(/(\n|\r|\r\n){2,}/)[0].match(/^#\s*(.+)/);
546
- n(_ ? _[1] : "...");
544
+ const g = m.replace(/^\s+/, "").split(/(\n|\r|\r\n){2,}/)[0].match(/^#\s*(.+)/);
545
+ n(g ? g[1] : "...");
547
546
  } catch (o) {
548
547
  o instanceof Error && o.message === "Request failed with status code 404" ? (t("Not Found"), n("Not Found")) : (t("Something went wrong."), n("Error"), console.error(o));
549
548
  }
@@ -551,11 +550,11 @@ function j0({ url: s, match: l }) {
551
550
  const v = s || (l ? l() : null);
552
551
  v && h(v);
553
552
  }, [s, l]), /* @__PURE__ */ e.jsxs("div", { children: [
554
- c && /* @__PURE__ */ e.jsx(c1, { children: /* @__PURE__ */ e.jsx("title", { children: c }) }),
555
- /* @__PURE__ */ e.jsx(j1, { children: r })
553
+ c && /* @__PURE__ */ e.jsx("title", { children: c }),
554
+ /* @__PURE__ */ e.jsx(p1, { children: r })
556
555
  ] });
557
556
  }
558
- const q1 = (s) => /* @__PURE__ */ e.jsxs(
557
+ const V1 = (s) => /* @__PURE__ */ e.jsxs(
559
558
  "svg",
560
559
  {
561
560
  xmlns: "http://www.w3.org/2000/svg",
@@ -649,7 +648,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
649
648
  ] }) })
650
649
  ]
651
650
  }
652
- ), I1 = (s) => /* @__PURE__ */ e.jsxs(
651
+ ), q1 = (s) => /* @__PURE__ */ e.jsxs(
653
652
  "svg",
654
653
  {
655
654
  xmlns: "http://www.w3.org/2000/svg",
@@ -698,7 +697,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
698
697
  ] }) })
699
698
  ]
700
699
  }
701
- ), F1 = (s) => /* @__PURE__ */ e.jsxs(
700
+ ), I1 = (s) => /* @__PURE__ */ e.jsxs(
702
701
  "svg",
703
702
  {
704
703
  xmlns: "http://www.w3.org/2000/svg",
@@ -752,7 +751,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
752
751
  ] }) })
753
752
  ]
754
753
  }
755
- ), D1 = (s) => /* @__PURE__ */ e.jsxs(
754
+ ), F1 = (s) => /* @__PURE__ */ e.jsxs(
756
755
  "svg",
757
756
  {
758
757
  xmlns: "http://www.w3.org/2000/svg",
@@ -816,7 +815,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
816
815
  ] }) })
817
816
  ]
818
817
  }
819
- ), B1 = (s) => /* @__PURE__ */ e.jsxs(
818
+ ), D1 = (s) => /* @__PURE__ */ e.jsxs(
820
819
  "svg",
821
820
  {
822
821
  xmlns: "http://www.w3.org/2000/svg",
@@ -872,7 +871,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
872
871
  ] }) })
873
872
  ]
874
873
  }
875
- ), W1 = (s) => /* @__PURE__ */ e.jsxs(
874
+ ), B1 = (s) => /* @__PURE__ */ e.jsxs(
876
875
  "svg",
877
876
  {
878
877
  xmlns: "http://www.w3.org/2000/svg",
@@ -932,7 +931,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
932
931
  ] }) })
933
932
  ]
934
933
  }
935
- ), Y1 = (s) => /* @__PURE__ */ e.jsxs(
934
+ ), W1 = (s) => /* @__PURE__ */ e.jsxs(
936
935
  "svg",
937
936
  {
938
937
  xmlns: "http://www.w3.org/2000/svg",
@@ -985,7 +984,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
985
984
  ] }) })
986
985
  ]
987
986
  }
988
- ), G1 = (s) => /* @__PURE__ */ e.jsxs(
987
+ ), Y1 = (s) => /* @__PURE__ */ e.jsxs(
989
988
  "svg",
990
989
  {
991
990
  xmlns: "http://www.w3.org/2000/svg",
@@ -1038,7 +1037,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
1038
1037
  ] }) })
1039
1038
  ]
1040
1039
  }
1041
- ), U1 = (s) => /* @__PURE__ */ e.jsxs(
1040
+ ), G1 = (s) => /* @__PURE__ */ e.jsxs(
1042
1041
  "svg",
1043
1042
  {
1044
1043
  xmlns: "http://www.w3.org/2000/svg",
@@ -1128,41 +1127,41 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
1128
1127
  ]
1129
1128
  }
1130
1129
  );
1131
- function b0({ href: s, type: l, name: r }) {
1130
+ function p0({ href: s, type: l, name: r }) {
1132
1131
  const t = "w-14", c = r.match(/^[a-z0-9]/i) ? r : "download";
1133
1132
  let n;
1134
1133
  switch (l) {
1135
1134
  case "bibtex":
1136
- n = /* @__PURE__ */ e.jsx(q1, { className: t });
1135
+ n = /* @__PURE__ */ e.jsx(V1, { className: t });
1137
1136
  break;
1138
1137
  case "csv":
1139
- n = /* @__PURE__ */ e.jsx(I1, { className: t });
1138
+ n = /* @__PURE__ */ e.jsx(q1, { className: t });
1140
1139
  break;
1141
1140
  case "gexf":
1142
- n = /* @__PURE__ */ e.jsx(F1, { className: t });
1141
+ n = /* @__PURE__ */ e.jsx(I1, { className: t });
1143
1142
  break;
1144
1143
  case "graphml":
1145
- n = /* @__PURE__ */ e.jsx(D1, { className: t });
1144
+ n = /* @__PURE__ */ e.jsx(F1, { className: t });
1146
1145
  break;
1147
1146
  case "json":
1148
- n = /* @__PURE__ */ e.jsx(B1, { className: t });
1147
+ n = /* @__PURE__ */ e.jsx(D1, { className: t });
1149
1148
  break;
1150
1149
  case "rdf":
1151
- n = /* @__PURE__ */ e.jsx(W1, { className: t });
1150
+ n = /* @__PURE__ */ e.jsx(B1, { className: t });
1152
1151
  break;
1153
1152
  case "ris":
1154
- n = /* @__PURE__ */ e.jsx(Y1, { className: t });
1153
+ n = /* @__PURE__ */ e.jsx(W1, { className: t });
1155
1154
  break;
1156
1155
  case "tei":
1157
- n = /* @__PURE__ */ e.jsx(G1, { className: t });
1156
+ n = /* @__PURE__ */ e.jsx(Y1, { className: t });
1158
1157
  break;
1159
1158
  case "txt":
1160
- n = /* @__PURE__ */ e.jsx(U1, { className: t });
1159
+ n = /* @__PURE__ */ e.jsx(G1, { className: t });
1161
1160
  break;
1162
1161
  }
1163
1162
  return /* @__PURE__ */ e.jsx("a", { href: s, download: c, className: "inline-block", children: n || c });
1164
1163
  }
1165
- const J1 = (s) => /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 384 384", ...s, children: [
1164
+ const U1 = (s) => /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 384 384", ...s, children: [
1166
1165
  /* @__PURE__ */ e.jsxs("defs", { children: [
1167
1166
  /* @__PURE__ */ e.jsx("clipPath", { id: "dracor_svg__clip-path", children: /* @__PURE__ */ e.jsx(
1168
1167
  "path",
@@ -1185,7 +1184,7 @@ const J1 = (s) => /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000
1185
1184
  }
1186
1185
  }
1187
1186
  ) }) }) })
1188
- ] }), X1 = (s) => /* @__PURE__ */ e.jsx(
1187
+ ] }), J1 = (s) => /* @__PURE__ */ e.jsx(
1189
1188
  "svg",
1190
1189
  {
1191
1190
  xmlns: "http://www.w3.org/2000/svg",
@@ -1225,39 +1224,39 @@ const J1 = (s) => /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000
1225
1224
  ] })
1226
1225
  ] })
1227
1226
  }
1228
- ), { protocol: Q1, host: K1 } = window.location, e0 = `${Q1}//${K1}/id/`;
1229
- function w0({
1227
+ ), { protocol: X1, host: Q1 } = window.location, K1 = `${X1}//${Q1}/id/`;
1228
+ function j0({
1230
1229
  children: s,
1231
1230
  className: l = "",
1232
1231
  uri: r,
1233
1232
  prefix: t,
1234
1233
  icon: c
1235
1234
  }) {
1236
- const n = s, h = r || `${t || e0}${n}`;
1235
+ const n = s, h = r || `${t || K1}${n}`;
1237
1236
  return /* @__PURE__ */ e.jsxs(
1238
1237
  "span",
1239
1238
  {
1240
1239
  className: `inline-flex bg-white rounded-sm px-1.5 gap-1 align-text-bottom cursor-pointer ${l}`,
1241
1240
  children: [
1242
- c === "ein" && /* @__PURE__ */ e.jsx(X1, { style: { width: "25px" } }),
1243
- c === "dracor" && /* @__PURE__ */ e.jsx(J1, { style: { width: "15px" } }),
1244
- /* @__PURE__ */ e.jsx(k1, { text: h, children: /* @__PURE__ */ e.jsxs("span", { title: "copy to clipboard", children: [
1241
+ c === "ein" && /* @__PURE__ */ e.jsx(J1, { style: { width: "25px" } }),
1242
+ c === "dracor" && /* @__PURE__ */ e.jsx(U1, { style: { width: "15px" } }),
1243
+ /* @__PURE__ */ e.jsx(y1, { text: h, children: /* @__PURE__ */ e.jsxs("span", { title: "copy to clipboard", children: [
1245
1244
  /* @__PURE__ */ e.jsx("span", { className: "pr-1", children: n }),
1246
- /* @__PURE__ */ e.jsx(b, { icon: b1, size: "sm" })
1245
+ /* @__PURE__ */ e.jsx(b, { icon: j1, size: "sm" })
1247
1246
  ] }) })
1248
1247
  ]
1249
1248
  }
1250
1249
  );
1251
1250
  }
1252
- function E0({
1251
+ function b0({
1253
1252
  languages: s,
1254
1253
  current: l = "",
1255
1254
  onSelect: r
1256
1255
  }) {
1257
- return /* @__PURE__ */ e.jsxs(o1, { as: "div", className: "relative inline-block text-left", children: [
1258
- /* @__PURE__ */ e.jsx(h1, { className: "relative justify-center inline-flex mr-8 hover:text-neutral-100", children: /* @__PURE__ */ e.jsx(b, { icon: w1, size: "2x" }) }),
1256
+ return /* @__PURE__ */ e.jsxs(i1, { as: "div", className: "relative inline-block text-left", children: [
1257
+ /* @__PURE__ */ e.jsx(o1, { className: "relative justify-center inline-flex mr-8 hover:text-neutral-100", children: /* @__PURE__ */ e.jsx(b, { icon: b1, size: "2x" }) }),
1259
1258
  /* @__PURE__ */ e.jsx(
1260
- d1,
1259
+ h1,
1261
1260
  {
1262
1261
  as: n1,
1263
1262
  enter: "transition ease-out duration-100",
@@ -1266,7 +1265,7 @@ function E0({
1266
1265
  leave: "transition ease-in duration-75",
1267
1266
  leaveFrom: "transform opacity-100 scale-100",
1268
1267
  leaveTo: "transform opacity-0 scale-95",
1269
- children: /* @__PURE__ */ e.jsx(v1, { className: "flex flex-col origin-top absolute top-6 mt-2 p-[0.2em] rounded-sm shadow-lg bg-white ring-1 ring-black/10 focus:outline-none z-10", children: s.map((t) => /* @__PURE__ */ e.jsx(m1, { children: /* @__PURE__ */ e.jsx(
1268
+ children: /* @__PURE__ */ e.jsx(d1, { className: "flex flex-col origin-top absolute top-6 mt-2 p-[0.2em] rounded-sm shadow-lg bg-white ring-1 ring-black/10 focus:outline-none z-10", children: s.map((t) => /* @__PURE__ */ e.jsx(v1, { children: /* @__PURE__ */ e.jsx(
1270
1269
  "button",
1271
1270
  {
1272
1271
  className: `group flex w-full items-center rounded-sm px-2 py-1
@@ -1280,7 +1279,7 @@ function E0({
1280
1279
  )
1281
1280
  ] });
1282
1281
  }
1283
- function a0({ label: s, to: l, params: r, href: t, className: c }) {
1282
+ function e0({ label: s, to: l, params: r, href: t, className: c }) {
1284
1283
  const n = `block md:inline-block justify-center text-white hover:text-blue-100 uppercase ${c}`;
1285
1284
  return t?.startsWith("http") || t?.startsWith("mailto:") ? /* @__PURE__ */ e.jsx(
1286
1285
  "a",
@@ -1302,15 +1301,15 @@ function a0({ label: s, to: l, params: r, href: t, className: c }) {
1302
1301
  );
1303
1302
  }
1304
1303
  const l1 = "group flex w-full items-center rounded-sm px-2 py-1 text-sm text-gray-900 hover:text-gray-900 hover:bg-blue-100";
1305
- function s0({ label: s, items: l, menuClass: r }) {
1306
- const t = Z1();
1304
+ function a0({ label: s, items: l, menuClass: r }) {
1305
+ const t = k1();
1307
1306
  function c({ to: h }) {
1308
1307
  return h && t.pathname.startsWith(h);
1309
1308
  }
1310
1309
  const n = !!l.find((h) => c(h));
1311
- return /* @__PURE__ */ e.jsxs(o1, { as: "div", className: "relative inline-block text-left", children: [
1310
+ return /* @__PURE__ */ e.jsxs(i1, { as: "div", className: "relative inline-block text-left", children: [
1312
1311
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
1313
- h1,
1312
+ o1,
1314
1313
  {
1315
1314
  className: `block md:inline-block justify-center text-white hover:text-blue-100 uppercase ${n ? "border-b-4" : ""} ${r}`,
1316
1315
  children: [
@@ -1318,7 +1317,7 @@ function s0({ label: s, items: l, menuClass: r }) {
1318
1317
  /* @__PURE__ */ e.jsx(
1319
1318
  b,
1320
1319
  {
1321
- icon: E1,
1320
+ icon: w1,
1322
1321
  className: "ml-2 mt-1",
1323
1322
  size: "sm",
1324
1323
  "aria-hidden": "true"
@@ -1328,7 +1327,7 @@ function s0({ label: s, items: l, menuClass: r }) {
1328
1327
  }
1329
1328
  ) }),
1330
1329
  /* @__PURE__ */ e.jsx(
1331
- d1,
1330
+ h1,
1332
1331
  {
1333
1332
  as: n1,
1334
1333
  enter: "transition ease-out duration-100",
@@ -1337,7 +1336,7 @@ function s0({ label: s, items: l, menuClass: r }) {
1337
1336
  leave: "transition ease-in duration-75",
1338
1337
  leaveFrom: "transform opacity-100 scale-100",
1339
1338
  leaveTo: "transform opacity-0 scale-95",
1340
- children: /* @__PURE__ */ e.jsx(v1, { className: "absolute left-0 mt-2 min-w-fit whitespace-nowrap origin-top-right divide-y divide-gray-100 rounded-sm bg-white shadow-lg focus:outline-hidden", children: /* @__PURE__ */ e.jsx("div", { className: "px-1 py-1", children: l.map(({ to: h, href: v, params: g, label: o }) => /* @__PURE__ */ e.jsx(m1, { children: v?.startsWith("http") || v?.startsWith("mailto:") ? /* @__PURE__ */ e.jsx(
1339
+ children: /* @__PURE__ */ e.jsx(d1, { className: "absolute left-0 mt-2 min-w-fit whitespace-nowrap origin-top-right divide-y divide-gray-100 rounded-sm bg-white shadow-lg focus:outline-hidden", children: /* @__PURE__ */ e.jsx("div", { className: "px-1 py-1", children: l.map(({ to: h, href: v, params: _, label: o }) => /* @__PURE__ */ e.jsx(v1, { children: v?.startsWith("http") || v?.startsWith("mailto:") ? /* @__PURE__ */ e.jsx(
1341
1340
  "a",
1342
1341
  {
1343
1342
  href: v,
@@ -1350,7 +1349,7 @@ function s0({ label: s, items: l, menuClass: r }) {
1350
1349
  q,
1351
1350
  {
1352
1351
  to: h,
1353
- params: g,
1352
+ params: _,
1354
1353
  className: l1 + " [&.active]:bg-blue-300 [&.active]:text-white [&.active]:font-medium [&.active]:hover:bg-blue-100 [&.active]:hover:text-gray-900",
1355
1354
  children: o
1356
1355
  }
@@ -1359,7 +1358,7 @@ function s0({ label: s, items: l, menuClass: r }) {
1359
1358
  )
1360
1359
  ] });
1361
1360
  }
1362
- function N0({
1361
+ function w0({
1363
1362
  title: s,
1364
1363
  logo: l,
1365
1364
  logoClass: r,
@@ -1368,7 +1367,7 @@ function N0({
1368
1367
  gitHubIcon: n,
1369
1368
  gitHubTitle: h,
1370
1369
  addItem: v,
1371
- navItems: g
1370
+ navItems: _
1372
1371
  }) {
1373
1372
  const [o, d] = j(!1);
1374
1373
  return /* @__PURE__ */ e.jsxs("nav", { className: "flex items-center justify-between flex-wrap p-4 bg-primary text-white font-medium", children: [
@@ -1405,15 +1404,15 @@ function N0({
1405
1404
  {
1406
1405
  className: `block md:flex grow md:items-center w-full md:w-auto ${o ? "" : "hidden"}`,
1407
1406
  children: [
1408
- g?.length && /* @__PURE__ */ e.jsx("div", { className: "my-2 md:grow md:flex-row flex justify-center flex-col gap-4", children: g.map(
1407
+ _?.length && /* @__PURE__ */ e.jsx("div", { className: "my-2 md:grow md:flex-row flex justify-center flex-col gap-4", children: _.map(
1409
1408
  (m) => "items" in m ? /* @__PURE__ */ e.jsx(
1410
- s0,
1409
+ a0,
1411
1410
  {
1412
1411
  label: m.label,
1413
1412
  items: m.items
1414
1413
  },
1415
1414
  m.label
1416
- ) : /* @__PURE__ */ e.jsx(a0, { label: m.label, to: m.to }, m.label)
1415
+ ) : /* @__PURE__ */ e.jsx(e0, { label: m.label, to: m.to }, m.label)
1417
1416
  ) }),
1418
1417
  v,
1419
1418
  c && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
@@ -1422,7 +1421,7 @@ function N0({
1422
1421
  href: c,
1423
1422
  title: h || "GitHub",
1424
1423
  className: "text-white text-2xl",
1425
- children: n || /* @__PURE__ */ e.jsx(b, { icon: i1, size: "2xl" })
1424
+ children: n || /* @__PURE__ */ e.jsx(b, { icon: c1, size: "2xl" })
1426
1425
  }
1427
1426
  ) })
1428
1427
  ]
@@ -1430,8 +1429,8 @@ function N0({
1430
1429
  )
1431
1430
  ] });
1432
1431
  }
1433
- function M0({ columns: s, data: l, defaultSort: r = [] }) {
1434
- const [t, c] = j(r), [n, h] = j(""), [v] = j(l), g = C1({
1432
+ function E0({ columns: s, data: l, defaultSort: r = [] }) {
1433
+ const [t, c] = j(r), [n, h] = j(""), [v] = j(l), _ = Z1({
1435
1434
  data: v,
1436
1435
  columns: s,
1437
1436
  state: {
@@ -1440,15 +1439,15 @@ function M0({ columns: s, data: l, defaultSort: r = [] }) {
1440
1439
  },
1441
1440
  onSortingChange: c,
1442
1441
  onGlobalFilterChange: h,
1443
- getCoreRowModel: R1(),
1444
- getSortedRowModel: A1(),
1445
- getFilteredRowModel: T1(),
1442
+ getCoreRowModel: A1(),
1443
+ getSortedRowModel: T1(),
1444
+ getFilteredRowModel: C1(),
1446
1445
  debugTable: !0
1447
1446
  });
1448
1447
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1449
1448
  /* @__PURE__ */ e.jsxs("div", { className: "mb-2", children: [
1450
1449
  /* @__PURE__ */ e.jsx(
1451
- V1,
1450
+ L1,
1452
1451
  {
1453
1452
  value: n ?? "",
1454
1453
  onChange: (o) => h(String(o)),
@@ -1457,12 +1456,12 @@ function M0({ columns: s, data: l, defaultSort: r = [] }) {
1457
1456
  ),
1458
1457
  n !== "" && /* @__PURE__ */ e.jsxs("span", { className: "ml-2", children: [
1459
1458
  "(",
1460
- g.getRowModel().rows.length,
1459
+ _.getRowModel().rows.length,
1461
1460
  ")"
1462
1461
  ] })
1463
1462
  ] }),
1464
1463
  /* @__PURE__ */ e.jsx("div", { className: "flex", children: /* @__PURE__ */ e.jsxs("table", { children: [
1465
- /* @__PURE__ */ e.jsx("thead", { children: g.getHeaderGroups().map((o) => /* @__PURE__ */ e.jsx("tr", { children: o.headers.map((d) => /* @__PURE__ */ e.jsx("th", { colSpan: d.colSpan, children: d.isPlaceholder ? null : /* @__PURE__ */ e.jsxs(
1464
+ /* @__PURE__ */ e.jsx("thead", { children: _.getHeaderGroups().map((o) => /* @__PURE__ */ e.jsx("tr", { children: o.headers.map((d) => /* @__PURE__ */ e.jsx("th", { colSpan: d.colSpan, children: d.isPlaceholder ? null : /* @__PURE__ */ e.jsxs(
1466
1465
  "div",
1467
1466
  {
1468
1467
  className: d.column.getCanSort() ? "cursor-pointer select-none" : "",
@@ -1473,28 +1472,28 @@ function M0({ columns: s, data: l, defaultSort: r = [] }) {
1473
1472
  d.getContext()
1474
1473
  ),
1475
1474
  " ",
1476
- /* @__PURE__ */ e.jsx(t0, { status: d.column.getIsSorted() })
1475
+ /* @__PURE__ */ e.jsx(s0, { status: d.column.getIsSorted() })
1477
1476
  ]
1478
1477
  }
1479
1478
  ) }, d.id)) }, o.id)) }),
1480
- /* @__PURE__ */ e.jsx("tbody", { children: g.getRowModel().rows.map((o, d) => /* @__PURE__ */ e.jsx("tr", { className: d % 2 ? "" : "bg-neutral-200", children: o.getVisibleCells().map((m) => /* @__PURE__ */ e.jsx("td", { children: a1(m.column.columnDef.cell, m.getContext()) }, m.id)) }, o.id)) })
1479
+ /* @__PURE__ */ e.jsx("tbody", { children: _.getRowModel().rows.map((o, d) => /* @__PURE__ */ e.jsx("tr", { className: d % 2 ? "" : "bg-neutral-200", children: o.getVisibleCells().map((m) => /* @__PURE__ */ e.jsx("td", { children: a1(m.column.columnDef.cell, m.getContext()) }, m.id)) }, o.id)) })
1481
1480
  ] }) })
1482
1481
  ] });
1483
1482
  }
1484
- function t0({ status: s }) {
1483
+ function s0({ status: s }) {
1485
1484
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1486
1485
  /* @__PURE__ */ e.jsx("span", { className: s !== "asc" ? "opacity-40" : "", children: "▲" }),
1487
1486
  /* @__PURE__ */ e.jsx("span", { className: s !== "desc" ? "opacity-40" : "", children: "▼" })
1488
1487
  ] });
1489
1488
  }
1490
- function y0({ data: s }) {
1489
+ function N0({ data: s }) {
1491
1490
  const l = "inline-block p-4 border-b-2 text-gray-500 hover:text-gray-600 border-transparent hover:border-gray-300 [&.active]:border-primary";
1492
1491
  return /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-center text-gray-500 border-b border-gray-200 dark:text-gray-400 dark:border-gray-700", children: /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap -mb-px gap-3", children: s.map(({ label: r, to: t }) => /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(q, { to: t, className: l, children: r }) }, r)) }) });
1493
1492
  }
1494
- function k0({ url: s }) {
1493
+ function M0({ url: s }) {
1495
1494
  const l = _1(null);
1496
1495
  return P(() => {
1497
- const r = new S1();
1496
+ const r = new R1();
1498
1497
  for (; l.current?.firstChild; )
1499
1498
  l.current.removeChild(l.current.firstChild);
1500
1499
  r.getHTML5(s, (t) => {
@@ -1502,7 +1501,7 @@ function k0({ url: s }) {
1502
1501
  });
1503
1502
  }, [s]), /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx("div", { ref: l }) });
1504
1503
  }
1505
- function Z0({
1504
+ function y0({
1506
1505
  written: s,
1507
1506
  premiere: l,
1508
1507
  print: r,
@@ -1514,7 +1513,7 @@ function Z0({
1514
1513
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1515
1514
  s && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1516
1515
  /* @__PURE__ */ e.jsxs("span", { title: h, children: [
1517
- /* @__PURE__ */ e.jsx(b, { icon: N1, size: "sm" }),
1516
+ /* @__PURE__ */ e.jsx(b, { icon: E1, size: "sm" }),
1518
1517
  " ",
1519
1518
  V(s, t)
1520
1519
  ] }),
@@ -1522,35 +1521,35 @@ function Z0({
1522
1521
  ] }),
1523
1522
  l && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1524
1523
  /* @__PURE__ */ e.jsxs("span", { title: c, children: [
1525
- /* @__PURE__ */ e.jsx(b, { icon: M1, size: "sm" }),
1524
+ /* @__PURE__ */ e.jsx(b, { icon: N1, size: "sm" }),
1526
1525
  " ",
1527
1526
  V(l, t)
1528
1527
  ] }),
1529
1528
  " "
1530
1529
  ] }),
1531
1530
  r && /* @__PURE__ */ e.jsxs("span", { title: n, children: [
1532
- /* @__PURE__ */ e.jsx(b, { icon: y1, size: "sm" }),
1531
+ /* @__PURE__ */ e.jsx(b, { icon: M1, size: "sm" }),
1533
1532
  " ",
1534
1533
  V(r, t)
1535
1534
  ] })
1536
1535
  ] });
1537
1536
  }
1538
1537
  export {
1539
- u0 as ApiDoc,
1540
- g0 as AuthorInfo,
1541
- _0 as Authors,
1542
- p0 as Commit,
1543
- V1 as DebouncedInput,
1544
- j0 as DocPage,
1545
- b0 as DownloadButton,
1546
- w0 as IdCopy,
1547
- x1 as IdLink,
1548
- E0 as LanguageMenu,
1549
- N0 as NavBar,
1550
- k0 as TEIText,
1551
- M0 as Table,
1552
- y0 as Tabs,
1553
- Z0 as Years,
1538
+ x0 as ApiDoc,
1539
+ u0 as AuthorInfo,
1540
+ f0 as Authors,
1541
+ _0 as Commit,
1542
+ L1 as DebouncedInput,
1543
+ g0 as DocPage,
1544
+ p0 as DownloadButton,
1545
+ j0 as IdCopy,
1546
+ m1 as IdLink,
1547
+ b0 as LanguageMenu,
1548
+ w0 as NavBar,
1549
+ M0 as TEIText,
1550
+ E0 as Table,
1551
+ N0 as Tabs,
1552
+ y0 as Years,
1554
1553
  S as formatEra,
1555
1554
  V as formatYear
1556
1555
  };