@graphysdk/react 1.9.0-beta.1793718823384 → 1.9.0-beta.1793725050993
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editable.browser.mjs +462 -461
- package/dist/index.browser.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
|
@@ -37520,22 +37520,22 @@ function Z6e(e, t) {
|
|
|
37520
37520
|
formatDisplayName: V6e.bind(null, r, n.getDisplayNames)
|
|
37521
37521
|
};
|
|
37522
37522
|
}
|
|
37523
|
-
function
|
|
37523
|
+
function eBe(e, t, n = Error) {
|
|
37524
37524
|
if (!e) throw new n(t);
|
|
37525
37525
|
}
|
|
37526
|
-
function
|
|
37527
|
-
|
|
37526
|
+
function tBe(e) {
|
|
37527
|
+
eBe(e, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
|
|
37528
37528
|
}
|
|
37529
37529
|
var RK = {
|
|
37530
37530
|
...kK,
|
|
37531
37531
|
textComponent: C.Fragment
|
|
37532
37532
|
}, IK = (e) => C.Children.toArray(e).map((t, n) => C.isValidElement(t) ? /* @__PURE__ */ m(C.Fragment, { children: t }, n) : t);
|
|
37533
|
-
function
|
|
37533
|
+
function nBe(e) {
|
|
37534
37534
|
return function(t) {
|
|
37535
37535
|
return e(IK(t));
|
|
37536
37536
|
};
|
|
37537
37537
|
}
|
|
37538
|
-
function
|
|
37538
|
+
function rBe(e, t) {
|
|
37539
37539
|
if (e === t) return !0;
|
|
37540
37540
|
if (!e || !t) return !1;
|
|
37541
37541
|
var n = Object.keys(e), r = Object.keys(t), o = n.length;
|
|
@@ -37546,7 +37546,7 @@ function r4e(e, t) {
|
|
|
37546
37546
|
}
|
|
37547
37547
|
return !0;
|
|
37548
37548
|
}
|
|
37549
|
-
var
|
|
37549
|
+
var oBe = /* @__PURE__ */ qr(((e) => {
|
|
37550
37550
|
var t = typeof Symbol == "function" && Symbol.for, n = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, o = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, s = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = t ? /* @__PURE__ */ Symbol.for("react.context") : 60110, c = t ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, u = t ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, d = t ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = t ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, f = t ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, p = t ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, g = t ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = t ? /* @__PURE__ */ Symbol.for("react.block") : 60121, y = t ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, b = t ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, x = t ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
37551
37551
|
function S(T) {
|
|
37552
37552
|
if (typeof T == "object" && T !== null) {
|
|
@@ -37608,10 +37608,10 @@ var o4e = /* @__PURE__ */ qr(((e) => {
|
|
|
37608
37608
|
}, e.isValidElementType = function(T) {
|
|
37609
37609
|
return typeof T == "string" || typeof T == "function" || T === o || T === u || T === s || T === i || T === h || T === f || typeof T == "object" && T !== null && (T.$$typeof === g || T.$$typeof === p || T.$$typeof === a || T.$$typeof === l || T.$$typeof === d || T.$$typeof === y || T.$$typeof === b || T.$$typeof === x || T.$$typeof === v);
|
|
37610
37610
|
}, e.typeOf = S;
|
|
37611
|
-
})),
|
|
37612
|
-
t.exports =
|
|
37613
|
-
})),
|
|
37614
|
-
var n =
|
|
37611
|
+
})), iBe = /* @__PURE__ */ qr(((e, t) => {
|
|
37612
|
+
t.exports = oBe();
|
|
37613
|
+
})), sBe = /* @__PURE__ */ qr(((e, t) => {
|
|
37614
|
+
var n = iBe(), r = {
|
|
37615
37615
|
childContextTypes: !0,
|
|
37616
37616
|
contextType: !0,
|
|
37617
37617
|
contextTypes: !0,
|
|
@@ -37672,11 +37672,11 @@ var o4e = /* @__PURE__ */ qr(((e) => {
|
|
|
37672
37672
|
return v;
|
|
37673
37673
|
}
|
|
37674
37674
|
t.exports = g;
|
|
37675
|
-
})), gF = /* @__PURE__ */ _8(
|
|
37675
|
+
})), gF = /* @__PURE__ */ _8(sBe(), 1), G1t = gF.default ?? gF, aBe = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = C.createContext(null)) : C.createContext(null), { Consumer: W1t, Provider: lBe } = aBe, cBe = lBe;
|
|
37676
37676
|
function LK(e) {
|
|
37677
37677
|
return e && Object.keys(e).reduce((t, n) => {
|
|
37678
37678
|
const r = e[n];
|
|
37679
|
-
return t[n] = AK(r) ?
|
|
37679
|
+
return t[n] = AK(r) ? nBe(r) : r, t;
|
|
37680
37680
|
}, {});
|
|
37681
37681
|
}
|
|
37682
37682
|
var vF = (e, t, n, r, ...o) => {
|
|
@@ -37730,13 +37730,13 @@ var pR = class extends C.PureComponent {
|
|
|
37730
37730
|
}
|
|
37731
37731
|
static getDerivedStateFromProps(e, { prevConfig: t, cache: n }) {
|
|
37732
37732
|
const r = cT(e);
|
|
37733
|
-
return
|
|
37733
|
+
return rBe(t, r) ? null : {
|
|
37734
37734
|
intl: yF(r, n),
|
|
37735
37735
|
prevConfig: r
|
|
37736
37736
|
};
|
|
37737
37737
|
}
|
|
37738
37738
|
render() {
|
|
37739
|
-
return
|
|
37739
|
+
return tBe(this.state.intl), /* @__PURE__ */ m(cBe, {
|
|
37740
37740
|
value: this.state.intl,
|
|
37741
37741
|
children: this.props.children
|
|
37742
37742
|
});
|
|
@@ -37744,7 +37744,7 @@ var pR = class extends C.PureComponent {
|
|
|
37744
37744
|
};
|
|
37745
37745
|
he(pR, "displayName", "IntlProvider");
|
|
37746
37746
|
he(pR, "defaultProps", RK);
|
|
37747
|
-
var
|
|
37747
|
+
var uBe = {
|
|
37748
37748
|
loading: "جاري التحميل",
|
|
37749
37749
|
error: "حدث خطأ ما",
|
|
37750
37750
|
axisLabels: { placeholder: "إضافة تسمية" },
|
|
@@ -37795,10 +37795,10 @@ var u4e = {
|
|
|
37795
37795
|
comparisonReference: ({ value: e }) => `من ${e}`
|
|
37796
37796
|
},
|
|
37797
37797
|
legend: { hiddenItems: "عناصر وسيلة الإيضاح المخفية" }
|
|
37798
|
-
},
|
|
37799
|
-
graph:
|
|
37798
|
+
}, dBe = {
|
|
37799
|
+
graph: uBe,
|
|
37800
37800
|
dir: "rtl"
|
|
37801
|
-
},
|
|
37801
|
+
}, hBe = {
|
|
37802
37802
|
loading: "Loading",
|
|
37803
37803
|
error: "Something went wrong",
|
|
37804
37804
|
axisLabels: { placeholder: "Add label" },
|
|
@@ -37849,10 +37849,10 @@ var u4e = {
|
|
|
37849
37849
|
comparisonReference: ({ value: e }) => `from ${e}`
|
|
37850
37850
|
},
|
|
37851
37851
|
legend: { hiddenItems: "Hidden legend items" }
|
|
37852
|
-
},
|
|
37853
|
-
graph:
|
|
37852
|
+
}, fBe = {
|
|
37853
|
+
graph: hBe,
|
|
37854
37854
|
dir: "ltr"
|
|
37855
|
-
},
|
|
37855
|
+
}, pBe = {}, mBe = {
|
|
37856
37856
|
loading: "A carregar",
|
|
37857
37857
|
error: "Algo correu mal",
|
|
37858
37858
|
axisLabels: { placeholder: "Adicionar etiqueta" },
|
|
@@ -37903,27 +37903,27 @@ var u4e = {
|
|
|
37903
37903
|
comparisonReference: ({ value: e }) => `de ${e}`
|
|
37904
37904
|
},
|
|
37905
37905
|
legend: { hiddenItems: "Itens de legenda ocultos" }
|
|
37906
|
-
},
|
|
37907
|
-
graph:
|
|
37906
|
+
}, gBe = {
|
|
37907
|
+
graph: mBe,
|
|
37908
37908
|
dir: "ltr"
|
|
37909
37909
|
}, Bx = {
|
|
37910
|
-
"en-GB":
|
|
37911
|
-
"en-US":
|
|
37912
|
-
ar:
|
|
37913
|
-
"pt-PT":
|
|
37914
|
-
},
|
|
37910
|
+
"en-GB": fBe,
|
|
37911
|
+
"en-US": pBe,
|
|
37912
|
+
ar: dBe,
|
|
37913
|
+
"pt-PT": gBe
|
|
37914
|
+
}, vBe = ({ locale: e, overrides: t, fallbackLocale: n = "en-GB", dictionaries: r }) => {
|
|
37915
37915
|
const o = t ?? {}, i = e ?? n, s = [...r.map((l) => l[i]), ...r.map((l) => l[n])];
|
|
37916
37916
|
return (l, c) => {
|
|
37917
37917
|
const u = c ?? {}, d = l.split("."), h = o[l];
|
|
37918
37918
|
if (h) return typeof h == "function" ? h(u) : h;
|
|
37919
37919
|
for (const f of s) {
|
|
37920
37920
|
if (f === void 0) continue;
|
|
37921
|
-
const p =
|
|
37921
|
+
const p = bBe(f, d);
|
|
37922
37922
|
if (p) return typeof p == "function" ? p(u) : p;
|
|
37923
37923
|
}
|
|
37924
37924
|
return l;
|
|
37925
37925
|
};
|
|
37926
|
-
},
|
|
37926
|
+
}, yBe = ({ locale: e, overrides: t }) => t?.dir ?? Bx[e].dir ?? "ltr", bBe = (e, t) => {
|
|
37927
37927
|
let n = e;
|
|
37928
37928
|
for (const r of t) {
|
|
37929
37929
|
if (typeof n != "object" || n === null) return;
|
|
@@ -37932,22 +37932,22 @@ var u4e = {
|
|
|
37932
37932
|
if (typeof n == "string" || typeof n == "function") return n;
|
|
37933
37933
|
}, OK = (e = oh) => {
|
|
37934
37934
|
const { language: t, region: n } = new Intl.Locale(ax(e));
|
|
37935
|
-
return [`${t}-${n}`, t].find(
|
|
37936
|
-
},
|
|
37935
|
+
return [`${t}-${n}`, t].find(xBe) ?? "en-GB";
|
|
37936
|
+
}, xBe = (e) => e in Bx, mR = St(null), wBe = [Bx], Le = () => DK().translator, _K = () => DK().dir, gR = (e) => {
|
|
37937
37937
|
const t = Ve(mR)?.requested;
|
|
37938
37938
|
return {
|
|
37939
37939
|
locale: t?.locale ?? e,
|
|
37940
37940
|
i18nOverrides: t?.i18nOverrides
|
|
37941
37941
|
};
|
|
37942
|
-
}, vR = ({ locale: e, children: t, i18nOverrides: n, dictionaries: r =
|
|
37942
|
+
}, vR = ({ locale: e, children: t, i18nOverrides: n, dictionaries: r = wBe }) => {
|
|
37943
37943
|
const o = OK(e), i = q(() => ({
|
|
37944
|
-
translator:
|
|
37944
|
+
translator: vBe({
|
|
37945
37945
|
locale: o,
|
|
37946
37946
|
overrides: n,
|
|
37947
37947
|
fallbackLocale: "en-GB",
|
|
37948
37948
|
dictionaries: r
|
|
37949
37949
|
}),
|
|
37950
|
-
dir:
|
|
37950
|
+
dir: yBe({
|
|
37951
37951
|
locale: o,
|
|
37952
37952
|
overrides: n
|
|
37953
37953
|
}),
|
|
@@ -37973,7 +37973,7 @@ var u4e = {
|
|
|
37973
37973
|
const e = Ve(mR);
|
|
37974
37974
|
if (!e) throw new Error("useI18n must be used within IntlProvider");
|
|
37975
37975
|
return e;
|
|
37976
|
-
},
|
|
37976
|
+
}, SBe = () => {
|
|
37977
37977
|
const e = /* @__PURE__ */ new Map();
|
|
37978
37978
|
return mh((t) => ({
|
|
37979
37979
|
hover: _r,
|
|
@@ -37982,7 +37982,7 @@ var u4e = {
|
|
|
37982
37982
|
suspendsHover: !1,
|
|
37983
37983
|
editorOwnsQuery: !1,
|
|
37984
37984
|
setHoverState: (n) => t((r) => r.hover === n ? r : { hover: n }),
|
|
37985
|
-
setTooltipAnchor: (n) => t((r) =>
|
|
37985
|
+
setTooltipAnchor: (n) => t((r) => TBe(r.tooltipAnchor, n) ? r : { tooltipAnchor: n }),
|
|
37986
37986
|
publishPointerRegions: (n, r) => {
|
|
37987
37987
|
r.length === 0 ? e.delete(n) : e.set(n, r);
|
|
37988
37988
|
const o = Zke(e);
|
|
@@ -37991,7 +37991,7 @@ var u4e = {
|
|
|
37991
37991
|
setSuspendsHover: (n) => t((r) => r.suspendsHover === n ? r : { suspendsHover: n }),
|
|
37992
37992
|
setEditorOwnsQuery: (n) => t((r) => r.editorOwnsQuery === n ? r : { editorOwnsQuery: n })
|
|
37993
37993
|
}));
|
|
37994
|
-
},
|
|
37994
|
+
}, TBe = (e, t) => e === t ? !0 : e === null || t === null ? !1 : e.x === t.x && e.y === t.y && e.placement === t.placement && e.annotationId === t.annotationId, ABe = (e, t) => {
|
|
37995
37995
|
const n = q(() => ({
|
|
37996
37996
|
layers: e,
|
|
37997
37997
|
coordSystem: t
|
|
@@ -38005,11 +38005,11 @@ var u4e = {
|
|
|
38005
38005
|
}
|
|
38006
38006
|
o.update(n);
|
|
38007
38007
|
}, [o, n]), o;
|
|
38008
|
-
}, NK = St(null),
|
|
38008
|
+
}, NK = St(null), CBe = ({ children: e }) => {
|
|
38009
38009
|
const { layers: t, coordSystem: n } = Te(xn((a) => ({
|
|
38010
38010
|
layers: a.layers,
|
|
38011
38011
|
coordSystem: a.coordSystem
|
|
38012
|
-
}))), r =
|
|
38012
|
+
}))), r = ABe(t, n), [o] = De(() => SBe()), i = Ie(null), s = Ie(null);
|
|
38013
38013
|
return s.current === null && (s.current = {
|
|
38014
38014
|
engine: r,
|
|
38015
38015
|
store: o,
|
|
@@ -38022,12 +38022,12 @@ var u4e = {
|
|
|
38022
38022
|
const e = Ve(NK);
|
|
38023
38023
|
if (e === null) throw new Error("useHoverContext must be used inside a <HoverProvider>.");
|
|
38024
38024
|
return e;
|
|
38025
|
-
},
|
|
38025
|
+
}, kBe = [
|
|
38026
38026
|
"top",
|
|
38027
38027
|
"right",
|
|
38028
38028
|
"bottom",
|
|
38029
38029
|
"left"
|
|
38030
|
-
], ik = Math.min, Wl = Math.max, uT = Math.floor,
|
|
38030
|
+
], ik = Math.min, Wl = Math.max, uT = Math.floor, EBe = {
|
|
38031
38031
|
left: "right",
|
|
38032
38032
|
right: "left",
|
|
38033
38033
|
bottom: "top",
|
|
@@ -38058,13 +38058,13 @@ function Yo(e) {
|
|
|
38058
38058
|
function xR(e) {
|
|
38059
38059
|
return yR(Yo(e));
|
|
38060
38060
|
}
|
|
38061
|
-
function
|
|
38061
|
+
function MBe(e, t, n) {
|
|
38062
38062
|
n === void 0 && (n = !1);
|
|
38063
38063
|
const r = gl(e), o = xR(e), i = bR(o);
|
|
38064
38064
|
let s = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
38065
38065
|
return t.reference[i] > t.floating[i] && (s = ob(s)), [s, ob(s)];
|
|
38066
38066
|
}
|
|
38067
|
-
function
|
|
38067
|
+
function PBe(e) {
|
|
38068
38068
|
const t = ob(e);
|
|
38069
38069
|
return [
|
|
38070
38070
|
ak(e),
|
|
@@ -38075,29 +38075,29 @@ function P4e(e) {
|
|
|
38075
38075
|
function ak(e) {
|
|
38076
38076
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
38077
38077
|
}
|
|
38078
|
-
var bF = ["left", "right"], xF = ["right", "left"],
|
|
38079
|
-
function
|
|
38078
|
+
var bF = ["left", "right"], xF = ["right", "left"], RBe = ["top", "bottom"], IBe = ["bottom", "top"];
|
|
38079
|
+
function LBe(e, t, n) {
|
|
38080
38080
|
switch (e) {
|
|
38081
38081
|
case "top":
|
|
38082
38082
|
case "bottom":
|
|
38083
38083
|
return n ? t ? xF : bF : t ? bF : xF;
|
|
38084
38084
|
case "left":
|
|
38085
38085
|
case "right":
|
|
38086
|
-
return t ?
|
|
38086
|
+
return t ? RBe : IBe;
|
|
38087
38087
|
default:
|
|
38088
38088
|
return [];
|
|
38089
38089
|
}
|
|
38090
38090
|
}
|
|
38091
|
-
function
|
|
38091
|
+
function OBe(e, t, n, r) {
|
|
38092
38092
|
const o = gl(e);
|
|
38093
|
-
let i =
|
|
38093
|
+
let i = LBe(ro(e), n === "start", r);
|
|
38094
38094
|
return o && (i = i.map((s) => s + "-" + o), t && (i = i.concat(i.map(ak)))), i;
|
|
38095
38095
|
}
|
|
38096
38096
|
function ob(e) {
|
|
38097
38097
|
const t = ro(e);
|
|
38098
|
-
return
|
|
38098
|
+
return EBe[t] + e.slice(t.length);
|
|
38099
38099
|
}
|
|
38100
|
-
function
|
|
38100
|
+
function _Be(e) {
|
|
38101
38101
|
var t, n, r, o;
|
|
38102
38102
|
return {
|
|
38103
38103
|
top: (t = e.top) != null ? t : 0,
|
|
@@ -38107,7 +38107,7 @@ function _4e(e) {
|
|
|
38107
38107
|
};
|
|
38108
38108
|
}
|
|
38109
38109
|
function FK(e) {
|
|
38110
|
-
return typeof e != "number" ?
|
|
38110
|
+
return typeof e != "number" ? _Be(e) : {
|
|
38111
38111
|
top: e,
|
|
38112
38112
|
right: e,
|
|
38113
38113
|
bottom: e,
|
|
@@ -38172,7 +38172,7 @@ function wF(e, t, n) {
|
|
|
38172
38172
|
}
|
|
38173
38173
|
return f;
|
|
38174
38174
|
}
|
|
38175
|
-
async function
|
|
38175
|
+
async function DBe(e, t) {
|
|
38176
38176
|
var n;
|
|
38177
38177
|
t === void 0 && (t = {});
|
|
38178
38178
|
const { x: r, y: o, platform: i, rects: s, elements: a, strategy: l } = e, { boundary: c = "clippingAncestors", rootBoundary: u = "viewport", elementContext: d = "floating", altBoundary: h = !1, padding: f = 0 } = ca(t, e), p = FK(f), g = a[h ? d === "floating" ? "reference" : "floating" : d], v = mm(await i.getClippingRect({
|
|
@@ -38204,10 +38204,10 @@ async function D4e(e, t) {
|
|
|
38204
38204
|
right: (S.right - v.right + p.right) / x.x
|
|
38205
38205
|
};
|
|
38206
38206
|
}
|
|
38207
|
-
var
|
|
38207
|
+
var NBe = 50, FBe = async (e, t, n) => {
|
|
38208
38208
|
const { placement: r = "bottom", strategy: o = "absolute", middleware: i = [], platform: s } = n, a = s.detectOverflow ? s : {
|
|
38209
38209
|
...s,
|
|
38210
|
-
detectOverflow:
|
|
38210
|
+
detectOverflow: DBe
|
|
38211
38211
|
}, l = await (s.isRTL == null ? void 0 : s.isRTL(t));
|
|
38212
38212
|
let c = await s.getElementRects({
|
|
38213
38213
|
reference: e,
|
|
@@ -38235,7 +38235,7 @@ var N4e = 50, F4e = async (e, t, n) => {
|
|
|
38235
38235
|
u = x ?? u, d = S ?? d, p[y] = {
|
|
38236
38236
|
...p[y],
|
|
38237
38237
|
...A
|
|
38238
|
-
}, T && f <
|
|
38238
|
+
}, T && f < NBe && (f++, typeof T == "object" && (T.placement && (h = T.placement), T.rects && (c = T.rects === !0 ? await s.getElementRects({
|
|
38239
38239
|
reference: e,
|
|
38240
38240
|
floating: t,
|
|
38241
38241
|
strategy: o
|
|
@@ -38248,7 +38248,7 @@ var N4e = 50, F4e = async (e, t, n) => {
|
|
|
38248
38248
|
strategy: o,
|
|
38249
38249
|
middlewareData: p
|
|
38250
38250
|
};
|
|
38251
|
-
},
|
|
38251
|
+
}, BBe = function(e) {
|
|
38252
38252
|
return e === void 0 && (e = {}), {
|
|
38253
38253
|
name: "flip",
|
|
38254
38254
|
options: e,
|
|
@@ -38256,12 +38256,12 @@ var N4e = 50, F4e = async (e, t, n) => {
|
|
|
38256
38256
|
var n, r;
|
|
38257
38257
|
const { placement: o, middlewareData: i, rects: s, initialPlacement: a, platform: l, elements: c } = t, { mainAxis: u = !0, crossAxis: d = !0, fallbackPlacements: h, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: g = !0, ...v } = ca(e, t);
|
|
38258
38258
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
38259
|
-
const y = ro(o), b = Yo(a), x = ro(a) === a, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), A = h || (x || !g ? [ob(a)] :
|
|
38260
|
-
!h && T && A.push(...
|
|
38259
|
+
const y = ro(o), b = Yo(a), x = ro(a) === a, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), A = h || (x || !g ? [ob(a)] : PBe(a)), T = p !== "none";
|
|
38260
|
+
!h && T && A.push(...OBe(a, g, p, S));
|
|
38261
38261
|
const M = [a, ...A], w = await l.detectOverflow(t, v), P = [];
|
|
38262
38262
|
let D = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
38263
38263
|
if (u && P.push(w[y]), d) {
|
|
38264
|
-
const L =
|
|
38264
|
+
const L = MBe(o, s, S);
|
|
38265
38265
|
P.push(w[L[0]], w[L[1]]);
|
|
38266
38266
|
}
|
|
38267
38267
|
if (D = [...D, {
|
|
@@ -38311,9 +38311,9 @@ function SF(e, t) {
|
|
|
38311
38311
|
};
|
|
38312
38312
|
}
|
|
38313
38313
|
function TF(e) {
|
|
38314
|
-
return
|
|
38314
|
+
return kBe.some((t) => e[t] >= 0);
|
|
38315
38315
|
}
|
|
38316
|
-
var
|
|
38316
|
+
var VBe = function(e) {
|
|
38317
38317
|
return e === void 0 && (e = {}), {
|
|
38318
38318
|
name: "hide",
|
|
38319
38319
|
options: e,
|
|
@@ -38346,7 +38346,7 @@ var V4e = function(e) {
|
|
|
38346
38346
|
}
|
|
38347
38347
|
};
|
|
38348
38348
|
}, BK = /* @__PURE__ */ new Set(["left", "top"]);
|
|
38349
|
-
async function
|
|
38349
|
+
async function HBe(e, t) {
|
|
38350
38350
|
const { placement: n, platform: r, elements: o } = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), s = ro(n), a = gl(n), l = Yo(n) === "y", c = BK.has(s) ? -1 : 1, u = i && l ? -1 : 1, d = ca(t, e);
|
|
38351
38351
|
let { mainAxis: h, crossAxis: f, alignmentAxis: p } = typeof d == "number" ? {
|
|
38352
38352
|
mainAxis: d,
|
|
@@ -38365,13 +38365,13 @@ async function H4e(e, t) {
|
|
|
38365
38365
|
y: f * u
|
|
38366
38366
|
};
|
|
38367
38367
|
}
|
|
38368
|
-
var $
|
|
38368
|
+
var $Be = function(e) {
|
|
38369
38369
|
return e === void 0 && (e = 0), {
|
|
38370
38370
|
name: "offset",
|
|
38371
38371
|
options: e,
|
|
38372
38372
|
async fn(t) {
|
|
38373
38373
|
var n, r;
|
|
38374
|
-
const { x: o, y: i, placement: s, middlewareData: a } = t, l = await
|
|
38374
|
+
const { x: o, y: i, placement: s, middlewareData: a } = t, l = await HBe(t, e);
|
|
38375
38375
|
return s === ((n = a.offset) == null ? void 0 : n.placement) && (r = a.arrow) != null && r.alignmentOffset ? {} : {
|
|
38376
38376
|
x: o + l.x,
|
|
38377
38377
|
y: i + l.y,
|
|
@@ -38382,7 +38382,7 @@ var $4e = function(e) {
|
|
|
38382
38382
|
};
|
|
38383
38383
|
}
|
|
38384
38384
|
};
|
|
38385
|
-
},
|
|
38385
|
+
}, zBe = function(e) {
|
|
38386
38386
|
return e === void 0 && (e = {}), {
|
|
38387
38387
|
name: "shift",
|
|
38388
38388
|
options: e,
|
|
@@ -38424,7 +38424,7 @@ var $4e = function(e) {
|
|
|
38424
38424
|
};
|
|
38425
38425
|
}
|
|
38426
38426
|
};
|
|
38427
|
-
},
|
|
38427
|
+
}, GBe = function(e) {
|
|
38428
38428
|
return e === void 0 && (e = {}), {
|
|
38429
38429
|
options: e,
|
|
38430
38430
|
fn(t) {
|
|
@@ -38456,7 +38456,7 @@ var $4e = function(e) {
|
|
|
38456
38456
|
};
|
|
38457
38457
|
}
|
|
38458
38458
|
};
|
|
38459
|
-
},
|
|
38459
|
+
}, WBe = function(e) {
|
|
38460
38460
|
return e === void 0 && (e = {}), {
|
|
38461
38461
|
name: "size",
|
|
38462
38462
|
options: e,
|
|
@@ -38515,7 +38515,7 @@ function Eg(e) {
|
|
|
38515
38515
|
const { overflow: t, overflowX: n, overflowY: r, display: o } = Ti(e);
|
|
38516
38516
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && o !== "inline" && o !== "contents";
|
|
38517
38517
|
}
|
|
38518
|
-
function
|
|
38518
|
+
function UBe(e) {
|
|
38519
38519
|
return /^(table|td|th)$/.test(wh(e));
|
|
38520
38520
|
}
|
|
38521
38521
|
function Hx(e) {
|
|
@@ -38529,12 +38529,12 @@ function Hx(e) {
|
|
|
38529
38529
|
return !1;
|
|
38530
38530
|
}
|
|
38531
38531
|
}
|
|
38532
|
-
var
|
|
38532
|
+
var jBe = /transform|translate|scale|rotate|perspective|filter/, YBe = /paint|layout|strict|content/, Nl = (e) => !!e && e !== "none", dT;
|
|
38533
38533
|
function wR(e) {
|
|
38534
38534
|
const t = Si(e) ? Ti(e) : e;
|
|
38535
|
-
return Nl(t.transform) || Nl(t.translate) || Nl(t.scale) || Nl(t.rotate) || Nl(t.perspective) || !SR() && (Nl(t.backdropFilter) || Nl(t.filter)) ||
|
|
38535
|
+
return Nl(t.transform) || Nl(t.translate) || Nl(t.scale) || Nl(t.rotate) || Nl(t.perspective) || !SR() && (Nl(t.backdropFilter) || Nl(t.filter)) || jBe.test(t.willChange || "") || YBe.test(t.contain || "");
|
|
38536
38536
|
}
|
|
38537
|
-
function
|
|
38537
|
+
function KBe(e) {
|
|
38538
38538
|
let t = ol(e);
|
|
38539
38539
|
for (; xa(t) && !Fd(t); ) {
|
|
38540
38540
|
if (wR(t)) return t;
|
|
@@ -38605,15 +38605,15 @@ function fd(e) {
|
|
|
38605
38605
|
y: a
|
|
38606
38606
|
};
|
|
38607
38607
|
}
|
|
38608
|
-
var
|
|
38608
|
+
var qBe = /* @__PURE__ */ is(0);
|
|
38609
38609
|
function zK(e) {
|
|
38610
38610
|
const t = wo(e);
|
|
38611
|
-
return !SR() || !t.visualViewport ?
|
|
38611
|
+
return !SR() || !t.visualViewport ? qBe : {
|
|
38612
38612
|
x: t.visualViewport.offsetLeft,
|
|
38613
38613
|
y: t.visualViewport.offsetTop
|
|
38614
38614
|
};
|
|
38615
38615
|
}
|
|
38616
|
-
function
|
|
38616
|
+
function XBe(e, t, n) {
|
|
38617
38617
|
return t === void 0 && (t = !1), !n || t && n !== wo(e) ? !1 : t;
|
|
38618
38618
|
}
|
|
38619
38619
|
function Fc(e, t, n, r) {
|
|
@@ -38621,7 +38621,7 @@ function Fc(e, t, n, r) {
|
|
|
38621
38621
|
const o = e.getBoundingClientRect(), i = TR(e);
|
|
38622
38622
|
let s = is(1);
|
|
38623
38623
|
t && (r ? Si(r) && (s = fd(r)) : s = fd(e));
|
|
38624
|
-
const a =
|
|
38624
|
+
const a = XBe(i, n, r) ? zK(i) : is(0);
|
|
38625
38625
|
let l = (o.left + a.x) / s.x, c = (o.top + a.y) / s.y, u = o.width / s.x, d = o.height / s.y;
|
|
38626
38626
|
if (i) {
|
|
38627
38627
|
const h = wo(i), f = r && Si(r) ? wo(r) : r;
|
|
@@ -38649,7 +38649,7 @@ function GK(e, t) {
|
|
|
38649
38649
|
y: n.top + t.scrollTop
|
|
38650
38650
|
};
|
|
38651
38651
|
}
|
|
38652
|
-
function
|
|
38652
|
+
function JBe(e) {
|
|
38653
38653
|
let { elements: t, rect: n, offsetParent: r, strategy: o } = e;
|
|
38654
38654
|
const i = o === "fixed", s = ws(r), a = t ? Hx(t.floating) : !1;
|
|
38655
38655
|
if (r === s || a && i) return n;
|
|
@@ -38670,10 +38670,10 @@ function J4e(e) {
|
|
|
38670
38670
|
y: n.y * c.y - l.scrollTop * c.y + u.y + h.y
|
|
38671
38671
|
};
|
|
38672
38672
|
}
|
|
38673
|
-
function
|
|
38673
|
+
function QBe(e) {
|
|
38674
38674
|
return Array.from(e.getClientRects());
|
|
38675
38675
|
}
|
|
38676
|
-
function
|
|
38676
|
+
function ZBe(e) {
|
|
38677
38677
|
const t = ws(e), n = $x(e), r = e.ownerDocument.body, o = hd(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = hd(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
38678
38678
|
let s = -n.scrollLeft + zx(e);
|
|
38679
38679
|
const a = -n.scrollTop;
|
|
@@ -38685,7 +38685,7 @@ function Z4e(e) {
|
|
|
38685
38685
|
};
|
|
38686
38686
|
}
|
|
38687
38687
|
var CF = 25;
|
|
38688
|
-
function
|
|
38688
|
+
function e4e(e, t) {
|
|
38689
38689
|
const n = wo(e), r = ws(e), o = n.visualViewport;
|
|
38690
38690
|
let i = r.clientWidth, s = r.clientHeight, a = 0, l = 0;
|
|
38691
38691
|
if (o) {
|
|
@@ -38705,7 +38705,7 @@ function eBe(e, t) {
|
|
|
38705
38705
|
y: l
|
|
38706
38706
|
};
|
|
38707
38707
|
}
|
|
38708
|
-
function
|
|
38708
|
+
function t4e(e, t) {
|
|
38709
38709
|
const n = Fc(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, i = xa(e) ? fd(e) : is(1);
|
|
38710
38710
|
return {
|
|
38711
38711
|
width: e.clientWidth * i.x,
|
|
@@ -38716,9 +38716,9 @@ function tBe(e, t) {
|
|
|
38716
38716
|
}
|
|
38717
38717
|
function kF(e, t, n) {
|
|
38718
38718
|
let r;
|
|
38719
|
-
if (t === "viewport") r =
|
|
38720
|
-
else if (t === "document") r =
|
|
38721
|
-
else if (Si(t)) r =
|
|
38719
|
+
if (t === "viewport") r = e4e(e, n);
|
|
38720
|
+
else if (t === "document") r = ZBe(ws(e));
|
|
38721
|
+
else if (Si(t)) r = t4e(t, n);
|
|
38722
38722
|
else {
|
|
38723
38723
|
const o = zK(e);
|
|
38724
38724
|
r = {
|
|
@@ -38734,7 +38734,7 @@ function WK(e, t) {
|
|
|
38734
38734
|
const n = ol(e);
|
|
38735
38735
|
return n === t || !Si(n) || Fd(n) ? !1 : Ti(n).position === "fixed" || WK(n, t);
|
|
38736
38736
|
}
|
|
38737
|
-
function
|
|
38737
|
+
function n4e(e, t) {
|
|
38738
38738
|
const n = t.get(e);
|
|
38739
38739
|
if (n) return n;
|
|
38740
38740
|
let r = gm(e, [], !1).filter((a) => Si(a) && wh(a) !== "body"), o = null;
|
|
@@ -38746,9 +38746,9 @@ function nBe(e, t) {
|
|
|
38746
38746
|
}
|
|
38747
38747
|
return t.set(e, r), r;
|
|
38748
38748
|
}
|
|
38749
|
-
function
|
|
38749
|
+
function r4e(e) {
|
|
38750
38750
|
let { element: t, boundary: n, rootBoundary: r, strategy: o } = e;
|
|
38751
|
-
const i = [...n === "clippingAncestors" ? Hx(t) ? [] :
|
|
38751
|
+
const i = [...n === "clippingAncestors" ? Hx(t) ? [] : n4e(t, this._c) : [].concat(n), r], s = kF(t, i[0], o);
|
|
38752
38752
|
let a = s.top, l = s.right, c = s.bottom, u = s.left;
|
|
38753
38753
|
for (let d = 1; d < i.length; d++) {
|
|
38754
38754
|
const h = kF(t, i[d], o);
|
|
@@ -38761,14 +38761,14 @@ function rBe(e) {
|
|
|
38761
38761
|
y: a
|
|
38762
38762
|
};
|
|
38763
38763
|
}
|
|
38764
|
-
function
|
|
38764
|
+
function o4e(e) {
|
|
38765
38765
|
const { width: t, height: n } = $K(e);
|
|
38766
38766
|
return {
|
|
38767
38767
|
width: t,
|
|
38768
38768
|
height: n
|
|
38769
38769
|
};
|
|
38770
38770
|
}
|
|
38771
|
-
function
|
|
38771
|
+
function i4e(e, t, n) {
|
|
38772
38772
|
const r = xa(t), o = ws(t), i = n === "fixed", s = Fc(e, !0, i, t);
|
|
38773
38773
|
let a = {
|
|
38774
38774
|
scrollLeft: 0,
|
|
@@ -38813,13 +38813,13 @@ function UK(e, t) {
|
|
|
38813
38813
|
return n;
|
|
38814
38814
|
}
|
|
38815
38815
|
let r = EF(e, t);
|
|
38816
|
-
for (; r &&
|
|
38817
|
-
return r && Fd(r) && hT(r) && !wR(r) ? n : r ||
|
|
38816
|
+
for (; r && UBe(r) && hT(r); ) r = EF(r, t);
|
|
38817
|
+
return r && Fd(r) && hT(r) && !wR(r) ? n : r || KBe(e) || n;
|
|
38818
38818
|
}
|
|
38819
|
-
var
|
|
38819
|
+
var s4e = async function(e) {
|
|
38820
38820
|
const t = this.getOffsetParent || UK, n = this.getDimensions, r = await n(e.floating);
|
|
38821
38821
|
return {
|
|
38822
|
-
reference:
|
|
38822
|
+
reference: i4e(e.reference, await t(e.floating), e.strategy),
|
|
38823
38823
|
floating: {
|
|
38824
38824
|
x: 0,
|
|
38825
38825
|
y: 0,
|
|
@@ -38828,25 +38828,25 @@ var sBe = async function(e) {
|
|
|
38828
38828
|
}
|
|
38829
38829
|
};
|
|
38830
38830
|
};
|
|
38831
|
-
function
|
|
38831
|
+
function a4e(e) {
|
|
38832
38832
|
return Ti(e).direction === "rtl";
|
|
38833
38833
|
}
|
|
38834
38834
|
var jK = {
|
|
38835
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
38835
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: JBe,
|
|
38836
38836
|
getDocumentElement: ws,
|
|
38837
|
-
getClippingRect:
|
|
38837
|
+
getClippingRect: r4e,
|
|
38838
38838
|
getOffsetParent: UK,
|
|
38839
|
-
getElementRects:
|
|
38840
|
-
getClientRects:
|
|
38841
|
-
getDimensions:
|
|
38839
|
+
getElementRects: s4e,
|
|
38840
|
+
getClientRects: QBe,
|
|
38841
|
+
getDimensions: o4e,
|
|
38842
38842
|
getScale: fd,
|
|
38843
38843
|
isElement: Si,
|
|
38844
|
-
isRTL:
|
|
38844
|
+
isRTL: a4e
|
|
38845
38845
|
};
|
|
38846
38846
|
function YK(e, t) {
|
|
38847
38847
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
38848
38848
|
}
|
|
38849
|
-
function
|
|
38849
|
+
function l4e(e, t) {
|
|
38850
38850
|
let n = null, r;
|
|
38851
38851
|
const o = ws(e);
|
|
38852
38852
|
function i() {
|
|
@@ -38890,7 +38890,7 @@ function uk(e, t, n, r) {
|
|
|
38890
38890
|
u.forEach((y) => {
|
|
38891
38891
|
o && y.addEventListener("scroll", n, { passive: !0 }), i && y.addEventListener("resize", n);
|
|
38892
38892
|
});
|
|
38893
|
-
const d = c && a ?
|
|
38893
|
+
const d = c && a ? l4e(c, n) : null;
|
|
38894
38894
|
let h = -1, f = null;
|
|
38895
38895
|
s && (f = new ResizeObserver((y) => {
|
|
38896
38896
|
let [b] = y;
|
|
@@ -38912,7 +38912,7 @@ function uk(e, t, n, r) {
|
|
|
38912
38912
|
}), d?.(), (y = f) == null || y.disconnect(), f = null, l && cancelAnimationFrame(p);
|
|
38913
38913
|
};
|
|
38914
38914
|
}
|
|
38915
|
-
var
|
|
38915
|
+
var c4e = $Be, u4e = zBe, d4e = BBe, h4e = WBe, f4e = VBe, p4e = GBe, m4e = (e, t, n) => {
|
|
38916
38916
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
38917
38917
|
platform: jK,
|
|
38918
38918
|
...n
|
|
@@ -38920,7 +38920,7 @@ var cBe = $4e, uBe = z4e, dBe = B4e, hBe = W4e, fBe = V4e, pBe = G4e, mBe = (e,
|
|
|
38920
38920
|
...o.platform,
|
|
38921
38921
|
_c: r
|
|
38922
38922
|
};
|
|
38923
|
-
return
|
|
38923
|
+
return FBe(e, t, {
|
|
38924
38924
|
...o,
|
|
38925
38925
|
platform: i
|
|
38926
38926
|
});
|
|
@@ -38983,7 +38983,7 @@ function Gx(e) {
|
|
|
38983
38983
|
strategy: n,
|
|
38984
38984
|
middleware: h
|
|
38985
38985
|
};
|
|
38986
|
-
k.current && (N.platform = k.current),
|
|
38986
|
+
k.current && (N.platform = k.current), m4e(T.current, M.current, N).then((F) => {
|
|
38987
38987
|
const V = {
|
|
38988
38988
|
...F,
|
|
38989
38989
|
isPositioned: R.current !== !1
|
|
@@ -39067,38 +39067,38 @@ function Gx(e) {
|
|
|
39067
39067
|
]);
|
|
39068
39068
|
}
|
|
39069
39069
|
var vm = (e, t) => {
|
|
39070
|
-
const n =
|
|
39070
|
+
const n = c4e(e);
|
|
39071
39071
|
return {
|
|
39072
39072
|
name: n.name,
|
|
39073
39073
|
fn: n.fn,
|
|
39074
39074
|
options: [e, t]
|
|
39075
39075
|
};
|
|
39076
39076
|
}, ym = (e, t) => {
|
|
39077
|
-
const n =
|
|
39077
|
+
const n = u4e(e);
|
|
39078
39078
|
return {
|
|
39079
39079
|
name: n.name,
|
|
39080
39080
|
fn: n.fn,
|
|
39081
39081
|
options: [e, t]
|
|
39082
39082
|
};
|
|
39083
|
-
},
|
|
39084
|
-
fn:
|
|
39083
|
+
}, g4e = (e, t) => ({
|
|
39084
|
+
fn: p4e(e).fn,
|
|
39085
39085
|
options: [e, t]
|
|
39086
39086
|
}), bm = (e, t) => {
|
|
39087
|
-
const n =
|
|
39087
|
+
const n = d4e(e);
|
|
39088
39088
|
return {
|
|
39089
39089
|
name: n.name,
|
|
39090
39090
|
fn: n.fn,
|
|
39091
39091
|
options: [e, t]
|
|
39092
39092
|
};
|
|
39093
|
-
},
|
|
39094
|
-
const n =
|
|
39093
|
+
}, v4e = (e, t) => {
|
|
39094
|
+
const n = h4e(e);
|
|
39095
39095
|
return {
|
|
39096
39096
|
name: n.name,
|
|
39097
39097
|
fn: n.fn,
|
|
39098
39098
|
options: [e, t]
|
|
39099
39099
|
};
|
|
39100
|
-
},
|
|
39101
|
-
const n =
|
|
39100
|
+
}, y4e = (e, t) => {
|
|
39101
|
+
const n = f4e(e);
|
|
39102
39102
|
return {
|
|
39103
39103
|
name: n.name,
|
|
39104
39104
|
fn: n.fn,
|
|
@@ -39109,7 +39109,7 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), AR = (e,
|
|
|
39109
39109
|
const n = xA(e);
|
|
39110
39110
|
let r = t.get(n);
|
|
39111
39111
|
return r === void 0 && (r = B8(e), t.set(n, r)), r;
|
|
39112
|
-
}, Sh = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color}`,
|
|
39112
|
+
}, Sh = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color}`, b4e = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color}`, cu = (e) => {
|
|
39113
39113
|
if (e !== "none")
|
|
39114
39114
|
return `drop-shadow(${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color})`;
|
|
39115
39115
|
}, Pg = St(null), PF = [
|
|
@@ -39127,7 +39127,7 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), AR = (e,
|
|
|
39127
39127
|
const i = /* @__PURE__ */ new Map(), s = (c, u) => {
|
|
39128
39128
|
switch (u) {
|
|
39129
39129
|
case "shadow":
|
|
39130
|
-
return
|
|
39130
|
+
return T4e(t.get("shadow", c), r);
|
|
39131
39131
|
case "blendMode":
|
|
39132
39132
|
return t.get("blendMode", c) === "normal";
|
|
39133
39133
|
case "alpha":
|
|
@@ -39139,22 +39139,22 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), AR = (e,
|
|
|
39139
39139
|
return d === void 0 || AR(d, i);
|
|
39140
39140
|
}
|
|
39141
39141
|
}
|
|
39142
|
-
}, a =
|
|
39142
|
+
}, a = w4e(e.styles), l = PF.filter((c) => a.has(c) || S4e(e, c));
|
|
39143
39143
|
if (!PF.filter((c) => !l.includes(c)).some((c) => !s(n, c)))
|
|
39144
39144
|
return l.length === 0 || e.data.findFirst((c) => l.some((u) => !s(c, u))) === null ? o : void 0;
|
|
39145
|
-
}, [e, t]),
|
|
39145
|
+
}, [e, t]), x4e = (e, t) => {
|
|
39146
39146
|
const n = Ve(Pg), r = n?.layerId === e.id && n.paintsShadow;
|
|
39147
|
-
return q(() => r ?
|
|
39148
|
-
},
|
|
39147
|
+
return q(() => r ? A4e(t) : t, [r, t]);
|
|
39148
|
+
}, w4e = (e) => {
|
|
39149
39149
|
const t = /* @__PURE__ */ new Set();
|
|
39150
39150
|
for (const n of [...e.defaults, ...e.overrides])
|
|
39151
39151
|
if (!(n.matches === void 0 || n.state !== void 0 || n.part !== void 0))
|
|
39152
39152
|
for (const r of Object.keys(n.declarations)) t.add(r);
|
|
39153
39153
|
return t;
|
|
39154
|
-
},
|
|
39154
|
+
}, S4e = (e, t) => {
|
|
39155
39155
|
const n = e.styles.observation.aesthetics[t];
|
|
39156
39156
|
return n === void 0 || !Object.hasOwn(ta, n) ? !1 : e.data.hasVariable(ta[n]);
|
|
39157
|
-
},
|
|
39157
|
+
}, T4e = (e, t) => e === "none" || t === "none" ? e === t : e.offsetX === t.offsetX && e.offsetY === t.offsetY && e.blur === t.blur && e.color === t.color, A4e = (e) => {
|
|
39158
39158
|
const { get: t, resolve: n } = e;
|
|
39159
39159
|
return {
|
|
39160
39160
|
...e,
|
|
@@ -39164,7 +39164,7 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), AR = (e,
|
|
|
39164
39164
|
return s === void 0 && (a.shadow = "none"), a;
|
|
39165
39165
|
}
|
|
39166
39166
|
};
|
|
39167
|
-
}, XK = () => Xe().styleResolver, Xt = (e) =>
|
|
39167
|
+
}, XK = () => Xe().styleResolver, Xt = (e) => x4e(e, wa()(e)), We = () => {
|
|
39168
39168
|
const e = XK(), t = Te((n) => n.styles);
|
|
39169
39169
|
return e.readers({ styles: t });
|
|
39170
39170
|
}, JK = (e) => {
|
|
@@ -39173,14 +39173,14 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), AR = (e,
|
|
|
39173
39173
|
}, QK = (e) => {
|
|
39174
39174
|
const t = wa(), n = Te((r) => r.layers).find((r) => r.id === e.layerId);
|
|
39175
39175
|
return n === void 0 ? void 0 : dl({ geom: t }, n, e.observation);
|
|
39176
|
-
},
|
|
39176
|
+
}, C4e = () => {
|
|
39177
39177
|
const e = wa(), t = Te((n) => n.layers);
|
|
39178
39178
|
return q(() => (n) => {
|
|
39179
39179
|
const r = qz(t, n);
|
|
39180
39180
|
if (r !== null)
|
|
39181
39181
|
return dl({ geom: e }, r.layer, r.observation);
|
|
39182
39182
|
}, [t, e]);
|
|
39183
|
-
},
|
|
39183
|
+
}, k4e = (e) => {
|
|
39184
39184
|
const t = wa(), n = Te((r) => r.layers);
|
|
39185
39185
|
return q(() => (r) => {
|
|
39186
39186
|
const o = qz(n, r);
|
|
@@ -39204,7 +39204,7 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), AR = (e,
|
|
|
39204
39204
|
}, wa = () => {
|
|
39205
39205
|
const e = XK();
|
|
39206
39206
|
return Te((t) => e.readers(t).geom);
|
|
39207
|
-
},
|
|
39207
|
+
}, E4e = {
|
|
39208
39208
|
centerX: 0,
|
|
39209
39209
|
centerY: 0,
|
|
39210
39210
|
radius: 1
|
|
@@ -39221,7 +39221,7 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), AR = (e,
|
|
|
39221
39221
|
x: n,
|
|
39222
39222
|
y: n
|
|
39223
39223
|
};
|
|
39224
|
-
}, ei = (e, t, n =
|
|
39224
|
+
}, ei = (e, t, n = E4e) => {
|
|
39225
39225
|
const r = Xi(e, t);
|
|
39226
39226
|
return {
|
|
39227
39227
|
x: n.centerX + r.x * n.radius,
|
|
@@ -39240,15 +39240,15 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), AR = (e,
|
|
|
39240
39240
|
var ZK = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [], j1t = (e, t) => ({
|
|
39241
39241
|
name: e,
|
|
39242
39242
|
definition: t
|
|
39243
|
-
}),
|
|
39244
|
-
const n = q(() =>
|
|
39243
|
+
}), M4e = (e, t) => [...e ?? [], ...t ?? []], P4e = ({ glyphs: e, children: t }) => {
|
|
39244
|
+
const n = q(() => B4e(e), [e]);
|
|
39245
39245
|
return /* @__PURE__ */ m(ZK.Provider, {
|
|
39246
39246
|
value: n,
|
|
39247
39247
|
children: t
|
|
39248
39248
|
});
|
|
39249
|
-
}, Wx = () => Ve(ZK),
|
|
39250
|
-
const n =
|
|
39251
|
-
return n !== void 0 ? n :
|
|
39249
|
+
}, Wx = () => Ve(ZK), R4e = (e, t) => {
|
|
39250
|
+
const n = D4e(e, t);
|
|
39251
|
+
return n !== void 0 ? n : N4e(e, t, _4e(e, t));
|
|
39252
39252
|
}, eq = ({ symbol: e, glyphs: t, size: n, fill: r, fillOpacity: o, stroke: i, strokeOpacity: s, strokeWidth: a }) => {
|
|
39253
39253
|
if (x0(e)) return /* @__PURE__ */ m(RF, {
|
|
39254
39254
|
image: e.image,
|
|
@@ -39266,7 +39266,7 @@ var ZK = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39266
39266
|
strokeWidth: a
|
|
39267
39267
|
}) : typeof l == "function" ? /* @__PURE__ */ m("g", {
|
|
39268
39268
|
color: r,
|
|
39269
|
-
children: /* @__PURE__ */ m(
|
|
39269
|
+
children: /* @__PURE__ */ m(V4e, {
|
|
39270
39270
|
glyph: l,
|
|
39271
39271
|
paint: {
|
|
39272
39272
|
size: n,
|
|
@@ -39277,7 +39277,7 @@ var ZK = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39277
39277
|
strokeWidth: a
|
|
39278
39278
|
}
|
|
39279
39279
|
})
|
|
39280
|
-
}) : "d" in l ? /* @__PURE__ */ m(
|
|
39280
|
+
}) : "d" in l ? /* @__PURE__ */ m(H4e, {
|
|
39281
39281
|
glyph: l,
|
|
39282
39282
|
size: n,
|
|
39283
39283
|
fill: r,
|
|
@@ -39291,32 +39291,32 @@ var ZK = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39291
39291
|
fill: r,
|
|
39292
39292
|
fillOpacity: o
|
|
39293
39293
|
});
|
|
39294
|
-
},
|
|
39294
|
+
}, I4e = (e) => {
|
|
39295
39295
|
const t = atob(e), n = Uint8Array.from(t, (r) => r.charCodeAt(0));
|
|
39296
39296
|
return new TextDecoder().decode(n);
|
|
39297
|
-
},
|
|
39297
|
+
}, L4e = (e) => {
|
|
39298
39298
|
try {
|
|
39299
|
-
return
|
|
39299
|
+
return I4e(e);
|
|
39300
39300
|
} catch {
|
|
39301
39301
|
return;
|
|
39302
39302
|
}
|
|
39303
|
-
},
|
|
39303
|
+
}, O4e = (e) => {
|
|
39304
39304
|
try {
|
|
39305
39305
|
return decodeURIComponent(e);
|
|
39306
39306
|
} catch {
|
|
39307
39307
|
return e;
|
|
39308
39308
|
}
|
|
39309
|
-
},
|
|
39309
|
+
}, _4e = (e, t) => {
|
|
39310
39310
|
if (!e.startsWith("data:image/svg+xml")) return e;
|
|
39311
39311
|
const n = e.indexOf(",");
|
|
39312
39312
|
if (n < 0) return e;
|
|
39313
|
-
const r = e.slice(0, n), o = e.slice(n + 1), i = r.includes(";base64") ?
|
|
39314
|
-
return i === void 0 || !i.includes("currentColor") ? e : `data:image/svg+xml;charset=utf-8,${encodeURIComponent(i.replaceAll("currentColor",
|
|
39315
|
-
},
|
|
39313
|
+
const r = e.slice(0, n), o = e.slice(n + 1), i = r.includes(";base64") ? L4e(o) : O4e(o);
|
|
39314
|
+
return i === void 0 || !i.includes("currentColor") ? e : `data:image/svg+xml;charset=utf-8,${encodeURIComponent(i.replaceAll("currentColor", F4e(t)))}`;
|
|
39315
|
+
}, D4e = (e, t) => {
|
|
39316
39316
|
const n = Cf.get(e)?.get(t);
|
|
39317
39317
|
if (n !== void 0)
|
|
39318
39318
|
return tq(e, t), n;
|
|
39319
|
-
},
|
|
39319
|
+
}, N4e = (e, t, n) => {
|
|
39320
39320
|
let r = Cf.get(e);
|
|
39321
39321
|
for (r === void 0 && (r = /* @__PURE__ */ new Map(), Cf.set(e, r)), r.set(t, n), tq(e, t); sp.length > 32; ) {
|
|
39322
39322
|
const o = sp.shift();
|
|
@@ -39331,21 +39331,21 @@ var ZK = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39331
39331
|
fill: t
|
|
39332
39332
|
} : sp.splice(n, 1)[0];
|
|
39333
39333
|
r !== void 0 && sp.push(r);
|
|
39334
|
-
},
|
|
39334
|
+
}, F4e = (e) => {
|
|
39335
39335
|
const t = e.trim();
|
|
39336
39336
|
return t.length === 0 || t === "currentColor" || t === "inherit" || t.startsWith("var(") || t.startsWith("url(") ? "#000000" : t;
|
|
39337
|
-
},
|
|
39337
|
+
}, B4e = (e) => {
|
|
39338
39338
|
const t = /* @__PURE__ */ new Map();
|
|
39339
39339
|
for (const n of e) t.set(n.name, n.definition);
|
|
39340
39340
|
return t;
|
|
39341
|
-
},
|
|
39342
|
-
href:
|
|
39341
|
+
}, V4e = ({ glyph: e, paint: t }) => /* @__PURE__ */ m(e, { ...t }), RF = ({ image: e, size: t, fill: n, fillOpacity: r }) => /* @__PURE__ */ m("image", {
|
|
39342
|
+
href: R4e(e, n),
|
|
39343
39343
|
x: -t / 2,
|
|
39344
39344
|
y: -t / 2,
|
|
39345
39345
|
width: t,
|
|
39346
39346
|
height: t,
|
|
39347
39347
|
opacity: r
|
|
39348
|
-
}),
|
|
39348
|
+
}), H4e = ({ glyph: e, size: t, fill: n, fillOpacity: r, stroke: o, strokeOpacity: i, strokeWidth: s }) => {
|
|
39349
39349
|
const [a, l, c, u] = e.viewBox, d = Math.max(c, u), h = d === 0 ? 0 : t / d;
|
|
39350
39350
|
return /* @__PURE__ */ m("g", {
|
|
39351
39351
|
transform: `translate(${-(a + c / 2) * h} ${-(l + u / 2) * h}) scale(${h})`,
|
|
@@ -39480,10 +39480,10 @@ var ZK = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39480
39480
|
transform: `translate(${t}, ${n})`
|
|
39481
39481
|
}
|
|
39482
39482
|
});
|
|
39483
|
-
}, $
|
|
39483
|
+
}, $4e = 2, z4e = 0.7, vl = ({ hit: e, project: t = Bc }) => {
|
|
39484
39484
|
const n = JK(e.layerId), r = QK(e) ?? ig;
|
|
39485
39485
|
if (!e.anchored) return null;
|
|
39486
|
-
const o = (t2(e.observation) ?? 1) *
|
|
39486
|
+
const o = (t2(e.observation) ?? 1) * z4e, i = n?.get("size", e.observation) ?? 8, s = n?.get("stroke", e.observation, "hovered") ?? "#ffffff", a = t(e.x, e.y);
|
|
39487
39487
|
return /* @__PURE__ */ m(Ig, {
|
|
39488
39488
|
symbol: n?.get("symbol", e.observation) ?? "circle",
|
|
39489
39489
|
cx: _e(a.x),
|
|
@@ -39492,14 +39492,14 @@ var ZK = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39492
39492
|
fill: r,
|
|
39493
39493
|
opacity: o,
|
|
39494
39494
|
stroke: s,
|
|
39495
|
-
strokeWidth: $
|
|
39495
|
+
strokeWidth: $4e,
|
|
39496
39496
|
"data-testid": "companion-point"
|
|
39497
39497
|
});
|
|
39498
39498
|
};
|
|
39499
|
-
var IF = 10 ** 2, un = (e) => Math.round(e * IF) / IF,
|
|
39499
|
+
var IF = 10 ** 2, un = (e) => Math.round(e * IF) / IF, G4e = 32, W4e = (e, t) => {
|
|
39500
39500
|
const n = un(t), r = un(2 * t), o = `a${n},${n} 0 1,0 ${r},0a${n},${n} 0 1,0 ${-r},0Z`;
|
|
39501
39501
|
return e.map(({ x: i, y: s }) => `M${un(i - t)},${un(s)}${o}`).join("");
|
|
39502
|
-
},
|
|
39502
|
+
}, U4e = (e, t, n) => {
|
|
39503
39503
|
const r = n.axis === "x", o = r ? e.y : e.x, i = r ? e.x : e.y, s = r ? e.height : e.width, a = r ? e.width : e.height, [l, c, u, d] = r ? [
|
|
39504
39504
|
t[0],
|
|
39505
39505
|
t[3],
|
|
@@ -39513,7 +39513,7 @@ var IF = 10 ** 2, un = (e) => Math.round(e * IF) / IF, GBe = 32, WBe = (e, t) =>
|
|
|
39513
39513
|
}, b = (M, w, P) => `A${un(M)},${un(M)} 0 0 ${v} ${y(w, P)}`, x = (M, w) => {
|
|
39514
39514
|
const P = i + M, D = g - w, k = (_, I) => I > 0 ? _ - Math.sqrt(Math.max(0, _ * _ - I * I)) : 0, R = () => {
|
|
39515
39515
|
let [_, I] = [D, P];
|
|
39516
|
-
for (let O = 0; O <
|
|
39516
|
+
for (let O = 0; O < G4e; O++) {
|
|
39517
39517
|
const N = (_ + I) / 2;
|
|
39518
39518
|
k(M, P - N) > k(w, N - D) ? _ = N : I = N;
|
|
39519
39519
|
}
|
|
@@ -39565,7 +39565,7 @@ var IF = 10 ** 2, un = (e) => Math.round(e * IF) / IF, GBe = 32, WBe = (e, t) =>
|
|
|
39565
39565
|
}, ab = (e, t) => ({
|
|
39566
39566
|
x: e.x * t.width,
|
|
39567
39567
|
y: e.y * t.height
|
|
39568
|
-
}),
|
|
39568
|
+
}), j4e = (e) => {
|
|
39569
39569
|
const t = /* @__PURE__ */ new Map();
|
|
39570
39570
|
for (const { center: n, size: r } of e) {
|
|
39571
39571
|
const o = t.get(r) ?? [];
|
|
@@ -39576,7 +39576,7 @@ var IF = 10 ** 2, un = (e) => Math.round(e * IF) / IF, GBe = 32, WBe = (e, t) =>
|
|
|
39576
39576
|
centers: r,
|
|
39577
39577
|
size: n
|
|
39578
39578
|
}));
|
|
39579
|
-
}, rq = (e, t, { origin: n, scaleX: r, scaleY: o }) => `${un(n.x + e * r)},${un(n.y + t * o)}`,
|
|
39579
|
+
}, rq = (e, t, { origin: n, scaleX: r, scaleY: o }) => `${un(n.x + e * r)},${un(n.y + t * o)}`, Y4e = ({ layer: e, coordSystem: t, panelRect: n, animateTransitions: r }) => {
|
|
39580
39580
|
const { areaGenerator: o } = q2(t, e.params), i = {
|
|
39581
39581
|
origin: {
|
|
39582
39582
|
x: 0,
|
|
@@ -39591,7 +39591,7 @@ var IF = 10 ** 2, un = (e) => Math.round(e * IF) / IF, GBe = 32, WBe = (e, t) =>
|
|
|
39591
39591
|
const u = X2([...c], e.params.missingValues), [d] = u;
|
|
39592
39592
|
if (d !== void 0) {
|
|
39593
39593
|
if (u.length === 1) {
|
|
39594
|
-
const h =
|
|
39594
|
+
const h = K4e(d, t, n);
|
|
39595
39595
|
h !== null && a.push(h);
|
|
39596
39596
|
return;
|
|
39597
39597
|
}
|
|
@@ -39608,14 +39608,14 @@ var IF = 10 ** 2, un = (e) => Math.round(e * IF) / IF, GBe = 32, WBe = (e, t) =>
|
|
|
39608
39608
|
centers: a,
|
|
39609
39609
|
size: 8
|
|
39610
39610
|
}), l;
|
|
39611
|
-
},
|
|
39611
|
+
}, K4e = (e, t, n) => {
|
|
39612
39612
|
if (t.mainAxis === "y") {
|
|
39613
39613
|
const i = Gt(e), s = Zd(e);
|
|
39614
39614
|
return i === null || s === null ? null : ab(Bc(s, i), n);
|
|
39615
39615
|
}
|
|
39616
39616
|
const r = Nt(e), o = ma(e);
|
|
39617
39617
|
return r === null || o === null ? null : ab(Bc(r, o), n);
|
|
39618
|
-
},
|
|
39618
|
+
}, q4e = 1.5, oq = (e, t) => iq(e, t) ? Math.max(t, q4e) : t, yl = (e, t, n) => {
|
|
39619
39619
|
const r = oq(e, t);
|
|
39620
39620
|
return {
|
|
39621
39621
|
strokeWidth: r,
|
|
@@ -39644,7 +39644,7 @@ var IF = 10 ** 2, un = (e) => Math.round(e * IF) / IF, GBe = 32, WBe = (e, t) =>
|
|
|
39644
39644
|
stiffness: 500,
|
|
39645
39645
|
damping: 60,
|
|
39646
39646
|
mass: 1
|
|
39647
|
-
},
|
|
39647
|
+
}, X4e = { duration: 0 }, Ux = (e) => e ? Tr : X4e;
|
|
39648
39648
|
function LF(e, t) {
|
|
39649
39649
|
var n = Object.keys(e);
|
|
39650
39650
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -39655,11 +39655,11 @@ function LF(e, t) {
|
|
|
39655
39655
|
}
|
|
39656
39656
|
return n;
|
|
39657
39657
|
}
|
|
39658
|
-
function
|
|
39658
|
+
function J4e(e) {
|
|
39659
39659
|
for (var t = 1; t < arguments.length; t++) {
|
|
39660
39660
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
39661
39661
|
t % 2 ? LF(Object(n), !0).forEach(function(r) {
|
|
39662
|
-
|
|
39662
|
+
Q4e(e, r, n[r]);
|
|
39663
39663
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LF(Object(n)).forEach(function(r) {
|
|
39664
39664
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
39665
39665
|
});
|
|
@@ -39674,7 +39674,7 @@ function ap(e) {
|
|
|
39674
39674
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
39675
39675
|
}, ap(e);
|
|
39676
39676
|
}
|
|
39677
|
-
function
|
|
39677
|
+
function Q4e(e, t, n) {
|
|
39678
39678
|
return t in e ? Object.defineProperty(e, t, {
|
|
39679
39679
|
value: n,
|
|
39680
39680
|
enumerable: !0,
|
|
@@ -39691,7 +39691,7 @@ function lb() {
|
|
|
39691
39691
|
return e;
|
|
39692
39692
|
}, lb.apply(this, arguments);
|
|
39693
39693
|
}
|
|
39694
|
-
function
|
|
39694
|
+
function Z4e(e, t) {
|
|
39695
39695
|
if (e) {
|
|
39696
39696
|
if (typeof e == "string") return OF(e, t);
|
|
39697
39697
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -39707,7 +39707,7 @@ function OF(e, t) {
|
|
|
39707
39707
|
function aq(e, t) {
|
|
39708
39708
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
39709
39709
|
if (!n) {
|
|
39710
|
-
if (Array.isArray(e) || (n =
|
|
39710
|
+
if (Array.isArray(e) || (n = Z4e(e)) || t && e && typeof e.length == "number") {
|
|
39711
39711
|
n && (e = n);
|
|
39712
39712
|
var r = 0, o = function() {
|
|
39713
39713
|
};
|
|
@@ -39902,7 +39902,7 @@ function lVe(e, t, n) {
|
|
|
39902
39902
|
return sVe(u, o[d]);
|
|
39903
39903
|
});
|
|
39904
39904
|
var c = r.map(function(u) {
|
|
39905
|
-
return
|
|
39905
|
+
return J4e({}, u);
|
|
39906
39906
|
});
|
|
39907
39907
|
return l && (c.push({ type: "Z" }), r.push({ type: "Z" })), function(d) {
|
|
39908
39908
|
if (d === 1 && a) return t ?? [];
|
|
@@ -40268,7 +40268,7 @@ var xm = (e, t, n) => {
|
|
|
40268
40268
|
companions: [...r, ...o]
|
|
40269
40269
|
}),
|
|
40270
40270
|
renderHoverCompanions: ({ related: e }) => /* @__PURE__ */ m(He, { children: e.map((t) => /* @__PURE__ */ m(vl, { hit: t }, `companion-${t.layerId}-${t.pointIndex}`)) }),
|
|
40271
|
-
getEditOutlineShapes:
|
|
40271
|
+
getEditOutlineShapes: Y4e,
|
|
40272
40272
|
getOverlayAnchor: ({ observation: e, coordSystem: t }) => {
|
|
40273
40273
|
if (t.mainAxis === "x") {
|
|
40274
40274
|
const o = Nt(e), i = ma(e);
|
|
@@ -40768,7 +40768,7 @@ var KVe = 9999, qVe = Xx(w0e), Tq = (e) => e === "full", Aq = (e, t, n) => {
|
|
|
40768
40768
|
const h = a.get(q1(s, d));
|
|
40769
40769
|
if (h === void 0) continue;
|
|
40770
40770
|
const f = JM(s, h.bounds, h.cap?.maxWidth, r), p = kq(s, d, f), g = wm(f, r), v = wm(p, r), y = td(h.corners, g);
|
|
40771
|
-
c += t8e(v, g) && !e8e(y, g) ? kf(g, y) :
|
|
40771
|
+
c += t8e(v, g) && !e8e(y, g) ? kf(g, y) : U4e(g, y, s === "x" ? {
|
|
40772
40772
|
axis: "y",
|
|
40773
40773
|
from: v.y,
|
|
40774
40774
|
to: v.y + v.height
|
|
@@ -41737,7 +41737,7 @@ var KVe = 9999, qVe = Xx(w0e), Tq = (e) => e === "full", Aq = (e, t, n) => {
|
|
|
41737
41737
|
size: n.get("size", i) + n.get("strokeWidth", i)
|
|
41738
41738
|
});
|
|
41739
41739
|
}
|
|
41740
|
-
return
|
|
41740
|
+
return j4e(o);
|
|
41741
41741
|
}, F8e = po(function({ layer: t, animateTransitions: n, intro: r }) {
|
|
41742
41742
|
const o = Xt(t), i = tw(r?.type === "grow" && r.growAxis === "size" ? r : null, n);
|
|
41743
41743
|
return q(() => {
|
|
@@ -42617,7 +42617,7 @@ var z7e = use((() => {
|
|
|
42617
42617
|
strokeWidth: e.textOutlineWidth * 2,
|
|
42618
42618
|
strokeLinejoin: "round",
|
|
42619
42619
|
paintOrder: "stroke"
|
|
42620
|
-
} : {}, FR = (e) => e.textShadow === void 0 ? {} : { textShadow:
|
|
42620
|
+
} : {}, FR = (e) => e.textShadow === void 0 ? {} : { textShadow: b4e(e.textShadow) }, iw = (e) => {
|
|
42621
42621
|
const t = e.textShadow === void 0 ? void 0 : cu(e.textShadow);
|
|
42622
42622
|
return t === void 0 ? {} : { filter: t };
|
|
42623
42623
|
}, BR = (e) => cX(e) ? {
|
|
@@ -44809,7 +44809,7 @@ var YX = St(null), c$e = ({ panelRect: e, children: t }) => {
|
|
|
44809
44809
|
start: n(e.start),
|
|
44810
44810
|
end: n(e.end)
|
|
44811
44811
|
}) ?? t.stroke, u$e = (e) => {
|
|
44812
|
-
const { formattingLocale: t } = Xe(), n = bl(), { fonts: r } = uu(), o = jt((v) => Ht(v, "difference-arrow-endpoint-drag")), i =
|
|
44812
|
+
const { formattingLocale: t } = Xe(), n = bl(), { fonts: r } = uu(), o = jt((v) => Ht(v, "difference-arrow-endpoint-drag")), i = C4e(), s = We(), { differenceArrows: a, mainAxis: l, parsingLocale: c } = Te(xn((v) => ({
|
|
44813
44813
|
differenceArrows: v.annotations.differenceArrows,
|
|
44814
44814
|
mainAxis: ya(v.coordSystem),
|
|
44815
44815
|
parsingLocale: v.config.parsingLocale
|
|
@@ -46635,7 +46635,7 @@ var jGe = (e, t, n, r) => t !== "comment" ? n : w2(n, 140, (o) => e.measureText(
|
|
|
46635
46635
|
const { pinnedNumbers: t, comments: n } = Te(xn((p) => ({
|
|
46636
46636
|
pinnedNumbers: p.annotations.pinnedNumbers,
|
|
46637
46637
|
comments: p.annotations.comments
|
|
46638
|
-
}))), r = Te((p) => p.coordSystem), o = _o(), i =
|
|
46638
|
+
}))), r = Te((p) => p.coordSystem), o = _o(), i = k4e(10), s = We(), a = UGe(e), { store: l } = ni(), c = q(() => {
|
|
46639
46639
|
const p = /* @__PURE__ */ new Map();
|
|
46640
46640
|
for (const g of t) p.set(g.id, g.at);
|
|
46641
46641
|
for (const g of n) p.set(g.id, g.at);
|
|
@@ -48318,7 +48318,7 @@ var SUe = [], TUe = ({ graphChrome: e, editable: t, mode: n, style: r, contentRe
|
|
|
48318
48318
|
}, AUe = (e, t) => e ? { backgroundColor: "transparent" } : t === void 0 || t >= 1 ? {} : { backgroundColor: `color-mix(in srgb, ${re.graphBackground} ${t * 100}%, transparent)` }, Q1t = (e) => /* @__PURE__ */ m(vR, {
|
|
48319
48319
|
...gR(Ng()),
|
|
48320
48320
|
children: /* @__PURE__ */ m(HJ, { ...e })
|
|
48321
|
-
}), HJ = ({ slots: e, sizing: t = gUe, onResize: n, ...r }) => /* @__PURE__ */ m(
|
|
48321
|
+
}), HJ = ({ slots: e, sizing: t = gUe, onResize: n, ...r }) => /* @__PURE__ */ m(CBe, { children: /* @__PURE__ */ m(l7e, { children: /* @__PURE__ */ m(S7e, {
|
|
48322
48322
|
slots: e,
|
|
48323
48323
|
children: /* @__PURE__ */ m(pUe, {
|
|
48324
48324
|
sizing: t,
|
|
@@ -50913,7 +50913,7 @@ var DYe = class {
|
|
|
50913
50913
|
deref() {
|
|
50914
50914
|
return this.value;
|
|
50915
50915
|
}
|
|
50916
|
-
}, NYe = typeof WeakRef < "u" ? WeakRef : DYe, FYe = 0,
|
|
50916
|
+
}, NYe = typeof WeakRef < "u" ? WeakRef : DYe, FYe = 0, eB = 1;
|
|
50917
50917
|
function Vv() {
|
|
50918
50918
|
return {
|
|
50919
50919
|
s: FYe,
|
|
@@ -50945,12 +50945,12 @@ function $Q(e, t = {}) {
|
|
|
50945
50945
|
}
|
|
50946
50946
|
const c = a;
|
|
50947
50947
|
let u;
|
|
50948
|
-
if (a.s ===
|
|
50948
|
+
if (a.s === eB) u = a.v;
|
|
50949
50949
|
else if (u = e.apply(null, arguments), i++, r) {
|
|
50950
50950
|
const d = o?.deref?.() ?? o;
|
|
50951
50951
|
d != null && r(d, u) && (u = d, i !== 0 && i--), o = typeof u == "object" && u !== null || typeof u == "function" ? new NYe(u) : u;
|
|
50952
50952
|
}
|
|
50953
|
-
return c.s =
|
|
50953
|
+
return c.s = eB, c.v = u, u;
|
|
50954
50954
|
}
|
|
50955
50955
|
return s.clearCache = () => {
|
|
50956
50956
|
n = Vv(), s.resetResultsCount();
|
|
@@ -52104,11 +52104,11 @@ function $v(e, t, n) {
|
|
|
52104
52104
|
for (let s = 0; s < t.length; s += 1) {
|
|
52105
52105
|
let a;
|
|
52106
52106
|
const l = t[s]?.[n];
|
|
52107
|
-
typeof l == "function" ? a = e ? l(e) : null : a = l, a &&
|
|
52107
|
+
typeof l == "function" ? a = e ? l(e) : null : a = l, a && tB(i, a, o, r);
|
|
52108
52108
|
}
|
|
52109
|
-
return
|
|
52109
|
+
return tB(i, e, o, r), i;
|
|
52110
52110
|
}
|
|
52111
|
-
function
|
|
52111
|
+
function tB(e, t, n, r) {
|
|
52112
52112
|
for (const o in t) {
|
|
52113
52113
|
const i = t[o];
|
|
52114
52114
|
n && (o === "active" || o === "selected") || (o.startsWith("on") ? (r.has(o) || r.set(o, []), typeof i == "function" && (r.get(o)?.push(i), e[o] = (...s) => r.get(o)?.map((a) => a(...s)).find((a) => a !== void 0))) : e[o] = i);
|
|
@@ -52524,7 +52524,7 @@ function eZ(e, t) {
|
|
|
52524
52524
|
A
|
|
52525
52525
|
]);
|
|
52526
52526
|
}
|
|
52527
|
-
var
|
|
52527
|
+
var nB = 0.1, hKe = nB * nB, Wt = 0.5;
|
|
52528
52528
|
function Gv(e, t, n, r, o, i) {
|
|
52529
52529
|
return r >= t != i >= t && e <= (o - n) * (t - r) / (i - r) + n;
|
|
52530
52530
|
}
|
|
@@ -52755,7 +52755,7 @@ function HI(e) {
|
|
|
52755
52755
|
i
|
|
52756
52756
|
]);
|
|
52757
52757
|
}
|
|
52758
|
-
function
|
|
52758
|
+
function rB({ props: e }) {
|
|
52759
52759
|
const { children: t, open: n, defaultOpen: r = !1, onOpenChange: o, onOpenChangeComplete: i, modal: s = !1, handle: a, triggerId: l, defaultTriggerId: c = null } = e, u = gKe.useStore(a?.store, {
|
|
52760
52760
|
modal: s,
|
|
52761
52761
|
open: r,
|
|
@@ -52817,7 +52817,7 @@ function r4({ props: e }) {
|
|
|
52817
52817
|
});
|
|
52818
52818
|
}
|
|
52819
52819
|
function kw(e) {
|
|
52820
|
-
return Nh(!0) ? /* @__PURE__ */ m(
|
|
52820
|
+
return Nh(!0) ? /* @__PURE__ */ m(rB, { props: e }) : /* @__PURE__ */ m(HQ, { children: /* @__PURE__ */ m(rB, { props: e }) });
|
|
52821
52821
|
}
|
|
52822
52822
|
var rZ = /* @__PURE__ */ C.createContext(void 0);
|
|
52823
52823
|
function $I(e = !1) {
|
|
@@ -53075,7 +53075,7 @@ var EKe = (e) => ({
|
|
|
53075
53075
|
name: "hide",
|
|
53076
53076
|
async fn(e) {
|
|
53077
53077
|
const { width: t, height: n, x: r, y: o } = e.rects.reference, i = t === 0 && n === 0 && r === 0 && o === 0;
|
|
53078
|
-
return { data: { referenceHidden: (await
|
|
53078
|
+
return { data: { referenceHidden: (await y4e().fn(e)).data?.referenceHidden || i } };
|
|
53079
53079
|
}
|
|
53080
53080
|
}, e0 = {
|
|
53081
53081
|
sideX: "left",
|
|
@@ -53128,7 +53128,7 @@ function aZ(e, t, n) {
|
|
|
53128
53128
|
left: r ? n ? "inline-end" : "inline-start" : "left"
|
|
53129
53129
|
}[t];
|
|
53130
53130
|
}
|
|
53131
|
-
function
|
|
53131
|
+
function oB(e, t, n) {
|
|
53132
53132
|
const { rects: r, placement: o } = e;
|
|
53133
53133
|
return {
|
|
53134
53134
|
side: aZ(t, ro(o), n),
|
|
@@ -53171,7 +53171,7 @@ function Mw(e) {
|
|
|
53171
53171
|
boundary: a === "clipping-ancestors" ? "clippingAncestors" : a,
|
|
53172
53172
|
padding: O
|
|
53173
53173
|
}, U = C.useRef(null), J = Cn(o), j = Cn(s), Q = [vm((ze) => {
|
|
53174
|
-
const ht =
|
|
53174
|
+
const ht = oB(ze, r, L), wt = typeof J.current == "function" ? J.current(ht) : J.current, Pt = typeof j.current == "function" ? j.current(ht) : j.current;
|
|
53175
53175
|
return {
|
|
53176
53176
|
mainAxis: wt,
|
|
53177
53177
|
crossAxis: Pt,
|
|
@@ -53205,7 +53205,7 @@ function Mw(e) {
|
|
|
53205
53205
|
} : void 0,
|
|
53206
53206
|
mainAxis: w !== "none",
|
|
53207
53207
|
crossAxis: W,
|
|
53208
|
-
limiter: c || v ? void 0 :
|
|
53208
|
+
limiter: c || v ? void 0 : g4e((wt) => {
|
|
53209
53209
|
if (!U.current) return {};
|
|
53210
53210
|
const { width: Pt, height: Ze } = U.current.getBoundingClientRect(), Tt = Yo(ro(wt.placement)), qe = Tt === "y" ? Pt : Ze, we = Tt === "y" ? O.left + O.right : O.top + O.bottom;
|
|
53211
53211
|
return { offset: qe / 2 + we / 2 };
|
|
@@ -53218,7 +53218,7 @@ function Mw(e) {
|
|
|
53218
53218
|
O,
|
|
53219
53219
|
w
|
|
53220
53220
|
]);
|
|
53221
|
-
M === "shift" || w === "shift" || i === "center" ? Q.push(Z, Y) : Q.push(Y, Z), Q.push(
|
|
53221
|
+
M === "shift" || w === "shift" || i === "center" ? Q.push(Z, Y) : Q.push(Y, Z), Q.push(v4e({
|
|
53222
53222
|
...ae,
|
|
53223
53223
|
apply({ elements: { floating: ze }, availableWidth: ht, availableHeight: wt, rects: Pt }) {
|
|
53224
53224
|
const Ze = ze.style;
|
|
@@ -53233,7 +53233,7 @@ function Mw(e) {
|
|
|
53233
53233
|
}), [u]), {
|
|
53234
53234
|
name: "transformOrigin",
|
|
53235
53235
|
fn(ze) {
|
|
53236
|
-
const { elements: ht, middlewareData: wt, placement: Pt, rects: Ze, y: Tt } = ze, qe = ro(Pt), we = Yo(qe), je = U.current, et = wt.arrow?.x || 0, gt = wt.arrow?.y || 0, sn = je?.clientWidth || 0, tt = je?.clientHeight || 0, ct = et + sn / 2, Sn = gt + tt / 2, No = Math.abs(wt.shift?.y || 0), go = Ze.reference.height / 2, Kn = typeof o == "function" ? o(
|
|
53236
|
+
const { elements: ht, middlewareData: wt, placement: Pt, rects: Ze, y: Tt } = ze, qe = ro(Pt), we = Yo(qe), je = U.current, et = wt.arrow?.x || 0, gt = wt.arrow?.y || 0, sn = je?.clientWidth || 0, tt = je?.clientHeight || 0, ct = et + sn / 2, Sn = gt + tt / 2, No = Math.abs(wt.shift?.y || 0), go = Ze.reference.height / 2, Kn = typeof o == "function" ? o(oB(ze, r, L)) : o, bu = No > Kn, Yh = {
|
|
53237
53237
|
top: `${ct}px calc(100% + ${Kn}px)`,
|
|
53238
53238
|
bottom: `${ct}px ${-Kn}px`,
|
|
53239
53239
|
left: `calc(100% + ${Kn}px) ${Sn}px`,
|
|
@@ -53281,7 +53281,7 @@ function Mw(e) {
|
|
|
53281
53281
|
]), Ue = C.useRef(null);
|
|
53282
53282
|
ve(() => {
|
|
53283
53283
|
if (!p) return;
|
|
53284
|
-
const ze = E.current, ht = typeof ze == "function" ? ze() : ze, wt = (
|
|
53284
|
+
const ze = E.current, ht = typeof ze == "function" ? ze() : ze, wt = (iB(ht) ? ht.current : ht) || null;
|
|
53285
53285
|
wt !== Ue.current && ($.setPositionReference(wt), Ue.current = wt);
|
|
53286
53286
|
}, [
|
|
53287
53287
|
p,
|
|
@@ -53291,7 +53291,7 @@ function Mw(e) {
|
|
|
53291
53291
|
]), C.useEffect(() => {
|
|
53292
53292
|
if (!p) return;
|
|
53293
53293
|
const ze = E.current;
|
|
53294
|
-
typeof ze != "function" &&
|
|
53294
|
+
typeof ze != "function" && iB(ze) && ze.current !== Ue.current && ($.setPositionReference(ze.current), Ue.current = ze.current);
|
|
53295
53295
|
}, [
|
|
53296
53296
|
p,
|
|
53297
53297
|
$,
|
|
@@ -53348,7 +53348,7 @@ function Mw(e) {
|
|
|
53348
53348
|
oe
|
|
53349
53349
|
]);
|
|
53350
53350
|
}
|
|
53351
|
-
function
|
|
53351
|
+
function iB(e) {
|
|
53352
53352
|
return e != null && "current" in e;
|
|
53353
53353
|
}
|
|
53354
53354
|
var jI = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
@@ -53500,19 +53500,19 @@ var _Ke = "Meta", DKe = /* @__PURE__ */ new Set([
|
|
|
53500
53500
|
function NKe(e) {
|
|
53501
53501
|
return xr(e) && e.tagName === "INPUT";
|
|
53502
53502
|
}
|
|
53503
|
-
function
|
|
53503
|
+
function sB(e) {
|
|
53504
53504
|
return !!(NKe(e) && e.selectionStart != null || xr(e) && e.tagName === "TEXTAREA");
|
|
53505
53505
|
}
|
|
53506
|
-
function
|
|
53506
|
+
function aB(e, t, n, r) {
|
|
53507
53507
|
if (!e || !t || !t.scrollTo) return;
|
|
53508
53508
|
let o = e.scrollLeft, i = e.scrollTop;
|
|
53509
53509
|
const s = e.clientWidth < e.scrollWidth, a = e.clientHeight < e.scrollHeight;
|
|
53510
53510
|
if (s && r !== "vertical") {
|
|
53511
|
-
const l =
|
|
53511
|
+
const l = lB(e, t, "left"), c = jv(e), u = jv(t);
|
|
53512
53512
|
n === "ltr" && (l + t.offsetWidth + u.scrollMarginRight > e.scrollLeft + e.clientWidth - c.scrollPaddingRight ? o = l + t.offsetWidth + u.scrollMarginRight - e.clientWidth + c.scrollPaddingRight : l - u.scrollMarginLeft < e.scrollLeft + c.scrollPaddingLeft && (o = l - u.scrollMarginLeft - c.scrollPaddingLeft)), n === "rtl" && (l - u.scrollMarginRight < e.scrollLeft + c.scrollPaddingLeft ? o = l - u.scrollMarginLeft - c.scrollPaddingLeft : l + t.offsetWidth + u.scrollMarginRight > e.scrollLeft + e.clientWidth - c.scrollPaddingRight && (o = l + t.offsetWidth + u.scrollMarginRight - e.clientWidth + c.scrollPaddingRight));
|
|
53513
53513
|
}
|
|
53514
53514
|
if (a && r !== "horizontal") {
|
|
53515
|
-
const l =
|
|
53515
|
+
const l = lB(e, t, "top"), c = jv(e), u = jv(t);
|
|
53516
53516
|
l - u.scrollMarginTop < e.scrollTop + c.scrollPaddingTop ? i = l - u.scrollMarginTop - c.scrollPaddingTop : l + t.offsetHeight + u.scrollMarginBottom > e.scrollTop + e.clientHeight - c.scrollPaddingBottom && (i = l + t.offsetHeight + u.scrollMarginBottom - e.clientHeight + c.scrollPaddingBottom);
|
|
53517
53517
|
}
|
|
53518
53518
|
e.scrollTo({
|
|
@@ -53521,7 +53521,7 @@ function a4(e, t, n, r) {
|
|
|
53521
53521
|
behavior: "auto"
|
|
53522
53522
|
});
|
|
53523
53523
|
}
|
|
53524
|
-
function
|
|
53524
|
+
function lB(e, t, n) {
|
|
53525
53525
|
const r = n === "left" ? "offsetLeft" : "offsetTop";
|
|
53526
53526
|
let o = 0;
|
|
53527
53527
|
for (; t.offsetParent && (o += t[r], t.offsetParent !== e); )
|
|
@@ -53671,7 +53671,7 @@ var Mm = function(e, t, n) {
|
|
|
53671
53671
|
return "touches" in e;
|
|
53672
53672
|
}, Nk = function(e) {
|
|
53673
53673
|
return e && e.ownerDocument.defaultView || self;
|
|
53674
|
-
},
|
|
53674
|
+
}, cB = function(e, t, n) {
|
|
53675
53675
|
var r = e.getBoundingClientRect(), o = fp(t) ? (function(i, s) {
|
|
53676
53676
|
for (var a = 0; a < i.length; a++) if (i[a].identifier === s) return i[a];
|
|
53677
53677
|
return i[0];
|
|
@@ -53680,7 +53680,7 @@ var Mm = function(e, t, n) {
|
|
|
53680
53680
|
left: Mm((o.pageX - (r.left + Nk(e).pageXOffset)) / r.width),
|
|
53681
53681
|
top: Mm((o.pageY - (r.top + Nk(e).pageYOffset)) / r.height)
|
|
53682
53682
|
};
|
|
53683
|
-
},
|
|
53683
|
+
}, uB = function(e) {
|
|
53684
53684
|
!fp(e) && e.preventDefault();
|
|
53685
53685
|
}, fZ = Vt.memo(function(e) {
|
|
53686
53686
|
var t = e.onMove, n = e.onKey, r = e.onEnd, o = Lw(e, [
|
|
@@ -53689,7 +53689,7 @@ var Mm = function(e, t, n) {
|
|
|
53689
53689
|
"onEnd"
|
|
53690
53690
|
]), i = Ie(null), s = vc(t), a = vc(n), l = vc(r), c = Ie(null), u = Ie(!1), d = q(function() {
|
|
53691
53691
|
var v = function(x) {
|
|
53692
|
-
|
|
53692
|
+
uB(x), (fp(x) ? x.touches.length > 0 : x.buttons > 0) && i.current ? s(cB(i.current, x, c.current)) : (b(!1), l());
|
|
53693
53693
|
}, y = function() {
|
|
53694
53694
|
b(!1), l();
|
|
53695
53695
|
};
|
|
@@ -53700,7 +53700,7 @@ var Mm = function(e, t, n) {
|
|
|
53700
53700
|
return [
|
|
53701
53701
|
function(x) {
|
|
53702
53702
|
var S = x.nativeEvent, A = i.current;
|
|
53703
|
-
if (A && (
|
|
53703
|
+
if (A && (uB(S), !(function(M, w) {
|
|
53704
53704
|
return w && !fp(M);
|
|
53705
53705
|
})(S, u.current) && A)) {
|
|
53706
53706
|
if (fp(S)) {
|
|
@@ -53708,7 +53708,7 @@ var Mm = function(e, t, n) {
|
|
|
53708
53708
|
var T = S.changedTouches || [];
|
|
53709
53709
|
T.length && (c.current = T[0].identifier);
|
|
53710
53710
|
}
|
|
53711
|
-
A.focus(), s(
|
|
53711
|
+
A.focus(), s(cB(A, S, c.current)), b(!0);
|
|
53712
53712
|
}
|
|
53713
53713
|
},
|
|
53714
53714
|
function(x) {
|
|
@@ -53935,12 +53935,12 @@ function JKe(e, t, n, r) {
|
|
|
53935
53935
|
}
|
|
53936
53936
|
var QKe, ZKe = typeof window < "u" ? So : Ae, eqe = function() {
|
|
53937
53937
|
return QKe || (typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : void 0);
|
|
53938
|
-
},
|
|
53938
|
+
}, dB = /* @__PURE__ */ new Map(), tqe = function(e) {
|
|
53939
53939
|
ZKe(function() {
|
|
53940
53940
|
var t = e.current ? e.current.ownerDocument : document;
|
|
53941
|
-
if (t !== void 0 && !
|
|
53941
|
+
if (t !== void 0 && !dB.has(t)) {
|
|
53942
53942
|
var n = t.createElement("style");
|
|
53943
|
-
n.innerHTML = `.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,
|
|
53943
|
+
n.innerHTML = `.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`, dB.set(t, n);
|
|
53944
53944
|
var r = eqe();
|
|
53945
53945
|
r && n.setAttribute("nonce", r), t.head.appendChild(n);
|
|
53946
53946
|
}
|
|
@@ -54017,7 +54017,7 @@ var QKe, ZKe = typeof window < "u" ? So : Ae, eqe = function() {
|
|
|
54017
54017
|
onChange: g,
|
|
54018
54018
|
onBlur: v
|
|
54019
54019
|
}));
|
|
54020
|
-
},
|
|
54020
|
+
}, hB = function(e) {
|
|
54021
54021
|
return "#" + e;
|
|
54022
54022
|
}, aqe = function(e) {
|
|
54023
54023
|
var t = e.prefixed, n = e.alpha, r = Lw(e, ["prefixed", "alpha"]), o = Ke(function(s) {
|
|
@@ -54030,8 +54030,8 @@ var QKe, ZKe = typeof window < "u" ? So : Ae, eqe = function() {
|
|
|
54030
54030
|
}, [n]);
|
|
54031
54031
|
return Vt.createElement(sqe, Hh({}, r, {
|
|
54032
54032
|
escape: o,
|
|
54033
|
-
format: t ?
|
|
54034
|
-
process:
|
|
54033
|
+
format: t ? hB : void 0,
|
|
54034
|
+
process: hB,
|
|
54035
54035
|
validate: i
|
|
54036
54036
|
}));
|
|
54037
54037
|
}, Cs = "base-ui-portal_basePortal__1u17r8l0", lqe = "data-graphy-chart-chrome", cqe = "data-graphy-chart-menu", uqe = { [cqe]: "" }, Ow = (e) => ({ [lqe]: e }), t0 = (e, t) => e instanceof Element && e.closest(`[data-graphy-chart-chrome="${CSS.escape(t)}"]`) !== null, gZ = (e) => e instanceof Element && e.closest("[data-graphy-chart-menu]") !== null, Vk = (e) => e instanceof Element && e.closest("[data-graphy-chart-chrome]") !== null, vZ = (e, t, n) => n !== null && H2({
|
|
@@ -54139,10 +54139,10 @@ function ms({ controlled: e, default: t, name: n, state: r = "value" }) {
|
|
|
54139
54139
|
o || s(a);
|
|
54140
54140
|
}, [])];
|
|
54141
54141
|
}
|
|
54142
|
-
var
|
|
54142
|
+
var fB = 0, Aqe = class bZ extends Ci {
|
|
54143
54143
|
constructor(...t) {
|
|
54144
54144
|
super(...t), he(this, "clear", () => {
|
|
54145
|
-
this.currentId !==
|
|
54145
|
+
this.currentId !== fB && (clearInterval(this.currentId), this.currentId = fB);
|
|
54146
54146
|
});
|
|
54147
54147
|
}
|
|
54148
54148
|
static create() {
|
|
@@ -54164,7 +54164,7 @@ function kqe() {
|
|
|
54164
54164
|
if (e === void 0) throw new Error(_t(43));
|
|
54165
54165
|
return e;
|
|
54166
54166
|
}
|
|
54167
|
-
var
|
|
54167
|
+
var pB = /* @__PURE__ */ (function(e) {
|
|
54168
54168
|
return e.disabled = "data-disabled", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
|
|
54169
54169
|
})({}), Eqe = {
|
|
54170
54170
|
badInput: !1,
|
|
@@ -54188,7 +54188,7 @@ var p4 = /* @__PURE__ */ (function(e) {
|
|
|
54188
54188
|
disabled: !1,
|
|
54189
54189
|
...If
|
|
54190
54190
|
}, Pl = { valid(e) {
|
|
54191
|
-
return e === null ? null : e ? { [
|
|
54191
|
+
return e === null ? null : e ? { [pB.valid]: "" } : { [pB.invalid]: "" };
|
|
54192
54192
|
} }, Pqe = /* @__PURE__ */ C.createContext({
|
|
54193
54193
|
invalid: void 0,
|
|
54194
54194
|
name: void 0,
|
|
@@ -54277,15 +54277,15 @@ var wZ = {
|
|
|
54277
54277
|
inputValue: () => null,
|
|
54278
54278
|
value: () => null,
|
|
54279
54279
|
...Pl
|
|
54280
|
-
},
|
|
54280
|
+
}, mB = /* @__PURE__ */ new Map();
|
|
54281
54281
|
function Pm(e, t) {
|
|
54282
54282
|
const n = JSON.stringify({
|
|
54283
54283
|
locale: e,
|
|
54284
54284
|
options: t
|
|
54285
|
-
}), r =
|
|
54285
|
+
}), r = mB.get(n);
|
|
54286
54286
|
if (r) return r;
|
|
54287
54287
|
const o = new Intl.NumberFormat(e, t);
|
|
54288
|
-
return
|
|
54288
|
+
return mB.set(n, o), o;
|
|
54289
54289
|
}
|
|
54290
54290
|
function ls(e, t, n) {
|
|
54291
54291
|
return e == null ? "" : Pm(t, n).format(e);
|
|
@@ -54366,14 +54366,14 @@ var Iqe = [
|
|
|
54366
54366
|
"—",
|
|
54367
54367
|
"﹣"
|
|
54368
54368
|
], MZ = ["+", "﹢"];
|
|
54369
|
-
var Oqe = new RegExp(`[${TZ.join("")}]`, "g"), _qe = new RegExp(`[${AZ.join("")}]`, "g"), Dqe = new RegExp(`[${qI.join("")}]`, "g"), Nqe = new RegExp(`[${Iqe.join("")}]`, "g"), Fqe = new RegExp(`[${CZ.join("")}]`), Bqe = new RegExp(`[${kZ.join("")}]`), Hk = /[٠١٢٣٤٥٦٧٨٩]/, PZ = /[۰۱۲۳۴۵۶۷۸۹]/, $k = /[零〇一二三四五六七八九]/,
|
|
54369
|
+
var Oqe = new RegExp(`[${TZ.join("")}]`, "g"), _qe = new RegExp(`[${AZ.join("")}]`, "g"), Dqe = new RegExp(`[${qI.join("")}]`, "g"), Nqe = new RegExp(`[${Iqe.join("")}]`, "g"), Fqe = new RegExp(`[${CZ.join("")}]`), Bqe = new RegExp(`[${kZ.join("")}]`), Hk = /[٠١٢٣٤٥٦٧٨٩]/, PZ = /[۰۱۲۳۴۵۶۷۸۹]/, $k = /[零〇一二三四五六七八九]/, gB = new RegExp(`[${qI.join("")}]`), Vqe = [
|
|
54370
54370
|
".",
|
|
54371
54371
|
",",
|
|
54372
54372
|
".",
|
|
54373
54373
|
",",
|
|
54374
54374
|
"٫",
|
|
54375
54375
|
"٬"
|
|
54376
|
-
],
|
|
54376
|
+
], vB = /\p{Zs}/u, Hqe = ["+", ...MZ], $qe = ["-", ...EZ], Kv = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), zqe = (e) => e.replace(/[-\\\]^]/g, (t) => `\\${t}`), RZ = (e) => `[${e.map(zqe).join("")}]`, IZ = RZ(["-"].concat(EZ)), LZ = RZ(["+"].concat(MZ)), OZ = new RegExp(IZ, "gu"), _Z = new RegExp(LZ, "gu"), df = new RegExp(IZ), qv = new RegExp(LZ);
|
|
54377
54377
|
function XI(e, t) {
|
|
54378
54378
|
const n = Pm(e, t).formatToParts(11111.1), r = {};
|
|
54379
54379
|
return n.forEach((o) => {
|
|
@@ -54502,11 +54502,11 @@ var Kqe = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
54502
54502
|
const se = XYe(), te = Cn(S), de = C.useRef(!1), oe = ge((qe, we) => {
|
|
54503
54503
|
de.current = !1, v?.(qe, we);
|
|
54504
54504
|
}), le = kn(), ie = Cqe(), X = kn(), ue = C.useRef(!1), ce = C.useRef(0), Ee = C.useRef(!0), Pe = C.useRef(null), $e = C.useRef(() => {
|
|
54505
|
-
}), [Ue, Qe] = C.useState(() => p !== void 0 ?
|
|
54505
|
+
}), [Ue, Qe] = C.useState(() => p !== void 0 ? yB($, A, S) : ls($, A, S)), [Ce, nt] = C.useState("numeric"), mt = ge(() => {
|
|
54506
54506
|
const { decimal: qe, group: we, currency: je, literal: et } = XI(A, S), gt = /* @__PURE__ */ new Set();
|
|
54507
|
-
Vqe.forEach((ct) => gt.add(ct)), qe && gt.add(qe), we && (gt.add(we),
|
|
54507
|
+
Vqe.forEach((ct) => gt.add(ct)), qe && gt.add(qe), we && (gt.add(we), vB.test(we) && gt.add(" "));
|
|
54508
54508
|
const sn = Q === "percent" || Q === "unit" && S?.unit === "percent", tt = Q === "percent" || Q === "unit" && S?.unit === "permille";
|
|
54509
|
-
return sn && CZ.forEach((ct) => gt.add(ct)), tt && kZ.forEach((ct) => gt.add(ct)), Q === "currency" && je && gt.add(je), et && (Array.from(et).forEach((ct) => gt.add(ct)),
|
|
54509
|
+
return sn && CZ.forEach((ct) => gt.add(ct)), tt && kZ.forEach((ct) => gt.add(ct)), Q === "currency" && je && gt.add(je), et && (Array.from(et).forEach((ct) => gt.add(ct)), vB.test(et) && gt.add(" ")), Hqe.forEach((ct) => gt.add(ct)), U < 0 && $qe.forEach((ct) => gt.add(ct)), gt;
|
|
54510
54510
|
}), Me = ge((qe) => qe?.altKey ? s : qe?.shiftKey ? l : G), ot = ge((qe, we) => {
|
|
54511
54511
|
const je = we.event, et = we.direction, gt = we.reason, sn = !x || !(gt === "input-change" || gt === "input-blur" || gt === "input-paste" || gt === "input-clear" || gt === "none"), tt = Yqe(qe, {
|
|
54512
54512
|
step: et ? Me(je) * et : void 0,
|
|
@@ -54561,7 +54561,7 @@ var Kqe = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
54561
54561
|
});
|
|
54562
54562
|
ve(function() {
|
|
54563
54563
|
if (!Ee.current) return;
|
|
54564
|
-
const we = p !== void 0 ?
|
|
54564
|
+
const we = p !== void 0 ? yB($, A, S) : ls($, A, S);
|
|
54565
54565
|
we !== Ue && Qe(we);
|
|
54566
54566
|
}), ve(function() {
|
|
54567
54567
|
if (!mI) return;
|
|
@@ -54706,7 +54706,7 @@ var Kqe = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
54706
54706
|
})]
|
|
54707
54707
|
});
|
|
54708
54708
|
});
|
|
54709
|
-
function
|
|
54709
|
+
function yB(e, t, n) {
|
|
54710
54710
|
return n?.maximumFractionDigits != null || n?.minimumFractionDigits != null ? ls(e, t, n) : SZ(e, t, n);
|
|
54711
54711
|
}
|
|
54712
54712
|
function qqe(e, t) {
|
|
@@ -54852,7 +54852,7 @@ var Jqe = {
|
|
|
54852
54852
|
}
|
|
54853
54853
|
const j = c();
|
|
54854
54854
|
if (!Array.from(J).every((ne) => {
|
|
54855
|
-
const W = ne >= "0" && ne <= "9", Y = Hk.test(ne), Z = $k.test(ne), z = PZ.test(ne), $ =
|
|
54855
|
+
const W = ne >= "0" && ne <= "9", Y = Hk.test(ne), Z = $k.test(ne), z = PZ.test(ne), $ = gB.test(ne), H = df.test(ne);
|
|
54856
54856
|
return W || Y || Z || z || $ || H || j.has(ne);
|
|
54857
54857
|
})) return;
|
|
54858
54858
|
const Q = Xv(J, M, l.current);
|
|
@@ -54883,7 +54883,7 @@ var Jqe = {
|
|
|
54883
54883
|
Q = !p.includes(ce) || $ || Pe;
|
|
54884
54884
|
}
|
|
54885
54885
|
});
|
|
54886
|
-
const se = U.key >= "0" && U.key <= "9", te = Hk.test(U.key), de = $k.test(U.key), oe =
|
|
54886
|
+
const se = U.key >= "0" && U.key <= "9", te = Hk.test(U.key), de = $k.test(U.key), oe = gB.test(U.key), le = Qqe.has(U.key);
|
|
54887
54887
|
if (U.which === 229 || U.altKey || U.ctrlKey || U.metaKey || Q || se || te || oe || de || le) return;
|
|
54888
54888
|
const ie = Xv(p, M, l.current), X = u(U) ?? 1;
|
|
54889
54889
|
Dr(U);
|
|
@@ -55001,11 +55001,11 @@ var rXe = ({ value: e, onChange: t, onCommit: n, min: r, max: o, step: i, placeh
|
|
|
55001
55001
|
]
|
|
55002
55002
|
})
|
|
55003
55003
|
});
|
|
55004
|
-
},
|
|
55004
|
+
}, bB = /* @__PURE__ */ (function(e) {
|
|
55005
55005
|
return e.checked = "data-checked", e.unchecked = "data-unchecked", e.disabled = "data-disabled", e.readonly = "data-readonly", e.required = "data-required", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
|
|
55006
|
-
})({}),
|
|
55006
|
+
})({}), xB = {
|
|
55007
55007
|
checked(e) {
|
|
55008
|
-
return e ? { [
|
|
55008
|
+
return e ? { [bB.checked]: "" } : { [bB.unchecked]: "" };
|
|
55009
55009
|
},
|
|
55010
55010
|
...fu,
|
|
55011
55011
|
...Pl
|
|
@@ -55248,7 +55248,7 @@ var hXe = /* @__PURE__ */ C.createContext(void 0), zZ = /* @__PURE__ */ C.forwar
|
|
|
55248
55248
|
state: te,
|
|
55249
55249
|
ref: le,
|
|
55250
55250
|
props: ie,
|
|
55251
|
-
stateAttributesMapping:
|
|
55251
|
+
stateAttributesMapping: xB
|
|
55252
55252
|
});
|
|
55253
55253
|
return /* @__PURE__ */ B(hXe.Provider, {
|
|
55254
55254
|
value: de,
|
|
@@ -55259,7 +55259,7 @@ var hXe = /* @__PURE__ */ C.createContext(void 0), zZ = /* @__PURE__ */ C.forwar
|
|
|
55259
55259
|
state: te,
|
|
55260
55260
|
refs: le,
|
|
55261
55261
|
props: ie,
|
|
55262
|
-
stateAttributesMapping:
|
|
55262
|
+
stateAttributesMapping: xB
|
|
55263
55263
|
}) : X, /* @__PURE__ */ m("input", { ...se })]
|
|
55264
55264
|
});
|
|
55265
55265
|
});
|
|
@@ -55348,18 +55348,18 @@ function vXe(e) {
|
|
|
55348
55348
|
const { itemSizes: t, cols: n = 1, loopFocus: r = !0, dense: o = !1, orientation: i = "both", direction: s, highlightedIndex: a, onHighlightedIndexChange: l, rootRef: c, enableHomeAndEndKeys: u = !1, stopEventPropagation: d = !1, disabledIndices: h, modifierKeys: f = gXe } = e, [p, g] = C.useState(0), v = n > 1, y = C.useRef(null), b = jr(y, c), x = C.useRef([]), S = C.useRef(!1), A = a ?? p, T = ge((P, D = !1) => {
|
|
55349
55349
|
if ((l ?? g)(P), D) {
|
|
55350
55350
|
const k = x.current[P];
|
|
55351
|
-
|
|
55351
|
+
aB(y.current, k, s, i);
|
|
55352
55352
|
}
|
|
55353
55353
|
}), M = ge((P) => {
|
|
55354
55354
|
if (P.size === 0 || S.current) return;
|
|
55355
55355
|
S.current = !0;
|
|
55356
55356
|
const D = Array.from(P.keys()), k = D.find((E) => E?.hasAttribute("data-composite-item-active")) ?? null, R = k ? D.indexOf(k) : -1;
|
|
55357
|
-
R !== -1 && T(R),
|
|
55357
|
+
R !== -1 && T(R), aB(y.current, k, s, i);
|
|
55358
55358
|
}), w = C.useMemo(() => ({
|
|
55359
55359
|
"aria-orientation": i === "both" ? void 0 : i,
|
|
55360
55360
|
ref: b,
|
|
55361
55361
|
onFocus(P) {
|
|
55362
|
-
!y.current || !
|
|
55362
|
+
!y.current || !sB(P.target) || P.target.setSelectionRange(0, P.target.value.length ?? 0);
|
|
55363
55363
|
},
|
|
55364
55364
|
onKeyDown(P) {
|
|
55365
55365
|
const D = u ? LKe : uZ;
|
|
@@ -55373,7 +55373,7 @@ function vXe(e) {
|
|
|
55373
55373
|
vertical: ss,
|
|
55374
55374
|
both: L
|
|
55375
55375
|
}[i];
|
|
55376
|
-
if (
|
|
55376
|
+
if (sB(P.target) && !zk(P.target)) {
|
|
55377
55377
|
const K = P.target.selectionStart, ae = P.target.selectionEnd, U = P.target.value ?? "";
|
|
55378
55378
|
if (K == null || P.shiftKey || K !== ae || P.key !== _ && K < U.length || P.key !== E && K > 0) return;
|
|
55379
55379
|
}
|
|
@@ -56532,7 +56532,7 @@ function cee(e) {
|
|
|
56532
56532
|
bottom: t.bottom + d / 2
|
|
56533
56533
|
};
|
|
56534
56534
|
}
|
|
56535
|
-
var Jv = 2, qXe = 400,
|
|
56535
|
+
var Jv = 2, qXe = 400, wB = 200, XXe = {
|
|
56536
56536
|
...Tb,
|
|
56537
56537
|
...Pl,
|
|
56538
56538
|
value: () => null
|
|
@@ -56547,8 +56547,8 @@ var Jv = 2, qXe = 400, w4 = 200, XXe = {
|
|
|
56547
56547
|
})), j = kn(), Q = kn(), ne = kn(), W = kn();
|
|
56548
56548
|
C.useEffect(() => {
|
|
56549
56549
|
if (P)
|
|
56550
|
-
return I || N ? W.start(
|
|
56551
|
-
y.current.allowUnselectedMouseUp = !0, ne.start(
|
|
56550
|
+
return I || N ? W.start(wB, () => {
|
|
56551
|
+
y.current.allowUnselectedMouseUp = !0, ne.start(wB, () => {
|
|
56552
56552
|
y.current.allowSelectedMouseUp = !0;
|
|
56553
56553
|
});
|
|
56554
56554
|
}) : ne.start(qXe, () => {
|
|
@@ -56772,7 +56772,7 @@ function dee(e) {
|
|
|
56772
56772
|
const t = e.currentTarget.getBoundingClientRect();
|
|
56773
56773
|
return t.top + 1 <= e.clientY && e.clientY <= t.bottom - 1 && t.left + 1 <= e.clientX && e.clientX <= t.right - 1;
|
|
56774
56774
|
}
|
|
56775
|
-
var Qv = "base-ui-disable-scrollbar",
|
|
56775
|
+
var Qv = "base-ui-disable-scrollbar", SB = {
|
|
56776
56776
|
className: Qv,
|
|
56777
56777
|
getElement(e) {
|
|
56778
56778
|
return /* @__PURE__ */ m("style", {
|
|
@@ -56796,7 +56796,7 @@ var Ps = 1, cJe = {
|
|
|
56796
56796
|
g();
|
|
56797
56797
|
return;
|
|
56798
56798
|
}
|
|
56799
|
-
const z = F.style.top === "0px", $ = F.style.bottom === "0px", H = F.getBoundingClientRect().height, se = vt(F), te = getComputedStyle(F), de = parseFloat(te.marginTop), oe = parseFloat(te.marginBottom), le =
|
|
56799
|
+
const z = F.style.top === "0px", $ = F.style.bottom === "0px", H = F.getBoundingClientRect().height, se = vt(F), te = getComputedStyle(F), de = parseFloat(te.marginTop), oe = parseFloat(te.marginBottom), le = TB(getComputedStyle(l.current)), ie = Math.min(se.documentElement.clientHeight - de - oe, le), X = Z.scrollTop, ue = Zv(Z);
|
|
56800
56800
|
let ce = 0, Ee = null, Pe = !1, $e = !1;
|
|
56801
56801
|
const Ue = (Ce) => {
|
|
56802
56802
|
F.style.height = `${Ce}px`;
|
|
@@ -56868,7 +56868,7 @@ var Ps = 1, cJe = {
|
|
|
56868
56868
|
const z = hJe(Z);
|
|
56869
56869
|
Z.style.removeProperty("--transform-origin");
|
|
56870
56870
|
try {
|
|
56871
|
-
const $ = getComputedStyle(F), H = getComputedStyle(Z), se = vt(N), te = Ur(F), de = dJe(N), oe = ey(N.getBoundingClientRect(), de), le = ey(F.getBoundingClientRect(), de), ie = oe.left, X = oe.height, ue = V || Z, ce = ue.scrollHeight, Ee = parseFloat(H.borderBottomWidth), Pe = parseFloat($.marginTop) || 10, $e = parseFloat($.marginBottom) || 10, Ue = parseFloat($.minHeight) || 100, Qe =
|
|
56871
|
+
const $ = getComputedStyle(F), H = getComputedStyle(Z), se = vt(N), te = Ur(F), de = dJe(N), oe = ey(N.getBoundingClientRect(), de), le = ey(F.getBoundingClientRect(), de), ie = oe.left, X = oe.height, ue = V || Z, ce = ue.scrollHeight, Ee = parseFloat(H.borderBottomWidth), Pe = parseFloat($.marginTop) || 10, $e = parseFloat($.marginBottom) || 10, Ue = parseFloat($.minHeight) || 100, Qe = TB(H), Ce = 5, nt = 5, mt = 20, Me = se.documentElement.clientHeight - Pe - $e, ot = se.documentElement.clientWidth, ze = Me - oe.bottom + X, ht = h.current, wt = d.current;
|
|
56872
56872
|
let Pt, Ze = 0, Tt = 0;
|
|
56873
56873
|
if (ht && wt) {
|
|
56874
56874
|
const Kn = ey(wt.getBoundingClientRect(), de);
|
|
@@ -56968,11 +56968,11 @@ var Ps = 1, cJe = {
|
|
|
56968
56968
|
I,
|
|
56969
56969
|
W,
|
|
56970
56970
|
Ml(O),
|
|
56971
|
-
{ className: !V && S ?
|
|
56971
|
+
{ className: !V && S ? SB.className : void 0 },
|
|
56972
56972
|
s
|
|
56973
56973
|
]
|
|
56974
56974
|
});
|
|
56975
|
-
return /* @__PURE__ */ B(C.Fragment, { children: [!k &&
|
|
56975
|
+
return /* @__PURE__ */ B(C.Fragment, { children: [!k && SB.getElement(D), /* @__PURE__ */ m(kI, {
|
|
56976
56976
|
context: P,
|
|
56977
56977
|
modal: !1,
|
|
56978
56978
|
disabled: !_,
|
|
@@ -56981,7 +56981,7 @@ var Ps = 1, cJe = {
|
|
|
56981
56981
|
children: Y
|
|
56982
56982
|
})] });
|
|
56983
56983
|
});
|
|
56984
|
-
function
|
|
56984
|
+
function TB(e) {
|
|
56985
56985
|
const t = e.maxHeight || "";
|
|
56986
56986
|
return t.endsWith("px") && parseFloat(t) || 1 / 0;
|
|
56987
56987
|
}
|
|
@@ -56999,17 +56999,17 @@ function ey(e, t) {
|
|
|
56999
56999
|
height: e.height / t.y
|
|
57000
57000
|
});
|
|
57001
57001
|
}
|
|
57002
|
-
var
|
|
57002
|
+
var AB = [
|
|
57003
57003
|
["transform", "none"],
|
|
57004
57004
|
["scale", "1"],
|
|
57005
57005
|
["translate", "0 0"]
|
|
57006
57006
|
];
|
|
57007
57007
|
function hJe(e) {
|
|
57008
57008
|
const { style: t } = e, n = {};
|
|
57009
|
-
for (const [r, o] of
|
|
57009
|
+
for (const [r, o] of AB)
|
|
57010
57010
|
n[r] = t.getPropertyValue(r), t.setProperty(r, o, "important");
|
|
57011
57011
|
return () => {
|
|
57012
|
-
for (const [r] of
|
|
57012
|
+
for (const [r] of AB) {
|
|
57013
57013
|
const o = n[r];
|
|
57014
57014
|
o ? t.setProperty(r, o) : t.removeProperty(r);
|
|
57015
57015
|
}
|
|
@@ -57214,7 +57214,7 @@ var fJe = /* @__PURE__ */ C.memo(/* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
57214
57214
|
strokeLinejoin: "round",
|
|
57215
57215
|
children: /* @__PURE__ */ m("path", { d: "M20 6 9 17l-5-5" })
|
|
57216
57216
|
})
|
|
57217
|
-
}), vJe = "select_trigger__17k9te0 controls_field__1mwk9xt0", yJe = "select_fieldValue__17k9te1", bJe = "select_placeholder__17k9te2",
|
|
57217
|
+
}), vJe = "select_trigger__17k9te0 controls_field__1mwk9xt0", yJe = "select_fieldValue__17k9te1", bJe = "select_placeholder__17k9te2", CB = "select_fieldIcon__17k9te3", xJe = "select_positioner__17k9te4", wJe = "select_popup__17k9te5", SJe = "select_item__17k9te6", TJe = "select_itemText__17k9te7";
|
|
57218
57218
|
var AJe = ({ options: e, value: t, onChange: n, placeholder: r, disabled: o, hasError: i, ariaLabel: s, ariaLabelledBy: a, id: l }) => {
|
|
57219
57219
|
const c = Sa({
|
|
57220
57220
|
id: l,
|
|
@@ -57237,7 +57237,7 @@ var AJe = ({ options: e, value: t, onChange: n, placeholder: r, disabled: o, has
|
|
|
57237
57237
|
className: yJe,
|
|
57238
57238
|
children: (d) => CJe(e, d, r)
|
|
57239
57239
|
}), /* @__PURE__ */ m(eJe, {
|
|
57240
|
-
className:
|
|
57240
|
+
className: CB,
|
|
57241
57241
|
children: /* @__PURE__ */ m(Lh, { size: "sm" })
|
|
57242
57242
|
})]
|
|
57243
57243
|
}), /* @__PURE__ */ m(nJe, {
|
|
@@ -57263,7 +57263,7 @@ var AJe = ({ options: e, value: t, onChange: n, placeholder: r, disabled: o, has
|
|
|
57263
57263
|
})]
|
|
57264
57264
|
}),
|
|
57265
57265
|
/* @__PURE__ */ m(pJe, {
|
|
57266
|
-
className:
|
|
57266
|
+
className: CB,
|
|
57267
57267
|
children: /* @__PURE__ */ m(mee, { size: "sm" })
|
|
57268
57268
|
})
|
|
57269
57269
|
]
|
|
@@ -57511,7 +57511,7 @@ function See(e, t, n) {
|
|
|
57511
57511
|
const r = Math.round((e - n) / t) * t + n;
|
|
57512
57512
|
return Number(r.toFixed(IJe(t)));
|
|
57513
57513
|
}
|
|
57514
|
-
function
|
|
57514
|
+
function kB({ values: e, index: t, nextValue: n, min: r, max: o, step: i, minStepsBetweenValues: s, initialValues: a }) {
|
|
57515
57515
|
if (e.length === 0) return [];
|
|
57516
57516
|
const l = e.slice(), c = i * s, u = l.length - 1, d = a ?? e;
|
|
57517
57517
|
l[t] = Hr(n, r + t * c, o - (u - t) * c);
|
|
@@ -57553,7 +57553,7 @@ function LJe({ behavior: e, values: t, currentValues: n, initialValues: r, press
|
|
|
57553
57553
|
});
|
|
57554
57554
|
let D = i;
|
|
57555
57555
|
T ? D = Math.max(i, g[w]) : D = Math.min(i, g[w]);
|
|
57556
|
-
const k =
|
|
57556
|
+
const k = kB({
|
|
57557
57557
|
values: g,
|
|
57558
57558
|
index: w,
|
|
57559
57559
|
nextValue: D,
|
|
@@ -57580,7 +57580,7 @@ function LJe({ behavior: e, values: t, currentValues: n, initialValues: r, press
|
|
|
57580
57580
|
}
|
|
57581
57581
|
case "push":
|
|
57582
57582
|
return {
|
|
57583
|
-
value:
|
|
57583
|
+
value: kB({
|
|
57584
57584
|
values: u,
|
|
57585
57585
|
index: o,
|
|
57586
57586
|
nextValue: i,
|
|
@@ -58042,12 +58042,12 @@ function QJe() {
|
|
|
58042
58042
|
if (e === void 0) throw new Error(_t(63));
|
|
58043
58043
|
return e;
|
|
58044
58044
|
}
|
|
58045
|
-
var
|
|
58045
|
+
var EB = /* @__PURE__ */ (function(e) {
|
|
58046
58046
|
return e.checked = "data-checked", e.unchecked = "data-unchecked", e.disabled = "data-disabled", e.readonly = "data-readonly", e.required = "data-required", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
|
|
58047
58047
|
})({}), kee = {
|
|
58048
58048
|
...Pl,
|
|
58049
58049
|
checked(e) {
|
|
58050
|
-
return e ? { [
|
|
58050
|
+
return e ? { [EB.checked]: "" } : { [EB.unchecked]: "" };
|
|
58051
58051
|
}
|
|
58052
58052
|
}, ZJe = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
58053
58053
|
const { checked: r, className: o, defaultChecked: i, "aria-labelledby": s, id: a, inputRef: l, name: c, nativeButton: u = !1, onCheckedChange: d, readOnly: h = !1, required: f = !1, disabled: p = !1, render: g, uncheckedValue: v, value: y, ...b } = t, { clearErrors: x } = $h(), { state: S, setTouched: A, setDirty: T, validityData: M, setFilled: w, setFocused: P, shouldValidateOnChange: D, validationMode: k, disabled: R, name: E, validation: L } = si(), { labelId: _ } = Rl(), I = R || p, O = E ?? c, N = ge(d), F = C.useRef(null), V = jr(F, l, L.inputRef), G = C.useRef(null), K = pr(), ae = mu({
|
|
@@ -58358,22 +58358,22 @@ var Eee = ({ options: e, value: t, onChange: n, onCommit: r, itemLayout: o = "in
|
|
|
58358
58358
|
value: r,
|
|
58359
58359
|
children: t
|
|
58360
58360
|
});
|
|
58361
|
-
}, st = () => Ve(Uk),
|
|
58361
|
+
}, st = () => Ve(Uk), MB = {
|
|
58362
58362
|
stack: "row_row_stack__gcdkz0",
|
|
58363
58363
|
grid: "row_row_grid__gcdkz1"
|
|
58364
|
-
},
|
|
58364
|
+
}, PB = "row_control__gcdkz2", pQe = {
|
|
58365
58365
|
plain: "row_label_plain__gcdkz4 row_labelBase__gcdkz3",
|
|
58366
58366
|
withIcon: "row_label_withIcon__gcdkz5 row_labelBase__gcdkz3"
|
|
58367
58367
|
}, be = ({ label: e, layout: t = "grid", icon: n, children: r }) => {
|
|
58368
58368
|
const o = En(), i = En();
|
|
58369
58369
|
return e === void 0 ? /* @__PURE__ */ m(Gk, {
|
|
58370
|
-
className:
|
|
58370
|
+
className: MB[t],
|
|
58371
58371
|
children: /* @__PURE__ */ m("div", {
|
|
58372
|
-
className:
|
|
58372
|
+
className: PB,
|
|
58373
58373
|
children: r
|
|
58374
58374
|
})
|
|
58375
58375
|
}) : /* @__PURE__ */ B(Gk, {
|
|
58376
|
-
className:
|
|
58376
|
+
className: MB[t],
|
|
58377
58377
|
children: [/* @__PURE__ */ B("label", {
|
|
58378
58378
|
id: o,
|
|
58379
58379
|
htmlFor: i,
|
|
@@ -58383,7 +58383,7 @@ var Eee = ({ options: e, value: t, onChange: n, onCommit: r, itemLayout: o = "in
|
|
|
58383
58383
|
children: n
|
|
58384
58384
|
}), e]
|
|
58385
58385
|
}), /* @__PURE__ */ m("div", {
|
|
58386
|
-
className:
|
|
58386
|
+
className: PB,
|
|
58387
58387
|
children: /* @__PURE__ */ m(zJ, {
|
|
58388
58388
|
labelId: o,
|
|
58389
58389
|
controlId: i,
|
|
@@ -58653,13 +58653,13 @@ var xQe = {
|
|
|
58653
58653
|
strokeLinecap: "round",
|
|
58654
58654
|
strokeLinejoin: "round"
|
|
58655
58655
|
})
|
|
58656
|
-
}),
|
|
58656
|
+
}), RB = {
|
|
58657
58657
|
supportsDataLabels: !1,
|
|
58658
58658
|
supportsPercentages: !1,
|
|
58659
58659
|
supportsStackTotals: !1,
|
|
58660
58660
|
supportsCategoryLabels: !1
|
|
58661
58661
|
}, Oee = (e, t, n) => {
|
|
58662
|
-
if (!n.hasCapability(e.geom, t) || AQe(e)) return
|
|
58662
|
+
if (!n.hasCapability(e.geom, t) || AQe(e)) return RB;
|
|
58663
58663
|
const { showDataLabels: r } = e.dataLabels, o = e.geom === "bar", i = t === "polar";
|
|
58664
58664
|
return {
|
|
58665
58665
|
supportsDataLabels: !0,
|
|
@@ -59655,12 +59655,12 @@ var ZQe = "chart-type-rows_arrangements__1bay7nr1", eZe = [
|
|
|
59655
59655
|
}, [s]);
|
|
59656
59656
|
const c = Cx(e);
|
|
59657
59657
|
if (c === null) return null;
|
|
59658
|
-
const u = lZe(c), d = Pb(c), h = Eb(c), f = u ?? h, p = r(f === null ? "editor.overlayMenu.customChartType" : `editor.graphTypes.${f.name}`), g = (u === void 0 ? h :
|
|
59658
|
+
const u = lZe(c), d = Pb(c), h = Eb(c), f = u ?? h, p = r(f === null ? "editor.overlayMenu.customChartType" : `editor.graphTypes.${f.name}`), g = (u === void 0 ? h : LB(u, d))?.icon, v = u !== void 0 && u.arrangements.length > 1, y = v && (t || u.name === "combo"), b = () => a(!s), x = ({ summary: T }) => {
|
|
59659
59659
|
n.dispatch(new Ax(Fee(T, c)), { transient: !0 });
|
|
59660
59660
|
}, S = (T) => {
|
|
59661
|
-
const M =
|
|
59662
|
-
M !== void 0 && x(
|
|
59663
|
-
}, A =
|
|
59661
|
+
const M = IB.find((w) => w.name === T);
|
|
59662
|
+
M !== void 0 && x(LB(M, v ? d : null));
|
|
59663
|
+
}, A = IB.map(({ name: T, arrangements: [M] }) => ({
|
|
59664
59664
|
value: T,
|
|
59665
59665
|
label: r(`editor.graphTypes.${T}`),
|
|
59666
59666
|
icon: /* @__PURE__ */ m(M.icon, { size: "md" }),
|
|
@@ -59710,7 +59710,7 @@ var ZQe = "chart-type-rows_arrangements__1bay7nr1", eZe = [
|
|
|
59710
59710
|
name: e,
|
|
59711
59711
|
arrangements: [n, ...[...Rm, ...eZe].filter((r) => r !== n && Vee(n.summary, r.summary))]
|
|
59712
59712
|
}];
|
|
59713
|
-
}),
|
|
59713
|
+
}), IB = Hee.filter(({ name: e }) => e !== "combo"), sZe = ({ type: e, arrangement: t, onPick: n, onCommit: r }) => {
|
|
59714
59714
|
const o = Le(), { ToggleGroup: i } = st(), s = e.arrangements.map(({ summary: l, icon: c }) => {
|
|
59715
59715
|
const u = Pb(l);
|
|
59716
59716
|
return {
|
|
@@ -59734,7 +59734,7 @@ var ZQe = "chart-type-rows_arrangements__1bay7nr1", eZe = [
|
|
|
59734
59734
|
})
|
|
59735
59735
|
})
|
|
59736
59736
|
});
|
|
59737
|
-
}, aZe = (e) => e instanceof Element && e.closest('[role="radio"]:not([aria-disabled="true"])') !== null, Pb = (e) => cr(e) ? oZe[e.comboType] : rZe[e.position],
|
|
59737
|
+
}, aZe = (e) => e instanceof Element && e.closest('[role="radio"]:not([aria-disabled="true"])') !== null, Pb = (e) => cr(e) ? oZe[e.comboType] : rZe[e.position], LB = (e, t) => e.arrangements.find(({ summary: n }) => Pb(n) === t) ?? e.arrangements[0], lZe = (e) => Hee.find(({ arrangements: [t] }) => Vee(t.summary, e)), cZe = () => {
|
|
59738
59738
|
const e = Te((a) => a.scales.color), t = Do(), n = Le(), [r, o] = De(null);
|
|
59739
59739
|
Ae(() => () => t.commit(), [t]);
|
|
59740
59740
|
const i = Xz(e), s = Xke(e, r === null ? i : [r, ...i]);
|
|
@@ -59819,8 +59819,8 @@ var ZQe = "chart-type-rows_arrangements__1bay7nr1", eZe = [
|
|
|
59819
59819
|
r: uZe[e],
|
|
59820
59820
|
fill: "currentColor"
|
|
59821
59821
|
})
|
|
59822
|
-
}), DT = 18,
|
|
59823
|
-
const n = mG(e,
|
|
59822
|
+
}), DT = 18, OB = 12, hZe = ({ symbol: e, ...t }) => {
|
|
59823
|
+
const n = mG(e, OB, OB), r = DT / 2;
|
|
59824
59824
|
return /* @__PURE__ */ m(ke, {
|
|
59825
59825
|
viewBox: `0 0 ${DT} ${DT}`,
|
|
59826
59826
|
...t,
|
|
@@ -59850,7 +59850,7 @@ var ixt = 512 * 1024, pZe = (e) => new Promise((t) => {
|
|
|
59850
59850
|
const o = new Image();
|
|
59851
59851
|
o.onload = () => t({ image: r }), o.onerror = () => t({ rejection: "undecodable" }), o.src = r;
|
|
59852
59852
|
}, n.readAsDataURL(e);
|
|
59853
|
-
}),
|
|
59853
|
+
}), _B = [
|
|
59854
59854
|
"solid",
|
|
59855
59855
|
"dashed",
|
|
59856
59856
|
"dotted"
|
|
@@ -59899,14 +59899,14 @@ var ixt = 512 * 1024, pZe = (e) => new Promise((t) => {
|
|
|
59899
59899
|
});
|
|
59900
59900
|
}, Wee = ({ lineStyle: e, onChange: t }) => {
|
|
59901
59901
|
const n = Le(), { ToggleGroup: r } = st(), o = (i) => {
|
|
59902
|
-
const s =
|
|
59902
|
+
const s = _B.find((a) => a === i);
|
|
59903
59903
|
s !== void 0 && t(s);
|
|
59904
59904
|
};
|
|
59905
59905
|
return /* @__PURE__ */ m(be, {
|
|
59906
59906
|
label: n("editor.fineTunePanel.lineStyleSection.title"),
|
|
59907
59907
|
children: /* @__PURE__ */ m(r, {
|
|
59908
59908
|
value: e ?? "",
|
|
59909
|
-
options:
|
|
59909
|
+
options: _B.map((i) => ({
|
|
59910
59910
|
value: i,
|
|
59911
59911
|
label: n(`editor.graphPanel.gridSection.lineStyles.${i}`),
|
|
59912
59912
|
icon: /* @__PURE__ */ m($ee, { lineStyle: i })
|
|
@@ -59985,17 +59985,17 @@ var ixt = 512 * 1024, pZe = (e) => new Promise((t) => {
|
|
|
59985
59985
|
children: s[t]
|
|
59986
59986
|
})]
|
|
59987
59987
|
});
|
|
59988
|
-
}, Uee = St({}), gZe = Uee.Provider, vZe = () => Ve(Uee), yZe = "palette-row_circle__10fivl30", Yk = "theme", bZe = 3, ny = 14,
|
|
59988
|
+
}, Uee = St({}), gZe = Uee.Provider, vZe = () => Ve(Uee), yZe = "palette-row_circle__10fivl30", Yk = "theme", bZe = 3, ny = 14, DB = 9, xZe = () => {
|
|
59989
59989
|
const e = Te((u) => u.scales.color), t = vZe(), n = Do(), r = Le(), { RadioGrid: o } = st();
|
|
59990
59990
|
if (Object.keys(t).length === 0 || e?.kind !== "visual" || e.spec.scaleType !== "discrete" || e.defaultPalette === void 0) return null;
|
|
59991
59991
|
const { defaultPalette: i, spec: s } = e, a = Object.entries(t), l = [{
|
|
59992
59992
|
value: Yk,
|
|
59993
59993
|
label: r("editor.overlayMenu.themePalette"),
|
|
59994
|
-
icon: /* @__PURE__ */ m(
|
|
59994
|
+
icon: /* @__PURE__ */ m(NB, { colors: i })
|
|
59995
59995
|
}, ...a.map(([u, d]) => ({
|
|
59996
59996
|
value: Kk(u),
|
|
59997
59997
|
label: u,
|
|
59998
|
-
icon: /* @__PURE__ */ m(
|
|
59998
|
+
icon: /* @__PURE__ */ m(NB, { colors: d })
|
|
59999
59999
|
}))], c = (u) => {
|
|
60000
60000
|
const d = a.find(([f]) => Kk(f) === u);
|
|
60001
60001
|
if (u !== Yk && d === void 0) return;
|
|
@@ -60021,8 +60021,8 @@ var ixt = 512 * 1024, pZe = (e) => new Promise((t) => {
|
|
|
60021
60021
|
if (e === null) return Yk;
|
|
60022
60022
|
const n = t.find(([, r]) => lo(r, e));
|
|
60023
60023
|
return n === void 0 ? "" : Kk(n[0]);
|
|
60024
|
-
},
|
|
60025
|
-
const t = e.slice(0, bZe), n = ny / 2, r = ny + (t.length - 1) *
|
|
60024
|
+
}, NB = ({ colors: e }) => {
|
|
60025
|
+
const t = e.slice(0, bZe), n = ny / 2, r = ny + (t.length - 1) * DB;
|
|
60026
60026
|
return /* @__PURE__ */ m("svg", {
|
|
60027
60027
|
width: r,
|
|
60028
60028
|
height: ny,
|
|
@@ -60030,20 +60030,20 @@ var ixt = 512 * 1024, pZe = (e) => new Promise((t) => {
|
|
|
60030
60030
|
"aria-hidden": "true",
|
|
60031
60031
|
children: t.map((o, i) => /* @__PURE__ */ m("circle", {
|
|
60032
60032
|
className: yZe,
|
|
60033
|
-
cx: n + i *
|
|
60033
|
+
cx: n + i * DB,
|
|
60034
60034
|
cy: n,
|
|
60035
60035
|
r: n - 0.5,
|
|
60036
60036
|
fill: o
|
|
60037
60037
|
}, i)).reverse()
|
|
60038
60038
|
});
|
|
60039
|
-
},
|
|
60039
|
+
}, FB = ["smooth", "linear"], jee = () => {
|
|
60040
60040
|
const e = Te((k) => k), t = We(), n = Rh(), r = Do(), o = Le(), { Switch: i, ToggleGroup: s } = st(), a = Yee(e.layers, e.coordSystem.type, n), l = (k) => a.filter(({ support: R }) => k(R)).map(({ layer: R }) => R), c = SZe(e, t), u = c.filter((k) => k.smooth !== null), d = c.filter((k) => k.missingValues !== null && k.missingValueOptions.length > 1), h = jk.filter((k) => d.some((R) => R.missingValueOptions.includes(k))), f = kZe(u), p = EZe(d), g = (k) => {
|
|
60041
60041
|
r.dispatch(new lr({ commands: c.map((R) => new Ix({
|
|
60042
60042
|
layerId: R.layerId,
|
|
60043
60043
|
showPoints: k
|
|
60044
60044
|
})) }));
|
|
60045
60045
|
}, v = (k) => {
|
|
60046
|
-
const R =
|
|
60046
|
+
const R = FB.find((E) => E === k);
|
|
60047
60047
|
R !== void 0 && r.dispatch(new lr({ commands: u.map((E) => new kP({
|
|
60048
60048
|
layerId: E.layerId,
|
|
60049
60049
|
curve: R
|
|
@@ -60152,7 +60152,7 @@ var ixt = 512 * 1024, pZe = (e) => new Promise((t) => {
|
|
|
60152
60152
|
label: o("editor.graphPanel.graphOptions.smoothLines"),
|
|
60153
60153
|
children: /* @__PURE__ */ m(s, {
|
|
60154
60154
|
value: f,
|
|
60155
|
-
options:
|
|
60155
|
+
options: FB.map((k) => ({
|
|
60156
60156
|
value: k,
|
|
60157
60157
|
label: o(`editor.graphPanel.graphOptions.curves.${k}`),
|
|
60158
60158
|
icon: /* @__PURE__ */ m(wQe, { curve: k })
|
|
@@ -60276,12 +60276,12 @@ var Yee = (e, t, n) => e.filter((r) => r.interactive).map((r) => ({
|
|
|
60276
60276
|
return null;
|
|
60277
60277
|
}, PZe = ({ geom: e, coord: t, position: n }, r, o = "style", i = null) => {
|
|
60278
60278
|
for (const s of r) {
|
|
60279
|
-
const a =
|
|
60279
|
+
const a = BB(VB(s.layers, e)?.[t]?.[n], o), l = a !== void 0 ? a : BB(VB(s.geoms, e), o);
|
|
60280
60280
|
if (l === null) return null;
|
|
60281
60281
|
if (l !== void 0) return l;
|
|
60282
60282
|
}
|
|
60283
60283
|
return i;
|
|
60284
|
-
}, RZe = (e) => typeof e == "object" && ("style" in e || "annotate" in e),
|
|
60284
|
+
}, RZe = (e) => typeof e == "object" && ("style" in e || "annotate" in e), BB = (e, t) => e == null ? e : RZe(e) ? e[t] : t === "style" ? e : void 0, VB = (e, t) => e !== void 0 && Object.hasOwn(e, t) ? e[t] : void 0, Rb = [
|
|
60285
60285
|
"solid",
|
|
60286
60286
|
"dashed",
|
|
60287
60287
|
"dotted"
|
|
@@ -60360,7 +60360,7 @@ Qee.hasRows = (e, { scene: t }) => {
|
|
|
60360
60360
|
const n = t.guides.axes.filter(Kee);
|
|
60361
60361
|
return n.length === 0 ? !1 : e.axis === "both" ? !0 : n.some((r) => r.scaledAesthetic === e.axis);
|
|
60362
60362
|
};
|
|
60363
|
-
var
|
|
60363
|
+
var HB = [
|
|
60364
60364
|
{
|
|
60365
60365
|
position: "top",
|
|
60366
60366
|
align: "start",
|
|
@@ -60414,7 +60414,7 @@ var H4 = [
|
|
|
60414
60414
|
center: "Center",
|
|
60415
60415
|
end: "End"
|
|
60416
60416
|
}, OZe = () => {
|
|
60417
|
-
const e = Te((l) => l.guides.legends.drawn[0]), t = Do(), n = Le(), { RadioGrid: r } = st(), o = e === void 0, i = o ? "" : HT(e), s =
|
|
60417
|
+
const e = Te((l) => l.guides.legends.drawn[0]), t = Do(), n = Le(), { RadioGrid: r } = st(), o = e === void 0, i = o ? "" : HT(e), s = HB.map((l) => {
|
|
60418
60418
|
const c = HT(l);
|
|
60419
60419
|
return {
|
|
60420
60420
|
value: c,
|
|
@@ -60428,7 +60428,7 @@ var H4 = [
|
|
|
60428
60428
|
gridColumn: l.gridColumn
|
|
60429
60429
|
};
|
|
60430
60430
|
}), a = (l) => {
|
|
60431
|
-
const c =
|
|
60431
|
+
const c = HB.find((u) => HT(u) === l);
|
|
60432
60432
|
c !== void 0 && t.dispatch(new KW({
|
|
60433
60433
|
position: c.position,
|
|
60434
60434
|
align: c.align
|
|
@@ -60610,7 +60610,7 @@ var DZe = ({ graph: e, target: t }) => {
|
|
|
60610
60610
|
clipRule: "evenodd"
|
|
60611
60611
|
})
|
|
60612
60612
|
]
|
|
60613
|
-
}), $Ze = "corssed-icon_crossed__1xtk1zg0", zZe = "corssed-icon_crossedStrike__1xtk1zg1", $
|
|
60613
|
+
}), $Ze = "corssed-icon_crossed__1xtk1zg0", zZe = "corssed-icon_crossedStrike__1xtk1zg1", $B = ({ children: e }) => /* @__PURE__ */ B("span", {
|
|
60614
60614
|
className: $Ze,
|
|
60615
60615
|
"aria-hidden": "true",
|
|
60616
60616
|
children: [e, /* @__PURE__ */ m("span", { className: zZe })]
|
|
@@ -61110,7 +61110,7 @@ var YZe = (e) => {
|
|
|
61110
61110
|
scatterPoint: QZe,
|
|
61111
61111
|
scatterSeries: ZZe,
|
|
61112
61112
|
pieSlice: JZe
|
|
61113
|
-
},
|
|
61113
|
+
}, zB = ({ labelKey: e }) => {
|
|
61114
61114
|
const t = eet[e];
|
|
61115
61115
|
return /* @__PURE__ */ m(t, {});
|
|
61116
61116
|
}, tet = (e, t) => {
|
|
@@ -61153,7 +61153,7 @@ var YZe = (e) => {
|
|
|
61153
61153
|
});
|
|
61154
61154
|
};
|
|
61155
61155
|
return t.hasRows = (n, { scene: r }) => pj(n, r) !== null, t;
|
|
61156
|
-
}, n0 = rL((e, t) => jZe(t, e)),
|
|
61156
|
+
}, n0 = rL((e, t) => jZe(t, e)), GB = rL(ate), get = rL(lte), vet = ({ anchor: e, readHighlightOptions: t }) => {
|
|
61157
61157
|
const { layer: n, observation: r, at: o } = e, i = Le(), { dispatch: s } = Do(), { selectionStore: a } = Xe(), { Button: l } = st(), [c, u] = De(null), d = Te((A) => A.spec.annotations), h = Te((A) => A.config.parsingLocale), f = aW(d, o, q(() => c9(n, h), [n, h])), p = f !== null && ret(f) ? f : null, g = tet(n, r), v = g.at(-1), y = Te((A) => A.coordSystem), b = q(() => Uz({
|
|
61158
61158
|
layer: n,
|
|
61159
61159
|
at: o,
|
|
@@ -61182,7 +61182,7 @@ var YZe = (e) => {
|
|
|
61182
61182
|
}) : c === "highlight" ? /* @__PURE__ */ m($T, {
|
|
61183
61183
|
title: i("graph.annotations.highlights.menuTitle"),
|
|
61184
61184
|
onBack: S,
|
|
61185
|
-
children: /* @__PURE__ */ m(
|
|
61185
|
+
children: /* @__PURE__ */ m(WB, {
|
|
61186
61186
|
layer: n,
|
|
61187
61187
|
observation: r,
|
|
61188
61188
|
highlights: g,
|
|
@@ -61196,12 +61196,12 @@ var YZe = (e) => {
|
|
|
61196
61196
|
children: [
|
|
61197
61197
|
p !== null && /* @__PURE__ */ m(l, {
|
|
61198
61198
|
label: i(fte[p.kind].phrase),
|
|
61199
|
-
icon: /* @__PURE__ */ m($
|
|
61199
|
+
icon: /* @__PURE__ */ m($B, { children: yet(p.kind) }),
|
|
61200
61200
|
onClick: () => x(new hl({ id: p.annotation.id }))
|
|
61201
61201
|
}),
|
|
61202
61202
|
v !== void 0 && /* @__PURE__ */ m(l, {
|
|
61203
61203
|
label: i("graph.annotations.baseMenu.removeHighlight"),
|
|
61204
|
-
icon: /* @__PURE__ */ m($
|
|
61204
|
+
icon: /* @__PURE__ */ m($B, { children: /* @__PURE__ */ m(ote, {}) }),
|
|
61205
61205
|
onClick: () => x(new xP({ id: v.id }))
|
|
61206
61206
|
}),
|
|
61207
61207
|
(p !== null || v !== void 0) && /* @__PURE__ */ m(iet, {}),
|
|
@@ -61227,7 +61227,7 @@ var YZe = (e) => {
|
|
|
61227
61227
|
onClick: () => u("sticker")
|
|
61228
61228
|
})
|
|
61229
61229
|
] }),
|
|
61230
|
-
n.highlight !== null && /* @__PURE__ */ m(
|
|
61230
|
+
n.highlight !== null && /* @__PURE__ */ m(WB, {
|
|
61231
61231
|
layer: n,
|
|
61232
61232
|
observation: r,
|
|
61233
61233
|
highlights: g,
|
|
@@ -61320,7 +61320,7 @@ var YZe = (e) => {
|
|
|
61320
61320
|
alt: ""
|
|
61321
61321
|
})
|
|
61322
61322
|
}, n))
|
|
61323
|
-
}),
|
|
61323
|
+
}), WB = ({ layer: e, observation: t, highlights: n, options: r, expanded: o, onOpen: i, onRun: s }) => {
|
|
61324
61324
|
const a = Le(), { Button: l } = st(), c = q(() => Vke(e, t), [e, t]), u = new Set(n.map((p) => p.scope)), d = r.filter((p) => !u.has(p.scope)), [h] = d;
|
|
61325
61325
|
if (c === null || h === void 0) return null;
|
|
61326
61326
|
const f = (p) => {
|
|
@@ -61334,12 +61334,12 @@ var YZe = (e) => {
|
|
|
61334
61334
|
className: hte,
|
|
61335
61335
|
children: d.map((p) => /* @__PURE__ */ m(l, {
|
|
61336
61336
|
label: a(`graph.annotations.highlights.labels.${p.labelKey}`),
|
|
61337
|
-
icon: /* @__PURE__ */ m(
|
|
61337
|
+
icon: /* @__PURE__ */ m(zB, { labelKey: p.labelKey }),
|
|
61338
61338
|
onClick: () => f(p.scope)
|
|
61339
61339
|
}, p.scope))
|
|
61340
61340
|
}) : d.length === 1 ? /* @__PURE__ */ m(l, {
|
|
61341
61341
|
label: r.length === 1 ? a("graph.annotations.baseMenu.highlight") : a("graph.annotations.baseMenu.highlightWithLabel", { label: a(`graph.annotations.highlights.labels.${h.labelKey}`) }),
|
|
61342
|
-
icon: /* @__PURE__ */ m(
|
|
61342
|
+
icon: /* @__PURE__ */ m(zB, { labelKey: h.labelKey }),
|
|
61343
61343
|
onClick: () => f(h.scope)
|
|
61344
61344
|
}) : /* @__PURE__ */ m(l, {
|
|
61345
61345
|
label: a("graph.annotations.baseMenu.highlight"),
|
|
@@ -61399,11 +61399,11 @@ var Tet = ({ graph: e, target: t }) => {
|
|
|
61399
61399
|
},
|
|
61400
61400
|
line: {
|
|
61401
61401
|
style: qk,
|
|
61402
|
-
annotate:
|
|
61402
|
+
annotate: GB
|
|
61403
61403
|
},
|
|
61404
61404
|
area: {
|
|
61405
61405
|
style: qk,
|
|
61406
|
-
annotate:
|
|
61406
|
+
annotate: GB
|
|
61407
61407
|
},
|
|
61408
61408
|
bar: {
|
|
61409
61409
|
style: Lee,
|
|
@@ -63972,13 +63972,13 @@ var Tet = ({ graph: e, target: t }) => {
|
|
|
63972
63972
|
}), Get = ({ children: e }) => /* @__PURE__ */ m(YI, {
|
|
63973
63973
|
direction: _K(),
|
|
63974
63974
|
children: e
|
|
63975
|
-
}),
|
|
63975
|
+
}), UB = Object.defineProperty, Wet = (e, t) => {
|
|
63976
63976
|
let n = {};
|
|
63977
|
-
for (var r in e)
|
|
63977
|
+
for (var r in e) UB(n, r, {
|
|
63978
63978
|
get: e[r],
|
|
63979
63979
|
enumerable: !0
|
|
63980
63980
|
});
|
|
63981
|
-
return t ||
|
|
63981
|
+
return t || UB(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
63982
63982
|
};
|
|
63983
63983
|
function rr(e) {
|
|
63984
63984
|
this.content = e;
|
|
@@ -64426,7 +64426,7 @@ function jet(e, t) {
|
|
|
64426
64426
|
end: r.resolveNoCache(r.content.size - e.openEnd - n)
|
|
64427
64427
|
};
|
|
64428
64428
|
}
|
|
64429
|
-
var
|
|
64429
|
+
var jB = class Qk {
|
|
64430
64430
|
constructor(t, n, r) {
|
|
64431
64431
|
this.pos = t, this.path = n, this.parentOffset = r, this.depth = n.length / 3 - 1;
|
|
64432
64432
|
}
|
|
@@ -64535,12 +64535,12 @@ var j4 = class Qk {
|
|
|
64535
64535
|
return new Qk(n, r, i);
|
|
64536
64536
|
}
|
|
64537
64537
|
static resolveCached(t, n) {
|
|
64538
|
-
let r =
|
|
64538
|
+
let r = YB.get(t);
|
|
64539
64539
|
if (r) for (let i = 0; i < r.elts.length; i++) {
|
|
64540
64540
|
let s = r.elts[i];
|
|
64541
64541
|
if (s.pos == n) return s;
|
|
64542
64542
|
}
|
|
64543
|
-
else
|
|
64543
|
+
else YB.set(t, r = new Yet());
|
|
64544
64544
|
let o = r.elts[r.i] = Qk.resolve(t, n);
|
|
64545
64545
|
return r.i = (r.i + 1) % Ket, o;
|
|
64546
64546
|
}
|
|
@@ -64548,7 +64548,7 @@ var j4 = class Qk {
|
|
|
64548
64548
|
constructor() {
|
|
64549
64549
|
this.elts = [], this.i = 0;
|
|
64550
64550
|
}
|
|
64551
|
-
}, Ket = 12,
|
|
64551
|
+
}, Ket = 12, YB = /* @__PURE__ */ new WeakMap(), Ob = class {
|
|
64552
64552
|
constructor(e, t, n) {
|
|
64553
64553
|
this.$from = e, this.$to = t, this.depth = n;
|
|
64554
64554
|
}
|
|
@@ -64669,10 +64669,10 @@ var j4 = class Qk {
|
|
|
64669
64669
|
};
|
|
64670
64670
|
}
|
|
64671
64671
|
resolve(t) {
|
|
64672
|
-
return
|
|
64672
|
+
return jB.resolveCached(this, t);
|
|
64673
64673
|
}
|
|
64674
64674
|
resolveNoCache(t) {
|
|
64675
|
-
return
|
|
64675
|
+
return jB.resolve(this, t);
|
|
64676
64676
|
}
|
|
64677
64677
|
rangeHasMark(t, n, r) {
|
|
64678
64678
|
let o = !1;
|
|
@@ -64950,14 +64950,14 @@ function Zet(e) {
|
|
|
64950
64950
|
else break;
|
|
64951
64951
|
return t;
|
|
64952
64952
|
}
|
|
64953
|
-
function
|
|
64953
|
+
function KB(e) {
|
|
64954
64954
|
/\D/.test(e.next) && e.err("Expected number, got '" + e.next + "'");
|
|
64955
64955
|
let t = Number(e.next);
|
|
64956
64956
|
return e.pos++, t;
|
|
64957
64957
|
}
|
|
64958
64958
|
function ett(e, t) {
|
|
64959
|
-
let n =
|
|
64960
|
-
return e.eat(",") && (e.next != "}" ? r =
|
|
64959
|
+
let n = KB(e), r = n;
|
|
64960
|
+
return e.eat(",") && (e.next != "}" ? r = KB(e) : r = -1), e.eat("}") || e.err("Unclosed braced range"), {
|
|
64961
64961
|
type: "range",
|
|
64962
64962
|
min: n,
|
|
64963
64963
|
max: r,
|
|
@@ -65044,7 +65044,7 @@ function rtt(e) {
|
|
|
65044
65044
|
function Ite(e, t) {
|
|
65045
65045
|
return t - e;
|
|
65046
65046
|
}
|
|
65047
|
-
function
|
|
65047
|
+
function qB(e, t) {
|
|
65048
65048
|
let n = [];
|
|
65049
65049
|
return r(t), n.sort(Ite);
|
|
65050
65050
|
function r(o) {
|
|
@@ -65059,7 +65059,7 @@ function q4(e, t) {
|
|
|
65059
65059
|
}
|
|
65060
65060
|
function ott(e) {
|
|
65061
65061
|
let t = /* @__PURE__ */ Object.create(null);
|
|
65062
|
-
return n(
|
|
65062
|
+
return n(qB(e, 0));
|
|
65063
65063
|
function n(r) {
|
|
65064
65064
|
let o = [];
|
|
65065
65065
|
r.forEach((s) => {
|
|
@@ -65067,7 +65067,7 @@ function ott(e) {
|
|
|
65067
65067
|
if (!a) return;
|
|
65068
65068
|
let c;
|
|
65069
65069
|
for (let u = 0; u < o.length; u++) o[u][0] == a && (c = o[u][1]);
|
|
65070
|
-
|
|
65070
|
+
qB(e, l).forEach((u) => {
|
|
65071
65071
|
c || o.push([a, c = []]), c.indexOf(u) == -1 && c.push(u);
|
|
65072
65072
|
});
|
|
65073
65073
|
});
|
|
@@ -65124,7 +65124,7 @@ function Dte(e, t) {
|
|
|
65124
65124
|
if (t) for (let r in t) n[r] = new att(e, r, t[r]);
|
|
65125
65125
|
return n;
|
|
65126
65126
|
}
|
|
65127
|
-
var
|
|
65127
|
+
var XB = class Nte {
|
|
65128
65128
|
constructor(t, n, r) {
|
|
65129
65129
|
this.name = t, this.schema = n, this.spec = r, this.markSet = null, this.groups = r.group ? r.group.split(" ") : [], this.attrs = Dte(t, r.attrs), this.defaultAttrs = Lte(this.attrs), this.contentMatch = null, this.inlineContent = null, this.isBlock = !(r.inline || t == "text"), this.isText = t == "text";
|
|
65130
65130
|
}
|
|
@@ -65253,7 +65253,7 @@ var att = class {
|
|
|
65253
65253
|
this.linebreakReplacement = null, this.cached = /* @__PURE__ */ Object.create(null);
|
|
65254
65254
|
let t = this.spec = {};
|
|
65255
65255
|
for (let r in e) t[r] = e[r];
|
|
65256
|
-
t.nodes = rr.from(e.nodes), t.marks = rr.from(e.marks || {}), this.nodes =
|
|
65256
|
+
t.nodes = rr.from(e.nodes), t.marks = rr.from(e.marks || {}), this.nodes = XB.compile(this.spec.nodes, this), this.marks = Fte.compile(this.spec.marks, this);
|
|
65257
65257
|
let n = /* @__PURE__ */ Object.create(null);
|
|
65258
65258
|
for (let r in this.nodes) {
|
|
65259
65259
|
if (r in this.marks) throw new RangeError(r + " can not be both a node and a mark");
|
|
@@ -65263,17 +65263,17 @@ var att = class {
|
|
|
65263
65263
|
if (!o.isInline || !o.isLeaf) throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");
|
|
65264
65264
|
this.linebreakReplacement = o;
|
|
65265
65265
|
}
|
|
65266
|
-
o.markSet = s == "_" ? null : s ?
|
|
65266
|
+
o.markSet = s == "_" ? null : s ? JB(this, s.split(" ")) : s == "" || !o.inlineContent ? [] : null;
|
|
65267
65267
|
}
|
|
65268
65268
|
for (let r in this.marks) {
|
|
65269
65269
|
let o = this.marks[r], i = o.spec.excludes;
|
|
65270
|
-
o.excluded = i == null ? [o] : i == "" ? [] :
|
|
65270
|
+
o.excluded = i == null ? [o] : i == "" ? [] : JB(this, i.split(" "));
|
|
65271
65271
|
}
|
|
65272
65272
|
this.nodeFromJSON = (r) => xc.fromJSON(this, r), this.markFromJSON = (r) => Kt.fromJSON(this, r), this.topNodeType = this.nodes[this.spec.topNode || "doc"], this.cached.wrappings = /* @__PURE__ */ Object.create(null);
|
|
65273
65273
|
}
|
|
65274
65274
|
node(e, t = null, n, r) {
|
|
65275
65275
|
if (typeof e == "string") e = this.nodeType(e);
|
|
65276
|
-
else if (e instanceof
|
|
65276
|
+
else if (e instanceof XB) {
|
|
65277
65277
|
if (e.schema != this) throw new RangeError("Node type from different schema used (" + e.name + ")");
|
|
65278
65278
|
} else throw new RangeError("Invalid node type: " + e);
|
|
65279
65279
|
return e.createChecked(t, n, r);
|
|
@@ -65291,7 +65291,7 @@ var att = class {
|
|
|
65291
65291
|
return t;
|
|
65292
65292
|
}
|
|
65293
65293
|
};
|
|
65294
|
-
function
|
|
65294
|
+
function JB(e, t) {
|
|
65295
65295
|
let n = [];
|
|
65296
65296
|
for (let r = 0; r < t.length; r++) {
|
|
65297
65297
|
let o = t[r], i = e.marks[o], s = i;
|
|
@@ -65327,11 +65327,11 @@ var vp = class tE {
|
|
|
65327
65327
|
});
|
|
65328
65328
|
}
|
|
65329
65329
|
parse(t, n = {}) {
|
|
65330
|
-
let r = new
|
|
65330
|
+
let r = new ZB(this, n, !1);
|
|
65331
65331
|
return r.addAll(t, Kt.none, n.from, n.to), r.finish();
|
|
65332
65332
|
}
|
|
65333
65333
|
parseSlice(t, n = {}) {
|
|
65334
|
-
let r = new
|
|
65334
|
+
let r = new ZB(this, n, !0);
|
|
65335
65335
|
return r.addAll(t, Kt.none, n.from, n.to), Ne.maxOpen(r.finish());
|
|
65336
65336
|
}
|
|
65337
65337
|
matchTag(t, n, r) {
|
|
@@ -65373,13 +65373,13 @@ var vp = class tE {
|
|
|
65373
65373
|
for (let o in t.marks) {
|
|
65374
65374
|
let i = t.marks[o].spec.parseDOM;
|
|
65375
65375
|
i && i.forEach((s) => {
|
|
65376
|
-
r(s =
|
|
65376
|
+
r(s = e4(s)), s.mark || s.ignore || s.clearMark || (s.mark = o);
|
|
65377
65377
|
});
|
|
65378
65378
|
}
|
|
65379
65379
|
for (let o in t.nodes) {
|
|
65380
65380
|
let i = t.nodes[o].spec.parseDOM;
|
|
65381
65381
|
i && i.forEach((s) => {
|
|
65382
|
-
r(s =
|
|
65382
|
+
r(s = e4(s)), s.node || s.ignore || s.mark || (s.node = o);
|
|
65383
65383
|
});
|
|
65384
65384
|
}
|
|
65385
65385
|
return n;
|
|
@@ -65432,7 +65432,7 @@ var vp = class tE {
|
|
|
65432
65432
|
ol: !0,
|
|
65433
65433
|
ul: !0
|
|
65434
65434
|
}, _b = 1, zte = 2, r0 = 4;
|
|
65435
|
-
function
|
|
65435
|
+
function QB(e, t, n) {
|
|
65436
65436
|
return t != null ? (t ? _b : 0) | (t === "full" ? zte : 0) : e && e.whitespace == "pre" ? 3 : n & -5;
|
|
65437
65437
|
}
|
|
65438
65438
|
var sy = class {
|
|
@@ -65465,10 +65465,10 @@ var sy = class {
|
|
|
65465
65465
|
inlineContext(e) {
|
|
65466
65466
|
return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !Hte.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
|
|
65467
65467
|
}
|
|
65468
|
-
},
|
|
65468
|
+
}, ZB = class {
|
|
65469
65469
|
constructor(e, t, n) {
|
|
65470
65470
|
this.parser = e, this.options = t, this.isOpen = n, this.open = 0, this.localPreserveWS = !1;
|
|
65471
|
-
let r = t.topNode, o, i =
|
|
65471
|
+
let r = t.topNode, o, i = QB(null, t.preserveWhitespace, 0) | (n ? r0 : 0);
|
|
65472
65472
|
r ? o = new sy(r.type, r.attrs, Kt.none, !0, t.topMatch || r.type.contentMatch, i) : n ? o = new sy(null, null, Kt.none, !0, null, i) : o = new sy(e.schema.topNodeType, null, Kt.none, !0, null, i), this.nodes = [o], this.find = t.findPositions, this.needsBlock = !1;
|
|
65473
65473
|
}
|
|
65474
65474
|
get top() {
|
|
@@ -65599,7 +65599,7 @@ var sy = class {
|
|
|
65599
65599
|
let o = this.top;
|
|
65600
65600
|
o.match && (o.match = o.match.matchType(e.type));
|
|
65601
65601
|
let i = Kt.none;
|
|
65602
|
-
for (let s of r.concat(e.marks)) (o.type ? o.type.allowsMarkType(s.type) :
|
|
65602
|
+
for (let s of r.concat(e.marks)) (o.type ? o.type.allowsMarkType(s.type) : t4(s.type, e.type)) && (i = s.addToSet(i));
|
|
65603
65603
|
return o.content.push(e.mark(i)), !0;
|
|
65604
65604
|
}
|
|
65605
65605
|
return !1;
|
|
@@ -65612,10 +65612,10 @@ var sy = class {
|
|
|
65612
65612
|
this.closeExtra();
|
|
65613
65613
|
let i = this.top;
|
|
65614
65614
|
i.match = i.match && i.match.matchType(e);
|
|
65615
|
-
let s =
|
|
65615
|
+
let s = QB(e, o, i.options);
|
|
65616
65616
|
i.options & r0 && i.content.length == 0 && (s |= r0);
|
|
65617
65617
|
let a = Kt.none;
|
|
65618
|
-
return n = n.filter((l) => (i.type ? i.type.allowsMarkType(l.type) :
|
|
65618
|
+
return n = n.filter((l) => (i.type ? i.type.allowsMarkType(l.type) : t4(l.type, e)) ? (a = l.addToSet(a), !1) : !0), this.nodes.push(new sy(e, t, a, r, null, s)), this.open++, n;
|
|
65619
65619
|
}
|
|
65620
65620
|
closeExtra(e = !1) {
|
|
65621
65621
|
let t = this.nodes.length - 1;
|
|
@@ -65701,12 +65701,12 @@ function dtt(e) {
|
|
|
65701
65701
|
function htt(e, t) {
|
|
65702
65702
|
return (e.matches || e.msMatchesSelector || e.webkitMatchesSelector || e.mozMatchesSelector).call(e, t);
|
|
65703
65703
|
}
|
|
65704
|
-
function
|
|
65704
|
+
function e4(e) {
|
|
65705
65705
|
let t = {};
|
|
65706
65706
|
for (let n in e) t[n] = e[n];
|
|
65707
65707
|
return t;
|
|
65708
65708
|
}
|
|
65709
|
-
function
|
|
65709
|
+
function t4(e, t) {
|
|
65710
65710
|
let n = t.schema.nodes;
|
|
65711
65711
|
for (let r in n) {
|
|
65712
65712
|
let o = n[r];
|
|
@@ -65777,14 +65777,14 @@ var Wg = class Gte {
|
|
|
65777
65777
|
return t.cached.domSerializer || (t.cached.domSerializer = new Gte(this.nodesFromSchema(t), this.marksFromSchema(t)));
|
|
65778
65778
|
}
|
|
65779
65779
|
static nodesFromSchema(t) {
|
|
65780
|
-
let n =
|
|
65780
|
+
let n = n4(t.nodes);
|
|
65781
65781
|
return n.text || (n.text = (r) => r.text), n;
|
|
65782
65782
|
}
|
|
65783
65783
|
static marksFromSchema(t) {
|
|
65784
|
-
return
|
|
65784
|
+
return n4(t.marks);
|
|
65785
65785
|
}
|
|
65786
65786
|
};
|
|
65787
|
-
function
|
|
65787
|
+
function n4(e) {
|
|
65788
65788
|
let t = {};
|
|
65789
65789
|
for (let n in e) {
|
|
65790
65790
|
let r = e[n].spec.toDOM;
|
|
@@ -65795,10 +65795,10 @@ function nB(e) {
|
|
|
65795
65795
|
function ay(e) {
|
|
65796
65796
|
return e.document || window.document;
|
|
65797
65797
|
}
|
|
65798
|
-
var
|
|
65798
|
+
var r4 = /* @__PURE__ */ new WeakMap();
|
|
65799
65799
|
function ftt(e) {
|
|
65800
|
-
let t =
|
|
65801
|
-
return t === void 0 &&
|
|
65800
|
+
let t = r4.get(e);
|
|
65801
|
+
return t === void 0 && r4.set(e, t = ptt(e)), t;
|
|
65802
65802
|
}
|
|
65803
65803
|
function ptt(e) {
|
|
65804
65804
|
let t = null;
|
|
@@ -65852,7 +65852,7 @@ var Wte = 65535, Ute = Math.pow(2, 16);
|
|
|
65852
65852
|
function mtt(e, t) {
|
|
65853
65853
|
return e + t * Ute;
|
|
65854
65854
|
}
|
|
65855
|
-
function
|
|
65855
|
+
function o4(e) {
|
|
65856
65856
|
return e & Wte;
|
|
65857
65857
|
}
|
|
65858
65858
|
function gtt(e) {
|
|
@@ -65879,7 +65879,7 @@ var vtt = 1, ytt = 2, jte = 4, Yte = 8, nE = class {
|
|
|
65879
65879
|
if (this.ranges = t, this.inverted = n, !t.length && Uu.empty) return Uu.empty;
|
|
65880
65880
|
}
|
|
65881
65881
|
recover(t) {
|
|
65882
|
-
let n = 0, r =
|
|
65882
|
+
let n = 0, r = o4(t);
|
|
65883
65883
|
if (!this.inverted) for (let o = 0; o < r; o++) n += this.ranges[o * 3 + 2] - this.ranges[o * 3 + 1];
|
|
65884
65884
|
return this.ranges[r * 3] + n + gtt(t);
|
|
65885
65885
|
}
|
|
@@ -65906,7 +65906,7 @@ var vtt = 1, ytt = 2, jte = 4, Yte = 8, nE = class {
|
|
|
65906
65906
|
return r ? t + o : new nE(t + o, 0, null);
|
|
65907
65907
|
}
|
|
65908
65908
|
touches(t, n) {
|
|
65909
|
-
let r = 0, o =
|
|
65909
|
+
let r = 0, o = o4(n), i = this.inverted ? 2 : 1, s = this.inverted ? 1 : 2;
|
|
65910
65910
|
for (let a = 0; a < this.ranges.length; a += 3) {
|
|
65911
65911
|
let l = this.ranges[a] - (this.inverted ? r : 0);
|
|
65912
65912
|
if (l > t) break;
|
|
@@ -66369,12 +66369,12 @@ function Stt(e, t, n) {
|
|
|
66369
66369
|
}
|
|
66370
66370
|
function qte(e, t, n = null, r = e) {
|
|
66371
66371
|
let o = Ttt(e, t), i = o && Att(r, t);
|
|
66372
|
-
return i ? o.map(
|
|
66372
|
+
return i ? o.map(i4).concat({
|
|
66373
66373
|
type: t,
|
|
66374
66374
|
attrs: n
|
|
66375
|
-
}).concat(i.map(
|
|
66375
|
+
}).concat(i.map(i4)) : null;
|
|
66376
66376
|
}
|
|
66377
|
-
function
|
|
66377
|
+
function i4(e) {
|
|
66378
66378
|
return {
|
|
66379
66379
|
type: e,
|
|
66380
66380
|
attrs: null
|
|
@@ -66601,7 +66601,7 @@ var Ott = class {
|
|
|
66601
66601
|
}
|
|
66602
66602
|
for (let t = 1; t <= 2; t++) for (let n = t == 1 ? e : this.unplaced.openStart; n >= 0; n--) {
|
|
66603
66603
|
let r, o = null;
|
|
66604
|
-
n ? (o =
|
|
66604
|
+
n ? (o = s4(this.unplaced.content, n - 1).firstChild, r = o.content) : r = this.unplaced.content;
|
|
66605
66605
|
let i = r.firstChild;
|
|
66606
66606
|
for (let s = this.depth; s >= 0; s--) {
|
|
66607
66607
|
let { type: a, match: l } = this.frontier[s], c, u = null;
|
|
@@ -66623,10 +66623,10 @@ var Ott = class {
|
|
|
66623
66623
|
}
|
|
66624
66624
|
openMore() {
|
|
66625
66625
|
let { content: e, openStart: t, openEnd: n } = this.unplaced;
|
|
66626
|
-
return
|
|
66626
|
+
return a4(e, -1) <= t ? !1 : (this.unplaced.size > 1 && a4(e, 1) > n && n++, this.unplaced = new Ne(e, t + 1, n), !0);
|
|
66627
66627
|
}
|
|
66628
66628
|
dropNode() {
|
|
66629
|
-
let { content: e, openStart: t, openEnd: n } = this.unplaced, r =
|
|
66629
|
+
let { content: e, openStart: t, openEnd: n } = this.unplaced, r = s4(e, t);
|
|
66630
66630
|
if (r.childCount <= 1 && t > 0) {
|
|
66631
66631
|
let o = e.size - t <= t + r.size;
|
|
66632
66632
|
this.unplaced = new Ne(Nf(e, t - 1, 1), t - 1, o ? t - 1 : n);
|
|
@@ -66710,7 +66710,7 @@ function Nf(e, t, n) {
|
|
|
66710
66710
|
function Ff(e, t, n) {
|
|
66711
66711
|
return t == 0 ? e.append(n) : e.replaceChild(e.childCount - 1, e.lastChild.copy(Ff(e.lastChild.content, t - 1, n)));
|
|
66712
66712
|
}
|
|
66713
|
-
function
|
|
66713
|
+
function s4(e, t) {
|
|
66714
66714
|
for (let n = 0; n < t; n++) e = e.firstChild.content;
|
|
66715
66715
|
return e;
|
|
66716
66716
|
}
|
|
@@ -66732,7 +66732,7 @@ function _tt(e, t, n) {
|
|
|
66732
66732
|
function Dtt(e) {
|
|
66733
66733
|
return e.spec.defining || e.spec.definingForContent;
|
|
66734
66734
|
}
|
|
66735
|
-
function
|
|
66735
|
+
function a4(e, t) {
|
|
66736
66736
|
for (let n = 0; ; n++) {
|
|
66737
66737
|
let r = t < 0 ? e.firstChild : e.lastChild;
|
|
66738
66738
|
if (!r || r.isAtom) return n;
|
|
@@ -67049,14 +67049,14 @@ var sne = class {
|
|
|
67049
67049
|
let o = e.steps.length, i = this.ranges;
|
|
67050
67050
|
for (let s = 0; s < i.length; s++) {
|
|
67051
67051
|
let { $from: a, $to: l } = i[s], c = e.mapping.slice(o);
|
|
67052
|
-
e.replaceRange(c.map(a.pos), c.map(l.pos), s ? Ne.empty : t), s == 0 &&
|
|
67052
|
+
e.replaceRange(c.map(a.pos), c.map(l.pos), s ? Ne.empty : t), s == 0 && u4(e, o, (n ? n.isInline : r && r.isTextblock) ? -1 : 1);
|
|
67053
67053
|
}
|
|
67054
67054
|
}
|
|
67055
67055
|
replaceWith(e, t) {
|
|
67056
67056
|
let n = e.steps.length, r = this.ranges;
|
|
67057
67057
|
for (let o = 0; o < r.length; o++) {
|
|
67058
67058
|
let { $from: i, $to: s } = r[o], a = e.mapping.slice(n), l = a.map(i.pos), c = a.map(s.pos);
|
|
67059
|
-
o ? e.deleteRange(l, c) : (e.replaceRangeWith(l, c, t),
|
|
67059
|
+
o ? e.deleteRange(l, c) : (e.replaceRangeWith(l, c, t), u4(e, n, t.isInline ? -1 : 1));
|
|
67060
67060
|
}
|
|
67061
67061
|
}
|
|
67062
67062
|
static findFrom(e, t, n = !1) {
|
|
@@ -67096,13 +67096,13 @@ var Vtt = class {
|
|
|
67096
67096
|
constructor(e, t) {
|
|
67097
67097
|
this.$from = e, this.$to = t;
|
|
67098
67098
|
}
|
|
67099
|
-
},
|
|
67100
|
-
function
|
|
67101
|
-
!
|
|
67099
|
+
}, l4 = !1;
|
|
67100
|
+
function c4(e) {
|
|
67101
|
+
!l4 && !e.parent.inlineContent && (l4 = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + e.parent.type.name + ")"));
|
|
67102
67102
|
}
|
|
67103
67103
|
var yt = class Bf extends xt {
|
|
67104
67104
|
constructor(t, n = t) {
|
|
67105
|
-
|
|
67105
|
+
c4(t), c4(n), super(t, n);
|
|
67106
67106
|
}
|
|
67107
67107
|
get $cursor() {
|
|
67108
67108
|
return this.$anchor.pos == this.$head.pos ? this.$head : null;
|
|
@@ -67260,7 +67260,7 @@ function ju(e, t, n, r, o, i = !1) {
|
|
|
67260
67260
|
}
|
|
67261
67261
|
return null;
|
|
67262
67262
|
}
|
|
67263
|
-
function
|
|
67263
|
+
function u4(e, t, n) {
|
|
67264
67264
|
let r = e.steps.length - 1;
|
|
67265
67265
|
if (r < t) return;
|
|
67266
67266
|
let o = e.steps[r];
|
|
@@ -67270,7 +67270,7 @@ function uB(e, t, n) {
|
|
|
67270
67270
|
s == null && (s = u);
|
|
67271
67271
|
}), e.setSelection(xt.near(e.doc.resolve(s), n));
|
|
67272
67272
|
}
|
|
67273
|
-
var
|
|
67273
|
+
var d4 = 1, h4 = 2, f4 = 4, ztt = class extends sne {
|
|
67274
67274
|
constructor(e) {
|
|
67275
67275
|
super(e.doc), this.curSelectionFor = 0, this.updated = 0, this.meta = /* @__PURE__ */ Object.create(null), this.time = Date.now(), this.curSelection = e.selection, this.storedMarks = e.storedMarks;
|
|
67276
67276
|
}
|
|
@@ -67279,13 +67279,13 @@ var dB = 1, hB = 2, fB = 4, ztt = class extends sne {
|
|
|
67279
67279
|
}
|
|
67280
67280
|
setSelection(e) {
|
|
67281
67281
|
if (e.$from.doc != this.doc) throw new RangeError("Selection passed to setSelection must point at the current document");
|
|
67282
|
-
return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated |
|
|
67282
|
+
return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | d4) & -3, this.storedMarks = null, this;
|
|
67283
67283
|
}
|
|
67284
67284
|
get selectionSet() {
|
|
67285
|
-
return (this.updated &
|
|
67285
|
+
return (this.updated & d4) > 0;
|
|
67286
67286
|
}
|
|
67287
67287
|
setStoredMarks(e) {
|
|
67288
|
-
return this.storedMarks = e, this.updated |=
|
|
67288
|
+
return this.storedMarks = e, this.updated |= h4, this;
|
|
67289
67289
|
}
|
|
67290
67290
|
ensureMarks(e) {
|
|
67291
67291
|
return Kt.sameSet(this.storedMarks || this.selection.$from.marks(), e) || this.setStoredMarks(e), this;
|
|
@@ -67297,7 +67297,7 @@ var dB = 1, hB = 2, fB = 4, ztt = class extends sne {
|
|
|
67297
67297
|
return this.ensureMarks(e.removeFromSet(this.storedMarks || this.selection.$head.marks()));
|
|
67298
67298
|
}
|
|
67299
67299
|
get storedMarksSet() {
|
|
67300
|
-
return (this.updated &
|
|
67300
|
+
return (this.updated & h4) > 0;
|
|
67301
67301
|
}
|
|
67302
67302
|
addStep(e, t) {
|
|
67303
67303
|
super.addStep(e, t), this.updated = this.updated & -3, this.storedMarks = null;
|
|
@@ -67340,18 +67340,18 @@ var dB = 1, hB = 2, fB = 4, ztt = class extends sne {
|
|
|
67340
67340
|
return !0;
|
|
67341
67341
|
}
|
|
67342
67342
|
scrollIntoView() {
|
|
67343
|
-
return this.updated |=
|
|
67343
|
+
return this.updated |= f4, this;
|
|
67344
67344
|
}
|
|
67345
67345
|
get scrolledIntoView() {
|
|
67346
|
-
return (this.updated &
|
|
67346
|
+
return (this.updated & f4) > 0;
|
|
67347
67347
|
}
|
|
67348
67348
|
};
|
|
67349
|
-
function
|
|
67349
|
+
function p4(e, t) {
|
|
67350
67350
|
return !t || !e ? e : e.bind(t);
|
|
67351
67351
|
}
|
|
67352
67352
|
var Hf = class {
|
|
67353
67353
|
constructor(e, t, n) {
|
|
67354
|
-
this.name = e, this.init =
|
|
67354
|
+
this.name = e, this.init = p4(t.init, n), this.apply = p4(t.apply, n);
|
|
67355
67355
|
}
|
|
67356
67356
|
}, Gtt = [
|
|
67357
67357
|
new Hf("doc", {
|
|
@@ -67393,7 +67393,7 @@ var Hf = class {
|
|
|
67393
67393
|
this.plugins.push(n), this.pluginsByKey[n.key] = n, n.spec.state && this.fields.push(new Hf(n.key, n.spec.state, n));
|
|
67394
67394
|
});
|
|
67395
67395
|
}
|
|
67396
|
-
},
|
|
67396
|
+
}, m4 = class $f {
|
|
67397
67397
|
constructor(t) {
|
|
67398
67398
|
this.config = t;
|
|
67399
67399
|
}
|
|
@@ -67813,7 +67813,7 @@ function ent(e, t = null) {
|
|
|
67813
67813
|
return a ? (r && r(n.tr.wrap(s, a).scrollIntoView()), !0) : !1;
|
|
67814
67814
|
};
|
|
67815
67815
|
}
|
|
67816
|
-
function
|
|
67816
|
+
function g4(e, t = null) {
|
|
67817
67817
|
return function(n, r) {
|
|
67818
67818
|
let o = !1;
|
|
67819
67819
|
for (let i = 0; i < n.selection.ranges.length && !o; i++) {
|
|
@@ -67846,14 +67846,14 @@ function hL(...e) {
|
|
|
67846
67846
|
return !1;
|
|
67847
67847
|
};
|
|
67848
67848
|
}
|
|
67849
|
-
var KT = hL(hne, pne, gne),
|
|
67849
|
+
var KT = hL(hne, pne, gne), v4 = hL(hne, yne, bne), Hs = {
|
|
67850
67850
|
Enter: hL(xne, Sne, Tne, Xtt),
|
|
67851
67851
|
"Mod-Enter": wne,
|
|
67852
67852
|
Backspace: KT,
|
|
67853
67853
|
"Mod-Backspace": KT,
|
|
67854
67854
|
"Shift-Backspace": KT,
|
|
67855
|
-
Delete:
|
|
67856
|
-
"Mod-Delete":
|
|
67855
|
+
Delete: v4,
|
|
67856
|
+
"Mod-Delete": v4,
|
|
67857
67857
|
"Mod-a": Qtt
|
|
67858
67858
|
}, Mne = {
|
|
67859
67859
|
"Ctrl-h": Hs.Backspace,
|
|
@@ -67949,9 +67949,9 @@ var sr = function(e) {
|
|
|
67949
67949
|
}, lnt = function() {
|
|
67950
67950
|
aE = null;
|
|
67951
67951
|
}, Gc = function(e, t, n, r) {
|
|
67952
|
-
return n && (
|
|
67952
|
+
return n && (y4(e, t, n, r, -1) || y4(e, t, n, r, 1));
|
|
67953
67953
|
}, cnt = /^(img|br|input|textarea|hr)$/i;
|
|
67954
|
-
function
|
|
67954
|
+
function y4(e, t, n, r, o) {
|
|
67955
67955
|
for (var i; ; ) {
|
|
67956
67956
|
if (e == n && t == r) return !0;
|
|
67957
67957
|
if (t == (o < 0 ? 0 : Go(e))) {
|
|
@@ -68034,9 +68034,9 @@ function pnt(e, t, n) {
|
|
|
68034
68034
|
};
|
|
68035
68035
|
}
|
|
68036
68036
|
}
|
|
68037
|
-
var gs = typeof navigator < "u" ? navigator : null,
|
|
68037
|
+
var gs = typeof navigator < "u" ? navigator : null, b4 = typeof document < "u" ? document : null, Ll = gs && gs.userAgent || "", lE = /Edge\/(\d+)/.exec(Ll), Pne = /MSIE \d/.exec(Ll), cE = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ll), oo = !!(Pne || cE || lE), Ka = Pne ? document.documentMode : cE ? +cE[1] : lE ? +lE[1] : 0, qo = !oo && /gecko\/(\d+)/i.test(Ll);
|
|
68038
68038
|
qo && +(/Firefox\/(\d+)/.exec(Ll) || [0, 0])[1];
|
|
68039
|
-
var uE = !oo && /Chrome\/(\d+)/.exec(Ll), hr = !!uE, Rne = uE ? +uE[1] : 0, Ar = !oo && !!gs && /Apple Computer/.test(gs.vendor), Kd = Ar && (/Mobile\/\w+/.test(Ll) || !!gs && gs.maxTouchPoints > 2), $o = Kd || (gs ? /Mac/.test(gs.platform) : !1), Ine = gs ? /Win/.test(gs.platform) : !1, Ks = /Android \d/.test(Ll), jg = !!
|
|
68039
|
+
var uE = !oo && /Chrome\/(\d+)/.exec(Ll), hr = !!uE, Rne = uE ? +uE[1] : 0, Ar = !oo && !!gs && /Apple Computer/.test(gs.vendor), Kd = Ar && (/Mobile\/\w+/.test(Ll) || !!gs && gs.maxTouchPoints > 2), $o = Kd || (gs ? /Mac/.test(gs.platform) : !1), Ine = gs ? /Win/.test(gs.platform) : !1, Ks = /Android \d/.test(Ll), jg = !!b4 && "webkitFontSmoothing" in b4.documentElement.style, mnt = jg ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
68040
68040
|
function gnt(e) {
|
|
68041
68041
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
68042
68042
|
return t ? {
|
|
@@ -68063,7 +68063,7 @@ function vnt(e) {
|
|
|
68063
68063
|
bottom: t.top + e.clientHeight * r
|
|
68064
68064
|
};
|
|
68065
68065
|
}
|
|
68066
|
-
function
|
|
68066
|
+
function x4(e, t, n) {
|
|
68067
68067
|
if (!dE(t) && t.left == 0) return;
|
|
68068
68068
|
let r = e.someProp("scrollThreshold") || 0, o = e.someProp("scrollMargin") || 5, i = e.dom.ownerDocument;
|
|
68069
68069
|
for (let s = n || e.dom; s; ) {
|
|
@@ -68373,11 +68373,11 @@ function Pnt(e, t, n) {
|
|
|
68373
68373
|
return h != null && (a.caretBidiLevel = h), v;
|
|
68374
68374
|
}) : r.pos == r.start() || r.pos == r.end();
|
|
68375
68375
|
}
|
|
68376
|
-
var
|
|
68376
|
+
var w4 = null, S4 = null, T4 = !1;
|
|
68377
68377
|
function Rnt(e, t, n) {
|
|
68378
|
-
return
|
|
68378
|
+
return w4 == t && S4 == n ? T4 : (w4 = t, S4 = n, T4 = n == "up" || n == "down" ? Ent(e, t, n) : Pnt(e, t, n));
|
|
68379
68379
|
}
|
|
68380
|
-
var Xo = 0,
|
|
68380
|
+
var Xo = 0, A4 = 1, nc = 2, xi = 3, Yg = class {
|
|
68381
68381
|
constructor(e, t, n, r) {
|
|
68382
68382
|
this.parent = e, this.children = t, this.dom = n, this.contentDOM = r, this.dirty = Xo, n.pmViewDesc = this;
|
|
68383
68383
|
}
|
|
@@ -68661,7 +68661,7 @@ var Xo = 0, AB = 1, nc = 2, xi = 3, Yg = class {
|
|
|
68661
68661
|
if (n == i ? e <= i && t >= n : e < i && t > n) {
|
|
68662
68662
|
let s = n + o.border, a = i - o.border;
|
|
68663
68663
|
if (e >= s && t <= a) {
|
|
68664
|
-
this.dirty = e == n || t == i ? nc :
|
|
68664
|
+
this.dirty = e == n || t == i ? nc : A4, e == s && t == a && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = xi : o.markDirty(e - s, t - s);
|
|
68665
68665
|
return;
|
|
68666
68666
|
} else o.dirty = o.dom == o.contentDOM && o.dom.parentNode == this.contentDOM && !o.children.length ? nc : xi;
|
|
68667
68667
|
}
|
|
@@ -68672,7 +68672,7 @@ var Xo = 0, AB = 1, nc = 2, xi = 3, Yg = class {
|
|
|
68672
68672
|
markParentsDirty() {
|
|
68673
68673
|
let e = 1;
|
|
68674
68674
|
for (let t = this.parent; t; t = t.parent, e++) {
|
|
68675
|
-
let n = e == 1 ? nc :
|
|
68675
|
+
let n = e == 1 ? nc : A4;
|
|
68676
68676
|
t.dirty < n && (t.dirty = n);
|
|
68677
68677
|
}
|
|
68678
68678
|
}
|
|
@@ -68893,7 +68893,7 @@ var Xo = 0, AB = 1, nc = 2, xi = 3, Yg = class {
|
|
|
68893
68893
|
return this.node.isAtom;
|
|
68894
68894
|
}
|
|
68895
68895
|
};
|
|
68896
|
-
function
|
|
68896
|
+
function C4(e, t, n, r, o) {
|
|
68897
68897
|
Une(r, t, e);
|
|
68898
68898
|
let i = new gd(void 0, e, t, n, r, r, r);
|
|
68899
68899
|
return i.contentDOM && i.updateChildren(o, 0), i;
|
|
@@ -68989,7 +68989,7 @@ function Gne(e, t, n) {
|
|
|
68989
68989
|
let s = t[i], a = s.dom;
|
|
68990
68990
|
if (a.parentNode == e) {
|
|
68991
68991
|
for (; a != r; )
|
|
68992
|
-
r =
|
|
68992
|
+
r = k4(r), o = !0;
|
|
68993
68993
|
r = r.nextSibling;
|
|
68994
68994
|
} else
|
|
68995
68995
|
o = !0, e.insertBefore(a, r);
|
|
@@ -68999,7 +68999,7 @@ function Gne(e, t, n) {
|
|
|
68999
68999
|
}
|
|
69000
69000
|
}
|
|
69001
69001
|
for (; r; )
|
|
69002
|
-
r =
|
|
69002
|
+
r = k4(r), o = !0;
|
|
69003
69003
|
o && n.trackWrites == e && (n.trackWrites = null);
|
|
69004
69004
|
}
|
|
69005
69005
|
var bp = function(e) {
|
|
@@ -69060,7 +69060,7 @@ function Nb(e, t) {
|
|
|
69060
69060
|
for (let n = 0; n < e.length; n++) if (!e[n].type.eq(t[n].type)) return !1;
|
|
69061
69061
|
return !0;
|
|
69062
69062
|
}
|
|
69063
|
-
function
|
|
69063
|
+
function k4(e) {
|
|
69064
69064
|
let t = e.nextSibling;
|
|
69065
69065
|
return e.parentNode.removeChild(e), t;
|
|
69066
69066
|
}
|
|
@@ -69344,12 +69344,12 @@ function Zs(e, t = !1) {
|
|
|
69344
69344
|
if (e.domObserver.disconnectSelection(), e.cursorWrapper) $nt(e);
|
|
69345
69345
|
else {
|
|
69346
69346
|
let { anchor: o, head: i } = n, s, a;
|
|
69347
|
-
|
|
69347
|
+
E4 && !(n instanceof yt) && (n.$from.parent.inlineContent || (s = M4(e, n.from)), !n.empty && !n.$from.parent.inlineContent && (a = M4(e, n.to))), e.docView.setSelection(o, i, e, t), E4 && (s && P4(s), a && P4(a)), n.visible ? e.dom.classList.remove("ProseMirror-hideselection") : (e.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && Hnt(e));
|
|
69348
69348
|
}
|
|
69349
69349
|
e.domObserver.setCurSelection(), e.domObserver.connectSelection();
|
|
69350
69350
|
}
|
|
69351
|
-
var
|
|
69352
|
-
function
|
|
69351
|
+
var E4 = Ar || hr && Rne < 63;
|
|
69352
|
+
function M4(e, t) {
|
|
69353
69353
|
let { node: n, offset: r } = e.docView.domFromPos(t, 0), o = r < n.childNodes.length ? n.childNodes[r] : null, i = r ? n.childNodes[r - 1] : null;
|
|
69354
69354
|
if (Ar && o && o.contentEditable == "false") return XT(o);
|
|
69355
69355
|
if ((!o || o.contentEditable == "false") && (!i || i.contentEditable == "false")) {
|
|
@@ -69360,7 +69360,7 @@ function MB(e, t) {
|
|
|
69360
69360
|
function XT(e) {
|
|
69361
69361
|
return e.contentEditable = "true", Ar && e.draggable && (e.draggable = !1, e.wasDraggable = !0), e;
|
|
69362
69362
|
}
|
|
69363
|
-
function
|
|
69363
|
+
function P4(e) {
|
|
69364
69364
|
e.contentEditable = "false", e.wasDraggable && (e.draggable = !0, e.wasDraggable = null);
|
|
69365
69365
|
}
|
|
69366
69366
|
function Hnt(e) {
|
|
@@ -69382,16 +69382,16 @@ function $nt(e) {
|
|
|
69382
69382
|
function Yne(e, t) {
|
|
69383
69383
|
if (t instanceof it) {
|
|
69384
69384
|
let n = e.docView.descAt(t.from);
|
|
69385
|
-
n != e.lastSelectedViewDesc && (
|
|
69386
|
-
} else
|
|
69385
|
+
n != e.lastSelectedViewDesc && (R4(e), n && n.selectNode(), e.lastSelectedViewDesc = n);
|
|
69386
|
+
} else R4(e);
|
|
69387
69387
|
}
|
|
69388
|
-
function
|
|
69388
|
+
function R4(e) {
|
|
69389
69389
|
e.lastSelectedViewDesc && (e.lastSelectedViewDesc.parent && e.lastSelectedViewDesc.deselectNode(), e.lastSelectedViewDesc = void 0);
|
|
69390
69390
|
}
|
|
69391
69391
|
function mL(e, t, n, r) {
|
|
69392
69392
|
return e.someProp("createSelectionBetween", (o) => o(e, t, n)) || yt.between(t, n, r);
|
|
69393
69393
|
}
|
|
69394
|
-
function
|
|
69394
|
+
function I4(e) {
|
|
69395
69395
|
return e.editable && !e.hasFocus() ? !1 : Kne(e);
|
|
69396
69396
|
}
|
|
69397
69397
|
function Kne(e) {
|
|
@@ -69414,7 +69414,7 @@ function mE(e, t) {
|
|
|
69414
69414
|
function Oa(e, t) {
|
|
69415
69415
|
return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()), !0;
|
|
69416
69416
|
}
|
|
69417
|
-
function
|
|
69417
|
+
function L4(e, t, n) {
|
|
69418
69418
|
let r = e.state.selection;
|
|
69419
69419
|
if (r instanceof yt)
|
|
69420
69420
|
if (n.indexOf("s") > -1) {
|
|
@@ -69548,7 +69548,7 @@ function gE(e, t, n) {
|
|
|
69548
69548
|
e.state == o && Zs(e);
|
|
69549
69549
|
}, 50);
|
|
69550
69550
|
}
|
|
69551
|
-
function
|
|
69551
|
+
function O4(e, t) {
|
|
69552
69552
|
let n = e.state.doc.resolve(t);
|
|
69553
69553
|
if (!(hr || Ine) && n.parent.inlineContent) {
|
|
69554
69554
|
let r = e.coordsAtPos(t);
|
|
@@ -69563,7 +69563,7 @@ function OB(e, t) {
|
|
|
69563
69563
|
}
|
|
69564
69564
|
return getComputedStyle(e.dom).direction == "rtl" ? "rtl" : "ltr";
|
|
69565
69565
|
}
|
|
69566
|
-
function
|
|
69566
|
+
function _4(e, t, n) {
|
|
69567
69567
|
let r = e.state.selection;
|
|
69568
69568
|
if (r instanceof yt && !r.empty || n.indexOf("s") > -1 || $o && n.indexOf("m") > -1) return !1;
|
|
69569
69569
|
let { $from: o, $to: i } = r;
|
|
@@ -69577,7 +69577,7 @@ function _B(e, t, n) {
|
|
|
69577
69577
|
}
|
|
69578
69578
|
return !1;
|
|
69579
69579
|
}
|
|
69580
|
-
function
|
|
69580
|
+
function D4(e, t) {
|
|
69581
69581
|
if (!(e.state.selection instanceof yt)) return !0;
|
|
69582
69582
|
let { $head: n, $anchor: r, empty: o } = e.state.selection;
|
|
69583
69583
|
if (!n.sameParent(r)) return !0;
|
|
@@ -69590,7 +69590,7 @@ function DB(e, t) {
|
|
|
69590
69590
|
}
|
|
69591
69591
|
return !1;
|
|
69592
69592
|
}
|
|
69593
|
-
function
|
|
69593
|
+
function N4(e, t, n) {
|
|
69594
69594
|
e.domObserver.stop(), t.contentEditable = n, e.domObserver.start();
|
|
69595
69595
|
}
|
|
69596
69596
|
function Ynt(e) {
|
|
@@ -69598,7 +69598,7 @@ function Ynt(e) {
|
|
|
69598
69598
|
let { focusNode: t, focusOffset: n } = e.domSelectionRange();
|
|
69599
69599
|
if (t && t.nodeType == 1 && n == 0 && t.firstChild && t.firstChild.contentEditable == "false") {
|
|
69600
69600
|
let r = t.firstChild;
|
|
69601
|
-
|
|
69601
|
+
N4(e, r, "true"), setTimeout(() => N4(e, r, "false"), 20);
|
|
69602
69602
|
}
|
|
69603
69603
|
return !1;
|
|
69604
69604
|
}
|
|
@@ -69608,18 +69608,18 @@ function Knt(e) {
|
|
|
69608
69608
|
}
|
|
69609
69609
|
function qnt(e, t) {
|
|
69610
69610
|
let n = t.keyCode, r = Knt(t);
|
|
69611
|
-
if (n == 8 || $o && n == 72 && r == "c") return
|
|
69612
|
-
if (n == 46 && !t.shiftKey || $o && n == 68 && r == "c") return
|
|
69611
|
+
if (n == 8 || $o && n == 72 && r == "c") return D4(e, -1) || Nu(e, -1);
|
|
69612
|
+
if (n == 46 && !t.shiftKey || $o && n == 68 && r == "c") return D4(e, 1) || Nu(e, 1);
|
|
69613
69613
|
if (n == 13 || n == 27) return !0;
|
|
69614
69614
|
if (n == 37 || $o && n == 66 && r == "c") {
|
|
69615
|
-
let o = n == 37 ?
|
|
69616
|
-
return
|
|
69615
|
+
let o = n == 37 ? O4(e, e.state.selection.from) == "ltr" ? -1 : 1 : -1;
|
|
69616
|
+
return L4(e, o, r) || Nu(e, o);
|
|
69617
69617
|
} else if (n == 39 || $o && n == 70 && r == "c") {
|
|
69618
|
-
let o = n == 39 ?
|
|
69619
|
-
return
|
|
69618
|
+
let o = n == 39 ? O4(e, e.state.selection.from) == "ltr" ? 1 : -1 : 1;
|
|
69619
|
+
return L4(e, o, r) || Nu(e, o);
|
|
69620
69620
|
} else {
|
|
69621
|
-
if (n == 38 || $o && n == 80 && r == "c") return
|
|
69622
|
-
if (n == 40 || $o && n == 78 && r == "c") return Ynt(e) ||
|
|
69621
|
+
if (n == 38 || $o && n == 80 && r == "c") return _4(e, -1, r) || Nu(e, -1);
|
|
69622
|
+
if (n == 40 || $o && n == 78 && r == "c") return Ynt(e) || _4(e, 1, r) || Nu(e, 1);
|
|
69623
69623
|
if (r == ($o ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90)) return !0;
|
|
69624
69624
|
}
|
|
69625
69625
|
return !1;
|
|
@@ -69691,12 +69691,12 @@ function Xne(e, t, n, r, o) {
|
|
|
69691
69691
|
ruleFromNode(d) {
|
|
69692
69692
|
return d.nodeName == "BR" && !d.nextSibling && d.parentNode && !Xnt.test(d.parentNode.nodeName) ? { ignore: !0 } : null;
|
|
69693
69693
|
}
|
|
69694
|
-
})), u) a = trt(
|
|
69694
|
+
})), u) a = trt(F4(a, +u[1], +u[2]), u[4]);
|
|
69695
69695
|
else if (a = Ne.maxOpen(Jnt(a.content, o), !0), a.openStart || a.openEnd) {
|
|
69696
69696
|
let d = 0, h = 0;
|
|
69697
69697
|
for (let f = a.content.firstChild; d < a.openStart && !f.type.spec.isolating; d++, f = f.firstChild) ;
|
|
69698
69698
|
for (let f = a.content.lastChild; h < a.openEnd && !f.type.spec.isolating; h++, f = f.lastChild) ;
|
|
69699
|
-
a =
|
|
69699
|
+
a = F4(a, d, h);
|
|
69700
69700
|
}
|
|
69701
69701
|
return e.someProp("transformPasted", (d) => {
|
|
69702
69702
|
a = d(a, e, l);
|
|
@@ -69741,7 +69741,7 @@ function vE(e, t, n, r, o, i) {
|
|
|
69741
69741
|
let s = t < 0 ? e.firstChild : e.lastChild, a = s.content;
|
|
69742
69742
|
return e.childCount > 1 && (i = 0), o < r - 1 && (a = vE(a, t, n, r, o + 1, i)), o >= n && (a = t < 0 ? s.contentMatchAt(0).fillBefore(a, i <= o).append(a) : a.append(s.contentMatchAt(s.childCount).fillBefore(Se.empty, !0))), e.replaceChild(t < 0 ? 0 : e.childCount - 1, s.copy(a));
|
|
69743
69743
|
}
|
|
69744
|
-
function
|
|
69744
|
+
function F4(e, t, n) {
|
|
69745
69745
|
return t < e.openStart && (e = new Ne(vE(e.content, -1, t, e.openStart, 0, e.openEnd), t, e.openEnd)), n < e.openEnd && (e = new Ne(vE(e.content, 1, n, e.openEnd, 0, 0), e.openStart, n)), e;
|
|
69746
69746
|
}
|
|
69747
69747
|
var ere = {
|
|
@@ -70275,7 +70275,7 @@ function Dm(e, t) {
|
|
|
70275
70275
|
for (let n in t) if (!(n in e)) return !1;
|
|
70276
70276
|
return !0;
|
|
70277
70277
|
}
|
|
70278
|
-
var
|
|
70278
|
+
var B4 = class dre {
|
|
70279
70279
|
constructor(t, n) {
|
|
70280
70280
|
this.toDOM = t, this.spec = n || wc, this.side = this.spec.side || 0;
|
|
70281
70281
|
}
|
|
@@ -70344,7 +70344,7 @@ var BB = class dre {
|
|
|
70344
70344
|
return this.type.map(t, this, n, r);
|
|
70345
70345
|
}
|
|
70346
70346
|
static widget(t, n, r) {
|
|
70347
|
-
return new zf(t, t, new
|
|
70347
|
+
return new zf(t, t, new B4(n, r));
|
|
70348
70348
|
}
|
|
70349
70349
|
static inline(t, n, r, o) {
|
|
70350
70350
|
return new zf(t, n, new wp(r, o));
|
|
@@ -70359,7 +70359,7 @@ var BB = class dre {
|
|
|
70359
70359
|
return this.type instanceof wp;
|
|
70360
70360
|
}
|
|
70361
70361
|
get widget() {
|
|
70362
|
-
return this.type instanceof
|
|
70362
|
+
return this.type instanceof B4;
|
|
70363
70363
|
}
|
|
70364
70364
|
}, Yu = [], wc = {}, bn = class Ra {
|
|
70365
70365
|
constructor(t, n) {
|
|
@@ -70621,17 +70621,17 @@ function xL(e) {
|
|
|
70621
70621
|
if (r.from != r.to) for (let o = n + 1; o < t.length; o++) {
|
|
70622
70622
|
let i = t[o];
|
|
70623
70623
|
if (i.from == r.from) {
|
|
70624
|
-
i.to != r.to && (t == e && (t = e.slice()), t[o] = i.copy(i.from, r.to),
|
|
70624
|
+
i.to != r.to && (t == e && (t = e.slice()), t[o] = i.copy(i.from, r.to), V4(t, o + 1, i.copy(r.to, i.to)));
|
|
70625
70625
|
continue;
|
|
70626
70626
|
} else {
|
|
70627
|
-
i.from < r.to && (t == e && (t = e.slice()), t[n] = r.copy(r.from, i.from),
|
|
70627
|
+
i.from < r.to && (t == e && (t = e.slice()), t[n] = r.copy(r.from, i.from), V4(t, o, r.copy(i.from, r.to)));
|
|
70628
70628
|
break;
|
|
70629
70629
|
}
|
|
70630
70630
|
}
|
|
70631
70631
|
}
|
|
70632
70632
|
return t;
|
|
70633
70633
|
}
|
|
70634
|
-
function
|
|
70634
|
+
function V4(e, t, n) {
|
|
70635
70635
|
for (; t < e.length && Sc(n, e[t]) > 0; ) t++;
|
|
70636
70636
|
e.splice(t, 0, n);
|
|
70637
70637
|
}
|
|
@@ -70707,7 +70707,7 @@ var Mrt = {
|
|
|
70707
70707
|
this.suppressingSelectionUpdates = !0, setTimeout(() => this.suppressingSelectionUpdates = !1, 50);
|
|
70708
70708
|
}
|
|
70709
70709
|
onSelectionChange() {
|
|
70710
|
-
if (
|
|
70710
|
+
if (I4(this.view)) {
|
|
70711
70711
|
if (this.suppressingSelectionUpdates) return Zs(this.view);
|
|
70712
70712
|
if (oo && Ka <= 11 && !this.view.state.selection.empty) {
|
|
70713
70713
|
let e = this.view.domSelectionRange();
|
|
@@ -70743,7 +70743,7 @@ var Mrt = {
|
|
|
70743
70743
|
if (!e.docView || this.flushingSoon > -1) return;
|
|
70744
70744
|
let t = this.pendingRecords();
|
|
70745
70745
|
t.length && (this.queue = []);
|
|
70746
|
-
let n = e.domSelectionRange(), r = !this.suppressingSelectionUpdates && !this.currentSelection.eq(n) &&
|
|
70746
|
+
let n = e.domSelectionRange(), r = !this.suppressingSelectionUpdates && !this.currentSelection.eq(n) && I4(e) && !this.ignoreSelectionChange(n), o = -1, i = -1, s = !1, a = [];
|
|
70747
70747
|
if (e.editable) for (let c = 0; c < t.length; c++) {
|
|
70748
70748
|
let u = this.registerMutation(t[c], a);
|
|
70749
70749
|
u && (o = o < 0 ? u.from : Math.min(u.from, o), i = i < 0 ? u.to : Math.max(u.to, i), u.typeOver && (s = !0));
|
|
@@ -70807,18 +70807,18 @@ var Mrt = {
|
|
|
70807
70807
|
typeOver: e.target.nodeValue == e.oldValue
|
|
70808
70808
|
});
|
|
70809
70809
|
}
|
|
70810
|
-
},
|
|
70810
|
+
}, H4 = /* @__PURE__ */ new WeakMap(), $4 = !1;
|
|
70811
70811
|
function Lrt(e) {
|
|
70812
|
-
if (!
|
|
70812
|
+
if (!H4.has(e) && (H4.set(e, null), [
|
|
70813
70813
|
"normal",
|
|
70814
70814
|
"nowrap",
|
|
70815
70815
|
"pre-line"
|
|
70816
70816
|
].indexOf(getComputedStyle(e.dom).whiteSpace) !== -1)) {
|
|
70817
|
-
if (e.requiresGeckoHackNode = qo, $
|
|
70818
|
-
console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), $
|
|
70817
|
+
if (e.requiresGeckoHackNode = qo, $4) return;
|
|
70818
|
+
console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), $4 = !0;
|
|
70819
70819
|
}
|
|
70820
70820
|
}
|
|
70821
|
-
function
|
|
70821
|
+
function z4(e, t) {
|
|
70822
70822
|
let n = t.startContainer, r = t.startOffset, o = t.endContainer, i = t.endOffset, s = e.domAtPos(e.state.selection.anchor);
|
|
70823
70823
|
return Gc(s.node, s.offset, o, i) && ([n, r, o, i] = [
|
|
70824
70824
|
o,
|
|
@@ -70835,13 +70835,13 @@ function zB(e, t) {
|
|
|
70835
70835
|
function Ort(e, t) {
|
|
70836
70836
|
if (t.getComposedRanges) {
|
|
70837
70837
|
let o = t.getComposedRanges(e.root)[0];
|
|
70838
|
-
if (o) return
|
|
70838
|
+
if (o) return z4(e, o);
|
|
70839
70839
|
}
|
|
70840
70840
|
let n;
|
|
70841
70841
|
function r(o) {
|
|
70842
70842
|
o.preventDefault(), o.stopImmediatePropagation(), n = o.getTargetRanges()[0];
|
|
70843
70843
|
}
|
|
70844
|
-
return e.dom.addEventListener("beforeinput", r, !0), document.execCommand("indent"), e.dom.removeEventListener("beforeinput", r, !0), n ?
|
|
70844
|
+
return e.dom.addEventListener("beforeinput", r, !0), document.execCommand("indent"), e.dom.removeEventListener("beforeinput", r, !0), n ? z4(e, n) : null;
|
|
70845
70845
|
}
|
|
70846
70846
|
function _rt(e, t) {
|
|
70847
70847
|
for (let n = t.parentNode; n && n != e.dom; n = n.parentNode) {
|
|
@@ -70946,7 +70946,7 @@ function Vrt(e, t, n, r, o) {
|
|
|
70946
70946
|
};
|
|
70947
70947
|
else {
|
|
70948
70948
|
if (c.sel) {
|
|
70949
|
-
let M =
|
|
70949
|
+
let M = G4(e, e.state.doc, c.sel);
|
|
70950
70950
|
if (M && !M.eq(e.state.selection)) {
|
|
70951
70951
|
let w = e.state.tr.setSelection(M);
|
|
70952
70952
|
i && w.setMeta("composition", i), e.dispatch(w);
|
|
@@ -70972,7 +70972,7 @@ function Vrt(e, t, n, r, o) {
|
|
|
70972
70972
|
let x = p.start, S = p.endA, A = (M) => {
|
|
70973
70973
|
let w = M || e.state.tr.replace(x, S, c.doc.slice(p.start - c.from, p.endB - c.from));
|
|
70974
70974
|
if (c.sel) {
|
|
70975
|
-
let P =
|
|
70975
|
+
let P = G4(e, w.doc, c.sel);
|
|
70976
70976
|
P && !(hr && e.composing && P.empty && (p.start != p.endB || e.input.lastChromeDelete < Date.now() - 100) && (P.head == x || P.head == w.mapping.map(S) - 1) || oo && P.empty && P.head == x) && w.setSelection(P);
|
|
70977
70977
|
}
|
|
70978
70978
|
return i && w.setMeta("composition", i), w.scrollIntoView();
|
|
@@ -70990,7 +70990,7 @@ function Vrt(e, t, n, r, o) {
|
|
|
70990
70990
|
} else e.dispatch(A());
|
|
70991
70991
|
else e.dispatch(A());
|
|
70992
70992
|
}
|
|
70993
|
-
function
|
|
70993
|
+
function G4(e, t, n) {
|
|
70994
70994
|
return Math.max(n.anchor, n.head) > t.content.size ? null : mL(e, t.resolve(n.anchor), t.resolve(n.head));
|
|
70995
70995
|
}
|
|
70996
70996
|
function Hrt(e, t) {
|
|
@@ -71054,7 +71054,7 @@ function zrt(e, t, n, r, o) {
|
|
|
71054
71054
|
}
|
|
71055
71055
|
var vre = class {
|
|
71056
71056
|
constructor(e, t) {
|
|
71057
|
-
this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new rrt(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = t, this.state = t.state, this.directPlugins = t.plugins || [], this.directPlugins.forEach(
|
|
71057
|
+
this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new rrt(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = t, this.state = t.state, this.directPlugins = t.plugins || [], this.directPlugins.forEach(K4), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = j4(this), U4(this), this.nodeViews = Y4(this), this.docView = C4(this.state.doc, W4(this), JT(this), this.dom, this), this.domObserver = new Irt(this, (n, r, o, i) => Vrt(this, n, r, o, i)), this.domObserver.start(), ort(this), this.updatePluginViews();
|
|
71058
71058
|
}
|
|
71059
71059
|
get composing() {
|
|
71060
71060
|
return this.input.composing;
|
|
@@ -71071,7 +71071,7 @@ var vre = class {
|
|
|
71071
71071
|
update(e) {
|
|
71072
71072
|
e.handleDOMEvents != this._props.handleDOMEvents && yE(this);
|
|
71073
71073
|
let t = this._props;
|
|
71074
|
-
this._props = e, e.plugins && (e.plugins.forEach(
|
|
71074
|
+
this._props = e, e.plugins && (e.plugins.forEach(K4), this.directPlugins = e.plugins), this.updateStateInner(e.state, t);
|
|
71075
71075
|
}
|
|
71076
71076
|
setProps(e) {
|
|
71077
71077
|
let t = {};
|
|
@@ -71089,11 +71089,11 @@ var vre = class {
|
|
|
71089
71089
|
e.storedMarks && this.composing && (are(this), i = !0), this.state = e;
|
|
71090
71090
|
let s = r.plugins != e.plugins || this._props.plugins != t.plugins;
|
|
71091
71091
|
if (s || this._props.plugins != t.plugins || this._props.nodeViews != t.nodeViews) {
|
|
71092
|
-
let h =
|
|
71092
|
+
let h = Y4(this);
|
|
71093
71093
|
Wrt(h, this.nodeViews) && (this.nodeViews = h, o = !0);
|
|
71094
71094
|
}
|
|
71095
|
-
(s || t.handleDOMEvents != this._props.handleDOMEvents) && yE(this), this.editable =
|
|
71096
|
-
let a = JT(this), l =
|
|
71095
|
+
(s || t.handleDOMEvents != this._props.handleDOMEvents) && yE(this), this.editable = j4(this), U4(this);
|
|
71096
|
+
let a = JT(this), l = W4(this), c = r.plugins != e.plugins && !r.doc.eq(e.doc) ? "reset" : e.scrollToSelection > r.scrollToSelection ? "to selection" : "preserve", u = o || !this.docView.matchesNode(e.doc, l, a);
|
|
71097
71097
|
(u || !e.selection.eq(r.selection)) && (i = !0);
|
|
71098
71098
|
let d = c == "preserve" && i && this.dom.style.overflowAnchor == null && ynt(this);
|
|
71099
71099
|
if (i) {
|
|
@@ -71101,7 +71101,7 @@ var vre = class {
|
|
|
71101
71101
|
let h = u && (oo || hr) && !this.composing && !r.selection.empty && !e.selection.empty && Grt(r.selection, e.selection);
|
|
71102
71102
|
if (u) {
|
|
71103
71103
|
let p = hr ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
71104
|
-
this.composing && (this.input.compositionNode = brt(this)), (o || !this.docView.update(e.doc, l, a, this)) && (this.docView.updateOuterDeco(l), this.docView.destroy(), this.docView =
|
|
71104
|
+
this.composing && (this.input.compositionNode = brt(this)), (o || !this.docView.update(e.doc, l, a, this)) && (this.docView.updateOuterDeco(l), this.docView.destroy(), this.docView = C4(e.doc, l, a, this.dom, this)), p && (!this.trackWrites || !this.dom.contains(this.trackWrites)) && (h = !0);
|
|
71105
71105
|
}
|
|
71106
71106
|
let f = this.input.mouseDown;
|
|
71107
71107
|
h || !(f && this.domObserver.currentSelection.eq(this.domSelectionRange()) && znt(this) && f.delaySelUpdate()) ? Zs(this, h) : (Yne(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
@@ -71113,8 +71113,8 @@ var vre = class {
|
|
|
71113
71113
|
if (!(!e || !this.dom.contains(e.nodeType == 1 ? e : e.parentNode))) {
|
|
71114
71114
|
if (!this.someProp("handleScrollToSelection", (t) => t(this))) if (this.state.selection instanceof it) {
|
|
71115
71115
|
let t = this.docView.domAfterPos(this.state.selection.from);
|
|
71116
|
-
t.nodeType == 1 &&
|
|
71117
|
-
} else
|
|
71116
|
+
t.nodeType == 1 && x4(this, t.getBoundingClientRect(), e);
|
|
71117
|
+
} else x4(this, this.coordsAtPos(this.state.selection.head, 1), e);
|
|
71118
71118
|
}
|
|
71119
71119
|
}
|
|
71120
71120
|
destroyPluginViews() {
|
|
@@ -71242,14 +71242,14 @@ vre.prototype.dispatch = function(e) {
|
|
|
71242
71242
|
let t = this._props.dispatchTransaction;
|
|
71243
71243
|
t ? t.call(this, e) : this.updateState(this.state.apply(e));
|
|
71244
71244
|
};
|
|
71245
|
-
function
|
|
71245
|
+
function W4(e) {
|
|
71246
71246
|
let t = /* @__PURE__ */ Object.create(null);
|
|
71247
71247
|
return t.class = "ProseMirror", t.contenteditable = String(e.editable), e.someProp("attributes", (n) => {
|
|
71248
71248
|
if (typeof n == "function" && (n = n(e.state)), n)
|
|
71249
71249
|
for (let r in n) r == "class" ? t.class += " " + n[r] : r == "style" ? t.style = (t.style ? t.style + ";" : "") + n[r] : !t[r] && r != "contenteditable" && r != "nodeName" && (t[r] = String(n[r]));
|
|
71250
71250
|
}), t.translate || (t.translate = "no"), [ks.node(0, e.state.doc.content.size, t)];
|
|
71251
71251
|
}
|
|
71252
|
-
function
|
|
71252
|
+
function U4(e) {
|
|
71253
71253
|
if (e.markCursor) {
|
|
71254
71254
|
let t = document.createElement("img");
|
|
71255
71255
|
t.className = "ProseMirror-separator", t.setAttribute("mark-placeholder", "true"), t.setAttribute("alt", ""), e.cursorWrapper = {
|
|
@@ -71261,14 +71261,14 @@ function UB(e) {
|
|
|
71261
71261
|
};
|
|
71262
71262
|
} else e.cursorWrapper = null;
|
|
71263
71263
|
}
|
|
71264
|
-
function
|
|
71264
|
+
function j4(e) {
|
|
71265
71265
|
return !e.someProp("editable", (t) => t(e.state) === !1);
|
|
71266
71266
|
}
|
|
71267
71267
|
function Grt(e, t) {
|
|
71268
71268
|
let n = Math.min(e.$anchor.sharedDepth(e.head), t.$anchor.sharedDepth(t.head));
|
|
71269
71269
|
return e.$anchor.start(n) != t.$anchor.start(n);
|
|
71270
71270
|
}
|
|
71271
|
-
function
|
|
71271
|
+
function Y4(e) {
|
|
71272
71272
|
let t = /* @__PURE__ */ Object.create(null);
|
|
71273
71273
|
function n(r) {
|
|
71274
71274
|
for (let o in r) Object.prototype.hasOwnProperty.call(t, o) || (t[o] = r[o]);
|
|
@@ -71284,7 +71284,7 @@ function Wrt(e, t) {
|
|
|
71284
71284
|
for (let o in t) r++;
|
|
71285
71285
|
return n != r;
|
|
71286
71286
|
}
|
|
71287
|
-
function
|
|
71287
|
+
function K4(e) {
|
|
71288
71288
|
if (e.spec.state || e.spec.filterTransaction || e.spec.appendTransaction) throw new RangeError("Plugins passed directly to the view must not have a state component");
|
|
71289
71289
|
}
|
|
71290
71290
|
var sl = {
|
|
@@ -71579,13 +71579,13 @@ var sot = (e) => ({ tr: t, state: n, dispatch: r }) => {
|
|
|
71579
71579
|
}, aot = (e) => ({ tr: t, dispatch: n }) => {
|
|
71580
71580
|
const { from: r, to: o } = e;
|
|
71581
71581
|
return n && t.delete(r, o), !0;
|
|
71582
|
-
}, lot = (e) => e.content ? /^text(\*|\+)/.test(e.content) : !1,
|
|
71582
|
+
}, lot = (e) => e.content ? /^text(\*|\+)/.test(e.content) : !1, q4 = (e, t, n) => {
|
|
71583
71583
|
if (!e.parent.isInline || n === "left" && e.pos > e.start() || n === "right" && e.pos < e.end()) return e.pos;
|
|
71584
71584
|
const r = t.nodes[e.parent.type.name].spec;
|
|
71585
71585
|
return lot(r) ? n === "left" ? e.start() - 1 : e.end() + 1 : e.pos;
|
|
71586
71586
|
}, cot = (e, t, n) => ({
|
|
71587
|
-
from:
|
|
71588
|
-
to:
|
|
71587
|
+
from: q4(e, n, "left"),
|
|
71588
|
+
to: q4(t, n, "right")
|
|
71589
71589
|
}), uot = () => ({ state: e, dispatch: t }) => {
|
|
71590
71590
|
if (e.selection.empty) return !1;
|
|
71591
71591
|
if (t) {
|
|
@@ -71607,7 +71607,7 @@ function $b(e, t, n = { strict: !0 }) {
|
|
|
71607
71607
|
function xre(e, t, n = {}) {
|
|
71608
71608
|
return e.find((r) => r.type === t && $b(Object.fromEntries(Object.keys(n).map((o) => [o, r.attrs[o]])), n));
|
|
71609
71609
|
}
|
|
71610
|
-
function
|
|
71610
|
+
function X4(e, t, n = {}) {
|
|
71611
71611
|
return !!xre(e, t, n);
|
|
71612
71612
|
}
|
|
71613
71613
|
function SL(e, t, n) {
|
|
@@ -71620,9 +71620,9 @@ function SL(e, t, n) {
|
|
|
71620
71620
|
}
|
|
71621
71621
|
if (!xre([...r.node.marks], t, n)) return;
|
|
71622
71622
|
let o = r.index, i = e.start() + r.offset, s = o + 1, a = i + r.node.nodeSize;
|
|
71623
|
-
for (; o > 0 &&
|
|
71623
|
+
for (; o > 0 && X4([...e.parent.child(o - 1).marks], t, n); )
|
|
71624
71624
|
o -= 1, i -= e.parent.child(o).nodeSize;
|
|
71625
|
-
for (; s < e.parent.childCount &&
|
|
71625
|
+
for (; s < e.parent.childCount && X4([...e.parent.child(s).marks], t, n); )
|
|
71626
71626
|
a += e.parent.child(s).nodeSize, s += 1;
|
|
71627
71627
|
return {
|
|
71628
71628
|
from: i,
|
|
@@ -71665,7 +71665,7 @@ function xE(e, t = null) {
|
|
|
71665
71665
|
const o = n.from, i = r.to;
|
|
71666
71666
|
return t === "all" ? yt.create(e, oc(0, o, i), oc(e.content.size, o, i)) : yt.create(e, oc(t, o, i), oc(t, o, i));
|
|
71667
71667
|
}
|
|
71668
|
-
function
|
|
71668
|
+
function J4() {
|
|
71669
71669
|
return ["Android"].includes(navigator.platform) || /android/i.test(navigator.userAgent);
|
|
71670
71670
|
}
|
|
71671
71671
|
function zb() {
|
|
@@ -71687,7 +71687,7 @@ var got = (e = null, t = {}) => ({ editor: n, view: r, tr: o, dispatch: i }) =>
|
|
|
71687
71687
|
...t
|
|
71688
71688
|
};
|
|
71689
71689
|
const s = () => {
|
|
71690
|
-
(zb() ||
|
|
71690
|
+
(zb() || J4()) && r.dom.focus(), mot() && !zb() && !J4() && r.dom.focus({ preventScroll: !0 }), requestAnimationFrame(() => {
|
|
71691
71691
|
n.isDestroyed || (r.focus(), t?.scrollIntoView && n.commands.scrollIntoView());
|
|
71692
71692
|
});
|
|
71693
71693
|
};
|
|
@@ -71943,7 +71943,7 @@ var Iot = (e, t = {}) => ({ state: n, dispatch: r }) => Nm(n, er(e, n.schema), t
|
|
|
71943
71943
|
function Ww(e, t) {
|
|
71944
71944
|
return t.nodes[e] ? "node" : t.marks[e] ? "mark" : null;
|
|
71945
71945
|
}
|
|
71946
|
-
function
|
|
71946
|
+
function Q4(e, t) {
|
|
71947
71947
|
const n = typeof t == "string" ? [t] : t;
|
|
71948
71948
|
return Object.keys(e).reduce((r, o) => (n.includes(o) || (r[o] = e[o]), r), {});
|
|
71949
71949
|
}
|
|
@@ -71955,8 +71955,8 @@ var Dot = (e, t) => ({ tr: n, state: r, dispatch: o }) => {
|
|
|
71955
71955
|
let l = !1;
|
|
71956
71956
|
return n.selection.ranges.forEach((c) => {
|
|
71957
71957
|
r.doc.nodesBetween(c.$from.pos, c.$to.pos, (u, d) => {
|
|
71958
|
-
i && i === u.type && (l = !0, o && n.setNodeMarkup(d, void 0,
|
|
71959
|
-
s === h.type && (l = !0, o && n.addMark(d, d + u.nodeSize, s.create(
|
|
71958
|
+
i && i === u.type && (l = !0, o && n.setNodeMarkup(d, void 0, Q4(u.attrs, t))), s && u.marks.length && u.marks.forEach((h) => {
|
|
71959
|
+
s === h.type && (l = !0, o && n.addMark(d, d + u.nodeSize, s.create(Q4(h.attrs, t))));
|
|
71960
71960
|
});
|
|
71961
71961
|
});
|
|
71962
71962
|
}), l;
|
|
@@ -72152,7 +72152,7 @@ function Yot(e) {
|
|
|
72152
72152
|
}
|
|
72153
72153
|
return n && t.push(n), t;
|
|
72154
72154
|
}
|
|
72155
|
-
function
|
|
72155
|
+
function Z4(e) {
|
|
72156
72156
|
const t = [], n = Yot(e || ""), r = n.length;
|
|
72157
72157
|
for (let o = 0; o < r; o += 1) {
|
|
72158
72158
|
const i = n[o], s = i.indexOf(":");
|
|
@@ -72183,7 +72183,7 @@ function vs(...e) {
|
|
|
72183
72183
|
const s = i ? String(i).split(" ") : [], a = r[o] ? r[o].split(" ") : [], l = s.filter((c) => !a.includes(c));
|
|
72184
72184
|
r[o] = [...a, ...l].join(" ");
|
|
72185
72185
|
} else if (o === "style") {
|
|
72186
|
-
const s = new Map([...
|
|
72186
|
+
const s = new Map([...Z4(r[o]), ...Z4(i)]);
|
|
72187
72187
|
r[o] = Array.from(s.entries()).map(([a, l]) => `${a}: ${l}`).join("; ");
|
|
72188
72188
|
} else r[o] = i;
|
|
72189
72189
|
}), r;
|
|
@@ -72566,10 +72566,10 @@ var ait = (e, t = {}) => ({ tr: n, state: r, dispatch: o }) => {
|
|
|
72566
72566
|
}, lit = (e, t) => ({ tr: n }) => (n.setMeta(e, t), !0), cit = (e, t = {}) => ({ state: n, dispatch: r, chain: o }) => {
|
|
72567
72567
|
const i = er(e, n.schema);
|
|
72568
72568
|
let s;
|
|
72569
|
-
return n.selection.$anchor.sameParent(n.selection.$head) && (s = n.selection.$anchor.parent.attrs), i.isTextblock ? o().command(({ commands: a }) =>
|
|
72569
|
+
return n.selection.$anchor.sameParent(n.selection.$head) && (s = n.selection.$anchor.parent.attrs), i.isTextblock ? o().command(({ commands: a }) => g4(i, {
|
|
72570
72570
|
...s,
|
|
72571
72571
|
...t
|
|
72572
|
-
})(n) ? !0 : a.clearNodes()).command(({ state: a }) =>
|
|
72572
|
+
})(n) ? !0 : a.clearNodes()).command(({ state: a }) => g4(i, {
|
|
72573
72573
|
...s,
|
|
72574
72574
|
...t
|
|
72575
72575
|
})(a, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
|
|
@@ -74338,7 +74338,7 @@ img.ProseMirror-separator {
|
|
|
74338
74338
|
const t = this.createDoc();
|
|
74339
74339
|
if (!this.editorState) {
|
|
74340
74340
|
const n = xE(t, this.options.autofocus);
|
|
74341
|
-
this.editorState =
|
|
74341
|
+
this.editorState = m4.create({
|
|
74342
74342
|
doc: t,
|
|
74343
74343
|
schema: this.schema,
|
|
74344
74344
|
selection: n || void 0
|
|
@@ -74467,7 +74467,7 @@ img.ProseMirror-separator {
|
|
|
74467
74467
|
} catch (t) {
|
|
74468
74468
|
if (!(t instanceof Error) || !["[tiptap error]: Invalid JSON content", "[tiptap error]: Invalid HTML content"].includes(t.message)) throw t;
|
|
74469
74469
|
const n = wE(this.options.content, this.schema, this.options.parseOptions, { errorOnInvalidContent: !1 });
|
|
74470
|
-
return this.editorState =
|
|
74470
|
+
return this.editorState = m4.create({
|
|
74471
74471
|
doc: n,
|
|
74472
74472
|
schema: this.schema,
|
|
74473
74473
|
selection: xE(n, this.options.autofocus) || void 0
|
|
@@ -80561,7 +80561,7 @@ var BV = (e, t) => {
|
|
|
80561
80561
|
}, i);
|
|
80562
80562
|
case "dots":
|
|
80563
80563
|
return r.centers.length === 0 ? null : /* @__PURE__ */ m("path", {
|
|
80564
|
-
d:
|
|
80564
|
+
d: W4e(r.centers, r.size / 2),
|
|
80565
80565
|
pathLength: rie(r.size / 2, n, r.centers.length),
|
|
80566
80566
|
"data-geom": t.geom
|
|
80567
80567
|
}, i);
|
|
@@ -86858,7 +86858,7 @@ var Gvt = (e) => mh((t) => ({
|
|
|
86858
86858
|
notify: () => e.forEach((t) => t())
|
|
86859
86859
|
};
|
|
86860
86860
|
}, Xie = ({ data: e, spec: t, plugins: n = [], theme: r, glyphs: o, formattingLocale: i, handleRef: s, onSpecChange: a, onError: l, onWarnings: c, colorScheme: u = "light", children: d }) => {
|
|
86861
|
-
const h = jvt(i, c), [f] = De(() => r), [p] = De(() =>
|
|
86861
|
+
const h = jvt(i, c), [f] = De(() => r), [p] = De(() => M4e(r?.glyphs, o)), g = f?.colorScheme ?? u, [v] = De(() => zR([...f?.plugins ?? [], ...n].filter(Kie))), y = En(), [b] = De(() => rke(n)), [x] = De(() => _2(n)), [S] = De(() => kvt()), [A] = De(() => YHe()), T = q(() => lP({ colorScheme: g }), [g]), { store: M, dispatch: w, commit: P, history: D, subscribe: k, getScene: R, compileBus: E, compileErrors: L, findGeom: _ } = Wvt({
|
|
86862
86862
|
spec: t,
|
|
86863
86863
|
data: e,
|
|
86864
86864
|
colorScheme: g,
|
|
@@ -86944,7 +86944,7 @@ var Gvt = (e) => mh((t) => ({
|
|
|
86944
86944
|
value: x,
|
|
86945
86945
|
children: /* @__PURE__ */ m(Lg, {
|
|
86946
86946
|
shapes: f?.shapes,
|
|
86947
|
-
children: /* @__PURE__ */ m(
|
|
86947
|
+
children: /* @__PURE__ */ m(P4e, {
|
|
86948
86948
|
glyphs: p,
|
|
86949
86949
|
children: d
|
|
86950
86950
|
})
|
|
@@ -87421,7 +87421,7 @@ var Cyt = (e) => [...new Set(e)], kyt = (e) => ({
|
|
|
87421
87421
|
stickers: e.stickers.length,
|
|
87422
87422
|
pinnedNumbers: e.pinnedNumbers.length,
|
|
87423
87423
|
comments: e.comments.length
|
|
87424
|
-
}), Eyt = "https://3b76a42331a1e27a2adb223278bf1b48@o4505108638597120.ingest.us.sentry.io/4512260250992640", Myt = "1.9.0-beta.
|
|
87424
|
+
}), Eyt = "https://3b76a42331a1e27a2adb223278bf1b48@o4505108638597120.ingest.us.sentry.io/4512260250992640", Myt = "1.9.0-beta.1793725050993", Pyt = /^(https?):\/\/([^@]+)@([^/]+)\/(\d+)\/?$/;
|
|
87425
87425
|
function Zie() {
|
|
87426
87426
|
return Eyt;
|
|
87427
87427
|
}
|
|
@@ -87556,6 +87556,7 @@ export {
|
|
|
87556
87556
|
Lxt as CalloutsSection,
|
|
87557
87557
|
o7e as CanvasTextMeasurer,
|
|
87558
87558
|
mgt as CaptionSection,
|
|
87559
|
+
jee as ChartEditMenu,
|
|
87559
87560
|
fa as ColorRow,
|
|
87560
87561
|
GUe as ColorSwatches,
|
|
87561
87562
|
Oxt as ComboSection,
|
|
@@ -87601,7 +87602,7 @@ export {
|
|
|
87601
87602
|
Qee as GridEditMenu,
|
|
87602
87603
|
Fxt as GridSection,
|
|
87603
87604
|
Bxt as HeadlineSection,
|
|
87604
|
-
|
|
87605
|
+
CBe as HoverProvider,
|
|
87605
87606
|
U1t as IntlProvider,
|
|
87606
87607
|
Z7e as IntroFade,
|
|
87607
87608
|
uq as IntroWipeClip,
|
|
@@ -87709,7 +87710,7 @@ export {
|
|
|
87709
87710
|
Va as areAnchorsEqual,
|
|
87710
87711
|
ns as areEditTargetsEqual,
|
|
87711
87712
|
LRe as areObservationAnchorsEqual,
|
|
87712
|
-
|
|
87713
|
+
j4e as buildDotsEditOutlineShapes,
|
|
87713
87714
|
ul as buildObservationsTarget,
|
|
87714
87715
|
Bz as buildObservationsTargetAtValue,
|
|
87715
87716
|
sg as buildPanelAnchorBox,
|