@revolugo/elements 6.9.5-rc.0 → 6.9.6-beta.0

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 (193) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.C92dXEHE.css +1 -0
  3. package/dist/css/revolugo.creditcardstripeform.C4-vMajR.css +1 -0
  4. package/dist/css/revolugo.index.BNlxBMG6.css +5 -0
  5. package/dist/css/revolugo.preferencesmenu.DQaHGrad.css +1 -0
  6. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.ViqP9D5c.css} +1 -1
  7. package/dist/index.es.min.js +23 -12530
  8. package/dist/index.es.min.js.map +1 -1
  9. package/dist/index.min.js +1 -19
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/revolugo.banktransferdetails.DrqPV5Gn.min.js +47 -0
  12. package/dist/revolugo.bookingdetailssidebar.BUzOcei0.min.js +43 -0
  13. package/dist/revolugo.bookingmanager.ddHVFFCh.min.js +26 -0
  14. package/dist/revolugo.cancellationpoliciesbadge.C5MWbf48.min.js +26 -0
  15. package/dist/revolugo.cancellationpoliciesbadge.props.CBQbXRUh.min.js +28721 -0
  16. package/dist/revolugo.cancellationpolicieslist.CFtgoY0Q.min.js +26 -0
  17. package/dist/revolugo.creditcardstripeform.B2112ZY0.min.js +50 -0
  18. package/dist/{revolugo.creditcardform.BcpdCsLn.min.js → revolugo.creditcardstripeform.C1MSbRhE.min.js} +872 -855
  19. package/dist/revolugo.currencypickerbtn.BHvgRuZO.min.js +26 -0
  20. package/dist/{revolugo.dialog-attach.JlZBE-OK.min.js → revolugo.dialog-attach.D94QhJa0.min.js} +2 -2
  21. package/dist/revolugo.fastbookingflow.ZZFRKtvg.min.js +36 -0
  22. package/dist/revolugo.fullbookingflow.DKpCjmB2.min.js +26 -0
  23. package/dist/revolugo.hoteldescriptionview.D5MHRYfN.min.js +26 -0
  24. package/dist/revolugo.hotelofferlist.52F5Faa1.min.js +26 -0
  25. package/dist/revolugo.hoteloffersearchmenu.Djf9IzLB.min.js +115 -0
  26. package/dist/revolugo.hoteloffersmap.CtKIhJ_T.min.js +26 -0
  27. package/dist/revolugo.hoteloffersview.2o3PSi6T.min.js +21 -0
  28. package/dist/revolugo.hotelroomofferlist.D1OYIuAO.min.js +26 -0
  29. package/dist/revolugo.hotelroomoffersbookingflow.DaIhbiu2.min.js +26 -0
  30. package/dist/revolugo.hotelroomoffersearchmenu.C7HhYXVg.min.js +26 -0
  31. package/dist/revolugo.hotelroomoffersview.k30dmpvS.min.js +26 -0
  32. package/dist/revolugo.index.3s6X3Rp2.min.js +106 -0
  33. package/dist/revolugo.index.wc.DZh56llP.min.js +26625 -0
  34. package/dist/revolugo.langpickerbtn.BVyrMrD3.min.js +31 -0
  35. package/dist/{revolugo.leaflet-src.esm.DBQWLG1M.min.js → revolugo.leaflet-src.esm.BnEQV3J-.min.js} +16 -16
  36. package/dist/revolugo.min.js +1 -1
  37. package/dist/revolugo.prebookform.DaXmbBMD.min.js +26 -0
  38. package/dist/revolugo.preferencesmenu.BAOU9CNZ.min.js +24 -0
  39. package/dist/revolugo.preferencesmenu.YTdKXpO0.min.js +935 -0
  40. package/dist/revolugo.roominglisteditor.DCssvyEv.min.js +26 -0
  41. package/dist/revolugo.storybooktoolbar.BE-vSPxq.min.js +831 -0
  42. package/dist/revolugo.termsandconditions.C1DHMn3-.min.js +31 -0
  43. package/dist/revolugo.vtoolbar.CWBH40Bg.min.js +187 -0
  44. package/dist/revolugo.webcomponentwrapper.jfQ_0W7K.min.js +31266 -0
  45. package/package.json +6 -6
  46. package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +0 -1
  47. package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.css +0 -1
  48. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  49. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +0 -1
  50. package/dist/css/revolugo.bookingdetailssidebar.Cp4sLBjD.css +0 -1
  51. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  52. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  53. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  54. package/dist/css/revolugo.creditcardform.fTmPR0fS.css +0 -1
  55. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  56. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  57. package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +0 -1
  58. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  59. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  60. package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +0 -1
  61. package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +0 -1
  62. package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +0 -1
  63. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  64. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  65. package/dist/css/revolugo.index.XNPQF1ia.css +0 -5
  66. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  67. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  68. package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +0 -1
  69. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  70. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  71. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  72. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  73. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  74. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  75. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  76. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  77. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  78. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  79. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  80. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  81. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  82. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  83. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  84. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  85. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  86. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  87. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  88. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +0 -1
  89. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  90. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  91. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  92. package/dist/revolugo._baseiteratee.CLzJO0Z7.min.js +0 -247
  93. package/dist/revolugo.banktransferdetails.Birrw2bK.min.js +0 -380
  94. package/dist/revolugo.bdaterangepicker.B9Pwp3-i.min.js +0 -8327
  95. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.B6Bic057.min.js +0 -146
  96. package/dist/revolugo.bhoteloffersfilterbar.DGGCRGbi.min.js +0 -4901
  97. package/dist/revolugo.bhotelroomsdetails.BqDjDhZz.min.js +0 -965
  98. package/dist/revolugo.bimagecarousel.DZkkKxt4.min.js +0 -566
  99. package/dist/revolugo.bookingdetailssidebar.B7BPXRXg.min.js +0 -870
  100. package/dist/revolugo.bookingdetailssidebar.BCh02VxY.min.js +0 -24
  101. package/dist/revolugo.bookingmanager.BLI4Kfii.min.js +0 -1755
  102. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.CnD8GFjr.min.js +0 -66
  103. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DrkLAGv0.min.js +0 -570
  104. package/dist/revolugo.btag.WkZejRmS.min.js +0 -375
  105. package/dist/revolugo.cancellationpoliciesbadge.-kny6UNr.min.js +0 -198
  106. package/dist/revolugo.cancellationpoliciesbadge.k78k-bsq.min.js +0 -28
  107. package/dist/revolugo.cancellationpolicieslist.ClbQpNpE.min.js +0 -25
  108. package/dist/revolugo.cancellationpolicieslist.DD0Phtuu.min.js +0 -148
  109. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  110. package/dist/revolugo.case-transformers.L7Bk5rsm.min.js +0 -123
  111. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  112. package/dist/revolugo.creditcardform.TMc2dS7r.min.js +0 -24
  113. package/dist/revolugo.creditcardpayment.DNgqVDZM.min.js +0 -24
  114. package/dist/revolugo.creditcardpayment.IN0fHkG2.min.js +0 -885
  115. package/dist/revolugo.currencypicker.C7XrXhCS.min.js +0 -328
  116. package/dist/revolugo.currencypickerbtn.CBxEJhyo.min.js +0 -24
  117. package/dist/revolugo.currencypickerbtn.Cl2wh4UC.min.js +0 -157
  118. package/dist/revolugo.dates.D6Qm2MvS.min.js +0 -31
  119. package/dist/revolugo.defaultsdeep.Cej01H1i.min.js +0 -104
  120. package/dist/revolugo.dialog-transition.CKLVHgNl.min.js +0 -111
  121. package/dist/revolugo.fastbookingflow.Ca0eFsVD.min.js +0 -34
  122. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  123. package/dist/revolugo.fullbookingflow.LDV_2-8f.min.js +0 -429
  124. package/dist/revolugo.hotel-offer-request.mFDmvYda.min.js +0 -98
  125. package/dist/revolugo.hoteldescriptionview.BfCLPMDU.min.js +0 -24
  126. package/dist/revolugo.hoteldescriptionview.CgOY1ZMD.min.js +0 -2738
  127. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.Db_TUx_3.min.js +0 -239
  128. package/dist/revolugo.hotelofferlist.BlqWtyDX.min.js +0 -24
  129. package/dist/revolugo.hotelofferlist.DxjrZREn.min.js +0 -5640
  130. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  131. package/dist/revolugo.hoteloffersearchmenu.CW5xeFnf.min.js +0 -202
  132. package/dist/revolugo.hoteloffersearchmenuui.BYQevzaQ.min.js +0 -829
  133. package/dist/revolugo.hoteloffersmap.C0sXohwQ.min.js +0 -24
  134. package/dist/revolugo.hoteloffersmap.CiAz08aa.min.js +0 -8330
  135. package/dist/revolugo.hoteloffersview.CcyL5SHj.min.js +0 -616
  136. package/dist/revolugo.hoteloffersview.DViVRmpv.min.js +0 -19
  137. package/dist/revolugo.hotelroomofferlist.0_20anO4.min.js +0 -24
  138. package/dist/revolugo.hotelroomofferlist.CWVOrmN3.min.js +0 -2799
  139. package/dist/revolugo.hotelroomofferrequestcreator.props.BMUg6Cw2.min.js +0 -171
  140. package/dist/revolugo.hotelroomoffersbookingflow.BFZyhPs4.min.js +0 -1281
  141. package/dist/revolugo.hotelroomoffersearchmenu.CeTSQNc_.min.js +0 -231
  142. package/dist/revolugo.hotelroomoffersearchmenu.DubKcJXK.min.js +0 -25
  143. package/dist/revolugo.hotelroomoffersview.ChGK-lwY.min.js +0 -290
  144. package/dist/revolugo.hotelroomoffersview.XrxJb08f.min.js +0 -24
  145. package/dist/revolugo.index.BRUEWPtu.min.js +0 -67
  146. package/dist/revolugo.index.BksT1nj-.min.js +0 -1232
  147. package/dist/revolugo.index.wc.5QPHrFdU.min.js +0 -31558
  148. package/dist/revolugo.langpicker.C8_l6z5z.min.js +0 -99
  149. package/dist/revolugo.langpickerbtn.B6yGmUkO.min.js +0 -131
  150. package/dist/revolugo.langpickerbtn.BlTweLYF.min.js +0 -29
  151. package/dist/revolugo.parsed-props.BJy-LQVI.min.js +0 -40
  152. package/dist/revolugo.pathify.DuCqvhE5.min.js +0 -36
  153. package/dist/revolugo.prebookform.B-1a8R28.min.js +0 -24
  154. package/dist/revolugo.prebookform.XU54iB7H.min.js +0 -1527
  155. package/dist/revolugo.preferencesmenu.BEfTbWWf.min.js +0 -261
  156. package/dist/revolugo.preferencesmenu.DvHC3c5R.min.js +0 -24
  157. package/dist/revolugo.roominglisteditor.DBJeg1ek.min.js +0 -24
  158. package/dist/revolugo.roominglisteditor.Dlm2Xe2s.min.js +0 -385
  159. package/dist/revolugo.rounded.DTrKKTt4.min.js +0 -68
  160. package/dist/revolugo.ssrboot.CCsFGYsn.min.js +0 -18
  161. package/dist/revolugo.storybooktoolbar.DTCC8Ies.min.js +0 -881
  162. package/dist/revolugo.termsandconditions.B35IiPu8.min.js +0 -23
  163. package/dist/revolugo.termsandconditions.C2BIBaOu.min.js +0 -404
  164. package/dist/revolugo.use-breakpoint-service.Dh2ZxWTf.min.js +0 -39
  165. package/dist/revolugo.use-dialog-attach.DaBrfXUJ.min.js +0 -16
  166. package/dist/revolugo.use-html-element.B4PPsV8w.min.js +0 -11
  167. package/dist/revolugo.vautocomplete.MyBbNRlC.min.js +0 -445
  168. package/dist/revolugo.vbadge.CSlLZjlP.min.js +0 -112
  169. package/dist/revolugo.vbtn.Dbr6CsSm.min.js +0 -398
  170. package/dist/revolugo.vcard.DylXYSnw.min.js +0 -313
  171. package/dist/revolugo.vcheckboxbtn.Bhk5daqP.min.js +0 -478
  172. package/dist/revolugo.vdialog.CtuxcesN.min.js +0 -133
  173. package/dist/revolugo.vdivider.Bxl52tUp.min.js +0 -77
  174. package/dist/revolugo.vexpansionpanels.D09LqdoU.min.js +0 -262
  175. package/dist/revolugo.vform.gnySklGl.min.js +0 -46
  176. package/dist/revolugo.vicon.CdRzDPMk.min.js +0 -105
  177. package/dist/revolugo.vinput.BNbakCF2.min.js +0 -463
  178. package/dist/revolugo.vlabel.Dk4FF6Za.min.js +0 -48
  179. package/dist/revolugo.vlist.ue7D63XL.min.js +0 -1299
  180. package/dist/revolugo.vmenu.DHZfznjo.min.js +0 -145
  181. package/dist/revolugo.vselect.C1jUN20W.min.js +0 -660
  182. package/dist/revolugo.vsheet.DF_dpUv9.min.js +0 -72
  183. package/dist/revolugo.vskeletonloader.Dq-T8AvN.min.js +0 -136
  184. package/dist/revolugo.vslidegroup.CY8HKY68.min.js +0 -325
  185. package/dist/revolugo.vsnackbar.BTUU_GjH.min.js +0 -198
  186. package/dist/revolugo.vspacer.8XjWwGNR.min.js +0 -7
  187. package/dist/revolugo.vtextarea.BzXlRaqj.min.js +0 -2092
  188. package/dist/revolugo.vtextfield.PwjQYcsK.min.js +0 -501
  189. package/dist/revolugo.vtoolbar.gTiJEUY8.min.js +0 -180
  190. package/dist/revolugo.vtooltip.BEvNIx65.min.js +0 -89
  191. package/dist/revolugo.vwindowitem.rUiYmY4A.min.js +0 -317
  192. package/dist/revolugo.watch-list.CW6XeKsi.min.js +0 -16
  193. package/dist/revolugo.webcomponentwrapper.cNxufrbJ.min.js +0 -2088
@@ -1,2088 +0,0 @@
1
- import { cB as Dt, cQ as Ce, cU as it, cV as lt, a2 as B, c0 as G, ae as Oe, k as H, bz as U, Y as Re, O as I, cq as ut, an as le, aL as Kt, a9 as Z, ci as Ut, cW as Gt, H as d, ao as K, ad as L, X as ct, ap as Te, cL as Yt, _ as ft, cP as dt, cX as He, cY as qt, cZ as Xt, c_ as Zt, cz as Jt, c$ as je, af as Le, bY as Qt, W as me, aT as j, cO as en, aX as vt, al as Ne, D as X, a1 as ye, d0 as ge, z as Be, aS as Ie, aF as De, ac as $e, d1 as mt, d2 as tn, bX as nn, aU as on, bw as an, a6 as rn, aK as yt, aE as gt, aM as ht, a as V, cA as sn, J as ln, K as un, aH as cn, F as pt, d as Me, i as ce, w as oe, Z as Ke, o as Q, e as se, j as ie, d3 as fn, bQ as dn, T as vn, bN as bt, c as Pe, C as mn, u as yn, B as gn, r as Ue, f as hn, t as pn } from "./revolugo.index.wc.5QPHrFdU.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 Ge(e, t) {
33
- let [n, o] = e.split(" ");
34
- return o || (o = Ce(St, n) ? "start" : Ce(wn, n) ? "top" : "center"), {
35
- side: Ye(n, t),
36
- align: Ye(o, t)
37
- };
38
- }
39
- function Ye(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 qe(e) {
67
- return {
68
- side: e.align,
69
- align: e.side
70
- };
71
- }
72
- function Xe(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 Ze(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), _ = 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: _,
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)", Uo = "cubic-bezier(0.4, 0, 1, 1)";
205
- function An(e) {
206
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
207
- for (; e; ) {
208
- if (t ? _n(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 _n(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 = G("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 (U) {
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"), Go = 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 Yo() {
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 qo(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 = G("useLayoutItem");
291
- Te(kt, {
292
- id: n
293
- });
294
- const a = Z(!1);
295
- Ut(() => a.value = !0), Gt(() => 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(), _ = 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), A = G("createLayout"), k = Z(!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 = Yt(kt, A?.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), Y = 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 = _.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
- }), q = d(() => ({
426
- zIndex: F.value - 1
427
- }));
428
- return {
429
- layoutItemStyles: Y,
430
- layoutItemScrimStyles: q,
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 We = (e, t) => {
461
- const n = e.__vccOpts || e;
462
- for (const [o, a] of t)
463
- n[o] = a;
464
- return n;
465
- }, xt = B({
466
- tag: {
467
- type: String,
468
- default: "div"
469
- }
470
- }, "tag");
471
- function Ct(e) {
472
- return dt(() => {
473
- const t = [], n = {};
474
- if (e.value.background)
475
- if (He(e.value.background)) {
476
- if (n.backgroundColor = e.value.background, !e.value.text && qt(e.value.background)) {
477
- const o = Xt(e.value.background);
478
- if (o.a == null || o.a === 1) {
479
- const a = Zt(o);
480
- n.color = a, n.caretColor = a;
481
- }
482
- }
483
- } else
484
- t.push(`bg-${e.value.background}`);
485
- return e.value.text && (He(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), {
486
- colorClasses: t,
487
- colorStyles: n
488
- };
489
- });
490
- }
491
- function Xo(e, t) {
492
- const n = d(() => ({
493
- text: ft(e) ? e.value : t ? e[t] : null
494
- })), {
495
- colorClasses: o,
496
- colorStyles: a
497
- } = Ct(n);
498
- return {
499
- textColorClasses: o,
500
- textColorStyles: a
501
- };
502
- }
503
- function $n(e, t) {
504
- const n = d(() => ({
505
- background: ft(e) ? e.value : t ? e[t] : null
506
- })), {
507
- colorClasses: o,
508
- colorStyles: a
509
- } = Ct(n);
510
- return {
511
- backgroundColorClasses: o,
512
- backgroundColorStyles: a
513
- };
514
- }
515
- const Mn = B({
516
- height: [Number, String],
517
- maxHeight: [Number, String],
518
- maxWidth: [Number, String],
519
- minHeight: [Number, String],
520
- minWidth: [Number, String],
521
- width: [Number, String]
522
- }, "dimension");
523
- function Vn(e) {
524
- return {
525
- dimensionStyles: d(() => {
526
- 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);
527
- 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;
528
- })
529
- };
530
- }
531
- function Wn() {
532
- const e = G("useRoute");
533
- return d(() => e?.proxy?.$route);
534
- }
535
- function Fn() {
536
- return G("useRouter")?.proxy?.$router;
537
- }
538
- function Zo(e, t) {
539
- const n = Jt("RouterLink"), o = d(() => !!(e.href || e.to)), a = d(() => o?.value || je(t, "click") || je(e, "click"));
540
- if (typeof n == "string" || !("useLink" in n)) {
541
- const _ = Le(e, "href");
542
- return {
543
- isLink: o,
544
- isClickable: a,
545
- href: _,
546
- linkProps: K({
547
- href: _
548
- })
549
- };
550
- }
551
- const r = d(() => ({
552
- ...e,
553
- to: Le(() => e.to || "")
554
- })), 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);
555
- return {
556
- isLink: o,
557
- isClickable: a,
558
- isActive: f,
559
- route: i.value?.route,
560
- navigate: i.value?.navigate,
561
- href: c,
562
- linkProps: K({
563
- href: c,
564
- "aria-current": d(() => f.value ? "page" : void 0)
565
- })
566
- };
567
- }
568
- const Jo = B({
569
- href: String,
570
- replace: Boolean,
571
- to: [String, Object],
572
- exact: Boolean
573
- }, "router");
574
- let we = !1;
575
- function zn(e, t) {
576
- let n = !1, o, a;
577
- U && e?.beforeEach && (me(() => {
578
- window.addEventListener("popstate", r), o = e.beforeEach((s, i, l) => {
579
- we ? n ? t(l) : l() : setTimeout(() => n ? t(l) : l()), we = !0;
580
- }), a = e?.afterEach(() => {
581
- we = !1;
582
- });
583
- }), j(() => {
584
- window.removeEventListener("popstate", r), o?.(), a?.();
585
- }));
586
- function r(s) {
587
- s.state?.replaced || (n = !0, setTimeout(() => n = !1));
588
- }
589
- }
590
- const Hn = B({
591
- transition: {
592
- type: [Boolean, String, Object],
593
- default: "fade-transition",
594
- validator: (e) => e !== !0
595
- }
596
- }, "transition"), jn = (e, t) => {
597
- let {
598
- slots: n
599
- } = t;
600
- const {
601
- transition: o,
602
- disabled: a,
603
- group: r,
604
- ...s
605
- } = e, {
606
- component: i = r ? en : vt,
607
- ...l
608
- } = typeof o == "object" ? o : {};
609
- return Ne(i, X(typeof o == "string" ? {
610
- name: a ? "" : o
611
- } : l, typeof o == "string" ? {} : Object.fromEntries(Object.entries({
612
- disabled: a,
613
- group: r
614
- }).filter((f) => {
615
- let [c, _] = f;
616
- return _ !== void 0;
617
- })), s), n);
618
- }, Ot = ge.reduce((e, t) => (e[t] = {
619
- type: [Boolean, String, Number],
620
- default: !1
621
- }, e), {}), Lt = ge.reduce((e, t) => {
622
- const n = "offset" + Be(t);
623
- return e[n] = {
624
- type: [String, Number],
625
- default: null
626
- }, e;
627
- }, {}), Pt = ge.reduce((e, t) => {
628
- const n = "order" + Be(t);
629
- return e[n] = {
630
- type: [String, Number],
631
- default: null
632
- }, e;
633
- }, {}), Qe = {
634
- col: Object.keys(Ot),
635
- offset: Object.keys(Lt),
636
- order: Object.keys(Pt)
637
- };
638
- function Dn(e, t, n) {
639
- let o = e;
640
- if (!(n == null || n === !1)) {
641
- if (t) {
642
- const a = t.replace(e, "");
643
- o += `-${a}`;
644
- }
645
- return e === "col" && (o = "v-" + o), e === "col" && (n === "" || n === !0) || (o += `-${n}`), o.toLowerCase();
646
- }
647
- }
648
- const Kn = ["auto", "start", "end", "center", "baseline", "stretch"], Un = B({
649
- cols: {
650
- type: [Boolean, String, Number],
651
- default: !1
652
- },
653
- ...Ot,
654
- offset: {
655
- type: [String, Number],
656
- default: null
657
- },
658
- ...Lt,
659
- order: {
660
- type: [String, Number],
661
- default: null
662
- },
663
- ...Pt,
664
- alignSelf: {
665
- type: String,
666
- default: null,
667
- validator: (e) => Kn.includes(e)
668
- },
669
- ...he(),
670
- ...xt()
671
- }, "VCol"), Gn = ye()({
672
- name: "VCol",
673
- props: Un(),
674
- setup(e, t) {
675
- let {
676
- slots: n
677
- } = t;
678
- const o = d(() => {
679
- const a = [];
680
- let r;
681
- for (r in Qe)
682
- Qe[r].forEach((i) => {
683
- const l = e[i], f = Dn(r, i, l);
684
- f && a.push(f);
685
- });
686
- const s = a.some((i) => i.startsWith("v-col-"));
687
- return a.push({
688
- // Default to .v-col if no other col-{bp}-* classes generated nor `cols` specified.
689
- "v-col": !s || !e.cols,
690
- [`v-col-${e.cols}`]: e.cols,
691
- [`offset-${e.offset}`]: e.offset,
692
- [`order-${e.order}`]: e.order,
693
- [`align-self-${e.alignSelf}`]: e.alignSelf
694
- }), a;
695
- });
696
- return () => Ne(e.tag, {
697
- class: [o.value, e.class],
698
- style: e.style
699
- }, n.default?.());
700
- }
701
- }), Fe = ["start", "end", "center"], At = ["space-between", "space-around", "space-evenly"];
702
- function ze(e, t) {
703
- return ge.reduce((n, o) => {
704
- const a = e + Be(o);
705
- return n[a] = t(), n;
706
- }, {});
707
- }
708
- const Yn = [...Fe, "baseline", "stretch"], _t = (e) => Yn.includes(e), Rt = ze("align", () => ({
709
- type: String,
710
- default: null,
711
- validator: _t
712
- })), qn = [...Fe, ...At], Tt = (e) => qn.includes(e), Nt = ze("justify", () => ({
713
- type: String,
714
- default: null,
715
- validator: Tt
716
- })), Xn = [...Fe, ...At, "stretch"], Bt = (e) => Xn.includes(e), It = ze("alignContent", () => ({
717
- type: String,
718
- default: null,
719
- validator: Bt
720
- })), et = {
721
- align: Object.keys(Rt),
722
- justify: Object.keys(Nt),
723
- alignContent: Object.keys(It)
724
- }, Zn = {
725
- align: "align",
726
- justify: "justify",
727
- alignContent: "align-content"
728
- };
729
- function Jn(e, t, n) {
730
- let o = Zn[e];
731
- if (n != null) {
732
- if (t) {
733
- const a = t.replace(e, "");
734
- o += `-${a}`;
735
- }
736
- return o += `-${n}`, o.toLowerCase();
737
- }
738
- }
739
- const Qn = B({
740
- dense: Boolean,
741
- noGutters: Boolean,
742
- align: {
743
- type: String,
744
- default: null,
745
- validator: _t
746
- },
747
- ...Rt,
748
- justify: {
749
- type: String,
750
- default: null,
751
- validator: Tt
752
- },
753
- ...Nt,
754
- alignContent: {
755
- type: String,
756
- default: null,
757
- validator: Bt
758
- },
759
- ...It,
760
- ...he(),
761
- ...xt()
762
- }, "VRow"), eo = ye()({
763
- name: "VRow",
764
- props: Qn(),
765
- setup(e, t) {
766
- let {
767
- slots: n
768
- } = t;
769
- const o = d(() => {
770
- const a = [];
771
- let r;
772
- for (r in et)
773
- et[r].forEach((s) => {
774
- const i = e[s], l = Jn(r, s, i);
775
- l && a.push(l);
776
- });
777
- return a.push({
778
- "v-row--no-gutters": e.noGutters,
779
- "v-row--dense": e.dense,
780
- [`align-${e.align}`]: e.align,
781
- [`justify-${e.justify}`]: e.justify,
782
- [`align-content-${e.alignContent}`]: e.alignContent
783
- }), a;
784
- });
785
- return () => Ne(e.tag, {
786
- class: ["v-row", o.value, e.class],
787
- style: e.style
788
- }, n.default?.());
789
- }
790
- });
791
- function ke(e, t) {
792
- return {
793
- x: e.x + t.x,
794
- y: e.y + t.y
795
- };
796
- }
797
- function to(e, t) {
798
- return {
799
- x: e.x - t.x,
800
- y: e.y - t.y
801
- };
802
- }
803
- function tt(e, t) {
804
- if (e.side === "top" || e.side === "bottom") {
805
- const {
806
- side: n,
807
- align: o
808
- } = e, a = o === "left" ? 0 : o === "center" ? t.width / 2 : o === "right" ? t.width : o, r = n === "top" ? 0 : n === "bottom" ? t.height : n;
809
- return ke({
810
- x: a,
811
- y: r
812
- }, t);
813
- } else if (e.side === "left" || e.side === "right") {
814
- const {
815
- side: n,
816
- align: o
817
- } = e, a = n === "left" ? 0 : n === "right" ? t.width : n, r = o === "top" ? 0 : o === "center" ? t.height / 2 : o === "bottom" ? t.height : o;
818
- return ke({
819
- x: a,
820
- y: r
821
- }, t);
822
- }
823
- return ke({
824
- x: t.width / 2,
825
- y: t.height / 2
826
- }, t);
827
- }
828
- const $t = {
829
- static: ao,
830
- // specific viewport position, usually centered
831
- connected: so
832
- // connected to a certain element
833
- }, no = B({
834
- locationStrategy: {
835
- type: [String, Function],
836
- default: "static",
837
- validator: (e) => typeof e == "function" || e in $t
838
- },
839
- location: {
840
- type: String,
841
- default: "bottom"
842
- },
843
- origin: {
844
- type: String,
845
- default: "auto"
846
- },
847
- offset: [Number, String, Array]
848
- }, "VOverlay-location-strategies");
849
- function oo(e, t) {
850
- const n = H({}), o = H();
851
- U && Ie(() => !!(t.isActive.value && e.locationStrategy), (r) => {
852
- I(() => e.locationStrategy, r), j(() => {
853
- window.removeEventListener("resize", a), o.value = void 0;
854
- }), window.addEventListener("resize", a, {
855
- passive: !0
856
- }), typeof e.locationStrategy == "function" ? o.value = e.locationStrategy(t, e, n)?.updateLocation : o.value = $t[e.locationStrategy](t, e, n)?.updateLocation;
857
- });
858
- function a(r) {
859
- o.value?.(r);
860
- }
861
- return {
862
- contentStyles: n,
863
- updateLocation: o
864
- };
865
- }
866
- function ao() {
867
- }
868
- function ro(e, t) {
869
- const n = xn(e);
870
- return t ? n.x += parseFloat(e.style.right || 0) : n.x -= parseFloat(e.style.left || 0), n.y -= parseFloat(e.style.top || 0), n;
871
- }
872
- function so(e, t, n) {
873
- (Array.isArray(e.target.value) || Rn(e.target.value)) && Object.assign(n.value, {
874
- position: "fixed",
875
- top: 0,
876
- [e.isRtl.value ? "right" : "left"]: 0
877
- });
878
- const {
879
- preferredAnchor: a,
880
- preferredOrigin: r
881
- } = dt(() => {
882
- const m = Ge(t.location, e.isRtl.value), v = t.origin === "overlap" ? m : t.origin === "auto" ? Se(m) : Ge(t.origin, e.isRtl.value);
883
- return m.side === v.side && m.align === Ee(v).align ? {
884
- preferredAnchor: qe(m),
885
- preferredOrigin: qe(v)
886
- } : {
887
- preferredAnchor: m,
888
- preferredOrigin: v
889
- };
890
- }), [s, i, l, f] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((m) => d(() => {
891
- const v = parseFloat(t[m]);
892
- return isNaN(v) ? 1 / 0 : v;
893
- })), c = d(() => {
894
- if (Array.isArray(t.offset))
895
- return t.offset;
896
- if (typeof t.offset == "string") {
897
- const m = t.offset.split(" ").map(parseFloat);
898
- return m.length < 2 && m.push(0), m;
899
- }
900
- return typeof t.offset == "number" ? [t.offset, 0] : [0, 0];
901
- });
902
- let _ = !1;
903
- const w = new ResizeObserver(() => {
904
- _ && P();
905
- });
906
- I([e.target, e.contentEl], (m, v) => {
907
- let [C, R] = m, [A, k] = v;
908
- A && !Array.isArray(A) && w.unobserve(A), C && !Array.isArray(C) && w.observe(C), k && w.unobserve(k), R && w.observe(R);
909
- }, {
910
- immediate: !0
911
- }), j(() => {
912
- w.disconnect();
913
- });
914
- function P() {
915
- if (_ = !1, requestAnimationFrame(() => _ = !0), !e.target.value || !e.contentEl.value) return;
916
- const m = kn(e.target.value), v = ro(e.contentEl.value, e.isRtl.value), C = fe(e.contentEl.value), R = 12;
917
- 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)));
918
- const A = C.reduce((E, h) => {
919
- const y = h.getBoundingClientRect(), p = new ee({
920
- x: h === document.documentElement ? 0 : y.x,
921
- y: h === document.documentElement ? 0 : y.y,
922
- width: h.clientWidth,
923
- height: h.clientHeight
924
- });
925
- return E ? new ee({
926
- x: Math.max(E.left, p.left),
927
- y: Math.max(E.top, p.top),
928
- width: Math.min(E.right, p.right) - Math.max(E.left, p.left),
929
- height: Math.min(E.bottom, p.bottom) - Math.max(E.top, p.top)
930
- }) : p;
931
- }, void 0);
932
- A.x += R, A.y += R, A.width -= R * 2, A.height -= R * 2;
933
- let k = {
934
- anchor: a.value,
935
- origin: r.value
936
- };
937
- function M(E) {
938
- const h = new ee(v), y = tt(E.anchor, m), p = tt(E.origin, h);
939
- let {
940
- x: W,
941
- y: z
942
- } = to(y, p);
943
- switch (E.anchor.side) {
944
- case "top":
945
- z -= c.value[0];
946
- break;
947
- case "bottom":
948
- z += c.value[0];
949
- break;
950
- case "left":
951
- W -= c.value[0];
952
- break;
953
- case "right":
954
- W += c.value[0];
955
- break;
956
- }
957
- switch (E.anchor.align) {
958
- case "top":
959
- z -= c.value[1];
960
- break;
961
- case "bottom":
962
- z += c.value[1];
963
- break;
964
- case "left":
965
- W -= c.value[1];
966
- break;
967
- case "right":
968
- W += c.value[1];
969
- break;
970
- }
971
- return h.x += W, h.y += z, h.width = Math.min(h.width, l.value), h.height = Math.min(h.height, f.value), {
972
- overflows: Ze(h, A),
973
- x: W,
974
- y: z
975
- };
976
- }
977
- let $ = 0, g = 0;
978
- const S = {
979
- x: 0,
980
- y: 0
981
- }, u = {
982
- x: !1,
983
- y: !1
984
- };
985
- let O = -1;
986
- for (; !(O++ > 10); ) {
987
- const {
988
- x: E,
989
- y: h,
990
- overflows: y
991
- } = M(k);
992
- $ += E, g += h, v.x += E, v.y += h;
993
- {
994
- const p = Xe(k.anchor), W = y.x.before || y.x.after, z = y.y.before || y.y.after;
995
- let D = !1;
996
- if (["x", "y"].forEach((T) => {
997
- if (T === "x" && W && !u.x || T === "y" && z && !u.y) {
998
- const F = {
999
- anchor: {
1000
- ...k.anchor
1001
- },
1002
- origin: {
1003
- ...k.origin
1004
- }
1005
- }, Y = T === "x" ? p === "y" ? Ee : Se : p === "y" ? Se : Ee;
1006
- F.anchor = Y(F.anchor), F.origin = Y(F.origin);
1007
- const {
1008
- overflows: q
1009
- } = M(F);
1010
- (q[T].before <= y[T].before && q[T].after <= y[T].after || q[T].before + q[T].after < (y[T].before + y[T].after) / 2) && (k = F, D = u[T] = !0);
1011
- }
1012
- }), D) continue;
1013
- }
1014
- 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);
1015
- {
1016
- const p = Ze(v, A);
1017
- S.x = A.width - p.x.before - p.x.after, S.y = A.height - p.y.before - p.y.after, $ += p.x.before, v.x += p.x.before, g += p.y.before, v.y += p.y.before;
1018
- }
1019
- break;
1020
- }
1021
- const x = Xe(k.anchor);
1022
- return Object.assign(n.value, {
1023
- "--v-overlay-anchor-origin": `${k.anchor.side} ${k.anchor.align}`,
1024
- transformOrigin: `${k.origin.side} ${k.origin.align}`,
1025
- // transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`,
1026
- top: L(xe(g)),
1027
- left: e.isRtl.value ? void 0 : L(xe($)),
1028
- right: e.isRtl.value ? L(xe(-$)) : void 0,
1029
- minWidth: L(x === "y" ? Math.min(s.value, m.width) : s.value),
1030
- maxWidth: L(nt(De(S.x, s.value === 1 / 0 ? 0 : s.value, l.value))),
1031
- maxHeight: L(nt(De(S.y, i.value === 1 / 0 ? 0 : i.value, f.value)))
1032
- }), {
1033
- available: S,
1034
- contentBox: v
1035
- };
1036
- }
1037
- return I(() => [a.value, r.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => P()), me(() => {
1038
- const m = P();
1039
- if (!m) return;
1040
- const {
1041
- available: v,
1042
- contentBox: C
1043
- } = m;
1044
- C.height > v.y && requestAnimationFrame(() => {
1045
- P(), requestAnimationFrame(() => {
1046
- P();
1047
- });
1048
- });
1049
- }), {
1050
- updateLocation: P
1051
- };
1052
- }
1053
- function xe(e) {
1054
- return Math.round(e * devicePixelRatio) / devicePixelRatio;
1055
- }
1056
- function nt(e) {
1057
- return Math.ceil(e * devicePixelRatio) / devicePixelRatio;
1058
- }
1059
- let Ae = !0;
1060
- const ve = [];
1061
- function io(e) {
1062
- !Ae || ve.length ? (ve.push(e), _e()) : (Ae = !1, e(), _e());
1063
- }
1064
- let ot = -1;
1065
- function _e() {
1066
- cancelAnimationFrame(ot), ot = requestAnimationFrame(() => {
1067
- const e = ve.shift();
1068
- e && e(), ve.length ? _e() : Ae = !0;
1069
- });
1070
- }
1071
- const Mt = {
1072
- none: null,
1073
- close: co,
1074
- block: fo,
1075
- reposition: vo
1076
- }, lo = B({
1077
- scrollStrategy: {
1078
- type: [String, Function],
1079
- default: "block",
1080
- validator: (e) => typeof e == "function" || e in Mt
1081
- }
1082
- }, "VOverlay-scroll-strategies");
1083
- function uo(e, t) {
1084
- if (!U) return;
1085
- let n;
1086
- $e(async () => {
1087
- n?.stop(), t.isActive.value && e.scrollStrategy && (n = mt(), await new Promise((o) => setTimeout(o)), n.active && n.run(() => {
1088
- typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : Mt[e.scrollStrategy]?.(t, e, n);
1089
- }));
1090
- }), j(() => {
1091
- n?.stop();
1092
- });
1093
- }
1094
- function co(e) {
1095
- function t(n) {
1096
- e.isActive.value = !1;
1097
- }
1098
- Vt(e.targetEl.value ?? e.contentEl.value, t);
1099
- }
1100
- function fo(e, t) {
1101
- 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);
1102
- r && e.root.value.classList.add("v-overlay--scroll-blocked"), o.forEach((s, i) => {
1103
- 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");
1104
- }), j(() => {
1105
- o.forEach((s, i) => {
1106
- const l = parseFloat(s.style.getPropertyValue("--v-body-scroll-x")), f = parseFloat(s.style.getPropertyValue("--v-body-scroll-y")), c = s.style.scrollBehavior;
1107
- 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;
1108
- }), r && e.root.value.classList.remove("v-overlay--scroll-blocked");
1109
- });
1110
- }
1111
- function vo(e, t, n) {
1112
- let o = !1, a = -1, r = -1;
1113
- function s(i) {
1114
- io(() => {
1115
- const l = performance.now();
1116
- e.updateLocation.value?.(i), o = (performance.now() - l) / (1e3 / 60) > 2;
1117
- });
1118
- }
1119
- r = (typeof requestIdleCallback > "u" ? (i) => i() : requestIdleCallback)(() => {
1120
- n.run(() => {
1121
- Vt(e.targetEl.value ?? e.contentEl.value, (i) => {
1122
- o ? (cancelAnimationFrame(a), a = requestAnimationFrame(() => {
1123
- a = requestAnimationFrame(() => {
1124
- s(i);
1125
- });
1126
- })) : s(i);
1127
- });
1128
- });
1129
- }), j(() => {
1130
- typeof cancelIdleCallback < "u" && cancelIdleCallback(r), cancelAnimationFrame(a);
1131
- });
1132
- }
1133
- function Vt(e, t) {
1134
- const n = [document, ...fe(e)];
1135
- n.forEach((o) => {
1136
- o.addEventListener("scroll", t, {
1137
- passive: !0
1138
- });
1139
- }), j(() => {
1140
- n.forEach((o) => {
1141
- o.removeEventListener("scroll", t);
1142
- });
1143
- });
1144
- }
1145
- const mo = Symbol.for("vuetify:v-menu"), yo = B({
1146
- closeDelay: [Number, String],
1147
- openDelay: [Number, String]
1148
- }, "delay");
1149
- function go(e, t) {
1150
- let n = () => {
1151
- };
1152
- function o(s) {
1153
- n?.();
1154
- const i = Number(s ? e.openDelay : e.closeDelay);
1155
- return new Promise((l) => {
1156
- n = tn(i, () => {
1157
- t?.(s), l(s);
1158
- });
1159
- });
1160
- }
1161
- function a() {
1162
- return o(!0);
1163
- }
1164
- function r() {
1165
- return o(!1);
1166
- }
1167
- return {
1168
- clearDelay: n,
1169
- runOpenDelay: a,
1170
- runCloseDelay: r
1171
- };
1172
- }
1173
- const ho = B({
1174
- target: [String, Object],
1175
- activator: [String, Object],
1176
- activatorProps: {
1177
- type: Object,
1178
- default: () => ({})
1179
- },
1180
- openOnClick: {
1181
- type: Boolean,
1182
- default: void 0
1183
- },
1184
- openOnHover: Boolean,
1185
- openOnFocus: {
1186
- type: Boolean,
1187
- default: void 0
1188
- },
1189
- closeOnContentClick: Boolean,
1190
- ...yo()
1191
- }, "VOverlay-activator");
1192
- function po(e, t) {
1193
- let {
1194
- isActive: n,
1195
- isTop: o,
1196
- contentEl: a
1197
- } = t;
1198
- const r = G("useActivator"), s = H();
1199
- let i = !1, l = !1, f = !0;
1200
- const c = d(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), _ = d(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !c.value), {
1201
- runOpenDelay: w,
1202
- runCloseDelay: P
1203
- } = go(e, (u) => {
1204
- u === (e.openOnHover && i || c.value && l) && !(e.openOnHover && n.value && !o.value) && (n.value !== u && (f = !0), n.value = u);
1205
- }), m = H(), v = {
1206
- onClick: (u) => {
1207
- u.stopPropagation(), s.value = u.currentTarget || u.target, n.value || (m.value = [u.clientX, u.clientY]), n.value = !n.value;
1208
- },
1209
- onMouseenter: (u) => {
1210
- u.sourceCapabilities?.firesTouchEvents || (i = !0, s.value = u.currentTarget || u.target, w());
1211
- },
1212
- onMouseleave: (u) => {
1213
- i = !1, P();
1214
- },
1215
- onFocus: (u) => {
1216
- nn(u.target, ":focus-visible") !== !1 && (l = !0, u.stopPropagation(), s.value = u.currentTarget || u.target, w());
1217
- },
1218
- onBlur: (u) => {
1219
- l = !1, u.stopPropagation(), P();
1220
- }
1221
- }, C = d(() => {
1222
- const u = {};
1223
- return _.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;
1224
- }), R = d(() => {
1225
- const u = {};
1226
- if (e.openOnHover && (u.onMouseenter = () => {
1227
- i = !0, w();
1228
- }, u.onMouseleave = () => {
1229
- i = !1, P();
1230
- }), c.value && (u.onFocusin = () => {
1231
- l = !0, w();
1232
- }, u.onFocusout = () => {
1233
- l = !1, P();
1234
- }), e.closeOnContentClick) {
1235
- const O = le(mo, null);
1236
- u.onClick = () => {
1237
- n.value = !1, O?.closeParents();
1238
- };
1239
- }
1240
- return u;
1241
- }), A = d(() => {
1242
- const u = {};
1243
- return e.openOnHover && (u.onMouseenter = () => {
1244
- f && (i = !0, f = !1, w());
1245
- }, u.onMouseleave = () => {
1246
- i = !1, P();
1247
- }), u;
1248
- });
1249
- I(o, (u) => {
1250
- u && (e.openOnHover && !i && (!c.value || !l) || c.value && !l && (!e.openOnHover || !i)) && !a.value?.contains(document.activeElement) && (n.value = !1);
1251
- }), I(n, (u) => {
1252
- u || setTimeout(() => {
1253
- m.value = void 0;
1254
- });
1255
- }, {
1256
- flush: "post"
1257
- });
1258
- const k = Oe();
1259
- $e(() => {
1260
- k.value && me(() => {
1261
- s.value = k.el;
1262
- });
1263
- });
1264
- 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);
1265
- let S;
1266
- return I(() => !!e.activator, (u) => {
1267
- u && U ? (S = mt(), S.run(() => {
1268
- bo(e, r, {
1269
- activatorEl: s,
1270
- activatorEvents: C
1271
- });
1272
- })) : S && S.stop();
1273
- }, {
1274
- flush: "post",
1275
- immediate: !0
1276
- }), j(() => {
1277
- S?.stop();
1278
- }), {
1279
- activatorEl: s,
1280
- activatorRef: k,
1281
- target: $,
1282
- targetEl: g,
1283
- targetRef: M,
1284
- activatorEvents: C,
1285
- contentEvents: R,
1286
- scrimEvents: A
1287
- };
1288
- }
1289
- function bo(e, t, n) {
1290
- let {
1291
- activatorEl: o,
1292
- activatorEvents: a
1293
- } = n;
1294
- I(() => e.activator, (l, f) => {
1295
- if (f && l !== f) {
1296
- const c = i(f);
1297
- c && s(c);
1298
- }
1299
- l && me(() => r());
1300
- }, {
1301
- immediate: !0
1302
- }), I(() => e.activatorProps, () => {
1303
- r();
1304
- }), j(() => {
1305
- s();
1306
- });
1307
- function r() {
1308
- let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : i(), f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
1309
- l && On(l, X(a.value, f));
1310
- }
1311
- function s() {
1312
- let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : i(), f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
1313
- l && Ln(l, X(a.value, f));
1314
- }
1315
- function i() {
1316
- let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : e.activator;
1317
- const f = Wt(l, t);
1318
- return o.value = f?.nodeType === Node.ELEMENT_NODE ? f : void 0, o.value;
1319
- }
1320
- }
1321
- function Wt(e, t) {
1322
- if (!e) return;
1323
- let n;
1324
- if (e === "parent") {
1325
- let o = t?.proxy?.$el?.parentNode;
1326
- for (; o?.hasAttribute("data-no-activator"); )
1327
- o = o.parentNode;
1328
- n = o;
1329
- } else typeof e == "string" ? n = document.querySelector(e) : "$el" in e ? n = e.$el : n = e;
1330
- return n;
1331
- }
1332
- function So() {
1333
- if (!U) return Z(!1);
1334
- const {
1335
- ssr: e
1336
- } = on();
1337
- if (e) {
1338
- const t = Z(!1);
1339
- return ct(() => {
1340
- t.value = !0;
1341
- }), t;
1342
- } else
1343
- return Z(!0);
1344
- }
1345
- const Eo = B({
1346
- eager: Boolean
1347
- }, "lazy");
1348
- function wo(e, t) {
1349
- const n = Z(!1), o = d(() => n.value || e.eager || t.value);
1350
- I(t, () => n.value = !0);
1351
- function a() {
1352
- e.eager || (n.value = !1);
1353
- }
1354
- return {
1355
- isBooted: n,
1356
- hasContent: o,
1357
- onAfterLeave: a
1358
- };
1359
- }
1360
- function ko() {
1361
- const t = G("useScopeId").vnode.scopeId;
1362
- return {
1363
- scopeId: t ? {
1364
- [t]: ""
1365
- } : void 0
1366
- };
1367
- }
1368
- const at = Symbol.for("vuetify:stack"), re = K([]);
1369
- function xo(e, t, n) {
1370
- const o = G("useStack"), a = !n, r = le(at, void 0), s = K({
1371
- activeChildren: /* @__PURE__ */ new Set()
1372
- });
1373
- Te(at, s);
1374
- const i = Z(Number(t.value));
1375
- Ie(e, () => {
1376
- const c = re.at(-1)?.[1];
1377
- i.value = c ? c + 10 : Number(t.value), a && re.push([o.uid, i.value]), r?.activeChildren.add(o.uid), j(() => {
1378
- if (a) {
1379
- const _ = an(re).findIndex((w) => w[0] === o.uid);
1380
- re.splice(_, 1);
1381
- }
1382
- r?.activeChildren.delete(o.uid);
1383
- });
1384
- });
1385
- const l = Z(!0);
1386
- a && $e(() => {
1387
- const c = re.at(-1)?.[0] === o.uid;
1388
- setTimeout(() => l.value = c);
1389
- });
1390
- const f = d(() => !s.activeChildren.size);
1391
- return {
1392
- globalTop: ut(l),
1393
- localTop: f,
1394
- stackStyles: d(() => ({
1395
- zIndex: i.value
1396
- }))
1397
- };
1398
- }
1399
- function Co(e) {
1400
- return {
1401
- teleportTarget: d(() => {
1402
- const n = e();
1403
- if (n === !0 || !U) return;
1404
- const o = n === !1 ? document.body : typeof n == "string" ? document.querySelector(n) : n;
1405
- if (o == null)
1406
- return;
1407
- let a = [...o.children].find((r) => r.matches(".v-overlay-container"));
1408
- return a || (a = document.createElement("div"), a.className = "v-overlay-container", o.appendChild(a)), a;
1409
- })
1410
- };
1411
- }
1412
- function Oo() {
1413
- return !0;
1414
- }
1415
- function Ft(e, t, n) {
1416
- if (!e || zt(e, n) === !1) return !1;
1417
- const o = Et(t);
1418
- if (typeof ShadowRoot < "u" && o instanceof ShadowRoot && o.host === e.target) return !1;
1419
- const a = (typeof n.value == "object" && n.value.include || (() => []))();
1420
- return a.push(t), !a.some((r) => r?.contains(e.target));
1421
- }
1422
- function zt(e, t) {
1423
- return (typeof t.value == "object" && t.value.closeConditional || Oo)(e);
1424
- }
1425
- function Lo(e, t, n) {
1426
- const o = typeof n.value == "function" ? n.value : n.value.handler;
1427
- e.shadowTarget = e.target, t._clickOutside.lastMousedownWasOutside && Ft(e, t, n) && setTimeout(() => {
1428
- zt(e, n) && o && o(e);
1429
- }, 0);
1430
- }
1431
- function rt(e, t) {
1432
- const n = Et(e);
1433
- t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n);
1434
- }
1435
- const Po = {
1436
- // [data-app] may not be found
1437
- // if using bind, inserted makes
1438
- // sure that the root element is
1439
- // available, iOS does not support
1440
- // clicks on body
1441
- mounted(e, t) {
1442
- const n = (a) => Lo(a, e, t), o = (a) => {
1443
- e._clickOutside.lastMousedownWasOutside = Ft(a, e, t);
1444
- };
1445
- rt(e, (a) => {
1446
- a.addEventListener("click", n, !0), a.addEventListener("mousedown", o, !0);
1447
- }), e._clickOutside || (e._clickOutside = {
1448
- lastMousedownWasOutside: !1
1449
- }), e._clickOutside[t.instance.$.uid] = {
1450
- onClick: n,
1451
- onMousedown: o
1452
- };
1453
- },
1454
- beforeUnmount(e, t) {
1455
- e._clickOutside && (rt(e, (n) => {
1456
- if (!n || !e._clickOutside?.[t.instance.$.uid]) return;
1457
- const {
1458
- onClick: o,
1459
- onMousedown: a
1460
- } = e._clickOutside[t.instance.$.uid];
1461
- n.removeEventListener("click", o, !0), n.removeEventListener("mousedown", a, !0);
1462
- }), delete e._clickOutside[t.instance.$.uid]);
1463
- }
1464
- };
1465
- function Ao(e) {
1466
- const {
1467
- modelValue: t,
1468
- color: n,
1469
- ...o
1470
- } = e;
1471
- return V(vt, {
1472
- name: "fade-transition",
1473
- appear: !0
1474
- }, {
1475
- default: () => [e.modelValue && V("div", X({
1476
- class: ["v-overlay__scrim", e.color.backgroundColorClasses.value],
1477
- style: e.color.backgroundColorStyles.value
1478
- }, o), null)]
1479
- });
1480
- }
1481
- const _o = B({
1482
- absolute: Boolean,
1483
- attach: [Boolean, String, Object],
1484
- closeOnBack: {
1485
- type: Boolean,
1486
- default: !0
1487
- },
1488
- contained: Boolean,
1489
- contentClass: null,
1490
- contentProps: null,
1491
- disabled: Boolean,
1492
- opacity: [Number, String],
1493
- noClickAnimation: Boolean,
1494
- modelValue: Boolean,
1495
- persistent: Boolean,
1496
- scrim: {
1497
- type: [Boolean, String],
1498
- default: !0
1499
- },
1500
- zIndex: {
1501
- type: [Number, String],
1502
- default: 2e3
1503
- },
1504
- ...ho(),
1505
- ...he(),
1506
- ...Mn(),
1507
- ...Eo(),
1508
- ...no(),
1509
- ...lo(),
1510
- ...ht(),
1511
- ...Hn()
1512
- }, "VOverlay"), Ro = ye()({
1513
- name: "VOverlay",
1514
- directives: {
1515
- ClickOutside: Po
1516
- },
1517
- inheritAttrs: !1,
1518
- props: {
1519
- _disableGlobalStack: Boolean,
1520
- ..._o()
1521
- },
1522
- emits: {
1523
- "click:outside": (e) => !0,
1524
- "update:modelValue": (e) => !0,
1525
- keydown: (e) => !0,
1526
- afterEnter: () => !0,
1527
- afterLeave: () => !0
1528
- },
1529
- setup(e, t) {
1530
- let {
1531
- slots: n,
1532
- attrs: o,
1533
- emit: a
1534
- } = t;
1535
- const r = G("VOverlay"), s = H(), i = H(), l = H(), f = rn(e, "modelValue"), c = d({
1536
- get: () => f.value,
1537
- set: (b) => {
1538
- b && e.disabled || (f.value = b);
1539
- }
1540
- }), {
1541
- themeClasses: _
1542
- } = yt(e), {
1543
- rtlClasses: w,
1544
- isRtl: P
1545
- } = gt(), {
1546
- hasContent: m,
1547
- onAfterLeave: v
1548
- } = wo(e, c), C = $n(d(() => typeof e.scrim == "string" ? e.scrim : null)), {
1549
- globalTop: R,
1550
- localTop: A,
1551
- stackStyles: k
1552
- } = xo(c, Le(e, "zIndex"), e._disableGlobalStack), {
1553
- activatorEl: M,
1554
- activatorRef: $,
1555
- target: g,
1556
- targetEl: S,
1557
- targetRef: u,
1558
- activatorEvents: O,
1559
- contentEvents: x,
1560
- scrimEvents: E
1561
- } = po(e, {
1562
- isActive: c,
1563
- isTop: A,
1564
- contentEl: l
1565
- }), {
1566
- teleportTarget: h
1567
- } = Co(() => {
1568
- const b = e.attach || e.contained;
1569
- if (b) return b;
1570
- const N = M?.value?.getRootNode() || r.proxy?.$el?.getRootNode();
1571
- return N instanceof ShadowRoot ? N : !1;
1572
- }), {
1573
- dimensionStyles: y
1574
- } = Vn(e), p = So(), {
1575
- scopeId: W
1576
- } = ko();
1577
- I(() => e.disabled, (b) => {
1578
- b && (c.value = !1);
1579
- });
1580
- const {
1581
- contentStyles: z,
1582
- updateLocation: D
1583
- } = oo(e, {
1584
- isRtl: P,
1585
- contentEl: l,
1586
- target: g,
1587
- isActive: c
1588
- });
1589
- uo(e, {
1590
- root: s,
1591
- contentEl: l,
1592
- targetEl: S,
1593
- isActive: c,
1594
- updateLocation: D
1595
- });
1596
- function T(b) {
1597
- a("click:outside", b), e.persistent ? ne() : c.value = !1;
1598
- }
1599
- function F(b) {
1600
- return c.value && R.value && // If using scrim, only close if clicking on it rather than anything opened on top
1601
- (!e.scrim || b.target === i.value || b instanceof MouseEvent && b.shadowTarget === i.value);
1602
- }
1603
- U && I(c, (b) => {
1604
- b ? window.addEventListener("keydown", Y) : window.removeEventListener("keydown", Y);
1605
- }, {
1606
- immediate: !0
1607
- }), Re(() => {
1608
- U && window.removeEventListener("keydown", Y);
1609
- });
1610
- function Y(b) {
1611
- 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()));
1612
- }
1613
- function q(b) {
1614
- b.key === "Escape" && !R.value || a("keydown", b);
1615
- }
1616
- const J = Fn();
1617
- Ie(() => e.closeOnBack, () => {
1618
- zn(J, (b) => {
1619
- R.value && c.value ? (b(!1), e.persistent ? ne() : c.value = !1) : b();
1620
- });
1621
- });
1622
- const te = H();
1623
- I(() => c.value && (e.absolute || e.contained) && h.value == null, (b) => {
1624
- if (b) {
1625
- const N = An(s.value);
1626
- N && N !== document.scrollingElement && (te.value = N.scrollTop);
1627
- }
1628
- });
1629
- function ne() {
1630
- e.noClickAnimation || l.value && Cn(l.value, [{
1631
- transformOrigin: "center"
1632
- }, {
1633
- transform: "scale(1.03)"
1634
- }, {
1635
- transformOrigin: "center"
1636
- }], {
1637
- duration: 150,
1638
- easing: Pn
1639
- });
1640
- }
1641
- function ae() {
1642
- a("afterEnter");
1643
- }
1644
- function pe() {
1645
- v(), a("afterLeave");
1646
- }
1647
- return wt(() => V(pt, null, [n.activator?.({
1648
- isActive: c.value,
1649
- targetRef: u,
1650
- props: X({
1651
- ref: $
1652
- }, O.value, e.activatorProps)
1653
- }), p.value && m.value && V(sn, {
1654
- disabled: !h.value,
1655
- to: h.value
1656
- }, {
1657
- default: () => [V("div", X({
1658
- class: ["v-overlay", {
1659
- "v-overlay--absolute": e.absolute || e.contained,
1660
- "v-overlay--active": c.value,
1661
- "v-overlay--contained": e.contained
1662
- }, _.value, w.value, e.class],
1663
- style: [k.value, {
1664
- "--v-overlay-opacity": e.opacity,
1665
- top: L(te.value)
1666
- }, e.style],
1667
- ref: s,
1668
- onKeydown: q
1669
- }, W, o), [V(Ao, X({
1670
- color: C,
1671
- modelValue: c.value && !!e.scrim,
1672
- ref: i
1673
- }, E.value), null), V(jn, {
1674
- appear: !0,
1675
- persisted: !0,
1676
- transition: e.transition,
1677
- target: g.value,
1678
- onAfterEnter: ae,
1679
- onAfterLeave: pe
1680
- }, {
1681
- default: () => [ln(V("div", X({
1682
- ref: l,
1683
- class: ["v-overlay__content", e.contentClass],
1684
- style: [y.value, z.value]
1685
- }, x.value, e.contentProps), [n.default?.({
1686
- isActive: c
1687
- })]), [[un, c.value], [cn("click-outside"), {
1688
- handler: T,
1689
- closeConditional: F,
1690
- include: () => [M.value]
1691
- }]])]
1692
- })])]
1693
- })])), {
1694
- activatorEl: M,
1695
- scrimEl: i,
1696
- target: g,
1697
- animateClick: ne,
1698
- contentEl: l,
1699
- globalTop: R,
1700
- localTop: A,
1701
- updateLocation: D
1702
- };
1703
- }
1704
- }), To = { class: "text-h5 font-weight-bold text-primary text-center" }, No = { class: "text-body-2 font-weight-bold text-center" }, Bo = /* @__PURE__ */ Me({
1705
- __name: "BErrorOverlay",
1706
- props: {
1707
- marginTop: { default: 64 },
1708
- minHeight: { default: "300px" },
1709
- zIndex: { default: 50 }
1710
- },
1711
- setup(e) {
1712
- return (t, n) => (Q(), ce("div", {
1713
- class: "d-block",
1714
- style: Ke([{ width: "100%" }, {
1715
- "min-height": t.minHeight
1716
- }])
1717
- }, [
1718
- V(Ro, {
1719
- "model-value": !0,
1720
- "z-index": t.zIndex,
1721
- absolute: "",
1722
- class: "overlay d-block",
1723
- scrim: "white",
1724
- opacity: "0.8",
1725
- contained: ""
1726
- }, {
1727
- default: oe(() => [
1728
- V(eo, {
1729
- class: "mx-3",
1730
- justify: "center",
1731
- style: Ke({ "margin-top": t.marginTop + "px" })
1732
- }, {
1733
- default: oe(() => [
1734
- V(Gn, {
1735
- cols: "12",
1736
- style: {
1737
- "max-width": "500px"
1738
- }
1739
- }, {
1740
- default: oe(() => [
1741
- se("div", To, [
1742
- ie(t.$slots, "title", {}, void 0, !0)
1743
- ]),
1744
- se("p", No, [
1745
- ie(t.$slots, "description", {}, void 0, !0)
1746
- ])
1747
- ]),
1748
- _: 3
1749
- })
1750
- ]),
1751
- _: 3
1752
- }, 8, ["style"])
1753
- ]),
1754
- _: 3
1755
- }, 8, ["z-index"])
1756
- ], 4));
1757
- }
1758
- }), Io = /* @__PURE__ */ We(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__ */ We($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 = Ue("BErrorOverlay"), i = Ue("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__ */ We(Ht, [["render", jo]]);
2043
- jt("css/revolugo.webcomponentwrapper.cFJPP6Rp.css");
2044
- export {
2045
- Zo as A,
2046
- Io as B,
2047
- Po as C,
2048
- Jo as D,
2049
- de as E,
2050
- Yo as F,
2051
- Uo as G,
2052
- Ko as H,
2053
- kn as I,
2054
- xn as J,
2055
- Ct as K,
2056
- Ge as L,
2057
- jn as M,
2058
- eo as V,
2059
- Qo as W,
2060
- We as _,
2061
- Gn as a,
2062
- $n as b,
2063
- Fo as c,
2064
- Xo as d,
2065
- xt as e,
2066
- Fn as f,
2067
- ko as g,
2068
- qo as h,
2069
- Go 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
- Ye as t,
2081
- wt as u,
2082
- Eo as v,
2083
- Tn as w,
2084
- An as x,
2085
- _o as y,
2086
- mo as z
2087
- };
2088
- //# sourceMappingURL=revolugo.webcomponentwrapper.cNxufrbJ.min.js.map