@revolugo/elements 6.8.3-beta.13 → 6.8.3-beta.15

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 (178) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.CcLw1eDZ.css +1 -0
  3. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.CmjarAgQ.css} +1 -1
  4. package/dist/revolugo.banktransferdetails.Cvzg5_Ic.min.js +36 -0
  5. package/dist/revolugo.bookingdetailssidebar.k46HDmg6.min.js +37 -0
  6. package/dist/revolugo.bookingmanager.Bp3Iq-CV.min.js +24 -0
  7. package/dist/revolugo.cancellationpoliciesbadge.D94ditk5.min.js +24 -0
  8. package/dist/revolugo.cancellationpoliciesbadge.props.BnLjFL5s.min.js +31712 -0
  9. package/dist/revolugo.cancellationpolicieslist.ofFI9Dx1.min.js +24 -0
  10. package/dist/revolugo.creditcardform.DNY-xKYV.min.js +24 -0
  11. package/dist/revolugo.creditcardpayment.DoH0pwLm.min.js +24 -0
  12. package/dist/revolugo.currencypickerbtn.DcoR1F1Y.min.js +24 -0
  13. package/dist/revolugo.fastbookingflow.DdfGwiWZ.min.js +34 -0
  14. package/dist/revolugo.fullbookingflow.BbqC4qQ1.min.js +24 -0
  15. package/dist/revolugo.hoteldescriptionview.CBhuNO9_.min.js +24 -0
  16. package/dist/revolugo.hotelofferlist.DgZhb92H.min.js +24 -0
  17. package/dist/{revolugo.hoteloffersearchmenu.BJ-JtltU.min.js → revolugo.hoteloffersearchmenu.Ojiuc5KP.min.js} +37 -39
  18. package/dist/revolugo.hoteloffersmap.95AMizbv.min.js +24 -0
  19. package/dist/revolugo.hoteloffersview.CUcJpz15.min.js +19 -0
  20. package/dist/revolugo.hotelroomofferlist.deuoRfWR.min.js +24 -0
  21. package/dist/revolugo.hotelroomoffersbookingflow.dTr1ET_n.min.js +24 -0
  22. package/dist/revolugo.hotelroomoffersearchmenu.DDi3cRLS.min.js +24 -0
  23. package/dist/revolugo.hotelroomoffersview.CFseu6Pj.min.js +24 -0
  24. package/dist/{revolugo.index.DW0gTseB.min.js → revolugo.index.Bz-n9tuq.min.js} +6 -6
  25. package/dist/{revolugo.index.wc.ChJWkzSz.min.js → revolugo.index.wc.DevpsraD.min.js} +267 -267
  26. package/dist/revolugo.langpickerbtn.B9byfQqd.min.js +29 -0
  27. package/dist/revolugo.min.js +1 -1
  28. package/dist/revolugo.prebookform.BDFY-Ks_.min.js +24 -0
  29. package/dist/revolugo.roominglisteditor.B_AOuHI_.min.js +24 -0
  30. package/dist/{revolugo.storybooktoolbar.C-phKw4Y.min.js → revolugo.storybooktoolbar.BamIltF8.min.js} +132 -146
  31. package/dist/revolugo.termsandconditions.Dfp652uY.min.js +23 -0
  32. package/dist/revolugo.webcomponentwrapper.CEjK8-cS.min.js +28682 -0
  33. package/package.json +1 -1
  34. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +0 -1
  35. package/dist/css/revolugo.bhoteloffersfilterbar.BP8bd417.css +0 -1
  36. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  37. package/dist/css/revolugo.bimagecarousel.BxIL_xDV.css +0 -1
  38. package/dist/css/revolugo.bookingdetailssidebar.g_6Xwqnt.css +0 -1
  39. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  40. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  41. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  42. package/dist/css/revolugo.creditcardform.BXv0c3zQ.css +0 -1
  43. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  44. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  45. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  46. package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +0 -1
  47. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  48. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  49. package/dist/css/revolugo.hoteloffersmap.CdDZxzE3.css +0 -1
  50. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +0 -1
  51. package/dist/css/revolugo.hotelroomofferlist.C1uw1vfC.css +0 -1
  52. package/dist/css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css +0 -1
  53. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  54. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  55. package/dist/css/revolugo.prebookform.BqSw27Yj.css +0 -1
  56. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  57. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  58. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  59. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  60. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  61. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  62. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  63. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  64. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  65. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  66. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  67. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  68. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  69. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  70. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  71. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  72. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  73. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  74. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  75. package/dist/css/revolugo.vtextarea.BTR7f0gW.css +0 -1
  76. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  77. package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
  78. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  79. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  80. package/dist/revolugo._baseiteratee.cBR9c7y0.min.js +0 -247
  81. package/dist/revolugo.banktransferdetails.COKZxUgl.min.js +0 -358
  82. package/dist/revolugo.bdaterangepicker.DTHAdEo_.min.js +0 -8324
  83. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CSkPq_d5.min.js +0 -143
  84. package/dist/revolugo.bhoteloffersfilterbar.WV1ViyRw.min.js +0 -4209
  85. package/dist/revolugo.bhotelroomsdetails.Du1N0UAf.min.js +0 -965
  86. package/dist/revolugo.bimagecarousel.CBxDqlvz.min.js +0 -480
  87. package/dist/revolugo.bookingdetailssidebar.DPhWTa8q.min.js +0 -37
  88. package/dist/revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.CFy72I3H.min.js +0 -811
  89. package/dist/revolugo.bookingmanager.DU11HnFM.min.js +0 -1755
  90. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.O_acR9ze.min.js +0 -91
  91. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CsJ-qnww.min.js +0 -570
  92. package/dist/revolugo.btag.C62gPpXY.min.js +0 -375
  93. package/dist/revolugo.cancellationpoliciesbadge.2POZ-HT5.min.js +0 -198
  94. package/dist/revolugo.cancellationpoliciesbadge.Ct0ngoDp.min.js +0 -28
  95. package/dist/revolugo.cancellationpolicieslist.B3anYVoy.min.js +0 -148
  96. package/dist/revolugo.cancellationpolicieslist.CXfbgIoX.min.js +0 -25
  97. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  98. package/dist/revolugo.case-transformers.BwQ_6ytS.min.js +0 -123
  99. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  100. package/dist/revolugo.creditcardform.Bk7yeZle.min.js +0 -2148
  101. package/dist/revolugo.creditcardform.CLPMa22X.min.js +0 -24
  102. package/dist/revolugo.creditcardpayment.16l0_Jf7.min.js +0 -885
  103. package/dist/revolugo.creditcardpayment.8uLeCSFY.min.js +0 -24
  104. package/dist/revolugo.currencypicker.C2vrmj29.min.js +0 -330
  105. package/dist/revolugo.currencypickerbtn.D-_ebAdx.min.js +0 -157
  106. package/dist/revolugo.currencypickerbtn.oOaJl4xV.min.js +0 -24
  107. package/dist/revolugo.dates.CjcXQ0GW.min.js +0 -31
  108. package/dist/revolugo.defaultsdeep.BeZIlIB3.min.js +0 -104
  109. package/dist/revolugo.dialog-attach.BhhnSZUl.min.js +0 -27
  110. package/dist/revolugo.dialog-transition.FTaI_Ytg.min.js +0 -111
  111. package/dist/revolugo.fastbookingflow.BEvuz8TE.min.js +0 -34
  112. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  113. package/dist/revolugo.fullbookingflow.Cqc7o02c.min.js +0 -429
  114. package/dist/revolugo.hotel-offer-request.aeZsBIhG.min.js +0 -98
  115. package/dist/revolugo.hoteldescriptionview.Cc34IdcB.min.js +0 -2956
  116. package/dist/revolugo.hoteldescriptionview.bwCbJ_Lc.min.js +0 -24
  117. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CmUguFEO.min.js +0 -241
  118. package/dist/revolugo.hotelofferlist.BjxZDBqQ.min.js +0 -24
  119. package/dist/revolugo.hotelofferlist.BvbLSbsN.min.js +0 -5624
  120. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  121. package/dist/revolugo.hoteloffersearchmenuui.EO_TtRM1.min.js +0 -829
  122. package/dist/revolugo.hoteloffersmap.CXSkWGLL.min.js +0 -24
  123. package/dist/revolugo.hoteloffersmap.CwRdoBFO.min.js +0 -9016
  124. package/dist/revolugo.hoteloffersview.Bldot7ii.min.js +0 -19
  125. package/dist/revolugo.hoteloffersview.DmZBFwbi.min.js +0 -614
  126. package/dist/revolugo.hotelroomofferlist.BMzSnIk0.min.js +0 -2788
  127. package/dist/revolugo.hotelroomofferlist.BfIOXkSe.min.js +0 -24
  128. package/dist/revolugo.hotelroomofferrequestcreator.props.C6XfAEF1.min.js +0 -171
  129. package/dist/revolugo.hotelroomoffersbookingflow.NFAeeps4.min.js +0 -1281
  130. package/dist/revolugo.hotelroomoffersearchmenu.6fvMlU9I.min.js +0 -25
  131. package/dist/revolugo.hotelroomoffersearchmenu.DdtWQl8T.min.js +0 -231
  132. package/dist/revolugo.hotelroomoffersview.BYJ5V84k.min.js +0 -290
  133. package/dist/revolugo.hotelroomoffersview.CvL5egT6.min.js +0 -24
  134. package/dist/revolugo.index.BEuxTkkV.min.js +0 -1232
  135. package/dist/revolugo.langpicker.C3WkV6vL.min.js +0 -99
  136. package/dist/revolugo.langpickerbtn.Big2FR0-.min.js +0 -131
  137. package/dist/revolugo.langpickerbtn.BtNmwMy5.min.js +0 -29
  138. package/dist/revolugo.parsed-props.CKrOq6vN.min.js +0 -39
  139. package/dist/revolugo.pathify.BXdI-Fp4.min.js +0 -36
  140. package/dist/revolugo.prebookform.Bt4-Cptm.min.js +0 -24
  141. package/dist/revolugo.prebookform.DLNVSLoS.min.js +0 -3373
  142. package/dist/revolugo.roominglisteditor.CQzIDZtG.min.js +0 -24
  143. package/dist/revolugo.roominglisteditor.w3dcygO-.min.js +0 -377
  144. package/dist/revolugo.rounded.TLykrsW-.min.js +0 -68
  145. package/dist/revolugo.ssrboot.B7Rop2QP.min.js +0 -18
  146. package/dist/revolugo.termsandconditions.BT6qdQad.min.js +0 -23
  147. package/dist/revolugo.termsandconditions.Bo6ToP4B.min.js +0 -405
  148. package/dist/revolugo.use-breakpoint-service.CgKRPcVE.min.js +0 -39
  149. package/dist/revolugo.use-dialog-attach.EGF5pKTl.min.js +0 -16
  150. package/dist/revolugo.use-html-element.Bvmaeg1E.min.js +0 -11
  151. package/dist/revolugo.use-parsed-props.DL26tjRL.min.js +0 -29
  152. package/dist/revolugo.vautocomplete.C1ryjPoI.min.js +0 -445
  153. package/dist/revolugo.vbadge.BFTNHKkx.min.js +0 -112
  154. package/dist/revolugo.vbtn.Cw5eo1Xx.min.js +0 -398
  155. package/dist/revolugo.vcard.DlI6Moiv.min.js +0 -313
  156. package/dist/revolugo.vcheckboxbtn.Bc0xhmo2.min.js +0 -478
  157. package/dist/revolugo.vdialog.up-Y8p7U.min.js +0 -133
  158. package/dist/revolugo.vdivider.CaptbTLL.min.js +0 -77
  159. package/dist/revolugo.vexpansionpanels.DeQCpMrB.min.js +0 -262
  160. package/dist/revolugo.vform.Cix7vOUg.min.js +0 -46
  161. package/dist/revolugo.vicon.BebzkIu9.min.js +0 -105
  162. package/dist/revolugo.vinput.BP0DAwB4.min.js +0 -463
  163. package/dist/revolugo.vlabel.BLwMEYcT.min.js +0 -48
  164. package/dist/revolugo.vlist.BQB5ovkZ.min.js +0 -1299
  165. package/dist/revolugo.vmenu.Bkfr0AZ8.min.js +0 -145
  166. package/dist/revolugo.vselect.CnEh8cV1.min.js +0 -660
  167. package/dist/revolugo.vsheet.3Q2yGw6P.min.js +0 -72
  168. package/dist/revolugo.vskeletonloader.Duv2gHal.min.js +0 -136
  169. package/dist/revolugo.vslidegroup.DRWO8Opf.min.js +0 -325
  170. package/dist/revolugo.vsnackbar.IdM-bZTD.min.js +0 -198
  171. package/dist/revolugo.vspacer.C-OarNi7.min.js +0 -7
  172. package/dist/revolugo.vtextarea.Dm9Cp0hC.min.js +0 -240
  173. package/dist/revolugo.vtextfield.CJVqkfB9.min.js +0 -501
  174. package/dist/revolugo.vtoolbar.DvuDs2yB.min.js +0 -180
  175. package/dist/revolugo.vtooltip.64CgkEK4.min.js +0 -89
  176. package/dist/revolugo.vwindowitem.qKodFAHS.min.js +0 -317
  177. package/dist/revolugo.watch-list.0WSknWRu.min.js +0 -16
  178. package/dist/revolugo.webcomponentwrapper.BXqP9KYd.min.js +0 -2088
@@ -1,2088 +0,0 @@
1
- import { cB as Dt, cQ as Ce, cU as it, cV as lt, a0 as B, c3 as U, ac as Oe, r as H, bz as G, Y as Re, O as I, cq as ut, ap as le, aQ as Kt, a7 as X, ci as Gt, cW as Ut, H as d, aq as K, ab as L, X as ct, ar as Te, cL as qt, _ as ft, cP as dt, cX as He, cY as Yt, cZ as Zt, c_ as Xt, cz as Jt, c$ as je, ad as Le, b_ as Qt, W as me, aJ as j, cO as en, aP as vt, an as Ne, D as Z, $ as ye, d0 as ge, z as Be, aI as Ie, aE as De, aa as $e, d1 as mt, d2 as tn, bZ as nn, aL as on, c1 as an, a4 as rn, aK as yt, aD as gt, aN as ht, a as V, cA as sn, J as ln, K as un, aG as cn, F as pt, d as Me, k as ce, w as oe, Z as Ke, o as Q, b as se, l as ie, d3 as fn, bS as dn, T as vn, bP as bt, c as Pe, C as mn, u as yn, B as gn, i as Ge, e as hn, t as pn } from "./revolugo.index.wc.ChJWkzSz.min.js";
2
- function jt(e) {
3
- try {
4
- if (typeof document < "u") {
5
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
6
- sheets: [],
7
- components: []
8
- };
9
- const t = import.meta.url, n = t.slice(0, t.lastIndexOf("/") + 1) + e;
10
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
11
- for (const o of REVOLUGO_ELEMENTS_STYLES.components)
12
- o(n);
13
- if (e.indexOf("fonts") >= 0) {
14
- const o = document.createElement("link");
15
- o.rel = "stylesheet", linK.href = n, document.head.appendChild(o);
16
- }
17
- }
18
- } catch (t) {
19
- console.error("[revolugo-elements] ", t);
20
- }
21
- }
22
- function bn() {
23
- return Dt()?.root;
24
- }
25
- function Sn() {
26
- return bn()?.ce || null;
27
- }
28
- function En() {
29
- return Sn()?.shadowRoot || null;
30
- }
31
- const St = ["top", "bottom"], wn = ["start", "end", "left", "right"];
32
- function Ue(e, t) {
33
- let [n, o] = e.split(" ");
34
- return o || (o = Ce(St, n) ? "start" : Ce(wn, n) ? "top" : "center"), {
35
- side: qe(n, t),
36
- align: qe(o, t)
37
- };
38
- }
39
- function qe(e, t) {
40
- return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e;
41
- }
42
- function Se(e) {
43
- return {
44
- side: {
45
- center: "center",
46
- top: "bottom",
47
- bottom: "top",
48
- left: "right",
49
- right: "left"
50
- }[e.side],
51
- align: e.align
52
- };
53
- }
54
- function Ee(e) {
55
- return {
56
- side: e.side,
57
- align: {
58
- center: "center",
59
- top: "bottom",
60
- bottom: "top",
61
- left: "right",
62
- right: "left"
63
- }[e.align]
64
- };
65
- }
66
- function Ye(e) {
67
- return {
68
- side: e.align,
69
- align: e.side
70
- };
71
- }
72
- function Ze(e) {
73
- return Ce(St, e.side) ? "y" : "x";
74
- }
75
- class ee {
76
- constructor(t) {
77
- let {
78
- x: n,
79
- y: o,
80
- width: a,
81
- height: r
82
- } = t;
83
- this.x = n, this.y = o, this.width = a, this.height = r;
84
- }
85
- get top() {
86
- return this.y;
87
- }
88
- get bottom() {
89
- return this.y + this.height;
90
- }
91
- get left() {
92
- return this.x;
93
- }
94
- get right() {
95
- return this.x + this.width;
96
- }
97
- }
98
- function Xe(e, t) {
99
- return {
100
- x: {
101
- before: Math.max(0, t.left - e.left),
102
- after: Math.max(0, e.right - t.right)
103
- },
104
- y: {
105
- before: Math.max(0, t.top - e.top),
106
- after: Math.max(0, e.bottom - t.bottom)
107
- }
108
- };
109
- }
110
- function kn(e) {
111
- return Array.isArray(e) ? new ee({
112
- x: e[0],
113
- y: e[1],
114
- width: 0,
115
- height: 0
116
- }) : e.getBoundingClientRect();
117
- }
118
- function xn(e) {
119
- const t = e.getBoundingClientRect(), n = getComputedStyle(e), o = n.transform;
120
- if (o) {
121
- let a, r, s, i, l;
122
- if (o.startsWith("matrix3d("))
123
- a = o.slice(9, -1).split(/, /), r = Number(a[0]), s = Number(a[5]), i = Number(a[12]), l = Number(a[13]);
124
- else if (o.startsWith("matrix("))
125
- a = o.slice(7, -1).split(/, /), r = Number(a[0]), s = Number(a[3]), i = Number(a[4]), l = Number(a[5]);
126
- else
127
- return new ee(t);
128
- const f = n.transformOrigin, c = t.x - i - (1 - r) * parseFloat(f), A = t.y - l - (1 - s) * parseFloat(f.slice(f.indexOf(" ") + 1)), w = r ? t.width / r : e.offsetWidth + 1, P = s ? t.height / s : e.offsetHeight + 1;
129
- return new ee({
130
- x: c,
131
- y: A,
132
- width: w,
133
- height: P
134
- });
135
- } else
136
- return new ee(t);
137
- }
138
- function Cn(e, t, n) {
139
- if (typeof e.animate > "u") return {
140
- finished: Promise.resolve()
141
- };
142
- let o;
143
- try {
144
- o = e.animate(t, n);
145
- } catch {
146
- return {
147
- finished: Promise.resolve()
148
- };
149
- }
150
- return typeof o.finished > "u" && (o.finished = new Promise((a) => {
151
- o.onfinish = () => {
152
- a(o);
153
- };
154
- })), o;
155
- }
156
- const ue = /* @__PURE__ */ new WeakMap();
157
- function On(e, t) {
158
- Object.keys(t).forEach((n) => {
159
- if (it(n)) {
160
- const o = lt(n), a = ue.get(e);
161
- if (t[n] == null)
162
- a?.forEach((r) => {
163
- const [s, i] = r;
164
- s === o && (e.removeEventListener(o, i), a.delete(r));
165
- });
166
- else if (!a || ![...a].some((r) => r[0] === o && r[1] === t[n])) {
167
- e.addEventListener(o, t[n]);
168
- const r = a || /* @__PURE__ */ new Set();
169
- r.add([o, t[n]]), ue.has(e) || ue.set(e, r);
170
- }
171
- } else
172
- t[n] == null ? e.removeAttribute(n) : e.setAttribute(n, t[n]);
173
- });
174
- }
175
- function Ln(e, t) {
176
- Object.keys(t).forEach((n) => {
177
- if (it(n)) {
178
- const o = lt(n), a = ue.get(e);
179
- a?.forEach((r) => {
180
- const [s, i] = r;
181
- s === o && (e.removeEventListener(o, i), a.delete(r));
182
- });
183
- } else
184
- e.removeAttribute(n);
185
- });
186
- }
187
- const he = B({
188
- class: [String, Array, Object],
189
- style: {
190
- type: [String, Array, Object],
191
- default: null
192
- }
193
- }, "component");
194
- function Et(e) {
195
- if (typeof e.getRootNode != "function") {
196
- for (; e.parentNode; ) e = e.parentNode;
197
- return e !== document ? null : document;
198
- }
199
- const t = e.getRootNode();
200
- return t !== document && t.getRootNode({
201
- composed: !0
202
- }) !== document ? null : t;
203
- }
204
- const Pn = "cubic-bezier(0.4, 0, 0.2, 1)", Ko = "cubic-bezier(0.0, 0, 0.2, 1)", Go = "cubic-bezier(0.4, 0, 1, 1)";
205
- function _n(e) {
206
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
207
- for (; e; ) {
208
- if (t ? An(e) : Ve(e)) return e;
209
- e = e.parentElement;
210
- }
211
- return document.scrollingElement;
212
- }
213
- function fe(e, t) {
214
- const n = [];
215
- if (t && e && !t.contains(e)) return n;
216
- for (; e && (Ve(e) && n.push(e), e !== t); )
217
- e = e.parentElement;
218
- return n;
219
- }
220
- function Ve(e) {
221
- if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1;
222
- const t = window.getComputedStyle(e);
223
- return t.overflowY === "scroll" || t.overflowY === "auto" && e.scrollHeight > e.clientHeight;
224
- }
225
- function An(e) {
226
- if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1;
227
- const t = window.getComputedStyle(e);
228
- return ["scroll", "auto"].includes(t.overflowY);
229
- }
230
- function Rn(e) {
231
- for (; e; ) {
232
- if (window.getComputedStyle(e).position === "fixed")
233
- return !0;
234
- e = e.offsetParent;
235
- }
236
- return !1;
237
- }
238
- function wt(e) {
239
- const t = U("useRender");
240
- t.render = e;
241
- }
242
- function Tn(e) {
243
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
244
- const n = Oe(), o = H();
245
- if (G) {
246
- const a = new ResizeObserver((r) => {
247
- e?.(r, a), r.length && (t === "content" ? o.value = r[0].contentRect : o.value = r[0].target.getBoundingClientRect());
248
- });
249
- Re(() => {
250
- a.disconnect();
251
- }), I(() => n.el, (r, s) => {
252
- s && (a.unobserve(s), o.value = void 0), r && a.observe(r);
253
- }, {
254
- flush: "post"
255
- });
256
- }
257
- return {
258
- resizeRef: n,
259
- contentRect: ut(o)
260
- };
261
- }
262
- const de = Symbol.for("vuetify:layout"), kt = Symbol.for("vuetify:layout-item"), Je = 1e3, Nn = B({
263
- overlaps: {
264
- type: Array,
265
- default: () => []
266
- },
267
- fullHeight: Boolean
268
- }, "layout"), Uo = B({
269
- name: {
270
- type: String
271
- },
272
- order: {
273
- type: [Number, String],
274
- default: 0
275
- },
276
- absolute: Boolean
277
- }, "layout-item");
278
- function qo() {
279
- const e = le(de);
280
- if (!e) throw new Error("[Vuetify] Could not find injected layout");
281
- return {
282
- getLayoutItem: e.getLayoutItem,
283
- mainRect: e.mainRect,
284
- mainStyles: e.mainStyles
285
- };
286
- }
287
- function Yo(e) {
288
- const t = le(de);
289
- if (!t) throw new Error("[Vuetify] Could not find injected layout");
290
- const n = e.id ?? `layout-item-${Kt()}`, o = U("useLayoutItem");
291
- Te(kt, {
292
- id: n
293
- });
294
- const a = X(!1);
295
- Gt(() => a.value = !0), Ut(() => a.value = !1);
296
- const {
297
- layoutItemStyles: r,
298
- layoutItemScrimStyles: s
299
- } = t.register(o, {
300
- ...e,
301
- active: d(() => a.value ? !1 : e.active.value),
302
- id: n
303
- });
304
- return Re(() => t.unregister(n)), {
305
- layoutItemStyles: r,
306
- layoutRect: t.layoutRect,
307
- layoutItemScrimStyles: s
308
- };
309
- }
310
- const Bn = (e, t, n, o) => {
311
- let a = {
312
- top: 0,
313
- left: 0,
314
- right: 0,
315
- bottom: 0
316
- };
317
- const r = [{
318
- id: "",
319
- layer: {
320
- ...a
321
- }
322
- }];
323
- for (const s of e) {
324
- const i = t.get(s), l = n.get(s), f = o.get(s);
325
- if (!i || !l || !f) continue;
326
- const c = {
327
- ...a,
328
- [i.value]: parseInt(a[i.value], 10) + (f.value ? parseInt(l.value, 10) : 0)
329
- };
330
- r.push({
331
- id: s,
332
- layer: c
333
- }), a = c;
334
- }
335
- return r;
336
- };
337
- function In(e) {
338
- const t = le(de, null), n = d(() => t ? t.rootZIndex.value - 100 : Je), o = H([]), a = K(/* @__PURE__ */ new Map()), r = K(/* @__PURE__ */ new Map()), s = K(/* @__PURE__ */ new Map()), i = K(/* @__PURE__ */ new Map()), l = K(/* @__PURE__ */ new Map()), {
339
- resizeRef: f,
340
- contentRect: c
341
- } = Tn(), A = d(() => {
342
- const g = /* @__PURE__ */ new Map(), S = e.overlaps ?? [];
343
- for (const u of S.filter((O) => O.includes(":"))) {
344
- const [O, x] = u.split(":");
345
- if (!o.value.includes(O) || !o.value.includes(x)) continue;
346
- const E = a.get(O), h = a.get(x), y = r.get(O), p = r.get(x);
347
- !E || !h || !y || !p || (g.set(x, {
348
- position: E.value,
349
- amount: parseInt(y.value, 10)
350
- }), g.set(O, {
351
- position: h.value,
352
- amount: -parseInt(p.value, 10)
353
- }));
354
- }
355
- return g;
356
- }), w = d(() => {
357
- const g = [...new Set([...s.values()].map((u) => u.value))].sort((u, O) => u - O), S = [];
358
- for (const u of g) {
359
- const O = o.value.filter((x) => s.get(x)?.value === u);
360
- S.push(...O);
361
- }
362
- return Bn(S, a, r, i);
363
- }), P = d(() => !Array.from(l.values()).some((g) => g.value)), m = d(() => w.value[w.value.length - 1].layer), v = d(() => ({
364
- "--v-layout-left": L(m.value.left),
365
- "--v-layout-right": L(m.value.right),
366
- "--v-layout-top": L(m.value.top),
367
- "--v-layout-bottom": L(m.value.bottom),
368
- ...P.value ? void 0 : {
369
- transition: "none"
370
- }
371
- })), C = d(() => w.value.slice(1).map((g, S) => {
372
- let {
373
- id: u
374
- } = g;
375
- const {
376
- layer: O
377
- } = w.value[S], x = r.get(u), E = a.get(u);
378
- return {
379
- id: u,
380
- ...O,
381
- size: Number(x.value),
382
- position: E.value
383
- };
384
- })), R = (g) => C.value.find((S) => S.id === g), _ = U("createLayout"), k = X(!1);
385
- ct(() => {
386
- k.value = !0;
387
- }), Te(de, {
388
- register: (g, S) => {
389
- let {
390
- id: u,
391
- order: O,
392
- position: x,
393
- layoutSize: E,
394
- elementSize: h,
395
- active: y,
396
- disableTransitions: p,
397
- absolute: W
398
- } = S;
399
- s.set(u, O), a.set(u, x), r.set(u, E), i.set(u, y), p && l.set(u, p);
400
- const D = qt(kt, _?.vnode).indexOf(g);
401
- D > -1 ? o.value.splice(D, 0, u) : o.value.push(u);
402
- const T = d(() => C.value.findIndex((J) => J.id === u)), F = d(() => n.value + w.value.length * 2 - T.value * 2), q = d(() => {
403
- const J = x.value === "left" || x.value === "right", te = x.value === "right", ne = x.value === "bottom", ae = h.value ?? E.value, pe = ae === 0 ? "%" : "px", b = {
404
- [x.value]: 0,
405
- zIndex: F.value,
406
- transform: `translate${J ? "X" : "Y"}(${(y.value ? 0 : -(ae === 0 ? 100 : ae)) * (te || ne ? -1 : 1)}${pe})`,
407
- position: W.value || n.value !== Je ? "absolute" : "fixed",
408
- ...P.value ? void 0 : {
409
- transition: "none"
410
- }
411
- };
412
- if (!k.value) return b;
413
- const N = C.value[T.value];
414
- if (!N) throw new Error(`[Vuetify] Could not find layout item "${u}"`);
415
- const be = A.value.get(u);
416
- return be && (N[be.position] += be.amount), {
417
- ...b,
418
- height: J ? `calc(100% - ${N.top}px - ${N.bottom}px)` : h.value ? `${h.value}px` : void 0,
419
- left: te ? void 0 : `${N.left}px`,
420
- right: te ? `${N.right}px` : void 0,
421
- top: x.value !== "bottom" ? `${N.top}px` : void 0,
422
- bottom: x.value !== "top" ? `${N.bottom}px` : void 0,
423
- width: J ? h.value ? `${h.value}px` : void 0 : `calc(100% - ${N.left}px - ${N.right}px)`
424
- };
425
- }), Y = d(() => ({
426
- zIndex: F.value - 1
427
- }));
428
- return {
429
- layoutItemStyles: q,
430
- layoutItemScrimStyles: Y,
431
- zIndex: F
432
- };
433
- },
434
- unregister: (g) => {
435
- s.delete(g), a.delete(g), r.delete(g), i.delete(g), l.delete(g), o.value = o.value.filter((S) => S !== g);
436
- },
437
- mainRect: m,
438
- mainStyles: v,
439
- getLayoutItem: R,
440
- items: C,
441
- layoutRect: c,
442
- rootZIndex: n
443
- });
444
- const M = d(() => ["v-layout", {
445
- "v-layout--full-height": e.fullHeight
446
- }]), $ = d(() => ({
447
- zIndex: t ? n.value : void 0,
448
- position: t ? "relative" : void 0,
449
- overflow: t ? "hidden" : void 0
450
- }));
451
- return {
452
- layoutClasses: M,
453
- layoutStyles: $,
454
- getLayoutItem: R,
455
- items: C,
456
- layoutRect: c,
457
- layoutRef: f
458
- };
459
- }
460
- const xt = B({
461
- tag: {
462
- type: String,
463
- default: "div"
464
- }
465
- }, "tag");
466
- function Ct(e) {
467
- return dt(() => {
468
- const t = [], n = {};
469
- if (e.value.background)
470
- if (He(e.value.background)) {
471
- if (n.backgroundColor = e.value.background, !e.value.text && Yt(e.value.background)) {
472
- const o = Zt(e.value.background);
473
- if (o.a == null || o.a === 1) {
474
- const a = Xt(o);
475
- n.color = a, n.caretColor = a;
476
- }
477
- }
478
- } else
479
- t.push(`bg-${e.value.background}`);
480
- return e.value.text && (He(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), {
481
- colorClasses: t,
482
- colorStyles: n
483
- };
484
- });
485
- }
486
- function Zo(e, t) {
487
- const n = d(() => ({
488
- text: ft(e) ? e.value : t ? e[t] : null
489
- })), {
490
- colorClasses: o,
491
- colorStyles: a
492
- } = Ct(n);
493
- return {
494
- textColorClasses: o,
495
- textColorStyles: a
496
- };
497
- }
498
- function $n(e, t) {
499
- const n = d(() => ({
500
- background: ft(e) ? e.value : t ? e[t] : null
501
- })), {
502
- colorClasses: o,
503
- colorStyles: a
504
- } = Ct(n);
505
- return {
506
- backgroundColorClasses: o,
507
- backgroundColorStyles: a
508
- };
509
- }
510
- const Mn = B({
511
- height: [Number, String],
512
- maxHeight: [Number, String],
513
- maxWidth: [Number, String],
514
- minHeight: [Number, String],
515
- minWidth: [Number, String],
516
- width: [Number, String]
517
- }, "dimension");
518
- function Vn(e) {
519
- return {
520
- dimensionStyles: d(() => {
521
- const n = {}, o = L(e.height), a = L(e.maxHeight), r = L(e.maxWidth), s = L(e.minHeight), i = L(e.minWidth), l = L(e.width);
522
- return o != null && (n.height = o), a != null && (n.maxHeight = a), r != null && (n.maxWidth = r), s != null && (n.minHeight = s), i != null && (n.minWidth = i), l != null && (n.width = l), n;
523
- })
524
- };
525
- }
526
- function Wn() {
527
- const e = U("useRoute");
528
- return d(() => e?.proxy?.$route);
529
- }
530
- function Fn() {
531
- return U("useRouter")?.proxy?.$router;
532
- }
533
- function Xo(e, t) {
534
- const n = Jt("RouterLink"), o = d(() => !!(e.href || e.to)), a = d(() => o?.value || je(t, "click") || je(e, "click"));
535
- if (typeof n == "string" || !("useLink" in n)) {
536
- const A = Le(e, "href");
537
- return {
538
- isLink: o,
539
- isClickable: a,
540
- href: A,
541
- linkProps: K({
542
- href: A
543
- })
544
- };
545
- }
546
- const r = d(() => ({
547
- ...e,
548
- to: Le(() => e.to || "")
549
- })), s = n.useLink(r.value), i = d(() => e.to ? s : void 0), l = Wn(), f = d(() => i.value ? e.exact ? l.value ? i.value.isExactActive?.value && Qt(i.value.route.value.query, l.value.query) : i.value.isExactActive?.value ?? !1 : i.value.isActive?.value ?? !1 : !1), c = d(() => e.to ? i.value?.route.value.href : e.href);
550
- return {
551
- isLink: o,
552
- isClickable: a,
553
- isActive: f,
554
- route: i.value?.route,
555
- navigate: i.value?.navigate,
556
- href: c,
557
- linkProps: K({
558
- href: c,
559
- "aria-current": d(() => f.value ? "page" : void 0)
560
- })
561
- };
562
- }
563
- const Jo = B({
564
- href: String,
565
- replace: Boolean,
566
- to: [String, Object],
567
- exact: Boolean
568
- }, "router");
569
- let we = !1;
570
- function zn(e, t) {
571
- let n = !1, o, a;
572
- G && e?.beforeEach && (me(() => {
573
- window.addEventListener("popstate", r), o = e.beforeEach((s, i, l) => {
574
- we ? n ? t(l) : l() : setTimeout(() => n ? t(l) : l()), we = !0;
575
- }), a = e?.afterEach(() => {
576
- we = !1;
577
- });
578
- }), j(() => {
579
- window.removeEventListener("popstate", r), o?.(), a?.();
580
- }));
581
- function r(s) {
582
- s.state?.replaced || (n = !0, setTimeout(() => n = !1));
583
- }
584
- }
585
- const Hn = B({
586
- transition: {
587
- type: [Boolean, String, Object],
588
- default: "fade-transition",
589
- validator: (e) => e !== !0
590
- }
591
- }, "transition"), jn = (e, t) => {
592
- let {
593
- slots: n
594
- } = t;
595
- const {
596
- transition: o,
597
- disabled: a,
598
- group: r,
599
- ...s
600
- } = e, {
601
- component: i = r ? en : vt,
602
- ...l
603
- } = typeof o == "object" ? o : {};
604
- return Ne(i, Z(typeof o == "string" ? {
605
- name: a ? "" : o
606
- } : l, typeof o == "string" ? {} : Object.fromEntries(Object.entries({
607
- disabled: a,
608
- group: r
609
- }).filter((f) => {
610
- let [c, A] = f;
611
- return A !== void 0;
612
- })), s), n);
613
- }, Ot = ge.reduce((e, t) => (e[t] = {
614
- type: [Boolean, String, Number],
615
- default: !1
616
- }, e), {}), Lt = ge.reduce((e, t) => {
617
- const n = "offset" + Be(t);
618
- return e[n] = {
619
- type: [String, Number],
620
- default: null
621
- }, e;
622
- }, {}), Pt = ge.reduce((e, t) => {
623
- const n = "order" + Be(t);
624
- return e[n] = {
625
- type: [String, Number],
626
- default: null
627
- }, e;
628
- }, {}), Qe = {
629
- col: Object.keys(Ot),
630
- offset: Object.keys(Lt),
631
- order: Object.keys(Pt)
632
- };
633
- function Dn(e, t, n) {
634
- let o = e;
635
- if (!(n == null || n === !1)) {
636
- if (t) {
637
- const a = t.replace(e, "");
638
- o += `-${a}`;
639
- }
640
- return e === "col" && (o = "v-" + o), e === "col" && (n === "" || n === !0) || (o += `-${n}`), o.toLowerCase();
641
- }
642
- }
643
- const Kn = ["auto", "start", "end", "center", "baseline", "stretch"], Gn = B({
644
- cols: {
645
- type: [Boolean, String, Number],
646
- default: !1
647
- },
648
- ...Ot,
649
- offset: {
650
- type: [String, Number],
651
- default: null
652
- },
653
- ...Lt,
654
- order: {
655
- type: [String, Number],
656
- default: null
657
- },
658
- ...Pt,
659
- alignSelf: {
660
- type: String,
661
- default: null,
662
- validator: (e) => Kn.includes(e)
663
- },
664
- ...he(),
665
- ...xt()
666
- }, "VCol"), Un = ye()({
667
- name: "VCol",
668
- props: Gn(),
669
- setup(e, t) {
670
- let {
671
- slots: n
672
- } = t;
673
- const o = d(() => {
674
- const a = [];
675
- let r;
676
- for (r in Qe)
677
- Qe[r].forEach((i) => {
678
- const l = e[i], f = Dn(r, i, l);
679
- f && a.push(f);
680
- });
681
- const s = a.some((i) => i.startsWith("v-col-"));
682
- return a.push({
683
- // Default to .v-col if no other col-{bp}-* classes generated nor `cols` specified.
684
- "v-col": !s || !e.cols,
685
- [`v-col-${e.cols}`]: e.cols,
686
- [`offset-${e.offset}`]: e.offset,
687
- [`order-${e.order}`]: e.order,
688
- [`align-self-${e.alignSelf}`]: e.alignSelf
689
- }), a;
690
- });
691
- return () => Ne(e.tag, {
692
- class: [o.value, e.class],
693
- style: e.style
694
- }, n.default?.());
695
- }
696
- }), We = ["start", "end", "center"], _t = ["space-between", "space-around", "space-evenly"];
697
- function Fe(e, t) {
698
- return ge.reduce((n, o) => {
699
- const a = e + Be(o);
700
- return n[a] = t(), n;
701
- }, {});
702
- }
703
- const qn = [...We, "baseline", "stretch"], At = (e) => qn.includes(e), Rt = Fe("align", () => ({
704
- type: String,
705
- default: null,
706
- validator: At
707
- })), Yn = [...We, ..._t], Tt = (e) => Yn.includes(e), Nt = Fe("justify", () => ({
708
- type: String,
709
- default: null,
710
- validator: Tt
711
- })), Zn = [...We, ..._t, "stretch"], Bt = (e) => Zn.includes(e), It = Fe("alignContent", () => ({
712
- type: String,
713
- default: null,
714
- validator: Bt
715
- })), et = {
716
- align: Object.keys(Rt),
717
- justify: Object.keys(Nt),
718
- alignContent: Object.keys(It)
719
- }, Xn = {
720
- align: "align",
721
- justify: "justify",
722
- alignContent: "align-content"
723
- };
724
- function Jn(e, t, n) {
725
- let o = Xn[e];
726
- if (n != null) {
727
- if (t) {
728
- const a = t.replace(e, "");
729
- o += `-${a}`;
730
- }
731
- return o += `-${n}`, o.toLowerCase();
732
- }
733
- }
734
- const Qn = B({
735
- dense: Boolean,
736
- noGutters: Boolean,
737
- align: {
738
- type: String,
739
- default: null,
740
- validator: At
741
- },
742
- ...Rt,
743
- justify: {
744
- type: String,
745
- default: null,
746
- validator: Tt
747
- },
748
- ...Nt,
749
- alignContent: {
750
- type: String,
751
- default: null,
752
- validator: Bt
753
- },
754
- ...It,
755
- ...he(),
756
- ...xt()
757
- }, "VRow"), eo = ye()({
758
- name: "VRow",
759
- props: Qn(),
760
- setup(e, t) {
761
- let {
762
- slots: n
763
- } = t;
764
- const o = d(() => {
765
- const a = [];
766
- let r;
767
- for (r in et)
768
- et[r].forEach((s) => {
769
- const i = e[s], l = Jn(r, s, i);
770
- l && a.push(l);
771
- });
772
- return a.push({
773
- "v-row--no-gutters": e.noGutters,
774
- "v-row--dense": e.dense,
775
- [`align-${e.align}`]: e.align,
776
- [`justify-${e.justify}`]: e.justify,
777
- [`align-content-${e.alignContent}`]: e.alignContent
778
- }), a;
779
- });
780
- return () => Ne(e.tag, {
781
- class: ["v-row", o.value, e.class],
782
- style: e.style
783
- }, n.default?.());
784
- }
785
- });
786
- function ke(e, t) {
787
- return {
788
- x: e.x + t.x,
789
- y: e.y + t.y
790
- };
791
- }
792
- function to(e, t) {
793
- return {
794
- x: e.x - t.x,
795
- y: e.y - t.y
796
- };
797
- }
798
- function tt(e, t) {
799
- if (e.side === "top" || e.side === "bottom") {
800
- const {
801
- side: n,
802
- align: o
803
- } = e, a = o === "left" ? 0 : o === "center" ? t.width / 2 : o === "right" ? t.width : o, r = n === "top" ? 0 : n === "bottom" ? t.height : n;
804
- return ke({
805
- x: a,
806
- y: r
807
- }, t);
808
- } else if (e.side === "left" || e.side === "right") {
809
- const {
810
- side: n,
811
- align: o
812
- } = e, a = n === "left" ? 0 : n === "right" ? t.width : n, r = o === "top" ? 0 : o === "center" ? t.height / 2 : o === "bottom" ? t.height : o;
813
- return ke({
814
- x: a,
815
- y: r
816
- }, t);
817
- }
818
- return ke({
819
- x: t.width / 2,
820
- y: t.height / 2
821
- }, t);
822
- }
823
- const $t = {
824
- static: ao,
825
- // specific viewport position, usually centered
826
- connected: so
827
- // connected to a certain element
828
- }, no = B({
829
- locationStrategy: {
830
- type: [String, Function],
831
- default: "static",
832
- validator: (e) => typeof e == "function" || e in $t
833
- },
834
- location: {
835
- type: String,
836
- default: "bottom"
837
- },
838
- origin: {
839
- type: String,
840
- default: "auto"
841
- },
842
- offset: [Number, String, Array]
843
- }, "VOverlay-location-strategies");
844
- function oo(e, t) {
845
- const n = H({}), o = H();
846
- G && Ie(() => !!(t.isActive.value && e.locationStrategy), (r) => {
847
- I(() => e.locationStrategy, r), j(() => {
848
- window.removeEventListener("resize", a), o.value = void 0;
849
- }), window.addEventListener("resize", a, {
850
- passive: !0
851
- }), typeof e.locationStrategy == "function" ? o.value = e.locationStrategy(t, e, n)?.updateLocation : o.value = $t[e.locationStrategy](t, e, n)?.updateLocation;
852
- });
853
- function a(r) {
854
- o.value?.(r);
855
- }
856
- return {
857
- contentStyles: n,
858
- updateLocation: o
859
- };
860
- }
861
- function ao() {
862
- }
863
- function ro(e, t) {
864
- const n = xn(e);
865
- return t ? n.x += parseFloat(e.style.right || 0) : n.x -= parseFloat(e.style.left || 0), n.y -= parseFloat(e.style.top || 0), n;
866
- }
867
- function so(e, t, n) {
868
- (Array.isArray(e.target.value) || Rn(e.target.value)) && Object.assign(n.value, {
869
- position: "fixed",
870
- top: 0,
871
- [e.isRtl.value ? "right" : "left"]: 0
872
- });
873
- const {
874
- preferredAnchor: a,
875
- preferredOrigin: r
876
- } = dt(() => {
877
- const m = Ue(t.location, e.isRtl.value), v = t.origin === "overlap" ? m : t.origin === "auto" ? Se(m) : Ue(t.origin, e.isRtl.value);
878
- return m.side === v.side && m.align === Ee(v).align ? {
879
- preferredAnchor: Ye(m),
880
- preferredOrigin: Ye(v)
881
- } : {
882
- preferredAnchor: m,
883
- preferredOrigin: v
884
- };
885
- }), [s, i, l, f] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((m) => d(() => {
886
- const v = parseFloat(t[m]);
887
- return isNaN(v) ? 1 / 0 : v;
888
- })), c = d(() => {
889
- if (Array.isArray(t.offset))
890
- return t.offset;
891
- if (typeof t.offset == "string") {
892
- const m = t.offset.split(" ").map(parseFloat);
893
- return m.length < 2 && m.push(0), m;
894
- }
895
- return typeof t.offset == "number" ? [t.offset, 0] : [0, 0];
896
- });
897
- let A = !1;
898
- const w = new ResizeObserver(() => {
899
- A && P();
900
- });
901
- I([e.target, e.contentEl], (m, v) => {
902
- let [C, R] = m, [_, k] = v;
903
- _ && !Array.isArray(_) && w.unobserve(_), C && !Array.isArray(C) && w.observe(C), k && w.unobserve(k), R && w.observe(R);
904
- }, {
905
- immediate: !0
906
- }), j(() => {
907
- w.disconnect();
908
- });
909
- function P() {
910
- if (A = !1, requestAnimationFrame(() => A = !0), !e.target.value || !e.contentEl.value) return;
911
- const m = kn(e.target.value), v = ro(e.contentEl.value, e.isRtl.value), C = fe(e.contentEl.value), R = 12;
912
- C.length || (C.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (v.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), v.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
913
- const _ = C.reduce((E, h) => {
914
- const y = h.getBoundingClientRect(), p = new ee({
915
- x: h === document.documentElement ? 0 : y.x,
916
- y: h === document.documentElement ? 0 : y.y,
917
- width: h.clientWidth,
918
- height: h.clientHeight
919
- });
920
- return E ? new ee({
921
- x: Math.max(E.left, p.left),
922
- y: Math.max(E.top, p.top),
923
- width: Math.min(E.right, p.right) - Math.max(E.left, p.left),
924
- height: Math.min(E.bottom, p.bottom) - Math.max(E.top, p.top)
925
- }) : p;
926
- }, void 0);
927
- _.x += R, _.y += R, _.width -= R * 2, _.height -= R * 2;
928
- let k = {
929
- anchor: a.value,
930
- origin: r.value
931
- };
932
- function M(E) {
933
- const h = new ee(v), y = tt(E.anchor, m), p = tt(E.origin, h);
934
- let {
935
- x: W,
936
- y: z
937
- } = to(y, p);
938
- switch (E.anchor.side) {
939
- case "top":
940
- z -= c.value[0];
941
- break;
942
- case "bottom":
943
- z += c.value[0];
944
- break;
945
- case "left":
946
- W -= c.value[0];
947
- break;
948
- case "right":
949
- W += c.value[0];
950
- break;
951
- }
952
- switch (E.anchor.align) {
953
- case "top":
954
- z -= c.value[1];
955
- break;
956
- case "bottom":
957
- z += c.value[1];
958
- break;
959
- case "left":
960
- W -= c.value[1];
961
- break;
962
- case "right":
963
- W += c.value[1];
964
- break;
965
- }
966
- return h.x += W, h.y += z, h.width = Math.min(h.width, l.value), h.height = Math.min(h.height, f.value), {
967
- overflows: Xe(h, _),
968
- x: W,
969
- y: z
970
- };
971
- }
972
- let $ = 0, g = 0;
973
- const S = {
974
- x: 0,
975
- y: 0
976
- }, u = {
977
- x: !1,
978
- y: !1
979
- };
980
- let O = -1;
981
- for (; !(O++ > 10); ) {
982
- const {
983
- x: E,
984
- y: h,
985
- overflows: y
986
- } = M(k);
987
- $ += E, g += h, v.x += E, v.y += h;
988
- {
989
- const p = Ze(k.anchor), W = y.x.before || y.x.after, z = y.y.before || y.y.after;
990
- let D = !1;
991
- if (["x", "y"].forEach((T) => {
992
- if (T === "x" && W && !u.x || T === "y" && z && !u.y) {
993
- const F = {
994
- anchor: {
995
- ...k.anchor
996
- },
997
- origin: {
998
- ...k.origin
999
- }
1000
- }, q = T === "x" ? p === "y" ? Ee : Se : p === "y" ? Se : Ee;
1001
- F.anchor = q(F.anchor), F.origin = q(F.origin);
1002
- const {
1003
- overflows: Y
1004
- } = M(F);
1005
- (Y[T].before <= y[T].before && Y[T].after <= y[T].after || Y[T].before + Y[T].after < (y[T].before + y[T].after) / 2) && (k = F, D = u[T] = !0);
1006
- }
1007
- }), D) continue;
1008
- }
1009
- y.x.before && ($ += y.x.before, v.x += y.x.before), y.x.after && ($ -= y.x.after, v.x -= y.x.after), y.y.before && (g += y.y.before, v.y += y.y.before), y.y.after && (g -= y.y.after, v.y -= y.y.after);
1010
- {
1011
- const p = Xe(v, _);
1012
- S.x = _.width - p.x.before - p.x.after, S.y = _.height - p.y.before - p.y.after, $ += p.x.before, v.x += p.x.before, g += p.y.before, v.y += p.y.before;
1013
- }
1014
- break;
1015
- }
1016
- const x = Ze(k.anchor);
1017
- return Object.assign(n.value, {
1018
- "--v-overlay-anchor-origin": `${k.anchor.side} ${k.anchor.align}`,
1019
- transformOrigin: `${k.origin.side} ${k.origin.align}`,
1020
- // transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`,
1021
- top: L(xe(g)),
1022
- left: e.isRtl.value ? void 0 : L(xe($)),
1023
- right: e.isRtl.value ? L(xe(-$)) : void 0,
1024
- minWidth: L(x === "y" ? Math.min(s.value, m.width) : s.value),
1025
- maxWidth: L(nt(De(S.x, s.value === 1 / 0 ? 0 : s.value, l.value))),
1026
- maxHeight: L(nt(De(S.y, i.value === 1 / 0 ? 0 : i.value, f.value)))
1027
- }), {
1028
- available: S,
1029
- contentBox: v
1030
- };
1031
- }
1032
- return I(() => [a.value, r.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => P()), me(() => {
1033
- const m = P();
1034
- if (!m) return;
1035
- const {
1036
- available: v,
1037
- contentBox: C
1038
- } = m;
1039
- C.height > v.y && requestAnimationFrame(() => {
1040
- P(), requestAnimationFrame(() => {
1041
- P();
1042
- });
1043
- });
1044
- }), {
1045
- updateLocation: P
1046
- };
1047
- }
1048
- function xe(e) {
1049
- return Math.round(e * devicePixelRatio) / devicePixelRatio;
1050
- }
1051
- function nt(e) {
1052
- return Math.ceil(e * devicePixelRatio) / devicePixelRatio;
1053
- }
1054
- let _e = !0;
1055
- const ve = [];
1056
- function io(e) {
1057
- !_e || ve.length ? (ve.push(e), Ae()) : (_e = !1, e(), Ae());
1058
- }
1059
- let ot = -1;
1060
- function Ae() {
1061
- cancelAnimationFrame(ot), ot = requestAnimationFrame(() => {
1062
- const e = ve.shift();
1063
- e && e(), ve.length ? Ae() : _e = !0;
1064
- });
1065
- }
1066
- const Mt = {
1067
- none: null,
1068
- close: co,
1069
- block: fo,
1070
- reposition: vo
1071
- }, lo = B({
1072
- scrollStrategy: {
1073
- type: [String, Function],
1074
- default: "block",
1075
- validator: (e) => typeof e == "function" || e in Mt
1076
- }
1077
- }, "VOverlay-scroll-strategies");
1078
- function uo(e, t) {
1079
- if (!G) return;
1080
- let n;
1081
- $e(async () => {
1082
- n?.stop(), t.isActive.value && e.scrollStrategy && (n = mt(), await new Promise((o) => setTimeout(o)), n.active && n.run(() => {
1083
- typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : Mt[e.scrollStrategy]?.(t, e, n);
1084
- }));
1085
- }), j(() => {
1086
- n?.stop();
1087
- });
1088
- }
1089
- function co(e) {
1090
- function t(n) {
1091
- e.isActive.value = !1;
1092
- }
1093
- Vt(e.targetEl.value ?? e.contentEl.value, t);
1094
- }
1095
- function fo(e, t) {
1096
- const n = e.root.value?.offsetParent, o = [.../* @__PURE__ */ new Set([...fe(e.targetEl.value, t.contained ? n : void 0), ...fe(e.contentEl.value, t.contained ? n : void 0)])].filter((s) => !s.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, r = ((s) => Ve(s) && s)(n || document.documentElement);
1097
- r && e.root.value.classList.add("v-overlay--scroll-blocked"), o.forEach((s, i) => {
1098
- s.style.setProperty("--v-body-scroll-x", L(-s.scrollLeft)), s.style.setProperty("--v-body-scroll-y", L(-s.scrollTop)), s !== document.documentElement && s.style.setProperty("--v-scrollbar-offset", L(a)), s.classList.add("v-overlay-scroll-blocked");
1099
- }), j(() => {
1100
- o.forEach((s, i) => {
1101
- const l = parseFloat(s.style.getPropertyValue("--v-body-scroll-x")), f = parseFloat(s.style.getPropertyValue("--v-body-scroll-y")), c = s.style.scrollBehavior;
1102
- s.style.scrollBehavior = "auto", s.style.removeProperty("--v-body-scroll-x"), s.style.removeProperty("--v-body-scroll-y"), s.style.removeProperty("--v-scrollbar-offset"), s.classList.remove("v-overlay-scroll-blocked"), s.scrollLeft = -l, s.scrollTop = -f, s.style.scrollBehavior = c;
1103
- }), r && e.root.value.classList.remove("v-overlay--scroll-blocked");
1104
- });
1105
- }
1106
- function vo(e, t, n) {
1107
- let o = !1, a = -1, r = -1;
1108
- function s(i) {
1109
- io(() => {
1110
- const l = performance.now();
1111
- e.updateLocation.value?.(i), o = (performance.now() - l) / (1e3 / 60) > 2;
1112
- });
1113
- }
1114
- r = (typeof requestIdleCallback > "u" ? (i) => i() : requestIdleCallback)(() => {
1115
- n.run(() => {
1116
- Vt(e.targetEl.value ?? e.contentEl.value, (i) => {
1117
- o ? (cancelAnimationFrame(a), a = requestAnimationFrame(() => {
1118
- a = requestAnimationFrame(() => {
1119
- s(i);
1120
- });
1121
- })) : s(i);
1122
- });
1123
- });
1124
- }), j(() => {
1125
- typeof cancelIdleCallback < "u" && cancelIdleCallback(r), cancelAnimationFrame(a);
1126
- });
1127
- }
1128
- function Vt(e, t) {
1129
- const n = [document, ...fe(e)];
1130
- n.forEach((o) => {
1131
- o.addEventListener("scroll", t, {
1132
- passive: !0
1133
- });
1134
- }), j(() => {
1135
- n.forEach((o) => {
1136
- o.removeEventListener("scroll", t);
1137
- });
1138
- });
1139
- }
1140
- const mo = Symbol.for("vuetify:v-menu"), yo = B({
1141
- closeDelay: [Number, String],
1142
- openDelay: [Number, String]
1143
- }, "delay");
1144
- function go(e, t) {
1145
- let n = () => {
1146
- };
1147
- function o(s) {
1148
- n?.();
1149
- const i = Number(s ? e.openDelay : e.closeDelay);
1150
- return new Promise((l) => {
1151
- n = tn(i, () => {
1152
- t?.(s), l(s);
1153
- });
1154
- });
1155
- }
1156
- function a() {
1157
- return o(!0);
1158
- }
1159
- function r() {
1160
- return o(!1);
1161
- }
1162
- return {
1163
- clearDelay: n,
1164
- runOpenDelay: a,
1165
- runCloseDelay: r
1166
- };
1167
- }
1168
- const ho = B({
1169
- target: [String, Object],
1170
- activator: [String, Object],
1171
- activatorProps: {
1172
- type: Object,
1173
- default: () => ({})
1174
- },
1175
- openOnClick: {
1176
- type: Boolean,
1177
- default: void 0
1178
- },
1179
- openOnHover: Boolean,
1180
- openOnFocus: {
1181
- type: Boolean,
1182
- default: void 0
1183
- },
1184
- closeOnContentClick: Boolean,
1185
- ...yo()
1186
- }, "VOverlay-activator");
1187
- function po(e, t) {
1188
- let {
1189
- isActive: n,
1190
- isTop: o,
1191
- contentEl: a
1192
- } = t;
1193
- const r = U("useActivator"), s = H();
1194
- let i = !1, l = !1, f = !0;
1195
- const c = d(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), A = d(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !c.value), {
1196
- runOpenDelay: w,
1197
- runCloseDelay: P
1198
- } = go(e, (u) => {
1199
- u === (e.openOnHover && i || c.value && l) && !(e.openOnHover && n.value && !o.value) && (n.value !== u && (f = !0), n.value = u);
1200
- }), m = H(), v = {
1201
- onClick: (u) => {
1202
- u.stopPropagation(), s.value = u.currentTarget || u.target, n.value || (m.value = [u.clientX, u.clientY]), n.value = !n.value;
1203
- },
1204
- onMouseenter: (u) => {
1205
- u.sourceCapabilities?.firesTouchEvents || (i = !0, s.value = u.currentTarget || u.target, w());
1206
- },
1207
- onMouseleave: (u) => {
1208
- i = !1, P();
1209
- },
1210
- onFocus: (u) => {
1211
- nn(u.target, ":focus-visible") !== !1 && (l = !0, u.stopPropagation(), s.value = u.currentTarget || u.target, w());
1212
- },
1213
- onBlur: (u) => {
1214
- l = !1, u.stopPropagation(), P();
1215
- }
1216
- }, C = d(() => {
1217
- const u = {};
1218
- return A.value && (u.onClick = v.onClick), e.openOnHover && (u.onMouseenter = v.onMouseenter, u.onMouseleave = v.onMouseleave), c.value && (u.onFocus = v.onFocus, u.onBlur = v.onBlur), u;
1219
- }), R = d(() => {
1220
- const u = {};
1221
- if (e.openOnHover && (u.onMouseenter = () => {
1222
- i = !0, w();
1223
- }, u.onMouseleave = () => {
1224
- i = !1, P();
1225
- }), c.value && (u.onFocusin = () => {
1226
- l = !0, w();
1227
- }, u.onFocusout = () => {
1228
- l = !1, P();
1229
- }), e.closeOnContentClick) {
1230
- const O = le(mo, null);
1231
- u.onClick = () => {
1232
- n.value = !1, O?.closeParents();
1233
- };
1234
- }
1235
- return u;
1236
- }), _ = d(() => {
1237
- const u = {};
1238
- return e.openOnHover && (u.onMouseenter = () => {
1239
- f && (i = !0, f = !1, w());
1240
- }, u.onMouseleave = () => {
1241
- i = !1, P();
1242
- }), u;
1243
- });
1244
- I(o, (u) => {
1245
- u && (e.openOnHover && !i && (!c.value || !l) || c.value && !l && (!e.openOnHover || !i)) && !a.value?.contains(document.activeElement) && (n.value = !1);
1246
- }), I(n, (u) => {
1247
- u || setTimeout(() => {
1248
- m.value = void 0;
1249
- });
1250
- }, {
1251
- flush: "post"
1252
- });
1253
- const k = Oe();
1254
- $e(() => {
1255
- k.value && me(() => {
1256
- s.value = k.el;
1257
- });
1258
- });
1259
- const M = Oe(), $ = d(() => e.target === "cursor" && m.value ? m.value : M.value ? M.el : Wt(e.target, r) || s.value), g = d(() => Array.isArray($.value) ? void 0 : $.value);
1260
- let S;
1261
- return I(() => !!e.activator, (u) => {
1262
- u && G ? (S = mt(), S.run(() => {
1263
- bo(e, r, {
1264
- activatorEl: s,
1265
- activatorEvents: C
1266
- });
1267
- })) : S && S.stop();
1268
- }, {
1269
- flush: "post",
1270
- immediate: !0
1271
- }), j(() => {
1272
- S?.stop();
1273
- }), {
1274
- activatorEl: s,
1275
- activatorRef: k,
1276
- target: $,
1277
- targetEl: g,
1278
- targetRef: M,
1279
- activatorEvents: C,
1280
- contentEvents: R,
1281
- scrimEvents: _
1282
- };
1283
- }
1284
- function bo(e, t, n) {
1285
- let {
1286
- activatorEl: o,
1287
- activatorEvents: a
1288
- } = n;
1289
- I(() => e.activator, (l, f) => {
1290
- if (f && l !== f) {
1291
- const c = i(f);
1292
- c && s(c);
1293
- }
1294
- l && me(() => r());
1295
- }, {
1296
- immediate: !0
1297
- }), I(() => e.activatorProps, () => {
1298
- r();
1299
- }), j(() => {
1300
- s();
1301
- });
1302
- function r() {
1303
- let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : i(), f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
1304
- l && On(l, Z(a.value, f));
1305
- }
1306
- function s() {
1307
- let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : i(), f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
1308
- l && Ln(l, Z(a.value, f));
1309
- }
1310
- function i() {
1311
- let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : e.activator;
1312
- const f = Wt(l, t);
1313
- return o.value = f?.nodeType === Node.ELEMENT_NODE ? f : void 0, o.value;
1314
- }
1315
- }
1316
- function Wt(e, t) {
1317
- if (!e) return;
1318
- let n;
1319
- if (e === "parent") {
1320
- let o = t?.proxy?.$el?.parentNode;
1321
- for (; o?.hasAttribute("data-no-activator"); )
1322
- o = o.parentNode;
1323
- n = o;
1324
- } else typeof e == "string" ? n = document.querySelector(e) : "$el" in e ? n = e.$el : n = e;
1325
- return n;
1326
- }
1327
- function So() {
1328
- if (!G) return X(!1);
1329
- const {
1330
- ssr: e
1331
- } = on();
1332
- if (e) {
1333
- const t = X(!1);
1334
- return ct(() => {
1335
- t.value = !0;
1336
- }), t;
1337
- } else
1338
- return X(!0);
1339
- }
1340
- const Eo = B({
1341
- eager: Boolean
1342
- }, "lazy");
1343
- function wo(e, t) {
1344
- const n = X(!1), o = d(() => n.value || e.eager || t.value);
1345
- I(t, () => n.value = !0);
1346
- function a() {
1347
- e.eager || (n.value = !1);
1348
- }
1349
- return {
1350
- isBooted: n,
1351
- hasContent: o,
1352
- onAfterLeave: a
1353
- };
1354
- }
1355
- function ko() {
1356
- const t = U("useScopeId").vnode.scopeId;
1357
- return {
1358
- scopeId: t ? {
1359
- [t]: ""
1360
- } : void 0
1361
- };
1362
- }
1363
- const at = Symbol.for("vuetify:stack"), re = K([]);
1364
- function xo(e, t, n) {
1365
- const o = U("useStack"), a = !n, r = le(at, void 0), s = K({
1366
- activeChildren: /* @__PURE__ */ new Set()
1367
- });
1368
- Te(at, s);
1369
- const i = X(Number(t.value));
1370
- Ie(e, () => {
1371
- const c = re.at(-1)?.[1];
1372
- i.value = c ? c + 10 : Number(t.value), a && re.push([o.uid, i.value]), r?.activeChildren.add(o.uid), j(() => {
1373
- if (a) {
1374
- const A = an(re).findIndex((w) => w[0] === o.uid);
1375
- re.splice(A, 1);
1376
- }
1377
- r?.activeChildren.delete(o.uid);
1378
- });
1379
- });
1380
- const l = X(!0);
1381
- a && $e(() => {
1382
- const c = re.at(-1)?.[0] === o.uid;
1383
- setTimeout(() => l.value = c);
1384
- });
1385
- const f = d(() => !s.activeChildren.size);
1386
- return {
1387
- globalTop: ut(l),
1388
- localTop: f,
1389
- stackStyles: d(() => ({
1390
- zIndex: i.value
1391
- }))
1392
- };
1393
- }
1394
- function Co(e) {
1395
- return {
1396
- teleportTarget: d(() => {
1397
- const n = e();
1398
- if (n === !0 || !G) return;
1399
- const o = n === !1 ? document.body : typeof n == "string" ? document.querySelector(n) : n;
1400
- if (o == null)
1401
- return;
1402
- let a = [...o.children].find((r) => r.matches(".v-overlay-container"));
1403
- return a || (a = document.createElement("div"), a.className = "v-overlay-container", o.appendChild(a)), a;
1404
- })
1405
- };
1406
- }
1407
- function Oo() {
1408
- return !0;
1409
- }
1410
- function Ft(e, t, n) {
1411
- if (!e || zt(e, n) === !1) return !1;
1412
- const o = Et(t);
1413
- if (typeof ShadowRoot < "u" && o instanceof ShadowRoot && o.host === e.target) return !1;
1414
- const a = (typeof n.value == "object" && n.value.include || (() => []))();
1415
- return a.push(t), !a.some((r) => r?.contains(e.target));
1416
- }
1417
- function zt(e, t) {
1418
- return (typeof t.value == "object" && t.value.closeConditional || Oo)(e);
1419
- }
1420
- function Lo(e, t, n) {
1421
- const o = typeof n.value == "function" ? n.value : n.value.handler;
1422
- e.shadowTarget = e.target, t._clickOutside.lastMousedownWasOutside && Ft(e, t, n) && setTimeout(() => {
1423
- zt(e, n) && o && o(e);
1424
- }, 0);
1425
- }
1426
- function rt(e, t) {
1427
- const n = Et(e);
1428
- t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n);
1429
- }
1430
- const Po = {
1431
- // [data-app] may not be found
1432
- // if using bind, inserted makes
1433
- // sure that the root element is
1434
- // available, iOS does not support
1435
- // clicks on body
1436
- mounted(e, t) {
1437
- const n = (a) => Lo(a, e, t), o = (a) => {
1438
- e._clickOutside.lastMousedownWasOutside = Ft(a, e, t);
1439
- };
1440
- rt(e, (a) => {
1441
- a.addEventListener("click", n, !0), a.addEventListener("mousedown", o, !0);
1442
- }), e._clickOutside || (e._clickOutside = {
1443
- lastMousedownWasOutside: !1
1444
- }), e._clickOutside[t.instance.$.uid] = {
1445
- onClick: n,
1446
- onMousedown: o
1447
- };
1448
- },
1449
- beforeUnmount(e, t) {
1450
- e._clickOutside && (rt(e, (n) => {
1451
- if (!n || !e._clickOutside?.[t.instance.$.uid]) return;
1452
- const {
1453
- onClick: o,
1454
- onMousedown: a
1455
- } = e._clickOutside[t.instance.$.uid];
1456
- n.removeEventListener("click", o, !0), n.removeEventListener("mousedown", a, !0);
1457
- }), delete e._clickOutside[t.instance.$.uid]);
1458
- }
1459
- };
1460
- function _o(e) {
1461
- const {
1462
- modelValue: t,
1463
- color: n,
1464
- ...o
1465
- } = e;
1466
- return V(vt, {
1467
- name: "fade-transition",
1468
- appear: !0
1469
- }, {
1470
- default: () => [e.modelValue && V("div", Z({
1471
- class: ["v-overlay__scrim", e.color.backgroundColorClasses.value],
1472
- style: e.color.backgroundColorStyles.value
1473
- }, o), null)]
1474
- });
1475
- }
1476
- const Ao = B({
1477
- absolute: Boolean,
1478
- attach: [Boolean, String, Object],
1479
- closeOnBack: {
1480
- type: Boolean,
1481
- default: !0
1482
- },
1483
- contained: Boolean,
1484
- contentClass: null,
1485
- contentProps: null,
1486
- disabled: Boolean,
1487
- opacity: [Number, String],
1488
- noClickAnimation: Boolean,
1489
- modelValue: Boolean,
1490
- persistent: Boolean,
1491
- scrim: {
1492
- type: [Boolean, String],
1493
- default: !0
1494
- },
1495
- zIndex: {
1496
- type: [Number, String],
1497
- default: 2e3
1498
- },
1499
- ...ho(),
1500
- ...he(),
1501
- ...Mn(),
1502
- ...Eo(),
1503
- ...no(),
1504
- ...lo(),
1505
- ...ht(),
1506
- ...Hn()
1507
- }, "VOverlay"), Ro = ye()({
1508
- name: "VOverlay",
1509
- directives: {
1510
- ClickOutside: Po
1511
- },
1512
- inheritAttrs: !1,
1513
- props: {
1514
- _disableGlobalStack: Boolean,
1515
- ...Ao()
1516
- },
1517
- emits: {
1518
- "click:outside": (e) => !0,
1519
- "update:modelValue": (e) => !0,
1520
- keydown: (e) => !0,
1521
- afterEnter: () => !0,
1522
- afterLeave: () => !0
1523
- },
1524
- setup(e, t) {
1525
- let {
1526
- slots: n,
1527
- attrs: o,
1528
- emit: a
1529
- } = t;
1530
- const r = U("VOverlay"), s = H(), i = H(), l = H(), f = rn(e, "modelValue"), c = d({
1531
- get: () => f.value,
1532
- set: (b) => {
1533
- b && e.disabled || (f.value = b);
1534
- }
1535
- }), {
1536
- themeClasses: A
1537
- } = yt(e), {
1538
- rtlClasses: w,
1539
- isRtl: P
1540
- } = gt(), {
1541
- hasContent: m,
1542
- onAfterLeave: v
1543
- } = wo(e, c), C = $n(d(() => typeof e.scrim == "string" ? e.scrim : null)), {
1544
- globalTop: R,
1545
- localTop: _,
1546
- stackStyles: k
1547
- } = xo(c, Le(e, "zIndex"), e._disableGlobalStack), {
1548
- activatorEl: M,
1549
- activatorRef: $,
1550
- target: g,
1551
- targetEl: S,
1552
- targetRef: u,
1553
- activatorEvents: O,
1554
- contentEvents: x,
1555
- scrimEvents: E
1556
- } = po(e, {
1557
- isActive: c,
1558
- isTop: _,
1559
- contentEl: l
1560
- }), {
1561
- teleportTarget: h
1562
- } = Co(() => {
1563
- const b = e.attach || e.contained;
1564
- if (b) return b;
1565
- const N = M?.value?.getRootNode() || r.proxy?.$el?.getRootNode();
1566
- return N instanceof ShadowRoot ? N : !1;
1567
- }), {
1568
- dimensionStyles: y
1569
- } = Vn(e), p = So(), {
1570
- scopeId: W
1571
- } = ko();
1572
- I(() => e.disabled, (b) => {
1573
- b && (c.value = !1);
1574
- });
1575
- const {
1576
- contentStyles: z,
1577
- updateLocation: D
1578
- } = oo(e, {
1579
- isRtl: P,
1580
- contentEl: l,
1581
- target: g,
1582
- isActive: c
1583
- });
1584
- uo(e, {
1585
- root: s,
1586
- contentEl: l,
1587
- targetEl: S,
1588
- isActive: c,
1589
- updateLocation: D
1590
- });
1591
- function T(b) {
1592
- a("click:outside", b), e.persistent ? ne() : c.value = !1;
1593
- }
1594
- function F(b) {
1595
- return c.value && R.value && // If using scrim, only close if clicking on it rather than anything opened on top
1596
- (!e.scrim || b.target === i.value || b instanceof MouseEvent && b.shadowTarget === i.value);
1597
- }
1598
- G && I(c, (b) => {
1599
- b ? window.addEventListener("keydown", q) : window.removeEventListener("keydown", q);
1600
- }, {
1601
- immediate: !0
1602
- }), Re(() => {
1603
- G && window.removeEventListener("keydown", q);
1604
- });
1605
- function q(b) {
1606
- b.key === "Escape" && R.value && (l.value?.contains(document.activeElement) || a("keydown", b), e.persistent ? ne() : (c.value = !1, l.value?.contains(document.activeElement) && M.value?.focus()));
1607
- }
1608
- function Y(b) {
1609
- b.key === "Escape" && !R.value || a("keydown", b);
1610
- }
1611
- const J = Fn();
1612
- Ie(() => e.closeOnBack, () => {
1613
- zn(J, (b) => {
1614
- R.value && c.value ? (b(!1), e.persistent ? ne() : c.value = !1) : b();
1615
- });
1616
- });
1617
- const te = H();
1618
- I(() => c.value && (e.absolute || e.contained) && h.value == null, (b) => {
1619
- if (b) {
1620
- const N = _n(s.value);
1621
- N && N !== document.scrollingElement && (te.value = N.scrollTop);
1622
- }
1623
- });
1624
- function ne() {
1625
- e.noClickAnimation || l.value && Cn(l.value, [{
1626
- transformOrigin: "center"
1627
- }, {
1628
- transform: "scale(1.03)"
1629
- }, {
1630
- transformOrigin: "center"
1631
- }], {
1632
- duration: 150,
1633
- easing: Pn
1634
- });
1635
- }
1636
- function ae() {
1637
- a("afterEnter");
1638
- }
1639
- function pe() {
1640
- v(), a("afterLeave");
1641
- }
1642
- return wt(() => V(pt, null, [n.activator?.({
1643
- isActive: c.value,
1644
- targetRef: u,
1645
- props: Z({
1646
- ref: $
1647
- }, O.value, e.activatorProps)
1648
- }), p.value && m.value && V(sn, {
1649
- disabled: !h.value,
1650
- to: h.value
1651
- }, {
1652
- default: () => [V("div", Z({
1653
- class: ["v-overlay", {
1654
- "v-overlay--absolute": e.absolute || e.contained,
1655
- "v-overlay--active": c.value,
1656
- "v-overlay--contained": e.contained
1657
- }, A.value, w.value, e.class],
1658
- style: [k.value, {
1659
- "--v-overlay-opacity": e.opacity,
1660
- top: L(te.value)
1661
- }, e.style],
1662
- ref: s,
1663
- onKeydown: Y
1664
- }, W, o), [V(_o, Z({
1665
- color: C,
1666
- modelValue: c.value && !!e.scrim,
1667
- ref: i
1668
- }, E.value), null), V(jn, {
1669
- appear: !0,
1670
- persisted: !0,
1671
- transition: e.transition,
1672
- target: g.value,
1673
- onAfterEnter: ae,
1674
- onAfterLeave: pe
1675
- }, {
1676
- default: () => [ln(V("div", Z({
1677
- ref: l,
1678
- class: ["v-overlay__content", e.contentClass],
1679
- style: [y.value, z.value]
1680
- }, x.value, e.contentProps), [n.default?.({
1681
- isActive: c
1682
- })]), [[un, c.value], [cn("click-outside"), {
1683
- handler: T,
1684
- closeConditional: F,
1685
- include: () => [M.value]
1686
- }]])]
1687
- })])]
1688
- })])), {
1689
- activatorEl: M,
1690
- scrimEl: i,
1691
- target: g,
1692
- animateClick: ne,
1693
- contentEl: l,
1694
- globalTop: R,
1695
- localTop: _,
1696
- updateLocation: D
1697
- };
1698
- }
1699
- }), To = { class: "text-h5 font-weight-bold text-primary text-center" }, No = { class: "text-body-2 font-weight-bold text-center" }, Bo = /* @__PURE__ */ Me({
1700
- __name: "BErrorOverlay",
1701
- props: {
1702
- marginTop: { default: 64 },
1703
- minHeight: { default: "300px" },
1704
- zIndex: { default: 50 }
1705
- },
1706
- setup(e) {
1707
- return (t, n) => (Q(), ce("div", {
1708
- class: "d-block",
1709
- style: Ke([{ width: "100%" }, {
1710
- "min-height": t.minHeight
1711
- }])
1712
- }, [
1713
- V(Ro, {
1714
- "model-value": !0,
1715
- "z-index": t.zIndex,
1716
- absolute: "",
1717
- class: "overlay d-block",
1718
- scrim: "white",
1719
- opacity: "0.8",
1720
- contained: ""
1721
- }, {
1722
- default: oe(() => [
1723
- V(eo, {
1724
- class: "mx-3",
1725
- justify: "center",
1726
- style: Ke({ "margin-top": t.marginTop + "px" })
1727
- }, {
1728
- default: oe(() => [
1729
- V(Un, {
1730
- cols: "12",
1731
- style: {
1732
- "max-width": "500px"
1733
- }
1734
- }, {
1735
- default: oe(() => [
1736
- se("div", To, [
1737
- ie(t.$slots, "title", {}, void 0, !0)
1738
- ]),
1739
- se("p", No, [
1740
- ie(t.$slots, "description", {}, void 0, !0)
1741
- ])
1742
- ]),
1743
- _: 3
1744
- })
1745
- ]),
1746
- _: 3
1747
- }, 8, ["style"])
1748
- ]),
1749
- _: 3
1750
- }, 8, ["z-index"])
1751
- ], 4));
1752
- }
1753
- }), ze = (e, t) => {
1754
- const n = e.__vccOpts || e;
1755
- for (const [o, a] of t)
1756
- n[o] = a;
1757
- return n;
1758
- }, Io = /* @__PURE__ */ ze(Bo, [["__scopeId", "data-v-9bb228a9"]]), $o = Me({
1759
- data: () => ({
1760
- observerClass: dn
1761
- }),
1762
- mixins: [fn],
1763
- name: "BBreakpointObserver",
1764
- props: {
1765
- // Set this prop to true if b-breakpoint-observer is at the root of the app (or in a modal attached to $root.$el)
1766
- atRoot: {
1767
- default: !1,
1768
- type: Boolean
1769
- }
1770
- },
1771
- setup(e) {
1772
- const { config: t } = vn(), { current: n, themes: o } = bt();
1773
- function a() {
1774
- if (t.value) {
1775
- t.value.theme || (t.value.theme = {});
1776
- try {
1777
- t.value.theme.accent || (t.value.theme.accent = t.value.theme.primary || n.value.colors.primary), t.value.theme.markerPrimary || (t.value.theme.markerPrimary = t.value.theme.primary || n.value.colors.primary), t.value.theme.markerSecondary || (t.value.theme.markerSecondary = t.value.theme.primary || n.value.colors.primary);
1778
- const r = {
1779
- ...o.value.light.colors,
1780
- ...t.value.theme,
1781
- "marker-primary": t.value.theme.markerPrimary,
1782
- "marker-secondary": t.value.theme.markerSecondary
1783
- }, s = {
1784
- ...o.value,
1785
- light: {
1786
- colors: r,
1787
- dark: !1,
1788
- variables: {
1789
- ...o.value.light.variables
1790
- }
1791
- }
1792
- };
1793
- o.value = s;
1794
- } catch (r) {
1795
- console.warn(r);
1796
- }
1797
- }
1798
- }
1799
- return e.atRoot && I(() => [t.value], a, { immediate: !0 }), {
1800
- config: t
1801
- };
1802
- }
1803
- }), Mo = B({
1804
- ...he(),
1805
- ...Nn({
1806
- fullHeight: !0
1807
- }),
1808
- ...ht()
1809
- }, "VApp"), Vo = ye()({
1810
- name: "VApp",
1811
- props: Mo(),
1812
- setup(e, t) {
1813
- let {
1814
- slots: n
1815
- } = t;
1816
- const o = yt(e), {
1817
- layoutClasses: a,
1818
- getLayoutItem: r,
1819
- items: s,
1820
- layoutRef: i
1821
- } = In(e), {
1822
- rtlClasses: l
1823
- } = gt();
1824
- return wt(() => V("div", {
1825
- ref: i,
1826
- class: ["v-application", o.themeClasses.value, a.value, l.value, e.class],
1827
- style: [e.style]
1828
- }, [V("div", {
1829
- class: "v-application__wrap"
1830
- }, [n.default?.()])])), {
1831
- getLayoutItem: r,
1832
- items: s,
1833
- theme: o
1834
- };
1835
- }
1836
- });
1837
- function Wo(e, t, n, o, a, r) {
1838
- return Q(), ce("div", {
1839
- class: mn(e.observerClass),
1840
- style: { height: "100%" }
1841
- }, [
1842
- e.atRoot ? (Q(), Pe(Vo, {
1843
- key: 0,
1844
- style: { height: "100%" }
1845
- }, {
1846
- default: oe(() => [
1847
- ie(e.$slots, "default")
1848
- ]),
1849
- _: 3
1850
- })) : ie(e.$slots, "default", { key: 1 })
1851
- ], 2);
1852
- }
1853
- const Fo = /* @__PURE__ */ ze($o, [["render", Wo]]), Ht = Me({
1854
- components: {
1855
- BBreakpointObserver: Fo,
1856
- BErrorOverlay: Io
1857
- },
1858
- // In order for the custom fonts to be loaded and available for the shadow DOM, we need to declare the CSS import from external document
1859
- created() {
1860
- this.loadFont(
1861
- "revolugo-roboto-link",
1862
- "https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"
1863
- ), this.loadFont(
1864
- "revolugo-font-awesome-link",
1865
- "https://use.fontawesome.com/releases/v6.1.1/css/all.css"
1866
- ), this.loadFont(
1867
- "revolugo-fonts",
1868
- `${import.meta.url.slice(
1869
- 0,
1870
- import.meta.url.lastIndexOf("/")
1871
- )}/css/fonts.css`
1872
- );
1873
- },
1874
- data() {
1875
- const e = [];
1876
- for (const t of document.querySelectorAll("link"))
1877
- /\/revolugo\..+\.min\.css$/u.test(t.href) && e.push(t.href);
1878
- return typeof window < "u" && (window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
1879
- components: [],
1880
- sheets: []
1881
- }, e.push(...window.REVOLUGO_ELEMENTS_STYLES.sheets)), {
1882
- attrs: this.$attrs,
1883
- stylesheets: e
1884
- };
1885
- },
1886
- methods: {
1887
- // Add font to document head only if it doesn't exist already
1888
- loadFont(e, t) {
1889
- if (document && !document.getElementById(e)) {
1890
- const n = document.createElement("link");
1891
- n.id = e, n.rel = "stylesheet", n.href = t, document.head.append(n);
1892
- }
1893
- }
1894
- },
1895
- mounted() {
1896
- typeof window < "u" && (window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
1897
- components: [],
1898
- sheets: []
1899
- }, window.REVOLUGO_ELEMENTS_STYLES.components.push((e) => {
1900
- this.stylesheets && this.stylesheets.push(e);
1901
- }));
1902
- },
1903
- name: "WebComponentWrapper",
1904
- props: {
1905
- errorOverlayDisabled: {
1906
- default: !1,
1907
- type: Boolean
1908
- }
1909
- },
1910
- setup() {
1911
- const e = bt(), t = En(), { t: n } = yn();
1912
- return I(
1913
- () => e.styles.value,
1914
- (o) => {
1915
- if (t) {
1916
- const a = t.querySelector(
1917
- "#vuetify-theme-stylesheet"
1918
- );
1919
- if (a)
1920
- a.textContent = o;
1921
- else {
1922
- const r = document.createElement("style");
1923
- r.type = "text/css", r.id = "vuetify-theme-stylesheet", r.textContent = o, t.prepend(r);
1924
- }
1925
- }
1926
- },
1927
- { immediate: !0 }
1928
- ), {
1929
- t: n
1930
- };
1931
- }
1932
- });
1933
- function st(e) {
1934
- const t = e;
1935
- t.__i18n = t.__i18n || [], t.__i18n.push({
1936
- locale: "",
1937
- resource: {
1938
- "en-US": {
1939
- WebComponentWrapper: {
1940
- apiKey: {
1941
- invalid: {
1942
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "⚠️ Please, provide a valid API Key credential" } }
1943
- }
1944
- }
1945
- }
1946
- },
1947
- "fr-FR": {
1948
- WebComponentWrapper: {
1949
- apiKey: {
1950
- invalid: {
1951
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "⚠️ Veuillez renseigner une clé API valide" } }
1952
- }
1953
- }
1954
- }
1955
- },
1956
- "de-DE": {
1957
- WebComponentWrapper: {
1958
- apiKey: {
1959
- invalid: {
1960
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "⚠️ Bitte geben Sie einen gültigen API-Schlüssel an" } }
1961
- }
1962
- }
1963
- }
1964
- },
1965
- "es-ES": {
1966
- WebComponentWrapper: {
1967
- apiKey: {
1968
- invalid: {
1969
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "⚠️ Por favor, proporcione una credencial de clave API válida" } }
1970
- }
1971
- }
1972
- }
1973
- },
1974
- "it-IT": {
1975
- WebComponentWrapper: {
1976
- apiKey: {
1977
- invalid: {
1978
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "⚠️ Per favore, fornisci una credenziale API Key valida" } }
1979
- }
1980
- }
1981
- }
1982
- },
1983
- "nl-NL": {
1984
- WebComponentWrapper: {
1985
- apiKey: {
1986
- invalid: {
1987
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "⚠️ Gelieve een geldige API-sleutel op te geven" } }
1988
- }
1989
- }
1990
- }
1991
- },
1992
- "pt-PT": {
1993
- WebComponentWrapper: {
1994
- apiKey: {
1995
- invalid: {
1996
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "⚠️ Por favor, forneça uma credencial de chave API válida" } }
1997
- }
1998
- }
1999
- }
2000
- }
2001
- }
2002
- });
2003
- }
2004
- const zo = ["href"], Ho = {
2005
- class: "d-block",
2006
- style: { display: "none" }
2007
- };
2008
- function jo(e, t, n, o, a, r) {
2009
- const s = Ge("BErrorOverlay"), i = Ge("BBreakpointObserver");
2010
- return Q(), Pe(i, { "at-root": "" }, {
2011
- default: oe(() => [
2012
- t[0] || (t[0] = se("link", {
2013
- href: "https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900",
2014
- rel: "stylesheet"
2015
- }, null, -1)),
2016
- t[1] || (t[1] = se("link", {
2017
- href: "https://use.fontawesome.com/releases/v6.1.1/css/all.css",
2018
- rel: "stylesheet"
2019
- }, null, -1)),
2020
- (Q(!0), ce(pt, null, gn(e.stylesheets, (l) => (Q(), ce("link", {
2021
- key: l,
2022
- href: l,
2023
- rel: "stylesheet"
2024
- }, null, 8, zo))), 128)),
2025
- se("div", Ho, [
2026
- !e.isBookingApiClientDefined && !e.errorOverlayDisabled ? (Q(), Pe(s, {
2027
- key: 0,
2028
- "min-height": "180px"
2029
- }, {
2030
- title: oe(() => [
2031
- hn(pn(e.t("WebComponentWrapper.apiKey.invalid.title")), 1)
2032
- ]),
2033
- _: 1
2034
- })) : ie(e.$slots, "default", { key: 1 })
2035
- ])
2036
- ]),
2037
- _: 3,
2038
- __: [0, 1]
2039
- });
2040
- }
2041
- typeof st == "function" && st(Ht);
2042
- const Qo = /* @__PURE__ */ ze(Ht, [["render", jo]]);
2043
- jt("css/revolugo.webcomponentwrapper.cFJPP6Rp.css");
2044
- export {
2045
- Xo as A,
2046
- Io as B,
2047
- Po as C,
2048
- Jo as D,
2049
- de as E,
2050
- qo as F,
2051
- Go as G,
2052
- Ko as H,
2053
- kn as I,
2054
- xn as J,
2055
- Ct as K,
2056
- Ue as L,
2057
- jn as M,
2058
- eo as V,
2059
- Qo as W,
2060
- ze as _,
2061
- Un as a,
2062
- $n as b,
2063
- Fo as c,
2064
- Zo as d,
2065
- Fn as e,
2066
- ko as f,
2067
- Yo as g,
2068
- xt as h,
2069
- Uo as i,
2070
- yo as j,
2071
- go as k,
2072
- Ro as l,
2073
- he as m,
2074
- Vn as n,
2075
- Mn as o,
2076
- Hn as p,
2077
- Cn as q,
2078
- wo as r,
2079
- Pn as s,
2080
- qe as t,
2081
- wt as u,
2082
- Eo as v,
2083
- Tn as w,
2084
- _n as x,
2085
- Ao as y,
2086
- mo as z
2087
- };
2088
- //# sourceMappingURL=revolugo.webcomponentwrapper.BXqP9KYd.min.js.map