@dialpad/dialtone-vue 3.96.1 → 3.96.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.
Files changed (145) hide show
  1. package/CHANGELOG.json +1 -1
  2. package/CHANGELOG.md +7 -0
  3. package/README.md +3 -3
  4. package/dist/component-documentation.json +1 -1
  5. package/dist/dialtone-vue.cjs +5 -5
  6. package/dist/dialtone-vue.js +2503 -2601
  7. package/dist/directives.cjs +1 -1
  8. package/dist/directives.js +1 -1
  9. package/dist/{emoji-zsImd-qD.js → emoji-64scMQZS.js} +6280 -7196
  10. package/dist/emoji-zMlz3b9J.cjs +1 -0
  11. package/dist/emoji.cjs +1 -1
  12. package/dist/emoji.js +33 -113
  13. package/dist/emoji_picker-MrGLDXUn.js +921 -0
  14. package/dist/emoji_picker-gkXbSV3i.cjs +1 -0
  15. package/dist/emoji_text_wrapper-5mWcPQ4m.cjs +1 -0
  16. package/dist/emoji_text_wrapper-GCssca4o.js +86 -0
  17. package/dist/message_input.cjs +92 -1
  18. package/dist/message_input.js +13903 -5
  19. package/dist/stack-_FIkvuMY.cjs +2 -0
  20. package/dist/stack-q9VLdD1J.js +2722 -0
  21. package/dist/style.css +1 -1
  22. package/dist/tooltip-H27s49LR.js +2476 -0
  23. package/dist/tooltip-gZ2LW6l0.cjs +21 -0
  24. package/dist/types/common/constants.d.ts +31 -31
  25. package/dist/types/common/mixins/input.d.ts +38 -38
  26. package/dist/types/common/mixins/input_group.d.ts +19 -19
  27. package/dist/types/common/mixins/sr_only_close_button.d.ts +6 -6
  28. package/dist/types/components/avatar/avatar.vue.d.ts +1 -1
  29. package/dist/types/components/avatar/avatar_constants.d.ts +20 -20
  30. package/dist/types/components/badge/badge.vue.d.ts +9 -2
  31. package/dist/types/components/badge/badge.vue.d.ts.map +1 -1
  32. package/dist/types/components/badge/badge_constants.d.ts +9 -9
  33. package/dist/types/components/button/button.vue.d.ts +1 -1
  34. package/dist/types/components/button/button_constants.d.ts +21 -21
  35. package/dist/types/components/button/index.d.ts +1 -0
  36. package/dist/types/components/checkbox/checkbox.vue.d.ts +6 -1
  37. package/dist/types/components/checkbox/checkbox.vue.d.ts.map +1 -1
  38. package/dist/types/components/checkbox/checkbox_constants.d.ts +3 -3
  39. package/dist/types/components/checkbox_group/checkbox_group.vue.d.ts +9 -2
  40. package/dist/types/components/checkbox_group/checkbox_group.vue.d.ts.map +1 -1
  41. package/dist/types/components/chip/chip_constants.d.ts +10 -9
  42. package/dist/types/components/chip/index.d.ts +1 -1
  43. package/dist/types/components/combobox/combobox.vue.d.ts +16 -8
  44. package/dist/types/components/combobox/combobox.vue.d.ts.map +1 -1
  45. package/dist/types/components/combobox/combobox_constants.d.ts +9 -5
  46. package/dist/types/components/combobox/index.d.ts +1 -0
  47. package/dist/types/components/datepicker/{DtDatepicker.vue.d.ts → datepicker.vue.d.ts} +2 -2
  48. package/dist/types/components/datepicker/datepicker.vue.d.ts.map +1 -0
  49. package/dist/types/components/datepicker/formatUtils.d.ts +8 -0
  50. package/dist/types/components/datepicker/index.d.ts +1 -1
  51. package/dist/types/components/datepicker/modules/calendar.vue.d.ts +4 -1
  52. package/dist/types/components/datepicker/modules/month-year-picker.vue.d.ts +7 -1
  53. package/dist/types/components/dropdown/dropdown.vue.d.ts +27 -1
  54. package/dist/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
  55. package/dist/types/components/dropdown/dropdown_constants.d.ts +7 -3
  56. package/dist/types/components/dropdown/index.d.ts +1 -0
  57. package/dist/types/components/emoji_picker/{DtEmojiPicker.vue.d.ts → emoji_picker.vue.d.ts} +2 -2
  58. package/dist/types/components/emoji_picker/emoji_picker.vue.d.ts.map +1 -0
  59. package/dist/types/components/emoji_picker/emoji_picker_constants.d.ts +22 -17
  60. package/dist/types/components/emoji_picker/index.d.ts +1 -1
  61. package/dist/types/components/emoji_picker/modules/emoji_description.vue.d.ts +1 -0
  62. package/dist/types/components/emoji_picker/modules/emoji_search.vue.d.ts +3 -1
  63. package/dist/types/components/emoji_picker/modules/emoji_search.vue.d.ts.map +1 -1
  64. package/dist/types/components/emoji_picker/modules/emoji_selector.vue.d.ts +1 -1
  65. package/dist/types/components/emoji_picker/modules/emoji_selector.vue.d.ts.map +1 -1
  66. package/dist/types/components/emoji_picker/modules/emoji_skin_selector.vue.d.ts +1 -1
  67. package/dist/types/components/emoji_picker/modules/emoji_skin_selector.vue.d.ts.map +1 -1
  68. package/dist/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts +1 -1
  69. package/dist/types/components/input/input.vue.d.ts +2 -2
  70. package/dist/types/components/input/input_constants.d.ts +13 -13
  71. package/dist/types/components/input_group/input_group.vue.d.ts +3 -1
  72. package/dist/types/components/input_group/input_group.vue.d.ts.map +1 -1
  73. package/dist/types/components/link/link_constants.d.ts +11 -6
  74. package/dist/types/components/list_item/index.d.ts +1 -0
  75. package/dist/types/components/list_item/list_item.vue.d.ts +1 -1
  76. package/dist/types/components/list_item/list_item_constants.d.ts +5 -5
  77. package/dist/types/components/modal/modal_constants.d.ts +9 -9
  78. package/dist/types/components/popover/index.d.ts +1 -1
  79. package/dist/types/components/popover/popover.vue.d.ts +1 -1
  80. package/dist/types/components/popover/popover_constants.d.ts +19 -8
  81. package/dist/types/components/presence/presence_constants.d.ts +4 -4
  82. package/dist/types/components/radio/index.d.ts +1 -0
  83. package/dist/types/components/radio/radio.vue.d.ts +3 -7
  84. package/dist/types/components/radio/radio.vue.d.ts.map +1 -1
  85. package/dist/types/components/radio/radio_constants.d.ts +3 -3
  86. package/dist/types/components/radio_group/radio_group.vue.d.ts +1 -3
  87. package/dist/types/components/radio_group/radio_group.vue.d.ts.map +1 -1
  88. package/dist/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +2 -2
  89. package/dist/types/components/rich_text_editor/extensions/link/utils.d.ts +5 -1
  90. package/dist/types/components/rich_text_editor/extensions/link/utils.d.ts.map +1 -1
  91. package/dist/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +2 -2
  92. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +1 -1
  93. package/dist/types/components/rich_text_editor/rich_text_editor_constants.d.ts +5 -0
  94. package/dist/types/components/root_layout/root_layout_constants.d.ts +2 -2
  95. package/dist/types/components/scroller/DtScroller.vue.d.ts +11 -1
  96. package/dist/types/components/scroller/DtScroller.vue.d.ts.map +1 -1
  97. package/dist/types/components/scroller/modules/core_scroller.vue.d.ts +13 -1
  98. package/dist/types/components/scroller/modules/core_scroller.vue.d.ts.map +1 -1
  99. package/dist/types/components/select_menu/select_menu.vue.d.ts +1 -1
  100. package/dist/types/components/select_menu/select_menu_constants.d.ts +8 -8
  101. package/dist/types/components/skeleton/skeleton_constants.d.ts +8 -8
  102. package/dist/types/components/stack/index.d.ts +1 -0
  103. package/dist/types/components/stack/stack_constants.d.ts +6 -0
  104. package/dist/types/components/tabs/tabs_constants.d.ts +4 -4
  105. package/dist/types/components/toast/toast.vue.d.ts +4 -1
  106. package/dist/types/components/toast/toast.vue.d.ts.map +1 -1
  107. package/dist/types/components/toggle/index.d.ts +1 -0
  108. package/dist/types/components/toggle/toggle_constants.d.ts +3 -2
  109. package/dist/types/components/tooltip/tooltip_constants.d.ts +4 -4
  110. package/dist/types/directives/tooltip/tooltip.d.ts +1 -1
  111. package/dist/types/index.d.ts +0 -3
  112. package/dist/types/message_input.d.ts +1 -0
  113. package/dist/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +22 -22
  114. package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +2 -2
  115. package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.d.ts +25 -0
  116. package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.d.ts.map +1 -0
  117. package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.d.ts +0 -18
  118. package/dist/types/recipes/comboboxes/combobox_multi_select/index.d.ts +1 -1
  119. package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -1
  120. package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
  121. package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +13 -2
  122. package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts.map +1 -1
  123. package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row_constants.d.ts +3 -3
  124. package/dist/types/recipes/conversation_view/feed_item_row/index.d.ts +1 -0
  125. package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill_constants.d.ts +3 -3
  126. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +1 -1
  127. package/dist/types/recipes/leftbar/callbox/callbox_constants.d.ts +4 -4
  128. package/dist/types/recipes/leftbar/general_row/general_row.vue.d.ts +1 -1
  129. package/dist/types/recipes/leftbar/general_row/general_row_constants.d.ts +12 -12
  130. package/dist/types/recipes/leftbar/general_row/leftbar_general_row_icon.vue.d.ts +1 -1
  131. package/dist/types/recipes/list_items/contact_info/contact_info.vue.d.ts +1 -1
  132. package/package.json +51 -51
  133. package/dist/emoji-5anz0QgY.cjs +0 -1
  134. package/dist/message_input-SgLogXZ3.cjs +0 -93
  135. package/dist/message_input-zOYCybPr.js +0 -16477
  136. package/dist/tooltip-3LC0ejIh.cjs +0 -25
  137. package/dist/tooltip-laZwfd56.js +0 -2574
  138. package/dist/types/components/datepicker/DtDatepicker.vue.d.ts.map +0 -1
  139. package/dist/types/components/emoji_picker/DtEmojiPicker.vue.d.ts.map +0 -1
  140. package/dist/types/components/list_section/index.d.ts +0 -2
  141. package/dist/types/components/list_section/index.d.ts.map +0 -1
  142. package/dist/types/components/list_section/list_section.vue.d.ts +0 -71
  143. package/dist/types/components/list_section/list_section.vue.d.ts.map +0 -1
  144. package/dist/types/components/tooltip/tooltip_variants.vue.d.ts +0 -7
  145. package/dist/types/components/tooltip/tooltip_variants.vue.d.ts.map +0 -1
@@ -0,0 +1,2476 @@
1
+ import { h as Hn, Comment as Wn, Text as Fn, openBlock as mt, createBlock as zn, Transition as qn, mergeProps as en, withCtx as tn, withDirectives as Yn, createElementVNode as Xn, normalizeProps as Kn, guardReactiveProps as Gn, renderSlot as gt, createCommentVNode as nn, vShow as Zn, resolveComponent as Qn, createElementBlock as It, withKeys as Jn, createVNode as er, toHandlers as tr, createTextVNode as nr, toDisplayString as rr } from "vue";
2
+ const he = {
3
+ ERROR: "error",
4
+ WARNING: "warning",
5
+ SUCCESS: "success"
6
+ }, Lo = {
7
+ LARGE: "lg",
8
+ EXTRA_LARGE: "xl"
9
+ }, Ro = {
10
+ xs: "",
11
+ sm: "",
12
+ md: "",
13
+ lg: "d-description--lg",
14
+ xl: "d-description--xl"
15
+ }, Po = {
16
+ xs: "d-label--xs",
17
+ sm: "d-label--sm",
18
+ md: "",
19
+ lg: "d-label--lg",
20
+ xl: "d-label--xl"
21
+ }, Io = {
22
+ esc: "Esc",
23
+ escape: "Escape",
24
+ tab: "Tab",
25
+ enter: "Enter",
26
+ space: "Space",
27
+ spacebar: "Spacebar",
28
+ up: "Up",
29
+ arrowup: "ArrowUp",
30
+ left: "Left",
31
+ arrowleft: "ArrowLeft",
32
+ right: "Right",
33
+ arrowright: "ArrowRight",
34
+ down: "Down",
35
+ arrowdown: "ArrowDown",
36
+ home: "Home",
37
+ end: "End"
38
+ }, ir = he.ERROR, or = "dt";
39
+ let ar = 0, Nt;
40
+ const sr = typeof setImmediate == "function" ? setImmediate : setTimeout;
41
+ function rn(e = or) {
42
+ return `${e}${ar++}`;
43
+ }
44
+ function ur(e, t) {
45
+ if (t) {
46
+ const n = cr(t);
47
+ return e[Math.abs(n) % e.length];
48
+ } else
49
+ return e[on(e.length)];
50
+ }
51
+ function cr(e) {
52
+ let t;
53
+ for (let n = 0; n < e.length; n++)
54
+ t = Math.imul(31, t) + e.charCodeAt(n) | 0;
55
+ return t;
56
+ }
57
+ function on(e) {
58
+ return Math.floor(Math.random() * e);
59
+ }
60
+ function lr(e) {
61
+ return e ? e.map((t) => typeof t == "string" ? {
62
+ message: t,
63
+ type: ir
64
+ } : t) : [];
65
+ }
66
+ function fr(e) {
67
+ const t = an(e);
68
+ return !e || !t ? [] : e.filter((n) => !!n.message && n.type === t);
69
+ }
70
+ function an(e) {
71
+ return e ? ot(e, he.ERROR) ? he.ERROR : ot(e, he.WARNING) ? he.WARNING : ot(e, he.SUCCESS) ? he.SUCCESS : null : null;
72
+ }
73
+ function ot(e, t) {
74
+ return !e || !t ? !1 : e.some((n) => (n == null ? void 0 : n.type) === t);
75
+ }
76
+ const pr = (e) => Hn("div", { innerHTML: e.html }), dr = () => new Promise((e) => {
77
+ sr(e);
78
+ });
79
+ function vr(e, t = {}) {
80
+ return e ? e(t).some((n) => n.type === Wn || Array.isArray(n.children) && !n.children.length ? !1 : n.type !== Fn || typeof n.children == "string" && n.children.trim() !== "") : !1;
81
+ }
82
+ const hr = (e) => e == null ? void 0 : e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), mr = (e) => {
83
+ const t = Object.entries(e).filter(([n]) => n.startsWith("on"));
84
+ return Object.fromEntries(t);
85
+ };
86
+ function gr(e, t = 300) {
87
+ clearTimeout(Nt), Nt = setTimeout(e, t);
88
+ }
89
+ function yr(e) {
90
+ const t = e.getBoundingClientRect(), n = {
91
+ top: t.top < 0,
92
+ left: t.left < 0,
93
+ bottom: t.bottom > (window.innerHeight || document.documentElement.clientHeight),
94
+ right: t.right > (window.innerWidth || document.documentElement.clientWidth)
95
+ };
96
+ return n.any = Object.values(n).some((r) => r), n.all = Object.values(n).every((r) => r), n;
97
+ }
98
+ const br = /(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/, wr = new RegExp(
99
+ "(?:com|ru|org|net|de|jp|uk|br|it|pl|fr|in|au|ir|info|nl|cn|es|cz|kr|ca|eu|ua|co|gr|za|ro|biz|ch|se|tw|mx|vn|hu|be|tr|at|dk|tv|me|ar|sk|no|us|fi|id|cl|xyz|io|pt|by|il|ie|nz|kz|hk|lt|cc|my|sg|club|bg|edu|рф|pk|su|top|th|hr|rs|pe|pro|si|az|lv|pw|ae|ph|online|ng|ee|ws|ve|cat)"
100
+ ), Er = new RegExp(
101
+ "(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])"
102
+ ), sn = new RegExp(
103
+ "(?:" + [
104
+ [
105
+ br.source,
106
+ wr.source
107
+ ].join("+"),
108
+ Er.source
109
+ ].join("|") + ")"
110
+ ), Or = /(?:(?:[;/][^#?<>\s]*)?)/, un = /(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/, cn = new RegExp(
111
+ "\\b" + [
112
+ sn.source,
113
+ Or.source,
114
+ un.source,
115
+ "(?!\\w)"
116
+ ].join("+")
117
+ ), ln = /\b[a-z\d.-]+:\/\/[^<>\s]+/, fn = new RegExp(
118
+ "(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@" + [
119
+ sn.source,
120
+ un.source
121
+ ].join("+") + "(?!\\w)"
122
+ );
123
+ function pn(e = 7, t = 15) {
124
+ let n = !0;
125
+ try {
126
+ RegExp("(?<=\\W)");
127
+ } catch {
128
+ n = !1;
129
+ }
130
+ return new RegExp(
131
+ `${n ? "(?:^|(?<=\\W))" : ""}(?![\\s\\-])\\+?(?:[0-9()\\- \\t]{${e},${t}})(?=\\b)(?=\\W(?=\\W|$)|\\s|$)`
132
+ );
133
+ }
134
+ const dn = pn(), xr = new RegExp(
135
+ [
136
+ cn.source,
137
+ ln.source,
138
+ fn.source,
139
+ dn.source
140
+ ].join("|"),
141
+ "gi"
142
+ );
143
+ function Ar(e) {
144
+ var t;
145
+ return !e || !["string", "number"].includes(typeof e) ? !1 : (e = e.toString(), ((t = dn.exec(e)) == null ? void 0 : t[0]) === e);
146
+ }
147
+ function Tr(e) {
148
+ var t, n;
149
+ return !e || typeof e != "string" ? !1 : ((t = cn.exec(e)) == null ? void 0 : t[0]) === e || ((n = ln.exec(e)) == null ? void 0 : n[0]) === e;
150
+ }
151
+ function Dr(e) {
152
+ var t;
153
+ return !e || typeof e != "string" ? !1 : ((t = fn.exec(e)) == null ? void 0 : t[0]) === e;
154
+ }
155
+ function Sr(e) {
156
+ return e.filter((t) => !!t).join(" ");
157
+ }
158
+ function Cr(e, t = "en-US") {
159
+ return e.replace(new RegExp("^\\p{CWU}", "u"), (n) => n.toLocaleUpperCase(t));
160
+ }
161
+ const No = {
162
+ getUniqueString: rn,
163
+ getRandomElement: ur,
164
+ getRandomInt: on,
165
+ formatMessages: lr,
166
+ filterFormattedMessages: fr,
167
+ hasFormattedMessageOfType: ot,
168
+ getValidationState: an,
169
+ htmlFragment: pr,
170
+ flushPromises: dr,
171
+ kebabCaseToPascalCase: hr,
172
+ extractVueListeners: mr,
173
+ debounce: gr,
174
+ isOutOfViewPort: yr,
175
+ getPhoneNumberRegex: pn,
176
+ linkRegex: xr,
177
+ isEmailAddress: Dr,
178
+ isPhoneNumber: Ar,
179
+ isURL: Tr,
180
+ safeConcatStrings: Sr,
181
+ capitalizeFirstLetter: Cr
182
+ }, vn = (e, t) => {
183
+ const n = e.__vccOpts || e;
184
+ for (const [r, o] of t)
185
+ n[r] = o;
186
+ return n;
187
+ }, Lr = {
188
+ name: "DtLazyShow",
189
+ inheritAttrs: !1,
190
+ /******************
191
+ * PROPS *
192
+ ******************/
193
+ props: {
194
+ /**
195
+ * Whether the child slot is shown.
196
+ * @values true, false
197
+ */
198
+ show: {
199
+ type: Boolean,
200
+ default: !1
201
+ },
202
+ /**
203
+ * A valid Vue enter/leave CSS transition name.
204
+ */
205
+ transition: {
206
+ type: String,
207
+ default: null
208
+ },
209
+ /**
210
+ * Enable/Disable transition animation
211
+ * @values true, false
212
+ */
213
+ appear: {
214
+ type: Boolean,
215
+ default: !1
216
+ }
217
+ },
218
+ /******************
219
+ * DATA *
220
+ ******************/
221
+ data() {
222
+ return {
223
+ initialized: !!this.show
224
+ };
225
+ },
226
+ computed: {
227
+ /**
228
+ * Set the css property to false when running tests only.
229
+ * Refer to: https://vuejs.org/guide/built-ins/transition.html#javascript-hooks for details about
230
+ * transition `css` property
231
+ * @returns {boolean}
232
+ */
233
+ isCSSEnabled() {
234
+ return process.env.NODE_ENV !== "test";
235
+ }
236
+ },
237
+ /******************
238
+ * WATCH *
239
+ ******************/
240
+ watch: {
241
+ show: function(e) {
242
+ !e || this.initialized || (this.initialized = !0);
243
+ }
244
+ }
245
+ };
246
+ function Rr(e, t, n, r, o, a) {
247
+ return mt(), zn(qn, en({
248
+ name: n.transition,
249
+ appear: n.appear
250
+ }, e.$attrs, { css: a.isCSSEnabled }), {
251
+ default: tn(() => [
252
+ Yn(Xn("div", Kn(Gn(e.$attrs)), [
253
+ o.initialized ? gt(e.$slots, "default", { key: 0 }) : nn("", !0)
254
+ ], 16), [
255
+ [Zn, n.show]
256
+ ])
257
+ ]),
258
+ _: 3
259
+ }, 16, ["name", "appear", "css"]);
260
+ }
261
+ const Pr = /* @__PURE__ */ vn(Lr, [["render", Rr]]);
262
+ var _ = "top", Y = "bottom", X = "right", $ = "left", xt = "auto", We = [_, Y, X, $], De = "start", _e = "end", Ir = "clippingParents", hn = "viewport", je = "popper", Nr = "reference", Mt = /* @__PURE__ */ We.reduce(function(e, t) {
263
+ return e.concat([t + "-" + De, t + "-" + _e]);
264
+ }, []), mn = /* @__PURE__ */ [].concat(We, [xt]).reduce(function(e, t) {
265
+ return e.concat([t, t + "-" + De, t + "-" + _e]);
266
+ }, []), Mr = "beforeRead", jr = "read", kr = "afterRead", Vr = "beforeMain", Br = "main", _r = "afterMain", $r = "beforeWrite", Ur = "write", Hr = "afterWrite", Wr = [Mr, jr, kr, Vr, Br, _r, $r, Ur, Hr];
267
+ function te(e) {
268
+ return e ? (e.nodeName || "").toLowerCase() : null;
269
+ }
270
+ function F(e) {
271
+ if (e == null)
272
+ return window;
273
+ if (e.toString() !== "[object Window]") {
274
+ var t = e.ownerDocument;
275
+ return t && t.defaultView || window;
276
+ }
277
+ return e;
278
+ }
279
+ function ye(e) {
280
+ var t = F(e).Element;
281
+ return e instanceof t || e instanceof Element;
282
+ }
283
+ function q(e) {
284
+ var t = F(e).HTMLElement;
285
+ return e instanceof t || e instanceof HTMLElement;
286
+ }
287
+ function At(e) {
288
+ if (typeof ShadowRoot > "u")
289
+ return !1;
290
+ var t = F(e).ShadowRoot;
291
+ return e instanceof t || e instanceof ShadowRoot;
292
+ }
293
+ function Fr(e) {
294
+ var t = e.state;
295
+ Object.keys(t.elements).forEach(function(n) {
296
+ var r = t.styles[n] || {}, o = t.attributes[n] || {}, a = t.elements[n];
297
+ !q(a) || !te(a) || (Object.assign(a.style, r), Object.keys(o).forEach(function(l) {
298
+ var u = o[l];
299
+ u === !1 ? a.removeAttribute(l) : a.setAttribute(l, u === !0 ? "" : u);
300
+ }));
301
+ });
302
+ }
303
+ function zr(e) {
304
+ var t = e.state, n = {
305
+ popper: {
306
+ position: t.options.strategy,
307
+ left: "0",
308
+ top: "0",
309
+ margin: "0"
310
+ },
311
+ arrow: {
312
+ position: "absolute"
313
+ },
314
+ reference: {}
315
+ };
316
+ return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
317
+ Object.keys(t.elements).forEach(function(r) {
318
+ var o = t.elements[r], a = t.attributes[r] || {}, l = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), u = l.reduce(function(c, p) {
319
+ return c[p] = "", c;
320
+ }, {});
321
+ !q(o) || !te(o) || (Object.assign(o.style, u), Object.keys(a).forEach(function(c) {
322
+ o.removeAttribute(c);
323
+ }));
324
+ });
325
+ };
326
+ }
327
+ const gn = {
328
+ name: "applyStyles",
329
+ enabled: !0,
330
+ phase: "write",
331
+ fn: Fr,
332
+ effect: zr,
333
+ requires: ["computeStyles"]
334
+ };
335
+ function ee(e) {
336
+ return e.split("-")[0];
337
+ }
338
+ var ge = Math.max, st = Math.min, Se = Math.round;
339
+ function yt() {
340
+ var e = navigator.userAgentData;
341
+ return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
342
+ return t.brand + "/" + t.version;
343
+ }).join(" ") : navigator.userAgent;
344
+ }
345
+ function yn() {
346
+ return !/^((?!chrome|android).)*safari/i.test(yt());
347
+ }
348
+ function Ce(e, t, n) {
349
+ t === void 0 && (t = !1), n === void 0 && (n = !1);
350
+ var r = e.getBoundingClientRect(), o = 1, a = 1;
351
+ t && q(e) && (o = e.offsetWidth > 0 && Se(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && Se(r.height) / e.offsetHeight || 1);
352
+ var l = ye(e) ? F(e) : window, u = l.visualViewport, c = !yn() && n, p = (r.left + (c && u ? u.offsetLeft : 0)) / o, f = (r.top + (c && u ? u.offsetTop : 0)) / a, b = r.width / o, O = r.height / a;
353
+ return {
354
+ width: b,
355
+ height: O,
356
+ top: f,
357
+ right: p + b,
358
+ bottom: f + O,
359
+ left: p,
360
+ x: p,
361
+ y: f
362
+ };
363
+ }
364
+ function Tt(e) {
365
+ var t = Ce(e), n = e.offsetWidth, r = e.offsetHeight;
366
+ return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
367
+ x: e.offsetLeft,
368
+ y: e.offsetTop,
369
+ width: n,
370
+ height: r
371
+ };
372
+ }
373
+ function bn(e, t) {
374
+ var n = t.getRootNode && t.getRootNode();
375
+ if (e.contains(t))
376
+ return !0;
377
+ if (n && At(n)) {
378
+ var r = t;
379
+ do {
380
+ if (r && e.isSameNode(r))
381
+ return !0;
382
+ r = r.parentNode || r.host;
383
+ } while (r);
384
+ }
385
+ return !1;
386
+ }
387
+ function se(e) {
388
+ return F(e).getComputedStyle(e);
389
+ }
390
+ function qr(e) {
391
+ return ["table", "td", "th"].indexOf(te(e)) >= 0;
392
+ }
393
+ function le(e) {
394
+ return ((ye(e) ? e.ownerDocument : (
395
+ // $FlowFixMe[prop-missing]
396
+ e.document
397
+ )) || window.document).documentElement;
398
+ }
399
+ function ct(e) {
400
+ return te(e) === "html" ? e : (
401
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
402
+ // $FlowFixMe[incompatible-return]
403
+ // $FlowFixMe[prop-missing]
404
+ e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
405
+ e.parentNode || // DOM Element detected
406
+ (At(e) ? e.host : null) || // ShadowRoot detected
407
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
408
+ le(e)
409
+ );
410
+ }
411
+ function jt(e) {
412
+ return !q(e) || // https://github.com/popperjs/popper-core/issues/837
413
+ se(e).position === "fixed" ? null : e.offsetParent;
414
+ }
415
+ function Yr(e) {
416
+ var t = /firefox/i.test(yt()), n = /Trident/i.test(yt());
417
+ if (n && q(e)) {
418
+ var r = se(e);
419
+ if (r.position === "fixed")
420
+ return null;
421
+ }
422
+ var o = ct(e);
423
+ for (At(o) && (o = o.host); q(o) && ["html", "body"].indexOf(te(o)) < 0; ) {
424
+ var a = se(o);
425
+ 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")
426
+ return o;
427
+ o = o.parentNode;
428
+ }
429
+ return null;
430
+ }
431
+ function Fe(e) {
432
+ for (var t = F(e), n = jt(e); n && qr(n) && se(n).position === "static"; )
433
+ n = jt(n);
434
+ return n && (te(n) === "html" || te(n) === "body" && se(n).position === "static") ? t : n || Yr(e) || t;
435
+ }
436
+ function Dt(e) {
437
+ return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
438
+ }
439
+ function ke(e, t, n) {
440
+ return ge(e, st(t, n));
441
+ }
442
+ function Xr(e, t, n) {
443
+ var r = ke(e, t, n);
444
+ return r > n ? n : r;
445
+ }
446
+ function wn() {
447
+ return {
448
+ top: 0,
449
+ right: 0,
450
+ bottom: 0,
451
+ left: 0
452
+ };
453
+ }
454
+ function En(e) {
455
+ return Object.assign({}, wn(), e);
456
+ }
457
+ function On(e, t) {
458
+ return t.reduce(function(n, r) {
459
+ return n[r] = e, n;
460
+ }, {});
461
+ }
462
+ var Kr = function(t, n) {
463
+ return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
464
+ placement: n.placement
465
+ })) : t, En(typeof t != "number" ? t : On(t, We));
466
+ };
467
+ function Gr(e) {
468
+ var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, l = n.modifiersData.popperOffsets, u = ee(n.placement), c = Dt(u), p = [$, X].indexOf(u) >= 0, f = p ? "height" : "width";
469
+ if (!(!a || !l)) {
470
+ var b = Kr(o.padding, n), O = Tt(a), m = c === "y" ? _ : $, w = c === "y" ? Y : X, g = n.rects.reference[f] + n.rects.reference[c] - l[c] - n.rects.popper[f], y = l[c] - n.rects.reference[c], A = Fe(a), D = A ? c === "y" ? A.clientHeight || 0 : A.clientWidth || 0 : 0, C = g / 2 - y / 2, i = b[m], x = D - O[f] - b[w], d = D / 2 - O[f] / 2 + C, S = ke(i, d, x), N = c;
471
+ n.modifiersData[r] = (t = {}, t[N] = S, t.centerOffset = S - d, t);
472
+ }
473
+ }
474
+ function Zr(e) {
475
+ var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
476
+ o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || bn(t.elements.popper, o) && (t.elements.arrow = o));
477
+ }
478
+ const Qr = {
479
+ name: "arrow",
480
+ enabled: !0,
481
+ phase: "main",
482
+ fn: Gr,
483
+ effect: Zr,
484
+ requires: ["popperOffsets"],
485
+ requiresIfExists: ["preventOverflow"]
486
+ };
487
+ function Le(e) {
488
+ return e.split("-")[1];
489
+ }
490
+ var Jr = {
491
+ top: "auto",
492
+ right: "auto",
493
+ bottom: "auto",
494
+ left: "auto"
495
+ };
496
+ function ei(e, t) {
497
+ var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
498
+ return {
499
+ x: Se(n * o) / o || 0,
500
+ y: Se(r * o) / o || 0
501
+ };
502
+ }
503
+ function kt(e) {
504
+ var t, n = e.popper, r = e.popperRect, o = e.placement, a = e.variation, l = e.offsets, u = e.position, c = e.gpuAcceleration, p = e.adaptive, f = e.roundOffsets, b = e.isFixed, O = l.x, m = O === void 0 ? 0 : O, w = l.y, g = w === void 0 ? 0 : w, y = typeof f == "function" ? f({
505
+ x: m,
506
+ y: g
507
+ }) : {
508
+ x: m,
509
+ y: g
510
+ };
511
+ m = y.x, g = y.y;
512
+ var A = l.hasOwnProperty("x"), D = l.hasOwnProperty("y"), C = $, i = _, x = window;
513
+ if (p) {
514
+ var d = Fe(n), S = "clientHeight", N = "clientWidth";
515
+ if (d === F(n) && (d = le(n), se(d).position !== "static" && u === "absolute" && (S = "scrollHeight", N = "scrollWidth")), d = d, o === _ || (o === $ || o === X) && a === _e) {
516
+ i = Y;
517
+ var I = b && d === x && x.visualViewport ? x.visualViewport.height : (
518
+ // $FlowFixMe[prop-missing]
519
+ d[S]
520
+ );
521
+ g -= I - r.height, g *= c ? 1 : -1;
522
+ }
523
+ if (o === $ || (o === _ || o === Y) && a === _e) {
524
+ C = X;
525
+ var R = b && d === x && x.visualViewport ? x.visualViewport.width : (
526
+ // $FlowFixMe[prop-missing]
527
+ d[N]
528
+ );
529
+ m -= R - r.width, m *= c ? 1 : -1;
530
+ }
531
+ }
532
+ var M = Object.assign({
533
+ position: u
534
+ }, p && Jr), P = f === !0 ? ei({
535
+ x: m,
536
+ y: g
537
+ }, F(n)) : {
538
+ x: m,
539
+ y: g
540
+ };
541
+ if (m = P.x, g = P.y, c) {
542
+ var L;
543
+ return Object.assign({}, M, (L = {}, L[i] = D ? "0" : "", L[C] = A ? "0" : "", L.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + g + "px)" : "translate3d(" + m + "px, " + g + "px, 0)", L));
544
+ }
545
+ return Object.assign({}, M, (t = {}, t[i] = D ? g + "px" : "", t[C] = A ? m + "px" : "", t.transform = "", t));
546
+ }
547
+ function ti(e) {
548
+ var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, a = n.adaptive, l = a === void 0 ? !0 : a, u = n.roundOffsets, c = u === void 0 ? !0 : u, p = {
549
+ placement: ee(t.placement),
550
+ variation: Le(t.placement),
551
+ popper: t.elements.popper,
552
+ popperRect: t.rects.popper,
553
+ gpuAcceleration: o,
554
+ isFixed: t.options.strategy === "fixed"
555
+ };
556
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, kt(Object.assign({}, p, {
557
+ offsets: t.modifiersData.popperOffsets,
558
+ position: t.options.strategy,
559
+ adaptive: l,
560
+ roundOffsets: c
561
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, kt(Object.assign({}, p, {
562
+ offsets: t.modifiersData.arrow,
563
+ position: "absolute",
564
+ adaptive: !1,
565
+ roundOffsets: c
566
+ })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
567
+ "data-popper-placement": t.placement
568
+ });
569
+ }
570
+ const ni = {
571
+ name: "computeStyles",
572
+ enabled: !0,
573
+ phase: "beforeWrite",
574
+ fn: ti,
575
+ data: {}
576
+ };
577
+ var rt = {
578
+ passive: !0
579
+ };
580
+ function ri(e) {
581
+ var t = e.state, n = e.instance, r = e.options, o = r.scroll, a = o === void 0 ? !0 : o, l = r.resize, u = l === void 0 ? !0 : l, c = F(t.elements.popper), p = [].concat(t.scrollParents.reference, t.scrollParents.popper);
582
+ return a && p.forEach(function(f) {
583
+ f.addEventListener("scroll", n.update, rt);
584
+ }), u && c.addEventListener("resize", n.update, rt), function() {
585
+ a && p.forEach(function(f) {
586
+ f.removeEventListener("scroll", n.update, rt);
587
+ }), u && c.removeEventListener("resize", n.update, rt);
588
+ };
589
+ }
590
+ const ii = {
591
+ name: "eventListeners",
592
+ enabled: !0,
593
+ phase: "write",
594
+ fn: function() {
595
+ },
596
+ effect: ri,
597
+ data: {}
598
+ };
599
+ var oi = {
600
+ left: "right",
601
+ right: "left",
602
+ bottom: "top",
603
+ top: "bottom"
604
+ };
605
+ function at(e) {
606
+ return e.replace(/left|right|bottom|top/g, function(t) {
607
+ return oi[t];
608
+ });
609
+ }
610
+ var ai = {
611
+ start: "end",
612
+ end: "start"
613
+ };
614
+ function Vt(e) {
615
+ return e.replace(/start|end/g, function(t) {
616
+ return ai[t];
617
+ });
618
+ }
619
+ function St(e) {
620
+ var t = F(e), n = t.pageXOffset, r = t.pageYOffset;
621
+ return {
622
+ scrollLeft: n,
623
+ scrollTop: r
624
+ };
625
+ }
626
+ function Ct(e) {
627
+ return Ce(le(e)).left + St(e).scrollLeft;
628
+ }
629
+ function si(e, t) {
630
+ var n = F(e), r = le(e), o = n.visualViewport, a = r.clientWidth, l = r.clientHeight, u = 0, c = 0;
631
+ if (o) {
632
+ a = o.width, l = o.height;
633
+ var p = yn();
634
+ (p || !p && t === "fixed") && (u = o.offsetLeft, c = o.offsetTop);
635
+ }
636
+ return {
637
+ width: a,
638
+ height: l,
639
+ x: u + Ct(e),
640
+ y: c
641
+ };
642
+ }
643
+ function ui(e) {
644
+ var t, n = le(e), r = St(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, a = ge(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), l = ge(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), u = -r.scrollLeft + Ct(e), c = -r.scrollTop;
645
+ return se(o || n).direction === "rtl" && (u += ge(n.clientWidth, o ? o.clientWidth : 0) - a), {
646
+ width: a,
647
+ height: l,
648
+ x: u,
649
+ y: c
650
+ };
651
+ }
652
+ function Lt(e) {
653
+ var t = se(e), n = t.overflow, r = t.overflowX, o = t.overflowY;
654
+ return /auto|scroll|overlay|hidden/.test(n + o + r);
655
+ }
656
+ function xn(e) {
657
+ return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : q(e) && Lt(e) ? e : xn(ct(e));
658
+ }
659
+ function Ve(e, t) {
660
+ var n;
661
+ t === void 0 && (t = []);
662
+ var r = xn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = F(r), l = o ? [a].concat(a.visualViewport || [], Lt(r) ? r : []) : r, u = t.concat(l);
663
+ return o ? u : (
664
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
665
+ u.concat(Ve(ct(l)))
666
+ );
667
+ }
668
+ function bt(e) {
669
+ return Object.assign({}, e, {
670
+ left: e.x,
671
+ top: e.y,
672
+ right: e.x + e.width,
673
+ bottom: e.y + e.height
674
+ });
675
+ }
676
+ function ci(e, t) {
677
+ var n = Ce(e, !1, t === "fixed");
678
+ return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
679
+ }
680
+ function Bt(e, t, n) {
681
+ return t === hn ? bt(si(e, n)) : ye(t) ? ci(t, n) : bt(ui(le(e)));
682
+ }
683
+ function li(e) {
684
+ var t = Ve(ct(e)), n = ["absolute", "fixed"].indexOf(se(e).position) >= 0, r = n && q(e) ? Fe(e) : e;
685
+ return ye(r) ? t.filter(function(o) {
686
+ return ye(o) && bn(o, r) && te(o) !== "body";
687
+ }) : [];
688
+ }
689
+ function fi(e, t, n, r) {
690
+ var o = t === "clippingParents" ? li(e) : [].concat(t), a = [].concat(o, [n]), l = a[0], u = a.reduce(function(c, p) {
691
+ var f = Bt(e, p, r);
692
+ return c.top = ge(f.top, c.top), c.right = st(f.right, c.right), c.bottom = st(f.bottom, c.bottom), c.left = ge(f.left, c.left), c;
693
+ }, Bt(e, l, r));
694
+ return u.width = u.right - u.left, u.height = u.bottom - u.top, u.x = u.left, u.y = u.top, u;
695
+ }
696
+ function An(e) {
697
+ var t = e.reference, n = e.element, r = e.placement, o = r ? ee(r) : null, a = r ? Le(r) : null, l = t.x + t.width / 2 - n.width / 2, u = t.y + t.height / 2 - n.height / 2, c;
698
+ switch (o) {
699
+ case _:
700
+ c = {
701
+ x: l,
702
+ y: t.y - n.height
703
+ };
704
+ break;
705
+ case Y:
706
+ c = {
707
+ x: l,
708
+ y: t.y + t.height
709
+ };
710
+ break;
711
+ case X:
712
+ c = {
713
+ x: t.x + t.width,
714
+ y: u
715
+ };
716
+ break;
717
+ case $:
718
+ c = {
719
+ x: t.x - n.width,
720
+ y: u
721
+ };
722
+ break;
723
+ default:
724
+ c = {
725
+ x: t.x,
726
+ y: t.y
727
+ };
728
+ }
729
+ var p = o ? Dt(o) : null;
730
+ if (p != null) {
731
+ var f = p === "y" ? "height" : "width";
732
+ switch (a) {
733
+ case De:
734
+ c[p] = c[p] - (t[f] / 2 - n[f] / 2);
735
+ break;
736
+ case _e:
737
+ c[p] = c[p] + (t[f] / 2 - n[f] / 2);
738
+ break;
739
+ }
740
+ }
741
+ return c;
742
+ }
743
+ function $e(e, t) {
744
+ t === void 0 && (t = {});
745
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, l = a === void 0 ? e.strategy : a, u = n.boundary, c = u === void 0 ? Ir : u, p = n.rootBoundary, f = p === void 0 ? hn : p, b = n.elementContext, O = b === void 0 ? je : b, m = n.altBoundary, w = m === void 0 ? !1 : m, g = n.padding, y = g === void 0 ? 0 : g, A = En(typeof y != "number" ? y : On(y, We)), D = O === je ? Nr : je, C = e.rects.popper, i = e.elements[w ? D : O], x = fi(ye(i) ? i : i.contextElement || le(e.elements.popper), c, f, l), d = Ce(e.elements.reference), S = An({
746
+ reference: d,
747
+ element: C,
748
+ strategy: "absolute",
749
+ placement: o
750
+ }), N = bt(Object.assign({}, C, S)), I = O === je ? N : d, R = {
751
+ top: x.top - I.top + A.top,
752
+ bottom: I.bottom - x.bottom + A.bottom,
753
+ left: x.left - I.left + A.left,
754
+ right: I.right - x.right + A.right
755
+ }, M = e.modifiersData.offset;
756
+ if (O === je && M) {
757
+ var P = M[o];
758
+ Object.keys(R).forEach(function(L) {
759
+ var U = [X, Y].indexOf(L) >= 0 ? 1 : -1, H = [_, Y].indexOf(L) >= 0 ? "y" : "x";
760
+ R[L] += P[H] * U;
761
+ });
762
+ }
763
+ return R;
764
+ }
765
+ function pi(e, t) {
766
+ t === void 0 && (t = {});
767
+ var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, l = n.padding, u = n.flipVariations, c = n.allowedAutoPlacements, p = c === void 0 ? mn : c, f = Le(r), b = f ? u ? Mt : Mt.filter(function(w) {
768
+ return Le(w) === f;
769
+ }) : We, O = b.filter(function(w) {
770
+ return p.indexOf(w) >= 0;
771
+ });
772
+ O.length === 0 && (O = b);
773
+ var m = O.reduce(function(w, g) {
774
+ return w[g] = $e(e, {
775
+ placement: g,
776
+ boundary: o,
777
+ rootBoundary: a,
778
+ padding: l
779
+ })[ee(g)], w;
780
+ }, {});
781
+ return Object.keys(m).sort(function(w, g) {
782
+ return m[w] - m[g];
783
+ });
784
+ }
785
+ function di(e) {
786
+ if (ee(e) === xt)
787
+ return [];
788
+ var t = at(e);
789
+ return [Vt(e), t, Vt(t)];
790
+ }
791
+ function vi(e) {
792
+ var t = e.state, n = e.options, r = e.name;
793
+ if (!t.modifiersData[r]._skip) {
794
+ for (var o = n.mainAxis, a = o === void 0 ? !0 : o, l = n.altAxis, u = l === void 0 ? !0 : l, c = n.fallbackPlacements, p = n.padding, f = n.boundary, b = n.rootBoundary, O = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, g = n.allowedAutoPlacements, y = t.options.placement, A = ee(y), D = A === y, C = c || (D || !w ? [at(y)] : di(y)), i = [y].concat(C).reduce(function(ne, K) {
795
+ return ne.concat(ee(K) === xt ? pi(t, {
796
+ placement: K,
797
+ boundary: f,
798
+ rootBoundary: b,
799
+ padding: p,
800
+ flipVariations: w,
801
+ allowedAutoPlacements: g
802
+ }) : K);
803
+ }, []), x = t.rects.reference, d = t.rects.popper, S = /* @__PURE__ */ new Map(), N = !0, I = i[0], R = 0; R < i.length; R++) {
804
+ var M = i[R], P = ee(M), L = Le(M) === De, U = [_, Y].indexOf(P) >= 0, H = U ? "width" : "height", k = $e(t, {
805
+ placement: M,
806
+ boundary: f,
807
+ rootBoundary: b,
808
+ altBoundary: O,
809
+ padding: p
810
+ }), V = U ? L ? X : $ : L ? Y : _;
811
+ x[H] > d[H] && (V = at(V));
812
+ var j = at(V), G = [];
813
+ if (a && G.push(k[P] <= 0), u && G.push(k[V] <= 0, k[j] <= 0), G.every(function(ne) {
814
+ return ne;
815
+ })) {
816
+ I = M, N = !1;
817
+ break;
818
+ }
819
+ S.set(M, G);
820
+ }
821
+ if (N)
822
+ for (var Z = w ? 3 : 1, fe = function(K) {
823
+ var re = i.find(function(be) {
824
+ var ie = S.get(be);
825
+ if (ie)
826
+ return ie.slice(0, K).every(function(we) {
827
+ return we;
828
+ });
829
+ });
830
+ if (re)
831
+ return I = re, "break";
832
+ }, Q = Z; Q > 0; Q--) {
833
+ var pe = fe(Q);
834
+ if (pe === "break")
835
+ break;
836
+ }
837
+ t.placement !== I && (t.modifiersData[r]._skip = !0, t.placement = I, t.reset = !0);
838
+ }
839
+ }
840
+ const hi = {
841
+ name: "flip",
842
+ enabled: !0,
843
+ phase: "main",
844
+ fn: vi,
845
+ requiresIfExists: ["offset"],
846
+ data: {
847
+ _skip: !1
848
+ }
849
+ };
850
+ function _t(e, t, n) {
851
+ return n === void 0 && (n = {
852
+ x: 0,
853
+ y: 0
854
+ }), {
855
+ top: e.top - t.height - n.y,
856
+ right: e.right - t.width + n.x,
857
+ bottom: e.bottom - t.height + n.y,
858
+ left: e.left - t.width - n.x
859
+ };
860
+ }
861
+ function $t(e) {
862
+ return [_, X, Y, $].some(function(t) {
863
+ return e[t] >= 0;
864
+ });
865
+ }
866
+ function mi(e) {
867
+ var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, l = $e(t, {
868
+ elementContext: "reference"
869
+ }), u = $e(t, {
870
+ altBoundary: !0
871
+ }), c = _t(l, r), p = _t(u, o, a), f = $t(c), b = $t(p);
872
+ t.modifiersData[n] = {
873
+ referenceClippingOffsets: c,
874
+ popperEscapeOffsets: p,
875
+ isReferenceHidden: f,
876
+ hasPopperEscaped: b
877
+ }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
878
+ "data-popper-reference-hidden": f,
879
+ "data-popper-escaped": b
880
+ });
881
+ }
882
+ const gi = {
883
+ name: "hide",
884
+ enabled: !0,
885
+ phase: "main",
886
+ requiresIfExists: ["preventOverflow"],
887
+ fn: mi
888
+ };
889
+ function yi(e, t, n) {
890
+ var r = ee(e), o = [$, _].indexOf(r) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, {
891
+ placement: e
892
+ })) : n, l = a[0], u = a[1];
893
+ return l = l || 0, u = (u || 0) * o, [$, X].indexOf(r) >= 0 ? {
894
+ x: u,
895
+ y: l
896
+ } : {
897
+ x: l,
898
+ y: u
899
+ };
900
+ }
901
+ function bi(e) {
902
+ var t = e.state, n = e.options, r = e.name, o = n.offset, a = o === void 0 ? [0, 0] : o, l = mn.reduce(function(f, b) {
903
+ return f[b] = yi(b, t.rects, a), f;
904
+ }, {}), u = l[t.placement], c = u.x, p = u.y;
905
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += p), t.modifiersData[r] = l;
906
+ }
907
+ const wi = {
908
+ name: "offset",
909
+ enabled: !0,
910
+ phase: "main",
911
+ requires: ["popperOffsets"],
912
+ fn: bi
913
+ };
914
+ function Ei(e) {
915
+ var t = e.state, n = e.name;
916
+ t.modifiersData[n] = An({
917
+ reference: t.rects.reference,
918
+ element: t.rects.popper,
919
+ strategy: "absolute",
920
+ placement: t.placement
921
+ });
922
+ }
923
+ const Oi = {
924
+ name: "popperOffsets",
925
+ enabled: !0,
926
+ phase: "read",
927
+ fn: Ei,
928
+ data: {}
929
+ };
930
+ function xi(e) {
931
+ return e === "x" ? "y" : "x";
932
+ }
933
+ function Ai(e) {
934
+ var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, l = n.altAxis, u = l === void 0 ? !1 : l, c = n.boundary, p = n.rootBoundary, f = n.altBoundary, b = n.padding, O = n.tether, m = O === void 0 ? !0 : O, w = n.tetherOffset, g = w === void 0 ? 0 : w, y = $e(t, {
935
+ boundary: c,
936
+ rootBoundary: p,
937
+ padding: b,
938
+ altBoundary: f
939
+ }), A = ee(t.placement), D = Le(t.placement), C = !D, i = Dt(A), x = xi(i), d = t.modifiersData.popperOffsets, S = t.rects.reference, N = t.rects.popper, I = typeof g == "function" ? g(Object.assign({}, t.rects, {
940
+ placement: t.placement
941
+ })) : g, R = typeof I == "number" ? {
942
+ mainAxis: I,
943
+ altAxis: I
944
+ } : Object.assign({
945
+ mainAxis: 0,
946
+ altAxis: 0
947
+ }, I), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, P = {
948
+ x: 0,
949
+ y: 0
950
+ };
951
+ if (d) {
952
+ if (a) {
953
+ var L, U = i === "y" ? _ : $, H = i === "y" ? Y : X, k = i === "y" ? "height" : "width", V = d[i], j = V + y[U], G = V - y[H], Z = m ? -N[k] / 2 : 0, fe = D === De ? S[k] : N[k], Q = D === De ? -N[k] : -S[k], pe = t.elements.arrow, ne = m && pe ? Tt(pe) : {
954
+ width: 0,
955
+ height: 0
956
+ }, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wn(), re = K[U], be = K[H], ie = ke(0, S[k], ne[k]), we = C ? S[k] / 2 - Z - ie - re - R.mainAxis : fe - ie - re - R.mainAxis, ue = C ? -S[k] / 2 + Z + ie + be + R.mainAxis : Q + ie + be + R.mainAxis, Ee = t.elements.arrow && Fe(t.elements.arrow), qe = Ee ? i === "y" ? Ee.clientTop || 0 : Ee.clientLeft || 0 : 0, Re = (L = M == null ? void 0 : M[i]) != null ? L : 0, Ye = V + we - Re - qe, Xe = V + ue - Re, Pe = ke(m ? st(j, Ye) : j, V, m ? ge(G, Xe) : G);
957
+ d[i] = Pe, P[i] = Pe - V;
958
+ }
959
+ if (u) {
960
+ var Ie, Ke = i === "x" ? _ : $, Ge = i === "x" ? Y : X, oe = d[x], ce = x === "y" ? "height" : "width", Ne = oe + y[Ke], de = oe - y[Ge], Me = [_, $].indexOf(A) !== -1, Ze = (Ie = M == null ? void 0 : M[x]) != null ? Ie : 0, Qe = Me ? Ne : oe - S[ce] - N[ce] - Ze + R.altAxis, Je = Me ? oe + S[ce] + N[ce] - Ze - R.altAxis : de, et = m && Me ? Xr(Qe, oe, Je) : ke(m ? Qe : Ne, oe, m ? Je : de);
961
+ d[x] = et, P[x] = et - oe;
962
+ }
963
+ t.modifiersData[r] = P;
964
+ }
965
+ }
966
+ const Ti = {
967
+ name: "preventOverflow",
968
+ enabled: !0,
969
+ phase: "main",
970
+ fn: Ai,
971
+ requiresIfExists: ["offset"]
972
+ };
973
+ function Di(e) {
974
+ return {
975
+ scrollLeft: e.scrollLeft,
976
+ scrollTop: e.scrollTop
977
+ };
978
+ }
979
+ function Si(e) {
980
+ return e === F(e) || !q(e) ? St(e) : Di(e);
981
+ }
982
+ function Ci(e) {
983
+ var t = e.getBoundingClientRect(), n = Se(t.width) / e.offsetWidth || 1, r = Se(t.height) / e.offsetHeight || 1;
984
+ return n !== 1 || r !== 1;
985
+ }
986
+ function Li(e, t, n) {
987
+ n === void 0 && (n = !1);
988
+ var r = q(t), o = q(t) && Ci(t), a = le(t), l = Ce(e, o, n), u = {
989
+ scrollLeft: 0,
990
+ scrollTop: 0
991
+ }, c = {
992
+ x: 0,
993
+ y: 0
994
+ };
995
+ return (r || !r && !n) && ((te(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
996
+ Lt(a)) && (u = Si(t)), q(t) ? (c = Ce(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : a && (c.x = Ct(a))), {
997
+ x: l.left + u.scrollLeft - c.x,
998
+ y: l.top + u.scrollTop - c.y,
999
+ width: l.width,
1000
+ height: l.height
1001
+ };
1002
+ }
1003
+ function Ri(e) {
1004
+ var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
1005
+ e.forEach(function(a) {
1006
+ t.set(a.name, a);
1007
+ });
1008
+ function o(a) {
1009
+ n.add(a.name);
1010
+ var l = [].concat(a.requires || [], a.requiresIfExists || []);
1011
+ l.forEach(function(u) {
1012
+ if (!n.has(u)) {
1013
+ var c = t.get(u);
1014
+ c && o(c);
1015
+ }
1016
+ }), r.push(a);
1017
+ }
1018
+ return e.forEach(function(a) {
1019
+ n.has(a.name) || o(a);
1020
+ }), r;
1021
+ }
1022
+ function Pi(e) {
1023
+ var t = Ri(e);
1024
+ return Wr.reduce(function(n, r) {
1025
+ return n.concat(t.filter(function(o) {
1026
+ return o.phase === r;
1027
+ }));
1028
+ }, []);
1029
+ }
1030
+ function Ii(e) {
1031
+ var t;
1032
+ return function() {
1033
+ return t || (t = new Promise(function(n) {
1034
+ Promise.resolve().then(function() {
1035
+ t = void 0, n(e());
1036
+ });
1037
+ })), t;
1038
+ };
1039
+ }
1040
+ function Ni(e) {
1041
+ var t = e.reduce(function(n, r) {
1042
+ var o = n[r.name];
1043
+ return n[r.name] = o ? Object.assign({}, o, r, {
1044
+ options: Object.assign({}, o.options, r.options),
1045
+ data: Object.assign({}, o.data, r.data)
1046
+ }) : r, n;
1047
+ }, {});
1048
+ return Object.keys(t).map(function(n) {
1049
+ return t[n];
1050
+ });
1051
+ }
1052
+ var Ut = {
1053
+ placement: "bottom",
1054
+ modifiers: [],
1055
+ strategy: "absolute"
1056
+ };
1057
+ function Ht() {
1058
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
1059
+ t[n] = arguments[n];
1060
+ return !t.some(function(r) {
1061
+ return !(r && typeof r.getBoundingClientRect == "function");
1062
+ });
1063
+ }
1064
+ function Mi(e) {
1065
+ e === void 0 && (e = {});
1066
+ var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, a = o === void 0 ? Ut : o;
1067
+ return function(u, c, p) {
1068
+ p === void 0 && (p = a);
1069
+ var f = {
1070
+ placement: "bottom",
1071
+ orderedModifiers: [],
1072
+ options: Object.assign({}, Ut, a),
1073
+ modifiersData: {},
1074
+ elements: {
1075
+ reference: u,
1076
+ popper: c
1077
+ },
1078
+ attributes: {},
1079
+ styles: {}
1080
+ }, b = [], O = !1, m = {
1081
+ state: f,
1082
+ setOptions: function(A) {
1083
+ var D = typeof A == "function" ? A(f.options) : A;
1084
+ g(), f.options = Object.assign({}, a, f.options, D), f.scrollParents = {
1085
+ reference: ye(u) ? Ve(u) : u.contextElement ? Ve(u.contextElement) : [],
1086
+ popper: Ve(c)
1087
+ };
1088
+ var C = Pi(Ni([].concat(r, f.options.modifiers)));
1089
+ return f.orderedModifiers = C.filter(function(i) {
1090
+ return i.enabled;
1091
+ }), w(), m.update();
1092
+ },
1093
+ // Sync update – it will always be executed, even if not necessary. This
1094
+ // is useful for low frequency updates where sync behavior simplifies the
1095
+ // logic.
1096
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
1097
+ // prefer the async Popper#update method
1098
+ forceUpdate: function() {
1099
+ if (!O) {
1100
+ var A = f.elements, D = A.reference, C = A.popper;
1101
+ if (Ht(D, C)) {
1102
+ f.rects = {
1103
+ reference: Li(D, Fe(C), f.options.strategy === "fixed"),
1104
+ popper: Tt(C)
1105
+ }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(R) {
1106
+ return f.modifiersData[R.name] = Object.assign({}, R.data);
1107
+ });
1108
+ for (var i = 0; i < f.orderedModifiers.length; i++) {
1109
+ if (f.reset === !0) {
1110
+ f.reset = !1, i = -1;
1111
+ continue;
1112
+ }
1113
+ var x = f.orderedModifiers[i], d = x.fn, S = x.options, N = S === void 0 ? {} : S, I = x.name;
1114
+ typeof d == "function" && (f = d({
1115
+ state: f,
1116
+ options: N,
1117
+ name: I,
1118
+ instance: m
1119
+ }) || f);
1120
+ }
1121
+ }
1122
+ }
1123
+ },
1124
+ // Async and optimistically optimized update – it will not be executed if
1125
+ // not necessary (debounced to run at most once-per-tick)
1126
+ update: Ii(function() {
1127
+ return new Promise(function(y) {
1128
+ m.forceUpdate(), y(f);
1129
+ });
1130
+ }),
1131
+ destroy: function() {
1132
+ g(), O = !0;
1133
+ }
1134
+ };
1135
+ if (!Ht(u, c))
1136
+ return m;
1137
+ m.setOptions(p).then(function(y) {
1138
+ !O && p.onFirstUpdate && p.onFirstUpdate(y);
1139
+ });
1140
+ function w() {
1141
+ f.orderedModifiers.forEach(function(y) {
1142
+ var A = y.name, D = y.options, C = D === void 0 ? {} : D, i = y.effect;
1143
+ if (typeof i == "function") {
1144
+ var x = i({
1145
+ state: f,
1146
+ name: A,
1147
+ instance: m,
1148
+ options: C
1149
+ }), d = function() {
1150
+ };
1151
+ b.push(x || d);
1152
+ }
1153
+ });
1154
+ }
1155
+ function g() {
1156
+ b.forEach(function(y) {
1157
+ return y();
1158
+ }), b = [];
1159
+ }
1160
+ return m;
1161
+ };
1162
+ }
1163
+ var ji = [ii, Oi, ni, gn, wi, hi, Ti, Qr, gi], ki = /* @__PURE__ */ Mi({
1164
+ defaultModifiers: ji
1165
+ }), Vi = "tippy-box", Tn = "tippy-content", Bi = "tippy-backdrop", Dn = "tippy-arrow", Sn = "tippy-svg-arrow", me = {
1166
+ passive: !0,
1167
+ capture: !0
1168
+ }, Cn = function() {
1169
+ return document.body;
1170
+ };
1171
+ function _i(e, t) {
1172
+ return {}.hasOwnProperty.call(e, t);
1173
+ }
1174
+ function pt(e, t, n) {
1175
+ if (Array.isArray(e)) {
1176
+ var r = e[t];
1177
+ return r ?? (Array.isArray(n) ? n[t] : n);
1178
+ }
1179
+ return e;
1180
+ }
1181
+ function Rt(e, t) {
1182
+ var n = {}.toString.call(e);
1183
+ return n.indexOf("[object") === 0 && n.indexOf(t + "]") > -1;
1184
+ }
1185
+ function Ln(e, t) {
1186
+ return typeof e == "function" ? e.apply(void 0, t) : e;
1187
+ }
1188
+ function Wt(e, t) {
1189
+ if (t === 0)
1190
+ return e;
1191
+ var n;
1192
+ return function(r) {
1193
+ clearTimeout(n), n = setTimeout(function() {
1194
+ e(r);
1195
+ }, t);
1196
+ };
1197
+ }
1198
+ function $i(e, t) {
1199
+ var n = Object.assign({}, e);
1200
+ return t.forEach(function(r) {
1201
+ delete n[r];
1202
+ }), n;
1203
+ }
1204
+ function Ui(e) {
1205
+ return e.split(/\s+/).filter(Boolean);
1206
+ }
1207
+ function Te(e) {
1208
+ return [].concat(e);
1209
+ }
1210
+ function Ft(e, t) {
1211
+ e.indexOf(t) === -1 && e.push(t);
1212
+ }
1213
+ function Hi(e) {
1214
+ return e.filter(function(t, n) {
1215
+ return e.indexOf(t) === n;
1216
+ });
1217
+ }
1218
+ function Wi(e) {
1219
+ return e.split("-")[0];
1220
+ }
1221
+ function ut(e) {
1222
+ return [].slice.call(e);
1223
+ }
1224
+ function zt(e) {
1225
+ return Object.keys(e).reduce(function(t, n) {
1226
+ return e[n] !== void 0 && (t[n] = e[n]), t;
1227
+ }, {});
1228
+ }
1229
+ function Be() {
1230
+ return document.createElement("div");
1231
+ }
1232
+ function Ue(e) {
1233
+ return ["Element", "Fragment"].some(function(t) {
1234
+ return Rt(e, t);
1235
+ });
1236
+ }
1237
+ function Fi(e) {
1238
+ return Rt(e, "NodeList");
1239
+ }
1240
+ function zi(e) {
1241
+ return Rt(e, "MouseEvent");
1242
+ }
1243
+ function qi(e) {
1244
+ return !!(e && e._tippy && e._tippy.reference === e);
1245
+ }
1246
+ function Yi(e) {
1247
+ return Ue(e) ? [e] : Fi(e) ? ut(e) : Array.isArray(e) ? e : ut(document.querySelectorAll(e));
1248
+ }
1249
+ function dt(e, t) {
1250
+ e.forEach(function(n) {
1251
+ n && (n.style.transitionDuration = t + "ms");
1252
+ });
1253
+ }
1254
+ function qt(e, t) {
1255
+ e.forEach(function(n) {
1256
+ n && n.setAttribute("data-state", t);
1257
+ });
1258
+ }
1259
+ function Xi(e) {
1260
+ var t, n = Te(e), r = n[0];
1261
+ return r != null && (t = r.ownerDocument) != null && t.body ? r.ownerDocument : document;
1262
+ }
1263
+ function Ki(e, t) {
1264
+ var n = t.clientX, r = t.clientY;
1265
+ return e.every(function(o) {
1266
+ var a = o.popperRect, l = o.popperState, u = o.props, c = u.interactiveBorder, p = Wi(l.placement), f = l.modifiersData.offset;
1267
+ if (!f)
1268
+ return !0;
1269
+ var b = p === "bottom" ? f.top.y : 0, O = p === "top" ? f.bottom.y : 0, m = p === "right" ? f.left.x : 0, w = p === "left" ? f.right.x : 0, g = a.top - r + b > c, y = r - a.bottom - O > c, A = a.left - n + m > c, D = n - a.right - w > c;
1270
+ return g || y || A || D;
1271
+ });
1272
+ }
1273
+ function vt(e, t, n) {
1274
+ var r = t + "EventListener";
1275
+ ["transitionend", "webkitTransitionEnd"].forEach(function(o) {
1276
+ e[r](o, n);
1277
+ });
1278
+ }
1279
+ function Yt(e, t) {
1280
+ for (var n = t; n; ) {
1281
+ var r;
1282
+ if (e.contains(n))
1283
+ return !0;
1284
+ n = n.getRootNode == null || (r = n.getRootNode()) == null ? void 0 : r.host;
1285
+ }
1286
+ return !1;
1287
+ }
1288
+ var J = {
1289
+ isTouch: !1
1290
+ }, Xt = 0;
1291
+ function Gi() {
1292
+ J.isTouch || (J.isTouch = !0, window.performance && document.addEventListener("mousemove", Rn));
1293
+ }
1294
+ function Rn() {
1295
+ var e = performance.now();
1296
+ e - Xt < 20 && (J.isTouch = !1, document.removeEventListener("mousemove", Rn)), Xt = e;
1297
+ }
1298
+ function Zi() {
1299
+ var e = document.activeElement;
1300
+ if (qi(e)) {
1301
+ var t = e._tippy;
1302
+ e.blur && !t.state.isVisible && e.blur();
1303
+ }
1304
+ }
1305
+ function Qi() {
1306
+ document.addEventListener("touchstart", Gi, me), window.addEventListener("blur", Zi);
1307
+ }
1308
+ var Ji = typeof window < "u" && typeof document < "u", eo = Ji ? (
1309
+ // @ts-ignore
1310
+ !!window.msCrypto
1311
+ ) : !1;
1312
+ function Ae(e) {
1313
+ var t = e === "destroy" ? "n already-" : " ";
1314
+ return [e + "() was called on a" + t + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
1315
+ }
1316
+ function Kt(e) {
1317
+ var t = /[ \t]{2,}/g, n = /^[ \t]*/gm;
1318
+ return e.replace(t, " ").replace(n, "").trim();
1319
+ }
1320
+ function to(e) {
1321
+ return Kt(`
1322
+ %ctippy.js
1323
+
1324
+ %c` + Kt(e) + `
1325
+
1326
+ %c👷‍ This is a development-only message. It will be removed in production.
1327
+ `);
1328
+ }
1329
+ function Pn(e) {
1330
+ return [
1331
+ to(e),
1332
+ // title
1333
+ "color: #00C584; font-size: 1.3em; font-weight: bold;",
1334
+ // message
1335
+ "line-height: 1.5",
1336
+ // footer
1337
+ "color: #a6a095;"
1338
+ ];
1339
+ }
1340
+ var He;
1341
+ process.env.NODE_ENV !== "production" && no();
1342
+ function no() {
1343
+ He = /* @__PURE__ */ new Set();
1344
+ }
1345
+ function ae(e, t) {
1346
+ if (e && !He.has(t)) {
1347
+ var n;
1348
+ He.add(t), (n = console).warn.apply(n, Pn(t));
1349
+ }
1350
+ }
1351
+ function wt(e, t) {
1352
+ if (e && !He.has(t)) {
1353
+ var n;
1354
+ He.add(t), (n = console).error.apply(n, Pn(t));
1355
+ }
1356
+ }
1357
+ function ro(e) {
1358
+ var t = !e, n = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
1359
+ wt(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), wt(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
1360
+ }
1361
+ var In = {
1362
+ animateFill: !1,
1363
+ followCursor: !1,
1364
+ inlinePositioning: !1,
1365
+ sticky: !1
1366
+ }, io = {
1367
+ allowHTML: !1,
1368
+ animation: "fade",
1369
+ arrow: !0,
1370
+ content: "",
1371
+ inertia: !1,
1372
+ maxWidth: 350,
1373
+ role: "tooltip",
1374
+ theme: "",
1375
+ zIndex: 9999
1376
+ }, W = Object.assign({
1377
+ appendTo: Cn,
1378
+ aria: {
1379
+ content: "auto",
1380
+ expanded: "auto"
1381
+ },
1382
+ delay: 0,
1383
+ duration: [300, 250],
1384
+ getReferenceClientRect: null,
1385
+ hideOnClick: !0,
1386
+ ignoreAttributes: !1,
1387
+ interactive: !1,
1388
+ interactiveBorder: 2,
1389
+ interactiveDebounce: 0,
1390
+ moveTransition: "",
1391
+ offset: [0, 10],
1392
+ onAfterUpdate: function() {
1393
+ },
1394
+ onBeforeUpdate: function() {
1395
+ },
1396
+ onCreate: function() {
1397
+ },
1398
+ onDestroy: function() {
1399
+ },
1400
+ onHidden: function() {
1401
+ },
1402
+ onHide: function() {
1403
+ },
1404
+ onMount: function() {
1405
+ },
1406
+ onShow: function() {
1407
+ },
1408
+ onShown: function() {
1409
+ },
1410
+ onTrigger: function() {
1411
+ },
1412
+ onUntrigger: function() {
1413
+ },
1414
+ onClickOutside: function() {
1415
+ },
1416
+ placement: "top",
1417
+ plugins: [],
1418
+ popperOptions: {},
1419
+ render: null,
1420
+ showOnCreate: !1,
1421
+ touch: !0,
1422
+ trigger: "mouseenter focus",
1423
+ triggerTarget: null
1424
+ }, In, io), oo = Object.keys(W), ao = function(t) {
1425
+ process.env.NODE_ENV !== "production" && Mn(t, []);
1426
+ var n = Object.keys(t);
1427
+ n.forEach(function(r) {
1428
+ W[r] = t[r];
1429
+ });
1430
+ };
1431
+ function Nn(e) {
1432
+ var t = e.plugins || [], n = t.reduce(function(r, o) {
1433
+ var a = o.name, l = o.defaultValue;
1434
+ if (a) {
1435
+ var u;
1436
+ r[a] = e[a] !== void 0 ? e[a] : (u = W[a]) != null ? u : l;
1437
+ }
1438
+ return r;
1439
+ }, {});
1440
+ return Object.assign({}, e, n);
1441
+ }
1442
+ function so(e, t) {
1443
+ var n = t ? Object.keys(Nn(Object.assign({}, W, {
1444
+ plugins: t
1445
+ }))) : oo, r = n.reduce(function(o, a) {
1446
+ var l = (e.getAttribute("data-tippy-" + a) || "").trim();
1447
+ if (!l)
1448
+ return o;
1449
+ if (a === "content")
1450
+ o[a] = l;
1451
+ else
1452
+ try {
1453
+ o[a] = JSON.parse(l);
1454
+ } catch {
1455
+ o[a] = l;
1456
+ }
1457
+ return o;
1458
+ }, {});
1459
+ return r;
1460
+ }
1461
+ function Gt(e, t) {
1462
+ var n = Object.assign({}, t, {
1463
+ content: Ln(t.content, [e])
1464
+ }, t.ignoreAttributes ? {} : so(e, t.plugins));
1465
+ return n.aria = Object.assign({}, W.aria, n.aria), n.aria = {
1466
+ expanded: n.aria.expanded === "auto" ? t.interactive : n.aria.expanded,
1467
+ content: n.aria.content === "auto" ? t.interactive ? null : "describedby" : n.aria.content
1468
+ }, n;
1469
+ }
1470
+ function Mn(e, t) {
1471
+ e === void 0 && (e = {}), t === void 0 && (t = []);
1472
+ var n = Object.keys(e);
1473
+ n.forEach(function(r) {
1474
+ var o = $i(W, Object.keys(In)), a = !_i(o, r);
1475
+ a && (a = t.filter(function(l) {
1476
+ return l.name === r;
1477
+ }).length === 0), ae(a, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
1478
+
1479
+ `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
1480
+ `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
1481
+ });
1482
+ }
1483
+ var uo = function() {
1484
+ return "innerHTML";
1485
+ };
1486
+ function Et(e, t) {
1487
+ e[uo()] = t;
1488
+ }
1489
+ function Zt(e) {
1490
+ var t = Be();
1491
+ return e === !0 ? t.className = Dn : (t.className = Sn, Ue(e) ? t.appendChild(e) : Et(t, e)), t;
1492
+ }
1493
+ function Qt(e, t) {
1494
+ Ue(t.content) ? (Et(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? Et(e, t.content) : e.textContent = t.content);
1495
+ }
1496
+ function Ot(e) {
1497
+ var t = e.firstElementChild, n = ut(t.children);
1498
+ return {
1499
+ box: t,
1500
+ content: n.find(function(r) {
1501
+ return r.classList.contains(Tn);
1502
+ }),
1503
+ arrow: n.find(function(r) {
1504
+ return r.classList.contains(Dn) || r.classList.contains(Sn);
1505
+ }),
1506
+ backdrop: n.find(function(r) {
1507
+ return r.classList.contains(Bi);
1508
+ })
1509
+ };
1510
+ }
1511
+ function jn(e) {
1512
+ var t = Be(), n = Be();
1513
+ n.className = Vi, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
1514
+ var r = Be();
1515
+ r.className = Tn, r.setAttribute("data-state", "hidden"), Qt(r, e.props), t.appendChild(n), n.appendChild(r), o(e.props, e.props);
1516
+ function o(a, l) {
1517
+ var u = Ot(t), c = u.box, p = u.content, f = u.arrow;
1518
+ l.theme ? c.setAttribute("data-theme", l.theme) : c.removeAttribute("data-theme"), typeof l.animation == "string" ? c.setAttribute("data-animation", l.animation) : c.removeAttribute("data-animation"), l.inertia ? c.setAttribute("data-inertia", "") : c.removeAttribute("data-inertia"), c.style.maxWidth = typeof l.maxWidth == "number" ? l.maxWidth + "px" : l.maxWidth, l.role ? c.setAttribute("role", l.role) : c.removeAttribute("role"), (a.content !== l.content || a.allowHTML !== l.allowHTML) && Qt(p, e.props), l.arrow ? f ? a.arrow !== l.arrow && (c.removeChild(f), c.appendChild(Zt(l.arrow))) : c.appendChild(Zt(l.arrow)) : f && c.removeChild(f);
1519
+ }
1520
+ return {
1521
+ popper: t,
1522
+ onUpdate: o
1523
+ };
1524
+ }
1525
+ jn.$$tippy = !0;
1526
+ var co = 1, it = [], ht = [];
1527
+ function lo(e, t) {
1528
+ var n = Gt(e, Object.assign({}, W, Nn(zt(t)))), r, o, a, l = !1, u = !1, c = !1, p = !1, f, b, O, m = [], w = Wt(Ye, n.interactiveDebounce), g, y = co++, A = null, D = Hi(n.plugins), C = {
1529
+ // Is the instance currently enabled?
1530
+ isEnabled: !0,
1531
+ // Is the tippy currently showing and not transitioning out?
1532
+ isVisible: !1,
1533
+ // Has the instance been destroyed?
1534
+ isDestroyed: !1,
1535
+ // Is the tippy currently mounted to the DOM?
1536
+ isMounted: !1,
1537
+ // Has the tippy finished transitioning in?
1538
+ isShown: !1
1539
+ }, i = {
1540
+ // properties
1541
+ id: y,
1542
+ reference: e,
1543
+ popper: Be(),
1544
+ popperInstance: A,
1545
+ props: n,
1546
+ state: C,
1547
+ plugins: D,
1548
+ // methods
1549
+ clearDelayTimeouts: Qe,
1550
+ setProps: Je,
1551
+ setContent: et,
1552
+ show: kn,
1553
+ hide: Vn,
1554
+ hideWithInteractivity: Bn,
1555
+ enable: Me,
1556
+ disable: Ze,
1557
+ unmount: _n,
1558
+ destroy: $n
1559
+ };
1560
+ if (!n.render)
1561
+ return process.env.NODE_ENV !== "production" && wt(!0, "render() function has not been supplied."), i;
1562
+ var x = n.render(i), d = x.popper, S = x.onUpdate;
1563
+ d.setAttribute("data-tippy-root", ""), d.id = "tippy-" + i.id, i.popper = d, e._tippy = i, d._tippy = i;
1564
+ var N = D.map(function(s) {
1565
+ return s.fn(i);
1566
+ }), I = e.hasAttribute("aria-expanded");
1567
+ return Ee(), Z(), V(), j("onCreate", [i]), n.showOnCreate && Ne(), d.addEventListener("mouseenter", function() {
1568
+ i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
1569
+ }), d.addEventListener("mouseleave", function() {
1570
+ i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", w);
1571
+ }), i;
1572
+ function R() {
1573
+ var s = i.props.touch;
1574
+ return Array.isArray(s) ? s : [s, 0];
1575
+ }
1576
+ function M() {
1577
+ return R()[0] === "hold";
1578
+ }
1579
+ function P() {
1580
+ var s;
1581
+ return !!((s = i.props.render) != null && s.$$tippy);
1582
+ }
1583
+ function L() {
1584
+ return g || e;
1585
+ }
1586
+ function U() {
1587
+ var s = L().parentNode;
1588
+ return s ? Xi(s) : document;
1589
+ }
1590
+ function H() {
1591
+ return Ot(d);
1592
+ }
1593
+ function k(s) {
1594
+ return i.state.isMounted && !i.state.isVisible || J.isTouch || f && f.type === "focus" ? 0 : pt(i.props.delay, s ? 0 : 1, W.delay);
1595
+ }
1596
+ function V(s) {
1597
+ s === void 0 && (s = !1), d.style.pointerEvents = i.props.interactive && !s ? "" : "none", d.style.zIndex = "" + i.props.zIndex;
1598
+ }
1599
+ function j(s, v, h) {
1600
+ if (h === void 0 && (h = !0), N.forEach(function(E) {
1601
+ E[s] && E[s].apply(E, v);
1602
+ }), h) {
1603
+ var T;
1604
+ (T = i.props)[s].apply(T, v);
1605
+ }
1606
+ }
1607
+ function G() {
1608
+ var s = i.props.aria;
1609
+ if (s.content) {
1610
+ var v = "aria-" + s.content, h = d.id, T = Te(i.props.triggerTarget || e);
1611
+ T.forEach(function(E) {
1612
+ var B = E.getAttribute(v);
1613
+ if (i.state.isVisible)
1614
+ E.setAttribute(v, B ? B + " " + h : h);
1615
+ else {
1616
+ var z = B && B.replace(h, "").trim();
1617
+ z ? E.setAttribute(v, z) : E.removeAttribute(v);
1618
+ }
1619
+ });
1620
+ }
1621
+ }
1622
+ function Z() {
1623
+ if (!(I || !i.props.aria.expanded)) {
1624
+ var s = Te(i.props.triggerTarget || e);
1625
+ s.forEach(function(v) {
1626
+ i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === L() ? "true" : "false") : v.removeAttribute("aria-expanded");
1627
+ });
1628
+ }
1629
+ }
1630
+ function fe() {
1631
+ U().removeEventListener("mousemove", w), it = it.filter(function(s) {
1632
+ return s !== w;
1633
+ });
1634
+ }
1635
+ function Q(s) {
1636
+ if (!(J.isTouch && (c || s.type === "mousedown"))) {
1637
+ var v = s.composedPath && s.composedPath()[0] || s.target;
1638
+ if (!(i.props.interactive && Yt(d, v))) {
1639
+ if (Te(i.props.triggerTarget || e).some(function(h) {
1640
+ return Yt(h, v);
1641
+ })) {
1642
+ if (J.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1643
+ return;
1644
+ } else
1645
+ j("onClickOutside", [i, s]);
1646
+ i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), u = !0, setTimeout(function() {
1647
+ u = !1;
1648
+ }), i.state.isMounted || re());
1649
+ }
1650
+ }
1651
+ }
1652
+ function pe() {
1653
+ c = !0;
1654
+ }
1655
+ function ne() {
1656
+ c = !1;
1657
+ }
1658
+ function K() {
1659
+ var s = U();
1660
+ s.addEventListener("mousedown", Q, !0), s.addEventListener("touchend", Q, me), s.addEventListener("touchstart", ne, me), s.addEventListener("touchmove", pe, me);
1661
+ }
1662
+ function re() {
1663
+ var s = U();
1664
+ s.removeEventListener("mousedown", Q, !0), s.removeEventListener("touchend", Q, me), s.removeEventListener("touchstart", ne, me), s.removeEventListener("touchmove", pe, me);
1665
+ }
1666
+ function be(s, v) {
1667
+ we(s, function() {
1668
+ !i.state.isVisible && d.parentNode && d.parentNode.contains(d) && v();
1669
+ });
1670
+ }
1671
+ function ie(s, v) {
1672
+ we(s, v);
1673
+ }
1674
+ function we(s, v) {
1675
+ var h = H().box;
1676
+ function T(E) {
1677
+ E.target === h && (vt(h, "remove", T), v());
1678
+ }
1679
+ if (s === 0)
1680
+ return v();
1681
+ vt(h, "remove", b), vt(h, "add", T), b = T;
1682
+ }
1683
+ function ue(s, v, h) {
1684
+ h === void 0 && (h = !1);
1685
+ var T = Te(i.props.triggerTarget || e);
1686
+ T.forEach(function(E) {
1687
+ E.addEventListener(s, v, h), m.push({
1688
+ node: E,
1689
+ eventType: s,
1690
+ handler: v,
1691
+ options: h
1692
+ });
1693
+ });
1694
+ }
1695
+ function Ee() {
1696
+ M() && (ue("touchstart", Re, {
1697
+ passive: !0
1698
+ }), ue("touchend", Xe, {
1699
+ passive: !0
1700
+ })), Ui(i.props.trigger).forEach(function(s) {
1701
+ if (s !== "manual")
1702
+ switch (ue(s, Re), s) {
1703
+ case "mouseenter":
1704
+ ue("mouseleave", Xe);
1705
+ break;
1706
+ case "focus":
1707
+ ue(eo ? "focusout" : "blur", Pe);
1708
+ break;
1709
+ case "focusin":
1710
+ ue("focusout", Pe);
1711
+ break;
1712
+ }
1713
+ });
1714
+ }
1715
+ function qe() {
1716
+ m.forEach(function(s) {
1717
+ var v = s.node, h = s.eventType, T = s.handler, E = s.options;
1718
+ v.removeEventListener(h, T, E);
1719
+ }), m = [];
1720
+ }
1721
+ function Re(s) {
1722
+ var v, h = !1;
1723
+ if (!(!i.state.isEnabled || Ie(s) || u)) {
1724
+ var T = ((v = f) == null ? void 0 : v.type) === "focus";
1725
+ f = s, g = s.currentTarget, Z(), !i.state.isVisible && zi(s) && it.forEach(function(E) {
1726
+ return E(s);
1727
+ }), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || l) && i.props.hideOnClick !== !1 && i.state.isVisible ? h = !0 : Ne(s), s.type === "click" && (l = !h), h && !T && de(s);
1728
+ }
1729
+ }
1730
+ function Ye(s) {
1731
+ var v = s.target, h = L().contains(v) || d.contains(v);
1732
+ if (!(s.type === "mousemove" && h)) {
1733
+ var T = ce().concat(d).map(function(E) {
1734
+ var B, z = E._tippy, Oe = (B = z.popperInstance) == null ? void 0 : B.state;
1735
+ return Oe ? {
1736
+ popperRect: E.getBoundingClientRect(),
1737
+ popperState: Oe,
1738
+ props: n
1739
+ } : null;
1740
+ }).filter(Boolean);
1741
+ Ki(T, s) && (fe(), de(s));
1742
+ }
1743
+ }
1744
+ function Xe(s) {
1745
+ var v = Ie(s) || i.props.trigger.indexOf("click") >= 0 && l;
1746
+ if (!v) {
1747
+ if (i.props.interactive) {
1748
+ i.hideWithInteractivity(s);
1749
+ return;
1750
+ }
1751
+ de(s);
1752
+ }
1753
+ }
1754
+ function Pe(s) {
1755
+ i.props.trigger.indexOf("focusin") < 0 && s.target !== L() || i.props.interactive && s.relatedTarget && d.contains(s.relatedTarget) || de(s);
1756
+ }
1757
+ function Ie(s) {
1758
+ return J.isTouch ? M() !== s.type.indexOf("touch") >= 0 : !1;
1759
+ }
1760
+ function Ke() {
1761
+ Ge();
1762
+ var s = i.props, v = s.popperOptions, h = s.placement, T = s.offset, E = s.getReferenceClientRect, B = s.moveTransition, z = P() ? Ot(d).arrow : null, Oe = E ? {
1763
+ getBoundingClientRect: E,
1764
+ contextElement: E.contextElement || L()
1765
+ } : e, Pt = {
1766
+ name: "$$tippy",
1767
+ enabled: !0,
1768
+ phase: "beforeWrite",
1769
+ requires: ["computeStyles"],
1770
+ fn: function(tt) {
1771
+ var xe = tt.state;
1772
+ if (P()) {
1773
+ var Un = H(), ft = Un.box;
1774
+ ["placement", "reference-hidden", "escaped"].forEach(function(nt) {
1775
+ nt === "placement" ? ft.setAttribute("data-placement", xe.placement) : xe.attributes.popper["data-popper-" + nt] ? ft.setAttribute("data-" + nt, "") : ft.removeAttribute("data-" + nt);
1776
+ }), xe.attributes.popper = {};
1777
+ }
1778
+ }
1779
+ }, ve = [{
1780
+ name: "offset",
1781
+ options: {
1782
+ offset: T
1783
+ }
1784
+ }, {
1785
+ name: "preventOverflow",
1786
+ options: {
1787
+ padding: {
1788
+ top: 2,
1789
+ bottom: 2,
1790
+ left: 5,
1791
+ right: 5
1792
+ }
1793
+ }
1794
+ }, {
1795
+ name: "flip",
1796
+ options: {
1797
+ padding: 5
1798
+ }
1799
+ }, {
1800
+ name: "computeStyles",
1801
+ options: {
1802
+ adaptive: !B
1803
+ }
1804
+ }, Pt];
1805
+ P() && z && ve.push({
1806
+ name: "arrow",
1807
+ options: {
1808
+ element: z,
1809
+ padding: 3
1810
+ }
1811
+ }), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = ki(Oe, d, Object.assign({}, v, {
1812
+ placement: h,
1813
+ onFirstUpdate: O,
1814
+ modifiers: ve
1815
+ }));
1816
+ }
1817
+ function Ge() {
1818
+ i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
1819
+ }
1820
+ function oe() {
1821
+ var s = i.props.appendTo, v, h = L();
1822
+ i.props.interactive && s === Cn || s === "parent" ? v = h.parentNode : v = Ln(s, [h]), v.contains(d) || v.appendChild(d), i.state.isMounted = !0, Ke(), process.env.NODE_ENV !== "production" && ae(i.props.interactive && s === W.appendTo && h.nextElementSibling !== d, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
1823
+
1824
+ `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
1825
+
1826
+ `, "Specifying `appendTo: document.body` silences this warning, but it", "assumes you are using a focus management solution to handle", "keyboard navigation.", `
1827
+
1828
+ `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
1829
+ }
1830
+ function ce() {
1831
+ return ut(d.querySelectorAll("[data-tippy-root]"));
1832
+ }
1833
+ function Ne(s) {
1834
+ i.clearDelayTimeouts(), s && j("onTrigger", [i, s]), K();
1835
+ var v = k(!0), h = R(), T = h[0], E = h[1];
1836
+ J.isTouch && T === "hold" && E && (v = E), v ? r = setTimeout(function() {
1837
+ i.show();
1838
+ }, v) : i.show();
1839
+ }
1840
+ function de(s) {
1841
+ if (i.clearDelayTimeouts(), j("onUntrigger", [i, s]), !i.state.isVisible) {
1842
+ re();
1843
+ return;
1844
+ }
1845
+ if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && l)) {
1846
+ var v = k(!1);
1847
+ v ? o = setTimeout(function() {
1848
+ i.state.isVisible && i.hide();
1849
+ }, v) : a = requestAnimationFrame(function() {
1850
+ i.hide();
1851
+ });
1852
+ }
1853
+ }
1854
+ function Me() {
1855
+ i.state.isEnabled = !0;
1856
+ }
1857
+ function Ze() {
1858
+ i.hide(), i.state.isEnabled = !1;
1859
+ }
1860
+ function Qe() {
1861
+ clearTimeout(r), clearTimeout(o), cancelAnimationFrame(a);
1862
+ }
1863
+ function Je(s) {
1864
+ if (process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ae("setProps")), !i.state.isDestroyed) {
1865
+ j("onBeforeUpdate", [i, s]), qe();
1866
+ var v = i.props, h = Gt(e, Object.assign({}, v, zt(s), {
1867
+ ignoreAttributes: !0
1868
+ }));
1869
+ i.props = h, Ee(), v.interactiveDebounce !== h.interactiveDebounce && (fe(), w = Wt(Ye, h.interactiveDebounce)), v.triggerTarget && !h.triggerTarget ? Te(v.triggerTarget).forEach(function(T) {
1870
+ T.removeAttribute("aria-expanded");
1871
+ }) : h.triggerTarget && e.removeAttribute("aria-expanded"), Z(), V(), S && S(v, h), i.popperInstance && (Ke(), ce().forEach(function(T) {
1872
+ requestAnimationFrame(T._tippy.popperInstance.forceUpdate);
1873
+ })), j("onAfterUpdate", [i, s]);
1874
+ }
1875
+ }
1876
+ function et(s) {
1877
+ i.setProps({
1878
+ content: s
1879
+ });
1880
+ }
1881
+ function kn() {
1882
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ae("show"));
1883
+ var s = i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, T = J.isTouch && !i.props.touch, E = pt(i.props.duration, 0, W.duration);
1884
+ if (!(s || v || h || T) && !L().hasAttribute("disabled") && (j("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1885
+ if (i.state.isVisible = !0, P() && (d.style.visibility = "visible"), V(), K(), i.state.isMounted || (d.style.transition = "none"), P()) {
1886
+ var B = H(), z = B.box, Oe = B.content;
1887
+ dt([z, Oe], 0);
1888
+ }
1889
+ O = function() {
1890
+ var ve;
1891
+ if (!(!i.state.isVisible || p)) {
1892
+ if (p = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, P() && i.props.animation) {
1893
+ var lt = H(), tt = lt.box, xe = lt.content;
1894
+ dt([tt, xe], E), qt([tt, xe], "visible");
1895
+ }
1896
+ G(), Z(), Ft(ht, i), (ve = i.popperInstance) == null || ve.forceUpdate(), j("onMount", [i]), i.props.animation && P() && ie(E, function() {
1897
+ i.state.isShown = !0, j("onShown", [i]);
1898
+ });
1899
+ }
1900
+ }, oe();
1901
+ }
1902
+ }
1903
+ function Vn() {
1904
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ae("hide"));
1905
+ var s = !i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, T = pt(i.props.duration, 1, W.duration);
1906
+ if (!(s || v || h) && (j("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1907
+ if (i.state.isVisible = !1, i.state.isShown = !1, p = !1, l = !1, P() && (d.style.visibility = "hidden"), fe(), re(), V(!0), P()) {
1908
+ var E = H(), B = E.box, z = E.content;
1909
+ i.props.animation && (dt([B, z], T), qt([B, z], "hidden"));
1910
+ }
1911
+ G(), Z(), i.props.animation ? P() && be(T, i.unmount) : i.unmount();
1912
+ }
1913
+ }
1914
+ function Bn(s) {
1915
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ae("hideWithInteractivity")), U().addEventListener("mousemove", w), Ft(it, w), w(s);
1916
+ }
1917
+ function _n() {
1918
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ae("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Ge(), ce().forEach(function(s) {
1919
+ s._tippy.unmount();
1920
+ }), d.parentNode && d.parentNode.removeChild(d), ht = ht.filter(function(s) {
1921
+ return s !== i;
1922
+ }), i.state.isMounted = !1, j("onHidden", [i]));
1923
+ }
1924
+ function $n() {
1925
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ae("destroy")), !i.state.isDestroyed && (i.clearDelayTimeouts(), i.unmount(), qe(), delete e._tippy, i.state.isDestroyed = !0, j("onDestroy", [i]));
1926
+ }
1927
+ }
1928
+ function ze(e, t) {
1929
+ t === void 0 && (t = {});
1930
+ var n = W.plugins.concat(t.plugins || []);
1931
+ process.env.NODE_ENV !== "production" && (ro(e), Mn(t, n)), Qi();
1932
+ var r = Object.assign({}, t, {
1933
+ plugins: n
1934
+ }), o = Yi(e);
1935
+ if (process.env.NODE_ENV !== "production") {
1936
+ var a = Ue(r.content), l = o.length > 1;
1937
+ ae(a && l, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
1938
+
1939
+ `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
1940
+
1941
+ `, `1) content: element.innerHTML
1942
+ `, "2) content: () => element.cloneNode(true)"].join(" "));
1943
+ }
1944
+ var u = o.reduce(function(c, p) {
1945
+ var f = p && lo(p, r);
1946
+ return f && c.push(f), c;
1947
+ }, []);
1948
+ return Ue(e) ? u[0] : u;
1949
+ }
1950
+ ze.defaultProps = W;
1951
+ ze.setDefaultProps = ao;
1952
+ ze.currentInput = J;
1953
+ Object.assign({}, gn, {
1954
+ effect: function(t) {
1955
+ var n = t.state, r = {
1956
+ popper: {
1957
+ position: n.options.strategy,
1958
+ left: "0",
1959
+ top: "0",
1960
+ margin: "0"
1961
+ },
1962
+ arrow: {
1963
+ position: "absolute"
1964
+ },
1965
+ reference: {}
1966
+ };
1967
+ Object.assign(n.elements.popper.style, r.popper), n.styles = r, n.elements.arrow && Object.assign(n.elements.arrow.style, r.arrow);
1968
+ }
1969
+ });
1970
+ var fo = {
1971
+ name: "sticky",
1972
+ defaultValue: !1,
1973
+ fn: function(t) {
1974
+ var n = t.reference, r = t.popper;
1975
+ function o() {
1976
+ return t.popperInstance ? t.popperInstance.state.elements.reference : n;
1977
+ }
1978
+ function a(p) {
1979
+ return t.props.sticky === !0 || t.props.sticky === p;
1980
+ }
1981
+ var l = null, u = null;
1982
+ function c() {
1983
+ var p = a("reference") ? o().getBoundingClientRect() : null, f = a("popper") ? r.getBoundingClientRect() : null;
1984
+ (p && Jt(l, p) || f && Jt(u, f)) && t.popperInstance && t.popperInstance.update(), l = p, u = f, t.state.isMounted && requestAnimationFrame(c);
1985
+ }
1986
+ return {
1987
+ onMount: function() {
1988
+ t.props.sticky && c();
1989
+ }
1990
+ };
1991
+ }
1992
+ };
1993
+ function Jt(e, t) {
1994
+ return e && t ? e.top !== t.top || e.right !== t.right || e.bottom !== t.bottom || e.left !== t.left : !0;
1995
+ }
1996
+ ze.setDefaultProps({
1997
+ render: jn
1998
+ });
1999
+ const po = (e) => ({
2000
+ name: "arrowDetected",
2001
+ enabled: !0,
2002
+ phase: "main",
2003
+ fn: e,
2004
+ requiresIfExists: ["offset"]
2005
+ }), vo = [
2006
+ "bottom",
2007
+ "bottom-start",
2008
+ "bottom-end",
2009
+ "right",
2010
+ "right-start",
2011
+ "right-end",
2012
+ "left",
2013
+ "left-start",
2014
+ "left-end",
2015
+ "top",
2016
+ "top-start",
2017
+ "top-end"
2018
+ ], ho = [!0, !1, "reference", "popper"], mo = (e, t) => {
2019
+ const { contentElement: n } = { ...t };
2020
+ return delete t.contentElement, ze(e, {
2021
+ ...t,
2022
+ plugins: [fo],
2023
+ render: () => wo(n)
2024
+ });
2025
+ }, go = ({
2026
+ boundary: e = "clippingParents",
2027
+ fallbackPlacements: t = [],
2028
+ onChangePlacement: n = () => {
2029
+ },
2030
+ hasHideModifierEnabled: r = !1,
2031
+ // If set to false the dialog will display over top of the anchor when there is insufficient space.
2032
+ // if set to true it will never move from its position relative to the anchor and will clip instead.
2033
+ tether: o = !0
2034
+ } = {}) => ({
2035
+ modifiers: [
2036
+ {
2037
+ name: "flip",
2038
+ options: {
2039
+ fallbackPlacements: t,
2040
+ boundary: e
2041
+ }
2042
+ },
2043
+ {
2044
+ name: "hide",
2045
+ enabled: r
2046
+ },
2047
+ {
2048
+ name: "preventOverflow",
2049
+ options: {
2050
+ altAxis: !o,
2051
+ tether: o
2052
+ }
2053
+ },
2054
+ po(({ state: a }) => {
2055
+ n(a.placement);
2056
+ })
2057
+ ]
2058
+ }), yo = (e) => {
2059
+ const t = document.createElement("span");
2060
+ return t.innerText = e.innerText || "", e.innerText = "", e.appendChild(t), t;
2061
+ }, bo = (e) => {
2062
+ const t = e == null ? void 0 : e.children[0];
2063
+ return t || yo(e);
2064
+ }, wo = (e) => {
2065
+ const t = document.createElement("div");
2066
+ return t.className = "tippy-box d-ps-absolute", t.appendChild(e), {
2067
+ popper: t
2068
+ };
2069
+ }, Eo = [
2070
+ ...vo
2071
+ ], Oo = 300, xo = {
2072
+ hover: "d-tooltip--hover",
2073
+ show: "d-tooltip--show",
2074
+ inverted: "d-tooltip--inverted",
2075
+ hide: "d-tooltip--hide"
2076
+ }, Ao = [
2077
+ ...ho
2078
+ ], Mo = [!0, !1, "toggle"], To = {
2079
+ name: "DtTooltip",
2080
+ components: {
2081
+ DtLazyShow: Pr
2082
+ },
2083
+ props: {
2084
+ /**
2085
+ * The id of the tooltip
2086
+ */
2087
+ id: {
2088
+ type: String,
2089
+ default() {
2090
+ return rn();
2091
+ }
2092
+ },
2093
+ /**
2094
+ * If the popover does not fit in the direction described by "placement",
2095
+ * it will attempt to change its direction to the "fallbackPlacements"
2096
+ * if defined, otherwise it will automatically position to a new location
2097
+ * as it sees best fit. See
2098
+ * <a
2099
+ * class="d-link"
2100
+ * href="https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements"
2101
+ * target="_blank"
2102
+ * >
2103
+ * Popper.js docs
2104
+ * </a>
2105
+ * */
2106
+ fallbackPlacements: {
2107
+ type: Array,
2108
+ default: () => ["auto"]
2109
+ },
2110
+ /**
2111
+ * If true, applies inverted styles to the tooltip
2112
+ * @values true, false
2113
+ */
2114
+ inverted: {
2115
+ type: Boolean,
2116
+ default: !1
2117
+ },
2118
+ /**
2119
+ * Displaces the tooltip from its reference element
2120
+ * by the specified number of pixels. See
2121
+ * <a
2122
+ * class="d-link"
2123
+ * href="https://atomiks.github.io/tippyjs/v6/all-props/#offset"
2124
+ * target="_blank"
2125
+ * >
2126
+ * Tippy.js docs
2127
+ * </a>
2128
+ */
2129
+ offset: {
2130
+ type: Array,
2131
+ default: () => [0, -4]
2132
+ },
2133
+ /**
2134
+ * The direction the popover displays relative to the anchor. See
2135
+ * <a
2136
+ * class="d-link"
2137
+ * href="https://atomiks.github.io/tippyjs/v6/all-props/#placement"
2138
+ * target="_blank"
2139
+ * >
2140
+ * Tippy.js docs
2141
+ * </a>
2142
+ * @values top, top-start, top-end,
2143
+ * right, right-start, right-end,
2144
+ * left, left-start, left-end,
2145
+ * bottom, bottom-start, bottom-end,
2146
+ * auto, auto-start, auto-end
2147
+ */
2148
+ placement: {
2149
+ type: String,
2150
+ default: "top",
2151
+ validator(e) {
2152
+ return Eo.includes(e);
2153
+ }
2154
+ },
2155
+ /**
2156
+ * If the tooltip sticks to the anchor. This is usually not needed, but can be needed
2157
+ * if the reference element's position is animating, or to automatically update the popover
2158
+ * position in those cases the DOM layout changes the reference element's position.
2159
+ * `true` enables it, `reference` only checks the "reference" rect for changes and `popper` only
2160
+ * checks the "popper" rect for changes. See
2161
+ * <a
2162
+ * class="d-link"
2163
+ * href="https://atomiks.github.io/tippyjs/v6/all-props/#sticky"
2164
+ * target="_blank"
2165
+ * >
2166
+ * Tippy.js docs
2167
+ * </a>
2168
+ * @values true, false, reference, popper
2169
+ */
2170
+ sticky: {
2171
+ type: [Boolean, String],
2172
+ default: !1,
2173
+ validator: (e) => Ao.includes(e)
2174
+ },
2175
+ /**
2176
+ * Additional css classes for the tooltip content element.
2177
+ * Can accept all of String, Object, and Array, i.e. has the
2178
+ * same api as Vue's built-in handling of the class attribute.
2179
+ */
2180
+ contentClass: {
2181
+ type: [String, Object, Array],
2182
+ default: ""
2183
+ },
2184
+ /**
2185
+ * A provided message for the tooltip content
2186
+ */
2187
+ message: {
2188
+ type: String,
2189
+ default: ""
2190
+ },
2191
+ /**
2192
+ * Controls whether hover/focus causes the tooltip to appear.
2193
+ * Cannot be combined with the show prop. show value will be ignored.
2194
+ * by default this is true, if you override with false, the tooltip will never show up.
2195
+ */
2196
+ enabled: {
2197
+ type: Boolean,
2198
+ default: !0
2199
+ },
2200
+ /**
2201
+ * Controls whether the tooltip is shown. Leaving this null will have the tooltip trigger on mouseover by default.
2202
+ * If you set this value, the default mouseover behavior will be disabled and you can control it as you need.
2203
+ * Supports .sync modifier
2204
+ * @values null, true, false
2205
+ */
2206
+ show: {
2207
+ type: Boolean,
2208
+ default: null
2209
+ },
2210
+ /**
2211
+ * Named transition when the content display is toggled.
2212
+ * @see DtLazyShow
2213
+ */
2214
+ transition: {
2215
+ type: String,
2216
+ default: "fade"
2217
+ },
2218
+ /**
2219
+ * Whether to apply transition on initial render in the content lazy show component.
2220
+ * @values true, false
2221
+ */
2222
+ contentAppear: {
2223
+ type: Boolean,
2224
+ default: !1
2225
+ },
2226
+ /**
2227
+ * Whether the tooltip will have a delay when being focused or moused over.
2228
+ * @values true, false
2229
+ */
2230
+ delay: {
2231
+ type: Boolean,
2232
+ default: !0
2233
+ },
2234
+ /**
2235
+ * External anchor id to use in those cases the anchor can't be provided via the slot.
2236
+ * For instance, using the combobox's input as the anchor for the popover.
2237
+ */
2238
+ externalAnchor: {
2239
+ type: String,
2240
+ default: null
2241
+ }
2242
+ },
2243
+ emits: [
2244
+ /**
2245
+ * Emitted when tooltip is shown or hidden
2246
+ *
2247
+ * @event shown
2248
+ * @type {Boolean}
2249
+ */
2250
+ "shown",
2251
+ /**
2252
+ * Sync show value
2253
+ *
2254
+ * @event update:show
2255
+ */
2256
+ "update:show"
2257
+ ],
2258
+ data() {
2259
+ return {
2260
+ TOOLTIP_KIND_MODIFIERS: xo,
2261
+ hasSlotContent: vr,
2262
+ tip: null,
2263
+ inTimer: null,
2264
+ // Internal state for whether the tooltip is shown. Changing the prop
2265
+ // will update this.
2266
+ isShown: !1,
2267
+ // this is where the placement currently is, this can be different than
2268
+ // the placement prop when there is not enough available room for the tip
2269
+ // to display and it uses a fallback placement.
2270
+ currentPlacement: this.placement
2271
+ };
2272
+ },
2273
+ computed: {
2274
+ // whether the tooltip is visible or not.
2275
+ isVisible() {
2276
+ return this.isShown && this.enabled && (!!this.message.trim() || !!this.$slots.default);
2277
+ },
2278
+ tooltipListeners() {
2279
+ return {
2280
+ "after-leave": () => {
2281
+ this.onLeaveTransitionComplete();
2282
+ },
2283
+ "after-enter": () => {
2284
+ this.onEnterTransitionComplete();
2285
+ }
2286
+ };
2287
+ },
2288
+ tippyProps() {
2289
+ return {
2290
+ offset: this.offset,
2291
+ interactive: !1,
2292
+ trigger: "manual",
2293
+ placement: this.placement,
2294
+ sticky: this.sticky,
2295
+ popperOptions: go({
2296
+ fallbackPlacements: this.fallbackPlacements,
2297
+ hasHideModifierEnabled: !0,
2298
+ onChangePlacement: this.onChangePlacement
2299
+ })
2300
+ };
2301
+ },
2302
+ anchor() {
2303
+ return this.externalAnchor ? document.body.querySelector(this.externalAnchor) : bo(this.$refs.anchor);
2304
+ }
2305
+ },
2306
+ watch: {
2307
+ tippyProps: {
2308
+ handler: "setProps",
2309
+ deep: !0
2310
+ },
2311
+ show: {
2312
+ handler: function(e) {
2313
+ e !== null && (this.isShown = e);
2314
+ },
2315
+ immediate: !0
2316
+ },
2317
+ isShown(e) {
2318
+ e ? (this.setProps(), this.tip.show()) : this.tip.hide();
2319
+ },
2320
+ sticky(e) {
2321
+ this.tip.setProps({
2322
+ sticky: e
2323
+ });
2324
+ }
2325
+ },
2326
+ mounted() {
2327
+ !this.enabled && this.show != null && (console.warn("Tooltip: You cannot use both the enabled and show props at the same time."), console.warn("The show prop will be ignored.")), this.externalAnchor && this.addExternalAnchorEventListeners(), this.tip = mo(this.anchor, this.initOptions()), this.isShown && this.tip.show();
2328
+ },
2329
+ beforeUnmount() {
2330
+ var e;
2331
+ this.externalAnchor && this.removeExternalAnchorEventListeners(), this.tip && ((e = this.tip) == null || e.destroy());
2332
+ },
2333
+ methods: {
2334
+ calculateAnchorZindex() {
2335
+ return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]') || // Special case because we don't have any dialtone drawer component yet. Render at 651 when
2336
+ // anchor of popover is within a drawer.
2337
+ this.$el.closest(".d-zi-drawer") ? 651 : 400;
2338
+ },
2339
+ hasVisibleFocus() {
2340
+ return this.anchor.matches(":focus-visible");
2341
+ },
2342
+ onEnterAnchor(e) {
2343
+ this.delay ? this.inTimer = setTimeout((function(t) {
2344
+ this.triggerShow(t);
2345
+ }).bind(this, e), Oo) : this.triggerShow(e);
2346
+ },
2347
+ triggerShow(e) {
2348
+ e.type === "focusin" ? this.show === null && this.hasVisibleFocus() && (this.isShown = !0) : this.show === null && (this.isShown = !0);
2349
+ },
2350
+ onLeaveAnchor(e) {
2351
+ e.type === "keydown" && e.code !== "Escape" || (clearTimeout(this.inTimer), this.triggerHide());
2352
+ },
2353
+ triggerHide() {
2354
+ this.show === null && (this.isShown = !1);
2355
+ },
2356
+ onChangePlacement(e) {
2357
+ this.currentPlacement = e;
2358
+ },
2359
+ onLeaveTransitionComplete() {
2360
+ var e;
2361
+ (e = this.tip) == null || e.unmount(), this.$emit("shown", !1), this.show !== null && this.$emit("update:show", !1);
2362
+ },
2363
+ onEnterTransitionComplete() {
2364
+ this.$emit("shown", !0), this.show !== null && this.$emit("update:show", !0);
2365
+ },
2366
+ setProps() {
2367
+ this.tip && this.tip.setProps && this.tip.setProps({
2368
+ ...this.tippyProps,
2369
+ zIndex: this.calculateAnchorZindex()
2370
+ });
2371
+ },
2372
+ onMount() {
2373
+ this.setProps();
2374
+ },
2375
+ initOptions() {
2376
+ return {
2377
+ contentElement: this.$refs.content.$el,
2378
+ allowHTML: !0,
2379
+ zIndex: this.calculateAnchorZindex(),
2380
+ onMount: this.onMount,
2381
+ ...this.tippyProps
2382
+ };
2383
+ },
2384
+ addExternalAnchorEventListeners() {
2385
+ ["focusin", "mouseenter"].forEach((e) => {
2386
+ this.anchor.addEventListener(e, (t) => this.onEnterAnchor(t));
2387
+ }), ["focusout", "mouseleave", "keydown"].forEach((e) => {
2388
+ this.anchor.addEventListener(e, (t) => this.onLeaveAnchor(t));
2389
+ });
2390
+ },
2391
+ removeExternalAnchorEventListeners() {
2392
+ ["focusin", "mouseenter"].forEach((e) => {
2393
+ this.anchor.removeEventListener(e, (t) => this.onEnterAnchor(t));
2394
+ }), ["focusout", "mouseleave", "keydown"].forEach((e) => {
2395
+ this.anchor.removeEventListener(e, (t) => this.onLeaveAnchor(t));
2396
+ });
2397
+ }
2398
+ }
2399
+ }, Do = { "data-qa": "dt-tooltip-container" };
2400
+ function So(e, t, n, r, o, a) {
2401
+ const l = Qn("dt-lazy-show");
2402
+ return mt(), It("div", Do, [
2403
+ n.externalAnchor ? nn("", !0) : (mt(), It("span", {
2404
+ key: 0,
2405
+ ref: "anchor",
2406
+ "data-qa": "dt-tooltip-anchor",
2407
+ onFocusin: t[0] || (t[0] = (...u) => a.onEnterAnchor && a.onEnterAnchor(...u)),
2408
+ onFocusout: t[1] || (t[1] = (...u) => a.onLeaveAnchor && a.onLeaveAnchor(...u)),
2409
+ onMouseenter: t[2] || (t[2] = (...u) => a.onEnterAnchor && a.onEnterAnchor(...u)),
2410
+ onMouseleave: t[3] || (t[3] = (...u) => a.onLeaveAnchor && a.onLeaveAnchor(...u)),
2411
+ onKeydown: t[4] || (t[4] = Jn((...u) => a.onLeaveAnchor && a.onLeaveAnchor(...u), ["esc"]))
2412
+ }, [
2413
+ gt(e.$slots, "anchor")
2414
+ ], 544)),
2415
+ er(l, en({
2416
+ id: n.id,
2417
+ ref: "content",
2418
+ show: a.isVisible,
2419
+ role: "tooltip",
2420
+ "aria-hidden": "false",
2421
+ "data-qa": "dt-tooltip",
2422
+ appear: n.contentAppear,
2423
+ transition: n.transition,
2424
+ class: [
2425
+ "d-tooltip",
2426
+ `d-tooltip__arrow-tippy--${o.currentPlacement}`,
2427
+ {
2428
+ [o.TOOLTIP_KIND_MODIFIERS.inverted]: n.inverted
2429
+ },
2430
+ n.contentClass
2431
+ ]
2432
+ }, tr(a.tooltipListeners)), {
2433
+ default: tn(() => [
2434
+ gt(e.$slots, "default", {}, () => [
2435
+ nr(rr(n.message), 1)
2436
+ ])
2437
+ ]),
2438
+ _: 3
2439
+ }, 16, ["id", "show", "appear", "transition", "class"])
2440
+ ]);
2441
+ }
2442
+ const jo = /* @__PURE__ */ vn(To, [["render", So]]);
2443
+ export {
2444
+ vo as B,
2445
+ jo as D,
2446
+ Io as E,
2447
+ Po as L,
2448
+ Eo as T,
2449
+ he as V,
2450
+ vn as _,
2451
+ ur as a,
2452
+ ho as b,
2453
+ Pr as c,
2454
+ go as d,
2455
+ mo as e,
2456
+ pn as f,
2457
+ rn as g,
2458
+ vr as h,
2459
+ yr as i,
2460
+ mr as j,
2461
+ lr as k,
2462
+ xr as l,
2463
+ an as m,
2464
+ Ro as n,
2465
+ Cr as o,
2466
+ Lo as p,
2467
+ ir as q,
2468
+ fr as r,
2469
+ Sr as s,
2470
+ ze as t,
2471
+ No as u,
2472
+ Oo as v,
2473
+ xo as w,
2474
+ Ao as x,
2475
+ Mo as y
2476
+ };