@cling-se/widget 0.13.1 → 0.13.2
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 +27 -22
- package/dist/{AddClientCallout-fd6dc000.js → AddClientCallout-7LpWNu29.js} +11 -16
- package/dist/{AnswerModal-7c83d608.js → AnswerModal-DnTU4eo8.js} +1931 -1948
- package/dist/{AttachmentItem-468fd65c.js → AttachmentItem-DcwbrFUh.js} +15 -18
- package/dist/{BaseDatePicker-1975be7c.js → BaseDatePicker-BpyeJH3N.js} +139 -142
- package/dist/{BaseInput-2ca68242.js → BaseInput-DJreiE5M.js} +77 -56
- package/dist/{BaseUpload-a37ee3a3.js → BaseUpload-iosxX2-N.js} +208 -212
- package/dist/{BlockMedia-9fa610ce.js → BlockMedia-DnbdVEZz.js} +6 -8
- package/dist/{CCallout-4c253200.js → CCallout-CgviPbdr.js} +26 -16
- package/dist/{CDropdownItem-7e71da85.js → CDropdownItem-CTJ55d4m.js} +51 -50
- package/dist/{CField-823448be.js → CField-FGP7ehRq.js} +75 -58
- package/dist/{CPhoneFormat-54baa501.js → CPhoneFormat-8u5dmTPd.js} +5 -7
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-ceb19661.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js} +6 -8
- package/dist/{ClientAutocomplete-186cc118.js → ClientAutocomplete-hcl0bJxO.js} +11 -13
- package/dist/{ClientModal-c5ee3885.js → ClientModal-B8PkUqY2.js} +25 -32
- package/dist/{ColorPicker-65a47379.js → ColorPicker-6AIHrfJ5.js} +5 -7
- package/dist/{CompanyModal-564e2b35.js → CompanyModal-H4hHfy7Y.js} +28 -30
- package/dist/{ContentWrapper-ac56e749.js → ContentWrapper-CHZtfhFI.js} +25 -43
- package/dist/{CoverBlockSettings-8949a330.js → CoverBlockSettings-etwL5N5l.js} +20 -31
- package/dist/{DocAnswer-2c0cb58f.js → DocAnswer-Udn1ItYd.js} +5 -12
- package/dist/{DocDetails-6522bb1b.js → DocDetails-BQz-is7P.js} +47 -59
- package/dist/{DocForm-983d41f5.js → DocForm-Cvuxr89v.js} +4869 -4944
- package/dist/{DocFormSend-787ce614.js → DocFormSend-Bo6YPSMr.js} +15 -33
- package/dist/DocLinks-DlWyanFQ.js +38 -0
- package/dist/{DocModalBase-60c69c7f.js → DocModalBase-BnuOPozg.js} +8 -10
- package/dist/{DocPrint-78c501ca.js → DocPrint-Uw8zz2tr.js} +6 -10
- package/dist/{DocReceipt-ac44b93f.js → DocReceipt-DsRzRjD8.js} +11 -15
- package/dist/{DocSendReminder-6cf2424c.js → DocSendReminder-BEEEh-L9.js} +2 -6
- package/dist/{DocTextEditor-81f63135.js → DocTextEditor-C-qeLSQa.js} +2509 -2529
- package/dist/{DocTimeline-35106a94.js → DocTimeline-Bz29bHJu.js} +26 -37
- package/dist/{DocumentClient-eda56a3c.js → DocumentClient-1O7wxh-X.js} +15 -22
- package/dist/{DocumentLayout-4005baa4.js → DocumentLayout-BrN5peVY.js} +4510 -4527
- package/dist/{DocumentLogotype-0d7d5080.js → DocumentLogotype-Bbas4MsY.js} +20 -22
- package/dist/DocumentVoided-Dy-pp_ng.js +25 -0
- package/dist/{EmbedInput-8c301d27.js → EmbedInput-bXXwMP4u.js} +9 -12
- package/dist/{EmbedSettings-05ab2762.js → EmbedSettings-BA2THNrd.js} +6 -9
- package/dist/ErrorCallout-Dvy9895L.js +28 -0
- package/dist/{FilePreviewModal-743fe489.js → FilePreviewModal-r84Ah3lE.js} +8 -14
- package/dist/{Flag-a6b545e0.js → Flag-CDN9A_59.js} +18 -20
- package/dist/{HeaderSettings-b739ddbb.js → HeaderSettings-DoDFhLcR.js} +34 -49
- package/dist/{ImageSelectModal-b626ef57.js → ImageSelectModal-D6ifkvIw.js} +12 -20
- package/dist/{ImageUploadWrapper-be047810.js → ImageUploadWrapper-K0-MmL-L.js} +356 -384
- package/dist/{Index-071b97c8.js → Index-3p6X7Ln-.js} +24 -26
- package/dist/{Index-c049a6e2.js → Index-B26J4tXQ.js} +7 -9
- package/dist/{Index-8f237754.js → Index-B6gB5CD3.js} +6 -8
- package/dist/{Index-b56a2d94.js → Index-B6u3OUGH.js} +20 -23
- package/dist/{Index-ecbffb52.js → Index-BN64idjX.js} +18 -31
- package/dist/{Index-a52df5e2.js → Index-BNGaREiU.js} +14 -21
- package/dist/{Index-4298f3e2.js → Index-BNeg0lcx.js} +13 -15
- package/dist/{Index-56e4127a.js → Index-BQVjSt_5.js} +29 -29
- package/dist/Index-BVNgUe07.js +21 -0
- package/dist/{Index-3f02e8ca.js → Index-Be-J2RvQ.js} +8 -11
- package/dist/{Index-848bb05c.js → Index-Btlub0dK.js} +11 -13
- package/dist/{Index-4f119d80.js → Index-BtzGGZEN.js} +459 -510
- package/dist/{Index-8ea1a895.js → Index-ByCpvqCC.js} +16 -21
- package/dist/{Index-5bf8b9b7.js → Index-CSg7HLqX.js} +8 -10
- package/dist/{Index-54f457ee.js → Index-CUZJomAi.js} +10 -12
- package/dist/{Index-63aea2b8.js → Index-Cj_3udAp.js} +12 -21
- package/dist/{Index-6b66b9ff.js → Index-CnOdi4ux.js} +4 -6
- package/dist/{Index-8e82da74.js → Index-DT9AWIQ2.js} +12 -15
- package/dist/Index-DWHl_jys.js +24 -0
- package/dist/{Index-fe0e805b.js → Index-Di3ibm8r.js} +51 -58
- package/dist/Index-Dk-kPbWy.js +52 -0
- package/dist/Index-Dl87oWQa.js +49 -0
- package/dist/{Index-a3920b7b.js → Index-DnDY3FUU.js} +9 -11
- package/dist/{Index-8ebe3371.js → Index-DoKh3I_O.js} +19 -26
- package/dist/{Index-c349151b.js → Index-DvA5sZ1U.js} +7 -9
- package/dist/{Index-01224b38.js → Index-DwlzPadK.js} +233 -273
- package/dist/{Index-b2de3af8.js → Index-ID37TIgR.js} +2 -4
- package/dist/Index-TPRXPN4a.js +26 -0
- package/dist/{Index-8cfeac73.js → Index-YdyeCcFX.js} +80 -90
- package/dist/{Index-97c18be1.js → Index-b0dDsObZ.js} +5 -9
- package/dist/{Index-caebb616.js → Index-bIYFzizT.js} +4 -6
- package/dist/{Index-4b09d0fa.js → Index-d5iMi4y5.js} +116 -118
- package/dist/{Index-ea1e223d.js → Index-oYQ9EfP9.js} +16 -18
- package/dist/{Index-f1bf6520.js → Index-phsroK51.js} +6 -8
- package/dist/{InputToggleRow-f86fdf91.js → InputToggleRow-ClHkgn7s.js} +3 -5
- package/dist/{ManualPopover-d7c2a780.js → ManualPopover-DrhgZvGC.js} +1 -3
- package/dist/{MediaWrapper-2381bc95.js → MediaWrapper-BxNEJOT7.js} +3 -6
- package/dist/{NotBindingText-a9eae0b2.js → NotBindingText-BhKMdYBN.js} +5 -7
- package/dist/{PackageGroup-95d99d03.js → PackageGroup--pDNkIMj.js} +35 -59
- package/dist/{PdfTerms-4a6d6067.js → PdfTerms-BL34ex7f.js} +11 -18
- package/dist/{PdfViewer-8d7f2143.js → PdfViewer-CPSINxc8.js} +25 -29
- package/dist/{PlainHtml-9d3f71d6.js → PlainHtml-Dc76U4EV.js} +5 -7
- package/dist/{PriceHeader-f2cb6529.js → PriceHeader-CEGF-DO3.js} +113 -130
- package/dist/SearchApi-D4yY2KZj.js +161 -0
- package/dist/{Setup-74c47337.js → Setup-BJIY_mWN.js} +9 -11
- package/dist/{TermsSettings-0c5a6cad.js → TermsSettings-DM4pvL-n.js} +6 -12
- package/dist/{ThemeColorRow-bbf4f527.js → ThemeColorRow-D7TCU3ap.js} +8 -10
- package/dist/{ToggleBinding-50af6f0f.js → ToggleBinding-CSgFUF6o.js} +7 -9
- package/dist/{UploadModal-d2757015.js → UploadModal-Cz7o7DeT.js} +16 -19
- package/dist/{VideoPlayerInput-cb6c91e8.js → VideoPlayerInput-Db0RRtb5.js} +6 -8
- package/dist/{VideoPlayerSettings-bff30628.js → VideoPlayerSettings-BgbNuWbP.js} +7 -11
- package/dist/{VideoSelectModal-9ec9ecfc.js → VideoSelectModal-BIKeCzUZ.js} +20 -28
- package/dist/{answerDocumentMixin-9368852c.js → answerDocumentMixin-Bqg9Of1S.js} +5 -5
- package/dist/{debounce-f8aeabc5.js → debounce-DceKdgy2.js} +3 -3
- package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
- package/dist/{focusDrawerMixin-e2312605.js → focusDrawerMixin-Cx41U1xU.js} +1 -1
- package/dist/{formComponentsInstall-6894b988.js → formComponentsInstall-CWgaR4yB.js} +1198 -1171
- package/dist/{formDrawerState-b99be3a7.js → formDrawerState-DLCSwrgc.js} +1 -1
- package/dist/{formValidationMixin-a9a35060.js → formValidationMixin-CsLym0iM.js} +2 -2
- package/dist/{index-b2348f09.js → index-0kj8-T7-.js} +39 -44
- package/dist/{index-9d1ade78.js → index-4MqvoLi4.js} +3 -5
- package/dist/{index-96e9db00.js → index-By9c7IPL.js} +41 -59
- package/dist/{index-d35e9363.js → index-C16hoSRM.js} +5 -3
- package/dist/{index-c9186403.js → index-C6C4uskP.js} +14 -16
- package/dist/{IsPremiumPreStep-27645ee9.js → index-Cp7dG8Zm.js} +531 -566
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +1019 -1028
- package/dist/{main-b9ea9725.js → main-DBw231uy.js} +21733 -21943
- package/dist/{mapFormMixin-de4a37c3.js → mapFormMixin-BrtcYsT9.js} +1 -2
- package/dist/{vuedraggable.umd-1b113186.js → omit-DQqb9hkZ.js} +143 -133
- package/dist/{publicSenderState-a2c0cc9d.js → publicSenderState-BysO0Mzz.js} +1 -1
- package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
- package/dist/style.css +2 -2
- package/dist/{throttle-53a6c735.js → throttle-DKrISvLg.js} +2 -2
- package/dist/{tinycolor-071e269c.js → tinycolor-Be3bF6zy.js} +6 -6
- package/dist/{tippy.esm-1b89bf69.js → tippy.esm-yjYH8SnL.js} +226 -232
- package/dist/{utils-44a35f52.js → utils-DP30AdJH.js} +1 -1
- package/package.json +2 -2
- package/dist/DocLinks-d6b1b080.js +0 -41
- package/dist/DocumentVoided-fe1bd505.js +0 -27
- package/dist/ErrorCallout-87033b39.js +0 -30
- package/dist/Index-6bfbbbd2.js +0 -61
- package/dist/Index-6c21af02.js +0 -28
- package/dist/Index-cbd0f3f6.js +0 -23
- package/dist/Index-f006e9fe.js +0 -26
- package/dist/Index-fc0516f6.js +0 -54
- package/dist/SearchApi-2a59cdc7.js +0 -167
- package/dist/index-3671e1b7.js +0 -14
- package/dist/index-805c56e4.js +0 -4
- /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
- /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
- /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
- /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
- /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { S as wr } from "./
|
|
1
|
+
import { F as mr } from "./DocumentLayout-BrN5peVY.js";
|
|
2
|
+
import { C as hr, a as gr } from "./CDropdownItem-CTJ55d4m.js";
|
|
3
|
+
import { n as Wt, r as yr, aM as Ot } from "./main-DBw231uy.js";
|
|
4
|
+
import { C as br } from "./ColorPicker-6AIHrfJ5.js";
|
|
5
|
+
import { S as wr } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js";
|
|
6
6
|
const xr = {
|
|
7
7
|
AED: "United Arab Emirates Dirham",
|
|
8
8
|
AFN: "Afghan Afghani",
|
|
@@ -170,13 +170,12 @@ const xr = {
|
|
|
170
170
|
ZAR: "South African Rand",
|
|
171
171
|
ZMW: "Zambian Kwacha",
|
|
172
172
|
ZWL: "Zimbabwean Dollar"
|
|
173
|
-
}
|
|
174
|
-
const Dr = {
|
|
173
|
+
}, Dr = {
|
|
175
174
|
name: "CCurrencyDropdown",
|
|
176
175
|
components: {
|
|
177
|
-
CInput:
|
|
178
|
-
CDropdown:
|
|
179
|
-
CDropdownItem:
|
|
176
|
+
CInput: yr,
|
|
177
|
+
CDropdown: hr,
|
|
178
|
+
CDropdownItem: gr,
|
|
180
179
|
SmartList: wr
|
|
181
180
|
},
|
|
182
181
|
props: {
|
|
@@ -202,7 +201,7 @@ const Dr = {
|
|
|
202
201
|
}
|
|
203
202
|
},
|
|
204
203
|
selectedValue() {
|
|
205
|
-
return this.internalCurrency ?
|
|
204
|
+
return this.internalCurrency ? Ot(this.internalCurrency) : "";
|
|
206
205
|
}
|
|
207
206
|
},
|
|
208
207
|
watch: {
|
|
@@ -211,10 +210,10 @@ const Dr = {
|
|
|
211
210
|
}
|
|
212
211
|
},
|
|
213
212
|
methods: {
|
|
214
|
-
getCurrencySymbol:
|
|
213
|
+
getCurrencySymbol: Ot
|
|
215
214
|
}
|
|
216
215
|
};
|
|
217
|
-
var
|
|
216
|
+
var Cr = function() {
|
|
218
217
|
var e = this, r = e._self._c;
|
|
219
218
|
return r("SmartList", { attrs: { query: e.searchQuery, items: Object.keys(e.currencies), "default-sort": "asc" }, scopedSlots: e._u([{ key: "default", fn: function({ items: n }) {
|
|
220
219
|
return [r("CDropdown", e._b({ staticClass: "control", attrs: { size: e.$attrs.size, disabled: e.$attrs.disabled, "menu-styling": {
|
|
@@ -235,23 +234,20 @@ var Or = function() {
|
|
|
235
234
|
return r("CDropdownItem", { key: a, staticClass: "truncate-text", staticStyle: { "padding-right": "0.5em" }, attrs: { value: a } }, [r("div", { staticStyle: { "margin-right": "auto" } }, [e._v(e._s(a))]), r("div", { staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.getCurrencySymbol(a)) + " ")])]);
|
|
236
235
|
})], 2)];
|
|
237
236
|
} }], null, !0) });
|
|
238
|
-
},
|
|
237
|
+
}, Or = [], Sr = /* @__PURE__ */ Wt(
|
|
239
238
|
Dr,
|
|
240
|
-
Or,
|
|
241
239
|
Cr,
|
|
240
|
+
Or,
|
|
242
241
|
!1,
|
|
243
242
|
null,
|
|
244
|
-
"
|
|
245
|
-
null,
|
|
246
|
-
null
|
|
243
|
+
"6508b8fc"
|
|
247
244
|
);
|
|
248
|
-
const
|
|
249
|
-
const Ar = {
|
|
245
|
+
const Ar = Sr.exports, Tr = {
|
|
250
246
|
components: {
|
|
251
|
-
ColorPicker:
|
|
252
|
-
FontPickerDropdown:
|
|
253
|
-
CCurrencyDropdown:
|
|
254
|
-
FormInputRow: () => Promise.resolve().then(() =>
|
|
247
|
+
ColorPicker: br,
|
|
248
|
+
FontPickerDropdown: mr,
|
|
249
|
+
CCurrencyDropdown: Ar,
|
|
250
|
+
FormInputRow: () => Promise.resolve().then(() => Mr)
|
|
255
251
|
},
|
|
256
252
|
props: {
|
|
257
253
|
label: {
|
|
@@ -294,13 +290,13 @@ var Er = function() {
|
|
|
294
290
|
n.props.select.onInput && n.props.select.onInput(o.target.value);
|
|
295
291
|
} } }, "select", n.props.select, !1), e._l(n.props.select.options, function(o) {
|
|
296
292
|
return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.select.value } }, [e._v(" " + e._s(o.label) + " ")]);
|
|
297
|
-
}), 0)])]) : n.component === "step" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onDecrease } }, [r("
|
|
293
|
+
}), 0)])]) : n.component === "step" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onDecrease } }, [r("CIcon", { staticStyle: { opacity: "0.85" }, attrs: { size: "15", type: "minus" } })], 1), r("div", { staticStyle: { width: "1px", height: "100%", "background-color": "hsl(0, 0%, 86%)", margin: "0 1px" } }), r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onIncrease } }, [r("CIcon", { staticStyle: { opacity: "0.85" }, attrs: { size: "15", type: "plus" } })], 1)]) : n.component === "select" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("select", e._b({ on: { input: function(o) {
|
|
298
294
|
n.onInput && n.onInput(o.target.value);
|
|
299
295
|
} } }, "select", n.props, !1), e._l(n.props.options, function(o) {
|
|
300
296
|
return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.value } }, [e._v(" " + e._s(o.label) + " ")]);
|
|
301
297
|
}), 0)]) : n.component === "color" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: "240px" }, position: n.props.position || "is-top-right", paddingless: "", expanded: "" } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { height: "20px", width: "26px", margin: "0px 3px", "border-radius": "3px", "box-shadow": "inset 0 0 2px rgba(0, 0, 0, 0.3)" }, style: { "background-color": n.props.value } }), r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))]), n.props.value && n.props.showReset ? r("div", { staticClass: "plain-button", staticStyle: { position: "absolute", width: "24px", right: "2px", display: "grid", "place-items": "center", top: "2px", bottom: "2px", "border-radius": "4px" }, on: { click: function(o) {
|
|
302
298
|
return o.preventDefault(), o.stopPropagation(), n.onInput("");
|
|
303
|
-
} } }, [r("
|
|
299
|
+
} } }, [r("CIcon", { attrs: { type: "reset", size: "14", "stroke-width": "2.5" } })], 1) : e._e()]), r("ColorPicker", e._b({ staticStyle: { "box-shadow": "none" }, on: { input: ({ a: o, hex: l, hex8: c }) => n.onInput && n.onInput(o === 1 ? l : c) } }, "ColorPicker", n.props, !1))], 1)], 1) : n.component === "font" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("FontPickerDropdown", e._b({ staticClass: "font-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedFamily: o }) {
|
|
304
300
|
return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
|
|
305
301
|
} }], null, !0) }, "FontPickerDropdown", n.props, !1))], 1) : n.component === "currency" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CCurrencyDropdown", e._b({ staticClass: "currency-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedValue: o }) {
|
|
306
302
|
return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
|
|
@@ -309,24 +305,22 @@ var Er = function() {
|
|
|
309
305
|
}), 1)])], 1) : n.component === "button" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "100%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onClick } }, [e._v(" " + e._s(n.props.text) + " ")])]) : [e._v(" " + e._s(n.component) + " ")]];
|
|
310
306
|
})], 2)]);
|
|
311
307
|
}, Pr = [], Rr = /* @__PURE__ */ Wt(
|
|
312
|
-
|
|
308
|
+
Tr,
|
|
313
309
|
Er,
|
|
314
310
|
Pr,
|
|
315
311
|
!1,
|
|
316
312
|
null,
|
|
317
|
-
"
|
|
318
|
-
null,
|
|
319
|
-
null
|
|
313
|
+
"96de55ea"
|
|
320
314
|
);
|
|
321
|
-
const Lr = Rr.exports,
|
|
315
|
+
const Lr = Rr.exports, Mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
322
316
|
__proto__: null,
|
|
323
317
|
default: Lr
|
|
324
318
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
325
|
-
var j = "top", z = "bottom", G = "right", $ = "left", mt = "auto", je = [j, z, G, $],
|
|
326
|
-
return t.concat([e + "-" +
|
|
319
|
+
var j = "top", z = "bottom", G = "right", $ = "left", mt = "auto", je = [j, z, G, $], Ce = "start", _e = "end", Br = "clippingParents", Kt = "viewport", Be = "popper", kr = "reference", St = /* @__PURE__ */ je.reduce(function(t, e) {
|
|
320
|
+
return t.concat([e + "-" + Ce, e + "-" + _e]);
|
|
327
321
|
}, []), zt = /* @__PURE__ */ [].concat(je, [mt]).reduce(function(t, e) {
|
|
328
|
-
return t.concat([e, e + "-" +
|
|
329
|
-
}, []),
|
|
322
|
+
return t.concat([e, e + "-" + Ce, e + "-" + _e]);
|
|
323
|
+
}, []), Ir = "beforeRead", Nr = "read", _r = "afterRead", Fr = "beforeMain", jr = "main", $r = "afterMain", Vr = "beforeWrite", Hr = "write", Ur = "afterWrite", Wr = [Ir, Nr, _r, Fr, jr, $r, Vr, Hr, Ur];
|
|
330
324
|
function te(t) {
|
|
331
325
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
332
326
|
}
|
|
@@ -398,7 +392,7 @@ const Gt = {
|
|
|
398
392
|
function ee(t) {
|
|
399
393
|
return t.split("-")[0];
|
|
400
394
|
}
|
|
401
|
-
var he = Math.max, tt = Math.min,
|
|
395
|
+
var he = Math.max, tt = Math.min, Oe = Math.round;
|
|
402
396
|
function pt() {
|
|
403
397
|
var t = navigator.userAgentData;
|
|
404
398
|
return t != null && t.brands ? t.brands.map(function(e) {
|
|
@@ -411,7 +405,7 @@ function Yt() {
|
|
|
411
405
|
function Se(t, e, r) {
|
|
412
406
|
e === void 0 && (e = !1), r === void 0 && (r = !1);
|
|
413
407
|
var n = t.getBoundingClientRect(), a = 1, o = 1;
|
|
414
|
-
e && K(t) && (a = t.offsetWidth > 0 &&
|
|
408
|
+
e && K(t) && (a = t.offsetWidth > 0 && Oe(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Oe(n.height) / t.offsetHeight || 1);
|
|
415
409
|
var l = ge(t) ? Y(t) : window, c = l.visualViewport, u = !Yt() && r, f = (n.left + (u && c ? c.offsetLeft : 0)) / a, p = (n.top + (u && c ? c.offsetTop : 0)) / o, b = n.width / a, x = n.height / o;
|
|
416
410
|
return {
|
|
417
411
|
width: b,
|
|
@@ -471,7 +465,7 @@ function nt(t) {
|
|
|
471
465
|
ce(t)
|
|
472
466
|
);
|
|
473
467
|
}
|
|
474
|
-
function
|
|
468
|
+
function At(t) {
|
|
475
469
|
return !K(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
476
470
|
oe(t).position === "fixed" ? null : t.offsetParent;
|
|
477
471
|
}
|
|
@@ -492,8 +486,8 @@ function Yr(t) {
|
|
|
492
486
|
return null;
|
|
493
487
|
}
|
|
494
488
|
function $e(t) {
|
|
495
|
-
for (var e = Y(t), r =
|
|
496
|
-
r =
|
|
489
|
+
for (var e = Y(t), r = At(t); r && Gr(r) && oe(r).position === "static"; )
|
|
490
|
+
r = At(r);
|
|
497
491
|
return r && (te(r) === "html" || te(r) === "body" && oe(r).position === "static") ? e : r || Yr(t) || e;
|
|
498
492
|
}
|
|
499
493
|
function yt(t) {
|
|
@@ -530,8 +524,8 @@ var Xr = function(e, r) {
|
|
|
530
524
|
function Zr(t) {
|
|
531
525
|
var e, r = t.state, n = t.name, a = t.options, o = r.elements.arrow, l = r.modifiersData.popperOffsets, c = ee(r.placement), u = yt(c), f = [$, G].indexOf(c) >= 0, p = f ? "height" : "width";
|
|
532
526
|
if (!(!o || !l)) {
|
|
533
|
-
var b = Xr(a.padding, r), x = gt(o), h = u === "y" ? j : $, D = u === "y" ? z : G, w = r.rects.reference[p] + r.rects.reference[u] - l[u] - r.rects.popper[p], d = l[u] - r.rects.reference[u], g = $e(o),
|
|
534
|
-
r.modifiersData[n] = (e = {}, e[
|
|
527
|
+
var b = Xr(a.padding, r), x = gt(o), h = u === "y" ? j : $, D = u === "y" ? z : G, w = r.rects.reference[p] + r.rects.reference[u] - l[u] - r.rects.popper[p], d = l[u] - r.rects.reference[u], g = $e(o), C = g ? u === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, O = w / 2 - d / 2, i = b[h], S = C - x[p] - b[D], m = C / 2 - x[p] / 2 + O, E = ke(i, m, S), B = u;
|
|
528
|
+
r.modifiersData[n] = (e = {}, e[B] = E, e.centerOffset = E - m, e);
|
|
535
529
|
}
|
|
536
530
|
}
|
|
537
531
|
function Jr(t) {
|
|
@@ -547,7 +541,7 @@ const Qr = {
|
|
|
547
541
|
requires: ["popperOffsets"],
|
|
548
542
|
requiresIfExists: ["preventOverflow"]
|
|
549
543
|
};
|
|
550
|
-
function
|
|
544
|
+
function Ae(t) {
|
|
551
545
|
return t.split("-")[1];
|
|
552
546
|
}
|
|
553
547
|
var en = {
|
|
@@ -559,11 +553,11 @@ var en = {
|
|
|
559
553
|
function tn(t) {
|
|
560
554
|
var e = t.x, r = t.y, n = window, a = n.devicePixelRatio || 1;
|
|
561
555
|
return {
|
|
562
|
-
x:
|
|
563
|
-
y:
|
|
556
|
+
x: Oe(e * a) / a || 0,
|
|
557
|
+
y: Oe(r * a) / a || 0
|
|
564
558
|
};
|
|
565
559
|
}
|
|
566
|
-
function
|
|
560
|
+
function Tt(t) {
|
|
567
561
|
var e, r = t.popper, n = t.popperRect, a = t.placement, o = t.variation, l = t.offsets, c = t.position, u = t.gpuAcceleration, f = t.adaptive, p = t.roundOffsets, b = t.isFixed, x = l.x, h = x === void 0 ? 0 : x, D = l.y, w = D === void 0 ? 0 : D, d = typeof p == "function" ? p({
|
|
568
562
|
x: h,
|
|
569
563
|
y: w
|
|
@@ -572,22 +566,22 @@ function At(t) {
|
|
|
572
566
|
y: w
|
|
573
567
|
};
|
|
574
568
|
h = d.x, w = d.y;
|
|
575
|
-
var g = l.hasOwnProperty("x"),
|
|
569
|
+
var g = l.hasOwnProperty("x"), C = l.hasOwnProperty("y"), O = $, i = j, S = window;
|
|
576
570
|
if (f) {
|
|
577
|
-
var m = $e(r), E = "clientHeight",
|
|
578
|
-
if (m === Y(r) && (m = ce(r), oe(m).position !== "static" && c === "absolute" && (E = "scrollHeight",
|
|
571
|
+
var m = $e(r), E = "clientHeight", B = "clientWidth";
|
|
572
|
+
if (m === Y(r) && (m = ce(r), oe(m).position !== "static" && c === "absolute" && (E = "scrollHeight", B = "scrollWidth")), m = m, a === j || (a === $ || a === G) && o === _e) {
|
|
579
573
|
i = z;
|
|
580
|
-
var
|
|
574
|
+
var M = b && m === S && S.visualViewport ? S.visualViewport.height : (
|
|
581
575
|
// $FlowFixMe[prop-missing]
|
|
582
576
|
m[E]
|
|
583
577
|
);
|
|
584
|
-
w -=
|
|
578
|
+
w -= M - n.height, w *= u ? 1 : -1;
|
|
585
579
|
}
|
|
586
|
-
if (a === $ || (a === j || a === z) && o ===
|
|
587
|
-
|
|
580
|
+
if (a === $ || (a === j || a === z) && o === _e) {
|
|
581
|
+
O = G;
|
|
588
582
|
var R = b && m === S && S.visualViewport ? S.visualViewport.width : (
|
|
589
583
|
// $FlowFixMe[prop-missing]
|
|
590
|
-
m[
|
|
584
|
+
m[B]
|
|
591
585
|
);
|
|
592
586
|
h -= R - n.width, h *= u ? 1 : -1;
|
|
593
587
|
}
|
|
@@ -603,25 +597,25 @@ function At(t) {
|
|
|
603
597
|
};
|
|
604
598
|
if (h = L.x, w = L.y, u) {
|
|
605
599
|
var P;
|
|
606
|
-
return Object.assign({}, k, (P = {}, P[i] =
|
|
600
|
+
return Object.assign({}, k, (P = {}, P[i] = C ? "0" : "", P[O] = g ? "0" : "", P.transform = (S.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + w + "px)" : "translate3d(" + h + "px, " + w + "px, 0)", P));
|
|
607
601
|
}
|
|
608
|
-
return Object.assign({}, k, (e = {}, e[i] =
|
|
602
|
+
return Object.assign({}, k, (e = {}, e[i] = C ? w + "px" : "", e[O] = g ? h + "px" : "", e.transform = "", e));
|
|
609
603
|
}
|
|
610
604
|
function rn(t) {
|
|
611
605
|
var e = t.state, r = t.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n, o = r.adaptive, l = o === void 0 ? !0 : o, c = r.roundOffsets, u = c === void 0 ? !0 : c, f = {
|
|
612
606
|
placement: ee(e.placement),
|
|
613
|
-
variation:
|
|
607
|
+
variation: Ae(e.placement),
|
|
614
608
|
popper: e.elements.popper,
|
|
615
609
|
popperRect: e.rects.popper,
|
|
616
610
|
gpuAcceleration: a,
|
|
617
611
|
isFixed: e.options.strategy === "fixed"
|
|
618
612
|
};
|
|
619
|
-
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper,
|
|
613
|
+
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Tt(Object.assign({}, f, {
|
|
620
614
|
offsets: e.modifiersData.popperOffsets,
|
|
621
615
|
position: e.options.strategy,
|
|
622
616
|
adaptive: l,
|
|
623
617
|
roundOffsets: u
|
|
624
|
-
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow,
|
|
618
|
+
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Tt(Object.assign({}, f, {
|
|
625
619
|
offsets: e.modifiersData.arrow,
|
|
626
620
|
position: "absolute",
|
|
627
621
|
adaptive: !1,
|
|
@@ -719,13 +713,13 @@ function xt(t) {
|
|
|
719
713
|
function Qt(t) {
|
|
720
714
|
return ["html", "body", "#document"].indexOf(te(t)) >= 0 ? t.ownerDocument.body : K(t) && xt(t) ? t : Qt(nt(t));
|
|
721
715
|
}
|
|
722
|
-
function
|
|
716
|
+
function Ie(t, e) {
|
|
723
717
|
var r;
|
|
724
718
|
e === void 0 && (e = []);
|
|
725
719
|
var n = Qt(t), a = n === ((r = t.ownerDocument) == null ? void 0 : r.body), o = Y(n), l = a ? [o].concat(o.visualViewport || [], xt(n) ? n : []) : n, c = e.concat(l);
|
|
726
720
|
return a ? c : (
|
|
727
721
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
728
|
-
c.concat(
|
|
722
|
+
c.concat(Ie(nt(l)))
|
|
729
723
|
);
|
|
730
724
|
}
|
|
731
725
|
function ft(t) {
|
|
@@ -744,7 +738,7 @@ function Pt(t, e, r) {
|
|
|
744
738
|
return e === Kt ? ft(ln(t, r)) : ge(e) ? pn(e, r) : ft(cn(ce(t)));
|
|
745
739
|
}
|
|
746
740
|
function fn(t) {
|
|
747
|
-
var e =
|
|
741
|
+
var e = Ie(nt(t)), r = ["absolute", "fixed"].indexOf(oe(t).position) >= 0, n = r && K(t) ? $e(t) : t;
|
|
748
742
|
return ge(n) ? e.filter(function(a) {
|
|
749
743
|
return ge(a) && qt(a, n) && te(a) !== "body";
|
|
750
744
|
}) : [];
|
|
@@ -757,7 +751,7 @@ function dn(t, e, r, n) {
|
|
|
757
751
|
return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
|
|
758
752
|
}
|
|
759
753
|
function er(t) {
|
|
760
|
-
var e = t.reference, r = t.element, n = t.placement, a = n ? ee(n) : null, o = n ?
|
|
754
|
+
var e = t.reference, r = t.element, n = t.placement, a = n ? ee(n) : null, o = n ? Ae(n) : null, l = e.x + e.width / 2 - r.width / 2, c = e.y + e.height / 2 - r.height / 2, u;
|
|
761
755
|
switch (a) {
|
|
762
756
|
case j:
|
|
763
757
|
u = {
|
|
@@ -793,10 +787,10 @@ function er(t) {
|
|
|
793
787
|
if (f != null) {
|
|
794
788
|
var p = f === "y" ? "height" : "width";
|
|
795
789
|
switch (o) {
|
|
796
|
-
case
|
|
790
|
+
case Ce:
|
|
797
791
|
u[f] = u[f] - (e[p] / 2 - r[p] / 2);
|
|
798
792
|
break;
|
|
799
|
-
case
|
|
793
|
+
case _e:
|
|
800
794
|
u[f] = u[f] + (e[p] / 2 - r[p] / 2);
|
|
801
795
|
break;
|
|
802
796
|
}
|
|
@@ -805,18 +799,18 @@ function er(t) {
|
|
|
805
799
|
}
|
|
806
800
|
function Fe(t, e) {
|
|
807
801
|
e === void 0 && (e = {});
|
|
808
|
-
var r = e, n = r.placement, a = n === void 0 ? t.placement : n, o = r.strategy, l = o === void 0 ? t.strategy : o, c = r.boundary, u = c === void 0 ?
|
|
802
|
+
var r = e, n = r.placement, a = n === void 0 ? t.placement : n, o = r.strategy, l = o === void 0 ? t.strategy : o, c = r.boundary, u = c === void 0 ? Br : c, f = r.rootBoundary, p = f === void 0 ? Kt : f, b = r.elementContext, x = b === void 0 ? Be : b, h = r.altBoundary, D = h === void 0 ? !1 : h, w = r.padding, d = w === void 0 ? 0 : w, g = Zt(typeof d != "number" ? d : Jt(d, je)), C = x === Be ? kr : Be, O = t.rects.popper, i = t.elements[D ? C : x], S = dn(ge(i) ? i : i.contextElement || ce(t.elements.popper), u, p, l), m = Se(t.elements.reference), E = er({
|
|
809
803
|
reference: m,
|
|
810
|
-
element:
|
|
804
|
+
element: O,
|
|
811
805
|
strategy: "absolute",
|
|
812
806
|
placement: a
|
|
813
|
-
}),
|
|
814
|
-
top: S.top -
|
|
815
|
-
bottom:
|
|
816
|
-
left: S.left -
|
|
817
|
-
right:
|
|
807
|
+
}), B = ft(Object.assign({}, O, E)), M = x === Be ? B : m, R = {
|
|
808
|
+
top: S.top - M.top + g.top,
|
|
809
|
+
bottom: M.bottom - S.bottom + g.bottom,
|
|
810
|
+
left: S.left - M.left + g.left,
|
|
811
|
+
right: M.right - S.right + g.right
|
|
818
812
|
}, k = t.modifiersData.offset;
|
|
819
|
-
if (x ===
|
|
813
|
+
if (x === Be && k) {
|
|
820
814
|
var L = k[a];
|
|
821
815
|
Object.keys(R).forEach(function(P) {
|
|
822
816
|
var V = [G, z].indexOf(P) >= 0 ? 1 : -1, H = [j, z].indexOf(P) >= 0 ? "y" : "x";
|
|
@@ -827,8 +821,8 @@ function Fe(t, e) {
|
|
|
827
821
|
}
|
|
828
822
|
function vn(t, e) {
|
|
829
823
|
e === void 0 && (e = {});
|
|
830
|
-
var r = e, n = r.placement, a = r.boundary, o = r.rootBoundary, l = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, f = u === void 0 ? zt : u, p =
|
|
831
|
-
return
|
|
824
|
+
var r = e, n = r.placement, a = r.boundary, o = r.rootBoundary, l = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, f = u === void 0 ? zt : u, p = Ae(n), b = p ? c ? St : St.filter(function(D) {
|
|
825
|
+
return Ae(D) === p;
|
|
832
826
|
}) : je, x = b.filter(function(D) {
|
|
833
827
|
return f.indexOf(D) >= 0;
|
|
834
828
|
});
|
|
@@ -854,7 +848,7 @@ function mn(t) {
|
|
|
854
848
|
function hn(t) {
|
|
855
849
|
var e = t.state, r = t.options, n = t.name;
|
|
856
850
|
if (!e.modifiersData[n]._skip) {
|
|
857
|
-
for (var a = r.mainAxis, o = a === void 0 ? !0 : a, l = r.altAxis, c = l === void 0 ? !0 : l, u = r.fallbackPlacements, f = r.padding, p = r.boundary, b = r.rootBoundary, x = r.altBoundary, h = r.flipVariations, D = h === void 0 ? !0 : h, w = r.allowedAutoPlacements, d = e.options.placement, g = ee(d),
|
|
851
|
+
for (var a = r.mainAxis, o = a === void 0 ? !0 : a, l = r.altAxis, c = l === void 0 ? !0 : l, u = r.fallbackPlacements, f = r.padding, p = r.boundary, b = r.rootBoundary, x = r.altBoundary, h = r.flipVariations, D = h === void 0 ? !0 : h, w = r.allowedAutoPlacements, d = e.options.placement, g = ee(d), C = g === d, O = u || (C || !D ? [et(d)] : mn(d)), i = [d].concat(O).reduce(function(re, q) {
|
|
858
852
|
return re.concat(ee(q) === mt ? vn(e, {
|
|
859
853
|
placement: q,
|
|
860
854
|
boundary: p,
|
|
@@ -863,25 +857,25 @@ function hn(t) {
|
|
|
863
857
|
flipVariations: D,
|
|
864
858
|
allowedAutoPlacements: w
|
|
865
859
|
}) : q);
|
|
866
|
-
}, []), S = e.rects.reference, m = e.rects.popper, E = /* @__PURE__ */ new Map(),
|
|
867
|
-
var k = i[R], L = ee(k), P =
|
|
860
|
+
}, []), S = e.rects.reference, m = e.rects.popper, E = /* @__PURE__ */ new Map(), B = !0, M = i[0], R = 0; R < i.length; R++) {
|
|
861
|
+
var k = i[R], L = ee(k), P = Ae(k) === Ce, V = [j, z].indexOf(L) >= 0, H = V ? "width" : "height", N = Fe(e, {
|
|
868
862
|
placement: k,
|
|
869
863
|
boundary: p,
|
|
870
864
|
rootBoundary: b,
|
|
871
865
|
altBoundary: x,
|
|
872
866
|
padding: f
|
|
873
|
-
}),
|
|
874
|
-
S[H] > m[H] && (
|
|
875
|
-
var
|
|
876
|
-
if (o && X.push(
|
|
867
|
+
}), _ = V ? P ? G : $ : P ? z : j;
|
|
868
|
+
S[H] > m[H] && (_ = et(_));
|
|
869
|
+
var I = et(_), X = [];
|
|
870
|
+
if (o && X.push(N[L] <= 0), c && X.push(N[_] <= 0, N[I] <= 0), X.every(function(re) {
|
|
877
871
|
return re;
|
|
878
872
|
})) {
|
|
879
|
-
|
|
873
|
+
M = k, B = !1;
|
|
880
874
|
break;
|
|
881
875
|
}
|
|
882
876
|
E.set(k, X);
|
|
883
877
|
}
|
|
884
|
-
if (
|
|
878
|
+
if (B)
|
|
885
879
|
for (var Z = D ? 3 : 1, pe = function(q) {
|
|
886
880
|
var ne = i.find(function(ye) {
|
|
887
881
|
var ie = E.get(ye);
|
|
@@ -891,13 +885,13 @@ function hn(t) {
|
|
|
891
885
|
});
|
|
892
886
|
});
|
|
893
887
|
if (ne)
|
|
894
|
-
return
|
|
888
|
+
return M = ne, "break";
|
|
895
889
|
}, J = Z; J > 0; J--) {
|
|
896
890
|
var fe = pe(J);
|
|
897
891
|
if (fe === "break")
|
|
898
892
|
break;
|
|
899
893
|
}
|
|
900
|
-
e.placement !==
|
|
894
|
+
e.placement !== M && (e.modifiersData[n]._skip = !0, e.placement = M, e.reset = !0);
|
|
901
895
|
}
|
|
902
896
|
}
|
|
903
897
|
const gn = {
|
|
@@ -974,7 +968,7 @@ const Dn = {
|
|
|
974
968
|
requires: ["popperOffsets"],
|
|
975
969
|
fn: xn
|
|
976
970
|
};
|
|
977
|
-
function
|
|
971
|
+
function Cn(t) {
|
|
978
972
|
var e = t.state, r = t.name;
|
|
979
973
|
e.modifiersData[r] = er({
|
|
980
974
|
reference: e.rects.reference,
|
|
@@ -983,54 +977,54 @@ function On(t) {
|
|
|
983
977
|
placement: e.placement
|
|
984
978
|
});
|
|
985
979
|
}
|
|
986
|
-
const
|
|
980
|
+
const On = {
|
|
987
981
|
name: "popperOffsets",
|
|
988
982
|
enabled: !0,
|
|
989
983
|
phase: "read",
|
|
990
|
-
fn:
|
|
984
|
+
fn: Cn,
|
|
991
985
|
data: {}
|
|
992
986
|
};
|
|
993
987
|
function Sn(t) {
|
|
994
988
|
return t === "x" ? "y" : "x";
|
|
995
989
|
}
|
|
996
|
-
function
|
|
990
|
+
function An(t) {
|
|
997
991
|
var e = t.state, r = t.options, n = t.name, a = r.mainAxis, o = a === void 0 ? !0 : a, l = r.altAxis, c = l === void 0 ? !1 : l, u = r.boundary, f = r.rootBoundary, p = r.altBoundary, b = r.padding, x = r.tether, h = x === void 0 ? !0 : x, D = r.tetherOffset, w = D === void 0 ? 0 : D, d = Fe(e, {
|
|
998
992
|
boundary: u,
|
|
999
993
|
rootBoundary: f,
|
|
1000
994
|
padding: b,
|
|
1001
995
|
altBoundary: p
|
|
1002
|
-
}), g = ee(e.placement),
|
|
996
|
+
}), g = ee(e.placement), C = Ae(e.placement), O = !C, i = yt(g), S = Sn(i), m = e.modifiersData.popperOffsets, E = e.rects.reference, B = e.rects.popper, M = typeof w == "function" ? w(Object.assign({}, e.rects, {
|
|
1003
997
|
placement: e.placement
|
|
1004
|
-
})) : w, R = typeof
|
|
1005
|
-
mainAxis:
|
|
1006
|
-
altAxis:
|
|
998
|
+
})) : w, R = typeof M == "number" ? {
|
|
999
|
+
mainAxis: M,
|
|
1000
|
+
altAxis: M
|
|
1007
1001
|
} : Object.assign({
|
|
1008
1002
|
mainAxis: 0,
|
|
1009
1003
|
altAxis: 0
|
|
1010
|
-
},
|
|
1004
|
+
}, M), k = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, L = {
|
|
1011
1005
|
x: 0,
|
|
1012
1006
|
y: 0
|
|
1013
1007
|
};
|
|
1014
1008
|
if (m) {
|
|
1015
1009
|
if (o) {
|
|
1016
|
-
var P, V = i === "y" ? j : $, H = i === "y" ? z : G,
|
|
1010
|
+
var P, V = i === "y" ? j : $, H = i === "y" ? z : G, N = i === "y" ? "height" : "width", _ = m[i], I = _ + d[V], X = _ - d[H], Z = h ? -B[N] / 2 : 0, pe = C === Ce ? E[N] : B[N], J = C === Ce ? -B[N] : -E[N], fe = e.elements.arrow, re = h && fe ? gt(fe) : {
|
|
1017
1011
|
width: 0,
|
|
1018
1012
|
height: 0
|
|
1019
|
-
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Xt(), ne = q[V], ye = q[H], ie = ke(0, E[
|
|
1020
|
-
m[i] = Pe, L[i] = Pe -
|
|
1013
|
+
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Xt(), ne = q[V], ye = q[H], ie = ke(0, E[N], re[N]), be = O ? E[N] / 2 - Z - ie - ne - R.mainAxis : pe - ie - ne - R.mainAxis, se = O ? -E[N] / 2 + Z + ie + ye + R.mainAxis : J + ie + ye + R.mainAxis, we = e.elements.arrow && $e(e.elements.arrow), Ve = we ? i === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, Ee = (P = k == null ? void 0 : k[i]) != null ? P : 0, He = _ + be - Ee - Ve, Ue = _ + se - Ee, Pe = ke(h ? tt(I, He) : I, _, h ? he(X, Ue) : X);
|
|
1014
|
+
m[i] = Pe, L[i] = Pe - _;
|
|
1021
1015
|
}
|
|
1022
1016
|
if (c) {
|
|
1023
|
-
var Re, We = i === "x" ? j : $, Ke = i === "x" ? z : G, ae = m[S], ue = S === "y" ? "height" : "width", Le = ae + d[We], de = ae - d[Ke],
|
|
1017
|
+
var Re, We = i === "x" ? j : $, Ke = i === "x" ? z : G, ae = m[S], ue = S === "y" ? "height" : "width", Le = ae + d[We], de = ae - d[Ke], Me = [j, $].indexOf(g) !== -1, ze = (Re = k == null ? void 0 : k[S]) != null ? Re : 0, Ge = Me ? Le : ae - E[ue] - B[ue] - ze + R.altAxis, Ye = Me ? ae + E[ue] + B[ue] - ze - R.altAxis : de, qe = h && Me ? qr(Ge, ae, Ye) : ke(h ? Ge : Le, ae, h ? Ye : de);
|
|
1024
1018
|
m[S] = qe, L[S] = qe - ae;
|
|
1025
1019
|
}
|
|
1026
1020
|
e.modifiersData[n] = L;
|
|
1027
1021
|
}
|
|
1028
1022
|
}
|
|
1029
|
-
const
|
|
1023
|
+
const Tn = {
|
|
1030
1024
|
name: "preventOverflow",
|
|
1031
1025
|
enabled: !0,
|
|
1032
1026
|
phase: "main",
|
|
1033
|
-
fn:
|
|
1027
|
+
fn: An,
|
|
1034
1028
|
requiresIfExists: ["offset"]
|
|
1035
1029
|
};
|
|
1036
1030
|
function En(t) {
|
|
@@ -1043,7 +1037,7 @@ function Pn(t) {
|
|
|
1043
1037
|
return t === Y(t) || !K(t) ? bt(t) : En(t);
|
|
1044
1038
|
}
|
|
1045
1039
|
function Rn(t) {
|
|
1046
|
-
var e = t.getBoundingClientRect(), r =
|
|
1040
|
+
var e = t.getBoundingClientRect(), r = Oe(e.width) / t.offsetWidth || 1, n = Oe(e.height) / t.offsetHeight || 1;
|
|
1047
1041
|
return r !== 1 || n !== 1;
|
|
1048
1042
|
}
|
|
1049
1043
|
function Ln(t, e, r) {
|
|
@@ -1063,7 +1057,7 @@ function Ln(t, e, r) {
|
|
|
1063
1057
|
height: l.height
|
|
1064
1058
|
};
|
|
1065
1059
|
}
|
|
1066
|
-
function
|
|
1060
|
+
function Mn(t) {
|
|
1067
1061
|
var e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
1068
1062
|
t.forEach(function(o) {
|
|
1069
1063
|
e.set(o.name, o);
|
|
@@ -1082,8 +1076,8 @@ function Bn(t) {
|
|
|
1082
1076
|
r.has(o.name) || a(o);
|
|
1083
1077
|
}), n;
|
|
1084
1078
|
}
|
|
1085
|
-
function
|
|
1086
|
-
var e =
|
|
1079
|
+
function Bn(t) {
|
|
1080
|
+
var e = Mn(t);
|
|
1087
1081
|
return Wr.reduce(function(r, n) {
|
|
1088
1082
|
return r.concat(e.filter(function(a) {
|
|
1089
1083
|
return a.phase === n;
|
|
@@ -1100,7 +1094,7 @@ function kn(t) {
|
|
|
1100
1094
|
})), e;
|
|
1101
1095
|
};
|
|
1102
1096
|
}
|
|
1103
|
-
function
|
|
1097
|
+
function In(t) {
|
|
1104
1098
|
var e = t.reduce(function(r, n) {
|
|
1105
1099
|
var a = r[n.name];
|
|
1106
1100
|
return r[n.name] = a ? Object.assign({}, a, n, {
|
|
@@ -1112,27 +1106,27 @@ function _n(t) {
|
|
|
1112
1106
|
return e[r];
|
|
1113
1107
|
});
|
|
1114
1108
|
}
|
|
1115
|
-
var
|
|
1109
|
+
var Mt = {
|
|
1116
1110
|
placement: "bottom",
|
|
1117
1111
|
modifiers: [],
|
|
1118
1112
|
strategy: "absolute"
|
|
1119
1113
|
};
|
|
1120
|
-
function
|
|
1114
|
+
function Bt() {
|
|
1121
1115
|
for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
|
|
1122
1116
|
e[r] = arguments[r];
|
|
1123
1117
|
return !e.some(function(n) {
|
|
1124
1118
|
return !(n && typeof n.getBoundingClientRect == "function");
|
|
1125
1119
|
});
|
|
1126
1120
|
}
|
|
1127
|
-
function
|
|
1121
|
+
function Nn(t) {
|
|
1128
1122
|
t === void 0 && (t = {});
|
|
1129
|
-
var e = t, r = e.defaultModifiers, n = r === void 0 ? [] : r, a = e.defaultOptions, o = a === void 0 ?
|
|
1123
|
+
var e = t, r = e.defaultModifiers, n = r === void 0 ? [] : r, a = e.defaultOptions, o = a === void 0 ? Mt : a;
|
|
1130
1124
|
return function(c, u, f) {
|
|
1131
1125
|
f === void 0 && (f = o);
|
|
1132
1126
|
var p = {
|
|
1133
1127
|
placement: "bottom",
|
|
1134
1128
|
orderedModifiers: [],
|
|
1135
|
-
options: Object.assign({},
|
|
1129
|
+
options: Object.assign({}, Mt, o),
|
|
1136
1130
|
modifiersData: {},
|
|
1137
1131
|
elements: {
|
|
1138
1132
|
reference: c,
|
|
@@ -1143,13 +1137,13 @@ function In(t) {
|
|
|
1143
1137
|
}, b = [], x = !1, h = {
|
|
1144
1138
|
state: p,
|
|
1145
1139
|
setOptions: function(g) {
|
|
1146
|
-
var
|
|
1147
|
-
w(), p.options = Object.assign({}, o, p.options,
|
|
1148
|
-
reference: ge(c) ?
|
|
1149
|
-
popper:
|
|
1140
|
+
var C = typeof g == "function" ? g(p.options) : g;
|
|
1141
|
+
w(), p.options = Object.assign({}, o, p.options, C), p.scrollParents = {
|
|
1142
|
+
reference: ge(c) ? Ie(c) : c.contextElement ? Ie(c.contextElement) : [],
|
|
1143
|
+
popper: Ie(u)
|
|
1150
1144
|
};
|
|
1151
|
-
var
|
|
1152
|
-
return p.orderedModifiers =
|
|
1145
|
+
var O = Bn(In([].concat(n, p.options.modifiers)));
|
|
1146
|
+
return p.orderedModifiers = O.filter(function(i) {
|
|
1153
1147
|
return i.enabled;
|
|
1154
1148
|
}), D(), h.update();
|
|
1155
1149
|
},
|
|
@@ -1160,11 +1154,11 @@ function In(t) {
|
|
|
1160
1154
|
// prefer the async Popper#update method
|
|
1161
1155
|
forceUpdate: function() {
|
|
1162
1156
|
if (!x) {
|
|
1163
|
-
var g = p.elements,
|
|
1164
|
-
if (
|
|
1157
|
+
var g = p.elements, C = g.reference, O = g.popper;
|
|
1158
|
+
if (Bt(C, O)) {
|
|
1165
1159
|
p.rects = {
|
|
1166
|
-
reference: Ln(
|
|
1167
|
-
popper: gt(
|
|
1160
|
+
reference: Ln(C, $e(O), p.options.strategy === "fixed"),
|
|
1161
|
+
popper: gt(O)
|
|
1168
1162
|
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(R) {
|
|
1169
1163
|
return p.modifiersData[R.name] = Object.assign({}, R.data);
|
|
1170
1164
|
});
|
|
@@ -1173,11 +1167,11 @@ function In(t) {
|
|
|
1173
1167
|
p.reset = !1, i = -1;
|
|
1174
1168
|
continue;
|
|
1175
1169
|
}
|
|
1176
|
-
var S = p.orderedModifiers[i], m = S.fn, E = S.options,
|
|
1170
|
+
var S = p.orderedModifiers[i], m = S.fn, E = S.options, B = E === void 0 ? {} : E, M = S.name;
|
|
1177
1171
|
typeof m == "function" && (p = m({
|
|
1178
1172
|
state: p,
|
|
1179
|
-
options:
|
|
1180
|
-
name:
|
|
1173
|
+
options: B,
|
|
1174
|
+
name: M,
|
|
1181
1175
|
instance: h
|
|
1182
1176
|
}) || p);
|
|
1183
1177
|
}
|
|
@@ -1195,20 +1189,20 @@ function In(t) {
|
|
|
1195
1189
|
w(), x = !0;
|
|
1196
1190
|
}
|
|
1197
1191
|
};
|
|
1198
|
-
if (!
|
|
1192
|
+
if (!Bt(c, u))
|
|
1199
1193
|
return h;
|
|
1200
1194
|
h.setOptions(f).then(function(d) {
|
|
1201
1195
|
!x && f.onFirstUpdate && f.onFirstUpdate(d);
|
|
1202
1196
|
});
|
|
1203
1197
|
function D() {
|
|
1204
1198
|
p.orderedModifiers.forEach(function(d) {
|
|
1205
|
-
var g = d.name,
|
|
1199
|
+
var g = d.name, C = d.options, O = C === void 0 ? {} : C, i = d.effect;
|
|
1206
1200
|
if (typeof i == "function") {
|
|
1207
1201
|
var S = i({
|
|
1208
1202
|
state: p,
|
|
1209
1203
|
name: g,
|
|
1210
1204
|
instance: h,
|
|
1211
|
-
options:
|
|
1205
|
+
options: O
|
|
1212
1206
|
}), m = function() {
|
|
1213
1207
|
};
|
|
1214
1208
|
b.push(S || m);
|
|
@@ -1223,8 +1217,8 @@ function In(t) {
|
|
|
1223
1217
|
return h;
|
|
1224
1218
|
};
|
|
1225
1219
|
}
|
|
1226
|
-
var
|
|
1227
|
-
defaultModifiers:
|
|
1220
|
+
var _n = [on, On, nn, Gt, Dn, gn, Tn, Qr, bn], Fn = /* @__PURE__ */ Nn({
|
|
1221
|
+
defaultModifiers: _n
|
|
1228
1222
|
}), jn = "tippy-box", tr = "tippy-content", $n = "tippy-backdrop", rr = "tippy-arrow", nr = "tippy-svg-arrow", le = {
|
|
1229
1223
|
passive: !0,
|
|
1230
1224
|
capture: !0
|
|
@@ -1267,7 +1261,7 @@ function Hn(t) {
|
|
|
1267
1261
|
function me(t) {
|
|
1268
1262
|
return [].concat(t);
|
|
1269
1263
|
}
|
|
1270
|
-
function
|
|
1264
|
+
function It(t, e) {
|
|
1271
1265
|
t.indexOf(e) === -1 && t.push(e);
|
|
1272
1266
|
}
|
|
1273
1267
|
function Un(t) {
|
|
@@ -1281,12 +1275,12 @@ function Wn(t) {
|
|
|
1281
1275
|
function rt(t) {
|
|
1282
1276
|
return [].slice.call(t);
|
|
1283
1277
|
}
|
|
1284
|
-
function
|
|
1278
|
+
function Nt(t) {
|
|
1285
1279
|
return Object.keys(t).reduce(function(e, r) {
|
|
1286
1280
|
return t[r] !== void 0 && (e[r] = t[r]), e;
|
|
1287
1281
|
}, {});
|
|
1288
1282
|
}
|
|
1289
|
-
function
|
|
1283
|
+
function Ne() {
|
|
1290
1284
|
return document.createElement("div");
|
|
1291
1285
|
}
|
|
1292
1286
|
function it(t) {
|
|
@@ -1311,7 +1305,7 @@ function ut(t, e) {
|
|
|
1311
1305
|
r && (r.style.transitionDuration = e + "ms");
|
|
1312
1306
|
});
|
|
1313
1307
|
}
|
|
1314
|
-
function
|
|
1308
|
+
function _t(t, e) {
|
|
1315
1309
|
t.forEach(function(r) {
|
|
1316
1310
|
r && r.setAttribute("data-state", e);
|
|
1317
1311
|
});
|
|
@@ -1326,8 +1320,8 @@ function Xn(t, e) {
|
|
|
1326
1320
|
var o = a.popperRect, l = a.popperState, c = a.props, u = c.interactiveBorder, f = Wn(l.placement), p = l.modifiersData.offset;
|
|
1327
1321
|
if (!p)
|
|
1328
1322
|
return !0;
|
|
1329
|
-
var b = f === "bottom" ? p.top.y : 0, x = f === "top" ? p.bottom.y : 0, h = f === "right" ? p.left.x : 0, D = f === "left" ? p.right.x : 0, w = o.top - n + b > u, d = n - o.bottom - x > u, g = o.left - r + h > u,
|
|
1330
|
-
return w || d || g ||
|
|
1323
|
+
var b = f === "bottom" ? p.top.y : 0, x = f === "top" ? p.bottom.y : 0, h = f === "right" ? p.left.x : 0, D = f === "left" ? p.right.x : 0, w = o.top - n + b > u, d = n - o.bottom - x > u, g = o.left - r + h > u, C = r - o.right - D > u;
|
|
1324
|
+
return w || d || g || C;
|
|
1331
1325
|
});
|
|
1332
1326
|
}
|
|
1333
1327
|
function lt(t, e, r) {
|
|
@@ -1483,7 +1477,7 @@ function dt(t, e) {
|
|
|
1483
1477
|
t[si()] = e;
|
|
1484
1478
|
}
|
|
1485
1479
|
function Vt(t) {
|
|
1486
|
-
var e =
|
|
1480
|
+
var e = Ne();
|
|
1487
1481
|
return t === !0 ? e.className = rr : (e.className = nr, it(t) ? e.appendChild(t) : dt(e, t)), e;
|
|
1488
1482
|
}
|
|
1489
1483
|
function Ht(t, e) {
|
|
@@ -1505,9 +1499,9 @@ function vt(t) {
|
|
|
1505
1499
|
};
|
|
1506
1500
|
}
|
|
1507
1501
|
function ur(t) {
|
|
1508
|
-
var e =
|
|
1502
|
+
var e = Ne(), r = Ne();
|
|
1509
1503
|
r.className = jn, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
|
|
1510
|
-
var n =
|
|
1504
|
+
var n = Ne();
|
|
1511
1505
|
n.className = tr, n.setAttribute("data-state", "hidden"), Ht(n, t.props), e.appendChild(r), r.appendChild(n), a(t.props, t.props);
|
|
1512
1506
|
function a(o, l) {
|
|
1513
1507
|
var c = vt(e), u = c.box, f = c.content, p = c.arrow;
|
|
@@ -1521,7 +1515,7 @@ function ur(t) {
|
|
|
1521
1515
|
ur.$$tippy = !0;
|
|
1522
1516
|
var ui = 1, Qe = [], ct = [];
|
|
1523
1517
|
function li(t, e) {
|
|
1524
|
-
var r = $t(t, Object.assign({}, U, sr(
|
|
1518
|
+
var r = $t(t, Object.assign({}, U, sr(Nt(e)))), n, a, o, l = !1, c = !1, u = !1, f = !1, p, b, x, h = [], D = kt(He, r.interactiveDebounce), w, d = ui++, g = null, C = Un(r.plugins), O = {
|
|
1525
1519
|
// Is the instance currently enabled?
|
|
1526
1520
|
isEnabled: !0,
|
|
1527
1521
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -1536,11 +1530,11 @@ function li(t, e) {
|
|
|
1536
1530
|
// properties
|
|
1537
1531
|
id: d,
|
|
1538
1532
|
reference: t,
|
|
1539
|
-
popper:
|
|
1533
|
+
popper: Ne(),
|
|
1540
1534
|
popperInstance: g,
|
|
1541
1535
|
props: r,
|
|
1542
|
-
state:
|
|
1543
|
-
plugins:
|
|
1536
|
+
state: O,
|
|
1537
|
+
plugins: C,
|
|
1544
1538
|
// methods
|
|
1545
1539
|
clearDelayTimeouts: Ge,
|
|
1546
1540
|
setProps: Ye,
|
|
@@ -1548,7 +1542,7 @@ function li(t, e) {
|
|
|
1548
1542
|
show: lr,
|
|
1549
1543
|
hide: cr,
|
|
1550
1544
|
hideWithInteractivity: pr,
|
|
1551
|
-
enable:
|
|
1545
|
+
enable: Me,
|
|
1552
1546
|
disable: ze,
|
|
1553
1547
|
unmount: fr,
|
|
1554
1548
|
destroy: dr
|
|
@@ -1557,10 +1551,10 @@ function li(t, e) {
|
|
|
1557
1551
|
return i;
|
|
1558
1552
|
var S = r.render(i), m = S.popper, E = S.onUpdate;
|
|
1559
1553
|
m.setAttribute("data-tippy-root", ""), m.id = "tippy-" + i.id, i.popper = m, t._tippy = i, m._tippy = i;
|
|
1560
|
-
var
|
|
1554
|
+
var B = C.map(function(s) {
|
|
1561
1555
|
return s.fn(i);
|
|
1562
|
-
}),
|
|
1563
|
-
return we(), Z(),
|
|
1556
|
+
}), M = t.hasAttribute("aria-expanded");
|
|
1557
|
+
return we(), Z(), _(), I("onCreate", [i]), r.showOnCreate && Le(), m.addEventListener("mouseenter", function() {
|
|
1564
1558
|
i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
|
|
1565
1559
|
}), m.addEventListener("mouseleave", function() {
|
|
1566
1560
|
i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && V().addEventListener("mousemove", D);
|
|
@@ -1586,37 +1580,37 @@ function li(t, e) {
|
|
|
1586
1580
|
function H() {
|
|
1587
1581
|
return vt(m);
|
|
1588
1582
|
}
|
|
1589
|
-
function
|
|
1583
|
+
function N(s) {
|
|
1590
1584
|
return i.state.isMounted && !i.state.isVisible || Q.isTouch || p && p.type === "focus" ? 0 : st(i.props.delay, s ? 0 : 1, U.delay);
|
|
1591
1585
|
}
|
|
1592
|
-
function
|
|
1586
|
+
function _(s) {
|
|
1593
1587
|
s === void 0 && (s = !1), m.style.pointerEvents = i.props.interactive && !s ? "" : "none", m.style.zIndex = "" + i.props.zIndex;
|
|
1594
1588
|
}
|
|
1595
|
-
function
|
|
1596
|
-
if (y === void 0 && (y = !0),
|
|
1597
|
-
|
|
1589
|
+
function I(s, v, y) {
|
|
1590
|
+
if (y === void 0 && (y = !0), B.forEach(function(A) {
|
|
1591
|
+
A[s] && A[s].apply(A, v);
|
|
1598
1592
|
}), y) {
|
|
1599
|
-
var
|
|
1600
|
-
(
|
|
1593
|
+
var T;
|
|
1594
|
+
(T = i.props)[s].apply(T, v);
|
|
1601
1595
|
}
|
|
1602
1596
|
}
|
|
1603
1597
|
function X() {
|
|
1604
1598
|
var s = i.props.aria;
|
|
1605
1599
|
if (s.content) {
|
|
1606
|
-
var v = "aria-" + s.content, y = m.id,
|
|
1607
|
-
|
|
1608
|
-
var F =
|
|
1600
|
+
var v = "aria-" + s.content, y = m.id, T = me(i.props.triggerTarget || t);
|
|
1601
|
+
T.forEach(function(A) {
|
|
1602
|
+
var F = A.getAttribute(v);
|
|
1609
1603
|
if (i.state.isVisible)
|
|
1610
|
-
|
|
1604
|
+
A.setAttribute(v, F ? F + " " + y : y);
|
|
1611
1605
|
else {
|
|
1612
1606
|
var W = F && F.replace(y, "").trim();
|
|
1613
|
-
W ?
|
|
1607
|
+
W ? A.setAttribute(v, W) : A.removeAttribute(v);
|
|
1614
1608
|
}
|
|
1615
1609
|
});
|
|
1616
1610
|
}
|
|
1617
1611
|
}
|
|
1618
1612
|
function Z() {
|
|
1619
|
-
if (!(
|
|
1613
|
+
if (!(M || !i.props.aria.expanded)) {
|
|
1620
1614
|
var s = me(i.props.triggerTarget || t);
|
|
1621
1615
|
s.forEach(function(v) {
|
|
1622
1616
|
i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === P() ? "true" : "false") : v.removeAttribute("aria-expanded");
|
|
@@ -1638,7 +1632,7 @@ function li(t, e) {
|
|
|
1638
1632
|
if (Q.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
|
|
1639
1633
|
return;
|
|
1640
1634
|
} else
|
|
1641
|
-
|
|
1635
|
+
I("onClickOutside", [i, s]);
|
|
1642
1636
|
i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), c = !0, setTimeout(function() {
|
|
1643
1637
|
c = !1;
|
|
1644
1638
|
}), i.state.isMounted || ne());
|
|
@@ -1669,19 +1663,19 @@ function li(t, e) {
|
|
|
1669
1663
|
}
|
|
1670
1664
|
function be(s, v) {
|
|
1671
1665
|
var y = H().box;
|
|
1672
|
-
function A
|
|
1673
|
-
|
|
1666
|
+
function T(A) {
|
|
1667
|
+
A.target === y && (lt(y, "remove", T), v());
|
|
1674
1668
|
}
|
|
1675
1669
|
if (s === 0)
|
|
1676
1670
|
return v();
|
|
1677
|
-
lt(y, "remove", b), lt(y, "add",
|
|
1671
|
+
lt(y, "remove", b), lt(y, "add", T), b = T;
|
|
1678
1672
|
}
|
|
1679
1673
|
function se(s, v, y) {
|
|
1680
1674
|
y === void 0 && (y = !1);
|
|
1681
|
-
var
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
node:
|
|
1675
|
+
var T = me(i.props.triggerTarget || t);
|
|
1676
|
+
T.forEach(function(A) {
|
|
1677
|
+
A.addEventListener(s, v, y), h.push({
|
|
1678
|
+
node: A,
|
|
1685
1679
|
eventType: s,
|
|
1686
1680
|
handler: v,
|
|
1687
1681
|
options: y
|
|
@@ -1710,31 +1704,31 @@ function li(t, e) {
|
|
|
1710
1704
|
}
|
|
1711
1705
|
function Ve() {
|
|
1712
1706
|
h.forEach(function(s) {
|
|
1713
|
-
var v = s.node, y = s.eventType,
|
|
1714
|
-
v.removeEventListener(y,
|
|
1707
|
+
var v = s.node, y = s.eventType, T = s.handler, A = s.options;
|
|
1708
|
+
v.removeEventListener(y, T, A);
|
|
1715
1709
|
}), h = [];
|
|
1716
1710
|
}
|
|
1717
1711
|
function Ee(s) {
|
|
1718
1712
|
var v, y = !1;
|
|
1719
1713
|
if (!(!i.state.isEnabled || Re(s) || c)) {
|
|
1720
|
-
var
|
|
1721
|
-
p = s, w = s.currentTarget, Z(), !i.state.isVisible && zn(s) && Qe.forEach(function(
|
|
1722
|
-
return
|
|
1723
|
-
}), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || l) && i.props.hideOnClick !== !1 && i.state.isVisible ? y = !0 : Le(s), s.type === "click" && (l = !y), y && !
|
|
1714
|
+
var T = ((v = p) == null ? void 0 : v.type) === "focus";
|
|
1715
|
+
p = s, w = s.currentTarget, Z(), !i.state.isVisible && zn(s) && Qe.forEach(function(A) {
|
|
1716
|
+
return A(s);
|
|
1717
|
+
}), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || l) && i.props.hideOnClick !== !1 && i.state.isVisible ? y = !0 : Le(s), s.type === "click" && (l = !y), y && !T && de(s);
|
|
1724
1718
|
}
|
|
1725
1719
|
}
|
|
1726
1720
|
function He(s) {
|
|
1727
1721
|
var v = s.target, y = P().contains(v) || m.contains(v);
|
|
1728
1722
|
if (!(s.type === "mousemove" && y)) {
|
|
1729
|
-
var
|
|
1730
|
-
var F, W =
|
|
1723
|
+
var T = ue().concat(m).map(function(A) {
|
|
1724
|
+
var F, W = A._tippy, xe = (F = W.popperInstance) == null ? void 0 : F.state;
|
|
1731
1725
|
return xe ? {
|
|
1732
|
-
popperRect:
|
|
1726
|
+
popperRect: A.getBoundingClientRect(),
|
|
1733
1727
|
popperState: xe,
|
|
1734
1728
|
props: r
|
|
1735
1729
|
} : null;
|
|
1736
1730
|
}).filter(Boolean);
|
|
1737
|
-
Xn(
|
|
1731
|
+
Xn(T, s) && (pe(), de(s));
|
|
1738
1732
|
}
|
|
1739
1733
|
}
|
|
1740
1734
|
function Ue(s) {
|
|
@@ -1755,10 +1749,10 @@ function li(t, e) {
|
|
|
1755
1749
|
}
|
|
1756
1750
|
function We() {
|
|
1757
1751
|
Ke();
|
|
1758
|
-
var s = i.props, v = s.popperOptions, y = s.placement,
|
|
1759
|
-
getBoundingClientRect:
|
|
1760
|
-
contextElement:
|
|
1761
|
-
} : t,
|
|
1752
|
+
var s = i.props, v = s.popperOptions, y = s.placement, T = s.offset, A = s.getReferenceClientRect, F = s.moveTransition, W = L() ? vt(m).arrow : null, xe = A ? {
|
|
1753
|
+
getBoundingClientRect: A,
|
|
1754
|
+
contextElement: A.contextElement || P()
|
|
1755
|
+
} : t, Ct = {
|
|
1762
1756
|
name: "$$tippy",
|
|
1763
1757
|
enabled: !0,
|
|
1764
1758
|
phase: "beforeWrite",
|
|
@@ -1775,7 +1769,7 @@ function li(t, e) {
|
|
|
1775
1769
|
}, ve = [{
|
|
1776
1770
|
name: "offset",
|
|
1777
1771
|
options: {
|
|
1778
|
-
offset:
|
|
1772
|
+
offset: T
|
|
1779
1773
|
}
|
|
1780
1774
|
}, {
|
|
1781
1775
|
name: "preventOverflow",
|
|
@@ -1797,7 +1791,7 @@ function li(t, e) {
|
|
|
1797
1791
|
options: {
|
|
1798
1792
|
adaptive: !F
|
|
1799
1793
|
}
|
|
1800
|
-
},
|
|
1794
|
+
}, Ct];
|
|
1801
1795
|
L() && W && ve.push({
|
|
1802
1796
|
name: "arrow",
|
|
1803
1797
|
options: {
|
|
@@ -1821,19 +1815,19 @@ function li(t, e) {
|
|
|
1821
1815
|
return rt(m.querySelectorAll("[data-tippy-root]"));
|
|
1822
1816
|
}
|
|
1823
1817
|
function Le(s) {
|
|
1824
|
-
i.clearDelayTimeouts(), s &&
|
|
1825
|
-
var v =
|
|
1826
|
-
Q.isTouch &&
|
|
1818
|
+
i.clearDelayTimeouts(), s && I("onTrigger", [i, s]), q();
|
|
1819
|
+
var v = N(!0), y = R(), T = y[0], A = y[1];
|
|
1820
|
+
Q.isTouch && T === "hold" && A && (v = A), v ? n = setTimeout(function() {
|
|
1827
1821
|
i.show();
|
|
1828
1822
|
}, v) : i.show();
|
|
1829
1823
|
}
|
|
1830
1824
|
function de(s) {
|
|
1831
|
-
if (i.clearDelayTimeouts(),
|
|
1825
|
+
if (i.clearDelayTimeouts(), I("onUntrigger", [i, s]), !i.state.isVisible) {
|
|
1832
1826
|
ne();
|
|
1833
1827
|
return;
|
|
1834
1828
|
}
|
|
1835
1829
|
if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && l)) {
|
|
1836
|
-
var v =
|
|
1830
|
+
var v = N(!1);
|
|
1837
1831
|
v ? a = setTimeout(function() {
|
|
1838
1832
|
i.state.isVisible && i.hide();
|
|
1839
1833
|
}, v) : o = requestAnimationFrame(function() {
|
|
@@ -1841,7 +1835,7 @@ function li(t, e) {
|
|
|
1841
1835
|
});
|
|
1842
1836
|
}
|
|
1843
1837
|
}
|
|
1844
|
-
function
|
|
1838
|
+
function Me() {
|
|
1845
1839
|
i.state.isEnabled = !0;
|
|
1846
1840
|
}
|
|
1847
1841
|
function ze() {
|
|
@@ -1852,15 +1846,15 @@ function li(t, e) {
|
|
|
1852
1846
|
}
|
|
1853
1847
|
function Ye(s) {
|
|
1854
1848
|
if (!i.state.isDestroyed) {
|
|
1855
|
-
|
|
1856
|
-
var v = i.props, y = $t(t, Object.assign({}, v,
|
|
1849
|
+
I("onBeforeUpdate", [i, s]), Ve();
|
|
1850
|
+
var v = i.props, y = $t(t, Object.assign({}, v, Nt(s), {
|
|
1857
1851
|
ignoreAttributes: !0
|
|
1858
1852
|
}));
|
|
1859
|
-
i.props = y, we(), v.interactiveDebounce !== y.interactiveDebounce && (pe(), D = kt(He, y.interactiveDebounce)), v.triggerTarget && !y.triggerTarget ? me(v.triggerTarget).forEach(function(
|
|
1860
|
-
|
|
1861
|
-
}) : y.triggerTarget && t.removeAttribute("aria-expanded"), Z(),
|
|
1862
|
-
requestAnimationFrame(
|
|
1863
|
-
})),
|
|
1853
|
+
i.props = y, we(), v.interactiveDebounce !== y.interactiveDebounce && (pe(), D = kt(He, y.interactiveDebounce)), v.triggerTarget && !y.triggerTarget ? me(v.triggerTarget).forEach(function(T) {
|
|
1854
|
+
T.removeAttribute("aria-expanded");
|
|
1855
|
+
}) : y.triggerTarget && t.removeAttribute("aria-expanded"), Z(), _(), E && E(v, y), i.popperInstance && (We(), ue().forEach(function(T) {
|
|
1856
|
+
requestAnimationFrame(T._tippy.popperInstance.forceUpdate);
|
|
1857
|
+
})), I("onAfterUpdate", [i, s]);
|
|
1864
1858
|
}
|
|
1865
1859
|
}
|
|
1866
1860
|
function qe(s) {
|
|
@@ -1869,9 +1863,9 @@ function li(t, e) {
|
|
|
1869
1863
|
});
|
|
1870
1864
|
}
|
|
1871
1865
|
function lr() {
|
|
1872
|
-
var s = i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled,
|
|
1873
|
-
if (!(s || v || y ||
|
|
1874
|
-
if (i.state.isVisible = !0, L() && (m.style.visibility = "visible"),
|
|
1866
|
+
var s = i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, T = Q.isTouch && !i.props.touch, A = st(i.props.duration, 0, U.duration);
|
|
1867
|
+
if (!(s || v || y || T) && !P().hasAttribute("disabled") && (I("onShow", [i], !1), i.props.onShow(i) !== !1)) {
|
|
1868
|
+
if (i.state.isVisible = !0, L() && (m.style.visibility = "visible"), _(), q(), i.state.isMounted || (m.style.transition = "none"), L()) {
|
|
1875
1869
|
var F = H(), W = F.box, xe = F.content;
|
|
1876
1870
|
ut([W, xe], 0);
|
|
1877
1871
|
}
|
|
@@ -1880,40 +1874,40 @@ function li(t, e) {
|
|
|
1880
1874
|
if (!(!i.state.isVisible || f)) {
|
|
1881
1875
|
if (f = !0, m.offsetHeight, m.style.transition = i.props.moveTransition, L() && i.props.animation) {
|
|
1882
1876
|
var at = H(), Xe = at.box, De = at.content;
|
|
1883
|
-
ut([Xe, De],
|
|
1877
|
+
ut([Xe, De], A), _t([Xe, De], "visible");
|
|
1884
1878
|
}
|
|
1885
|
-
X(), Z(),
|
|
1886
|
-
i.state.isShown = !0,
|
|
1879
|
+
X(), Z(), It(ct, i), (ve = i.popperInstance) == null || ve.forceUpdate(), I("onMount", [i]), i.props.animation && L() && ie(A, function() {
|
|
1880
|
+
i.state.isShown = !0, I("onShown", [i]);
|
|
1887
1881
|
});
|
|
1888
1882
|
}
|
|
1889
1883
|
}, ae();
|
|
1890
1884
|
}
|
|
1891
1885
|
}
|
|
1892
1886
|
function cr() {
|
|
1893
|
-
var s = !i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled,
|
|
1894
|
-
if (!(s || v || y) && (
|
|
1895
|
-
if (i.state.isVisible = !1, i.state.isShown = !1, f = !1, l = !1, L() && (m.style.visibility = "hidden"), pe(), ne(),
|
|
1896
|
-
var
|
|
1897
|
-
i.props.animation && (ut([F, W],
|
|
1887
|
+
var s = !i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, T = st(i.props.duration, 1, U.duration);
|
|
1888
|
+
if (!(s || v || y) && (I("onHide", [i], !1), i.props.onHide(i) !== !1)) {
|
|
1889
|
+
if (i.state.isVisible = !1, i.state.isShown = !1, f = !1, l = !1, L() && (m.style.visibility = "hidden"), pe(), ne(), _(!0), L()) {
|
|
1890
|
+
var A = H(), F = A.box, W = A.content;
|
|
1891
|
+
i.props.animation && (ut([F, W], T), _t([F, W], "hidden"));
|
|
1898
1892
|
}
|
|
1899
|
-
X(), Z(), i.props.animation ? L() && ye(
|
|
1893
|
+
X(), Z(), i.props.animation ? L() && ye(T, i.unmount) : i.unmount();
|
|
1900
1894
|
}
|
|
1901
1895
|
}
|
|
1902
1896
|
function pr(s) {
|
|
1903
|
-
V().addEventListener("mousemove", D),
|
|
1897
|
+
V().addEventListener("mousemove", D), It(Qe, D), D(s);
|
|
1904
1898
|
}
|
|
1905
1899
|
function fr() {
|
|
1906
1900
|
i.state.isVisible && i.hide(), i.state.isMounted && (Ke(), ue().forEach(function(s) {
|
|
1907
1901
|
s._tippy.unmount();
|
|
1908
1902
|
}), m.parentNode && m.parentNode.removeChild(m), ct = ct.filter(function(s) {
|
|
1909
1903
|
return s !== i;
|
|
1910
|
-
}), i.state.isMounted = !1,
|
|
1904
|
+
}), i.state.isMounted = !1, I("onHidden", [i]));
|
|
1911
1905
|
}
|
|
1912
1906
|
function dr() {
|
|
1913
|
-
i.state.isDestroyed || (i.clearDelayTimeouts(), i.unmount(), Ve(), delete t._tippy, i.state.isDestroyed = !0,
|
|
1907
|
+
i.state.isDestroyed || (i.clearDelayTimeouts(), i.unmount(), Ve(), delete t._tippy, i.state.isDestroyed = !0, I("onDestroy", [i]));
|
|
1914
1908
|
}
|
|
1915
1909
|
}
|
|
1916
|
-
function
|
|
1910
|
+
function Te(t, e) {
|
|
1917
1911
|
e === void 0 && (e = {});
|
|
1918
1912
|
var r = U.plugins.concat(e.plugins || []);
|
|
1919
1913
|
Qn();
|
|
@@ -1925,9 +1919,9 @@ function Ae(t, e) {
|
|
|
1925
1919
|
}, []);
|
|
1926
1920
|
return it(t) ? o[0] : o;
|
|
1927
1921
|
}
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1922
|
+
Te.defaultProps = U;
|
|
1923
|
+
Te.setDefaultProps = ai;
|
|
1924
|
+
Te.currentInput = Q;
|
|
1931
1925
|
Object.assign({}, Gt, {
|
|
1932
1926
|
effect: function(e) {
|
|
1933
1927
|
var r = e.state, n = {
|
|
@@ -1958,25 +1952,25 @@ function hi(t, e) {
|
|
|
1958
1952
|
touch: U.touch
|
|
1959
1953
|
}, l, {
|
|
1960
1954
|
showOnCreate: !0
|
|
1961
|
-
}), f =
|
|
1955
|
+
}), f = Te(t, c), p = me(f);
|
|
1962
1956
|
function b(d) {
|
|
1963
1957
|
if (!(!d.target || a)) {
|
|
1964
1958
|
var g = d.target.closest(o);
|
|
1965
1959
|
if (g) {
|
|
1966
|
-
var
|
|
1967
|
-
if (!g._tippy && !(d.type === "touchstart" && typeof u.touch == "boolean") && !(d.type !== "touchstart" &&
|
|
1968
|
-
var
|
|
1969
|
-
|
|
1960
|
+
var C = g.getAttribute("data-tippy-trigger") || e.trigger || U.trigger;
|
|
1961
|
+
if (!g._tippy && !(d.type === "touchstart" && typeof u.touch == "boolean") && !(d.type !== "touchstart" && C.indexOf(ci[d.type]) < 0)) {
|
|
1962
|
+
var O = Te(g, u);
|
|
1963
|
+
O && (n = n.concat(O));
|
|
1970
1964
|
}
|
|
1971
1965
|
}
|
|
1972
1966
|
}
|
|
1973
1967
|
}
|
|
1974
|
-
function x(d, g,
|
|
1975
|
-
|
|
1968
|
+
function x(d, g, C, O) {
|
|
1969
|
+
O === void 0 && (O = !1), d.addEventListener(g, C, O), r.push({
|
|
1976
1970
|
node: d,
|
|
1977
1971
|
eventType: g,
|
|
1978
|
-
handler:
|
|
1979
|
-
options:
|
|
1972
|
+
handler: C,
|
|
1973
|
+
options: O
|
|
1980
1974
|
});
|
|
1981
1975
|
}
|
|
1982
1976
|
function h(d) {
|
|
@@ -1985,22 +1979,22 @@ function hi(t, e) {
|
|
|
1985
1979
|
}
|
|
1986
1980
|
function D() {
|
|
1987
1981
|
r.forEach(function(d) {
|
|
1988
|
-
var g = d.node,
|
|
1989
|
-
g.removeEventListener(
|
|
1982
|
+
var g = d.node, C = d.eventType, O = d.handler, i = d.options;
|
|
1983
|
+
g.removeEventListener(C, O, i);
|
|
1990
1984
|
}), r = [];
|
|
1991
1985
|
}
|
|
1992
1986
|
function w(d) {
|
|
1993
|
-
var g = d.destroy,
|
|
1987
|
+
var g = d.destroy, C = d.enable, O = d.disable;
|
|
1994
1988
|
d.destroy = function(i) {
|
|
1995
1989
|
i === void 0 && (i = !0), i && n.forEach(function(S) {
|
|
1996
1990
|
S.destroy();
|
|
1997
1991
|
}), n = [], D(), g();
|
|
1998
1992
|
}, d.enable = function() {
|
|
1999
|
-
|
|
1993
|
+
C(), n.forEach(function(i) {
|
|
2000
1994
|
return i.enable();
|
|
2001
1995
|
}), a = !1;
|
|
2002
1996
|
}, d.disable = function() {
|
|
2003
|
-
|
|
1997
|
+
O(), n.forEach(function(i) {
|
|
2004
1998
|
return i.disable();
|
|
2005
1999
|
}), a = !0;
|
|
2006
2000
|
}, h(d);
|
|
@@ -2033,13 +2027,13 @@ var gi = {
|
|
|
2033
2027
|
function Ut(t, e) {
|
|
2034
2028
|
return t && e ? t.top !== e.top || t.right !== e.right || t.bottom !== e.bottom || t.left !== e.left : !0;
|
|
2035
2029
|
}
|
|
2036
|
-
|
|
2030
|
+
Te.setDefaultProps({
|
|
2037
2031
|
render: ur
|
|
2038
2032
|
});
|
|
2039
2033
|
export {
|
|
2040
|
-
|
|
2034
|
+
Ar as C,
|
|
2041
2035
|
Lr as F,
|
|
2042
2036
|
hi as d,
|
|
2043
2037
|
gi as s,
|
|
2044
|
-
|
|
2038
|
+
Te as t
|
|
2045
2039
|
};
|