@revolugo/elements 5.5.1-beta.29 → 5.5.1-beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (244) hide show
  1. package/dist/css/revolugo.0.min.css +5 -0
  2. package/dist/css/revolugo.1.min.css +1 -0
  3. package/dist/css/revolugo.11.min.css +1 -0
  4. package/dist/css/revolugo.12.min.css +1 -0
  5. package/dist/css/revolugo.13.min.css +1 -0
  6. package/dist/css/revolugo.14.min.css +1 -0
  7. package/dist/css/revolugo.15.min.css +1 -0
  8. package/dist/css/revolugo.16.min.css +1 -0
  9. package/dist/css/revolugo.17.min.css +1 -0
  10. package/dist/css/revolugo.18.min.css +1 -0
  11. package/dist/css/revolugo.19.min.css +1 -0
  12. package/dist/css/revolugo.2.min.css +1 -0
  13. package/dist/css/revolugo.20.min.css +1 -0
  14. package/dist/css/revolugo.21.min.css +1 -0
  15. package/dist/css/revolugo.22.min.css +1 -0
  16. package/dist/css/revolugo.23.min.css +1 -0
  17. package/dist/css/revolugo.24.min.css +1 -0
  18. package/dist/css/revolugo.25.min.css +1 -0
  19. package/dist/css/revolugo.26.min.css +1 -0
  20. package/dist/css/revolugo.27.min.css +1 -0
  21. package/dist/css/revolugo.28.min.css +1 -0
  22. package/dist/css/revolugo.29.min.css +1 -0
  23. package/dist/css/revolugo.30.min.css +1 -0
  24. package/dist/css/revolugo.31.min.css +1 -0
  25. package/dist/css/revolugo.32.min.css +1 -0
  26. package/dist/css/revolugo.33.min.css +1 -0
  27. package/dist/css/revolugo.34.min.css +1 -0
  28. package/dist/css/revolugo.4.min.css +1 -0
  29. package/dist/css/revolugo.5.min.css +1 -0
  30. package/dist/css/revolugo.6.min.css +1 -0
  31. package/dist/css/revolugo.7.min.css +1 -0
  32. package/dist/css/revolugo.fonts.min.css +1 -0
  33. package/dist/fonts/amenities.2aad1d12.woff +0 -0
  34. package/dist/fonts/amenities.9adae269.ttf +0 -0
  35. package/dist/fonts/amenities.a9bf50f8.svg +42 -0
  36. package/dist/fonts/amenities.bd6b3a4a.eot +0 -0
  37. package/dist/fonts/beds.2b8e38c8.svg +12 -0
  38. package/dist/img/apst.c1092975.png +0 -0
  39. package/dist/img/apst.ec7669f2.png +0 -0
  40. package/dist/img/atout-france.72107e30.png +0 -0
  41. package/dist/img/atout-france.df038f22.png +0 -0
  42. package/dist/img/revolugo.179c459d.png +0 -0
  43. package/dist/img/revolugo.e0879dcc.png +0 -0
  44. package/dist/img/stripe.405543e2.png +0 -0
  45. package/dist/img/stripe.c3e16f9f.png +0 -0
  46. package/dist/index.min.js +1 -1
  47. package/dist/revolugo.0.min.js +18 -0
  48. package/dist/revolugo.1.min.js +1 -0
  49. package/dist/revolugo.11.min.js +134 -0
  50. package/dist/revolugo.12.min.js +19 -0
  51. package/dist/revolugo.13.min.js +14 -0
  52. package/dist/revolugo.14.min.js +19 -0
  53. package/dist/revolugo.15.min.js +139 -0
  54. package/dist/revolugo.16.min.js +14 -0
  55. package/dist/revolugo.17.min.js +14 -0
  56. package/dist/revolugo.18.min.js +1 -0
  57. package/dist/revolugo.19.min.js +1 -0
  58. package/dist/revolugo.2.min.js +1 -0
  59. package/dist/revolugo.20.min.js +1 -0
  60. package/dist/revolugo.21.min.js +116 -0
  61. package/dist/revolugo.22.min.js +1 -0
  62. package/dist/revolugo.23.min.js +1 -0
  63. package/dist/revolugo.24.min.js +1 -0
  64. package/dist/revolugo.25.min.js +1 -0
  65. package/dist/revolugo.26.min.js +1 -0
  66. package/dist/revolugo.27.min.js +1 -0
  67. package/dist/revolugo.28.min.js +116 -0
  68. package/dist/revolugo.29.min.js +1 -0
  69. package/dist/revolugo.30.min.js +1 -0
  70. package/dist/revolugo.31.min.js +1 -0
  71. package/dist/revolugo.32.min.js +1 -0
  72. package/dist/revolugo.33.min.js +1 -0
  73. package/dist/revolugo.34.min.js +1 -0
  74. package/dist/revolugo.35.min.js +1 -0
  75. package/dist/revolugo.36.min.js +1 -0
  76. package/dist/revolugo.4.min.js +1 -0
  77. package/dist/revolugo.5.min.js +1 -0
  78. package/dist/revolugo.6.min.js +1 -0
  79. package/dist/revolugo.7.min.js +1 -0
  80. package/dist/revolugo.en-US.min.js +1 -0
  81. package/dist/revolugo.fonts.min.js +1 -0
  82. package/dist/revolugo.fr-FR.min.js +1 -0
  83. package/dist/revolugo.min.js +7 -257
  84. package/package.json +3 -3
  85. package/dist/css/fonts.css +0 -1
  86. package/dist/css/revolugo.bdaterangepicker.DEh20utH.css +0 -1
  87. package/dist/css/revolugo.bhotelroomsdetails.4XsxkvH7.css +0 -1
  88. package/dist/css/revolugo.bhotelsearchbar.dwYB1gUC.css +0 -1
  89. package/dist/css/revolugo.bookingdetailssidebar.tDtXpaIj.css +0 -1
  90. package/dist/css/revolugo.bphoneinput.Kq_-XiGI.css +0 -1
  91. package/dist/css/revolugo.bstarrating.nzH7iii4.css +0 -1
  92. package/dist/css/revolugo.btag.Bdbqb_8a.css +0 -1
  93. package/dist/css/revolugo.common.BSIsYREh.css +0 -1
  94. package/dist/css/revolugo.creditcardform.BGPUxkRC.css +0 -1
  95. package/dist/css/revolugo.creditcardpayment.0MNnDloZ.css +0 -1
  96. package/dist/css/revolugo.currencypicker.BRYsKdMu.css +0 -1
  97. package/dist/css/revolugo.fullbookingflow.BHV7_MhK.css +0 -1
  98. package/dist/css/revolugo.hotel-offer.Di9LJKMP.css +0 -1
  99. package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +0 -1
  100. package/dist/css/revolugo.hoteloffersmap.-ZhDcfsj.css +0 -1
  101. package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +0 -1
  102. package/dist/css/revolugo.hotelroomofferlist.DrGyKJ-m.css +0 -1
  103. package/dist/css/revolugo.hotelroomoffersbookingflow.PPEIqHuM.css +0 -1
  104. package/dist/css/revolugo.hotelroomoffersview.B8Y-2QYc.css +0 -1
  105. package/dist/css/revolugo.index.BMkl7a3p.css +0 -1
  106. package/dist/css/revolugo.index.CFW4Oklv.css +0 -1
  107. package/dist/css/revolugo.index.DXv5c7NS.css +0 -1
  108. package/dist/css/revolugo.langpicker.B3TsOwUq.css +0 -1
  109. package/dist/css/revolugo.parsed-height.B92--uJb.css +0 -1
  110. package/dist/css/revolugo.parsed-props.C3kOvm7T.css +0 -1
  111. package/dist/css/revolugo.prebookform.DBm2B4rS.css +0 -1
  112. package/dist/css/revolugo.revolugo-config.Dg8v1l3c.css +0 -5
  113. package/dist/css/revolugo.storybooktoolbar.CVnww0dZ.css +0 -1
  114. package/dist/css/revolugo.termsandconditions.DV2YnGzG.css +0 -1
  115. package/dist/css/revolugo.valert.BzcMswjJ.css +0 -1
  116. package/dist/css/revolugo.vautocomplete.OMX_yAge.css +0 -1
  117. package/dist/css/revolugo.vbadge.CiK_DSkI.css +0 -1
  118. package/dist/css/revolugo.vbtn.By46MJOU.css +0 -1
  119. package/dist/css/revolugo.vcard.DmB53ZNL.css +0 -1
  120. package/dist/css/revolugo.vchip.BdAdP6lC.css +0 -1
  121. package/dist/css/revolugo.vdialog.C02Cvwul.css +0 -1
  122. package/dist/css/revolugo.vexpansionpanelheader.B2eKo8Lo.css +0 -1
  123. package/dist/css/revolugo.vinput.SfhpXNi0.css +0 -1
  124. package/dist/css/revolugo.vitemgroup.EbHsz8Rr.css +0 -1
  125. package/dist/css/revolugo.vlistitem.BzwNE1YK.css +0 -1
  126. package/dist/css/revolugo.vmenu.BKE0IO4q.css +0 -1
  127. package/dist/css/revolugo.vselect.DljSkk6y.css +0 -1
  128. package/dist/css/revolugo.vsheet.Dtdo2Rps.css +0 -1
  129. package/dist/css/revolugo.vskeletonloader.BpGoaAbZ.css +0 -1
  130. package/dist/css/revolugo.vslidegroup.D5TIbmaw.css +0 -1
  131. package/dist/css/revolugo.vsnackbar.DTAXPYkr.css +0 -1
  132. package/dist/css/revolugo.vtextfield.BliJY6uv.css +0 -1
  133. package/dist/css/revolugo.vtoolbar.DQsezjcM.css +0 -1
  134. package/dist/css/revolugo.vtooltip.B_oOB9pj.css +0 -1
  135. package/dist/css/revolugo.vuetify.BpIoHlAi.css +0 -1
  136. package/dist/css/revolugo.webcomponentwrapper.BRZRuwZ0.css +0 -1
  137. package/dist/revolugo.banktransferdetails.C55CaZGd.min.js +0 -105
  138. package/dist/revolugo.bbreakfastoptionbadge.CPzlydVG.min.js +0 -62
  139. package/dist/revolugo.bdaterangepicker.CXA2GXFz.min.js +0 -1351
  140. package/dist/revolugo.bformattedamount.DhVut6DK.min.js +0 -82
  141. package/dist/revolugo.bhotelroomsdetails.DSVVf-up.min.js +0 -213
  142. package/dist/revolugo.bhotelsearchbar.DhebdaQo.min.js +0 -446
  143. package/dist/revolugo.booking-api-client.Drh0cRTW.min.js +0 -7443
  144. package/dist/revolugo.bookingdetailssidebar.B1ZoXar0.min.js +0 -28
  145. package/dist/revolugo.bookingdetailssidebar.BnTJ96GE.min.js +0 -242
  146. package/dist/revolugo.bookingmanager.DYOyVHT2.min.js +0 -405
  147. package/dist/revolugo.bphoneinput.BZQIBmYO.min.js +0 -1935
  148. package/dist/revolugo.bpricesummaryskeleton.Dz7YvdGU.min.js +0 -47
  149. package/dist/revolugo.breakpoint-service.ulonvHwK.min.js +0 -65
  150. package/dist/revolugo.bstarrating.BZPKWVuk.min.js +0 -173
  151. package/dist/revolugo.btag.DyLjgDWq.min.js +0 -68
  152. package/dist/revolugo.cancellationpoliciesbadge.CIIL360X.min.js +0 -28
  153. package/dist/revolugo.cancellationpoliciesbadge.DRFgoqVN.min.js +0 -92
  154. package/dist/revolugo.cancellationpolicieslist.B0b8XPoU.min.js +0 -28
  155. package/dist/revolugo.cancellationpolicieslist.cnRF1goy.min.js +0 -317
  156. package/dist/revolugo.common.BavAKcPL.min.js +0 -34
  157. package/dist/revolugo.creditcardform.BY725aQ3.min.js +0 -28
  158. package/dist/revolugo.creditcardform.C24U8fTh.min.js +0 -2049
  159. package/dist/revolugo.creditcardpayment.6TDQ9DR4.min.js +0 -28
  160. package/dist/revolugo.creditcardpayment.clAMf1Nb.min.js +0 -288
  161. package/dist/revolugo.currencypicker.BK66ASkQ.min.js +0 -122
  162. package/dist/revolugo.currencypickerbtn.C9EGOp6Y.min.js +0 -121
  163. package/dist/revolugo.currencypickerbtn.DPv6HcHf.min.js +0 -28
  164. package/dist/revolugo.dialog-attach.BQO5FkC9.min.js +0 -27
  165. package/dist/revolugo.en-us.BwPQZpD-.min.js +0 -1171
  166. package/dist/revolugo.event-bus.CYLYgD3Y.min.js +0 -37
  167. package/dist/revolugo.fr-fr.CV4yETNm.min.js +0 -1177
  168. package/dist/revolugo.fullbookingflow.DDMFviNy.min.js +0 -239
  169. package/dist/revolugo.hotel-offer.DxAoWIpr.min.js +0 -605
  170. package/dist/revolugo.hoteldescriptionview.BDmYu0i8.min.js +0 -2174
  171. package/dist/revolugo.hoteldescriptionview._H5Q2mcT.min.js +0 -28
  172. package/dist/revolugo.hotelofferitemlayout.DsiXk-vv.min.js +0 -64
  173. package/dist/revolugo.hotelofferlist.CeapYJDW.min.js +0 -28
  174. package/dist/revolugo.hotelofferlist.DZ2dsJ-e.min.js +0 -3779
  175. package/dist/revolugo.hotelofferrequestcreator.B9mGU5bB.min.js +0 -225
  176. package/dist/revolugo.hoteloffersearchmenu.HBcyZs4Q.min.js +0 -54
  177. package/dist/revolugo.hoteloffersmap.BrazX0Ns.min.js +0 -28
  178. package/dist/revolugo.hoteloffersmap.C5g2oYhf.min.js +0 -8737
  179. package/dist/revolugo.hoteloffersview.CsPNh4Kt.min.js +0 -28
  180. package/dist/revolugo.hoteloffersview.DcnEyUUU.min.js +0 -157
  181. package/dist/revolugo.hotelroomofferlist.B-g6Q8_4.min.js +0 -1332
  182. package/dist/revolugo.hotelroomofferlist.RuwB9IxG.min.js +0 -28
  183. package/dist/revolugo.hotelroomofferrequestcreator.Cqzw_aE0.min.js +0 -225
  184. package/dist/revolugo.hotelroomoffersbookingflow.COZqoepd.min.js +0 -679
  185. package/dist/revolugo.hotelroomoffersearchmenu.ByLxAySM.min.js +0 -38
  186. package/dist/revolugo.hotelroomoffersearchmenu.CdQUDvcb.min.js +0 -29
  187. package/dist/revolugo.hotelroomoffersview.ClVhWfgw.min.js +0 -124
  188. package/dist/revolugo.hotelroomoffersview.eCMrmTCo.min.js +0 -28
  189. package/dist/revolugo.i18n.BIDah4Hr.min.js +0 -10901
  190. package/dist/revolugo.index.7JjiClzl.min.js +0 -68
  191. package/dist/revolugo.index.BOFNqiKi.min.js +0 -128
  192. package/dist/revolugo.index.BUgl82zB.min.js +0 -270
  193. package/dist/revolugo.index.BafzMKRk.min.js +0 -13
  194. package/dist/revolugo.index.CVaQfmC0.min.js +0 -15
  195. package/dist/revolugo.index.CZ_vXpge.min.js +0 -161
  196. package/dist/revolugo.index.CfwKNM8Q.min.js +0 -9
  197. package/dist/revolugo.index.CnslRErc.min.js +0 -390
  198. package/dist/revolugo.index.DSRnAuVy.min.js +0 -322
  199. package/dist/revolugo.index.Dudg2j1-.min.js +0 -9
  200. package/dist/revolugo.index.Dx0TIvP-.min.js +0 -281
  201. package/dist/revolugo.index.DxqmvtLl.min.js +0 -142
  202. package/dist/revolugo.index.mq4mKuqN.min.js +0 -43
  203. package/dist/revolugo.index.uFyOvtCp.min.js +0 -42
  204. package/dist/revolugo.langpicker.CaTVC1cX.min.js +0 -103
  205. package/dist/revolugo.langpickerbtn.-w2EwXVX.min.js +0 -111
  206. package/dist/revolugo.langpickerbtn.j5kMlExk.min.js +0 -28
  207. package/dist/revolugo.localizedformat.C4ez1VLt.min.js +0 -47
  208. package/dist/revolugo.parsed-height.DNFIHNkb.min.js +0 -2338
  209. package/dist/revolugo.parsed-props.BaP5i3Zj.min.js +0 -95
  210. package/dist/revolugo.prebookform.BdoASrCo.min.js +0 -484
  211. package/dist/revolugo.prebookform.Cu_KCmAN.min.js +0 -28
  212. package/dist/revolugo.revolugo-config.B9n_CElG.min.js +0 -1707
  213. package/dist/revolugo.roominglisteditor.D554peLD.min.js +0 -28
  214. package/dist/revolugo.roominglisteditor.Dk6qQeAv.min.js +0 -201
  215. package/dist/revolugo.sentry.CuQ4Sj_P.min.js +0 -10989
  216. package/dist/revolugo.store.TBV-eqIE.min.js +0 -2497
  217. package/dist/revolugo.storybooktoolbar.B2yhjWX3.min.js +0 -300
  218. package/dist/revolugo.termsandconditions.D1WdEUB9.min.js +0 -27
  219. package/dist/revolugo.termsandconditions.Fz3tL15I.min.js +0 -162
  220. package/dist/revolugo.typed-mixins.CArk-fZ7.min.js +0 -8
  221. package/dist/revolugo.valert.Q0I4gNbO.min.js +0 -194
  222. package/dist/revolugo.vautocomplete.DTOsEc25.min.js +0 -255
  223. package/dist/revolugo.vbadge.CLJk9qhA.min.js +0 -172
  224. package/dist/revolugo.vbtn.DrwUvQHj.min.js +0 -286
  225. package/dist/revolugo.vcard.Bs6nQzOl.min.js +0 -80
  226. package/dist/revolugo.vchip.CuCeqWzD.min.js +0 -157
  227. package/dist/revolugo.vdialog.BbC4lqGQ.min.js +0 -341
  228. package/dist/revolugo.vexpansionpanelheader.B--qAjL8.min.js +0 -263
  229. package/dist/revolugo.vform.DzJhfMwE.min.js +0 -98
  230. package/dist/revolugo.vinput.DFfd_YGp.min.js +0 -509
  231. package/dist/revolugo.vitemgroup.CkDfn6V_.min.js +0 -168
  232. package/dist/revolugo.vlistitem.XfvAUlzQ.min.js +0 -204
  233. package/dist/revolugo.vmenu.C1w0iDUT.min.js +0 -349
  234. package/dist/revolugo.vselect.DsqU5p84.min.js +0 -859
  235. package/dist/revolugo.vsheet.Cqbr0KfV.min.js +0 -120
  236. package/dist/revolugo.vskeletonloader.gg-3RSEt.min.js +0 -172
  237. package/dist/revolugo.vslidegroup.C4i3UEKI.min.js +0 -650
  238. package/dist/revolugo.vsnackbar.BNgumj3w.min.js +0 -178
  239. package/dist/revolugo.vtextfield.C9nZE6f1.min.js +0 -438
  240. package/dist/revolugo.vtoolbar.CLDVT4Bb.min.js +0 -364
  241. package/dist/revolugo.vtooltip.CQJMuU2t.min.js +0 -168
  242. package/dist/revolugo.vuetify.BEdap6Ni.min.js +0 -865
  243. package/dist/revolugo.watch-list.Bb06Iz6D.min.js +0 -44
  244. package/dist/revolugo.webcomponentwrapper.CwAC855u.min.js +0 -777
@@ -1,865 +0,0 @@
1
- import { k as U, b as oe, V as se, e as We, f as $e, l as Ie } from "./revolugo.revolugo-config.B9n_CElG.min.js";
2
- import { V as ae, h as Ne, m as Me, p as De, i as He } from "./revolugo.i18n.BIDah4Hr.min.js";
3
- function Be(e) {
4
- try {
5
- if (typeof document < "u") {
6
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
7
- sheets: [],
8
- components: []
9
- };
10
- const t = import.meta.url, i = t.slice(0, t.lastIndexOf("/") + 1) + e;
11
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
12
- for (const n of REVOLUGO_ELEMENTS_STYLES.components)
13
- n(i);
14
- if (e.indexOf("fonts") >= 0) {
15
- const n = document.createElement("link");
16
- n.rel = "stylesheet", linK.href = i, document.head.appendChild(n);
17
- }
18
- }
19
- } catch (t) {
20
- console.error("[revolugo-elements] ", t);
21
- }
22
- }
23
- function Xe(e, t, i) {
24
- if (typeof window > "u" || !("IntersectionObserver" in window))
25
- return;
26
- const n = t.modifiers || {}, r = t.value, {
27
- handler: o,
28
- options: s
29
- } = typeof r == "object" ? r : {
30
- handler: r,
31
- options: {}
32
- }, a = new IntersectionObserver((v = [], d) => {
33
- var p;
34
- const u = (p = e._observe) === null || p === void 0 ? void 0 : p[i.context._uid];
35
- if (!u)
36
- return;
37
- const f = v.some((B) => B.isIntersecting);
38
- o && (!n.quiet || u.init) && (!n.once || f || u.init) && o(v, d, f), f && n.once ? ce(e, t, i) : u.init = !0;
39
- }, s);
40
- e._observe = Object(e._observe), e._observe[i.context._uid] = {
41
- init: !1,
42
- observer: a
43
- }, a.observe(e);
44
- }
45
- function ce(e, t, i) {
46
- var n;
47
- const r = (n = e._observe) === null || n === void 0 ? void 0 : n[i.context._uid];
48
- r && (r.observer.unobserve(e), delete e._observe[i.context._uid]);
49
- }
50
- const Ae = {
51
- inserted: Xe,
52
- unbind: ce
53
- };
54
- function ue(e) {
55
- if (typeof e.getRootNode != "function") {
56
- for (; e.parentNode; )
57
- e = e.parentNode;
58
- return e !== document ? null : document;
59
- }
60
- const t = e.getRootNode();
61
- return t !== document && t.getRootNode({
62
- composed: !0
63
- }) !== document ? null : t;
64
- }
65
- function Ve() {
66
- return !0;
67
- }
68
- function de(e, t, i) {
69
- if (!e || ve(e, i) === !1)
70
- return !1;
71
- const n = ue(t);
72
- if (typeof ShadowRoot < "u" && n instanceof ShadowRoot && n.host === e.target)
73
- return !1;
74
- const r = (typeof i.value == "object" && i.value.include || (() => []))();
75
- return r.push(t), !r.some((o) => o.contains(e.target));
76
- }
77
- function ve(e, t) {
78
- return (typeof t.value == "object" && t.value.closeConditional || Ve)(e);
79
- }
80
- function Ye(e, t, i) {
81
- const n = typeof i.value == "function" ? i.value : i.value.handler;
82
- t._clickOutside.lastMousedownWasOutside && de(e, t, i) && setTimeout(() => {
83
- ve(e, i) && n && n(e);
84
- }, 0);
85
- }
86
- function q(e, t) {
87
- const i = ue(e);
88
- t(document), typeof ShadowRoot < "u" && i instanceof ShadowRoot && t(i);
89
- }
90
- const Pe = {
91
- // [data-app] may not be found
92
- // if using bind, inserted makes
93
- // sure that the root element is
94
- // available, iOS does not support
95
- // clicks on body
96
- inserted(e, t, i) {
97
- const n = (o) => Ye(o, e, t), r = (o) => {
98
- e._clickOutside.lastMousedownWasOutside = de(o, e, t);
99
- };
100
- q(e, (o) => {
101
- o.addEventListener("click", n, !0), o.addEventListener("mousedown", r, !0);
102
- }), e._clickOutside || (e._clickOutside = {
103
- lastMousedownWasOutside: !0
104
- }), e._clickOutside[i.context._uid] = {
105
- onClick: n,
106
- onMousedown: r
107
- };
108
- },
109
- unbind(e, t, i) {
110
- e._clickOutside && (q(e, (n) => {
111
- var r;
112
- if (!n || !(!((r = e._clickOutside) === null || r === void 0) && r[i.context._uid]))
113
- return;
114
- const {
115
- onClick: o,
116
- onMousedown: s
117
- } = e._clickOutside[i.context._uid];
118
- n.removeEventListener("click", o, !0), n.removeEventListener("mousedown", s, !0);
119
- }), delete e._clickOutside[i.context._uid]);
120
- }
121
- };
122
- function Ue(e, t, i) {
123
- const n = t.value, r = t.options || {
124
- passive: !0
125
- };
126
- window.addEventListener("resize", n, r), e._onResize = Object(e._onResize), e._onResize[i.context._uid] = {
127
- callback: n,
128
- options: r
129
- }, (!t.modifiers || !t.modifiers.quiet) && n();
130
- }
131
- function qe(e, t, i) {
132
- var n;
133
- if (!(!((n = e._onResize) === null || n === void 0) && n[i.context._uid]))
134
- return;
135
- const {
136
- callback: r,
137
- options: o
138
- } = e._onResize[i.context._uid];
139
- window.removeEventListener("resize", r, o), delete e._onResize[i.context._uid];
140
- }
141
- const Fe = {
142
- inserted: Ue,
143
- unbind: qe
144
- }, Dt = Fe, je = 80;
145
- function F(e, t) {
146
- e.style.transform = t, e.style.webkitTransform = t;
147
- }
148
- function M(e) {
149
- return e.constructor.name === "TouchEvent";
150
- }
151
- function he(e) {
152
- return e.constructor.name === "KeyboardEvent";
153
- }
154
- const Ge = (e, t, i = {}) => {
155
- let n = 0, r = 0;
156
- if (!he(e)) {
157
- const u = t.getBoundingClientRect(), f = M(e) ? e.touches[e.touches.length - 1] : e;
158
- n = f.clientX - u.left, r = f.clientY - u.top;
159
- }
160
- let o = 0, s = 0.3;
161
- t._ripple && t._ripple.circle ? (s = 0.15, o = t.clientWidth / 2, o = i.center ? o : o + Math.sqrt((n - o) ** 2 + (r - o) ** 2) / 4) : o = Math.sqrt(t.clientWidth ** 2 + t.clientHeight ** 2) / 2;
162
- const a = `${(t.clientWidth - o * 2) / 2}px`, v = `${(t.clientHeight - o * 2) / 2}px`, d = i.center ? a : `${n - o}px`, p = i.center ? v : `${r - o}px`;
163
- return {
164
- radius: o,
165
- scale: s,
166
- x: d,
167
- y: p,
168
- centerX: a,
169
- centerY: v
170
- };
171
- }, C = {
172
- /* eslint-disable max-statements */
173
- show(e, t, i = {}) {
174
- if (!t._ripple || !t._ripple.enabled)
175
- return;
176
- const n = document.createElement("span"), r = document.createElement("span");
177
- n.appendChild(r), n.className = "v-ripple__container", i.class && (n.className += ` ${i.class}`);
178
- const {
179
- radius: o,
180
- scale: s,
181
- x: a,
182
- y: v,
183
- centerX: d,
184
- centerY: p
185
- } = Ge(e, t, i), u = `${o * 2}px`;
186
- r.className = "v-ripple__animation", r.style.width = u, r.style.height = u, t.appendChild(n);
187
- const f = window.getComputedStyle(t);
188
- f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), r.classList.add("v-ripple__animation--enter"), r.classList.add("v-ripple__animation--visible"), F(r, `translate(${a}, ${v}) scale3d(${s},${s},${s})`), r.dataset.activated = String(performance.now()), setTimeout(() => {
189
- r.classList.remove("v-ripple__animation--enter"), r.classList.add("v-ripple__animation--in"), F(r, `translate(${d}, ${p}) scale3d(1,1,1)`);
190
- }, 0);
191
- },
192
- hide(e) {
193
- if (!e || !e._ripple || !e._ripple.enabled)
194
- return;
195
- const t = e.getElementsByClassName("v-ripple__animation");
196
- if (t.length === 0)
197
- return;
198
- const i = t[t.length - 1];
199
- if (i.dataset.isHiding)
200
- return;
201
- i.dataset.isHiding = "true";
202
- const n = performance.now() - Number(i.dataset.activated), r = Math.max(250 - n, 0);
203
- setTimeout(() => {
204
- i.classList.remove("v-ripple__animation--in"), i.classList.add("v-ripple__animation--out"), setTimeout(() => {
205
- var o;
206
- e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((o = i.parentNode) === null || o === void 0 ? void 0 : o.parentNode) === e && e.removeChild(i.parentNode);
207
- }, 300);
208
- }, r);
209
- }
210
- };
211
- function le(e) {
212
- return typeof e > "u" || !!e;
213
- }
214
- function _(e) {
215
- const t = {}, i = e.currentTarget;
216
- if (!(!i || !i._ripple || i._ripple.touched || e.rippleStop)) {
217
- if (e.rippleStop = !0, M(e))
218
- i._ripple.touched = !0, i._ripple.isTouch = !0;
219
- else if (i._ripple.isTouch)
220
- return;
221
- if (t.center = i._ripple.centered || he(e), i._ripple.class && (t.class = i._ripple.class), M(e)) {
222
- if (i._ripple.showTimerCommit)
223
- return;
224
- i._ripple.showTimerCommit = () => {
225
- C.show(e, i, t);
226
- }, i._ripple.showTimer = window.setTimeout(() => {
227
- i && i._ripple && i._ripple.showTimerCommit && (i._ripple.showTimerCommit(), i._ripple.showTimerCommit = null);
228
- }, je);
229
- } else
230
- C.show(e, i, t);
231
- }
232
- }
233
- function h(e) {
234
- const t = e.currentTarget;
235
- if (!(!t || !t._ripple)) {
236
- if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) {
237
- t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, t._ripple.showTimer = setTimeout(() => {
238
- h(e);
239
- });
240
- return;
241
- }
242
- window.setTimeout(() => {
243
- t._ripple && (t._ripple.touched = !1);
244
- }), C.hide(t);
245
- }
246
- }
247
- function pe(e) {
248
- const t = e.currentTarget;
249
- !t || !t._ripple || (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer));
250
- }
251
- let k = !1;
252
- function fe(e) {
253
- !k && (e.keyCode === U.enter || e.keyCode === U.space) && (k = !0, _(e));
254
- }
255
- function be(e) {
256
- k = !1, h(e);
257
- }
258
- function me(e) {
259
- k === !0 && (k = !1, h(e));
260
- }
261
- function ge(e, t, i) {
262
- const n = le(t.value);
263
- n || C.hide(e), e._ripple = e._ripple || {}, e._ripple.enabled = n;
264
- const r = t.value || {};
265
- r.center && (e._ripple.centered = !0), r.class && (e._ripple.class = t.value.class), r.circle && (e._ripple.circle = r.circle), n && !i ? (e.addEventListener("touchstart", _, {
266
- passive: !0
267
- }), e.addEventListener("touchend", h, {
268
- passive: !0
269
- }), e.addEventListener("touchmove", pe, {
270
- passive: !0
271
- }), e.addEventListener("touchcancel", h), e.addEventListener("mousedown", _), e.addEventListener("mouseup", h), e.addEventListener("mouseleave", h), e.addEventListener("keydown", fe), e.addEventListener("keyup", be), e.addEventListener("blur", me), e.addEventListener("dragstart", h, {
272
- passive: !0
273
- })) : !n && i && Oe(e);
274
- }
275
- function Oe(e) {
276
- e.removeEventListener("mousedown", _), e.removeEventListener("touchstart", _), e.removeEventListener("touchend", h), e.removeEventListener("touchmove", pe), e.removeEventListener("touchcancel", h), e.removeEventListener("mouseup", h), e.removeEventListener("mouseleave", h), e.removeEventListener("keydown", fe), e.removeEventListener("keyup", be), e.removeEventListener("dragstart", h), e.removeEventListener("blur", me);
277
- }
278
- function Ke(e, t, i) {
279
- ge(e, t, !1);
280
- }
281
- function Je(e) {
282
- delete e._ripple, Oe(e);
283
- }
284
- function Qe(e, t) {
285
- if (t.value === t.oldValue)
286
- return;
287
- const i = le(t.oldValue);
288
- ge(e, t, i);
289
- }
290
- const Ze = {
291
- bind: Ke,
292
- unbind: Je,
293
- update: Qe
294
- }, Ht = Ze, et = (e) => {
295
- const {
296
- touchstartX: t,
297
- touchendX: i,
298
- touchstartY: n,
299
- touchendY: r
300
- } = e, o = 0.5, s = 16;
301
- e.offsetX = i - t, e.offsetY = r - n, Math.abs(e.offsetY) < o * Math.abs(e.offsetX) && (e.left && i < t - s && e.left(e), e.right && i > t + s && e.right(e)), Math.abs(e.offsetX) < o * Math.abs(e.offsetY) && (e.up && r < n - s && e.up(e), e.down && r > n + s && e.down(e));
302
- };
303
- function tt(e, t) {
304
- const i = e.changedTouches[0];
305
- t.touchstartX = i.clientX, t.touchstartY = i.clientY, t.start && t.start(Object.assign(e, t));
306
- }
307
- function it(e, t) {
308
- const i = e.changedTouches[0];
309
- t.touchendX = i.clientX, t.touchendY = i.clientY, t.end && t.end(Object.assign(e, t)), et(t);
310
- }
311
- function nt(e, t) {
312
- const i = e.changedTouches[0];
313
- t.touchmoveX = i.clientX, t.touchmoveY = i.clientY, t.move && t.move(Object.assign(e, t));
314
- }
315
- function rt(e) {
316
- const t = {
317
- touchstartX: 0,
318
- touchstartY: 0,
319
- touchendX: 0,
320
- touchendY: 0,
321
- touchmoveX: 0,
322
- touchmoveY: 0,
323
- offsetX: 0,
324
- offsetY: 0,
325
- left: e.left,
326
- right: e.right,
327
- up: e.up,
328
- down: e.down,
329
- start: e.start,
330
- move: e.move,
331
- end: e.end
332
- };
333
- return {
334
- touchstart: (i) => tt(i, t),
335
- touchend: (i) => it(i, t),
336
- touchmove: (i) => nt(i, t)
337
- };
338
- }
339
- function ot(e, t, i) {
340
- const n = t.value, r = n.parent ? e.parentElement : e, o = n.options || {
341
- passive: !0
342
- };
343
- if (!r)
344
- return;
345
- const s = rt(t.value);
346
- r._touchHandlers = Object(r._touchHandlers), r._touchHandlers[i.context._uid] = s, oe(s).forEach((a) => {
347
- r.addEventListener(a, s[a], o);
348
- });
349
- }
350
- function st(e, t, i) {
351
- const n = t.value.parent ? e.parentElement : e;
352
- if (!n || !n._touchHandlers)
353
- return;
354
- const r = n._touchHandlers[i.context._uid];
355
- oe(r).forEach((o) => {
356
- n.removeEventListener(o, r[o]);
357
- }), delete n._touchHandlers[i.context._uid];
358
- }
359
- const at = {
360
- inserted: ot,
361
- unbind: st
362
- }, Xt = at;
363
- var m = [], ct = function() {
364
- return m.some(function(e) {
365
- return e.activeTargets.length > 0;
366
- });
367
- }, ut = function() {
368
- return m.some(function(e) {
369
- return e.skippedTargets.length > 0;
370
- });
371
- }, j = "ResizeObserver loop completed with undelivered notifications.", dt = function() {
372
- var e;
373
- typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
374
- message: j
375
- }) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = j), window.dispatchEvent(e);
376
- }, y;
377
- (function(e) {
378
- e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
379
- })(y || (y = {}));
380
- var g = function(e) {
381
- return Object.freeze(e);
382
- }, vt = /* @__PURE__ */ function() {
383
- function e(t, i) {
384
- this.inlineSize = t, this.blockSize = i, g(this);
385
- }
386
- return e;
387
- }(), Ee = function() {
388
- function e(t, i, n, r) {
389
- return this.x = t, this.y = i, this.width = n, this.height = r, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, g(this);
390
- }
391
- return e.prototype.toJSON = function() {
392
- var t = this, i = t.x, n = t.y, r = t.top, o = t.right, s = t.bottom, a = t.left, v = t.width, d = t.height;
393
- return { x: i, y: n, top: r, right: o, bottom: s, left: a, width: v, height: d };
394
- }, e.fromRect = function(t) {
395
- return new e(t.x, t.y, t.width, t.height);
396
- }, e;
397
- }(), H = function(e) {
398
- return e instanceof SVGElement && "getBBox" in e;
399
- }, _e = function(e) {
400
- if (H(e)) {
401
- var t = e.getBBox(), i = t.width, n = t.height;
402
- return !i && !n;
403
- }
404
- var r = e, o = r.offsetWidth, s = r.offsetHeight;
405
- return !(o || s || e.getClientRects().length);
406
- }, G = function(e) {
407
- var t;
408
- if (e instanceof Element)
409
- return !0;
410
- var i = (t = e == null ? void 0 : e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView;
411
- return !!(i && e instanceof i.Element);
412
- }, ht = function(e) {
413
- switch (e.tagName) {
414
- case "INPUT":
415
- if (e.type !== "image")
416
- break;
417
- case "VIDEO":
418
- case "AUDIO":
419
- case "EMBED":
420
- case "OBJECT":
421
- case "CANVAS":
422
- case "IFRAME":
423
- case "IMG":
424
- return !0;
425
- }
426
- return !1;
427
- }, E = typeof window < "u" ? window : {}, T = /* @__PURE__ */ new WeakMap(), K = /auto|scroll/, lt = /^tb|vertical/, pt = /msie|trident/i.test(E.navigator && E.navigator.userAgent), b = function(e) {
428
- return parseFloat(e || "0");
429
- }, O = function(e, t, i) {
430
- return e === void 0 && (e = 0), t === void 0 && (t = 0), i === void 0 && (i = !1), new vt((i ? t : e) || 0, (i ? e : t) || 0);
431
- }, J = g({
432
- devicePixelContentBoxSize: O(),
433
- borderBoxSize: O(),
434
- contentBoxSize: O(),
435
- contentRect: new Ee(0, 0, 0, 0)
436
- }), ke = function(e, t) {
437
- if (t === void 0 && (t = !1), T.has(e) && !t)
438
- return T.get(e);
439
- if (_e(e))
440
- return T.set(e, J), J;
441
- var i = getComputedStyle(e), n = H(e) && e.ownerSVGElement && e.getBBox(), r = !pt && i.boxSizing === "border-box", o = lt.test(i.writingMode || ""), s = !n && K.test(i.overflowY || ""), a = !n && K.test(i.overflowX || ""), v = n ? 0 : b(i.paddingTop), d = n ? 0 : b(i.paddingRight), p = n ? 0 : b(i.paddingBottom), u = n ? 0 : b(i.paddingLeft), f = n ? 0 : b(i.borderTopWidth), B = n ? 0 : b(i.borderRightWidth), Te = n ? 0 : b(i.borderBottomWidth), Re = n ? 0 : b(i.borderLeftWidth), X = u + d, A = v + p, W = Re + B, $ = f + Te, V = a ? e.offsetHeight - $ - e.clientHeight : 0, Y = s ? e.offsetWidth - W - e.clientWidth : 0, ze = r ? X + W : 0, Se = r ? A + $ : 0, x = n ? n.width : b(i.width) - ze - Y, w = n ? n.height : b(i.height) - Se - V, Le = x + X + Y + W, Ce = w + A + V + $, P = g({
442
- devicePixelContentBoxSize: O(Math.round(x * devicePixelRatio), Math.round(w * devicePixelRatio), o),
443
- borderBoxSize: O(Le, Ce, o),
444
- contentBoxSize: O(x, w, o),
445
- contentRect: new Ee(u, v, x, w)
446
- });
447
- return T.set(e, P), P;
448
- }, ye = function(e, t, i) {
449
- var n = ke(e, i), r = n.borderBoxSize, o = n.contentBoxSize, s = n.devicePixelContentBoxSize;
450
- switch (t) {
451
- case y.DEVICE_PIXEL_CONTENT_BOX:
452
- return s;
453
- case y.BORDER_BOX:
454
- return r;
455
- default:
456
- return o;
457
- }
458
- }, ft = /* @__PURE__ */ function() {
459
- function e(t) {
460
- var i = ke(t);
461
- this.target = t, this.contentRect = i.contentRect, this.borderBoxSize = g([i.borderBoxSize]), this.contentBoxSize = g([i.contentBoxSize]), this.devicePixelContentBoxSize = g([i.devicePixelContentBoxSize]);
462
- }
463
- return e;
464
- }(), xe = function(e) {
465
- if (_e(e))
466
- return 1 / 0;
467
- for (var t = 0, i = e.parentNode; i; )
468
- t += 1, i = i.parentNode;
469
- return t;
470
- }, bt = function() {
471
- var e = 1 / 0, t = [];
472
- m.forEach(function(s) {
473
- if (s.activeTargets.length !== 0) {
474
- var a = [];
475
- s.activeTargets.forEach(function(d) {
476
- var p = new ft(d.target), u = xe(d.target);
477
- a.push(p), d.lastReportedSize = ye(d.target, d.observedBox), u < e && (e = u);
478
- }), t.push(function() {
479
- s.callback.call(s.observer, a, s.observer);
480
- }), s.activeTargets.splice(0, s.activeTargets.length);
481
- }
482
- });
483
- for (var i = 0, n = t; i < n.length; i++) {
484
- var r = n[i];
485
- r();
486
- }
487
- return e;
488
- }, Q = function(e) {
489
- m.forEach(function(i) {
490
- i.activeTargets.splice(0, i.activeTargets.length), i.skippedTargets.splice(0, i.skippedTargets.length), i.observationTargets.forEach(function(r) {
491
- r.isActive() && (xe(r.target) > e ? i.activeTargets.push(r) : i.skippedTargets.push(r));
492
- });
493
- });
494
- }, mt = function() {
495
- var e = 0;
496
- for (Q(e); ct(); )
497
- e = bt(), Q(e);
498
- return ut() && dt(), e > 0;
499
- }, I, we = [], gt = function() {
500
- return we.splice(0).forEach(function(e) {
501
- return e();
502
- });
503
- }, Ot = function(e) {
504
- if (!I) {
505
- var t = 0, i = document.createTextNode(""), n = { characterData: !0 };
506
- new MutationObserver(function() {
507
- return gt();
508
- }).observe(i, n), I = function() {
509
- i.textContent = "".concat(t ? t-- : t++);
510
- };
511
- }
512
- we.push(e), I();
513
- }, Et = function(e) {
514
- Ot(function() {
515
- requestAnimationFrame(e);
516
- });
517
- }, L = 0, _t = function() {
518
- return !!L;
519
- }, kt = 250, yt = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, Z = [
520
- "resize",
521
- "load",
522
- "transitionend",
523
- "animationend",
524
- "animationstart",
525
- "animationiteration",
526
- "keyup",
527
- "keydown",
528
- "mouseup",
529
- "mousedown",
530
- "mouseover",
531
- "mouseout",
532
- "blur",
533
- "focus"
534
- ], ee = function(e) {
535
- return e === void 0 && (e = 0), Date.now() + e;
536
- }, N = !1, xt = function() {
537
- function e() {
538
- var t = this;
539
- this.stopped = !0, this.listener = function() {
540
- return t.schedule();
541
- };
542
- }
543
- return e.prototype.run = function(t) {
544
- var i = this;
545
- if (t === void 0 && (t = kt), !N) {
546
- N = !0;
547
- var n = ee(t);
548
- Et(function() {
549
- var r = !1;
550
- try {
551
- r = mt();
552
- } finally {
553
- if (N = !1, t = n - ee(), !_t())
554
- return;
555
- r ? i.run(1e3) : t > 0 ? i.run(t) : i.start();
556
- }
557
- });
558
- }
559
- }, e.prototype.schedule = function() {
560
- this.stop(), this.run();
561
- }, e.prototype.observe = function() {
562
- var t = this, i = function() {
563
- return t.observer && t.observer.observe(document.body, yt);
564
- };
565
- document.body ? i() : E.addEventListener("DOMContentLoaded", i);
566
- }, e.prototype.start = function() {
567
- var t = this;
568
- this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), Z.forEach(function(i) {
569
- return E.addEventListener(i, t.listener, !0);
570
- }));
571
- }, e.prototype.stop = function() {
572
- var t = this;
573
- this.stopped || (this.observer && this.observer.disconnect(), Z.forEach(function(i) {
574
- return E.removeEventListener(i, t.listener, !0);
575
- }), this.stopped = !0);
576
- }, e;
577
- }(), D = new xt(), te = function(e) {
578
- !L && e > 0 && D.start(), L += e, !L && D.stop();
579
- }, wt = function(e) {
580
- return !H(e) && !ht(e) && getComputedStyle(e).display === "inline";
581
- }, Tt = function() {
582
- function e(t, i) {
583
- this.target = t, this.observedBox = i || y.CONTENT_BOX, this.lastReportedSize = {
584
- inlineSize: 0,
585
- blockSize: 0
586
- };
587
- }
588
- return e.prototype.isActive = function() {
589
- var t = ye(this.target, this.observedBox, !0);
590
- return wt(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
591
- }, e;
592
- }(), Rt = /* @__PURE__ */ function() {
593
- function e(t, i) {
594
- this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = i;
595
- }
596
- return e;
597
- }(), R = /* @__PURE__ */ new WeakMap(), ie = function(e, t) {
598
- for (var i = 0; i < e.length; i += 1)
599
- if (e[i].target === t)
600
- return i;
601
- return -1;
602
- }, z = function() {
603
- function e() {
604
- }
605
- return e.connect = function(t, i) {
606
- var n = new Rt(t, i);
607
- R.set(t, n);
608
- }, e.observe = function(t, i, n) {
609
- var r = R.get(t), o = r.observationTargets.length === 0;
610
- ie(r.observationTargets, i) < 0 && (o && m.push(r), r.observationTargets.push(new Tt(i, n && n.box)), te(1), D.schedule());
611
- }, e.unobserve = function(t, i) {
612
- var n = R.get(t), r = ie(n.observationTargets, i), o = n.observationTargets.length === 1;
613
- r >= 0 && (o && m.splice(m.indexOf(n), 1), n.observationTargets.splice(r, 1), te(-1));
614
- }, e.disconnect = function(t) {
615
- var i = this, n = R.get(t);
616
- n.observationTargets.slice().forEach(function(r) {
617
- return i.unobserve(t, r.target);
618
- }), n.activeTargets.splice(0, n.activeTargets.length);
619
- }, e;
620
- }(), zt = function() {
621
- function e(t) {
622
- if (arguments.length === 0)
623
- throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
624
- if (typeof t != "function")
625
- throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
626
- z.connect(this, t);
627
- }
628
- return e.prototype.observe = function(t, i) {
629
- if (arguments.length === 0)
630
- throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
631
- if (!G(t))
632
- throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
633
- z.observe(this, t, i);
634
- }, e.prototype.unobserve = function(t) {
635
- if (arguments.length === 0)
636
- throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
637
- if (!G(t))
638
- throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
639
- z.unobserve(this, t);
640
- }, e.prototype.disconnect = function() {
641
- z.disconnect(this);
642
- }, e.toString = function() {
643
- return "function ResizeObserver () { [polyfill code] }";
644
- }, e;
645
- }();
646
- let S;
647
- const St = new Uint8Array(16);
648
- function Lt() {
649
- if (!S && (S = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !S))
650
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
651
- return S(St);
652
- }
653
- const c = [];
654
- for (let e = 0; e < 256; ++e)
655
- c.push((e + 256).toString(16).slice(1));
656
- function Ct(e, t = 0) {
657
- return c[e[t + 0]] + c[e[t + 1]] + c[e[t + 2]] + c[e[t + 3]] + "-" + c[e[t + 4]] + c[e[t + 5]] + "-" + c[e[t + 6]] + c[e[t + 7]] + "-" + c[e[t + 8]] + c[e[t + 9]] + "-" + c[e[t + 10]] + c[e[t + 11]] + c[e[t + 12]] + c[e[t + 13]] + c[e[t + 14]] + c[e[t + 15]];
658
- }
659
- const Bt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ne = {
660
- randomUUID: Bt
661
- };
662
- function Wt(e, t, i) {
663
- if (ne.randomUUID && !t && !e)
664
- return ne.randomUUID();
665
- e = e || {};
666
- const n = e.random || (e.rng || Lt)();
667
- if (n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, t) {
668
- i = i || 0;
669
- for (let r = 0; r < 16; ++r)
670
- t[i + r] = n[r];
671
- return t;
672
- }
673
- return Ct(n);
674
- }
675
- const l = {
676
- xs: { maxWidth: 575 },
677
- sm: {
678
- minWidth: 576,
679
- maxWidth: 767
680
- },
681
- md: {
682
- minWidth: 768,
683
- maxWidth: 991
684
- },
685
- lg: {
686
- minWidth: 992,
687
- maxWidth: 1199
688
- },
689
- xl: {
690
- minWidth: 1200
691
- }
692
- }, re = "bp-observer", $t = function(e) {
693
- return e.$el.className === re ? e.$el : typeof e.$el.closest != "function" ? null : e.$el.closest(`.${re}`);
694
- }, At = ae.extend({
695
- data() {
696
- return {
697
- breakpointObserverEl: null,
698
- breakpointObserverId: null,
699
- breakpointObserverResizeObserver: null,
700
- breakpointObserverSize: {
701
- width: 0,
702
- height: 0
703
- },
704
- breakpointObserverEq: {
705
- breakpoints: l
706
- }
707
- };
708
- },
709
- computed: {
710
- breakpointService() {
711
- return this.breakpointObserverEq && this.breakpointObserverEq.breakpoints && this.breakpointObserverSize && // mark this.breakpointObserverSize.width and this.breakpointObserverSize.height as dependencies
712
- // for the reactivity of the computed breakpoints-property
713
- typeof this.breakpointObserverSize.width == "number" && typeof this.breakpointObserverSize.height == "number" ? Object.keys(this.breakpointObserverEq.breakpoints).reduce(
714
- (e, t) => ({
715
- ...e,
716
- [t]: this.breakpointObserverCheckAllConditions(
717
- this.breakpointObserverEq.breakpoints[t]
718
- )
719
- }),
720
- { ready: !0 }
721
- ) : { ready: !1 };
722
- },
723
- currentBreakpoint() {
724
- return Ne(
725
- this.breakpointService,
726
- (e, t) => t !== "ready" && e === !0
727
- );
728
- }
729
- },
730
- mounted() {
731
- this.breakpointObserverInit();
732
- },
733
- beforeDestroy() {
734
- this.breakpointObserverDestroy();
735
- },
736
- methods: {
737
- onResize({ width: e, height: t }) {
738
- this.breakpointObserverSize && (this.breakpointObserverSize.height = t, this.breakpointObserverSize.width = e);
739
- let i = "";
740
- switch (this.currentBreakpoint) {
741
- case "sm": {
742
- i = `${l.sm.minWidth}px`;
743
- break;
744
- }
745
- case "md": {
746
- i = `${l.sm.minWidth}px ${l.md.minWidth}px`;
747
- break;
748
- }
749
- case "lg": {
750
- i = `${l.sm.minWidth}px ${l.md.minWidth}px ${l.lg.minWidth}px`;
751
- break;
752
- }
753
- case "xl": {
754
- i = `${l.sm.minWidth}px ${l.md.minWidth}px ${l.lg.minWidth}px ${l.xl.minWidth}px`;
755
- break;
756
- }
757
- }
758
- this.breakpointObserverEl && (this.breakpointObserverEl.setAttribute("min-width", i), this.breakpointObserverId && this.$store.set(
759
- `breakpointService/breakpointObservers@${this.breakpointObserverId}`,
760
- {
761
- ...this.breakpointService,
762
- height: t,
763
- width: e
764
- }
765
- ));
766
- },
767
- /**
768
- * initialize the ResizeObserver for this component
769
- */
770
- breakpointObserverInit() {
771
- this.breakpointObserverEl = this.breakpointObserverEl || $t(this), this.breakpointObserverEl && (this.breakpointObserverId = Wt(), this.breakpointObserverEl.setAttribute("id", this.breakpointObserverId), this.$store.set(
772
- `breakpointService/breakpointObservers@${this.breakpointObserverId}`,
773
- { ready: !1 }
774
- ), this.breakpointObserverResizeObserver = new zt(([e]) => {
775
- const { height: t, width: i } = e.contentRect;
776
- this.onResize({
777
- width: i,
778
- height: t
779
- });
780
- }), this.breakpointObserverResizeObserver.observe(this.breakpointObserverEl));
781
- },
782
- /**
783
- * Stop observing the current element and disconnect the ResizeObserver
784
- */
785
- breakpointObserverDestroy() {
786
- this.breakpointObserverResizeObserver && this.breakpointObserverResizeObserver.disconnect();
787
- },
788
- /**
789
- * Checks all the conditions of a breakpoint
790
- * returns `true` if all conditions match
791
- * @param {object} bp
792
- */
793
- breakpointObserverCheckAllConditions(e) {
794
- return !Object.keys(e).find(
795
- // if any condition returns false:
796
- // we break out of the iteration early because of `.find()`
797
- (t) => !this.breakpointObserverCheckCondition(t, e[t])
798
- );
799
- },
800
- /**
801
- * Checks the condition of a specific condition + value
802
- * @param {string} type
803
- * @param {number} value
804
- */
805
- breakpointObserverCheckCondition(e, t) {
806
- switch (e) {
807
- case "minWidth":
808
- return this.breakpointObserverSize.width >= t;
809
- case "maxWidth":
810
- return this.breakpointObserverSize.width <= t;
811
- case "minHeight":
812
- return this.breakpointObserverSize.height >= t;
813
- case "maxHeight":
814
- return this.breakpointObserverSize.height <= t;
815
- }
816
- return !1;
817
- }
818
- }
819
- });
820
- ae.use(se, {
821
- directives: {
822
- ClickOutside: Pe,
823
- Intersect: Ae
824
- }
825
- });
826
- const It = {
827
- options: { customProperties: !0 },
828
- themes: {
829
- light: Ie
830
- }
831
- }, Vt = new se({
832
- breakpoint: {
833
- thresholds: Me(
834
- De(l, ["xs", "sm", "md", "lg"]),
835
- (e) => (e.maxWidth || 0) + 1
836
- ),
837
- scrollBarWidth: 0
838
- },
839
- theme: It,
840
- icons: {
841
- iconfont: "fa"
842
- },
843
- locales: {
844
- en: We,
845
- fr: $e
846
- },
847
- lang: {
848
- t: (e, ...t) => He.t(e, t)
849
- }
850
- });
851
- Be("css/revolugo.vuetify.BpIoHlAi.css");
852
- export {
853
- Pe as C,
854
- Ae as I,
855
- Dt as R,
856
- Xt as T,
857
- ue as a,
858
- At as b,
859
- re as c,
860
- It as d,
861
- $t as g,
862
- Ht as r,
863
- Vt as v
864
- };
865
- //# sourceMappingURL=revolugo.vuetify.BEdap6Ni.min.js.map