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