@dracor/react 1.0.0-rc.4 → 1.0.0-rc.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.
@@ -1,6 +1,7 @@
1
1
  export { default as ApiDoc } from './ApiDoc';
2
2
  export { default as AuthorInfo } from './AuthorInfo';
3
3
  export { default as Authors } from './Authors';
4
+ export { default as Commit } from './Commit';
4
5
  export { default as DebouncedInput } from './DebouncedInput';
5
6
  export { default as DocPage } from './DocPage';
6
7
  export { default as DownloadButton } from './DownloadButton';
package/dist/index.es.js CHANGED
@@ -1,19 +1,19 @@
1
- import u1, { useState as j, useEffect as P, Fragment as n1, useRef as _1 } from "react";
1
+ import g1, { useState as j, useEffect as P, Fragment as n1, useRef as _1 } from "react";
2
2
  import { Helmet as c1 } from "react-helmet-async";
3
- import g1 from "swagger-ui-react";
4
- import p1 from "react-markdown";
5
- import { FontAwesomeIcon as M } from "@fortawesome/react-fontawesome";
6
- import { faClipboard as j1, faLanguage as b1, faCaretDown as w1, faPenFancy as E1, faTheaterMasks as M1, faBook as N1 } 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 { faGithub as Z1 } from "@fortawesome/free-brands-svg-icons";
11
- import { useReactTable as T1, getFilteredRowModel as A1, getSortedRowModel as C1, getCoreRowModel as R1, flexRender as a1 } from "@tanstack/react-table";
3
+ import p1 from "swagger-ui-react";
4
+ import { faGithub as i1 } from "@fortawesome/free-brands-svg-icons";
5
+ 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
12
  import S1 from "CETEIcean";
13
- var L = { exports: {} }, C = {};
13
+ var L = { exports: {} }, A = {};
14
14
  var s1;
15
15
  function P1() {
16
- if (s1) return C;
16
+ if (s1) return A;
17
17
  s1 = 1;
18
18
  var s = /* @__PURE__ */ Symbol.for("react.transitional.element"), l = /* @__PURE__ */ Symbol.for("react.fragment");
19
19
  function r(t, c, n) {
@@ -31,7 +31,7 @@ function P1() {
31
31
  props: n
32
32
  };
33
33
  }
34
- return C.Fragment = l, C.jsx = r, C.jsxs = r, C;
34
+ return A.Fragment = l, A.jsx = r, A.jsxs = r, A;
35
35
  }
36
36
  var R = {};
37
37
  var t1;
@@ -40,16 +40,16 @@ function H1() {
40
40
  function s(a) {
41
41
  if (a == null) return null;
42
42
  if (typeof a == "function")
43
- return a.$$typeof === A ? null : a.displayName || a.name || null;
43
+ return a.$$typeof === T ? null : a.displayName || a.name || null;
44
44
  if (typeof a == "string") return a;
45
45
  switch (a) {
46
46
  case Z:
47
47
  return "Fragment";
48
- case w:
48
+ case E:
49
49
  return "Profiler";
50
50
  case F:
51
51
  return "StrictMode";
52
- case T:
52
+ case C:
53
53
  return "Suspense";
54
54
  case H:
55
55
  return "SuspenseList";
@@ -71,7 +71,7 @@ function H1() {
71
71
  return a = a.displayName, a || (a = i.displayName || i.name || "", a = a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"), a;
72
72
  case $:
73
73
  return i = a.displayName || null, i !== null ? i : s(a.type) || "Memo";
74
- case N:
74
+ case M:
75
75
  i = a._payload, a = a._init;
76
76
  try {
77
77
  return s(a(i));
@@ -102,7 +102,7 @@ function H1() {
102
102
  }
103
103
  function t(a) {
104
104
  if (a === Z) return "<>";
105
- if (typeof a == "object" && a !== null && a.$$typeof === N)
105
+ if (typeof a == "object" && a !== null && a.$$typeof === M)
106
106
  return "<...>";
107
107
  try {
108
108
  var i = s(a);
@@ -112,7 +112,7 @@ function H1() {
112
112
  }
113
113
  }
114
114
  function c() {
115
- var a = E.A;
115
+ var a = N.A;
116
116
  return a === null ? null : a.getOwner();
117
117
  }
118
118
  function n() {
@@ -137,7 +137,7 @@ function H1() {
137
137
  configurable: !0
138
138
  });
139
139
  }
140
- function _() {
140
+ function g() {
141
141
  var a = s(this.type);
142
142
  return X[a] || (X[a] = !0, console.error(
143
143
  "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."
@@ -146,14 +146,14 @@ function H1() {
146
146
  function o(a, i, x, f, O, Y) {
147
147
  var u = x.ref;
148
148
  return a = {
149
- $$typeof: b,
149
+ $$typeof: w,
150
150
  type: a,
151
151
  key: i,
152
152
  props: x,
153
153
  _owner: f
154
154
  }, (u !== void 0 ? u : null) !== null ? Object.defineProperty(a, "ref", {
155
155
  enumerable: !1,
156
- get: _
156
+ get: g
157
157
  }) : Object.defineProperty(a, "ref", { enumerable: !1, value: null }), a._store = {}, Object.defineProperty(a._store, "validated", {
158
158
  configurable: !1,
159
159
  enumerable: !1,
@@ -180,7 +180,7 @@ function H1() {
180
180
  var u = i.children;
181
181
  if (u !== void 0)
182
182
  if (f)
183
- if (x1(u)) {
183
+ if (f1(u)) {
184
184
  for (f = 0; f < u.length; f++)
185
185
  m(u[f]);
186
186
  Object.freeze && Object.freeze(u);
@@ -191,8 +191,8 @@ function H1() {
191
191
  else m(u);
192
192
  if (y.call(i, "key")) {
193
193
  u = s(a);
194
- var k = Object.keys(i).filter(function(f1) {
195
- return f1 !== "key";
194
+ var k = Object.keys(i).filter(function(u1) {
195
+ return u1 !== "key";
196
196
  });
197
197
  f = 0 < k.length ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}", e1[u + f] || (k = 0 < k.length ? "{" + k.join(": ..., ") + ": ...}" : "{}", console.error(
198
198
  `A props object containing a "key" prop is being spread into JSX:
@@ -225,25 +225,25 @@ React keys must be passed directly to JSX without using spread:
225
225
  );
226
226
  }
227
227
  function m(a) {
228
- p(a) ? a._store && (a._store.validated = 1) : typeof a == "object" && a !== null && a.$$typeof === N && (a._payload.status === "fulfilled" ? p(a._payload.value) && a._payload.value._store && (a._payload.value._store.validated = 1) : a._store && (a._store.validated = 1));
228
+ p(a) ? a._store && (a._store.validated = 1) : typeof a == "object" && a !== null && a.$$typeof === M && (a._payload.status === "fulfilled" ? p(a._payload.value) && a._payload.value._store && (a._payload.value._store.validated = 1) : a._store && (a._store.validated = 1));
229
229
  }
230
230
  function p(a) {
231
- return typeof a == "object" && a !== null && a.$$typeof === b;
231
+ return typeof a == "object" && a !== null && a.$$typeof === w;
232
232
  }
233
- var g = u1, b = /* @__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"), w = /* @__PURE__ */ Symbol.for("react.profiler"), U = /* @__PURE__ */ Symbol.for("react.consumer"), D = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), T = /* @__PURE__ */ Symbol.for("react.suspense"), H = /* @__PURE__ */ Symbol.for("react.suspense_list"), $ = /* @__PURE__ */ Symbol.for("react.memo"), N = /* @__PURE__ */ Symbol.for("react.lazy"), z = /* @__PURE__ */ Symbol.for("react.activity"), A = /* @__PURE__ */ Symbol.for("react.client.reference"), E = 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() {
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() {
234
234
  return null;
235
235
  };
236
- g = {
236
+ _ = {
237
237
  react_stack_bottom_frame: function(a) {
238
238
  return a();
239
239
  }
240
240
  };
241
- var J, X = {}, Q = g.react_stack_bottom_frame.bind(
242
- g,
241
+ var J, X = {}, Q = _.react_stack_bottom_frame.bind(
242
+ _,
243
243
  n
244
244
  )(), K = W(t(n)), e1 = {};
245
245
  R.Fragment = Z, R.jsx = function(a, i, x) {
246
- var f = 1e4 > E.recentlyCreatedOwnerStacks++;
246
+ var f = 1e4 > N.recentlyCreatedOwnerStacks++;
247
247
  return d(
248
248
  a,
249
249
  i,
@@ -253,7 +253,7 @@ React keys must be passed directly to JSX without using spread:
253
253
  f ? W(t(a)) : K
254
254
  );
255
255
  }, R.jsxs = function(a, i, x) {
256
- var f = 1e4 > E.recentlyCreatedOwnerStacks++;
256
+ var f = 1e4 > N.recentlyCreatedOwnerStacks++;
257
257
  return d(
258
258
  a,
259
259
  i,
@@ -273,7 +273,7 @@ var e = $1();
273
273
  function u0({ url: s, title: l }) {
274
274
  return /* @__PURE__ */ e.jsxs("div", { children: [
275
275
  l !== void 0 && /* @__PURE__ */ e.jsx(c1, { children: /* @__PURE__ */ e.jsx("title", { children: l }) }),
276
- /* @__PURE__ */ e.jsx(g1, { url: s, deepLinking: !0 })
276
+ /* @__PURE__ */ e.jsx(p1, { url: s, deepLinking: !0 })
277
277
  ] });
278
278
  }
279
279
  const z1 = [
@@ -307,19 +307,19 @@ const z1 = [
307
307
  url: "https://d-nb.info/gnd"
308
308
  }
309
309
  ];
310
- function m1({ showLabel: s, children: l, className: r }) {
310
+ function x1({ showLabel: s, children: l, className: r }) {
311
311
  let t = "inline-flex bg-white bg-no-repeat bg-[5px] rounded-sm px-1.5 gap-1 align-text-bottom", c;
312
312
  const n = z1.find(({ pattern: o, url: d, schema: m }) => {
313
313
  const p = new RegExp(
314
314
  `^(?:${o || d}/|${m}:)([a-z\\d]+)$`,
315
315
  "i"
316
- ), g = l.match(p);
317
- return g ? (c = g[1], !0) : !1;
316
+ ), _ = l.match(p);
317
+ return _ ? (c = _[1], !0) : !1;
318
318
  });
319
319
  if (!n)
320
320
  return /* @__PURE__ */ e.jsx("span", { className: t, children: l });
321
- const { url: h, label: v, classes: _ = "" } = n;
322
- return t += ` ${_}`, /* @__PURE__ */ e.jsxs("span", { className: t, children: [
321
+ const { url: h, label: v, classes: g = "" } = n;
322
+ return t += ` ${g}`, /* @__PURE__ */ e.jsxs("span", { className: t, children: [
323
323
  s && `${v}: `,
324
324
  /* @__PURE__ */ e.jsx("a", { className: r, href: `${h}/${c}`, title: v, children: c })
325
325
  ] });
@@ -359,7 +359,7 @@ function V(s, l = "en-GB") {
359
359
  return r.match("^-?[0-9]{4}") ? S(r, 1e3) : r;
360
360
  }
361
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 _0({
362
+ function g0({
363
363
  wikidataId: s,
364
364
  name: l,
365
365
  birthLabel: r = "b.",
@@ -368,17 +368,17 @@ function _0({
368
368
  }) {
369
369
  const [n, h] = j(null);
370
370
  P(() => {
371
- function p(b) {
372
- return b.startsWith("http://www.wikidata.org/.well-known/genid") ? c : V(b.replace(/^(-?\d{4}).*$/, "$1"));
371
+ function p(w) {
372
+ return w.startsWith("http://www.wikidata.org/.well-known/genid") ? c : V(w.replace(/^(-?\d{4}).*$/, "$1"));
373
373
  }
374
- async function g(b) {
374
+ async function _(w) {
375
375
  const I = `
376
376
  SELECT ?author ?authorLabel ?birthDate ?deathDate ?gender ?genderLabel
377
377
  ?birthPlace ?birthPlaceLabel ?birthCoord
378
378
  ?deathPlace ?deathPlaceLabel ?deathCoord
379
379
  ?img ?gnd
380
380
  WHERE {
381
- BIND (wd:${b} AS ?author)
381
+ BIND (wd:${w} AS ?author)
382
382
  OPTIONAL { ?author wdt:P569 ?birthDate. }
383
383
  OPTIONAL { ?author wdt:P570 ?deathDate. }
384
384
  OPTIONAL { ?author wdt:P21 ?gender. }
@@ -396,29 +396,29 @@ WHERE {
396
396
  }
397
397
  };
398
398
  try {
399
- const w = await fetch(Z, F);
400
- if (w.status !== 200) {
401
- console.log(w.status);
399
+ const E = await fetch(Z, F);
400
+ if (E.status !== 200) {
401
+ console.log(E.status);
402
402
  return;
403
403
  }
404
- const D = (await w.json()).results?.bindings || [], {
404
+ const D = (await E.json()).results?.bindings || [], {
405
405
  authorLabel: B,
406
- img: T,
406
+ img: C,
407
407
  birthDate: H,
408
408
  birthPlaceLabel: $,
409
- deathDate: N,
409
+ deathDate: M,
410
410
  deathPlaceLabel: z
411
- } = D[0], A = [], E = [];
412
- H?.value && A.push(p(H.value)), $?.value && A.push($.value), N?.value && E.push(p(N.value)), z?.value && E.push(z.value);
413
- const y = { name: B.value, birth: A, death: E };
414
- T?.value && (y.imageUrl = T.value.replace(/^http:/, "https:"), y.commonsPage = T.value.replace(/Special:FilePath\//, "File:").replace(/^http:/, "https:")), h(y);
415
- } catch (w) {
416
- console.log(w);
411
+ } = D[0], T = [], N = [];
412
+ H?.value && T.push(p(H.value)), $?.value && T.push($.value), M?.value && N.push(p(M.value)), z?.value && N.push(z.value);
413
+ const y = { name: B.value, birth: T, death: N };
414
+ C?.value && (y.imageUrl = C.value.replace(/^http:/, "https:"), y.commonsPage = C.value.replace(/Special:FilePath\//, "File:").replace(/^http:/, "https:")), h(y);
415
+ } catch (E) {
416
+ console.log(E);
417
417
  }
418
418
  }
419
- s && g(s);
419
+ s && _(s);
420
420
  }, [s, c]);
421
- const { name: v, imageUrl: _, commonsPage: o, birth: d = [], death: m = [] } = n || {};
421
+ const { name: v, imageUrl: g, commonsPage: o, birth: d = [], death: m = [] } = n || {};
422
422
  return /* @__PURE__ */ e.jsxs("div", { className: "flex whitespace-nowrap", children: [
423
423
  /* @__PURE__ */ e.jsxs(
424
424
  "div",
@@ -426,10 +426,10 @@ WHERE {
426
426
  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
427
  style: { backgroundSize: "70%" },
428
428
  children: [
429
- _ && /* @__PURE__ */ e.jsx(
429
+ g && /* @__PURE__ */ e.jsx(
430
430
  "img",
431
431
  {
432
- src: _,
432
+ src: g,
433
433
  title: v,
434
434
  alt: "",
435
435
  className: "object-cover object-top w-full h-full"
@@ -457,7 +457,7 @@ WHERE {
457
457
  ),
458
458
  /* @__PURE__ */ e.jsxs("span", { children: [
459
459
  /* @__PURE__ */ e.jsx("div", { className: "text-lg", children: l || v }),
460
- s && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(m1, { children: `wikidata:${s}` }) }),
460
+ s && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(x1, { children: `wikidata:${s}` }) }),
461
461
  d.length > 0 && /* @__PURE__ */ e.jsxs("div", { children: [
462
462
  r,
463
463
  " ",
@@ -471,7 +471,7 @@ WHERE {
471
471
  ] })
472
472
  ] });
473
473
  }
474
- const g0 = ({ data: s }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map((l, r) => /* @__PURE__ */ e.jsxs("span", { children: [
474
+ const _0 = ({ data: s }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map((l, r) => /* @__PURE__ */ e.jsxs("span", { children: [
475
475
  r > 0 && /* @__PURE__ */ e.jsx("br", {}),
476
476
  l.name,
477
477
  l.pseudonym && /* @__PURE__ */ e.jsxs("i", { children: [
@@ -481,9 +481,25 @@ const g0 = ({ data: s }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map(
481
481
  ] }),
482
482
  l.ref && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
483
483
  " ",
484
- /* @__PURE__ */ e.jsx("small", { children: /* @__PURE__ */ e.jsx(m1, { children: l.ref }) })
484
+ /* @__PURE__ */ e.jsx("small", { children: /* @__PURE__ */ e.jsx(x1, { children: l.ref }) })
485
485
  ] })
486
486
  ] }, `${r}-${l.name}`)) });
487
+ function p0({ repo: s, children: l }) {
488
+ const r = l.trim(), t = r.substring(0, 7), c = `${s}/commit/${r}`;
489
+ return s ? /* @__PURE__ */ e.jsxs(
490
+ "a",
491
+ {
492
+ href: c,
493
+ target: "_blank",
494
+ rel: "noreferrer noopener",
495
+ className: "text-sm",
496
+ children: [
497
+ /* @__PURE__ */ e.jsx(b, { icon: i1, size: "lg", className: "mr-1" }),
498
+ t
499
+ ]
500
+ }
501
+ ) : /* @__PURE__ */ e.jsx("span", { title: "Git commit", children: t });
502
+ }
487
503
  function V1({
488
504
  value: s,
489
505
  onChange: l,
@@ -507,12 +523,12 @@ function V1({
507
523
  }
508
524
  );
509
525
  }
510
- function p0({ url: s, match: l }) {
526
+ function j0({ url: s, match: l }) {
511
527
  const [r, t] = j(""), [c, n] = j("");
512
528
  return P(() => {
513
- async function h(_) {
529
+ async function h(g) {
514
530
  try {
515
- const o = await fetch(_, { method: "GET" });
531
+ const o = await fetch(g, { method: "GET" });
516
532
  if (o.status == 404) {
517
533
  t("Not Found"), n("Not Found");
518
534
  return;
@@ -526,8 +542,8 @@ function p0({ url: s, match: l }) {
526
542
  }
527
543
  const m = await o.text();
528
544
  t(m);
529
- const g = m.replace(/^\s+/, "").split(/(\n|\r|\r\n){2,}/)[0].match(/^#\s*(.+)/);
530
- n(g ? g[1] : "...");
545
+ const _ = m.replace(/^\s+/, "").split(/(\n|\r|\r\n){2,}/)[0].match(/^#\s*(.+)/);
546
+ n(_ ? _[1] : "...");
531
547
  } catch (o) {
532
548
  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));
533
549
  }
@@ -536,7 +552,7 @@ function p0({ url: s, match: l }) {
536
552
  v && h(v);
537
553
  }, [s, l]), /* @__PURE__ */ e.jsxs("div", { children: [
538
554
  c && /* @__PURE__ */ e.jsx(c1, { children: /* @__PURE__ */ e.jsx("title", { children: c }) }),
539
- /* @__PURE__ */ e.jsx(p1, { children: r })
555
+ /* @__PURE__ */ e.jsx(j1, { children: r })
540
556
  ] });
541
557
  }
542
558
  const q1 = (s) => /* @__PURE__ */ e.jsxs(
@@ -1112,7 +1128,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
1112
1128
  ]
1113
1129
  }
1114
1130
  );
1115
- function j0({ href: s, type: l, name: r }) {
1131
+ function b0({ href: s, type: l, name: r }) {
1116
1132
  const t = "w-14", c = r.match(/^[a-z0-9]/i) ? r : "download";
1117
1133
  let n;
1118
1134
  switch (l) {
@@ -1210,7 +1226,7 @@ const J1 = (s) => /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000
1210
1226
  ] })
1211
1227
  }
1212
1228
  ), { protocol: Q1, host: K1 } = window.location, e0 = `${Q1}//${K1}/id/`;
1213
- function b0({
1229
+ function w0({
1214
1230
  children: s,
1215
1231
  className: l = "",
1216
1232
  uri: r,
@@ -1225,23 +1241,23 @@ function b0({
1225
1241
  children: [
1226
1242
  c === "ein" && /* @__PURE__ */ e.jsx(X1, { style: { width: "25px" } }),
1227
1243
  c === "dracor" && /* @__PURE__ */ e.jsx(J1, { style: { width: "15px" } }),
1228
- /* @__PURE__ */ e.jsx(y1, { text: h, children: /* @__PURE__ */ e.jsxs("span", { title: "copy to clipboard", children: [
1244
+ /* @__PURE__ */ e.jsx(k1, { text: h, children: /* @__PURE__ */ e.jsxs("span", { title: "copy to clipboard", children: [
1229
1245
  /* @__PURE__ */ e.jsx("span", { className: "pr-1", children: n }),
1230
- /* @__PURE__ */ e.jsx(M, { icon: j1, size: "sm" })
1246
+ /* @__PURE__ */ e.jsx(b, { icon: b1, size: "sm" })
1231
1247
  ] }) })
1232
1248
  ]
1233
1249
  }
1234
1250
  );
1235
1251
  }
1236
- function w0({
1252
+ function E0({
1237
1253
  languages: s,
1238
1254
  current: l = "",
1239
1255
  onSelect: r
1240
1256
  }) {
1241
- return /* @__PURE__ */ e.jsxs(i1, { as: "div", className: "relative inline-block text-left", children: [
1242
- /* @__PURE__ */ e.jsx(o1, { className: "relative justify-center inline-flex mr-8 hover:text-neutral-100", children: /* @__PURE__ */ e.jsx(M, { icon: b1, size: "2x" }) }),
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" }) }),
1243
1259
  /* @__PURE__ */ e.jsx(
1244
- h1,
1260
+ d1,
1245
1261
  {
1246
1262
  as: n1,
1247
1263
  enter: "transition ease-out duration-100",
@@ -1250,7 +1266,7 @@ function w0({
1250
1266
  leave: "transition ease-in duration-75",
1251
1267
  leaveFrom: "transform opacity-100 scale-100",
1252
1268
  leaveTo: "transform opacity-0 scale-95",
1253
- 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(
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(
1254
1270
  "button",
1255
1271
  {
1256
1272
  className: `group flex w-full items-center rounded-sm px-2 py-1
@@ -1287,22 +1303,22 @@ function a0({ label: s, to: l, params: r, href: t, className: c }) {
1287
1303
  }
1288
1304
  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";
1289
1305
  function s0({ label: s, items: l, menuClass: r }) {
1290
- const t = k1();
1306
+ const t = Z1();
1291
1307
  function c({ to: h }) {
1292
1308
  return h && t.pathname.startsWith(h);
1293
1309
  }
1294
1310
  const n = !!l.find((h) => c(h));
1295
- return /* @__PURE__ */ e.jsxs(i1, { as: "div", className: "relative inline-block text-left", children: [
1311
+ return /* @__PURE__ */ e.jsxs(o1, { as: "div", className: "relative inline-block text-left", children: [
1296
1312
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
1297
- o1,
1313
+ h1,
1298
1314
  {
1299
1315
  className: `block md:inline-block justify-center text-white hover:text-blue-100 uppercase ${n ? "border-b-4" : ""} ${r}`,
1300
1316
  children: [
1301
1317
  s,
1302
1318
  /* @__PURE__ */ e.jsx(
1303
- M,
1319
+ b,
1304
1320
  {
1305
- icon: w1,
1321
+ icon: E1,
1306
1322
  className: "ml-2 mt-1",
1307
1323
  size: "sm",
1308
1324
  "aria-hidden": "true"
@@ -1312,7 +1328,7 @@ function s0({ label: s, items: l, menuClass: r }) {
1312
1328
  }
1313
1329
  ) }),
1314
1330
  /* @__PURE__ */ e.jsx(
1315
- h1,
1331
+ d1,
1316
1332
  {
1317
1333
  as: n1,
1318
1334
  enter: "transition ease-out duration-100",
@@ -1321,7 +1337,7 @@ function s0({ label: s, items: l, menuClass: r }) {
1321
1337
  leave: "transition ease-in duration-75",
1322
1338
  leaveFrom: "transform opacity-100 scale-100",
1323
1339
  leaveTo: "transform opacity-0 scale-95",
1324
- 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(
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(
1325
1341
  "a",
1326
1342
  {
1327
1343
  href: v,
@@ -1334,7 +1350,7 @@ function s0({ label: s, items: l, menuClass: r }) {
1334
1350
  q,
1335
1351
  {
1336
1352
  to: h,
1337
- params: _,
1353
+ params: g,
1338
1354
  className: l1 + " [&.active]:bg-blue-300 [&.active]:text-white [&.active]:font-medium [&.active]:hover:bg-blue-100 [&.active]:hover:text-gray-900",
1339
1355
  children: o
1340
1356
  }
@@ -1343,7 +1359,7 @@ function s0({ label: s, items: l, menuClass: r }) {
1343
1359
  )
1344
1360
  ] });
1345
1361
  }
1346
- function E0({
1362
+ function N0({
1347
1363
  title: s,
1348
1364
  logo: l,
1349
1365
  logoClass: r,
@@ -1352,7 +1368,7 @@ function E0({
1352
1368
  gitHubIcon: n,
1353
1369
  gitHubTitle: h,
1354
1370
  addItem: v,
1355
- navItems: _
1371
+ navItems: g
1356
1372
  }) {
1357
1373
  const [o, d] = j(!1);
1358
1374
  return /* @__PURE__ */ e.jsxs("nav", { className: "flex items-center justify-between flex-wrap p-4 bg-primary text-white font-medium", children: [
@@ -1389,7 +1405,7 @@ function E0({
1389
1405
  {
1390
1406
  className: `block md:flex grow md:items-center w-full md:w-auto ${o ? "" : "hidden"}`,
1391
1407
  children: [
1392
- _?.length && /* @__PURE__ */ e.jsx("div", { className: "my-2 md:grow md:flex-row flex justify-center flex-col gap-4", children: _.map(
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(
1393
1409
  (m) => "items" in m ? /* @__PURE__ */ e.jsx(
1394
1410
  s0,
1395
1411
  {
@@ -1406,7 +1422,7 @@ function E0({
1406
1422
  href: c,
1407
1423
  title: h || "GitHub",
1408
1424
  className: "text-white text-2xl",
1409
- children: n || /* @__PURE__ */ e.jsx(M, { icon: Z1, size: "2xl" })
1425
+ children: n || /* @__PURE__ */ e.jsx(b, { icon: i1, size: "2xl" })
1410
1426
  }
1411
1427
  ) })
1412
1428
  ]
@@ -1415,7 +1431,7 @@ function E0({
1415
1431
  ] });
1416
1432
  }
1417
1433
  function M0({ columns: s, data: l, defaultSort: r = [] }) {
1418
- const [t, c] = j(r), [n, h] = j(""), [v] = j(l), _ = T1({
1434
+ const [t, c] = j(r), [n, h] = j(""), [v] = j(l), g = C1({
1419
1435
  data: v,
1420
1436
  columns: s,
1421
1437
  state: {
@@ -1425,8 +1441,8 @@ function M0({ columns: s, data: l, defaultSort: r = [] }) {
1425
1441
  onSortingChange: c,
1426
1442
  onGlobalFilterChange: h,
1427
1443
  getCoreRowModel: R1(),
1428
- getSortedRowModel: C1(),
1429
- getFilteredRowModel: A1(),
1444
+ getSortedRowModel: A1(),
1445
+ getFilteredRowModel: T1(),
1430
1446
  debugTable: !0
1431
1447
  });
1432
1448
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
@@ -1441,12 +1457,12 @@ function M0({ columns: s, data: l, defaultSort: r = [] }) {
1441
1457
  ),
1442
1458
  n !== "" && /* @__PURE__ */ e.jsxs("span", { className: "ml-2", children: [
1443
1459
  "(",
1444
- _.getRowModel().rows.length,
1460
+ g.getRowModel().rows.length,
1445
1461
  ")"
1446
1462
  ] })
1447
1463
  ] }),
1448
1464
  /* @__PURE__ */ e.jsx("div", { className: "flex", children: /* @__PURE__ */ e.jsxs("table", { children: [
1449
- /* @__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(
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(
1450
1466
  "div",
1451
1467
  {
1452
1468
  className: d.column.getCanSort() ? "cursor-pointer select-none" : "",
@@ -1461,7 +1477,7 @@ function M0({ columns: s, data: l, defaultSort: r = [] }) {
1461
1477
  ]
1462
1478
  }
1463
1479
  ) }, d.id)) }, o.id)) }),
1464
- /* @__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)) })
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)) })
1465
1481
  ] }) })
1466
1482
  ] });
1467
1483
  }
@@ -1471,11 +1487,11 @@ function t0({ status: s }) {
1471
1487
  /* @__PURE__ */ e.jsx("span", { className: s !== "desc" ? "opacity-40" : "", children: "▼" })
1472
1488
  ] });
1473
1489
  }
1474
- function N0({ data: s }) {
1490
+ function y0({ data: s }) {
1475
1491
  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";
1476
1492
  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)) }) });
1477
1493
  }
1478
- function y0({ url: s }) {
1494
+ function k0({ url: s }) {
1479
1495
  const l = _1(null);
1480
1496
  return P(() => {
1481
1497
  const r = new S1();
@@ -1486,7 +1502,7 @@ function y0({ url: s }) {
1486
1502
  });
1487
1503
  }, [s]), /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx("div", { ref: l }) });
1488
1504
  }
1489
- function k0({
1505
+ function Z0({
1490
1506
  written: s,
1491
1507
  premiere: l,
1492
1508
  print: r,
@@ -1498,7 +1514,7 @@ function k0({
1498
1514
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1499
1515
  s && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1500
1516
  /* @__PURE__ */ e.jsxs("span", { title: h, children: [
1501
- /* @__PURE__ */ e.jsx(M, { icon: E1, size: "sm" }),
1517
+ /* @__PURE__ */ e.jsx(b, { icon: N1, size: "sm" }),
1502
1518
  " ",
1503
1519
  V(s, t)
1504
1520
  ] }),
@@ -1506,14 +1522,14 @@ function k0({
1506
1522
  ] }),
1507
1523
  l && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1508
1524
  /* @__PURE__ */ e.jsxs("span", { title: c, children: [
1509
- /* @__PURE__ */ e.jsx(M, { icon: M1, size: "sm" }),
1525
+ /* @__PURE__ */ e.jsx(b, { icon: M1, size: "sm" }),
1510
1526
  " ",
1511
1527
  V(l, t)
1512
1528
  ] }),
1513
1529
  " "
1514
1530
  ] }),
1515
1531
  r && /* @__PURE__ */ e.jsxs("span", { title: n, children: [
1516
- /* @__PURE__ */ e.jsx(M, { icon: N1, size: "sm" }),
1532
+ /* @__PURE__ */ e.jsx(b, { icon: y1, size: "sm" }),
1517
1533
  " ",
1518
1534
  V(r, t)
1519
1535
  ] })
@@ -1521,19 +1537,20 @@ function k0({
1521
1537
  }
1522
1538
  export {
1523
1539
  u0 as ApiDoc,
1524
- _0 as AuthorInfo,
1525
- g0 as Authors,
1540
+ g0 as AuthorInfo,
1541
+ _0 as Authors,
1542
+ p0 as Commit,
1526
1543
  V1 as DebouncedInput,
1527
- p0 as DocPage,
1528
- j0 as DownloadButton,
1529
- b0 as IdCopy,
1530
- m1 as IdLink,
1531
- w0 as LanguageMenu,
1532
- E0 as NavBar,
1533
- y0 as TEIText,
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,
1534
1551
  M0 as Table,
1535
- N0 as Tabs,
1536
- k0 as Years,
1552
+ y0 as Tabs,
1553
+ Z0 as Years,
1537
1554
  S as formatEra,
1538
1555
  V as formatYear
1539
1556
  };