@revolugo/elements 6.7.2 → 6.7.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.
Files changed (112) hide show
  1. package/dist/index.es.min.js +2618 -2553
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +6 -6
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/revolugo._basefor.CodrYJxd.min.js +15 -0
  6. package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.ES8H8TdX.min.js} +24 -23
  7. package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.FofU3mwm.min.js} +121 -6
  8. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.Er0BOzhm.min.js +61 -0
  9. package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.o301OMGn.min.js} +173 -169
  10. package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.V_1vhP4H.min.js} +169 -241
  11. package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.B9IrrAQm.min.js} +77 -76
  12. package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.BbOESSh5.min.js} +36 -36
  13. package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.DJCyHj6W.min.js} +184 -202
  14. package/dist/revolugo.bookingdetailssidebar.YExbkGzc.min.js +24 -0
  15. package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.dEjhzT2A.min.js} +51 -48
  16. package/dist/revolugo.bpricesummaryskeleton.t8bYETzP.min.js +79 -0
  17. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CmgO29ZN.min.js} +28 -27
  18. package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.HV2MY7n9.min.js} +70 -69
  19. package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BlxYDvQM.min.js} +51 -70
  20. package/dist/revolugo.cancellationpoliciesbadge.FhiHeLu9.min.js +24 -0
  21. package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.BMKPdB9z.min.js} +28 -47
  22. package/dist/revolugo.cancellationpolicieslist.C4GBKaw8.min.js +24 -0
  23. package/dist/revolugo.case-transformers.Ddd0DZeI.min.js +123 -0
  24. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  25. package/dist/revolugo.creditcardform.CJnUNQmx.min.js +24 -0
  26. package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.KPRkwSVZ.min.js} +650 -901
  27. package/dist/revolugo.creditcardpayment.DGWBaIYP.min.js +24 -0
  28. package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.gPcfsEC5.min.js} +138 -154
  29. package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.CEQB4l-T.min.js} +19 -18
  30. package/dist/revolugo.currencypickerbtn.D3t6zODt.min.js +24 -0
  31. package/dist/revolugo.currencypickerbtn.drvXcNoD.min.js +163 -0
  32. package/dist/revolugo.dialog-attach.CEqY6W2u.min.js +28 -0
  33. package/dist/revolugo.dialog-transition.DjCJstCa.min.js +114 -0
  34. package/dist/revolugo.fastbookingflow.rfdQQDxx.min.js +34 -0
  35. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
  36. package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.rmAHR_IC.min.js} +77 -75
  37. package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.BU8Q37ZC.min.js} +363 -379
  38. package/dist/revolugo.hoteldescriptionview.Ctcmbxkx.min.js +24 -0
  39. package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.yfMiZs8-.min.js} +9 -9
  40. package/dist/revolugo.hotelofferlist.Dt7FXhVI.min.js +24 -0
  41. package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.Il2LjMCL.min.js} +1005 -1053
  42. package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.BpgknOPE.min.js} +7 -7
  43. package/dist/revolugo.hoteloffersearchmenu.MzJ49afx.min.js +46 -0
  44. package/dist/revolugo.hoteloffersmap.BMFBMh12.min.js +24 -0
  45. package/dist/revolugo.hoteloffersmap.CObm7hoD.min.js +8394 -0
  46. package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.Bpu61_EH.min.js} +161 -176
  47. package/dist/revolugo.hoteloffersview.Cn-wbBGn.min.js +19 -0
  48. package/dist/revolugo.hotelroomofferlist.Cvw5drkG.min.js +24 -0
  49. package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.DyMNPEmJ.min.js} +468 -485
  50. package/dist/revolugo.hotelroomofferrequestcreator.props.UhEzU-Eo.min.js +171 -0
  51. package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.BhZHfo79.min.js} +40 -39
  52. package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.BDYUJlri.min.js} +29 -49
  53. package/dist/revolugo.hotelroomoffersearchmenu.D7QyRteS.min.js +25 -0
  54. package/dist/revolugo.hotelroomoffersview.BpiOqbeg.min.js +24 -0
  55. package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.DI54bcEi.min.js} +71 -91
  56. package/dist/revolugo.index.CHVqFiWo.min.js +1037 -0
  57. package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.DlCArqY2.min.js} +6 -6
  58. package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.U-Ds0Ud7.min.js} +7732 -7859
  59. package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.Bfd4GXeG.min.js} +15 -15
  60. package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.Bx3onVJO.min.js} +53 -71
  61. package/dist/revolugo.langpickerbtn.Dj9aqzUa.min.js +24 -0
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.DG21FbXr.min.js} +45 -44
  64. package/dist/revolugo.prebookform.DZiQ5M3q.min.js +24 -0
  65. package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.hUDmprdU.min.js} +94 -114
  66. package/dist/revolugo.roominglisteditor.CqHUrQ4g.min.js +24 -0
  67. package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.meQaCKaE.min.js} +82 -101
  68. package/dist/revolugo.rounded.CDKzGlV8.min.js +68 -0
  69. package/dist/revolugo.ssrboot.me6E0cRY.min.js +18 -0
  70. package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.CmOqTdGz.min.js} +110 -108
  71. package/dist/revolugo.termsandconditions.CSbVW2DS.min.js +23 -0
  72. package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.CcWZ66ul.min.js} +90 -108
  73. package/dist/revolugo.use-breakpoint-service.DzP23XZi.min.js +106 -0
  74. package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.1eBdqerb.min.js} +133 -132
  75. package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.3HWnFhqm.min.js} +33 -32
  76. package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.D5oMY_p5.min.js} +82 -81
  77. package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.CLsvQwyI.min.js} +50 -49
  78. package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.BkLi1Y04.min.js} +72 -71
  79. package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.8XLsV5dc.min.js} +26 -25
  80. package/dist/revolugo.vdivider.jj-AdUyd.min.js +77 -0
  81. package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.Cc3RP1rh.min.js} +42 -41
  82. package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Db-PE5B0.min.js} +15 -15
  83. package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.86caOzy1.min.js} +91 -91
  84. package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.CVuILaZ8.min.js} +5 -5
  85. package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.Dyah7BiI.min.js} +90 -88
  86. package/dist/revolugo.vmenu.CXAeU_qi.min.js +152 -0
  87. package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.BsnagCGW.min.js} +133 -132
  88. package/dist/revolugo.vsheet.BG1meZTM.min.js +72 -0
  89. package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.BORzy4_m.min.js} +14 -13
  90. package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.CxMxY-0P.min.js} +46 -44
  91. package/dist/revolugo.vspacer.BiUgatwg.min.js +7 -0
  92. package/dist/{revolugo.vtextarea.DQrxw1ua.min.js → revolugo.vtextarea.BkNy6mLm.min.js} +48 -39
  93. package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.DlfEz4JN.min.js} +109 -107
  94. package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.2imDjYnr.min.js} +21 -20
  95. package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.vIYDBJ4s.min.js} +118 -109
  96. package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.CIEwtCBy.min.js} +41 -41
  97. package/dist/revolugo.watch-list.C39H03pK.min.js +16 -0
  98. package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.BzrBNp7K.min.js} +484 -541
  99. package/package.json +5 -5
  100. package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
  101. package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
  102. package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
  103. package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
  104. package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
  105. package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
  106. package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
  107. package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
  108. package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
  109. /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
  110. /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
  111. /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
  112. /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,1127 +0,0 @@
1
- import { j as Ne, p as E, ai as q, J as _, ay as U, c as v, Q as se, ax as H, aw as Ae, aa as ie, a1 as De, t as k, T as j, V as B, cc as We, S as Fe, a3 as Ue, cy as Ge, am as Me, Y as qe, cf as He, a as T, a_ as je, $ as Ye, cg as Xe, c8 as Je, a0 as L, r as ae, b as re, cz as Qe, cA as Ke, cB as Ze, m as oe, I as le, aO as et, cC as K, af as ue, e as ce, _ as V, az as tt, X as nt, D as Z, a9 as st, C as it, f as de, F as at, u as rt, i as ot, cn as fe, ah as me, ad as ve, ae as lt } from "./revolugo.rounded.u4maswiM.min.js";
2
- import { O as ut, e as ct, u as N, c as ge, m as A, b as dt, d as ft, a as mt, f as vt, M as z } from "./revolugo.webcomponentwrapper.CfhsVy34.min.js";
3
- function ke(e) {
4
- try {
5
- if (typeof document < "u") {
6
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
7
- sheets: [],
8
- components: []
9
- };
10
- const n = import.meta.url, t = n.slice(0, n.lastIndexOf("/") + 1) + e;
11
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
12
- for (const s of REVOLUGO_ELEMENTS_STYLES.components)
13
- s(t);
14
- if (e.indexOf("fonts") >= 0) {
15
- const s = document.createElement("link");
16
- s.rel = "stylesheet", linK.href = t, document.head.appendChild(s);
17
- }
18
- }
19
- } catch (n) {
20
- console.error("[revolugo-elements] ", n);
21
- }
22
- }
23
- function gt(e) {
24
- return function(n, t, s) {
25
- for (var a = -1, i = Object(n), r = s(n), o = r.length; o--; ) {
26
- var c = r[++a];
27
- if (t(i[c], c, i) === !1)
28
- break;
29
- }
30
- return n;
31
- };
32
- }
33
- var Mt = gt();
34
- const qt = (e, n, t) => Ne({
35
- watch: e.reduce((s, a) => (s[a] = {
36
- deep: t == null ? void 0 : t.deep,
37
- handler(...i) {
38
- t != null && t.nextTick ? this.$nextTick(() => {
39
- this[n](...i);
40
- }) : this[n](...i);
41
- },
42
- immediate: t == null ? void 0 : t.immediate
43
- }, s), {})
44
- }), ht = [null, "default", "comfortable", "compact"], pt = E({
45
- density: {
46
- type: String,
47
- default: "default",
48
- validator: (e) => ht.includes(e)
49
- }
50
- }, "density");
51
- function yt(e) {
52
- let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : q();
53
- return {
54
- densityClasses: _(() => `${n}--density-${e.density}`)
55
- };
56
- }
57
- const _t = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
58
- function St(e, n) {
59
- return v(se, null, [e && v("span", {
60
- key: "overlay",
61
- class: `${n}__overlay`
62
- }, null), v("span", {
63
- key: "underlay",
64
- class: `${n}__underlay`
65
- }, null)]);
66
- }
67
- const bt = E({
68
- color: String,
69
- variant: {
70
- type: String,
71
- default: "elevated",
72
- validator: (e) => _t.includes(e)
73
- }
74
- }, "variant");
75
- function wt(e) {
76
- let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : q();
77
- const t = _(() => {
78
- const {
79
- variant: i
80
- } = U(e);
81
- return `${n}--variant-${i}`;
82
- }), {
83
- colorClasses: s,
84
- colorStyles: a
85
- } = ut(_(() => {
86
- const {
87
- variant: i,
88
- color: r
89
- } = U(e);
90
- return {
91
- [["elevated", "flat"].includes(i) ? "background" : "text"]: r
92
- };
93
- }));
94
- return {
95
- colorClasses: s,
96
- colorStyles: a,
97
- variantClasses: t
98
- };
99
- }
100
- const Ht = E({
101
- modelValue: {
102
- type: null,
103
- default: void 0
104
- },
105
- multiple: Boolean,
106
- mandatory: [Boolean, String],
107
- max: Number,
108
- selectedClass: String,
109
- disabled: Boolean
110
- }, "group"), jt = E({
111
- value: null,
112
- disabled: Boolean,
113
- selectedClass: String
114
- }, "group-item");
115
- function Yt(e, n) {
116
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
117
- const s = H("useGroupItem");
118
- if (!s)
119
- throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");
120
- const a = Ae();
121
- ie(Symbol.for(`${n.description}:id`), a);
122
- const i = De(n, null);
123
- if (!i) {
124
- if (!t) return i;
125
- throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${n.description}`);
126
- }
127
- const r = k(e, "value"), o = _(() => !!(i.disabled.value || e.disabled));
128
- i.register({
129
- id: a,
130
- value: r,
131
- disabled: o
132
- }, s), j(() => {
133
- i.unregister(a);
134
- });
135
- const c = _(() => i.isSelected(a)), f = _(() => i.items.value[0].id === a), d = _(() => i.items.value[i.items.value.length - 1].id === a), m = _(() => c.value && [i.selectedClass.value, e.selectedClass]);
136
- return B(c, (l) => {
137
- s.emit("group:selected", {
138
- value: l
139
- });
140
- }, {
141
- flush: "sync"
142
- }), {
143
- id: a,
144
- isSelected: c,
145
- isFirst: f,
146
- isLast: d,
147
- toggle: () => i.select(a, !c.value),
148
- select: (l) => i.select(a, l),
149
- selectedClass: m,
150
- value: r,
151
- disabled: o,
152
- group: i
153
- };
154
- }
155
- function Xt(e, n) {
156
- let t = !1;
157
- const s = We([]), a = Fe(e, "modelValue", [], (l) => l == null ? [] : he(s, qe(l)), (l) => {
158
- const u = Et(s, l);
159
- return e.multiple ? u : u[0];
160
- }), i = H("useGroup");
161
- function r(l, u) {
162
- const g = l, p = Symbol.for(`${n.description}:id`), C = He(p, i == null ? void 0 : i.vnode).indexOf(u);
163
- U(g.value) == null && (g.value = C, g.useIndexAsValue = !0), C > -1 ? s.splice(C, 0, g) : s.push(g);
164
- }
165
- function o(l) {
166
- if (t) return;
167
- c();
168
- const u = s.findIndex((g) => g.id === l);
169
- s.splice(u, 1);
170
- }
171
- function c() {
172
- const l = s.find((u) => !u.disabled);
173
- l && e.mandatory === "force" && !a.value.length && (a.value = [l.id]);
174
- }
175
- Ue(() => {
176
- c();
177
- }), j(() => {
178
- t = !0;
179
- }), Ge(() => {
180
- for (let l = 0; l < s.length; l++)
181
- s[l].useIndexAsValue && (s[l].value = l);
182
- });
183
- function f(l, u) {
184
- const g = s.find((p) => p.id === l);
185
- if (!(u && (g != null && g.disabled)))
186
- if (e.multiple) {
187
- const p = a.value.slice(), w = p.findIndex(($) => $ === l), C = ~w;
188
- if (u = u ?? !C, C && e.mandatory && p.length <= 1 || !C && e.max != null && p.length + 1 > e.max) return;
189
- w < 0 && u ? p.push(l) : w >= 0 && !u && p.splice(w, 1), a.value = p;
190
- } else {
191
- const p = a.value.includes(l);
192
- if (e.mandatory && p) return;
193
- a.value = u ?? !p ? [l] : [];
194
- }
195
- }
196
- function d(l) {
197
- if (e.multiple, a.value.length) {
198
- const u = a.value[0], g = s.findIndex((C) => C.id === u);
199
- let p = (g + l) % s.length, w = s[p];
200
- for (; w.disabled && p !== g; )
201
- p = (p + l) % s.length, w = s[p];
202
- if (w.disabled) return;
203
- a.value = [s[p].id];
204
- } else {
205
- const u = s.find((g) => !g.disabled);
206
- u && (a.value = [u.id]);
207
- }
208
- }
209
- const m = {
210
- register: r,
211
- unregister: o,
212
- selected: a,
213
- select: f,
214
- disabled: k(e, "disabled"),
215
- prev: () => d(s.length - 1),
216
- next: () => d(1),
217
- isSelected: (l) => a.value.includes(l),
218
- selectedClass: _(() => e.selectedClass),
219
- items: _(() => s),
220
- getItemIndex: (l) => Ct(s, l)
221
- };
222
- return ie(n, m), m;
223
- }
224
- function Ct(e, n) {
225
- const t = he(e, [n]);
226
- return t.length ? e.findIndex((s) => s.id === t[0]) : -1;
227
- }
228
- function he(e, n) {
229
- const t = [];
230
- return n.forEach((s) => {
231
- const a = e.find((r) => Me(s, r.value)), i = e[s];
232
- (a == null ? void 0 : a.value) != null ? t.push(a.id) : i != null && t.push(i.id);
233
- }), t;
234
- }
235
- function Et(e, n) {
236
- const t = [];
237
- return n.forEach((s) => {
238
- const a = e.findIndex((i) => i.id === s);
239
- if (~a) {
240
- const i = e[a];
241
- t.push(i.value != null ? i.value : a);
242
- }
243
- }), t;
244
- }
245
- const xt = E({
246
- defaults: Object,
247
- disabled: Boolean,
248
- reset: [Number, String],
249
- root: [Boolean, String],
250
- scoped: Boolean
251
- }, "VDefaultsProvider"), Tt = T(!1)({
252
- name: "VDefaultsProvider",
253
- props: xt(),
254
- setup(e, n) {
255
- let {
256
- slots: t
257
- } = n;
258
- const {
259
- defaults: s,
260
- disabled: a,
261
- reset: i,
262
- root: r,
263
- scoped: o
264
- } = je(e);
265
- return Ye(s, {
266
- reset: i,
267
- root: r,
268
- scoped: o,
269
- disabled: a
270
- }), () => {
271
- var c;
272
- return (c = t.default) == null ? void 0 : c.call(t);
273
- };
274
- }
275
- }), Lt = ["x-small", "small", "default", "large", "x-large"], pe = E({
276
- size: {
277
- type: [String, Number],
278
- default: "default"
279
- }
280
- }, "size");
281
- function ye(e) {
282
- let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : q();
283
- return Xe(() => {
284
- let t, s;
285
- return Je(Lt, e.size) ? t = `${n}--size-${e.size}` : e.size && (s = {
286
- width: L(e.size),
287
- height: L(e.size)
288
- }), {
289
- sizeClasses: t,
290
- sizeStyles: s
291
- };
292
- });
293
- }
294
- const It = E({
295
- color: String,
296
- disabled: Boolean,
297
- start: Boolean,
298
- end: Boolean,
299
- icon: le,
300
- ...A(),
301
- ...pe(),
302
- ...ge({
303
- tag: "i"
304
- }),
305
- ...oe()
306
- }, "VIcon"), Vt = T()({
307
- name: "VIcon",
308
- props: It(),
309
- setup(e, n) {
310
- let {
311
- attrs: t,
312
- slots: s
313
- } = n;
314
- const a = ae(), {
315
- themeClasses: i
316
- } = re(e), {
317
- iconData: r
318
- } = Qe(_(() => a.value || e.icon)), {
319
- sizeClasses: o
320
- } = ye(e), {
321
- textColorClasses: c,
322
- textColorStyles: f
323
- } = ct(k(e, "color"));
324
- return N(() => {
325
- var l, u;
326
- const d = (l = s.default) == null ? void 0 : l.call(s);
327
- d && (a.value = (u = Ke(d).filter((g) => g.type === Ze && g.children && typeof g.children == "string")[0]) == null ? void 0 : u.children);
328
- const m = !!(t.onClick || t.onClickOnce);
329
- return v(r.value.component, {
330
- tag: e.tag,
331
- icon: r.value.icon,
332
- class: ["v-icon", "notranslate", i.value, o.value, c.value, {
333
- "v-icon--clickable": m,
334
- "v-icon--disabled": e.disabled,
335
- "v-icon--start": e.start,
336
- "v-icon--end": e.end
337
- }, e.class],
338
- style: [o.value ? void 0 : {
339
- fontSize: L(e.size),
340
- height: L(e.size),
341
- width: L(e.size)
342
- }, f.value, e.style],
343
- role: m ? "button" : void 0,
344
- "aria-hidden": !m,
345
- tabindex: m ? e.disabled ? -1 : 0 : void 0
346
- }, {
347
- default: () => [d]
348
- });
349
- }), {};
350
- }
351
- }), G = Symbol("rippleStop"), Rt = 80;
352
- function ee(e, n) {
353
- e.style.transform = n, e.style.webkitTransform = n;
354
- }
355
- function M(e) {
356
- return e.constructor.name === "TouchEvent";
357
- }
358
- function _e(e) {
359
- return e.constructor.name === "KeyboardEvent";
360
- }
361
- const Pt = function(e, n) {
362
- var m;
363
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = 0, a = 0;
364
- if (!_e(e)) {
365
- const l = n.getBoundingClientRect(), u = M(e) ? e.touches[e.touches.length - 1] : e;
366
- s = u.clientX - l.left, a = u.clientY - l.top;
367
- }
368
- let i = 0, r = 0.3;
369
- (m = n._ripple) != null && m.circle ? (r = 0.15, i = n.clientWidth / 2, i = t.center ? i : i + Math.sqrt((s - i) ** 2 + (a - i) ** 2) / 4) : i = Math.sqrt(n.clientWidth ** 2 + n.clientHeight ** 2) / 2;
370
- const o = `${(n.clientWidth - i * 2) / 2}px`, c = `${(n.clientHeight - i * 2) / 2}px`, f = t.center ? o : `${s - i}px`, d = t.center ? c : `${a - i}px`;
371
- return {
372
- radius: i,
373
- scale: r,
374
- x: f,
375
- y: d,
376
- centerX: o,
377
- centerY: c
378
- };
379
- }, O = {
380
- /* eslint-disable max-statements */
381
- show(e, n) {
382
- var u;
383
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
384
- if (!((u = n == null ? void 0 : n._ripple) != null && u.enabled))
385
- return;
386
- const s = document.createElement("span"), a = document.createElement("span");
387
- s.appendChild(a), s.className = "v-ripple__container", t.class && (s.className += ` ${t.class}`);
388
- const {
389
- radius: i,
390
- scale: r,
391
- x: o,
392
- y: c,
393
- centerX: f,
394
- centerY: d
395
- } = Pt(e, n, t), m = `${i * 2}px`;
396
- a.className = "v-ripple__animation", a.style.width = m, a.style.height = m, n.appendChild(s);
397
- const l = window.getComputedStyle(n);
398
- l && l.position === "static" && (n.style.position = "relative", n.dataset.previousPosition = "static"), a.classList.add("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--visible"), ee(a, `translate(${o}, ${c}) scale3d(${r},${r},${r})`), a.dataset.activated = String(performance.now()), requestAnimationFrame(() => {
399
- requestAnimationFrame(() => {
400
- a.classList.remove("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--in"), ee(a, `translate(${f}, ${d}) scale3d(1,1,1)`);
401
- });
402
- });
403
- },
404
- hide(e) {
405
- var i;
406
- if (!((i = e == null ? void 0 : e._ripple) != null && i.enabled)) return;
407
- const n = e.getElementsByClassName("v-ripple__animation");
408
- if (n.length === 0) return;
409
- const t = n[n.length - 1];
410
- if (t.dataset.isHiding) return;
411
- t.dataset.isHiding = "true";
412
- const s = performance.now() - Number(t.dataset.activated), a = Math.max(250 - s, 0);
413
- setTimeout(() => {
414
- t.classList.remove("v-ripple__animation--in"), t.classList.add("v-ripple__animation--out"), setTimeout(() => {
415
- var o;
416
- e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((o = t.parentNode) == null ? void 0 : o.parentNode) === e && e.removeChild(t.parentNode);
417
- }, 300);
418
- }, a);
419
- }
420
- };
421
- function Se(e) {
422
- return typeof e > "u" || !!e;
423
- }
424
- function R(e) {
425
- const n = {}, t = e.currentTarget;
426
- if (!(!(t != null && t._ripple) || t._ripple.touched || e[G])) {
427
- if (e[G] = !0, M(e))
428
- t._ripple.touched = !0, t._ripple.isTouch = !0;
429
- else if (t._ripple.isTouch) return;
430
- if (n.center = t._ripple.centered || _e(e), t._ripple.class && (n.class = t._ripple.class), M(e)) {
431
- if (t._ripple.showTimerCommit) return;
432
- t._ripple.showTimerCommit = () => {
433
- O.show(e, t, n);
434
- }, t._ripple.showTimer = window.setTimeout(() => {
435
- var s;
436
- (s = t == null ? void 0 : t._ripple) != null && s.showTimerCommit && (t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null);
437
- }, Rt);
438
- } else
439
- O.show(e, t, n);
440
- }
441
- }
442
- function te(e) {
443
- e[G] = !0;
444
- }
445
- function S(e) {
446
- const n = e.currentTarget;
447
- if (n != null && n._ripple) {
448
- if (window.clearTimeout(n._ripple.showTimer), e.type === "touchend" && n._ripple.showTimerCommit) {
449
- n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null, n._ripple.showTimer = window.setTimeout(() => {
450
- S(e);
451
- });
452
- return;
453
- }
454
- window.setTimeout(() => {
455
- n._ripple && (n._ripple.touched = !1);
456
- }), O.hide(n);
457
- }
458
- }
459
- function be(e) {
460
- const n = e.currentTarget;
461
- n != null && n._ripple && (n._ripple.showTimerCommit && (n._ripple.showTimerCommit = null), window.clearTimeout(n._ripple.showTimer));
462
- }
463
- let P = !1;
464
- function we(e) {
465
- !P && (e.keyCode === K.enter || e.keyCode === K.space) && (P = !0, R(e));
466
- }
467
- function Ce(e) {
468
- P = !1, S(e);
469
- }
470
- function Ee(e) {
471
- P && (P = !1, S(e));
472
- }
473
- function xe(e, n, t) {
474
- const {
475
- value: s,
476
- modifiers: a
477
- } = n, i = Se(s);
478
- if (i || O.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = i, e._ripple.centered = a.center, e._ripple.circle = a.circle, et(s) && s.class && (e._ripple.class = s.class), i && !t) {
479
- if (a.stop) {
480
- e.addEventListener("touchstart", te, {
481
- passive: !0
482
- }), e.addEventListener("mousedown", te);
483
- return;
484
- }
485
- e.addEventListener("touchstart", R, {
486
- passive: !0
487
- }), e.addEventListener("touchend", S, {
488
- passive: !0
489
- }), e.addEventListener("touchmove", be, {
490
- passive: !0
491
- }), e.addEventListener("touchcancel", S), e.addEventListener("mousedown", R), e.addEventListener("mouseup", S), e.addEventListener("mouseleave", S), e.addEventListener("keydown", we), e.addEventListener("keyup", Ce), e.addEventListener("blur", Ee), e.addEventListener("dragstart", S, {
492
- passive: !0
493
- });
494
- } else !i && t && Te(e);
495
- }
496
- function Te(e) {
497
- e.removeEventListener("mousedown", R), e.removeEventListener("touchstart", R), e.removeEventListener("touchend", S), e.removeEventListener("touchmove", be), e.removeEventListener("touchcancel", S), e.removeEventListener("mouseup", S), e.removeEventListener("mouseleave", S), e.removeEventListener("keydown", we), e.removeEventListener("keyup", Ce), e.removeEventListener("dragstart", S), e.removeEventListener("blur", Ee);
498
- }
499
- function $t(e, n) {
500
- xe(e, n, !1);
501
- }
502
- function zt(e) {
503
- delete e._ripple, Te(e);
504
- }
505
- function Bt(e, n) {
506
- if (n.value === n.oldValue)
507
- return;
508
- const t = Se(n.oldValue);
509
- xe(e, n, t);
510
- }
511
- const Jt = {
512
- mounted: $t,
513
- unmounted: zt,
514
- updated: Bt
515
- };
516
- function Ot(e) {
517
- return {
518
- aspectStyles: _(() => {
519
- const n = Number(e.aspectRatio);
520
- return n ? {
521
- paddingBottom: String(1 / n * 100) + "%"
522
- } : void 0;
523
- })
524
- };
525
- }
526
- const Le = E({
527
- aspectRatio: [String, Number],
528
- contentClass: null,
529
- inline: Boolean,
530
- ...A(),
531
- ...ft()
532
- }, "VResponsive"), ne = T()({
533
- name: "VResponsive",
534
- props: Le(),
535
- setup(e, n) {
536
- let {
537
- slots: t
538
- } = n;
539
- const {
540
- aspectStyles: s
541
- } = Ot(e), {
542
- dimensionStyles: a
543
- } = dt(e);
544
- return N(() => {
545
- var i;
546
- return v("div", {
547
- class: ["v-responsive", {
548
- "v-responsive--inline": e.inline
549
- }, e.class],
550
- style: [a.value, e.style]
551
- }, [v("div", {
552
- class: "v-responsive__sizer",
553
- style: s.value
554
- }, null), (i = t.additional) == null ? void 0 : i.call(t), t.default && v("div", {
555
- class: ["v-responsive__content", e.contentClass]
556
- }, [t.default()])]);
557
- }), {};
558
- }
559
- });
560
- function kt(e, n) {
561
- if (!ue) return;
562
- const t = n.modifiers || {}, s = n.value, {
563
- handler: a,
564
- options: i
565
- } = typeof s == "object" ? s : {
566
- handler: s,
567
- options: {}
568
- }, r = new IntersectionObserver(function() {
569
- var m;
570
- let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], c = arguments.length > 1 ? arguments[1] : void 0;
571
- const f = (m = e._observe) == null ? void 0 : m[n.instance.$.uid];
572
- if (!f) return;
573
- const d = o.some((l) => l.isIntersecting);
574
- a && (!t.quiet || f.init) && (!t.once || d || f.init) && a(d, o, c), d && t.once ? Ie(e, n) : f.init = !0;
575
- }, i);
576
- e._observe = Object(e._observe), e._observe[n.instance.$.uid] = {
577
- init: !1,
578
- observer: r
579
- }, r.observe(e);
580
- }
581
- function Ie(e, n) {
582
- var s;
583
- const t = (s = e._observe) == null ? void 0 : s[n.instance.$.uid];
584
- t && (t.observer.unobserve(e), delete e._observe[n.instance.$.uid]);
585
- }
586
- const Nt = {
587
- mounted: kt,
588
- unmounted: Ie
589
- }, At = E({
590
- absolute: Boolean,
591
- alt: String,
592
- cover: Boolean,
593
- color: String,
594
- draggable: {
595
- type: [Boolean, String],
596
- default: void 0
597
- },
598
- eager: Boolean,
599
- gradient: String,
600
- lazySrc: String,
601
- options: {
602
- type: Object,
603
- // For more information on types, navigate to:
604
- // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
605
- default: () => ({
606
- root: void 0,
607
- rootMargin: void 0,
608
- threshold: void 0
609
- })
610
- },
611
- sizes: String,
612
- src: {
613
- type: [String, Object],
614
- default: ""
615
- },
616
- crossorigin: String,
617
- referrerpolicy: String,
618
- srcset: String,
619
- position: String,
620
- ...Le(),
621
- ...A(),
622
- ...de(),
623
- ...vt()
624
- }, "VImg"), Dt = T()({
625
- name: "VImg",
626
- directives: {
627
- intersect: Nt
628
- },
629
- props: At(),
630
- emits: {
631
- loadstart: (e) => !0,
632
- load: (e) => !0,
633
- error: (e) => !0
634
- },
635
- setup(e, n) {
636
- let {
637
- emit: t,
638
- slots: s
639
- } = n;
640
- const {
641
- backgroundColorClasses: a,
642
- backgroundColorStyles: i
643
- } = mt(k(e, "color")), {
644
- roundedClasses: r
645
- } = ce(e), o = H("VImg"), c = V(""), f = ae(), d = V(e.eager ? "loading" : "idle"), m = V(), l = V(), u = _(() => e.src && typeof e.src == "object" ? {
646
- src: e.src.src,
647
- srcset: e.srcset || e.src.srcset,
648
- lazySrc: e.lazySrc || e.src.lazySrc,
649
- aspect: Number(e.aspectRatio || e.src.aspect || 0)
650
- } : {
651
- src: e.src,
652
- srcset: e.srcset,
653
- lazySrc: e.lazySrc,
654
- aspect: Number(e.aspectRatio || 0)
655
- }), g = _(() => u.value.aspect || m.value / l.value || 0);
656
- B(() => e.src, () => {
657
- p(d.value !== "idle");
658
- }), B(g, (h, y) => {
659
- !h && y && f.value && I(f.value);
660
- }), tt(() => p());
661
- function p(h) {
662
- if (!(e.eager && h) && !(ue && !h && !e.eager)) {
663
- if (d.value = "loading", u.value.lazySrc) {
664
- const y = new Image();
665
- y.src = u.value.lazySrc, I(y, null);
666
- }
667
- u.value.src && nt(() => {
668
- var y;
669
- t("loadstart", ((y = f.value) == null ? void 0 : y.currentSrc) || u.value.src), setTimeout(() => {
670
- var x;
671
- if (!o.isUnmounted)
672
- if ((x = f.value) != null && x.complete) {
673
- if (f.value.naturalWidth || C(), d.value === "error") return;
674
- g.value || I(f.value, null), d.value === "loading" && w();
675
- } else
676
- g.value || I(f.value), $();
677
- });
678
- });
679
- }
680
- }
681
- function w() {
682
- var h;
683
- o.isUnmounted || ($(), I(f.value), d.value = "loaded", t("load", ((h = f.value) == null ? void 0 : h.currentSrc) || u.value.src));
684
- }
685
- function C() {
686
- var h;
687
- o.isUnmounted || (d.value = "error", t("error", ((h = f.value) == null ? void 0 : h.currentSrc) || u.value.src));
688
- }
689
- function $() {
690
- const h = f.value;
691
- h && (c.value = h.currentSrc || h.src);
692
- }
693
- let D = -1;
694
- j(() => {
695
- clearTimeout(D);
696
- });
697
- function I(h) {
698
- let y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
699
- const x = () => {
700
- if (clearTimeout(D), o.isUnmounted) return;
701
- const {
702
- naturalHeight: J,
703
- naturalWidth: Q
704
- } = h;
705
- J || Q ? (m.value = Q, l.value = J) : !h.complete && d.value === "loading" && y != null ? D = window.setTimeout(x, y) : (h.currentSrc.endsWith(".svg") || h.currentSrc.startsWith("data:image/svg+xml")) && (m.value = 1, l.value = 1);
706
- };
707
- x();
708
- }
709
- const Y = _(() => ({
710
- "v-img__img--cover": e.cover,
711
- "v-img__img--contain": !e.cover
712
- })), Pe = () => {
713
- var x;
714
- if (!u.value.src || d.value === "idle") return null;
715
- const h = v("img", {
716
- class: ["v-img__img", Y.value],
717
- style: {
718
- objectPosition: e.position
719
- },
720
- crossorigin: e.crossorigin,
721
- src: u.value.src,
722
- srcset: u.value.srcset,
723
- alt: e.alt,
724
- referrerpolicy: e.referrerpolicy,
725
- draggable: e.draggable,
726
- sizes: e.sizes,
727
- ref: f,
728
- onLoad: w,
729
- onError: C
730
- }, null), y = (x = s.sources) == null ? void 0 : x.call(s);
731
- return v(z, {
732
- transition: e.transition,
733
- appear: !0
734
- }, {
735
- default: () => [Z(y ? v("picture", {
736
- class: "v-img__picture"
737
- }, [y, h]) : h, [[at, d.value === "loaded"]])]
738
- });
739
- }, $e = () => v(z, {
740
- transition: e.transition
741
- }, {
742
- default: () => [u.value.lazySrc && d.value !== "loaded" && v("img", {
743
- class: ["v-img__img", "v-img__img--preload", Y.value],
744
- style: {
745
- objectPosition: e.position
746
- },
747
- crossorigin: e.crossorigin,
748
- src: u.value.lazySrc,
749
- alt: e.alt,
750
- referrerpolicy: e.referrerpolicy,
751
- draggable: e.draggable
752
- }, null)]
753
- }), ze = () => s.placeholder ? v(z, {
754
- transition: e.transition,
755
- appear: !0
756
- }, {
757
- default: () => [(d.value === "loading" || d.value === "error" && !s.error) && v("div", {
758
- class: "v-img__placeholder"
759
- }, [s.placeholder()])]
760
- }) : null, Be = () => s.error ? v(z, {
761
- transition: e.transition,
762
- appear: !0
763
- }, {
764
- default: () => [d.value === "error" && v("div", {
765
- class: "v-img__error"
766
- }, [s.error()])]
767
- }) : null, Oe = () => e.gradient ? v("div", {
768
- class: "v-img__gradient",
769
- style: {
770
- backgroundImage: `linear-gradient(${e.gradient})`
771
- }
772
- }, null) : null, X = V(!1);
773
- {
774
- const h = B(g, (y) => {
775
- y && (requestAnimationFrame(() => {
776
- requestAnimationFrame(() => {
777
- X.value = !0;
778
- });
779
- }), h());
780
- });
781
- }
782
- return N(() => {
783
- const h = ne.filterProps(e);
784
- return Z(v(ne, it({
785
- class: ["v-img", {
786
- "v-img--absolute": e.absolute,
787
- "v-img--booting": !X.value
788
- }, a.value, r.value, e.class],
789
- style: [{
790
- width: L(e.width === "auto" ? m.value : e.width)
791
- }, i.value, e.style]
792
- }, h, {
793
- aspectRatio: g.value,
794
- "aria-label": e.alt,
795
- role: e.alt ? "img" : void 0
796
- }), {
797
- additional: () => v(se, null, [v(Pe, null, null), v($e, null, null), v(Oe, null, null), v(ze, null, null), v(Be, null, null)]),
798
- default: s.default
799
- }), [[st("intersect"), {
800
- handler: p,
801
- options: e.options
802
- }, null, {
803
- once: !0
804
- }]]);
805
- }), {
806
- currentSrc: c,
807
- image: f,
808
- state: d,
809
- naturalWidth: m,
810
- naturalHeight: l
811
- };
812
- }
813
- }), Wt = E({
814
- start: Boolean,
815
- end: Boolean,
816
- icon: le,
817
- image: String,
818
- text: String,
819
- ...ot(),
820
- ...A(),
821
- ...pt(),
822
- ...de(),
823
- ...pe(),
824
- ...ge(),
825
- ...oe(),
826
- ...bt({
827
- variant: "flat"
828
- })
829
- }, "VAvatar"), Qt = T()({
830
- name: "VAvatar",
831
- props: Wt(),
832
- setup(e, n) {
833
- let {
834
- slots: t
835
- } = n;
836
- const {
837
- themeClasses: s
838
- } = re(e), {
839
- borderClasses: a
840
- } = rt(e), {
841
- colorClasses: i,
842
- colorStyles: r,
843
- variantClasses: o
844
- } = wt(e), {
845
- densityClasses: c
846
- } = yt(e), {
847
- roundedClasses: f
848
- } = ce(e), {
849
- sizeClasses: d,
850
- sizeStyles: m
851
- } = ye(e);
852
- return N(() => v(e.tag, {
853
- class: ["v-avatar", {
854
- "v-avatar--start": e.start,
855
- "v-avatar--end": e.end
856
- }, s.value, a.value, i.value, c.value, f.value, d.value, o.value, e.class],
857
- style: [r.value, m.value, e.style]
858
- }, {
859
- default: () => [t.default ? v(Tt, {
860
- key: "content-defaults",
861
- defaults: {
862
- VImg: {
863
- cover: !0,
864
- src: e.image
865
- },
866
- VIcon: {
867
- icon: e.icon
868
- }
869
- }
870
- }, {
871
- default: () => [t.default()]
872
- }) : e.image ? v(Dt, {
873
- key: "image",
874
- src: e.image,
875
- alt: "",
876
- cover: !0
877
- }, null) : e.icon ? v(Vt, {
878
- key: "icon",
879
- icon: e.icon
880
- }, null) : e.text, St(!1, "v-avatar")]
881
- })), {};
882
- }
883
- }), W = Symbol("Forwarded refs");
884
- function F(e, n) {
885
- let t = e;
886
- for (; t; ) {
887
- const s = Reflect.getOwnPropertyDescriptor(t, n);
888
- if (s) return s;
889
- t = Object.getPrototypeOf(t);
890
- }
891
- }
892
- function Kt(e) {
893
- for (var n = arguments.length, t = new Array(n > 1 ? n - 1 : 0), s = 1; s < n; s++)
894
- t[s - 1] = arguments[s];
895
- return e[W] = t, new Proxy(e, {
896
- get(a, i) {
897
- if (Reflect.has(a, i))
898
- return Reflect.get(a, i);
899
- if (!(typeof i == "symbol" || i.startsWith("$") || i.startsWith("__"))) {
900
- for (const r of t)
901
- if (r.value && Reflect.has(r.value, i)) {
902
- const o = Reflect.get(r.value, i);
903
- return typeof o == "function" ? o.bind(r.value) : o;
904
- }
905
- }
906
- },
907
- has(a, i) {
908
- if (Reflect.has(a, i))
909
- return !0;
910
- if (typeof i == "symbol" || i.startsWith("$") || i.startsWith("__")) return !1;
911
- for (const r of t)
912
- if (r.value && Reflect.has(r.value, i))
913
- return !0;
914
- return !1;
915
- },
916
- set(a, i, r) {
917
- if (Reflect.has(a, i))
918
- return Reflect.set(a, i, r);
919
- if (typeof i == "symbol" || i.startsWith("$") || i.startsWith("__")) return !1;
920
- for (const o of t)
921
- if (o.value && Reflect.has(o.value, i))
922
- return Reflect.set(o.value, i, r);
923
- return !1;
924
- },
925
- getOwnPropertyDescriptor(a, i) {
926
- var o;
927
- const r = Reflect.getOwnPropertyDescriptor(a, i);
928
- if (r) return r;
929
- if (!(typeof i == "symbol" || i.startsWith("$") || i.startsWith("__"))) {
930
- for (const c of t) {
931
- if (!c.value) continue;
932
- const f = F(c.value, i) ?? ("_" in c.value ? F((o = c.value._) == null ? void 0 : o.setupState, i) : void 0);
933
- if (f) return f;
934
- }
935
- for (const c of t) {
936
- const f = c.value && c.value[W];
937
- if (!f) continue;
938
- const d = f.slice();
939
- for (; d.length; ) {
940
- const m = d.shift(), l = F(m.value, i);
941
- if (l) return l;
942
- const u = m.value && m.value[W];
943
- u && d.push(...u);
944
- }
945
- }
946
- }
947
- }
948
- });
949
- }
950
- const Ft = E({
951
- disabled: Boolean,
952
- group: Boolean,
953
- hideOnLeave: Boolean,
954
- leaveAbsolute: Boolean,
955
- mode: String,
956
- origin: String
957
- }, "transition");
958
- function b(e, n, t) {
959
- return T()({
960
- name: e,
961
- props: Ft({
962
- mode: t,
963
- origin: n
964
- }),
965
- setup(s, a) {
966
- let {
967
- slots: i
968
- } = a;
969
- const r = {
970
- onBeforeEnter(o) {
971
- s.origin && (o.style.transformOrigin = s.origin);
972
- },
973
- onLeave(o) {
974
- if (s.leaveAbsolute) {
975
- const {
976
- offsetTop: c,
977
- offsetLeft: f,
978
- offsetWidth: d,
979
- offsetHeight: m
980
- } = o;
981
- o._transitionInitialStyles = {
982
- position: o.style.position,
983
- top: o.style.top,
984
- left: o.style.left,
985
- width: o.style.width,
986
- height: o.style.height
987
- }, o.style.position = "absolute", o.style.top = `${c}px`, o.style.left = `${f}px`, o.style.width = `${d}px`, o.style.height = `${m}px`;
988
- }
989
- s.hideOnLeave && o.style.setProperty("display", "none", "important");
990
- },
991
- onAfterLeave(o) {
992
- if (s.leaveAbsolute && (o != null && o._transitionInitialStyles)) {
993
- const {
994
- position: c,
995
- top: f,
996
- left: d,
997
- width: m,
998
- height: l
999
- } = o._transitionInitialStyles;
1000
- delete o._transitionInitialStyles, o.style.position = c || "", o.style.top = f || "", o.style.left = d || "", o.style.width = m || "", o.style.height = l || "";
1001
- }
1002
- }
1003
- };
1004
- return () => {
1005
- const o = s.group ? fe : me;
1006
- return ve(o, {
1007
- name: s.disabled ? "" : e,
1008
- css: !s.disabled,
1009
- ...s.group ? void 0 : {
1010
- mode: s.mode
1011
- },
1012
- ...s.disabled ? {} : r
1013
- }, i.default);
1014
- };
1015
- }
1016
- });
1017
- }
1018
- function Ve(e, n) {
1019
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
1020
- return T()({
1021
- name: e,
1022
- props: {
1023
- mode: {
1024
- type: String,
1025
- default: t
1026
- },
1027
- disabled: Boolean,
1028
- group: Boolean
1029
- },
1030
- setup(s, a) {
1031
- let {
1032
- slots: i
1033
- } = a;
1034
- const r = s.group ? fe : me;
1035
- return () => ve(r, {
1036
- name: s.disabled ? "" : e,
1037
- css: !s.disabled,
1038
- // mode: props.mode, // TODO: vuejs/vue-next#3104
1039
- ...s.disabled ? {} : n
1040
- }, i.default);
1041
- }
1042
- });
1043
- }
1044
- function Re() {
1045
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
1046
- const t = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", s = lt(`offset-${t}`);
1047
- return {
1048
- onBeforeEnter(r) {
1049
- r._parent = r.parentNode, r._initialStyle = {
1050
- transition: r.style.transition,
1051
- overflow: r.style.overflow,
1052
- [t]: r.style[t]
1053
- };
1054
- },
1055
- onEnter(r) {
1056
- const o = r._initialStyle;
1057
- if (!o) return;
1058
- r.style.setProperty("transition", "none", "important"), r.style.overflow = "hidden";
1059
- const c = `${r[s]}px`;
1060
- r.style[t] = "0", r.offsetHeight, r.style.transition = o.transition, e && r._parent && r._parent.classList.add(e), requestAnimationFrame(() => {
1061
- r.style[t] = c;
1062
- });
1063
- },
1064
- onAfterEnter: i,
1065
- onEnterCancelled: i,
1066
- onLeave(r) {
1067
- r._initialStyle = {
1068
- transition: "",
1069
- overflow: r.style.overflow,
1070
- [t]: r.style[t]
1071
- }, r.style.overflow = "hidden", r.style[t] = `${r[s]}px`, r.offsetHeight, requestAnimationFrame(() => r.style[t] = "0");
1072
- },
1073
- onAfterLeave: a,
1074
- onLeaveCancelled: a
1075
- };
1076
- function a(r) {
1077
- e && r._parent && r._parent.classList.remove(e), i(r);
1078
- }
1079
- function i(r) {
1080
- if (!r._initialStyle) return;
1081
- const o = r._initialStyle[t];
1082
- r.style.overflow = r._initialStyle.overflow, o != null && (r.style[t] = o), delete r._initialStyle;
1083
- }
1084
- }
1085
- b("fab-transition", "center center", "out-in");
1086
- b("dialog-bottom-transition");
1087
- b("dialog-top-transition");
1088
- const Zt = b("fade-transition"), en = b("scale-transition");
1089
- b("scroll-x-transition");
1090
- b("scroll-x-reverse-transition");
1091
- b("scroll-y-transition");
1092
- b("scroll-y-reverse-transition");
1093
- b("slide-x-transition");
1094
- b("slide-x-reverse-transition");
1095
- const tn = b("slide-y-transition");
1096
- b("slide-y-reverse-transition");
1097
- const nn = Ve("expand-transition", Re()), sn = Ve("expand-x-transition", Re("", !0));
1098
- ke("css/revolugo.index.DQ3Yd6SO.css");
1099
- export {
1100
- Nt as I,
1101
- Jt as R,
1102
- Vt as V,
1103
- Qt as a,
1104
- Tt as b,
1105
- Dt as c,
1106
- nn as d,
1107
- Yt as e,
1108
- Kt as f,
1109
- St as g,
1110
- jt as h,
1111
- Xt as i,
1112
- Ht as j,
1113
- pt as k,
1114
- yt as l,
1115
- bt as m,
1116
- ye as n,
1117
- pe as o,
1118
- sn as p,
1119
- tn as q,
1120
- Zt as r,
1121
- At as s,
1122
- en as t,
1123
- wt as u,
1124
- Mt as v,
1125
- qt as w
1126
- };
1127
- //# sourceMappingURL=revolugo.index.Ds7GPsGI.min.js.map