@revolugo/elements 6.7.3-rc.2 → 6.8.0-rc.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 (113) hide show
  1. package/dist/index.es.min.js +2619 -2554
  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.BBkYrDrP.min.js} +24 -23
  7. package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.DSJE5n7Z.min.js} +121 -6
  8. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.eoXMEkFJ.min.js +61 -0
  9. package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.DwrYTxiv.min.js} +173 -169
  10. package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.jJmgFO6V.min.js} +169 -241
  11. package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.DgBdyH6X.min.js} +77 -76
  12. package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.DQXXM5CL.min.js} +36 -36
  13. package/dist/revolugo.bookingdetailssidebar.CKrtgLGZ.min.js +24 -0
  14. package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.Dm6EGehl.min.js} +184 -202
  15. package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.ra4Fie13.min.js} +51 -48
  16. package/dist/revolugo.bpricesummaryskeleton.qpy47Wsi.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.DD4SRw7w.min.js} +28 -27
  18. package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.WMRlt8-8.min.js} +70 -69
  19. package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BWHDapkN.min.js} +51 -70
  20. package/dist/revolugo.cancellationpoliciesbadge.C6zxRPaZ.min.js +24 -0
  21. package/dist/revolugo.cancellationpolicieslist.B-nwKXUj.min.js +24 -0
  22. package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.CHhCIAQS.min.js} +28 -47
  23. package/dist/revolugo.case-transformers.CEdbnlE-.min.js +123 -0
  24. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  25. package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.698oFnsf.min.js} +652 -903
  26. package/dist/revolugo.creditcardform.CpSNG8oP.min.js +24 -0
  27. package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.6u4OCU4A.min.js} +138 -154
  28. package/dist/revolugo.creditcardpayment.BLosL1aA.min.js +24 -0
  29. package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.BXsQGdbF.min.js} +19 -18
  30. package/dist/revolugo.currencypickerbtn.D-42MaaK.min.js +163 -0
  31. package/dist/revolugo.currencypickerbtn.NVqcx7mQ.min.js +24 -0
  32. package/dist/revolugo.dialog-attach.BuUfn9u6.min.js +28 -0
  33. package/dist/revolugo.dialog-transition.2P5jpnv2.min.js +114 -0
  34. package/dist/revolugo.fastbookingflow.CFE4HRID.min.js +34 -0
  35. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
  36. package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.DbPlQAXx.min.js} +77 -75
  37. package/dist/revolugo.hoteldescriptionview.DyHypnsO.min.js +24 -0
  38. package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.FAMKFv9n.min.js} +363 -379
  39. package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.BXdHFzt5.min.js} +9 -9
  40. package/dist/revolugo.hotelofferlist.BsjYGZdX.min.js +24 -0
  41. package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.D-sHFvFQ.min.js} +1005 -1053
  42. package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.oZhVIBxs.min.js} +7 -7
  43. package/dist/revolugo.hoteloffersearchmenu.Cun9amyl.min.js +46 -0
  44. package/dist/revolugo.hoteloffersmap.BP4Jp5xL.min.js +24 -0
  45. package/dist/revolugo.hoteloffersmap.CVTv2jVD.min.js +8394 -0
  46. package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.B5nONm_1.min.js} +161 -176
  47. package/dist/revolugo.hoteloffersview.DacCdu_b.min.js +19 -0
  48. package/dist/revolugo.hotelroomofferlist.DVGmJT59.min.js +24 -0
  49. package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.DmOEadSF.min.js} +468 -485
  50. package/dist/revolugo.hotelroomofferrequestcreator.props.lNEhbaT9.min.js +171 -0
  51. package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.KaGNZgT2.min.js} +40 -39
  52. package/dist/revolugo.hotelroomoffersearchmenu.CCwlZB2o.min.js +25 -0
  53. package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.DOJt4B9y.min.js} +29 -49
  54. package/dist/revolugo.hotelroomoffersview.BkR60ueU.min.js +24 -0
  55. package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.DHjinkWP.min.js} +71 -91
  56. package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.B7z0g8al.min.js} +6 -6
  57. package/dist/revolugo.index.s-onPvC0.min.js +1037 -0
  58. package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.CsrQl9B8.min.js} +12812 -13151
  59. package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.BiuzuhH0.min.js} +15 -15
  60. package/dist/revolugo.langpickerbtn.DagJBVfO.min.js +24 -0
  61. package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.cw-Pilxv.min.js} +53 -71
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.DLEaIEKi.min.js} +45 -44
  64. package/dist/revolugo.prebookform.CqX9sVfX.min.js +24 -0
  65. package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.YQbaVaOP.min.js} +94 -114
  66. package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.5YqKPUFg.min.js} +82 -101
  67. package/dist/revolugo.roominglisteditor.CTnsjWFF.min.js +24 -0
  68. package/dist/revolugo.rounded.M5NbwQ-2.min.js +68 -0
  69. package/dist/revolugo.ssrboot.CPwQ4mY-.min.js +18 -0
  70. package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.DU-Au-P6.min.js} +110 -108
  71. package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.B8wFEMtY.min.js} +90 -108
  72. package/dist/revolugo.termsandconditions.DdvsS1Nr.min.js +23 -0
  73. package/dist/revolugo.use-breakpoint-service.CZ9QX96a.min.js +106 -0
  74. package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.6G-7p4XB.min.js} +133 -132
  75. package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.BxaNSjJA.min.js} +33 -32
  76. package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.BPIAO9U5.min.js} +82 -81
  77. package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.BCX-G8mX.min.js} +50 -49
  78. package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.Q30XKYRx.min.js} +72 -71
  79. package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.CMYISGau.min.js} +26 -25
  80. package/dist/revolugo.vdivider.CLbZrEbe.min.js +77 -0
  81. package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.BD89Tllc.min.js} +42 -41
  82. package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Bk5MumIG.min.js} +15 -15
  83. package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.CSdGREv4.min.js} +91 -91
  84. package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.D8YLLgkd.min.js} +5 -5
  85. package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.B_sxyWMf.min.js} +90 -88
  86. package/dist/revolugo.vmenu.B0HL9TEG.min.js +152 -0
  87. package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.DjrnZ68P.min.js} +133 -132
  88. package/dist/revolugo.vsheet.cNM_MdEY.min.js +72 -0
  89. package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.MnCR2qht.min.js} +14 -13
  90. package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.CTGdiOPz.min.js} +46 -44
  91. package/dist/revolugo.vspacer.D6ZThXFV.min.js +7 -0
  92. package/dist/revolugo.vtextarea._NoUVeyJ.min.js +2102 -0
  93. package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.C5IuUTNN.min.js} +109 -107
  94. package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.DkBiOuPH.min.js} +21 -20
  95. package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.CNASNy8U.min.js} +118 -109
  96. package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.DWDP8yX4.min.js} +41 -41
  97. package/dist/revolugo.watch-list.DFagwB6N.min.js +16 -0
  98. package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.CyN0tjOk.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/revolugo.vtextarea.DQrxw1ua.min.js +0 -2093
  110. /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
  111. /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
  112. /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
  113. /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,16 +1,18 @@
1
- import { _ as he, j as R, ap as G, G as W, r as b, J as z, aR as ge, aS as ve, K, c as o, w as r, aT as J, aG as I, ao as y, C as Q, Q as j, v as k, k as ye, aU as F, l as Ee, s as C, O as be, n as X, M as Se } from "./revolugo.rounded.u4maswiM.min.js";
2
- import { B as Z } from "./revolugo.btag.0ugEj-2W.min.js";
3
- import { w as ke, V as B } from "./revolugo.index.Ds7GPsGI.min.js";
4
- import { t as Ce } from "./revolugo.index.BX4WZjgg.min.js";
5
- import { _, q as O, r as ee, W as we } from "./revolugo.webcomponentwrapper.CfhsVy34.min.js";
6
- import { a as te, V as ie, b as ae } from "./revolugo.vcard.D7M0YovD.min.js";
7
- import { V as N, B as Ve } from "./revolugo.bdaterangepicker.Ba26rd5I.min.js";
8
- import { V as ne } from "./revolugo.vform.1YZ7pPUG.min.js";
9
- import { V as D } from "./revolugo.vtextfield.DPMmhQ6a.min.js";
10
- import { V as oe } from "./revolugo.vspacer.B9TRu3hb.min.js";
11
- import { V as S } from "./revolugo.vbtn.D3Vm2ZlS.min.js";
12
- import { V as re } from "./revolugo.vdialog.B3aAN6LZ.min.js";
13
- import { p as Ae, g as Me, s as q } from "./revolugo.dialog-transition.DyO6FFbo.min.js";
1
+ import { a5 as he, d as R, u as W, C as b, D as z, b$ as ge, c0 as ve, i as M, a as o, w as r, aq as G, B as I, f as y, y as J, F, o as S, K as ye, k as j, L as Ee, r as C, t as be, c as X, e as ke } from "./revolugo.index.wc.CsrQl9B8.min.js";
2
+ import { B as Z } from "./revolugo.btag.WMRlt8-8.min.js";
3
+ import { d as Q } from "./revolugo.dialog-attach.BuUfn9u6.min.js";
4
+ import { w as Se } from "./revolugo.watch-list.DFagwB6N.min.js";
5
+ import { t as Ce } from "./revolugo.index.B7z0g8al.min.js";
6
+ import { _, V as O, a as ee, W as we } from "./revolugo.webcomponentwrapper.CyN0tjOk.min.js";
7
+ import { V as te, a as ie, b as ae } from "./revolugo.vcard.BCX-G8mX.min.js";
8
+ import { V as $, B as Ve } from "./revolugo.bdaterangepicker.DSJE5n7Z.min.js";
9
+ import { V as ne } from "./revolugo.vform.Bk5MumIG.min.js";
10
+ import { V as T } from "./revolugo.vtextfield.C5IuUTNN.min.js";
11
+ import { V as oe } from "./revolugo.vspacer.D6ZThXFV.min.js";
12
+ import { a as k } from "./revolugo.vbtn.BPIAO9U5.min.js";
13
+ import { V as B } from "./revolugo.index.s-onPvC0.min.js";
14
+ import { V as re } from "./revolugo.vdialog.CMYISGau.min.js";
15
+ import { p as Ae, g as Le, s as q } from "./revolugo.use-breakpoint-service.CZ9QX96a.min.js";
14
16
  function pe(e) {
15
17
  try {
16
18
  if (typeof document < "u") {
@@ -31,7 +33,7 @@ function pe(e) {
31
33
  console.error("[revolugo-elements] ", t);
32
34
  }
33
35
  }
34
- var M = {};
36
+ var L = {};
35
37
  /*!
36
38
  * cookie
37
39
  * Copyright(c) 2012-2014 Roman Shtylman
@@ -39,33 +41,33 @@ var M = {};
39
41
  * MIT Licensed
40
42
  */
41
43
  var x;
42
- function Ke() {
43
- if (x) return M;
44
- x = 1, M.parse = u, M.serialize = E;
45
- var e = Object.prototype.toString, t = Object.prototype.hasOwnProperty, a = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/, i = /^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/, f = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, p = /^[\u0020-\u003A\u003D-\u007E]*$/;
44
+ function Me() {
45
+ if (x) return L;
46
+ x = 1, L.parse = u, L.serialize = E;
47
+ var e = Object.prototype.toString, t = Object.prototype.hasOwnProperty, a = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/, i = /^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/, c = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, p = /^[\u0020-\u003A\u003D-\u007E]*$/;
46
48
  function u(s, m) {
47
49
  if (typeof s != "string")
48
50
  throw new TypeError("argument str must be a string");
49
51
  var n = {}, h = s.length;
50
52
  if (h < 2) return n;
51
- var w = m && m.decode || ue, c = 0, v = 0, g = 0;
53
+ var w = m && m.decode || ue, f = 0, v = 0, g = 0;
52
54
  do {
53
- if (v = s.indexOf("=", c), v === -1) break;
54
- if (g = s.indexOf(";", c), g === -1)
55
+ if (v = s.indexOf("=", f), v === -1) break;
56
+ if (g = s.indexOf(";", f), g === -1)
55
57
  g = h;
56
58
  else if (v > g) {
57
- c = s.lastIndexOf(";", v - 1) + 1;
59
+ f = s.lastIndexOf(";", v - 1) + 1;
58
60
  continue;
59
61
  }
60
- var V = d(s, c, v), P = l(s, v, V), $ = s.slice(V, P);
61
- if (!t.call(n, $)) {
62
+ var V = d(s, f, v), P = l(s, v, V), N = s.slice(V, P);
63
+ if (!t.call(n, N)) {
62
64
  var A = d(s, v + 1, g), U = l(s, g, A);
63
65
  s.charCodeAt(A) === 34 && s.charCodeAt(U - 1) === 34 && (A++, U--);
64
66
  var me = s.slice(A, U);
65
- n[$] = fe(me, w);
67
+ n[N] = ce(me, w);
66
68
  }
67
- c = g + 1;
68
- } while (c < h);
69
+ f = g + 1;
70
+ } while (f < h);
69
71
  return n;
70
72
  }
71
73
  function d(s, m, n) {
@@ -91,41 +93,41 @@ function Ke() {
91
93
  var w = h(m);
92
94
  if (!i.test(w))
93
95
  throw new TypeError("argument val is invalid");
94
- var c = s + "=" + w;
95
- if (!n) return c;
96
+ var f = s + "=" + w;
97
+ if (!n) return f;
96
98
  if (n.maxAge != null) {
97
99
  var v = Math.floor(n.maxAge);
98
100
  if (!isFinite(v))
99
101
  throw new TypeError("option maxAge is invalid");
100
- c += "; Max-Age=" + v;
102
+ f += "; Max-Age=" + v;
101
103
  }
102
104
  if (n.domain) {
103
- if (!f.test(n.domain))
105
+ if (!c.test(n.domain))
104
106
  throw new TypeError("option domain is invalid");
105
- c += "; Domain=" + n.domain;
107
+ f += "; Domain=" + n.domain;
106
108
  }
107
109
  if (n.path) {
108
110
  if (!p.test(n.path))
109
111
  throw new TypeError("option path is invalid");
110
- c += "; Path=" + n.path;
112
+ f += "; Path=" + n.path;
111
113
  }
112
114
  if (n.expires) {
113
115
  var g = n.expires;
114
- if (!ce(g) || isNaN(g.valueOf()))
116
+ if (!fe(g) || isNaN(g.valueOf()))
115
117
  throw new TypeError("option expires is invalid");
116
- c += "; Expires=" + g.toUTCString();
118
+ f += "; Expires=" + g.toUTCString();
117
119
  }
118
- if (n.httpOnly && (c += "; HttpOnly"), n.secure && (c += "; Secure"), n.partitioned && (c += "; Partitioned"), n.priority) {
120
+ if (n.httpOnly && (f += "; HttpOnly"), n.secure && (f += "; Secure"), n.partitioned && (f += "; Partitioned"), n.priority) {
119
121
  var V = typeof n.priority == "string" ? n.priority.toLowerCase() : n.priority;
120
122
  switch (V) {
121
123
  case "low":
122
- c += "; Priority=Low";
124
+ f += "; Priority=Low";
123
125
  break;
124
126
  case "medium":
125
- c += "; Priority=Medium";
127
+ f += "; Priority=Medium";
126
128
  break;
127
129
  case "high":
128
- c += "; Priority=High";
130
+ f += "; Priority=High";
129
131
  break;
130
132
  default:
131
133
  throw new TypeError("option priority is invalid");
@@ -135,47 +137,47 @@ function Ke() {
135
137
  var P = typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite;
136
138
  switch (P) {
137
139
  case !0:
138
- c += "; SameSite=Strict";
140
+ f += "; SameSite=Strict";
139
141
  break;
140
142
  case "lax":
141
- c += "; SameSite=Lax";
143
+ f += "; SameSite=Lax";
142
144
  break;
143
145
  case "strict":
144
- c += "; SameSite=Strict";
146
+ f += "; SameSite=Strict";
145
147
  break;
146
148
  case "none":
147
- c += "; SameSite=None";
149
+ f += "; SameSite=None";
148
150
  break;
149
151
  default:
150
152
  throw new TypeError("option sameSite is invalid");
151
153
  }
152
154
  }
153
- return c;
155
+ return f;
154
156
  }
155
157
  function ue(s) {
156
158
  return s.indexOf("%") !== -1 ? decodeURIComponent(s) : s;
157
159
  }
158
- function ce(s) {
160
+ function fe(s) {
159
161
  return e.call(s) === "[object Date]";
160
162
  }
161
- function fe(s, m) {
163
+ function ce(s, m) {
162
164
  try {
163
165
  return m(s);
164
166
  } catch {
165
167
  return s;
166
168
  }
167
169
  }
168
- return M;
170
+ return L;
169
171
  }
170
- var L = Ke();
171
- function Le() {
172
+ var K = Me();
173
+ function Ke() {
172
174
  const e = typeof global > "u" ? void 0 : global.TEST_HAS_DOCUMENT_COOKIE;
173
175
  return typeof e == "boolean" ? e : typeof document == "object" && typeof document.cookie == "string";
174
176
  }
175
177
  function Oe(e) {
176
- return typeof e == "string" ? L.parse(e) : typeof e == "object" && e !== null ? e : {};
178
+ return typeof e == "string" ? K.parse(e) : typeof e == "object" && e !== null ? e : {};
177
179
  }
178
- function T(e, t = {}) {
180
+ function D(e, t = {}) {
179
181
  const a = Re(e);
180
182
  if (!t.doNotParse)
181
183
  try {
@@ -192,11 +194,11 @@ class _e {
192
194
  this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.update = () => {
193
195
  if (!this.HAS_DOCUMENT_COOKIE)
194
196
  return;
195
- const f = this.cookies;
196
- this.cookies = L.parse(document.cookie), this._checkChanges(f);
197
+ const c = this.cookies;
198
+ this.cookies = K.parse(document.cookie), this._checkChanges(c);
197
199
  };
198
200
  const i = typeof document > "u" ? "" : document.cookie;
199
- this.cookies = Oe(t || i), this.defaultSetOptions = a, this.HAS_DOCUMENT_COOKIE = Le();
201
+ this.cookies = Oe(t || i), this.defaultSetOptions = a, this.HAS_DOCUMENT_COOKIE = Ke();
200
202
  }
201
203
  _emitChange(t) {
202
204
  for (let a = 0; a < this.changeListeners.length; ++a)
@@ -206,7 +208,7 @@ class _e {
206
208
  new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach((i) => {
207
209
  t[i] !== this.cookies[i] && this._emitChange({
208
210
  name: i,
209
- value: T(this.cookies[i])
211
+ value: D(this.cookies[i])
210
212
  });
211
213
  });
212
214
  }
@@ -217,23 +219,23 @@ class _e {
217
219
  this.pollingInterval && clearInterval(this.pollingInterval);
218
220
  }
219
221
  get(t, a = {}) {
220
- return a.doNotUpdate || this.update(), T(this.cookies[t], a);
222
+ return a.doNotUpdate || this.update(), D(this.cookies[t], a);
221
223
  }
222
224
  getAll(t = {}) {
223
225
  t.doNotUpdate || this.update();
224
226
  const a = {};
225
227
  for (let i in this.cookies)
226
- a[i] = T(this.cookies[i], t);
228
+ a[i] = D(this.cookies[i], t);
227
229
  return a;
228
230
  }
229
231
  set(t, a, i) {
230
232
  i ? i = Object.assign(Object.assign({}, this.defaultSetOptions), i) : i = this.defaultSetOptions;
231
- const f = typeof a == "string" ? a : JSON.stringify(a);
232
- this.cookies = Object.assign(Object.assign({}, this.cookies), { [t]: f }), this.HAS_DOCUMENT_COOKIE && (document.cookie = L.serialize(t, f, i)), this._emitChange({ name: t, value: a, options: i });
233
+ const c = typeof a == "string" ? a : JSON.stringify(a);
234
+ this.cookies = Object.assign(Object.assign({}, this.cookies), { [t]: c }), this.HAS_DOCUMENT_COOKIE && (document.cookie = K.serialize(t, c, i)), this._emitChange({ name: t, value: a, options: i });
233
235
  }
234
236
  remove(t, a) {
235
237
  const i = a = Object.assign(Object.assign(Object.assign({}, this.defaultSetOptions), a), { expires: new Date(1970, 1, 1, 0, 0, 1), maxAge: 0 });
236
- this.cookies = Object.assign({}, this.cookies), delete this.cookies[t], this.HAS_DOCUMENT_COOKIE && (document.cookie = L.serialize(t, "", i)), this._emitChange({ name: t, value: void 0, options: a });
238
+ this.cookies = Object.assign({}, this.cookies), delete this.cookies[t], this.HAS_DOCUMENT_COOKIE && (document.cookie = K.serialize(t, "", i)), this._emitChange({ name: t, value: void 0, options: a });
237
239
  }
238
240
  addChangeListener(t) {
239
241
  this.changeListeners.push(t), this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 1 && (typeof window == "object" && "cookieStore" in window ? window.cookieStore.addEventListener("change", this.update) : this._startPolling());
@@ -244,12 +246,12 @@ class _e {
244
246
  }
245
247
  }
246
248
  function se(e, { doNotParse: t = !1, autoUpdateDependencies: a = !1 } = {}, i = new _e()) {
247
- const f = a ? [...e || []] : e;
249
+ const c = a ? [...e || []] : e;
248
250
  let p = i.getAll({ doNotParse: !0 });
249
251
  const u = he(0), d = () => {
250
252
  const l = i.getAll({ doNotParse: !0 });
251
253
  Pe(
252
- f || null,
254
+ c || null,
253
255
  l,
254
256
  p
255
257
  ) && u.value++, p = l;
@@ -260,7 +262,7 @@ function se(e, { doNotParse: t = !1, autoUpdateDependencies: a = !1 } = {}, i =
260
262
  /**
261
263
  * Reactive get cookie by name. If **autoUpdateDependencies = true** then it will update watching dependencies
262
264
  */
263
- get: (...l) => (a && f && !f.includes(l[0]) && f.push(l[0]), u.value, i.get(l[0], { doNotParse: t, ...l[1] })),
265
+ get: (...l) => (a && c && !c.includes(l[0]) && c.push(l[0]), u.value, i.get(l[0], { doNotParse: t, ...l[1] })),
264
266
  /**
265
267
  * Reactive get all cookies
266
268
  */
@@ -329,24 +331,24 @@ const le = R({
329
331
  }
330
332
  },
331
333
  mixins: [
332
- ke(["config.apiEnvironment"], "updateApiKey", {
334
+ Se(["config.apiEnvironment"], "updateApiKey", {
333
335
  deep: !0,
334
336
  immediate: !0
335
337
  }),
336
- G
338
+ Q
337
339
  ],
338
340
  name: "ApiKeyEditor",
339
341
  setup() {
340
342
  const e = se(["apiKey"]), { t } = W(), a = b(e.get("apiKey")), i = z(
341
343
  () => window.RevolugoElements.config.apiEnvironment
342
- ), f = z(() => [
344
+ ), c = z(() => [
343
345
  (l) => !!l || `A valid API Key is required. ${t("ApiKeyEditor.hint", {
344
346
  environment: i.value
345
347
  })}`
346
348
  ]), p = b(!1), u = b(!1), d = b(!1);
347
349
  return {
348
350
  apiKey: a,
349
- apiKeyRules: f,
351
+ apiKeyRules: c,
350
352
  cookies: e,
351
353
  dialog: p,
352
354
  isFormValid: u,
@@ -406,8 +408,8 @@ function H(e) {
406
408
  }
407
409
  });
408
410
  }
409
- function Ue(e, t, a, i, f, p) {
410
- return k(), K("div", null, [
411
+ function Ue(e, t, a, i, c, p) {
412
+ return S(), M("div", null, [
411
413
  o(re, {
412
414
  modelValue: e.dialog,
413
415
  "onUpdate:modelValue": t[2] || (t[2] = (u) => e.dialog = u),
@@ -415,13 +417,13 @@ function Ue(e, t, a, i, f, p) {
415
417
  "max-width": "600px"
416
418
  }, {
417
419
  activator: r(({ props: u }) => [
418
- o(S, Q(u, {
420
+ o(k, J(u, {
419
421
  color: e.cookies.get("apiKey") ? "success" : "warning",
420
422
  elevation: "0",
421
423
  size: "x-small"
422
424
  }), {
423
425
  default: r(() => [
424
- e.cookies.get("apiKey") ? (k(), K(j, { key: 1 }, [
426
+ e.cookies.get("apiKey") ? (S(), M(F, { key: 1 }, [
425
427
  o(B, { class: "mr-2" }, {
426
428
  default: r(() => t[5] || (t[5] = [
427
429
  y(" fas fa-check ")
@@ -430,7 +432,7 @@ function Ue(e, t, a, i, f, p) {
430
432
  __: [5]
431
433
  }),
432
434
  t[6] || (t[6] = y(" Valid API key "))
433
- ], 64)) : (k(), K(j, { key: 0 }, [
435
+ ], 64)) : (S(), M(F, { key: 0 }, [
434
436
  o(B, { class: "mr-2" }, {
435
437
  default: r(() => t[3] || (t[3] = [
436
438
  y(" fas fa-exclamation ")
@@ -449,7 +451,7 @@ function Ue(e, t, a, i, f, p) {
449
451
  default: r(() => [
450
452
  o(ie, { class: "pa-4" }, {
451
453
  default: r(() => [
452
- o(N, { class: "pa-0" }, {
454
+ o($, { class: "pa-0" }, {
453
455
  default: r(() => [
454
456
  o(O, { "no-gutters": "" }, {
455
457
  default: r(() => [
@@ -460,10 +462,10 @@ function Ue(e, t, a, i, f, p) {
460
462
  modelValue: e.isFormValid,
461
463
  "onUpdate:modelValue": t[1] || (t[1] = (u) => e.isFormValid = u),
462
464
  class: "m-0",
463
- onSubmit: J(e.onSubmit, ["prevent"])
465
+ onSubmit: G(e.onSubmit, ["prevent"])
464
466
  }, {
465
467
  default: r(() => [
466
- o(D, {
468
+ o(T, {
467
469
  modelValue: e.apiKey,
468
470
  "onUpdate:modelValue": t[0] || (t[0] = (u) => e.apiKey = u),
469
471
  density: "compact",
@@ -495,7 +497,7 @@ function Ue(e, t, a, i, f, p) {
495
497
  o(ae, null, {
496
498
  default: r(() => [
497
499
  o(oe),
498
- o(S, {
500
+ o(k, {
499
501
  color: "blue-darken-1",
500
502
  size: "small",
501
503
  variant: "text",
@@ -507,7 +509,7 @@ function Ue(e, t, a, i, f, p) {
507
509
  _: 1,
508
510
  __: [7]
509
511
  }, 8, ["onClick"]),
510
- o(S, {
512
+ o(k, {
511
513
  class: "text-right",
512
514
  color: "primary",
513
515
  disabled: e.isLoading,
@@ -534,7 +536,7 @@ function Ue(e, t, a, i, f, p) {
534
536
  ]);
535
537
  }
536
538
  typeof H == "function" && H(le);
537
- const Te = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
539
+ const De = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
538
540
  components: {
539
541
  BDateRangePicker: Ve,
540
542
  BTag: Z
@@ -552,7 +554,7 @@ const Te = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
552
554
  [this.eventMetadata.dateStart, this.eventMetadata.dateEnd] = q(...e);
553
555
  }
554
556
  },
555
- isFetching: Me("hotelOfferRequest/isFetching")
557
+ isFetching: Le("hotelOfferRequest/isFetching")
556
558
  },
557
559
  created() {
558
560
  this.cookies.get("eventMetadata") && this.updateConfig({
@@ -584,16 +586,16 @@ const Te = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
584
586
  }), this.cookies.set("eventMetadata", JSON.stringify(this.eventMetadata)), this.closeDialog());
585
587
  }
586
588
  },
587
- mixins: [G, Ae()],
589
+ mixins: [Q, Ae()],
588
590
  name: "EventMetadataEditor",
589
591
  setup() {
590
592
  const e = se(["eventMetadata"]), t = b(""), a = b(
591
593
  e.get("eventMetadata") || {
592
- dateEnd: F().add(1, "day").format("YYYY-MM-DD").toString(),
593
- dateStart: F().format("YYYY-MM-DD").toString(),
594
+ dateEnd: j().add(1, "day").format("YYYY-MM-DD").toString(),
595
+ dateStart: j().format("YYYY-MM-DD").toString(),
594
596
  name: ""
595
597
  }
596
- ), { t: i } = W(), f = [
598
+ ), { t: i } = W(), c = [
597
599
  (E) => {
598
600
  if (!E)
599
601
  return !0;
@@ -613,7 +615,7 @@ const Te = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
613
615
  cookies: e,
614
616
  dialog: u,
615
617
  eventMetadata: a,
616
- imageURLRules: f,
618
+ imageURLRules: c,
617
619
  isFormValid: d,
618
620
  isLoading: l,
619
621
  name: t,
@@ -686,9 +688,9 @@ function Y(e) {
686
688
  }
687
689
  });
688
690
  }
689
- function Ie(e, t, a, i, f, p) {
691
+ function Ie(e, t, a, i, c, p) {
690
692
  const u = C("BDateRangePicker");
691
- return k(), K("div", null, [
693
+ return S(), M("div", null, [
692
694
  o(re, {
693
695
  modelValue: e.dialog,
694
696
  "onUpdate:modelValue": t[4] || (t[4] = (d) => e.dialog = d),
@@ -697,7 +699,7 @@ function Ie(e, t, a, i, f, p) {
697
699
  "max-width": "600px"
698
700
  }, {
699
701
  activator: r(({ props: d }) => [
700
- o(S, Q(d, {
702
+ o(k, J(d, {
701
703
  color: e.cookies.get("eventMetadata") ? "success" : "warning",
702
704
  elevation: "0",
703
705
  size: "x-small"
@@ -716,7 +718,7 @@ function Ie(e, t, a, i, f, p) {
716
718
  default: r(() => [
717
719
  o(ie, { class: "pa-4" }, {
718
720
  default: r(() => [
719
- o(N, { class: "pa-0" }, {
721
+ o($, { class: "pa-0" }, {
720
722
  default: r(() => [
721
723
  o(O, { "no-gutters": "" }, {
722
724
  default: r(() => [
@@ -727,10 +729,10 @@ function Ie(e, t, a, i, f, p) {
727
729
  modelValue: e.isFormValid,
728
730
  "onUpdate:modelValue": t[3] || (t[3] = (d) => e.isFormValid = d),
729
731
  class: "m-0",
730
- onSubmit: J(e.onSubmit, ["prevent"])
732
+ onSubmit: G(e.onSubmit, ["prevent"])
731
733
  }, {
732
734
  default: r(() => [
733
- o(D, {
735
+ o(T, {
734
736
  modelValue: e.eventMetadata.name,
735
737
  "onUpdate:modelValue": t[0] || (t[0] = (d) => e.eventMetadata.name = d),
736
738
  density: "compact",
@@ -741,7 +743,7 @@ function Ie(e, t, a, i, f, p) {
741
743
  rules: e.nameRules,
742
744
  onKeyup: I(e.onSubmit, ["enter"])
743
745
  }, null, 8, ["modelValue", "rules", "onKeyup"]),
744
- o(D, {
746
+ o(T, {
745
747
  modelValue: e.eventMetadata.imageURL,
746
748
  "onUpdate:modelValue": t[1] || (t[1] = (d) => e.eventMetadata.imageURL = d),
747
749
  density: "compact",
@@ -778,7 +780,7 @@ function Ie(e, t, a, i, f, p) {
778
780
  o(ae, null, {
779
781
  default: r(() => [
780
782
  o(oe),
781
- o(S, {
783
+ o(k, {
782
784
  color: "blue-darken-1",
783
785
  size: "small",
784
786
  variant: "text",
@@ -790,7 +792,7 @@ function Ie(e, t, a, i, f, p) {
790
792
  _: 1,
791
793
  __: [5]
792
794
  }, 8, ["onClick"]),
793
- o(S, {
795
+ o(k, {
794
796
  color: "error",
795
797
  disabled: e.isFetching,
796
798
  loading: e.isFetching,
@@ -804,7 +806,7 @@ function Ie(e, t, a, i, f, p) {
804
806
  _: 1,
805
807
  __: [6]
806
808
  }, 8, ["disabled", "loading", "onClick"]),
807
- o(S, {
809
+ o(k, {
808
810
  color: "primary",
809
811
  disabled: e.isFetching,
810
812
  loading: e.isFetching,
@@ -829,24 +831,24 @@ function Ie(e, t, a, i, f, p) {
829
831
  ]);
830
832
  }
831
833
  typeof Y == "function" && Y(de);
832
- const De = /* @__PURE__ */ _(de, [["render", Ie]]), Ne = R({
834
+ const Te = /* @__PURE__ */ _(de, [["render", Ie]]), $e = R({
833
835
  components: {
834
- ApiKeyEditor: Te,
835
- EventMetadataEditor: De
836
+ ApiKeyEditor: De,
837
+ EventMetadataEditor: Te
836
838
  },
837
839
  name: "StorybookExtraToolbar"
838
840
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
839
- }), $e = { class: "flex gap-1 px-3" };
840
- function ze(e, t, a, i, f, p) {
841
+ }), Ne = { class: "flex gap-1 px-3" };
842
+ function ze(e, t, a, i, c, p) {
841
843
  const u = C("ApiKeyEditor"), d = C("EventMetadataEditor");
842
- return k(), X(N, {
844
+ return S(), X($, {
843
845
  class: "pa-0 mb-3",
844
846
  fluid: ""
845
847
  }, {
846
848
  default: r(() => [
847
849
  o(O, { "no-gutters": "" }, {
848
850
  default: r(() => [
849
- Se("div", $e, [
851
+ ke("div", Ne, [
850
852
  o(u),
851
853
  o(d)
852
854
  ])
@@ -857,24 +859,24 @@ function ze(e, t, a, i, f, p) {
857
859
  _: 1
858
860
  });
859
861
  }
860
- const je = /* @__PURE__ */ _(Ne, [["render", ze]]), Fe = R({
862
+ const Fe = /* @__PURE__ */ _($e, [["render", ze]]), je = R({
861
863
  components: {
862
- StorybookExtraToolbar: je,
864
+ StorybookExtraToolbar: Fe,
863
865
  WebComponentWrapper: we
864
866
  }
865
867
  });
866
- function Be(e, t, a, i, f, p) {
868
+ function Be(e, t, a, i, c, p) {
867
869
  const u = C("StorybookExtraToolbar"), d = C("WebComponentWrapper");
868
- return k(), X(d, { "error-overlay-disabled": "" }, {
870
+ return S(), X(d, { "error-overlay-disabled": "" }, {
869
871
  default: r(() => [
870
872
  o(u)
871
873
  ]),
872
874
  _: 1
873
875
  });
874
876
  }
875
- const at = /* @__PURE__ */ _(Fe, [["render", Be]]);
877
+ const ot = /* @__PURE__ */ _(je, [["render", Be]]);
876
878
  pe("css/revolugo.storybooktoolbar.d_cxquq9.css");
877
879
  export {
878
- at as default
880
+ ot as default
879
881
  };
880
- //# sourceMappingURL=revolugo.storybooktoolbar.CFuRMVxX.min.js.map
882
+ //# sourceMappingURL=revolugo.storybooktoolbar.DU-Au-P6.min.js.map