@knime/scripting-editor 0.0.127 → 0.0.129
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/{AnyOfTwinlist-C0gjxeQW-C5wsbDLK.js → AnyOfTwinlist-Chx0nmt3-DPMbiVZd.js} +5 -4
- package/dist/{ArrayLayout-U4hs5LA_.js → ArrayLayout-C2-4wxkT.js} +39 -39
- package/dist/{ButtonControl-B8WGWs_m.js → ButtonControl-Dga3IomB.js} +26 -26
- package/dist/CheckboxControl-B8b1Di4k-CEkOsWEu.js +40 -0
- package/dist/CheckboxesControl-DWUnPGdN-BOSX_stf.js +42 -0
- package/dist/CodeEditorControl-CN4ltMvy.js +133 -0
- package/dist/{ColorControl-DeSwgyjS-BW1FBjqa.js → ColorControl-ByE5ku7u-C12pZ0rg.js} +10 -8
- package/dist/ColorPreviewControl-XiKZ4jfn-CLIjX6M_.js +89 -0
- package/dist/ComboBoxControl-zSceYlyZ-BgpAi7q9.js +42 -0
- package/dist/{ConfigurationNodeNotSupported-Bg2W0ik5.js → ConfigurationNodeNotSupported-B27grebd.js} +3 -3
- package/dist/ControlWithSubParameters-ROJGaqDF.js +63 -0
- package/dist/CredentialsControl-B6jczlBv.js +33 -0
- package/dist/CredentialsControlBase-CdNdAngd.js +96 -0
- package/dist/DateControl-BBGpEVpr-yZP_TZnE.js +44 -0
- package/dist/DateTimeControl-CymOURq5-Ca0mT1HW.js +89 -0
- package/dist/DateTimeFormatPickerControl-Bx19jwpr-Bd0xBs4D.js +37 -0
- package/dist/DateTimeFormatPickerWithTypeControl-Byo_0cTq-C0ZfMqtp.js +598 -0
- package/dist/{DialogFileExplorer-Bi0DVFut.js → DialogFileExplorer-BmT2YlVn.js} +2 -2
- package/dist/{DirtyTrackerRenderer-CDcL-lwX.js → DirtyTrackerRenderer-BG451zZD.js} +10 -10
- package/dist/DropdownControl-C6ffVYyf-hy0i8nDV.js +32 -0
- package/dist/DynamicInputControl-W23Zexge.js +6 -0
- package/dist/ExecutorCoresControl-D9FZ-g9O-Dws9IhAs.js +51 -0
- package/dist/ExecutorMemoryControl-__P80Lkb-DxQZ2IuA.js +44 -0
- package/dist/{FileChooserControl-BR84kEXy.js → FileChooserControl-BBbay7zU.js} +4 -3
- package/dist/{FileChooserControlBase-1oayQJzv.js → FileChooserControlBase-DpYYK3eE.js} +147 -143
- package/dist/{FileChooserControlForMultiFile-ChQtkmps.js → FileChooserControlForMultiFile-6NLYZKbt.js} +5 -4
- package/dist/FileUploadControl-DWs4PhOj-BvByW-Tq.js +545 -0
- package/dist/GridSelectionControl-WcJ4y6Fs-BoxSk0VG.js +117 -0
- package/dist/{HorizontalLayout-DwdPdBTW-w5bjgNga.js → HorizontalLayout-ByB5A7X3-BURAMMFG.js} +5 -5
- package/dist/{IntegerControl-D8OzxbRA-D9mR5ahj.js → IntegerControl-aveswmbr-50_b6vGY.js} +5 -4
- package/dist/IntervalControl-B4Eqs1Jf-CiB2D52B.js +51 -0
- package/dist/{LabeledGroup-BzXUTco4.js → LabeledGroup-BONZ_GLo.js} +3 -3
- package/dist/LegacyCredentialsControl-DaIrvNBd.js +88 -0
- package/dist/{LinkControl-BvBBTFCs-DojlONSA.js → LinkControl-DD56lOiw-CDy6OBu8.js} +10 -10
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BLSG6Lpo-CtYj2B6v.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg-BaroyBA0.js} +1 -1
- package/dist/ManualTwinlistControl-DBZ5RZgW-BV5qOGau.js +77 -0
- package/dist/MultiFileChooserControl-cyndOpF7.js +341 -0
- package/dist/{MultiRuleWrapper-TvQw5Kaj.js → MultiRuleWrapper-Db-W_o1f.js} +1 -1
- package/dist/{MultiSelectListBoxControl-nmvLP18g-feO16jJ4.js → MultiSelectListBoxControl-BMsPvxGQ-5ua-fVR8.js} +10 -9
- package/dist/{MultimodeTwinlistControl-yCdeWH2E-DG6GXu0l.js → MultimodeTwinlistControl-thO1be1r-8kc-JSH1.js} +64 -62
- package/dist/{NameFilter-D1TMJydD-Db00pnR3.js → NameFilter-DBMVmZmk-DnB-5f39.js} +7 -6
- package/dist/{NumberControl-uLMOLEbg-B_H33dGY.js → NumberControl-BPVO5l6t--nrQcx4m.js} +8 -7
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.js +54 -0
- package/dist/OneOfDropdown-DBG8ZcpV-cZs_ptrT.js +36 -0
- package/dist/{RadioButtonsWithDescriptionControl-5M_6G7Qk-BHHWv0Y0.js → RadioButtonsWithDescriptionControl-BsqMTEB5-COGPhNPs.js} +17 -17
- package/dist/RadioControl-ClJmr0EQ-BzjoXaZ3.js +21 -0
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw-Cabfycg_.js +64 -0
- package/dist/ResourceControlBase-CeXYJeR1-DSmxhV0s.js +113 -0
- package/dist/{RichTextControl-D9QD2_uO-OY669heQ.js → RichTextControl-DvYkBpzH-CtMZq2re.js} +7876 -6699
- package/dist/{SectionLayout-DY27pAtG-BIZg0kiA.js → SectionLayout-CwRO3UXc-d5rFpCRN.js} +5 -5
- package/dist/SettingsSubPanelLayout-CV6y2bcX-OzpF07vB.js +64 -0
- package/dist/{SimpleTwinlistControl-P4KEYOq0-97VRLEr4.js → SimpleTwinlistControl-BSON5VYy-BaAaU86G.js} +7 -6
- package/dist/SingleSelectControl-BSqORMYm-CBP_mVGB.js +58 -0
- package/dist/{SingleSelectListBoxControl-oMWH0vEE-Ewf1HUGa.js → SingleSelectListBoxControl-CFdKzbOK-CruT9yt-.js} +14 -13
- package/dist/{SortListControl-4v3T2j_9-BkTlN-H5.js → SortListControl-DZIHeQmn-CKRyT1hN.js} +41 -39
- package/dist/{StringFileChooserControl-BVH5iHNM.js → StringFileChooserControl-Br8gZTku.js} +33 -30
- package/dist/{StyledListItem-D3LSfgGV-B9rTS8WT.js → StyledListItem--sgmJ3W_-Bo6f-_9B.js} +1 -1
- package/dist/{TeamAndSpacesControl-CH5ImByy-aTqgKpBn.js → TeamAndSpacesControl-DiMyDT-5-Br-Lq0ki.js} +21 -20
- package/dist/TeamResourceControl-Bag_dwA1-PdtnhxEi.js +44 -0
- package/dist/{TextAreaControl-CrsZSU_f-CNj59YPm.js → TextAreaControl-B52P0DAa-McfOgZWn.js} +10 -8
- package/dist/TextControl-52n-sttB-DssWw4KP.js +50962 -0
- package/dist/TimeControl-Cu12_qpz-CK1bxhya.js +71 -0
- package/dist/TimeframesControl-DhdC8OS1-DYseJbBV.js +352 -0
- package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz-DU6yd1RM.js +45 -0
- package/dist/{TypedStringFilter-ry7fTUTx-CCJRabai.js → TypedStringFilter-zJOICQei-B-5z8atp.js} +7 -6
- package/dist/{ValueSwitchControl-aVx7pUi9-7kuEbp3H.js → ValueSwitchControl-CEVWJH7z-DzuxqLvy.js} +7 -6
- package/dist/{VennDiagramLayout-D8s5yYbT.js → VennDiagramLayout-DyTZ5EJ9.js} +24 -24
- package/dist/{VerticalLayout-Bv-LJOZ0-BTrnMnQu.js → VerticalLayout-D_13xb_m-BfU1M3IE.js} +7 -7
- package/dist/ZonedDateTimeControl-C-vO6fC1-XngmuFqW.js +82 -0
- package/dist/{ai-bar-DLr5A9ZW.js → ai-bar-DDtzX23v.js} +775 -732
- package/dist/classApi-CHpAZrj3-BptMrhKH.js +3328 -0
- package/dist/collection-BBXRVj4b-DhO8c3tP.js +22 -0
- package/dist/collection-BBXRVj4b-DzRZ2FYd-COyFmQqa.js +22 -0
- package/dist/collection-BBXRVj4b-grENCIdl.js +22 -0
- package/dist/main.js +9977 -13304
- package/dist/parameters.js +1 -1
- package/dist/plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js +52 -0
- package/dist/src/components/ScriptingEditor.vue.d.ts +6 -4
- package/dist/src/components/SettingsPage.vue.d.ts +5 -4
- package/dist/src/scripting-service.d.ts +1 -1
- package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +2003 -0
- package/dist/{useFileChooserBackend-Bs7hx7xH.js → useFileChooserBackend-CLdJ1RU1.js} +6 -6
- package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +34 -0
- package/dist/{usePossibleValues-B-W6u-1T-DcglK6MY.js → usePossibleValues-DiYOmnZW-CaSLjdK-.js} +4 -4
- package/package.json +3 -3
- package/dist/CheckboxControl-CS6iXHnF-DLCN_obF.js +0 -38
- package/dist/CheckboxesControl-CPKIkyWt-BgPFZcJW.js +0 -40
- package/dist/CodeEditorControl-DM7k0B2q.js +0 -103
- package/dist/ColorPreviewControl-CntI0nTL-qVTX4e1m.js +0 -89
- package/dist/ComboBoxControl-DBYnBkC4-1oOLCCms.js +0 -40
- package/dist/ControlWithSubParameters-DgJhqCMe.js +0 -80
- package/dist/CredentialsControl-CuHgBJQY.js +0 -32
- package/dist/CredentialsControlBase-14mA9Xg5.js +0 -96
- package/dist/DateControl-Cx_CwvNB-Cnu4FwAv.js +0 -35
- package/dist/DateTimeControl-BJsDzufC-BLhNM1JR.js +0 -56
- package/dist/DateTimeFormatPickerControl-C80v1qfK-0bjg1c9X.js +0 -35
- package/dist/DateTimeFormatPickerWithTypeControl-Dt-FKtYV-x-IJKc_b.js +0 -475
- package/dist/DropdownControl-D_BnA4-1-BWnnlfiI.js +0 -30
- package/dist/DynamicInputControl-u5VOv3zx.js +0 -6
- package/dist/ExecutorCoresControl-BnglyGMR-CagN3N5j.js +0 -56
- package/dist/ExecutorMemoryControl-CRATGs9C-Dsj7vG41.js +0 -50
- package/dist/FileUploadControl-D42rjpJg-DIoT6HeI.js +0 -221
- package/dist/GridSelectionControl-BJk8-yiM-CvDVlby0.js +0 -116
- package/dist/IntervalControl-Drljrv-b-WpTsaCtp.js +0 -751
- package/dist/LegacyCredentialsControl-C5OmuHPe.js +0 -87
- package/dist/ManualTwinlistControl-By0Hur_m-zZbz98JO.js +0 -75
- package/dist/MultiFileChooserControl-BDBYwcSY.js +0 -401
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-VVQDBYw7-FEqHVnFo.js +0 -52
- package/dist/OneOfDropdown-CDwwxb3h-DAK0CMDe.js +0 -34
- package/dist/RadioControl-C73s-icb-DSF6WESw.js +0 -24
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BScekfhl-oNoT_40f.js +0 -60
- package/dist/ResourceControlBase-Bqq1PAX_-5gNwtS9Y.js +0 -183
- package/dist/SettingsSubPanelLayout-82gMWhpv-DwWBU76p.js +0 -70
- package/dist/SingleSelectControl-C_ZKkV5m-nfkmmDbp.js +0 -56
- package/dist/TeamResourceControl-BFMuyWnk-DvcyxCqW.js +0 -47
- package/dist/TextControl-B0ag-3Pv-nwKlVRtp.js +0 -54671
- package/dist/TimeControl-Bt5OcjBc-KiaYQH-m.js +0 -41
- package/dist/TimePartInput-CvwAzDuY-CuNpUUqj.js +0 -253
- package/dist/TimeframesControl-BE3LFgyl-hQJ_5QVJ.js +0 -94
- package/dist/Tooltip-UlemzxdS-Dfhzj7no.js +0 -24
- package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-B5lCsIOD-KqyVUaZj.js +0 -42
- package/dist/ValueSwitch-BXaDBm2C-Ba93O_aZ.js +0 -130
- package/dist/ZonedDateTimeControl-6MUvXzd3-B1B9FPa7.js +0 -72
- package/dist/_Uint8Array-C_ozLuQF-DBc0hZkr.js +0 -349
- package/dist/arrow-dropdown-DMFBPPcK-uCJYJfqE.js +0 -17
- package/dist/arrow-next-BQULX8HT-DDsCfA5A.js +0 -17
- package/dist/floating-ui.vue-Fx4CxKut-DAsMxBCU.js +0 -1057
- package/dist/isArray-WzO_os3q-ClnPWjBY.js +0 -4
- package/dist/localTimeUtils-DBMwKtLh-CTshgG3l.js +0 -12470
- package/dist/src/lsp/completion.d.ts +0 -7
- package/dist/src/lsp/connection.d.ts +0 -56
- package/dist/src/lsp/diagnostics.d.ts +0 -4
- package/dist/src/lsp/doc-sync.d.ts +0 -5
- package/dist/src/lsp/hover.d.ts +0 -5
- package/dist/src/lsp/knime-io.d.ts +0 -22
- package/dist/src/lsp/mapping-utils.d.ts +0 -8
- package/dist/src/lsp/signature-help.d.ts +0 -5
- package/dist/toString-C-CNeuJl-jseUiiTM.js +0 -949
- package/dist/useDropdownNavigation-2Yhk7zes-75raAHpT.js +0 -821
- /package/dist/{useUnknownValuesInTwinlist-BbwGcno5-D2ve7iXH.js → useUnknownValuesInTwinlist-BhhirtmX-D2ve7iXH.js} +0 -0
|
@@ -1,949 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as ht, openBlock as vt, createElementVNode as yt } from "vue";
|
|
2
|
-
import { W as gt, e as Ne } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
|
|
3
|
-
import { r as bt } from "./isArray-WzO_os3q-ClnPWjBY.js";
|
|
4
|
-
const wt = {
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
stroke: "#000",
|
|
8
|
-
"stroke-linejoin": "round",
|
|
9
|
-
viewBox: "0 0 32 32"
|
|
10
|
-
};
|
|
11
|
-
function xt(e, t) {
|
|
12
|
-
return vt(), ht("svg", wt, [...t[0] || (t[0] = [
|
|
13
|
-
yt("path", { d: "M5 27 27 5M5 5l22 22" }, null, -1)
|
|
14
|
-
])]);
|
|
15
|
-
}
|
|
16
|
-
const Sn = { render: xt }, Ot = () => {
|
|
17
|
-
var e, t;
|
|
18
|
-
return (t = (e = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : e.toLowerCase()) == null ? void 0 : t.includes("mac");
|
|
19
|
-
}, At = (e) => e.ctrlKey || e.metaKey || e.altKey || e.shiftKey, Bn = (e, t) => (Array.isArray(t) ? t : [t]).includes(e.key) && !At(e), Cn = () => Ot() ? "metaKey" : "ctrlKey";
|
|
20
|
-
var M = "top", S = "bottom", B = "right", P = "left", Ee = "auto", fe = [M, S, B, P], Y = "start", ae = "end", Et = "clippingParents", ze = "viewport", re = "popper", jt = "reference", Ue = /* @__PURE__ */ fe.reduce(function(e, t) {
|
|
21
|
-
return e.concat([t + "-" + Y, t + "-" + ae]);
|
|
22
|
-
}, []), $e = /* @__PURE__ */ [].concat(fe, [Ee]).reduce(function(e, t) {
|
|
23
|
-
return e.concat([t, t + "-" + Y, t + "-" + ae]);
|
|
24
|
-
}, []), Dt = "beforeRead", kt = "read", Lt = "afterRead", Mt = "beforeMain", Pt = "main", Ht = "afterMain", Rt = "beforeWrite", Tt = "write", St = "afterWrite", Bt = [Dt, kt, Lt, Mt, Pt, Ht, Rt, Tt, St];
|
|
25
|
-
function V(e) {
|
|
26
|
-
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
27
|
-
}
|
|
28
|
-
function R(e) {
|
|
29
|
-
if (e == null)
|
|
30
|
-
return window;
|
|
31
|
-
if (e.toString() !== "[object Window]") {
|
|
32
|
-
var t = e.ownerDocument;
|
|
33
|
-
return t && t.defaultView || window;
|
|
34
|
-
}
|
|
35
|
-
return e;
|
|
36
|
-
}
|
|
37
|
-
function Z(e) {
|
|
38
|
-
var t = R(e).Element;
|
|
39
|
-
return e instanceof t || e instanceof Element;
|
|
40
|
-
}
|
|
41
|
-
function T(e) {
|
|
42
|
-
var t = R(e).HTMLElement;
|
|
43
|
-
return e instanceof t || e instanceof HTMLElement;
|
|
44
|
-
}
|
|
45
|
-
function je(e) {
|
|
46
|
-
if (typeof ShadowRoot > "u")
|
|
47
|
-
return !1;
|
|
48
|
-
var t = R(e).ShadowRoot;
|
|
49
|
-
return e instanceof t || e instanceof ShadowRoot;
|
|
50
|
-
}
|
|
51
|
-
function Ct(e) {
|
|
52
|
-
var t = e.state;
|
|
53
|
-
Object.keys(t.elements).forEach(function(n) {
|
|
54
|
-
var r = t.styles[n] || {}, o = t.attributes[n] || {}, a = t.elements[n];
|
|
55
|
-
!T(a) || !V(a) || (Object.assign(a.style, r), Object.keys(o).forEach(function(c) {
|
|
56
|
-
var s = o[c];
|
|
57
|
-
s === !1 ? a.removeAttribute(c) : a.setAttribute(c, s === !0 ? "" : s);
|
|
58
|
-
}));
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
function Wt(e) {
|
|
62
|
-
var t = e.state, n = {
|
|
63
|
-
popper: {
|
|
64
|
-
position: t.options.strategy,
|
|
65
|
-
left: "0",
|
|
66
|
-
top: "0",
|
|
67
|
-
margin: "0"
|
|
68
|
-
},
|
|
69
|
-
arrow: {
|
|
70
|
-
position: "absolute"
|
|
71
|
-
},
|
|
72
|
-
reference: {}
|
|
73
|
-
};
|
|
74
|
-
return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
|
|
75
|
-
Object.keys(t.elements).forEach(function(r) {
|
|
76
|
-
var o = t.elements[r], a = t.attributes[r] || {}, c = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), s = c.reduce(function(i, f) {
|
|
77
|
-
return i[f] = "", i;
|
|
78
|
-
}, {});
|
|
79
|
-
!T(o) || !V(o) || (Object.assign(o.style, s), Object.keys(a).forEach(function(i) {
|
|
80
|
-
o.removeAttribute(i);
|
|
81
|
-
}));
|
|
82
|
-
});
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
const qt = {
|
|
86
|
-
name: "applyStyles",
|
|
87
|
-
enabled: !0,
|
|
88
|
-
phase: "write",
|
|
89
|
-
fn: Ct,
|
|
90
|
-
effect: Wt,
|
|
91
|
-
requires: ["computeStyles"]
|
|
92
|
-
};
|
|
93
|
-
function q(e) {
|
|
94
|
-
return e.split("-")[0];
|
|
95
|
-
}
|
|
96
|
-
var X = Math.max, ye = Math.min, z = Math.round;
|
|
97
|
-
function Oe() {
|
|
98
|
-
var e = navigator.userAgentData;
|
|
99
|
-
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
100
|
-
return t.brand + "/" + t.version;
|
|
101
|
-
}).join(" ") : navigator.userAgent;
|
|
102
|
-
}
|
|
103
|
-
function et() {
|
|
104
|
-
return !/^((?!chrome|android).)*safari/i.test(Oe());
|
|
105
|
-
}
|
|
106
|
-
function $(e, t, n) {
|
|
107
|
-
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
108
|
-
var r = e.getBoundingClientRect(), o = 1, a = 1;
|
|
109
|
-
t && T(e) && (o = e.offsetWidth > 0 && z(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && z(r.height) / e.offsetHeight || 1);
|
|
110
|
-
var c = Z(e) ? R(e) : window, s = c.visualViewport, i = !et() && n, f = (r.left + (i && s ? s.offsetLeft : 0)) / o, u = (r.top + (i && s ? s.offsetTop : 0)) / a, h = r.width / o, m = r.height / a;
|
|
111
|
-
return {
|
|
112
|
-
width: h,
|
|
113
|
-
height: m,
|
|
114
|
-
top: u,
|
|
115
|
-
right: f + h,
|
|
116
|
-
bottom: u + m,
|
|
117
|
-
left: f,
|
|
118
|
-
x: f,
|
|
119
|
-
y: u
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
function De(e) {
|
|
123
|
-
var t = $(e), n = e.offsetWidth, r = e.offsetHeight;
|
|
124
|
-
return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
|
|
125
|
-
x: e.offsetLeft,
|
|
126
|
-
y: e.offsetTop,
|
|
127
|
-
width: n,
|
|
128
|
-
height: r
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
function tt(e, t) {
|
|
132
|
-
var n = t.getRootNode && t.getRootNode();
|
|
133
|
-
if (e.contains(t))
|
|
134
|
-
return !0;
|
|
135
|
-
if (n && je(n)) {
|
|
136
|
-
var r = t;
|
|
137
|
-
do {
|
|
138
|
-
if (r && e.isSameNode(r))
|
|
139
|
-
return !0;
|
|
140
|
-
r = r.parentNode || r.host;
|
|
141
|
-
} while (r);
|
|
142
|
-
}
|
|
143
|
-
return !1;
|
|
144
|
-
}
|
|
145
|
-
function U(e) {
|
|
146
|
-
return R(e).getComputedStyle(e);
|
|
147
|
-
}
|
|
148
|
-
function Vt(e) {
|
|
149
|
-
return ["table", "td", "th"].indexOf(V(e)) >= 0;
|
|
150
|
-
}
|
|
151
|
-
function I(e) {
|
|
152
|
-
return ((Z(e) ? e.ownerDocument : (
|
|
153
|
-
// $FlowFixMe[prop-missing]
|
|
154
|
-
e.document
|
|
155
|
-
)) || window.document).documentElement;
|
|
156
|
-
}
|
|
157
|
-
function ge(e) {
|
|
158
|
-
return V(e) === "html" ? e : (
|
|
159
|
-
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
160
|
-
// $FlowFixMe[incompatible-return]
|
|
161
|
-
// $FlowFixMe[prop-missing]
|
|
162
|
-
e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
163
|
-
e.parentNode || // DOM Element detected
|
|
164
|
-
(je(e) ? e.host : null) || // ShadowRoot detected
|
|
165
|
-
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
166
|
-
I(e)
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
|
-
function Ie(e) {
|
|
170
|
-
return !T(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
171
|
-
U(e).position === "fixed" ? null : e.offsetParent;
|
|
172
|
-
}
|
|
173
|
-
function Nt(e) {
|
|
174
|
-
var t = /firefox/i.test(Oe()), n = /Trident/i.test(Oe());
|
|
175
|
-
if (n && T(e)) {
|
|
176
|
-
var r = U(e);
|
|
177
|
-
if (r.position === "fixed")
|
|
178
|
-
return null;
|
|
179
|
-
}
|
|
180
|
-
var o = ge(e);
|
|
181
|
-
for (je(o) && (o = o.host); T(o) && ["html", "body"].indexOf(V(o)) < 0; ) {
|
|
182
|
-
var a = U(o);
|
|
183
|
-
if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || t && a.willChange === "filter" || t && a.filter && a.filter !== "none")
|
|
184
|
-
return o;
|
|
185
|
-
o = o.parentNode;
|
|
186
|
-
}
|
|
187
|
-
return null;
|
|
188
|
-
}
|
|
189
|
-
function ce(e) {
|
|
190
|
-
for (var t = R(e), n = Ie(e); n && Vt(n) && U(n).position === "static"; )
|
|
191
|
-
n = Ie(n);
|
|
192
|
-
return n && (V(n) === "html" || V(n) === "body" && U(n).position === "static") ? t : n || Nt(e) || t;
|
|
193
|
-
}
|
|
194
|
-
function ke(e) {
|
|
195
|
-
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
196
|
-
}
|
|
197
|
-
function oe(e, t, n) {
|
|
198
|
-
return X(e, ye(t, n));
|
|
199
|
-
}
|
|
200
|
-
function Ut(e, t, n) {
|
|
201
|
-
var r = oe(e, t, n);
|
|
202
|
-
return r > n ? n : r;
|
|
203
|
-
}
|
|
204
|
-
function nt() {
|
|
205
|
-
return {
|
|
206
|
-
top: 0,
|
|
207
|
-
right: 0,
|
|
208
|
-
bottom: 0,
|
|
209
|
-
left: 0
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
function rt(e) {
|
|
213
|
-
return Object.assign({}, nt(), e);
|
|
214
|
-
}
|
|
215
|
-
function ot(e, t) {
|
|
216
|
-
return t.reduce(function(n, r) {
|
|
217
|
-
return n[r] = e, n;
|
|
218
|
-
}, {});
|
|
219
|
-
}
|
|
220
|
-
var It = function(e, t) {
|
|
221
|
-
return e = typeof e == "function" ? e(Object.assign({}, t.rects, {
|
|
222
|
-
placement: t.placement
|
|
223
|
-
})) : e, rt(typeof e != "number" ? e : ot(e, fe));
|
|
224
|
-
};
|
|
225
|
-
function _t(e) {
|
|
226
|
-
var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, c = n.modifiersData.popperOffsets, s = q(n.placement), i = ke(s), f = [P, B].indexOf(s) >= 0, u = f ? "height" : "width";
|
|
227
|
-
if (!(!a || !c)) {
|
|
228
|
-
var h = It(o.padding, n), m = De(a), l = i === "y" ? M : P, g = i === "y" ? S : B, p = n.rects.reference[u] + n.rects.reference[i] - c[i] - n.rects.popper[u], y = c[i] - n.rects.reference[i], b = ce(a), x = b ? i === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, O = p / 2 - y / 2, d = h[l], v = x - m[u] - h[g], w = x / 2 - m[u] / 2 + O, A = oe(d, w, v), E = i;
|
|
229
|
-
n.modifiersData[r] = (t = {}, t[E] = A, t.centerOffset = A - w, t);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
function Kt(e) {
|
|
233
|
-
var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
|
|
234
|
-
o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || tt(t.elements.popper, o) && (t.elements.arrow = o));
|
|
235
|
-
}
|
|
236
|
-
const Ft = {
|
|
237
|
-
name: "arrow",
|
|
238
|
-
enabled: !0,
|
|
239
|
-
phase: "main",
|
|
240
|
-
fn: _t,
|
|
241
|
-
effect: Kt,
|
|
242
|
-
requires: ["popperOffsets"],
|
|
243
|
-
requiresIfExists: ["preventOverflow"]
|
|
244
|
-
};
|
|
245
|
-
function ee(e) {
|
|
246
|
-
return e.split("-")[1];
|
|
247
|
-
}
|
|
248
|
-
var Gt = {
|
|
249
|
-
top: "auto",
|
|
250
|
-
right: "auto",
|
|
251
|
-
bottom: "auto",
|
|
252
|
-
left: "auto"
|
|
253
|
-
};
|
|
254
|
-
function Qt(e, t) {
|
|
255
|
-
var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
|
|
256
|
-
return {
|
|
257
|
-
x: z(n * o) / o || 0,
|
|
258
|
-
y: z(r * o) / o || 0
|
|
259
|
-
};
|
|
260
|
-
}
|
|
261
|
-
function _e(e) {
|
|
262
|
-
var t, n = e.popper, r = e.popperRect, o = e.placement, a = e.variation, c = e.offsets, s = e.position, i = e.gpuAcceleration, f = e.adaptive, u = e.roundOffsets, h = e.isFixed, m = c.x, l = m === void 0 ? 0 : m, g = c.y, p = g === void 0 ? 0 : g, y = typeof u == "function" ? u({
|
|
263
|
-
x: l,
|
|
264
|
-
y: p
|
|
265
|
-
}) : {
|
|
266
|
-
x: l,
|
|
267
|
-
y: p
|
|
268
|
-
};
|
|
269
|
-
l = y.x, p = y.y;
|
|
270
|
-
var b = c.hasOwnProperty("x"), x = c.hasOwnProperty("y"), O = P, d = M, v = window;
|
|
271
|
-
if (f) {
|
|
272
|
-
var w = ce(n), A = "clientHeight", E = "clientWidth";
|
|
273
|
-
if (w === R(n) && (w = I(n), U(w).position !== "static" && s === "absolute" && (A = "scrollHeight", E = "scrollWidth")), w = w, o === M || (o === P || o === B) && a === ae) {
|
|
274
|
-
d = S;
|
|
275
|
-
var D = h && w === v && v.visualViewport ? v.visualViewport.height : (
|
|
276
|
-
// $FlowFixMe[prop-missing]
|
|
277
|
-
w[A]
|
|
278
|
-
);
|
|
279
|
-
p -= D - r.height, p *= i ? 1 : -1;
|
|
280
|
-
}
|
|
281
|
-
if (o === P || (o === M || o === S) && a === ae) {
|
|
282
|
-
O = B;
|
|
283
|
-
var k = h && w === v && v.visualViewport ? v.visualViewport.width : (
|
|
284
|
-
// $FlowFixMe[prop-missing]
|
|
285
|
-
w[E]
|
|
286
|
-
);
|
|
287
|
-
l -= k - r.width, l *= i ? 1 : -1;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
var j = Object.assign({
|
|
291
|
-
position: s
|
|
292
|
-
}, f && Gt), C = u === !0 ? Qt({
|
|
293
|
-
x: l,
|
|
294
|
-
y: p
|
|
295
|
-
}, R(n)) : {
|
|
296
|
-
x: l,
|
|
297
|
-
y: p
|
|
298
|
-
};
|
|
299
|
-
if (l = C.x, p = C.y, i) {
|
|
300
|
-
var L;
|
|
301
|
-
return Object.assign({}, j, (L = {}, L[d] = x ? "0" : "", L[O] = b ? "0" : "", L.transform = (v.devicePixelRatio || 1) <= 1 ? "translate(" + l + "px, " + p + "px)" : "translate3d(" + l + "px, " + p + "px, 0)", L));
|
|
302
|
-
}
|
|
303
|
-
return Object.assign({}, j, (t = {}, t[d] = x ? p + "px" : "", t[O] = b ? l + "px" : "", t.transform = "", t));
|
|
304
|
-
}
|
|
305
|
-
function Xt(e) {
|
|
306
|
-
var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, a = n.adaptive, c = a === void 0 ? !0 : a, s = n.roundOffsets, i = s === void 0 ? !0 : s, f = {
|
|
307
|
-
placement: q(t.placement),
|
|
308
|
-
variation: ee(t.placement),
|
|
309
|
-
popper: t.elements.popper,
|
|
310
|
-
popperRect: t.rects.popper,
|
|
311
|
-
gpuAcceleration: o,
|
|
312
|
-
isFixed: t.options.strategy === "fixed"
|
|
313
|
-
};
|
|
314
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, _e(Object.assign({}, f, {
|
|
315
|
-
offsets: t.modifiersData.popperOffsets,
|
|
316
|
-
position: t.options.strategy,
|
|
317
|
-
adaptive: c,
|
|
318
|
-
roundOffsets: i
|
|
319
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, _e(Object.assign({}, f, {
|
|
320
|
-
offsets: t.modifiersData.arrow,
|
|
321
|
-
position: "absolute",
|
|
322
|
-
adaptive: !1,
|
|
323
|
-
roundOffsets: i
|
|
324
|
-
})))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
325
|
-
"data-popper-placement": t.placement
|
|
326
|
-
});
|
|
327
|
-
}
|
|
328
|
-
const Zt = {
|
|
329
|
-
name: "computeStyles",
|
|
330
|
-
enabled: !0,
|
|
331
|
-
phase: "beforeWrite",
|
|
332
|
-
fn: Xt,
|
|
333
|
-
data: {}
|
|
334
|
-
};
|
|
335
|
-
var he = {
|
|
336
|
-
passive: !0
|
|
337
|
-
};
|
|
338
|
-
function Jt(e) {
|
|
339
|
-
var t = e.state, n = e.instance, r = e.options, o = r.scroll, a = o === void 0 ? !0 : o, c = r.resize, s = c === void 0 ? !0 : c, i = R(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
340
|
-
return a && f.forEach(function(u) {
|
|
341
|
-
u.addEventListener("scroll", n.update, he);
|
|
342
|
-
}), s && i.addEventListener("resize", n.update, he), function() {
|
|
343
|
-
a && f.forEach(function(u) {
|
|
344
|
-
u.removeEventListener("scroll", n.update, he);
|
|
345
|
-
}), s && i.removeEventListener("resize", n.update, he);
|
|
346
|
-
};
|
|
347
|
-
}
|
|
348
|
-
const Yt = {
|
|
349
|
-
name: "eventListeners",
|
|
350
|
-
enabled: !0,
|
|
351
|
-
phase: "write",
|
|
352
|
-
fn: function() {
|
|
353
|
-
},
|
|
354
|
-
effect: Jt,
|
|
355
|
-
data: {}
|
|
356
|
-
};
|
|
357
|
-
var zt = {
|
|
358
|
-
left: "right",
|
|
359
|
-
right: "left",
|
|
360
|
-
bottom: "top",
|
|
361
|
-
top: "bottom"
|
|
362
|
-
};
|
|
363
|
-
function ve(e) {
|
|
364
|
-
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
365
|
-
return zt[t];
|
|
366
|
-
});
|
|
367
|
-
}
|
|
368
|
-
var $t = {
|
|
369
|
-
start: "end",
|
|
370
|
-
end: "start"
|
|
371
|
-
};
|
|
372
|
-
function Ke(e) {
|
|
373
|
-
return e.replace(/start|end/g, function(t) {
|
|
374
|
-
return $t[t];
|
|
375
|
-
});
|
|
376
|
-
}
|
|
377
|
-
function Le(e) {
|
|
378
|
-
var t = R(e), n = t.pageXOffset, r = t.pageYOffset;
|
|
379
|
-
return {
|
|
380
|
-
scrollLeft: n,
|
|
381
|
-
scrollTop: r
|
|
382
|
-
};
|
|
383
|
-
}
|
|
384
|
-
function Me(e) {
|
|
385
|
-
return $(I(e)).left + Le(e).scrollLeft;
|
|
386
|
-
}
|
|
387
|
-
function en(e, t) {
|
|
388
|
-
var n = R(e), r = I(e), o = n.visualViewport, a = r.clientWidth, c = r.clientHeight, s = 0, i = 0;
|
|
389
|
-
if (o) {
|
|
390
|
-
a = o.width, c = o.height;
|
|
391
|
-
var f = et();
|
|
392
|
-
(f || !f && t === "fixed") && (s = o.offsetLeft, i = o.offsetTop);
|
|
393
|
-
}
|
|
394
|
-
return {
|
|
395
|
-
width: a,
|
|
396
|
-
height: c,
|
|
397
|
-
x: s + Me(e),
|
|
398
|
-
y: i
|
|
399
|
-
};
|
|
400
|
-
}
|
|
401
|
-
function tn(e) {
|
|
402
|
-
var t, n = I(e), r = Le(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, a = X(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), c = X(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), s = -r.scrollLeft + Me(e), i = -r.scrollTop;
|
|
403
|
-
return U(o || n).direction === "rtl" && (s += X(n.clientWidth, o ? o.clientWidth : 0) - a), {
|
|
404
|
-
width: a,
|
|
405
|
-
height: c,
|
|
406
|
-
x: s,
|
|
407
|
-
y: i
|
|
408
|
-
};
|
|
409
|
-
}
|
|
410
|
-
function Pe(e) {
|
|
411
|
-
var t = U(e), n = t.overflow, r = t.overflowX, o = t.overflowY;
|
|
412
|
-
return /auto|scroll|overlay|hidden/.test(n + o + r);
|
|
413
|
-
}
|
|
414
|
-
function it(e) {
|
|
415
|
-
return ["html", "body", "#document"].indexOf(V(e)) >= 0 ? e.ownerDocument.body : T(e) && Pe(e) ? e : it(ge(e));
|
|
416
|
-
}
|
|
417
|
-
function ie(e, t) {
|
|
418
|
-
var n;
|
|
419
|
-
t === void 0 && (t = []);
|
|
420
|
-
var r = it(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = R(r), c = o ? [a].concat(a.visualViewport || [], Pe(r) ? r : []) : r, s = t.concat(c);
|
|
421
|
-
return o ? s : (
|
|
422
|
-
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
423
|
-
s.concat(ie(ge(c)))
|
|
424
|
-
);
|
|
425
|
-
}
|
|
426
|
-
function Ae(e) {
|
|
427
|
-
return Object.assign({}, e, {
|
|
428
|
-
left: e.x,
|
|
429
|
-
top: e.y,
|
|
430
|
-
right: e.x + e.width,
|
|
431
|
-
bottom: e.y + e.height
|
|
432
|
-
});
|
|
433
|
-
}
|
|
434
|
-
function nn(e, t) {
|
|
435
|
-
var n = $(e, !1, t === "fixed");
|
|
436
|
-
return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
437
|
-
}
|
|
438
|
-
function Fe(e, t, n) {
|
|
439
|
-
return t === ze ? Ae(en(e, n)) : Z(t) ? nn(t, n) : Ae(tn(I(e)));
|
|
440
|
-
}
|
|
441
|
-
function rn(e) {
|
|
442
|
-
var t = ie(ge(e)), n = ["absolute", "fixed"].indexOf(U(e).position) >= 0, r = n && T(e) ? ce(e) : e;
|
|
443
|
-
return Z(r) ? t.filter(function(o) {
|
|
444
|
-
return Z(o) && tt(o, r) && V(o) !== "body";
|
|
445
|
-
}) : [];
|
|
446
|
-
}
|
|
447
|
-
function on(e, t, n, r) {
|
|
448
|
-
var o = t === "clippingParents" ? rn(e) : [].concat(t), a = [].concat(o, [n]), c = a[0], s = a.reduce(function(i, f) {
|
|
449
|
-
var u = Fe(e, f, r);
|
|
450
|
-
return i.top = X(u.top, i.top), i.right = ye(u.right, i.right), i.bottom = ye(u.bottom, i.bottom), i.left = X(u.left, i.left), i;
|
|
451
|
-
}, Fe(e, c, r));
|
|
452
|
-
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
453
|
-
}
|
|
454
|
-
function at(e) {
|
|
455
|
-
var t = e.reference, n = e.element, r = e.placement, o = r ? q(r) : null, a = r ? ee(r) : null, c = t.x + t.width / 2 - n.width / 2, s = t.y + t.height / 2 - n.height / 2, i;
|
|
456
|
-
switch (o) {
|
|
457
|
-
case M:
|
|
458
|
-
i = {
|
|
459
|
-
x: c,
|
|
460
|
-
y: t.y - n.height
|
|
461
|
-
};
|
|
462
|
-
break;
|
|
463
|
-
case S:
|
|
464
|
-
i = {
|
|
465
|
-
x: c,
|
|
466
|
-
y: t.y + t.height
|
|
467
|
-
};
|
|
468
|
-
break;
|
|
469
|
-
case B:
|
|
470
|
-
i = {
|
|
471
|
-
x: t.x + t.width,
|
|
472
|
-
y: s
|
|
473
|
-
};
|
|
474
|
-
break;
|
|
475
|
-
case P:
|
|
476
|
-
i = {
|
|
477
|
-
x: t.x - n.width,
|
|
478
|
-
y: s
|
|
479
|
-
};
|
|
480
|
-
break;
|
|
481
|
-
default:
|
|
482
|
-
i = {
|
|
483
|
-
x: t.x,
|
|
484
|
-
y: t.y
|
|
485
|
-
};
|
|
486
|
-
}
|
|
487
|
-
var f = o ? ke(o) : null;
|
|
488
|
-
if (f != null) {
|
|
489
|
-
var u = f === "y" ? "height" : "width";
|
|
490
|
-
switch (a) {
|
|
491
|
-
case Y:
|
|
492
|
-
i[f] = i[f] - (t[u] / 2 - n[u] / 2);
|
|
493
|
-
break;
|
|
494
|
-
case ae:
|
|
495
|
-
i[f] = i[f] + (t[u] / 2 - n[u] / 2);
|
|
496
|
-
break;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
return i;
|
|
500
|
-
}
|
|
501
|
-
function se(e, t) {
|
|
502
|
-
t === void 0 && (t = {});
|
|
503
|
-
var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, c = a === void 0 ? e.strategy : a, s = n.boundary, i = s === void 0 ? Et : s, f = n.rootBoundary, u = f === void 0 ? ze : f, h = n.elementContext, m = h === void 0 ? re : h, l = n.altBoundary, g = l === void 0 ? !1 : l, p = n.padding, y = p === void 0 ? 0 : p, b = rt(typeof y != "number" ? y : ot(y, fe)), x = m === re ? jt : re, O = e.rects.popper, d = e.elements[g ? x : m], v = on(Z(d) ? d : d.contextElement || I(e.elements.popper), i, u, c), w = $(e.elements.reference), A = at({
|
|
504
|
-
reference: w,
|
|
505
|
-
element: O,
|
|
506
|
-
placement: o
|
|
507
|
-
}), E = Ae(Object.assign({}, O, A)), D = m === re ? E : w, k = {
|
|
508
|
-
top: v.top - D.top + b.top,
|
|
509
|
-
bottom: D.bottom - v.bottom + b.bottom,
|
|
510
|
-
left: v.left - D.left + b.left,
|
|
511
|
-
right: D.right - v.right + b.right
|
|
512
|
-
}, j = e.modifiersData.offset;
|
|
513
|
-
if (m === re && j) {
|
|
514
|
-
var C = j[o];
|
|
515
|
-
Object.keys(k).forEach(function(L) {
|
|
516
|
-
var _ = [B, S].indexOf(L) >= 0 ? 1 : -1, K = [M, S].indexOf(L) >= 0 ? "y" : "x";
|
|
517
|
-
k[L] += C[K] * _;
|
|
518
|
-
});
|
|
519
|
-
}
|
|
520
|
-
return k;
|
|
521
|
-
}
|
|
522
|
-
function an(e, t) {
|
|
523
|
-
t === void 0 && (t = {});
|
|
524
|
-
var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, c = n.padding, s = n.flipVariations, i = n.allowedAutoPlacements, f = i === void 0 ? $e : i, u = ee(r), h = u ? s ? Ue : Ue.filter(function(g) {
|
|
525
|
-
return ee(g) === u;
|
|
526
|
-
}) : fe, m = h.filter(function(g) {
|
|
527
|
-
return f.indexOf(g) >= 0;
|
|
528
|
-
});
|
|
529
|
-
m.length === 0 && (m = h);
|
|
530
|
-
var l = m.reduce(function(g, p) {
|
|
531
|
-
return g[p] = se(e, {
|
|
532
|
-
placement: p,
|
|
533
|
-
boundary: o,
|
|
534
|
-
rootBoundary: a,
|
|
535
|
-
padding: c
|
|
536
|
-
})[q(p)], g;
|
|
537
|
-
}, {});
|
|
538
|
-
return Object.keys(l).sort(function(g, p) {
|
|
539
|
-
return l[g] - l[p];
|
|
540
|
-
});
|
|
541
|
-
}
|
|
542
|
-
function sn(e) {
|
|
543
|
-
if (q(e) === Ee)
|
|
544
|
-
return [];
|
|
545
|
-
var t = ve(e);
|
|
546
|
-
return [Ke(e), t, Ke(t)];
|
|
547
|
-
}
|
|
548
|
-
function fn(e) {
|
|
549
|
-
var t = e.state, n = e.options, r = e.name;
|
|
550
|
-
if (!t.modifiersData[r]._skip) {
|
|
551
|
-
for (var o = n.mainAxis, a = o === void 0 ? !0 : o, c = n.altAxis, s = c === void 0 ? !0 : c, i = n.fallbackPlacements, f = n.padding, u = n.boundary, h = n.rootBoundary, m = n.altBoundary, l = n.flipVariations, g = l === void 0 ? !0 : l, p = n.allowedAutoPlacements, y = t.options.placement, b = q(y), x = b === y, O = i || (x || !g ? [ve(y)] : sn(y)), d = [y].concat(O).reduce(function(G, N) {
|
|
552
|
-
return G.concat(q(N) === Ee ? an(t, {
|
|
553
|
-
placement: N,
|
|
554
|
-
boundary: u,
|
|
555
|
-
rootBoundary: h,
|
|
556
|
-
padding: f,
|
|
557
|
-
flipVariations: g,
|
|
558
|
-
allowedAutoPlacements: p
|
|
559
|
-
}) : N);
|
|
560
|
-
}, []), v = t.rects.reference, w = t.rects.popper, A = /* @__PURE__ */ new Map(), E = !0, D = d[0], k = 0; k < d.length; k++) {
|
|
561
|
-
var j = d[k], C = q(j), L = ee(j) === Y, _ = [M, S].indexOf(C) >= 0, K = _ ? "width" : "height", H = se(t, {
|
|
562
|
-
placement: j,
|
|
563
|
-
boundary: u,
|
|
564
|
-
rootBoundary: h,
|
|
565
|
-
altBoundary: m,
|
|
566
|
-
padding: f
|
|
567
|
-
}), W = _ ? L ? B : P : L ? S : M;
|
|
568
|
-
v[K] > w[K] && (W = ve(W));
|
|
569
|
-
var ue = ve(W), F = [];
|
|
570
|
-
if (a && F.push(H[C] <= 0), s && F.push(H[W] <= 0, H[ue] <= 0), F.every(function(G) {
|
|
571
|
-
return G;
|
|
572
|
-
})) {
|
|
573
|
-
D = j, E = !1;
|
|
574
|
-
break;
|
|
575
|
-
}
|
|
576
|
-
A.set(j, F);
|
|
577
|
-
}
|
|
578
|
-
if (E)
|
|
579
|
-
for (var pe = g ? 3 : 1, be = function(G) {
|
|
580
|
-
var N = d.find(function(de) {
|
|
581
|
-
var ne = A.get(de);
|
|
582
|
-
if (ne)
|
|
583
|
-
return ne.slice(0, G).every(function(J) {
|
|
584
|
-
return J;
|
|
585
|
-
});
|
|
586
|
-
});
|
|
587
|
-
if (N)
|
|
588
|
-
return D = N, "break";
|
|
589
|
-
}, te = pe; te > 0; te--) {
|
|
590
|
-
var le = be(te);
|
|
591
|
-
if (le === "break") break;
|
|
592
|
-
}
|
|
593
|
-
t.placement !== D && (t.modifiersData[r]._skip = !0, t.placement = D, t.reset = !0);
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
const cn = {
|
|
597
|
-
name: "flip",
|
|
598
|
-
enabled: !0,
|
|
599
|
-
phase: "main",
|
|
600
|
-
fn,
|
|
601
|
-
requiresIfExists: ["offset"],
|
|
602
|
-
data: {
|
|
603
|
-
_skip: !1
|
|
604
|
-
}
|
|
605
|
-
};
|
|
606
|
-
function Ge(e, t, n) {
|
|
607
|
-
return n === void 0 && (n = {
|
|
608
|
-
x: 0,
|
|
609
|
-
y: 0
|
|
610
|
-
}), {
|
|
611
|
-
top: e.top - t.height - n.y,
|
|
612
|
-
right: e.right - t.width + n.x,
|
|
613
|
-
bottom: e.bottom - t.height + n.y,
|
|
614
|
-
left: e.left - t.width - n.x
|
|
615
|
-
};
|
|
616
|
-
}
|
|
617
|
-
function Qe(e) {
|
|
618
|
-
return [M, B, S, P].some(function(t) {
|
|
619
|
-
return e[t] >= 0;
|
|
620
|
-
});
|
|
621
|
-
}
|
|
622
|
-
function un(e) {
|
|
623
|
-
var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, c = se(t, {
|
|
624
|
-
elementContext: "reference"
|
|
625
|
-
}), s = se(t, {
|
|
626
|
-
altBoundary: !0
|
|
627
|
-
}), i = Ge(c, r), f = Ge(s, o, a), u = Qe(i), h = Qe(f);
|
|
628
|
-
t.modifiersData[n] = {
|
|
629
|
-
referenceClippingOffsets: i,
|
|
630
|
-
popperEscapeOffsets: f,
|
|
631
|
-
isReferenceHidden: u,
|
|
632
|
-
hasPopperEscaped: h
|
|
633
|
-
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
634
|
-
"data-popper-reference-hidden": u,
|
|
635
|
-
"data-popper-escaped": h
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
const pn = {
|
|
639
|
-
name: "hide",
|
|
640
|
-
enabled: !0,
|
|
641
|
-
phase: "main",
|
|
642
|
-
requiresIfExists: ["preventOverflow"],
|
|
643
|
-
fn: un
|
|
644
|
-
};
|
|
645
|
-
function ln(e, t, n) {
|
|
646
|
-
var r = q(e), o = [P, M].indexOf(r) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, {
|
|
647
|
-
placement: e
|
|
648
|
-
})) : n, c = a[0], s = a[1];
|
|
649
|
-
return c = c || 0, s = (s || 0) * o, [P, B].indexOf(r) >= 0 ? {
|
|
650
|
-
x: s,
|
|
651
|
-
y: c
|
|
652
|
-
} : {
|
|
653
|
-
x: c,
|
|
654
|
-
y: s
|
|
655
|
-
};
|
|
656
|
-
}
|
|
657
|
-
function dn(e) {
|
|
658
|
-
var t = e.state, n = e.options, r = e.name, o = n.offset, a = o === void 0 ? [0, 0] : o, c = $e.reduce(function(u, h) {
|
|
659
|
-
return u[h] = ln(h, t.rects, a), u;
|
|
660
|
-
}, {}), s = c[t.placement], i = s.x, f = s.y;
|
|
661
|
-
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += i, t.modifiersData.popperOffsets.y += f), t.modifiersData[r] = c;
|
|
662
|
-
}
|
|
663
|
-
const mn = {
|
|
664
|
-
name: "offset",
|
|
665
|
-
enabled: !0,
|
|
666
|
-
phase: "main",
|
|
667
|
-
requires: ["popperOffsets"],
|
|
668
|
-
fn: dn
|
|
669
|
-
};
|
|
670
|
-
function hn(e) {
|
|
671
|
-
var t = e.state, n = e.name;
|
|
672
|
-
t.modifiersData[n] = at({
|
|
673
|
-
reference: t.rects.reference,
|
|
674
|
-
element: t.rects.popper,
|
|
675
|
-
placement: t.placement
|
|
676
|
-
});
|
|
677
|
-
}
|
|
678
|
-
const vn = {
|
|
679
|
-
name: "popperOffsets",
|
|
680
|
-
enabled: !0,
|
|
681
|
-
phase: "read",
|
|
682
|
-
fn: hn,
|
|
683
|
-
data: {}
|
|
684
|
-
};
|
|
685
|
-
function yn(e) {
|
|
686
|
-
return e === "x" ? "y" : "x";
|
|
687
|
-
}
|
|
688
|
-
function gn(e) {
|
|
689
|
-
var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, c = n.altAxis, s = c === void 0 ? !1 : c, i = n.boundary, f = n.rootBoundary, u = n.altBoundary, h = n.padding, m = n.tether, l = m === void 0 ? !0 : m, g = n.tetherOffset, p = g === void 0 ? 0 : g, y = se(t, {
|
|
690
|
-
boundary: i,
|
|
691
|
-
rootBoundary: f,
|
|
692
|
-
padding: h,
|
|
693
|
-
altBoundary: u
|
|
694
|
-
}), b = q(t.placement), x = ee(t.placement), O = !x, d = ke(b), v = yn(d), w = t.modifiersData.popperOffsets, A = t.rects.reference, E = t.rects.popper, D = typeof p == "function" ? p(Object.assign({}, t.rects, {
|
|
695
|
-
placement: t.placement
|
|
696
|
-
})) : p, k = typeof D == "number" ? {
|
|
697
|
-
mainAxis: D,
|
|
698
|
-
altAxis: D
|
|
699
|
-
} : Object.assign({
|
|
700
|
-
mainAxis: 0,
|
|
701
|
-
altAxis: 0
|
|
702
|
-
}, D), j = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, C = {
|
|
703
|
-
x: 0,
|
|
704
|
-
y: 0
|
|
705
|
-
};
|
|
706
|
-
if (w) {
|
|
707
|
-
if (a) {
|
|
708
|
-
var L, _ = d === "y" ? M : P, K = d === "y" ? S : B, H = d === "y" ? "height" : "width", W = w[d], ue = W + y[_], F = W - y[K], pe = l ? -E[H] / 2 : 0, be = x === Y ? A[H] : E[H], te = x === Y ? -E[H] : -A[H], le = t.elements.arrow, G = l && le ? De(le) : {
|
|
709
|
-
width: 0,
|
|
710
|
-
height: 0
|
|
711
|
-
}, N = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : nt(), de = N[_], ne = N[K], J = oe(0, A[H], G[H]), ft = O ? A[H] / 2 - pe - J - de - k.mainAxis : be - J - de - k.mainAxis, ct = O ? -A[H] / 2 + pe + J + ne + k.mainAxis : te + J + ne + k.mainAxis, we = t.elements.arrow && ce(t.elements.arrow), ut = we ? d === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, He = (L = j == null ? void 0 : j[d]) != null ? L : 0, pt = W + ft - He - ut, lt = W + ct - He, Re = oe(l ? ye(ue, pt) : ue, W, l ? X(F, lt) : F);
|
|
712
|
-
w[d] = Re, C[d] = Re - W;
|
|
713
|
-
}
|
|
714
|
-
if (s) {
|
|
715
|
-
var Te, dt = d === "x" ? M : P, mt = d === "x" ? S : B, Q = w[v], me = v === "y" ? "height" : "width", Se = Q + y[dt], Be = Q - y[mt], xe = [M, P].indexOf(b) !== -1, Ce = (Te = j == null ? void 0 : j[v]) != null ? Te : 0, We = xe ? Se : Q - A[me] - E[me] - Ce + k.altAxis, qe = xe ? Q + A[me] + E[me] - Ce - k.altAxis : Be, Ve = l && xe ? Ut(We, Q, qe) : oe(l ? We : Se, Q, l ? qe : Be);
|
|
716
|
-
w[v] = Ve, C[v] = Ve - Q;
|
|
717
|
-
}
|
|
718
|
-
t.modifiersData[r] = C;
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
const bn = {
|
|
722
|
-
name: "preventOverflow",
|
|
723
|
-
enabled: !0,
|
|
724
|
-
phase: "main",
|
|
725
|
-
fn: gn,
|
|
726
|
-
requiresIfExists: ["offset"]
|
|
727
|
-
};
|
|
728
|
-
function wn(e) {
|
|
729
|
-
return {
|
|
730
|
-
scrollLeft: e.scrollLeft,
|
|
731
|
-
scrollTop: e.scrollTop
|
|
732
|
-
};
|
|
733
|
-
}
|
|
734
|
-
function xn(e) {
|
|
735
|
-
return e === R(e) || !T(e) ? Le(e) : wn(e);
|
|
736
|
-
}
|
|
737
|
-
function On(e) {
|
|
738
|
-
var t = e.getBoundingClientRect(), n = z(t.width) / e.offsetWidth || 1, r = z(t.height) / e.offsetHeight || 1;
|
|
739
|
-
return n !== 1 || r !== 1;
|
|
740
|
-
}
|
|
741
|
-
function An(e, t, n) {
|
|
742
|
-
n === void 0 && (n = !1);
|
|
743
|
-
var r = T(t), o = T(t) && On(t), a = I(t), c = $(e, o, n), s = {
|
|
744
|
-
scrollLeft: 0,
|
|
745
|
-
scrollTop: 0
|
|
746
|
-
}, i = {
|
|
747
|
-
x: 0,
|
|
748
|
-
y: 0
|
|
749
|
-
};
|
|
750
|
-
return (r || !r && !n) && ((V(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
751
|
-
Pe(a)) && (s = xn(t)), T(t) ? (i = $(t, !0), i.x += t.clientLeft, i.y += t.clientTop) : a && (i.x = Me(a))), {
|
|
752
|
-
x: c.left + s.scrollLeft - i.x,
|
|
753
|
-
y: c.top + s.scrollTop - i.y,
|
|
754
|
-
width: c.width,
|
|
755
|
-
height: c.height
|
|
756
|
-
};
|
|
757
|
-
}
|
|
758
|
-
function En(e) {
|
|
759
|
-
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
|
|
760
|
-
e.forEach(function(a) {
|
|
761
|
-
t.set(a.name, a);
|
|
762
|
-
});
|
|
763
|
-
function o(a) {
|
|
764
|
-
n.add(a.name);
|
|
765
|
-
var c = [].concat(a.requires || [], a.requiresIfExists || []);
|
|
766
|
-
c.forEach(function(s) {
|
|
767
|
-
if (!n.has(s)) {
|
|
768
|
-
var i = t.get(s);
|
|
769
|
-
i && o(i);
|
|
770
|
-
}
|
|
771
|
-
}), r.push(a);
|
|
772
|
-
}
|
|
773
|
-
return e.forEach(function(a) {
|
|
774
|
-
n.has(a.name) || o(a);
|
|
775
|
-
}), r;
|
|
776
|
-
}
|
|
777
|
-
function jn(e) {
|
|
778
|
-
var t = En(e);
|
|
779
|
-
return Bt.reduce(function(n, r) {
|
|
780
|
-
return n.concat(t.filter(function(o) {
|
|
781
|
-
return o.phase === r;
|
|
782
|
-
}));
|
|
783
|
-
}, []);
|
|
784
|
-
}
|
|
785
|
-
function Dn(e) {
|
|
786
|
-
var t;
|
|
787
|
-
return function() {
|
|
788
|
-
return t || (t = new Promise(function(n) {
|
|
789
|
-
Promise.resolve().then(function() {
|
|
790
|
-
t = void 0, n(e());
|
|
791
|
-
});
|
|
792
|
-
})), t;
|
|
793
|
-
};
|
|
794
|
-
}
|
|
795
|
-
function kn(e) {
|
|
796
|
-
var t = e.reduce(function(n, r) {
|
|
797
|
-
var o = n[r.name];
|
|
798
|
-
return n[r.name] = o ? Object.assign({}, o, r, {
|
|
799
|
-
options: Object.assign({}, o.options, r.options),
|
|
800
|
-
data: Object.assign({}, o.data, r.data)
|
|
801
|
-
}) : r, n;
|
|
802
|
-
}, {});
|
|
803
|
-
return Object.keys(t).map(function(n) {
|
|
804
|
-
return t[n];
|
|
805
|
-
});
|
|
806
|
-
}
|
|
807
|
-
var Xe = {
|
|
808
|
-
placement: "bottom",
|
|
809
|
-
modifiers: [],
|
|
810
|
-
strategy: "absolute"
|
|
811
|
-
};
|
|
812
|
-
function Ze() {
|
|
813
|
-
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
814
|
-
t[n] = arguments[n];
|
|
815
|
-
return !t.some(function(r) {
|
|
816
|
-
return !(r && typeof r.getBoundingClientRect == "function");
|
|
817
|
-
});
|
|
818
|
-
}
|
|
819
|
-
function Ln(e) {
|
|
820
|
-
e === void 0 && (e = {});
|
|
821
|
-
var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, a = o === void 0 ? Xe : o;
|
|
822
|
-
return function(c, s, i) {
|
|
823
|
-
i === void 0 && (i = a);
|
|
824
|
-
var f = {
|
|
825
|
-
placement: "bottom",
|
|
826
|
-
orderedModifiers: [],
|
|
827
|
-
options: Object.assign({}, Xe, a),
|
|
828
|
-
modifiersData: {},
|
|
829
|
-
elements: {
|
|
830
|
-
reference: c,
|
|
831
|
-
popper: s
|
|
832
|
-
},
|
|
833
|
-
attributes: {},
|
|
834
|
-
styles: {}
|
|
835
|
-
}, u = [], h = !1, m = {
|
|
836
|
-
state: f,
|
|
837
|
-
setOptions: function(p) {
|
|
838
|
-
var y = typeof p == "function" ? p(f.options) : p;
|
|
839
|
-
g(), f.options = Object.assign({}, a, f.options, y), f.scrollParents = {
|
|
840
|
-
reference: Z(c) ? ie(c) : c.contextElement ? ie(c.contextElement) : [],
|
|
841
|
-
popper: ie(s)
|
|
842
|
-
};
|
|
843
|
-
var b = jn(kn([].concat(r, f.options.modifiers)));
|
|
844
|
-
return f.orderedModifiers = b.filter(function(x) {
|
|
845
|
-
return x.enabled;
|
|
846
|
-
}), l(), m.update();
|
|
847
|
-
},
|
|
848
|
-
// Sync update – it will always be executed, even if not necessary. This
|
|
849
|
-
// is useful for low frequency updates where sync behavior simplifies the
|
|
850
|
-
// logic.
|
|
851
|
-
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
852
|
-
// prefer the async Popper#update method
|
|
853
|
-
forceUpdate: function() {
|
|
854
|
-
if (!h) {
|
|
855
|
-
var p = f.elements, y = p.reference, b = p.popper;
|
|
856
|
-
if (Ze(y, b)) {
|
|
857
|
-
f.rects = {
|
|
858
|
-
reference: An(y, ce(b), f.options.strategy === "fixed"),
|
|
859
|
-
popper: De(b)
|
|
860
|
-
}, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(E) {
|
|
861
|
-
return f.modifiersData[E.name] = Object.assign({}, E.data);
|
|
862
|
-
});
|
|
863
|
-
for (var x = 0; x < f.orderedModifiers.length; x++) {
|
|
864
|
-
if (f.reset === !0) {
|
|
865
|
-
f.reset = !1, x = -1;
|
|
866
|
-
continue;
|
|
867
|
-
}
|
|
868
|
-
var O = f.orderedModifiers[x], d = O.fn, v = O.options, w = v === void 0 ? {} : v, A = O.name;
|
|
869
|
-
typeof d == "function" && (f = d({
|
|
870
|
-
state: f,
|
|
871
|
-
options: w,
|
|
872
|
-
name: A,
|
|
873
|
-
instance: m
|
|
874
|
-
}) || f);
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
},
|
|
879
|
-
// Async and optimistically optimized update – it will not be executed if
|
|
880
|
-
// not necessary (debounced to run at most once-per-tick)
|
|
881
|
-
update: Dn(function() {
|
|
882
|
-
return new Promise(function(p) {
|
|
883
|
-
m.forceUpdate(), p(f);
|
|
884
|
-
});
|
|
885
|
-
}),
|
|
886
|
-
destroy: function() {
|
|
887
|
-
g(), h = !0;
|
|
888
|
-
}
|
|
889
|
-
};
|
|
890
|
-
if (!Ze(c, s))
|
|
891
|
-
return m;
|
|
892
|
-
m.setOptions(i).then(function(p) {
|
|
893
|
-
!h && i.onFirstUpdate && i.onFirstUpdate(p);
|
|
894
|
-
});
|
|
895
|
-
function l() {
|
|
896
|
-
f.orderedModifiers.forEach(function(p) {
|
|
897
|
-
var y = p.name, b = p.options, x = b === void 0 ? {} : b, O = p.effect;
|
|
898
|
-
if (typeof O == "function") {
|
|
899
|
-
var d = O({
|
|
900
|
-
state: f,
|
|
901
|
-
name: y,
|
|
902
|
-
instance: m,
|
|
903
|
-
options: x
|
|
904
|
-
}), v = function() {
|
|
905
|
-
};
|
|
906
|
-
u.push(d || v);
|
|
907
|
-
}
|
|
908
|
-
});
|
|
909
|
-
}
|
|
910
|
-
function g() {
|
|
911
|
-
u.forEach(function(p) {
|
|
912
|
-
return p();
|
|
913
|
-
}), u = [];
|
|
914
|
-
}
|
|
915
|
-
return m;
|
|
916
|
-
};
|
|
917
|
-
}
|
|
918
|
-
var Mn = [Yt, vn, Zt, qt, mn, cn, bn, Ft, pn], Wn = /* @__PURE__ */ Ln({
|
|
919
|
-
defaultModifiers: Mn
|
|
920
|
-
});
|
|
921
|
-
function Pn(e, t) {
|
|
922
|
-
for (var n = -1, r = e == null ? 0 : e.length, o = Array(r); ++n < r; )
|
|
923
|
-
o[n] = t(e[n], n, e);
|
|
924
|
-
return o;
|
|
925
|
-
}
|
|
926
|
-
var Je = Ne ? Ne.prototype : void 0, Ye = Je ? Je.toString : void 0;
|
|
927
|
-
function st(e) {
|
|
928
|
-
if (typeof e == "string")
|
|
929
|
-
return e;
|
|
930
|
-
if (bt(e))
|
|
931
|
-
return Pn(e, st) + "";
|
|
932
|
-
if (gt(e))
|
|
933
|
-
return Ye ? Ye.call(e) : "";
|
|
934
|
-
var t = e + "";
|
|
935
|
-
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
936
|
-
}
|
|
937
|
-
function qn(e) {
|
|
938
|
-
return e == null ? "" : st(e);
|
|
939
|
-
}
|
|
940
|
-
export {
|
|
941
|
-
Cn as D,
|
|
942
|
-
Sn as E,
|
|
943
|
-
Bn as P,
|
|
944
|
-
qn as S,
|
|
945
|
-
Wn as j,
|
|
946
|
-
qt as k,
|
|
947
|
-
Ot as m,
|
|
948
|
-
Pn as p
|
|
949
|
-
};
|