@orangelogic/design-system 2.33.0 → 2.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10805,11 +10805,11 @@ const Zse = {
10805
10805
  position: "relative",
10806
10806
  zIndex: 0
10807
10807
  };
10808
- function Qse({ nodes: n, edges: e, defaultNodes: t, defaultEdges: r, className: i, nodeTypes: o, edgeTypes: a, onNodeClick: s, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: u, onMoveEnd: h, onConnect: g, onConnectStart: m, onConnectEnd: v, onClickConnectStart: b, onClickConnectEnd: x, onNodeMouseEnter: S, onNodeMouseMove: _, onNodeMouseLeave: T, onNodeContextMenu: O, onNodeDoubleClick: M, onNodeDragStart: R, onNodeDrag: F, onNodeDragStop: D, onNodesDelete: H, onEdgesDelete: $, onDelete: B, onSelectionChange: V, onSelectionDragStart: L, onSelectionDrag: K, onSelectionDragStop: P, onSelectionContextMenu: te, onSelectionStart: le, onSelectionEnd: ee, onBeforeDelete: he, connectionMode: Oe, connectionLineType: ve = Bh.Bezier, connectionLineStyle: Me, connectionLineComponent: Se, connectionLineContainerStyle: Qe, deleteKeyCode: ct = "Backspace", selectionKeyCode: Ze = "Shift", selectionOnDrag: nt = !1, selectionMode: Ge = H0.Full, panActivationKeyCode: mt = "Space", multiSelectionKeyCode: gt = S2() ? "Meta" : "Control", zoomActivationKeyCode: de = S2() ? "Meta" : "Control", snapToGrid: rt, snapGrid: at, onlyRenderVisibleElements: Bt = !1, selectNodesOnDrag: Jt, nodesDraggable: qt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, nodeOrigin: Pe = dj, edgesFocusable: Je, edgesReconnectable: pe, elementsSelectable: Fe = !0, defaultViewport: Ne = Iae, minZoom: Gt = 0.5, maxZoom: un = 2, translateExtent: En = j0, preventScrolling: ce = !0, nodeExtent: Ie, defaultMarkerColor: re = "#b1b1b7", zoomOnScroll: ft = !0, zoomOnPinch: je = !0, panOnScroll: kt = !1, panOnScrollSpeed: Kt = 0.5, panOnScrollMode: dt = Cf.Free, zoomOnDoubleClick: Nt = !0, panOnDrag: an = !0, onPaneClick: $n, onPaneMouseEnter: St, onPaneMouseMove: Xn, onPaneMouseLeave: hi, onPaneScroll: Ii, onPaneContextMenu: ae, paneClickDistance: _e = 0, nodeClickDistance: ze = 0, children: yt, onReconnect: Pt, onReconnectStart: mn, onReconnectEnd: Rn, onEdgeContextMenu: Xr, onEdgeDoubleClick: Un, onEdgeMouseEnter: Jn, onEdgeMouseMove: Ja, onEdgeMouseLeave: Jr, reconnectRadius: ro = 10, onNodesChange: Oo, onEdgesChange: Tr, noDragClassName: Zr = "nodrag", noWheelClassName: Kn = "nowheel", noPanClassName: gi = "nopan", fitView: Cn, fitViewOptions: ha, connectOnClick: Di, attributionPosition: Mi, proOptions: ai, defaultEdgeOptions: Io, elevateNodesOnSelect: mr, elevateEdgesOnSelect: Lt, disableKeyboardA11y: di = !1, autoPanOnConnect: Ir, autoPanOnNodeDrag: Yi, autoPanSpeed: qn, connectionRadius: Rr, isValidConnection: Vo, onError: ga, style: _t, id: Sn, nodeDragThreshold: Wo, connectionDragThreshold: ne, viewport: ue, onViewportChange: pt, width: At, height: It, colorMode: ln = "light", debug: Vn, onScroll: jr, ariaLabelConfig: pr, ...Go }, vl) {
10808
+ function Qse({ nodes: n, edges: e, defaultNodes: t, defaultEdges: r, className: i, nodeTypes: o, edgeTypes: a, onNodeClick: s, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: u, onMoveEnd: h, onConnect: g, onConnectStart: m, onConnectEnd: v, onClickConnectStart: b, onClickConnectEnd: x, onNodeMouseEnter: S, onNodeMouseMove: _, onNodeMouseLeave: T, onNodeContextMenu: O, onNodeDoubleClick: M, onNodeDragStart: R, onNodeDrag: F, onNodeDragStop: D, onNodesDelete: H, onEdgesDelete: $, onDelete: B, onSelectionChange: V, onSelectionDragStart: L, onSelectionDrag: K, onSelectionDragStop: P, onSelectionContextMenu: te, onSelectionStart: le, onSelectionEnd: ee, onBeforeDelete: he, connectionMode: Oe, connectionLineType: ve = Bh.Bezier, connectionLineStyle: Me, connectionLineComponent: Se, connectionLineContainerStyle: Qe, deleteKeyCode: ct = "Backspace", selectionKeyCode: Ze = "Shift", selectionOnDrag: nt = !1, selectionMode: Ge = H0.Full, panActivationKeyCode: mt = "Space", multiSelectionKeyCode: gt = S2() ? "Meta" : "Control", zoomActivationKeyCode: de = S2() ? "Meta" : "Control", snapToGrid: rt, snapGrid: at, onlyRenderVisibleElements: Bt = !1, selectNodesOnDrag: Jt, nodesDraggable: qt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, nodeOrigin: Pe = dj, edgesFocusable: Je, edgesReconnectable: pe, elementsSelectable: Fe = !0, defaultViewport: Ne = Iae, minZoom: Gt = 0.5, maxZoom: un = 2, translateExtent: En = j0, preventScrolling: ce = !0, nodeExtent: Ie, defaultMarkerColor: re = "#b1b1b7", zoomOnScroll: ft = !0, zoomOnPinch: je = !0, panOnScroll: kt = !1, panOnScrollSpeed: Kt = 0.5, panOnScrollMode: dt = Cf.Free, zoomOnDoubleClick: Nt = !0, panOnDrag: an = !0, onPaneClick: $n, onPaneMouseEnter: St, onPaneMouseMove: Xn, onPaneMouseLeave: hi, onPaneScroll: Ii, onPaneContextMenu: ae, paneClickDistance: _e = 0, nodeClickDistance: ze = 0, children: yt, onReconnect: Pt, onReconnectStart: mn, onReconnectEnd: Rn, onEdgeContextMenu: Xr, onEdgeDoubleClick: Un, onEdgeMouseEnter: Jn, onEdgeMouseMove: Ja, onEdgeMouseLeave: Jr, reconnectRadius: ro = 10, onNodesChange: Oo, onEdgesChange: Tr, noDragClassName: Zr = "nodrag", noWheelClassName: Kn = "nowheel", noPanClassName: gi = "nopan", fitView: Cn, fitViewOptions: ha, connectOnClick: Di, attributionPosition: Mi, proOptions: ai, defaultEdgeOptions: Io, elevateNodesOnSelect: vr, elevateEdgesOnSelect: Lt, disableKeyboardA11y: di = !1, autoPanOnConnect: Ir, autoPanOnNodeDrag: Yi, autoPanSpeed: qn, connectionRadius: Rr, isValidConnection: Vo, onError: ga, style: _t, id: Sn, nodeDragThreshold: Wo, connectionDragThreshold: ne, viewport: ue, onViewportChange: pt, width: At, height: It, colorMode: ln = "light", debug: Vn, onScroll: jr, ariaLabelConfig: hr, ...Go }, vl) {
10809
10809
  const Ia = Sn || "1", yl = Nae(ln), hs = qe.useCallback((tc) => {
10810
10810
  tc.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }), jr?.(tc);
10811
10811
  }, [jr]);
10812
- return ke.jsx("div", { "data-testid": "rf__wrapper", ...Go, onScroll: hs, style: { ..._t, ...Zse }, ref: vl, className: da(["react-flow", i, yl]), id: Sn, role: "application", children: ke.jsxs(Jse, { nodes: n, edges: e, width: At, height: It, fitView: Cn, fitViewOptions: ha, minZoom: Gt, maxZoom: un, nodeOrigin: Pe, nodeExtent: Ie, children: [ke.jsx(Yse, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: S, onNodeMouseMove: _, onNodeMouseLeave: T, onNodeContextMenu: O, onNodeDoubleClick: M, nodeTypes: o, edgeTypes: a, connectionLineType: ve, connectionLineStyle: Me, connectionLineComponent: Se, connectionLineContainerStyle: Qe, selectionKeyCode: Ze, selectionOnDrag: nt, selectionMode: Ge, deleteKeyCode: ct, multiSelectionKeyCode: gt, panActivationKeyCode: mt, zoomActivationKeyCode: de, onlyRenderVisibleElements: Bt, defaultViewport: Ne, translateExtent: En, minZoom: Gt, maxZoom: un, preventScrolling: ce, zoomOnScroll: ft, zoomOnPinch: je, zoomOnDoubleClick: Nt, panOnScroll: kt, panOnScrollSpeed: Kt, panOnScrollMode: dt, panOnDrag: an, onPaneClick: $n, onPaneMouseEnter: St, onPaneMouseMove: Xn, onPaneMouseLeave: hi, onPaneScroll: Ii, onPaneContextMenu: ae, paneClickDistance: _e, nodeClickDistance: ze, onSelectionContextMenu: te, onSelectionStart: le, onSelectionEnd: ee, onReconnect: Pt, onReconnectStart: mn, onReconnectEnd: Rn, onEdgeContextMenu: Xr, onEdgeDoubleClick: Un, onEdgeMouseEnter: Jn, onEdgeMouseMove: Ja, onEdgeMouseLeave: Jr, reconnectRadius: ro, defaultMarkerColor: re, noDragClassName: Zr, noWheelClassName: Kn, noPanClassName: gi, rfId: Ia, disableKeyboardA11y: di, nodeExtent: Ie, viewport: ue, onViewportChange: pt }), ke.jsx(Pae, { nodes: n, edges: e, defaultNodes: t, defaultEdges: r, onConnect: g, onConnectStart: m, onConnectEnd: v, onClickConnectStart: b, onClickConnectEnd: x, nodesDraggable: qt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, edgesFocusable: Je, edgesReconnectable: pe, elementsSelectable: Fe, elevateNodesOnSelect: mr, elevateEdgesOnSelect: Lt, minZoom: Gt, maxZoom: un, nodeExtent: Ie, onNodesChange: Oo, onEdgesChange: Tr, snapToGrid: rt, snapGrid: at, connectionMode: Oe, translateExtent: En, connectOnClick: Di, defaultEdgeOptions: Io, fitView: Cn, fitViewOptions: ha, onNodesDelete: H, onEdgesDelete: $, onDelete: B, onNodeDragStart: R, onNodeDrag: F, onNodeDragStop: D, onSelectionDrag: K, onSelectionDragStart: L, onSelectionDragStop: P, onMove: d, onMoveStart: u, onMoveEnd: h, noPanClassName: gi, nodeOrigin: Pe, rfId: Ia, autoPanOnConnect: Ir, autoPanOnNodeDrag: Yi, autoPanSpeed: qn, onError: ga, connectionRadius: Rr, isValidConnection: Vo, selectNodesOnDrag: Jt, nodeDragThreshold: Wo, connectionDragThreshold: ne, onBeforeDelete: he, paneClickDistance: _e, debug: Vn, ariaLabelConfig: pr }), ke.jsx(Oae, { onSelectionChange: V }), yt, ke.jsx(Cae, { proOptions: ai, position: Mi }), ke.jsx(_ae, { rfId: Ia, disableKeyboardA11y: di })] }) });
10812
+ return ke.jsx("div", { "data-testid": "rf__wrapper", ...Go, onScroll: hs, style: { ..._t, ...Zse }, ref: vl, className: da(["react-flow", i, yl]), id: Sn, role: "application", children: ke.jsxs(Jse, { nodes: n, edges: e, width: At, height: It, fitView: Cn, fitViewOptions: ha, minZoom: Gt, maxZoom: un, nodeOrigin: Pe, nodeExtent: Ie, children: [ke.jsx(Yse, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: S, onNodeMouseMove: _, onNodeMouseLeave: T, onNodeContextMenu: O, onNodeDoubleClick: M, nodeTypes: o, edgeTypes: a, connectionLineType: ve, connectionLineStyle: Me, connectionLineComponent: Se, connectionLineContainerStyle: Qe, selectionKeyCode: Ze, selectionOnDrag: nt, selectionMode: Ge, deleteKeyCode: ct, multiSelectionKeyCode: gt, panActivationKeyCode: mt, zoomActivationKeyCode: de, onlyRenderVisibleElements: Bt, defaultViewport: Ne, translateExtent: En, minZoom: Gt, maxZoom: un, preventScrolling: ce, zoomOnScroll: ft, zoomOnPinch: je, zoomOnDoubleClick: Nt, panOnScroll: kt, panOnScrollSpeed: Kt, panOnScrollMode: dt, panOnDrag: an, onPaneClick: $n, onPaneMouseEnter: St, onPaneMouseMove: Xn, onPaneMouseLeave: hi, onPaneScroll: Ii, onPaneContextMenu: ae, paneClickDistance: _e, nodeClickDistance: ze, onSelectionContextMenu: te, onSelectionStart: le, onSelectionEnd: ee, onReconnect: Pt, onReconnectStart: mn, onReconnectEnd: Rn, onEdgeContextMenu: Xr, onEdgeDoubleClick: Un, onEdgeMouseEnter: Jn, onEdgeMouseMove: Ja, onEdgeMouseLeave: Jr, reconnectRadius: ro, defaultMarkerColor: re, noDragClassName: Zr, noWheelClassName: Kn, noPanClassName: gi, rfId: Ia, disableKeyboardA11y: di, nodeExtent: Ie, viewport: ue, onViewportChange: pt }), ke.jsx(Pae, { nodes: n, edges: e, defaultNodes: t, defaultEdges: r, onConnect: g, onConnectStart: m, onConnectEnd: v, onClickConnectStart: b, onClickConnectEnd: x, nodesDraggable: qt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, edgesFocusable: Je, edgesReconnectable: pe, elementsSelectable: Fe, elevateNodesOnSelect: vr, elevateEdgesOnSelect: Lt, minZoom: Gt, maxZoom: un, nodeExtent: Ie, onNodesChange: Oo, onEdgesChange: Tr, snapToGrid: rt, snapGrid: at, connectionMode: Oe, translateExtent: En, connectOnClick: Di, defaultEdgeOptions: Io, fitView: Cn, fitViewOptions: ha, onNodesDelete: H, onEdgesDelete: $, onDelete: B, onNodeDragStart: R, onNodeDrag: F, onNodeDragStop: D, onSelectionDrag: K, onSelectionDragStart: L, onSelectionDragStop: P, onMove: d, onMoveStart: u, onMoveEnd: h, noPanClassName: gi, nodeOrigin: Pe, rfId: Ia, autoPanOnConnect: Ir, autoPanOnNodeDrag: Yi, autoPanSpeed: qn, onError: ga, connectionRadius: Rr, isValidConnection: Vo, selectNodesOnDrag: Jt, nodeDragThreshold: Wo, connectionDragThreshold: ne, onBeforeDelete: he, paneClickDistance: _e, debug: Vn, ariaLabelConfig: hr }), ke.jsx(Oae, { onSelectionChange: V }), yt, ke.jsx(Cae, { proOptions: ai, position: Mi }), ke.jsx(_ae, { rfId: Ia, disableKeyboardA11y: di })] }) });
10813
10813
  }
10814
10814
  var ele = gj(Qse);
10815
10815
  const tle = (n) => n.domNode?.querySelector(".react-flow__edgelabel-renderer");
@@ -39756,7 +39756,7 @@ function $9(n, e) {
39756
39756
  function hW(n) {
39757
39757
  return typeof n == "function";
39758
39758
  }
39759
- function fr(n, e = void 0, ...t) {
39759
+ function mr(n, e = void 0, ...t) {
39760
39760
  return hW(n) ? e ? n.bind(e)(...t) : n(...t) : n;
39761
39761
  }
39762
39762
  function d2t(n = {}) {
@@ -39805,23 +39805,23 @@ function p2t(n, e) {
39805
39805
  };
39806
39806
  }, {}), g = XP({
39807
39807
  ...h,
39808
- content: fr(xn(c, "content", u)),
39809
- marks: fr(xn(c, "marks", u)),
39810
- group: fr(xn(c, "group", u)),
39811
- inline: fr(xn(c, "inline", u)),
39812
- atom: fr(xn(c, "atom", u)),
39813
- selectable: fr(xn(c, "selectable", u)),
39814
- draggable: fr(xn(c, "draggable", u)),
39815
- code: fr(xn(c, "code", u)),
39816
- whitespace: fr(xn(c, "whitespace", u)),
39817
- linebreakReplacement: fr(xn(c, "linebreakReplacement", u)),
39818
- defining: fr(xn(c, "defining", u)),
39819
- isolating: fr(xn(c, "isolating", u)),
39808
+ content: mr(xn(c, "content", u)),
39809
+ marks: mr(xn(c, "marks", u)),
39810
+ group: mr(xn(c, "group", u)),
39811
+ inline: mr(xn(c, "inline", u)),
39812
+ atom: mr(xn(c, "atom", u)),
39813
+ selectable: mr(xn(c, "selectable", u)),
39814
+ draggable: mr(xn(c, "draggable", u)),
39815
+ code: mr(xn(c, "code", u)),
39816
+ whitespace: mr(xn(c, "whitespace", u)),
39817
+ linebreakReplacement: mr(xn(c, "linebreakReplacement", u)),
39818
+ defining: mr(xn(c, "defining", u)),
39819
+ isolating: mr(xn(c, "isolating", u)),
39820
39820
  attrs: Object.fromEntries(d.map((x) => {
39821
39821
  var S;
39822
39822
  return [x.name, { default: (S = x?.attribute) === null || S === void 0 ? void 0 : S.default }];
39823
39823
  }))
39824
- }), m = fr(xn(c, "parseHTML", u));
39824
+ }), m = mr(xn(c, "parseHTML", u));
39825
39825
  m && (g.parseDOM = m.map((x) => YP(x, d)));
39826
39826
  const v = xn(c, "renderHTML", u);
39827
39827
  v && (g.toDOM = (x) => v({
@@ -39844,16 +39844,16 @@ function p2t(n, e) {
39844
39844
  };
39845
39845
  }, {}), g = XP({
39846
39846
  ...h,
39847
- inclusive: fr(xn(c, "inclusive", u)),
39848
- excludes: fr(xn(c, "excludes", u)),
39849
- group: fr(xn(c, "group", u)),
39850
- spanning: fr(xn(c, "spanning", u)),
39851
- code: fr(xn(c, "code", u)),
39847
+ inclusive: mr(xn(c, "inclusive", u)),
39848
+ excludes: mr(xn(c, "excludes", u)),
39849
+ group: mr(xn(c, "group", u)),
39850
+ spanning: mr(xn(c, "spanning", u)),
39851
+ code: mr(xn(c, "code", u)),
39852
39852
  attrs: Object.fromEntries(d.map((b) => {
39853
39853
  var x;
39854
39854
  return [b.name, { default: (x = b?.attribute) === null || x === void 0 ? void 0 : x.default }];
39855
39855
  }))
39856
- }), m = fr(xn(c, "parseHTML", u));
39856
+ }), m = mr(xn(c, "parseHTML", u));
39857
39857
  m && (g.parseDOM = m.map((b) => YP(b, d)));
39858
39858
  const v = xn(c, "renderHTML", u);
39859
39859
  return v && (g.toDOM = (b) => v({
@@ -40044,9 +40044,9 @@ let fl = class j9 {
40044
40044
  }, this.config = {
40045
40045
  ...this.config,
40046
40046
  ...e
40047
- }, this.name = this.config.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: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = fr(xn(this, "addOptions", {
40047
+ }, this.name = this.config.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: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = mr(xn(this, "addOptions", {
40048
40048
  name: this.name
40049
- }))), this.storage = fr(xn(this, "addStorage", {
40049
+ }))), this.storage = mr(xn(this, "addStorage", {
40050
40050
  name: this.name,
40051
40051
  options: this.options
40052
40052
  })) || {};
@@ -40063,9 +40063,9 @@ let fl = class j9 {
40063
40063
  }
40064
40064
  extend(e = {}) {
40065
40065
  const t = new j9(e);
40066
- return t.parent = this, this.child = t, t.name = e.name ? e.name : t.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: "${t.name}".`), t.options = fr(xn(t, "addOptions", {
40066
+ return t.parent = this, this.child = t, t.name = e.name ? e.name : t.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: "${t.name}".`), t.options = mr(xn(t, "addOptions", {
40067
40067
  name: t.name
40068
- })), t.storage = fr(xn(t, "addStorage", {
40068
+ })), t.storage = mr(xn(t, "addStorage", {
40069
40069
  name: t.name,
40070
40070
  options: t.options
40071
40071
  })), t;
@@ -40390,7 +40390,7 @@ class cv {
40390
40390
  editor: this.editor,
40391
40391
  type: jS(e.name, this.schema)
40392
40392
  };
40393
- e.type === "mark" && (!((t = fr(xn(e, "keepOnSplit", r))) !== null && t !== void 0) || t) && this.splittableMarks.push(e.name);
40393
+ e.type === "mark" && (!((t = mr(xn(e, "keepOnSplit", r))) !== null && t !== void 0) || t) && this.splittableMarks.push(e.name);
40394
40394
  const i = xn(e, "onBeforeCreate", r), o = xn(e, "onCreate", r), a = xn(e, "onUpdate", r), s = xn(e, "onSelectionUpdate", r), l = xn(e, "onTransaction", r), c = xn(e, "onFocus", r), d = xn(e, "onBlur", r), u = xn(e, "onDestroy", r);
40395
40395
  i && this.editor.on("beforeCreate", i), o && this.editor.on("create", o), a && this.editor.on("update", a), s && this.editor.on("selectionUpdate", s), l && this.editor.on("transaction", l), c && this.editor.on("focus", c), d && this.editor.on("blur", d), u && this.editor.on("destroy", u);
40396
40396
  });
@@ -40404,9 +40404,9 @@ class Ti {
40404
40404
  }, this.config = {
40405
40405
  ...this.config,
40406
40406
  ...e
40407
- }, this.name = this.config.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: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = fr(xn(this, "addOptions", {
40407
+ }, this.name = this.config.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: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = mr(xn(this, "addOptions", {
40408
40408
  name: this.name
40409
- }))), this.storage = fr(xn(this, "addStorage", {
40409
+ }))), this.storage = mr(xn(this, "addStorage", {
40410
40410
  name: this.name,
40411
40411
  options: this.options
40412
40412
  })) || {};
@@ -40423,9 +40423,9 @@ class Ti {
40423
40423
  }
40424
40424
  extend(e = {}) {
40425
40425
  const t = new Ti({ ...this.config, ...e });
40426
- return t.parent = this, this.child = t, t.name = e.name ? e.name : t.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: "${t.name}".`), t.options = fr(xn(t, "addOptions", {
40426
+ return t.parent = this, this.child = t, t.name = e.name ? e.name : t.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: "${t.name}".`), t.options = mr(xn(t, "addOptions", {
40427
40427
  name: t.name
40428
- })), t.storage = fr(xn(t, "addStorage", {
40428
+ })), t.storage = mr(xn(t, "addStorage", {
40429
40429
  name: t.name,
40430
40430
  options: t.options
40431
40431
  })), t;
@@ -41057,7 +41057,7 @@ function eN(n, e) {
41057
41057
  name: r.name,
41058
41058
  options: r.options,
41059
41059
  storage: r.storage
41060
- }, o = fr(xn(r, "group", i));
41060
+ }, o = mr(xn(r, "group", i));
41061
41061
  return typeof o != "string" ? !1 : o.split(" ").includes("list");
41062
41062
  }
41063
41063
  function HC(n, { checkChildren: e = !0, ignoreWhitespace: t = !1 } = {}) {
@@ -42161,7 +42161,7 @@ function dy(n) {
42161
42161
  return new kg({
42162
42162
  find: n.find,
42163
42163
  handler: ({ state: e, range: t, match: r }) => {
42164
- const i = fr(n.getAttributes, void 0, r);
42164
+ const i = mr(n.getAttributes, void 0, r);
42165
42165
  if (i === !1 || i === null)
42166
42166
  return null;
42167
42167
  const { tr: o } = e, a = r[r.length - 1], s = r[0];
@@ -42180,7 +42180,7 @@ function Xkt(n) {
42180
42180
  return new kg({
42181
42181
  find: n.find,
42182
42182
  handler: ({ state: e, range: t, match: r }) => {
42183
- const i = fr(n.getAttributes, void 0, r) || {}, { tr: o } = e, a = t.from;
42183
+ const i = mr(n.getAttributes, void 0, r) || {}, { tr: o } = e, a = t.from;
42184
42184
  let s = t.to;
42185
42185
  const l = n.type.create(i);
42186
42186
  if (r[1]) {
@@ -42201,7 +42201,7 @@ function V9(n) {
42201
42201
  return new kg({
42202
42202
  find: n.find,
42203
42203
  handler: ({ state: e, range: t, match: r }) => {
42204
- const i = e.doc.resolve(t.from), o = fr(n.getAttributes, void 0, r) || {};
42204
+ const i = e.doc.resolve(t.from), o = mr(n.getAttributes, void 0, r) || {};
42205
42205
  if (!i.node(-1).canReplaceWith(i.index(-1), i.indexAfter(-1), n.type))
42206
42206
  return null;
42207
42207
  e.tr.delete(t.from, t.to).setBlockType(t.from, t.from, n.type, o);
@@ -42228,7 +42228,7 @@ function Gp(n) {
42228
42228
  return new kg({
42229
42229
  find: n.find,
42230
42230
  handler: ({ state: e, range: t, match: r, chain: i }) => {
42231
- const o = fr(n.getAttributes, void 0, r) || {}, a = e.tr.delete(t.from, t.to), l = a.doc.resolve(t.from).blockRange(), c = l && V6(l, n.type, o);
42231
+ const o = mr(n.getAttributes, void 0, r) || {}, a = e.tr.delete(t.from, t.to), l = a.doc.resolve(t.from).blockRange(), c = l && V6(l, n.type, o);
42232
42232
  if (!c)
42233
42233
  return null;
42234
42234
  if (a.wrap(l, c), n.keepMarks && n.editor) {
@@ -42255,9 +42255,9 @@ let Ho = class W9 {
42255
42255
  }, this.config = {
42256
42256
  ...this.config,
42257
42257
  ...e
42258
- }, this.name = this.config.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: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = fr(xn(this, "addOptions", {
42258
+ }, this.name = this.config.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: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = mr(xn(this, "addOptions", {
42259
42259
  name: this.name
42260
- }))), this.storage = fr(xn(this, "addStorage", {
42260
+ }))), this.storage = mr(xn(this, "addStorage", {
42261
42261
  name: this.name,
42262
42262
  options: this.options
42263
42263
  })) || {};
@@ -42274,9 +42274,9 @@ let Ho = class W9 {
42274
42274
  }
42275
42275
  extend(e = {}) {
42276
42276
  const t = new W9(e);
42277
- return t.parent = this, this.child = t, t.name = e.name ? e.name : t.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: "${t.name}".`), t.options = fr(xn(t, "addOptions", {
42277
+ return t.parent = this, this.child = t, t.name = e.name ? e.name : t.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: "${t.name}".`), t.options = mr(xn(t, "addOptions", {
42278
42278
  name: t.name
42279
- })), t.storage = fr(xn(t, "addStorage", {
42279
+ })), t.storage = mr(xn(t, "addStorage", {
42280
42280
  name: t.name,
42281
42281
  options: t.options
42282
42282
  })), t;
@@ -42286,7 +42286,7 @@ function Kp(n) {
42286
42286
  return new y2t({
42287
42287
  find: n.find,
42288
42288
  handler: ({ state: e, range: t, match: r, pasteEvent: i }) => {
42289
- const o = fr(n.getAttributes, void 0, r, i);
42289
+ const o = mr(n.getAttributes, void 0, r, i);
42290
42290
  if (o === !1 || o === null)
42291
42291
  return null;
42292
42292
  const { tr: a } = e, s = r[r.length - 1], l = r[0];
@@ -43754,7 +43754,7 @@ Rl.prototype = {
43754
43754
  return i.j[n] = a, a;
43755
43755
  }
43756
43756
  };
43757
- const vr = (n, e, t, r, i) => n.ta(e, t, r, i), wo = (n, e, t, r, i) => n.tr(e, t, r, i), sN = (n, e, t, r, i) => n.ts(e, t, r, i), Vt = (n, e, t, r, i) => n.tt(e, t, r, i), up = "WORD", J9 = "UWORD", PW = "ASCIINUMERICAL", NW = "ALPHANUMERICAL", mw = "LOCALHOST", Z9 = "TLD", Q9 = "UTLD", Zx = "SCHEME", Xm = "SLASH_SCHEME", xO = "NUM", e5 = "WS", kO = "NL", u0 = "OPENBRACE", p0 = "CLOSEBRACE", Q2 = "OPENBRACKET", ek = "CLOSEBRACKET", tk = "OPENPAREN", nk = "CLOSEPAREN", rk = "OPENANGLEBRACKET", ik = "CLOSEANGLEBRACKET", ok = "FULLWIDTHLEFTPAREN", ak = "FULLWIDTHRIGHTPAREN", sk = "LEFTCORNERBRACKET", lk = "RIGHTCORNERBRACKET", ck = "LEFTWHITECORNERBRACKET", dk = "RIGHTWHITECORNERBRACKET", uk = "FULLWIDTHLESSTHAN", pk = "FULLWIDTHGREATERTHAN", hk = "AMPERSAND", _O = "APOSTROPHE", gk = "ASTERISK", Mh = "AT", fk = "BACKSLASH", mk = "BACKTICK", vk = "CARET", Fh = "COLON", CO = "COMMA", yk = "DOLLAR", fu = "DOT", bk = "EQUALS", SO = "EXCLAMATION", Hc = "HYPHEN", h0 = "PERCENT", wk = "PIPE", xk = "PLUS", kk = "POUND", g0 = "QUERY", TO = "QUOTE", LW = "FULLWIDTHMIDDLEDOT", EO = "SEMI", mu = "SLASH", f0 = "TILDE", _k = "UNDERSCORE", RW = "EMOJI", Ck = "SYM";
43757
+ const yr = (n, e, t, r, i) => n.ta(e, t, r, i), wo = (n, e, t, r, i) => n.tr(e, t, r, i), sN = (n, e, t, r, i) => n.ts(e, t, r, i), Vt = (n, e, t, r, i) => n.tt(e, t, r, i), up = "WORD", J9 = "UWORD", PW = "ASCIINUMERICAL", NW = "ALPHANUMERICAL", mw = "LOCALHOST", Z9 = "TLD", Q9 = "UTLD", Zx = "SCHEME", Xm = "SLASH_SCHEME", xO = "NUM", e5 = "WS", kO = "NL", u0 = "OPENBRACE", p0 = "CLOSEBRACE", Q2 = "OPENBRACKET", ek = "CLOSEBRACKET", tk = "OPENPAREN", nk = "CLOSEPAREN", rk = "OPENANGLEBRACKET", ik = "CLOSEANGLEBRACKET", ok = "FULLWIDTHLEFTPAREN", ak = "FULLWIDTHRIGHTPAREN", sk = "LEFTCORNERBRACKET", lk = "RIGHTCORNERBRACKET", ck = "LEFTWHITECORNERBRACKET", dk = "RIGHTWHITECORNERBRACKET", uk = "FULLWIDTHLESSTHAN", pk = "FULLWIDTHGREATERTHAN", hk = "AMPERSAND", _O = "APOSTROPHE", gk = "ASTERISK", Mh = "AT", fk = "BACKSLASH", mk = "BACKTICK", vk = "CARET", Fh = "COLON", CO = "COMMA", yk = "DOLLAR", fu = "DOT", bk = "EQUALS", SO = "EXCLAMATION", Hc = "HYPHEN", h0 = "PERCENT", wk = "PIPE", xk = "PLUS", kk = "POUND", g0 = "QUERY", TO = "QUOTE", LW = "FULLWIDTHMIDDLEDOT", EO = "SEMI", mu = "SLASH", f0 = "TILDE", _k = "UNDERSCORE", RW = "EMOJI", Ck = "SYM";
43758
43758
  var BW = /* @__PURE__ */ Object.freeze({
43759
43759
  __proto__: null,
43760
43760
  WORD: up,
@@ -44177,33 +44177,33 @@ function aCt({
44177
44177
  groups: n
44178
44178
  }) {
44179
44179
  const e = n.domain.concat([hk, gk, Mh, fk, mk, vk, yk, bk, Hc, xO, h0, wk, xk, kk, mu, Ck, f0, _k]), t = [Fh, CO, fu, SO, h0, g0, TO, EO, rk, ik, u0, p0, ek, Q2, tk, nk, ok, ak, sk, lk, ck, dk, uk, pk], r = [hk, _O, gk, fk, mk, vk, yk, bk, Hc, u0, p0, h0, wk, xk, kk, g0, mu, Ck, f0, _k], i = Fc(), o = Vt(i, f0);
44180
- vr(o, r, o), vr(o, n.domain, o);
44180
+ yr(o, r, o), yr(o, n.domain, o);
44181
44181
  const a = Fc(), s = Fc(), l = Fc();
44182
- vr(i, n.domain, a), vr(i, n.scheme, s), vr(i, n.slashscheme, l), vr(a, r, o), vr(a, n.domain, a);
44182
+ yr(i, n.domain, a), yr(i, n.scheme, s), yr(i, n.slashscheme, l), yr(a, r, o), yr(a, n.domain, a);
44183
44183
  const c = Vt(a, Mh);
44184
44184
  Vt(o, Mh, c), Vt(s, Mh, c), Vt(l, Mh, c);
44185
44185
  const d = Vt(o, fu);
44186
- vr(d, r, o), vr(d, n.domain, o);
44186
+ yr(d, r, o), yr(d, n.domain, o);
44187
44187
  const u = Fc();
44188
- vr(c, n.domain, u), vr(u, n.domain, u);
44188
+ yr(c, n.domain, u), yr(u, n.domain, u);
44189
44189
  const h = Vt(u, fu);
44190
- vr(h, n.domain, u);
44190
+ yr(h, n.domain, u);
44191
44191
  const g = Fc(uN);
44192
- vr(h, n.tld, g), vr(h, n.utld, g), Vt(c, mw, g);
44192
+ yr(h, n.tld, g), yr(h, n.utld, g), Vt(c, mw, g);
44193
44193
  const m = Vt(u, Hc);
44194
- Vt(m, Hc, m), vr(m, n.domain, u), vr(g, n.domain, u), Vt(g, fu, h), Vt(g, Hc, m);
44194
+ Vt(m, Hc, m), yr(m, n.domain, u), yr(g, n.domain, u), Vt(g, fu, h), Vt(g, Hc, m);
44195
44195
  const v = Vt(g, Fh);
44196
- vr(v, n.numeric, uN);
44196
+ yr(v, n.numeric, uN);
44197
44197
  const b = Vt(a, Hc), x = Vt(a, fu);
44198
- Vt(b, Hc, b), vr(b, n.domain, a), vr(x, r, o), vr(x, n.domain, a);
44198
+ Vt(b, Hc, b), yr(b, n.domain, a), yr(x, r, o), yr(x, n.domain, a);
44199
44199
  const S = Fc(tx);
44200
- vr(x, n.tld, S), vr(x, n.utld, S), vr(S, n.domain, a), vr(S, r, o), Vt(S, fu, x), Vt(S, Hc, b), Vt(S, Mh, c);
44200
+ yr(x, n.tld, S), yr(x, n.utld, S), yr(S, n.domain, a), yr(S, r, o), Vt(S, fu, x), Vt(S, Hc, b), Vt(S, Mh, c);
44201
44201
  const _ = Vt(S, Fh), T = Fc(tx);
44202
- vr(_, n.numeric, T);
44202
+ yr(_, n.numeric, T);
44203
44203
  const O = Fc(tx), M = Fc();
44204
- vr(O, e, O), vr(O, t, M), vr(M, e, O), vr(M, t, M), Vt(S, mu, O), Vt(T, mu, O);
44204
+ yr(O, e, O), yr(O, t, M), yr(M, e, O), yr(M, t, M), Vt(S, mu, O), Vt(T, mu, O);
44205
44205
  const R = Vt(s, Fh), F = Vt(l, Fh), D = Vt(F, mu), H = Vt(D, mu);
44206
- vr(s, n.domain, a), Vt(s, fu, x), Vt(s, Hc, b), vr(l, n.domain, a), Vt(l, fu, x), Vt(l, Hc, b), vr(R, n.domain, O), Vt(R, mu, O), Vt(R, g0, O), vr(H, n.domain, O), vr(H, e, O), Vt(H, mu, O);
44206
+ yr(s, n.domain, a), Vt(s, fu, x), Vt(s, Hc, b), yr(l, n.domain, a), Vt(l, fu, x), Vt(l, Hc, b), yr(R, n.domain, O), Vt(R, mu, O), Vt(R, g0, O), yr(H, n.domain, O), yr(H, e, O), Vt(H, mu, O);
44207
44207
  const $ = [
44208
44208
  [u0, p0],
44209
44209
  // {}
@@ -44226,9 +44226,9 @@ function aCt({
44226
44226
  const [V, L] = $[B], K = Vt(O, V);
44227
44227
  Vt(M, V, K), Vt(K, L, O);
44228
44228
  const P = Fc(tx);
44229
- vr(K, e, P);
44229
+ yr(K, e, P);
44230
44230
  const te = Fc();
44231
- vr(K, t), vr(P, e, P), vr(P, t, te), vr(te, e, P), vr(te, t, te), Vt(P, L, O), Vt(te, L, O);
44231
+ yr(K, t), yr(P, e, P), yr(P, t, te), yr(te, e, P), yr(te, t, te), Vt(P, L, O), Vt(te, L, O);
44232
44232
  }
44233
44233
  return Vt(i, mw, S), Vt(i, kO, oCt), {
44234
44234
  start: i,
@@ -49368,43 +49368,43 @@ b`.split(/\n/).length != 3 ? function(p) {
49368
49368
  function Io(p, f, w) {
49369
49369
  return p.startState ? p.startState(f, w) : !0;
49370
49370
  }
49371
- var mr = function(p, f, w) {
49371
+ var vr = function(p, f, w) {
49372
49372
  this.pos = this.start = 0, this.string = p, this.tabSize = f || 8, this.lastColumnPos = this.lastColumnValue = 0, this.lineStart = 0, this.lineOracle = w;
49373
49373
  };
49374
- mr.prototype.eol = function() {
49374
+ vr.prototype.eol = function() {
49375
49375
  return this.pos >= this.string.length;
49376
- }, mr.prototype.sol = function() {
49376
+ }, vr.prototype.sol = function() {
49377
49377
  return this.pos == this.lineStart;
49378
- }, mr.prototype.peek = function() {
49378
+ }, vr.prototype.peek = function() {
49379
49379
  return this.string.charAt(this.pos) || void 0;
49380
- }, mr.prototype.next = function() {
49380
+ }, vr.prototype.next = function() {
49381
49381
  if (this.pos < this.string.length)
49382
49382
  return this.string.charAt(this.pos++);
49383
- }, mr.prototype.eat = function(p) {
49383
+ }, vr.prototype.eat = function(p) {
49384
49384
  var f = this.string.charAt(this.pos), w;
49385
49385
  if (typeof p == "string" ? w = f == p : w = f && (p.test ? p.test(f) : p(f)), w)
49386
49386
  return ++this.pos, f;
49387
- }, mr.prototype.eatWhile = function(p) {
49387
+ }, vr.prototype.eatWhile = function(p) {
49388
49388
  for (var f = this.pos; this.eat(p); )
49389
49389
  ;
49390
49390
  return this.pos > f;
49391
- }, mr.prototype.eatSpace = function() {
49391
+ }, vr.prototype.eatSpace = function() {
49392
49392
  for (var p = this.pos; /[\s\u00a0]/.test(this.string.charAt(this.pos)); )
49393
49393
  ++this.pos;
49394
49394
  return this.pos > p;
49395
- }, mr.prototype.skipToEnd = function() {
49395
+ }, vr.prototype.skipToEnd = function() {
49396
49396
  this.pos = this.string.length;
49397
- }, mr.prototype.skipTo = function(p) {
49397
+ }, vr.prototype.skipTo = function(p) {
49398
49398
  var f = this.string.indexOf(p, this.pos);
49399
49399
  if (f > -1)
49400
49400
  return this.pos = f, !0;
49401
- }, mr.prototype.backUp = function(p) {
49401
+ }, vr.prototype.backUp = function(p) {
49402
49402
  this.pos -= p;
49403
- }, mr.prototype.column = function() {
49403
+ }, vr.prototype.column = function() {
49404
49404
  return this.lastColumnPos < this.start && (this.lastColumnValue = Me(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue), this.lastColumnPos = this.start), this.lastColumnValue - (this.lineStart ? Me(this.string, this.lineStart, this.tabSize) : 0);
49405
- }, mr.prototype.indentation = function() {
49405
+ }, vr.prototype.indentation = function() {
49406
49406
  return Me(this.string, null, this.tabSize) - (this.lineStart ? Me(this.string, this.lineStart, this.tabSize) : 0);
49407
- }, mr.prototype.match = function(p, f, w) {
49407
+ }, vr.prototype.match = function(p, f, w) {
49408
49408
  if (typeof p == "string") {
49409
49409
  var y = function(N) {
49410
49410
  return w ? N.toLowerCase() : N;
@@ -49415,19 +49415,19 @@ b`.split(/\n/).length != 3 ? function(p) {
49415
49415
  var E = this.string.slice(this.pos).match(p);
49416
49416
  return E && E.index > 0 ? null : (E && f !== !1 && (this.pos += E[0].length), E);
49417
49417
  }
49418
- }, mr.prototype.current = function() {
49418
+ }, vr.prototype.current = function() {
49419
49419
  return this.string.slice(this.start, this.pos);
49420
- }, mr.prototype.hideFirstChars = function(p, f) {
49420
+ }, vr.prototype.hideFirstChars = function(p, f) {
49421
49421
  this.lineStart += p;
49422
49422
  try {
49423
49423
  return f();
49424
49424
  } finally {
49425
49425
  this.lineStart -= p;
49426
49426
  }
49427
- }, mr.prototype.lookAhead = function(p) {
49427
+ }, vr.prototype.lookAhead = function(p) {
49428
49428
  var f = this.lineOracle;
49429
49429
  return f && f.lookAhead(p);
49430
- }, mr.prototype.baseToken = function() {
49430
+ }, vr.prototype.baseToken = function() {
49431
49431
  var p = this.lineOracle;
49432
49432
  return p && p.baseToken(this.pos);
49433
49433
  };
@@ -49539,13 +49539,13 @@ b`.split(/\n/).length != 3 ? function(p) {
49539
49539
  }
49540
49540
  var jr = function(p, f) {
49541
49541
  this.state = p, this.lookAhead = f;
49542
- }, pr = function(p, f, w, y) {
49542
+ }, hr = function(p, f, w, y) {
49543
49543
  this.state = f, this.doc = p, this.line = w, this.maxLookAhead = y || 0, this.baseTokens = null, this.baseTokenPos = 1;
49544
49544
  };
49545
- pr.prototype.lookAhead = function(p) {
49545
+ hr.prototype.lookAhead = function(p) {
49546
49546
  var f = this.doc.getLine(this.line + p);
49547
49547
  return f != null && p > this.maxLookAhead && (this.maxLookAhead = p), f;
49548
- }, pr.prototype.baseToken = function(p) {
49548
+ }, hr.prototype.baseToken = function(p) {
49549
49549
  if (!this.baseTokens)
49550
49550
  return null;
49551
49551
  for (; this.baseTokens[this.baseTokenPos] <= p; )
@@ -49555,11 +49555,11 @@ b`.split(/\n/).length != 3 ? function(p) {
49555
49555
  type: f && f.replace(/( |^)overlay .*/, ""),
49556
49556
  size: this.baseTokens[this.baseTokenPos] - p
49557
49557
  };
49558
- }, pr.prototype.nextLine = function() {
49558
+ }, hr.prototype.nextLine = function() {
49559
49559
  this.line++, this.maxLookAhead > 0 && this.maxLookAhead--;
49560
- }, pr.fromSaved = function(p, f, w) {
49561
- return f instanceof jr ? new pr(p, Mi(p.mode, f.state), w, f.lookAhead) : new pr(p, Mi(p.mode, f), w);
49562
- }, pr.prototype.save = function(p) {
49560
+ }, hr.fromSaved = function(p, f, w) {
49561
+ return f instanceof jr ? new hr(p, Mi(p.mode, f.state), w, f.lookAhead) : new hr(p, Mi(p.mode, f), w);
49562
+ }, hr.prototype.save = function(p) {
49563
49563
  var f = p !== !1 ? Mi(this.doc.mode, this.state) : this.state;
49564
49564
  return this.maxLookAhead > 0 ? new jr(f, this.maxLookAhead) : f;
49565
49565
  };
@@ -49606,8 +49606,8 @@ b`.split(/\n/).length != 3 ? function(p) {
49606
49606
  function Ia(p, f, w) {
49607
49607
  var y = p.doc, k = p.display;
49608
49608
  if (!y.mode.startState)
49609
- return new pr(y, !0, f);
49610
- var E = Ls(p, f, w), N = E > y.first && Lt(y, E - 1).stateAfter, j = N ? pr.fromSaved(y, N, E) : new pr(y, Io(y.mode), E);
49609
+ return new hr(y, !0, f);
49610
+ var E = Ls(p, f, w), N = E > y.first && Lt(y, E - 1).stateAfter, j = N ? hr.fromSaved(y, N, E) : new hr(y, Io(y.mode), E);
49611
49611
  return y.iter(E, f, function(q) {
49612
49612
  yl(p, q.text, j);
49613
49613
  var X = j.line;
@@ -49615,7 +49615,7 @@ b`.split(/\n/).length != 3 ? function(p) {
49615
49615
  }), w && (y.modeFrontier = j.line), j;
49616
49616
  }
49617
49617
  function yl(p, f, w, y) {
49618
- var k = p.doc.mode, E = new mr(f, p.options.tabSize, w);
49618
+ var k = p.doc.mode, E = new vr(f, p.options.tabSize, w);
49619
49619
  for (E.start = E.pos = y || 0, f == "" && hs(k, w.state); !E.eol(); )
49620
49620
  tc(k, E, w.state), E.start = E.pos;
49621
49621
  }
@@ -49643,7 +49643,7 @@ b`.split(/\n/).length != 3 ? function(p) {
49643
49643
  function _d(p, f, w, y) {
49644
49644
  var k = p.doc, E = k.mode, N;
49645
49645
  f = It(k, f);
49646
- var j = Lt(k, f.line), q = Ia(p, f.line, w), X = new mr(j.text, p.options.tabSize, q), fe;
49646
+ var j = Lt(k, f.line), q = Ia(p, f.line, w), X = new vr(j.text, p.options.tabSize, q), fe;
49647
49647
  for (y && (fe = []); (y || X.pos < f.ch) && !X.eol(); )
49648
49648
  X.start = X.pos, N = tc(E, X, q.state), y && fe.push(new bl(X, N, Mi(k.mode, q.state)));
49649
49649
  return y ? fe : new bl(X, N, q.state);
@@ -49663,7 +49663,7 @@ b`.split(/\n/).length != 3 ? function(p) {
49663
49663
  function ir(p, f, w, y, k, E, N) {
49664
49664
  var j = w.flattenSpans;
49665
49665
  j == null && (j = p.options.flattenSpans);
49666
- var q = 0, X = null, fe = new mr(f, p.options.tabSize, y), xe, We = p.options.addModeClass && [null];
49666
+ var q = 0, X = null, fe = new vr(f, p.options.tabSize, y), xe, We = p.options.addModeClass && [null];
49667
49667
  for (f == "" && Cd(hs(w, y.state), E); !fe.eol(); ) {
49668
49668
  if (fe.pos > p.options.maxHighlightLength ? (j = !1, N && yl(p, f, y, fe.pos), fe.pos = f.length, xe = null) : xe = Cd(tc(w, fe, y.state, We), E), We) {
49669
49669
  var Be = We[0].name;
@@ -50796,7 +50796,7 @@ b`.split(/\n/).length != 3 ? function(p) {
50796
50796
  var y = p.display, k = y.view;
50797
50797
  k.length == 0 || f >= y.viewTo || w <= y.viewFrom ? (y.view = Qu(p, f, w), y.viewFrom = f) : (y.viewFrom > f ? y.view = Qu(p, f, y.viewFrom).concat(y.view) : y.viewFrom < f && (y.view = y.view.slice(Rt(p, f))), y.viewFrom = f, y.viewTo < w ? y.view = y.view.concat(Qu(p, y.viewTo, w)) : y.viewTo > w && (y.view = y.view.slice(0, Rt(p, w)))), y.viewTo = w;
50798
50798
  }
50799
- function hr(p) {
50799
+ function gr(p) {
50800
50800
  for (var f = p.display.view, w = 0, y = 0; y < f.length; y++) {
50801
50801
  var k = f[y];
50802
50802
  !k.hidden && (!k.node || k.changes) && ++w;
@@ -51318,14 +51318,14 @@ b`.split(/\n/).length != 3 ? function(p) {
51318
51318
  var w = p.display, y = p.doc;
51319
51319
  if (f.editorIsHidden)
51320
51320
  return Yt(p), !1;
51321
- if (!f.force && f.visible.from >= w.viewFrom && f.visible.to <= w.viewTo && (w.updateLineNumbers == null || w.updateLineNumbers >= w.viewTo) && w.renderedView == w.view && hr(p) == 0)
51321
+ if (!f.force && f.visible.from >= w.viewFrom && f.visible.to <= w.viewTo && (w.updateLineNumbers == null || w.updateLineNumbers >= w.viewTo) && w.renderedView == w.view && gr(p) == 0)
51322
51322
  return !1;
51323
51323
  a8(p) && (Yt(p), f.dims = lt(p));
51324
51324
  var k = y.first + y.size, E = Math.max(f.visible.from - p.options.viewportMargin, y.first), N = Math.min(k, f.visible.to + p.options.viewportMargin);
51325
51325
  w.viewFrom < E && E - w.viewFrom < 20 && (E = Math.max(y.first, w.viewFrom)), w.viewTo > N && w.viewTo - N < 20 && (N = Math.min(k, w.viewTo)), Wr && (E = es(p.doc, E), N = ya(p.doc, N));
51326
51326
  var j = E != w.viewFrom || N != w.viewTo || w.lastWrapHeight != f.wrapperHeight || w.lastWrapWidth != f.wrapperWidth;
51327
51327
  er(p, E, N), w.viewOffset = xl(Lt(p.doc, w.viewFrom)), p.display.mover.style.top = w.viewOffset + "px";
51328
- var q = hr(p);
51328
+ var q = gr(p);
51329
51329
  if (!j && q == 0 && !f.force && w.renderedView == w.view && (w.updateLineNumbers == null || w.updateLineNumbers >= w.viewTo))
51330
51330
  return !1;
51331
51331
  var X = UJ(p);
@@ -54941,7 +54941,7 @@ b`.split(/\n/).length != 3 ? function(p) {
54941
54941
  return j;
54942
54942
  }
54943
54943
  function $Z(p) {
54944
- p.off = Kt, p.on = je, p.wheelEventPixels = GJ, p.Doc = Fs, p.splitLines = Un, p.countColumn = Me, p.findColumn = gt, p.isWordChar = ye, p.Pass = Ze, p.signal = dt, p.Line = vo, p.changeEnd = gh, p.scrollbarModel = n8, p.Pos = _t, p.cmpPos = Sn, p.modes = Oo, p.mimeModes = Tr, p.resolveMode = gi, p.getMode = Cn, p.modeExtensions = ha, p.extendMode = Di, p.copyState = Mi, p.startState = Io, p.innerMode = ai, p.commands = ob, p.keyMap = rp, p.keyName = H8, p.isModifierKey = $8, p.lookupKey = Tm, p.normalizeKeyMap = fZ, p.StringStream = mr, p.SharedTextMarker = nb, p.TextMarker = mh, p.LineWidget = tb, p.e_preventDefault = Xn, p.e_stopPropagation = hi, p.e_stop = ae, p.addClass = le, p.contains = P, p.rmClass = H, p.keyNames = vh;
54944
+ p.off = Kt, p.on = je, p.wheelEventPixels = GJ, p.Doc = Fs, p.splitLines = Un, p.countColumn = Me, p.findColumn = gt, p.isWordChar = ye, p.Pass = Ze, p.signal = dt, p.Line = vo, p.changeEnd = gh, p.scrollbarModel = n8, p.Pos = _t, p.cmpPos = Sn, p.modes = Oo, p.mimeModes = Tr, p.resolveMode = gi, p.getMode = Cn, p.modeExtensions = ha, p.extendMode = Di, p.copyState = Mi, p.startState = Io, p.innerMode = ai, p.commands = ob, p.keyMap = rp, p.keyName = H8, p.isModifierKey = $8, p.lookupKey = Tm, p.normalizeKeyMap = fZ, p.StringStream = vr, p.SharedTextMarker = nb, p.TextMarker = mh, p.LineWidget = tb, p.e_preventDefault = Xn, p.e_stopPropagation = hi, p.e_stop = ae, p.addClass = le, p.contains = P, p.rmClass = H, p.keyNames = vh;
54945
54945
  }
54946
54946
  DZ(Hi), LZ(Hi);
54947
54947
  var jZ = "iter insert remove copy getEditor constructor".split(" ");
@@ -56786,8 +56786,8 @@ b`.split(/\n/).length != 3 ? function(p) {
56786
56786
  At && (pt = At.index);
56787
56787
  }
56788
56788
  for (var It = 0, ln = !1, Vn = pt - 1; Vn >= 0; --Vn) {
56789
- var jr = ne.string.charAt(Vn), pr = F.indexOf(jr);
56790
- if (pr >= 0 && pr < 3) {
56789
+ var jr = ne.string.charAt(Vn), hr = F.indexOf(jr);
56790
+ if (hr >= 0 && hr < 3) {
56791
56791
  if (!It) {
56792
56792
  ++Vn;
56793
56793
  break;
@@ -56796,7 +56796,7 @@ b`.split(/\n/).length != 3 ? function(p) {
56796
56796
  jr == "(" && (ln = !0);
56797
56797
  break;
56798
56798
  }
56799
- } else if (pr >= 3 && pr < 6)
56799
+ } else if (hr >= 3 && hr < 6)
56800
56800
  ++It;
56801
56801
  else if (h.test(jr))
56802
56802
  ln = !0;
@@ -56938,7 +56938,7 @@ b`.split(/\n/).length != 3 ? function(p) {
56938
56938
  nt,
56939
56939
  nt,
56940
56940
  ct
56941
- ) : ne == "case" ? P(de, Ge(":")) : ne == "default" ? P(Ge(":")) : ne == "catch" ? P(Ze("form"), Se, gt, mt, nt, ct) : ne == "export" ? P(Ze("stat"), mr, nt) : ne == "import" ? P(Ze("stat"), di, nt) : ne == "async" ? P(mt) : ue == "@" ? P(de, mt) : K(Ze("stat"), de, Ge(";"), nt);
56941
+ ) : ne == "case" ? P(de, Ge(":")) : ne == "default" ? P(Ge(":")) : ne == "catch" ? P(Ze("form"), Se, gt, mt, nt, ct) : ne == "export" ? P(Ze("stat"), vr, nt) : ne == "import" ? P(Ze("stat"), di, nt) : ne == "async" ? P(mt) : ue == "@" ? P(de, mt) : K(Ze("stat"), de, Ge(";"), nt);
56942
56942
  }
56943
56943
  function gt(ne) {
56944
56944
  if (ne == "(") return P(Cn, Ge(")"));
@@ -57052,8 +57052,8 @@ b`.split(/\n/).length != 3 ? function(p) {
57052
57052
  function At(It, ln) {
57053
57053
  if (pt ? pt.indexOf(It) > -1 : It == ",") {
57054
57054
  var Vn = L.state.lexical;
57055
- return Vn.info == "call" && (Vn.pos = (Vn.pos || 0) + 1), P(function(jr, pr) {
57056
- return jr == ue || pr == ue ? K() : K(ne);
57055
+ return Vn.info == "call" && (Vn.pos = (Vn.pos || 0) + 1), P(function(jr, hr) {
57056
+ return jr == ue || hr == ue ? K() : K(ne);
57057
57057
  }, At);
57058
57058
  }
57059
57059
  return It == ue || ln == ue ? P() : pt && pt.indexOf(";") > -1 ? K(ne) : P(Ge(ue));
@@ -57245,7 +57245,7 @@ b`.split(/\n/).length != 3 ? function(p) {
57245
57245
  var pt = L.state.lexical.prev, At = pt && pt.info == "interface";
57246
57246
  return K(At ? Kn : Zr);
57247
57247
  }
57248
- function mr(ne, ue) {
57248
+ function vr(ne, ue) {
57249
57249
  return ue == "*" ? (L.marked = "keyword", P(Rr, Ge(";"))) : ue == "default" ? (L.marked = "keyword", P(de, Ge(";"))) : ne == "{" ? P(re(Lt, "}"), Rr, Ge(";")) : K(mt);
57250
57250
  }
57251
57251
  function Lt(ne, ue) {
@@ -57315,8 +57315,8 @@ b`.split(/\n/).length != 3 ? function(p) {
57315
57315
  for (; (At.type == "stat" || At.type == "form") && (pt == "}" || (It = ne.cc[ne.cc.length - 1]) && (It == qt || It == G) && !/^[,\.=+\-*:?[\(]/.test(ue)); )
57316
57316
  At = At.prev;
57317
57317
  s && At.type == ")" && At.prev.type == "stat" && (At = At.prev);
57318
- var jr = At.type, pr = pt == jr;
57319
- return jr == "vardef" ? At.indented + (ne.lastType == "operator" || ne.lastType == "," ? At.info.length + 1 : 0) : jr == "form" && pt == "{" ? At.indented : jr == "form" ? At.indented + a : jr == "stat" ? At.indented + (Sn(ne, ue) ? s || a : 0) : At.info == "switch" && !pr && o.doubleIndentSwitch != !1 ? At.indented + (/^(?:case|default)\b/.test(ue) ? a : 2 * a) : At.align ? At.column + (pr ? 0 : 1) : At.indented + (pr ? 0 : a);
57318
+ var jr = At.type, hr = pt == jr;
57319
+ return jr == "vardef" ? At.indented + (ne.lastType == "operator" || ne.lastType == "," ? At.info.length + 1 : 0) : jr == "form" && pt == "{" ? At.indented : jr == "form" ? At.indented + a : jr == "stat" ? At.indented + (Sn(ne, ue) ? s || a : 0) : At.info == "switch" && !hr && o.doubleIndentSwitch != !1 ? At.indented + (/^(?:case|default)\b/.test(ue) ? a : 2 * a) : At.align ? At.column + (hr ? 0 : 1) : At.indented + (hr ? 0 : a);
57320
57320
  },
57321
57321
  electricInput: /^\s*(?:case .*?:|default:|\{|\})$/,
57322
57322
  blockCommentStart: c ? null : "/*",
@@ -62059,7 +62059,7 @@ b`.split(/\n/).length != 3 ? function(p) {
62059
62059
  ),
62060
62060
  identity: () => (
62061
62061
  /* reexport */
62062
- mr
62062
+ vr
62063
62063
  ),
62064
62064
  include: () => (
62065
62065
  /* reexport */
@@ -62500,7 +62500,7 @@ b`.split(/\n/).length != 3 ? function(p) {
62500
62500
  groupBy: () => lh,
62501
62501
  has: () => Io,
62502
62502
  head: () => Lc,
62503
- identity: () => mr,
62503
+ identity: () => vr,
62504
62504
  include: () => vo,
62505
62505
  includes: () => vo,
62506
62506
  indexBy: () => yo,
@@ -62917,7 +62917,7 @@ b`.split(/\n/).length != 3 ? function(p) {
62917
62917
  }
62918
62918
  return !!we;
62919
62919
  }
62920
- function mr(W) {
62920
+ function vr(W) {
62921
62921
  return W;
62922
62922
  }
62923
62923
  function Lt(W) {
@@ -62952,7 +62952,7 @@ b`.split(/\n/).length != 3 ? function(p) {
62952
62952
  };
62953
62953
  }
62954
62954
  function Yi(W, ie, we) {
62955
- return W == null ? mr : Se(W) ? Ir(W, ie, we) : D(W) && !gt(W) ? Lt(W) : di(W);
62955
+ return W == null ? vr : Se(W) ? Ir(W, ie, we) : D(W) && !gt(W) ? Lt(W) : di(W);
62956
62956
  }
62957
62957
  function qn(W, ie) {
62958
62958
  return Yi(W, ie, 1 / 0);
@@ -63008,7 +63008,7 @@ b`.split(/\n/).length != 3 ? function(p) {
63008
63008
  interpolate: /<%=([\s\S]+?)%>/g,
63009
63009
  escape: /<%-([\s\S]+?)%>/g
63010
63010
  };
63011
- var jr = /(.)^/, pr = {
63011
+ var jr = /(.)^/, hr = {
63012
63012
  "'": "'",
63013
63013
  "\\": "\\",
63014
63014
  "\r": "r",
@@ -63017,7 +63017,7 @@ b`.split(/\n/).length != 3 ? function(p) {
63017
63017
  "\u2029": "u2029"
63018
63018
  }, Go = /\\|'|\r|\n|\u2028|\u2029/g;
63019
63019
  function vl(W) {
63020
- return "\\" + pr[W];
63020
+ return "\\" + hr[W];
63021
63021
  }
63022
63022
  var Ia = /^\s*(\w|\$)+\s*$/;
63023
63023
  function yl(W, ie, we) {
@@ -63395,7 +63395,7 @@ __p+='`), Hn;
63395
63395
  }, !0);
63396
63396
  var Qu = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;
63397
63397
  function kl(W) {
63398
- return W ? gt(W) ? d.call(W) : K(W) ? W.match(Qu) : io(W) ? Do(W, mr) : Rn(W) : [];
63398
+ return W ? gt(W) ? d.call(W) : K(W) ? W.match(Qu) : io(W) ? Do(W, vr) : Rn(W) : [];
63399
63399
  }
63400
63400
  function Og(W) {
63401
63401
  return W == null ? 0 : io(W) ? W.length : En(W).length;
@@ -76087,7 +76087,7 @@ function g4t(n, e) {
76087
76087
  function u(ce, Ie) {
76088
76088
  var re = d(Ie, ce), ft = re.flat, je = re.showSelectionPalette, kt = re.localStorageKey, Kt = re.theme, dt = re.callbacks, Nt = x(mo, 10), an = !1, $n = !1, St = !0, Xn = 0, hi = 0, Ii = 0, ae = 0, _e = 0, ze = 0, yt = 0, Pt = 0, mn = 0, Rn = 0, Xr = 1, Un = [], Jn = [], Ja = {}, Jr = re.selectionPalette.slice(0), ro = re.maxSelectionSize, Oo = "sp-dragging", Tr = null, Zr = ce.ownerDocument;
76089
76089
  Zr.body;
76090
- var Kn = n(ce), gi = !1, Cn = n(s, Zr).addClass(Kt), ha = Cn.find(".sp-picker-container"), Di = Cn.find(".sp-color"), Mi = Cn.find(".sp-dragger"), ai = Cn.find(".sp-hue"), Io = Cn.find(".sp-slider"), mr = Cn.find(".sp-alpha-inner"), Lt = Cn.find(".sp-alpha"), di = Cn.find(".sp-alpha-handle"), Ir = Cn.find(".sp-input"), Yi = Cn.find(".sp-palette"), qn = Cn.find(".sp-initial"), Rr = Cn.find(".sp-cancel"), Vo = Cn.find(".sp-clear"), ga = Cn.find(".sp-choose"), _t = Cn.find(".sp-palette-toggle"), Sn = Kn.is("input"), Wo = Sn && Kn.attr("type") === "color" && S(), ne = Sn && !ft, ue = ne ? n(a).addClass(Kt).addClass(re.className).addClass(re.replacerClassName) : n([]), pt = ne ? ue : Kn, At = ue.find(".sp-preview-inner"), It = re.color || Sn && Kn.val(), ln = !1, Vn = re.preferredFormat, jr = !re.showButtons || re.clickoutFiresChange, pr = !It, Go = re.allowEmpty && !Wo;
76090
+ var Kn = n(ce), gi = !1, Cn = n(s, Zr).addClass(Kt), ha = Cn.find(".sp-picker-container"), Di = Cn.find(".sp-color"), Mi = Cn.find(".sp-dragger"), ai = Cn.find(".sp-hue"), Io = Cn.find(".sp-slider"), vr = Cn.find(".sp-alpha-inner"), Lt = Cn.find(".sp-alpha"), di = Cn.find(".sp-alpha-handle"), Ir = Cn.find(".sp-input"), Yi = Cn.find(".sp-palette"), qn = Cn.find(".sp-initial"), Rr = Cn.find(".sp-cancel"), Vo = Cn.find(".sp-clear"), ga = Cn.find(".sp-choose"), _t = Cn.find(".sp-palette-toggle"), Sn = Kn.is("input"), Wo = Sn && Kn.attr("type") === "color" && S(), ne = Sn && !ft, ue = ne ? n(a).addClass(Kt).addClass(re.className).addClass(re.replacerClassName) : n([]), pt = ne ? ue : Kn, At = ue.find(".sp-preview-inner"), It = re.color || Sn && Kn.val(), ln = !1, Vn = re.preferredFormat, jr = !re.showButtons || re.clickoutFiresChange, hr = !It, Go = re.allowEmpty && !Wo;
76091
76091
  function vl() {
76092
76092
  if (re.showPaletteOnly && (re.showPalette = !0), _t.text(re.showPaletteOnly ? re.togglePaletteMoreText : re.togglePaletteLessText), re.palette) {
76093
76093
  Un = re.palette.slice(0), Jn = n.isArray(Un[0]) ? Un : [Un], Ja = {};
@@ -76115,15 +76115,15 @@ function g4t(n, e) {
76115
76115
  }), Rr.text(re.cancelText), Rr.bind("click.spectrum", function(On) {
76116
76116
  On.stopPropagation(), On.preventDefault(), Ko(), Da();
76117
76117
  }), Vo.attr("title", re.clearText), Vo.bind("click.spectrum", function(On) {
76118
- On.stopPropagation(), On.preventDefault(), pr = !0, fo(), ft && Za(!0);
76118
+ On.stopPropagation(), On.preventDefault(), hr = !0, fo(), ft && Za(!0);
76119
76119
  }), ga.text(re.chooseText), ga.bind("click.spectrum", function(On) {
76120
76120
  On.stopPropagation(), On.preventDefault(), i && Ir.is(":focus") && Ir.trigger("change"), ji() && (Za(!0), Da());
76121
76121
  }), _t.text(re.showPaletteOnly ? re.togglePaletteMoreText : re.togglePaletteLessText), _t.bind("click.spectrum", function(On) {
76122
76122
  On.stopPropagation(), On.preventDefault(), re.showPaletteOnly = !re.showPaletteOnly, !re.showPaletteOnly && !ft && Cn.css("left", "-=" + (ha.outerWidth(!0) + 5)), vl();
76123
76123
  }), b(Lt, function(On, bi, ao) {
76124
- Xr = On / _e, pr = !1, ao.shiftKey && (Xr = Math.round(Xr * 10) / 10), fo();
76124
+ Xr = On / _e, hr = !1, ao.shiftKey && (Xr = Math.round(Xr * 10) / 10), fo();
76125
76125
  }, Cd, ir), b(ai, function(On, bi) {
76126
- Pt = parseFloat(bi / ae), pr = !1, re.showAlpha || (Xr = 1), fo();
76126
+ Pt = parseFloat(bi / ae), hr = !1, re.showAlpha || (Xr = 1), fo();
76127
76127
  }, Cd, ir), b(Di, function(On, bi, ao) {
76128
76128
  if (!ao.shiftKey)
76129
76129
  Tr = null;
@@ -76132,7 +76132,7 @@ function g4t(n, e) {
76132
76132
  Tr = ya ? "x" : "y";
76133
76133
  }
76134
76134
  var ts = !Tr || Tr === "x", gs = !Tr || Tr === "y";
76135
- ts && (mn = parseFloat(On / Xn)), gs && (Rn = parseFloat((hi - bi) / hi)), pr = !1, re.showAlpha || (Xr = 1), fo();
76135
+ ts && (mn = parseFloat(On / Xn)), gs && (Rn = parseFloat((hi - bi) / hi)), hr = !1, re.showAlpha || (Xr = 1), fo();
76136
76136
  }, Cd, ir), It ? (fa(It), ma(), Vn = re.preferredFormat || B(It).getFormat(), hs(It)) : ma(), ft && io();
76137
76137
  function bn(On) {
76138
76138
  return On.data && On.data.ignore ? (fa(n(On.target).closest(".sp-thumb-el").data("color")), fo()) : (fa(n(On.target).closest(".sp-thumb-el").data("color")), fo(), re.hideAfterPaletteSelect && (Za(!0), Da())), !1;
@@ -76237,10 +76237,10 @@ function g4t(n, e) {
76237
76237
  return;
76238
76238
  }
76239
76239
  var kr, On;
76240
- !yn && Go ? pr = !0 : (pr = !1, St = !yn, kr = B(yn), On = kr.toHsv(), Pt = On.h % 360 / 360, mn = On.s, Rn = On.v, Xr = On.a), ma(), kr && kr.isValid() && !bn && (Vn = re.preferredFormat || kr.getFormat());
76240
+ !yn && Go ? hr = !0 : (hr = !1, St = !yn, kr = B(yn), On = kr.toHsv(), Pt = On.h % 360 / 360, mn = On.s, Rn = On.v, Xr = On.a), ma(), kr && kr.isValid() && !bn && (Vn = re.preferredFormat || kr.getFormat());
76241
76241
  }
76242
76242
  function oo(yn) {
76243
- return yn = yn || {}, Go && pr ? null : B.fromRatio({
76243
+ return yn = yn || {}, Go && hr ? null : B.fromRatio({
76244
76244
  h: Pt,
76245
76245
  s: mn,
76246
76246
  v: Rn,
@@ -76268,7 +76268,7 @@ function g4t(n, e) {
76268
76268
  var Do = kr.toRgb();
76269
76269
  Do.a = 0;
76270
76270
  var es = B(Do).toRgbString(), ya = "linear-gradient(left, " + es + ", " + bi + ")";
76271
- i ? mr.css("filter", B(es).toFilter({ gradientType: 1 }, bi)) : (mr.css("background", "-webkit-" + ya), mr.css("background", "-moz-" + ya), mr.css("background", "-ms-" + ya), mr.css("background", "linear-gradient(to right, " + es + ", " + bi + ")"));
76271
+ i ? vr.css("filter", B(es).toFilter({ gradientType: 1 }, bi)) : (vr.css("background", "-webkit-" + ya), vr.css("background", "-moz-" + ya), vr.css("background", "-ms-" + ya), vr.css("background", "linear-gradient(to right, " + es + ", " + bi + ")"));
76272
76272
  }
76273
76273
  On = kr.toString(bn);
76274
76274
  }
@@ -76276,7 +76276,7 @@ function g4t(n, e) {
76276
76276
  }
76277
76277
  function Rs() {
76278
76278
  var yn = mn, bn = Rn;
76279
- if (Go && pr)
76279
+ if (Go && hr)
76280
76280
  di.hide(), Io.hide(), Mi.hide();
76281
76281
  else {
76282
76282
  di.show(), Io.show(), Mi.show();
@@ -89149,7 +89149,7 @@ async function cd() {
89149
89149
  return [];
89150
89150
  }
89151
89151
  }
89152
- var Qi = /* @__PURE__ */ ((n) => (n.Bento = "bento", n.Carousel = "carousel", n.Grid = "grid", n.Ribbon = "ribbon", n))(Qi || {}), Rh = /* @__PURE__ */ ((n) => (n.Expand = "expand", n.Split = "split", n))(Rh || {}), yr = /* @__PURE__ */ ((n) => (n.Api = "api", n.Manual = "manual", n))(yr || {}), sn = /* @__PURE__ */ ((n) => (n.Automatic = "automatic", n.Custom = "custom", n))(sn || {}), Hl = /* @__PURE__ */ ((n) => (n.DoNothing = "do-nothing", n.OpenAssetInLibrary = "open-asset-in-library", n.OpenAssetOverview = "open-asset-overview", n.Zoom = "zoom", n))(Hl || {});
89152
+ var Qi = /* @__PURE__ */ ((n) => (n.Bento = "bento", n.Carousel = "carousel", n.Grid = "grid", n.Ribbon = "ribbon", n))(Qi || {}), Rh = /* @__PURE__ */ ((n) => (n.Expand = "expand", n.Split = "split", n))(Rh || {}), ur = /* @__PURE__ */ ((n) => (n.Api = "api", n.Manual = "manual", n))(ur || {}), sn = /* @__PURE__ */ ((n) => (n.Automatic = "automatic", n.Custom = "custom", n))(sn || {}), Hl = /* @__PURE__ */ ((n) => (n.DoNothing = "do-nothing", n.OpenAssetInLibrary = "open-asset-in-library", n.OpenAssetOverview = "open-asset-overview", n.Zoom = "zoom", n))(Hl || {});
89153
89153
  const uPt = {
89154
89154
  "additional-fields": "",
89155
89155
  autoplay: !1,
@@ -89177,7 +89177,7 @@ const uPt = {
89177
89177
  records: "",
89178
89178
  "slide-easing": zn.Linear,
89179
89179
  "slides-per-page": "1",
89180
- "source-variant": yr.Manual,
89180
+ "source-variant": ur.Manual,
89181
89181
  src: "",
89182
89182
  "text-reveal-style": ra.Slide,
89183
89183
  "transition-type": _p.Slide,
@@ -89202,33 +89202,33 @@ const uPt = {
89202
89202
  })),
89203
89203
  {
89204
89204
  callback: ({ record: t, value: r }) => {
89205
- const i = t.records;
89206
- let o = "";
89205
+ const i = t.records, o = t["source-variant"];
89206
+ let a = "";
89207
89207
  try {
89208
- const a = JSON.parse(i);
89209
- Array.isArray(a) ? o = JSON.stringify(
89210
- a.map((s) => ({
89211
- ...s,
89208
+ const s = JSON.parse(i);
89209
+ Array.isArray(s) ? a = JSON.stringify(
89210
+ s.map((l) => ({
89211
+ ...l,
89212
89212
  pageId: "",
89213
89213
  url: ""
89214
89214
  }))
89215
- ) : o = "";
89215
+ ) : a = "";
89216
89216
  } catch {
89217
- o = "";
89217
+ a = "";
89218
89218
  }
89219
- return r === kn.Link ? {
89219
+ return o === ur.Api && (a = ""), r === kn.Link ? {
89220
89220
  ...t,
89221
89221
  "click-event": "",
89222
89222
  "content-type": sn.Custom,
89223
- records: o,
89224
- "source-variant": yr.Manual,
89223
+ records: a,
89224
+ "source-variant": ur.Manual,
89225
89225
  src: ""
89226
89226
  } : {
89227
89227
  ...t,
89228
89228
  "click-event": "",
89229
89229
  "content-type": sn.Automatic,
89230
- records: o,
89231
- "source-variant": yr.Manual,
89230
+ records: a,
89231
+ "source-variant": ur.Manual,
89232
89232
  src: ""
89233
89233
  };
89234
89234
  },
@@ -89263,7 +89263,7 @@ const uPt = {
89263
89263
  type: "attribute"
89264
89264
  },
89265
89265
  {
89266
- callback: ({ record: t, value: r }) => r === yr.Api ? {
89266
+ callback: ({ record: t, value: r }) => r === ur.Api ? {
89267
89267
  ...t,
89268
89268
  "content-type": sn.Automatic,
89269
89269
  records: ""
@@ -89280,15 +89280,15 @@ const uPt = {
89280
89280
  options: [
89281
89281
  {
89282
89282
  helpText: n.term("individualAssetsHelpText"),
89283
- id: yr.Manual,
89283
+ id: ur.Manual,
89284
89284
  name: n.term("individualAssets"),
89285
- value: yr.Manual
89285
+ value: ur.Manual
89286
89286
  },
89287
89287
  {
89288
89288
  helpText: n.term("virtualFolderHelpText"),
89289
- id: yr.Api,
89289
+ id: ur.Api,
89290
89290
  name: n.term("virtualFolder"),
89291
- value: yr.Api
89291
+ value: ur.Api
89292
89292
  }
89293
89293
  ],
89294
89294
  show: (t) => t["card-type"] === kn.Asset,
@@ -89302,13 +89302,13 @@ const uPt = {
89302
89302
  id: "src",
89303
89303
  label: "",
89304
89304
  name: "source",
89305
- show: (t) => t["source-variant"] === yr.Api,
89305
+ show: (t) => t["source-variant"] === ur.Api,
89306
89306
  type: "attribute"
89307
89307
  },
89308
89308
  {
89309
89309
  clearable: !1,
89310
89310
  controlType: "select",
89311
- disabled: (t) => t["source-variant"] === yr.Api || t["card-type"] === kn.Link,
89311
+ disabled: (t) => t["source-variant"] === ur.Api || t["card-type"] === kn.Link,
89312
89312
  helpText: n.term("contentHelpText"),
89313
89313
  id: "content-type",
89314
89314
  label: n.term("content"),
@@ -91313,7 +91313,7 @@ const SPt = {
91313
91313
  "row-gap": "16px",
91314
91314
  "show-content-type": _u.Always,
91315
91315
  "slides-per-page": "4",
91316
- "source-variant": yr.Manual,
91316
+ "source-variant": ur.Manual,
91317
91317
  src: "",
91318
91318
  "text-reveal-style": ra.Slide,
91319
91319
  variant: Qi.Grid,
@@ -91510,26 +91510,26 @@ const SPt = {
91510
91510
  })),
91511
91511
  {
91512
91512
  callback: ({ record: t }) => {
91513
- const r = t.records;
91514
- let i = "";
91513
+ const r = t.records, i = t["source-variant"];
91514
+ let o = "";
91515
91515
  try {
91516
- const o = JSON.parse(r);
91517
- Array.isArray(o) ? i = JSON.stringify(
91518
- o.map((a) => ({
91519
- ...a,
91516
+ const a = JSON.parse(r);
91517
+ Array.isArray(a) ? o = JSON.stringify(
91518
+ a.map((s) => ({
91519
+ ...s,
91520
91520
  pageId: "",
91521
91521
  url: ""
91522
91522
  }))
91523
- ) : i = "";
91523
+ ) : o = "";
91524
91524
  } catch {
91525
- i = "";
91525
+ o = "";
91526
91526
  }
91527
- return {
91527
+ return i === ur.Api && (o = ""), {
91528
91528
  ...t,
91529
91529
  "click-event": "",
91530
91530
  "content-type": sn.Automatic,
91531
- records: i,
91532
- "source-variant": yr.Manual,
91531
+ records: o,
91532
+ "source-variant": ur.Manual,
91533
91533
  src: ""
91534
91534
  };
91535
91535
  },
@@ -91564,7 +91564,7 @@ const SPt = {
91564
91564
  type: "attribute"
91565
91565
  },
91566
91566
  {
91567
- callback: ({ record: t, value: r }) => r === yr.Api ? {
91567
+ callback: ({ record: t, value: r }) => r === ur.Api ? {
91568
91568
  ...t,
91569
91569
  "content-type": sn.Automatic,
91570
91570
  records: ""
@@ -91581,15 +91581,15 @@ const SPt = {
91581
91581
  options: [
91582
91582
  {
91583
91583
  helpText: n.term("individualAssetsHelpText"),
91584
- id: yr.Manual,
91584
+ id: ur.Manual,
91585
91585
  name: n.term("individualAssets"),
91586
- value: yr.Manual
91586
+ value: ur.Manual
91587
91587
  },
91588
91588
  {
91589
91589
  helpText: n.term("virtualFolderHelpText"),
91590
- id: yr.Api,
91590
+ id: ur.Api,
91591
91591
  name: n.term("virtualFolder"),
91592
- value: yr.Api
91592
+ value: ur.Api
91593
91593
  }
91594
91594
  ],
91595
91595
  show: (t) => t["card-type"] === kn.Asset,
@@ -91603,13 +91603,13 @@ const SPt = {
91603
91603
  id: "src",
91604
91604
  label: "",
91605
91605
  name: "source",
91606
- show: (t) => t["source-variant"] === yr.Api,
91606
+ show: (t) => t["source-variant"] === ur.Api,
91607
91607
  type: "attribute"
91608
91608
  },
91609
91609
  {
91610
91610
  clearable: !1,
91611
91611
  controlType: "select",
91612
- disabled: (t) => t["source-variant"] === yr.Api,
91612
+ disabled: (t) => t["source-variant"] === ur.Api,
91613
91613
  helpText: n.term("contentHelpText"),
91614
91614
  id: "content-type",
91615
91615
  label: n.term("content"),
@@ -92858,7 +92858,7 @@ const SPt = {
92858
92858
  {
92859
92859
  clearable: !1,
92860
92860
  controlType: "select",
92861
- disabled: (t) => t["source-variant"] === yr.Api,
92861
+ disabled: (t) => t["source-variant"] === ur.Api,
92862
92862
  helpText: n.term("contentHelpText"),
92863
92863
  id: "content-type",
92864
92864
  label: n.term("content"),
@@ -94231,7 +94231,7 @@ const SPt = {
94231
94231
  {
94232
94232
  clearable: !1,
94233
94233
  controlType: "select",
94234
- disabled: (t) => t["source-variant"] === yr.Api,
94234
+ disabled: (t) => t["source-variant"] === ur.Api,
94235
94235
  helpText: n.term("contentHelpText"),
94236
94236
  id: "content-type",
94237
94237
  label: n.term("content"),
@@ -113373,7 +113373,7 @@ let li = class extends Fn {
113373
113373
  constructor() {
113374
113374
  super(...arguments), this.formControlController = new wee(this, {
113375
113375
  assumeInteractionOn: ["cx-gallery-picker-action"]
113376
- }), this.localize = new rr(this), this.variant = kn.Asset, this.sourceVariant = yr.Manual, this.dialogVariant = Vv.Gallery, this.name = "", this.value = void 0, this.defaultValue = void 0, this.src = "", this.boundary = document.body, this.form = void 0, this.onRequestAsset = void 0, this.loading = !1, this.masonryData = [], this.dataCount = 0, this.currentPage = 0, this.selectedPosition = -1, this.hasFinishedFetchingData = !1, this.errorDataMap = /* @__PURE__ */ new Map(), this.osInstance = null, this.itemsPerPage = 9, this.maxRows = 3, this.maxColumns = 3, this.rowHeight = "150px", this.spacing = "medium", this.autofetchController = new wNt(this);
113376
+ }), this.localize = new rr(this), this.variant = kn.Asset, this.sourceVariant = ur.Manual, this.dialogVariant = Vv.Gallery, this.name = "", this.value = void 0, this.defaultValue = void 0, this.src = "", this.boundary = document.body, this.form = void 0, this.onRequestAsset = void 0, this.loading = !1, this.masonryData = [], this.dataCount = 0, this.currentPage = 0, this.selectedPosition = -1, this.hasFinishedFetchingData = !1, this.errorDataMap = /* @__PURE__ */ new Map(), this.osInstance = null, this.itemsPerPage = 9, this.maxRows = 3, this.maxColumns = 3, this.rowHeight = "150px", this.spacing = "medium", this.autofetchController = new wNt(this);
113377
113377
  }
113378
113378
  connectedCallback() {
113379
113379
  super.connectedCallback(), this.addController(this.autofetchController);
@@ -113436,7 +113436,7 @@ let li = class extends Fn {
113436
113436
  await this.updateComplete, this.requestUpdate();
113437
113437
  }
113438
113438
  async fetchImagesInFolderBySlide() {
113439
- if (await this.updateComplete, !(this.src === "" || this.sourceVariant !== yr.Api) && this.currentPage !== 1 / 0) {
113439
+ if (await this.updateComplete, !(this.src === "" || this.sourceVariant !== ur.Api) && this.currentPage !== 1 / 0) {
113440
113440
  this.hasFinishedFetchingData = !1, this.loading = !0;
113441
113441
  try {
113442
113442
  const n = await this.autofetchController.fetchImagesInFolderByPage({
@@ -113452,10 +113452,10 @@ let li = class extends Fn {
113452
113452
  }
113453
113453
  }
113454
113454
  handleSourceVariantChange() {
113455
- this.sourceVariant === yr.Api && (this.currentPage = 0, this.masonryData = [], this.dataCount = 0);
113455
+ this.sourceVariant === ur.Api && (this.currentPage = 0, this.masonryData = [], this.dataCount = 0);
113456
113456
  }
113457
113457
  async fetchImagesByIDs(n, e) {
113458
- if (await this.updateComplete, this.sourceVariant === yr.Api || !this.value)
113458
+ if (await this.updateComplete, this.sourceVariant === ur.Api || !this.value)
113459
113459
  return;
113460
113460
  if (this.value.length === 0) {
113461
113461
  this.masonryData = [], this.dataCount = 0;
@@ -113494,10 +113494,10 @@ let li = class extends Fn {
113494
113494
  }
113495
113495
  handleEditItem(n) {
113496
113496
  if (this.value) {
113497
- if (this.emit("cx-gallery-picker-action"), this.sourceVariant === yr.Manual) {
113498
- if (this.selectedPosition = this.value.findIndex((i) => this.sourceVariant === yr.Manual ? i.rawId === n.detail.item.rawId : i.id === n.detail.item.id), this.selectedPosition < 0)
113497
+ if (this.emit("cx-gallery-picker-action"), this.sourceVariant === ur.Manual) {
113498
+ if (this.selectedPosition = this.value.findIndex((i) => this.sourceVariant === ur.Manual ? i.rawId === n.detail.item.rawId : i.id === n.detail.item.id), this.selectedPosition < 0)
113499
113499
  return;
113500
- const e = this.value[this.selectedPosition], t = this.masonryData.find((i) => this.sourceVariant === yr.Manual ? i.rawId === n.detail.item.rawId : i.id === n.detail.item.id);
113500
+ const e = this.value[this.selectedPosition], t = this.masonryData.find((i) => this.sourceVariant === ur.Manual ? i.rawId === n.detail.item.rawId : i.id === n.detail.item.id);
113501
113501
  if (!e || !t?.src)
113502
113502
  return;
113503
113503
  const r = {
@@ -113553,7 +113553,7 @@ let li = class extends Fn {
113553
113553
  r = [...this.value ?? [], e];
113554
113554
  else {
113555
113555
  r = [...this.value ?? []];
113556
- const i = this.sourceVariant === yr.Manual && !!e.rawId, o = (s) => i ? s.rawId === e.rawId : s.id === e.id;
113556
+ const i = this.sourceVariant === ur.Manual && !!e.rawId, o = (s) => i ? s.rawId === e.rawId : s.id === e.id;
113557
113557
  r.some(o) ? r = r.map((s) => o(s) ? e : s) : r.push(e);
113558
113558
  }
113559
113559
  this.value = r, this.emit("cx-content-builder-gallery-change", {
@@ -113563,7 +113563,7 @@ let li = class extends Fn {
113563
113563
  objectFit: i.objectFit,
113564
113564
  openInNewTab: i.openInNewTab,
113565
113565
  pageId: i.pageId ?? "",
113566
- rawId: this.sourceVariant === yr.Manual ? i.rawId || xy() : "",
113566
+ rawId: this.sourceVariant === ur.Manual ? i.rawId || xy() : "",
113567
113567
  url: i.url ?? ""
113568
113568
  }))
113569
113569
  }
@@ -113597,7 +113597,7 @@ let li = class extends Fn {
113597
113597
  }
113598
113598
  }), this.osInstance.on("scroll", (n) => {
113599
113599
  const e = n.elements().viewport, t = e.scrollTop, r = e.clientHeight, i = e.scrollHeight, o = t + r >= i - 5;
113600
- if (this.sourceVariant !== yr.Api || this.loading || this.currentPage === 1 / 0 || !this.src)
113600
+ if (this.sourceVariant !== ur.Api || this.loading || this.currentPage === 1 / 0 || !this.src)
113601
113601
  return;
113602
113602
  const a = (this.currentPage + 1) * this.itemsPerPage;
113603
113603
  o && this.dataCount > a && this.currentPage++;
@@ -113607,7 +113607,7 @@ let li = class extends Fn {
113607
113607
  this.osInstance?.destroy(), this.osInstance = null;
113608
113608
  }
113609
113609
  render() {
113610
- const n = this.sourceVariant === yr.Manual ? [
113610
+ const n = this.sourceVariant === ur.Manual ? [
113611
113611
  {
113612
113612
  color: "var(--cx-color-danger)",
113613
113613
  event: "cx-delete-item",
@@ -113647,10 +113647,10 @@ let li = class extends Fn {
113647
113647
  <cx-masonry
113648
113648
  class="gallery-picker__masonry"
113649
113649
  cols=${this.maxColumns}
113650
- id-key=${this.sourceVariant === yr.Manual ? "rawId" : "id"}
113650
+ id-key=${this.sourceVariant === ur.Manual ? "rawId" : "id"}
113651
113651
  row-height=${this.rowHeight}
113652
113652
  spacing="medium"
113653
- ?sortable=${this.sourceVariant === yr.Manual}
113653
+ ?sortable=${this.sourceVariant === ur.Manual}
113654
113654
  .data=${e}
113655
113655
  .actions=${n}
113656
113656
  @cx-edit-item=${this.handleEditItem}
@@ -113661,7 +113661,7 @@ let li = class extends Fn {
113661
113661
  ${Tt(
113662
113662
  this.src ? this.hasFinishedFetchingData && this.masonryData.length === 0 : this.masonryData.length === 0,
113663
113663
  () => Tt(
113664
- this.sourceVariant === yr.Api,
113664
+ this.sourceVariant === ur.Api,
113665
113665
  () => Z`
113666
113666
  <cx-typography
113667
113667
  variant="body2"
@@ -113686,7 +113686,7 @@ let li = class extends Fn {
113686
113686
  )}
113687
113687
  </div>
113688
113688
  ${Tt(
113689
- this.sourceVariant === yr.Manual,
113689
+ this.sourceVariant === ur.Manual,
113690
113690
  () => Z`
113691
113691
  <cx-button
113692
113692
  class="gallery-picker-trigger"
@@ -113703,7 +113703,7 @@ let li = class extends Fn {
113703
113703
  <cx-gallery-config
113704
113704
  variant=${this.variant}
113705
113705
  dialog-variant=${this.dialogVariant}
113706
- ?disabled-asset-picker=${this.sourceVariant === yr.Api}
113706
+ ?disabled-asset-picker=${this.sourceVariant === ur.Api}
113707
113707
  .boundary=${this.boundary}
113708
113708
  .onRequestAsset=${this.onRequestAsset}
113709
113709
  @cx-gallery-config-save=${this.handleSave}
@@ -117433,7 +117433,7 @@ const YNt = {
117433
117433
  const h = this.model, { image: g, index: m } = u.detail;
117434
117434
  try {
117435
117435
  let v = JSON.parse(h.getAttributes().records || "[]");
117436
- if (h.getAttributes()["source-variant"] === yr.Api) {
117436
+ if (h.getAttributes()["source-variant"] === ur.Api) {
117437
117437
  const x = v.findIndex(
117438
117438
  (S) => S.id === g.id
117439
117439
  );
@@ -118189,7 +118189,7 @@ const YNt = {
118189
118189
  const h = this.model, { image: g, index: m } = u.detail;
118190
118190
  try {
118191
118191
  let v = JSON.parse(h.getAttributes().records || "[]");
118192
- if (h.getAttributes()["source-variant"] === yr.Api) {
118192
+ if (h.getAttributes()["source-variant"] === ur.Api) {
118193
118193
  const x = v.findIndex(
118194
118194
  (S) => S.id === g.id
118195
118195
  );
@@ -119032,7 +119032,7 @@ const PLt = Ti.create({
119032
119032
  storage: n.storage
119033
119033
  };
119034
119034
  return {
119035
- allowGapCursor: (e = fr(xn(n, "allowGapCursor", t))) !== null && e !== void 0 ? e : null
119035
+ allowGapCursor: (e = mr(xn(n, "allowGapCursor", t))) !== null && e !== void 0 ? e : null
119036
119036
  };
119037
119037
  }
119038
119038
  }), NLt = fl.create({
@@ -119401,7 +119401,7 @@ function KK(n) {
119401
119401
  return new kg({
119402
119402
  find: n.find,
119403
119403
  handler: ({ match: e, range: t, state: r }) => {
119404
- const i = r.doc.resolve(t.from), o = fr(n.getAttributes, void 0, e) || {};
119404
+ const i = r.doc.resolve(t.from), o = mr(n.getAttributes, void 0, e) || {};
119405
119405
  if (!i.node(-1).canReplaceWith(i.index(-1), i.indexAfter(-1), n.type))
119406
119406
  return null;
119407
119407
  r.tr.setBlockType(t.from, t.from, n.type, o);
@@ -119679,13 +119679,13 @@ Ql.prototype.property = "";
119679
119679
  Ql.prototype.spaceSeparated = !1;
119680
119680
  Ql.prototype.space = void 0;
119681
119681
  let XLt = 0;
119682
- const gr = hm(), Qo = hm(), B5 = hm(), Xt = hm(), Li = hm(), $v = hm(), cc = hm();
119682
+ const fr = hm(), Qo = hm(), B5 = hm(), Xt = hm(), Li = hm(), $v = hm(), cc = hm();
119683
119683
  function hm() {
119684
119684
  return 2 ** ++XLt;
119685
119685
  }
119686
119686
  const z5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
119687
119687
  __proto__: null,
119688
- boolean: gr,
119688
+ boolean: fr,
119689
119689
  booleanish: Qo,
119690
119690
  commaOrSpaceSeparated: cc,
119691
119691
  commaSeparated: $v,
@@ -119814,38 +119814,38 @@ const JLt = By({
119814
119814
  accessKey: Li,
119815
119815
  action: null,
119816
119816
  allow: null,
119817
- allowFullScreen: gr,
119818
- allowPaymentRequest: gr,
119819
- allowUserMedia: gr,
119817
+ allowFullScreen: fr,
119818
+ allowPaymentRequest: fr,
119819
+ allowUserMedia: fr,
119820
119820
  alt: null,
119821
119821
  as: null,
119822
- async: gr,
119822
+ async: fr,
119823
119823
  autoCapitalize: null,
119824
119824
  autoComplete: Li,
119825
- autoFocus: gr,
119826
- autoPlay: gr,
119825
+ autoFocus: fr,
119826
+ autoPlay: fr,
119827
119827
  blocking: Li,
119828
119828
  capture: null,
119829
119829
  charSet: null,
119830
- checked: gr,
119830
+ checked: fr,
119831
119831
  cite: null,
119832
119832
  className: Li,
119833
119833
  cols: Xt,
119834
119834
  colSpan: null,
119835
119835
  content: null,
119836
119836
  contentEditable: Qo,
119837
- controls: gr,
119837
+ controls: fr,
119838
119838
  controlsList: Li,
119839
119839
  coords: Xt | $v,
119840
119840
  crossOrigin: null,
119841
119841
  data: null,
119842
119842
  dateTime: null,
119843
119843
  decoding: null,
119844
- default: gr,
119845
- defer: gr,
119844
+ default: fr,
119845
+ defer: fr,
119846
119846
  dir: null,
119847
119847
  dirName: null,
119848
- disabled: gr,
119848
+ disabled: fr,
119849
119849
  download: B5,
119850
119850
  draggable: Qo,
119851
119851
  encType: null,
@@ -119855,7 +119855,7 @@ const JLt = By({
119855
119855
  formAction: null,
119856
119856
  formEncType: null,
119857
119857
  formMethod: null,
119858
- formNoValidate: gr,
119858
+ formNoValidate: fr,
119859
119859
  formTarget: null,
119860
119860
  headers: Li,
119861
119861
  height: Xt,
@@ -119868,15 +119868,15 @@ const JLt = By({
119868
119868
  id: null,
119869
119869
  imageSizes: null,
119870
119870
  imageSrcSet: null,
119871
- inert: gr,
119871
+ inert: fr,
119872
119872
  inputMode: null,
119873
119873
  integrity: null,
119874
119874
  is: null,
119875
- isMap: gr,
119875
+ isMap: fr,
119876
119876
  itemId: null,
119877
119877
  itemProp: Li,
119878
119878
  itemRef: Li,
119879
- itemScope: gr,
119879
+ itemScope: fr,
119880
119880
  itemType: Li,
119881
119881
  kind: null,
119882
119882
  label: null,
@@ -119884,7 +119884,7 @@ const JLt = By({
119884
119884
  language: null,
119885
119885
  list: null,
119886
119886
  loading: null,
119887
- loop: gr,
119887
+ loop: fr,
119888
119888
  low: Xt,
119889
119889
  manifest: null,
119890
119890
  max: null,
@@ -119893,12 +119893,12 @@ const JLt = By({
119893
119893
  method: null,
119894
119894
  min: null,
119895
119895
  minLength: Xt,
119896
- multiple: gr,
119897
- muted: gr,
119896
+ multiple: fr,
119897
+ muted: fr,
119898
119898
  name: null,
119899
119899
  nonce: null,
119900
- noModule: gr,
119901
- noValidate: gr,
119900
+ noModule: fr,
119901
+ noValidate: fr,
119902
119902
  onAbort: null,
119903
119903
  onAfterPrint: null,
119904
119904
  onAuxClick: null,
@@ -119987,31 +119987,31 @@ const JLt = By({
119987
119987
  onVolumeChange: null,
119988
119988
  onWaiting: null,
119989
119989
  onWheel: null,
119990
- open: gr,
119990
+ open: fr,
119991
119991
  optimum: Xt,
119992
119992
  pattern: null,
119993
119993
  ping: Li,
119994
119994
  placeholder: null,
119995
- playsInline: gr,
119995
+ playsInline: fr,
119996
119996
  popover: null,
119997
119997
  popoverTarget: null,
119998
119998
  popoverTargetAction: null,
119999
119999
  poster: null,
120000
120000
  preload: null,
120001
- readOnly: gr,
120001
+ readOnly: fr,
120002
120002
  referrerPolicy: null,
120003
120003
  rel: Li,
120004
- required: gr,
120005
- reversed: gr,
120004
+ required: fr,
120005
+ reversed: fr,
120006
120006
  rows: Xt,
120007
120007
  rowSpan: Xt,
120008
120008
  sandbox: Li,
120009
120009
  scope: null,
120010
- scoped: gr,
120011
- seamless: gr,
120012
- selected: gr,
120013
- shadowRootClonable: gr,
120014
- shadowRootDelegatesFocus: gr,
120010
+ scoped: fr,
120011
+ seamless: fr,
120012
+ selected: fr,
120013
+ shadowRootClonable: fr,
120014
+ shadowRootDelegatesFocus: fr,
120015
120015
  shadowRootMode: null,
120016
120016
  shape: null,
120017
120017
  size: Xt,
@@ -120031,7 +120031,7 @@ const JLt = By({
120031
120031
  title: null,
120032
120032
  translate: null,
120033
120033
  type: null,
120034
- typeMustMatch: gr,
120034
+ typeMustMatch: fr,
120035
120035
  useMap: null,
120036
120036
  value: Qo,
120037
120037
  width: Xt,
@@ -120077,9 +120077,9 @@ const JLt = By({
120077
120077
  // `<object>`
120078
120078
  color: null,
120079
120079
  // `<font>` and `<hr>`. Use CSS instead
120080
- compact: gr,
120080
+ compact: fr,
120081
120081
  // Lists. Use CSS to reduce space between items instead
120082
- declare: gr,
120082
+ declare: fr,
120083
120083
  // `<object>`
120084
120084
  event: null,
120085
120085
  // `<script>`
@@ -120103,13 +120103,13 @@ const JLt = By({
120103
120103
  // `<body>`
120104
120104
  marginWidth: Xt,
120105
120105
  // `<body>`
120106
- noResize: gr,
120106
+ noResize: fr,
120107
120107
  // `<frame>`
120108
- noHref: gr,
120108
+ noHref: fr,
120109
120109
  // `<area>`. Use no href instead of an explicit `nohref`
120110
- noShade: gr,
120110
+ noShade: fr,
120111
120111
  // `<hr>`. Use background-color and height instead of borders
120112
- noWrap: gr,
120112
+ noWrap: fr,
120113
120113
  // `<td>` and `<th>`
120114
120114
  object: null,
120115
120115
  // `<applet>`
@@ -120149,8 +120149,8 @@ const JLt = By({
120149
120149
  allowTransparency: null,
120150
120150
  autoCorrect: null,
120151
120151
  autoSave: null,
120152
- disablePictureInPicture: gr,
120153
- disableRemotePlayback: gr,
120152
+ disablePictureInPicture: fr,
120153
+ disableRemotePlayback: fr,
120154
120154
  prefix: null,
120155
120155
  property: null,
120156
120156
  results: Xt,
@@ -120385,7 +120385,7 @@ const JLt = By({
120385
120385
  dur: null,
120386
120386
  divisor: Xt,
120387
120387
  dominantBaseline: null,
120388
- download: gr,
120388
+ download: fr,
120389
120389
  dx: null,
120390
120390
  dy: null,
120391
120391
  edgeMode: null,
@@ -134930,7 +134930,7 @@ const kx = ({ editor: n }) => {
134930
134930
  storage: n.storage
134931
134931
  };
134932
134932
  return {
134933
- tableRole: fr(xn(n, "tableRole", e))
134933
+ tableRole: mr(xn(n, "tableRole", e))
134934
134934
  };
134935
134935
  }
134936
134936
  }), Xjt = Ho.create({
@@ -138004,7 +138004,7 @@ for (let n of [
138004
138004
  function Er(n) {
138005
138005
  return AX[Object.prototype.toString.call(n)] || "object";
138006
138006
  }
138007
- const ur = (n, e = null) => n.length >= 3 ? Array.prototype.slice.call(n) : Er(n[0]) == "object" && e ? e.split("").filter((t) => n[0][t] !== void 0).map((t) => n[0][t]) : n[0].slice(0), Fy = (n) => {
138007
+ const pr = (n, e = null) => n.length >= 3 ? Array.prototype.slice.call(n) : Er(n[0]) == "object" && e ? e.split("").filter((t) => n[0][t] !== void 0).map((t) => n[0][t]) : n[0].slice(0), Fy = (n) => {
138008
138008
  if (n.length < 2) return null;
138009
138009
  const e = n.length - 1;
138010
138010
  return Er(n[e]) == "string" ? n[e].toLowerCase() : null;
@@ -138211,7 +138211,7 @@ const vy = {
138211
138211
  }
138212
138212
  throw new Error(`unknown hex color: ${n}`);
138213
138213
  }, { round: Ex } = Math, PX = (...n) => {
138214
- let [e, t, r, i] = ur(n, "rgba"), o = Fy(n) || "auto";
138214
+ let [e, t, r, i] = pr(n, "rgba"), o = Fy(n) || "auto";
138215
138215
  i === void 0 && (i = 1), o === "auto" && (o = i < 1 ? "rgba" : "rgb"), e = Ex(e), t = Ex(t), r = Ex(r);
138216
138216
  let s = "000000" + (e << 16 | t << 8 | r).toString(16);
138217
138217
  s = s.substr(s.length - 6);
@@ -138346,7 +138346,7 @@ function Ew() {
138346
138346
  return Nu.labWhitePoint;
138347
138347
  }
138348
138348
  const y7 = (...n) => {
138349
- n = ur(n, "lab");
138349
+ n = pr(n, "lab");
138350
138350
  const [e, t, r] = n, [i, o, a] = SUt(e, t, r), [s, l, c] = NX(i, o, a);
138351
138351
  return [s, l, c, n.length > 3 ? n[3] : 1];
138352
138352
  }, SUt = (n, e, t) => {
@@ -138365,7 +138365,7 @@ const y7 = (...n) => {
138365
138365
  );
138366
138366
  return [M * 255, R * 255, F * 255];
138367
138367
  }, b7 = (...n) => {
138368
- const [e, t, r, ...i] = ur(n, "rgb"), [o, a, s] = LX(e, t, r), [l, c, d] = TUt(o, a, s);
138368
+ const [e, t, r, ...i] = pr(n, "rgb"), [o, a, s] = LX(e, t, r), [l, c, d] = TUt(o, a, s);
138369
138369
  return [l, c, d, ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
138370
138370
  };
138371
138371
  function TUt(n, e, t) {
@@ -138393,7 +138393,7 @@ ar.format.lab = y7;
138393
138393
  ar.autodetect.push({
138394
138394
  p: 2,
138395
138395
  test: (...n) => {
138396
- if (n = ur(n, "lab"), Er(n) === "array" && n.length === 3)
138396
+ if (n = pr(n, "lab"), Er(n) === "array" && n.length === 3)
138397
138397
  return "lab";
138398
138398
  }
138399
138399
  });
@@ -138447,21 +138447,21 @@ Wt.prototype.premultiply = function(n = !1) {
138447
138447
  return n ? (this._rgb = [e[0] * t, e[1] * t, e[2] * t, t], this) : new Wt([e[0] * t, e[1] * t, e[2] * t, t], "rgb");
138448
138448
  };
138449
138449
  const { sin: MUt, cos: PUt } = Math, RX = (...n) => {
138450
- let [e, t, r] = ur(n, "lch");
138450
+ let [e, t, r] = pr(n, "lch");
138451
138451
  return isNaN(r) && (r = 0), r = r * bUt, [e, PUt(r) * t, MUt(r) * t];
138452
138452
  }, w7 = (...n) => {
138453
- n = ur(n, "lch");
138453
+ n = pr(n, "lch");
138454
138454
  const [e, t, r] = n, [i, o, a] = RX(e, t, r), [s, l, c] = y7(i, o, a);
138455
138455
  return [s, l, c, n.length > 3 ? n[3] : 1];
138456
138456
  }, NUt = (...n) => {
138457
- const e = DX(ur(n, "hcl"));
138457
+ const e = DX(pr(n, "hcl"));
138458
138458
  return w7(...e);
138459
138459
  }, { sqrt: LUt, atan2: RUt, round: BUt } = Math, BX = (...n) => {
138460
- const [e, t, r] = ur(n, "lab"), i = LUt(t * t + r * r);
138460
+ const [e, t, r] = pr(n, "lab"), i = LUt(t * t + r * r);
138461
138461
  let o = (RUt(r, t) * wUt + 360) % 360;
138462
138462
  return BUt(i * 1e4) === 0 && (o = Number.NaN), [e, i, o];
138463
138463
  }, x7 = (...n) => {
138464
- const [e, t, r, ...i] = ur(n, "rgb"), [o, a, s] = b7(e, t, r), [l, c, d] = BX(o, a, s);
138464
+ const [e, t, r, ...i] = pr(n, "rgb"), [o, a, s] = b7(e, t, r), [l, c, d] = BX(o, a, s);
138465
138465
  return [l, c, d, ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
138466
138466
  };
138467
138467
  Wt.prototype.lch = function() {
@@ -138478,7 +138478,7 @@ ar.format.hcl = NUt;
138478
138478
  (n) => ar.autodetect.push({
138479
138479
  p: 2,
138480
138480
  test: (...e) => {
138481
- if (e = ur(e, n), Er(e) === "array" && e.length === 3)
138481
+ if (e = pr(e, n), Er(e) === "array" && e.length === 3)
138482
138482
  return n;
138483
138483
  }
138484
138484
  })
@@ -138576,7 +138576,7 @@ const UUt = (n) => {
138576
138576
  }
138577
138577
  throw new Error("unknown num color: " + n);
138578
138578
  }, qUt = (...n) => {
138579
- const [e, t, r] = ur(n, "rgb");
138579
+ const [e, t, r] = pr(n, "rgb");
138580
138580
  return (e << 16) + (t << 8) + r;
138581
138581
  };
138582
138582
  Wt.prototype.num = function() {
@@ -138598,7 +138598,7 @@ const WUt = (n, e, t) => {
138598
138598
  };
138599
138599
  Ss.num = WUt;
138600
138600
  const { floor: GUt } = Math, KUt = (...n) => {
138601
- n = ur(n, "hcg");
138601
+ n = pr(n, "hcg");
138602
138602
  let [e, t, r] = n, i, o, a;
138603
138603
  r = r * 255;
138604
138604
  const s = t * 255;
@@ -138630,7 +138630,7 @@ const { floor: GUt } = Math, KUt = (...n) => {
138630
138630
  }
138631
138631
  return [i, o, a, n.length > 3 ? n[3] : 1];
138632
138632
  }, YUt = (...n) => {
138633
- const [e, t, r] = ur(n, "rgb"), i = OX(e, t, r), o = IX(e, t, r), a = o - i, s = a * 100 / 255, l = i / (255 - a) * 100;
138633
+ const [e, t, r] = pr(n, "rgb"), i = OX(e, t, r), o = IX(e, t, r), a = o - i, s = a * 100 / 255, l = i / (255 - a) * 100;
138634
138634
  let c;
138635
138635
  return a === 0 ? c = Number.NaN : (e === o && (c = (t - r) / a), t === o && (c = 2 + (r - e) / a), r === o && (c = 4 + (e - t) / a), c *= 60, c < 0 && (c += 360)), [c, s, l];
138636
138636
  };
@@ -138643,18 +138643,18 @@ ar.format.hcg = KUt;
138643
138643
  ar.autodetect.push({
138644
138644
  p: 1,
138645
138645
  test: (...n) => {
138646
- if (n = ur(n, "hcg"), Er(n) === "array" && n.length === 3)
138646
+ if (n = pr(n, "hcg"), Er(n) === "array" && n.length === 3)
138647
138647
  return "hcg";
138648
138648
  }
138649
138649
  });
138650
138650
  const JUt = (n, e, t) => $y(n, e, t, "hcg");
138651
138651
  Ss.hcg = JUt;
138652
138652
  const { cos: Um } = Math, ZUt = (...n) => {
138653
- n = ur(n, "hsi");
138653
+ n = pr(n, "hsi");
138654
138654
  let [e, t, r] = n, i, o, a;
138655
138655
  return isNaN(e) && (e = 0), isNaN(t) && (t = 0), e > 360 && (e -= 360), e < 0 && (e += 360), e /= 360, e < 1 / 3 ? (a = (1 - t) / 3, i = (1 + t * Um(wp * e) / Um(QE - wp * e)) / 3, o = 1 - (a + i)) : e < 2 / 3 ? (e -= 1 / 3, i = (1 - t) / 3, o = (1 + t * Um(wp * e) / Um(QE - wp * e)) / 3, a = 1 - (i + o)) : (e -= 2 / 3, o = (1 - t) / 3, a = (1 + t * Um(wp * e) / Um(QE - wp * e)) / 3, i = 1 - (o + a)), i = zf(r * i * 3), o = zf(r * o * 3), a = zf(r * a * 3), [i * 255, o * 255, a * 255, n.length > 3 ? n[3] : 1];
138656
138656
  }, { min: QUt, sqrt: eqt, acos: tqt } = Math, nqt = (...n) => {
138657
- let [e, t, r] = ur(n, "rgb");
138657
+ let [e, t, r] = pr(n, "rgb");
138658
138658
  e /= 255, t /= 255, r /= 255;
138659
138659
  let i;
138660
138660
  const o = QUt(e, t, r), a = (e + t + r) / 3, s = a > 0 ? 1 - o / a : 0;
@@ -138669,14 +138669,14 @@ ar.format.hsi = ZUt;
138669
138669
  ar.autodetect.push({
138670
138670
  p: 2,
138671
138671
  test: (...n) => {
138672
- if (n = ur(n, "hsi"), Er(n) === "array" && n.length === 3)
138672
+ if (n = pr(n, "hsi"), Er(n) === "array" && n.length === 3)
138673
138673
  return "hsi";
138674
138674
  }
138675
138675
  });
138676
138676
  const iqt = (n, e, t) => $y(n, e, t, "hsi");
138677
138677
  Ss.hsi = iqt;
138678
138678
  const o4 = (...n) => {
138679
- n = ur(n, "hsl");
138679
+ n = pr(n, "hsl");
138680
138680
  const [e, t, r] = n;
138681
138681
  let i, o, a;
138682
138682
  if (t === 0)
@@ -138690,7 +138690,7 @@ const o4 = (...n) => {
138690
138690
  }
138691
138691
  return n.length > 3 ? [i, o, a, n[3]] : [i, o, a, 1];
138692
138692
  }, FX = (...n) => {
138693
- n = ur(n, "rgba");
138693
+ n = pr(n, "rgba");
138694
138694
  let [e, t, r] = n;
138695
138695
  e /= 255, t /= 255, r /= 255;
138696
138696
  const i = OX(e, t, r), o = IX(e, t, r), a = (o + i) / 2;
@@ -138706,14 +138706,14 @@ ar.format.hsl = o4;
138706
138706
  ar.autodetect.push({
138707
138707
  p: 2,
138708
138708
  test: (...n) => {
138709
- if (n = ur(n, "hsl"), Er(n) === "array" && n.length === 3)
138709
+ if (n = pr(n, "hsl"), Er(n) === "array" && n.length === 3)
138710
138710
  return "hsl";
138711
138711
  }
138712
138712
  });
138713
138713
  const aqt = (n, e, t) => $y(n, e, t, "hsl");
138714
138714
  Ss.hsl = aqt;
138715
138715
  const { floor: sqt } = Math, lqt = (...n) => {
138716
- n = ur(n, "hsv");
138716
+ n = pr(n, "hsv");
138717
138717
  let [e, t, r] = n, i, o, a;
138718
138718
  if (r *= 255, t === 0)
138719
138719
  i = o = a = r;
@@ -138743,7 +138743,7 @@ const { floor: sqt } = Math, lqt = (...n) => {
138743
138743
  }
138744
138744
  return [i, o, a, n.length > 3 ? n[3] : 1];
138745
138745
  }, { min: cqt, max: dqt } = Math, uqt = (...n) => {
138746
- n = ur(n, "rgb");
138746
+ n = pr(n, "rgb");
138747
138747
  let [e, t, r] = n;
138748
138748
  const i = cqt(e, t, r), o = dqt(e, t, r), a = o - i;
138749
138749
  let s, l, c;
@@ -138758,7 +138758,7 @@ ar.format.hsv = lqt;
138758
138758
  ar.autodetect.push({
138759
138759
  p: 2,
138760
138760
  test: (...n) => {
138761
- if (n = ur(n, "hsv"), Er(n) === "array" && n.length === 3)
138761
+ if (n = pr(n, "hsv"), Er(n) === "array" && n.length === 3)
138762
138762
  return "hsv";
138763
138763
  }
138764
138764
  });
@@ -138773,7 +138773,7 @@ function H_(n, e) {
138773
138773
  return t === 1 && (o = o[0]), r === 1 ? o.map((a) => a[0]) : o;
138774
138774
  }
138775
138775
  const k7 = (...n) => {
138776
- n = ur(n, "lab");
138776
+ n = pr(n, "lab");
138777
138777
  const [e, t, r, ...i] = n, [o, a, s] = gqt([e, t, r]), [l, c, d] = NX(o, a, s);
138778
138778
  return [l, c, d, ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
138779
138779
  };
@@ -138793,7 +138793,7 @@ function gqt(n) {
138793
138793
  );
138794
138794
  }
138795
138795
  const _7 = (...n) => {
138796
- const [e, t, r, ...i] = ur(n, "rgb"), o = LX(e, t, r);
138796
+ const [e, t, r, ...i] = pr(n, "rgb"), o = LX(e, t, r);
138797
138797
  return [...fqt(o), ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
138798
138798
  };
138799
138799
  function fqt(n) {
@@ -138820,7 +138820,7 @@ ar.format.oklab = k7;
138820
138820
  ar.autodetect.push({
138821
138821
  p: 2,
138822
138822
  test: (...n) => {
138823
- if (n = ur(n, "oklab"), Er(n) === "array" && n.length === 3)
138823
+ if (n = pr(n, "oklab"), Er(n) === "array" && n.length === 3)
138824
138824
  return "oklab";
138825
138825
  }
138826
138826
  });
@@ -139097,13 +139097,13 @@ Wt.prototype.rgba = function(n = !0) {
139097
139097
  const Eqt = (...n) => new Wt(...n, "rgb");
139098
139098
  Object.assign(zr, { rgb: Eqt });
139099
139099
  ar.format.rgb = (...n) => {
139100
- const e = ur(n, "rgba");
139100
+ const e = pr(n, "rgba");
139101
139101
  return e[3] === void 0 && (e[3] = 1), e;
139102
139102
  };
139103
139103
  ar.autodetect.push({
139104
139104
  p: 3,
139105
139105
  test: (...n) => {
139106
- if (n = ur(n, "rgba"), Er(n) === "array" && (n.length === 3 || n.length === 4 && Er(n[3]) == "number" && n[3] >= 0 && n[3] <= 1))
139106
+ if (n = pr(n, "rgba"), Er(n) === "array" && (n.length === 3 || n.length === 4 && Er(n[3]) == "number" && n[3] >= 0 && n[3] <= 1))
139107
139107
  return "rgb";
139108
139108
  }
139109
139109
  });
@@ -139363,7 +139363,7 @@ const nVt = (...n) => {
139363
139363
  return Object.getOwnPropertyNames(UX);
139364
139364
  }
139365
139365
  }) : a4, oVt = (...n) => {
139366
- n = ur(n, "cmyk");
139366
+ n = pr(n, "cmyk");
139367
139367
  const [e, t, r, i] = n, o = n.length > 4 ? n[4] : 1;
139368
139368
  return i === 1 ? [0, 0, 0, o] : [
139369
139369
  e >= 1 ? 0 : 255 * (1 - e) * (1 - i),
@@ -139375,7 +139375,7 @@ const nVt = (...n) => {
139375
139375
  o
139376
139376
  ];
139377
139377
  }, { max: zz } = Math, aVt = (...n) => {
139378
- let [e, t, r] = ur(n, "rgb");
139378
+ let [e, t, r] = pr(n, "rgb");
139379
139379
  e = e / 255, t = t / 255, r = r / 255;
139380
139380
  const i = 1 - zz(e, zz(t, r)), o = i < 1 ? 1 / (1 - i) : 0, a = (1 - e - i) * o, s = (1 - t - i) * o, l = (1 - r - i) * o;
139381
139381
  return [a, s, l, i];
@@ -139389,33 +139389,33 @@ ar.format.cmyk = oVt;
139389
139389
  ar.autodetect.push({
139390
139390
  p: 2,
139391
139391
  test: (...n) => {
139392
- if (n = ur(n, "cmyk"), Er(n) === "array" && n.length === 4)
139392
+ if (n = pr(n, "cmyk"), Er(n) === "array" && n.length === 4)
139393
139393
  return "cmyk";
139394
139394
  }
139395
139395
  });
139396
139396
  const lVt = (...n) => {
139397
- const e = ur(n, "hsla");
139397
+ const e = pr(n, "hsla");
139398
139398
  let t = Fy(n) || "lsa";
139399
139399
  return e[0] = dd(e[0] || 0) + "deg", e[1] = dd(e[1] * 100) + "%", e[2] = dd(e[2] * 100) + "%", t === "hsla" || e.length > 3 && e[3] < 1 ? (e[3] = "/ " + (e.length > 3 ? e[3] : 1), t = "hsla") : e.length = 3, `${t.substr(0, 3)}(${e.join(" ")})`;
139400
139400
  }, cVt = (...n) => {
139401
- const e = ur(n, "lab");
139401
+ const e = pr(n, "lab");
139402
139402
  let t = Fy(n) || "lab";
139403
139403
  return e[0] = dd(e[0]) + "%", e[1] = dd(e[1]), e[2] = dd(e[2]), t === "laba" || e.length > 3 && e[3] < 1 ? e[3] = "/ " + (e.length > 3 ? e[3] : 1) : e.length = 3, `lab(${e.join(" ")})`;
139404
139404
  }, dVt = (...n) => {
139405
- const e = ur(n, "lch");
139405
+ const e = pr(n, "lch");
139406
139406
  let t = Fy(n) || "lab";
139407
139407
  return e[0] = dd(e[0]) + "%", e[1] = dd(e[1]), e[2] = isNaN(e[2]) ? "none" : dd(e[2]) + "deg", t === "lcha" || e.length > 3 && e[3] < 1 ? e[3] = "/ " + (e.length > 3 ? e[3] : 1) : e.length = 3, `lch(${e.join(" ")})`;
139408
139408
  }, uVt = (...n) => {
139409
- const e = ur(n, "lab");
139409
+ const e = pr(n, "lab");
139410
139410
  return e[0] = dd(e[0] * 100) + "%", e[1] = i4(e[1]), e[2] = i4(e[2]), e.length > 3 && e[3] < 1 ? e[3] = "/ " + (e.length > 3 ? e[3] : 1) : e.length = 3, `oklab(${e.join(" ")})`;
139411
139411
  }, qX = (...n) => {
139412
- const [e, t, r, ...i] = ur(n, "rgb"), [o, a, s] = _7(e, t, r), [l, c, d] = BX(o, a, s);
139412
+ const [e, t, r, ...i] = pr(n, "rgb"), [o, a, s] = _7(e, t, r), [l, c, d] = BX(o, a, s);
139413
139413
  return [l, c, d, ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
139414
139414
  }, pVt = (...n) => {
139415
- const e = ur(n, "lch");
139415
+ const e = pr(n, "lch");
139416
139416
  return e[0] = dd(e[0] * 100) + "%", e[1] = i4(e[1]), e[2] = isNaN(e[2]) ? "none" : dd(e[2]) + "deg", e.length > 3 && e[3] < 1 ? e[3] = "/ " + (e.length > 3 ? e[3] : 1) : e.length = 3, `oklch(${e.join(" ")})`;
139417
139417
  }, { round: sA } = Math, hVt = (...n) => {
139418
- const e = ur(n, "rgba");
139418
+ const e = pr(n, "rgba");
139419
139419
  let t = Fy(n) || "rgb";
139420
139420
  if (t.substr(0, 3) === "hsl")
139421
139421
  return lVt(FX(e), t);
@@ -139433,7 +139433,7 @@ const lVt = (...n) => {
139433
139433
  }
139434
139434
  return t.substr(0, 5) === "oklab" ? uVt(_7(e)) : t.substr(0, 5) === "oklch" ? pVt(qX(e)) : (e[0] = sA(e[0]), e[1] = sA(e[1]), e[2] = sA(e[2]), (t === "rgba" || e.length > 3 && e[3] < 1) && (e[3] = "/ " + (e.length > 3 ? e[3] : 1), t = "rgba"), `${t.substr(0, 3)}(${e.slice(0, t === "rgb" ? 3 : 4).join(" ")})`);
139435
139435
  }, VX = (...n) => {
139436
- n = ur(n, "lch");
139436
+ n = pr(n, "lch");
139437
139437
  const [e, t, r, ...i] = n, [o, a, s] = RX(e, t, r), [l, c, d] = k7(o, a, s);
139438
139438
  return [l, c, d, ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
139439
139439
  }, Fp = /((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source, Gd = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source, q_ = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source, md = /\s*/.source, jy = /\s+/.source, C7 = /\s*,\s*/.source, f3 = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source, Hy = /\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source, WX = new RegExp(
@@ -139543,7 +139543,7 @@ ar.autodetect.push({
139543
139543
  }
139544
139544
  });
139545
139545
  ar.format.gl = (...n) => {
139546
- const e = ur(n, "rgba");
139546
+ const e = pr(n, "rgba");
139547
139547
  return e[0] *= 255, e[1] *= 255, e[2] *= 255, e;
139548
139548
  };
139549
139549
  const fVt = (...n) => new Wt(...n, "gl");
@@ -139570,7 +139570,7 @@ const { log: Ix } = Math, rJ = (n) => {
139570
139570
  let t, r, i;
139571
139571
  return e < 66 ? (t = 255, r = e < 6 ? 0 : -155.25485562709179 - 0.44596950469579133 * (r = e - 2) + 104.49216199393888 * Ix(r), i = e < 20 ? 0 : -254.76935184120902 + 0.8274096064007395 * (i = e - 10) + 115.67994401066147 * Ix(i)) : (t = 351.97690566805693 + 0.114206453784165 * (t = e - 55) - 40.25366309332127 * Ix(t), r = 325.4494125711974 + 0.07943456536662342 * (r = e - 50) - 28.0852963507957 * Ix(r), i = 255), [t, r, i, 1];
139572
139572
  }, { round: vVt } = Math, yVt = (...n) => {
139573
- const e = ur(n, "rgb"), t = e[0], r = e[2];
139573
+ const e = pr(n, "rgb"), t = e[0], r = e[2];
139574
139574
  let i = 1e3, o = 4e4;
139575
139575
  const a = 0.4;
139576
139576
  let s;
@@ -139596,7 +139596,7 @@ ar.format.oklch = VX;
139596
139596
  ar.autodetect.push({
139597
139597
  p: 2,
139598
139598
  test: (...n) => {
139599
- if (n = ur(n, "oklch"), Er(n) === "array" && n.length === 3)
139599
+ if (n = pr(n, "oklch"), Er(n) === "array" && n.length === 3)
139600
139600
  return "oklch";
139601
139601
  }
139602
139602
  });
@@ -144378,7 +144378,7 @@ function nWt() {
144378
144378
  }
144379
144379
  };
144380
144380
  }
144381
- function mr(C) {
144381
+ function vr(C) {
144382
144382
  Promise === un && Jn.echoes === 0 ? ro === 0 ? C() : enqueueNativeMicroTask(C) : setTimeout(C, 0);
144383
144383
  }
144384
144384
  ("" + Dn).indexOf("[native code]") === -1 && (Kn = gi = de);
@@ -144745,7 +144745,7 @@ function nWt() {
144745
144745
  function jr(C, A) {
144746
144746
  return v(A).from({ prototype: C }), A;
144747
144747
  }
144748
- function pr(C, A) {
144748
+ function hr(C, A) {
144749
144749
  return !(C.filter || C.algorithm || C.or) && (A ? C.justLimit : !C.replayFilter);
144750
144750
  }
144751
144751
  function Go(C, A) {
@@ -144859,7 +144859,7 @@ function nWt() {
144859
144859
  var A = this;
144860
144860
  return this._read(function(z) {
144861
144861
  var U = A._ctx, J = U.table.core;
144862
- if (pr(U, !0)) return J.count({ trans: z, query: { index: Ia(U, J.schema), range: U.range } }).then(function(me) {
144862
+ if (hr(U, !0)) return J.count({ trans: z, query: { index: Ia(U, J.schema), range: U.range } }).then(function(me) {
144863
144863
  return Math.min(me, U.limit);
144864
144864
  });
144865
144865
  var oe = 0;
@@ -144885,7 +144885,7 @@ function nWt() {
144885
144885
  var A = this;
144886
144886
  return this._read(function(z) {
144887
144887
  var U = A._ctx;
144888
- if (U.dir === "next" && pr(U, !0) && 0 < U.limit) {
144888
+ if (U.dir === "next" && hr(U, !0) && 0 < U.limit) {
144889
144889
  var J = U.valueMapper, oe = Ia(U, U.table.core.schema);
144890
144890
  return U.table.core.query({ trans: z, limit: U.limit, values: !0, query: { index: oe, range: U.range } }).then(function(Te) {
144891
144891
  return Te = Te.result, J ? Te.map(J) : Te;
@@ -144900,7 +144900,7 @@ function nWt() {
144900
144900
  }, C);
144901
144901
  }, ir.prototype.offset = function(C) {
144902
144902
  var A = this._ctx;
144903
- return C <= 0 || (A.offset += C, pr(A) ? vl(A, function() {
144903
+ return C <= 0 || (A.offset += C, hr(A) ? vl(A, function() {
144904
144904
  var z = C;
144905
144905
  return function(U, J) {
144906
144906
  return z === 0 || (z === 1 ? --z : J(function() {
@@ -144966,7 +144966,7 @@ function nWt() {
144966
144966
  }).then(C);
144967
144967
  }, ir.prototype.primaryKeys = function(C) {
144968
144968
  var A = this._ctx;
144969
- if (A.dir === "next" && pr(A, !0) && 0 < A.limit) return this._read(function(U) {
144969
+ if (A.dir === "next" && hr(A, !0) && 0 < A.limit) return this._read(function(U) {
144970
144970
  var J = Ia(A, A.table.core.schema);
144971
144971
  return A.table.core.query({ trans: U, values: !1, limit: A.limit, query: { index: J, range: A.range } });
144972
144972
  }).then(function(U) {
@@ -145025,23 +145025,23 @@ function nWt() {
145025
145025
  var pn = Ut[Yt], er = { value: V(pn), primKey: Ue[ut + Yt] };
145026
145026
  me.call(er, er.value, er) !== !1 && (er.value == null ? tn.push(Ue[ut + Yt]) : Re || ue(He(pn), He(er.value)) === 0 ? (Rt.push(er.value), Re && Dt.push(Ue[ut + Yt])) : (tn.push(Ue[ut + Yt]), Zt.push(er.value)));
145027
145027
  }
145028
- return Promise.resolve(0 < Zt.length && Te.mutate({ trans: U, type: "add", values: Zt }).then(function(hr) {
145029
- for (var tr in hr.failures) tn.splice(parseInt(tr), 1);
145030
- et(Zt.length, hr);
145028
+ return Promise.resolve(0 < Zt.length && Te.mutate({ trans: U, type: "add", values: Zt }).then(function(gr) {
145029
+ for (var tr in gr.failures) tn.splice(parseInt(tr), 1);
145030
+ et(Zt.length, gr);
145031
145031
  })).then(function() {
145032
- return (0 < Rt.length || lt && typeof C == "object") && Te.mutate({ trans: U, type: "put", keys: Dt, values: Rt, criteria: lt, changeSpec: typeof C != "function" && C, isAdditionalChunk: 0 < ut }).then(function(hr) {
145033
- return et(Rt.length, hr);
145032
+ return (0 < Rt.length || lt && typeof C == "object") && Te.mutate({ trans: U, type: "put", keys: Dt, values: Rt, criteria: lt, changeSpec: typeof C != "function" && C, isAdditionalChunk: 0 < ut }).then(function(gr) {
145033
+ return et(Rt.length, gr);
145034
145034
  });
145035
145035
  }).then(function() {
145036
- return (0 < tn.length || lt && C === Ls) && Te.mutate({ trans: U, type: "delete", keys: tn, criteria: lt, isAdditionalChunk: 0 < ut }).then(function(hr) {
145037
- return et(tn.length, hr);
145036
+ return (0 < tn.length || lt && C === Ls) && Te.mutate({ trans: U, type: "delete", keys: tn, criteria: lt, isAdditionalChunk: 0 < ut }).then(function(gr) {
145037
+ return et(tn.length, gr);
145038
145038
  });
145039
145039
  }).then(function() {
145040
145040
  return Ue.length > ut + wt && ot(ut + Ye);
145041
145041
  });
145042
145042
  });
145043
145043
  }
145044
- var lt = pr(z) && z.limit === 1 / 0 && (typeof C != "function" || C === Ls) && { index: z.index, range: z.range };
145044
+ var lt = hr(z) && z.limit === 1 / 0 && (typeof C != "function" || C === Ls) && { index: z.index, range: z.range };
145045
145045
  return ot(0).then(function() {
145046
145046
  if (0 < $e.length) throw new Qe("Error modifying one or more objects", $e, Ke, Xe);
145047
145047
  return Ue.length;
@@ -145050,7 +145050,7 @@ function nWt() {
145050
145050
  });
145051
145051
  }, ir.prototype.delete = function() {
145052
145052
  var C = this._ctx, A = C.range;
145053
- return pr(C) && (C.isPrimKey || A.type === 3) ? this._write(function(z) {
145053
+ return hr(C) && (C.isPrimKey || A.type === 3) ? this._write(function(z) {
145054
145054
  var U = C.table.core.schema.primaryKey, J = A;
145055
145055
  return C.table.core.count({ trans: z, query: { index: U, range: J } }).then(function(oe) {
145056
145056
  return C.table.core.mutate({ trans: z, type: "deleteRange", range: J }).then(function(me) {
@@ -145121,12 +145121,12 @@ function nWt() {
145121
145121
  if (A(lt, Re, $e)) return !0;
145122
145122
  for (var ut = null, wt = $e; wt < De; ++wt) {
145123
145123
  var Ut = function(Zt, Rt, Dt, tn, Yt, pn) {
145124
- for (var er = Math.min(Zt.length, tn.length), hr = -1, tr = 0; tr < er; ++tr) {
145124
+ for (var er = Math.min(Zt.length, tn.length), gr = -1, tr = 0; tr < er; ++tr) {
145125
145125
  var fs = Rt[tr];
145126
- if (fs !== tn[tr]) return Yt(Zt[tr], Dt[tr]) < 0 ? Zt.substr(0, tr) + Dt[tr] + Dt.substr(tr + 1) : Yt(Zt[tr], tn[tr]) < 0 ? Zt.substr(0, tr) + tn[tr] + Dt.substr(tr + 1) : 0 <= hr ? Zt.substr(0, hr) + Rt[hr] + Dt.substr(hr + 1) : null;
145127
- Yt(Zt[tr], fs) < 0 && (hr = tr);
145126
+ if (fs !== tn[tr]) return Yt(Zt[tr], Dt[tr]) < 0 ? Zt.substr(0, tr) + Dt[tr] + Dt.substr(tr + 1) : Yt(Zt[tr], tn[tr]) < 0 ? Zt.substr(0, tr) + tn[tr] + Dt.substr(tr + 1) : 0 <= gr ? Zt.substr(0, gr) + Rt[gr] + Dt.substr(gr + 1) : null;
145127
+ Yt(Zt[tr], fs) < 0 && (gr = tr);
145128
145128
  }
145129
- return er < tn.length && pn === "next" ? Zt + Dt.substr(Zt.length) : er < Zt.length && pn === "prev" ? Zt.substr(0, Dt.length) : hr < 0 ? null : Zt.substr(0, hr) + tn[hr] + Dt.substr(hr + 1);
145129
+ return er < tn.length && pn === "next" ? Zt + Dt.substr(Zt.length) : er < Zt.length && pn === "prev" ? Zt.substr(0, Dt.length) : gr < 0 ? null : Zt.substr(0, gr) + tn[gr] + Dt.substr(gr + 1);
145130
145130
  }(ot, lt, Te[wt], Re[wt], me, He);
145131
145131
  Ut === null && ut === null ? $e = wt + 1 : (ut === null || 0 < me(ut, Ut)) && (ut = Ut);
145132
145132
  }
@@ -145442,19 +145442,19 @@ function nWt() {
145442
145442
  function er(Na) {
145443
145443
  ++fs, ma(Na);
145444
145444
  }
145445
- var hr = [], tr = [], fs = 0;
145445
+ var gr = [], tr = [], fs = 0;
145446
145446
  if (ot === "deleteRange") {
145447
145447
  if (wt.type === 4) return Ut({ numFailures: fs, failures: tr, results: [], lastResult: void 0 });
145448
- wt.type === 3 ? hr.push(Yt = Rt.clear()) : hr.push(Yt = Rt.delete(U(wt)));
145448
+ wt.type === 3 ? gr.push(Yt = Rt.clear()) : gr.push(Yt = Rt.delete(U(wt)));
145449
145449
  } else {
145450
145450
  var Dt = tn ? Dt ? [ut, lt] : [ut, null] : [lt, null], Zn = Dt[0], Mo = Dt[1];
145451
- if (tn) for (var Pa = 0; Pa < pn; ++Pa) hr.push(Yt = Mo && Mo[Pa] !== void 0 ? Rt[ot](Zn[Pa], Mo[Pa]) : Rt[ot](Zn[Pa])), Yt.onerror = er;
145452
- else for (Pa = 0; Pa < pn; ++Pa) hr.push(Yt = Rt[ot](Zn[Pa])), Yt.onerror = er;
145451
+ if (tn) for (var Pa = 0; Pa < pn; ++Pa) gr.push(Yt = Mo && Mo[Pa] !== void 0 ? Rt[ot](Zn[Pa], Mo[Pa]) : Rt[ot](Zn[Pa])), Yt.onerror = er;
145452
+ else for (Pa = 0; Pa < pn; ++Pa) gr.push(Yt = Rt[ot](Zn[Pa])), Yt.onerror = er;
145453
145453
  }
145454
145454
  function ph(Na) {
145455
- Na = Na.target.result, hr.forEach(function(Od, Ng) {
145455
+ Na = Na.target.result, gr.forEach(function(Od, Ng) {
145456
145456
  return Od.error != null && (tr[Ng] = Od.error);
145457
- }), Ut({ numFailures: fs, failures: tr, results: ot === "delete" ? lt : hr.map(function(Od) {
145457
+ }), Ut({ numFailures: fs, failures: tr, results: ot === "delete" ? lt : gr.map(function(Od) {
145458
145458
  return Od.result;
145459
145459
  }), lastResult: Na });
145460
145460
  }
@@ -145466,8 +145466,8 @@ function nWt() {
145466
145466
  var Ue = Xe.trans, ot = Xe.keys;
145467
145467
  return new Promise(function(lt, ut) {
145468
145468
  lt = Un(lt);
145469
- for (var wt, Ut = Ue.objectStore(Ke), Zt = ot.length, Rt = new Array(Zt), Dt = 0, tn = 0, Yt = function(hr) {
145470
- hr = hr.target, Rt[hr._pos] = hr.result, ++tn === Dt && lt(Rt);
145469
+ for (var wt, Ut = Ue.objectStore(Ke), Zt = ot.length, Rt = new Array(Zt), Dt = 0, tn = 0, Yt = function(gr) {
145470
+ gr = gr.target, Rt[gr._pos] = gr.result, ++tn === Dt && lt(Rt);
145471
145471
  }, pn = fo(ut), er = 0; er < Zt; ++er) ot[er] != null && ((wt = Ut.get(ot[er]))._pos = er, wt.onsuccess = Yt, wt.onerror = pn, ++Dt);
145472
145472
  Dt === 0 && lt(Rt);
145473
145473
  });
@@ -145498,8 +145498,8 @@ function nWt() {
145498
145498
  Ut = Un(Ut);
145499
145499
  var tn = lt.index, Rt = lt.range, Dt = Ue.objectStore(Ke), Dt = tn.isPrimaryKey ? Dt : Dt.index(tn.name), tn = ut ? wt ? "prevunique" : "prev" : wt ? "nextunique" : "next", Yt = !ot && "openKeyCursor" in Dt ? Dt.openKeyCursor(U(Rt), tn) : Dt.openCursor(U(Rt), tn);
145500
145500
  Yt.onerror = fo(Zt), Yt.onsuccess = Un(function(pn) {
145501
- var er, hr, tr, fs, Zn = Yt.result;
145502
- Zn ? (Zn.___id = ++kr, Zn.done = !1, er = Zn.continue.bind(Zn), hr = (hr = Zn.continuePrimaryKey) && hr.bind(Zn), tr = Zn.advance.bind(Zn), fs = function() {
145501
+ var er, gr, tr, fs, Zn = Yt.result;
145502
+ Zn ? (Zn.___id = ++kr, Zn.done = !1, er = Zn.continue.bind(Zn), gr = (gr = Zn.continuePrimaryKey) && gr.bind(Zn), tr = Zn.advance.bind(Zn), fs = function() {
145503
145503
  throw new Error("Cursor not stopped");
145504
145504
  }, Zn.trans = Ue, Zn.stop = Zn.continue = Zn.continuePrimaryKey = Zn.advance = function() {
145505
145505
  throw new Error("Cursor not started");
@@ -145528,7 +145528,7 @@ function nWt() {
145528
145528
  });
145529
145529
  return Yt.onsuccess = Un(function(Na) {
145530
145530
  Yt.onsuccess = Pa, Pa();
145531
- }), Zn.continue = er, Zn.continuePrimaryKey = hr, Zn.advance = tr, Pa(), ph;
145531
+ }), Zn.continue = er, Zn.continuePrimaryKey = gr, Zn.advance = tr, Pa(), ph;
145532
145532
  }, Ut(Zn)) : Ut(null);
145533
145533
  }, Zt);
145534
145534
  });
@@ -146189,14 +146189,14 @@ function nWt() {
146189
146189
  function er(tr) {
146190
146190
  return tr != null ? Yt.extractKey(tr) : null;
146191
146191
  }
146192
- function hr(tr) {
146192
+ function gr(tr) {
146193
146193
  return Yt.multiEntry && s(tr) ? tr.forEach(function(fs) {
146194
146194
  return pn.addKey(fs);
146195
146195
  }) : pn.addKey(tr);
146196
146196
  }
146197
146197
  (Ue || ot).forEach(function(tr, Mo) {
146198
146198
  var Zn = Ue && er(Ue[Mo]), Mo = ot && er(ot[Mo]);
146199
- ue(Zn, Mo) !== 0 && (Zn != null && hr(Zn), Mo != null && hr(Mo));
146199
+ ue(Zn, Mo) !== 0 && (Zn != null && gr(Zn), Mo != null && gr(Mo));
146200
146200
  });
146201
146201
  }))) : Rt ? (Dt = { from: (Dt = Rt.lower) !== null && Dt !== void 0 ? Dt : C.MIN_KEY, to: (Dt = Rt.upper) !== null && Dt !== void 0 ? Dt : C.MAX_KEY }, Ut.add(Dt), wt.add(Dt)) : (wt.add(z), Ut.add(z), oe.indexes.forEach(function(Yt) {
146202
146202
  return Ke(Yt.name).add(z);
@@ -146204,9 +146204,9 @@ function nWt() {
146204
146204
  return !Rt || $e.type !== "add" && $e.type !== "put" || (wt.addKeys(Yt.results), He && He.forEach(function(pn) {
146205
146205
  for (var er = $e.values.map(function(Zn) {
146206
146206
  return pn.extractKey(Zn);
146207
- }), hr = pn.keyPath.findIndex(function(Zn) {
146207
+ }), gr = pn.keyPath.findIndex(function(Zn) {
146208
146208
  return Zn === me.keyPath;
146209
- }), tr = 0, fs = Yt.results.length; tr < fs; ++tr) er[tr][hr] = Yt.results[tr];
146209
+ }), tr = 0, fs = Yt.results.length; tr < fs; ++tr) er[tr][gr] = Yt.results[tr];
146210
146210
  Ke(pn.name).addKeys(er);
146211
146211
  })), lt.mutatedParts = cu(lt.mutatedParts || {}, ut), Yt;
146212
146212
  });
@@ -146708,7 +146708,7 @@ function nWt() {
146708
146708
  } };
146709
146709
  J.start && J.start(Ye);
146710
146710
  var De = !1, et = function() {
146711
- return mr(Ke);
146711
+ return vr(Ke);
146712
146712
  }, $e = function(Xe) {
146713
146713
  cu(Re, Xe), Nc(He, Re) && et();
146714
146714
  }, Ke = function() {
@@ -146726,11 +146726,11 @@ function nWt() {
146726
146726
  z = !0, A = lt, Te || Ue.signal.aborted || (Re = {}, function(ut) {
146727
146727
  for (var wt in ut) if (u(ut, wt)) return;
146728
146728
  return 1;
146729
- }(He = Xe) || De || (mo(Rs, $e), De = !0), mr(function() {
146729
+ }(He = Xe) || De || (mo(Rs, $e), De = !0), vr(function() {
146730
146730
  return !Te && J.next && J.next(lt);
146731
146731
  }));
146732
146732
  }, function(lt) {
146733
- z = !1, ["DatabaseClosedError", "AbortError"].includes(lt?.name) || Te || mr(function() {
146733
+ z = !1, ["DatabaseClosedError", "AbortError"].includes(lt?.name) || Te || vr(function() {
146734
146734
  Te || J.error && J.error(lt);
146735
146735
  });
146736
146736
  }));