@simoncomputing/mui-bueno-v2 0.25.11 → 0.25.13

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
@@ -2,9 +2,9 @@ import './index.css';var S3 = Object.defineProperty;
2
2
  var C3 = (t, e, n) => e in t ? S3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var Ac = (t, e, n) => C3(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import { createTheme as lM, Box as Ae, Typography as Je, InputLabel as Z0, FormControl as fi, Autocomplete as Q0, TextField as Ql, FormControlLabel as Oh, Checkbox as ev, FormLabel as cM, Button as Ln, styled as uM, Card as Oa, CardContent as Vb, IconButton as fr, Radio as T3, FormHelperText as k3, RadioGroup as E3, Slider as O3, MenuItem as Mh, ListItemIcon as tv, Select as M3, Switch as _3, InputAdornment as R3, useMediaQuery as $s, useTheme as Fn, Paper as ec, List as dM, ListItem as qf, ListItemButton as I3, CircularProgress as fM, Collapse as IS, TableRow as bl, TableCell as vl, Divider as vs, TableContainer as A3, Table as D3, TableHead as P3, TableBody as N3, Tooltip as ms, TablePagination as $3, Popper as pM, DialogActions as yp, Dialog as L3, DialogTitle as F3, DialogContent as B3, DialogContentText as V3, useScrollTrigger as z3, Zoom as H3, Fab as W3, Menu as j3, ListItemText as hM, Stepper as U3, Step as q3, StepLabel as K3, Chip as Y3, Link as mM, Drawer as G3, MenuList as J3, Tabs as X3, Tab as Z3, AppBar as Q3, Toolbar as eV, Breadcrumbs as tV, Snackbar as nV, AlertTitle as rV } from "@mui/material";
5
- import { jsx as w, jsxs as ee, Fragment as sn } from "react/jsx-runtime";
5
+ import { jsx as w, jsxs as ee, Fragment as vn } from "react/jsx-runtime";
6
6
  import * as A from "react";
7
- import Be, { useContext as Ju, createContext as tc, isValidElement as Kf, cloneElement as Yf, Children as oV, useCallback as Yr, useRef as vn, useLayoutEffect as gM, useEffect as Lt, useState as vt, useMemo as wo, forwardRef as _h, Component as iV, useDebugValue as yM, createRef as sV, memo as aV, createElement as lV, version as AS, useImperativeHandle as bM } from "react";
7
+ import Be, { useContext as Ju, createContext as tc, isValidElement as Kf, cloneElement as Yf, Children as oV, useCallback as Yr, useRef as bn, useLayoutEffect as gM, useEffect as Lt, useState as vt, useMemo as wo, forwardRef as _h, Component as iV, useDebugValue as yM, createRef as sV, memo as aV, createElement as lV, version as AS, useImperativeHandle as bM } from "react";
8
8
  import { useField as Xn, useFormikContext as vM, Formik as xM, Form as wM, FieldArray as cV } from "formik";
9
9
  import { Link as SM, useNavigate as nc, useLocation as nv } from "react-router-dom";
10
10
  import uV from "@emotion/styled";
@@ -2185,16 +2185,16 @@ function zM(t, e) {
2185
2185
  const n = Nh(t.theme);
2186
2186
  return Object.keys(t).map((r) => oW(t, e, r, n)).reduce(au, {});
2187
2187
  }
2188
- function fn(t) {
2188
+ function dn(t) {
2189
2189
  return zM(t, Dh);
2190
2190
  }
2191
- fn.propTypes = process.env.NODE_ENV !== "production" ? Dh.reduce((t, e) => (t[e] = Ls, t), {}) : {};
2192
- fn.filterProps = Dh;
2193
- function pn(t) {
2191
+ dn.propTypes = process.env.NODE_ENV !== "production" ? Dh.reduce((t, e) => (t[e] = Ls, t), {}) : {};
2192
+ dn.filterProps = Dh;
2193
+ function fn(t) {
2194
2194
  return zM(t, Ph);
2195
2195
  }
2196
- pn.propTypes = process.env.NODE_ENV !== "production" ? Ph.reduce((t, e) => (t[e] = Ls, t), {}) : {};
2197
- pn.filterProps = Ph;
2196
+ fn.propTypes = process.env.NODE_ENV !== "production" ? Ph.reduce((t, e) => (t[e] = Ls, t), {}) : {};
2197
+ fn.filterProps = Ph;
2198
2198
  process.env.NODE_ENV !== "production" && nW.reduce((t, e) => (t[e] = Ls, t), {});
2199
2199
  function $h(...t) {
2200
2200
  const e = t.reduce((r, o) => (o.filterProps.forEach((i) => {
@@ -2418,124 +2418,124 @@ const Qu = {
2418
2418
  },
2419
2419
  // spacing
2420
2420
  p: {
2421
- style: pn
2421
+ style: fn
2422
2422
  },
2423
2423
  pt: {
2424
- style: pn
2424
+ style: fn
2425
2425
  },
2426
2426
  pr: {
2427
- style: pn
2427
+ style: fn
2428
2428
  },
2429
2429
  pb: {
2430
- style: pn
2430
+ style: fn
2431
2431
  },
2432
2432
  pl: {
2433
- style: pn
2433
+ style: fn
2434
2434
  },
2435
2435
  px: {
2436
- style: pn
2436
+ style: fn
2437
2437
  },
2438
2438
  py: {
2439
- style: pn
2439
+ style: fn
2440
2440
  },
2441
2441
  padding: {
2442
- style: pn
2442
+ style: fn
2443
2443
  },
2444
2444
  paddingTop: {
2445
- style: pn
2445
+ style: fn
2446
2446
  },
2447
2447
  paddingRight: {
2448
- style: pn
2448
+ style: fn
2449
2449
  },
2450
2450
  paddingBottom: {
2451
- style: pn
2451
+ style: fn
2452
2452
  },
2453
2453
  paddingLeft: {
2454
- style: pn
2454
+ style: fn
2455
2455
  },
2456
2456
  paddingX: {
2457
- style: pn
2457
+ style: fn
2458
2458
  },
2459
2459
  paddingY: {
2460
- style: pn
2460
+ style: fn
2461
2461
  },
2462
2462
  paddingInline: {
2463
- style: pn
2463
+ style: fn
2464
2464
  },
2465
2465
  paddingInlineStart: {
2466
- style: pn
2466
+ style: fn
2467
2467
  },
2468
2468
  paddingInlineEnd: {
2469
- style: pn
2469
+ style: fn
2470
2470
  },
2471
2471
  paddingBlock: {
2472
- style: pn
2472
+ style: fn
2473
2473
  },
2474
2474
  paddingBlockStart: {
2475
- style: pn
2475
+ style: fn
2476
2476
  },
2477
2477
  paddingBlockEnd: {
2478
- style: pn
2478
+ style: fn
2479
2479
  },
2480
2480
  m: {
2481
- style: fn
2481
+ style: dn
2482
2482
  },
2483
2483
  mt: {
2484
- style: fn
2484
+ style: dn
2485
2485
  },
2486
2486
  mr: {
2487
- style: fn
2487
+ style: dn
2488
2488
  },
2489
2489
  mb: {
2490
- style: fn
2490
+ style: dn
2491
2491
  },
2492
2492
  ml: {
2493
- style: fn
2493
+ style: dn
2494
2494
  },
2495
2495
  mx: {
2496
- style: fn
2496
+ style: dn
2497
2497
  },
2498
2498
  my: {
2499
- style: fn
2499
+ style: dn
2500
2500
  },
2501
2501
  margin: {
2502
- style: fn
2502
+ style: dn
2503
2503
  },
2504
2504
  marginTop: {
2505
- style: fn
2505
+ style: dn
2506
2506
  },
2507
2507
  marginRight: {
2508
- style: fn
2508
+ style: dn
2509
2509
  },
2510
2510
  marginBottom: {
2511
- style: fn
2511
+ style: dn
2512
2512
  },
2513
2513
  marginLeft: {
2514
- style: fn
2514
+ style: dn
2515
2515
  },
2516
2516
  marginX: {
2517
- style: fn
2517
+ style: dn
2518
2518
  },
2519
2519
  marginY: {
2520
- style: fn
2520
+ style: dn
2521
2521
  },
2522
2522
  marginInline: {
2523
- style: fn
2523
+ style: dn
2524
2524
  },
2525
2525
  marginInlineStart: {
2526
- style: fn
2526
+ style: dn
2527
2527
  },
2528
2528
  marginInlineEnd: {
2529
- style: fn
2529
+ style: dn
2530
2530
  },
2531
2531
  marginBlock: {
2532
- style: fn
2532
+ style: dn
2533
2533
  },
2534
2534
  marginBlockStart: {
2535
- style: fn
2535
+ style: dn
2536
2536
  },
2537
2537
  marginBlockEnd: {
2538
- style: fn
2538
+ style: dn
2539
2539
  },
2540
2540
  // display
2541
2541
  displayPrint: {
@@ -10186,7 +10186,7 @@ function Y_(t, e, n) {
10186
10186
  }
10187
10187
  return n;
10188
10188
  }
10189
- class ln {
10189
+ class an {
10190
10190
  /**
10191
10191
  Create a plugin.
10192
10192
  */
@@ -14109,7 +14109,7 @@ function Oy(t, e, n = !0) {
14109
14109
  return e.altKey && (t = "Alt-" + t), e.ctrlKey && (t = "Ctrl-" + t), e.metaKey && (t = "Meta-" + t), n && e.shiftKey && (t = "Shift-" + t), t;
14110
14110
  }
14111
14111
  function e7(t) {
14112
- return new ln({ props: { handleKeyDown: Tv(t) } });
14112
+ return new an({ props: { handleKeyDown: Tv(t) } });
14113
14113
  }
14114
14114
  function Tv(t) {
14115
14115
  let e = Q8(t);
@@ -14990,7 +14990,7 @@ function bf(t) {
14990
14990
  }), f;
14991
14991
  }
14992
14992
  function O7(t) {
14993
- const { editor: e, rules: n } = t, r = new ln({
14993
+ const { editor: e, rules: n } = t, r = new an({
14994
14994
  state: {
14995
14995
  init() {
14996
14996
  return null;
@@ -15203,7 +15203,7 @@ function P7(t) {
15203
15203
  return s = typeof ClipboardEvent < "u" ? new ClipboardEvent("paste") : null, y;
15204
15204
  }
15205
15205
  };
15206
- return n.map((f) => new ln({
15206
+ return n.map((f) => new an({
15207
15207
  // we register a global drag handler to track the current drag source element
15208
15208
  view(p) {
15209
15209
  const m = (b) => {
@@ -15500,7 +15500,7 @@ const $7 = xn.create({
15500
15500
  },
15501
15501
  addProseMirrorPlugins() {
15502
15502
  return [
15503
- new ln({
15503
+ new an({
15504
15504
  key: new An("clipboardTextSerializer"),
15505
15505
  props: {
15506
15506
  clipboardTextSerializer: () => {
@@ -16486,7 +16486,7 @@ const eq = xn.create({
16486
16486
  name: "drop",
16487
16487
  addProseMirrorPlugins() {
16488
16488
  return [
16489
- new ln({
16489
+ new an({
16490
16490
  key: new An("tiptapDrop"),
16491
16491
  props: {
16492
16492
  handleDrop: (t, e, n, r) => {
@@ -16505,7 +16505,7 @@ const eq = xn.create({
16505
16505
  name: "editable",
16506
16506
  addProseMirrorPlugins() {
16507
16507
  return [
16508
- new ln({
16508
+ new an({
16509
16509
  key: new An("editable"),
16510
16510
  props: {
16511
16511
  editable: () => this.editor.options.editable
@@ -16518,7 +16518,7 @@ const eq = xn.create({
16518
16518
  addProseMirrorPlugins() {
16519
16519
  const { editor: t } = this;
16520
16520
  return [
16521
- new ln({
16521
+ new an({
16522
16522
  key: rq,
16523
16523
  props: {
16524
16524
  handleDOMEvents: {
@@ -16591,7 +16591,7 @@ const eq = xn.create({
16591
16591
  // to a paragraph if necessary.
16592
16592
  // This is an alternative to ProseMirror's `AllSelection`, which doesn’t work well
16593
16593
  // with many other commands.
16594
- new ln({
16594
+ new an({
16595
16595
  key: new An("clearDocument"),
16596
16596
  appendTransaction: (t, e, n) => {
16597
16597
  if (t.some((y) => y.getMeta("composition")))
@@ -16619,7 +16619,7 @@ const eq = xn.create({
16619
16619
  name: "paste",
16620
16620
  addProseMirrorPlugins() {
16621
16621
  return [
16622
- new ln({
16622
+ new an({
16623
16623
  key: new An("tiptapPaste"),
16624
16624
  props: {
16625
16625
  handlePaste: (t, e, n) => {
@@ -16637,7 +16637,7 @@ const eq = xn.create({
16637
16637
  name: "tabindex",
16638
16638
  addProseMirrorPlugins() {
16639
16639
  return [
16640
- new ln({
16640
+ new an({
16641
16641
  key: new An("tabindex"),
16642
16642
  props: {
16643
16643
  attributes: () => this.editor.isEditable ? { tabindex: "0" } : {}
@@ -17275,7 +17275,7 @@ function jl(t) {
17275
17275
  }
17276
17276
  });
17277
17277
  }
17278
- class an {
17278
+ class sn {
17279
17279
  constructor(e = {}) {
17280
17280
  this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = {
17281
17281
  name: this.name,
@@ -17291,7 +17291,7 @@ class an {
17291
17291
  })) || {};
17292
17292
  }
17293
17293
  static create(e = {}) {
17294
- return new an(e);
17294
+ return new sn(e);
17295
17295
  }
17296
17296
  configure(e = {}) {
17297
17297
  const n = this.extend({
@@ -17301,7 +17301,7 @@ class an {
17301
17301
  return n.name = this.name, n.parent = this.parent, n;
17302
17302
  }
17303
17303
  extend(e = {}) {
17304
- const n = new an(e);
17304
+ const n = new sn(e);
17305
17305
  return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = ht(We(n, "addOptions", {
17306
17306
  name: n.name
17307
17307
  })), n.storage = ht(We(n, "addStorage", {
@@ -17441,7 +17441,7 @@ function fq(t, e) {
17441
17441
  function pq(t) {
17442
17442
  return t.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
17443
17443
  }
17444
- const hq = /^\s*>\s$/, rR = an.create({
17444
+ const hq = /^\s*>\s$/, rR = sn.create({
17445
17445
  name: "blockquote",
17446
17446
  addOptions() {
17447
17447
  return {
@@ -17545,7 +17545,7 @@ const hq = /^\s*>\s$/, rR = an.create({
17545
17545
  })
17546
17546
  ];
17547
17547
  }
17548
- }), vq = "listItem", OT = "textStyle", MT = /^\s*([-+*])\s$/, iR = an.create({
17548
+ }), vq = "listItem", OT = "textStyle", MT = /^\s*([-+*])\s$/, iR = sn.create({
17549
17549
  name: "bulletList",
17550
17550
  addOptions() {
17551
17551
  return {
@@ -17639,7 +17639,7 @@ const hq = /^\s*>\s$/, rR = an.create({
17639
17639
  })
17640
17640
  ];
17641
17641
  }
17642
- }), Sq = /^```([a-z]+)?[\s\n]$/, Cq = /^~~~([a-z]+)?[\s\n]$/, aR = an.create({
17642
+ }), Sq = /^```([a-z]+)?[\s\n]$/, Cq = /^~~~([a-z]+)?[\s\n]$/, aR = sn.create({
17643
17643
  name: "codeBlock",
17644
17644
  addOptions() {
17645
17645
  return {
@@ -17749,7 +17749,7 @@ const hq = /^\s*>\s$/, rR = an.create({
17749
17749
  return [
17750
17750
  // this plugin creates a code block for pasted content from VS Code
17751
17751
  // we can also detect the copied code language
17752
- new ln({
17752
+ new an({
17753
17753
  key: new An("codeBlockVSCodeHandler"),
17754
17754
  props: {
17755
17755
  handlePaste: (t, e) => {
@@ -17766,13 +17766,13 @@ const hq = /^\s*>\s$/, rR = an.create({
17766
17766
  })
17767
17767
  ];
17768
17768
  }
17769
- }), lR = an.create({
17769
+ }), lR = sn.create({
17770
17770
  name: "doc",
17771
17771
  topNode: !0,
17772
17772
  content: "block+"
17773
17773
  });
17774
17774
  function Tq(t = {}) {
17775
- return new ln({
17775
+ return new an({
17776
17776
  view(e) {
17777
17777
  return new kq(e, t);
17778
17778
  }
@@ -17867,7 +17867,7 @@ const cR = xn.create({
17867
17867
  ];
17868
17868
  }
17869
17869
  });
17870
- class yn extends ot {
17870
+ class gn extends ot {
17871
17871
  /**
17872
17872
  Create a gap cursor.
17873
17873
  */
@@ -17876,13 +17876,13 @@ class yn extends ot {
17876
17876
  }
17877
17877
  map(e, n) {
17878
17878
  let r = e.resolve(n.map(this.head));
17879
- return yn.valid(r) ? new yn(r) : ot.near(r);
17879
+ return gn.valid(r) ? new gn(r) : ot.near(r);
17880
17880
  }
17881
17881
  content() {
17882
17882
  return De.empty;
17883
17883
  }
17884
17884
  eq(e) {
17885
- return e instanceof yn && e.head == this.head;
17885
+ return e instanceof gn && e.head == this.head;
17886
17886
  }
17887
17887
  toJSON() {
17888
17888
  return { type: "gapcursor", pos: this.head };
@@ -17893,7 +17893,7 @@ class yn extends ot {
17893
17893
  static fromJSON(e, n) {
17894
17894
  if (typeof n.pos != "number")
17895
17895
  throw new RangeError("Invalid input for GapCursor.fromJSON");
17896
- return new yn(e.resolve(n.pos));
17896
+ return new gn(e.resolve(n.pos));
17897
17897
  }
17898
17898
  /**
17899
17899
  @internal
@@ -17919,7 +17919,7 @@ class yn extends ot {
17919
17919
  */
17920
17920
  static findGapCursorFrom(e, n, r = !1) {
17921
17921
  e: for (; ; ) {
17922
- if (!r && yn.valid(e))
17922
+ if (!r && gn.valid(e))
17923
17923
  return e;
17924
17924
  let o = e.pos, i = null;
17925
17925
  for (let s = e.depth; ; s--) {
@@ -17931,7 +17931,7 @@ class yn extends ot {
17931
17931
  return null;
17932
17932
  o += n;
17933
17933
  let l = e.doc.resolve(o);
17934
- if (yn.valid(l))
17934
+ if (gn.valid(l))
17935
17935
  return l;
17936
17936
  }
17937
17937
  for (; ; ) {
@@ -17945,16 +17945,16 @@ class yn extends ot {
17945
17945
  }
17946
17946
  i = s, o += n;
17947
17947
  let a = e.doc.resolve(o);
17948
- if (yn.valid(a))
17948
+ if (gn.valid(a))
17949
17949
  return a;
17950
17950
  }
17951
17951
  return null;
17952
17952
  }
17953
17953
  }
17954
17954
  }
17955
- yn.prototype.visible = !1;
17956
- yn.findFrom = yn.findGapCursorFrom;
17957
- ot.jsonID("gapcursor", yn);
17955
+ gn.prototype.visible = !1;
17956
+ gn.findFrom = gn.findGapCursorFrom;
17957
+ ot.jsonID("gapcursor", gn);
17958
17958
  class Lv {
17959
17959
  constructor(e) {
17960
17960
  this.pos = e;
@@ -17964,7 +17964,7 @@ class Lv {
17964
17964
  }
17965
17965
  resolve(e) {
17966
17966
  let n = e.resolve(this.pos);
17967
- return yn.valid(n) ? new yn(n) : ot.near(n);
17967
+ return gn.valid(n) ? new gn(n) : ot.near(n);
17968
17968
  }
17969
17969
  }
17970
17970
  function uR(t) {
@@ -18005,11 +18005,11 @@ function Oq(t) {
18005
18005
  return !0;
18006
18006
  }
18007
18007
  function Mq() {
18008
- return new ln({
18008
+ return new an({
18009
18009
  props: {
18010
18010
  decorations: Aq,
18011
18011
  createSelectionBetween(t, e, n) {
18012
- return e.pos == n.pos && yn.valid(n) ? new yn(n) : null;
18012
+ return e.pos == n.pos && gn.valid(n) ? new gn(n) : null;
18013
18013
  },
18014
18014
  handleClick: Rq,
18015
18015
  handleKeyDown: _q,
@@ -18032,21 +18032,21 @@ function Sf(t, e) {
18032
18032
  return !1;
18033
18033
  l = !1, a = r.doc.resolve(e > 0 ? a.after() : a.before());
18034
18034
  }
18035
- let u = yn.findGapCursorFrom(a, e, l);
18036
- return u ? (o && o(r.tr.setSelection(new yn(u))), !0) : !1;
18035
+ let u = gn.findGapCursorFrom(a, e, l);
18036
+ return u ? (o && o(r.tr.setSelection(new gn(u))), !0) : !1;
18037
18037
  };
18038
18038
  }
18039
18039
  function Rq(t, e, n) {
18040
18040
  if (!t || !t.editable)
18041
18041
  return !1;
18042
18042
  let r = t.state.doc.resolve(e);
18043
- if (!yn.valid(r))
18043
+ if (!gn.valid(r))
18044
18044
  return !1;
18045
18045
  let o = t.posAtCoords({ left: n.clientX, top: n.clientY });
18046
- return o && o.inside > -1 && Ge.isSelectable(t.state.doc.nodeAt(o.inside)) ? !1 : (t.dispatch(t.state.tr.setSelection(new yn(r))), !0);
18046
+ return o && o.inside > -1 && Ge.isSelectable(t.state.doc.nodeAt(o.inside)) ? !1 : (t.dispatch(t.state.tr.setSelection(new gn(r))), !0);
18047
18047
  }
18048
18048
  function Iq(t, e) {
18049
- if (e.inputType != "insertCompositionText" || !(t.state.selection instanceof yn))
18049
+ if (e.inputType != "insertCompositionText" || !(t.state.selection instanceof gn))
18050
18050
  return !1;
18051
18051
  let { $from: n } = t.state.selection, r = n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);
18052
18052
  if (!r)
@@ -18058,7 +18058,7 @@ function Iq(t, e) {
18058
18058
  return i.setSelection(Xe.near(i.doc.resolve(n.pos + 1))), t.dispatch(i), !1;
18059
18059
  }
18060
18060
  function Aq(t) {
18061
- if (!(t.selection instanceof yn))
18061
+ if (!(t.selection instanceof gn))
18062
18062
  return null;
18063
18063
  let e = document.createElement("div");
18064
18064
  return e.className = "ProseMirror-gapcursor", en.create(t.doc, [ar.widget(t.selection.head, e, { key: "gapcursor" })]);
@@ -18081,7 +18081,7 @@ const dR = xn.create({
18081
18081
  allowGapCursor: (e = ht(We(t, "allowGapCursor", n))) !== null && e !== void 0 ? e : null
18082
18082
  };
18083
18083
  }
18084
- }), fR = an.create({
18084
+ }), fR = sn.create({
18085
18085
  name: "hardBreak",
18086
18086
  addOptions() {
18087
18087
  return {
@@ -18131,7 +18131,7 @@ const dR = xn.create({
18131
18131
  "Shift-Enter": () => this.editor.commands.setHardBreak()
18132
18132
  };
18133
18133
  }
18134
- }), pR = an.create({
18134
+ }), pR = sn.create({
18135
18135
  name: "heading",
18136
18136
  addOptions() {
18137
18137
  return {
@@ -18484,7 +18484,7 @@ function zq(t = {}) {
18484
18484
  return t = {
18485
18485
  depth: t.depth || 100,
18486
18486
  newGroupDelay: t.newGroupDelay || 500
18487
- }, new ln({
18487
+ }, new an({
18488
18488
  key: Ca,
18489
18489
  state: {
18490
18490
  init() {
@@ -18546,7 +18546,7 @@ const gR = mR(!1, !0), yR = mR(!0, !0), bR = xn.create({
18546
18546
  "Shift-Mod-я": () => this.editor.commands.redo()
18547
18547
  };
18548
18548
  }
18549
- }), vR = an.create({
18549
+ }), vR = sn.create({
18550
18550
  name: "horizontalRule",
18551
18551
  addOptions() {
18552
18552
  return {
@@ -18663,7 +18663,7 @@ const gR = mR(!1, !0), yR = mR(!0, !0), bR = xn.create({
18663
18663
  })
18664
18664
  ];
18665
18665
  }
18666
- }), wR = an.create({
18666
+ }), wR = sn.create({
18667
18667
  name: "listItem",
18668
18668
  addOptions() {
18669
18669
  return {
@@ -18691,7 +18691,7 @@ const gR = mR(!1, !0), yR = mR(!0, !0), bR = xn.create({
18691
18691
  "Shift-Tab": () => this.editor.commands.liftListItem(this.name)
18692
18692
  };
18693
18693
  }
18694
- }), qq = "listItem", IT = "textStyle", AT = /^(\d+)\.\s$/, SR = an.create({
18694
+ }), qq = "listItem", IT = "textStyle", AT = /^(\d+)\.\s$/, SR = sn.create({
18695
18695
  name: "orderedList",
18696
18696
  addOptions() {
18697
18697
  return {
@@ -18757,7 +18757,7 @@ const gR = mR(!1, !0), yR = mR(!0, !0), bR = xn.create({
18757
18757
  t
18758
18758
  ];
18759
18759
  }
18760
- }), CR = an.create({
18760
+ }), CR = sn.create({
18761
18761
  name: "paragraph",
18762
18762
  priority: 1e3,
18763
18763
  addOptions() {
@@ -18841,7 +18841,7 @@ const gR = mR(!1, !0), yR = mR(!0, !0), bR = xn.create({
18841
18841
  })
18842
18842
  ];
18843
18843
  }
18844
- }), kR = an.create({
18844
+ }), kR = sn.create({
18845
18845
  name: "text",
18846
18846
  group: "inline"
18847
18847
  }), ER = xn.create({
@@ -20994,8 +20994,8 @@ function yY(t) {
20994
20994
  R[C] = ve, V[C] = ve - B;
20995
20995
  }
20996
20996
  if (a) {
20997
- var Me, Oe = C === "x" ? Pr : Nr, Ve = C === "x" ? So : Co, qe = R[O], Ze = O === "y" ? "height" : "width", Le = qe + v[Oe], Ft = qe - v[Ve], Nt = [Pr, Nr].indexOf(S) !== -1, wn = (Me = F == null ? void 0 : F[O]) != null ? Me : 0, Dn = Nt ? Le : qe - P[Ze] - N[Ze] - wn + M.altAxis, nn = Nt ? qe + P[Ze] + N[Ze] - wn - M.altAxis : Ft, cn = g && Nt ? zK(Dn, qe, nn) : fu(g ? Dn : Le, qe, g ? nn : Ft);
20998
- R[O] = cn, V[O] = cn - qe;
20997
+ var Me, Oe = C === "x" ? Pr : Nr, Ve = C === "x" ? So : Co, qe = R[O], Ze = O === "y" ? "height" : "width", Le = qe + v[Oe], Ft = qe - v[Ve], Nt = [Pr, Nr].indexOf(S) !== -1, wn = (Me = F == null ? void 0 : F[O]) != null ? Me : 0, Dn = Nt ? Le : qe - P[Ze] - N[Ze] - wn + M.altAxis, nn = Nt ? qe + P[Ze] + N[Ze] - wn - M.altAxis : Ft, ln = g && Nt ? zK(Dn, qe, nn) : fu(g ? Dn : Le, qe, g ? nn : Ft);
20998
+ R[O] = ln, V[O] = ln - qe;
20999
20999
  }
21000
21000
  e.modifiersData[r] = V;
21001
21001
  }
@@ -22811,19 +22811,19 @@ const sm = (t, e) => {
22811
22811
  size: ae.size,
22812
22812
  startAdornment: de,
22813
22813
  type: pe
22814
- }, nn = qY(Dn), cn = re.root || u.Root || lm, Sn = K.root || f.root || {}, Zn = re.input || u.Input || cm;
22814
+ }, nn = qY(Dn), ln = re.root || u.Root || lm, Sn = K.root || f.root || {}, Zn = re.input || u.Input || cm;
22815
22815
  return Nt = {
22816
22816
  ...Nt,
22817
22817
  ...K.input ?? f.input
22818
22818
  }, /* @__PURE__ */ ee(A.Fragment, {
22819
22819
  children: [!g && typeof QT == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
22820
22820
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
22821
- (ZT || (ZT = /* @__PURE__ */ w(QT, {}))), /* @__PURE__ */ ee(cn, {
22821
+ (ZT || (ZT = /* @__PURE__ */ w(QT, {}))), /* @__PURE__ */ ee(ln, {
22822
22822
  ...Sn,
22823
22823
  ref: n,
22824
22824
  onClick: Le,
22825
22825
  ...Q,
22826
- ...!Vu(cn) && {
22826
+ ...!Vu(ln) && {
22827
22827
  ownerState: {
22828
22828
  ...Dn,
22829
22829
  ...Sn.ownerState
@@ -27922,8 +27922,8 @@ const fJ = (t) => {
27922
27922
  `));
27923
27923
  }
27924
27924
  }, [Dn, ve, k, T, q]), wn && (k ? Nt.length === 0 ? Le = null : Le = Nt.reduce((Te, Fe, Ke) => (Te.push(Fe), Ke < Nt.length - 1 && Te.push(", "), Te), []) : Le = Ft);
27925
- let cn = ne;
27926
- !s && ce && G && (cn = Z.clientWidth);
27925
+ let ln = ne;
27926
+ !s && ce && G && (ln = Z.clientWidth);
27927
27927
  let Sn;
27928
27928
  typeof D < "u" ? Sn = D : Sn = p ? null : 0;
27929
27929
  const Zn = L.id || (T ? `mui-component-select-${T}` : void 0), rt = {
@@ -28012,7 +28012,7 @@ const fJ = (t) => {
28012
28012
  paper: {
28013
28013
  ...Xt,
28014
28014
  style: {
28015
- minWidth: cn,
28015
+ minWidth: ln,
28016
28016
  ...Xt != null ? Xt.style : null
28017
28017
  }
28018
28018
  }
@@ -28819,7 +28819,7 @@ function i1(t, e) {
28819
28819
  return o;
28820
28820
  }
28821
28821
  function b0(t) {
28822
- var e = vn(t), n = vn(function(r) {
28822
+ var e = bn(t), n = bn(function(r) {
28823
28823
  e.current && e.current(r);
28824
28824
  });
28825
28825
  return e.current = t, n.current;
@@ -28839,7 +28839,7 @@ var Zl = function(t, e, n) {
28839
28839
  }, pk = function(t) {
28840
28840
  !gu(t) && t.preventDefault();
28841
28841
  }, s1 = Be.memo(function(t) {
28842
- var e = t.onMove, n = t.onKey, r = i1(t, ["onMove", "onKey"]), o = vn(null), i = b0(e), s = b0(n), a = vn(null), l = vn(!1), u = wo(function() {
28842
+ var e = t.onMove, n = t.onKey, r = i1(t, ["onMove", "onKey"]), o = bn(null), i = b0(e), s = b0(n), a = bn(null), l = bn(!1), u = wo(function() {
28843
28843
  var g = function(v) {
28844
28844
  pk(v), (gu(v) ? v.touches.length > 0 : v.buttons > 0) && o.current ? i(fk(o.current, v, a.current)) : y(!1);
28845
28845
  }, b = function() {
@@ -28929,7 +28929,7 @@ var Zl = function(t, e, n) {
28929
28929
  function cI(t, e, n) {
28930
28930
  var r = b0(n), o = vt(function() {
28931
28931
  return t.toHsva(e);
28932
- }), i = o[0], s = o[1], a = vn({ color: e, hsva: i });
28932
+ }), i = o[0], s = o[1], a = bn({ color: e, hsva: i });
28933
28933
  Lt(function() {
28934
28934
  if (!t.equal(e, a.current.color)) {
28935
28935
  var u = t.toHsva(e);
@@ -28959,7 +28959,7 @@ var kJ = typeof window < "u" ? gM : Lt, EJ = function() {
28959
28959
  }
28960
28960
  }, []);
28961
28961
  }, OJ = function(t) {
28962
- var e = t.className, n = t.colorModel, r = t.color, o = r === void 0 ? n.defaultColor : r, i = t.onChange, s = i1(t, ["className", "colorModel", "color", "onChange"]), a = vn(null);
28962
+ var e = t.className, n = t.colorModel, r = t.color, o = r === void 0 ? n.defaultColor : r, i = t.onChange, s = i1(t, ["className", "colorModel", "color", "onChange"]), a = bn(null);
28963
28963
  uI(a);
28964
28964
  var l = cI(n, o, i), u = l[0], f = l[1], p = ud(["react-colorful", e]);
28965
28965
  return Be.createElement("div", dc({}, s, { ref: a, className: p }), Be.createElement(sI, { hsva: u, onChange: f }), Be.createElement(iI, { hue: u.h, onChange: f, className: "react-colorful__last-control" }));
@@ -28975,7 +28975,7 @@ var kJ = typeof window < "u" ? gM : Lt, EJ = function() {
28975
28975
  r({ a: Zl(n.a + a.left) });
28976
28976
  }, "aria-label": "Alpha", "aria-valuetext": s + "%", "aria-valuenow": s, "aria-valuemin": "0", "aria-valuemax": "100" }, Be.createElement(a1, { className: "react-colorful__alpha-pointer", left: n.a, color: Ly(n) })));
28977
28977
  }, IJ = function(t) {
28978
- var e = t.className, n = t.colorModel, r = t.color, o = r === void 0 ? n.defaultColor : r, i = t.onChange, s = i1(t, ["className", "colorModel", "color", "onChange"]), a = vn(null);
28978
+ var e = t.className, n = t.colorModel, r = t.color, o = r === void 0 ? n.defaultColor : r, i = t.onChange, s = i1(t, ["className", "colorModel", "color", "onChange"]), a = bn(null);
28979
28979
  uI(a);
28980
28980
  var l = cI(n, o, i), u = l[0], f = l[1], p = ud(["react-colorful", e]);
28981
28981
  return Be.createElement("div", dc({}, s, { ref: a, className: p }), Be.createElement(sI, { hsva: u, onChange: f }), Be.createElement(iI, { hue: u.h, onChange: f }), Be.createElement(RJ, { hsva: u, onChange: f, className: "react-colorful__last-control" }));
@@ -29088,12 +29088,12 @@ const dd = Gt("ColorPicker"), FJ = te(_J, {
29088
29088
  marginTop: t.spacing(1)
29089
29089
  }));
29090
29090
  function HJ(t) {
29091
- const e = it({ props: t, name: dd }), { value: n, onChange: r, swatchColors: o, colorToHex: i = PJ, disableAlpha: s = !1, labels: a = {}, classes: l = {} } = e, { textFieldPlaceholder: u = 'Ex: "#7cb5ec"' } = a, f = vn(null);
29091
+ const e = it({ props: t, name: dd }), { value: n, onChange: r, swatchColors: o, colorToHex: i = PJ, disableAlpha: s = !1, labels: a = {}, classes: l = {} } = e, { textFieldPlaceholder: u = 'Ex: "#7cb5ec"' } = a, f = bn(null);
29092
29092
  Lt(() => {
29093
29093
  f.current && f.current !== document.activeElement && (f.current.value = n);
29094
29094
  }, [n]);
29095
29095
  const p = (o ?? []).map((g) => typeof g == "string" ? { value: g } : g), m = i(n);
29096
- return ee(sn, { children: [s ? w(FJ, { color: m ?? "#000000", className: me([
29096
+ return ee(vn, { children: [s ? w(FJ, { color: m ?? "#000000", className: me([
29097
29097
  Mf.gradientPicker,
29098
29098
  l.gradientPicker
29099
29099
  ]), onChange: (g) => {
@@ -30840,7 +30840,7 @@ process.env.NODE_ENV !== "production" && (yI.propTypes = {
30840
30840
  function mX(t) {
30841
30841
  return Ue("MuiTooltip", t);
30842
30842
  }
30843
- const gn = He("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]);
30843
+ const mn = He("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]);
30844
30844
  function gX(t) {
30845
30845
  return Math.round(t * 1e5) / 1e5;
30846
30846
  }
@@ -30890,28 +30890,28 @@ const yX = (t) => {
30890
30890
  ownerState: e
30891
30891
  }) => e.arrow,
30892
30892
  style: {
30893
- [`&[data-popper-placement*="bottom"] .${gn.arrow}`]: {
30893
+ [`&[data-popper-placement*="bottom"] .${mn.arrow}`]: {
30894
30894
  top: 0,
30895
30895
  marginTop: "-0.71em",
30896
30896
  "&::before": {
30897
30897
  transformOrigin: "0 100%"
30898
30898
  }
30899
30899
  },
30900
- [`&[data-popper-placement*="top"] .${gn.arrow}`]: {
30900
+ [`&[data-popper-placement*="top"] .${mn.arrow}`]: {
30901
30901
  bottom: 0,
30902
30902
  marginBottom: "-0.71em",
30903
30903
  "&::before": {
30904
30904
  transformOrigin: "100% 0"
30905
30905
  }
30906
30906
  },
30907
- [`&[data-popper-placement*="right"] .${gn.arrow}`]: {
30907
+ [`&[data-popper-placement*="right"] .${mn.arrow}`]: {
30908
30908
  height: "1em",
30909
30909
  width: "0.71em",
30910
30910
  "&::before": {
30911
30911
  transformOrigin: "100% 100%"
30912
30912
  }
30913
30913
  },
30914
- [`&[data-popper-placement*="left"] .${gn.arrow}`]: {
30914
+ [`&[data-popper-placement*="left"] .${mn.arrow}`]: {
30915
30915
  height: "1em",
30916
30916
  width: "0.71em",
30917
30917
  "&::before": {
@@ -30924,7 +30924,7 @@ const yX = (t) => {
30924
30924
  ownerState: e
30925
30925
  }) => e.arrow && !e.isRtl,
30926
30926
  style: {
30927
- [`&[data-popper-placement*="right"] .${gn.arrow}`]: {
30927
+ [`&[data-popper-placement*="right"] .${mn.arrow}`]: {
30928
30928
  left: 0,
30929
30929
  marginLeft: "-0.71em"
30930
30930
  }
@@ -30934,7 +30934,7 @@ const yX = (t) => {
30934
30934
  ownerState: e
30935
30935
  }) => e.arrow && !!e.isRtl,
30936
30936
  style: {
30937
- [`&[data-popper-placement*="right"] .${gn.arrow}`]: {
30937
+ [`&[data-popper-placement*="right"] .${mn.arrow}`]: {
30938
30938
  right: 0,
30939
30939
  marginRight: "-0.71em"
30940
30940
  }
@@ -30944,7 +30944,7 @@ const yX = (t) => {
30944
30944
  ownerState: e
30945
30945
  }) => e.arrow && !e.isRtl,
30946
30946
  style: {
30947
- [`&[data-popper-placement*="left"] .${gn.arrow}`]: {
30947
+ [`&[data-popper-placement*="left"] .${mn.arrow}`]: {
30948
30948
  right: 0,
30949
30949
  marginRight: "-0.71em"
30950
30950
  }
@@ -30954,7 +30954,7 @@ const yX = (t) => {
30954
30954
  ownerState: e
30955
30955
  }) => e.arrow && !!e.isRtl,
30956
30956
  style: {
30957
- [`&[data-popper-placement*="left"] .${gn.arrow}`]: {
30957
+ [`&[data-popper-placement*="left"] .${mn.arrow}`]: {
30958
30958
  left: 0,
30959
30959
  marginLeft: "-0.71em"
30960
30960
  }
@@ -30982,17 +30982,17 @@ const yX = (t) => {
30982
30982
  margin: 2,
30983
30983
  wordWrap: "break-word",
30984
30984
  fontWeight: t.typography.fontWeightMedium,
30985
- [`.${gn.popper}[data-popper-placement*="left"] &`]: {
30985
+ [`.${mn.popper}[data-popper-placement*="left"] &`]: {
30986
30986
  transformOrigin: "right center"
30987
30987
  },
30988
- [`.${gn.popper}[data-popper-placement*="right"] &`]: {
30988
+ [`.${mn.popper}[data-popper-placement*="right"] &`]: {
30989
30989
  transformOrigin: "left center"
30990
30990
  },
30991
- [`.${gn.popper}[data-popper-placement*="top"] &`]: {
30991
+ [`.${mn.popper}[data-popper-placement*="top"] &`]: {
30992
30992
  transformOrigin: "center bottom",
30993
30993
  marginBottom: "14px"
30994
30994
  },
30995
- [`.${gn.popper}[data-popper-placement*="bottom"] &`]: {
30995
+ [`.${mn.popper}[data-popper-placement*="bottom"] &`]: {
30996
30996
  transformOrigin: "center top",
30997
30997
  marginTop: "14px"
30998
30998
  },
@@ -31019,10 +31019,10 @@ const yX = (t) => {
31019
31019
  ownerState: e
31020
31020
  }) => !e.isRtl,
31021
31021
  style: {
31022
- [`.${gn.popper}[data-popper-placement*="left"] &`]: {
31022
+ [`.${mn.popper}[data-popper-placement*="left"] &`]: {
31023
31023
  marginRight: "14px"
31024
31024
  },
31025
- [`.${gn.popper}[data-popper-placement*="right"] &`]: {
31025
+ [`.${mn.popper}[data-popper-placement*="right"] &`]: {
31026
31026
  marginLeft: "14px"
31027
31027
  }
31028
31028
  }
@@ -31031,10 +31031,10 @@ const yX = (t) => {
31031
31031
  ownerState: e
31032
31032
  }) => !e.isRtl && e.touch,
31033
31033
  style: {
31034
- [`.${gn.popper}[data-popper-placement*="left"] &`]: {
31034
+ [`.${mn.popper}[data-popper-placement*="left"] &`]: {
31035
31035
  marginRight: "24px"
31036
31036
  },
31037
- [`.${gn.popper}[data-popper-placement*="right"] &`]: {
31037
+ [`.${mn.popper}[data-popper-placement*="right"] &`]: {
31038
31038
  marginLeft: "24px"
31039
31039
  }
31040
31040
  }
@@ -31043,10 +31043,10 @@ const yX = (t) => {
31043
31043
  ownerState: e
31044
31044
  }) => !!e.isRtl,
31045
31045
  style: {
31046
- [`.${gn.popper}[data-popper-placement*="left"] &`]: {
31046
+ [`.${mn.popper}[data-popper-placement*="left"] &`]: {
31047
31047
  marginLeft: "14px"
31048
31048
  },
31049
- [`.${gn.popper}[data-popper-placement*="right"] &`]: {
31049
+ [`.${mn.popper}[data-popper-placement*="right"] &`]: {
31050
31050
  marginRight: "14px"
31051
31051
  }
31052
31052
  }
@@ -31055,10 +31055,10 @@ const yX = (t) => {
31055
31055
  ownerState: e
31056
31056
  }) => !!e.isRtl && e.touch,
31057
31057
  style: {
31058
- [`.${gn.popper}[data-popper-placement*="left"] &`]: {
31058
+ [`.${mn.popper}[data-popper-placement*="left"] &`]: {
31059
31059
  marginLeft: "24px"
31060
31060
  },
31061
- [`.${gn.popper}[data-popper-placement*="right"] &`]: {
31061
+ [`.${mn.popper}[data-popper-placement*="right"] &`]: {
31062
31062
  marginRight: "24px"
31063
31063
  }
31064
31064
  }
@@ -31067,7 +31067,7 @@ const yX = (t) => {
31067
31067
  ownerState: e
31068
31068
  }) => e.touch,
31069
31069
  style: {
31070
- [`.${gn.popper}[data-popper-placement*="top"] &`]: {
31070
+ [`.${mn.popper}[data-popper-placement*="top"] &`]: {
31071
31071
  marginBottom: "24px"
31072
31072
  }
31073
31073
  }
@@ -31076,7 +31076,7 @@ const yX = (t) => {
31076
31076
  ownerState: e
31077
31077
  }) => e.touch,
31078
31078
  style: {
31079
- [`.${gn.popper}[data-popper-placement*="bottom"] &`]: {
31079
+ [`.${mn.popper}[data-popper-placement*="bottom"] &`]: {
31080
31080
  marginTop: "24px"
31081
31081
  }
31082
31082
  }
@@ -31221,7 +31221,7 @@ const u1 = /* @__PURE__ */ A.forwardRef(function(e, n) {
31221
31221
  }, [Me, Z]);
31222
31222
  const Dn = Ot(za(B), K, n);
31223
31223
  !L && L !== 0 && (Z = !1);
31224
- const nn = A.useRef(), cn = (at) => {
31224
+ const nn = A.useRef(), ln = (at) => {
31225
31225
  const er = B.props;
31226
31226
  er.onMouseMove && er.onMouseMove(at), Vc = {
31227
31227
  x: at.clientX,
@@ -31237,7 +31237,7 @@ const u1 = /* @__PURE__ */ A.forwardRef(function(e, n) {
31237
31237
  onTouchStart: Ft,
31238
31238
  ref: Dn,
31239
31239
  ...S ? {
31240
- onMouseMove: cn
31240
+ onMouseMove: ln
31241
31241
  } : {}
31242
31242
  };
31243
31243
  process.env.NODE_ENV !== "production" && (rt["data-mui-internal-clone-element"] = !0, A.useEffect(() => {
@@ -31543,7 +31543,7 @@ function SX({ value: t, onCancel: e, onSave: n, swatchColors: r, labels: o = {},
31543
31543
  const { removeColorButton: s = "None", removeColorButtonTooltipTitle: a = "", cancelButton: l = "Cancel", saveButton: u = "OK" } = o, [f, p] = vt(t);
31544
31544
  return Lt(() => {
31545
31545
  p(t);
31546
- }, [t]), ee(sn, { children: [w(HJ, { swatchColors: r, value: f, onChange: (m) => {
31546
+ }, [t]), ee(vn, { children: [w(HJ, { swatchColors: r, value: f, onChange: (m) => {
31547
31547
  p(m);
31548
31548
  }, labels: o, ...i }), ee(yI, { direction: "row", justifyContent: "space-between", sx: { mt: 1 }, children: [w(u1, { title: a, arrow: !0, children: w(yo, { onClick: () => {
31549
31549
  n("");
@@ -32184,7 +32184,7 @@ function jX({ ...t }) {
32184
32184
  }
32185
32185
  const UX = Ie(
32186
32186
  // From https://boxicons.com/ (https://github.com/atisawd/boxicons)
32187
- ee(sn, { children: [w("path", { d: "M20 3H4c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2zM4 19V7h16l.002 12H4z" }), w("path", { d: "M9.293 9.293 5.586 13l3.707 3.707 1.414-1.414L8.414 13l2.293-2.293zm5.414 0-1.414 1.414L15.586 13l-2.293 2.293 1.414 1.414L18.414 13z" })] }),
32187
+ ee(vn, { children: [w("path", { d: "M20 3H4c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2zM4 19V7h16l.002 12H4z" }), w("path", { d: "M9.293 9.293 5.586 13l3.707 3.707 1.414-1.414L8.414 13l2.293-2.293zm5.414 0-1.414 1.414L15.586 13l-2.293 2.293 1.414 1.414L18.414 13z" })] }),
32188
32188
  "CodeBlock"
32189
32189
  ), qX = Ie(
32190
32190
  // From https://remixicon.com/ (https://github.com/Remix-Design/RemixIcon)
@@ -32310,9 +32310,9 @@ function SI(t) {
32310
32310
  }, y = () => {
32311
32311
  g(null);
32312
32312
  }, { IconComponent: v, children: S, ...k } = p;
32313
- return ee(sn, { children: [w(Tt, { onClick: (T) => {
32313
+ return ee(vn, { children: [w(Tt, { onClick: (T) => {
32314
32314
  m ? y() : g(T.currentTarget);
32315
- }, "aria-describedby": a, ...k, children: S ?? ee(sn, { children: [v && w(xZ, { as: v, ownerState: b, className: me([
32315
+ }, "aria-describedby": a, ...k, children: S ?? ee(vn, { children: [v && w(xZ, { as: v, ownerState: b, className: me([
32316
32316
  zy.icon,
32317
32317
  f.icon
32318
32318
  ]) }), !s && n && w(wZ, { ownerState: b, className: me([
@@ -32330,7 +32330,7 @@ const gm = Ie(/* @__PURE__ */ w("path", {
32330
32330
  d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
32331
32331
  }), "Link");
32332
32332
  function SZ(t) {
32333
- const e = Et(), n = vn(null);
32333
+ const e = Et(), n = bn(null);
32334
32334
  return w(Tt, { buttonRef: n, tooltipLabel: "Link", tooltipShortcutKeys: ["mod", "Shift", "U"], IconComponent: gm, selected: e == null ? void 0 : e.isActive("link"), disabled: !(e != null && e.isEditable), onClick: () => (
32335
32335
  // When clicking the button to open the bubble menu, we'll place the
32336
32336
  // menu below the button
@@ -32504,7 +32504,7 @@ function $Z(t, e = 20) {
32504
32504
  return `${t.slice(0, n).trim()}…${t.slice(-n).trim()}`;
32505
32505
  }
32506
32506
  function LZ({ onUploadFiles: t, inputProps: e, insertImages: n = k0, ...r }) {
32507
- const o = Et(), i = vn(null), s = async (a) => {
32507
+ const o = Et(), i = bn(null), s = async (a) => {
32508
32508
  if (!o || o.isDestroyed || a.length === 0)
32509
32509
  return;
32510
32510
  const l = await t(Array.from(a));
@@ -32513,7 +32513,7 @@ function LZ({ onUploadFiles: t, inputProps: e, insertImages: n = k0, ...r }) {
32513
32513
  images: l
32514
32514
  });
32515
32515
  };
32516
- return ee(sn, { children: [w(jX, { tooltipLabel: "Upload images", onClick: () => {
32516
+ return ee(vn, { children: [w(jX, { tooltipLabel: "Upload images", onClick: () => {
32517
32517
  var a;
32518
32518
  return (a = i.current) === null || a === void 0 ? void 0 : a.click();
32519
32519
  }, ...r }), w("input", { ref: i, type: "file", accept: "image/*", multiple: !0, onChange: async (a) => {
@@ -34249,7 +34249,7 @@ function wee(t, e) {
34249
34249
  // methods
34250
34250
  clearDelayTimeouts: Dn,
34251
34251
  setProps: nn,
34252
- setContent: cn,
34252
+ setContent: ln,
34253
34253
  show: Sn,
34254
34254
  hide: Zn,
34255
34255
  hideWithInteractivity: rt,
@@ -34574,7 +34574,7 @@ function wee(t, e) {
34574
34574
  })), W("onAfterUpdate", [C, ye]);
34575
34575
  }
34576
34576
  }
34577
- function cn(ye) {
34577
+ function ln(ye) {
34578
34578
  C.setProps({
34579
34579
  content: ye
34580
34580
  });
@@ -35240,7 +35240,7 @@ class v1 {
35240
35240
  }
35241
35241
  }
35242
35242
  function zI(t = {}, e = []) {
35243
- const n = vn(t);
35243
+ const n = bn(t);
35244
35244
  n.current = t;
35245
35245
  const [r] = vt(() => new v1(n)), o = xm.useSyncExternalStore(r.subscribe, r.getEditor, r.getServerSnapshot);
35246
35246
  return yM(o), Lt(r.onRender(e)), Fee({
@@ -35663,7 +35663,7 @@ const Qee = xn.create({
35663
35663
  },
35664
35664
  addProseMirrorPlugins() {
35665
35665
  return [
35666
- new ln({
35666
+ new an({
35667
35667
  key: new An("handleClickLinkForMenu"),
35668
35668
  props: {
35669
35669
  handleClick: (t, e, n) => {
@@ -35674,7 +35674,7 @@ const Qee = xn.create({
35674
35674
  })
35675
35675
  ];
35676
35676
  }
35677
- }), ete = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, tte = an.create({
35677
+ }), ete = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, tte = sn.create({
35678
35678
  name: "image",
35679
35679
  addOptions() {
35680
35680
  return {
@@ -35868,7 +35868,7 @@ const cte = 15, wm = Gt("ResizableImageComponent"), ute = te("div", {
35868
35868
  }));
35869
35869
  function pte(t) {
35870
35870
  var e, n, r;
35871
- const o = it({ props: t, name: wm }), { node: i, selected: s, updateAttributes: a, extension: l, classes: u = {}, sx: f } = o, { attrs: p } = i, m = vn(null), [g, b] = vt(!1), y = s || g, v = {
35871
+ const o = it({ props: t, name: wm }), { node: i, selected: s, updateAttributes: a, extension: l, classes: u = {}, sx: f } = o, { attrs: p } = i, m = bn(null), [g, b] = vt(!1), y = s || g, v = {
35872
35872
  selected: s,
35873
35873
  selectedOrResizing: y
35874
35874
  }, S = wo(() => (
@@ -36076,7 +36076,7 @@ if (typeof WeakMap < "u") {
36076
36076
  for (let o = 0; o < t.length; o += 2) if (t[o] == r) return t[o + 1];
36077
36077
  }, P0 = (r, o) => (n == 10 && (n = 0), t[n++] = r, t[n++] = o);
36078
36078
  }
36079
- var bn = class {
36079
+ var yn = class {
36080
36080
  constructor(t, e, n, r) {
36081
36081
  this.width = t, this.height = e, this.map = n, this.problems = r;
36082
36082
  }
@@ -36187,7 +36187,7 @@ function mte(t) {
36187
36187
  }), f++;
36188
36188
  }
36189
36189
  (e === 0 || n === 0) && (i || (i = [])).push({ type: "zero_sized" });
36190
- const a = new bn(e, n, r, i);
36190
+ const a = new yn(e, n, r, i);
36191
36191
  let l = !1;
36192
36192
  for (let u = 0; !l && u < s.length; u += 2) s[u] != null && s[u + 1] < n && (l = !0);
36193
36193
  return l && yte(a, s, t), a;
@@ -36296,7 +36296,7 @@ function S1(t, e) {
36296
36296
  return t.depth == e.depth && t.pos >= e.start(-1) && t.pos <= e.end(-1);
36297
36297
  }
36298
36298
  function qI(t, e, n) {
36299
- const r = t.node(-1), o = bn.get(r), i = t.start(-1), s = o.nextCell(t.pos - i, e, n);
36299
+ const r = t.node(-1), o = yn.get(r), i = t.start(-1), s = o.nextCell(t.pos - i, e, n);
36300
36300
  return s == null ? null : t.node(0).resolve(i + s);
36301
36301
  }
36302
36302
  function La(t, e, n = 1) {
@@ -36324,7 +36324,7 @@ function Ste(t, e, n) {
36324
36324
  }
36325
36325
  var qt = class Ii extends ot {
36326
36326
  constructor(e, n = e) {
36327
- const r = e.node(-1), o = bn.get(r), i = e.start(-1), s = o.rectBetween(e.pos - i, n.pos - i), a = e.node(0), l = o.cellsInRect(s).filter((f) => f != n.pos - i);
36327
+ const r = e.node(-1), o = yn.get(r), i = e.start(-1), s = o.rectBetween(e.pos - i, n.pos - i), a = e.node(0), l = o.cellsInRect(s).filter((f) => f != n.pos - i);
36328
36328
  l.unshift(n.pos - i);
36329
36329
  const u = l.map((f) => {
36330
36330
  const p = r.nodeAt(f);
@@ -36343,7 +36343,7 @@ var qt = class Ii extends ot {
36343
36343
  return Xe.between(r, o);
36344
36344
  }
36345
36345
  content() {
36346
- const e = this.$anchorCell.node(-1), n = bn.get(e), r = this.$anchorCell.start(-1), o = n.rectBetween(this.$anchorCell.pos - r, this.$headCell.pos - r), i = {}, s = [];
36346
+ const e = this.$anchorCell.node(-1), n = yn.get(e), r = this.$anchorCell.start(-1), o = n.rectBetween(this.$anchorCell.pos - r, this.$headCell.pos - r), i = {}, s = [];
36347
36347
  for (let l = o.top; l < o.bottom; l++) {
36348
36348
  const u = [];
36349
36349
  for (let f = l * n.width + o.left, p = o.left; p < o.right; p++, f++) {
@@ -36387,7 +36387,7 @@ var qt = class Ii extends ot {
36387
36387
  this.replace(e, new De(ke.from(n), 0, 0));
36388
36388
  }
36389
36389
  forEachCell(e) {
36390
- const n = this.$anchorCell.node(-1), r = bn.get(n), o = this.$anchorCell.start(-1), i = r.cellsInRect(r.rectBetween(this.$anchorCell.pos - o, this.$headCell.pos - o));
36390
+ const n = this.$anchorCell.node(-1), r = yn.get(n), o = this.$anchorCell.start(-1), i = r.cellsInRect(r.rectBetween(this.$anchorCell.pos - o, this.$headCell.pos - o));
36391
36391
  for (let s = 0; s < i.length; s++) e(n.nodeAt(i[s]), o + i[s]);
36392
36392
  }
36393
36393
  isColSelection() {
@@ -36397,11 +36397,11 @@ var qt = class Ii extends ot {
36397
36397
  return Math.max(r, o) == this.$headCell.node(-1).childCount;
36398
36398
  }
36399
36399
  static colSelection(e, n = e) {
36400
- const r = e.node(-1), o = bn.get(r), i = e.start(-1), s = o.findCell(e.pos - i), a = o.findCell(n.pos - i), l = e.node(0);
36400
+ const r = e.node(-1), o = yn.get(r), i = e.start(-1), s = o.findCell(e.pos - i), a = o.findCell(n.pos - i), l = e.node(0);
36401
36401
  return s.top <= a.top ? (s.top > 0 && (e = l.resolve(i + o.map[s.left])), a.bottom < o.height && (n = l.resolve(i + o.map[o.width * (o.height - 1) + a.right - 1]))) : (a.top > 0 && (n = l.resolve(i + o.map[a.left])), s.bottom < o.height && (e = l.resolve(i + o.map[o.width * (o.height - 1) + s.right - 1]))), new Ii(e, n);
36402
36402
  }
36403
36403
  isRowSelection() {
36404
- const e = this.$anchorCell.node(-1), n = bn.get(e), r = this.$anchorCell.start(-1), o = n.colCount(this.$anchorCell.pos - r), i = n.colCount(this.$headCell.pos - r);
36404
+ const e = this.$anchorCell.node(-1), n = yn.get(e), r = this.$anchorCell.start(-1), o = n.colCount(this.$anchorCell.pos - r), i = n.colCount(this.$headCell.pos - r);
36405
36405
  if (Math.min(o, i) > 0) return !1;
36406
36406
  const s = o + this.$anchorCell.nodeAfter.attrs.colspan, a = i + this.$headCell.nodeAfter.attrs.colspan;
36407
36407
  return Math.max(s, a) == n.width;
@@ -36410,7 +36410,7 @@ var qt = class Ii extends ot {
36410
36410
  return e instanceof Ii && e.$anchorCell.pos == this.$anchorCell.pos && e.$headCell.pos == this.$headCell.pos;
36411
36411
  }
36412
36412
  static rowSelection(e, n = e) {
36413
- const r = e.node(-1), o = bn.get(r), i = e.start(-1), s = o.findCell(e.pos - i), a = o.findCell(n.pos - i), l = e.node(0);
36413
+ const r = e.node(-1), o = yn.get(r), i = e.start(-1), s = o.findCell(e.pos - i), a = o.findCell(n.pos - i), l = e.node(0);
36414
36414
  return s.left <= a.left ? (s.left > 0 && (e = l.resolve(i + o.map[s.top * o.width])), a.right < o.width && (n = l.resolve(i + o.map[o.width * (a.top + 1) - 1]))) : (a.left > 0 && (n = l.resolve(i + o.map[a.top * o.width])), s.right < o.width && (e = l.resolve(i + o.map[o.width * (s.top + 1) - 1]))), new Ii(e, n);
36415
36415
  }
36416
36416
  toJSON() {
@@ -36485,7 +36485,7 @@ function Ote(t, e, n) {
36485
36485
  const a = o.resolve(r.from + 1);
36486
36486
  i = qt.rowSelection(a, a);
36487
36487
  } else if (!n) {
36488
- const a = bn.get(r.node), l = r.from + 1, u = l + a.map[a.width * a.height - 1];
36488
+ const a = yn.get(r.node), l = r.from + 1, u = l + a.map[a.width * a.height - 1];
36489
36489
  i = qt.create(o, l + 1, u);
36490
36490
  }
36491
36491
  } else r instanceof Xe && kte(r) ? i = Xe.create(o, r.from) : r instanceof Xe && Ete(r) && (i = Xe.create(o, r.$from.start(), r.$from.end()));
@@ -36511,7 +36511,7 @@ function JI(t, e) {
36511
36511
  return e ? e.doc != t.doc && GI(e.doc, t.doc, 0, r) : t.doc.descendants(r), n;
36512
36512
  }
36513
36513
  function _te(t, e, n, r) {
36514
- const o = bn.get(e);
36514
+ const o = yn.get(e);
36515
36515
  if (!o.problems) return r;
36516
36516
  r || (r = t.tr);
36517
36517
  const i = [];
@@ -36564,7 +36564,7 @@ function _te(t, e, n, r) {
36564
36564
  return r.setMeta(Mte, { fixTables: !0 });
36565
36565
  }
36566
36566
  function hi(t) {
36567
- const e = t.selection, n = Sm(t), r = n.node(-1), o = n.start(-1), i = bn.get(r);
36567
+ const e = t.selection, n = Sm(t), r = n.node(-1), o = n.start(-1), i = yn.get(r);
36568
36568
  return {
36569
36569
  ...e instanceof qt ? i.rectBetween(e.$anchorCell.pos - o, e.$headCell.pos - o) : i.findCell(n.pos - o),
36570
36570
  tableStart: o,
@@ -36623,7 +36623,7 @@ function Dte(t, e) {
36623
36623
  for (let o = n.right - 1; Ate(r, n, o), o != n.left; o--) {
36624
36624
  const i = n.tableStart ? r.doc.nodeAt(n.tableStart - 1) : r.doc;
36625
36625
  if (!i) throw new RangeError("No table found");
36626
- n.table = i, n.map = bn.get(i);
36626
+ n.table = i, n.map = yn.get(i);
36627
36627
  }
36628
36628
  e(r);
36629
36629
  }
@@ -36703,7 +36703,7 @@ function Fte(t, e) {
36703
36703
  for (let o = n.bottom - 1; Lte(r, n, o), o != n.top; o--) {
36704
36704
  const i = n.tableStart ? r.doc.nodeAt(n.tableStart - 1) : r.doc;
36705
36705
  if (!i) throw new RangeError("No table found");
36706
- n.table = i, n.map = bn.get(n.table);
36706
+ n.table = i, n.map = yn.get(n.table);
36707
36707
  }
36708
36708
  e(r);
36709
36709
  }
@@ -37074,12 +37074,12 @@ function rE(t, e, n, r, o, i, s, a) {
37074
37074
  function oE(t, e, n, r, o) {
37075
37075
  let i = n ? t.doc.nodeAt(n - 1) : t.doc;
37076
37076
  if (!i) throw new Error("No table found");
37077
- let s = bn.get(i);
37077
+ let s = yn.get(i);
37078
37078
  const { top: a, left: l } = r, u = l + o.width, f = a + o.height, p = t.tr;
37079
37079
  let m = 0;
37080
37080
  function g() {
37081
37081
  if (i = n ? p.doc.nodeAt(n - 1) : p.doc, !i) throw new Error("No table found");
37082
- s = bn.get(i), m = p.mapping.maps.length;
37082
+ s = yn.get(i), m = p.mapping.maps.length;
37083
37083
  }
37084
37084
  Gte(p, s, i, n, u, f, m) && g(), nE(p, s, i, n, l, u, a, m) && g(), nE(p, s, i, n, l, u, f, m) && g(), rE(p, s, i, n, a, f, l, m) && g(), rE(p, s, i, n, a, f, u, m) && g();
37085
37085
  for (let b = a; b < f; b++) {
@@ -37150,11 +37150,11 @@ function Zte(t, e, n) {
37150
37150
  height: 1,
37151
37151
  rows: [ke.from($0(hr(t.state.schema).cell, n))]
37152
37152
  });
37153
- const i = o.$anchorCell.node(-1), s = o.$anchorCell.start(-1), a = bn.get(i).rectBetween(o.$anchorCell.pos - s, o.$headCell.pos - s);
37153
+ const i = o.$anchorCell.node(-1), s = o.$anchorCell.start(-1), a = yn.get(i).rectBetween(o.$anchorCell.pos - s, o.$headCell.pos - s);
37154
37154
  return r = Yte(r, a.right - a.left, a.bottom - a.top), oE(t.state, t.dispatch, s, a, r), !0;
37155
37155
  } else if (r) {
37156
37156
  const i = Sm(t.state), s = i.start(-1);
37157
- return oE(t.state, t.dispatch, s, bn.get(i.node(-1)).findCell(i.pos - s), r), !0;
37157
+ return oE(t.state, t.dispatch, s, yn.get(i.node(-1)).findCell(i.pos - s), r), !0;
37158
37158
  } else return !1;
37159
37159
  }
37160
37160
  function Qte(t, e) {
@@ -37254,7 +37254,7 @@ function L0(t, e, n, r, o, i) {
37254
37254
  }
37255
37255
  const qr = new An("tableColumnResizing");
37256
37256
  function eA({ handleWidth: t = 5, cellMinWidth: e = 25, defaultCellMinWidth: n = 100, View: r = ene, lastColumnResizable: o = !0 } = {}) {
37257
- const i = new ln({
37257
+ const i = new an({
37258
37258
  key: qr,
37259
37259
  state: {
37260
37260
  init(s, a) {
@@ -37318,7 +37318,7 @@ function nne(t, e, n, r) {
37318
37318
  }
37319
37319
  if (s != o.activeHandle) {
37320
37320
  if (!r && s !== -1) {
37321
- const a = t.state.doc.resolve(s), l = a.node(-1), u = bn.get(l), f = a.start(-1);
37321
+ const a = t.state.doc.resolve(s), l = a.node(-1), u = yn.get(l), f = a.start(-1);
37322
37322
  if (u.colCount(a.pos - f) + a.nodeAfter.attrs.colspan - 1 == u.width - 1) return;
37323
37323
  }
37324
37324
  tA(t, s);
@@ -37377,7 +37377,7 @@ function sE(t, e, n, r) {
37377
37377
  const { pos: s } = i, a = hc(t.state.doc.resolve(s));
37378
37378
  if (!a) return -1;
37379
37379
  if (n == "right") return a.pos;
37380
- const l = bn.get(a.node(-1)), u = a.start(-1), f = l.map.indexOf(a.pos - u);
37380
+ const l = yn.get(a.node(-1)), u = a.start(-1), f = l.map.indexOf(a.pos - u);
37381
37381
  return f % l.width == 0 ? -1 : u + l.map[f - 1];
37382
37382
  }
37383
37383
  function aE(t, e, n) {
@@ -37388,7 +37388,7 @@ function tA(t, e) {
37388
37388
  t.dispatch(t.state.tr.setMeta(qr, { setHandle: e }));
37389
37389
  }
37390
37390
  function ane(t, e, n) {
37391
- const r = t.state.doc.resolve(e), o = r.node(-1), i = bn.get(o), s = r.start(-1), a = i.colCount(r.pos - s) + r.nodeAfter.attrs.colspan - 1, l = t.state.tr;
37391
+ const r = t.state.doc.resolve(e), o = r.node(-1), i = yn.get(o), s = r.start(-1), a = i.colCount(r.pos - s) + r.nodeAfter.attrs.colspan - 1, l = t.state.tr;
37392
37392
  for (let u = 0; u < i.height; u++) {
37393
37393
  const f = u * i.width + a;
37394
37394
  if (u && i.map[f] == i.map[f - i.width]) continue;
@@ -37403,7 +37403,7 @@ function ane(t, e, n) {
37403
37403
  l.docChanged && t.dispatch(l);
37404
37404
  }
37405
37405
  function lE(t, e, n, r) {
37406
- const o = t.state.doc.resolve(e), i = o.node(-1), s = o.start(-1), a = bn.get(i).colCount(o.pos - s) + o.nodeAfter.attrs.colspan - 1;
37406
+ const o = t.state.doc.resolve(e), i = o.node(-1), s = o.start(-1), a = yn.get(i).colCount(o.pos - s) + o.nodeAfter.attrs.colspan - 1;
37407
37407
  let l = t.domAtPos(o.start(-1)).node;
37408
37408
  for (; l && l.nodeName != "TABLE"; ) l = l.parentNode;
37409
37409
  l && L0(i, l.firstChild, l, r, a, n);
@@ -37414,7 +37414,7 @@ function lne(t) {
37414
37414
  function cne(t, e) {
37415
37415
  const n = [], r = t.doc.resolve(e), o = r.node(-1);
37416
37416
  if (!o) return en.empty;
37417
- const i = bn.get(o), s = r.start(-1), a = i.colCount(r.pos - s) + r.nodeAfter.attrs.colspan - 1;
37417
+ const i = yn.get(o), s = r.start(-1), a = i.colCount(r.pos - s) + r.nodeAfter.attrs.colspan - 1;
37418
37418
  for (let u = 0; u < i.height; u++) {
37419
37419
  const f = a + u * i.width;
37420
37420
  if ((a == i.width - 1 || i.map[f] != i.map[f + 1]) && (u == 0 || i.map[f] != i.map[f - i.width])) {
@@ -37426,7 +37426,7 @@ function cne(t, e) {
37426
37426
  return en.create(t.doc, n);
37427
37427
  }
37428
37428
  function nA({ allowTableNodeSelection: t = !1 } = {}) {
37429
- return new ln({
37429
+ return new an({
37430
37430
  key: ys,
37431
37431
  state: {
37432
37432
  init() {
@@ -37556,7 +37556,7 @@ const Lf = ({ editor: t }) => {
37556
37556
  return !1;
37557
37557
  ["tableCell", "tableHeader"].includes(i.type.name) && (n += 1);
37558
37558
  }), n === e.ranges.length ? (t.commands.deleteTable(), !0) : !1;
37559
- }, mne = an.create({
37559
+ }, mne = sn.create({
37560
37560
  name: "table",
37561
37561
  // @ts-ignore
37562
37562
  addOptions() {
@@ -37776,7 +37776,7 @@ function rA({ editor: t, wait: e = 250 }) {
37776
37776
  }, [t == null ? void 0 : t.isFocused, o]), n;
37777
37777
  }
37778
37778
  function oA(t, e) {
37779
- const n = vn(e);
37779
+ const n = bn(e);
37780
37780
  Lt(() => {
37781
37781
  n.current = e;
37782
37782
  }, [e]), Lt(() => {
@@ -37873,7 +37873,7 @@ process.env.NODE_ENV !== "production" && (Cm.propTypes = {
37873
37873
  });
37874
37874
  function Cne({ editor: t, onCancel: e, onSave: n, labels: r, formatHref: o = PZ }) {
37875
37875
  var i, s, a, l, u, f;
37876
- const p = t.isActive("link") ? t.getAttributes("link").href : "", m = od(t.state.selection.$from, Bo("link", t.schema)), g = m ? t.state.doc.textBetween(m.from, m.to) : "", b = t.state.doc.textBetween(t.state.selection.$from.pos, t.state.selection.$to.pos), y = g || b, [v, S] = vt(y), [k, T] = vt(p), C = vn(null), O = vn(null), R = !p, P = (i = r == null ? void 0 : r.editLinkAddTitle) !== null && i !== void 0 ? i : "Add link", N = (s = r == null ? void 0 : r.editLinkEditTitle) !== null && s !== void 0 ? s : "Edit link", z = R ? P : N;
37876
+ const p = t.isActive("link") ? t.getAttributes("link").href : "", m = od(t.state.selection.$from, Bo("link", t.schema)), g = m ? t.state.doc.textBetween(m.from, m.to) : "", b = t.state.doc.textBetween(t.state.selection.$from.pos, t.state.selection.$to.pos), y = g || b, [v, S] = vt(y), [k, T] = vt(p), C = bn(null), O = bn(null), R = !p, P = (i = r == null ? void 0 : r.editLinkAddTitle) !== null && i !== void 0 ? i : "Add link", N = (s = r == null ? void 0 : r.editLinkEditTitle) !== null && s !== void 0 ? s : "Edit link", z = R ? P : N;
37877
37877
  Lt(() => {
37878
37878
  var L, D;
37879
37879
  !R || !y ? (L = C.current) === null || L === void 0 || L.focus({ preventScroll: !0 }) : (D = O.current) === null || D === void 0 || D.focus({ preventScroll: !0 });
@@ -38774,7 +38774,7 @@ function Gne({ RichTextContentProps: t, sx: e, ...n }) {
38774
38774
  const r = zI({
38775
38775
  ...n,
38776
38776
  editable: !1
38777
- }), o = vn(n.content);
38777
+ }), o = bn(n.content);
38778
38778
  return Lt(() => {
38779
38779
  // Tiptap v2 allowed `useEditor` to return undefined, so we keep the
38780
38780
  // defensive check here.
@@ -39386,7 +39386,7 @@ function cre() {
39386
39386
  ["partial", O],
39387
39387
  ["partialRight", R],
39388
39388
  ["rearg", N]
39389
- ], G = "[object Arguments]", Q = "[object Array]", ce = "[object AsyncFunction]", ne = "[object Boolean]", oe = "[object Date]", ue = "[object DOMException]", ge = "[object Error]", Z = "[object Function]", le = "[object GeneratorFunction]", J = "[object Map]", ae = "[object Number]", ve = "[object Null]", Me = "[object Object]", Oe = "[object Promise]", Ve = "[object Proxy]", qe = "[object RegExp]", Ze = "[object Set]", Le = "[object String]", Ft = "[object Symbol]", Nt = "[object Undefined]", wn = "[object WeakMap]", Dn = "[object WeakSet]", nn = "[object ArrayBuffer]", cn = "[object DataView]", Sn = "[object Float32Array]", Zn = "[object Float64Array]", rt = "[object Int8Array]", _n = "[object Int16Array]", Xt = "[object Int32Array]", ye = "[object Uint8Array]", Ne = "[object Uint8ClampedArray]", Te = "[object Uint16Array]", Fe = "[object Uint32Array]", Ke = /\b__p \+= '';/g, et = /\b(__p \+=) '' \+/g, It = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Qn = /&(?:amp|lt|gt|quot|#39);/g, lr = /[&<>"']/g, Mo = RegExp(Qn.source), Ws = RegExp(lr.source), Xi = /<%-([\s\S]+?)%>/g, Wo = /<%([\s\S]+?)%>/g, at = /<%=([\s\S]+?)%>/g, er = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, mi = /^\w*$/, ZD = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Wm = /[\\^$.*+?()[\]{}|]/g, QD = RegExp(Wm.source), jm = /^\s+/, eP = /\s/, tP = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, nP = /\{\n\/\* \[wrapped with (.+)\] \*/, rP = /,? & /, oP = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, iP = /[()=,{}\[\]\/\s]/, sP = /\\(\\)?/g, aP = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ix = /\w*$/, lP = /^[-+]0x[0-9a-f]+$/i, cP = /^0b[01]+$/i, uP = /^\[object .+?Constructor\]$/, dP = /^0o[0-7]+$/i, fP = /^(?:0|[1-9]\d*)$/, pP = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, wd = /($^)/, hP = /['\n\r\u2028\u2029\\]/g, Sd = "\\ud800-\\udfff", mP = "\\u0300-\\u036f", gP = "\\ufe20-\\ufe2f", yP = "\\u20d0-\\u20ff", sx = mP + gP + yP, ax = "\\u2700-\\u27bf", lx = "a-z\\xdf-\\xf6\\xf8-\\xff", bP = "\\xac\\xb1\\xd7\\xf7", vP = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", xP = "\\u2000-\\u206f", wP = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", cx = "A-Z\\xc0-\\xd6\\xd8-\\xde", ux = "\\ufe0e\\ufe0f", dx = bP + vP + xP + wP, Um = "['’]", SP = "[" + Sd + "]", fx = "[" + dx + "]", Cd = "[" + sx + "]", px = "\\d+", CP = "[" + ax + "]", hx = "[" + lx + "]", mx = "[^" + Sd + dx + px + ax + lx + cx + "]", qm = "\\ud83c[\\udffb-\\udfff]", TP = "(?:" + Cd + "|" + qm + ")", gx = "[^" + Sd + "]", Km = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ym = "[\\ud800-\\udbff][\\udc00-\\udfff]", qa = "[" + cx + "]", yx = "\\u200d", bx = "(?:" + hx + "|" + mx + ")", kP = "(?:" + qa + "|" + mx + ")", vx = "(?:" + Um + "(?:d|ll|m|re|s|t|ve))?", xx = "(?:" + Um + "(?:D|LL|M|RE|S|T|VE))?", wx = TP + "?", Sx = "[" + ux + "]?", EP = "(?:" + yx + "(?:" + [gx, Km, Ym].join("|") + ")" + Sx + wx + ")*", OP = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", MP = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Cx = Sx + wx + EP, _P = "(?:" + [CP, Km, Ym].join("|") + ")" + Cx, RP = "(?:" + [gx + Cd + "?", Cd, Km, Ym, SP].join("|") + ")", IP = RegExp(Um, "g"), AP = RegExp(Cd, "g"), Gm = RegExp(qm + "(?=" + qm + ")|" + RP + Cx, "g"), DP = RegExp([
39389
+ ], G = "[object Arguments]", Q = "[object Array]", ce = "[object AsyncFunction]", ne = "[object Boolean]", oe = "[object Date]", ue = "[object DOMException]", ge = "[object Error]", Z = "[object Function]", le = "[object GeneratorFunction]", J = "[object Map]", ae = "[object Number]", ve = "[object Null]", Me = "[object Object]", Oe = "[object Promise]", Ve = "[object Proxy]", qe = "[object RegExp]", Ze = "[object Set]", Le = "[object String]", Ft = "[object Symbol]", Nt = "[object Undefined]", wn = "[object WeakMap]", Dn = "[object WeakSet]", nn = "[object ArrayBuffer]", ln = "[object DataView]", Sn = "[object Float32Array]", Zn = "[object Float64Array]", rt = "[object Int8Array]", _n = "[object Int16Array]", Xt = "[object Int32Array]", ye = "[object Uint8Array]", Ne = "[object Uint8ClampedArray]", Te = "[object Uint16Array]", Fe = "[object Uint32Array]", Ke = /\b__p \+= '';/g, et = /\b(__p \+=) '' \+/g, It = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Qn = /&(?:amp|lt|gt|quot|#39);/g, lr = /[&<>"']/g, Mo = RegExp(Qn.source), Ws = RegExp(lr.source), Xi = /<%-([\s\S]+?)%>/g, Wo = /<%([\s\S]+?)%>/g, at = /<%=([\s\S]+?)%>/g, er = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, mi = /^\w*$/, ZD = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Wm = /[\\^$.*+?()[\]{}|]/g, QD = RegExp(Wm.source), jm = /^\s+/, eP = /\s/, tP = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, nP = /\{\n\/\* \[wrapped with (.+)\] \*/, rP = /,? & /, oP = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, iP = /[()=,{}\[\]\/\s]/, sP = /\\(\\)?/g, aP = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ix = /\w*$/, lP = /^[-+]0x[0-9a-f]+$/i, cP = /^0b[01]+$/i, uP = /^\[object .+?Constructor\]$/, dP = /^0o[0-7]+$/i, fP = /^(?:0|[1-9]\d*)$/, pP = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, wd = /($^)/, hP = /['\n\r\u2028\u2029\\]/g, Sd = "\\ud800-\\udfff", mP = "\\u0300-\\u036f", gP = "\\ufe20-\\ufe2f", yP = "\\u20d0-\\u20ff", sx = mP + gP + yP, ax = "\\u2700-\\u27bf", lx = "a-z\\xdf-\\xf6\\xf8-\\xff", bP = "\\xac\\xb1\\xd7\\xf7", vP = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", xP = "\\u2000-\\u206f", wP = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", cx = "A-Z\\xc0-\\xd6\\xd8-\\xde", ux = "\\ufe0e\\ufe0f", dx = bP + vP + xP + wP, Um = "['’]", SP = "[" + Sd + "]", fx = "[" + dx + "]", Cd = "[" + sx + "]", px = "\\d+", CP = "[" + ax + "]", hx = "[" + lx + "]", mx = "[^" + Sd + dx + px + ax + lx + cx + "]", qm = "\\ud83c[\\udffb-\\udfff]", TP = "(?:" + Cd + "|" + qm + ")", gx = "[^" + Sd + "]", Km = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ym = "[\\ud800-\\udbff][\\udc00-\\udfff]", qa = "[" + cx + "]", yx = "\\u200d", bx = "(?:" + hx + "|" + mx + ")", kP = "(?:" + qa + "|" + mx + ")", vx = "(?:" + Um + "(?:d|ll|m|re|s|t|ve))?", xx = "(?:" + Um + "(?:D|LL|M|RE|S|T|VE))?", wx = TP + "?", Sx = "[" + ux + "]?", EP = "(?:" + yx + "(?:" + [gx, Km, Ym].join("|") + ")" + Sx + wx + ")*", OP = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", MP = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Cx = Sx + wx + EP, _P = "(?:" + [CP, Km, Ym].join("|") + ")" + Cx, RP = "(?:" + [gx + Cd + "?", Cd, Km, Ym, SP].join("|") + ")", IP = RegExp(Um, "g"), AP = RegExp(Cd, "g"), Gm = RegExp(qm + "(?=" + qm + ")|" + RP + Cx, "g"), DP = RegExp([
39390
39390
  qa + "?" + hx + "+" + vx + "(?=" + [fx, qa, "$"].join("|") + ")",
39391
39391
  kP + "+" + xx + "(?=" + [fx, qa + bx, "$"].join("|") + ")",
39392
39392
  qa + "?" + bx + "+" + vx,
@@ -39427,9 +39427,9 @@ function cre() {
39427
39427
  "parseInt",
39428
39428
  "setTimeout"
39429
39429
  ], LP = -1, Kt = {};
39430
- Kt[Sn] = Kt[Zn] = Kt[rt] = Kt[_n] = Kt[Xt] = Kt[ye] = Kt[Ne] = Kt[Te] = Kt[Fe] = !0, Kt[G] = Kt[Q] = Kt[nn] = Kt[ne] = Kt[cn] = Kt[oe] = Kt[ge] = Kt[Z] = Kt[J] = Kt[ae] = Kt[Me] = Kt[qe] = Kt[Ze] = Kt[Le] = Kt[wn] = !1;
39430
+ Kt[Sn] = Kt[Zn] = Kt[rt] = Kt[_n] = Kt[Xt] = Kt[ye] = Kt[Ne] = Kt[Te] = Kt[Fe] = !0, Kt[G] = Kt[Q] = Kt[nn] = Kt[ne] = Kt[ln] = Kt[oe] = Kt[ge] = Kt[Z] = Kt[J] = Kt[ae] = Kt[Me] = Kt[qe] = Kt[Ze] = Kt[Le] = Kt[wn] = !1;
39431
39431
  var Ut = {};
39432
- Ut[G] = Ut[Q] = Ut[nn] = Ut[cn] = Ut[ne] = Ut[oe] = Ut[Sn] = Ut[Zn] = Ut[rt] = Ut[_n] = Ut[Xt] = Ut[J] = Ut[ae] = Ut[Me] = Ut[qe] = Ut[Ze] = Ut[Le] = Ut[Ft] = Ut[ye] = Ut[Ne] = Ut[Te] = Ut[Fe] = !0, Ut[ge] = Ut[Z] = Ut[wn] = !1;
39432
+ Ut[G] = Ut[Q] = Ut[nn] = Ut[ln] = Ut[ne] = Ut[oe] = Ut[Sn] = Ut[Zn] = Ut[rt] = Ut[_n] = Ut[Xt] = Ut[J] = Ut[ae] = Ut[Me] = Ut[qe] = Ut[Ze] = Ut[Le] = Ut[Ft] = Ut[ye] = Ut[Ne] = Ut[Te] = Ut[Fe] = !0, Ut[ge] = Ut[Z] = Ut[wn] = !1;
39433
39433
  var FP = {
39434
39434
  // Latin-1 Supplement block.
39435
39435
  À: "A",
@@ -39933,7 +39933,7 @@ function cre() {
39933
39933
  }
39934
39934
  })(), wN = we.clearTimeout !== tr.clearTimeout && we.clearTimeout, SN = ze && ze.now !== tr.Date.now && ze.now, CN = we.setTimeout !== tr.setTimeout && we.setTimeout, $d = Pn.ceil, Ld = Pn.floor, lg = zt.getOwnPropertySymbols, TN = Id ? Id.isBuffer : n, Kx = we.isFinite, kN = Od.join, EN = Vx(zt.keys, zt), Nn = Pn.max, cr = Pn.min, ON = ze.now, MN = we.parseInt, Yx = Pn.random, _N = Od.reverse, cg = Js(we, "DataView"), vc = Js(we, "Map"), ug = Js(we, "Promise"), Za = Js(we, "Set"), xc = Js(we, "WeakMap"), wc = Js(zt, "create"), Fd = xc && new xc(), Qa = {}, RN = Xs(cg), IN = Xs(vc), AN = Xs(ug), DN = Xs(Za), PN = Xs(xc), Bd = ts ? ts.prototype : n, Sc = Bd ? Bd.valueOf : n, Gx = Bd ? Bd.toString : n;
39935
39935
  function H(d) {
39936
- if (un(d) && !ut(d) && !(d instanceof wt)) {
39936
+ if (cn(d) && !ut(d) && !(d instanceof wt)) {
39937
39937
  if (d instanceof no)
39938
39938
  return d;
39939
39939
  if ($t.call(d, "__wrapped__"))
@@ -40413,16 +40413,16 @@ function cre() {
40413
40413
  return E == null ? n : Lr(E, d, x);
40414
40414
  }
40415
40415
  function iw(d) {
40416
- return un(d) && yr(d) == G;
40416
+ return cn(d) && yr(d) == G;
40417
40417
  }
40418
40418
  function y$(d) {
40419
- return un(d) && yr(d) == nn;
40419
+ return cn(d) && yr(d) == nn;
40420
40420
  }
40421
40421
  function b$(d) {
40422
- return un(d) && yr(d) == oe;
40422
+ return cn(d) && yr(d) == oe;
40423
40423
  }
40424
40424
  function Ec(d, h, x, E, $) {
40425
- return d === h ? !0 : d == null || h == null || !un(d) && !un(h) ? d !== d && h !== h : v$(d, h, x, E, Ec, $);
40425
+ return d === h ? !0 : d == null || h == null || !cn(d) && !cn(h) ? d !== d && h !== h : v$(d, h, x, E, Ec, $);
40426
40426
  }
40427
40427
  function v$(d, h, x, E, $, U) {
40428
40428
  var Y = ut(d), X = ut(h), fe = Y ? Q : ur(d), Se = X ? Q : ur(h);
@@ -40445,7 +40445,7 @@ function cre() {
40445
40445
  return Pe ? (U || (U = new Ro()), K$(d, h, x, E, $, U)) : !1;
40446
40446
  }
40447
40447
  function x$(d) {
40448
- return un(d) && ur(d) == J;
40448
+ return cn(d) && ur(d) == J;
40449
40449
  }
40450
40450
  function yg(d, h, x, E) {
40451
40451
  var $ = x.length, U = $, Y = !E;
@@ -40479,13 +40479,13 @@ function cre() {
40479
40479
  return h.test(Xs(d));
40480
40480
  }
40481
40481
  function w$(d) {
40482
- return un(d) && yr(d) == qe;
40482
+ return cn(d) && yr(d) == qe;
40483
40483
  }
40484
40484
  function S$(d) {
40485
- return un(d) && ur(d) == Ze;
40485
+ return cn(d) && ur(d) == Ze;
40486
40486
  }
40487
40487
  function C$(d) {
40488
- return un(d) && af(d.length) && !!Kt[yr(d)];
40488
+ return cn(d) && af(d.length) && !!Kt[yr(d)];
40489
40489
  }
40490
40490
  function aw(d) {
40491
40491
  return typeof d == "function" ? d : d == null ? _r : typeof d == "object" ? ut(d) ? uw(d[0], d[1]) : cw(d) : _S(d);
@@ -41218,7 +41218,7 @@ function cre() {
41218
41218
  }
41219
41219
  function q$(d, h, x, E, $, U, Y) {
41220
41220
  switch (x) {
41221
- case cn:
41221
+ case ln:
41222
41222
  if (d.byteLength != h.byteLength || d.byteOffset != h.byteOffset)
41223
41223
  return !1;
41224
41224
  d = d.buffer, h = h.buffer;
@@ -41344,12 +41344,12 @@ function cre() {
41344
41344
  Qi(h, Ng(d)), d = Dd(d);
41345
41345
  return h;
41346
41346
  } : Qg, ur = yr;
41347
- (cg && ur(new cg(new ArrayBuffer(1))) != cn || vc && ur(new vc()) != J || ug && ur(ug.resolve()) != Oe || Za && ur(new Za()) != Ze || xc && ur(new xc()) != wn) && (ur = function(d) {
41347
+ (cg && ur(new cg(new ArrayBuffer(1))) != ln || vc && ur(new vc()) != J || ug && ur(ug.resolve()) != Oe || Za && ur(new Za()) != Ze || xc && ur(new xc()) != wn) && (ur = function(d) {
41348
41348
  var h = yr(d), x = h == Me ? d.constructor : n, E = x ? Xs(x) : "";
41349
41349
  if (E)
41350
41350
  switch (E) {
41351
41351
  case RN:
41352
- return cn;
41352
+ return ln;
41353
41353
  case IN:
41354
41354
  return J;
41355
41355
  case AN:
@@ -41410,7 +41410,7 @@ function cre() {
41410
41410
  case ne:
41411
41411
  case oe:
41412
41412
  return new E(+d);
41413
- case cn:
41413
+ case ln:
41414
41414
  return N$(d, x);
41415
41415
  case Sn:
41416
41416
  case Zn:
@@ -42248,20 +42248,20 @@ function cre() {
42248
42248
  }), Zs = iw(/* @__PURE__ */ (function() {
42249
42249
  return arguments;
42250
42250
  })()) ? iw : function(d) {
42251
- return un(d) && $t.call(d, "callee") && !Ux.call(d, "callee");
42251
+ return cn(d) && $t.call(d, "callee") && !Ux.call(d, "callee");
42252
42252
  }, ut = be.isArray, c5 = Ex ? Fr(Ex) : y$;
42253
42253
  function Or(d) {
42254
42254
  return d != null && af(d.length) && !Si(d);
42255
42255
  }
42256
42256
  function Cn(d) {
42257
- return un(d) && Or(d);
42257
+ return cn(d) && Or(d);
42258
42258
  }
42259
42259
  function u5(d) {
42260
- return d === !0 || d === !1 || un(d) && yr(d) == ne;
42260
+ return d === !0 || d === !1 || cn(d) && yr(d) == ne;
42261
42261
  }
42262
42262
  var as = TN || ey, d5 = Ox ? Fr(Ox) : b$;
42263
42263
  function f5(d) {
42264
- return un(d) && d.nodeType === 1 && !Ic(d);
42264
+ return cn(d) && d.nodeType === 1 && !Ic(d);
42265
42265
  }
42266
42266
  function p5(d) {
42267
42267
  if (d == null)
@@ -42287,7 +42287,7 @@ function cre() {
42287
42287
  return E === n ? Ec(d, h, n, x) : !!E;
42288
42288
  }
42289
42289
  function jg(d) {
42290
- if (!un(d))
42290
+ if (!cn(d))
42291
42291
  return !1;
42292
42292
  var h = yr(d);
42293
42293
  return h == ge || h == ue || typeof d.message == "string" && typeof d.name == "string" && !Ic(d);
@@ -42311,7 +42311,7 @@ function cre() {
42311
42311
  var h = typeof d;
42312
42312
  return d != null && (h == "object" || h == "function");
42313
42313
  }
42314
- function un(d) {
42314
+ function cn(d) {
42315
42315
  return d != null && typeof d == "object";
42316
42316
  }
42317
42317
  var hS = Mx ? Fr(Mx) : x$;
@@ -42336,10 +42336,10 @@ function cre() {
42336
42336
  return d == null;
42337
42337
  }
42338
42338
  function mS(d) {
42339
- return typeof d == "number" || un(d) && yr(d) == ae;
42339
+ return typeof d == "number" || cn(d) && yr(d) == ae;
42340
42340
  }
42341
42341
  function Ic(d) {
42342
- if (!un(d) || yr(d) != Me)
42342
+ if (!cn(d) || yr(d) != Me)
42343
42343
  return !1;
42344
42344
  var h = Dd(d);
42345
42345
  if (h === null)
@@ -42353,20 +42353,20 @@ function cre() {
42353
42353
  }
42354
42354
  var gS = Rx ? Fr(Rx) : S$;
42355
42355
  function lf(d) {
42356
- return typeof d == "string" || !ut(d) && un(d) && yr(d) == Le;
42356
+ return typeof d == "string" || !ut(d) && cn(d) && yr(d) == Le;
42357
42357
  }
42358
42358
  function Vr(d) {
42359
- return typeof d == "symbol" || un(d) && yr(d) == Ft;
42359
+ return typeof d == "symbol" || cn(d) && yr(d) == Ft;
42360
42360
  }
42361
42361
  var ol = Ix ? Fr(Ix) : C$;
42362
42362
  function T5(d) {
42363
42363
  return d === n;
42364
42364
  }
42365
42365
  function k5(d) {
42366
- return un(d) && ur(d) == wn;
42366
+ return cn(d) && ur(d) == wn;
42367
42367
  }
42368
42368
  function E5(d) {
42369
- return un(d) && yr(d) == Dn;
42369
+ return cn(d) && yr(d) == Dn;
42370
42370
  }
42371
42371
  var O5 = Xd(vg), M5 = Xd(function(d, h) {
42372
42372
  return d <= h;
@@ -42936,7 +42936,7 @@ function print() { __p += __j.call(arguments, '') }
42936
42936
  function w3(d, h) {
42937
42937
  return d && d.length ? rg(d, Qe(h, 2)) : 0;
42938
42938
  }
42939
- return H.after = WF, H.ary = sS, H.assign = R5, H.assignIn = xS, H.assignInWith = cf, H.assignWith = I5, H.at = A5, H.before = aS, H.bind = Hg, H.bindAll = LB, H.bindKey = lS, H.castArray = t5, H.chain = rS, H.chunk = uL, H.compact = dL, H.concat = fL, H.cond = FB, H.conforms = BB, H.constant = Gg, H.countBy = xF, H.create = D5, H.curry = cS, H.curryRight = uS, H.debounce = dS, H.defaults = P5, H.defaultsDeep = N5, H.defer = jF, H.delay = UF, H.difference = pL, H.differenceBy = hL, H.differenceWith = mL, H.drop = gL, H.dropRight = yL, H.dropRightWhile = bL, H.dropWhile = vL, H.fill = xL, H.filter = SF, H.flatMap = kF, H.flatMapDeep = EF, H.flatMapDepth = OF, H.flatten = Qw, H.flattenDeep = wL, H.flattenDepth = SL, H.flip = qF, H.flow = zB, H.flowRight = HB, H.fromPairs = CL, H.functions = H5, H.functionsIn = W5, H.groupBy = MF, H.initial = kL, H.intersection = EL, H.intersectionBy = OL, H.intersectionWith = ML, H.invert = U5, H.invertBy = q5, H.invokeMap = RF, H.iteratee = Jg, H.keyBy = IF, H.keys = zn, H.keysIn = Mr, H.map = nf, H.mapKeys = Y5, H.mapValues = G5, H.matches = WB, H.matchesProperty = jB, H.memoize = of, H.merge = J5, H.mergeWith = wS, H.method = UB, H.methodOf = qB, H.mixin = Xg, H.negate = sf, H.nthArg = YB, H.omit = X5, H.omitBy = Z5, H.once = KF, H.orderBy = AF, H.over = GB, H.overArgs = YF, H.overEvery = JB, H.overSome = XB, H.partial = Wg, H.partialRight = fS, H.partition = DF, H.pick = Q5, H.pickBy = SS, H.property = _S, H.propertyOf = ZB, H.pull = AL, H.pullAll = tS, H.pullAllBy = DL, H.pullAllWith = PL, H.pullAt = NL, H.range = QB, H.rangeRight = e3, H.rearg = GF, H.reject = $F, H.remove = $L, H.rest = JF, H.reverse = Vg, H.sampleSize = FF, H.set = tB, H.setWith = nB, H.shuffle = BF, H.slice = LL, H.sortBy = HF, H.sortedUniq = jL, H.sortedUniqBy = UL, H.split = kB, H.spread = XF, H.tail = qL, H.take = KL, H.takeRight = YL, H.takeRightWhile = GL, H.takeWhile = JL, H.tap = dF, H.throttle = ZF, H.thru = tf, H.toArray = yS, H.toPairs = CS, H.toPairsIn = TS, H.toPath = i3, H.toPlainObject = vS, H.transform = rB, H.unary = QF, H.union = XL, H.unionBy = ZL, H.unionWith = QL, H.uniq = eF, H.uniqBy = tF, H.uniqWith = nF, H.unset = oB, H.unzip = zg, H.unzipWith = nS, H.update = iB, H.updateWith = sB, H.values = il, H.valuesIn = aB, H.without = rF, H.words = OS, H.wrap = e5, H.xor = oF, H.xorBy = iF, H.xorWith = sF, H.zip = aF, H.zipObject = lF, H.zipObjectDeep = cF, H.zipWith = uF, H.entries = CS, H.entriesIn = TS, H.extend = xS, H.extendWith = cf, Xg(H, H), H.add = a3, H.attempt = MS, H.camelCase = dB, H.capitalize = kS, H.ceil = l3, H.clamp = lB, H.clone = n5, H.cloneDeep = o5, H.cloneDeepWith = i5, H.cloneWith = r5, H.conformsTo = s5, H.deburr = ES, H.defaultTo = VB, H.divide = c3, H.endsWith = fB, H.eq = Io, H.escape = pB, H.escapeRegExp = hB, H.every = wF, H.find = CF, H.findIndex = Xw, H.findKey = $5, H.findLast = TF, H.findLastIndex = Zw, H.findLastKey = L5, H.floor = u3, H.forEach = oS, H.forEachRight = iS, H.forIn = F5, H.forInRight = B5, H.forOwn = V5, H.forOwnRight = z5, H.get = qg, H.gt = a5, H.gte = l5, H.has = j5, H.hasIn = Kg, H.head = eS, H.identity = _r, H.includes = _F, H.indexOf = TL, H.inRange = cB, H.invoke = K5, H.isArguments = Zs, H.isArray = ut, H.isArrayBuffer = c5, H.isArrayLike = Or, H.isArrayLikeObject = Cn, H.isBoolean = u5, H.isBuffer = as, H.isDate = d5, H.isElement = f5, H.isEmpty = p5, H.isEqual = h5, H.isEqualWith = m5, H.isError = jg, H.isFinite = g5, H.isFunction = Si, H.isInteger = pS, H.isLength = af, H.isMap = hS, H.isMatch = y5, H.isMatchWith = b5, H.isNaN = v5, H.isNative = x5, H.isNil = S5, H.isNull = w5, H.isNumber = mS, H.isObject = rn, H.isObjectLike = un, H.isPlainObject = Ic, H.isRegExp = Ug, H.isSafeInteger = C5, H.isSet = gS, H.isString = lf, H.isSymbol = Vr, H.isTypedArray = ol, H.isUndefined = T5, H.isWeakMap = k5, H.isWeakSet = E5, H.join = _L, H.kebabCase = mB, H.last = io, H.lastIndexOf = RL, H.lowerCase = gB, H.lowerFirst = yB, H.lt = O5, H.lte = M5, H.max = d3, H.maxBy = f3, H.mean = p3, H.meanBy = h3, H.min = m3, H.minBy = g3, H.stubArray = Qg, H.stubFalse = ey, H.stubObject = t3, H.stubString = n3, H.stubTrue = r3, H.multiply = y3, H.nth = IL, H.noConflict = KB, H.noop = Zg, H.now = rf, H.pad = bB, H.padEnd = vB, H.padStart = xB, H.parseInt = wB, H.random = uB, H.reduce = PF, H.reduceRight = NF, H.repeat = SB, H.replace = CB, H.result = eB, H.round = b3, H.runInContext = se, H.sample = LF, H.size = VF, H.snakeCase = TB, H.some = zF, H.sortedIndex = FL, H.sortedIndexBy = BL, H.sortedIndexOf = VL, H.sortedLastIndex = zL, H.sortedLastIndexBy = HL, H.sortedLastIndexOf = WL, H.startCase = EB, H.startsWith = OB, H.subtract = v3, H.sum = x3, H.sumBy = w3, H.template = MB, H.times = o3, H.toFinite = Ci, H.toInteger = dt, H.toLength = bS, H.toLower = _B, H.toNumber = so, H.toSafeInteger = _5, H.toString = At, H.toUpper = RB, H.trim = IB, H.trimEnd = AB, H.trimStart = DB, H.truncate = PB, H.unescape = NB, H.uniqueId = s3, H.upperCase = $B, H.upperFirst = Yg, H.each = oS, H.eachRight = iS, H.first = eS, Xg(H, (function() {
42939
+ return H.after = WF, H.ary = sS, H.assign = R5, H.assignIn = xS, H.assignInWith = cf, H.assignWith = I5, H.at = A5, H.before = aS, H.bind = Hg, H.bindAll = LB, H.bindKey = lS, H.castArray = t5, H.chain = rS, H.chunk = uL, H.compact = dL, H.concat = fL, H.cond = FB, H.conforms = BB, H.constant = Gg, H.countBy = xF, H.create = D5, H.curry = cS, H.curryRight = uS, H.debounce = dS, H.defaults = P5, H.defaultsDeep = N5, H.defer = jF, H.delay = UF, H.difference = pL, H.differenceBy = hL, H.differenceWith = mL, H.drop = gL, H.dropRight = yL, H.dropRightWhile = bL, H.dropWhile = vL, H.fill = xL, H.filter = SF, H.flatMap = kF, H.flatMapDeep = EF, H.flatMapDepth = OF, H.flatten = Qw, H.flattenDeep = wL, H.flattenDepth = SL, H.flip = qF, H.flow = zB, H.flowRight = HB, H.fromPairs = CL, H.functions = H5, H.functionsIn = W5, H.groupBy = MF, H.initial = kL, H.intersection = EL, H.intersectionBy = OL, H.intersectionWith = ML, H.invert = U5, H.invertBy = q5, H.invokeMap = RF, H.iteratee = Jg, H.keyBy = IF, H.keys = zn, H.keysIn = Mr, H.map = nf, H.mapKeys = Y5, H.mapValues = G5, H.matches = WB, H.matchesProperty = jB, H.memoize = of, H.merge = J5, H.mergeWith = wS, H.method = UB, H.methodOf = qB, H.mixin = Xg, H.negate = sf, H.nthArg = YB, H.omit = X5, H.omitBy = Z5, H.once = KF, H.orderBy = AF, H.over = GB, H.overArgs = YF, H.overEvery = JB, H.overSome = XB, H.partial = Wg, H.partialRight = fS, H.partition = DF, H.pick = Q5, H.pickBy = SS, H.property = _S, H.propertyOf = ZB, H.pull = AL, H.pullAll = tS, H.pullAllBy = DL, H.pullAllWith = PL, H.pullAt = NL, H.range = QB, H.rangeRight = e3, H.rearg = GF, H.reject = $F, H.remove = $L, H.rest = JF, H.reverse = Vg, H.sampleSize = FF, H.set = tB, H.setWith = nB, H.shuffle = BF, H.slice = LL, H.sortBy = HF, H.sortedUniq = jL, H.sortedUniqBy = UL, H.split = kB, H.spread = XF, H.tail = qL, H.take = KL, H.takeRight = YL, H.takeRightWhile = GL, H.takeWhile = JL, H.tap = dF, H.throttle = ZF, H.thru = tf, H.toArray = yS, H.toPairs = CS, H.toPairsIn = TS, H.toPath = i3, H.toPlainObject = vS, H.transform = rB, H.unary = QF, H.union = XL, H.unionBy = ZL, H.unionWith = QL, H.uniq = eF, H.uniqBy = tF, H.uniqWith = nF, H.unset = oB, H.unzip = zg, H.unzipWith = nS, H.update = iB, H.updateWith = sB, H.values = il, H.valuesIn = aB, H.without = rF, H.words = OS, H.wrap = e5, H.xor = oF, H.xorBy = iF, H.xorWith = sF, H.zip = aF, H.zipObject = lF, H.zipObjectDeep = cF, H.zipWith = uF, H.entries = CS, H.entriesIn = TS, H.extend = xS, H.extendWith = cf, Xg(H, H), H.add = a3, H.attempt = MS, H.camelCase = dB, H.capitalize = kS, H.ceil = l3, H.clamp = lB, H.clone = n5, H.cloneDeep = o5, H.cloneDeepWith = i5, H.cloneWith = r5, H.conformsTo = s5, H.deburr = ES, H.defaultTo = VB, H.divide = c3, H.endsWith = fB, H.eq = Io, H.escape = pB, H.escapeRegExp = hB, H.every = wF, H.find = CF, H.findIndex = Xw, H.findKey = $5, H.findLast = TF, H.findLastIndex = Zw, H.findLastKey = L5, H.floor = u3, H.forEach = oS, H.forEachRight = iS, H.forIn = F5, H.forInRight = B5, H.forOwn = V5, H.forOwnRight = z5, H.get = qg, H.gt = a5, H.gte = l5, H.has = j5, H.hasIn = Kg, H.head = eS, H.identity = _r, H.includes = _F, H.indexOf = TL, H.inRange = cB, H.invoke = K5, H.isArguments = Zs, H.isArray = ut, H.isArrayBuffer = c5, H.isArrayLike = Or, H.isArrayLikeObject = Cn, H.isBoolean = u5, H.isBuffer = as, H.isDate = d5, H.isElement = f5, H.isEmpty = p5, H.isEqual = h5, H.isEqualWith = m5, H.isError = jg, H.isFinite = g5, H.isFunction = Si, H.isInteger = pS, H.isLength = af, H.isMap = hS, H.isMatch = y5, H.isMatchWith = b5, H.isNaN = v5, H.isNative = x5, H.isNil = S5, H.isNull = w5, H.isNumber = mS, H.isObject = rn, H.isObjectLike = cn, H.isPlainObject = Ic, H.isRegExp = Ug, H.isSafeInteger = C5, H.isSet = gS, H.isString = lf, H.isSymbol = Vr, H.isTypedArray = ol, H.isUndefined = T5, H.isWeakMap = k5, H.isWeakSet = E5, H.join = _L, H.kebabCase = mB, H.last = io, H.lastIndexOf = RL, H.lowerCase = gB, H.lowerFirst = yB, H.lt = O5, H.lte = M5, H.max = d3, H.maxBy = f3, H.mean = p3, H.meanBy = h3, H.min = m3, H.minBy = g3, H.stubArray = Qg, H.stubFalse = ey, H.stubObject = t3, H.stubString = n3, H.stubTrue = r3, H.multiply = y3, H.nth = IL, H.noConflict = KB, H.noop = Zg, H.now = rf, H.pad = bB, H.padEnd = vB, H.padStart = xB, H.parseInt = wB, H.random = uB, H.reduce = PF, H.reduceRight = NF, H.repeat = SB, H.replace = CB, H.result = eB, H.round = b3, H.runInContext = se, H.sample = LF, H.size = VF, H.snakeCase = TB, H.some = zF, H.sortedIndex = FL, H.sortedIndexBy = BL, H.sortedIndexOf = VL, H.sortedLastIndex = zL, H.sortedLastIndexBy = HL, H.sortedLastIndexOf = WL, H.startCase = EB, H.startsWith = OB, H.subtract = v3, H.sum = x3, H.sumBy = w3, H.template = MB, H.times = o3, H.toFinite = Ci, H.toInteger = dt, H.toLength = bS, H.toLower = _B, H.toNumber = so, H.toSafeInteger = _5, H.toString = At, H.toUpper = RB, H.trim = IB, H.trimEnd = AB, H.trimStart = DB, H.truncate = PB, H.unescape = NB, H.uniqueId = s3, H.upperCase = $B, H.upperFirst = Yg, H.each = oS, H.eachRight = iS, H.first = eS, Xg(H, (function() {
42940
42940
  var d = {};
42941
42941
  return jo(H, function(h, x) {
42942
42942
  $t.call(H.prototype, x) || (d[x] = h);
@@ -48633,16 +48633,16 @@ function WA(t, e) {
48633
48633
  const n = HA(t.theme);
48634
48634
  return Object.keys(t).map((r) => Tse(t, e, r, n)).reduce(vu, {});
48635
48635
  }
48636
- function hn(t) {
48636
+ function pn(t) {
48637
48637
  return WA(t, Im);
48638
48638
  }
48639
- hn.propTypes = process.env.NODE_ENV !== "production" ? Im.reduce((t, e) => (t[e] = Hs, t), {}) : {};
48640
- hn.filterProps = Im;
48641
- function mn(t) {
48639
+ pn.propTypes = process.env.NODE_ENV !== "production" ? Im.reduce((t, e) => (t[e] = Hs, t), {}) : {};
48640
+ pn.filterProps = Im;
48641
+ function hn(t) {
48642
48642
  return WA(t, Am);
48643
48643
  }
48644
- mn.propTypes = process.env.NODE_ENV !== "production" ? Am.reduce((t, e) => (t[e] = Hs, t), {}) : {};
48645
- mn.filterProps = Am;
48644
+ hn.propTypes = process.env.NODE_ENV !== "production" ? Am.reduce((t, e) => (t[e] = Hs, t), {}) : {};
48645
+ hn.filterProps = Am;
48646
48646
  process.env.NODE_ENV !== "production" && Sse.reduce((t, e) => (t[e] = Hs, t), {});
48647
48647
  function kse(t = 8, e = HA({
48648
48648
  spacing: t
@@ -48877,124 +48877,124 @@ const jA = {
48877
48877
  },
48878
48878
  // spacing
48879
48879
  p: {
48880
- style: mn
48880
+ style: hn
48881
48881
  },
48882
48882
  pt: {
48883
- style: mn
48883
+ style: hn
48884
48884
  },
48885
48885
  pr: {
48886
- style: mn
48886
+ style: hn
48887
48887
  },
48888
48888
  pb: {
48889
- style: mn
48889
+ style: hn
48890
48890
  },
48891
48891
  pl: {
48892
- style: mn
48892
+ style: hn
48893
48893
  },
48894
48894
  px: {
48895
- style: mn
48895
+ style: hn
48896
48896
  },
48897
48897
  py: {
48898
- style: mn
48898
+ style: hn
48899
48899
  },
48900
48900
  padding: {
48901
- style: mn
48901
+ style: hn
48902
48902
  },
48903
48903
  paddingTop: {
48904
- style: mn
48904
+ style: hn
48905
48905
  },
48906
48906
  paddingRight: {
48907
- style: mn
48907
+ style: hn
48908
48908
  },
48909
48909
  paddingBottom: {
48910
- style: mn
48910
+ style: hn
48911
48911
  },
48912
48912
  paddingLeft: {
48913
- style: mn
48913
+ style: hn
48914
48914
  },
48915
48915
  paddingX: {
48916
- style: mn
48916
+ style: hn
48917
48917
  },
48918
48918
  paddingY: {
48919
- style: mn
48919
+ style: hn
48920
48920
  },
48921
48921
  paddingInline: {
48922
- style: mn
48922
+ style: hn
48923
48923
  },
48924
48924
  paddingInlineStart: {
48925
- style: mn
48925
+ style: hn
48926
48926
  },
48927
48927
  paddingInlineEnd: {
48928
- style: mn
48928
+ style: hn
48929
48929
  },
48930
48930
  paddingBlock: {
48931
- style: mn
48931
+ style: hn
48932
48932
  },
48933
48933
  paddingBlockStart: {
48934
- style: mn
48934
+ style: hn
48935
48935
  },
48936
48936
  paddingBlockEnd: {
48937
- style: mn
48937
+ style: hn
48938
48938
  },
48939
48939
  m: {
48940
- style: hn
48940
+ style: pn
48941
48941
  },
48942
48942
  mt: {
48943
- style: hn
48943
+ style: pn
48944
48944
  },
48945
48945
  mr: {
48946
- style: hn
48946
+ style: pn
48947
48947
  },
48948
48948
  mb: {
48949
- style: hn
48949
+ style: pn
48950
48950
  },
48951
48951
  ml: {
48952
- style: hn
48952
+ style: pn
48953
48953
  },
48954
48954
  mx: {
48955
- style: hn
48955
+ style: pn
48956
48956
  },
48957
48957
  my: {
48958
- style: hn
48958
+ style: pn
48959
48959
  },
48960
48960
  margin: {
48961
- style: hn
48961
+ style: pn
48962
48962
  },
48963
48963
  marginTop: {
48964
- style: hn
48964
+ style: pn
48965
48965
  },
48966
48966
  marginRight: {
48967
- style: hn
48967
+ style: pn
48968
48968
  },
48969
48969
  marginBottom: {
48970
- style: hn
48970
+ style: pn
48971
48971
  },
48972
48972
  marginLeft: {
48973
- style: hn
48973
+ style: pn
48974
48974
  },
48975
48975
  marginX: {
48976
- style: hn
48976
+ style: pn
48977
48977
  },
48978
48978
  marginY: {
48979
- style: hn
48979
+ style: pn
48980
48980
  },
48981
48981
  marginInline: {
48982
- style: hn
48982
+ style: pn
48983
48983
  },
48984
48984
  marginInlineStart: {
48985
- style: hn
48985
+ style: pn
48986
48986
  },
48987
48987
  marginInlineEnd: {
48988
- style: hn
48988
+ style: pn
48989
48989
  },
48990
48990
  marginBlock: {
48991
- style: hn
48991
+ style: pn
48992
48992
  },
48993
48993
  marginBlockStart: {
48994
- style: hn
48994
+ style: pn
48995
48995
  },
48996
48996
  marginBlockEnd: {
48997
- style: hn
48997
+ style: pn
48998
48998
  },
48999
48999
  // display
49000
49000
  displayPrint: {
@@ -54994,8 +54994,8 @@ const due = te(sue, {
54994
54994
  disablePast: m,
54995
54995
  disableFuture: p,
54996
54996
  timezone: ue
54997
- }), Nt = N && ne || M, wn = N && ne || F, Dn = `${o}-grid-label`, nn = le !== null, cn = (W == null ? void 0 : W.calendarHeader) ?? pD, Sn = Rt({
54998
- elementType: cn,
54997
+ }), Nt = N && ne || M, wn = N && ne || F, Dn = `${o}-grid-label`, nn = le !== null, ln = (W == null ? void 0 : W.calendarHeader) ?? pD, Sn = Rt({
54998
+ elementType: ln,
54999
54999
  externalSlotProps: q == null ? void 0 : q.calendarHeader,
55000
55000
  additionalProps: {
55001
55001
  views: O,
@@ -55067,7 +55067,7 @@ const due = te(sue, {
55067
55067
  className: me(ye.root, P),
55068
55068
  ownerState: Xt
55069
55069
  }, ce, {
55070
- children: [/* @__PURE__ */ w(cn, ie({}, Sn, {
55070
+ children: [/* @__PURE__ */ w(ln, ie({}, Sn, {
55071
55071
  slots: W,
55072
55072
  slotProps: q
55073
55073
  })), /* @__PURE__ */ w(fue, {
@@ -57336,7 +57336,7 @@ const _ue = {
57336
57336
  /* @__PURE__ */ w(WZ, {}),
57337
57337
  /* @__PURE__ */ w(gZ, {}),
57338
57338
  /* @__PURE__ */ w(tQ, {}),
57339
- $X() && /* @__PURE__ */ ee(sn, { children: [
57339
+ $X() && /* @__PURE__ */ ee(vn, { children: [
57340
57340
  /* @__PURE__ */ w(BZ, {}),
57341
57341
  /* @__PURE__ */ w(lQ, {})
57342
57342
  ] }),
@@ -57599,7 +57599,7 @@ Ar.prototype = {
57599
57599
  return o.j[t] = s, s;
57600
57600
  }
57601
57601
  };
57602
- const pt = (t, e, n, r, o) => t.ta(e, n, r, o), dn = (t, e, n, r, o) => t.tr(e, n, r, o), hO = (t, e, n, r, o) => t.ts(e, n, r, o), _e = (t, e, n, r, o) => t.tt(e, n, r, o), Ai = "WORD", q0 = "UWORD", SD = "ASCIINUMERICAL", CD = "ALPHANUMERICAL", Ku = "LOCALHOST", K0 = "TLD", Y0 = "UTLD", hp = "SCHEME", kl = "SLASH_SCHEME", q1 = "NUM", G0 = "WS", K1 = "NL", Su = "OPENBRACE", Cu = "CLOSEBRACE", Zp = "OPENBRACKET", Qp = "CLOSEBRACKET", eh = "OPENPAREN", th = "CLOSEPAREN", nh = "OPENANGLEBRACKET", rh = "CLOSEANGLEBRACKET", oh = "FULLWIDTHLEFTPAREN", ih = "FULLWIDTHRIGHTPAREN", sh = "LEFTCORNERBRACKET", ah = "RIGHTCORNERBRACKET", lh = "LEFTWHITECORNERBRACKET", ch = "RIGHTWHITECORNERBRACKET", uh = "FULLWIDTHLESSTHAN", dh = "FULLWIDTHGREATERTHAN", fh = "AMPERSAND", ph = "APOSTROPHE", hh = "ASTERISK", hs = "AT", mh = "BACKSLASH", gh = "BACKTICK", yh = "CARET", bs = "COLON", Y1 = "COMMA", bh = "DOLLAR", Go = "DOT", vh = "EQUALS", G1 = "EXCLAMATION", uo = "HYPHEN", Tu = "PERCENT", xh = "PIPE", wh = "PLUS", Sh = "POUND", ku = "QUERY", J1 = "QUOTE", TD = "FULLWIDTHMIDDLEDOT", X1 = "SEMI", Jo = "SLASH", Eu = "TILDE", Ch = "UNDERSCORE", kD = "EMOJI", Th = "SYM";
57602
+ const pt = (t, e, n, r, o) => t.ta(e, n, r, o), un = (t, e, n, r, o) => t.tr(e, n, r, o), hO = (t, e, n, r, o) => t.ts(e, n, r, o), _e = (t, e, n, r, o) => t.tt(e, n, r, o), Ai = "WORD", q0 = "UWORD", SD = "ASCIINUMERICAL", CD = "ALPHANUMERICAL", Ku = "LOCALHOST", K0 = "TLD", Y0 = "UTLD", hp = "SCHEME", kl = "SLASH_SCHEME", q1 = "NUM", G0 = "WS", K1 = "NL", Su = "OPENBRACE", Cu = "CLOSEBRACE", Zp = "OPENBRACKET", Qp = "CLOSEBRACKET", eh = "OPENPAREN", th = "CLOSEPAREN", nh = "OPENANGLEBRACKET", rh = "CLOSEANGLEBRACKET", oh = "FULLWIDTHLEFTPAREN", ih = "FULLWIDTHRIGHTPAREN", sh = "LEFTCORNERBRACKET", ah = "RIGHTCORNERBRACKET", lh = "LEFTWHITECORNERBRACKET", ch = "RIGHTWHITECORNERBRACKET", uh = "FULLWIDTHLESSTHAN", dh = "FULLWIDTHGREATERTHAN", fh = "AMPERSAND", ph = "APOSTROPHE", hh = "ASTERISK", hs = "AT", mh = "BACKSLASH", gh = "BACKTICK", yh = "CARET", bs = "COLON", Y1 = "COMMA", bh = "DOLLAR", Go = "DOT", vh = "EQUALS", G1 = "EXCLAMATION", uo = "HYPHEN", Tu = "PERCENT", xh = "PIPE", wh = "PLUS", Sh = "POUND", ku = "QUERY", J1 = "QUOTE", TD = "FULLWIDTHMIDDLEDOT", X1 = "SEMI", Jo = "SLASH", Eu = "TILDE", Ch = "UNDERSCORE", kD = "EMOJI", Th = "SYM";
57603
57603
  var ED = /* @__PURE__ */ Object.freeze({
57604
57604
  __proto__: null,
57605
57605
  ALPHANUMERICAL: CD,
@@ -57666,36 +57666,36 @@ function Wue(t = []) {
57666
57666
  Ar.groups = e;
57667
57667
  const n = new Ar();
57668
57668
  zf == null && (zf = gO(Nue)), Hf == null && (Hf = gO($ue)), _e(n, "'", ph), _e(n, "{", Su), _e(n, "}", Cu), _e(n, "[", Zp), _e(n, "]", Qp), _e(n, "(", eh), _e(n, ")", th), _e(n, "<", nh), _e(n, ">", rh), _e(n, "(", oh), _e(n, ")", ih), _e(n, "「", sh), _e(n, "」", ah), _e(n, "『", lh), _e(n, "』", ch), _e(n, "<", uh), _e(n, ">", dh), _e(n, "&", fh), _e(n, "*", hh), _e(n, "@", hs), _e(n, "`", gh), _e(n, "^", yh), _e(n, ":", bs), _e(n, ",", Y1), _e(n, "$", bh), _e(n, ".", Go), _e(n, "=", vh), _e(n, "!", G1), _e(n, "-", uo), _e(n, "%", Tu), _e(n, "|", xh), _e(n, "+", wh), _e(n, "#", Sh), _e(n, "?", ku), _e(n, '"', J1), _e(n, "/", Jo), _e(n, ";", X1), _e(n, "~", Eu), _e(n, "_", Ch), _e(n, "\\", mh), _e(n, "・", TD);
57669
- const r = dn(n, _i, q1, {
57669
+ const r = un(n, _i, q1, {
57670
57670
  [H0]: !0
57671
57671
  });
57672
- dn(r, _i, r);
57673
- const o = dn(r, Mi, SD, {
57672
+ un(r, _i, r);
57673
+ const o = un(r, Mi, SD, {
57674
57674
  [wu]: !0
57675
- }), i = dn(r, Yc, CD, {
57675
+ }), i = un(r, Yc, CD, {
57676
57676
  [iu]: !0
57677
- }), s = dn(n, Mi, Ai, {
57677
+ }), s = un(n, Mi, Ai, {
57678
57678
  [W0]: !0
57679
57679
  });
57680
- dn(s, _i, o), dn(s, Mi, s), dn(o, _i, o), dn(o, Mi, o);
57681
- const a = dn(n, Yc, q0, {
57680
+ un(s, _i, o), un(s, Mi, s), un(o, _i, o), un(o, Mi, o);
57681
+ const a = un(n, Yc, q0, {
57682
57682
  [j0]: !0
57683
57683
  });
57684
- dn(a, Mi), dn(a, _i, i), dn(a, Yc, a), dn(i, _i, i), dn(i, Mi), dn(i, Yc, i);
57684
+ un(a, Mi), un(a, _i, i), un(a, Yc, a), un(i, _i, i), un(i, Mi), un(i, Yc, i);
57685
57685
  const l = _e(n, Pb, K1, {
57686
57686
  [Ib]: !0
57687
57687
  }), u = _e(n, mO, G0, {
57688
57688
  [Ib]: !0
57689
- }), f = dn(n, Db, G0, {
57689
+ }), f = un(n, Db, G0, {
57690
57690
  [Ib]: !0
57691
57691
  });
57692
- _e(n, Nb, f), _e(u, Pb, l), _e(u, Nb, f), dn(u, Db, f), _e(f, mO), _e(f, Pb), dn(f, Db, f), _e(f, Nb, f);
57693
- const p = dn(n, Ab, kD, {
57692
+ _e(n, Nb, f), _e(u, Pb, l), _e(u, Nb, f), un(u, Db, f), _e(f, mO), _e(f, Pb), un(f, Db, f), _e(f, Nb, f);
57693
+ const p = un(n, Ab, kD, {
57694
57694
  [wD]: !0
57695
57695
  });
57696
- _e(p, "#"), dn(p, Ab, p), _e(p, zue, p);
57696
+ _e(p, "#"), un(p, Ab, p), _e(p, zue, p);
57697
57697
  const m = _e(p, Hue);
57698
- _e(m, "#"), dn(m, Ab, p);
57698
+ _e(m, "#"), un(m, Ab, p);
57699
57699
  const g = [[Mi, s], [_i, o]], b = [[Mi, null], [Yc, a], [_i, i]];
57700
57700
  for (let y = 0; y < zf.length; y++)
57701
57701
  us(n, zf[y], K0, Ai, g);
@@ -58158,7 +58158,7 @@ function tde(t) {
58158
58158
  return t.length === 1 ? t[0].isLink : t.length === 3 && t[1].isLink ? ["()", "[]"].includes(t[0].value + t[2].value) : !1;
58159
58159
  }
58160
58160
  function nde(t) {
58161
- return new ln({
58161
+ return new an({
58162
58162
  key: new An("autolink"),
58163
58163
  appendTransaction: (e, n, r) => {
58164
58164
  const o = e.some((u) => u.docChanged) && !n.doc.eq(r.doc), i = e.some((u) => u.getMeta("preventAutolink"));
@@ -58202,7 +58202,7 @@ function nde(t) {
58202
58202
  });
58203
58203
  }
58204
58204
  function rde(t) {
58205
- return new ln({
58205
+ return new an({
58206
58206
  key: new An("handleClickLink"),
58207
58207
  props: {
58208
58208
  handleClick: (e, n, r) => {
@@ -58222,7 +58222,7 @@ function rde(t) {
58222
58222
  });
58223
58223
  }
58224
58224
  function ode(t) {
58225
- return new ln({
58225
+ return new an({
58226
58226
  key: new An("handlePasteLink"),
58227
58227
  props: {
58228
58228
  handlePaste: (e, n, r) => {
@@ -58442,7 +58442,7 @@ function sde(t) {
58442
58442
  const ade = new An("suggestion");
58443
58443
  function lde({ pluginKey: t = ade, editor: e, char: n = "@", allowSpaces: r = !1, allowToIncludeChar: o = !1, allowedPrefixes: i = [" "], startOfLine: s = !1, decorationTag: a = "span", decorationClass: l = "suggestion", decorationContent: u = "", decorationEmptyClass: f = "is-empty", command: p = () => null, items: m = () => [], render: g = () => ({}), allow: b = () => !0, findSuggestionMatch: y = sde }) {
58444
58444
  let v;
58445
- const S = g == null ? void 0 : g(), k = new ln({
58445
+ const S = g == null ? void 0 : g(), k = new an({
58446
58446
  key: t,
58447
58447
  view() {
58448
58448
  return {
@@ -58586,7 +58586,7 @@ function wO(t, e) {
58586
58586
  const n = RD(t), r = n.find((o) => o.char === e);
58587
58587
  return r || (n.length ? n[0] : null);
58588
58588
  }
58589
- const ude = an.create({
58589
+ const ude = sn.create({
58590
58590
  name: "mention",
58591
58591
  priority: 101,
58592
58592
  addOptions() {
@@ -58715,7 +58715,7 @@ const ude = an.create({
58715
58715
  },
58716
58716
  addProseMirrorPlugins() {
58717
58717
  return [
58718
- new ln({
58718
+ new an({
58719
58719
  key: new An("placeholder"),
58720
58720
  props: {
58721
58721
  decorations: ({ doc: t, selection: e }) => {
@@ -58781,7 +58781,7 @@ const ude = an.create({
58781
58781
  "Mod-,": () => this.editor.commands.toggleSubscript()
58782
58782
  };
58783
58783
  }
58784
- }), fde = an.create({
58784
+ }), fde = sn.create({
58785
58785
  name: "tableCell",
58786
58786
  addOptions() {
58787
58787
  return {
@@ -58816,7 +58816,7 @@ const ude = an.create({
58816
58816
  renderHTML({ HTMLAttributes: t }) {
58817
58817
  return ["td", kt(this.options.HTMLAttributes, t), 0];
58818
58818
  }
58819
- }), pde = an.create({
58819
+ }), pde = sn.create({
58820
58820
  name: "tableHeader",
58821
58821
  addOptions() {
58822
58822
  return {
@@ -58851,7 +58851,7 @@ const ude = an.create({
58851
58851
  renderHTML({ HTMLAttributes: t }) {
58852
58852
  return ["th", kt(this.options.HTMLAttributes, t), 0];
58853
58853
  }
58854
- }), hde = an.create({
58854
+ }), hde = sn.create({
58855
58855
  name: "tableRow",
58856
58856
  addOptions() {
58857
58857
  return {
@@ -58868,7 +58868,7 @@ const ude = an.create({
58868
58868
  renderHTML({ HTMLAttributes: t }) {
58869
58869
  return ["tr", kt(this.options.HTMLAttributes, t), 0];
58870
58870
  }
58871
- }), mde = /^\s*(\[([( |x])?\])\s$/, gde = an.create({
58871
+ }), mde = /^\s*(\[([( |x])?\])\s$/, gde = sn.create({
58872
58872
  name: "taskItem",
58873
58873
  addOptions() {
58874
58874
  return {
@@ -58979,7 +58979,7 @@ const ude = an.create({
58979
58979
  })
58980
58980
  ];
58981
58981
  }
58982
- }), yde = an.create({
58982
+ }), yde = sn.create({
58983
58983
  name: "taskList",
58984
58984
  addOptions() {
58985
58985
  return {
@@ -59287,7 +59287,7 @@ const Spe = (t) => {
59287
59287
  var S, k, T;
59288
59288
  (T = (k = (S = m == null ? void 0 : m.current) == null ? void 0 : S.editor) == null ? void 0 : k.commands) == null || T.setContent(p);
59289
59289
  }, [p]);
59290
- const m = vn(null), g = Yr((S, k) => {
59290
+ const m = bn(null), g = Yr((S, k) => {
59291
59291
  var C;
59292
59292
  const T = (C = m.current) == null ? void 0 : C.editor;
59293
59293
  if (!(!T || !i))
@@ -59409,7 +59409,7 @@ const Spe = (t) => {
59409
59409
  // </Stack>
59410
59410
  // ),
59411
59411
  },
59412
- children: () => /* @__PURE__ */ ee(sn, { children: [
59412
+ children: () => /* @__PURE__ */ ee(vn, { children: [
59413
59413
  /* @__PURE__ */ w(Lne, {}),
59414
59414
  /* @__PURE__ */ w(Xne, {})
59415
59415
  ] })
@@ -59532,7 +59532,7 @@ const Spe = (t) => {
59532
59532
  }, oe = (J) => {
59533
59533
  if (!a) return;
59534
59534
  const ae = V === n(J);
59535
- return /* @__PURE__ */ ee(sn, { children: [
59535
+ return /* @__PURE__ */ ee(vn, { children: [
59536
59536
  /* @__PURE__ */ ee(
59537
59537
  Ln,
59538
59538
  {
@@ -59584,7 +59584,7 @@ const Spe = (t) => {
59584
59584
  return W && !T ? (
59585
59585
  // mobile stack
59586
59586
  /* @__PURE__ */ ee("div", { ...e ? { id: `mobile-table-${e}` } : {}, className: b, "data-testid": "mui-table-mobile", children: [
59587
- j && /* @__PURE__ */ ee(sn, { children: [
59587
+ j && /* @__PURE__ */ ee(vn, { children: [
59588
59588
  /* @__PURE__ */ ee(Ae, { display: "flex", className: "MBv2_Table_Stack_Sort", children: [
59589
59589
  /* @__PURE__ */ w(
59590
59590
  Ql,
@@ -60146,7 +60146,7 @@ const Spe = (t) => {
60146
60146
  ] })
60147
60147
  }
60148
60148
  ];
60149
- return /* @__PURE__ */ ee(sn, { children: [
60149
+ return /* @__PURE__ */ ee(vn, { children: [
60150
60150
  /* @__PURE__ */ ee(
60151
60151
  Ae,
60152
60152
  {
@@ -60181,7 +60181,7 @@ const Spe = (t) => {
60181
60181
  }
60182
60182
  ),
60183
60183
  S && /* @__PURE__ */ ee(Ae, { display: "flex", flexDirection: "row", justifyContent: "space-between", marginTop: "20px", children: [
60184
- /* @__PURE__ */ w(Ae, { display: "flex", flexDirection: "row", gap: ".25rem", children: R && /* @__PURE__ */ ee(sn, { children: [
60184
+ /* @__PURE__ */ w(Ae, { display: "flex", flexDirection: "row", gap: ".25rem", children: R && /* @__PURE__ */ ee(vn, { children: [
60185
60185
  Q,
60186
60186
  ce
60187
60187
  ] }) }),
@@ -61858,7 +61858,7 @@ class KD extends di {
61858
61858
  }
61859
61859
  rx.prototype = KD.prototype;
61860
61860
  const dfe = (t) => {
61861
- const { title: e, onSave: n, onCancel: r, onClose: o, modifyCitation: i, readOnly: s = !1, showCloseBtn: a = !1 } = t, l = vn(null), [u, f] = vt(!1), [p, m] = vt(!1), [g, b] = vt({
61861
+ const { title: e, onSave: n, onCancel: r, onClose: o, modifyCitation: i, readOnly: s = !1, showCloseBtn: a = !1 } = t, l = bn(null), [u, f] = vt(!1), [p, m] = vt(!1), [g, b] = vt({
61862
61862
  type: "Url",
61863
61863
  source: "",
61864
61864
  title: "",
@@ -61871,7 +61871,7 @@ const dfe = (t) => {
61871
61871
  ...i,
61872
61872
  type: "Url"
61873
61873
  });
61874
- }, []), /* @__PURE__ */ ee(sn, { children: [
61874
+ }, []), /* @__PURE__ */ ee(vn, { children: [
61875
61875
  /* @__PURE__ */ ee(Ae, { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "space-between", children: [
61876
61876
  /* @__PURE__ */ w(Je, { variant: "h6", margin: "10px 0", children: e }),
61877
61877
  a && /* @__PURE__ */ w(fr, { onClick: o, children: /* @__PURE__ */ w(Tm, {}) })
@@ -61963,7 +61963,7 @@ const dfe = (t) => {
61963
61963
  }
61964
61964
  )
61965
61965
  ] }),
61966
- /* @__PURE__ */ w(yp, { sx: { px: 0 }, children: s ? /* @__PURE__ */ w(Ln, { onClick: r, size: "small", variant: "contained", children: "Back to Table" }) : /* @__PURE__ */ ee(sn, { children: [
61966
+ /* @__PURE__ */ w(yp, { sx: { px: 0 }, children: s ? /* @__PURE__ */ w(Ln, { onClick: r, size: "small", variant: "contained", children: "Back to Table" }) : /* @__PURE__ */ ee(vn, { children: [
61967
61967
  /* @__PURE__ */ w(Ln, { onClick: r, variant: "outlined", size: "small", children: "Cancel" }),
61968
61968
  /* @__PURE__ */ w(
61969
61969
  $D,
@@ -61995,7 +61995,7 @@ const dfe = (t) => {
61995
61995
  modifyCitation: s,
61996
61996
  readOnly: a = !1,
61997
61997
  showCloseBtn: l = !1
61998
- } = t, u = vn(null), [f, p] = vt(!1), [m, g] = vt(!1), [b, y] = vt({
61998
+ } = t, u = bn(null), [f, p] = vt(!1), [m, g] = vt(!1), [b, y] = vt({
61999
61999
  type: "Attachment",
62000
62000
  title: "",
62001
62001
  file: void 0,
@@ -62008,7 +62008,7 @@ const dfe = (t) => {
62008
62008
  file: void 0
62009
62009
  // initialize for formik
62010
62010
  });
62011
- }, []), /* @__PURE__ */ ee(sn, { children: [
62011
+ }, []), /* @__PURE__ */ ee(vn, { children: [
62012
62012
  /* @__PURE__ */ ee(Ae, { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "space-between", children: [
62013
62013
  /* @__PURE__ */ w(Je, { variant: "h6", margin: "10px 0", children: e }),
62014
62014
  l && /* @__PURE__ */ w(fr, { onClick: o, children: /* @__PURE__ */ w(Tm, {}) })
@@ -62060,7 +62060,7 @@ const dfe = (t) => {
62060
62060
  ] }),
62061
62061
  /* @__PURE__ */ w(Xr, { name: "fileName" })
62062
62062
  ] }),
62063
- /* @__PURE__ */ w(yp, { sx: { px: 0 }, children: a ? /* @__PURE__ */ w(Ln, { onClick: r, size: "small", variant: "contained", children: "Back to Table" }) : /* @__PURE__ */ ee(sn, { children: [
62063
+ /* @__PURE__ */ w(yp, { sx: { px: 0 }, children: a ? /* @__PURE__ */ w(Ln, { onClick: r, size: "small", variant: "contained", children: "Back to Table" }) : /* @__PURE__ */ ee(vn, { children: [
62064
62064
  /* @__PURE__ */ w(Ln, { onClick: r, variant: "outlined", size: "small", children: "Cancel" }),
62065
62065
  /* @__PURE__ */ w(
62066
62066
  $D,
@@ -62516,7 +62516,7 @@ const xd = (t) => {
62516
62516
  );
62517
62517
  }, kfe = (t) => /* @__PURE__ */ w(xd, { severity: "error", ...t }), Efe = (t) => /* @__PURE__ */ w(xd, { severity: "success", ...t }), Ofe = (t) => {
62518
62518
  const { alert: e, setAlert: n } = t, r = () => n(void 0);
62519
- return /* @__PURE__ */ ee(sn, { children: [
62519
+ return /* @__PURE__ */ ee(vn, { children: [
62520
62520
  (e == null ? void 0 : e.type) === "Error" && /* @__PURE__ */ w(kfe, { "data-testid": "citation-menu-error", onClose: r, title: e.title, children: e.message.toString() }),
62521
62521
  (e == null ? void 0 : e.type) === "Success" && /* @__PURE__ */ w(Efe, { "data-testid": "citation-menu-success", onClose: r, children: e.message })
62522
62522
  ] });
@@ -62783,7 +62783,7 @@ const Ife = () => xn.create({
62783
62783
  }
62784
62784
  });
62785
62785
  function Afe(t) {
62786
- const e = Et(), n = vn(null);
62786
+ const e = Et(), n = bn(null);
62787
62787
  return /* @__PURE__ */ w(
62788
62788
  Tt,
62789
62789
  {
@@ -62865,7 +62865,7 @@ const JD = tc(void 0), XD = () => {
62865
62865
  )
62866
62866
  }
62867
62867
  ) });
62868
- }, Pfe = an.create({
62868
+ }, Pfe = sn.create({
62869
62869
  name: "citation",
62870
62870
  group: "inline",
62871
62871
  inline: !0,
@@ -62896,7 +62896,7 @@ const JD = tc(void 0), XD = () => {
62896
62896
  },
62897
62897
  addProseMirrorPlugins() {
62898
62898
  return [
62899
- new ln({
62899
+ new an({
62900
62900
  props: {
62901
62901
  handleClickOn: (t, e, n, r, o, i) => n && n.type.name === "citation" ? (this.editor.commands.openCitationBubbleMenu({}, r), !0) : !1
62902
62902
  }
@@ -62962,7 +62962,7 @@ const JD = tc(void 0), XD = () => {
62962
62962
  re.commands.setContent(z);
62963
62963
  }, 0);
62964
62964
  }, [z]);
62965
- const D = vn(null), _ = {
62965
+ const D = bn(null), _ = {
62966
62966
  normal: { marginTop: "16px", marginBottom: "8px" },
62967
62967
  dense: { marginTop: "8px", marginBottom: "4px" },
62968
62968
  none: { margin: 0 }
@@ -63088,7 +63088,7 @@ const JD = tc(void 0), XD = () => {
63088
63088
  };
63089
63089
  if (n.length === 0) return null;
63090
63090
  const f = r && !e;
63091
- return /* @__PURE__ */ ee(sn, { children: [
63091
+ return /* @__PURE__ */ ee(vn, { children: [
63092
63092
  /* @__PURE__ */ w(
63093
63093
  Ln,
63094
63094
  {
@@ -63326,16 +63326,16 @@ const JD = tc(void 0), XD = () => {
63326
63326
  deleted: { icon: wA, label: "Deleted", color: "error" },
63327
63327
  modified: { icon: Vre, label: "Modified", color: "info" }
63328
63328
  }, Bfe = (t) => {
63329
- const { beforeData: e, afterData: n, emptyTableMsg: r = "No changes to display", columns: o, isEqual: i } = t;
63329
+ const { beforeData: e, afterData: n, emptyTableMsg: r = "No changes to display", columns: o, isEqual: i, size: s } = t;
63330
63330
  t.renderExpand != null && t.isEqual == null && console.warn("DiffTable: isEqual prop should be provided when renderExpand is provided");
63331
- const s = $s(Fn().breakpoints.down("sm")), { dataDiff: a, unmodifiedCount: l } = wo(
63332
- () => Hfe(o, e, n, s, i),
63333
- [e, n, o, s, i]
63334
- ), u = o.map((f) => ({
63335
- ...f,
63336
- render: (p, m) => {
63337
- var g;
63338
- return ((g = m.modifiedDiff) == null ? void 0 : g[kn(f)]) ?? Gu(f, m, s);
63331
+ const a = $s(Fn().breakpoints.down("sm")), { dataDiff: l, unmodifiedCount: u } = wo(
63332
+ () => Hfe(o, e, n, a, i),
63333
+ [e, n, o, a, i]
63334
+ ), f = o.map((p) => ({
63335
+ ...p,
63336
+ render: (m, g) => {
63337
+ var b;
63338
+ return ((b = g.modifiedDiff) == null ? void 0 : b[kn(p)]) ?? Gu(p, g, a);
63339
63339
  }
63340
63340
  }));
63341
63341
  return /* @__PURE__ */ ee(Ae, { children: [
@@ -63345,45 +63345,47 @@ const JD = tc(void 0), XD = () => {
63345
63345
  columns: [
63346
63346
  {
63347
63347
  fieldName: "changeType",
63348
- render: (f) => {
63349
- const p = Ffe[f];
63348
+ render: (p) => {
63349
+ const m = Ffe[p];
63350
63350
  return /* @__PURE__ */ w(
63351
63351
  Y3,
63352
63352
  {
63353
- color: p.color,
63353
+ color: m.color,
63354
+ size: s == "medium" ? "medium" : "small",
63354
63355
  label: /* @__PURE__ */ ee(Je, { children: [
63355
- /* @__PURE__ */ w(p_, { icon: p.icon }),
63356
- p.label
63356
+ /* @__PURE__ */ w(p_, { icon: m.icon }),
63357
+ m.label
63357
63358
  ] })
63358
63359
  }
63359
63360
  );
63360
63361
  }
63361
63362
  },
63362
- ...u
63363
+ ...f
63363
63364
  ],
63364
- data: a,
63365
+ data: l,
63365
63366
  emptyTableMsg: r,
63366
- renderExpand: t.renderExpand ? (f) => {
63367
- const p = e.find((m) => m.id === f.id);
63367
+ renderExpand: t.renderExpand ? (p) => {
63368
+ const m = e.find((g) => g.id === p.id);
63368
63369
  return /* @__PURE__ */ w(
63369
63370
  y6,
63370
63371
  {
63371
- previousSnapshot: p,
63372
- currentSnapshot: f,
63373
- showDiff: f.changeType === "modified",
63374
- children: t.renderExpand(f)
63372
+ previousSnapshot: m,
63373
+ currentSnapshot: p,
63374
+ showDiff: p.changeType === "modified",
63375
+ children: t.renderExpand(p)
63375
63376
  }
63376
63377
  );
63377
- } : void 0
63378
+ } : void 0,
63379
+ size: s
63378
63380
  }
63379
63381
  ),
63380
- l > 0 && /* @__PURE__ */ w(Ae, { children: /* @__PURE__ */ ee(Je, { fontStyle: "italic", children: [
63382
+ u > 0 && /* @__PURE__ */ w(Ae, { children: /* @__PURE__ */ ee(Je, { fontStyle: "italic", children: [
63381
63383
  "+",
63382
- l,
63384
+ u,
63383
63385
  " unmodified rows"
63384
63386
  ] }) })
63385
63387
  ] });
63386
- }, Vfe = (t, e) => /* @__PURE__ */ ee(sn, { children: [
63388
+ }, Vfe = (t, e) => /* @__PURE__ */ ee(vn, { children: [
63387
63389
  /* @__PURE__ */ w(Ae, { "data-testid": "diff-table-cell-removed", sx: { backgroundColor: qp }, children: /* @__PURE__ */ w("s", { children: t }) }),
63388
63390
  /* @__PURE__ */ w(Ae, { "data-testid": "diff-table-cell-added", sx: { backgroundColor: Up }, children: /* @__PURE__ */ w("u", { children: e }) })
63389
63391
  ] }), zfe = (t, e, n, r = !1) => {
@@ -63410,14 +63412,14 @@ const JD = tc(void 0), XD = () => {
63410
63412
  } else u.id < f.id ? (i.push({ ...u, changeType: "deleted" }), s++) : (i.push({ ...f, changeType: "added" }), a++);
63411
63413
  }
63412
63414
  for (; s < e.length; )
63413
- i.push({ ...e[s], changeType: "added" }), s++;
63415
+ i.push({ ...e[s], changeType: "deleted" }), s++;
63414
63416
  for (; a < n.length; )
63415
63417
  i.push({ ...n[a], changeType: "added" }), a++;
63416
63418
  return { dataDiff: i, unmodifiedCount: l };
63417
63419
  }, Ape = (t) => {
63418
- const { beforeCitations: e, afterCitations: n } = t, { palette: r } = Fn(), o = ND(r);
63419
- return /* @__PURE__ */ ee(sn, { children: [
63420
- /* @__PURE__ */ w(
63420
+ const { beforeCitations: e, afterCitations: n, condenseTable: r = !1 } = t, { palette: o } = Fn(), i = ND(o, r);
63421
+ return /* @__PURE__ */ ee(Ae, { children: [
63422
+ !r && /* @__PURE__ */ w(
63421
63423
  Ae,
63422
63424
  {
63423
63425
  display: "flex",
@@ -63425,10 +63427,18 @@ const JD = tc(void 0), XD = () => {
63425
63427
  justifyContent: "space-between",
63426
63428
  alignItems: "center",
63427
63429
  paddingBottom: "10px",
63428
- children: /* @__PURE__ */ w(Je, { variant: "h2", children: "Attachments & Citations" })
63430
+ children: /* @__PURE__ */ w(Je, { variant: "h2", children: " Attachments & Citations" })
63429
63431
  }
63430
63432
  ),
63431
- /* @__PURE__ */ w(Bfe, { columns: o, beforeData: e, afterData: n })
63433
+ /* @__PURE__ */ w(
63434
+ Bfe,
63435
+ {
63436
+ columns: i,
63437
+ beforeData: e,
63438
+ afterData: n,
63439
+ size: r ? "x-small" : "medium"
63440
+ }
63441
+ )
63432
63442
  ] });
63433
63443
  }, Dpe = (t) => {
63434
63444
  const { featureMenuOptions: e = [], copyright: n, logo: r, sx: o = {}, fontColor: i = "primary" } = t, { palette: s } = Fn(), a = nc();
@@ -63533,7 +63543,7 @@ const JD = tc(void 0), XD = () => {
63533
63543
  })(), p = f ?? !1;
63534
63544
  return Be.useEffect(() => {
63535
63545
  a(!1);
63536
- }, [o]), p && /* @__PURE__ */ ee(sn, { children: [
63546
+ }, [o]), p && /* @__PURE__ */ ee(vn, { children: [
63537
63547
  /* @__PURE__ */ w(fr, { onClick: () => a(!0), color: "inherit", title: "Menu", children: /* @__PURE__ */ w(Kre, {}) }),
63538
63548
  /* @__PURE__ */ w(G3, { "data-testid": "mobile-drawer", anchor: n, open: s, onClose: () => a(!1), children: /* @__PURE__ */ w(Ae, { sx: { width: 300 }, display: "flex", flexDirection: "column", justifyContent: "space-between", children: /* @__PURE__ */ w(Ae, { display: "flex", justifyContent: "start", flexDirection: "column", children: f }) }) })
63539
63549
  ] });
@@ -63654,7 +63664,7 @@ const JD = tc(void 0), XD = () => {
63654
63664
  /* @__PURE__ */ ee(Ae, { display: "flex", gap: 2, alignItems: "center", children: [
63655
63665
  !l && !y && O,
63656
63666
  y && /* @__PURE__ */ w(Wfe, { menuOptionLists: [o, a, R], anchor: "right" }),
63657
- !y && /* @__PURE__ */ ee(sn, { children: [
63667
+ !y && /* @__PURE__ */ ee(vn, { children: [
63658
63668
  /* @__PURE__ */ w(Ae, { display: "flex", gap: 0, children: a == null ? void 0 : a.map((P, N) => /* @__PURE__ */ ee(Ae, { display: "flex", alignItems: "center", children: [
63659
63669
  N > 0 && /* @__PURE__ */ w(
63660
63670
  Je,
@@ -63805,7 +63815,7 @@ const JD = tc(void 0), XD = () => {
63805
63815
  onClose: o,
63806
63816
  elevation: a,
63807
63817
  variant: s,
63808
- children: n ? /* @__PURE__ */ ee(sn, { children: [
63818
+ children: n ? /* @__PURE__ */ ee(vn, { children: [
63809
63819
  /* @__PURE__ */ w(rV, { "data-testid": "alertTitle", sx: { fontWeight: "bold" }, children: e }),
63810
63820
  n
63811
63821
  ] }) : e