@cling-se/widget 0.14.4 → 0.14.5

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.
Files changed (134) hide show
  1. package/.eslintrc.cjs +4 -4
  2. package/README.md +40 -40
  3. package/dist/AddClientCallout-BMc-v9rJ.js +46 -0
  4. package/dist/AnswerModal-Cu0Ke5pl.js +3874 -0
  5. package/dist/AttachmentItem-Co8pVvtv.js +78 -0
  6. package/dist/BaseDatePicker-P5iq-XAp.js +3183 -0
  7. package/dist/BaseUpload-BDWnWTxr.js +1977 -0
  8. package/dist/BlockMedia-B_UiePCr.js +76 -0
  9. package/dist/CCallout-Bbp9ya9n.js +59 -0
  10. package/dist/CCurrencyDropdown-Cw39vJWw.js +246 -0
  11. package/dist/CDropdownItem-BjYnhZJr.js +538 -0
  12. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +1 -0
  13. package/dist/CFormField-CeJ58aN2.js +241 -0
  14. package/dist/CPhoneFormat-BZnmeEeW.js +62 -0
  15. package/dist/CPriceInput-B07d19qq.js +112 -0
  16. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
  17. package/dist/ClientAutocomplete-9iM1pR9l.js +78 -0
  18. package/dist/ClientModal-fw8f6UvL.js +625 -0
  19. package/dist/ColorPicker-uu6vKe8o.js +2879 -0
  20. package/dist/CompanyModal-5t4yhKL4.js +141 -0
  21. package/dist/ContentWrapper-DwcOQ21l.js +183 -0
  22. package/dist/CoverBlockSettings-cCCXzAZ0.js +275 -0
  23. package/dist/DocAnswer-9lbgqHRX.js +36 -0
  24. package/dist/DocDetails-CoLL_tHs.js +246 -0
  25. package/dist/DocForm-DUjcuHJe.js +7273 -0
  26. package/dist/DocFormSend-LawcXcM2.js +143 -0
  27. package/dist/DocLinks-pJT9HpjR.js +38 -0
  28. package/dist/DocModalBase-xUoskL63.js +28 -0
  29. package/dist/DocPrint-ClEJBiAg.js +240 -0
  30. package/dist/DocReceipt-x_YsXPnG.js +210 -0
  31. package/dist/DocSendReminder-Dbz8CkAz.js +137 -0
  32. package/dist/DocTextEditor-AqBE7jZj.js +17181 -0
  33. package/dist/DocTimeline-hq2asPzr.js +481 -0
  34. package/dist/DocumentClient-TmtHqfiw.js +136 -0
  35. package/dist/DocumentLayout-CRAp8mfk.js +4909 -0
  36. package/dist/DocumentLogotype-emSjQ21f.js +87 -0
  37. package/dist/DocumentVoided-BOjiWBK6.js +25 -0
  38. package/dist/EmbedInput-B3LFGEee.js +113 -0
  39. package/dist/EmbedSettings-BYPJTGQf.js +72 -0
  40. package/dist/ErrorCallout-CwgYHBkg.js +28 -0
  41. package/dist/FilePreviewModal-81sSrDGg.js +81 -0
  42. package/dist/Flag-DGFvUTQZ.js +114 -0
  43. package/dist/HeaderSettings-BGpkzcbj.js +392 -0
  44. package/dist/ImageSelectModal-Cimviyuy.js +84 -0
  45. package/dist/ImageUploadWrapper-qJDHCf8T.js +1604 -0
  46. package/dist/Index-18w_qMQH.js +25 -0
  47. package/dist/Index-9_R8_myc.js +77 -0
  48. package/dist/Index-BKoXW7GK.js +84 -0
  49. package/dist/Index-BL3-tRGt.js +642 -0
  50. package/dist/Index-BNfAA-ZJ.js +154 -0
  51. package/dist/Index-BOxSvAug.js +144 -0
  52. package/dist/Index-BQgW1jlH.js +45 -0
  53. package/dist/Index-BXAqgXVi.js +150 -0
  54. package/dist/Index-BgK_WC0d.js +140 -0
  55. package/dist/Index-BkUzlQaQ.js +107 -0
  56. package/dist/Index-BpyYa9LR.js +171 -0
  57. package/dist/Index-ByzGXUoc.js +292 -0
  58. package/dist/Index-C1lsSfnX.js +52 -0
  59. package/dist/Index-C9sq_RDg.js +223 -0
  60. package/dist/Index-CDEh3GAi.js +26 -0
  61. package/dist/Index-CEG-Hiv6.js +69 -0
  62. package/dist/Index-CMUg61_b.js +33 -0
  63. package/dist/Index-CObGPoQv.js +62 -0
  64. package/dist/Index-CPNUsaOS.js +57 -0
  65. package/dist/Index-CegW1Rim.js +98 -0
  66. package/dist/Index-CoSt-Bws.js +31 -0
  67. package/dist/Index-CpDgldnz.js +70 -0
  68. package/dist/Index-CqImx-rG.js +55 -0
  69. package/dist/Index-CrOD4_xj.js +58 -0
  70. package/dist/Index-DBCNVVm5.js +24 -0
  71. package/dist/Index-DGG1S8uJ.js +559 -0
  72. package/dist/Index-DRWS2z82.js +2402 -0
  73. package/dist/Index-DXRgZZNj.js +61 -0
  74. package/dist/Index-DY5gAUnE.js +754 -0
  75. package/dist/Index-Dr7mVlBb.js +49 -0
  76. package/dist/Index-Dx944wv-.js +21 -0
  77. package/dist/Index-Eq3JlTKK.js +46 -0
  78. package/dist/Index-Sr3emNkE.js +25 -0
  79. package/dist/Index-VshOfaom.js +32 -0
  80. package/dist/InputToggleRow-CQsaayf-.js +57 -0
  81. package/dist/ManualPopover-CFXm5cQy.js +58 -0
  82. package/dist/MediaWrapper-Cn0Yr4ce.js +23 -0
  83. package/dist/NotBindingText-CNiszGqn.js +32 -0
  84. package/dist/PackageGroup-BVys9ouj.js +699 -0
  85. package/dist/PdfTerms-Bbns-jMY.js +36 -0
  86. package/dist/PdfViewer-B1zzZU4Y.js +374 -0
  87. package/dist/PlainHtml-CARRbTxi.js +20 -0
  88. package/dist/PriceHeader-CqeC9Lhb.js +339 -0
  89. package/dist/SearchApi-bB9FLxUq.js +161 -0
  90. package/dist/Setup-p3Du_uf8.js +50 -0
  91. package/dist/SmartList-P5ZfTWBb.js +83 -0
  92. package/dist/TermsSettings-CQ8TGwBV.js +102 -0
  93. package/dist/ThemeColorRow-DMWVlFRU.js +67 -0
  94. package/dist/ToggleBinding-BPaYWgqP.js +38 -0
  95. package/dist/UploadModal-9O4HTVZm.js +95 -0
  96. package/dist/VideoPlayerInput-5KybfY7N.js +93 -0
  97. package/dist/VideoPlayerSettings-xSW8tcTZ.js +61 -0
  98. package/dist/VideoSelectModal-BbaNAxGH.js +100 -0
  99. package/dist/anime.es-BrPTThYb.js +858 -0
  100. package/dist/answerDocumentMixin-S-Bmv15G.js +51 -0
  101. package/dist/color-TdtKxwVa.js +19 -0
  102. package/dist/debounce-B_0g8OVh.js +84 -0
  103. package/dist/dom-CJxkno7i.js +91 -0
  104. package/dist/favicon.ico +0 -0
  105. package/dist/focusDrawerMixin-DhsqWZUo.js +22 -0
  106. package/dist/formComponentsInstall-UG7a9vjZ.js +2499 -0
  107. package/dist/formDrawerState-BMQrWaBt.js +20 -0
  108. package/dist/formValidationMixin-DUu0omWT.js +49 -0
  109. package/dist/i18nMessages-Chz_lxGG.js +17 -0
  110. package/dist/index-B3R_uKML.js +347 -0
  111. package/dist/index-B4aiQXsr.js +166 -0
  112. package/dist/index-C50JSDKO.js +3916 -0
  113. package/dist/index-CJ9AvuZH.js +102 -0
  114. package/dist/index-Czyda2Ej.js +492 -0
  115. package/dist/index-myOYAnwV.js +81 -0
  116. package/dist/index.es.js +35 -0
  117. package/dist/index.umd.js +3148 -0
  118. package/dist/main-B9t0ybqW.js +56739 -0
  119. package/dist/mapFormMixin-ETYhBLl2.js +72 -0
  120. package/dist/omit-DtTfKAed.js +31 -0
  121. package/dist/publicSenderState-DD1lN9CR.js +21 -0
  122. package/dist/splitpanes-BHUVsCZF.js +382 -0
  123. package/dist/style.css +4 -0
  124. package/dist/throttle-qziKkJJX.js +18 -0
  125. package/dist/tinycolor-CMC8Xp7x.js +633 -0
  126. package/dist/tippy.esm-DjbYjfS2.js +1799 -0
  127. package/dist/utils-C5Rg0fQC.js +108 -0
  128. package/dist/vuedraggable.umd-CE3WmaEQ.js +3161 -0
  129. package/dist/vuex.esm-DKGl8mcw.js +467 -0
  130. package/package.json +1 -1
  131. package/tsconfig.json +26 -26
  132. package/tsconfig.node.json +10 -10
  133. package/tsconfig.paths.json +17 -17
  134. package/vite.config.ts +61 -61
@@ -0,0 +1,1799 @@
1
+ import { F as dr } from "./DocumentLayout-CRAp8mfk.js";
2
+ import "./CDropdownItem-BjYnhZJr.js";
3
+ import { n as vr } from "./main-B9t0ybqW.js";
4
+ import { C as mr } from "./ColorPicker-uu6vKe8o.js";
5
+ import { C as hr } from "./CCurrencyDropdown-Cw39vJWw.js";
6
+ const gr = {
7
+ components: {
8
+ ColorPicker: mr,
9
+ FontPickerDropdown: dr,
10
+ CCurrencyDropdown: hr,
11
+ FormInputRow: () => Promise.resolve().then(() => Or)
12
+ },
13
+ props: {
14
+ label: {
15
+ type: String,
16
+ default: ""
17
+ },
18
+ infoTooltip: {
19
+ type: String,
20
+ default: ""
21
+ },
22
+ inputs: {
23
+ type: Array,
24
+ required: !0
25
+ }
26
+ },
27
+ methods: {
28
+ onKeyPressNumberRestrict(e) {
29
+ ["-", "+", "e", "E"].includes(e.key) && e.preventDefault();
30
+ }
31
+ }
32
+ };
33
+ var yr = function() {
34
+ var t = this, r = t._self._c;
35
+ 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
+ return [n.component === "input" ? r("div", { key: o, class: { "input-wrapper": n.props.type !== "range" } }, [r("input", t._b({ class: {
37
+ slider: n.props.type === "range"
38
+ }, style: [
39
+ n.props.type === "range" && {
40
+ "--progress": `${(n.props.value - n.props.min) * 100 / (n.props.max - n.props.min)}%`
41
+ }
42
+ ], on: { input: function(a) {
43
+ n.onInput && n.onInput(a.target.value);
44
+ }, keypress: function(a) {
45
+ n.props.type === "number" && t.onKeyPressNumberRestrict(a);
46
+ } } }, "input", n.props, !1))]) : n.component === "inputSelect" ? r("div", { key: o + "input", staticClass: "input-wrapper" }, [r("input", t._b({ staticStyle: { "border-top-right-radius": "0", "border-bottom-right-radius": "0", "margin-right": "1px" }, on: { input: function(a) {
47
+ n.props.input.onInput && n.props.input.onInput(a.target.value);
48
+ }, keypress: function(a) {
49
+ n.props.input.type === "number" && t.onKeyPressNumberRestrict(a);
50
+ } } }, "input", n.props.input, !1)), r("div", { staticClass: "select-wrapper" }, [r("select", t._b({ staticStyle: { "border-left": "1px solid #ddd", width: "20px", "border-top-left-radius": "0", "border-bottom-left-radius": "0" }, on: { input: function(a) {
51
+ n.props.select.onInput && n.props.select.onInput(a.target.value);
52
+ } } }, "select", n.props.select, !1), t._l(n.props.select.options, function(a) {
53
+ return r("option", { key: a.value, domProps: { value: a.value, selected: a.value === n.props.select.value } }, [t._v(" " + t._s(a.label) + " ")]);
54
+ }), 0)])]) : n.component === "step" ? r("div", { key: o, 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: o, staticClass: "input-wrapper" }, [r("select", t._b({ on: { input: function(a) {
55
+ n.onInput && n.onInput(a.target.value);
56
+ } } }, "select", n.props, !1), t._l(n.props.options, function(a) {
57
+ return r("option", { key: a.value, domProps: { value: a.value, selected: a.value === n.props.value } }, [t._v(" " + t._s(a.label) + " ")]);
58
+ }), 0)]) : n.component === "color" ? r("div", { key: o, 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" } }, [t._v(t._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(a) {
59
+ return a.preventDefault(), a.stopPropagation(), n.onInput("");
60
+ } } }, [r("CIcon", { attrs: { type: "reset", size: "14", "stroke-width": "2.5" } })], 1) : t._e()]), r("ColorPicker", t._b({ staticStyle: { "box-shadow": "none" }, on: { input: ({ a, hex: p, hex8: c }) => n.onInput && n.onInput(a === 1 ? p : c) } }, "ColorPicker", n.props, !1))], 1)], 1) : n.component === "font" ? r("div", { key: o, staticClass: "input-wrapper" }, [r("FontPickerDropdown", t._b({ staticClass: "font-input-wrapper", on: { input: (a) => n.onInput && n.onInput(a) }, scopedSlots: t._u([{ key: "default", fn: function({ selectedFamily: a }) {
61
+ return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [t._v(" " + t._s(a) + " ")])]);
62
+ } }], null, !0) }, "FontPickerDropdown", n.props, !1))], 1) : n.component === "currency" ? r("div", { key: o, staticClass: "input-wrapper" }, [r("CCurrencyDropdown", t._b({ staticClass: "currency-input-wrapper", on: { input: (a) => n.onInput && n.onInput(a) }, scopedSlots: t._u([{ key: "default", fn: function({ selectedValue: a }) {
63
+ return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [t._v(" " + t._s(a) + " ")])]);
64
+ } }], null, !0) }, "CCurrencyDropdown", n.props, !1))], 1) : n.component === "switch" ? r("div", { key: o, staticClass: "input-wrapper switch" }, [r("CSwitch", t._b({ attrs: { size: "tiny", type: "secondary" }, on: { input: (a) => n.onInput && n.onInput(a) } }, "CSwitch", n.props, !1))], 1) : n.component === "popup" ? r("div", { key: o, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: n.props.width } } }, [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: { padding: "0 5px" } }, [t._v(t._s(n.props.value))])]), r("div", t._l(n.props.popup.inputs, function(a, p) {
65
+ return r("FormInputRow", { key: p, attrs: { inputs: a.inputs, label: a.label } });
66
+ }), 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) + " ")]];
67
+ })], 2)]);
68
+ }, br = [], wr = /* @__PURE__ */ vr(
69
+ gr,
70
+ yr,
71
+ br,
72
+ !1,
73
+ null,
74
+ "96de55ea"
75
+ );
76
+ const xr = wr.exports, Or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
77
+ __proto__: null,
78
+ default: xr
79
+ }, Symbol.toStringTag, { value: "Module" }));
80
+ var N = "top", q = "bottom", X = "right", V = "left", mt = "auto", Ne = [N, q, X, V], Ee = "start", _e = "end", Er = "clippingParents", Wt = "viewport", Ie = "popper", Tr = "reference", Tt = /* @__PURE__ */ Ne.reduce(function(e, t) {
81
+ return e.concat([t + "-" + Ee, t + "-" + _e]);
82
+ }, []), Ut = /* @__PURE__ */ [].concat(Ne, [mt]).reduce(function(e, t) {
83
+ return e.concat([t, t + "-" + Ee, t + "-" + _e]);
84
+ }, []), Ar = "beforeRead", Cr = "read", Dr = "afterRead", Sr = "beforeMain", kr = "main", Lr = "afterMain", Rr = "beforeWrite", Pr = "write", Ir = "afterWrite", Mr = [Ar, Cr, Dr, Sr, kr, Lr, Rr, Pr, Ir];
85
+ function te(e) {
86
+ return e ? (e.nodeName || "").toLowerCase() : null;
87
+ }
88
+ function Y(e) {
89
+ if (e == null)
90
+ return window;
91
+ if (e.toString() !== "[object Window]") {
92
+ var t = e.ownerDocument;
93
+ return t && t.defaultView || window;
94
+ }
95
+ return e;
96
+ }
97
+ function ge(e) {
98
+ var t = Y(e).Element;
99
+ return e instanceof t || e instanceof Element;
100
+ }
101
+ function z(e) {
102
+ var t = Y(e).HTMLElement;
103
+ return e instanceof t || e instanceof HTMLElement;
104
+ }
105
+ function ht(e) {
106
+ if (typeof ShadowRoot > "u")
107
+ return !1;
108
+ var t = Y(e).ShadowRoot;
109
+ return e instanceof t || e instanceof ShadowRoot;
110
+ }
111
+ function jr(e) {
112
+ var t = e.state;
113
+ Object.keys(t.elements).forEach(function(r) {
114
+ var n = t.styles[r] || {}, o = t.attributes[r] || {}, a = t.elements[r];
115
+ !z(a) || !te(a) || (Object.assign(a.style, n), Object.keys(o).forEach(function(p) {
116
+ var c = o[p];
117
+ c === !1 ? a.removeAttribute(p) : a.setAttribute(p, c === !0 ? "" : c);
118
+ }));
119
+ });
120
+ }
121
+ function Br(e) {
122
+ var t = e.state, r = {
123
+ popper: {
124
+ position: t.options.strategy,
125
+ left: "0",
126
+ top: "0",
127
+ margin: "0"
128
+ },
129
+ arrow: {
130
+ position: "absolute"
131
+ },
132
+ reference: {}
133
+ };
134
+ return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
135
+ Object.keys(t.elements).forEach(function(n) {
136
+ var o = t.elements[n], a = t.attributes[n] || {}, p = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), c = p.reduce(function(u, l) {
137
+ return u[l] = "", u;
138
+ }, {});
139
+ !z(o) || !te(o) || (Object.assign(o.style, c), Object.keys(a).forEach(function(u) {
140
+ o.removeAttribute(u);
141
+ }));
142
+ });
143
+ };
144
+ }
145
+ const zt = {
146
+ name: "applyStyles",
147
+ enabled: !0,
148
+ phase: "write",
149
+ fn: jr,
150
+ effect: Br,
151
+ requires: ["computeStyles"]
152
+ };
153
+ function ee(e) {
154
+ return e.split("-")[0];
155
+ }
156
+ var he = Math.max, tt = Math.min, Te = Math.round;
157
+ function ft() {
158
+ var e = navigator.userAgentData;
159
+ return e != null && e.brands ? e.brands.map(function(t) {
160
+ return t.brand + "/" + t.version;
161
+ }).join(" ") : navigator.userAgent;
162
+ }
163
+ function qt() {
164
+ return !/^((?!chrome|android).)*safari/i.test(ft());
165
+ }
166
+ function Ae(e, t, r) {
167
+ t === void 0 && (t = !1), r === void 0 && (r = !1);
168
+ var n = e.getBoundingClientRect(), o = 1, a = 1;
169
+ t && z(e) && (o = e.offsetWidth > 0 && Te(n.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && Te(n.height) / e.offsetHeight || 1);
170
+ var p = ge(e) ? Y(e) : window, c = p.visualViewport, u = !qt() && r, l = (n.left + (u && c ? c.offsetLeft : 0)) / o, f = (n.top + (u && c ? c.offsetTop : 0)) / a, b = n.width / o, x = n.height / a;
171
+ return {
172
+ width: b,
173
+ height: x,
174
+ top: f,
175
+ right: l + b,
176
+ bottom: f + x,
177
+ left: l,
178
+ x: l,
179
+ y: f
180
+ };
181
+ }
182
+ function gt(e) {
183
+ var t = Ae(e), r = e.offsetWidth, n = e.offsetHeight;
184
+ return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
185
+ x: e.offsetLeft,
186
+ y: e.offsetTop,
187
+ width: r,
188
+ height: n
189
+ };
190
+ }
191
+ function Xt(e, t) {
192
+ var r = t.getRootNode && t.getRootNode();
193
+ if (e.contains(t))
194
+ return !0;
195
+ if (r && ht(r)) {
196
+ var n = t;
197
+ do {
198
+ if (n && e.isSameNode(n))
199
+ return !0;
200
+ n = n.parentNode || n.host;
201
+ } while (n);
202
+ }
203
+ return !1;
204
+ }
205
+ function ae(e) {
206
+ return Y(e).getComputedStyle(e);
207
+ }
208
+ function _r(e) {
209
+ return ["table", "td", "th"].indexOf(te(e)) >= 0;
210
+ }
211
+ function ce(e) {
212
+ return ((ge(e) ? e.ownerDocument : (
213
+ // $FlowFixMe[prop-missing]
214
+ e.document
215
+ )) || window.document).documentElement;
216
+ }
217
+ function nt(e) {
218
+ return te(e) === "html" ? e : (
219
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
220
+ // $FlowFixMe[incompatible-return]
221
+ // $FlowFixMe[prop-missing]
222
+ e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
223
+ e.parentNode || // DOM Element detected
224
+ (ht(e) ? e.host : null) || // ShadowRoot detected
225
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
226
+ ce(e)
227
+ );
228
+ }
229
+ function At(e) {
230
+ return !z(e) || // https://github.com/popperjs/popper-core/issues/837
231
+ ae(e).position === "fixed" ? null : e.offsetParent;
232
+ }
233
+ function $r(e) {
234
+ var t = /firefox/i.test(ft()), r = /Trident/i.test(ft());
235
+ if (r && z(e)) {
236
+ var n = ae(e);
237
+ if (n.position === "fixed")
238
+ return null;
239
+ }
240
+ var o = nt(e);
241
+ for (ht(o) && (o = o.host); z(o) && ["html", "body"].indexOf(te(o)) < 0; ) {
242
+ var a = ae(o);
243
+ if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || t && a.willChange === "filter" || t && a.filter && a.filter !== "none")
244
+ return o;
245
+ o = o.parentNode;
246
+ }
247
+ return null;
248
+ }
249
+ function Ve(e) {
250
+ for (var t = Y(e), r = At(e); r && _r(r) && ae(r).position === "static"; )
251
+ r = At(r);
252
+ return r && (te(r) === "html" || te(r) === "body" && ae(r).position === "static") ? t : r || $r(e) || t;
253
+ }
254
+ function yt(e) {
255
+ return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
256
+ }
257
+ function Me(e, t, r) {
258
+ return he(e, tt(t, r));
259
+ }
260
+ function Nr(e, t, r) {
261
+ var n = Me(e, t, r);
262
+ return n > r ? r : n;
263
+ }
264
+ function Yt() {
265
+ return {
266
+ top: 0,
267
+ right: 0,
268
+ bottom: 0,
269
+ left: 0
270
+ };
271
+ }
272
+ function Kt(e) {
273
+ return Object.assign({}, Yt(), e);
274
+ }
275
+ function Gt(e, t) {
276
+ return t.reduce(function(r, n) {
277
+ return r[n] = e, r;
278
+ }, {});
279
+ }
280
+ var Vr = function(t, r) {
281
+ return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
282
+ placement: r.placement
283
+ })) : t, Kt(typeof t != "number" ? t : Gt(t, Ne));
284
+ };
285
+ function Fr(e) {
286
+ 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";
287
+ if (!(!a || !p)) {
288
+ var b = Vr(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], A = E - x[f] - b[O], m = E / 2 - x[f] / 2 + T, S = Me(i, m, A), I = u;
289
+ r.modifiersData[n] = (t = {}, t[I] = S, t.centerOffset = S - m, t);
290
+ }
291
+ }
292
+ function Hr(e) {
293
+ var t = e.state, r = e.options, n = r.element, o = n === void 0 ? "[data-popper-arrow]" : n;
294
+ o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || Xt(t.elements.popper, o) && (t.elements.arrow = o));
295
+ }
296
+ const Wr = {
297
+ name: "arrow",
298
+ enabled: !0,
299
+ phase: "main",
300
+ fn: Fr,
301
+ effect: Hr,
302
+ requires: ["popperOffsets"],
303
+ requiresIfExists: ["preventOverflow"]
304
+ };
305
+ function Ce(e) {
306
+ return e.split("-")[1];
307
+ }
308
+ var Ur = {
309
+ top: "auto",
310
+ right: "auto",
311
+ bottom: "auto",
312
+ left: "auto"
313
+ };
314
+ function zr(e) {
315
+ var t = e.x, r = e.y, n = window, o = n.devicePixelRatio || 1;
316
+ return {
317
+ x: Te(t * o) / o || 0,
318
+ y: Te(r * o) / o || 0
319
+ };
320
+ }
321
+ function Ct(e) {
322
+ 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({
323
+ x: h,
324
+ y: w
325
+ }) : {
326
+ x: h,
327
+ y: w
328
+ };
329
+ h = d.x, w = d.y;
330
+ var g = p.hasOwnProperty("x"), E = p.hasOwnProperty("y"), T = V, i = N, A = window;
331
+ if (l) {
332
+ var m = Ve(r), S = "clientHeight", I = "clientWidth";
333
+ 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 === _e) {
334
+ i = q;
335
+ var P = b && m === A && A.visualViewport ? A.visualViewport.height : (
336
+ // $FlowFixMe[prop-missing]
337
+ m[S]
338
+ );
339
+ w -= P - n.height, w *= u ? 1 : -1;
340
+ }
341
+ if (o === V || (o === N || o === q) && a === _e) {
342
+ T = X;
343
+ var L = b && m === A && A.visualViewport ? A.visualViewport.width : (
344
+ // $FlowFixMe[prop-missing]
345
+ m[I]
346
+ );
347
+ h -= L - n.width, h *= u ? 1 : -1;
348
+ }
349
+ }
350
+ var M = Object.assign({
351
+ position: c
352
+ }, l && Ur), R = f === !0 ? zr({
353
+ x: h,
354
+ y: w
355
+ }) : {
356
+ x: h,
357
+ y: w
358
+ };
359
+ if (h = R.x, w = R.y, u) {
360
+ var k;
361
+ return Object.assign({}, M, (k = {}, k[i] = E ? "0" : "", k[T] = g ? "0" : "", k.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + w + "px)" : "translate3d(" + h + "px, " + w + "px, 0)", k));
362
+ }
363
+ return Object.assign({}, M, (t = {}, t[i] = E ? w + "px" : "", t[T] = g ? h + "px" : "", t.transform = "", t));
364
+ }
365
+ function qr(e) {
366
+ 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 = {
367
+ placement: ee(t.placement),
368
+ variation: Ce(t.placement),
369
+ popper: t.elements.popper,
370
+ popperRect: t.rects.popper,
371
+ gpuAcceleration: o,
372
+ isFixed: t.options.strategy === "fixed"
373
+ };
374
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ct(Object.assign({}, l, {
375
+ offsets: t.modifiersData.popperOffsets,
376
+ position: t.options.strategy,
377
+ adaptive: p,
378
+ roundOffsets: u
379
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ct(Object.assign({}, l, {
380
+ offsets: t.modifiersData.arrow,
381
+ position: "absolute",
382
+ adaptive: !1,
383
+ roundOffsets: u
384
+ })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
385
+ "data-popper-placement": t.placement
386
+ });
387
+ }
388
+ const Xr = {
389
+ name: "computeStyles",
390
+ enabled: !0,
391
+ phase: "beforeWrite",
392
+ fn: qr,
393
+ data: {}
394
+ };
395
+ var Qe = {
396
+ passive: !0
397
+ };
398
+ function Yr(e) {
399
+ 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);
400
+ return a && l.forEach(function(f) {
401
+ f.addEventListener("scroll", r.update, Qe);
402
+ }), c && u.addEventListener("resize", r.update, Qe), function() {
403
+ a && l.forEach(function(f) {
404
+ f.removeEventListener("scroll", r.update, Qe);
405
+ }), c && u.removeEventListener("resize", r.update, Qe);
406
+ };
407
+ }
408
+ const Kr = {
409
+ name: "eventListeners",
410
+ enabled: !0,
411
+ phase: "write",
412
+ fn: function() {
413
+ },
414
+ effect: Yr,
415
+ data: {}
416
+ };
417
+ var Gr = {
418
+ left: "right",
419
+ right: "left",
420
+ bottom: "top",
421
+ top: "bottom"
422
+ };
423
+ function et(e) {
424
+ return e.replace(/left|right|bottom|top/g, function(t) {
425
+ return Gr[t];
426
+ });
427
+ }
428
+ var Jr = {
429
+ start: "end",
430
+ end: "start"
431
+ };
432
+ function Dt(e) {
433
+ return e.replace(/start|end/g, function(t) {
434
+ return Jr[t];
435
+ });
436
+ }
437
+ function bt(e) {
438
+ var t = Y(e), r = t.pageXOffset, n = t.pageYOffset;
439
+ return {
440
+ scrollLeft: r,
441
+ scrollTop: n
442
+ };
443
+ }
444
+ function wt(e) {
445
+ return Ae(ce(e)).left + bt(e).scrollLeft;
446
+ }
447
+ function Qr(e, t) {
448
+ var r = Y(e), n = ce(e), o = r.visualViewport, a = n.clientWidth, p = n.clientHeight, c = 0, u = 0;
449
+ if (o) {
450
+ a = o.width, p = o.height;
451
+ var l = qt();
452
+ (l || !l && t === "fixed") && (c = o.offsetLeft, u = o.offsetTop);
453
+ }
454
+ return {
455
+ width: a,
456
+ height: p,
457
+ x: c + wt(e),
458
+ y: u
459
+ };
460
+ }
461
+ function Zr(e) {
462
+ 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;
463
+ return ae(o || r).direction === "rtl" && (c += he(r.clientWidth, o ? o.clientWidth : 0) - a), {
464
+ width: a,
465
+ height: p,
466
+ x: c,
467
+ y: u
468
+ };
469
+ }
470
+ function xt(e) {
471
+ var t = ae(e), r = t.overflow, n = t.overflowX, o = t.overflowY;
472
+ return /auto|scroll|overlay|hidden/.test(r + o + n);
473
+ }
474
+ function Jt(e) {
475
+ return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : z(e) && xt(e) ? e : Jt(nt(e));
476
+ }
477
+ function je(e, t) {
478
+ var r;
479
+ t === void 0 && (t = []);
480
+ var n = Jt(e), o = n === ((r = e.ownerDocument) == null ? void 0 : r.body), a = Y(n), p = o ? [a].concat(a.visualViewport || [], xt(n) ? n : []) : n, c = t.concat(p);
481
+ return o ? c : (
482
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
483
+ c.concat(je(nt(p)))
484
+ );
485
+ }
486
+ function lt(e) {
487
+ return Object.assign({}, e, {
488
+ left: e.x,
489
+ top: e.y,
490
+ right: e.x + e.width,
491
+ bottom: e.y + e.height
492
+ });
493
+ }
494
+ function en(e, t) {
495
+ var r = Ae(e, !1, t === "fixed");
496
+ 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;
497
+ }
498
+ function St(e, t, r) {
499
+ return t === Wt ? lt(Qr(e, r)) : ge(t) ? en(t, r) : lt(Zr(ce(e)));
500
+ }
501
+ function tn(e) {
502
+ var t = je(nt(e)), r = ["absolute", "fixed"].indexOf(ae(e).position) >= 0, n = r && z(e) ? Ve(e) : e;
503
+ return ge(n) ? t.filter(function(o) {
504
+ return ge(o) && Xt(o, n) && te(o) !== "body";
505
+ }) : [];
506
+ }
507
+ function rn(e, t, r, n) {
508
+ var o = t === "clippingParents" ? tn(e) : [].concat(t), a = [].concat(o, [r]), p = a[0], c = a.reduce(function(u, l) {
509
+ var f = St(e, l, n);
510
+ 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;
511
+ }, St(e, p, n));
512
+ return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
513
+ }
514
+ function Qt(e) {
515
+ var t = e.reference, r = e.element, n = e.placement, o = n ? ee(n) : null, a = n ? Ce(n) : null, p = t.x + t.width / 2 - r.width / 2, c = t.y + t.height / 2 - r.height / 2, u;
516
+ switch (o) {
517
+ case N:
518
+ u = {
519
+ x: p,
520
+ y: t.y - r.height
521
+ };
522
+ break;
523
+ case q:
524
+ u = {
525
+ x: p,
526
+ y: t.y + t.height
527
+ };
528
+ break;
529
+ case X:
530
+ u = {
531
+ x: t.x + t.width,
532
+ y: c
533
+ };
534
+ break;
535
+ case V:
536
+ u = {
537
+ x: t.x - r.width,
538
+ y: c
539
+ };
540
+ break;
541
+ default:
542
+ u = {
543
+ x: t.x,
544
+ y: t.y
545
+ };
546
+ }
547
+ var l = o ? yt(o) : null;
548
+ if (l != null) {
549
+ var f = l === "y" ? "height" : "width";
550
+ switch (a) {
551
+ case Ee:
552
+ u[l] = u[l] - (t[f] / 2 - r[f] / 2);
553
+ break;
554
+ case _e:
555
+ u[l] = u[l] + (t[f] / 2 - r[f] / 2);
556
+ break;
557
+ }
558
+ }
559
+ return u;
560
+ }
561
+ function $e(e, t) {
562
+ t === void 0 && (t = {});
563
+ 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 ? Er : 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 ? Tr : Ie, T = e.rects.popper, i = e.elements[O ? E : x], A = rn(ge(i) ? i : i.contextElement || ce(e.elements.popper), u, f, p), m = Ae(e.elements.reference), S = Qt({
564
+ reference: m,
565
+ element: T,
566
+ strategy: "absolute",
567
+ placement: o
568
+ }), I = lt(Object.assign({}, T, S)), P = x === Ie ? I : m, L = {
569
+ top: A.top - P.top + g.top,
570
+ bottom: P.bottom - A.bottom + g.bottom,
571
+ left: A.left - P.left + g.left,
572
+ right: P.right - A.right + g.right
573
+ }, M = e.modifiersData.offset;
574
+ if (x === Ie && M) {
575
+ var R = M[o];
576
+ Object.keys(L).forEach(function(k) {
577
+ var F = [X, q].indexOf(k) >= 0 ? 1 : -1, H = [N, q].indexOf(k) >= 0 ? "y" : "x";
578
+ L[k] += R[H] * F;
579
+ });
580
+ }
581
+ return L;
582
+ }
583
+ function nn(e, t) {
584
+ t === void 0 && (t = {});
585
+ 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 = Ce(n), b = f ? c ? Tt : Tt.filter(function(O) {
586
+ return Ce(O) === f;
587
+ }) : Ne, x = b.filter(function(O) {
588
+ return l.indexOf(O) >= 0;
589
+ });
590
+ x.length === 0 && (x = b);
591
+ var h = x.reduce(function(O, w) {
592
+ return O[w] = $e(e, {
593
+ placement: w,
594
+ boundary: o,
595
+ rootBoundary: a,
596
+ padding: p
597
+ })[ee(w)], O;
598
+ }, {});
599
+ return Object.keys(h).sort(function(O, w) {
600
+ return h[O] - h[w];
601
+ });
602
+ }
603
+ function on(e) {
604
+ if (ee(e) === mt)
605
+ return [];
606
+ var t = et(e);
607
+ return [Dt(e), t, Dt(t)];
608
+ }
609
+ function an(e) {
610
+ var t = e.state, r = e.options, n = e.name;
611
+ if (!t.modifiersData[n]._skip) {
612
+ 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)] : on(d)), i = [d].concat(T).reduce(function(re, K) {
613
+ return re.concat(ee(K) === mt ? nn(t, {
614
+ placement: K,
615
+ boundary: f,
616
+ rootBoundary: b,
617
+ padding: l,
618
+ flipVariations: O,
619
+ allowedAutoPlacements: w
620
+ }) : K);
621
+ }, []), A = t.rects.reference, m = t.rects.popper, S = /* @__PURE__ */ new Map(), I = !0, P = i[0], L = 0; L < i.length; L++) {
622
+ var M = i[L], R = ee(M), k = Ce(M) === Ee, F = [N, q].indexOf(R) >= 0, H = F ? "width" : "height", B = $e(t, {
623
+ placement: M,
624
+ boundary: f,
625
+ rootBoundary: b,
626
+ altBoundary: x,
627
+ padding: l
628
+ }), _ = F ? k ? X : V : k ? q : N;
629
+ A[H] > m[H] && (_ = et(_));
630
+ var j = et(_), G = [];
631
+ if (a && G.push(B[R] <= 0), c && G.push(B[_] <= 0, B[j] <= 0), G.every(function(re) {
632
+ return re;
633
+ })) {
634
+ P = M, I = !1;
635
+ break;
636
+ }
637
+ S.set(M, G);
638
+ }
639
+ if (I)
640
+ for (var J = O ? 3 : 1, fe = function(K) {
641
+ var ne = i.find(function(ye) {
642
+ var ie = S.get(ye);
643
+ if (ie)
644
+ return ie.slice(0, K).every(function(be) {
645
+ return be;
646
+ });
647
+ });
648
+ if (ne)
649
+ return P = ne, "break";
650
+ }, Q = J; Q > 0; Q--) {
651
+ var le = fe(Q);
652
+ if (le === "break")
653
+ break;
654
+ }
655
+ t.placement !== P && (t.modifiersData[n]._skip = !0, t.placement = P, t.reset = !0);
656
+ }
657
+ }
658
+ const sn = {
659
+ name: "flip",
660
+ enabled: !0,
661
+ phase: "main",
662
+ fn: an,
663
+ requiresIfExists: ["offset"],
664
+ data: {
665
+ _skip: !1
666
+ }
667
+ };
668
+ function kt(e, t, r) {
669
+ return r === void 0 && (r = {
670
+ x: 0,
671
+ y: 0
672
+ }), {
673
+ top: e.top - t.height - r.y,
674
+ right: e.right - t.width + r.x,
675
+ bottom: e.bottom - t.height + r.y,
676
+ left: e.left - t.width - r.x
677
+ };
678
+ }
679
+ function Lt(e) {
680
+ return [N, X, q, V].some(function(t) {
681
+ return e[t] >= 0;
682
+ });
683
+ }
684
+ function un(e) {
685
+ var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, p = $e(t, {
686
+ elementContext: "reference"
687
+ }), c = $e(t, {
688
+ altBoundary: !0
689
+ }), u = kt(p, n), l = kt(c, o, a), f = Lt(u), b = Lt(l);
690
+ t.modifiersData[r] = {
691
+ referenceClippingOffsets: u,
692
+ popperEscapeOffsets: l,
693
+ isReferenceHidden: f,
694
+ hasPopperEscaped: b
695
+ }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
696
+ "data-popper-reference-hidden": f,
697
+ "data-popper-escaped": b
698
+ });
699
+ }
700
+ const pn = {
701
+ name: "hide",
702
+ enabled: !0,
703
+ phase: "main",
704
+ requiresIfExists: ["preventOverflow"],
705
+ fn: un
706
+ };
707
+ function cn(e, t, r) {
708
+ var n = ee(e), o = [V, N].indexOf(n) >= 0 ? -1 : 1, a = typeof r == "function" ? r(Object.assign({}, t, {
709
+ placement: e
710
+ })) : r, p = a[0], c = a[1];
711
+ return p = p || 0, c = (c || 0) * o, [V, X].indexOf(n) >= 0 ? {
712
+ x: c,
713
+ y: p
714
+ } : {
715
+ x: p,
716
+ y: c
717
+ };
718
+ }
719
+ function fn(e) {
720
+ 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) {
721
+ return f[b] = cn(b, t.rects, a), f;
722
+ }, {}), c = p[t.placement], u = c.x, l = c.y;
723
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += l), t.modifiersData[n] = p;
724
+ }
725
+ const ln = {
726
+ name: "offset",
727
+ enabled: !0,
728
+ phase: "main",
729
+ requires: ["popperOffsets"],
730
+ fn
731
+ };
732
+ function dn(e) {
733
+ var t = e.state, r = e.name;
734
+ t.modifiersData[r] = Qt({
735
+ reference: t.rects.reference,
736
+ element: t.rects.popper,
737
+ strategy: "absolute",
738
+ placement: t.placement
739
+ });
740
+ }
741
+ const vn = {
742
+ name: "popperOffsets",
743
+ enabled: !0,
744
+ phase: "read",
745
+ fn: dn,
746
+ data: {}
747
+ };
748
+ function mn(e) {
749
+ return e === "x" ? "y" : "x";
750
+ }
751
+ function hn(e) {
752
+ 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, {
753
+ boundary: u,
754
+ rootBoundary: l,
755
+ padding: b,
756
+ altBoundary: f
757
+ }), g = ee(t.placement), E = Ce(t.placement), T = !E, i = yt(g), A = mn(i), m = t.modifiersData.popperOffsets, S = t.rects.reference, I = t.rects.popper, P = typeof w == "function" ? w(Object.assign({}, t.rects, {
758
+ placement: t.placement
759
+ })) : w, L = typeof P == "number" ? {
760
+ mainAxis: P,
761
+ altAxis: P
762
+ } : Object.assign({
763
+ mainAxis: 0,
764
+ altAxis: 0
765
+ }, P), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, R = {
766
+ x: 0,
767
+ y: 0
768
+ };
769
+ if (m) {
770
+ if (a) {
771
+ var k, F = i === "y" ? N : V, H = i === "y" ? q : X, B = i === "y" ? "height" : "width", _ = m[i], j = _ + d[F], G = _ - d[H], J = h ? -I[B] / 2 : 0, fe = E === Ee ? S[B] : I[B], Q = E === Ee ? -I[B] : -S[B], le = t.elements.arrow, re = h && le ? gt(le) : {
772
+ width: 0,
773
+ height: 0
774
+ }, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Yt(), ne = K[F], ye = K[H], ie = Me(0, S[B], re[B]), be = T ? S[B] / 2 - J - ie - ne - L.mainAxis : fe - ie - ne - L.mainAxis, se = T ? -S[B] / 2 + J + ie + ye + L.mainAxis : Q + ie + ye + L.mainAxis, we = t.elements.arrow && Ve(t.elements.arrow), Fe = we ? i === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, Se = (k = M == null ? void 0 : M[i]) != null ? k : 0, He = _ + be - Se - Fe, We = _ + se - Se, ke = Me(h ? tt(j, He) : j, _, h ? he(G, We) : G);
775
+ m[i] = ke, R[i] = ke - _;
776
+ }
777
+ if (c) {
778
+ var Le, Ue = i === "x" ? N : V, ze = i === "x" ? q : X, oe = m[A], ue = A === "y" ? "height" : "width", Re = oe + d[Ue], de = oe - d[ze], Pe = [N, V].indexOf(g) !== -1, qe = (Le = M == null ? void 0 : M[A]) != 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 ? Nr(Xe, oe, Ye) : Me(h ? Xe : Re, oe, h ? Ye : de);
779
+ m[A] = Ke, R[A] = Ke - oe;
780
+ }
781
+ t.modifiersData[n] = R;
782
+ }
783
+ }
784
+ const gn = {
785
+ name: "preventOverflow",
786
+ enabled: !0,
787
+ phase: "main",
788
+ fn: hn,
789
+ requiresIfExists: ["offset"]
790
+ };
791
+ function yn(e) {
792
+ return {
793
+ scrollLeft: e.scrollLeft,
794
+ scrollTop: e.scrollTop
795
+ };
796
+ }
797
+ function bn(e) {
798
+ return e === Y(e) || !z(e) ? bt(e) : yn(e);
799
+ }
800
+ function wn(e) {
801
+ var t = e.getBoundingClientRect(), r = Te(t.width) / e.offsetWidth || 1, n = Te(t.height) / e.offsetHeight || 1;
802
+ return r !== 1 || n !== 1;
803
+ }
804
+ function xn(e, t, r) {
805
+ r === void 0 && (r = !1);
806
+ var n = z(t), o = z(t) && wn(t), a = ce(t), p = Ae(e, o, r), c = {
807
+ scrollLeft: 0,
808
+ scrollTop: 0
809
+ }, u = {
810
+ x: 0,
811
+ y: 0
812
+ };
813
+ return (n || !n && !r) && ((te(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
814
+ xt(a)) && (c = bn(t)), z(t) ? (u = Ae(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : a && (u.x = wt(a))), {
815
+ x: p.left + c.scrollLeft - u.x,
816
+ y: p.top + c.scrollTop - u.y,
817
+ width: p.width,
818
+ height: p.height
819
+ };
820
+ }
821
+ function On(e) {
822
+ var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
823
+ e.forEach(function(a) {
824
+ t.set(a.name, a);
825
+ });
826
+ function o(a) {
827
+ r.add(a.name);
828
+ var p = [].concat(a.requires || [], a.requiresIfExists || []);
829
+ p.forEach(function(c) {
830
+ if (!r.has(c)) {
831
+ var u = t.get(c);
832
+ u && o(u);
833
+ }
834
+ }), n.push(a);
835
+ }
836
+ return e.forEach(function(a) {
837
+ r.has(a.name) || o(a);
838
+ }), n;
839
+ }
840
+ function En(e) {
841
+ var t = On(e);
842
+ return Mr.reduce(function(r, n) {
843
+ return r.concat(t.filter(function(o) {
844
+ return o.phase === n;
845
+ }));
846
+ }, []);
847
+ }
848
+ function Tn(e) {
849
+ var t;
850
+ return function() {
851
+ return t || (t = new Promise(function(r) {
852
+ Promise.resolve().then(function() {
853
+ t = void 0, r(e());
854
+ });
855
+ })), t;
856
+ };
857
+ }
858
+ function An(e) {
859
+ var t = e.reduce(function(r, n) {
860
+ var o = r[n.name];
861
+ return r[n.name] = o ? Object.assign({}, o, n, {
862
+ options: Object.assign({}, o.options, n.options),
863
+ data: Object.assign({}, o.data, n.data)
864
+ }) : n, r;
865
+ }, {});
866
+ return Object.keys(t).map(function(r) {
867
+ return t[r];
868
+ });
869
+ }
870
+ var Rt = {
871
+ placement: "bottom",
872
+ modifiers: [],
873
+ strategy: "absolute"
874
+ };
875
+ function Pt() {
876
+ for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
877
+ t[r] = arguments[r];
878
+ return !t.some(function(n) {
879
+ return !(n && typeof n.getBoundingClientRect == "function");
880
+ });
881
+ }
882
+ function Cn(e) {
883
+ e === void 0 && (e = {});
884
+ var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, a = o === void 0 ? Rt : o;
885
+ return function(c, u, l) {
886
+ l === void 0 && (l = a);
887
+ var f = {
888
+ placement: "bottom",
889
+ orderedModifiers: [],
890
+ options: Object.assign({}, Rt, a),
891
+ modifiersData: {},
892
+ elements: {
893
+ reference: c,
894
+ popper: u
895
+ },
896
+ attributes: {},
897
+ styles: {}
898
+ }, b = [], x = !1, h = {
899
+ state: f,
900
+ setOptions: function(g) {
901
+ var E = typeof g == "function" ? g(f.options) : g;
902
+ w(), f.options = Object.assign({}, a, f.options, E), f.scrollParents = {
903
+ reference: ge(c) ? je(c) : c.contextElement ? je(c.contextElement) : [],
904
+ popper: je(u)
905
+ };
906
+ var T = En(An([].concat(n, f.options.modifiers)));
907
+ return f.orderedModifiers = T.filter(function(i) {
908
+ return i.enabled;
909
+ }), O(), h.update();
910
+ },
911
+ // Sync update – it will always be executed, even if not necessary. This
912
+ // is useful for low frequency updates where sync behavior simplifies the
913
+ // logic.
914
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
915
+ // prefer the async Popper#update method
916
+ forceUpdate: function() {
917
+ if (!x) {
918
+ var g = f.elements, E = g.reference, T = g.popper;
919
+ if (Pt(E, T)) {
920
+ f.rects = {
921
+ reference: xn(E, Ve(T), f.options.strategy === "fixed"),
922
+ popper: gt(T)
923
+ }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(L) {
924
+ return f.modifiersData[L.name] = Object.assign({}, L.data);
925
+ });
926
+ for (var i = 0; i < f.orderedModifiers.length; i++) {
927
+ if (f.reset === !0) {
928
+ f.reset = !1, i = -1;
929
+ continue;
930
+ }
931
+ var A = f.orderedModifiers[i], m = A.fn, S = A.options, I = S === void 0 ? {} : S, P = A.name;
932
+ typeof m == "function" && (f = m({
933
+ state: f,
934
+ options: I,
935
+ name: P,
936
+ instance: h
937
+ }) || f);
938
+ }
939
+ }
940
+ }
941
+ },
942
+ // Async and optimistically optimized update – it will not be executed if
943
+ // not necessary (debounced to run at most once-per-tick)
944
+ update: Tn(function() {
945
+ return new Promise(function(d) {
946
+ h.forceUpdate(), d(f);
947
+ });
948
+ }),
949
+ destroy: function() {
950
+ w(), x = !0;
951
+ }
952
+ };
953
+ if (!Pt(c, u))
954
+ return h;
955
+ h.setOptions(l).then(function(d) {
956
+ !x && l.onFirstUpdate && l.onFirstUpdate(d);
957
+ });
958
+ function O() {
959
+ f.orderedModifiers.forEach(function(d) {
960
+ var g = d.name, E = d.options, T = E === void 0 ? {} : E, i = d.effect;
961
+ if (typeof i == "function") {
962
+ var A = i({
963
+ state: f,
964
+ name: g,
965
+ instance: h,
966
+ options: T
967
+ }), m = function() {
968
+ };
969
+ b.push(A || m);
970
+ }
971
+ });
972
+ }
973
+ function w() {
974
+ b.forEach(function(d) {
975
+ return d();
976
+ }), b = [];
977
+ }
978
+ return h;
979
+ };
980
+ }
981
+ var Dn = [Kr, vn, Xr, zt, ln, sn, gn, Wr, pn], Sn = /* @__PURE__ */ Cn({
982
+ defaultModifiers: Dn
983
+ }), kn = "tippy-box", Zt = "tippy-content", Ln = "tippy-backdrop", er = "tippy-arrow", tr = "tippy-svg-arrow", pe = {
984
+ passive: !0,
985
+ capture: !0
986
+ }, rr = function() {
987
+ return document.body;
988
+ };
989
+ function st(e, t, r) {
990
+ if (Array.isArray(e)) {
991
+ var n = e[t];
992
+ return n ?? (Array.isArray(r) ? r[t] : r);
993
+ }
994
+ return e;
995
+ }
996
+ function Ot(e, t) {
997
+ var r = {}.toString.call(e);
998
+ return r.indexOf("[object") === 0 && r.indexOf(t + "]") > -1;
999
+ }
1000
+ function nr(e, t) {
1001
+ return typeof e == "function" ? e.apply(void 0, t) : e;
1002
+ }
1003
+ function It(e, t) {
1004
+ if (t === 0)
1005
+ return e;
1006
+ var r;
1007
+ return function(n) {
1008
+ clearTimeout(r), r = setTimeout(function() {
1009
+ e(n);
1010
+ }, t);
1011
+ };
1012
+ }
1013
+ function Rn(e, t) {
1014
+ var r = Object.assign({}, e);
1015
+ return t.forEach(function(n) {
1016
+ delete r[n];
1017
+ }), r;
1018
+ }
1019
+ function Pn(e) {
1020
+ return e.split(/\s+/).filter(Boolean);
1021
+ }
1022
+ function me(e) {
1023
+ return [].concat(e);
1024
+ }
1025
+ function Mt(e, t) {
1026
+ e.indexOf(t) === -1 && e.push(t);
1027
+ }
1028
+ function In(e) {
1029
+ return e.filter(function(t, r) {
1030
+ return e.indexOf(t) === r;
1031
+ });
1032
+ }
1033
+ function Mn(e) {
1034
+ return e.split("-")[0];
1035
+ }
1036
+ function rt(e) {
1037
+ return [].slice.call(e);
1038
+ }
1039
+ function jt(e) {
1040
+ return Object.keys(e).reduce(function(t, r) {
1041
+ return e[r] !== void 0 && (t[r] = e[r]), t;
1042
+ }, {});
1043
+ }
1044
+ function Be() {
1045
+ return document.createElement("div");
1046
+ }
1047
+ function it(e) {
1048
+ return ["Element", "Fragment"].some(function(t) {
1049
+ return Ot(e, t);
1050
+ });
1051
+ }
1052
+ function jn(e) {
1053
+ return Ot(e, "NodeList");
1054
+ }
1055
+ function Bn(e) {
1056
+ return Ot(e, "MouseEvent");
1057
+ }
1058
+ function _n(e) {
1059
+ return !!(e && e._tippy && e._tippy.reference === e);
1060
+ }
1061
+ function $n(e) {
1062
+ return it(e) ? [e] : jn(e) ? rt(e) : Array.isArray(e) ? e : rt(document.querySelectorAll(e));
1063
+ }
1064
+ function ut(e, t) {
1065
+ e.forEach(function(r) {
1066
+ r && (r.style.transitionDuration = t + "ms");
1067
+ });
1068
+ }
1069
+ function Bt(e, t) {
1070
+ e.forEach(function(r) {
1071
+ r && r.setAttribute("data-state", t);
1072
+ });
1073
+ }
1074
+ function Nn(e) {
1075
+ var t, r = me(e), n = r[0];
1076
+ return n != null && (t = n.ownerDocument) != null && t.body ? n.ownerDocument : document;
1077
+ }
1078
+ function Vn(e, t) {
1079
+ var r = t.clientX, n = t.clientY;
1080
+ return e.every(function(o) {
1081
+ var a = o.popperRect, p = o.popperState, c = o.props, u = c.interactiveBorder, l = Mn(p.placement), f = p.modifiersData.offset;
1082
+ if (!f)
1083
+ return !0;
1084
+ 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;
1085
+ return w || d || g || E;
1086
+ });
1087
+ }
1088
+ function pt(e, t, r) {
1089
+ var n = t + "EventListener";
1090
+ ["transitionend", "webkitTransitionEnd"].forEach(function(o) {
1091
+ e[n](o, r);
1092
+ });
1093
+ }
1094
+ function _t(e, t) {
1095
+ for (var r = t; r; ) {
1096
+ var n;
1097
+ if (e.contains(r))
1098
+ return !0;
1099
+ r = r.getRootNode == null || (n = r.getRootNode()) == null ? void 0 : n.host;
1100
+ }
1101
+ return !1;
1102
+ }
1103
+ var Z = {
1104
+ isTouch: !1
1105
+ }, $t = 0;
1106
+ function Fn() {
1107
+ Z.isTouch || (Z.isTouch = !0, window.performance && document.addEventListener("mousemove", ir));
1108
+ }
1109
+ function ir() {
1110
+ var e = performance.now();
1111
+ e - $t < 20 && (Z.isTouch = !1, document.removeEventListener("mousemove", ir)), $t = e;
1112
+ }
1113
+ function Hn() {
1114
+ var e = document.activeElement;
1115
+ if (_n(e)) {
1116
+ var t = e._tippy;
1117
+ e.blur && !t.state.isVisible && e.blur();
1118
+ }
1119
+ }
1120
+ function Wn() {
1121
+ document.addEventListener("touchstart", Fn, pe), window.addEventListener("blur", Hn);
1122
+ }
1123
+ var Un = typeof window < "u" && typeof document < "u", zn = Un ? (
1124
+ // @ts-ignore
1125
+ !!window.msCrypto
1126
+ ) : !1, qn = {
1127
+ animateFill: !1,
1128
+ followCursor: !1,
1129
+ inlinePositioning: !1,
1130
+ sticky: !1
1131
+ }, Xn = {
1132
+ allowHTML: !1,
1133
+ animation: "fade",
1134
+ arrow: !0,
1135
+ content: "",
1136
+ inertia: !1,
1137
+ maxWidth: 350,
1138
+ role: "tooltip",
1139
+ theme: "",
1140
+ zIndex: 9999
1141
+ }, W = Object.assign({
1142
+ appendTo: rr,
1143
+ aria: {
1144
+ content: "auto",
1145
+ expanded: "auto"
1146
+ },
1147
+ delay: 0,
1148
+ duration: [300, 250],
1149
+ getReferenceClientRect: null,
1150
+ hideOnClick: !0,
1151
+ ignoreAttributes: !1,
1152
+ interactive: !1,
1153
+ interactiveBorder: 2,
1154
+ interactiveDebounce: 0,
1155
+ moveTransition: "",
1156
+ offset: [0, 10],
1157
+ onAfterUpdate: function() {
1158
+ },
1159
+ onBeforeUpdate: function() {
1160
+ },
1161
+ onCreate: function() {
1162
+ },
1163
+ onDestroy: function() {
1164
+ },
1165
+ onHidden: function() {
1166
+ },
1167
+ onHide: function() {
1168
+ },
1169
+ onMount: function() {
1170
+ },
1171
+ onShow: function() {
1172
+ },
1173
+ onShown: function() {
1174
+ },
1175
+ onTrigger: function() {
1176
+ },
1177
+ onUntrigger: function() {
1178
+ },
1179
+ onClickOutside: function() {
1180
+ },
1181
+ placement: "top",
1182
+ plugins: [],
1183
+ popperOptions: {},
1184
+ render: null,
1185
+ showOnCreate: !1,
1186
+ touch: !0,
1187
+ trigger: "mouseenter focus",
1188
+ triggerTarget: null
1189
+ }, qn, Xn), Yn = Object.keys(W), Kn = function(t) {
1190
+ var r = Object.keys(t);
1191
+ r.forEach(function(n) {
1192
+ W[n] = t[n];
1193
+ });
1194
+ };
1195
+ function or(e) {
1196
+ var t = e.plugins || [], r = t.reduce(function(n, o) {
1197
+ var a = o.name, p = o.defaultValue;
1198
+ if (a) {
1199
+ var c;
1200
+ n[a] = e[a] !== void 0 ? e[a] : (c = W[a]) != null ? c : p;
1201
+ }
1202
+ return n;
1203
+ }, {});
1204
+ return Object.assign({}, e, r);
1205
+ }
1206
+ function Gn(e, t) {
1207
+ var r = t ? Object.keys(or(Object.assign({}, W, {
1208
+ plugins: t
1209
+ }))) : Yn, n = r.reduce(function(o, a) {
1210
+ var p = (e.getAttribute("data-tippy-" + a) || "").trim();
1211
+ if (!p)
1212
+ return o;
1213
+ if (a === "content")
1214
+ o[a] = p;
1215
+ else
1216
+ try {
1217
+ o[a] = JSON.parse(p);
1218
+ } catch {
1219
+ o[a] = p;
1220
+ }
1221
+ return o;
1222
+ }, {});
1223
+ return n;
1224
+ }
1225
+ function Nt(e, t) {
1226
+ var r = Object.assign({}, t, {
1227
+ content: nr(t.content, [e])
1228
+ }, t.ignoreAttributes ? {} : Gn(e, t.plugins));
1229
+ return r.aria = Object.assign({}, W.aria, r.aria), r.aria = {
1230
+ expanded: r.aria.expanded === "auto" ? t.interactive : r.aria.expanded,
1231
+ content: r.aria.content === "auto" ? t.interactive ? null : "describedby" : r.aria.content
1232
+ }, r;
1233
+ }
1234
+ var Jn = function() {
1235
+ return "innerHTML";
1236
+ };
1237
+ function dt(e, t) {
1238
+ e[Jn()] = t;
1239
+ }
1240
+ function Vt(e) {
1241
+ var t = Be();
1242
+ return e === !0 ? t.className = er : (t.className = tr, it(e) ? t.appendChild(e) : dt(t, e)), t;
1243
+ }
1244
+ function Ft(e, t) {
1245
+ it(t.content) ? (dt(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? dt(e, t.content) : e.textContent = t.content);
1246
+ }
1247
+ function vt(e) {
1248
+ var t = e.firstElementChild, r = rt(t.children);
1249
+ return {
1250
+ box: t,
1251
+ content: r.find(function(n) {
1252
+ return n.classList.contains(Zt);
1253
+ }),
1254
+ arrow: r.find(function(n) {
1255
+ return n.classList.contains(er) || n.classList.contains(tr);
1256
+ }),
1257
+ backdrop: r.find(function(n) {
1258
+ return n.classList.contains(Ln);
1259
+ })
1260
+ };
1261
+ }
1262
+ function ar(e) {
1263
+ var t = Be(), r = Be();
1264
+ r.className = kn, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
1265
+ var n = Be();
1266
+ n.className = Zt, n.setAttribute("data-state", "hidden"), Ft(n, e.props), t.appendChild(r), r.appendChild(n), o(e.props, e.props);
1267
+ function o(a, p) {
1268
+ var c = vt(t), u = c.box, l = c.content, f = c.arrow;
1269
+ p.theme ? u.setAttribute("data-theme", p.theme) : u.removeAttribute("data-theme"), typeof p.animation == "string" ? u.setAttribute("data-animation", p.animation) : u.removeAttribute("data-animation"), p.inertia ? u.setAttribute("data-inertia", "") : u.removeAttribute("data-inertia"), u.style.maxWidth = typeof p.maxWidth == "number" ? p.maxWidth + "px" : p.maxWidth, p.role ? u.setAttribute("role", p.role) : u.removeAttribute("role"), (a.content !== p.content || a.allowHTML !== p.allowHTML) && Ft(l, e.props), p.arrow ? f ? a.arrow !== p.arrow && (u.removeChild(f), u.appendChild(Vt(p.arrow))) : u.appendChild(Vt(p.arrow)) : f && u.removeChild(f);
1270
+ }
1271
+ return {
1272
+ popper: t,
1273
+ onUpdate: o
1274
+ };
1275
+ }
1276
+ ar.$$tippy = !0;
1277
+ var Qn = 1, Ze = [], ct = [];
1278
+ function Zn(e, t) {
1279
+ 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 = Qn++, g = null, E = In(r.plugins), T = {
1280
+ // Is the instance currently enabled?
1281
+ isEnabled: !0,
1282
+ // Is the tippy currently showing and not transitioning out?
1283
+ isVisible: !1,
1284
+ // Has the instance been destroyed?
1285
+ isDestroyed: !1,
1286
+ // Is the tippy currently mounted to the DOM?
1287
+ isMounted: !1,
1288
+ // Has the tippy finished transitioning in?
1289
+ isShown: !1
1290
+ }, i = {
1291
+ // properties
1292
+ id: d,
1293
+ reference: e,
1294
+ popper: Be(),
1295
+ popperInstance: g,
1296
+ props: r,
1297
+ state: T,
1298
+ plugins: E,
1299
+ // methods
1300
+ clearDelayTimeouts: Xe,
1301
+ setProps: Ye,
1302
+ setContent: Ke,
1303
+ show: sr,
1304
+ hide: ur,
1305
+ hideWithInteractivity: pr,
1306
+ enable: Pe,
1307
+ disable: qe,
1308
+ unmount: cr,
1309
+ destroy: fr
1310
+ };
1311
+ if (!r.render)
1312
+ return i;
1313
+ var A = r.render(i), m = A.popper, S = A.onUpdate;
1314
+ m.setAttribute("data-tippy-root", ""), m.id = "tippy-" + i.id, i.popper = m, e._tippy = i, m._tippy = i;
1315
+ var I = E.map(function(s) {
1316
+ return s.fn(i);
1317
+ }), P = e.hasAttribute("aria-expanded");
1318
+ return we(), J(), _(), j("onCreate", [i]), r.showOnCreate && Re(), m.addEventListener("mouseenter", function() {
1319
+ i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
1320
+ }), m.addEventListener("mouseleave", function() {
1321
+ i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && F().addEventListener("mousemove", O);
1322
+ }), i;
1323
+ function L() {
1324
+ var s = i.props.touch;
1325
+ return Array.isArray(s) ? s : [s, 0];
1326
+ }
1327
+ function M() {
1328
+ return L()[0] === "hold";
1329
+ }
1330
+ function R() {
1331
+ var s;
1332
+ return !!((s = i.props.render) != null && s.$$tippy);
1333
+ }
1334
+ function k() {
1335
+ return w || e;
1336
+ }
1337
+ function F() {
1338
+ var s = k().parentNode;
1339
+ return s ? Nn(s) : document;
1340
+ }
1341
+ function H() {
1342
+ return vt(m);
1343
+ }
1344
+ function B(s) {
1345
+ return i.state.isMounted && !i.state.isVisible || Z.isTouch || f && f.type === "focus" ? 0 : st(i.props.delay, s ? 0 : 1, W.delay);
1346
+ }
1347
+ function _(s) {
1348
+ s === void 0 && (s = !1), m.style.pointerEvents = i.props.interactive && !s ? "" : "none", m.style.zIndex = "" + i.props.zIndex;
1349
+ }
1350
+ function j(s, v, y) {
1351
+ if (y === void 0 && (y = !0), I.forEach(function(C) {
1352
+ C[s] && C[s].apply(C, v);
1353
+ }), y) {
1354
+ var D;
1355
+ (D = i.props)[s].apply(D, v);
1356
+ }
1357
+ }
1358
+ function G() {
1359
+ var s = i.props.aria;
1360
+ if (s.content) {
1361
+ var v = "aria-" + s.content, y = m.id, D = me(i.props.triggerTarget || e);
1362
+ D.forEach(function(C) {
1363
+ var $ = C.getAttribute(v);
1364
+ if (i.state.isVisible)
1365
+ C.setAttribute(v, $ ? $ + " " + y : y);
1366
+ else {
1367
+ var U = $ && $.replace(y, "").trim();
1368
+ U ? C.setAttribute(v, U) : C.removeAttribute(v);
1369
+ }
1370
+ });
1371
+ }
1372
+ }
1373
+ function J() {
1374
+ if (!(P || !i.props.aria.expanded)) {
1375
+ var s = me(i.props.triggerTarget || e);
1376
+ s.forEach(function(v) {
1377
+ i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === k() ? "true" : "false") : v.removeAttribute("aria-expanded");
1378
+ });
1379
+ }
1380
+ }
1381
+ function fe() {
1382
+ F().removeEventListener("mousemove", O), Ze = Ze.filter(function(s) {
1383
+ return s !== O;
1384
+ });
1385
+ }
1386
+ function Q(s) {
1387
+ if (!(Z.isTouch && (u || s.type === "mousedown"))) {
1388
+ var v = s.composedPath && s.composedPath()[0] || s.target;
1389
+ if (!(i.props.interactive && _t(m, v))) {
1390
+ if (me(i.props.triggerTarget || e).some(function(y) {
1391
+ return _t(y, v);
1392
+ })) {
1393
+ if (Z.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1394
+ return;
1395
+ } else
1396
+ j("onClickOutside", [i, s]);
1397
+ i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), c = !0, setTimeout(function() {
1398
+ c = !1;
1399
+ }), i.state.isMounted || ne());
1400
+ }
1401
+ }
1402
+ }
1403
+ function le() {
1404
+ u = !0;
1405
+ }
1406
+ function re() {
1407
+ u = !1;
1408
+ }
1409
+ function K() {
1410
+ var s = F();
1411
+ s.addEventListener("mousedown", Q, !0), s.addEventListener("touchend", Q, pe), s.addEventListener("touchstart", re, pe), s.addEventListener("touchmove", le, pe);
1412
+ }
1413
+ function ne() {
1414
+ var s = F();
1415
+ s.removeEventListener("mousedown", Q, !0), s.removeEventListener("touchend", Q, pe), s.removeEventListener("touchstart", re, pe), s.removeEventListener("touchmove", le, pe);
1416
+ }
1417
+ function ye(s, v) {
1418
+ be(s, function() {
1419
+ !i.state.isVisible && m.parentNode && m.parentNode.contains(m) && v();
1420
+ });
1421
+ }
1422
+ function ie(s, v) {
1423
+ be(s, v);
1424
+ }
1425
+ function be(s, v) {
1426
+ var y = H().box;
1427
+ function D(C) {
1428
+ C.target === y && (pt(y, "remove", D), v());
1429
+ }
1430
+ if (s === 0)
1431
+ return v();
1432
+ pt(y, "remove", b), pt(y, "add", D), b = D;
1433
+ }
1434
+ function se(s, v, y) {
1435
+ y === void 0 && (y = !1);
1436
+ var D = me(i.props.triggerTarget || e);
1437
+ D.forEach(function(C) {
1438
+ C.addEventListener(s, v, y), h.push({
1439
+ node: C,
1440
+ eventType: s,
1441
+ handler: v,
1442
+ options: y
1443
+ });
1444
+ });
1445
+ }
1446
+ function we() {
1447
+ M() && (se("touchstart", Se, {
1448
+ passive: !0
1449
+ }), se("touchend", We, {
1450
+ passive: !0
1451
+ })), Pn(i.props.trigger).forEach(function(s) {
1452
+ if (s !== "manual")
1453
+ switch (se(s, Se), s) {
1454
+ case "mouseenter":
1455
+ se("mouseleave", We);
1456
+ break;
1457
+ case "focus":
1458
+ se(zn ? "focusout" : "blur", ke);
1459
+ break;
1460
+ case "focusin":
1461
+ se("focusout", ke);
1462
+ break;
1463
+ }
1464
+ });
1465
+ }
1466
+ function Fe() {
1467
+ h.forEach(function(s) {
1468
+ var v = s.node, y = s.eventType, D = s.handler, C = s.options;
1469
+ v.removeEventListener(y, D, C);
1470
+ }), h = [];
1471
+ }
1472
+ function Se(s) {
1473
+ var v, y = !1;
1474
+ if (!(!i.state.isEnabled || Le(s) || c)) {
1475
+ var D = ((v = f) == null ? void 0 : v.type) === "focus";
1476
+ f = s, w = s.currentTarget, J(), !i.state.isVisible && Bn(s) && Ze.forEach(function(C) {
1477
+ return C(s);
1478
+ }), 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);
1479
+ }
1480
+ }
1481
+ function He(s) {
1482
+ var v = s.target, y = k().contains(v) || m.contains(v);
1483
+ if (!(s.type === "mousemove" && y)) {
1484
+ var D = ue().concat(m).map(function(C) {
1485
+ var $, U = C._tippy, xe = ($ = U.popperInstance) == null ? void 0 : $.state;
1486
+ return xe ? {
1487
+ popperRect: C.getBoundingClientRect(),
1488
+ popperState: xe,
1489
+ props: r
1490
+ } : null;
1491
+ }).filter(Boolean);
1492
+ Vn(D, s) && (fe(), de(s));
1493
+ }
1494
+ }
1495
+ function We(s) {
1496
+ var v = Le(s) || i.props.trigger.indexOf("click") >= 0 && p;
1497
+ if (!v) {
1498
+ if (i.props.interactive) {
1499
+ i.hideWithInteractivity(s);
1500
+ return;
1501
+ }
1502
+ de(s);
1503
+ }
1504
+ }
1505
+ function ke(s) {
1506
+ i.props.trigger.indexOf("focusin") < 0 && s.target !== k() || i.props.interactive && s.relatedTarget && m.contains(s.relatedTarget) || de(s);
1507
+ }
1508
+ function Le(s) {
1509
+ return Z.isTouch ? M() !== s.type.indexOf("touch") >= 0 : !1;
1510
+ }
1511
+ function Ue() {
1512
+ ze();
1513
+ var s = i.props, v = s.popperOptions, y = s.placement, D = s.offset, C = s.getReferenceClientRect, $ = s.moveTransition, U = R() ? vt(m).arrow : null, xe = C ? {
1514
+ getBoundingClientRect: C,
1515
+ contextElement: C.contextElement || k()
1516
+ } : e, Et = {
1517
+ name: "$$tippy",
1518
+ enabled: !0,
1519
+ phase: "beforeWrite",
1520
+ requires: ["computeStyles"],
1521
+ fn: function(Ge) {
1522
+ var Oe = Ge.state;
1523
+ if (R()) {
1524
+ var lr = H(), at = lr.box;
1525
+ ["placement", "reference-hidden", "escaped"].forEach(function(Je) {
1526
+ Je === "placement" ? at.setAttribute("data-placement", Oe.placement) : Oe.attributes.popper["data-popper-" + Je] ? at.setAttribute("data-" + Je, "") : at.removeAttribute("data-" + Je);
1527
+ }), Oe.attributes.popper = {};
1528
+ }
1529
+ }
1530
+ }, ve = [{
1531
+ name: "offset",
1532
+ options: {
1533
+ offset: D
1534
+ }
1535
+ }, {
1536
+ name: "preventOverflow",
1537
+ options: {
1538
+ padding: {
1539
+ top: 2,
1540
+ bottom: 2,
1541
+ left: 5,
1542
+ right: 5
1543
+ }
1544
+ }
1545
+ }, {
1546
+ name: "flip",
1547
+ options: {
1548
+ padding: 5
1549
+ }
1550
+ }, {
1551
+ name: "computeStyles",
1552
+ options: {
1553
+ adaptive: !$
1554
+ }
1555
+ }, Et];
1556
+ R() && U && ve.push({
1557
+ name: "arrow",
1558
+ options: {
1559
+ element: U,
1560
+ padding: 3
1561
+ }
1562
+ }), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = Sn(xe, m, Object.assign({}, v, {
1563
+ placement: y,
1564
+ onFirstUpdate: x,
1565
+ modifiers: ve
1566
+ }));
1567
+ }
1568
+ function ze() {
1569
+ i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
1570
+ }
1571
+ function oe() {
1572
+ var s = i.props.appendTo, v, y = k();
1573
+ i.props.interactive && s === rr || s === "parent" ? v = y.parentNode : v = nr(s, [y]), v.contains(m) || v.appendChild(m), i.state.isMounted = !0, Ue();
1574
+ }
1575
+ function ue() {
1576
+ return rt(m.querySelectorAll("[data-tippy-root]"));
1577
+ }
1578
+ function Re(s) {
1579
+ i.clearDelayTimeouts(), s && j("onTrigger", [i, s]), K();
1580
+ var v = B(!0), y = L(), D = y[0], C = y[1];
1581
+ Z.isTouch && D === "hold" && C && (v = C), v ? n = setTimeout(function() {
1582
+ i.show();
1583
+ }, v) : i.show();
1584
+ }
1585
+ function de(s) {
1586
+ if (i.clearDelayTimeouts(), j("onUntrigger", [i, s]), !i.state.isVisible) {
1587
+ ne();
1588
+ return;
1589
+ }
1590
+ if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && p)) {
1591
+ var v = B(!1);
1592
+ v ? o = setTimeout(function() {
1593
+ i.state.isVisible && i.hide();
1594
+ }, v) : a = requestAnimationFrame(function() {
1595
+ i.hide();
1596
+ });
1597
+ }
1598
+ }
1599
+ function Pe() {
1600
+ i.state.isEnabled = !0;
1601
+ }
1602
+ function qe() {
1603
+ i.hide(), i.state.isEnabled = !1;
1604
+ }
1605
+ function Xe() {
1606
+ clearTimeout(n), clearTimeout(o), cancelAnimationFrame(a);
1607
+ }
1608
+ function Ye(s) {
1609
+ if (!i.state.isDestroyed) {
1610
+ j("onBeforeUpdate", [i, s]), Fe();
1611
+ var v = i.props, y = Nt(e, Object.assign({}, v, jt(s), {
1612
+ ignoreAttributes: !0
1613
+ }));
1614
+ i.props = y, we(), v.interactiveDebounce !== y.interactiveDebounce && (fe(), O = It(He, y.interactiveDebounce)), v.triggerTarget && !y.triggerTarget ? me(v.triggerTarget).forEach(function(D) {
1615
+ D.removeAttribute("aria-expanded");
1616
+ }) : y.triggerTarget && e.removeAttribute("aria-expanded"), J(), _(), S && S(v, y), i.popperInstance && (Ue(), ue().forEach(function(D) {
1617
+ requestAnimationFrame(D._tippy.popperInstance.forceUpdate);
1618
+ })), j("onAfterUpdate", [i, s]);
1619
+ }
1620
+ }
1621
+ function Ke(s) {
1622
+ i.setProps({
1623
+ content: s
1624
+ });
1625
+ }
1626
+ function sr() {
1627
+ var s = i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, D = Z.isTouch && !i.props.touch, C = st(i.props.duration, 0, W.duration);
1628
+ if (!(s || v || y || D) && !k().hasAttribute("disabled") && (j("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1629
+ if (i.state.isVisible = !0, R() && (m.style.visibility = "visible"), _(), K(), i.state.isMounted || (m.style.transition = "none"), R()) {
1630
+ var $ = H(), U = $.box, xe = $.content;
1631
+ ut([U, xe], 0);
1632
+ }
1633
+ x = function() {
1634
+ var ve;
1635
+ if (!(!i.state.isVisible || l)) {
1636
+ if (l = !0, m.offsetHeight, m.style.transition = i.props.moveTransition, R() && i.props.animation) {
1637
+ var ot = H(), Ge = ot.box, Oe = ot.content;
1638
+ ut([Ge, Oe], C), Bt([Ge, Oe], "visible");
1639
+ }
1640
+ G(), J(), Mt(ct, i), (ve = i.popperInstance) == null || ve.forceUpdate(), j("onMount", [i]), i.props.animation && R() && ie(C, function() {
1641
+ i.state.isShown = !0, j("onShown", [i]);
1642
+ });
1643
+ }
1644
+ }, oe();
1645
+ }
1646
+ }
1647
+ function ur() {
1648
+ var s = !i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, D = st(i.props.duration, 1, W.duration);
1649
+ if (!(s || v || y) && (j("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1650
+ if (i.state.isVisible = !1, i.state.isShown = !1, l = !1, p = !1, R() && (m.style.visibility = "hidden"), fe(), ne(), _(!0), R()) {
1651
+ var C = H(), $ = C.box, U = C.content;
1652
+ i.props.animation && (ut([$, U], D), Bt([$, U], "hidden"));
1653
+ }
1654
+ G(), J(), i.props.animation ? R() && ye(D, i.unmount) : i.unmount();
1655
+ }
1656
+ }
1657
+ function pr(s) {
1658
+ F().addEventListener("mousemove", O), Mt(Ze, O), O(s);
1659
+ }
1660
+ function cr() {
1661
+ i.state.isVisible && i.hide(), i.state.isMounted && (ze(), ue().forEach(function(s) {
1662
+ s._tippy.unmount();
1663
+ }), m.parentNode && m.parentNode.removeChild(m), ct = ct.filter(function(s) {
1664
+ return s !== i;
1665
+ }), i.state.isMounted = !1, j("onHidden", [i]));
1666
+ }
1667
+ function fr() {
1668
+ i.state.isDestroyed || (i.clearDelayTimeouts(), i.unmount(), Fe(), delete e._tippy, i.state.isDestroyed = !0, j("onDestroy", [i]));
1669
+ }
1670
+ }
1671
+ function De(e, t) {
1672
+ t === void 0 && (t = {});
1673
+ var r = W.plugins.concat(t.plugins || []);
1674
+ Wn();
1675
+ var n = Object.assign({}, t, {
1676
+ plugins: r
1677
+ }), o = $n(e), a = o.reduce(function(p, c) {
1678
+ var u = c && Zn(c, n);
1679
+ return u && p.push(u), p;
1680
+ }, []);
1681
+ return it(e) ? a[0] : a;
1682
+ }
1683
+ De.defaultProps = W;
1684
+ De.setDefaultProps = Kn;
1685
+ De.currentInput = Z;
1686
+ Object.assign({}, zt, {
1687
+ effect: function(t) {
1688
+ var r = t.state, n = {
1689
+ popper: {
1690
+ position: r.options.strategy,
1691
+ left: "0",
1692
+ top: "0",
1693
+ margin: "0"
1694
+ },
1695
+ arrow: {
1696
+ position: "absolute"
1697
+ },
1698
+ reference: {}
1699
+ };
1700
+ Object.assign(r.elements.popper.style, n.popper), r.styles = n, r.elements.arrow && Object.assign(r.elements.arrow.style, n.arrow);
1701
+ }
1702
+ });
1703
+ var ei = {
1704
+ mouseover: "mouseenter",
1705
+ focusin: "focus",
1706
+ click: "click"
1707
+ };
1708
+ function ai(e, t) {
1709
+ var r = [], n = [], o = !1, a = t.target, p = Rn(t, ["target"]), c = Object.assign({}, p, {
1710
+ trigger: "manual",
1711
+ touch: !1
1712
+ }), u = Object.assign({
1713
+ touch: W.touch
1714
+ }, p, {
1715
+ showOnCreate: !0
1716
+ }), l = De(e, c), f = me(l);
1717
+ function b(d) {
1718
+ if (!(!d.target || o)) {
1719
+ var g = d.target.closest(a);
1720
+ if (g) {
1721
+ var E = g.getAttribute("data-tippy-trigger") || t.trigger || W.trigger;
1722
+ if (!g._tippy && !(d.type === "touchstart" && typeof u.touch == "boolean") && !(d.type !== "touchstart" && E.indexOf(ei[d.type]) < 0)) {
1723
+ var T = De(g, u);
1724
+ T && (n = n.concat(T));
1725
+ }
1726
+ }
1727
+ }
1728
+ }
1729
+ function x(d, g, E, T) {
1730
+ T === void 0 && (T = !1), d.addEventListener(g, E, T), r.push({
1731
+ node: d,
1732
+ eventType: g,
1733
+ handler: E,
1734
+ options: T
1735
+ });
1736
+ }
1737
+ function h(d) {
1738
+ var g = d.reference;
1739
+ x(g, "touchstart", b, pe), x(g, "mouseover", b), x(g, "focusin", b), x(g, "click", b);
1740
+ }
1741
+ function O() {
1742
+ r.forEach(function(d) {
1743
+ var g = d.node, E = d.eventType, T = d.handler, i = d.options;
1744
+ g.removeEventListener(E, T, i);
1745
+ }), r = [];
1746
+ }
1747
+ function w(d) {
1748
+ var g = d.destroy, E = d.enable, T = d.disable;
1749
+ d.destroy = function(i) {
1750
+ i === void 0 && (i = !0), i && n.forEach(function(A) {
1751
+ A.destroy();
1752
+ }), n = [], O(), g();
1753
+ }, d.enable = function() {
1754
+ E(), n.forEach(function(i) {
1755
+ return i.enable();
1756
+ }), o = !1;
1757
+ }, d.disable = function() {
1758
+ T(), n.forEach(function(i) {
1759
+ return i.disable();
1760
+ }), o = !0;
1761
+ }, h(d);
1762
+ }
1763
+ return f.forEach(w), l;
1764
+ }
1765
+ var si = {
1766
+ name: "sticky",
1767
+ defaultValue: !1,
1768
+ fn: function(t) {
1769
+ var r = t.reference, n = t.popper;
1770
+ function o() {
1771
+ return t.popperInstance ? t.popperInstance.state.elements.reference : r;
1772
+ }
1773
+ function a(l) {
1774
+ return t.props.sticky === !0 || t.props.sticky === l;
1775
+ }
1776
+ var p = null, c = null;
1777
+ function u() {
1778
+ var l = a("reference") ? o().getBoundingClientRect() : null, f = a("popper") ? n.getBoundingClientRect() : null;
1779
+ (l && Ht(p, l) || f && Ht(c, f)) && t.popperInstance && t.popperInstance.update(), p = l, c = f, t.state.isMounted && requestAnimationFrame(u);
1780
+ }
1781
+ return {
1782
+ onMount: function() {
1783
+ t.props.sticky && u();
1784
+ }
1785
+ };
1786
+ }
1787
+ };
1788
+ function Ht(e, t) {
1789
+ return e && t ? e.top !== t.top || e.right !== t.right || e.bottom !== t.bottom || e.left !== t.left : !0;
1790
+ }
1791
+ De.setDefaultProps({
1792
+ render: ar
1793
+ });
1794
+ export {
1795
+ xr as F,
1796
+ ai as d,
1797
+ si as s,
1798
+ De as t
1799
+ };