@cling-se/widget 0.15.3 → 0.15.6
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/README.md +43 -43
- package/dist/{AddClientCallout-8s5a1_CZ.js → AddClientCallout-BpWCvb7A.js} +15 -13
- package/dist/{AnswerModal-Cnp43tGo.js → AnswerModal-0JXov7oA.js} +71 -71
- package/dist/{AttachmentItem-BP85gcjP.js → AttachmentItem-C93ndWhI.js} +17 -12
- package/dist/{BaseDatePicker-C27CsTzy.js → BaseDatePicker-BaUxrKlN.js} +2 -2
- package/dist/{BaseUpload-DnhS3hGx.js → BaseUpload-CACi6tYY.js} +3 -3
- package/dist/{BlockMedia-D4nhek2s.js → BlockMedia-Dlv23tgo.js} +2 -2
- package/dist/{CCallout-CQjRcxpC.js → CCallout-jnIpJu5U.js} +4 -5
- package/dist/{CCurrencyDropdown-BT01qBGg.js → CCurrencyDropdown-BQLDbp9J.js} +4 -4
- package/dist/{CDropdownItem-BSPNul90.js → CDropdownItem-CNUf29O4.js} +139 -37
- package/dist/{CFormField-Cz_jNazS.js → CFormField-qy_STCgm.js} +3 -4
- package/dist/{CPhoneFormat-C017AoM0.js → CPhoneFormat-BZd_xftN.js} +1 -1
- package/dist/CPhoneInput-j4Zuah8p.js +138 -0
- package/dist/{CPriceInput-jktMjvwx.js → CPriceInput-CXGw4w0R.js} +2 -2
- package/dist/CSelect-CSwTYXae.js +91 -0
- package/dist/CSkeleton-B5J9cKAm.js +55 -0
- package/dist/ClientAutocomplete-CjaUEuHJ.js +438 -0
- package/dist/{ClientModal-DLtFhJya.js → ClientModal-Cn40dzh3.js} +77 -42
- package/dist/{ColorPicker-MQmVGbvm.js → ColorPicker-wUW8hJ8i.js} +2 -2
- package/dist/{CompanyModal-Qx5xMku0.js → CompanyModal-CbcusrDu.js} +25 -19
- package/dist/{ContentWrapper-B9NQqp2q.js → ContentWrapper-Bad8dXOX.js} +11 -11
- package/dist/CoverBlockSettings-DX390gBU.js +659 -0
- package/dist/{DocAnswer-BlxFv_Gc.js → DocAnswer-BESzyKCO.js} +2 -2
- package/dist/{DocDetails-dGcYGJpp.js → DocDetails-1rMbwwY3.js} +10 -10
- package/dist/{DocForm-C6o_XBcW.js → DocForm-B3IxEK4j.js} +512 -498
- package/dist/{DocFormSend-_prtxNIf.js → DocFormSend-sm8Hu8Be.js} +14 -15
- package/dist/{DocLinks-Dp495SCS.js → DocLinks-CyXFaNcq.js} +2 -2
- package/dist/{DocModalBase-B0wYq3ft.js → DocModalBase-CSh4Lkzq.js} +2 -2
- package/dist/{DocPrint-CURxofeU.js → DocPrint-BQ-M-3OC.js} +3 -3
- package/dist/{DocReceipt-DgGcBRVH.js → DocReceipt-OoEOv4bh.js} +25 -20
- package/dist/{DocSendReminder-CPty4svi.js → DocSendReminder-dQcAFIdw.js} +19 -16
- package/dist/{DocTextEditor-BYsXFRLg.js → DocTextEditor-Ckfx6Hj5.js} +13 -15
- package/dist/{DocTimeline-CHg1QykR.js → DocTimeline-DDaN8k9R.js} +36 -34
- package/dist/{DocumentClient-CZ6N73pQ.js → DocumentClient-DBA3AQQG.js} +5 -5
- package/dist/{DocumentLayout-CiszuoQc.js → DocumentLayout-D42e3G51.js} +1503 -1539
- package/dist/{DocumentLogotype-BgFCWcwC.js → DocumentLogotype-ngySb8g4.js} +18 -15
- package/dist/{DocumentVoided-DT2hhHk2.js → DocumentVoided-Dtj2XpOI.js} +1 -1
- package/dist/{EmbedInput-aLmvzK1I.js → EmbedInput-CxqpXi4D.js} +25 -21
- package/dist/{EmbedSettings-BZipciy9.js → EmbedSettings-B4ejIQIJ.js} +13 -11
- package/dist/{ErrorCallout-CNxSDsr_.js → ErrorCallout-BiCmogrM.js} +6 -6
- package/dist/{FilePreviewModal-DxdksQiy.js → FilePreviewModal-CpSfuR9V.js} +3 -3
- package/dist/Flag-B9CEVlmX.js +46 -0
- package/dist/{HeaderSettings-DeoSRi6O.js → HeaderSettings-CowCzINW.js} +155 -110
- package/dist/{ImageSelectModal-DvQz2VPi.js → ImageSelectModal-DdzcxIMp.js} +6 -6
- package/dist/{ImageUploadWrapper-CNQRdHF9.js → ImageUploadWrapper-CWCF8Dlc.js} +3 -3
- package/dist/{Index-CPjAXBMU.js → Index-07hqDjA-.js} +5 -5
- package/dist/{Index-CDKq7Fx6.js → Index-4_K-mW5b.js} +4 -4
- package/dist/Index-B4PLiPUX.js +28 -0
- package/dist/{Index-CjfCyQlB.js → Index-B4imH9tr.js} +5 -5
- package/dist/{Index-CJeSVpRh.js → Index-BGXkhXYw.js} +2 -2
- package/dist/{Index-BjdxeF4C.js → Index-BLK2yfMF.js} +2 -2
- package/dist/{Index-w5DWfGOc.js → Index-BS2bqI3s.js} +4 -4
- package/dist/{Index-CWj2vDHc.js → Index-BXm5pjk3.js} +49 -44
- package/dist/{Index-B3Q09phm.js → Index-BY9jJJk1.js} +4 -4
- package/dist/{Index-BEpKb8IR.js → Index-BeAySORd.js} +4 -4
- package/dist/{Index-BIv8flFB.js → Index-BguXp1xd.js} +9 -9
- package/dist/{Index-CTqdaykO.js → Index-CEQgPBnH.js} +18 -12
- package/dist/{Index-q04Dwxrr.js → Index-CWRkkwfa.js} +7 -7
- package/dist/{Index-3bD76d9q.js → Index-CaRFixxe.js} +7 -7
- package/dist/{Index-D-l3i9vY.js → Index-ClP8s9kZ.js} +3 -3
- package/dist/{Index-BDCgilFk.js → Index-Cmu_M3TM.js} +2 -2
- package/dist/{Index-BglKAnNq.js → Index-Cnyk_-IC.js} +7 -7
- package/dist/{Index-CvRNeJ4U.js → Index-CpLsMmCx.js} +124 -123
- package/dist/{Index-CXibuEkU.js → Index-D7WQe9WH.js} +15 -15
- package/dist/{Index-CTk6Nh-I.js → Index-DAsAy5JF.js} +7 -7
- package/dist/{Index-BiVwDgqW.js → Index-DEcCSixa.js} +2 -2
- package/dist/{Index-PUFeH_1z.js → Index-DMy3kJ7T.js} +4 -4
- package/dist/{Index-Cfc0Q0AG.js → Index-DWC0ggkj.js} +6 -6
- package/dist/{Index-B0n1UOOA.js → Index-DZ59IAyR.js} +6 -6
- package/dist/{Index-S3LqU0A0.js → Index-DdJbi1AO.js} +12 -10
- package/dist/{Index-B9_POjpY.js → Index-Df9ct4wb.js} +23 -21
- package/dist/{Index-D1NwTUs-.js → Index-DhrjL3IY.js} +5 -5
- package/dist/{Index-FC1UsElU.js → Index-Dm0Fzc6C.js} +7 -7
- package/dist/{Index-Ch5j2tqD.js → Index-DqSikIZB.js} +2 -2
- package/dist/{Index-BeMeWDIf.js → Index-DtSf7JJt.js} +6 -6
- package/dist/{Index-BNJ2KHKc.js → Index-FfBNBm3w.js} +3 -3
- package/dist/{Index-jIIHHGh3.js → Index-SN7H4PM1.js} +489 -471
- package/dist/{Index-CePHdKi2.js → Index-U_PvsI4Y.js} +5 -5
- package/dist/{Index-C-CE21WK.js → Index-sFiPn5zO.js} +5 -5
- package/dist/{InputToggleRow-CvHvRdsn.js → InputToggleRow-CRC8ievQ.js} +2 -2
- package/dist/{ManualPopover-DxE-6-Sp.js → ManualPopover-15SKAS2F.js} +1 -1
- package/dist/{MediaWrapper-DNi80fbw.js → MediaWrapper-CihDdp6P.js} +3 -3
- package/dist/{NotBindingText-D2rYFVxr.js → NotBindingText-nUBihSic.js} +2 -2
- package/dist/{PackageGroup-6ar8HjPo.js → PackageGroup-Bk0UeRqr.js} +26 -20
- package/dist/PdfTerms-Cy2kB_Zo.js +31 -0
- package/dist/{PdfViewer-B5qbLLtd.js → PdfViewer-BMcMfsRH.js} +5 -5
- package/dist/{PlainHtml-CIMtcn2F.js → PlainHtml-BDvPNe17.js} +1 -1
- package/dist/{PriceHeader-BSpj_-5M.js → PriceHeader-DzvUaY9O.js} +15 -15
- package/dist/{SearchApi-Cwgf52EV.js → SearchApi-BPJpYWWz.js} +2 -2
- package/dist/SendForm-DWVu8jq8.js +1023 -0
- package/dist/{Setup-CRmiH9lD.js → Setup-DjxGq4d9.js} +1 -1
- package/dist/{SmartList-D6AvxfSL.js → SmartList-Bh10ojB0.js} +1 -1
- package/dist/{TermsSettings-DEO1O460.js → TermsSettings-Cg8TYiLL.js} +17 -12
- package/dist/{ThemeColorRow-Cy1NKEIG.js → ThemeColorRow-BeNhoFSI.js} +4 -4
- package/dist/{ToggleBinding-BvIUt1Jx.js → ToggleBinding-KmMUK5gz.js} +12 -10
- package/dist/{UploadModal-C1j-GeMD.js → UploadModal-DTmPPCz3.js} +6 -6
- package/dist/{VideoPlayerInput-BmbrquN6.js → VideoPlayerInput-Z5j6JzLW.js} +15 -11
- package/dist/{VideoPlayerSettings-B7HpBoWX.js → VideoPlayerSettings-C7GjuMAw.js} +3 -3
- package/dist/{VideoSelectModal-CeaG2tME.js → VideoSelectModal-DMIdcoOE.js} +4 -4
- package/dist/{answerDocumentMixin-AcDG8Byi.js → answerDocumentMixin-DulmofDA.js} +3 -3
- package/dist/{debounce-HJoaSvIY.js → debounce-nohaKn7u.js} +16 -16
- package/dist/{focusDrawerMixin-CBYjpEGL.js → focusDrawerMixin-BsYcC4qG.js} +1 -1
- package/dist/{formDrawerState-DYSBcjo4.js → formDrawerState-Bpcaq429.js} +1 -1
- package/dist/{formValidationMixin-Dqlhg0R2.js → formValidationMixin-DYGNCEbq.js} +1 -1
- package/dist/{index-CLOsPxCh.js → index-BUGMJTF2.js} +35 -33
- package/dist/{index-CKZmpLr6.js → index-BVOHCIHl.js} +781 -2021
- package/dist/{index-CFe1BJZJ.js → index-CtA6LmXt.js} +1 -1
- package/dist/{index-zzCfHTf8.js → index-CxitjuY3.js} +2 -2
- package/dist/{index-CFx0cpeM.js → index-CySeSzas.js} +1 -1
- package/dist/{index-CFwLDxbi.js → index-zBWldKKX.js} +18 -17
- package/dist/index.es.js +10 -10
- package/dist/index.umd.js +177 -173
- package/dist/{main-BIwKzAN8.js → main-CfSVOXu-.js} +12995 -11349
- package/dist/{mapFormMixin-e2PJ431T.js → mapFormMixin-BTZaIaQ8.js} +1 -1
- package/dist/omit-DIEW6Th9.js +31 -0
- package/dist/{publicSenderState-D-_7UwjT.js → publicSenderState-B4TdI-yD.js} +1 -1
- package/dist/regions-BdZt9Srn.js +1250 -0
- package/dist/simplebar.min-BZ0EEeAp.js +71 -0
- package/dist/style.css +2 -2
- package/dist/{throttle-B2yMLA5N.js → throttle-JENEyCY1.js} +2 -2
- package/dist/{tinycolor-vIxz4Xgi.js → tinycolor-79beE8BV.js} +1 -1
- package/dist/{tippy.esm-DiOYviyf.js → tippy.esm-CR28gOMM.js} +208 -206
- package/dist/{utils-CFXqaEy7.js → utils-CD2k1yv3.js} +1 -1
- package/dist/{vuedraggable.umd-DDT8qZBI.js → vuedraggable.umd-IXGjMCUG.js} +1 -1
- package/package.json +2 -11
- package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
- package/dist/ClientAutocomplete-B3z6RPXr.js +0 -82
- package/dist/CoverBlockSettings-Bcz_W5I3.js +0 -275
- package/dist/Flag-3OyFDPsP.js +0 -114
- package/dist/Index-Cr6DlYGN.js +0 -21
- package/dist/PdfTerms-B-lbU_6H.js +0 -36
- package/dist/formComponentsInstall-DMoWrprH.js +0 -2505
- package/dist/omit-CpamclWf.js +0 -31
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { F as dr } from "./DocumentLayout-
|
|
2
|
-
import "./CDropdownItem-
|
|
3
|
-
import { n as
|
|
4
|
-
import { C as
|
|
5
|
-
import { C as
|
|
6
|
-
const
|
|
1
|
+
import { F as dr } from "./DocumentLayout-D42e3G51.js";
|
|
2
|
+
import { C as vr, b as mr } from "./CDropdownItem-CNUf29O4.js";
|
|
3
|
+
import { n as hr } from "./main-CfSVOXu-.js";
|
|
4
|
+
import { C as gr } from "./ColorPicker-wUW8hJ8i.js";
|
|
5
|
+
import { C as yr } from "./CCurrencyDropdown-BQLDbp9J.js";
|
|
6
|
+
const br = {
|
|
7
7
|
components: {
|
|
8
|
-
ColorPicker:
|
|
8
|
+
ColorPicker: gr,
|
|
9
9
|
FontPickerDropdown: dr,
|
|
10
|
-
CCurrencyDropdown:
|
|
11
|
-
|
|
10
|
+
CCurrencyDropdown: yr,
|
|
11
|
+
CDropdown: vr,
|
|
12
|
+
CSwitch: mr,
|
|
13
|
+
FormInputRow: () => Promise.resolve().then(() => Tr)
|
|
12
14
|
},
|
|
13
15
|
props: {
|
|
14
16
|
label: {
|
|
@@ -30,7 +32,7 @@ const gr = {
|
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
};
|
|
33
|
-
var
|
|
35
|
+
var wr = function() {
|
|
34
36
|
var t = this, r = t._self._c;
|
|
35
37
|
return r("div", { staticStyle: { position: "relative", display: "flex", width: "100%", "flex-direction": "row", "align-items": "flex-start", "justify-content": "flex-end" } }, [r("div", { staticStyle: { flex: "1 1 40%", width: "62px", margin: "7px 5px", position: "relative", display: "flex", height: "26px", "align-items": "center" } }, [r("div", { staticStyle: { overflow: "hidden", "font-size": "13px", "font-weight": "400", "line-height": "16px", "pointer-events": "none", "text-overflow": "ellipsis", "white-space": "nowrap", "user-select": "none" } }, [t._v(" " + t._s(t.label) + " ")]), t.infoTooltip ? r("svg", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.infoTooltip, expression: "infoTooltip" }], staticClass: "info-tooltip", attrs: { width: "13", height: "13", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "square", "stroke-linejoin": "bevel" } }, [r("circle", { attrs: { cx: "12", cy: "12", r: "10" } }), r("line", { attrs: { x1: "12", y1: "16", x2: "12", y2: "12" } }), r("line", { attrs: { x1: "12", y1: "8", x2: "12", y2: "8" } })]) : t._e()]), r("div", { staticStyle: { flex: "1 1 60%", margin: "7px 0 7px 0", width: "1px", display: "flex" } }, [t._l(t.inputs, function(n, o) {
|
|
36
38
|
return [n.component === "input" ? r("div", { key: o, class: { "input-wrapper": n.props.type !== "range" } }, [r("input", t._b({ class: {
|
|
@@ -69,23 +71,23 @@ var yr = function() {
|
|
|
69
71
|
return r("FormInputRow", { key: p, attrs: { inputs: a.inputs, label: a.label } });
|
|
70
72
|
}), 1)])], 1) : n.component === "button" ? r("div", { key: o, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "100%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onClick } }, [t._v(" " + t._s(n.props.text) + " ")])]) : [t._v(" " + t._s(n.component) + " ")]];
|
|
71
73
|
})], 2)]);
|
|
72
|
-
},
|
|
73
|
-
gr,
|
|
74
|
-
yr,
|
|
74
|
+
}, xr = [], Or = /* @__PURE__ */ hr(
|
|
75
75
|
br,
|
|
76
|
+
wr,
|
|
77
|
+
xr,
|
|
76
78
|
!1,
|
|
77
79
|
null,
|
|
78
|
-
"
|
|
80
|
+
"b52802be"
|
|
79
81
|
);
|
|
80
|
-
const
|
|
82
|
+
const Er = Or.exports, Tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81
83
|
__proto__: null,
|
|
82
|
-
default:
|
|
84
|
+
default: Er
|
|
83
85
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84
|
-
var N = "top", q = "bottom", X = "right", V = "left", mt = "auto", Ne = [N, q, X, V], Ee = "start", Be = "end",
|
|
86
|
+
var N = "top", q = "bottom", X = "right", V = "left", mt = "auto", Ne = [N, q, X, V], Ee = "start", Be = "end", Cr = "clippingParents", Wt = "viewport", Ie = "popper", Ar = "reference", Tt = /* @__PURE__ */ Ne.reduce(function(e, t) {
|
|
85
87
|
return e.concat([t + "-" + Ee, t + "-" + Be]);
|
|
86
88
|
}, []), Ut = /* @__PURE__ */ [].concat(Ne, [mt]).reduce(function(e, t) {
|
|
87
89
|
return e.concat([t, t + "-" + Ee, t + "-" + Be]);
|
|
88
|
-
}, []),
|
|
90
|
+
}, []), Dr = "beforeRead", Sr = "read", kr = "afterRead", Lr = "beforeMain", Rr = "main", Pr = "afterMain", Ir = "beforeWrite", Mr = "write", jr = "afterWrite", _r = [Dr, Sr, kr, Lr, Rr, Pr, Ir, Mr, jr];
|
|
89
91
|
function te(e) {
|
|
90
92
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
91
93
|
}
|
|
@@ -112,7 +114,7 @@ function ht(e) {
|
|
|
112
114
|
var t = Y(e).ShadowRoot;
|
|
113
115
|
return e instanceof t || e instanceof ShadowRoot;
|
|
114
116
|
}
|
|
115
|
-
function
|
|
117
|
+
function Br(e) {
|
|
116
118
|
var t = e.state;
|
|
117
119
|
Object.keys(t.elements).forEach(function(r) {
|
|
118
120
|
var n = t.styles[r] || {}, o = t.attributes[r] || {}, a = t.elements[r];
|
|
@@ -122,7 +124,7 @@ function jr(e) {
|
|
|
122
124
|
}));
|
|
123
125
|
});
|
|
124
126
|
}
|
|
125
|
-
function
|
|
127
|
+
function $r(e) {
|
|
126
128
|
var t = e.state, r = {
|
|
127
129
|
popper: {
|
|
128
130
|
position: t.options.strategy,
|
|
@@ -150,8 +152,8 @@ const zt = {
|
|
|
150
152
|
name: "applyStyles",
|
|
151
153
|
enabled: !0,
|
|
152
154
|
phase: "write",
|
|
153
|
-
fn:
|
|
154
|
-
effect:
|
|
155
|
+
fn: Br,
|
|
156
|
+
effect: $r,
|
|
155
157
|
requires: ["computeStyles"]
|
|
156
158
|
};
|
|
157
159
|
function ee(e) {
|
|
@@ -167,7 +169,7 @@ function ft() {
|
|
|
167
169
|
function qt() {
|
|
168
170
|
return !/^((?!chrome|android).)*safari/i.test(ft());
|
|
169
171
|
}
|
|
170
|
-
function
|
|
172
|
+
function Ce(e, t, r) {
|
|
171
173
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
172
174
|
var n = e.getBoundingClientRect(), o = 1, a = 1;
|
|
173
175
|
t && z(e) && (o = e.offsetWidth > 0 && Te(n.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && Te(n.height) / e.offsetHeight || 1);
|
|
@@ -184,7 +186,7 @@ function Ae(e, t, r) {
|
|
|
184
186
|
};
|
|
185
187
|
}
|
|
186
188
|
function gt(e) {
|
|
187
|
-
var t =
|
|
189
|
+
var t = Ce(e), r = e.offsetWidth, n = e.offsetHeight;
|
|
188
190
|
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
|
|
189
191
|
x: e.offsetLeft,
|
|
190
192
|
y: e.offsetTop,
|
|
@@ -209,7 +211,7 @@ function Xt(e, t) {
|
|
|
209
211
|
function ae(e) {
|
|
210
212
|
return Y(e).getComputedStyle(e);
|
|
211
213
|
}
|
|
212
|
-
function
|
|
214
|
+
function Nr(e) {
|
|
213
215
|
return ["table", "td", "th"].indexOf(te(e)) >= 0;
|
|
214
216
|
}
|
|
215
217
|
function ce(e) {
|
|
@@ -230,11 +232,11 @@ function nt(e) {
|
|
|
230
232
|
ce(e)
|
|
231
233
|
);
|
|
232
234
|
}
|
|
233
|
-
function
|
|
235
|
+
function Ct(e) {
|
|
234
236
|
return !z(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
235
237
|
ae(e).position === "fixed" ? null : e.offsetParent;
|
|
236
238
|
}
|
|
237
|
-
function
|
|
239
|
+
function Vr(e) {
|
|
238
240
|
var t = /firefox/i.test(ft()), r = /Trident/i.test(ft());
|
|
239
241
|
if (r && z(e)) {
|
|
240
242
|
var n = ae(e);
|
|
@@ -251,9 +253,9 @@ function $r(e) {
|
|
|
251
253
|
return null;
|
|
252
254
|
}
|
|
253
255
|
function Ve(e) {
|
|
254
|
-
for (var t = Y(e), r =
|
|
255
|
-
r =
|
|
256
|
-
return r && (te(r) === "html" || te(r) === "body" && ae(r).position === "static") ? t : r ||
|
|
256
|
+
for (var t = Y(e), r = Ct(e); r && Nr(r) && ae(r).position === "static"; )
|
|
257
|
+
r = Ct(r);
|
|
258
|
+
return r && (te(r) === "html" || te(r) === "body" && ae(r).position === "static") ? t : r || Vr(e) || t;
|
|
257
259
|
}
|
|
258
260
|
function yt(e) {
|
|
259
261
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
@@ -261,7 +263,7 @@ function yt(e) {
|
|
|
261
263
|
function Me(e, t, r) {
|
|
262
264
|
return he(e, tt(t, r));
|
|
263
265
|
}
|
|
264
|
-
function
|
|
266
|
+
function Fr(e, t, r) {
|
|
265
267
|
var n = Me(e, t, r);
|
|
266
268
|
return n > r ? r : n;
|
|
267
269
|
}
|
|
@@ -281,48 +283,48 @@ function Gt(e, t) {
|
|
|
281
283
|
return r[n] = e, r;
|
|
282
284
|
}, {});
|
|
283
285
|
}
|
|
284
|
-
var
|
|
286
|
+
var Hr = function(t, r) {
|
|
285
287
|
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
|
286
288
|
placement: r.placement
|
|
287
289
|
})) : t, Kt(typeof t != "number" ? t : Gt(t, Ne));
|
|
288
290
|
};
|
|
289
|
-
function
|
|
291
|
+
function Wr(e) {
|
|
290
292
|
var t, r = e.state, n = e.name, o = e.options, a = r.elements.arrow, p = r.modifiersData.popperOffsets, c = ee(r.placement), u = yt(c), l = [V, X].indexOf(c) >= 0, f = l ? "height" : "width";
|
|
291
293
|
if (!(!a || !p)) {
|
|
292
|
-
var b =
|
|
294
|
+
var b = Hr(o.padding, r), x = gt(a), h = u === "y" ? N : V, O = u === "y" ? q : X, w = r.rects.reference[f] + r.rects.reference[u] - p[u] - r.rects.popper[f], d = p[u] - r.rects.reference[u], g = Ve(a), E = g ? u === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, T = w / 2 - d / 2, i = b[h], C = E - x[f] - b[O], m = E / 2 - x[f] / 2 + T, S = Me(i, m, C), I = u;
|
|
293
295
|
r.modifiersData[n] = (t = {}, t[I] = S, t.centerOffset = S - m, t);
|
|
294
296
|
}
|
|
295
297
|
}
|
|
296
|
-
function
|
|
298
|
+
function Ur(e) {
|
|
297
299
|
var t = e.state, r = e.options, n = r.element, o = n === void 0 ? "[data-popper-arrow]" : n;
|
|
298
300
|
o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || Xt(t.elements.popper, o) && (t.elements.arrow = o));
|
|
299
301
|
}
|
|
300
|
-
const
|
|
302
|
+
const zr = {
|
|
301
303
|
name: "arrow",
|
|
302
304
|
enabled: !0,
|
|
303
305
|
phase: "main",
|
|
304
|
-
fn:
|
|
305
|
-
effect:
|
|
306
|
+
fn: Wr,
|
|
307
|
+
effect: Ur,
|
|
306
308
|
requires: ["popperOffsets"],
|
|
307
309
|
requiresIfExists: ["preventOverflow"]
|
|
308
310
|
};
|
|
309
|
-
function
|
|
311
|
+
function Ae(e) {
|
|
310
312
|
return e.split("-")[1];
|
|
311
313
|
}
|
|
312
|
-
var
|
|
314
|
+
var qr = {
|
|
313
315
|
top: "auto",
|
|
314
316
|
right: "auto",
|
|
315
317
|
bottom: "auto",
|
|
316
318
|
left: "auto"
|
|
317
319
|
};
|
|
318
|
-
function
|
|
320
|
+
function Xr(e) {
|
|
319
321
|
var t = e.x, r = e.y, n = window, o = n.devicePixelRatio || 1;
|
|
320
322
|
return {
|
|
321
323
|
x: Te(t * o) / o || 0,
|
|
322
324
|
y: Te(r * o) / o || 0
|
|
323
325
|
};
|
|
324
326
|
}
|
|
325
|
-
function
|
|
327
|
+
function At(e) {
|
|
326
328
|
var t, r = e.popper, n = e.popperRect, o = e.placement, a = e.variation, p = e.offsets, c = e.position, u = e.gpuAcceleration, l = e.adaptive, f = e.roundOffsets, b = e.isFixed, x = p.x, h = x === void 0 ? 0 : x, O = p.y, w = O === void 0 ? 0 : O, d = typeof f == "function" ? f({
|
|
327
329
|
x: h,
|
|
328
330
|
y: w
|
|
@@ -331,12 +333,12 @@ function Ct(e) {
|
|
|
331
333
|
y: w
|
|
332
334
|
};
|
|
333
335
|
h = d.x, w = d.y;
|
|
334
|
-
var g = p.hasOwnProperty("x"), E = p.hasOwnProperty("y"), T = V, i = N,
|
|
336
|
+
var g = p.hasOwnProperty("x"), E = p.hasOwnProperty("y"), T = V, i = N, C = window;
|
|
335
337
|
if (l) {
|
|
336
338
|
var m = Ve(r), S = "clientHeight", I = "clientWidth";
|
|
337
339
|
if (m === Y(r) && (m = ce(r), ae(m).position !== "static" && c === "absolute" && (S = "scrollHeight", I = "scrollWidth")), m = m, o === N || (o === V || o === X) && a === Be) {
|
|
338
340
|
i = q;
|
|
339
|
-
var P = b && m ===
|
|
341
|
+
var P = b && m === C && C.visualViewport ? C.visualViewport.height : (
|
|
340
342
|
// $FlowFixMe[prop-missing]
|
|
341
343
|
m[S]
|
|
342
344
|
);
|
|
@@ -344,7 +346,7 @@ function Ct(e) {
|
|
|
344
346
|
}
|
|
345
347
|
if (o === V || (o === N || o === q) && a === Be) {
|
|
346
348
|
T = X;
|
|
347
|
-
var L = b && m ===
|
|
349
|
+
var L = b && m === C && C.visualViewport ? C.visualViewport.width : (
|
|
348
350
|
// $FlowFixMe[prop-missing]
|
|
349
351
|
m[I]
|
|
350
352
|
);
|
|
@@ -353,7 +355,7 @@ function Ct(e) {
|
|
|
353
355
|
}
|
|
354
356
|
var M = Object.assign({
|
|
355
357
|
position: c
|
|
356
|
-
}, l &&
|
|
358
|
+
}, l && qr), R = f === !0 ? Xr({
|
|
357
359
|
x: h,
|
|
358
360
|
y: w
|
|
359
361
|
}) : {
|
|
@@ -362,25 +364,25 @@ function Ct(e) {
|
|
|
362
364
|
};
|
|
363
365
|
if (h = R.x, w = R.y, u) {
|
|
364
366
|
var k;
|
|
365
|
-
return Object.assign({}, M, (k = {}, k[i] = E ? "0" : "", k[T] = g ? "0" : "", k.transform = (
|
|
367
|
+
return Object.assign({}, M, (k = {}, k[i] = E ? "0" : "", k[T] = g ? "0" : "", k.transform = (C.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + w + "px)" : "translate3d(" + h + "px, " + w + "px, 0)", k));
|
|
366
368
|
}
|
|
367
369
|
return Object.assign({}, M, (t = {}, t[i] = E ? w + "px" : "", t[T] = g ? h + "px" : "", t.transform = "", t));
|
|
368
370
|
}
|
|
369
|
-
function
|
|
371
|
+
function Yr(e) {
|
|
370
372
|
var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, a = r.adaptive, p = a === void 0 ? !0 : a, c = r.roundOffsets, u = c === void 0 ? !0 : c, l = {
|
|
371
373
|
placement: ee(t.placement),
|
|
372
|
-
variation:
|
|
374
|
+
variation: Ae(t.placement),
|
|
373
375
|
popper: t.elements.popper,
|
|
374
376
|
popperRect: t.rects.popper,
|
|
375
377
|
gpuAcceleration: o,
|
|
376
378
|
isFixed: t.options.strategy === "fixed"
|
|
377
379
|
};
|
|
378
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper,
|
|
380
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, At(Object.assign({}, l, {
|
|
379
381
|
offsets: t.modifiersData.popperOffsets,
|
|
380
382
|
position: t.options.strategy,
|
|
381
383
|
adaptive: p,
|
|
382
384
|
roundOffsets: u
|
|
383
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow,
|
|
385
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, At(Object.assign({}, l, {
|
|
384
386
|
offsets: t.modifiersData.arrow,
|
|
385
387
|
position: "absolute",
|
|
386
388
|
adaptive: !1,
|
|
@@ -389,17 +391,17 @@ function qr(e) {
|
|
|
389
391
|
"data-popper-placement": t.placement
|
|
390
392
|
});
|
|
391
393
|
}
|
|
392
|
-
const
|
|
394
|
+
const Kr = {
|
|
393
395
|
name: "computeStyles",
|
|
394
396
|
enabled: !0,
|
|
395
397
|
phase: "beforeWrite",
|
|
396
|
-
fn:
|
|
398
|
+
fn: Yr,
|
|
397
399
|
data: {}
|
|
398
400
|
};
|
|
399
401
|
var Qe = {
|
|
400
402
|
passive: !0
|
|
401
403
|
};
|
|
402
|
-
function
|
|
404
|
+
function Gr(e) {
|
|
403
405
|
var t = e.state, r = e.instance, n = e.options, o = n.scroll, a = o === void 0 ? !0 : o, p = n.resize, c = p === void 0 ? !0 : p, u = Y(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
404
406
|
return a && l.forEach(function(f) {
|
|
405
407
|
f.addEventListener("scroll", r.update, Qe);
|
|
@@ -409,16 +411,16 @@ function Yr(e) {
|
|
|
409
411
|
}), c && u.removeEventListener("resize", r.update, Qe);
|
|
410
412
|
};
|
|
411
413
|
}
|
|
412
|
-
const
|
|
414
|
+
const Jr = {
|
|
413
415
|
name: "eventListeners",
|
|
414
416
|
enabled: !0,
|
|
415
417
|
phase: "write",
|
|
416
418
|
fn: function() {
|
|
417
419
|
},
|
|
418
|
-
effect:
|
|
420
|
+
effect: Gr,
|
|
419
421
|
data: {}
|
|
420
422
|
};
|
|
421
|
-
var
|
|
423
|
+
var Qr = {
|
|
422
424
|
left: "right",
|
|
423
425
|
right: "left",
|
|
424
426
|
bottom: "top",
|
|
@@ -426,16 +428,16 @@ var Gr = {
|
|
|
426
428
|
};
|
|
427
429
|
function et(e) {
|
|
428
430
|
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
429
|
-
return
|
|
431
|
+
return Qr[t];
|
|
430
432
|
});
|
|
431
433
|
}
|
|
432
|
-
var
|
|
434
|
+
var Zr = {
|
|
433
435
|
start: "end",
|
|
434
436
|
end: "start"
|
|
435
437
|
};
|
|
436
438
|
function Dt(e) {
|
|
437
439
|
return e.replace(/start|end/g, function(t) {
|
|
438
|
-
return
|
|
440
|
+
return Zr[t];
|
|
439
441
|
});
|
|
440
442
|
}
|
|
441
443
|
function bt(e) {
|
|
@@ -446,9 +448,9 @@ function bt(e) {
|
|
|
446
448
|
};
|
|
447
449
|
}
|
|
448
450
|
function wt(e) {
|
|
449
|
-
return
|
|
451
|
+
return Ce(ce(e)).left + bt(e).scrollLeft;
|
|
450
452
|
}
|
|
451
|
-
function
|
|
453
|
+
function en(e, t) {
|
|
452
454
|
var r = Y(e), n = ce(e), o = r.visualViewport, a = n.clientWidth, p = n.clientHeight, c = 0, u = 0;
|
|
453
455
|
if (o) {
|
|
454
456
|
a = o.width, p = o.height;
|
|
@@ -462,7 +464,7 @@ function Qr(e, t) {
|
|
|
462
464
|
y: u
|
|
463
465
|
};
|
|
464
466
|
}
|
|
465
|
-
function
|
|
467
|
+
function tn(e) {
|
|
466
468
|
var t, r = ce(e), n = bt(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, a = he(r.scrollWidth, r.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), p = he(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), c = -n.scrollLeft + wt(e), u = -n.scrollTop;
|
|
467
469
|
return ae(o || r).direction === "rtl" && (c += he(r.clientWidth, o ? o.clientWidth : 0) - a), {
|
|
468
470
|
width: a,
|
|
@@ -495,28 +497,28 @@ function lt(e) {
|
|
|
495
497
|
bottom: e.y + e.height
|
|
496
498
|
});
|
|
497
499
|
}
|
|
498
|
-
function
|
|
499
|
-
var r =
|
|
500
|
+
function rn(e, t) {
|
|
501
|
+
var r = Ce(e, !1, t === "fixed");
|
|
500
502
|
return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
501
503
|
}
|
|
502
504
|
function St(e, t, r) {
|
|
503
|
-
return t === Wt ? lt(
|
|
505
|
+
return t === Wt ? lt(en(e, r)) : ge(t) ? rn(t, r) : lt(tn(ce(e)));
|
|
504
506
|
}
|
|
505
|
-
function
|
|
507
|
+
function nn(e) {
|
|
506
508
|
var t = je(nt(e)), r = ["absolute", "fixed"].indexOf(ae(e).position) >= 0, n = r && z(e) ? Ve(e) : e;
|
|
507
509
|
return ge(n) ? t.filter(function(o) {
|
|
508
510
|
return ge(o) && Xt(o, n) && te(o) !== "body";
|
|
509
511
|
}) : [];
|
|
510
512
|
}
|
|
511
|
-
function
|
|
512
|
-
var o = t === "clippingParents" ?
|
|
513
|
+
function on(e, t, r, n) {
|
|
514
|
+
var o = t === "clippingParents" ? nn(e) : [].concat(t), a = [].concat(o, [r]), p = a[0], c = a.reduce(function(u, l) {
|
|
513
515
|
var f = St(e, l, n);
|
|
514
516
|
return u.top = he(f.top, u.top), u.right = tt(f.right, u.right), u.bottom = tt(f.bottom, u.bottom), u.left = he(f.left, u.left), u;
|
|
515
517
|
}, St(e, p, n));
|
|
516
518
|
return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
|
|
517
519
|
}
|
|
518
520
|
function Qt(e) {
|
|
519
|
-
var t = e.reference, r = e.element, n = e.placement, o = n ? ee(n) : null, a = n ?
|
|
521
|
+
var t = e.reference, r = e.element, n = e.placement, o = n ? ee(n) : null, a = n ? Ae(n) : null, p = t.x + t.width / 2 - r.width / 2, c = t.y + t.height / 2 - r.height / 2, u;
|
|
520
522
|
switch (o) {
|
|
521
523
|
case N:
|
|
522
524
|
u = {
|
|
@@ -564,16 +566,16 @@ function Qt(e) {
|
|
|
564
566
|
}
|
|
565
567
|
function $e(e, t) {
|
|
566
568
|
t === void 0 && (t = {});
|
|
567
|
-
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, a = r.strategy, p = a === void 0 ? e.strategy : a, c = r.boundary, u = c === void 0 ?
|
|
569
|
+
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, a = r.strategy, p = a === void 0 ? e.strategy : a, c = r.boundary, u = c === void 0 ? Cr : c, l = r.rootBoundary, f = l === void 0 ? Wt : l, b = r.elementContext, x = b === void 0 ? Ie : b, h = r.altBoundary, O = h === void 0 ? !1 : h, w = r.padding, d = w === void 0 ? 0 : w, g = Kt(typeof d != "number" ? d : Gt(d, Ne)), E = x === Ie ? Ar : Ie, T = e.rects.popper, i = e.elements[O ? E : x], C = on(ge(i) ? i : i.contextElement || ce(e.elements.popper), u, f, p), m = Ce(e.elements.reference), S = Qt({
|
|
568
570
|
reference: m,
|
|
569
571
|
element: T,
|
|
570
572
|
strategy: "absolute",
|
|
571
573
|
placement: o
|
|
572
574
|
}), I = lt(Object.assign({}, T, S)), P = x === Ie ? I : m, L = {
|
|
573
|
-
top:
|
|
574
|
-
bottom: P.bottom -
|
|
575
|
-
left:
|
|
576
|
-
right: P.right -
|
|
575
|
+
top: C.top - P.top + g.top,
|
|
576
|
+
bottom: P.bottom - C.bottom + g.bottom,
|
|
577
|
+
left: C.left - P.left + g.left,
|
|
578
|
+
right: P.right - C.right + g.right
|
|
577
579
|
}, M = e.modifiersData.offset;
|
|
578
580
|
if (x === Ie && M) {
|
|
579
581
|
var R = M[o];
|
|
@@ -584,10 +586,10 @@ function $e(e, t) {
|
|
|
584
586
|
}
|
|
585
587
|
return L;
|
|
586
588
|
}
|
|
587
|
-
function
|
|
589
|
+
function an(e, t) {
|
|
588
590
|
t === void 0 && (t = {});
|
|
589
|
-
var r = t, n = r.placement, o = r.boundary, a = r.rootBoundary, p = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, l = u === void 0 ? Ut : u, f =
|
|
590
|
-
return
|
|
591
|
+
var r = t, n = r.placement, o = r.boundary, a = r.rootBoundary, p = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, l = u === void 0 ? Ut : u, f = Ae(n), b = f ? c ? Tt : Tt.filter(function(O) {
|
|
592
|
+
return Ae(O) === f;
|
|
591
593
|
}) : Ne, x = b.filter(function(O) {
|
|
592
594
|
return l.indexOf(O) >= 0;
|
|
593
595
|
});
|
|
@@ -604,17 +606,17 @@ function nn(e, t) {
|
|
|
604
606
|
return h[O] - h[w];
|
|
605
607
|
});
|
|
606
608
|
}
|
|
607
|
-
function
|
|
609
|
+
function sn(e) {
|
|
608
610
|
if (ee(e) === mt)
|
|
609
611
|
return [];
|
|
610
612
|
var t = et(e);
|
|
611
613
|
return [Dt(e), t, Dt(t)];
|
|
612
614
|
}
|
|
613
|
-
function
|
|
615
|
+
function un(e) {
|
|
614
616
|
var t = e.state, r = e.options, n = e.name;
|
|
615
617
|
if (!t.modifiersData[n]._skip) {
|
|
616
|
-
for (var o = r.mainAxis, a = o === void 0 ? !0 : o, p = r.altAxis, c = p === void 0 ? !0 : p, u = r.fallbackPlacements, l = r.padding, f = r.boundary, b = r.rootBoundary, x = r.altBoundary, h = r.flipVariations, O = h === void 0 ? !0 : h, w = r.allowedAutoPlacements, d = t.options.placement, g = ee(d), E = g === d, T = u || (E || !O ? [et(d)] :
|
|
617
|
-
return re.concat(ee(K) === mt ?
|
|
618
|
+
for (var o = r.mainAxis, a = o === void 0 ? !0 : o, p = r.altAxis, c = p === void 0 ? !0 : p, u = r.fallbackPlacements, l = r.padding, f = r.boundary, b = r.rootBoundary, x = r.altBoundary, h = r.flipVariations, O = h === void 0 ? !0 : h, w = r.allowedAutoPlacements, d = t.options.placement, g = ee(d), E = g === d, T = u || (E || !O ? [et(d)] : sn(d)), i = [d].concat(T).reduce(function(re, K) {
|
|
619
|
+
return re.concat(ee(K) === mt ? an(t, {
|
|
618
620
|
placement: K,
|
|
619
621
|
boundary: f,
|
|
620
622
|
rootBoundary: b,
|
|
@@ -622,15 +624,15 @@ function an(e) {
|
|
|
622
624
|
flipVariations: O,
|
|
623
625
|
allowedAutoPlacements: w
|
|
624
626
|
}) : K);
|
|
625
|
-
}, []),
|
|
626
|
-
var M = i[L], R = ee(M), k =
|
|
627
|
+
}, []), C = t.rects.reference, m = t.rects.popper, S = /* @__PURE__ */ new Map(), I = !0, P = i[0], L = 0; L < i.length; L++) {
|
|
628
|
+
var M = i[L], R = ee(M), k = Ae(M) === Ee, F = [N, q].indexOf(R) >= 0, H = F ? "width" : "height", _ = $e(t, {
|
|
627
629
|
placement: M,
|
|
628
630
|
boundary: f,
|
|
629
631
|
rootBoundary: b,
|
|
630
632
|
altBoundary: x,
|
|
631
633
|
padding: l
|
|
632
634
|
}), B = F ? k ? X : V : k ? q : N;
|
|
633
|
-
|
|
635
|
+
C[H] > m[H] && (B = et(B));
|
|
634
636
|
var j = et(B), G = [];
|
|
635
637
|
if (a && G.push(_[R] <= 0), c && G.push(_[B] <= 0, _[j] <= 0), G.every(function(re) {
|
|
636
638
|
return re;
|
|
@@ -659,11 +661,11 @@ function an(e) {
|
|
|
659
661
|
t.placement !== P && (t.modifiersData[n]._skip = !0, t.placement = P, t.reset = !0);
|
|
660
662
|
}
|
|
661
663
|
}
|
|
662
|
-
const
|
|
664
|
+
const pn = {
|
|
663
665
|
name: "flip",
|
|
664
666
|
enabled: !0,
|
|
665
667
|
phase: "main",
|
|
666
|
-
fn:
|
|
668
|
+
fn: un,
|
|
667
669
|
requiresIfExists: ["offset"],
|
|
668
670
|
data: {
|
|
669
671
|
_skip: !1
|
|
@@ -685,7 +687,7 @@ function Lt(e) {
|
|
|
685
687
|
return e[t] >= 0;
|
|
686
688
|
});
|
|
687
689
|
}
|
|
688
|
-
function
|
|
690
|
+
function cn(e) {
|
|
689
691
|
var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, p = $e(t, {
|
|
690
692
|
elementContext: "reference"
|
|
691
693
|
}), c = $e(t, {
|
|
@@ -701,14 +703,14 @@ function un(e) {
|
|
|
701
703
|
"data-popper-escaped": b
|
|
702
704
|
});
|
|
703
705
|
}
|
|
704
|
-
const
|
|
706
|
+
const fn = {
|
|
705
707
|
name: "hide",
|
|
706
708
|
enabled: !0,
|
|
707
709
|
phase: "main",
|
|
708
710
|
requiresIfExists: ["preventOverflow"],
|
|
709
|
-
fn:
|
|
711
|
+
fn: cn
|
|
710
712
|
};
|
|
711
|
-
function
|
|
713
|
+
function ln(e, t, r) {
|
|
712
714
|
var n = ee(e), o = [V, N].indexOf(n) >= 0 ? -1 : 1, a = typeof r == "function" ? r(Object.assign({}, t, {
|
|
713
715
|
placement: e
|
|
714
716
|
})) : r, p = a[0], c = a[1];
|
|
@@ -720,20 +722,20 @@ function cn(e, t, r) {
|
|
|
720
722
|
y: c
|
|
721
723
|
};
|
|
722
724
|
}
|
|
723
|
-
function
|
|
725
|
+
function dn(e) {
|
|
724
726
|
var t = e.state, r = e.options, n = e.name, o = r.offset, a = o === void 0 ? [0, 0] : o, p = Ut.reduce(function(f, b) {
|
|
725
|
-
return f[b] =
|
|
727
|
+
return f[b] = ln(b, t.rects, a), f;
|
|
726
728
|
}, {}), c = p[t.placement], u = c.x, l = c.y;
|
|
727
729
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += l), t.modifiersData[n] = p;
|
|
728
730
|
}
|
|
729
|
-
const
|
|
731
|
+
const vn = {
|
|
730
732
|
name: "offset",
|
|
731
733
|
enabled: !0,
|
|
732
734
|
phase: "main",
|
|
733
735
|
requires: ["popperOffsets"],
|
|
734
|
-
fn
|
|
736
|
+
fn: dn
|
|
735
737
|
};
|
|
736
|
-
function
|
|
738
|
+
function mn(e) {
|
|
737
739
|
var t = e.state, r = e.name;
|
|
738
740
|
t.modifiersData[r] = Qt({
|
|
739
741
|
reference: t.rects.reference,
|
|
@@ -742,23 +744,23 @@ function dn(e) {
|
|
|
742
744
|
placement: t.placement
|
|
743
745
|
});
|
|
744
746
|
}
|
|
745
|
-
const
|
|
747
|
+
const hn = {
|
|
746
748
|
name: "popperOffsets",
|
|
747
749
|
enabled: !0,
|
|
748
750
|
phase: "read",
|
|
749
|
-
fn:
|
|
751
|
+
fn: mn,
|
|
750
752
|
data: {}
|
|
751
753
|
};
|
|
752
|
-
function
|
|
754
|
+
function gn(e) {
|
|
753
755
|
return e === "x" ? "y" : "x";
|
|
754
756
|
}
|
|
755
|
-
function
|
|
757
|
+
function yn(e) {
|
|
756
758
|
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, a = o === void 0 ? !0 : o, p = r.altAxis, c = p === void 0 ? !1 : p, u = r.boundary, l = r.rootBoundary, f = r.altBoundary, b = r.padding, x = r.tether, h = x === void 0 ? !0 : x, O = r.tetherOffset, w = O === void 0 ? 0 : O, d = $e(t, {
|
|
757
759
|
boundary: u,
|
|
758
760
|
rootBoundary: l,
|
|
759
761
|
padding: b,
|
|
760
762
|
altBoundary: f
|
|
761
|
-
}), g = ee(t.placement), E =
|
|
763
|
+
}), g = ee(t.placement), E = Ae(t.placement), T = !E, i = yt(g), C = gn(i), m = t.modifiersData.popperOffsets, S = t.rects.reference, I = t.rects.popper, P = typeof w == "function" ? w(Object.assign({}, t.rects, {
|
|
762
764
|
placement: t.placement
|
|
763
765
|
})) : w, L = typeof P == "number" ? {
|
|
764
766
|
mainAxis: P,
|
|
@@ -779,35 +781,35 @@ function hn(e) {
|
|
|
779
781
|
m[i] = ke, R[i] = ke - B;
|
|
780
782
|
}
|
|
781
783
|
if (c) {
|
|
782
|
-
var Le, Ue = i === "x" ? N : V, ze = i === "x" ? q : X, oe = m[
|
|
783
|
-
m[
|
|
784
|
+
var Le, Ue = i === "x" ? N : V, ze = i === "x" ? q : X, oe = m[C], ue = C === "y" ? "height" : "width", Re = oe + d[Ue], de = oe - d[ze], Pe = [N, V].indexOf(g) !== -1, qe = (Le = M == null ? void 0 : M[C]) != null ? Le : 0, Xe = Pe ? Re : oe - S[ue] - I[ue] - qe + L.altAxis, Ye = Pe ? oe + S[ue] + I[ue] - qe - L.altAxis : de, Ke = h && Pe ? Fr(Xe, oe, Ye) : Me(h ? Xe : Re, oe, h ? Ye : de);
|
|
785
|
+
m[C] = Ke, R[C] = Ke - oe;
|
|
784
786
|
}
|
|
785
787
|
t.modifiersData[n] = R;
|
|
786
788
|
}
|
|
787
789
|
}
|
|
788
|
-
const
|
|
790
|
+
const bn = {
|
|
789
791
|
name: "preventOverflow",
|
|
790
792
|
enabled: !0,
|
|
791
793
|
phase: "main",
|
|
792
|
-
fn:
|
|
794
|
+
fn: yn,
|
|
793
795
|
requiresIfExists: ["offset"]
|
|
794
796
|
};
|
|
795
|
-
function
|
|
797
|
+
function wn(e) {
|
|
796
798
|
return {
|
|
797
799
|
scrollLeft: e.scrollLeft,
|
|
798
800
|
scrollTop: e.scrollTop
|
|
799
801
|
};
|
|
800
802
|
}
|
|
801
|
-
function
|
|
802
|
-
return e === Y(e) || !z(e) ? bt(e) :
|
|
803
|
+
function xn(e) {
|
|
804
|
+
return e === Y(e) || !z(e) ? bt(e) : wn(e);
|
|
803
805
|
}
|
|
804
|
-
function
|
|
806
|
+
function On(e) {
|
|
805
807
|
var t = e.getBoundingClientRect(), r = Te(t.width) / e.offsetWidth || 1, n = Te(t.height) / e.offsetHeight || 1;
|
|
806
808
|
return r !== 1 || n !== 1;
|
|
807
809
|
}
|
|
808
|
-
function
|
|
810
|
+
function En(e, t, r) {
|
|
809
811
|
r === void 0 && (r = !1);
|
|
810
|
-
var n = z(t), o = z(t) &&
|
|
812
|
+
var n = z(t), o = z(t) && On(t), a = ce(t), p = Ce(e, o, r), c = {
|
|
811
813
|
scrollLeft: 0,
|
|
812
814
|
scrollTop: 0
|
|
813
815
|
}, u = {
|
|
@@ -815,14 +817,14 @@ function xn(e, t, r) {
|
|
|
815
817
|
y: 0
|
|
816
818
|
};
|
|
817
819
|
return (n || !n && !r) && ((te(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
818
|
-
xt(a)) && (c =
|
|
820
|
+
xt(a)) && (c = xn(t)), z(t) ? (u = Ce(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : a && (u.x = wt(a))), {
|
|
819
821
|
x: p.left + c.scrollLeft - u.x,
|
|
820
822
|
y: p.top + c.scrollTop - u.y,
|
|
821
823
|
width: p.width,
|
|
822
824
|
height: p.height
|
|
823
825
|
};
|
|
824
826
|
}
|
|
825
|
-
function
|
|
827
|
+
function Tn(e) {
|
|
826
828
|
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
827
829
|
e.forEach(function(a) {
|
|
828
830
|
t.set(a.name, a);
|
|
@@ -841,15 +843,15 @@ function On(e) {
|
|
|
841
843
|
r.has(a.name) || o(a);
|
|
842
844
|
}), n;
|
|
843
845
|
}
|
|
844
|
-
function
|
|
845
|
-
var t =
|
|
846
|
-
return
|
|
846
|
+
function Cn(e) {
|
|
847
|
+
var t = Tn(e);
|
|
848
|
+
return _r.reduce(function(r, n) {
|
|
847
849
|
return r.concat(t.filter(function(o) {
|
|
848
850
|
return o.phase === n;
|
|
849
851
|
}));
|
|
850
852
|
}, []);
|
|
851
853
|
}
|
|
852
|
-
function
|
|
854
|
+
function An(e) {
|
|
853
855
|
var t;
|
|
854
856
|
return function() {
|
|
855
857
|
return t || (t = new Promise(function(r) {
|
|
@@ -859,7 +861,7 @@ function Tn(e) {
|
|
|
859
861
|
})), t;
|
|
860
862
|
};
|
|
861
863
|
}
|
|
862
|
-
function
|
|
864
|
+
function Dn(e) {
|
|
863
865
|
var t = e.reduce(function(r, n) {
|
|
864
866
|
var o = r[n.name];
|
|
865
867
|
return r[n.name] = o ? Object.assign({}, o, n, {
|
|
@@ -883,7 +885,7 @@ function Pt() {
|
|
|
883
885
|
return !(n && typeof n.getBoundingClientRect == "function");
|
|
884
886
|
});
|
|
885
887
|
}
|
|
886
|
-
function
|
|
888
|
+
function Sn(e) {
|
|
887
889
|
e === void 0 && (e = {});
|
|
888
890
|
var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, a = o === void 0 ? Rt : o;
|
|
889
891
|
return function(c, u, l) {
|
|
@@ -907,7 +909,7 @@ function Cn(e) {
|
|
|
907
909
|
reference: ge(c) ? je(c) : c.contextElement ? je(c.contextElement) : [],
|
|
908
910
|
popper: je(u)
|
|
909
911
|
};
|
|
910
|
-
var T =
|
|
912
|
+
var T = Cn(Dn([].concat(n, f.options.modifiers)));
|
|
911
913
|
return f.orderedModifiers = T.filter(function(i) {
|
|
912
914
|
return i.enabled;
|
|
913
915
|
}), O(), h.update();
|
|
@@ -922,7 +924,7 @@ function Cn(e) {
|
|
|
922
924
|
var g = f.elements, E = g.reference, T = g.popper;
|
|
923
925
|
if (Pt(E, T)) {
|
|
924
926
|
f.rects = {
|
|
925
|
-
reference:
|
|
927
|
+
reference: En(E, Ve(T), f.options.strategy === "fixed"),
|
|
926
928
|
popper: gt(T)
|
|
927
929
|
}, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(L) {
|
|
928
930
|
return f.modifiersData[L.name] = Object.assign({}, L.data);
|
|
@@ -932,7 +934,7 @@ function Cn(e) {
|
|
|
932
934
|
f.reset = !1, i = -1;
|
|
933
935
|
continue;
|
|
934
936
|
}
|
|
935
|
-
var
|
|
937
|
+
var C = f.orderedModifiers[i], m = C.fn, S = C.options, I = S === void 0 ? {} : S, P = C.name;
|
|
936
938
|
typeof m == "function" && (f = m({
|
|
937
939
|
state: f,
|
|
938
940
|
options: I,
|
|
@@ -945,7 +947,7 @@ function Cn(e) {
|
|
|
945
947
|
},
|
|
946
948
|
// Async and optimistically optimized update – it will not be executed if
|
|
947
949
|
// not necessary (debounced to run at most once-per-tick)
|
|
948
|
-
update:
|
|
950
|
+
update: An(function() {
|
|
949
951
|
return new Promise(function(d) {
|
|
950
952
|
h.forceUpdate(), d(f);
|
|
951
953
|
});
|
|
@@ -963,14 +965,14 @@ function Cn(e) {
|
|
|
963
965
|
f.orderedModifiers.forEach(function(d) {
|
|
964
966
|
var g = d.name, E = d.options, T = E === void 0 ? {} : E, i = d.effect;
|
|
965
967
|
if (typeof i == "function") {
|
|
966
|
-
var
|
|
968
|
+
var C = i({
|
|
967
969
|
state: f,
|
|
968
970
|
name: g,
|
|
969
971
|
instance: h,
|
|
970
972
|
options: T
|
|
971
973
|
}), m = function() {
|
|
972
974
|
};
|
|
973
|
-
b.push(
|
|
975
|
+
b.push(C || m);
|
|
974
976
|
}
|
|
975
977
|
});
|
|
976
978
|
}
|
|
@@ -982,9 +984,9 @@ function Cn(e) {
|
|
|
982
984
|
return h;
|
|
983
985
|
};
|
|
984
986
|
}
|
|
985
|
-
var
|
|
986
|
-
defaultModifiers:
|
|
987
|
-
}),
|
|
987
|
+
var kn = [Jr, hn, Kr, zt, vn, pn, bn, zr, fn], Ln = /* @__PURE__ */ Sn({
|
|
988
|
+
defaultModifiers: kn
|
|
989
|
+
}), Rn = "tippy-box", Zt = "tippy-content", Pn = "tippy-backdrop", er = "tippy-arrow", tr = "tippy-svg-arrow", pe = {
|
|
988
990
|
passive: !0,
|
|
989
991
|
capture: !0
|
|
990
992
|
}, rr = function() {
|
|
@@ -1014,13 +1016,13 @@ function It(e, t) {
|
|
|
1014
1016
|
}, t);
|
|
1015
1017
|
};
|
|
1016
1018
|
}
|
|
1017
|
-
function
|
|
1019
|
+
function In(e, t) {
|
|
1018
1020
|
var r = Object.assign({}, e);
|
|
1019
1021
|
return t.forEach(function(n) {
|
|
1020
1022
|
delete r[n];
|
|
1021
1023
|
}), r;
|
|
1022
1024
|
}
|
|
1023
|
-
function
|
|
1025
|
+
function Mn(e) {
|
|
1024
1026
|
return e.split(/\s+/).filter(Boolean);
|
|
1025
1027
|
}
|
|
1026
1028
|
function me(e) {
|
|
@@ -1029,12 +1031,12 @@ function me(e) {
|
|
|
1029
1031
|
function Mt(e, t) {
|
|
1030
1032
|
e.indexOf(t) === -1 && e.push(t);
|
|
1031
1033
|
}
|
|
1032
|
-
function
|
|
1034
|
+
function jn(e) {
|
|
1033
1035
|
return e.filter(function(t, r) {
|
|
1034
1036
|
return e.indexOf(t) === r;
|
|
1035
1037
|
});
|
|
1036
1038
|
}
|
|
1037
|
-
function
|
|
1039
|
+
function _n(e) {
|
|
1038
1040
|
return e.split("-")[0];
|
|
1039
1041
|
}
|
|
1040
1042
|
function rt(e) {
|
|
@@ -1053,17 +1055,17 @@ function it(e) {
|
|
|
1053
1055
|
return Ot(e, t);
|
|
1054
1056
|
});
|
|
1055
1057
|
}
|
|
1056
|
-
function
|
|
1058
|
+
function Bn(e) {
|
|
1057
1059
|
return Ot(e, "NodeList");
|
|
1058
1060
|
}
|
|
1059
|
-
function
|
|
1061
|
+
function $n(e) {
|
|
1060
1062
|
return Ot(e, "MouseEvent");
|
|
1061
1063
|
}
|
|
1062
|
-
function
|
|
1064
|
+
function Nn(e) {
|
|
1063
1065
|
return !!(e && e._tippy && e._tippy.reference === e);
|
|
1064
1066
|
}
|
|
1065
|
-
function
|
|
1066
|
-
return it(e) ? [e] :
|
|
1067
|
+
function Vn(e) {
|
|
1068
|
+
return it(e) ? [e] : Bn(e) ? rt(e) : Array.isArray(e) ? e : rt(document.querySelectorAll(e));
|
|
1067
1069
|
}
|
|
1068
1070
|
function ut(e, t) {
|
|
1069
1071
|
e.forEach(function(r) {
|
|
@@ -1075,14 +1077,14 @@ function _t(e, t) {
|
|
|
1075
1077
|
r && r.setAttribute("data-state", t);
|
|
1076
1078
|
});
|
|
1077
1079
|
}
|
|
1078
|
-
function
|
|
1080
|
+
function Fn(e) {
|
|
1079
1081
|
var t, r = me(e), n = r[0];
|
|
1080
1082
|
return n != null && (t = n.ownerDocument) != null && t.body ? n.ownerDocument : document;
|
|
1081
1083
|
}
|
|
1082
|
-
function
|
|
1084
|
+
function Hn(e, t) {
|
|
1083
1085
|
var r = t.clientX, n = t.clientY;
|
|
1084
1086
|
return e.every(function(o) {
|
|
1085
|
-
var a = o.popperRect, p = o.popperState, c = o.props, u = c.interactiveBorder, l =
|
|
1087
|
+
var a = o.popperRect, p = o.popperState, c = o.props, u = c.interactiveBorder, l = _n(p.placement), f = p.modifiersData.offset;
|
|
1086
1088
|
if (!f)
|
|
1087
1089
|
return !0;
|
|
1088
1090
|
var b = l === "bottom" ? f.top.y : 0, x = l === "top" ? f.bottom.y : 0, h = l === "right" ? f.left.x : 0, O = l === "left" ? f.right.x : 0, w = a.top - n + b > u, d = n - a.bottom - x > u, g = a.left - r + h > u, E = r - a.right - O > u;
|
|
@@ -1107,32 +1109,32 @@ function Bt(e, t) {
|
|
|
1107
1109
|
var Z = {
|
|
1108
1110
|
isTouch: !1
|
|
1109
1111
|
}, $t = 0;
|
|
1110
|
-
function
|
|
1112
|
+
function Wn() {
|
|
1111
1113
|
Z.isTouch || (Z.isTouch = !0, window.performance && document.addEventListener("mousemove", ir));
|
|
1112
1114
|
}
|
|
1113
1115
|
function ir() {
|
|
1114
1116
|
var e = performance.now();
|
|
1115
1117
|
e - $t < 20 && (Z.isTouch = !1, document.removeEventListener("mousemove", ir)), $t = e;
|
|
1116
1118
|
}
|
|
1117
|
-
function
|
|
1119
|
+
function Un() {
|
|
1118
1120
|
var e = document.activeElement;
|
|
1119
|
-
if (
|
|
1121
|
+
if (Nn(e)) {
|
|
1120
1122
|
var t = e._tippy;
|
|
1121
1123
|
e.blur && !t.state.isVisible && e.blur();
|
|
1122
1124
|
}
|
|
1123
1125
|
}
|
|
1124
|
-
function
|
|
1125
|
-
document.addEventListener("touchstart",
|
|
1126
|
+
function zn() {
|
|
1127
|
+
document.addEventListener("touchstart", Wn, pe), window.addEventListener("blur", Un);
|
|
1126
1128
|
}
|
|
1127
|
-
var
|
|
1129
|
+
var qn = typeof window < "u" && typeof document < "u", Xn = qn ? (
|
|
1128
1130
|
// @ts-ignore
|
|
1129
1131
|
!!window.msCrypto
|
|
1130
|
-
) : !1,
|
|
1132
|
+
) : !1, Yn = {
|
|
1131
1133
|
animateFill: !1,
|
|
1132
1134
|
followCursor: !1,
|
|
1133
1135
|
inlinePositioning: !1,
|
|
1134
1136
|
sticky: !1
|
|
1135
|
-
},
|
|
1137
|
+
}, Kn = {
|
|
1136
1138
|
allowHTML: !1,
|
|
1137
1139
|
animation: "fade",
|
|
1138
1140
|
arrow: !0,
|
|
@@ -1190,7 +1192,7 @@ var Un = typeof window < "u" && typeof document < "u", zn = Un ? (
|
|
|
1190
1192
|
touch: !0,
|
|
1191
1193
|
trigger: "mouseenter focus",
|
|
1192
1194
|
triggerTarget: null
|
|
1193
|
-
},
|
|
1195
|
+
}, Yn, Kn), Gn = Object.keys(W), Jn = function(t) {
|
|
1194
1196
|
var r = Object.keys(t);
|
|
1195
1197
|
r.forEach(function(n) {
|
|
1196
1198
|
W[n] = t[n];
|
|
@@ -1207,10 +1209,10 @@ function or(e) {
|
|
|
1207
1209
|
}, {});
|
|
1208
1210
|
return Object.assign({}, e, r);
|
|
1209
1211
|
}
|
|
1210
|
-
function
|
|
1212
|
+
function Qn(e, t) {
|
|
1211
1213
|
var r = t ? Object.keys(or(Object.assign({}, W, {
|
|
1212
1214
|
plugins: t
|
|
1213
|
-
}))) :
|
|
1215
|
+
}))) : Gn, n = r.reduce(function(o, a) {
|
|
1214
1216
|
var p = (e.getAttribute("data-tippy-" + a) || "").trim();
|
|
1215
1217
|
if (!p)
|
|
1216
1218
|
return o;
|
|
@@ -1229,17 +1231,17 @@ function Gn(e, t) {
|
|
|
1229
1231
|
function Nt(e, t) {
|
|
1230
1232
|
var r = Object.assign({}, t, {
|
|
1231
1233
|
content: nr(t.content, [e])
|
|
1232
|
-
}, t.ignoreAttributes ? {} :
|
|
1234
|
+
}, t.ignoreAttributes ? {} : Qn(e, t.plugins));
|
|
1233
1235
|
return r.aria = Object.assign({}, W.aria, r.aria), r.aria = {
|
|
1234
1236
|
expanded: r.aria.expanded === "auto" ? t.interactive : r.aria.expanded,
|
|
1235
1237
|
content: r.aria.content === "auto" ? t.interactive ? null : "describedby" : r.aria.content
|
|
1236
1238
|
}, r;
|
|
1237
1239
|
}
|
|
1238
|
-
var
|
|
1240
|
+
var Zn = function() {
|
|
1239
1241
|
return "innerHTML";
|
|
1240
1242
|
};
|
|
1241
1243
|
function dt(e, t) {
|
|
1242
|
-
e[
|
|
1244
|
+
e[Zn()] = t;
|
|
1243
1245
|
}
|
|
1244
1246
|
function Vt(e) {
|
|
1245
1247
|
var t = _e();
|
|
@@ -1259,13 +1261,13 @@ function vt(e) {
|
|
|
1259
1261
|
return n.classList.contains(er) || n.classList.contains(tr);
|
|
1260
1262
|
}),
|
|
1261
1263
|
backdrop: r.find(function(n) {
|
|
1262
|
-
return n.classList.contains(
|
|
1264
|
+
return n.classList.contains(Pn);
|
|
1263
1265
|
})
|
|
1264
1266
|
};
|
|
1265
1267
|
}
|
|
1266
1268
|
function ar(e) {
|
|
1267
1269
|
var t = _e(), r = _e();
|
|
1268
|
-
r.className =
|
|
1270
|
+
r.className = Rn, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
|
|
1269
1271
|
var n = _e();
|
|
1270
1272
|
n.className = Zt, n.setAttribute("data-state", "hidden"), Ft(n, e.props), t.appendChild(r), r.appendChild(n), o(e.props, e.props);
|
|
1271
1273
|
function o(a, p) {
|
|
@@ -1278,9 +1280,9 @@ function ar(e) {
|
|
|
1278
1280
|
};
|
|
1279
1281
|
}
|
|
1280
1282
|
ar.$$tippy = !0;
|
|
1281
|
-
var
|
|
1282
|
-
function
|
|
1283
|
-
var r = Nt(e, Object.assign({}, W, or(jt(t)))), n, o, a, p = !1, c = !1, u = !1, l = !1, f, b, x, h = [], O = It(He, r.interactiveDebounce), w, d =
|
|
1283
|
+
var ei = 1, Ze = [], ct = [];
|
|
1284
|
+
function ti(e, t) {
|
|
1285
|
+
var r = Nt(e, Object.assign({}, W, or(jt(t)))), n, o, a, p = !1, c = !1, u = !1, l = !1, f, b, x, h = [], O = It(He, r.interactiveDebounce), w, d = ei++, g = null, E = jn(r.plugins), T = {
|
|
1284
1286
|
// Is the instance currently enabled?
|
|
1285
1287
|
isEnabled: !0,
|
|
1286
1288
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -1314,7 +1316,7 @@ function Zn(e, t) {
|
|
|
1314
1316
|
};
|
|
1315
1317
|
if (!r.render)
|
|
1316
1318
|
return i;
|
|
1317
|
-
var
|
|
1319
|
+
var C = r.render(i), m = C.popper, S = C.onUpdate;
|
|
1318
1320
|
m.setAttribute("data-tippy-root", ""), m.id = "tippy-" + i.id, i.popper = m, e._tippy = i, m._tippy = i;
|
|
1319
1321
|
var I = E.map(function(s) {
|
|
1320
1322
|
return s.fn(i);
|
|
@@ -1340,7 +1342,7 @@ function Zn(e, t) {
|
|
|
1340
1342
|
}
|
|
1341
1343
|
function F() {
|
|
1342
1344
|
var s = k().parentNode;
|
|
1343
|
-
return s ?
|
|
1345
|
+
return s ? Fn(s) : document;
|
|
1344
1346
|
}
|
|
1345
1347
|
function H() {
|
|
1346
1348
|
return vt(m);
|
|
@@ -1352,8 +1354,8 @@ function Zn(e, t) {
|
|
|
1352
1354
|
s === void 0 && (s = !1), m.style.pointerEvents = i.props.interactive && !s ? "" : "none", m.style.zIndex = "" + i.props.zIndex;
|
|
1353
1355
|
}
|
|
1354
1356
|
function j(s, v, y) {
|
|
1355
|
-
if (y === void 0 && (y = !0), I.forEach(function(
|
|
1356
|
-
|
|
1357
|
+
if (y === void 0 && (y = !0), I.forEach(function(A) {
|
|
1358
|
+
A[s] && A[s].apply(A, v);
|
|
1357
1359
|
}), y) {
|
|
1358
1360
|
var D;
|
|
1359
1361
|
(D = i.props)[s].apply(D, v);
|
|
@@ -1363,13 +1365,13 @@ function Zn(e, t) {
|
|
|
1363
1365
|
var s = i.props.aria;
|
|
1364
1366
|
if (s.content) {
|
|
1365
1367
|
var v = "aria-" + s.content, y = m.id, D = me(i.props.triggerTarget || e);
|
|
1366
|
-
D.forEach(function(
|
|
1367
|
-
var $ =
|
|
1368
|
+
D.forEach(function(A) {
|
|
1369
|
+
var $ = A.getAttribute(v);
|
|
1368
1370
|
if (i.state.isVisible)
|
|
1369
|
-
|
|
1371
|
+
A.setAttribute(v, $ ? $ + " " + y : y);
|
|
1370
1372
|
else {
|
|
1371
1373
|
var U = $ && $.replace(y, "").trim();
|
|
1372
|
-
U ?
|
|
1374
|
+
U ? A.setAttribute(v, U) : A.removeAttribute(v);
|
|
1373
1375
|
}
|
|
1374
1376
|
});
|
|
1375
1377
|
}
|
|
@@ -1428,8 +1430,8 @@ function Zn(e, t) {
|
|
|
1428
1430
|
}
|
|
1429
1431
|
function be(s, v) {
|
|
1430
1432
|
var y = H().box;
|
|
1431
|
-
function D(
|
|
1432
|
-
|
|
1433
|
+
function D(A) {
|
|
1434
|
+
A.target === y && (pt(y, "remove", D), v());
|
|
1433
1435
|
}
|
|
1434
1436
|
if (s === 0)
|
|
1435
1437
|
return v();
|
|
@@ -1438,9 +1440,9 @@ function Zn(e, t) {
|
|
|
1438
1440
|
function se(s, v, y) {
|
|
1439
1441
|
y === void 0 && (y = !1);
|
|
1440
1442
|
var D = me(i.props.triggerTarget || e);
|
|
1441
|
-
D.forEach(function(
|
|
1442
|
-
|
|
1443
|
-
node:
|
|
1443
|
+
D.forEach(function(A) {
|
|
1444
|
+
A.addEventListener(s, v, y), h.push({
|
|
1445
|
+
node: A,
|
|
1444
1446
|
eventType: s,
|
|
1445
1447
|
handler: v,
|
|
1446
1448
|
options: y
|
|
@@ -1452,14 +1454,14 @@ function Zn(e, t) {
|
|
|
1452
1454
|
passive: !0
|
|
1453
1455
|
}), se("touchend", We, {
|
|
1454
1456
|
passive: !0
|
|
1455
|
-
})),
|
|
1457
|
+
})), Mn(i.props.trigger).forEach(function(s) {
|
|
1456
1458
|
if (s !== "manual")
|
|
1457
1459
|
switch (se(s, Se), s) {
|
|
1458
1460
|
case "mouseenter":
|
|
1459
1461
|
se("mouseleave", We);
|
|
1460
1462
|
break;
|
|
1461
1463
|
case "focus":
|
|
1462
|
-
se(
|
|
1464
|
+
se(Xn ? "focusout" : "blur", ke);
|
|
1463
1465
|
break;
|
|
1464
1466
|
case "focusin":
|
|
1465
1467
|
se("focusout", ke);
|
|
@@ -1469,31 +1471,31 @@ function Zn(e, t) {
|
|
|
1469
1471
|
}
|
|
1470
1472
|
function Fe() {
|
|
1471
1473
|
h.forEach(function(s) {
|
|
1472
|
-
var v = s.node, y = s.eventType, D = s.handler,
|
|
1473
|
-
v.removeEventListener(y, D,
|
|
1474
|
+
var v = s.node, y = s.eventType, D = s.handler, A = s.options;
|
|
1475
|
+
v.removeEventListener(y, D, A);
|
|
1474
1476
|
}), h = [];
|
|
1475
1477
|
}
|
|
1476
1478
|
function Se(s) {
|
|
1477
1479
|
var v, y = !1;
|
|
1478
1480
|
if (!(!i.state.isEnabled || Le(s) || c)) {
|
|
1479
1481
|
var D = ((v = f) == null ? void 0 : v.type) === "focus";
|
|
1480
|
-
f = s, w = s.currentTarget, J(), !i.state.isVisible &&
|
|
1481
|
-
return
|
|
1482
|
+
f = s, w = s.currentTarget, J(), !i.state.isVisible && $n(s) && Ze.forEach(function(A) {
|
|
1483
|
+
return A(s);
|
|
1482
1484
|
}), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || p) && i.props.hideOnClick !== !1 && i.state.isVisible ? y = !0 : Re(s), s.type === "click" && (p = !y), y && !D && de(s);
|
|
1483
1485
|
}
|
|
1484
1486
|
}
|
|
1485
1487
|
function He(s) {
|
|
1486
1488
|
var v = s.target, y = k().contains(v) || m.contains(v);
|
|
1487
1489
|
if (!(s.type === "mousemove" && y)) {
|
|
1488
|
-
var D = ue().concat(m).map(function(
|
|
1489
|
-
var $, U =
|
|
1490
|
+
var D = ue().concat(m).map(function(A) {
|
|
1491
|
+
var $, U = A._tippy, xe = ($ = U.popperInstance) == null ? void 0 : $.state;
|
|
1490
1492
|
return xe ? {
|
|
1491
|
-
popperRect:
|
|
1493
|
+
popperRect: A.getBoundingClientRect(),
|
|
1492
1494
|
popperState: xe,
|
|
1493
1495
|
props: r
|
|
1494
1496
|
} : null;
|
|
1495
1497
|
}).filter(Boolean);
|
|
1496
|
-
|
|
1498
|
+
Hn(D, s) && (fe(), de(s));
|
|
1497
1499
|
}
|
|
1498
1500
|
}
|
|
1499
1501
|
function We(s) {
|
|
@@ -1514,9 +1516,9 @@ function Zn(e, t) {
|
|
|
1514
1516
|
}
|
|
1515
1517
|
function Ue() {
|
|
1516
1518
|
ze();
|
|
1517
|
-
var s = i.props, v = s.popperOptions, y = s.placement, D = s.offset,
|
|
1518
|
-
getBoundingClientRect:
|
|
1519
|
-
contextElement:
|
|
1519
|
+
var s = i.props, v = s.popperOptions, y = s.placement, D = s.offset, A = s.getReferenceClientRect, $ = s.moveTransition, U = R() ? vt(m).arrow : null, xe = A ? {
|
|
1520
|
+
getBoundingClientRect: A,
|
|
1521
|
+
contextElement: A.contextElement || k()
|
|
1520
1522
|
} : e, Et = {
|
|
1521
1523
|
name: "$$tippy",
|
|
1522
1524
|
enabled: !0,
|
|
@@ -1563,7 +1565,7 @@ function Zn(e, t) {
|
|
|
1563
1565
|
element: U,
|
|
1564
1566
|
padding: 3
|
|
1565
1567
|
}
|
|
1566
|
-
}), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance =
|
|
1568
|
+
}), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = Ln(xe, m, Object.assign({}, v, {
|
|
1567
1569
|
placement: y,
|
|
1568
1570
|
onFirstUpdate: x,
|
|
1569
1571
|
modifiers: ve
|
|
@@ -1581,8 +1583,8 @@ function Zn(e, t) {
|
|
|
1581
1583
|
}
|
|
1582
1584
|
function Re(s) {
|
|
1583
1585
|
i.clearDelayTimeouts(), s && j("onTrigger", [i, s]), K();
|
|
1584
|
-
var v = _(!0), y = L(), D = y[0],
|
|
1585
|
-
Z.isTouch && D === "hold" &&
|
|
1586
|
+
var v = _(!0), y = L(), D = y[0], A = y[1];
|
|
1587
|
+
Z.isTouch && D === "hold" && A && (v = A), v ? n = setTimeout(function() {
|
|
1586
1588
|
i.show();
|
|
1587
1589
|
}, v) : i.show();
|
|
1588
1590
|
}
|
|
@@ -1628,7 +1630,7 @@ function Zn(e, t) {
|
|
|
1628
1630
|
});
|
|
1629
1631
|
}
|
|
1630
1632
|
function sr() {
|
|
1631
|
-
var s = i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, D = Z.isTouch && !i.props.touch,
|
|
1633
|
+
var s = i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, D = Z.isTouch && !i.props.touch, A = st(i.props.duration, 0, W.duration);
|
|
1632
1634
|
if (!(s || v || y || D) && !k().hasAttribute("disabled") && (j("onShow", [i], !1), i.props.onShow(i) !== !1)) {
|
|
1633
1635
|
if (i.state.isVisible = !0, R() && (m.style.visibility = "visible"), B(), K(), i.state.isMounted || (m.style.transition = "none"), R()) {
|
|
1634
1636
|
var $ = H(), U = $.box, xe = $.content;
|
|
@@ -1639,9 +1641,9 @@ function Zn(e, t) {
|
|
|
1639
1641
|
if (!(!i.state.isVisible || l)) {
|
|
1640
1642
|
if (l = !0, m.offsetHeight, m.style.transition = i.props.moveTransition, R() && i.props.animation) {
|
|
1641
1643
|
var ot = H(), Ge = ot.box, Oe = ot.content;
|
|
1642
|
-
ut([Ge, Oe],
|
|
1644
|
+
ut([Ge, Oe], A), _t([Ge, Oe], "visible");
|
|
1643
1645
|
}
|
|
1644
|
-
G(), J(), Mt(ct, i), (ve = i.popperInstance) == null || ve.forceUpdate(), j("onMount", [i]), i.props.animation && R() && ie(
|
|
1646
|
+
G(), J(), Mt(ct, i), (ve = i.popperInstance) == null || ve.forceUpdate(), j("onMount", [i]), i.props.animation && R() && ie(A, function() {
|
|
1645
1647
|
i.state.isShown = !0, j("onShown", [i]);
|
|
1646
1648
|
});
|
|
1647
1649
|
}
|
|
@@ -1652,7 +1654,7 @@ function Zn(e, t) {
|
|
|
1652
1654
|
var s = !i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, D = st(i.props.duration, 1, W.duration);
|
|
1653
1655
|
if (!(s || v || y) && (j("onHide", [i], !1), i.props.onHide(i) !== !1)) {
|
|
1654
1656
|
if (i.state.isVisible = !1, i.state.isShown = !1, l = !1, p = !1, R() && (m.style.visibility = "hidden"), fe(), ne(), B(!0), R()) {
|
|
1655
|
-
var
|
|
1657
|
+
var A = H(), $ = A.box, U = A.content;
|
|
1656
1658
|
i.props.animation && (ut([$, U], D), _t([$, U], "hidden"));
|
|
1657
1659
|
}
|
|
1658
1660
|
G(), J(), i.props.animation ? R() && ye(D, i.unmount) : i.unmount();
|
|
@@ -1675,17 +1677,17 @@ function Zn(e, t) {
|
|
|
1675
1677
|
function De(e, t) {
|
|
1676
1678
|
t === void 0 && (t = {});
|
|
1677
1679
|
var r = W.plugins.concat(t.plugins || []);
|
|
1678
|
-
|
|
1680
|
+
zn();
|
|
1679
1681
|
var n = Object.assign({}, t, {
|
|
1680
1682
|
plugins: r
|
|
1681
|
-
}), o =
|
|
1682
|
-
var u = c &&
|
|
1683
|
+
}), o = Vn(e), a = o.reduce(function(p, c) {
|
|
1684
|
+
var u = c && ti(c, n);
|
|
1683
1685
|
return u && p.push(u), p;
|
|
1684
1686
|
}, []);
|
|
1685
1687
|
return it(e) ? a[0] : a;
|
|
1686
1688
|
}
|
|
1687
1689
|
De.defaultProps = W;
|
|
1688
|
-
De.setDefaultProps =
|
|
1690
|
+
De.setDefaultProps = Jn;
|
|
1689
1691
|
De.currentInput = Z;
|
|
1690
1692
|
Object.assign({}, zt, {
|
|
1691
1693
|
effect: function(t) {
|
|
@@ -1704,13 +1706,13 @@ Object.assign({}, zt, {
|
|
|
1704
1706
|
Object.assign(r.elements.popper.style, n.popper), r.styles = n, r.elements.arrow && Object.assign(r.elements.arrow.style, n.arrow);
|
|
1705
1707
|
}
|
|
1706
1708
|
});
|
|
1707
|
-
var
|
|
1709
|
+
var ri = {
|
|
1708
1710
|
mouseover: "mouseenter",
|
|
1709
1711
|
focusin: "focus",
|
|
1710
1712
|
click: "click"
|
|
1711
1713
|
};
|
|
1712
|
-
function
|
|
1713
|
-
var r = [], n = [], o = !1, a = t.target, p =
|
|
1714
|
+
function ui(e, t) {
|
|
1715
|
+
var r = [], n = [], o = !1, a = t.target, p = In(t, ["target"]), c = Object.assign({}, p, {
|
|
1714
1716
|
trigger: "manual",
|
|
1715
1717
|
touch: !1
|
|
1716
1718
|
}), u = Object.assign({
|
|
@@ -1723,7 +1725,7 @@ function ai(e, t) {
|
|
|
1723
1725
|
var g = d.target.closest(a);
|
|
1724
1726
|
if (g) {
|
|
1725
1727
|
var E = g.getAttribute("data-tippy-trigger") || t.trigger || W.trigger;
|
|
1726
|
-
if (!g._tippy && !(d.type === "touchstart" && typeof u.touch == "boolean") && !(d.type !== "touchstart" && E.indexOf(
|
|
1728
|
+
if (!g._tippy && !(d.type === "touchstart" && typeof u.touch == "boolean") && !(d.type !== "touchstart" && E.indexOf(ri[d.type]) < 0)) {
|
|
1727
1729
|
var T = De(g, u);
|
|
1728
1730
|
T && (n = n.concat(T));
|
|
1729
1731
|
}
|
|
@@ -1751,8 +1753,8 @@ function ai(e, t) {
|
|
|
1751
1753
|
function w(d) {
|
|
1752
1754
|
var g = d.destroy, E = d.enable, T = d.disable;
|
|
1753
1755
|
d.destroy = function(i) {
|
|
1754
|
-
i === void 0 && (i = !0), i && n.forEach(function(
|
|
1755
|
-
|
|
1756
|
+
i === void 0 && (i = !0), i && n.forEach(function(C) {
|
|
1757
|
+
C.destroy();
|
|
1756
1758
|
}), n = [], O(), g();
|
|
1757
1759
|
}, d.enable = function() {
|
|
1758
1760
|
E(), n.forEach(function(i) {
|
|
@@ -1766,7 +1768,7 @@ function ai(e, t) {
|
|
|
1766
1768
|
}
|
|
1767
1769
|
return f.forEach(w), l;
|
|
1768
1770
|
}
|
|
1769
|
-
var
|
|
1771
|
+
var pi = {
|
|
1770
1772
|
name: "sticky",
|
|
1771
1773
|
defaultValue: !1,
|
|
1772
1774
|
fn: function(t) {
|
|
@@ -1796,8 +1798,8 @@ De.setDefaultProps({
|
|
|
1796
1798
|
render: ar
|
|
1797
1799
|
});
|
|
1798
1800
|
export {
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1801
|
+
Er as F,
|
|
1802
|
+
ui as d,
|
|
1803
|
+
pi as s,
|
|
1802
1804
|
De as t
|
|
1803
1805
|
};
|