@cling-se/widget 0.9.2 → 0.9.3

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 (132) hide show
  1. package/dist/AddClientCallout-746899d9.js +57 -0
  2. package/dist/{AnswerModal-8f918a49.js → AnswerModal-fdfea0f8.js} +7 -5
  3. package/dist/{AttachmentItem-79618446.js → AttachmentItem-5671c64d.js} +5 -7
  4. package/dist/BaseDatePicker-a9240306.js +3156 -0
  5. package/dist/{BaseInput-9f376e4e.js → BaseInput-d3c3688b.js} +4 -4
  6. package/dist/{BaseUpload-9a3d655d.js → BaseUpload-8e7a2b72.js} +3 -3
  7. package/dist/BlockMedia-b613a2a4.js +72 -0
  8. package/dist/CCallout-e9ff903a.js +52 -0
  9. package/dist/CDropdownItem-05d84f95.js +610 -0
  10. package/dist/CField-cd4dcae9.js +183 -0
  11. package/dist/CField.vue_vue_type_style_index_0_lang-4ed993c7.js +1 -0
  12. package/dist/CSlider.vue_vue_type_style_index_0_lang-383db616.js +83 -0
  13. package/dist/ClientAutocomplete-421a2216.js +80 -0
  14. package/dist/ClientModal-11341b1c.js +547 -0
  15. package/dist/ColorPicker-f90939b5.js +2881 -0
  16. package/dist/{CompanyModal-5dfa4486.js → CompanyModal-2bfd21b8.js} +12 -11
  17. package/dist/{ContentWrapper-3ac57cb2.js → ContentWrapper-4aae35b2.js} +21 -14
  18. package/dist/{CoverBlockSettings-323ef519.js → CoverBlockSettings-1f917be3.js} +7 -7
  19. package/dist/DocForm-0891c6b2.js +6767 -0
  20. package/dist/DocFormSend-2b35999d.js +135 -0
  21. package/dist/{DocModalBase-4058a890.js → DocModalBase-225e2f2d.js} +1 -1
  22. package/dist/{DocReceipt-390f75e3.js → DocReceipt-1391c17a.js} +1 -1
  23. package/dist/{DocSendReminder-afc52d3d.js → DocSendReminder-c488842d.js} +1 -1
  24. package/dist/{DocTextEditor-0be1aea9.js → DocTextEditor-2538e1ab.js} +16 -12
  25. package/dist/{DocTimeline-c421dead.js → DocTimeline-69ada0de.js} +11 -11
  26. package/dist/DocumentClient-74b8f25b.js +145 -0
  27. package/dist/{DocumentLogotype-5230c7bd.js → DocumentLogotype-e89b53fb.js} +3 -3
  28. package/dist/{EmbedInput-8092d310.js → EmbedInput-b7fefe5e.js} +10 -11
  29. package/dist/{EmbedSettings-bbea9894.js → EmbedSettings-4957252f.js} +10 -11
  30. package/dist/ErrorCallout-42e45ec0.js +30 -0
  31. package/dist/{FilePreviewModal-67088d0f.js → FilePreviewModal-75693619.js} +6 -7
  32. package/dist/FormInputRow-09d450e3.js +2045 -0
  33. package/dist/{HeaderSettings-e02a5832.js → HeaderSettings-9b69eada.js} +23 -19
  34. package/dist/{ImageSelectModal-a9912356.js → ImageSelectModal-94d4dc7f.js} +20 -18
  35. package/dist/{ImageUploadWrapper-1310e96e.js → ImageUploadWrapper-a144b042.js} +2 -2
  36. package/dist/{Index-d3e59202.js → Index-00ef9241.js} +10 -10
  37. package/dist/{Index-e30b3de9.js → Index-023c3119.js} +6 -7
  38. package/dist/{Index-9cd881f2.js → Index-1bafafca.js} +2 -2
  39. package/dist/{Index-26f9a008.js → Index-2cb8fa22.js} +73 -118
  40. package/dist/{Index-faeeff50.js → Index-304c45be.js} +21 -16
  41. package/dist/{Index-e1bd4ea9.js → Index-35387450.js} +52 -42
  42. package/dist/Index-37a9183b.js +28 -0
  43. package/dist/{Index-0a22673f.js → Index-3dff19dd.js} +7 -7
  44. package/dist/{Index-f3eae2af.js → Index-3ee2e944.js} +2 -2
  45. package/dist/{Index-15591118.js → Index-42e26b46.js} +11 -11
  46. package/dist/{Index-2b684213.js → Index-4440fe3d.js} +6 -7
  47. package/dist/{Index-17e60907.js → Index-4563d3fa.js} +33 -31
  48. package/dist/{Index-648a786a.js → Index-53da7be8.js} +3 -3
  49. package/dist/{Index-6ee090c3.js → Index-62936c19.js} +16 -17
  50. package/dist/{Index-0ac00646.js → Index-693005f0.js} +6 -7
  51. package/dist/{Index-2d5fe047.js → Index-78f13416.js} +6 -7
  52. package/dist/{Index-6df9883f.js → Index-90492f19.js} +5 -6
  53. package/dist/{Index-28c78ddc.js → Index-96f39afc.js} +6 -7
  54. package/dist/{Index-90566113.js → Index-97d1f2f3.js} +8 -8
  55. package/dist/{Index-876daf3e.js → Index-9a243eb8.js} +2 -2
  56. package/dist/{Index-ca8aedde.js → Index-9ffe9766.js} +11 -12
  57. package/dist/{Index-8a22c5cd.js → Index-a37beb03.js} +1 -1
  58. package/dist/{Index-35f3bca9.js → Index-a554b58c.js} +6 -7
  59. package/dist/{Index-d02a530a.js → Index-a86ea774.js} +8 -9
  60. package/dist/{Index-d11146a6.js → Index-abb8c6e4.js} +6 -6
  61. package/dist/{Index-f4bb1f71.js → Index-b7def77a.js} +8 -9
  62. package/dist/{Index-f03edd3d.js → Index-bcc478b3.js} +7 -8
  63. package/dist/{Index-57ce8eee.js → Index-cec7d4f1.js} +22 -15
  64. package/dist/{Index-87497c7c.js → Index-d68a28da.js} +7 -7
  65. package/dist/{Index-de45c9c3.js → Index-dbe97658.js} +2 -2
  66. package/dist/{Index-a9ed7c39.js → Index-ec8d534f.js} +4 -6
  67. package/dist/{Index-0d81bade.js → Index-f2b66b79.js} +6 -7
  68. package/dist/{Index-1ae93acd.js → Index-f453850f.js} +6 -7
  69. package/dist/{Index-1f966c82.js → Index-f9b5f03c.js} +27 -20
  70. package/dist/{InputToggleRow-c58dde03.js → InputToggleRow-68320d9f.js} +1 -1
  71. package/dist/IsPremiumPreStep-0c7032a3.js +1919 -0
  72. package/dist/{MediaWrapper-afc29574.js → MediaWrapper-c50879c2.js} +4 -4
  73. package/dist/{NotBindingText-e3a49f8a.js → NotBindingText-8f2d9244.js} +2 -2
  74. package/dist/{PackageGroup-150a9942.js → PackageGroup-2c49e99b.js} +24 -17
  75. package/dist/{PdfTerms-fcc835f4.js → PdfTerms-94153a5f.js} +6 -7
  76. package/dist/{PdfViewer-b1118475.js → PdfViewer-701ad40e.js} +2 -2
  77. package/dist/{PlainHtml-47791667.js → PlainHtml-04a6d7f9.js} +1 -1
  78. package/dist/PriceHeader-7f92d5a7.js +336 -0
  79. package/dist/SearchApi-ffe5b697.js +148 -0
  80. package/dist/{TermsSettings-c97df867.js → TermsSettings-b1bf19e9.js} +6 -6
  81. package/dist/{ThemeColorRow-014a0526.js → ThemeColorRow-913497f6.js} +7 -6
  82. package/dist/{ToggleBinding-342beacc.js → ToggleBinding-6518935d.js} +8 -9
  83. package/dist/{UploadModal-aed5f8c9.js → UploadModal-3c399d25.js} +21 -22
  84. package/dist/{VideoPlayerInput-7ebb49d7.js → VideoPlayerInput-b54845a4.js} +5 -6
  85. package/dist/{VideoPlayerSettings-0a027a8e.js → VideoPlayerSettings-496e9e79.js} +13 -14
  86. package/dist/{VideoSelectModal-5c1a8ddc.js → VideoSelectModal-3a566398.js} +10 -10
  87. package/dist/anime.es-e284c852.js +858 -0
  88. package/dist/answerDocumentMixin-0e5e4dbb.js +54 -0
  89. package/dist/color-71c20583.js +15 -0
  90. package/dist/{cssMode-b59b5164.js → cssMode-c0865919.js} +15 -14
  91. package/dist/focusDrawerMixin-298861bc.js +68 -0
  92. package/dist/formComponentsInstall-1be6791d.js +2491 -0
  93. package/dist/formValidationMixin-df38771c.js +4984 -0
  94. package/dist/{freemarker2-5b426d60.js → freemarker2-85dde97c.js} +19 -18
  95. package/dist/{handlebars-9a256dec.js → handlebars-6aa1e52b.js} +18 -17
  96. package/dist/{html-4322f199.js → html-f0c735cd.js} +14 -13
  97. package/dist/{htmlMode-d8a0ed16.js → htmlMode-7b3bd7c9.js} +19 -18
  98. package/dist/{index-7359c27c.js → index-1ef6f423.js} +21 -15
  99. package/dist/index-30808a2c.js +490 -0
  100. package/dist/{index-c2f8c4f3.js → index-431938de.js} +13 -12
  101. package/dist/index-6d08eac3.js +14 -0
  102. package/dist/index-805c56e4.js +4 -0
  103. package/dist/index.es.js +3 -3
  104. package/dist/index.umd.js +713 -600
  105. package/dist/{javascript-7f9828c0.js → javascript-9c54ad9e.js} +11 -10
  106. package/dist/{jsonMode-e07cde60.js → jsonMode-1d1176fa.js} +19 -18
  107. package/dist/{liquid-b47f65fb.js → liquid-0738c73d.js} +11 -10
  108. package/dist/{main-154fab72.js → main-2d9b8259.js} +19557 -20415
  109. package/dist/mapFormMixin-308bbdab.js +66 -0
  110. package/dist/{publicSenderState-51ca0439.js → publicSenderState-9eecb11f.js} +1 -1
  111. package/dist/{python-f3873309.js → python-588c9e64.js} +11 -10
  112. package/dist/{razor-4071ec1b.js → razor-fbaa1d21.js} +14 -13
  113. package/dist/regions-29ee6964.js +1250 -0
  114. package/dist/simplebar.min-75960401.js +2429 -0
  115. package/dist/style.css +4 -0
  116. package/dist/template-b877debf.js +526 -0
  117. package/dist/throttle-d7bed81a.js +18 -0
  118. package/dist/tinycolor-ef496244.js +634 -0
  119. package/dist/{tsMode-71160e05.js → tsMode-c1de8e10.js} +15 -14
  120. package/dist/{typescript-80a61e6a.js → typescript-737827aa.js} +11 -10
  121. package/dist/{utils-72915af5.js → utils-69c41ae9.js} +5 -5
  122. package/dist/vuedraggable.umd-67b8cddf.js +3179 -0
  123. package/dist/{xml-021490f1.js → xml-30e811a1.js} +11 -10
  124. package/package.json +3 -2
  125. package/stats.html +1 -1
  126. package/dist/DocForm-5ff2cbbb.js +0 -22074
  127. package/dist/DocFormSend-06ffa19c.js +0 -113
  128. package/dist/Index-2b5c1367.js +0 -29
  129. package/dist/PriceHeader-1dfa95fd.js +0 -329
  130. package/dist/formComponentsInstall-e33d6795.js +0 -11121
  131. package/dist/index-51b2742c.js +0 -11
  132. package/dist/throttle-f479e1f1.js +0 -18
@@ -0,0 +1,2045 @@
1
+ import { C as mr } from "./ColorPicker-f90939b5.js";
2
+ import { F as hr } from "./formValidationMixin-df38771c.js";
3
+ import { C as gr, b as yr } from "./CDropdownItem-05d84f95.js";
4
+ import { n as Wt, l as br, aD as Ct } from "./main-2d9b8259.js";
5
+ import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-383db616.js";
6
+ const xr = {
7
+ AED: "United Arab Emirates Dirham",
8
+ AFN: "Afghan Afghani",
9
+ ALL: "Albanian Lek",
10
+ AMD: "Armenian Dram",
11
+ ANG: "Netherlands Antillean Guilder",
12
+ AOA: "Angolan Kwanza",
13
+ ARS: "Argentine Peso",
14
+ AUD: "Australian Dollar",
15
+ AWG: "Aruban Florin",
16
+ AZN: "Azerbaijani Manat",
17
+ BAM: "Bosnia-Herzegovina Convertible Mark",
18
+ BBD: "Barbadian Dollar",
19
+ BDT: "Bangladeshi Taka",
20
+ BGN: "Bulgarian Lev",
21
+ BHD: "Bahraini Dinar",
22
+ BIF: "Burundian Franc",
23
+ BMD: "Bermudan Dollar",
24
+ BND: "Brunei Dollar",
25
+ BOB: "Bolivian Boliviano",
26
+ BRL: "Brazilian Real",
27
+ BSD: "Bahamian Dollar",
28
+ BTC: "Bitcoin",
29
+ BTN: "Bhutanese Ngultrum",
30
+ BWP: "Botswanan Pula",
31
+ BYN: "Belarusian Ruble",
32
+ BZD: "Belize Dollar",
33
+ CAD: "Canadian Dollar",
34
+ CDF: "Congolese Franc",
35
+ CHF: "Swiss Franc",
36
+ CLF: "Chilean Unit of Account (UF)",
37
+ CLP: "Chilean Peso",
38
+ CNH: "Chinese Yuan (Offshore)",
39
+ CNY: "Chinese Yuan",
40
+ COP: "Colombian Peso",
41
+ CRC: "Costa Rican Colón",
42
+ CUC: "Cuban Convertible Peso",
43
+ CUP: "Cuban Peso",
44
+ CVE: "Cape Verdean Escudo",
45
+ CZK: "Czech Republic Koruna",
46
+ DJF: "Djiboutian Franc",
47
+ DKK: "Danish Krone",
48
+ DOP: "Dominican Peso",
49
+ DZD: "Algerian Dinar",
50
+ EGP: "Egyptian Pound",
51
+ ERN: "Eritrean Nakfa",
52
+ ETB: "Ethiopian Birr",
53
+ EUR: "Euro",
54
+ FJD: "Fijian Dollar",
55
+ FKP: "Falkland Islands Pound",
56
+ GBP: "British Pound Sterling",
57
+ GEL: "Georgian Lari",
58
+ GGP: "Guernsey Pound",
59
+ GHS: "Ghanaian Cedi",
60
+ GIP: "Gibraltar Pound",
61
+ GMD: "Gambian Dalasi",
62
+ GNF: "Guinean Franc",
63
+ GTQ: "Guatemalan Quetzal",
64
+ GYD: "Guyanaese Dollar",
65
+ HKD: "Hong Kong Dollar",
66
+ HNL: "Honduran Lempira",
67
+ HRK: "Croatian Kuna",
68
+ HTG: "Haitian Gourde",
69
+ HUF: "Hungarian Forint",
70
+ IDR: "Indonesian Rupiah",
71
+ ILS: "Israeli New Sheqel",
72
+ IMP: "Manx pound",
73
+ INR: "Indian Rupee",
74
+ IQD: "Iraqi Dinar",
75
+ IRR: "Iranian Rial",
76
+ ISK: "Icelandic Króna",
77
+ JEP: "Jersey Pound",
78
+ JMD: "Jamaican Dollar",
79
+ JOD: "Jordanian Dinar",
80
+ JPY: "Japanese Yen",
81
+ KES: "Kenyan Shilling",
82
+ KGS: "Kyrgystani Som",
83
+ KHR: "Cambodian Riel",
84
+ KMF: "Comorian Franc",
85
+ KPW: "North Korean Won",
86
+ KRW: "South Korean Won",
87
+ KWD: "Kuwaiti Dinar",
88
+ KYD: "Cayman Islands Dollar",
89
+ KZT: "Kazakhstani Tenge",
90
+ LAK: "Laotian Kip",
91
+ LBP: "Lebanese Pound",
92
+ LKR: "Sri Lankan Rupee",
93
+ LRD: "Liberian Dollar",
94
+ LSL: "Lesotho Loti",
95
+ LYD: "Libyan Dinar",
96
+ MAD: "Moroccan Dirham",
97
+ MDL: "Moldovan Leu",
98
+ MGA: "Malagasy Ariary",
99
+ MKD: "Macedonian Denar",
100
+ MMK: "Myanma Kyat",
101
+ MNT: "Mongolian Tugrik",
102
+ MOP: "Macanese Pataca",
103
+ MRO: "Mauritanian Ouguiya (pre-2018)",
104
+ MRU: "Mauritanian Ouguiya",
105
+ MUR: "Mauritian Rupee",
106
+ MVR: "Maldivian Rufiyaa",
107
+ MWK: "Malawian Kwacha",
108
+ MXN: "Mexican Peso",
109
+ MYR: "Malaysian Ringgit",
110
+ MZN: "Mozambican Metical",
111
+ NAD: "Namibian Dollar",
112
+ NGN: "Nigerian Naira",
113
+ NIO: "Nicaraguan Córdoba",
114
+ NOK: "Norwegian Krone",
115
+ NPR: "Nepalese Rupee",
116
+ NZD: "New Zealand Dollar",
117
+ OMR: "Omani Rial",
118
+ PAB: "Panamanian Balboa",
119
+ PEN: "Peruvian Nuevo Sol",
120
+ PGK: "Papua New Guinean Kina",
121
+ PHP: "Philippine Peso",
122
+ PKR: "Pakistani Rupee",
123
+ PLN: "Polish Zloty",
124
+ PYG: "Paraguayan Guarani",
125
+ QAR: "Qatari Rial",
126
+ RON: "Romanian Leu",
127
+ RSD: "Serbian Dinar",
128
+ RUB: "Russian Ruble",
129
+ RWF: "Rwandan Franc",
130
+ SAR: "Saudi Riyal",
131
+ SBD: "Solomon Islands Dollar",
132
+ SCR: "Seychellois Rupee",
133
+ SDG: "Sudanese Pound",
134
+ SEK: "Swedish Krona",
135
+ SGD: "Singapore Dollar",
136
+ SHP: "Saint Helena Pound",
137
+ SLL: "Sierra Leonean Leone",
138
+ SOS: "Somali Shilling",
139
+ SRD: "Surinamese Dollar",
140
+ SSP: "South Sudanese Pound",
141
+ STD: "São Tomé and Príncipe Dobra (pre-2018)",
142
+ STN: "São Tomé and Príncipe Dobra",
143
+ SVC: "Salvadoran Colón",
144
+ SYP: "Syrian Pound",
145
+ SZL: "Swazi Lilangeni",
146
+ THB: "Thai Baht",
147
+ TJS: "Tajikistani Somoni",
148
+ TMT: "Turkmenistani Manat",
149
+ TND: "Tunisian Dinar",
150
+ TOP: "Tongan Pa'anga",
151
+ TRY: "Turkish Lira",
152
+ TTD: "Trinidad and Tobago Dollar",
153
+ TWD: "New Taiwan Dollar",
154
+ TZS: "Tanzanian Shilling",
155
+ UAH: "Ukrainian Hryvnia",
156
+ UGX: "Ugandan Shilling",
157
+ USD: "United States Dollar",
158
+ UYU: "Uruguayan Peso",
159
+ UZS: "Uzbekistan Som",
160
+ VEF: "Venezuelan Bolívar Fuerte (Old)",
161
+ VES: "Venezuelan Bolívar Soberano",
162
+ VND: "Vietnamese Dong",
163
+ VUV: "Vanuatu Vatu",
164
+ WST: "Samoan Tala",
165
+ XAF: "CFA Franc BEAC",
166
+ XCD: "East Caribbean Dollar",
167
+ XOF: "CFA Franc BCEAO",
168
+ XPF: "CFP Franc",
169
+ YER: "Yemeni Rial",
170
+ ZAR: "South African Rand",
171
+ ZMW: "Zambian Kwacha",
172
+ ZWL: "Zimbabwean Dollar"
173
+ };
174
+ var j = "top", z = "bottom", G = "right", $ = "left", mt = "auto", je = [j, z, G, $], Oe = "start", Ne = "end", Dr = "clippingParents", Kt = "viewport", Me = "popper", Or = "reference", St = /* @__PURE__ */ je.reduce(function(t, e) {
175
+ return t.concat([e + "-" + Oe, e + "-" + Ne]);
176
+ }, []), zt = /* @__PURE__ */ [].concat(je, [mt]).reduce(function(t, e) {
177
+ return t.concat([e, e + "-" + Oe, e + "-" + Ne]);
178
+ }, []), Cr = "beforeRead", Sr = "read", Tr = "afterRead", Ar = "beforeMain", Er = "main", Pr = "afterMain", Rr = "beforeWrite", Lr = "write", Br = "afterWrite", Mr = [Cr, Sr, Tr, Ar, Er, Pr, Rr, Lr, Br];
179
+ function te(t) {
180
+ return t ? (t.nodeName || "").toLowerCase() : null;
181
+ }
182
+ function Y(t) {
183
+ if (t == null)
184
+ return window;
185
+ if (t.toString() !== "[object Window]") {
186
+ var e = t.ownerDocument;
187
+ return e && e.defaultView || window;
188
+ }
189
+ return t;
190
+ }
191
+ function ge(t) {
192
+ var e = Y(t).Element;
193
+ return t instanceof e || t instanceof Element;
194
+ }
195
+ function K(t) {
196
+ var e = Y(t).HTMLElement;
197
+ return t instanceof e || t instanceof HTMLElement;
198
+ }
199
+ function ht(t) {
200
+ if (typeof ShadowRoot > "u")
201
+ return !1;
202
+ var e = Y(t).ShadowRoot;
203
+ return t instanceof e || t instanceof ShadowRoot;
204
+ }
205
+ function kr(t) {
206
+ var e = t.state;
207
+ Object.keys(e.elements).forEach(function(r) {
208
+ var n = e.styles[r] || {}, a = e.attributes[r] || {}, o = e.elements[r];
209
+ !K(o) || !te(o) || (Object.assign(o.style, n), Object.keys(a).forEach(function(l) {
210
+ var c = a[l];
211
+ c === !1 ? o.removeAttribute(l) : o.setAttribute(l, c === !0 ? "" : c);
212
+ }));
213
+ });
214
+ }
215
+ function _r(t) {
216
+ var e = t.state, r = {
217
+ popper: {
218
+ position: e.options.strategy,
219
+ left: "0",
220
+ top: "0",
221
+ margin: "0"
222
+ },
223
+ arrow: {
224
+ position: "absolute"
225
+ },
226
+ reference: {}
227
+ };
228
+ return Object.assign(e.elements.popper.style, r.popper), e.styles = r, e.elements.arrow && Object.assign(e.elements.arrow.style, r.arrow), function() {
229
+ Object.keys(e.elements).forEach(function(n) {
230
+ var a = e.elements[n], o = e.attributes[n] || {}, l = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : r[n]), c = l.reduce(function(u, f) {
231
+ return u[f] = "", u;
232
+ }, {});
233
+ !K(a) || !te(a) || (Object.assign(a.style, c), Object.keys(o).forEach(function(u) {
234
+ a.removeAttribute(u);
235
+ }));
236
+ });
237
+ };
238
+ }
239
+ const Gt = {
240
+ name: "applyStyles",
241
+ enabled: !0,
242
+ phase: "write",
243
+ fn: kr,
244
+ effect: _r,
245
+ requires: ["computeStyles"]
246
+ };
247
+ function ee(t) {
248
+ return t.split("-")[0];
249
+ }
250
+ var he = Math.max, tt = Math.min, Ce = Math.round;
251
+ function pt() {
252
+ var t = navigator.userAgentData;
253
+ return t != null && t.brands ? t.brands.map(function(e) {
254
+ return e.brand + "/" + e.version;
255
+ }).join(" ") : navigator.userAgent;
256
+ }
257
+ function Yt() {
258
+ return !/^((?!chrome|android).)*safari/i.test(pt());
259
+ }
260
+ function Se(t, e, r) {
261
+ e === void 0 && (e = !1), r === void 0 && (r = !1);
262
+ var n = t.getBoundingClientRect(), a = 1, o = 1;
263
+ e && K(t) && (a = t.offsetWidth > 0 && Ce(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Ce(n.height) / t.offsetHeight || 1);
264
+ var l = ge(t) ? Y(t) : window, c = l.visualViewport, u = !Yt() && r, f = (n.left + (u && c ? c.offsetLeft : 0)) / a, p = (n.top + (u && c ? c.offsetTop : 0)) / o, b = n.width / a, x = n.height / o;
265
+ return {
266
+ width: b,
267
+ height: x,
268
+ top: p,
269
+ right: f + b,
270
+ bottom: p + x,
271
+ left: f,
272
+ x: f,
273
+ y: p
274
+ };
275
+ }
276
+ function gt(t) {
277
+ var e = Se(t), r = t.offsetWidth, n = t.offsetHeight;
278
+ return Math.abs(e.width - r) <= 1 && (r = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), {
279
+ x: t.offsetLeft,
280
+ y: t.offsetTop,
281
+ width: r,
282
+ height: n
283
+ };
284
+ }
285
+ function qt(t, e) {
286
+ var r = e.getRootNode && e.getRootNode();
287
+ if (t.contains(e))
288
+ return !0;
289
+ if (r && ht(r)) {
290
+ var n = e;
291
+ do {
292
+ if (n && t.isSameNode(n))
293
+ return !0;
294
+ n = n.parentNode || n.host;
295
+ } while (n);
296
+ }
297
+ return !1;
298
+ }
299
+ function oe(t) {
300
+ return Y(t).getComputedStyle(t);
301
+ }
302
+ function Ir(t) {
303
+ return ["table", "td", "th"].indexOf(te(t)) >= 0;
304
+ }
305
+ function ce(t) {
306
+ return ((ge(t) ? t.ownerDocument : (
307
+ // $FlowFixMe[prop-missing]
308
+ t.document
309
+ )) || window.document).documentElement;
310
+ }
311
+ function nt(t) {
312
+ return te(t) === "html" ? t : (
313
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
314
+ // $FlowFixMe[incompatible-return]
315
+ // $FlowFixMe[prop-missing]
316
+ t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
317
+ t.parentNode || // DOM Element detected
318
+ (ht(t) ? t.host : null) || // ShadowRoot detected
319
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
320
+ ce(t)
321
+ );
322
+ }
323
+ function Tt(t) {
324
+ return !K(t) || // https://github.com/popperjs/popper-core/issues/837
325
+ oe(t).position === "fixed" ? null : t.offsetParent;
326
+ }
327
+ function Nr(t) {
328
+ var e = /firefox/i.test(pt()), r = /Trident/i.test(pt());
329
+ if (r && K(t)) {
330
+ var n = oe(t);
331
+ if (n.position === "fixed")
332
+ return null;
333
+ }
334
+ var a = nt(t);
335
+ for (ht(a) && (a = a.host); K(a) && ["html", "body"].indexOf(te(a)) < 0; ) {
336
+ var o = oe(a);
337
+ if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
338
+ return a;
339
+ a = a.parentNode;
340
+ }
341
+ return null;
342
+ }
343
+ function $e(t) {
344
+ for (var e = Y(t), r = Tt(t); r && Ir(r) && oe(r).position === "static"; )
345
+ r = Tt(r);
346
+ return r && (te(r) === "html" || te(r) === "body" && oe(r).position === "static") ? e : r || Nr(t) || e;
347
+ }
348
+ function yt(t) {
349
+ return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
350
+ }
351
+ function ke(t, e, r) {
352
+ return he(t, tt(e, r));
353
+ }
354
+ function Fr(t, e, r) {
355
+ var n = ke(t, e, r);
356
+ return n > r ? r : n;
357
+ }
358
+ function Xt() {
359
+ return {
360
+ top: 0,
361
+ right: 0,
362
+ bottom: 0,
363
+ left: 0
364
+ };
365
+ }
366
+ function Zt(t) {
367
+ return Object.assign({}, Xt(), t);
368
+ }
369
+ function Jt(t, e) {
370
+ return e.reduce(function(r, n) {
371
+ return r[n] = t, r;
372
+ }, {});
373
+ }
374
+ var jr = function(e, r) {
375
+ return e = typeof e == "function" ? e(Object.assign({}, r.rects, {
376
+ placement: r.placement
377
+ })) : e, Zt(typeof e != "number" ? e : Jt(e, je));
378
+ };
379
+ function $r(t) {
380
+ var e, r = t.state, n = t.name, a = t.options, o = r.elements.arrow, l = r.modifiersData.popperOffsets, c = ee(r.placement), u = yt(c), f = [$, G].indexOf(c) >= 0, p = f ? "height" : "width";
381
+ if (!(!o || !l)) {
382
+ var b = jr(a.padding, r), x = gt(o), h = u === "y" ? j : $, D = u === "y" ? z : G, w = r.rects.reference[p] + r.rects.reference[u] - l[u] - r.rects.popper[p], d = l[u] - r.rects.reference[u], g = $e(o), O = g ? u === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, C = w / 2 - d / 2, i = b[h], S = O - x[p] - b[D], m = O / 2 - x[p] / 2 + C, E = ke(i, m, S), M = u;
383
+ r.modifiersData[n] = (e = {}, e[M] = E, e.centerOffset = E - m, e);
384
+ }
385
+ }
386
+ function Vr(t) {
387
+ var e = t.state, r = t.options, n = r.element, a = n === void 0 ? "[data-popper-arrow]" : n;
388
+ a != null && (typeof a == "string" && (a = e.elements.popper.querySelector(a), !a) || qt(e.elements.popper, a) && (e.elements.arrow = a));
389
+ }
390
+ const Hr = {
391
+ name: "arrow",
392
+ enabled: !0,
393
+ phase: "main",
394
+ fn: $r,
395
+ effect: Vr,
396
+ requires: ["popperOffsets"],
397
+ requiresIfExists: ["preventOverflow"]
398
+ };
399
+ function Te(t) {
400
+ return t.split("-")[1];
401
+ }
402
+ var Ur = {
403
+ top: "auto",
404
+ right: "auto",
405
+ bottom: "auto",
406
+ left: "auto"
407
+ };
408
+ function Wr(t) {
409
+ var e = t.x, r = t.y, n = window, a = n.devicePixelRatio || 1;
410
+ return {
411
+ x: Ce(e * a) / a || 0,
412
+ y: Ce(r * a) / a || 0
413
+ };
414
+ }
415
+ function At(t) {
416
+ var e, r = t.popper, n = t.popperRect, a = t.placement, o = t.variation, l = t.offsets, c = t.position, u = t.gpuAcceleration, f = t.adaptive, p = t.roundOffsets, b = t.isFixed, x = l.x, h = x === void 0 ? 0 : x, D = l.y, w = D === void 0 ? 0 : D, d = typeof p == "function" ? p({
417
+ x: h,
418
+ y: w
419
+ }) : {
420
+ x: h,
421
+ y: w
422
+ };
423
+ h = d.x, w = d.y;
424
+ var g = l.hasOwnProperty("x"), O = l.hasOwnProperty("y"), C = $, i = j, S = window;
425
+ if (f) {
426
+ var m = $e(r), E = "clientHeight", M = "clientWidth";
427
+ if (m === Y(r) && (m = ce(r), oe(m).position !== "static" && c === "absolute" && (E = "scrollHeight", M = "scrollWidth")), m = m, a === j || (a === $ || a === G) && o === Ne) {
428
+ i = z;
429
+ var B = b && m === S && S.visualViewport ? S.visualViewport.height : (
430
+ // $FlowFixMe[prop-missing]
431
+ m[E]
432
+ );
433
+ w -= B - n.height, w *= u ? 1 : -1;
434
+ }
435
+ if (a === $ || (a === j || a === z) && o === Ne) {
436
+ C = G;
437
+ var R = b && m === S && S.visualViewport ? S.visualViewport.width : (
438
+ // $FlowFixMe[prop-missing]
439
+ m[M]
440
+ );
441
+ h -= R - n.width, h *= u ? 1 : -1;
442
+ }
443
+ }
444
+ var k = Object.assign({
445
+ position: c
446
+ }, f && Ur), L = p === !0 ? Wr({
447
+ x: h,
448
+ y: w
449
+ }) : {
450
+ x: h,
451
+ y: w
452
+ };
453
+ if (h = L.x, w = L.y, u) {
454
+ var P;
455
+ return Object.assign({}, k, (P = {}, P[i] = O ? "0" : "", P[C] = g ? "0" : "", P.transform = (S.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + w + "px)" : "translate3d(" + h + "px, " + w + "px, 0)", P));
456
+ }
457
+ return Object.assign({}, k, (e = {}, e[i] = O ? w + "px" : "", e[C] = g ? h + "px" : "", e.transform = "", e));
458
+ }
459
+ function Kr(t) {
460
+ var e = t.state, r = t.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n, o = r.adaptive, l = o === void 0 ? !0 : o, c = r.roundOffsets, u = c === void 0 ? !0 : c, f = {
461
+ placement: ee(e.placement),
462
+ variation: Te(e.placement),
463
+ popper: e.elements.popper,
464
+ popperRect: e.rects.popper,
465
+ gpuAcceleration: a,
466
+ isFixed: e.options.strategy === "fixed"
467
+ };
468
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, At(Object.assign({}, f, {
469
+ offsets: e.modifiersData.popperOffsets,
470
+ position: e.options.strategy,
471
+ adaptive: l,
472
+ roundOffsets: u
473
+ })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, At(Object.assign({}, f, {
474
+ offsets: e.modifiersData.arrow,
475
+ position: "absolute",
476
+ adaptive: !1,
477
+ roundOffsets: u
478
+ })))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
479
+ "data-popper-placement": e.placement
480
+ });
481
+ }
482
+ const zr = {
483
+ name: "computeStyles",
484
+ enabled: !0,
485
+ phase: "beforeWrite",
486
+ fn: Kr,
487
+ data: {}
488
+ };
489
+ var Je = {
490
+ passive: !0
491
+ };
492
+ function Gr(t) {
493
+ var e = t.state, r = t.instance, n = t.options, a = n.scroll, o = a === void 0 ? !0 : a, l = n.resize, c = l === void 0 ? !0 : l, u = Y(e.elements.popper), f = [].concat(e.scrollParents.reference, e.scrollParents.popper);
494
+ return o && f.forEach(function(p) {
495
+ p.addEventListener("scroll", r.update, Je);
496
+ }), c && u.addEventListener("resize", r.update, Je), function() {
497
+ o && f.forEach(function(p) {
498
+ p.removeEventListener("scroll", r.update, Je);
499
+ }), c && u.removeEventListener("resize", r.update, Je);
500
+ };
501
+ }
502
+ const Yr = {
503
+ name: "eventListeners",
504
+ enabled: !0,
505
+ phase: "write",
506
+ fn: function() {
507
+ },
508
+ effect: Gr,
509
+ data: {}
510
+ };
511
+ var qr = {
512
+ left: "right",
513
+ right: "left",
514
+ bottom: "top",
515
+ top: "bottom"
516
+ };
517
+ function et(t) {
518
+ return t.replace(/left|right|bottom|top/g, function(e) {
519
+ return qr[e];
520
+ });
521
+ }
522
+ var Xr = {
523
+ start: "end",
524
+ end: "start"
525
+ };
526
+ function Et(t) {
527
+ return t.replace(/start|end/g, function(e) {
528
+ return Xr[e];
529
+ });
530
+ }
531
+ function bt(t) {
532
+ var e = Y(t), r = e.pageXOffset, n = e.pageYOffset;
533
+ return {
534
+ scrollLeft: r,
535
+ scrollTop: n
536
+ };
537
+ }
538
+ function wt(t) {
539
+ return Se(ce(t)).left + bt(t).scrollLeft;
540
+ }
541
+ function Zr(t, e) {
542
+ var r = Y(t), n = ce(t), a = r.visualViewport, o = n.clientWidth, l = n.clientHeight, c = 0, u = 0;
543
+ if (a) {
544
+ o = a.width, l = a.height;
545
+ var f = Yt();
546
+ (f || !f && e === "fixed") && (c = a.offsetLeft, u = a.offsetTop);
547
+ }
548
+ return {
549
+ width: o,
550
+ height: l,
551
+ x: c + wt(t),
552
+ y: u
553
+ };
554
+ }
555
+ function Jr(t) {
556
+ var e, r = ce(t), n = bt(t), a = (e = t.ownerDocument) == null ? void 0 : e.body, o = he(r.scrollWidth, r.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), l = he(r.scrollHeight, r.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), c = -n.scrollLeft + wt(t), u = -n.scrollTop;
557
+ return oe(a || r).direction === "rtl" && (c += he(r.clientWidth, a ? a.clientWidth : 0) - o), {
558
+ width: o,
559
+ height: l,
560
+ x: c,
561
+ y: u
562
+ };
563
+ }
564
+ function xt(t) {
565
+ var e = oe(t), r = e.overflow, n = e.overflowX, a = e.overflowY;
566
+ return /auto|scroll|overlay|hidden/.test(r + a + n);
567
+ }
568
+ function Qt(t) {
569
+ return ["html", "body", "#document"].indexOf(te(t)) >= 0 ? t.ownerDocument.body : K(t) && xt(t) ? t : Qt(nt(t));
570
+ }
571
+ function _e(t, e) {
572
+ var r;
573
+ e === void 0 && (e = []);
574
+ var n = Qt(t), a = n === ((r = t.ownerDocument) == null ? void 0 : r.body), o = Y(n), l = a ? [o].concat(o.visualViewport || [], xt(n) ? n : []) : n, c = e.concat(l);
575
+ return a ? c : (
576
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
577
+ c.concat(_e(nt(l)))
578
+ );
579
+ }
580
+ function ft(t) {
581
+ return Object.assign({}, t, {
582
+ left: t.x,
583
+ top: t.y,
584
+ right: t.x + t.width,
585
+ bottom: t.y + t.height
586
+ });
587
+ }
588
+ function Qr(t, e) {
589
+ var r = Se(t, !1, e === "fixed");
590
+ return r.top = r.top + t.clientTop, r.left = r.left + t.clientLeft, r.bottom = r.top + t.clientHeight, r.right = r.left + t.clientWidth, r.width = t.clientWidth, r.height = t.clientHeight, r.x = r.left, r.y = r.top, r;
591
+ }
592
+ function Pt(t, e, r) {
593
+ return e === Kt ? ft(Zr(t, r)) : ge(e) ? Qr(e, r) : ft(Jr(ce(t)));
594
+ }
595
+ function en(t) {
596
+ var e = _e(nt(t)), r = ["absolute", "fixed"].indexOf(oe(t).position) >= 0, n = r && K(t) ? $e(t) : t;
597
+ return ge(n) ? e.filter(function(a) {
598
+ return ge(a) && qt(a, n) && te(a) !== "body";
599
+ }) : [];
600
+ }
601
+ function tn(t, e, r, n) {
602
+ var a = e === "clippingParents" ? en(t) : [].concat(e), o = [].concat(a, [r]), l = o[0], c = o.reduce(function(u, f) {
603
+ var p = Pt(t, f, n);
604
+ return u.top = he(p.top, u.top), u.right = tt(p.right, u.right), u.bottom = tt(p.bottom, u.bottom), u.left = he(p.left, u.left), u;
605
+ }, Pt(t, l, n));
606
+ return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
607
+ }
608
+ function er(t) {
609
+ var e = t.reference, r = t.element, n = t.placement, a = n ? ee(n) : null, o = n ? Te(n) : null, l = e.x + e.width / 2 - r.width / 2, c = e.y + e.height / 2 - r.height / 2, u;
610
+ switch (a) {
611
+ case j:
612
+ u = {
613
+ x: l,
614
+ y: e.y - r.height
615
+ };
616
+ break;
617
+ case z:
618
+ u = {
619
+ x: l,
620
+ y: e.y + e.height
621
+ };
622
+ break;
623
+ case G:
624
+ u = {
625
+ x: e.x + e.width,
626
+ y: c
627
+ };
628
+ break;
629
+ case $:
630
+ u = {
631
+ x: e.x - r.width,
632
+ y: c
633
+ };
634
+ break;
635
+ default:
636
+ u = {
637
+ x: e.x,
638
+ y: e.y
639
+ };
640
+ }
641
+ var f = a ? yt(a) : null;
642
+ if (f != null) {
643
+ var p = f === "y" ? "height" : "width";
644
+ switch (o) {
645
+ case Oe:
646
+ u[f] = u[f] - (e[p] / 2 - r[p] / 2);
647
+ break;
648
+ case Ne:
649
+ u[f] = u[f] + (e[p] / 2 - r[p] / 2);
650
+ break;
651
+ }
652
+ }
653
+ return u;
654
+ }
655
+ function Fe(t, e) {
656
+ e === void 0 && (e = {});
657
+ var r = e, n = r.placement, a = n === void 0 ? t.placement : n, o = r.strategy, l = o === void 0 ? t.strategy : o, c = r.boundary, u = c === void 0 ? Dr : c, f = r.rootBoundary, p = f === void 0 ? Kt : f, b = r.elementContext, x = b === void 0 ? Me : b, h = r.altBoundary, D = h === void 0 ? !1 : h, w = r.padding, d = w === void 0 ? 0 : w, g = Zt(typeof d != "number" ? d : Jt(d, je)), O = x === Me ? Or : Me, C = t.rects.popper, i = t.elements[D ? O : x], S = tn(ge(i) ? i : i.contextElement || ce(t.elements.popper), u, p, l), m = Se(t.elements.reference), E = er({
658
+ reference: m,
659
+ element: C,
660
+ strategy: "absolute",
661
+ placement: a
662
+ }), M = ft(Object.assign({}, C, E)), B = x === Me ? M : m, R = {
663
+ top: S.top - B.top + g.top,
664
+ bottom: B.bottom - S.bottom + g.bottom,
665
+ left: S.left - B.left + g.left,
666
+ right: B.right - S.right + g.right
667
+ }, k = t.modifiersData.offset;
668
+ if (x === Me && k) {
669
+ var L = k[a];
670
+ Object.keys(R).forEach(function(P) {
671
+ var V = [G, z].indexOf(P) >= 0 ? 1 : -1, H = [j, z].indexOf(P) >= 0 ? "y" : "x";
672
+ R[P] += L[H] * V;
673
+ });
674
+ }
675
+ return R;
676
+ }
677
+ function rn(t, e) {
678
+ e === void 0 && (e = {});
679
+ var r = e, n = r.placement, a = r.boundary, o = r.rootBoundary, l = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, f = u === void 0 ? zt : u, p = Te(n), b = p ? c ? St : St.filter(function(D) {
680
+ return Te(D) === p;
681
+ }) : je, x = b.filter(function(D) {
682
+ return f.indexOf(D) >= 0;
683
+ });
684
+ x.length === 0 && (x = b);
685
+ var h = x.reduce(function(D, w) {
686
+ return D[w] = Fe(t, {
687
+ placement: w,
688
+ boundary: a,
689
+ rootBoundary: o,
690
+ padding: l
691
+ })[ee(w)], D;
692
+ }, {});
693
+ return Object.keys(h).sort(function(D, w) {
694
+ return h[D] - h[w];
695
+ });
696
+ }
697
+ function nn(t) {
698
+ if (ee(t) === mt)
699
+ return [];
700
+ var e = et(t);
701
+ return [Et(t), e, Et(e)];
702
+ }
703
+ function an(t) {
704
+ var e = t.state, r = t.options, n = t.name;
705
+ if (!e.modifiersData[n]._skip) {
706
+ for (var a = r.mainAxis, o = a === void 0 ? !0 : a, l = r.altAxis, c = l === void 0 ? !0 : l, u = r.fallbackPlacements, f = r.padding, p = r.boundary, b = r.rootBoundary, x = r.altBoundary, h = r.flipVariations, D = h === void 0 ? !0 : h, w = r.allowedAutoPlacements, d = e.options.placement, g = ee(d), O = g === d, C = u || (O || !D ? [et(d)] : nn(d)), i = [d].concat(C).reduce(function(re, q) {
707
+ return re.concat(ee(q) === mt ? rn(e, {
708
+ placement: q,
709
+ boundary: p,
710
+ rootBoundary: b,
711
+ padding: f,
712
+ flipVariations: D,
713
+ allowedAutoPlacements: w
714
+ }) : q);
715
+ }, []), S = e.rects.reference, m = e.rects.popper, E = /* @__PURE__ */ new Map(), M = !0, B = i[0], R = 0; R < i.length; R++) {
716
+ var k = i[R], L = ee(k), P = Te(k) === Oe, V = [j, z].indexOf(L) >= 0, H = V ? "width" : "height", I = Fe(e, {
717
+ placement: k,
718
+ boundary: p,
719
+ rootBoundary: b,
720
+ altBoundary: x,
721
+ padding: f
722
+ }), N = V ? P ? G : $ : P ? z : j;
723
+ S[H] > m[H] && (N = et(N));
724
+ var _ = et(N), X = [];
725
+ if (o && X.push(I[L] <= 0), c && X.push(I[N] <= 0, I[_] <= 0), X.every(function(re) {
726
+ return re;
727
+ })) {
728
+ B = k, M = !1;
729
+ break;
730
+ }
731
+ E.set(k, X);
732
+ }
733
+ if (M)
734
+ for (var Z = D ? 3 : 1, pe = function(q) {
735
+ var ne = i.find(function(ye) {
736
+ var ie = E.get(ye);
737
+ if (ie)
738
+ return ie.slice(0, q).every(function(be) {
739
+ return be;
740
+ });
741
+ });
742
+ if (ne)
743
+ return B = ne, "break";
744
+ }, J = Z; J > 0; J--) {
745
+ var fe = pe(J);
746
+ if (fe === "break")
747
+ break;
748
+ }
749
+ e.placement !== B && (e.modifiersData[n]._skip = !0, e.placement = B, e.reset = !0);
750
+ }
751
+ }
752
+ const on = {
753
+ name: "flip",
754
+ enabled: !0,
755
+ phase: "main",
756
+ fn: an,
757
+ requiresIfExists: ["offset"],
758
+ data: {
759
+ _skip: !1
760
+ }
761
+ };
762
+ function Rt(t, e, r) {
763
+ return r === void 0 && (r = {
764
+ x: 0,
765
+ y: 0
766
+ }), {
767
+ top: t.top - e.height - r.y,
768
+ right: t.right - e.width + r.x,
769
+ bottom: t.bottom - e.height + r.y,
770
+ left: t.left - e.width - r.x
771
+ };
772
+ }
773
+ function Lt(t) {
774
+ return [j, G, z, $].some(function(e) {
775
+ return t[e] >= 0;
776
+ });
777
+ }
778
+ function sn(t) {
779
+ var e = t.state, r = t.name, n = e.rects.reference, a = e.rects.popper, o = e.modifiersData.preventOverflow, l = Fe(e, {
780
+ elementContext: "reference"
781
+ }), c = Fe(e, {
782
+ altBoundary: !0
783
+ }), u = Rt(l, n), f = Rt(c, a, o), p = Lt(u), b = Lt(f);
784
+ e.modifiersData[r] = {
785
+ referenceClippingOffsets: u,
786
+ popperEscapeOffsets: f,
787
+ isReferenceHidden: p,
788
+ hasPopperEscaped: b
789
+ }, e.attributes.popper = Object.assign({}, e.attributes.popper, {
790
+ "data-popper-reference-hidden": p,
791
+ "data-popper-escaped": b
792
+ });
793
+ }
794
+ const un = {
795
+ name: "hide",
796
+ enabled: !0,
797
+ phase: "main",
798
+ requiresIfExists: ["preventOverflow"],
799
+ fn: sn
800
+ };
801
+ function ln(t, e, r) {
802
+ var n = ee(t), a = [$, j].indexOf(n) >= 0 ? -1 : 1, o = typeof r == "function" ? r(Object.assign({}, e, {
803
+ placement: t
804
+ })) : r, l = o[0], c = o[1];
805
+ return l = l || 0, c = (c || 0) * a, [$, G].indexOf(n) >= 0 ? {
806
+ x: c,
807
+ y: l
808
+ } : {
809
+ x: l,
810
+ y: c
811
+ };
812
+ }
813
+ function cn(t) {
814
+ var e = t.state, r = t.options, n = t.name, a = r.offset, o = a === void 0 ? [0, 0] : a, l = zt.reduce(function(p, b) {
815
+ return p[b] = ln(b, e.rects, o), p;
816
+ }, {}), c = l[e.placement], u = c.x, f = c.y;
817
+ e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += u, e.modifiersData.popperOffsets.y += f), e.modifiersData[n] = l;
818
+ }
819
+ const pn = {
820
+ name: "offset",
821
+ enabled: !0,
822
+ phase: "main",
823
+ requires: ["popperOffsets"],
824
+ fn: cn
825
+ };
826
+ function fn(t) {
827
+ var e = t.state, r = t.name;
828
+ e.modifiersData[r] = er({
829
+ reference: e.rects.reference,
830
+ element: e.rects.popper,
831
+ strategy: "absolute",
832
+ placement: e.placement
833
+ });
834
+ }
835
+ const dn = {
836
+ name: "popperOffsets",
837
+ enabled: !0,
838
+ phase: "read",
839
+ fn,
840
+ data: {}
841
+ };
842
+ function vn(t) {
843
+ return t === "x" ? "y" : "x";
844
+ }
845
+ function mn(t) {
846
+ var e = t.state, r = t.options, n = t.name, a = r.mainAxis, o = a === void 0 ? !0 : a, l = r.altAxis, c = l === void 0 ? !1 : l, u = r.boundary, f = r.rootBoundary, p = r.altBoundary, b = r.padding, x = r.tether, h = x === void 0 ? !0 : x, D = r.tetherOffset, w = D === void 0 ? 0 : D, d = Fe(e, {
847
+ boundary: u,
848
+ rootBoundary: f,
849
+ padding: b,
850
+ altBoundary: p
851
+ }), g = ee(e.placement), O = Te(e.placement), C = !O, i = yt(g), S = vn(i), m = e.modifiersData.popperOffsets, E = e.rects.reference, M = e.rects.popper, B = typeof w == "function" ? w(Object.assign({}, e.rects, {
852
+ placement: e.placement
853
+ })) : w, R = typeof B == "number" ? {
854
+ mainAxis: B,
855
+ altAxis: B
856
+ } : Object.assign({
857
+ mainAxis: 0,
858
+ altAxis: 0
859
+ }, B), k = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, L = {
860
+ x: 0,
861
+ y: 0
862
+ };
863
+ if (m) {
864
+ if (o) {
865
+ var P, V = i === "y" ? j : $, H = i === "y" ? z : G, I = i === "y" ? "height" : "width", N = m[i], _ = N + d[V], X = N - d[H], Z = h ? -M[I] / 2 : 0, pe = O === Oe ? E[I] : M[I], J = O === Oe ? -M[I] : -E[I], fe = e.elements.arrow, re = h && fe ? gt(fe) : {
866
+ width: 0,
867
+ height: 0
868
+ }, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Xt(), ne = q[V], ye = q[H], ie = ke(0, E[I], re[I]), be = C ? E[I] / 2 - Z - ie - ne - R.mainAxis : pe - ie - ne - R.mainAxis, se = C ? -E[I] / 2 + Z + ie + ye + R.mainAxis : J + ie + ye + R.mainAxis, we = e.elements.arrow && $e(e.elements.arrow), Ve = we ? i === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, Ee = (P = k == null ? void 0 : k[i]) != null ? P : 0, He = N + be - Ee - Ve, Ue = N + se - Ee, Pe = ke(h ? tt(_, He) : _, N, h ? he(X, Ue) : X);
869
+ m[i] = Pe, L[i] = Pe - N;
870
+ }
871
+ if (c) {
872
+ var Re, We = i === "x" ? j : $, Ke = i === "x" ? z : G, ae = m[S], ue = S === "y" ? "height" : "width", Le = ae + d[We], de = ae - d[Ke], Be = [j, $].indexOf(g) !== -1, ze = (Re = k == null ? void 0 : k[S]) != null ? Re : 0, Ge = Be ? Le : ae - E[ue] - M[ue] - ze + R.altAxis, Ye = Be ? ae + E[ue] + M[ue] - ze - R.altAxis : de, qe = h && Be ? Fr(Ge, ae, Ye) : ke(h ? Ge : Le, ae, h ? Ye : de);
873
+ m[S] = qe, L[S] = qe - ae;
874
+ }
875
+ e.modifiersData[n] = L;
876
+ }
877
+ }
878
+ const hn = {
879
+ name: "preventOverflow",
880
+ enabled: !0,
881
+ phase: "main",
882
+ fn: mn,
883
+ requiresIfExists: ["offset"]
884
+ };
885
+ function gn(t) {
886
+ return {
887
+ scrollLeft: t.scrollLeft,
888
+ scrollTop: t.scrollTop
889
+ };
890
+ }
891
+ function yn(t) {
892
+ return t === Y(t) || !K(t) ? bt(t) : gn(t);
893
+ }
894
+ function bn(t) {
895
+ var e = t.getBoundingClientRect(), r = Ce(e.width) / t.offsetWidth || 1, n = Ce(e.height) / t.offsetHeight || 1;
896
+ return r !== 1 || n !== 1;
897
+ }
898
+ function wn(t, e, r) {
899
+ r === void 0 && (r = !1);
900
+ var n = K(e), a = K(e) && bn(e), o = ce(e), l = Se(t, a, r), c = {
901
+ scrollLeft: 0,
902
+ scrollTop: 0
903
+ }, u = {
904
+ x: 0,
905
+ y: 0
906
+ };
907
+ return (n || !n && !r) && ((te(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
908
+ xt(o)) && (c = yn(e)), K(e) ? (u = Se(e, !0), u.x += e.clientLeft, u.y += e.clientTop) : o && (u.x = wt(o))), {
909
+ x: l.left + c.scrollLeft - u.x,
910
+ y: l.top + c.scrollTop - u.y,
911
+ width: l.width,
912
+ height: l.height
913
+ };
914
+ }
915
+ function xn(t) {
916
+ var e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
917
+ t.forEach(function(o) {
918
+ e.set(o.name, o);
919
+ });
920
+ function a(o) {
921
+ r.add(o.name);
922
+ var l = [].concat(o.requires || [], o.requiresIfExists || []);
923
+ l.forEach(function(c) {
924
+ if (!r.has(c)) {
925
+ var u = e.get(c);
926
+ u && a(u);
927
+ }
928
+ }), n.push(o);
929
+ }
930
+ return t.forEach(function(o) {
931
+ r.has(o.name) || a(o);
932
+ }), n;
933
+ }
934
+ function Dn(t) {
935
+ var e = xn(t);
936
+ return Mr.reduce(function(r, n) {
937
+ return r.concat(e.filter(function(a) {
938
+ return a.phase === n;
939
+ }));
940
+ }, []);
941
+ }
942
+ function On(t) {
943
+ var e;
944
+ return function() {
945
+ return e || (e = new Promise(function(r) {
946
+ Promise.resolve().then(function() {
947
+ e = void 0, r(t());
948
+ });
949
+ })), e;
950
+ };
951
+ }
952
+ function Cn(t) {
953
+ var e = t.reduce(function(r, n) {
954
+ var a = r[n.name];
955
+ return r[n.name] = a ? Object.assign({}, a, n, {
956
+ options: Object.assign({}, a.options, n.options),
957
+ data: Object.assign({}, a.data, n.data)
958
+ }) : n, r;
959
+ }, {});
960
+ return Object.keys(e).map(function(r) {
961
+ return e[r];
962
+ });
963
+ }
964
+ var Bt = {
965
+ placement: "bottom",
966
+ modifiers: [],
967
+ strategy: "absolute"
968
+ };
969
+ function Mt() {
970
+ for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
971
+ e[r] = arguments[r];
972
+ return !e.some(function(n) {
973
+ return !(n && typeof n.getBoundingClientRect == "function");
974
+ });
975
+ }
976
+ function Sn(t) {
977
+ t === void 0 && (t = {});
978
+ var e = t, r = e.defaultModifiers, n = r === void 0 ? [] : r, a = e.defaultOptions, o = a === void 0 ? Bt : a;
979
+ return function(c, u, f) {
980
+ f === void 0 && (f = o);
981
+ var p = {
982
+ placement: "bottom",
983
+ orderedModifiers: [],
984
+ options: Object.assign({}, Bt, o),
985
+ modifiersData: {},
986
+ elements: {
987
+ reference: c,
988
+ popper: u
989
+ },
990
+ attributes: {},
991
+ styles: {}
992
+ }, b = [], x = !1, h = {
993
+ state: p,
994
+ setOptions: function(g) {
995
+ var O = typeof g == "function" ? g(p.options) : g;
996
+ w(), p.options = Object.assign({}, o, p.options, O), p.scrollParents = {
997
+ reference: ge(c) ? _e(c) : c.contextElement ? _e(c.contextElement) : [],
998
+ popper: _e(u)
999
+ };
1000
+ var C = Dn(Cn([].concat(n, p.options.modifiers)));
1001
+ return p.orderedModifiers = C.filter(function(i) {
1002
+ return i.enabled;
1003
+ }), D(), h.update();
1004
+ },
1005
+ // Sync update – it will always be executed, even if not necessary. This
1006
+ // is useful for low frequency updates where sync behavior simplifies the
1007
+ // logic.
1008
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
1009
+ // prefer the async Popper#update method
1010
+ forceUpdate: function() {
1011
+ if (!x) {
1012
+ var g = p.elements, O = g.reference, C = g.popper;
1013
+ if (Mt(O, C)) {
1014
+ p.rects = {
1015
+ reference: wn(O, $e(C), p.options.strategy === "fixed"),
1016
+ popper: gt(C)
1017
+ }, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(R) {
1018
+ return p.modifiersData[R.name] = Object.assign({}, R.data);
1019
+ });
1020
+ for (var i = 0; i < p.orderedModifiers.length; i++) {
1021
+ if (p.reset === !0) {
1022
+ p.reset = !1, i = -1;
1023
+ continue;
1024
+ }
1025
+ var S = p.orderedModifiers[i], m = S.fn, E = S.options, M = E === void 0 ? {} : E, B = S.name;
1026
+ typeof m == "function" && (p = m({
1027
+ state: p,
1028
+ options: M,
1029
+ name: B,
1030
+ instance: h
1031
+ }) || p);
1032
+ }
1033
+ }
1034
+ }
1035
+ },
1036
+ // Async and optimistically optimized update – it will not be executed if
1037
+ // not necessary (debounced to run at most once-per-tick)
1038
+ update: On(function() {
1039
+ return new Promise(function(d) {
1040
+ h.forceUpdate(), d(p);
1041
+ });
1042
+ }),
1043
+ destroy: function() {
1044
+ w(), x = !0;
1045
+ }
1046
+ };
1047
+ if (!Mt(c, u))
1048
+ return h;
1049
+ h.setOptions(f).then(function(d) {
1050
+ !x && f.onFirstUpdate && f.onFirstUpdate(d);
1051
+ });
1052
+ function D() {
1053
+ p.orderedModifiers.forEach(function(d) {
1054
+ var g = d.name, O = d.options, C = O === void 0 ? {} : O, i = d.effect;
1055
+ if (typeof i == "function") {
1056
+ var S = i({
1057
+ state: p,
1058
+ name: g,
1059
+ instance: h,
1060
+ options: C
1061
+ }), m = function() {
1062
+ };
1063
+ b.push(S || m);
1064
+ }
1065
+ });
1066
+ }
1067
+ function w() {
1068
+ b.forEach(function(d) {
1069
+ return d();
1070
+ }), b = [];
1071
+ }
1072
+ return h;
1073
+ };
1074
+ }
1075
+ var Tn = [Yr, dn, zr, Gt, pn, on, hn, Hr, un], An = /* @__PURE__ */ Sn({
1076
+ defaultModifiers: Tn
1077
+ }), En = "tippy-box", tr = "tippy-content", Pn = "tippy-backdrop", rr = "tippy-arrow", nr = "tippy-svg-arrow", le = {
1078
+ passive: !0,
1079
+ capture: !0
1080
+ }, ir = function() {
1081
+ return document.body;
1082
+ };
1083
+ function st(t, e, r) {
1084
+ if (Array.isArray(t)) {
1085
+ var n = t[e];
1086
+ return n ?? (Array.isArray(r) ? r[e] : r);
1087
+ }
1088
+ return t;
1089
+ }
1090
+ function Dt(t, e) {
1091
+ var r = {}.toString.call(t);
1092
+ return r.indexOf("[object") === 0 && r.indexOf(e + "]") > -1;
1093
+ }
1094
+ function ar(t, e) {
1095
+ return typeof t == "function" ? t.apply(void 0, e) : t;
1096
+ }
1097
+ function kt(t, e) {
1098
+ if (e === 0)
1099
+ return t;
1100
+ var r;
1101
+ return function(n) {
1102
+ clearTimeout(r), r = setTimeout(function() {
1103
+ t(n);
1104
+ }, e);
1105
+ };
1106
+ }
1107
+ function Rn(t, e) {
1108
+ var r = Object.assign({}, t);
1109
+ return e.forEach(function(n) {
1110
+ delete r[n];
1111
+ }), r;
1112
+ }
1113
+ function Ln(t) {
1114
+ return t.split(/\s+/).filter(Boolean);
1115
+ }
1116
+ function me(t) {
1117
+ return [].concat(t);
1118
+ }
1119
+ function _t(t, e) {
1120
+ t.indexOf(e) === -1 && t.push(e);
1121
+ }
1122
+ function Bn(t) {
1123
+ return t.filter(function(e, r) {
1124
+ return t.indexOf(e) === r;
1125
+ });
1126
+ }
1127
+ function Mn(t) {
1128
+ return t.split("-")[0];
1129
+ }
1130
+ function rt(t) {
1131
+ return [].slice.call(t);
1132
+ }
1133
+ function It(t) {
1134
+ return Object.keys(t).reduce(function(e, r) {
1135
+ return t[r] !== void 0 && (e[r] = t[r]), e;
1136
+ }, {});
1137
+ }
1138
+ function Ie() {
1139
+ return document.createElement("div");
1140
+ }
1141
+ function it(t) {
1142
+ return ["Element", "Fragment"].some(function(e) {
1143
+ return Dt(t, e);
1144
+ });
1145
+ }
1146
+ function kn(t) {
1147
+ return Dt(t, "NodeList");
1148
+ }
1149
+ function _n(t) {
1150
+ return Dt(t, "MouseEvent");
1151
+ }
1152
+ function In(t) {
1153
+ return !!(t && t._tippy && t._tippy.reference === t);
1154
+ }
1155
+ function Nn(t) {
1156
+ return it(t) ? [t] : kn(t) ? rt(t) : Array.isArray(t) ? t : rt(document.querySelectorAll(t));
1157
+ }
1158
+ function ut(t, e) {
1159
+ t.forEach(function(r) {
1160
+ r && (r.style.transitionDuration = e + "ms");
1161
+ });
1162
+ }
1163
+ function Nt(t, e) {
1164
+ t.forEach(function(r) {
1165
+ r && r.setAttribute("data-state", e);
1166
+ });
1167
+ }
1168
+ function Fn(t) {
1169
+ var e, r = me(t), n = r[0];
1170
+ return n != null && (e = n.ownerDocument) != null && e.body ? n.ownerDocument : document;
1171
+ }
1172
+ function jn(t, e) {
1173
+ var r = e.clientX, n = e.clientY;
1174
+ return t.every(function(a) {
1175
+ var o = a.popperRect, l = a.popperState, c = a.props, u = c.interactiveBorder, f = Mn(l.placement), p = l.modifiersData.offset;
1176
+ if (!p)
1177
+ return !0;
1178
+ var b = f === "bottom" ? p.top.y : 0, x = f === "top" ? p.bottom.y : 0, h = f === "right" ? p.left.x : 0, D = f === "left" ? p.right.x : 0, w = o.top - n + b > u, d = n - o.bottom - x > u, g = o.left - r + h > u, O = r - o.right - D > u;
1179
+ return w || d || g || O;
1180
+ });
1181
+ }
1182
+ function lt(t, e, r) {
1183
+ var n = e + "EventListener";
1184
+ ["transitionend", "webkitTransitionEnd"].forEach(function(a) {
1185
+ t[n](a, r);
1186
+ });
1187
+ }
1188
+ function Ft(t, e) {
1189
+ for (var r = e; r; ) {
1190
+ var n;
1191
+ if (t.contains(r))
1192
+ return !0;
1193
+ r = r.getRootNode == null || (n = r.getRootNode()) == null ? void 0 : n.host;
1194
+ }
1195
+ return !1;
1196
+ }
1197
+ var Q = {
1198
+ isTouch: !1
1199
+ }, jt = 0;
1200
+ function $n() {
1201
+ Q.isTouch || (Q.isTouch = !0, window.performance && document.addEventListener("mousemove", or));
1202
+ }
1203
+ function or() {
1204
+ var t = performance.now();
1205
+ t - jt < 20 && (Q.isTouch = !1, document.removeEventListener("mousemove", or)), jt = t;
1206
+ }
1207
+ function Vn() {
1208
+ var t = document.activeElement;
1209
+ if (In(t)) {
1210
+ var e = t._tippy;
1211
+ t.blur && !e.state.isVisible && t.blur();
1212
+ }
1213
+ }
1214
+ function Hn() {
1215
+ document.addEventListener("touchstart", $n, le), window.addEventListener("blur", Vn);
1216
+ }
1217
+ var Un = typeof window < "u" && typeof document < "u", Wn = Un ? (
1218
+ // @ts-ignore
1219
+ !!window.msCrypto
1220
+ ) : !1, Kn = {
1221
+ animateFill: !1,
1222
+ followCursor: !1,
1223
+ inlinePositioning: !1,
1224
+ sticky: !1
1225
+ }, zn = {
1226
+ allowHTML: !1,
1227
+ animation: "fade",
1228
+ arrow: !0,
1229
+ content: "",
1230
+ inertia: !1,
1231
+ maxWidth: 350,
1232
+ role: "tooltip",
1233
+ theme: "",
1234
+ zIndex: 9999
1235
+ }, U = Object.assign({
1236
+ appendTo: ir,
1237
+ aria: {
1238
+ content: "auto",
1239
+ expanded: "auto"
1240
+ },
1241
+ delay: 0,
1242
+ duration: [300, 250],
1243
+ getReferenceClientRect: null,
1244
+ hideOnClick: !0,
1245
+ ignoreAttributes: !1,
1246
+ interactive: !1,
1247
+ interactiveBorder: 2,
1248
+ interactiveDebounce: 0,
1249
+ moveTransition: "",
1250
+ offset: [0, 10],
1251
+ onAfterUpdate: function() {
1252
+ },
1253
+ onBeforeUpdate: function() {
1254
+ },
1255
+ onCreate: function() {
1256
+ },
1257
+ onDestroy: function() {
1258
+ },
1259
+ onHidden: function() {
1260
+ },
1261
+ onHide: function() {
1262
+ },
1263
+ onMount: function() {
1264
+ },
1265
+ onShow: function() {
1266
+ },
1267
+ onShown: function() {
1268
+ },
1269
+ onTrigger: function() {
1270
+ },
1271
+ onUntrigger: function() {
1272
+ },
1273
+ onClickOutside: function() {
1274
+ },
1275
+ placement: "top",
1276
+ plugins: [],
1277
+ popperOptions: {},
1278
+ render: null,
1279
+ showOnCreate: !1,
1280
+ touch: !0,
1281
+ trigger: "mouseenter focus",
1282
+ triggerTarget: null
1283
+ }, Kn, zn), Gn = Object.keys(U), Yn = function(e) {
1284
+ var r = Object.keys(e);
1285
+ r.forEach(function(n) {
1286
+ U[n] = e[n];
1287
+ });
1288
+ };
1289
+ function sr(t) {
1290
+ var e = t.plugins || [], r = e.reduce(function(n, a) {
1291
+ var o = a.name, l = a.defaultValue;
1292
+ if (o) {
1293
+ var c;
1294
+ n[o] = t[o] !== void 0 ? t[o] : (c = U[o]) != null ? c : l;
1295
+ }
1296
+ return n;
1297
+ }, {});
1298
+ return Object.assign({}, t, r);
1299
+ }
1300
+ function qn(t, e) {
1301
+ var r = e ? Object.keys(sr(Object.assign({}, U, {
1302
+ plugins: e
1303
+ }))) : Gn, n = r.reduce(function(a, o) {
1304
+ var l = (t.getAttribute("data-tippy-" + o) || "").trim();
1305
+ if (!l)
1306
+ return a;
1307
+ if (o === "content")
1308
+ a[o] = l;
1309
+ else
1310
+ try {
1311
+ a[o] = JSON.parse(l);
1312
+ } catch {
1313
+ a[o] = l;
1314
+ }
1315
+ return a;
1316
+ }, {});
1317
+ return n;
1318
+ }
1319
+ function $t(t, e) {
1320
+ var r = Object.assign({}, e, {
1321
+ content: ar(e.content, [t])
1322
+ }, e.ignoreAttributes ? {} : qn(t, e.plugins));
1323
+ return r.aria = Object.assign({}, U.aria, r.aria), r.aria = {
1324
+ expanded: r.aria.expanded === "auto" ? e.interactive : r.aria.expanded,
1325
+ content: r.aria.content === "auto" ? e.interactive ? null : "describedby" : r.aria.content
1326
+ }, r;
1327
+ }
1328
+ var Xn = function() {
1329
+ return "innerHTML";
1330
+ };
1331
+ function dt(t, e) {
1332
+ t[Xn()] = e;
1333
+ }
1334
+ function Vt(t) {
1335
+ var e = Ie();
1336
+ return t === !0 ? e.className = rr : (e.className = nr, it(t) ? e.appendChild(t) : dt(e, t)), e;
1337
+ }
1338
+ function Ht(t, e) {
1339
+ it(e.content) ? (dt(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? dt(t, e.content) : t.textContent = e.content);
1340
+ }
1341
+ function vt(t) {
1342
+ var e = t.firstElementChild, r = rt(e.children);
1343
+ return {
1344
+ box: e,
1345
+ content: r.find(function(n) {
1346
+ return n.classList.contains(tr);
1347
+ }),
1348
+ arrow: r.find(function(n) {
1349
+ return n.classList.contains(rr) || n.classList.contains(nr);
1350
+ }),
1351
+ backdrop: r.find(function(n) {
1352
+ return n.classList.contains(Pn);
1353
+ })
1354
+ };
1355
+ }
1356
+ function ur(t) {
1357
+ var e = Ie(), r = Ie();
1358
+ r.className = En, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
1359
+ var n = Ie();
1360
+ n.className = tr, n.setAttribute("data-state", "hidden"), Ht(n, t.props), e.appendChild(r), r.appendChild(n), a(t.props, t.props);
1361
+ function a(o, l) {
1362
+ var c = vt(e), u = c.box, f = c.content, p = c.arrow;
1363
+ l.theme ? u.setAttribute("data-theme", l.theme) : u.removeAttribute("data-theme"), typeof l.animation == "string" ? u.setAttribute("data-animation", l.animation) : u.removeAttribute("data-animation"), l.inertia ? u.setAttribute("data-inertia", "") : u.removeAttribute("data-inertia"), u.style.maxWidth = typeof l.maxWidth == "number" ? l.maxWidth + "px" : l.maxWidth, l.role ? u.setAttribute("role", l.role) : u.removeAttribute("role"), (o.content !== l.content || o.allowHTML !== l.allowHTML) && Ht(f, t.props), l.arrow ? p ? o.arrow !== l.arrow && (u.removeChild(p), u.appendChild(Vt(l.arrow))) : u.appendChild(Vt(l.arrow)) : p && u.removeChild(p);
1364
+ }
1365
+ return {
1366
+ popper: e,
1367
+ onUpdate: a
1368
+ };
1369
+ }
1370
+ ur.$$tippy = !0;
1371
+ var Zn = 1, Qe = [], ct = [];
1372
+ function Jn(t, e) {
1373
+ var r = $t(t, Object.assign({}, U, sr(It(e)))), n, a, o, l = !1, c = !1, u = !1, f = !1, p, b, x, h = [], D = kt(He, r.interactiveDebounce), w, d = Zn++, g = null, O = Bn(r.plugins), C = {
1374
+ // Is the instance currently enabled?
1375
+ isEnabled: !0,
1376
+ // Is the tippy currently showing and not transitioning out?
1377
+ isVisible: !1,
1378
+ // Has the instance been destroyed?
1379
+ isDestroyed: !1,
1380
+ // Is the tippy currently mounted to the DOM?
1381
+ isMounted: !1,
1382
+ // Has the tippy finished transitioning in?
1383
+ isShown: !1
1384
+ }, i = {
1385
+ // properties
1386
+ id: d,
1387
+ reference: t,
1388
+ popper: Ie(),
1389
+ popperInstance: g,
1390
+ props: r,
1391
+ state: C,
1392
+ plugins: O,
1393
+ // methods
1394
+ clearDelayTimeouts: Ge,
1395
+ setProps: Ye,
1396
+ setContent: qe,
1397
+ show: lr,
1398
+ hide: cr,
1399
+ hideWithInteractivity: pr,
1400
+ enable: Be,
1401
+ disable: ze,
1402
+ unmount: fr,
1403
+ destroy: dr
1404
+ };
1405
+ if (!r.render)
1406
+ return i;
1407
+ var S = r.render(i), m = S.popper, E = S.onUpdate;
1408
+ m.setAttribute("data-tippy-root", ""), m.id = "tippy-" + i.id, i.popper = m, t._tippy = i, m._tippy = i;
1409
+ var M = O.map(function(s) {
1410
+ return s.fn(i);
1411
+ }), B = t.hasAttribute("aria-expanded");
1412
+ return we(), Z(), N(), _("onCreate", [i]), r.showOnCreate && Le(), m.addEventListener("mouseenter", function() {
1413
+ i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
1414
+ }), m.addEventListener("mouseleave", function() {
1415
+ i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && V().addEventListener("mousemove", D);
1416
+ }), i;
1417
+ function R() {
1418
+ var s = i.props.touch;
1419
+ return Array.isArray(s) ? s : [s, 0];
1420
+ }
1421
+ function k() {
1422
+ return R()[0] === "hold";
1423
+ }
1424
+ function L() {
1425
+ var s;
1426
+ return !!((s = i.props.render) != null && s.$$tippy);
1427
+ }
1428
+ function P() {
1429
+ return w || t;
1430
+ }
1431
+ function V() {
1432
+ var s = P().parentNode;
1433
+ return s ? Fn(s) : document;
1434
+ }
1435
+ function H() {
1436
+ return vt(m);
1437
+ }
1438
+ function I(s) {
1439
+ return i.state.isMounted && !i.state.isVisible || Q.isTouch || p && p.type === "focus" ? 0 : st(i.props.delay, s ? 0 : 1, U.delay);
1440
+ }
1441
+ function N(s) {
1442
+ s === void 0 && (s = !1), m.style.pointerEvents = i.props.interactive && !s ? "" : "none", m.style.zIndex = "" + i.props.zIndex;
1443
+ }
1444
+ function _(s, v, y) {
1445
+ if (y === void 0 && (y = !0), M.forEach(function(T) {
1446
+ T[s] && T[s].apply(T, v);
1447
+ }), y) {
1448
+ var A;
1449
+ (A = i.props)[s].apply(A, v);
1450
+ }
1451
+ }
1452
+ function X() {
1453
+ var s = i.props.aria;
1454
+ if (s.content) {
1455
+ var v = "aria-" + s.content, y = m.id, A = me(i.props.triggerTarget || t);
1456
+ A.forEach(function(T) {
1457
+ var F = T.getAttribute(v);
1458
+ if (i.state.isVisible)
1459
+ T.setAttribute(v, F ? F + " " + y : y);
1460
+ else {
1461
+ var W = F && F.replace(y, "").trim();
1462
+ W ? T.setAttribute(v, W) : T.removeAttribute(v);
1463
+ }
1464
+ });
1465
+ }
1466
+ }
1467
+ function Z() {
1468
+ if (!(B || !i.props.aria.expanded)) {
1469
+ var s = me(i.props.triggerTarget || t);
1470
+ s.forEach(function(v) {
1471
+ i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === P() ? "true" : "false") : v.removeAttribute("aria-expanded");
1472
+ });
1473
+ }
1474
+ }
1475
+ function pe() {
1476
+ V().removeEventListener("mousemove", D), Qe = Qe.filter(function(s) {
1477
+ return s !== D;
1478
+ });
1479
+ }
1480
+ function J(s) {
1481
+ if (!(Q.isTouch && (u || s.type === "mousedown"))) {
1482
+ var v = s.composedPath && s.composedPath()[0] || s.target;
1483
+ if (!(i.props.interactive && Ft(m, v))) {
1484
+ if (me(i.props.triggerTarget || t).some(function(y) {
1485
+ return Ft(y, v);
1486
+ })) {
1487
+ if (Q.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1488
+ return;
1489
+ } else
1490
+ _("onClickOutside", [i, s]);
1491
+ i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), c = !0, setTimeout(function() {
1492
+ c = !1;
1493
+ }), i.state.isMounted || ne());
1494
+ }
1495
+ }
1496
+ }
1497
+ function fe() {
1498
+ u = !0;
1499
+ }
1500
+ function re() {
1501
+ u = !1;
1502
+ }
1503
+ function q() {
1504
+ var s = V();
1505
+ s.addEventListener("mousedown", J, !0), s.addEventListener("touchend", J, le), s.addEventListener("touchstart", re, le), s.addEventListener("touchmove", fe, le);
1506
+ }
1507
+ function ne() {
1508
+ var s = V();
1509
+ s.removeEventListener("mousedown", J, !0), s.removeEventListener("touchend", J, le), s.removeEventListener("touchstart", re, le), s.removeEventListener("touchmove", fe, le);
1510
+ }
1511
+ function ye(s, v) {
1512
+ be(s, function() {
1513
+ !i.state.isVisible && m.parentNode && m.parentNode.contains(m) && v();
1514
+ });
1515
+ }
1516
+ function ie(s, v) {
1517
+ be(s, v);
1518
+ }
1519
+ function be(s, v) {
1520
+ var y = H().box;
1521
+ function A(T) {
1522
+ T.target === y && (lt(y, "remove", A), v());
1523
+ }
1524
+ if (s === 0)
1525
+ return v();
1526
+ lt(y, "remove", b), lt(y, "add", A), b = A;
1527
+ }
1528
+ function se(s, v, y) {
1529
+ y === void 0 && (y = !1);
1530
+ var A = me(i.props.triggerTarget || t);
1531
+ A.forEach(function(T) {
1532
+ T.addEventListener(s, v, y), h.push({
1533
+ node: T,
1534
+ eventType: s,
1535
+ handler: v,
1536
+ options: y
1537
+ });
1538
+ });
1539
+ }
1540
+ function we() {
1541
+ k() && (se("touchstart", Ee, {
1542
+ passive: !0
1543
+ }), se("touchend", Ue, {
1544
+ passive: !0
1545
+ })), Ln(i.props.trigger).forEach(function(s) {
1546
+ if (s !== "manual")
1547
+ switch (se(s, Ee), s) {
1548
+ case "mouseenter":
1549
+ se("mouseleave", Ue);
1550
+ break;
1551
+ case "focus":
1552
+ se(Wn ? "focusout" : "blur", Pe);
1553
+ break;
1554
+ case "focusin":
1555
+ se("focusout", Pe);
1556
+ break;
1557
+ }
1558
+ });
1559
+ }
1560
+ function Ve() {
1561
+ h.forEach(function(s) {
1562
+ var v = s.node, y = s.eventType, A = s.handler, T = s.options;
1563
+ v.removeEventListener(y, A, T);
1564
+ }), h = [];
1565
+ }
1566
+ function Ee(s) {
1567
+ var v, y = !1;
1568
+ if (!(!i.state.isEnabled || Re(s) || c)) {
1569
+ var A = ((v = p) == null ? void 0 : v.type) === "focus";
1570
+ p = s, w = s.currentTarget, Z(), !i.state.isVisible && _n(s) && Qe.forEach(function(T) {
1571
+ return T(s);
1572
+ }), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || l) && i.props.hideOnClick !== !1 && i.state.isVisible ? y = !0 : Le(s), s.type === "click" && (l = !y), y && !A && de(s);
1573
+ }
1574
+ }
1575
+ function He(s) {
1576
+ var v = s.target, y = P().contains(v) || m.contains(v);
1577
+ if (!(s.type === "mousemove" && y)) {
1578
+ var A = ue().concat(m).map(function(T) {
1579
+ var F, W = T._tippy, xe = (F = W.popperInstance) == null ? void 0 : F.state;
1580
+ return xe ? {
1581
+ popperRect: T.getBoundingClientRect(),
1582
+ popperState: xe,
1583
+ props: r
1584
+ } : null;
1585
+ }).filter(Boolean);
1586
+ jn(A, s) && (pe(), de(s));
1587
+ }
1588
+ }
1589
+ function Ue(s) {
1590
+ var v = Re(s) || i.props.trigger.indexOf("click") >= 0 && l;
1591
+ if (!v) {
1592
+ if (i.props.interactive) {
1593
+ i.hideWithInteractivity(s);
1594
+ return;
1595
+ }
1596
+ de(s);
1597
+ }
1598
+ }
1599
+ function Pe(s) {
1600
+ i.props.trigger.indexOf("focusin") < 0 && s.target !== P() || i.props.interactive && s.relatedTarget && m.contains(s.relatedTarget) || de(s);
1601
+ }
1602
+ function Re(s) {
1603
+ return Q.isTouch ? k() !== s.type.indexOf("touch") >= 0 : !1;
1604
+ }
1605
+ function We() {
1606
+ Ke();
1607
+ var s = i.props, v = s.popperOptions, y = s.placement, A = s.offset, T = s.getReferenceClientRect, F = s.moveTransition, W = L() ? vt(m).arrow : null, xe = T ? {
1608
+ getBoundingClientRect: T,
1609
+ contextElement: T.contextElement || P()
1610
+ } : t, Ot = {
1611
+ name: "$$tippy",
1612
+ enabled: !0,
1613
+ phase: "beforeWrite",
1614
+ requires: ["computeStyles"],
1615
+ fn: function(Xe) {
1616
+ var De = Xe.state;
1617
+ if (L()) {
1618
+ var vr = H(), ot = vr.box;
1619
+ ["placement", "reference-hidden", "escaped"].forEach(function(Ze) {
1620
+ Ze === "placement" ? ot.setAttribute("data-placement", De.placement) : De.attributes.popper["data-popper-" + Ze] ? ot.setAttribute("data-" + Ze, "") : ot.removeAttribute("data-" + Ze);
1621
+ }), De.attributes.popper = {};
1622
+ }
1623
+ }
1624
+ }, ve = [{
1625
+ name: "offset",
1626
+ options: {
1627
+ offset: A
1628
+ }
1629
+ }, {
1630
+ name: "preventOverflow",
1631
+ options: {
1632
+ padding: {
1633
+ top: 2,
1634
+ bottom: 2,
1635
+ left: 5,
1636
+ right: 5
1637
+ }
1638
+ }
1639
+ }, {
1640
+ name: "flip",
1641
+ options: {
1642
+ padding: 5
1643
+ }
1644
+ }, {
1645
+ name: "computeStyles",
1646
+ options: {
1647
+ adaptive: !F
1648
+ }
1649
+ }, Ot];
1650
+ L() && W && ve.push({
1651
+ name: "arrow",
1652
+ options: {
1653
+ element: W,
1654
+ padding: 3
1655
+ }
1656
+ }), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = An(xe, m, Object.assign({}, v, {
1657
+ placement: y,
1658
+ onFirstUpdate: x,
1659
+ modifiers: ve
1660
+ }));
1661
+ }
1662
+ function Ke() {
1663
+ i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
1664
+ }
1665
+ function ae() {
1666
+ var s = i.props.appendTo, v, y = P();
1667
+ i.props.interactive && s === ir || s === "parent" ? v = y.parentNode : v = ar(s, [y]), v.contains(m) || v.appendChild(m), i.state.isMounted = !0, We();
1668
+ }
1669
+ function ue() {
1670
+ return rt(m.querySelectorAll("[data-tippy-root]"));
1671
+ }
1672
+ function Le(s) {
1673
+ i.clearDelayTimeouts(), s && _("onTrigger", [i, s]), q();
1674
+ var v = I(!0), y = R(), A = y[0], T = y[1];
1675
+ Q.isTouch && A === "hold" && T && (v = T), v ? n = setTimeout(function() {
1676
+ i.show();
1677
+ }, v) : i.show();
1678
+ }
1679
+ function de(s) {
1680
+ if (i.clearDelayTimeouts(), _("onUntrigger", [i, s]), !i.state.isVisible) {
1681
+ ne();
1682
+ return;
1683
+ }
1684
+ if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && l)) {
1685
+ var v = I(!1);
1686
+ v ? a = setTimeout(function() {
1687
+ i.state.isVisible && i.hide();
1688
+ }, v) : o = requestAnimationFrame(function() {
1689
+ i.hide();
1690
+ });
1691
+ }
1692
+ }
1693
+ function Be() {
1694
+ i.state.isEnabled = !0;
1695
+ }
1696
+ function ze() {
1697
+ i.hide(), i.state.isEnabled = !1;
1698
+ }
1699
+ function Ge() {
1700
+ clearTimeout(n), clearTimeout(a), cancelAnimationFrame(o);
1701
+ }
1702
+ function Ye(s) {
1703
+ if (!i.state.isDestroyed) {
1704
+ _("onBeforeUpdate", [i, s]), Ve();
1705
+ var v = i.props, y = $t(t, Object.assign({}, v, It(s), {
1706
+ ignoreAttributes: !0
1707
+ }));
1708
+ i.props = y, we(), v.interactiveDebounce !== y.interactiveDebounce && (pe(), D = kt(He, y.interactiveDebounce)), v.triggerTarget && !y.triggerTarget ? me(v.triggerTarget).forEach(function(A) {
1709
+ A.removeAttribute("aria-expanded");
1710
+ }) : y.triggerTarget && t.removeAttribute("aria-expanded"), Z(), N(), E && E(v, y), i.popperInstance && (We(), ue().forEach(function(A) {
1711
+ requestAnimationFrame(A._tippy.popperInstance.forceUpdate);
1712
+ })), _("onAfterUpdate", [i, s]);
1713
+ }
1714
+ }
1715
+ function qe(s) {
1716
+ i.setProps({
1717
+ content: s
1718
+ });
1719
+ }
1720
+ function lr() {
1721
+ var s = i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, A = Q.isTouch && !i.props.touch, T = st(i.props.duration, 0, U.duration);
1722
+ if (!(s || v || y || A) && !P().hasAttribute("disabled") && (_("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1723
+ if (i.state.isVisible = !0, L() && (m.style.visibility = "visible"), N(), q(), i.state.isMounted || (m.style.transition = "none"), L()) {
1724
+ var F = H(), W = F.box, xe = F.content;
1725
+ ut([W, xe], 0);
1726
+ }
1727
+ x = function() {
1728
+ var ve;
1729
+ if (!(!i.state.isVisible || f)) {
1730
+ if (f = !0, m.offsetHeight, m.style.transition = i.props.moveTransition, L() && i.props.animation) {
1731
+ var at = H(), Xe = at.box, De = at.content;
1732
+ ut([Xe, De], T), Nt([Xe, De], "visible");
1733
+ }
1734
+ X(), Z(), _t(ct, i), (ve = i.popperInstance) == null || ve.forceUpdate(), _("onMount", [i]), i.props.animation && L() && ie(T, function() {
1735
+ i.state.isShown = !0, _("onShown", [i]);
1736
+ });
1737
+ }
1738
+ }, ae();
1739
+ }
1740
+ }
1741
+ function cr() {
1742
+ var s = !i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, A = st(i.props.duration, 1, U.duration);
1743
+ if (!(s || v || y) && (_("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1744
+ if (i.state.isVisible = !1, i.state.isShown = !1, f = !1, l = !1, L() && (m.style.visibility = "hidden"), pe(), ne(), N(!0), L()) {
1745
+ var T = H(), F = T.box, W = T.content;
1746
+ i.props.animation && (ut([F, W], A), Nt([F, W], "hidden"));
1747
+ }
1748
+ X(), Z(), i.props.animation ? L() && ye(A, i.unmount) : i.unmount();
1749
+ }
1750
+ }
1751
+ function pr(s) {
1752
+ V().addEventListener("mousemove", D), _t(Qe, D), D(s);
1753
+ }
1754
+ function fr() {
1755
+ i.state.isVisible && i.hide(), i.state.isMounted && (Ke(), ue().forEach(function(s) {
1756
+ s._tippy.unmount();
1757
+ }), m.parentNode && m.parentNode.removeChild(m), ct = ct.filter(function(s) {
1758
+ return s !== i;
1759
+ }), i.state.isMounted = !1, _("onHidden", [i]));
1760
+ }
1761
+ function dr() {
1762
+ i.state.isDestroyed || (i.clearDelayTimeouts(), i.unmount(), Ve(), delete t._tippy, i.state.isDestroyed = !0, _("onDestroy", [i]));
1763
+ }
1764
+ }
1765
+ function Ae(t, e) {
1766
+ e === void 0 && (e = {});
1767
+ var r = U.plugins.concat(e.plugins || []);
1768
+ Hn();
1769
+ var n = Object.assign({}, e, {
1770
+ plugins: r
1771
+ }), a = Nn(t), o = a.reduce(function(l, c) {
1772
+ var u = c && Jn(c, n);
1773
+ return u && l.push(u), l;
1774
+ }, []);
1775
+ return it(t) ? o[0] : o;
1776
+ }
1777
+ Ae.defaultProps = U;
1778
+ Ae.setDefaultProps = Yn;
1779
+ Ae.currentInput = Q;
1780
+ Object.assign({}, Gt, {
1781
+ effect: function(e) {
1782
+ var r = e.state, n = {
1783
+ popper: {
1784
+ position: r.options.strategy,
1785
+ left: "0",
1786
+ top: "0",
1787
+ margin: "0"
1788
+ },
1789
+ arrow: {
1790
+ position: "absolute"
1791
+ },
1792
+ reference: {}
1793
+ };
1794
+ Object.assign(r.elements.popper.style, n.popper), r.styles = n, r.elements.arrow && Object.assign(r.elements.arrow.style, n.arrow);
1795
+ }
1796
+ });
1797
+ var Qn = {
1798
+ mouseover: "mouseenter",
1799
+ focusin: "focus",
1800
+ click: "click"
1801
+ };
1802
+ function hi(t, e) {
1803
+ var r = [], n = [], a = !1, o = e.target, l = Rn(e, ["target"]), c = Object.assign({}, l, {
1804
+ trigger: "manual",
1805
+ touch: !1
1806
+ }), u = Object.assign({
1807
+ touch: U.touch
1808
+ }, l, {
1809
+ showOnCreate: !0
1810
+ }), f = Ae(t, c), p = me(f);
1811
+ function b(d) {
1812
+ if (!(!d.target || a)) {
1813
+ var g = d.target.closest(o);
1814
+ if (g) {
1815
+ var O = g.getAttribute("data-tippy-trigger") || e.trigger || U.trigger;
1816
+ if (!g._tippy && !(d.type === "touchstart" && typeof u.touch == "boolean") && !(d.type !== "touchstart" && O.indexOf(Qn[d.type]) < 0)) {
1817
+ var C = Ae(g, u);
1818
+ C && (n = n.concat(C));
1819
+ }
1820
+ }
1821
+ }
1822
+ }
1823
+ function x(d, g, O, C) {
1824
+ C === void 0 && (C = !1), d.addEventListener(g, O, C), r.push({
1825
+ node: d,
1826
+ eventType: g,
1827
+ handler: O,
1828
+ options: C
1829
+ });
1830
+ }
1831
+ function h(d) {
1832
+ var g = d.reference;
1833
+ x(g, "touchstart", b, le), x(g, "mouseover", b), x(g, "focusin", b), x(g, "click", b);
1834
+ }
1835
+ function D() {
1836
+ r.forEach(function(d) {
1837
+ var g = d.node, O = d.eventType, C = d.handler, i = d.options;
1838
+ g.removeEventListener(O, C, i);
1839
+ }), r = [];
1840
+ }
1841
+ function w(d) {
1842
+ var g = d.destroy, O = d.enable, C = d.disable;
1843
+ d.destroy = function(i) {
1844
+ i === void 0 && (i = !0), i && n.forEach(function(S) {
1845
+ S.destroy();
1846
+ }), n = [], D(), g();
1847
+ }, d.enable = function() {
1848
+ O(), n.forEach(function(i) {
1849
+ return i.enable();
1850
+ }), a = !1;
1851
+ }, d.disable = function() {
1852
+ C(), n.forEach(function(i) {
1853
+ return i.disable();
1854
+ }), a = !0;
1855
+ }, h(d);
1856
+ }
1857
+ return p.forEach(w), f;
1858
+ }
1859
+ var gi = {
1860
+ name: "sticky",
1861
+ defaultValue: !1,
1862
+ fn: function(e) {
1863
+ var r = e.reference, n = e.popper;
1864
+ function a() {
1865
+ return e.popperInstance ? e.popperInstance.state.elements.reference : r;
1866
+ }
1867
+ function o(f) {
1868
+ return e.props.sticky === !0 || e.props.sticky === f;
1869
+ }
1870
+ var l = null, c = null;
1871
+ function u() {
1872
+ var f = o("reference") ? a().getBoundingClientRect() : null, p = o("popper") ? n.getBoundingClientRect() : null;
1873
+ (f && Ut(l, f) || p && Ut(c, p)) && e.popperInstance && e.popperInstance.update(), l = f, c = p, e.state.isMounted && requestAnimationFrame(u);
1874
+ }
1875
+ return {
1876
+ onMount: function() {
1877
+ e.props.sticky && u();
1878
+ }
1879
+ };
1880
+ }
1881
+ };
1882
+ function Ut(t, e) {
1883
+ return t && e ? t.top !== e.top || t.right !== e.right || t.bottom !== e.bottom || t.left !== e.left : !0;
1884
+ }
1885
+ Ae.setDefaultProps({
1886
+ render: ur
1887
+ });
1888
+ const ei = {
1889
+ name: "CCurrencyDropdown",
1890
+ components: {
1891
+ CInput: br,
1892
+ CDropdown: gr,
1893
+ CDropdownItem: yr,
1894
+ SmartList: wr
1895
+ },
1896
+ props: {
1897
+ value: {
1898
+ type: String,
1899
+ required: !0
1900
+ }
1901
+ },
1902
+ data() {
1903
+ return {
1904
+ currencies: xr,
1905
+ isCurrencyDropdownOpen: !1,
1906
+ searchQuery: ""
1907
+ };
1908
+ },
1909
+ computed: {
1910
+ internalCurrency: {
1911
+ get() {
1912
+ return this.value;
1913
+ },
1914
+ set(t) {
1915
+ this.$emit("input", t);
1916
+ }
1917
+ },
1918
+ selectedValue() {
1919
+ return this.internalCurrency ? Ct(this.internalCurrency) : "";
1920
+ }
1921
+ },
1922
+ watch: {
1923
+ isCurrencyDropdownOpen(t) {
1924
+ this.$emit("active-change", t), t ? this.$refs.searchCurrencyInput && this.$refs.searchCurrencyInput.focus() : this.searchQuery = "";
1925
+ }
1926
+ },
1927
+ methods: {
1928
+ getCurrencySymbol: Ct
1929
+ }
1930
+ };
1931
+ var ti = function() {
1932
+ var e = this, r = e._self._c;
1933
+ return r("SmartList", { attrs: { query: e.searchQuery, items: Object.keys(e.currencies), "default-sort": "asc" }, scopedSlots: e._u([{ key: "default", fn: function({ items: n }) {
1934
+ return [r("CDropdown", e._b({ staticClass: "control", attrs: { size: e.$attrs.size, disabled: e.$attrs.disabled, "menu-styling": {
1935
+ maxWidth: "300px"
1936
+ }, scrollable: !0, "max-height": 200 }, on: { "active-change": function(a) {
1937
+ e.isCurrencyDropdownOpen = a;
1938
+ } }, model: { value: e.internalCurrency, callback: function(a) {
1939
+ e.internalCurrency = a;
1940
+ }, expression: "internalCurrency" } }, "CDropdown", {
1941
+ position: "is-bottom-left",
1942
+ ...e.$attrs,
1943
+ ...e.$props
1944
+ }, !1), [e._t("default", function() {
1945
+ return [r("CButton", { staticClass: "is-left", staticStyle: { width: "100%", "text-align": "left", "min-width": "7em" }, attrs: { "dropdown-icon": !0, raised: "" } }, [e._v(" " + e._s(e.selectedValue) + " ")])];
1946
+ }, { slot: "trigger", selectedValue: e.selectedValue }), r("CInput", { ref: "searchCurrencyInput", staticStyle: { "margin-bottom": "0.25em" }, attrs: { slot: "header", placeholder: e.$t("_common:search"), filled: "" }, slot: "header", model: { value: e.searchQuery, callback: function(a) {
1947
+ e.searchQuery = a;
1948
+ }, expression: "searchQuery" } }), e._l(n, function(a) {
1949
+ return r("CDropdownItem", { key: a, staticClass: "truncate-text", staticStyle: { "padding-right": "0.5em" }, attrs: { value: a } }, [r("div", { staticStyle: { "margin-right": "auto" } }, [e._v(e._s(a))]), r("div", { staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.getCurrencySymbol(a)) + " ")])]);
1950
+ })], 2)];
1951
+ } }], null, !0) });
1952
+ }, ri = [], ni = /* @__PURE__ */ Wt(
1953
+ ei,
1954
+ ti,
1955
+ ri,
1956
+ !1,
1957
+ null,
1958
+ "0b0912ae",
1959
+ null,
1960
+ null
1961
+ );
1962
+ const ii = ni.exports;
1963
+ const ai = {
1964
+ components: {
1965
+ ColorPicker: mr,
1966
+ FontPickerDropdown: hr,
1967
+ CCurrencyDropdown: ii,
1968
+ FormInputRow: () => Promise.resolve().then(() => ci)
1969
+ },
1970
+ props: {
1971
+ label: {
1972
+ type: String,
1973
+ default: ""
1974
+ },
1975
+ infoTooltip: {
1976
+ type: String,
1977
+ default: ""
1978
+ },
1979
+ inputs: {
1980
+ type: Array,
1981
+ required: !0
1982
+ }
1983
+ },
1984
+ methods: {
1985
+ onKeyPressNumberRestrict(t) {
1986
+ ["-", "+", "e", "E"].includes(t.key) && t.preventDefault();
1987
+ }
1988
+ }
1989
+ };
1990
+ var oi = function() {
1991
+ var e = this, r = e._self._c;
1992
+ return r("div", { staticStyle: { position: "relative", display: "flex", width: "100%", "flex-direction": "row", "align-items": "flex-start", "justify-content": "flex-end" } }, [r("div", { staticStyle: { flex: "1 1 40%", width: "62px", margin: "7px 5px", position: "relative", display: "flex", height: "26px", "align-items": "center" } }, [r("div", { staticStyle: { overflow: "hidden", "font-size": "13px", "font-weight": "400", "line-height": "16px", "pointer-events": "none", "text-overflow": "ellipsis", "white-space": "nowrap", "user-select": "none" } }, [e._v(" " + e._s(e.label) + " ")]), e.infoTooltip ? r("svg", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.infoTooltip, expression: "infoTooltip" }], staticClass: "info-tooltip", attrs: { width: "13", height: "13", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "square", "stroke-linejoin": "bevel" } }, [r("circle", { attrs: { cx: "12", cy: "12", r: "10" } }), r("line", { attrs: { x1: "12", y1: "16", x2: "12", y2: "12" } }), r("line", { attrs: { x1: "12", y1: "8", x2: "12", y2: "8" } })]) : e._e()]), r("div", { staticStyle: { flex: "1 1 60%", margin: "7px 0 7px 0", width: "1px", display: "flex" } }, [e._l(e.inputs, function(n, a) {
1993
+ return [n.component === "input" ? r("div", { key: a, class: { "input-wrapper": n.props.type !== "range" } }, [r("input", e._b({ class: {
1994
+ slider: n.props.type === "range"
1995
+ }, style: [
1996
+ n.props.type === "range" && {
1997
+ "--progress": `${(n.props.value - n.props.min) * 100 / (n.props.max - n.props.min)}%`
1998
+ }
1999
+ ], on: { input: function(o) {
2000
+ n.onInput && n.onInput(o.target.value);
2001
+ }, keypress: function(o) {
2002
+ n.props.type === "number" && e.onKeyPressNumberRestrict(o);
2003
+ } } }, "input", n.props, !1))]) : n.component === "inputSelect" ? r("div", { key: a + "input", staticClass: "input-wrapper" }, [r("input", e._b({ staticStyle: { "border-top-right-radius": "0", "border-bottom-right-radius": "0", "margin-right": "1px" }, on: { input: function(o) {
2004
+ n.props.input.onInput && n.props.input.onInput(o.target.value);
2005
+ }, keypress: function(o) {
2006
+ n.props.input.type === "number" && e.onKeyPressNumberRestrict(o);
2007
+ } } }, "input", n.props.input, !1)), r("div", { staticClass: "select-wrapper" }, [r("select", e._b({ staticStyle: { "border-left": "1px solid #ddd", width: "20px", "border-top-left-radius": "0", "border-bottom-left-radius": "0" }, on: { input: function(o) {
2008
+ n.props.select.onInput && n.props.select.onInput(o.target.value);
2009
+ } } }, "select", n.props.select, !1), e._l(n.props.select.options, function(o) {
2010
+ return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.select.value } }, [e._v(" " + e._s(o.label) + " ")]);
2011
+ }), 0)])]) : n.component === "step" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onDecrease } }, [r("BaseIcon", { staticStyle: { opacity: "0.85" }, attrs: { size: "15", type: "minus" } })], 1), r("div", { staticStyle: { width: "1px", height: "100%", "background-color": "hsl(0, 0%, 86%)", margin: "0 1px" } }), r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onIncrease } }, [r("BaseIcon", { staticStyle: { opacity: "0.85" }, attrs: { size: "15", type: "plus" } })], 1)]) : n.component === "select" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("select", e._b({ on: { input: function(o) {
2012
+ n.onInput && n.onInput(o.target.value);
2013
+ } } }, "select", n.props, !1), e._l(n.props.options, function(o) {
2014
+ return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.value } }, [e._v(" " + e._s(o.label) + " ")]);
2015
+ }), 0)]) : n.component === "color" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: "240px" }, position: n.props.position || "is-top-right", paddingless: "", expanded: "" } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { height: "20px", width: "26px", margin: "0px 3px", "border-radius": "3px", "box-shadow": "inset 0 0 2px rgba(0,0,0,0.3)" }, style: { "background-color": n.props.value } }), r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))]), n.props.value && n.props.showReset ? r("div", { staticClass: "plain-button", staticStyle: { position: "absolute", width: "24px", right: "2px", display: "grid", "place-items": "center", top: "2px", bottom: "2px", "border-radius": "4px" }, on: { click: function(o) {
2016
+ return o.preventDefault(), o.stopPropagation(), n.onInput("");
2017
+ } } }, [r("BaseIcon", { attrs: { type: "reset", size: "14", "stroke-width": "2.5" } })], 1) : e._e()]), r("ColorPicker", e._b({ staticStyle: { "box-shadow": "none" }, on: { input: ({ a: o, hex: l, hex8: c }) => n.onInput && n.onInput(o === 1 ? l : c) } }, "ColorPicker", n.props, !1))], 1)], 1) : n.component === "font" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("FontPickerDropdown", e._b({ staticClass: "font-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedFamily: o }) {
2018
+ return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
2019
+ } }], null, !0) }, "FontPickerDropdown", n.props, !1))], 1) : n.component === "currency" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CCurrencyDropdown", e._b({ staticClass: "currency-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedValue: o }) {
2020
+ return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
2021
+ } }], null, !0) }, "CCurrencyDropdown", n.props, !1))], 1) : n.component === "switch" ? r("div", { key: a, staticClass: "input-wrapper switch" }, [r("CSwitch", e._b({ attrs: { size: "tiny", type: "secondary" }, on: { input: (o) => n.onInput && n.onInput(o) } }, "CSwitch", n.props, !1))], 1) : n.component === "popup" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: n.props.width } } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))])]), r("div", e._l(n.props.popup.inputs, function(o, l) {
2022
+ return r("FormInputRow", { key: l, attrs: { inputs: o.inputs, label: o.label } });
2023
+ }), 1)])], 1) : n.component === "button" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "100%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onClick } }, [e._v(" " + e._s(n.props.text) + " ")])]) : [e._v(" " + e._s(n.component) + " ")]];
2024
+ })], 2)]);
2025
+ }, si = [], ui = /* @__PURE__ */ Wt(
2026
+ ai,
2027
+ oi,
2028
+ si,
2029
+ !1,
2030
+ null,
2031
+ "c4d2c2c7",
2032
+ null,
2033
+ null
2034
+ );
2035
+ const li = ui.exports, ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2036
+ __proto__: null,
2037
+ default: li
2038
+ }, Symbol.toStringTag, { value: "Module" }));
2039
+ export {
2040
+ ii as C,
2041
+ li as F,
2042
+ hi as d,
2043
+ gi as s,
2044
+ Ae as t
2045
+ };