@revolugo/elements 6.8.2 → 6.8.3-beta.1

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 (198) hide show
  1. package/README.md +1 -1
  2. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +1 -0
  3. package/dist/css/revolugo.bhoteloffersfilterbar.CekxoJmW.css +1 -0
  4. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +1 -0
  5. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
  6. package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
  7. package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.T7X_iIkW.css} +1 -1
  8. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
  9. package/dist/css/{revolugo.hoteldescriptionview.DWuzEuGF.css → revolugo.hoteldescriptionview.Dfi-84To.css} +1 -1
  10. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
  11. package/dist/css/{revolugo.hoteloffersmap.2oSkomDb.css → revolugo.hoteloffersmap.Cp2vN-VQ.css} +1 -1
  12. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +1 -0
  13. package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +1 -0
  14. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  15. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
  16. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
  17. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  18. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  19. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  20. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  21. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  22. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  23. package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
  24. package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
  25. package/dist/css/{revolugo.vtextarea.HYL6WUNS.css → revolugo.vtextarea.Dxy6uSvm.css} +1 -1
  26. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  27. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +2 -2
  28. package/dist/index.es.min.js +2081 -2223
  29. package/dist/index.es.min.js.map +1 -1
  30. package/dist/index.min.js +6 -6
  31. package/dist/index.min.js.map +1 -1
  32. package/dist/revolugo._baseiteratee.Dil0w9e0.min.js +247 -0
  33. package/dist/{revolugo.banktransferdetails.BdulCgI5.min.js → revolugo.banktransferdetails.DiwVMsA1.min.js} +9 -9
  34. package/dist/revolugo.bdaterangepicker.DDEGZVT0.min.js +8324 -0
  35. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CPnoXVaZ.min.js +143 -0
  36. package/dist/revolugo.bhoteloffersfilterbar.B_hcAZxX.min.js +4896 -0
  37. package/dist/{revolugo.bhotelroomsdetails.orWBBD_o.min.js → revolugo.bhotelroomsdetails.DDHY2lbs.min.js} +359 -407
  38. package/dist/revolugo.bimagecarousel.DpROkQNr.min.js +566 -0
  39. package/dist/{revolugo.bookingdetailssidebar.CD4SMOkC.min.js → revolugo.bookingdetailssidebar.5S5oPc1U.min.js} +4 -4
  40. package/dist/{revolugo.bookingdetailssidebar.JOU68R1_.min.js → revolugo.bookingdetailssidebar.l8IDCkox.min.js} +207 -221
  41. package/dist/{revolugo.bookingmanager.B5cM9Mi5.min.js → revolugo.bookingmanager.-BQEM4EN.min.js} +426 -460
  42. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BzDggP5H.min.js +91 -0
  43. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CQgG-2B5.min.js} +164 -183
  44. package/dist/revolugo.btag.yxmSLIpZ.min.js +375 -0
  45. package/dist/revolugo.cancellationpoliciesbadge.3dDx89si.min.js +28 -0
  46. package/dist/revolugo.cancellationpoliciesbadge.Bu_3zPF6.min.js +198 -0
  47. package/dist/revolugo.cancellationpolicieslist.D558ZjJj.min.js +25 -0
  48. package/dist/{revolugo.cancellationpolicieslist.D097ASNF.min.js → revolugo.cancellationpolicieslist.EOsSrPjA.min.js} +70 -98
  49. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  50. package/dist/revolugo.case-transformers.DGnXS0Cp.min.js +123 -0
  51. package/dist/{revolugo.creditcardform.DNOMVOgZ.min.js → revolugo.creditcardform.DZXQZuRo.min.js} +81 -94
  52. package/dist/{revolugo.creditcardform.DvHcDx2P.min.js → revolugo.creditcardform.DkLcGTUe.min.js} +4 -4
  53. package/dist/{revolugo.creditcardpayment.D3lPKmx1.min.js → revolugo.creditcardpayment.BCKTbLQO.min.js} +4 -4
  54. package/dist/{revolugo.creditcardpayment.BLP3RXk4.min.js → revolugo.creditcardpayment.DS5TEf7I.min.js} +152 -160
  55. package/dist/{revolugo.currencypicker.CzzS1Adp.min.js → revolugo.currencypicker.DzOZVdqj.min.js} +15 -15
  56. package/dist/{revolugo.currencypickerbtn.DWnyc54P.min.js → revolugo.currencypickerbtn.BFa4yMym.min.js} +4 -4
  57. package/dist/{revolugo.currencypickerbtn.ChUEouGw.min.js → revolugo.currencypickerbtn.XX3uUfVo.min.js} +41 -47
  58. package/dist/revolugo.dates.BZrB2-ya.min.js +31 -0
  59. package/dist/revolugo.defaultsdeep.DkkJx-tU.min.js +104 -0
  60. package/dist/{revolugo.dialog-attach.O2HXPGzj.min.js → revolugo.dialog-attach.Cr22Se10.min.js} +5 -6
  61. package/dist/revolugo.dialog-transition.D5NECTJF.min.js +111 -0
  62. package/dist/{revolugo.fastbookingflow.ChNa4jgv.min.js → revolugo.fastbookingflow.BzBjZ3LE.min.js} +6 -6
  63. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  64. package/dist/revolugo.fullbookingflow.DdY_jXGE.min.js +429 -0
  65. package/dist/revolugo.hotel-offer-request.D14Rm4x5.min.js +98 -0
  66. package/dist/{revolugo.hoteldescriptionview.D3JTbFxn.min.js → revolugo.hoteldescriptionview.BgYZ2vmV.min.js} +4 -4
  67. package/dist/{revolugo.hoteldescriptionview.CbtxEPGG.min.js → revolugo.hoteldescriptionview.C_jOcLK_.min.js} +801 -937
  68. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B7oYjB-Q.min.js +241 -0
  69. package/dist/{revolugo.hotelofferlist.BVySEYbq.min.js → revolugo.hotelofferlist.BYkJEK3j.min.js} +1485 -1590
  70. package/dist/{revolugo.hotelofferlist.puK2FNBR.min.js → revolugo.hotelofferlist.Dko1gIDn.min.js} +4 -4
  71. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
  72. package/dist/revolugo.hoteloffersearchmenu.B8ncJahc.min.js +202 -0
  73. package/dist/revolugo.hoteloffersearchmenuui.C1nrtxip.min.js +829 -0
  74. package/dist/{revolugo.hoteloffersmap.BRVm5s6N.min.js → revolugo.hoteloffersmap.CRI3Jttb.min.js} +799 -864
  75. package/dist/{revolugo.hoteloffersmap.DqKpfjbt.min.js → revolugo.hoteloffersmap.D_lQobL7.min.js} +4 -4
  76. package/dist/{revolugo.hoteloffersview.3LJ-m6BY.min.js → revolugo.hoteloffersview.1h25yRqJ.min.js} +163 -169
  77. package/dist/{revolugo.hoteloffersview.DsGyT5s7.min.js → revolugo.hoteloffersview.DzB-e4H1.min.js} +4 -4
  78. package/dist/{revolugo.hotelroomofferlist.DdMr5qEZ.min.js → revolugo.hotelroomofferlist.CDSzTTou.min.js} +4 -4
  79. package/dist/{revolugo.hotelroomofferlist.M-3bowQa.min.js → revolugo.hotelroomofferlist.DdmwJDYN.min.js} +1316 -1439
  80. package/dist/{revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js → revolugo.hotelroomofferrequestcreator.props.C_frxq0W.min.js} +6 -6
  81. package/dist/{revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js → revolugo.hotelroomoffersbookingflow.76yvftsv.min.js} +332 -357
  82. package/dist/{revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js → revolugo.hotelroomoffersearchmenu.BJTJFnmG.min.js} +5 -5
  83. package/dist/{revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js → revolugo.hotelroomoffersearchmenu.D6Vyfjfp.min.js} +35 -36
  84. package/dist/{revolugo.hotelroomoffersview.BSth8Xsz.min.js → revolugo.hotelroomoffersview.CkGUZ5LE.min.js} +141 -156
  85. package/dist/{revolugo.hotelroomoffersview.oxTgBMSk.min.js → revolugo.hotelroomoffersview.CrexMnSs.min.js} +4 -4
  86. package/dist/revolugo.index.3XJPtYDq.min.js +67 -0
  87. package/dist/revolugo.index.Cgeh5pQG.min.js +1232 -0
  88. package/dist/{revolugo.index.wc.7I5uexuc.min.js → revolugo.index.wc.C1h_M397.min.js} +12178 -12351
  89. package/dist/revolugo.langpicker.BEu5Dcmi.min.js +99 -0
  90. package/dist/revolugo.langpickerbtn.CIldopN_.min.js +131 -0
  91. package/dist/revolugo.langpickerbtn.PS3df2DW.min.js +29 -0
  92. package/dist/revolugo.min.js +1 -1
  93. package/dist/revolugo.pathify.DvfN0v8G.min.js +36 -0
  94. package/dist/{revolugo.prebookform.B8aMLMuG.min.js → revolugo.prebookform.CQkoP-VV.min.js} +130 -134
  95. package/dist/{revolugo.prebookform.CxK0iSDo.min.js → revolugo.prebookform.CV1s2FGH.min.js} +4 -4
  96. package/dist/{revolugo.roominglisteditor.Do-pe811.min.js → revolugo.roominglisteditor.8ernakg_.min.js} +98 -104
  97. package/dist/{revolugo.roominglisteditor.D7WzDtw6.min.js → revolugo.roominglisteditor.DxJ2OBqY.min.js} +4 -4
  98. package/dist/{revolugo.rounded.Dnxang6X.min.js → revolugo.rounded.BOHYNseH.min.js} +2 -2
  99. package/dist/{revolugo.ssrboot.ByGq44eI.min.js → revolugo.ssrboot.DElAuRmu.min.js} +2 -2
  100. package/dist/{revolugo.storybooktoolbar.DY_mbXuP.min.js → revolugo.storybooktoolbar.CHfZ7EvT.min.js} +142 -143
  101. package/dist/revolugo.termsandconditions.BvRlB7pE.min.js +405 -0
  102. package/dist/{revolugo.termsandconditions.DfGTVPYa.min.js → revolugo.termsandconditions.r61WJG2h.min.js} +4 -4
  103. package/dist/revolugo.use-breakpoint-service.BXTJsL7a.min.js +39 -0
  104. package/dist/revolugo.use-dialog-attach._Ffb31mm.min.js +16 -0
  105. package/dist/revolugo.use-html-element.DTDLV1SN.min.js +11 -0
  106. package/dist/revolugo.vautocomplete.CQYvC8_q.min.js +445 -0
  107. package/dist/revolugo.vbadge.Dqf0g4rP.min.js +112 -0
  108. package/dist/revolugo.vbtn.1GlaUjid.min.js +398 -0
  109. package/dist/revolugo.vcard.BkeYpsDj.min.js +313 -0
  110. package/dist/revolugo.vcheckboxbtn.B-9q-Vt_.min.js +478 -0
  111. package/dist/revolugo.vdialog.BtJzWlDm.min.js +133 -0
  112. package/dist/{revolugo.vdivider.Cp9bHPnI.min.js → revolugo.vdivider.DjAkTZXY.min.js} +8 -8
  113. package/dist/revolugo.vexpansionpanels.ChRz3Vw3.min.js +262 -0
  114. package/dist/revolugo.vform.BfCyAbBX.min.js +46 -0
  115. package/dist/revolugo.vicon.0J-whoPd.min.js +105 -0
  116. package/dist/revolugo.vinput.DruJiU7m.min.js +463 -0
  117. package/dist/revolugo.vlabel.DrAIoL0X.min.js +48 -0
  118. package/dist/revolugo.vlist.DSr8wDRX.min.js +1299 -0
  119. package/dist/revolugo.vmenu.DnNDzmnm.min.js +145 -0
  120. package/dist/revolugo.vselect.V-p2AqIC.min.js +660 -0
  121. package/dist/{revolugo.vsheet.8UeU7qQn.min.js → revolugo.vsheet.Bq0fXKd0.min.js} +14 -14
  122. package/dist/{revolugo.vskeletonloader.Dk0enVo6.min.js → revolugo.vskeletonloader.CGHKwSZc.min.js} +54 -55
  123. package/dist/revolugo.vslidegroup.CfQX__qs.min.js +325 -0
  124. package/dist/revolugo.vsnackbar.Dv0mQ14N.min.js +198 -0
  125. package/dist/revolugo.vspacer.DqyaaVSV.min.js +7 -0
  126. package/dist/{revolugo.vtextarea.Cjuqcka5.min.js → revolugo.vtextarea.CYUE9_OL.min.js} +354 -364
  127. package/dist/revolugo.vtextfield.DVdqMySD.min.js +501 -0
  128. package/dist/revolugo.vtoolbar.CvvYVWAF.min.js +180 -0
  129. package/dist/revolugo.vtooltip.Cc-DGbrS.min.js +89 -0
  130. package/dist/revolugo.vwindowitem._RpClcFn.min.js +317 -0
  131. package/dist/revolugo.watch-list.Bg0Ch7_v.min.js +16 -0
  132. package/dist/revolugo.webcomponentwrapper.BMVPGxCQ.min.js +2088 -0
  133. package/package.json +5 -5
  134. package/dist/css/revolugo.bdaterangepicker.CHUExWGL.css +0 -1
  135. package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +0 -1
  136. package/dist/css/revolugo.bhotelroomsdetails.ZHH0C1yQ.css +0 -1
  137. package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
  138. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  139. package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
  140. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  141. package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +0 -1
  142. package/dist/css/revolugo.hotelroomofferlist.DpLXIpgU.css +0 -1
  143. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  144. package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
  145. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  146. package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
  147. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  148. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  149. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  150. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  151. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  152. package/dist/revolugo._basefor.CodrYJxd.min.js +0 -15
  153. package/dist/revolugo.bdaterangepicker.XZNoMSi5.min.js +0 -8435
  154. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +0 -61
  155. package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +0 -4685
  156. package/dist/revolugo.bhotelsearchbar.DxxqZWkN.min.js +0 -947
  157. package/dist/revolugo.bimagecarousel.DIPN99VA.min.js +0 -598
  158. package/dist/revolugo.bpricesummaryskeleton.YKfKKB5n.min.js +0 -79
  159. package/dist/revolugo.btag.DjjDRtQ7.min.js +0 -387
  160. package/dist/revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js +0 -225
  161. package/dist/revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js +0 -24
  162. package/dist/revolugo.cancellationpolicieslist.CZImqgN3.min.js +0 -24
  163. package/dist/revolugo.case-transformers.Dr1oSJkZ.min.js +0 -123
  164. package/dist/revolugo.dialog-transition.C6S7Ci1s.min.js +0 -114
  165. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  166. package/dist/revolugo.fullbookingflow.ByKmNqgi.min.js +0 -451
  167. package/dist/revolugo.hotelofferitemlayout.tBOOIdeT.min.js +0 -259
  168. package/dist/revolugo.hotelofferrequestcreator.CbCau_4i.min.js +0 -230
  169. package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +0 -46
  170. package/dist/revolugo.index.D0uSQdJV.min.js +0 -13
  171. package/dist/revolugo.index.gIPq0z7C.min.js +0 -1037
  172. package/dist/revolugo.langpicker.CLdiic9k.min.js +0 -107
  173. package/dist/revolugo.langpickerbtn.BIHQAnjv.min.js +0 -24
  174. package/dist/revolugo.langpickerbtn.DF-m4pCF.min.js +0 -178
  175. package/dist/revolugo.position.hqKd4K_h.min.js +0 -322
  176. package/dist/revolugo.termsandconditions.DXNFR45_.min.js +0 -423
  177. package/dist/revolugo.use-breakpoint-service.CJltQiSH.min.js +0 -106
  178. package/dist/revolugo.vautocomplete.BjPSa1jg.min.js +0 -466
  179. package/dist/revolugo.vbadge.D1RCkHoZ.min.js +0 -118
  180. package/dist/revolugo.vbtn.CQ9EDLRJ.min.js +0 -417
  181. package/dist/revolugo.vcard.DNU4i52n.min.js +0 -329
  182. package/dist/revolugo.vcheckboxbtn.De-k8-O3.min.js +0 -491
  183. package/dist/revolugo.vdialog.CjEajxIC.min.js +0 -139
  184. package/dist/revolugo.vexpansionpanels.L2ZpX4zd.min.js +0 -276
  185. package/dist/revolugo.vform.Bw9rddZZ.min.js +0 -50
  186. package/dist/revolugo.vinput.P34xrpIC.min.js +0 -477
  187. package/dist/revolugo.vlabel.CLHrAz78.min.js +0 -51
  188. package/dist/revolugo.vlist.hRQlcp5M.min.js +0 -1348
  189. package/dist/revolugo.vmenu.BRFw3Jzk.min.js +0 -152
  190. package/dist/revolugo.vselect.u2C25NCe.min.js +0 -688
  191. package/dist/revolugo.vsnackbar.18JqJsZ2.min.js +0 -202
  192. package/dist/revolugo.vspacer.CPbtu_-W.min.js +0 -7
  193. package/dist/revolugo.vtextfield.BUNcwTRK.min.js +0 -509
  194. package/dist/revolugo.vtoolbar.CvbAGFXR.min.js +0 -188
  195. package/dist/revolugo.vtooltip.CsXJFD-V.min.js +0 -395
  196. package/dist/revolugo.vwindowitem.DGRfRU3q.min.js +0 -329
  197. package/dist/revolugo.watch-list.D0FxBTWy.min.js +0 -16
  198. package/dist/revolugo.webcomponentwrapper.DFYGhYzz.min.js +0 -2148
@@ -1,127 +1,134 @@
1
- import { ae as bt, C as x, bn as K, D as b, d as J, u as X, i as f, g as I, e as v, t as C, J as $, a as o, f as T, F as B, o as i, N as se, M as U, ap as ne, b as ie, c as S, w as a, j as z, r as L, Z as it, _ as lt, a2 as mt, bo as le, aE as re, b2 as ue, y as G, bp as ct, H as gt, I as yt, n as ce, h as de, v as Z, G as me, E as fe, bq as Pt, k as ht, l as _t, s as be, x as Rt, br as pe, K as ke, bs as Ot, bt as ve, a6 as Nt, ai as he, ab as at, aQ as ge, a9 as ye, bu as Re } from "./revolugo.index.wc.7I5uexuc.min.js";
2
- import { s as Oe, u as Ce, p as Be } from "./revolugo.use-breakpoint-service.CJltQiSH.min.js";
3
- import { u as pt, h as Se } from "./revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js";
4
- import { C as Ie } from "./revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js";
5
- import { B as Ut, a as we } from "./revolugo.bpricesummaryskeleton.YKfKKB5n.min.js";
6
- import { _ as tt, V, a as O, u as rt, l as jt, B as St, d as Pe, q as _e, s as He, b as Te, g as Ve, e as Ee } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
7
- import { V as ot } from "./revolugo.vskeletonloader.Dk0enVo6.min.js";
8
- import { a as Ft, B as Gt } from "./revolugo.bhotelroomsdetails.orWBBD_o.min.js";
9
- import { _ as ft, f as Ae } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js";
10
- import { B as dt } from "./revolugo.btag.DjjDRtQ7.min.js";
11
- import { a as $e, d as Le, V as st, n as De, e as qe } from "./revolugo.index.gIPq0z7C.min.js";
12
- import { u as ze, V as Ht, m as Me } from "./revolugo.vinput.P34xrpIC.min.js";
13
- import { b as Tt, c as Ne, V as Ue } from "./revolugo.vcheckboxbtn.De-k8-O3.min.js";
14
- import { d as je, L as Fe, V as Ge } from "./revolugo.position.hqKd4K_h.min.js";
15
- import { V as It, a as nt, m as We } from "./revolugo.vbtn.CQ9EDLRJ.min.js";
16
- import { V as Ye } from "./revolugo.vselect.u2C25NCe.min.js";
17
- import { V as xe } from "./revolugo.vlist.hRQlcp5M.min.js";
18
- import { C as Ke } from "./revolugo.cancellationpolicieslist.D097ASNF.min.js";
19
- import { V as Q } from "./revolugo.vdivider.Cp9bHPnI.min.js";
20
- import { k as Ze, C as Qe } from "./revolugo.case-transformers.Dr1oSJkZ.min.js";
1
+ import { aj as ft, k as F, by as G, H as b, bz as le, d as x, bA as Ut, bB as re, u as Y, i as f, g as I, e as h, t as C, p, a as o, f as w, F as B, o as l, S as ue, O as D, M as ce, b as jt, c as S, w as a, j as L, r as ot, a1 as rt, a2 as ut, a6 as mt, bC as de, aL as me, b5 as fe, D as q, m as be, l as pe, bD as dt, J as ht, K as gt, n as ve, h as ke, B as W, I as he, E as ge, bE as ye, q as vt, v as Pt, s as Re, C as yt, bF as Oe, ah as Ce, bG as Rt, bH as Be, aa as Ft, an as Se, af as tt, aV as Ie, ad as _e, bI as we } from "./revolugo.index.wc.C1h_M397.min.js";
2
+ import { s as Pe } from "./revolugo.dates.BZrB2-ya.min.js";
3
+ import { u as bt, h as Te } from "./revolugo.hotelroomofferrequestcreator.props.C_frxq0W.min.js";
4
+ import { C as He } from "./revolugo.cancellationpoliciesbadge.Bu_3zPF6.min.js";
5
+ import { a as Bt, _ as Ee } from "./revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BzDggP5H.min.js";
6
+ import { _ as it, V as P, a as y, u as ct, l as xt, B as St, d as Ve, q as Ae, s as Le, b as $e, g as De, e as ze } from "./revolugo.webcomponentwrapper.BMVPGxCQ.min.js";
7
+ import { V as K } from "./revolugo.vskeletonloader.CGHKwSZc.min.js";
8
+ import { _ as Gt, B as Wt } from "./revolugo.bhotelroomsdetails.DDHY2lbs.min.js";
9
+ import { _ as lt, a as qe } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CPnoXVaZ.min.js";
10
+ import { V as at } from "./revolugo.vicon.0J-whoPd.min.js";
11
+ import { r as Me, a as Ne, e as Ue, L as je, s as Fe, m as xe, V as Ge } from "./revolugo.index.Cgeh5pQG.min.js";
12
+ import { u as We, V as Tt, m as Ye } from "./revolugo.vinput.DruJiU7m.min.js";
13
+ import { b as Ht, c as Ze, V as Ke } from "./revolugo.vcheckboxbtn.B-9q-Vt_.min.js";
14
+ import { V as It, a as st, m as Qe } from "./revolugo.vbtn.1GlaUjid.min.js";
15
+ import { B as kt } from "./revolugo.btag.yxmSLIpZ.min.js";
16
+ import { u as Je } from "./revolugo.use-breakpoint-service.BXTJsL7a.min.js";
17
+ import { V as Xe } from "./revolugo.vselect.V-p2AqIC.min.js";
18
+ import { V as to } from "./revolugo.vlist.DSr8wDRX.min.js";
19
+ import { V as Q } from "./revolugo.vdivider.DjAkTZXY.min.js";
20
+ import { _ as eo } from "./revolugo.cancellationpolicieslist.EOsSrPjA.min.js";
21
+ import { k as oo, C as ao } from "./revolugo.case-transformers.DGnXS0Cp.min.js";
21
22
  /* empty css */
22
- import { f as Je } from "./revolugo.forwardrefs.-bfQnFea.min.js";
23
- import { V as Vt, m as Xe, a as Et, b as to } from "./revolugo.vwindowitem.DGRfRU3q.min.js";
24
- import { b as At, m as eo } from "./revolugo.vtooltip.CsXJFD-V.min.js";
25
- function ae(t) {
23
+ import { p as so } from "./revolugo.pathify.DvfN0v8G.min.js";
24
+ import { d as io } from "./revolugo.defaultsdeep.DkkJx-tU.min.js";
25
+ import { f as no } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
26
+ import { V as Et, m as lo, a as Vt, b as ro } from "./revolugo.vwindowitem._RpClcFn.min.js";
27
+ import { a as At, m as uo } from "./revolugo.vslidegroup.CfQX__qs.min.js";
28
+ function ne(t) {
26
29
  try {
27
30
  if (typeof document < "u") {
28
31
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
29
32
  sheets: [],
30
33
  components: []
31
34
  };
32
- const e = import.meta.url, n = e.slice(0, e.lastIndexOf("/") + 1) + t;
33
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
34
- for (const s of REVOLUGO_ELEMENTS_STYLES.components)
35
- s(n);
35
+ const e = import.meta.url, s = e.slice(0, e.lastIndexOf("/") + 1) + t;
36
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(s);
37
+ for (const i of REVOLUGO_ELEMENTS_STYLES.components)
38
+ i(s);
36
39
  if (t.indexOf("fonts") >= 0) {
37
- const s = document.createElement("link");
38
- s.rel = "stylesheet", linK.href = n, document.head.appendChild(s);
40
+ const i = document.createElement("link");
41
+ i.rel = "stylesheet", linK.href = s, document.head.appendChild(i);
39
42
  }
40
43
  }
41
44
  } catch (e) {
42
45
  console.error("[revolugo-elements] ", e);
43
46
  }
44
47
  }
45
- function oo(t) {
48
+ const co = "Europe/Paris";
49
+ function mo(t) {
46
50
  return (t && t.split(",") || []).map(
47
51
  (e) => Number.parseInt(e)
48
52
  );
49
53
  }
50
- const ao = 4;
51
- function so(t, e) {
52
- return t + oo(e).reduce((n, s) => s >= ao ? n + 1 : n, 0);
54
+ const fo = 4;
55
+ function bo(t, e) {
56
+ return t + mo(e).reduce((s, i) => i >= fo ? s + 1 : s, 0);
53
57
  }
54
- function no(t, e) {
55
- return e === void 0 ? Array.from({ length: t }, (n, s) => s) : Array.from({ length: e - t }, (n, s) => t + s);
58
+ function po(t, e) {
59
+ return e === void 0 ? Array.from({ length: t }, (s, i) => i) : Array.from({ length: e - t }, (s, i) => t + i);
56
60
  }
57
- function io() {
58
- const t = bt(), e = x(K.Idle), n = b(
59
- () => e.value === K.BookingPoliciesFetched
60
- ), s = b(
61
- () => e.value === K.Unavailable
62
- ), r = b(
63
- () => e.value === K.FetchingBookingPolicies
61
+ function vo() {
62
+ const t = ft(), e = F(G.Idle), s = b(
63
+ () => e.value === G.BookingPoliciesFetched
64
+ ), i = b(
65
+ () => e.value === G.Unavailable
66
+ ), n = b(
67
+ () => e.value === G.FetchingBookingPolicies
64
68
  );
65
69
  async function k({
66
70
  addBreakfast: d,
67
- hotelId: l,
68
- hotelRoomOfferId: m
71
+ hotelId: r,
72
+ hotelRoomOfferId: v
69
73
  }) {
70
- e.value = K.FetchingBookingPolicies;
74
+ e.value = G.FetchingBookingPolicies;
71
75
  try {
72
76
  await t.createBookingPolicies({
73
77
  addBreakfast: d,
74
- hotelId: l,
75
- hotelRoomOfferId: m
76
- }), e.value = K.Unavailable, setTimeout(() => {
77
- e.value = K.Idle;
78
+ hotelId: r,
79
+ hotelRoomOfferId: v
80
+ }), e.value = G.Unavailable, setTimeout(() => {
81
+ e.value = G.Idle;
78
82
  }, 1.5 * 1e3);
79
83
  } catch {
80
- e.value = K.Unavailable;
84
+ e.value = G.Unavailable;
81
85
  }
82
86
  }
83
87
  return {
84
88
  bookingState: e,
85
89
  createBookingPolicy: k,
86
- isBookingPoliciesSuccessful: n,
87
- isBookingPoliciesUnavailable: s,
88
- isFetchingBookingPolicies: r
90
+ isBookingPoliciesSuccessful: s,
91
+ isBookingPoliciesUnavailable: i,
92
+ isFetchingBookingPolicies: n
89
93
  };
90
94
  }
91
- function lo(t, e, n) {
95
+ function ko(t, e, s) {
92
96
  if (!t)
93
97
  return e;
94
- const s = n || ((r) => r);
98
+ const i = s || ((n) => n);
95
99
  if (typeof t == "string")
96
100
  try {
97
- return s(JSON.parse(t));
101
+ return i(JSON.parse(t));
98
102
  } catch {
99
103
  return e;
100
104
  }
101
- return s(t);
105
+ return i(t);
102
106
  }
103
- function ro({
107
+ function ho({
104
108
  cb: t,
105
109
  fallbackValue: e,
106
- prop: n
110
+ prop: s
107
111
  }) {
108
- return b(
109
- () => lo(n.value, e, t)
110
- );
112
+ return b(() => {
113
+ const n = ko(le(s.value), e, t);
114
+ return n && io(structuredClone(n), e || {});
115
+ });
111
116
  }
112
- const uo = { class: "text-right" }, co = {
117
+ const go = { class: "text-right" }, yo = {
113
118
  key: 0,
114
119
  class: "text-grey-darken-3"
115
- }, mo = { class: "text-h6 text-grey-darken-3 font-weight-black" }, fo = {
120
+ }, Ro = { class: "text-h6 text-grey-darken-3 font-weight-black" }, Oo = {
116
121
  key: 1,
117
122
  class: "my-0 text-caption text-grey-darken-3 d-block"
118
- }, bo = { class: "text-caption d-block" }, Wt = /* @__PURE__ */ J({
123
+ }, Co = { class: "text-caption d-block" }, Yt = /* @__PURE__ */ x({
119
124
  __name: "BPriceSummary",
120
125
  props: {
121
126
  adultCount: { default: 0 },
127
+ currency: { default: re.EUR },
122
128
  hasBolderTextPrice: { type: Boolean, default: void 0 },
123
129
  isTaxIncluded: { type: Boolean, default: void 0 },
124
130
  isStartingPrice: { type: Boolean, default: void 0 },
131
+ locale: { default: Ut.fr_FR },
125
132
  nightCount: { default: 1 },
126
133
  price: {},
127
134
  roomCount: { default: 1 },
@@ -129,39 +136,43 @@ const uo = { class: "text-right" }, co = {
129
136
  taxIncludedPrice: { default: void 0 }
130
137
  },
131
138
  setup(t) {
132
- const e = t, { t: n } = X(), s = b(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
133
- return (r, k) => (i(), f("div", uo, [
134
- r.isStartingPrice ? (i(), f("small", co, C($(n)("BPriceSummary.from")) + "  ", 1)) : I("", !0),
135
- v("b", mo, [
136
- o(ft, {
137
- amount: s.value,
138
- "round-mode": r.roundMode
139
- }, null, 8, ["amount", "round-mode"])
139
+ const e = t, { t: s } = Y(), i = b(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
140
+ return (n, k) => (l(), f("div", go, [
141
+ n.isStartingPrice ? (l(), f("small", yo, C(p(s)("BPriceSummary.from")) + "  ", 1)) : I("", !0),
142
+ h("b", Ro, [
143
+ o(lt, {
144
+ amount: i.value,
145
+ "round-mode": n.roundMode,
146
+ currency: e.currency,
147
+ locale: e.locale
148
+ }, null, 8, ["amount", "round-mode", "currency", "locale"])
140
149
  ]),
141
- (r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(), f("span", fo, [
142
- v("b", null, [
143
- o(ft, {
144
- amount: r.taxIncludedPrice,
145
- "round-mode": r.roundMode
146
- }, null, 8, ["amount", "round-mode"])
150
+ (n.roomCount > 1 || n.nightCount > 1 || n.taxIncludedPrice !== n.price) && n.isTaxIncluded ? (l(), f("span", Oo, [
151
+ h("b", null, [
152
+ o(lt, {
153
+ amount: n.taxIncludedPrice,
154
+ "round-mode": n.roundMode,
155
+ currency: e.currency,
156
+ locale: e.locale
157
+ }, null, 8, ["amount", "round-mode", "currency", "locale"])
147
158
  ]),
148
- T(" " + C($(n)("BPriceSummary.total")) + " " + C($(n)("BPriceSummary.summary", {
149
- rooms: $(n)("BPriceSummary.rooms", { n: r.roomCount })
159
+ w(" " + C(p(s)("BPriceSummary.total")) + " " + C(p(s)("BPriceSummary.summary", {
160
+ rooms: p(s)("BPriceSummary.rooms", { n: n.roomCount })
150
161
  })), 1)
151
162
  ])) : I("", !0),
152
- v("span", bo, [
153
- r.taxIncludedPrice || r.price ? (i(), f(B, { key: 0 }, [
154
- r.isTaxIncluded ? (i(), f(B, { key: 0 }, [
155
- T(C($(n)("BPriceSummary.taxIncluded")), 1)
156
- ], 64)) : (i(), f(B, { key: 1 }, [
157
- T(C($(n)("BPriceSummary.taxNotIncluded")), 1)
163
+ h("span", Co, [
164
+ n.taxIncludedPrice || n.price ? (l(), f(B, { key: 0 }, [
165
+ n.isTaxIncluded ? (l(), f(B, { key: 0 }, [
166
+ w(C(p(s)("BPriceSummary.taxIncluded")), 1)
167
+ ], 64)) : (l(), f(B, { key: 1 }, [
168
+ w(C(p(s)("BPriceSummary.taxNotIncluded")), 1)
158
169
  ], 64))
159
170
  ], 64)) : I("", !0)
160
171
  ])
161
172
  ]));
162
173
  }
163
174
  });
164
- function $t(t) {
175
+ function Lt(t) {
165
176
  const e = t;
166
177
  e.__i18n = e.__i18n || [], e.__i18n.push({
167
178
  locale: "",
@@ -267,160 +278,160 @@ function $t(t) {
267
278
  }
268
279
  });
269
280
  }
270
- typeof $t == "function" && $t(Wt);
271
- const Ct = /* @__PURE__ */ tt(Wt, [["__scopeId", "data-v-2324f5ca"]]);
272
- function po(t, e) {
281
+ typeof Lt == "function" && Lt(Yt);
282
+ const Ot = /* @__PURE__ */ it(Yt, [["__scopeId", "data-v-e0d30623"]]);
283
+ function Bo(t, e) {
273
284
  return e ? t.adultCount === e.adultCount && t.checkInDate === e.checkInDate && t.checkOutDate === e.checkOutDate && t.children === e.children && t.hotelId === e.hotelId && t.roomCount === e.roomCount && t.sourceMarket === e.sourceMarket : !1;
274
285
  }
275
- function ko(t) {
276
- const e = pt(), n = Oe(
286
+ function So(t) {
287
+ const e = bt(), s = Pe(
277
288
  t.checkInDate,
278
289
  t.checkOutDate
279
- ), s = x({
290
+ ), i = F({
280
291
  adultCount: t.adultCount,
281
- checkInDate: n[0],
282
- checkOutDate: n[1],
292
+ checkInDate: s[0],
293
+ checkOutDate: s[1],
283
294
  children: t.children ?? null,
284
295
  hotelId: t.hotelId,
285
296
  roomCount: t.roomCount,
286
297
  sourceMarket: t.sourceMarket
287
- }), r = b(
298
+ }), n = b(
288
299
  () => e.hotelRoomOfferRequest(t.hotelId)
289
- ), k = se(
300
+ ), k = ue(
290
301
  async function() {
291
- const m = s.value, c = r.value;
292
- t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== (c == null ? void 0 : c.id) ? (await e.retrieveHotelRoomOfferRequest({
293
- hotelId: m.hotelId,
302
+ const v = i.value, m = n.value;
303
+ t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== m?.id ? (await e.retrieveHotelRoomOfferRequest({
304
+ hotelId: v.hotelId,
294
305
  hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
295
- }), (!c || c.hasError) && await e.createHotelRoomOfferRequest(m)) : (!c || !c.id || c.hasError || !po(m, c)) && await e.createHotelRoomOfferRequest(m);
306
+ }), (!m || m.hasError) && await e.createHotelRoomOfferRequest(v)) : (!m || !m.id || m.hasError || !Bo(v, m)) && await e.createHotelRoomOfferRequest(v);
296
307
  },
297
308
  300
298
309
  );
299
- U(
310
+ D(
300
311
  () => {
301
- const l = r.value;
302
- return l ? [
303
- l.adultCount,
304
- l.checkInDate,
305
- l.checkOutDate,
306
- l.children,
307
- l.roomCount,
308
- l.sourceMarket
312
+ const r = n.value;
313
+ return r ? [
314
+ r.adultCount,
315
+ r.checkInDate,
316
+ r.checkOutDate,
317
+ r.children,
318
+ r.roomCount,
319
+ r.sourceMarket
309
320
  ].join(",") : "";
310
321
  },
311
322
  () => {
312
- const l = r.value;
313
- !l || !l.adultCount || !l.checkInDate || !l.checkOutDate || !l.roomCount || !l.sourceMarket || (s.value = {
314
- adultCount: l.adultCount,
315
- checkInDate: l.checkInDate,
316
- checkOutDate: l.checkOutDate,
317
- children: l.children ?? null,
318
- hotelId: l.hotelId,
319
- roomCount: l.roomCount,
320
- sourceMarket: l.sourceMarket
323
+ const r = n.value;
324
+ !r || !r.adultCount || !r.checkInDate || !r.checkOutDate || !r.roomCount || !r.sourceMarket || (i.value = {
325
+ adultCount: r.adultCount,
326
+ checkInDate: r.checkInDate,
327
+ checkOutDate: r.checkOutDate,
328
+ children: r.children ?? null,
329
+ hotelId: r.hotelId,
330
+ roomCount: r.roomCount,
331
+ sourceMarket: r.sourceMarket
321
332
  });
322
333
  }
323
- ), U(
334
+ ), D(
324
335
  () => t.adultCount,
325
- (l) => {
326
- s.value = {
327
- ...s.value,
328
- adultCount: l
336
+ (r) => {
337
+ i.value = {
338
+ ...i.value,
339
+ adultCount: r
329
340
  };
330
341
  }
331
- ), U(
342
+ ), D(
332
343
  () => t.checkInDate,
333
- (l) => {
334
- s.value = {
335
- ...s.value,
336
- checkInDate: l
344
+ (r) => {
345
+ i.value = {
346
+ ...i.value,
347
+ checkInDate: r
337
348
  };
338
349
  }
339
- ), U(
350
+ ), D(
340
351
  () => t.checkOutDate,
341
- (l) => {
342
- s.value = {
343
- ...s.value,
344
- checkOutDate: l
352
+ (r) => {
353
+ i.value = {
354
+ ...i.value,
355
+ checkOutDate: r
345
356
  };
346
357
  }
347
- ), U(
358
+ ), D(
348
359
  () => t.children,
349
- (l) => {
350
- s.value = {
351
- ...s.value,
352
- children: l ?? null
360
+ (r) => {
361
+ i.value = {
362
+ ...i.value,
363
+ children: r ?? null
353
364
  };
354
365
  }
355
- ), U(
366
+ ), D(
356
367
  () => t.hotelId,
357
- (l, m) => {
358
- m && e.deleteHotelRoomOfferRequest(m), s.value = {
359
- ...s.value,
360
- hotelId: l
368
+ (r, v) => {
369
+ v && e.deleteHotelRoomOfferRequest(v), i.value = {
370
+ ...i.value,
371
+ hotelId: r
361
372
  }, k();
362
373
  }
363
- ), U(
374
+ ), D(
364
375
  () => t.roomCount,
365
- (l) => {
366
- s.value = {
367
- ...s.value,
368
- roomCount: l
376
+ (r) => {
377
+ i.value = {
378
+ ...i.value,
379
+ roomCount: r
369
380
  };
370
381
  }
371
- ), U(
382
+ ), D(
372
383
  () => t.sourceMarket,
373
- (l) => {
374
- s.value = {
375
- ...s.value,
376
- sourceMarket: l
384
+ (r) => {
385
+ i.value = {
386
+ ...i.value,
387
+ sourceMarket: r
377
388
  };
378
389
  }
379
390
  );
380
391
  const d = () => {
381
392
  e.resetHotelRoomOfferRequest(t.hotelId), k();
382
393
  };
383
- return U(
384
- () => s.value,
394
+ return D(
395
+ () => i.value,
385
396
  () => {
386
397
  k();
387
398
  },
388
399
  { deep: !0, immediate: !0 }
389
- ), U(
390
- () => ne(),
400
+ ), D(
401
+ () => ce(),
391
402
  () => {
392
403
  d();
393
404
  },
394
405
  { immediate: !0 }
395
406
  ), {
396
- hotelRoomOfferRequest: r,
397
- hotelRoomOfferRequestInternal: s
407
+ hotelRoomOfferRequest: n,
408
+ hotelRoomOfferRequestInternal: i
398
409
  };
399
410
  }
400
- const vo = J({
411
+ const Io = x({
401
412
  components: {
402
- BPriceSummarySkeleton: Ut
413
+ BPriceSummarySkeleton: Bt
403
414
  },
404
- mixins: [ie],
415
+ mixins: [jt],
405
416
  name: "HotelRoomOfferLayout",
406
417
  props: {
407
418
  boilerplate: { type: Boolean }
408
419
  },
409
420
  setup() {
410
- const { t } = X();
421
+ const { t } = Y();
411
422
  return {
412
423
  t
413
424
  };
414
425
  }
415
- }), ho = { class: "d-flex justify-end" };
416
- function go(t, e, n, s, r, k) {
417
- const d = L("BPriceSummarySkeleton");
418
- return i(), S(V, {
426
+ }), _o = { class: "d-flex justify-end" };
427
+ function wo(t, e, s, i, n, k) {
428
+ const d = ot("BPriceSummarySkeleton");
429
+ return l(), S(P, {
419
430
  class: "px-2 py-3 pa-sm-4 px-md-3",
420
431
  "no-gutters": ""
421
432
  }, {
422
433
  default: a(() => [
423
- o(O, {
434
+ o(y, {
424
435
  "align-self": "start",
425
436
  cols: "12",
426
437
  lg: "6",
@@ -428,12 +439,12 @@ function go(t, e, n, s, r, k) {
428
439
  sm: "7"
429
440
  }, {
430
441
  default: a(() => [
431
- o(V, { "no-gutters": "" }, {
442
+ o(P, { "no-gutters": "" }, {
432
443
  default: a(() => [
433
- o(O, { cols: "12" }, {
444
+ o(y, { cols: "12" }, {
434
445
  default: a(() => [
435
- z(t.$slots, "room-details", {}, () => [
436
- o(ot, {
446
+ L(t.$slots, "room-details", {}, () => [
447
+ o(K, {
437
448
  boilerplate: t.boilerplate,
438
449
  class: "mt-1",
439
450
  height: "14px",
@@ -441,7 +452,7 @@ function go(t, e, n, s, r, k) {
441
452
  type: "text",
442
453
  width: "180px"
443
454
  }, null, 8, ["boilerplate"]),
444
- o(ot, {
455
+ o(K, {
445
456
  boilerplate: t.boilerplate,
446
457
  height: "12px",
447
458
  tile: "",
@@ -452,21 +463,21 @@ function go(t, e, n, s, r, k) {
452
463
  ]),
453
464
  _: 3
454
465
  }),
455
- o(O, {
466
+ o(y, {
456
467
  "align-self": "start",
457
468
  class: "text-left d-flex flex-column mt-2",
458
469
  cols: "12",
459
470
  style: { gap: "0.3em" }
460
471
  }, {
461
472
  default: a(() => [
462
- z(t.$slots, "breakfast-option-badge"),
463
- z(t.$slots, "cancellation-policies")
473
+ L(t.$slots, "breakfast-option-badge"),
474
+ L(t.$slots, "cancellation-policies")
464
475
  ]),
465
476
  _: 3
466
477
  }),
467
- o(O, { cols: "12" }, {
478
+ o(y, { cols: "12" }, {
468
479
  default: a(() => [
469
- z(t.$slots, "breakfast-option-switch")
480
+ L(t.$slots, "breakfast-option-switch")
470
481
  ]),
471
482
  _: 3
472
483
  })
@@ -476,7 +487,7 @@ function go(t, e, n, s, r, k) {
476
487
  ]),
477
488
  _: 3
478
489
  }),
479
- o(O, {
490
+ o(y, {
480
491
  "align-self": "end",
481
492
  class: "text-right mt-sm-0 mt-2",
482
493
  lg: "6",
@@ -484,16 +495,16 @@ function go(t, e, n, s, r, k) {
484
495
  sm: "5"
485
496
  }, {
486
497
  default: a(() => [
487
- z(t.$slots, "package-type"),
488
- z(t.$slots, "price-summary", {}, () => [
498
+ L(t.$slots, "package-type"),
499
+ L(t.$slots, "price-summary", {}, () => [
489
500
  o(d, {
490
501
  boilerplate: t.boilerplate,
491
502
  class: "mt-2"
492
503
  }, null, 8, ["boilerplate"])
493
504
  ]),
494
- v("div", ho, [
495
- z(t.$slots, "action", {}, () => [
496
- o(ot, {
505
+ h("div", _o, [
506
+ L(t.$slots, "action", {}, () => [
507
+ o(K, {
497
508
  class: "mt-2",
498
509
  boilerplate: t.boilerplate,
499
510
  height: "28px",
@@ -510,98 +521,7 @@ function go(t, e, n, s, r, k) {
510
521
  _: 3
511
522
  });
512
523
  }
513
- const kt = /* @__PURE__ */ tt(vo, [["render", go]]), yo = {
514
- isLoading: { type: Boolean },
515
- modelValue: {
516
- type: Boolean
517
- },
518
- price: {
519
- required: !0,
520
- type: Number
521
- }
522
- }, Yt = J({
523
- components: {
524
- BTag: dt
525
- },
526
- computed: {
527
- formattedPrice() {
528
- return Ae({
529
- amount: this.price,
530
- currency: this.config.currency,
531
- locale: this.$i18n.locale
532
- });
533
- }
534
- },
535
- data() {
536
- return {
537
- valueLocal: this.modelValue
538
- };
539
- },
540
- name: "BBreakfastSwitch",
541
- props: yo,
542
- setup() {
543
- const { t } = X();
544
- return {
545
- t
546
- };
547
- },
548
- watch: {
549
- valueLocal(t) {
550
- this.$emit("update:modelValue", t);
551
- }
552
- }
553
- });
554
- function Lt(t) {
555
- const e = t;
556
- e.__i18n = e.__i18n || [], e.__i18n.push({
557
- locale: "",
558
- resource: {
559
- "en-US": {
560
- BBreakfastSwitch: {
561
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Breakfast" } },
562
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / guest / night" }] } }
563
- }
564
- },
565
- "fr-FR": {
566
- BBreakfastSwitch: {
567
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Petit-déjeuner" } },
568
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / client / nuit" }] } }
569
- }
570
- },
571
- "de-DE": {
572
- BBreakfastSwitch: {
573
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Frühstück" } },
574
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / Gast / Nacht" }] } }
575
- }
576
- },
577
- "es-ES": {
578
- BBreakfastSwitch: {
579
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Desayuno" } },
580
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / huésped / noche" }] } }
581
- }
582
- },
583
- "it-IT": {
584
- BBreakfastSwitch: {
585
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Colazione" } },
586
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / ospite / notte" }] } }
587
- }
588
- },
589
- "nl-NL": {
590
- BBreakfastSwitch: {
591
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ontbijt" } },
592
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / gast / nacht" }] } }
593
- }
594
- },
595
- "pt-PT": {
596
- BBreakfastSwitch: {
597
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pequeno-almoço" } },
598
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / hóspede / noite" }] } }
599
- }
600
- }
601
- }
602
- });
603
- }
604
- const Ro = lt({
524
+ const _t = /* @__PURE__ */ it(Io, [["render", wo]]), Po = ut({
605
525
  indeterminate: Boolean,
606
526
  inset: Boolean,
607
527
  flat: Boolean,
@@ -609,12 +529,12 @@ const Ro = lt({
609
529
  type: [Boolean, String],
610
530
  default: !1
611
531
  },
612
- ...Me(),
613
- ...Ne()
614
- }, "VSwitch"), Oo = it()({
532
+ ...Ye(),
533
+ ...Ze()
534
+ }, "VSwitch"), To = rt()({
615
535
  name: "VSwitch",
616
536
  inheritAttrs: !1,
617
- props: Ro(),
537
+ props: Po(),
618
538
  emits: {
619
539
  "update:focused": (t) => !0,
620
540
  "update:modelValue": (t) => !0,
@@ -622,125 +542,124 @@ const Ro = lt({
622
542
  },
623
543
  setup(t, e) {
624
544
  let {
625
- attrs: n,
626
- slots: s
545
+ attrs: s,
546
+ slots: i
627
547
  } = e;
628
- const r = mt(t, "indeterminate"), k = mt(t, "modelValue"), {
548
+ const n = mt(t, "indeterminate"), k = mt(t, "modelValue"), {
629
549
  loaderClasses: d
630
- } = je(t), {
631
- isFocused: l,
632
- focus: m,
633
- blur: c
634
- } = ze(t), P = x(), A = le && window.matchMedia("(forced-colors: active)").matches, R = b(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), h = re(), E = b(() => t.id || `switch-${h}`);
550
+ } = Me(t), {
551
+ isFocused: r,
552
+ focus: v,
553
+ blur: m
554
+ } = We(t), T = F(), A = de && window.matchMedia("(forced-colors: active)").matches, R = b(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), z = me(), u = b(() => t.id || `switch-${z}`);
635
555
  function g() {
636
- r.value && (r.value = !1);
556
+ n.value && (n.value = !1);
637
557
  }
638
- function j(W) {
639
- var M, D;
640
- W.stopPropagation(), W.preventDefault(), (D = (M = P.value) == null ? void 0 : M.input) == null || D.click();
558
+ function H(E) {
559
+ E.stopPropagation(), E.preventDefault(), T.value?.input?.click();
641
560
  }
642
- return rt(() => {
643
- const [W, M] = ue(n), D = Ht.filterProps(t), Y = Tt.filterProps(t);
644
- return o(Ht, G({
561
+ return ct(() => {
562
+ const [E, M] = fe(s), N = Tt.filterProps(t), Z = Ht.filterProps(t);
563
+ return o(Tt, q({
645
564
  class: ["v-switch", {
646
565
  "v-switch--flat": t.flat
647
566
  }, {
648
567
  "v-switch--inset": t.inset
649
568
  }, {
650
- "v-switch--indeterminate": r.value
569
+ "v-switch--indeterminate": n.value
651
570
  }, d.value, t.class]
652
- }, W, D, {
571
+ }, E, N, {
653
572
  modelValue: k.value,
654
- "onUpdate:modelValue": (p) => k.value = p,
655
- id: E.value,
656
- focused: l.value,
573
+ "onUpdate:modelValue": (_) => k.value = _,
574
+ id: u.value,
575
+ focused: r.value,
657
576
  style: t.style
658
577
  }), {
659
- ...s,
660
- default: (p) => {
578
+ ...i,
579
+ default: (_) => {
661
580
  let {
662
- id: y,
663
- messagesId: _,
664
- isDisabled: F,
665
- isReadonly: et,
666
- isValid: N
667
- } = p;
668
- const u = {
581
+ id: $,
582
+ messagesId: j,
583
+ isDisabled: U,
584
+ isReadonly: nt,
585
+ isValid: et
586
+ } = _;
587
+ const J = {
669
588
  model: k,
670
- isValid: N
589
+ isValid: et
671
590
  };
672
- return o(Tt, G({
673
- ref: P
674
- }, Y, {
591
+ return o(Ht, q({
592
+ ref: T
593
+ }, Z, {
675
594
  modelValue: k.value,
676
- "onUpdate:modelValue": [(H) => k.value = H, g],
677
- id: y.value,
678
- "aria-describedby": _.value,
595
+ "onUpdate:modelValue": [(c) => k.value = c, g],
596
+ id: $.value,
597
+ "aria-describedby": j.value,
679
598
  type: "checkbox",
680
- "aria-checked": r.value ? "mixed" : void 0,
681
- disabled: F.value,
682
- readonly: et.value,
683
- onFocus: m,
684
- onBlur: c
599
+ "aria-checked": n.value ? "mixed" : void 0,
600
+ disabled: U.value,
601
+ readonly: nt.value,
602
+ onFocus: v,
603
+ onBlur: m
685
604
  }, M), {
686
- ...s,
687
- default: (H) => {
605
+ ...i,
606
+ default: (c) => {
688
607
  let {
689
- backgroundColorClasses: w,
690
- backgroundColorStyles: q
691
- } = H;
608
+ backgroundColorClasses: V,
609
+ backgroundColorStyles: O
610
+ } = c;
692
611
  return o("div", {
693
- class: ["v-switch__track", A ? void 0 : w.value],
694
- style: q.value,
695
- onClick: j
696
- }, [s["track-true"] && o("div", {
612
+ class: ["v-switch__track", A ? void 0 : V.value],
613
+ style: O.value,
614
+ onClick: H
615
+ }, [i["track-true"] && o("div", {
697
616
  key: "prepend",
698
617
  class: "v-switch__track-true"
699
- }, [s["track-true"](u)]), s["track-false"] && o("div", {
618
+ }, [i["track-true"](J)]), i["track-false"] && o("div", {
700
619
  key: "append",
701
620
  class: "v-switch__track-false"
702
- }, [s["track-false"](u)])]);
621
+ }, [i["track-false"](J)])]);
703
622
  },
704
- input: (H) => {
623
+ input: (c) => {
705
624
  let {
706
- inputNode: w,
707
- icon: q,
708
- backgroundColorClasses: ut,
709
- backgroundColorStyles: oe
710
- } = H;
711
- return o(B, null, [w, o("div", {
625
+ inputNode: V,
626
+ icon: O,
627
+ backgroundColorClasses: X,
628
+ backgroundColorStyles: ie
629
+ } = c;
630
+ return o(B, null, [V, o("div", {
712
631
  class: ["v-switch__thumb", {
713
- "v-switch__thumb--filled": q || t.loading
714
- }, t.inset || A ? void 0 : ut.value],
715
- style: t.inset ? void 0 : oe.value
716
- }, [s.thumb ? o($e, {
632
+ "v-switch__thumb--filled": O || t.loading
633
+ }, t.inset || A ? void 0 : X.value],
634
+ style: t.inset ? void 0 : ie.value
635
+ }, [i.thumb ? o(Ne, {
717
636
  defaults: {
718
637
  VIcon: {
719
- icon: q,
638
+ icon: O,
720
639
  size: "x-small"
721
640
  }
722
641
  }
723
642
  }, {
724
- default: () => [s.thumb({
725
- ...u,
726
- icon: q
643
+ default: () => [i.thumb({
644
+ ...J,
645
+ icon: O
727
646
  })]
728
- }) : o(Le, null, {
729
- default: () => [t.loading ? o(Fe, {
647
+ }) : o(Ue, null, {
648
+ default: () => [t.loading ? o(je, {
730
649
  name: "v-switch",
731
650
  active: !0,
732
- color: N.value === !1 ? void 0 : R.value
651
+ color: et.value === !1 ? void 0 : R.value
733
652
  }, {
734
- default: (vt) => s.loader ? s.loader(vt) : o(It, {
735
- active: vt.isActive,
736
- color: vt.color,
653
+ default: (pt) => i.loader ? i.loader(pt) : o(It, {
654
+ active: pt.isActive,
655
+ color: pt.color,
737
656
  indeterminate: !0,
738
657
  size: "16",
739
658
  width: "2"
740
659
  }, null)
741
- }) : q && o(st, {
742
- key: String(q),
743
- icon: q,
660
+ }) : O && o(at, {
661
+ key: String(O),
662
+ icon: O,
744
663
  size: "x-small"
745
664
  }, null)]
746
665
  })])]);
@@ -750,44 +669,112 @@ const Ro = lt({
750
669
  });
751
670
  }), {};
752
671
  }
753
- }), Co = { class: "text-caption ml-n3" }, Bo = { class: "mr-2" }, So = ["innerHTML"];
754
- function Io(t, e, n, s, r, k) {
755
- return i(), S(Oo, {
756
- modelValue: t.valueLocal,
757
- "onUpdate:modelValue": e[0] || (e[0] = (d) => t.valueLocal = d),
758
- class: "ma-0 pa-0 breakfast-switch d-inline-block",
759
- density: "compact",
760
- size: "small",
761
- color: "primary",
762
- loading: t.isLoading && "success"
672
+ }), Ho = { class: "text-caption ml-n3" }, Eo = { class: "mr-2" }, Vo = ["innerHTML"], Zt = /* @__PURE__ */ x({
673
+ __name: "BBreakfastSwitch",
674
+ props: /* @__PURE__ */ be({
675
+ isLoading: { type: Boolean },
676
+ price: {},
677
+ currency: {}
763
678
  }, {
764
- label: a(() => [
765
- v("div", Co, [
766
- o(st, {
767
- size: "12",
768
- class: "ml-4 mr-2"
769
- }, {
770
- default: a(() => e[1] || (e[1] = [
771
- T(" fas fa-coffee ")
772
- ])),
773
- _: 1,
774
- __: [1]
775
- }),
776
- e[2] || (e[2] = T(" ")),
777
- v("span", Bo, C(t.t("BBreakfastSwitch.title")), 1),
778
- v("span", {
779
- innerHTML: t.t("BBreakfastSwitch.price", { n: t.formattedPrice }).replace(
780
- /\s/gu,
781
- " "
782
- )
783
- }, null, 8, So)
784
- ])
785
- ]),
786
- _: 1
787
- }, 8, ["modelValue", "loading"]);
679
+ modelValue: { type: Boolean },
680
+ modelModifiers: {}
681
+ }),
682
+ emits: ["update:modelValue"],
683
+ setup(t) {
684
+ const { locale: e, t: s } = Y(), i = pe(t, "modelValue"), n = b(
685
+ () => qe({
686
+ amount: t.price,
687
+ currency: t.currency,
688
+ locale: e.value
689
+ })
690
+ );
691
+ return (k, d) => (l(), S(To, {
692
+ modelValue: i.value,
693
+ "onUpdate:modelValue": d[0] || (d[0] = (r) => i.value = r),
694
+ class: "ma-0 pa-0 breakfast-switch d-inline-block",
695
+ density: "compact",
696
+ size: "small",
697
+ color: "primary",
698
+ loading: k.isLoading && "success"
699
+ }, {
700
+ label: a(() => [
701
+ h("div", Ho, [
702
+ o(at, {
703
+ size: "12",
704
+ class: "ml-4 mr-2"
705
+ }, {
706
+ default: a(() => d[1] || (d[1] = [
707
+ w(" fas fa-coffee ")
708
+ ])),
709
+ _: 1,
710
+ __: [1]
711
+ }),
712
+ d[2] || (d[2] = w(" ")),
713
+ h("span", Eo, C(p(s)("BBreakfastSwitch.title")), 1),
714
+ h("span", {
715
+ innerHTML: p(s)("BBreakfastSwitch.price", { n: n.value }).replace(
716
+ /\s/gu,
717
+ " "
718
+ )
719
+ }, null, 8, Vo)
720
+ ])
721
+ ]),
722
+ _: 1
723
+ }, 8, ["modelValue", "loading"]));
724
+ }
725
+ });
726
+ function $t(t) {
727
+ const e = t;
728
+ e.__i18n = e.__i18n || [], e.__i18n.push({
729
+ locale: "",
730
+ resource: {
731
+ "en-US": {
732
+ BBreakfastSwitch: {
733
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Breakfast" } },
734
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / guest / night" }] } }
735
+ }
736
+ },
737
+ "fr-FR": {
738
+ BBreakfastSwitch: {
739
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Petit-déjeuner" } },
740
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / client / nuit" }] } }
741
+ }
742
+ },
743
+ "de-DE": {
744
+ BBreakfastSwitch: {
745
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Frühstück" } },
746
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / Gast / Nacht" }] } }
747
+ }
748
+ },
749
+ "es-ES": {
750
+ BBreakfastSwitch: {
751
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Desayuno" } },
752
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / huésped / noche" }] } }
753
+ }
754
+ },
755
+ "it-IT": {
756
+ BBreakfastSwitch: {
757
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Colazione" } },
758
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / ospite / notte" }] } }
759
+ }
760
+ },
761
+ "nl-NL": {
762
+ BBreakfastSwitch: {
763
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ontbijt" } },
764
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / gast / nacht" }] } }
765
+ }
766
+ },
767
+ "pt-PT": {
768
+ BBreakfastSwitch: {
769
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pequeno-almoço" } },
770
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / hóspede / noite" }] } }
771
+ }
772
+ }
773
+ }
774
+ });
788
775
  }
789
- typeof Lt == "function" && Lt(Yt);
790
- const xt = /* @__PURE__ */ tt(Yt, [["render", Io], ["__scopeId", "data-v-9a8c9349"]]), wo = {
776
+ typeof $t == "function" && $t(Zt);
777
+ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ao = {
791
778
  breakfastCount: {
792
779
  type: Number
793
780
  },
@@ -825,198 +812,189 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", Io], ["__scopeId", "data-v-9a8c934
825
812
  tags: { type: Array },
826
813
  taxIncludedPrice: { required: !0, type: Number },
827
814
  type: { type: String }
828
- }, Po = { key: 0 }, _o = {
815
+ }, Lo = { key: 0 }, $o = {
829
816
  class: "align-self-center d-flex flex-wrap",
830
817
  style: { gap: "0.3em" }
831
- }, Ho = {
818
+ }, Do = {
832
819
  class: "align-self-center d-inline-flex flex-wrap",
833
820
  style: { gap: "0.3em" }
834
- }, To = { class: "text-caption" }, Vo = { key: 0 }, Eo = { key: 1 }, Kt = /* @__PURE__ */ J({
821
+ }, zo = { class: "text-caption" }, qo = { key: 0 }, Mo = { key: 1 }, Qt = /* @__PURE__ */ x({
835
822
  __name: "HotelRoomOfferItem",
836
- props: wo,
823
+ props: Ao,
837
824
  emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
838
825
  setup(t, { emit: e }) {
839
- const n = t, { t: s } = X(), { eventBus: r } = me(), k = e, d = x(
840
- n.breakfastCount && n.breakfastCount > 0 || !1
826
+ const s = t, { t: i } = Y(), { eventBus: n } = he(), k = e, d = F(
827
+ s.breakfastCount && s.breakfastCount > 0 || !1
841
828
  );
842
- U(d, (u) => {
829
+ D(d, (c) => {
843
830
  k("breakfast-change", {
844
- addBreakfast: u,
845
- hotelId: n.hotelId,
846
- id: n.id
831
+ addBreakfast: c,
832
+ hotelId: s.hotelId,
833
+ id: s.id
847
834
  });
848
835
  });
849
- const l = pt(), m = bt(), c = b(
850
- () => l.hotelRoomOfferRequest(n.hotelId)
851
- ), P = b(() => {
852
- var u;
853
- return (u = c.value) == null ? void 0 : u.adultCount;
854
- }), A = b(() => {
855
- var u;
856
- return (u = c.value) == null ? void 0 : u.checkInDate;
857
- }), R = b(
858
- () => n.count ? no(n.count + 1) : []
859
- ), h = b(
860
- () => m.hotelTimezone(n.hotelId)
861
- ), E = b(
862
- () => l.nightCount(n.hotelId)
836
+ const r = bt(), v = ft(), m = b(
837
+ () => r.hotelRoomOfferRequest(s.hotelId)
838
+ ), T = b(() => m.value?.adultCount), A = b(() => m.value?.checkInDate), R = b(
839
+ () => s.count ? po(s.count + 1) : []
840
+ ), z = b(
841
+ () => v.hotelTimezone(s.hotelId)
842
+ ), u = b(
843
+ () => r.nightCount(s.hotelId)
863
844
  ), g = b(() => {
864
- switch (n.packageType) {
865
- case ct.Cheapest:
845
+ switch (s.packageType) {
846
+ case dt.Cheapest:
866
847
  return "red";
867
- case ct.BestMatch:
868
- case ct.MatchingRoomCount:
848
+ case dt.BestMatch:
849
+ case dt.MatchingRoomCount:
869
850
  return "purple";
870
- case ct.Regular:
851
+ case dt.Regular:
871
852
  case void 0:
872
853
  default:
873
854
  return "";
874
855
  }
875
- }), j = b(
876
- () => n.hotelRooms.reduce((u, H) => u + (H.count || 0), 0)
877
- ), W = b({
856
+ }), H = b(
857
+ () => s.hotelRooms.reduce((c, V) => c + (V.count || 0), 0)
858
+ ), E = b({
878
859
  get() {
879
- return n.modelValue;
860
+ return s.modelValue;
880
861
  },
881
- set(u) {
882
- k("update:modelValue", u);
862
+ set(c) {
863
+ k("update:modelValue", c);
883
864
  }
884
865
  }), M = b(
885
- () => {
886
- var u;
887
- return ((u = n.tags) == null ? void 0 : u.filter((H) => H.name.length > 30)) || [];
888
- }
889
- ), D = b(
890
- () => {
891
- var u;
892
- return ((u = n.tags) == null ? void 0 : u.filter((H) => H.name.length < 30)) || [];
893
- }
866
+ () => s.tags?.filter((c) => c.name.length > 30) || []
867
+ ), N = b(
868
+ () => s.tags?.filter((c) => c.name.length < 30) || []
894
869
  ), {
895
- bookingState: Y,
896
- createBookingPolicy: p,
897
- isBookingPoliciesSuccessful: y,
898
- isBookingPoliciesUnavailable: _,
899
- isFetchingBookingPolicies: F
900
- } = io();
901
- U(Y, (u) => {
902
- u === K.Unavailable && k("booking-policy-failed", n.id);
870
+ bookingState: Z,
871
+ createBookingPolicy: _,
872
+ isBookingPoliciesSuccessful: $,
873
+ isBookingPoliciesUnavailable: j,
874
+ isFetchingBookingPolicies: U
875
+ } = vo();
876
+ D(Z, (c) => {
877
+ c === G.Unavailable && k("booking-policy-failed", s.id);
903
878
  });
904
- async function et() {
905
- const u = {
906
- ...n,
907
- currency: n.currency
879
+ async function nt() {
880
+ const c = {
881
+ ...s,
882
+ currency: s.currency
908
883
  };
909
- r.$emit(fe.HotelRoomOffersBtnClick, u), await p({
884
+ n.$emit(ge.HotelRoomOffersBtnClick, c), await _({
910
885
  addBreakfast: d.value,
911
- hotelId: n.hotelId,
912
- hotelRoomOfferId: n.id
886
+ hotelId: s.hotelId,
887
+ hotelRoomOfferId: s.id
913
888
  });
914
889
  }
915
- const N = x(null);
916
- return Ce(N), (u, H) => (i(), f("div", {
890
+ const et = F(null);
891
+ Je(et);
892
+ const J = window.RevolugoElements.config.lang || Ut.fr_FR;
893
+ return (c, V) => (l(), f("div", {
917
894
  class: "position-relative",
918
895
  ref_key: "root",
919
- ref: N
896
+ ref: et
920
897
  }, [
921
- o(kt, { key: "is-available" }, {
898
+ o(_t, { key: "is-available" }, {
922
899
  "room-details": a(() => [
923
- o(Gt, {
924
- "hotel-rooms": u.hotelRooms
900
+ o(Wt, {
901
+ "hotel-rooms": c.hotelRooms
925
902
  }, null, 8, ["hotel-rooms"])
926
903
  ]),
927
904
  "package-type": a(() => [
928
- u.type === "PACKAGE" && u.packageType !== "REGULAR" ? (i(), S(dt, {
905
+ c.type === "PACKAGE" && c.packageType !== "REGULAR" ? (l(), S(kt, {
929
906
  key: 0,
930
907
  class: "mb-3",
931
908
  color: g.value,
932
909
  variant: "outlined"
933
910
  }, {
934
911
  description: a(() => [
935
- T(C($(s)(
936
- `HotelRoomOfferItem.packageTypes.${u.packageType}.description`,
937
- { n: P.value }
912
+ w(C(p(i)(
913
+ `HotelRoomOfferItem.packageTypes.${c.packageType}.description`,
914
+ { n: T.value }
938
915
  )), 1)
939
916
  ]),
940
917
  default: a(() => [
941
- T(C($(s)(`HotelRoomOfferItem.packageTypes.${u.packageType}.title`, {
942
- n: P.value
918
+ w(C(p(i)(`HotelRoomOfferItem.packageTypes.${c.packageType}.title`, {
919
+ n: T.value
943
920
  })) + " ", 1)
944
921
  ]),
945
922
  _: 1
946
923
  }, 8, ["color"])) : I("", !0)
947
924
  ]),
948
925
  "cancellation-policies": a(() => [
949
- o(Ie, {
926
+ o(He, {
950
927
  class: "mt-2",
951
- "cancellation-policies": u.cancellationPolicies,
928
+ "cancellation-policies": c.cancellationPolicies,
952
929
  "check-in-date": A.value,
953
- timezone: h.value
930
+ timezone: z.value
954
931
  }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
955
932
  ]),
956
933
  "breakfast-option-badge": a(() => [
957
- o(Ft, {
958
- "breakfast-option": u.breakfastCount && u.breakfastCount > 0 ? "INCLUDED" : u.breakfastOption,
959
- breakfastCount: u.breakfastCount ?? void 0
934
+ o(Gt, {
935
+ "breakfast-option": c.breakfastCount && c.breakfastCount > 0 ? "INCLUDED" : c.breakfastOption,
936
+ breakfastCount: c.breakfastCount ?? void 0
960
937
  }, null, 8, ["breakfast-option", "breakfastCount"])
961
938
  ]),
962
939
  "breakfast-option-switch": a(() => [
963
- u.type !== "HOTEL_ROOM" && u.breakfastOption === "OPTIONAL" ? (i(), f("div", Po, [
964
- o(xt, {
940
+ c.type !== "HOTEL_ROOM" && c.breakfastOption === "OPTIONAL" ? (l(), f("div", Lo, [
941
+ o(Kt, {
965
942
  modelValue: d.value,
966
- "onUpdate:modelValue": H[0] || (H[0] = (w) => d.value = w),
943
+ "onUpdate:modelValue": V[0] || (V[0] = (O) => d.value = O),
967
944
  class: "mt-3 pl-1",
968
- "is-loading": u.isLoading,
969
- price: u.breakfastUnitPrice ?? 0
970
- }, null, 8, ["modelValue", "is-loading", "price"])
945
+ currency: c.currency,
946
+ "is-loading": c.isLoading,
947
+ price: c.breakfastUnitPrice ?? 0
948
+ }, null, 8, ["modelValue", "currency", "is-loading", "price"])
971
949
  ])) : I("", !0)
972
950
  ]),
973
951
  "big-tags": a(() => [
974
- v("div", _o, [
975
- (i(!0), f(B, null, Z(M.value, (w, q) => (i(), S(dt, {
976
- key: q,
977
- color: w.bg,
978
- "pre-icon": `fa-${w.faIcon}`,
979
- "text-color": w.color,
980
- "tooltip-content": w.description
952
+ h("div", $o, [
953
+ (l(!0), f(B, null, W(M.value, (O, X) => (l(), S(kt, {
954
+ key: X,
955
+ color: O.bg,
956
+ "pre-icon": `fa-${O.faIcon}`,
957
+ "text-color": O.color,
958
+ "tooltip-content": O.description
981
959
  }, {
982
960
  default: a(() => [
983
- T(C(w.name), 1)
961
+ w(C(O.name), 1)
984
962
  ]),
985
963
  _: 2
986
964
  }, 1032, ["color", "pre-icon", "text-color", "tooltip-content"]))), 128))
987
965
  ])
988
966
  ]),
989
967
  tags: a(() => [
990
- v("div", Ho, [
991
- (i(!0), f(B, null, Z(D.value, (w, q) => (i(), S(dt, {
992
- key: q,
993
- color: w.bg,
994
- "pre-icon": `fa-${w.faIcon}`,
995
- "text-color": w.color,
996
- "tooltip-content": w.description
968
+ h("div", Do, [
969
+ (l(!0), f(B, null, W(N.value, (O, X) => (l(), S(kt, {
970
+ key: X,
971
+ color: O.bg,
972
+ "pre-icon": `fa-${O.faIcon}`,
973
+ "text-color": O.color,
974
+ "tooltip-content": O.description
997
975
  }, {
998
976
  default: a(() => [
999
- T(C(w.name), 1)
977
+ w(C(O.name), 1)
1000
978
  ]),
1001
979
  _: 2
1002
980
  }, 1032, ["color", "pre-icon", "text-color", "tooltip-content"]))), 128))
1003
981
  ])
1004
982
  ]),
1005
983
  "price-summary": a(() => [
1006
- u.type === "HOTEL_ROOM" ? (i(), f(B, { key: 0 }, [
1007
- o(V, {
984
+ c.type === "HOTEL_ROOM" ? (l(), f(B, { key: 0 }, [
985
+ o(P, {
1008
986
  class: "mt-md-8",
1009
987
  "no-gutters": ""
1010
988
  }, {
1011
989
  default: a(() => [
1012
- o(O, null, {
990
+ o(y, null, {
1013
991
  default: a(() => [
1014
- o(Ct, {
992
+ o(Ot, {
1015
993
  "adult-count": 1,
1016
994
  class: "text-right",
1017
995
  "is-tax-included": !1,
1018
996
  "night-count": 0,
1019
- price: u.price,
997
+ price: c.price,
1020
998
  "room-count": 0
1021
999
  }, null, 8, ["price"])
1022
1000
  ]),
@@ -1025,20 +1003,20 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", Io], ["__scopeId", "data-v-9a8c934
1025
1003
  ]),
1026
1004
  _: 1
1027
1005
  }),
1028
- o(V, {
1006
+ o(P, {
1029
1007
  align: "end",
1030
1008
  "no-gutters": ""
1031
1009
  }, {
1032
1010
  default: a(() => [
1033
- o(O, {
1011
+ o(y, {
1034
1012
  align: "end",
1035
1013
  class: "d-flex justify-end"
1036
1014
  }, {
1037
1015
  default: a(() => [
1038
- v("div", null, [
1039
- o(Ye, {
1040
- modelValue: W.value,
1041
- "onUpdate:modelValue": H[1] || (H[1] = (w) => W.value = w),
1016
+ h("div", null, [
1017
+ o(Xe, {
1018
+ modelValue: E.value,
1019
+ "onUpdate:modelValue": V[1] || (V[1] = (O) => E.value = O),
1042
1020
  class: "item-count mt-2",
1043
1021
  density: "compact",
1044
1022
  "hide-details": "",
@@ -1048,17 +1026,19 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", Io], ["__scopeId", "data-v-9a8c934
1048
1026
  },
1049
1027
  variant: "outlined"
1050
1028
  }, {
1051
- item: a(({ item: w, props: q }) => [
1052
- o(xe, ce(de(q)), {
1029
+ item: a(({ item: O, props: X }) => [
1030
+ o(to, ve(ke(X)), {
1053
1031
  title: a(() => [
1054
- v("span", To, [
1055
- T(C(w.raw) + " ", 1),
1056
- w.raw ? (i(), f(B, { key: 0 }, [
1057
- H[2] || (H[2] = T(" (")),
1058
- o(ft, {
1059
- amount: w.raw * u.price
1060
- }, null, 8, ["amount"]),
1061
- H[3] || (H[3] = T(") "))
1032
+ h("span", zo, [
1033
+ w(C(O.raw) + " ", 1),
1034
+ O.raw ? (l(), f(B, { key: 0 }, [
1035
+ V[2] || (V[2] = w(" (")),
1036
+ o(lt, {
1037
+ amount: O.raw * c.price,
1038
+ currency: s.currency,
1039
+ locale: p(J)
1040
+ }, null, 8, ["amount", "currency", "locale"]),
1041
+ V[3] || (V[3] = w(") "))
1062
1042
  ], 64)) : I("", !0)
1063
1043
  ])
1064
1044
  ]),
@@ -1074,47 +1054,47 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", Io], ["__scopeId", "data-v-9a8c934
1074
1054
  ]),
1075
1055
  _: 1
1076
1056
  })
1077
- ], 64)) : (i(), S(Ct, {
1057
+ ], 64)) : (l(), S(Ot, {
1078
1058
  key: 1,
1079
- "adult-count": P.value,
1059
+ "adult-count": T.value,
1080
1060
  class: "text-right",
1081
1061
  "is-tax-included": "",
1082
- "night-count": E.value ?? 0,
1083
- price: u.price,
1084
- "room-count": j.value,
1062
+ "night-count": u.value ?? 0,
1063
+ price: c.price,
1064
+ "room-count": H.value,
1085
1065
  "round-mode": "ceil",
1086
- "tax-included-price": u.taxIncludedPrice
1066
+ "tax-included-price": c.taxIncludedPrice
1087
1067
  }, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"]))
1088
1068
  ]),
1089
1069
  action: a(() => [
1090
- u.type === "PACKAGE" ? (i(), S(nt, {
1070
+ c.type === "PACKAGE" ? (l(), S(st, {
1091
1071
  key: 0,
1092
1072
  class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
1093
- color: $(y) ? "success" : "primary",
1094
- disabled: $(F) || $(_) || u.isLoading,
1073
+ color: p($) ? "success" : "primary",
1074
+ disabled: p(U) || p(j) || c.isLoading,
1095
1075
  elevation: "0",
1096
- loading: $(F),
1076
+ loading: p(U),
1097
1077
  size: "small",
1098
- onClick: et
1078
+ onClick: nt
1099
1079
  }, {
1100
1080
  default: a(() => [
1101
- $(y) ? I("", !0) : (i(), f("span", Vo, C($(s)("HotelRoomOfferItem.book")), 1)),
1102
- gt(o(st, { class: "position-absolute" }, {
1103
- default: a(() => H[4] || (H[4] = [
1104
- T(" fas fa-check ")
1081
+ p($) ? I("", !0) : (l(), f("span", qo, C(p(i)("HotelRoomOfferItem.book")), 1)),
1082
+ ht(o(at, { class: "position-absolute" }, {
1083
+ default: a(() => V[4] || (V[4] = [
1084
+ w(" fas fa-check ")
1105
1085
  ])),
1106
1086
  _: 1,
1107
1087
  __: [4]
1108
1088
  }, 512), [
1109
- [yt, $(y)]
1089
+ [gt, p($)]
1110
1090
  ])
1111
1091
  ]),
1112
1092
  _: 1
1113
- }, 8, ["color", "disabled", "loading"])) : (i(), f("span", Eo))
1093
+ }, 8, ["color", "disabled", "loading"])) : (l(), f("span", Mo))
1114
1094
  ]),
1115
1095
  _: 1
1116
1096
  }),
1117
- u.isLoading ? (i(), S(jt, {
1097
+ c.isLoading ? (l(), S(xt, {
1118
1098
  key: 0,
1119
1099
  absolute: "",
1120
1100
  class: "mx-n4",
@@ -1130,15 +1110,15 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", Io], ["__scopeId", "data-v-9a8c934
1130
1110
  ]),
1131
1111
  _: 1
1132
1112
  })) : I("", !0),
1133
- $(_) || u.gone ? (i(), S(St, {
1113
+ p(j) || c.gone ? (l(), S(St, {
1134
1114
  key: 1,
1135
1115
  "margin-top": 16
1136
1116
  }, {
1137
1117
  title: a(() => [
1138
- T(C($(s)("HotelRoomOfferItem.unavailable.title")), 1)
1118
+ w(C(p(i)("HotelRoomOfferItem.unavailable.title")), 1)
1139
1119
  ]),
1140
1120
  description: a(() => [
1141
- T(C($(s)("HotelRoomOfferItem.unavailable.description")), 1)
1121
+ w(C(p(i)("HotelRoomOfferItem.unavailable.description")), 1)
1142
1122
  ]),
1143
1123
  _: 1
1144
1124
  })) : I("", !0)
@@ -1314,270 +1294,531 @@ function Dt(t) {
1314
1294
  }
1315
1295
  });
1316
1296
  }
1317
- typeof Dt == "function" && Dt(Kt);
1318
- const Zt = /* @__PURE__ */ tt(Kt, [["__scopeId", "data-v-9997e24c"]]), Ao = J({
1319
- components: {
1320
- BHotelRoomsDetailsSkeleton: we,
1321
- BPriceSummarySkeleton: Ut
1322
- },
1323
- name: "BBasketSummaryLayout",
1324
- setup() {
1325
- const { t } = X();
1326
- return {
1327
- t
1328
- };
1329
- }
1330
- }), $o = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, Lo = { class: "text-caption d-flex justify-end py-2" }, Do = { class: "mt-3 d-flex justify-start align-center" }, qo = { class: "pt-4" };
1331
- function zo(t, e, n, s, r, k) {
1332
- const d = L("BHotelRoomsDetailsSkeleton"), l = L("BPriceSummarySkeleton");
1333
- return i(), S(V, { class: "px-2" }, {
1334
- default: a(() => [
1335
- o(O, null, {
1336
- default: a(() => [
1337
- o(V, null, {
1338
- default: a(() => [
1339
- o(O, null, {
1340
- default: a(() => [
1341
- v("div", $o, [
1342
- z(t.$slots, "title", {}, () => [
1343
- o(ot, {
1344
- height: "18px",
1345
- tile: "",
1346
- type: "heading",
1347
- width: "200px"
1348
- })
1349
- ])
1350
- ])
1351
- ]),
1352
- _: 3
1353
- })
1354
- ]),
1355
- _: 3
1356
- }),
1357
- o(V, null, {
1358
- default: a(() => [
1359
- o(O, null, {
1360
- default: a(() => [
1361
- v("div", Lo, [
1362
- z(t.$slots, "adult-count", {}, () => [
1363
- o(ot, {
1364
- tile: "",
1365
- type: "text",
1366
- width: "150px"
1367
- })
1297
+ typeof Dt == "function" && Dt(Qt);
1298
+ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), No = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, Uo = { class: "text-caption d-flex justify-end py-2" }, jo = { class: "mt-3 d-flex justify-start align-center" }, Fo = { class: "pt-4" }, zt = /* @__PURE__ */ x({
1299
+ __name: "BBasketSummaryLayout",
1300
+ setup(t) {
1301
+ return (e, s) => (l(), S(P, { class: "px-2" }, {
1302
+ default: a(() => [
1303
+ o(y, null, {
1304
+ default: a(() => [
1305
+ o(P, null, {
1306
+ default: a(() => [
1307
+ o(y, null, {
1308
+ default: a(() => [
1309
+ h("div", No, [
1310
+ L(e.$slots, "title", {}, () => [
1311
+ o(K, {
1312
+ height: "18px",
1313
+ tile: "",
1314
+ type: "heading",
1315
+ width: "200px"
1316
+ })
1317
+ ])
1368
1318
  ])
1369
1319
  ]),
1370
- v("div", Do, [
1371
- z(t.$slots, "secondary-title", {}, () => [
1372
- o(ot, {
1373
- height: "18px",
1374
- tile: "",
1375
- type: "heading",
1376
- width: "150px"
1377
- })
1320
+ _: 3
1321
+ })
1322
+ ]),
1323
+ _: 3
1324
+ }),
1325
+ o(P, null, {
1326
+ default: a(() => [
1327
+ o(y, null, {
1328
+ default: a(() => [
1329
+ h("div", Uo, [
1330
+ L(e.$slots, "adult-count", {}, () => [
1331
+ o(K, {
1332
+ tile: "",
1333
+ type: "text",
1334
+ width: "150px"
1335
+ })
1336
+ ])
1337
+ ]),
1338
+ h("div", jo, [
1339
+ L(e.$slots, "secondary-title", {}, () => [
1340
+ o(K, {
1341
+ height: "18px",
1342
+ tile: "",
1343
+ type: "heading",
1344
+ width: "150px"
1345
+ })
1346
+ ])
1378
1347
  ])
1379
- ])
1380
- ]),
1381
- _: 3
1382
- })
1383
- ]),
1384
- _: 3
1385
- }),
1386
- z(t.$slots, "hotel-rooms", {}, () => [
1387
- v("div", qo, [
1388
- (i(), f(B, null, Z(2, (m) => (i(), f(B, {
1389
- key: `item-skeleton-${m}`
1390
- }, [
1391
- v("div", null, [
1392
- o(V, { align: "center" }, {
1348
+ ]),
1349
+ _: 3
1350
+ })
1351
+ ]),
1352
+ _: 3
1353
+ }),
1354
+ L(e.$slots, "hotel-rooms", {}, () => [
1355
+ h("div", Fo, [
1356
+ (l(), f(B, null, W(2, (i) => h("div", null, [
1357
+ o(P, {
1358
+ align: "center",
1359
+ class: "pt-4"
1360
+ }, {
1393
1361
  default: a(() => [
1394
- o(O, { cols: "auto" }, {
1362
+ o(y, { cols: "auto" }, {
1395
1363
  default: a(() => [
1396
- o(d)
1364
+ o(Ee, { boilerplate: "" })
1397
1365
  ]),
1398
1366
  _: 1
1399
1367
  })
1400
1368
  ]),
1401
1369
  _: 1
1402
1370
  })
1403
- ]),
1404
- o(Q)
1405
- ], 64))), 64))
1406
- ])
1407
- ]),
1408
- o(V, null, {
1409
- default: a(() => [
1410
- o(O, null, {
1411
- default: a(() => [
1412
- z(t.$slots, "breakfast-option")
1413
- ]),
1414
- _: 3
1415
- })
1416
- ]),
1417
- _: 3
1418
- }),
1419
- o(V, { class: "mt-1" }, {
1420
- default: a(() => [
1421
- o(O, null, {
1422
- default: a(() => [
1423
- o(Q)
1424
- ]),
1425
- _: 1
1426
- })
1427
- ]),
1428
- _: 1
1429
- }),
1430
- o(V, { "no-gutters": "" }, {
1431
- default: a(() => [
1432
- o(O, null, {
1433
- default: a(() => [
1434
- z(t.$slots, "price-summary", {}, () => [
1435
- o(l)
1436
- ])
1437
- ]),
1438
- _: 3
1439
- })
1440
- ]),
1441
- _: 3
1442
- }),
1443
- o(V, null, {
1444
- default: a(() => [
1445
- o(O, { class: "py-0" }, {
1446
- default: a(() => [
1447
- z(t.$slots, "errors")
1448
- ]),
1449
- _: 3
1450
- })
1451
- ]),
1452
- _: 3
1453
- }),
1454
- o(V, null, {
1455
- default: a(() => [
1456
- o(O, { class: "pb-0" }, {
1457
- default: a(() => [
1458
- z(t.$slots, "button", {}, () => [
1459
- o(ot, {
1460
- height: "38px",
1461
- tile: "",
1462
- type: "heading",
1463
- width: "100%"
1464
- })
1465
- ])
1466
- ]),
1467
- _: 3
1468
- })
1371
+ ])), 64))
1372
+ ])
1469
1373
  ]),
1470
- _: 3
1471
- }),
1472
- o(V, null, {
1473
- default: a(() => [
1474
- o(O, null, {
1475
- default: a(() => [
1476
- z(t.$slots, "cancellation-policies", {}, () => [
1477
- o(ot, {
1478
- tile: "",
1479
- type: "paragraph",
1480
- width: "100%"
1481
- })
1482
- ])
1483
- ]),
1484
- _: 3
1485
- })
1486
- ]),
1487
- _: 3
1488
- })
1489
- ]),
1490
- _: 3
1491
- })
1492
- ]),
1493
- _: 3
1494
- });
1495
- }
1496
- const Mo = /* @__PURE__ */ tt(Ao, [["render", zo]]), Qt = J({
1497
- components: {
1498
- BBasketSummaryLayout: Mo,
1499
- BBreakfastOptionBadge: Ft,
1500
- BBreakfastSwitch: xt,
1501
- BFormattedAmount: ft,
1502
- BHotelRoomsDetails: Gt,
1503
- BPriceSummary: Ct,
1504
- CancellationPoliciesList: Ke
1505
- },
1506
- emits: ["breakfast-change", "delete-room", "submit"],
1507
- name: "BBasketSummary",
1374
+ o(P, null, {
1375
+ default: a(() => [
1376
+ o(y, null, {
1377
+ default: a(() => [
1378
+ L(e.$slots, "breakfast-option")
1379
+ ]),
1380
+ _: 3
1381
+ })
1382
+ ]),
1383
+ _: 3
1384
+ }),
1385
+ o(P, { class: "mt-1" }, {
1386
+ default: a(() => [
1387
+ o(y, null, {
1388
+ default: a(() => [
1389
+ o(Q)
1390
+ ]),
1391
+ _: 1
1392
+ })
1393
+ ]),
1394
+ _: 1
1395
+ }),
1396
+ o(P, {
1397
+ "no-gutters": "",
1398
+ class: "mt-1"
1399
+ }, {
1400
+ default: a(() => [
1401
+ o(y, null, {
1402
+ default: a(() => [
1403
+ L(e.$slots, "price-summary", {}, () => [
1404
+ o(Bt, { boilerplate: !0 })
1405
+ ])
1406
+ ]),
1407
+ _: 3
1408
+ })
1409
+ ]),
1410
+ _: 3
1411
+ }),
1412
+ o(P, null, {
1413
+ default: a(() => [
1414
+ o(y, { class: "py-0" }, {
1415
+ default: a(() => [
1416
+ L(e.$slots, "errors")
1417
+ ]),
1418
+ _: 3
1419
+ })
1420
+ ]),
1421
+ _: 3
1422
+ }),
1423
+ o(P, null, {
1424
+ default: a(() => [
1425
+ o(y, { class: "pb-0" }, {
1426
+ default: a(() => [
1427
+ L(e.$slots, "button", {}, () => [
1428
+ o(K, {
1429
+ height: "38px",
1430
+ tile: "",
1431
+ type: "heading",
1432
+ width: "100%"
1433
+ })
1434
+ ])
1435
+ ]),
1436
+ _: 3
1437
+ })
1438
+ ]),
1439
+ _: 3
1440
+ }),
1441
+ o(P, null, {
1442
+ default: a(() => [
1443
+ o(y, null, {
1444
+ default: a(() => [
1445
+ L(e.$slots, "cancellation-policies", {}, () => [
1446
+ o(K, {
1447
+ tile: "",
1448
+ type: "paragraph",
1449
+ width: "100%"
1450
+ })
1451
+ ])
1452
+ ]),
1453
+ _: 3
1454
+ })
1455
+ ]),
1456
+ _: 3
1457
+ })
1458
+ ]),
1459
+ _: 3
1460
+ })
1461
+ ]),
1462
+ _: 3
1463
+ }));
1464
+ }
1465
+ }), xo = { key: 0 }, Go = ["innerHTML"], Wo = { class: "font-weight-bold pb-2" }, Yo = { class: "mt-4 font-weight-bold" }, Zo = { class: "text-caption mb-0 text-left font-weight-bold" }, Ko = { class: "text-caption" }, Qo = {
1466
+ key: 0,
1467
+ class: "text-caption pl-2"
1468
+ }, Jo = { class: "text-caption" }, Xo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, ta = { key: 0 }, ea = { key: 1 }, Xt = /* @__PURE__ */ x({
1469
+ __name: "BBasketSummary",
1508
1470
  props: {
1509
- adultCount: { required: !0, type: Number },
1510
- checkInDate: { required: !0, type: String },
1511
- checkOutDate: { required: !0, type: String },
1512
- children: { type: String },
1513
- currency: { required: !0, type: String },
1514
- hotelRoomOffer: { required: !0, type: Object },
1515
- hotelTimezone: { type: String },
1471
+ adultCount: {},
1472
+ checkInDate: {},
1473
+ checkOutDate: {},
1474
+ children: {},
1475
+ currency: {},
1476
+ hotelRoomOffer: {},
1477
+ hotelTimezone: {},
1516
1478
  isLoading: { type: Boolean },
1517
1479
  isSubmitting: { type: Boolean },
1518
1480
  isSuccessful: { type: Boolean }
1519
1481
  },
1482
+ emits: ["breakfast-change", "delete-room", "submit"],
1520
1483
  setup(t, { emit: e }) {
1521
- var h, E;
1522
- const n = x(
1523
- ((h = t.hotelRoomOffer) == null ? void 0 : h.breakfastCount) && ((E = t.hotelRoomOffer) == null ? void 0 : E.breakfastCount) > 0 || !1
1524
- ), s = b(
1525
- () => {
1526
- var g;
1527
- return (g = t.hotelRoomOffer) == null ? void 0 : g.breakfastOption;
1528
- }
1529
- ), r = b(
1530
- () => so(t.adultCount, t.children)
1531
- ), k = b(
1532
- () => t.hotelRoomOffer.breakfastOption === Pt.Included
1533
- ), d = b(
1534
- () => t.hotelRoomOffer.breakfastOption === Pt.Optional
1535
- ), l = b(
1536
- () => t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0
1537
- ), m = b(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : ht(t.checkOutDate).diff(ht(t.checkInDate), "day")), c = b(
1538
- () => {
1539
- var g;
1540
- return _t((g = t.hotelRoomOffer) == null ? void 0 : g.hotelRooms, "count");
1541
- }
1542
- ), P = b(
1543
- () => {
1544
- var g;
1545
- return Ze(
1546
- be({
1547
- bookingDatetime: ht().format(),
1548
- cancellationPolicies: (g = t.hotelRoomOffer) == null ? void 0 : g.cancellationPolicies,
1549
- checkInDate: t.checkInDate,
1550
- timezone: t.hotelTimezone
1551
- }),
1552
- Qe.Camel
1553
- );
1554
- }
1555
- ), A = b(
1556
- () => {
1557
- var g;
1558
- return _t(
1559
- (g = t.hotelRoomOffer) == null ? void 0 : g.hotelRooms,
1560
- (j) => j.count * j.occupancy
1561
- );
1562
- }
1484
+ const { t: s } = Y(), i = e, n = t, k = F(
1485
+ n.hotelRoomOffer?.breakfastCount && n.hotelRoomOffer?.breakfastCount > 0 || !1
1486
+ ), d = b(() => n.hotelRoomOffer?.breakfastOption), r = b(
1487
+ () => bo(n.adultCount, n.children)
1488
+ ), v = b(
1489
+ () => n.hotelRoomOffer.breakfastOption === ye.Optional
1490
+ ), m = b(
1491
+ () => n.hotelRoomOffer.taxIncludedPrice - n.hotelRoomOffer.price > 0
1492
+ ), T = b(() => !n.hotelRoomOffer || !n.checkOutDate || !n.checkInDate ? 0 : vt(n.checkOutDate).diff(vt(n.checkInDate), "day")), A = b(
1493
+ () => Pt(n.hotelRoomOffer?.hotelRooms, "count")
1494
+ ), R = b(
1495
+ () => oo(
1496
+ Re({
1497
+ bookingDatetime: vt().format(),
1498
+ cancellationPolicies: n.hotelRoomOffer?.cancellationPolicies,
1499
+ checkInDate: n.checkInDate,
1500
+ timezone: n.hotelTimezone
1501
+ }),
1502
+ ao.Camel
1503
+ )
1504
+ ), z = b(
1505
+ () => Pt(
1506
+ n.hotelRoomOffer?.hotelRooms,
1507
+ (u) => u.count * u.occupancy
1508
+ )
1563
1509
  );
1564
- U(n, (g) => {
1565
- e("breakfast-change", g);
1566
- });
1567
- const { t: R } = X();
1568
- return {
1569
- addBreakfast: n,
1570
- breakfastOption: s,
1571
- guestCount: r,
1572
- isBreakfastIncluded: k,
1573
- isBreakfastOptionnal: d,
1574
- isTaxIncluded: l,
1575
- nightCount: m,
1576
- roomCount: c,
1577
- sanitizedCancellationPolicies: P,
1578
- t: R,
1579
- totalOccupancy: A
1580
- };
1510
+ return D(k, (u) => {
1511
+ i("breakfast-change", u);
1512
+ }), (u, g) => (l(), f("div", null, [
1513
+ u.isLoading ? (l(), S(xt, {
1514
+ key: 0,
1515
+ absolute: "",
1516
+ class: "mx-n3",
1517
+ scrim: "grey-lighten-4",
1518
+ opacity: "0.75"
1519
+ }, {
1520
+ default: a(() => [
1521
+ o(It, {
1522
+ color: "primary",
1523
+ indeterminate: "",
1524
+ size: "64"
1525
+ })
1526
+ ]),
1527
+ _: 1
1528
+ })) : I("", !0),
1529
+ u.hotelRoomOffer ? (l(), S(zt, { key: "filled-up" }, {
1530
+ title: a(() => [
1531
+ h("span", null, C(p(s)("BBasketSummary.title")), 1)
1532
+ ]),
1533
+ "adult-count": a(() => [
1534
+ h("span", {
1535
+ innerHTML: p(s)("BBasketSummary.totalOccupancy", { n: z.value })
1536
+ }, null, 8, Go)
1537
+ ]),
1538
+ "secondary-title": a(() => [
1539
+ h("span", Wo, C(p(s)("BBasketSummary.yourSelection")), 1)
1540
+ ]),
1541
+ "hotel-rooms": a(() => [
1542
+ (l(!0), f(B, null, W(u.hotelRoomOffer.hotelRooms, (H, E) => (l(), f("div", {
1543
+ key: `room-${E}`
1544
+ }, [
1545
+ o(P, null, {
1546
+ default: a(() => [
1547
+ o(y, {
1548
+ class: "d-flex justify-space-between",
1549
+ cols: "12"
1550
+ }, {
1551
+ default: a(() => [
1552
+ o(Wt, {
1553
+ class: yt({
1554
+ "mt-n4": E >= 1
1555
+ }),
1556
+ "hotel-rooms": [H]
1557
+ }, null, 8, ["class", "hotel-rooms"]),
1558
+ o(st, {
1559
+ class: yt({
1560
+ "mt-n4": E >= 1
1561
+ }),
1562
+ color: "red",
1563
+ icon: "",
1564
+ variant: "text",
1565
+ size: "small",
1566
+ onClick: (M) => u.$emit("delete-room", H)
1567
+ }, {
1568
+ default: a(() => [
1569
+ o(at, null, {
1570
+ default: a(() => g[7] || (g[7] = [
1571
+ w("fas fa-times")
1572
+ ])),
1573
+ _: 1,
1574
+ __: [7]
1575
+ })
1576
+ ]),
1577
+ _: 2
1578
+ }, 1032, ["class", "onClick"])
1579
+ ]),
1580
+ _: 2
1581
+ }, 1024)
1582
+ ]),
1583
+ _: 2
1584
+ }, 1024)
1585
+ ]))), 128))
1586
+ ]),
1587
+ "breakfast-option": a(() => [
1588
+ d.value ? (l(), f(B, { key: 0 }, [
1589
+ o(P, { "no-gutters": "" }, {
1590
+ default: a(() => [
1591
+ o(y, null, {
1592
+ default: a(() => [
1593
+ o(Gt, {
1594
+ "breakfast-count": u.hotelRoomOffer?.breakfastCount || void 0,
1595
+ "breakfast-option": u.hotelRoomOffer.breakfastCount && u.hotelRoomOffer.breakfastCount > 0 ? "INCLUDED" : d.value,
1596
+ class: "mr-n1"
1597
+ }, null, 8, ["breakfast-count", "breakfast-option"])
1598
+ ]),
1599
+ _: 1
1600
+ })
1601
+ ]),
1602
+ _: 1
1603
+ }),
1604
+ v.value ? (l(), S(P, {
1605
+ key: 0,
1606
+ class: "mt-2",
1607
+ "no-gutters": ""
1608
+ }, {
1609
+ default: a(() => [
1610
+ o(y, { class: "mb-2 mt-xl-0" }, {
1611
+ default: a(() => [
1612
+ o(Kt, {
1613
+ modelValue: k.value,
1614
+ "onUpdate:modelValue": g[0] || (g[0] = (H) => k.value = H),
1615
+ currency: u.currency,
1616
+ "is-loading": u.isLoading,
1617
+ price: u.hotelRoomOffer?.breakfastUnitPrice || 0
1618
+ }, null, 8, ["modelValue", "currency", "is-loading", "price"])
1619
+ ]),
1620
+ _: 1
1621
+ })
1622
+ ]),
1623
+ _: 1
1624
+ })) : I("", !0)
1625
+ ], 64)) : I("", !0)
1626
+ ]),
1627
+ "price-summary": a(() => [
1628
+ h("p", Yo, C(p(s)("BBasketSummary.priceDetails")), 1),
1629
+ o(P, {
1630
+ "no-gutters": "",
1631
+ class: "mt-1"
1632
+ }, {
1633
+ default: a(() => [
1634
+ o(y, null, {
1635
+ default: a(() => [
1636
+ h("p", Zo, C(p(s)("BBasketSummary.roomCount", {
1637
+ n: A.value,
1638
+ value: A.value
1639
+ })) + " x " + C(p(s)("BBasketSummary.nightCount", {
1640
+ n: T.value,
1641
+ value: T.value
1642
+ })), 1)
1643
+ ]),
1644
+ _: 1
1645
+ }),
1646
+ o(y, { class: "text-right" }, {
1647
+ default: a(() => [
1648
+ h("span", Ko, [
1649
+ o(lt, {
1650
+ amount: u.hotelRoomOffer.price,
1651
+ currency: u.hotelRoomOffer.currency
1652
+ }, null, 8, ["amount", "currency"])
1653
+ ])
1654
+ ]),
1655
+ _: 1
1656
+ })
1657
+ ]),
1658
+ _: 1
1659
+ }),
1660
+ o(P, {
1661
+ "no-gutters": "",
1662
+ class: "mt-n2"
1663
+ }, {
1664
+ default: a(() => [
1665
+ o(y, null, {
1666
+ default: a(() => [
1667
+ u.hotelRoomOffer.breakfastCount ? (l(), f("small", Qo, C(p(s)("BBasketSummary.breakfastIncluded", {
1668
+ n: u.hotelRoomOffer.breakfastCount,
1669
+ value: u.hotelRoomOffer.breakfastCount
1670
+ })), 1)) : I("", !0)
1671
+ ]),
1672
+ _: 1
1673
+ })
1674
+ ]),
1675
+ _: 1
1676
+ }),
1677
+ u.hotelRoomOffer.taxIncludedPrice - u.hotelRoomOffer.price > 0 ? (l(), S(P, {
1678
+ key: 0,
1679
+ "no-gutters": "",
1680
+ class: "mt-2 color-black"
1681
+ }, {
1682
+ default: a(() => [
1683
+ o(y, null, {
1684
+ default: a(() => g[8] || (g[8] = [
1685
+ h("small", { class: "text-caption text-left font-weight-bold" }, " Taxes & fees ", -1)
1686
+ ])),
1687
+ _: 1,
1688
+ __: [8]
1689
+ }),
1690
+ o(y, { class: "text-right" }, {
1691
+ default: a(() => [
1692
+ h("span", Jo, [
1693
+ o(lt, {
1694
+ amount: u.hotelRoomOffer.taxIncludedPrice - u.hotelRoomOffer.price,
1695
+ currency: u.hotelRoomOffer.currency
1696
+ }, null, 8, ["amount", "currency"])
1697
+ ])
1698
+ ]),
1699
+ _: 1
1700
+ })
1701
+ ]),
1702
+ _: 1
1703
+ })) : I("", !0),
1704
+ o(P, { class: "mt-0" }, {
1705
+ default: a(() => [
1706
+ o(y, null, {
1707
+ default: a(() => g[9] || (g[9] = [
1708
+ h("b", null, " Total ", -1)
1709
+ ])),
1710
+ _: 1,
1711
+ __: [9]
1712
+ }),
1713
+ o(y, null, {
1714
+ default: a(() => [
1715
+ o(Ot, {
1716
+ "is-tax-included": m.value,
1717
+ "night-count": 0,
1718
+ price: u.hotelRoomOffer.price,
1719
+ "tax-included-price": u.hotelRoomOffer.taxIncludedPrice,
1720
+ "room-count": A.value
1721
+ }, null, 8, ["is-tax-included", "price", "tax-included-price", "room-count"])
1722
+ ]),
1723
+ _: 1
1724
+ })
1725
+ ]),
1726
+ _: 1
1727
+ })
1728
+ ]),
1729
+ errors: a(() => [
1730
+ z.value && z.value < r.value ? (l(), S(Ke, {
1731
+ key: 0,
1732
+ class: "mb-0",
1733
+ color: "red",
1734
+ density: "compact",
1735
+ variant: "outlined"
1736
+ }, {
1737
+ default: a(() => [
1738
+ h("p", Xo, C(p(s)("BBasketSummary.occupancyWarning", {
1739
+ guestCount: r.value
1740
+ })), 1)
1741
+ ]),
1742
+ _: 1
1743
+ })) : I("", !0)
1744
+ ]),
1745
+ button: a(() => [
1746
+ o(st, {
1747
+ block: "",
1748
+ class: "text-none font-weight-bold",
1749
+ color: u.isSuccessful ? "success" : "primary",
1750
+ disabled: !u.hotelRoomOffer,
1751
+ loading: u.isSubmitting,
1752
+ onClick: g[1] || (g[1] = (H) => u.$emit("submit"))
1753
+ }, {
1754
+ default: a(() => [
1755
+ u.isSuccessful ? I("", !0) : (l(), f("span", ta, C(p(s)("BBasketSummary.book")), 1)),
1756
+ ht(o(at, { class: "position-absolute" }, {
1757
+ default: a(() => g[10] || (g[10] = [
1758
+ w(" fas fa-check ")
1759
+ ])),
1760
+ _: 1,
1761
+ __: [10]
1762
+ }, 512), [
1763
+ [gt, u.isSuccessful]
1764
+ ])
1765
+ ]),
1766
+ _: 1
1767
+ }, 8, ["color", "disabled", "loading"])
1768
+ ]),
1769
+ "cancellation-policies": a(() => [
1770
+ u.hotelRoomOffer && u.hotelRoomOffer.cancellationPolicies.length ? (l(), S(eo, {
1771
+ key: 0,
1772
+ "cancellation-policies": R.value,
1773
+ "check-in-date": u.checkInDate,
1774
+ class: "text-caption",
1775
+ timezone: u.hotelTimezone || p(co)
1776
+ }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (l(), f("span", ea))
1777
+ ]),
1778
+ _: 1
1779
+ })) : (l(), S(zt, { key: "empty" }, {
1780
+ title: a(() => [
1781
+ h("span", null, C(p(s)("BBasketSummary.title")), 1)
1782
+ ]),
1783
+ "adult-count": a(() => [
1784
+ w(C(p(s)("BBasketSummary.noSelection")), 1)
1785
+ ]),
1786
+ "secondary-title": a(() => g[2] || (g[2] = [
1787
+ h("span", null, null, -1)
1788
+ ])),
1789
+ "hotel-rooms": a(() => g[3] || (g[3] = [
1790
+ h("span", null, null, -1)
1791
+ ])),
1792
+ "price-summary": a(() => g[4] || (g[4] = [
1793
+ h("span", null, null, -1)
1794
+ ])),
1795
+ button: a(() => [
1796
+ o(st, {
1797
+ block: "",
1798
+ class: "text-none font-weight-bold",
1799
+ disabled: ""
1800
+ }, {
1801
+ default: a(() => [
1802
+ u.isSuccessful ? I("", !0) : (l(), f("span", xo, C(p(s)("BBasketSummary.book")), 1)),
1803
+ ht(o(at, { class: "position-absolute" }, {
1804
+ default: a(() => g[5] || (g[5] = [
1805
+ w(" fas fa-check ")
1806
+ ])),
1807
+ _: 1,
1808
+ __: [5]
1809
+ }, 512), [
1810
+ [gt, u.isSuccessful]
1811
+ ])
1812
+ ]),
1813
+ _: 1
1814
+ })
1815
+ ]),
1816
+ "cancellation-policies": a(() => g[6] || (g[6] = [
1817
+ h("span", null, null, -1)
1818
+ ])),
1819
+ _: 1
1820
+ }))
1821
+ ]));
1581
1822
  }
1582
1823
  });
1583
1824
  function qt(t) {
@@ -1714,337 +1955,22 @@ function qt(t) {
1714
1955
  }
1715
1956
  });
1716
1957
  }
1717
- const No = { key: 0 }, Uo = ["innerHTML"], jo = { class: "font-weight-bold pb-2" }, Fo = { class: "mt-4 font-weight-bold" }, Go = { class: "text-caption mb-0 text-left font-weight-bold" }, Wo = { class: "text-caption" }, Yo = {
1718
- key: 0,
1719
- class: "text-caption pl-2"
1720
- }, xo = { class: "text-caption" }, Ko = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Zo = { key: 0 }, Qo = { key: 1 };
1721
- function Jo(t, e, n, s, r, k) {
1722
- const d = L("BBasketSummaryLayout"), l = L("BHotelRoomsDetails"), m = L("BBreakfastOptionBadge"), c = L("BBreakfastSwitch"), P = L("BFormattedAmount"), A = L("BPriceSummary"), R = L("CancellationPoliciesList");
1723
- return i(), f("div", null, [
1724
- t.isLoading ? (i(), S(jt, {
1725
- key: 0,
1726
- absolute: "",
1727
- class: "mx-n3",
1728
- scrim: "grey-lighten-4",
1729
- opacity: "0.75"
1730
- }, {
1731
- default: a(() => [
1732
- o(It, {
1733
- color: "primary",
1734
- indeterminate: "",
1735
- size: "64"
1736
- })
1737
- ]),
1738
- _: 1
1739
- })) : I("", !0),
1740
- t.hotelRoomOffer ? (i(), S(d, { key: "filled-up" }, {
1741
- title: a(() => [
1742
- v("span", null, C(t.t("BBasketSummary.title")), 1)
1743
- ]),
1744
- "adult-count": a(() => [
1745
- v("span", {
1746
- innerHTML: t.t("BBasketSummary.totalOccupancy", { n: t.totalOccupancy })
1747
- }, null, 8, Uo)
1748
- ]),
1749
- "secondary-title": a(() => [
1750
- v("span", jo, C(t.t("BBasketSummary.yourSelection")), 1)
1751
- ]),
1752
- "hotel-rooms": a(() => [
1753
- (i(!0), f(B, null, Z(t.hotelRoomOffer.hotelRooms, (h, E) => (i(), f("div", {
1754
- key: `room-${E}`
1755
- }, [
1756
- o(V, null, {
1757
- default: a(() => [
1758
- o(O, {
1759
- class: "d-flex justify-space-between",
1760
- cols: "12"
1761
- }, {
1762
- default: a(() => [
1763
- o(l, {
1764
- class: Rt({
1765
- "mt-n4": E >= 1
1766
- }),
1767
- "hotel-rooms": [h]
1768
- }, null, 8, ["class", "hotel-rooms"]),
1769
- o(nt, {
1770
- class: Rt({
1771
- "mt-n4": E >= 1
1772
- }),
1773
- color: "red",
1774
- icon: "",
1775
- variant: "text",
1776
- size: "small",
1777
- onClick: (g) => t.$emit("delete-room", h)
1778
- }, {
1779
- default: a(() => [
1780
- o(st, null, {
1781
- default: a(() => e[7] || (e[7] = [
1782
- T("fas fa-times")
1783
- ])),
1784
- _: 1,
1785
- __: [7]
1786
- })
1787
- ]),
1788
- _: 2
1789
- }, 1032, ["class", "onClick"])
1790
- ]),
1791
- _: 2
1792
- }, 1024)
1793
- ]),
1794
- _: 2
1795
- }, 1024)
1796
- ]))), 128))
1797
- ]),
1798
- "breakfast-option": a(() => [
1799
- t.breakfastOption ? (i(), f(B, { key: 0 }, [
1800
- o(V, { "no-gutters": "" }, {
1801
- default: a(() => [
1802
- o(O, null, {
1803
- default: a(() => [
1804
- o(m, {
1805
- "breakfast-count": t.hotelRoomOffer.breakfastCount,
1806
- "breakfast-option": t.hotelRoomOffer.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? "INCLUDED" : t.breakfastOption,
1807
- class: "mr-n1"
1808
- }, null, 8, ["breakfast-count", "breakfast-option"])
1809
- ]),
1810
- _: 1
1811
- })
1812
- ]),
1813
- _: 1
1814
- }),
1815
- t.isBreakfastOptionnal ? (i(), S(V, {
1816
- key: 0,
1817
- class: "mt-2",
1818
- "no-gutters": ""
1819
- }, {
1820
- default: a(() => [
1821
- o(O, { class: "mb-2 mt-xl-0" }, {
1822
- default: a(() => [
1823
- o(c, {
1824
- modelValue: t.addBreakfast,
1825
- "onUpdate:modelValue": e[0] || (e[0] = (h) => t.addBreakfast = h),
1826
- loading: t.isLoading && "success",
1827
- price: t.hotelRoomOffer.breakfastUnitPrice
1828
- }, null, 8, ["modelValue", "loading", "price"])
1829
- ]),
1830
- _: 1
1831
- })
1832
- ]),
1833
- _: 1
1834
- })) : I("", !0)
1835
- ], 64)) : I("", !0)
1836
- ]),
1837
- "price-summary": a(() => [
1838
- v("p", Fo, C(t.t("BBasketSummary.priceDetails")), 1),
1839
- o(V, {
1840
- "no-gutters": "",
1841
- class: "mt-1"
1842
- }, {
1843
- default: a(() => [
1844
- o(O, null, {
1845
- default: a(() => [
1846
- v("p", Go, C(t.t("BBasketSummary.roomCount", {
1847
- n: t.roomCount,
1848
- value: t.roomCount
1849
- })) + " x " + C(t.t("BBasketSummary.nightCount", {
1850
- n: t.nightCount,
1851
- value: t.nightCount
1852
- })), 1)
1853
- ]),
1854
- _: 1
1855
- }),
1856
- o(O, { class: "text-right" }, {
1857
- default: a(() => [
1858
- v("span", Wo, [
1859
- o(P, {
1860
- amount: t.hotelRoomOffer.price
1861
- }, null, 8, ["amount"])
1862
- ])
1863
- ]),
1864
- _: 1
1865
- })
1866
- ]),
1867
- _: 1
1868
- }),
1869
- o(V, {
1870
- "no-gutters": "",
1871
- class: "mt-n2"
1872
- }, {
1873
- default: a(() => [
1874
- o(O, null, {
1875
- default: a(() => [
1876
- t.hotelRoomOffer.breakfastCount ? (i(), f("small", Yo, C(t.t("BBasketSummary.breakfastIncluded", {
1877
- n: t.hotelRoomOffer.breakfastCount,
1878
- value: t.hotelRoomOffer.breakfastCount
1879
- })), 1)) : I("", !0)
1880
- ]),
1881
- _: 1
1882
- })
1883
- ]),
1884
- _: 1
1885
- }),
1886
- t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (i(), S(V, {
1887
- key: 0,
1888
- "no-gutters": "",
1889
- class: "mt-2 color-black"
1890
- }, {
1891
- default: a(() => [
1892
- o(O, null, {
1893
- default: a(() => e[8] || (e[8] = [
1894
- v("small", { class: "text-caption text-left font-weight-bold" }, " Taxes & fees ", -1)
1895
- ])),
1896
- _: 1,
1897
- __: [8]
1898
- }),
1899
- o(O, { class: "text-right" }, {
1900
- default: a(() => [
1901
- v("span", xo, [
1902
- o(P, {
1903
- amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price
1904
- }, null, 8, ["amount"])
1905
- ])
1906
- ]),
1907
- _: 1
1908
- })
1909
- ]),
1910
- _: 1
1911
- })) : I("", !0),
1912
- o(V, { class: "mt-0" }, {
1913
- default: a(() => [
1914
- o(O, null, {
1915
- default: a(() => e[9] || (e[9] = [
1916
- v("b", null, " Total ", -1)
1917
- ])),
1918
- _: 1,
1919
- __: [9]
1920
- }),
1921
- o(O, null, {
1922
- default: a(() => [
1923
- o(A, {
1924
- "is-tax-included": t.isTaxIncluded,
1925
- "night-count": 0,
1926
- price: t.hotelRoomOffer.price,
1927
- "tax-included-price": t.hotelRoomOffer.taxIncludedPrice,
1928
- "room-count": t.roomCount
1929
- }, null, 8, ["is-tax-included", "price", "tax-included-price", "room-count"])
1930
- ]),
1931
- _: 1
1932
- })
1933
- ]),
1934
- _: 1
1935
- })
1936
- ]),
1937
- errors: a(() => [
1938
- t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(), S(Ue, {
1939
- key: 0,
1940
- class: "mb-0",
1941
- color: "red",
1942
- density: "compact",
1943
- variant: "outlined"
1944
- }, {
1945
- default: a(() => [
1946
- v("p", Ko, C(t.t("BBasketSummary.occupancyWarning", {
1947
- guestCount: t.guestCount
1948
- })), 1)
1949
- ]),
1950
- _: 1
1951
- })) : I("", !0)
1952
- ]),
1953
- button: a(() => [
1954
- o(nt, {
1955
- block: "",
1956
- class: "text-none font-weight-bold",
1957
- color: t.isSuccessful ? "success" : "primary",
1958
- disabled: !t.hotelRoomOffer,
1959
- loading: t.isSubmitting,
1960
- onClick: e[1] || (e[1] = (h) => t.$emit("submit"))
1961
- }, {
1962
- default: a(() => [
1963
- t.isSuccessful ? I("", !0) : (i(), f("span", Zo, C(t.t("BBasketSummary.book")), 1)),
1964
- gt(o(st, { class: "position-absolute" }, {
1965
- default: a(() => e[10] || (e[10] = [
1966
- T(" fas fa-check ")
1967
- ])),
1968
- _: 1,
1969
- __: [10]
1970
- }, 512), [
1971
- [yt, t.isSuccessful]
1972
- ])
1973
- ]),
1974
- _: 1
1975
- }, 8, ["color", "disabled", "loading"])
1976
- ]),
1977
- "cancellation-policies": a(() => [
1978
- t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (i(), S(R, {
1979
- key: 0,
1980
- "cancellation-policies": t.sanitizedCancellationPolicies,
1981
- "check-in-date": t.checkInDate,
1982
- class: "text-caption",
1983
- timezone: t.hotelTimezone
1984
- }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (i(), f("span", Qo))
1985
- ]),
1986
- _: 1
1987
- })) : (i(), S(d, { key: "empty" }, {
1988
- title: a(() => [
1989
- v("span", null, C(t.t("BBasketSummary.title")), 1)
1990
- ]),
1991
- "adult-count": a(() => [
1992
- T(C(t.t("BBasketSummary.noSelection")), 1)
1993
- ]),
1994
- "secondary-title": a(() => e[2] || (e[2] = [
1995
- v("span", null, null, -1)
1996
- ])),
1997
- "hotel-rooms": a(() => e[3] || (e[3] = [
1998
- v("span", null, null, -1)
1999
- ])),
2000
- "price-summary": a(() => e[4] || (e[4] = [
2001
- v("span", null, null, -1)
2002
- ])),
2003
- button: a(() => [
2004
- o(nt, {
2005
- block: "",
2006
- class: "text-none font-weight-bold",
2007
- disabled: ""
2008
- }, {
2009
- default: a(() => [
2010
- t.isSuccessful ? I("", !0) : (i(), f("span", No, C(t.t("BBasketSummary.book")), 1)),
2011
- gt(o(st, { class: "position-absolute" }, {
2012
- default: a(() => e[5] || (e[5] = [
2013
- T(" fas fa-check ")
2014
- ])),
2015
- _: 1,
2016
- __: [5]
2017
- }, 512), [
2018
- [yt, t.isSuccessful]
2019
- ])
2020
- ]),
2021
- _: 1
2022
- })
2023
- ]),
2024
- "cancellation-policies": a(() => e[6] || (e[6] = [
2025
- v("span", null, null, -1)
2026
- ])),
2027
- _: 1
2028
- }))
2029
- ]);
2030
- }
2031
- typeof qt == "function" && qt(Qt);
2032
- const Xo = /* @__PURE__ */ tt(Qt, [["render", Jo]]), ta = {
1958
+ typeof qt == "function" && qt(Xt);
1959
+ const oa = {
2033
1960
  hotelId: {
2034
1961
  required: !0,
2035
1962
  type: String
2036
1963
  }
2037
- }, ea = J({
1964
+ }, aa = x({
2038
1965
  components: {
2039
- BBasketSummary: Xo,
2040
- HotelRoomOfferItem: Zt,
2041
- HotelRoomOfferItemLayout: kt
1966
+ BBasketSummary: Xt,
1967
+ HotelRoomOfferItem: Jt,
1968
+ HotelRoomOfferItemLayout: _t
2042
1969
  },
2043
1970
  computed: {
2044
- ...ke(pt, bt),
1971
+ ...Ce(bt, ft),
2045
1972
  adultCount() {
2046
- var t;
2047
- return (t = this.hotelRoomOfferRequest) == null ? void 0 : t.adultCount;
1973
+ return this.hotelRoomOfferRequest?.adultCount;
2048
1974
  },
2049
1975
  currency() {
2050
1976
  return window.RevolugoElements.config.currency;
@@ -2056,13 +1982,12 @@ const Xo = /* @__PURE__ */ tt(Qt, [["render", Jo]]), ta = {
2056
1982
  );
2057
1983
  },
2058
1984
  hotelRoomOffers() {
2059
- var t, e;
2060
- return ((e = (t = this.$store.get(
1985
+ return this.$store.get(
2061
1986
  "hotelRoomOffers/hotelRoomOffers",
2062
1987
  this.hotelId
2063
- )) == null ? void 0 : t.offers) == null ? void 0 : e.filter(
2064
- (n) => n.type === Ot.HotelRoom
2065
- )) || null;
1988
+ )?.offers?.filter(
1989
+ (t) => t.type === Rt.HotelRoom
1990
+ ) || null;
2066
1991
  },
2067
1992
  hotelTimezone() {
2068
1993
  return this.$store.get("hotelRoomOffers/hotelTimezone", this.hotelId);
@@ -2078,61 +2003,59 @@ const Xo = /* @__PURE__ */ tt(Qt, [["render", Jo]]), ta = {
2078
2003
  },
2079
2004
  methods: {
2080
2005
  async createHotelRoomOfferPackage() {
2081
- var e;
2082
2006
  this.isLoading = !0;
2083
- const t = this.basketContent.map((n) => ({
2084
- count: n.count,
2085
- hotelRoomOfferId: n.hotelRoomOfferId
2086
- })).filter((n) => n.count > 0);
2007
+ const t = this.basketContent.map((e) => ({
2008
+ count: e.count,
2009
+ hotelRoomOfferId: e.hotelRoomOfferId
2010
+ })).filter((e) => e.count > 0);
2087
2011
  try {
2088
- this.newCreatedPackage = await ((e = this.bookingApiClient) == null ? void 0 : e.hotelRoomOffers.create({
2012
+ this.newCreatedPackage = await this.bookingApiClient?.hotelRoomOffers.create({
2089
2013
  hotelRoomOffersCreateApi: {
2090
2014
  addBreakfast: this.addBreakfast,
2091
2015
  currency: this.currency,
2092
2016
  hotelRoomOffers: t
2093
2017
  }
2094
- }));
2095
- } catch (n) {
2096
- throw this.isLoading = !1, n;
2018
+ });
2019
+ } catch (e) {
2020
+ throw this.isLoading = !1, e;
2097
2021
  }
2098
2022
  this.isLoading = !1;
2099
2023
  },
2100
2024
  onBasketUpdate(t, e) {
2101
- const n = {
2025
+ const s = {
2102
2026
  count: e,
2103
2027
  hotelRoomId: t.hotelRooms[0].id,
2104
2028
  hotelRoomOfferId: t.id
2105
- }, s = this.basketContent.findIndex(
2106
- (r) => r.hotelRoomOfferId === n.hotelRoomOfferId
2029
+ }, i = this.basketContent.findIndex(
2030
+ (n) => n.hotelRoomOfferId === s.hotelRoomOfferId
2107
2031
  );
2108
- s === -1 ? e === 0 ? [
2109
- ...this.basketContent.slice(0, s),
2110
- ...this.basketContent.slice(s + 1)
2111
- ] : this.basketContent.splice(s, 1) : this.basketContent.push(n);
2032
+ i === -1 ? e === 0 ? [
2033
+ ...this.basketContent.slice(0, i),
2034
+ ...this.basketContent.slice(i + 1)
2035
+ ] : this.basketContent.splice(i, 1) : this.basketContent.push(s);
2112
2036
  },
2113
2037
  onBreakfastChange(t) {
2114
2038
  this.addBreakfast = t;
2115
2039
  },
2116
2040
  onDeleteRoom(t) {
2117
2041
  const e = this.basketContent.findIndex(
2118
- (n) => n.hotelRoomId === t.id
2042
+ (s) => s.hotelRoomId === t.id
2119
2043
  );
2120
2044
  this.basketContent[e].count = 0;
2121
2045
  },
2122
2046
  async onSubmit() {
2123
- var t;
2124
- (t = this.newCreatedPackage) != null && t.hotelRoomOffer.id && (this.isLoading = !0, await this.createBookingPolicy({
2047
+ this.newCreatedPackage?.hotelRoomOffer.id && (this.isLoading = !0, await this.createBookingPolicy({
2125
2048
  addBreakfast: this.addBreakfast,
2126
2049
  hotelId: this.hotelId,
2127
2050
  hotelRoomOfferId: this.newCreatedPackage.hotelRoomOffer.id
2128
2051
  }), await this.createHotelRoomOfferPackage(), this.isLoading = !1);
2129
2052
  }
2130
2053
  },
2131
- mixins: [pe, Be()],
2054
+ mixins: [Oe, so()],
2132
2055
  name: "HotelRoomOfferBasket",
2133
- props: ta,
2056
+ props: oa,
2134
2057
  setup() {
2135
- const { t } = X();
2058
+ const { t } = Y();
2136
2059
  return {
2137
2060
  t
2138
2061
  };
@@ -2145,7 +2068,7 @@ const Xo = /* @__PURE__ */ tt(Qt, [["render", Jo]]), ta = {
2145
2068
  deep: !0,
2146
2069
  handler(t) {
2147
2070
  t.reduce(
2148
- (n, s) => n + s.count,
2071
+ (s, i) => s + i.count,
2149
2072
  0
2150
2073
  ) === 0 ? this.newCreatedPackage = void 0 : this.createHotelRoomOfferPackage();
2151
2074
  },
@@ -2163,21 +2086,21 @@ const Xo = /* @__PURE__ */ tt(Qt, [["render", Jo]]), ta = {
2163
2086
  }
2164
2087
  }
2165
2088
  });
2166
- function oa(t, e, n, s, r, k) {
2167
- const d = L("HotelRoomOfferItem"), l = L("BBasketSummary");
2168
- return i(), S(V, { "no-gutters": "" }, {
2089
+ function sa(t, e, s, i, n, k) {
2090
+ const d = ot("HotelRoomOfferItem"), r = ot("BBasketSummary");
2091
+ return l(), S(P, { "no-gutters": "" }, {
2169
2092
  default: a(() => [
2170
- o(O, {
2093
+ o(y, {
2171
2094
  cols: "12",
2172
2095
  md: "8"
2173
2096
  }, {
2174
2097
  default: a(() => [
2175
- t.hotelRoomOffers.length && t.basketContent.length ? (i(!0), f(B, { key: 0 }, Z(t.hotelRoomOffers, (m, c) => (i(), f(B, null, [
2176
- c > 0 ? (i(), S(Q, { key: 0 })) : I("", !0),
2177
- o(d, G({
2178
- modelValue: t.basketContent[c].count,
2179
- "onUpdate:modelValue": (P) => t.basketContent[c].count = P
2180
- }, { ref_for: !0 }, m), null, 16, ["modelValue", "onUpdate:modelValue"])
2098
+ t.hotelRoomOffers.length && t.basketContent.length ? (l(!0), f(B, { key: 0 }, W(t.hotelRoomOffers, (v, m) => (l(), f(B, null, [
2099
+ m > 0 ? (l(), S(Q, { key: 0 })) : I("", !0),
2100
+ o(d, q({
2101
+ modelValue: t.basketContent[m].count,
2102
+ "onUpdate:modelValue": (T) => t.basketContent[m].count = T
2103
+ }, { ref_for: !0 }, v), null, 16, ["modelValue", "onUpdate:modelValue"])
2181
2104
  ], 64))), 256)) : I("", !0)
2182
2105
  ]),
2183
2106
  _: 1
@@ -2186,14 +2109,14 @@ function oa(t, e, n, s, r, k) {
2186
2109
  class: "d-none d-md-block",
2187
2110
  vertical: ""
2188
2111
  }),
2189
- o(O, {
2112
+ o(y, {
2190
2113
  class: "mt-3",
2191
2114
  cols: "12",
2192
2115
  md: "4"
2193
2116
  }, {
2194
2117
  default: a(() => [
2195
2118
  o(Q, { class: "d-block d-md-none my-2" }),
2196
- o(l, G(t.newCreatedPackage, {
2119
+ o(r, q(t.newCreatedPackage, {
2197
2120
  "adult-count": t.adultCount,
2198
2121
  "hotel-timezone": t.hotelTimezone,
2199
2122
  "is-loading": t.isLoading,
@@ -2210,32 +2133,55 @@ function oa(t, e, n, s, r, k) {
2210
2133
  _: 1
2211
2134
  });
2212
2135
  }
2213
- const aa = /* @__PURE__ */ tt(ea, [["render", oa], ["__scopeId", "data-v-ee0e3c98"]]), sa = {
2214
- boilerplateSkeleton: {
2215
- type: Boolean
2216
- },
2217
- itemCount: {
2218
- default: 3,
2219
- type: Number
2220
- },
2221
- type: {
2222
- type: String
2223
- }
2224
- }, Jt = J({
2136
+ const ia = /* @__PURE__ */ it(aa, [["render", sa], ["__scopeId", "data-v-ee0e3c98"]]), na = x({
2225
2137
  components: {
2226
- BErrorOverlay: St,
2227
- HotelRoomOfferItemLayout: kt
2138
+ BPriceSummarySkeleton: Bt
2139
+ },
2140
+ mixins: [jt],
2141
+ name: "HotelRoomOfferLayout",
2142
+ props: {
2143
+ boilerplate: { type: Boolean }
2228
2144
  },
2229
- name: "HotelRoomOfferListEmpty",
2230
- props: sa,
2231
2145
  setup() {
2232
- const { t } = X();
2146
+ const { t } = Y();
2233
2147
  return {
2234
2148
  t
2235
2149
  };
2236
2150
  }
2151
+ }), te = /* @__PURE__ */ x({
2152
+ __name: "HotelRoomOfferListEmpty",
2153
+ props: {
2154
+ boilerplateSkeleton: { type: Boolean },
2155
+ itemCount: { default: 3 },
2156
+ type: {}
2157
+ },
2158
+ setup(t) {
2159
+ const { t: e } = Y();
2160
+ return (s, i) => (l(), f("div", null, [
2161
+ (l(!0), f(B, null, W(s.itemCount, (n) => (l(), f(B, { key: n }, [
2162
+ n > 1 ? (l(), S(Q, { key: 0 })) : I("", !0),
2163
+ o(p(na), {
2164
+ boilerplate: s.boilerplateSkeleton,
2165
+ class: yt({ "mt-0": n === 1, "mb-0": n === 3 })
2166
+ }, null, 8, ["boilerplate", "class"])
2167
+ ], 64))), 128)),
2168
+ s.type ? (l(), S(St, {
2169
+ key: 0,
2170
+ "min-height": "300px",
2171
+ "z-index": 50
2172
+ }, {
2173
+ title: a(() => [
2174
+ w(C(p(e)(`HotelRoomOfferListEmpty.${s.type}.title`)), 1)
2175
+ ]),
2176
+ description: a(() => [
2177
+ w(C(p(e)(`HotelRoomOfferListEmpty.${s.type}.description`)), 1)
2178
+ ]),
2179
+ _: 1
2180
+ })) : I("", !0)
2181
+ ]));
2182
+ }
2237
2183
  });
2238
- function zt(t) {
2184
+ function Mt(t) {
2239
2185
  const e = t;
2240
2186
  e.__i18n = e.__i18n || [], e.__i18n.push({
2241
2187
  locale: "",
@@ -2355,136 +2301,93 @@ function zt(t) {
2355
2301
  }
2356
2302
  });
2357
2303
  }
2358
- function na(t, e, n, s, r, k) {
2359
- const d = L("HotelRoomOfferItemLayout"), l = L("BErrorOverlay");
2360
- return i(), f("div", null, [
2361
- (i(!0), f(B, null, Z(t.itemCount, (m) => (i(), f(B, { key: m }, [
2362
- m > 1 ? (i(), S(Q, { key: 0 })) : I("", !0),
2363
- o(d, {
2364
- boilerplate: t.boilerplateSkeleton,
2365
- class: Rt({ "mt-0": m === 1, "mb-0": m === 3 })
2366
- }, null, 8, ["boilerplate", "class"])
2367
- ], 64))), 128)),
2368
- t.type ? (i(), S(l, { key: 0 }, {
2369
- title: a(() => [
2370
- T(C(t.t(`HotelRoomOfferListEmpty.${t.type}.title`)), 1)
2371
- ]),
2372
- description: a(() => [
2373
- T(C(t.t(`HotelRoomOfferListEmpty.${t.type}.description`)), 1)
2374
- ]),
2375
- _: 1
2376
- })) : I("", !0)
2377
- ]);
2378
- }
2379
- typeof zt == "function" && zt(Jt);
2380
- const ia = /* @__PURE__ */ tt(Jt, [["render", na]]), la = {
2304
+ typeof Mt == "function" && Mt(te);
2305
+ const ee = {
2381
2306
  OnlyMatchingRoomCount: !1
2382
- }, ra = {
2383
- ...Se,
2307
+ }, la = {
2308
+ ...Te,
2384
2309
  features: {
2385
- default: () => la,
2310
+ default: () => ee,
2386
2311
  type: [Object, String]
2387
2312
  },
2388
2313
  limit: {
2389
2314
  default: () => 0,
2390
2315
  type: Number
2391
2316
  }
2392
- }, Xt = J({
2317
+ }, oe = x({
2393
2318
  components: {
2394
2319
  BErrorOverlay: St,
2395
- HotelRoomOfferBasket: aa,
2396
- HotelRoomOfferItem: Zt,
2397
- HotelRoomOfferItemLayout: kt,
2398
- HotelRoomOfferListEmpty: ia
2320
+ HotelRoomOfferBasket: ia,
2321
+ HotelRoomOfferItem: Jt,
2322
+ HotelRoomOfferItemLayout: _t,
2323
+ HotelRoomOfferListEmpty: te
2399
2324
  },
2400
2325
  name: "HotelRoomOfferList",
2401
- props: ra,
2326
+ props: la,
2402
2327
  // eslint-disable-next-line max-lines-per-function
2403
2328
  setup(t) {
2404
- const { t: e } = X(), n = bt(), s = pt(), r = x(null), k = x(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), d = ro({
2405
- fallbackValue: {
2406
- OnlyMatchingRoomCount: !1
2407
- },
2329
+ const { t: e } = Y(), s = ft(), i = bt(), n = F(null), k = F(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), d = ho({
2330
+ fallbackValue: ee,
2408
2331
  prop: b(() => t.features)
2409
- }), l = (p) => p.hotelRooms.reduce((y, _) => y + _.count, 0), m = b(() => s.hotelRoomOfferRequest(t.hotelId)), c = b(
2410
- () => n.hotelRoomOffers(t.hotelId)
2411
- ), P = b(
2412
- () => {
2413
- var p, y;
2414
- return !!((p = m.value) != null && p.hasError || (y = c.value) != null && y.hasError);
2415
- }
2332
+ }), r = (_) => _.hotelRooms.reduce(($, j) => $ + j.count, 0), v = b(() => i.hotelRoomOfferRequest(t.hotelId)), m = b(
2333
+ () => s.hotelRoomOffers(t.hotelId)
2334
+ ), T = b(
2335
+ () => !!(v.value?.hasError || m.value?.hasError)
2416
2336
  ), A = b(
2417
- () => {
2418
- var p, y;
2419
- return ((y = (p = c.value) == null ? void 0 : p.offers) == null ? void 0 : y.filter(
2420
- (_) => _.type === Ot.HotelRoom
2421
- )) || [];
2422
- }
2337
+ () => m.value?.offers?.filter(
2338
+ (_) => _.type === Rt.HotelRoom
2339
+ ) || []
2423
2340
  ), R = b(() => {
2424
- var y, _;
2425
- const p = (_ = (y = c.value) == null ? void 0 : y.offers) == null ? void 0 : _.filter(
2426
- (F) => F.type === Ot.Package
2427
- ).filter((F) => {
2428
- var et, N;
2429
- return (et = d.value) != null && et.OnlyMatchingRoomCount ? l(F) === ((N = m.value) == null ? void 0 : N.roomCount) : !0;
2430
- });
2431
- return (p == null ? void 0 : p.slice(0, t.limit || p.length)) || [];
2432
- }), h = b(
2433
- () => {
2434
- var p, y;
2435
- return !!((p = c.value) != null && p.isPolling) && !!((y = R.value) != null && y.length);
2436
- }
2437
- ), E = b(
2438
- () => {
2439
- var p, y, _, F;
2440
- return !((p = m.value) != null && p.id) || (!!((y = m.value) != null && y.isFetching) || !!((_ = c.value) != null && _.isPolling)) && !((F = R.value) != null && F.length);
2441
- }
2341
+ const _ = m.value?.offers?.filter(
2342
+ ($) => $.type === Rt.Package
2343
+ ).filter(($) => d.value?.OnlyMatchingRoomCount ? r($) === v.value?.roomCount : !0);
2344
+ return _?.slice(0, t.limit || _.length) || [];
2345
+ }), z = b(
2346
+ () => !!m.value?.isPolling && !!R.value?.length
2347
+ ), u = b(
2348
+ () => !v.value?.id || (!!v.value?.isFetching || !!m.value?.isPolling) && !R.value?.length
2442
2349
  ), g = async ({
2443
- addBreakfast: p,
2444
- hotelId: y,
2445
- id: _
2350
+ addBreakfast: _,
2351
+ hotelId: $,
2352
+ id: j
2446
2353
  }) => {
2447
- await n.reifyHotelRoomOffer({
2448
- addBreakfast: p,
2449
- hotelId: y,
2450
- id: _
2354
+ await s.reifyHotelRoomOffer({
2355
+ addBreakfast: _,
2356
+ hotelId: $,
2357
+ id: j
2451
2358
  });
2452
- }, j = async (p) => {
2453
- var y;
2454
- if (!((y = m.value) != null && y.id)) {
2455
- n.resetHotelRoomOffers({
2359
+ }, H = async (_) => {
2360
+ if (!v.value?.id) {
2361
+ s.resetHotelRoomOffers({
2456
2362
  hotelId: t.hotelId
2457
2363
  });
2458
2364
  return;
2459
2365
  }
2460
- await n.retrieveHotelRoomOffers({
2366
+ await s.retrieveHotelRoomOffers({
2461
2367
  hotelId: t.hotelId,
2462
- hotelRoomOfferRequestId: m.value.id,
2463
- inProgressHotelRoomOfferIds: p
2368
+ hotelRoomOfferRequestId: v.value.id,
2369
+ inProgressHotelRoomOfferIds: _
2464
2370
  });
2465
2371
  };
2466
- async function W(p) {
2467
- await j([p]);
2372
+ async function E(_) {
2373
+ await H([_]);
2468
2374
  }
2469
- U(
2470
- () => {
2471
- var p;
2472
- return (p = m.value) == null ? void 0 : p.id;
2473
- },
2375
+ D(
2376
+ () => v.value?.id,
2474
2377
  async () => {
2475
- await j();
2378
+ await H();
2476
2379
  },
2477
2380
  { immediate: !0 }
2478
2381
  );
2479
- const { bookingApiClient: M, config: D } = ve();
2480
- U(
2481
- () => [M.value, D.value.currency, D.value.lang],
2382
+ const { bookingApiClient: M, config: N } = Be();
2383
+ D(
2384
+ () => [M.value, N.value.currency, N.value.lang],
2482
2385
  async () => {
2483
- await j();
2386
+ await H();
2484
2387
  },
2485
2388
  { immediate: !0 }
2486
2389
  );
2487
- const Y = ko({
2390
+ const Z = So({
2488
2391
  adultCount: t.adultCount,
2489
2392
  checkInDate: t.checkInDate,
2490
2393
  checkOutDate: t.checkOutDate,
@@ -2494,21 +2397,21 @@ const ia = /* @__PURE__ */ tt(Jt, [["render", na]]), la = {
2494
2397
  sourceMarket: t.sourceMarket
2495
2398
  });
2496
2399
  return {
2497
- hasError: P,
2400
+ hasError: T,
2498
2401
  hotelRoomHotelRoomOffers: A,
2499
- isLoading: h,
2402
+ isLoading: z,
2500
2403
  onBreakfastChange: g,
2501
2404
  packageHotelRoomOffers: R,
2502
- showSkeleton: E,
2405
+ showSkeleton: u,
2503
2406
  t: e,
2504
- tab: r,
2407
+ tab: n,
2505
2408
  tabItems: k,
2506
- ...Y,
2507
- onBookingPolicyFailed: W
2409
+ ...Z,
2410
+ onBookingPolicyFailed: E
2508
2411
  };
2509
2412
  }
2510
2413
  });
2511
- function Mt(t) {
2414
+ function Nt(t) {
2512
2415
  const e = t;
2513
2416
  e.__i18n = e.__i18n || [], e.__i18n.push({
2514
2417
  locale: "",
@@ -2586,7 +2489,7 @@ function Mt(t) {
2586
2489
  }
2587
2490
  });
2588
2491
  }
2589
- const wt = Symbol.for("vuetify:v-tabs"), ua = lt({
2492
+ const wt = Symbol.for("vuetify:v-tabs"), ra = ut({
2590
2493
  fixed: Boolean,
2591
2494
  sliderColor: String,
2592
2495
  hideSlider: Boolean,
@@ -2594,134 +2497,126 @@ const wt = Symbol.for("vuetify:v-tabs"), ua = lt({
2594
2497
  type: String,
2595
2498
  default: "horizontal"
2596
2499
  },
2597
- ...Nt(We({
2500
+ ...Ft(Qe({
2598
2501
  selectedClass: "v-tab--selected",
2599
2502
  variant: "text"
2600
2503
  }), ["active", "block", "flat", "location", "position", "symbol"])
2601
- }, "VTab"), te = it()({
2504
+ }, "VTab"), ae = rt()({
2602
2505
  name: "VTab",
2603
- props: ua(),
2506
+ props: ra(),
2604
2507
  setup(t, e) {
2605
2508
  let {
2606
- slots: n,
2607
- attrs: s
2509
+ slots: s,
2510
+ attrs: i
2608
2511
  } = e;
2609
2512
  const {
2610
- textColorClasses: r,
2513
+ textColorClasses: n,
2611
2514
  textColorStyles: k
2612
- } = Pe(t, "sliderColor"), d = x(), l = x(), m = b(() => t.direction === "horizontal"), c = b(() => {
2613
- var A, R;
2614
- return ((R = (A = d.value) == null ? void 0 : A.group) == null ? void 0 : R.isSelected.value) ?? !1;
2615
- });
2616
- function P(A) {
2617
- var h, E;
2515
+ } = Ve(t, "sliderColor"), d = F(), r = F(), v = b(() => t.direction === "horizontal"), m = b(() => d.value?.group?.isSelected.value ?? !1);
2516
+ function T(A) {
2618
2517
  let {
2619
2518
  value: R
2620
2519
  } = A;
2621
2520
  if (R) {
2622
- const g = (E = (h = d.value) == null ? void 0 : h.$el.parentElement) == null ? void 0 : E.querySelector(".v-tab--selected .v-tab__slider"), j = l.value;
2623
- if (!g || !j) return;
2624
- const W = getComputedStyle(g).color, M = g.getBoundingClientRect(), D = j.getBoundingClientRect(), Y = m.value ? "x" : "y", p = m.value ? "X" : "Y", y = m.value ? "right" : "bottom", _ = m.value ? "width" : "height", F = M[Y], et = D[Y], N = F > et ? M[y] - D[y] : M[Y] - D[Y], u = Math.sign(N) > 0 ? m.value ? "right" : "bottom" : Math.sign(N) < 0 ? m.value ? "left" : "top" : "center", w = (Math.abs(N) + (Math.sign(N) < 0 ? M[_] : D[_])) / Math.max(M[_], D[_]) || 0, q = M[_] / D[_] || 0, ut = 1.5;
2625
- _e(j, {
2626
- backgroundColor: [W, "currentcolor"],
2627
- transform: [`translate${p}(${N}px) scale${p}(${q})`, `translate${p}(${N / ut}px) scale${p}(${(w - 1) / ut + 1})`, "none"],
2628
- transformOrigin: Array(3).fill(u)
2521
+ const z = d.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), u = r.value;
2522
+ if (!z || !u) return;
2523
+ const g = getComputedStyle(z).color, H = z.getBoundingClientRect(), E = u.getBoundingClientRect(), M = v.value ? "x" : "y", N = v.value ? "X" : "Y", Z = v.value ? "right" : "bottom", _ = v.value ? "width" : "height", $ = H[M], j = E[M], U = $ > j ? H[Z] - E[Z] : H[M] - E[M], nt = Math.sign(U) > 0 ? v.value ? "right" : "bottom" : Math.sign(U) < 0 ? v.value ? "left" : "top" : "center", J = (Math.abs(U) + (Math.sign(U) < 0 ? H[_] : E[_])) / Math.max(H[_], E[_]) || 0, c = H[_] / E[_] || 0, V = 1.5;
2524
+ Ae(u, {
2525
+ backgroundColor: [g, "currentcolor"],
2526
+ transform: [`translate${N}(${U}px) scale${N}(${c})`, `translate${N}(${U / V}px) scale${N}(${(J - 1) / V + 1})`, "none"],
2527
+ transformOrigin: Array(3).fill(nt)
2629
2528
  }, {
2630
2529
  duration: 225,
2631
- easing: He
2530
+ easing: Le
2632
2531
  });
2633
2532
  }
2634
2533
  }
2635
- return rt(() => {
2636
- const A = nt.filterProps(t);
2637
- return o(nt, G({
2534
+ return ct(() => {
2535
+ const A = st.filterProps(t);
2536
+ return o(st, q({
2638
2537
  symbol: wt,
2639
2538
  ref: d,
2640
2539
  class: ["v-tab", t.class],
2641
2540
  style: t.style,
2642
- tabindex: c.value ? 0 : -1,
2541
+ tabindex: m.value ? 0 : -1,
2643
2542
  role: "tab",
2644
- "aria-selected": String(c.value),
2543
+ "aria-selected": String(m.value),
2645
2544
  active: !1
2646
- }, A, s, {
2545
+ }, A, i, {
2647
2546
  block: t.fixed,
2648
2547
  maxWidth: t.fixed ? 300 : void 0,
2649
- "onGroup:selected": P
2548
+ "onGroup:selected": T
2650
2549
  }), {
2651
- ...n,
2652
- default: () => {
2653
- var R;
2654
- return o(B, null, [((R = n.default) == null ? void 0 : R.call(n)) ?? t.text, !t.hideSlider && o("div", {
2655
- ref: l,
2656
- class: ["v-tab__slider", r.value],
2657
- style: k.value
2658
- }, null)]);
2659
- }
2550
+ ...s,
2551
+ default: () => o(B, null, [s.default?.() ?? t.text, !t.hideSlider && o("div", {
2552
+ ref: r,
2553
+ class: ["v-tab__slider", n.value],
2554
+ style: k.value
2555
+ }, null)])
2660
2556
  });
2661
- }), Je({}, d);
2557
+ }), no({}, d);
2662
2558
  }
2663
- }), ca = lt({
2664
- ...Nt(Xe(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
2665
- }, "VTabsWindow"), ee = it()({
2559
+ }), ua = ut({
2560
+ ...Ft(lo(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
2561
+ }, "VTabsWindow"), se = rt()({
2666
2562
  name: "VTabsWindow",
2667
- props: ca(),
2563
+ props: ua(),
2668
2564
  emits: {
2669
2565
  "update:modelValue": (t) => !0
2670
2566
  },
2671
2567
  setup(t, e) {
2672
2568
  let {
2673
- slots: n
2569
+ slots: s
2674
2570
  } = e;
2675
- const s = he(wt, null), r = mt(t, "modelValue"), k = b({
2571
+ const i = Se(wt, null), n = mt(t, "modelValue"), k = b({
2676
2572
  get() {
2677
- var d;
2678
- return r.value != null || !s ? r.value : (d = s.items.value.find((l) => s.selected.value.includes(l.id))) == null ? void 0 : d.value;
2573
+ return n.value != null || !i ? n.value : i.items.value.find((d) => i.selected.value.includes(d.id))?.value;
2679
2574
  },
2680
2575
  set(d) {
2681
- r.value = d;
2576
+ n.value = d;
2682
2577
  }
2683
2578
  });
2684
- return rt(() => {
2685
- const d = Vt.filterProps(t);
2686
- return o(Vt, G({
2579
+ return ct(() => {
2580
+ const d = Et.filterProps(t);
2581
+ return o(Et, q({
2687
2582
  _as: "VTabsWindow"
2688
2583
  }, d, {
2689
2584
  modelValue: k.value,
2690
- "onUpdate:modelValue": (l) => k.value = l,
2585
+ "onUpdate:modelValue": (r) => k.value = r,
2691
2586
  class: ["v-tabs-window", t.class],
2692
2587
  style: t.style,
2693
2588
  mandatory: !1,
2694
2589
  touch: !1
2695
- }), n);
2590
+ }), s);
2696
2591
  }), {};
2697
2592
  }
2698
- }), da = lt({
2699
- ...to()
2700
- }, "VTabsWindowItem"), Bt = it()({
2593
+ }), ca = ut({
2594
+ ...ro()
2595
+ }, "VTabsWindowItem"), Ct = rt()({
2701
2596
  name: "VTabsWindowItem",
2702
- props: da(),
2597
+ props: ca(),
2703
2598
  setup(t, e) {
2704
2599
  let {
2705
- slots: n
2600
+ slots: s
2706
2601
  } = e;
2707
- return rt(() => {
2708
- const s = Et.filterProps(t);
2709
- return o(Et, G({
2602
+ return ct(() => {
2603
+ const i = Vt.filterProps(t);
2604
+ return o(Vt, q({
2710
2605
  _as: "VTabsWindowItem"
2711
- }, s, {
2606
+ }, i, {
2712
2607
  class: ["v-tabs-window-item", t.class],
2713
2608
  style: t.style
2714
- }), n);
2609
+ }), s);
2715
2610
  }), {};
2716
2611
  }
2717
2612
  });
2718
- function ma(t) {
2719
- return t ? t.map((e) => Re(e) ? e : {
2613
+ function da(t) {
2614
+ return t ? t.map((e) => we(e) ? e : {
2720
2615
  text: e,
2721
2616
  value: e
2722
2617
  }) : [];
2723
2618
  }
2724
- const fa = lt({
2619
+ const ma = ut({
2725
2620
  alignTabs: {
2726
2621
  type: String,
2727
2622
  default: "start"
@@ -2741,131 +2636,113 @@ const fa = lt({
2741
2636
  },
2742
2637
  hideSlider: Boolean,
2743
2638
  sliderColor: String,
2744
- ...eo({
2639
+ ...uo({
2745
2640
  mandatory: "force",
2746
2641
  selectedClass: "v-tab-item--selected"
2747
2642
  }),
2748
- ...qe(),
2749
- ...Ee()
2750
- }, "VTabs"), ba = it()({
2643
+ ...xe(),
2644
+ ...ze()
2645
+ }, "VTabs"), fa = rt()({
2751
2646
  name: "VTabs",
2752
- props: fa(),
2647
+ props: ma(),
2753
2648
  emits: {
2754
2649
  "update:modelValue": (t) => !0
2755
2650
  },
2756
2651
  setup(t, e) {
2757
2652
  let {
2758
- attrs: n,
2759
- slots: s
2653
+ attrs: s,
2654
+ slots: i
2760
2655
  } = e;
2761
- const r = mt(t, "modelValue"), k = b(() => ma(t.items)), {
2656
+ const n = mt(t, "modelValue"), k = b(() => da(t.items)), {
2762
2657
  densityClasses: d
2763
- } = De(t), {
2764
- backgroundColorClasses: l,
2765
- backgroundColorStyles: m
2766
- } = Te(at(t, "bgColor")), {
2767
- scopeId: c
2768
- } = Ve();
2769
- return ge({
2658
+ } = Fe(t), {
2659
+ backgroundColorClasses: r,
2660
+ backgroundColorStyles: v
2661
+ } = $e(tt(t, "bgColor")), {
2662
+ scopeId: m
2663
+ } = De();
2664
+ return Ie({
2770
2665
  VTab: {
2771
- color: at(t, "color"),
2772
- direction: at(t, "direction"),
2773
- stacked: at(t, "stacked"),
2774
- fixed: at(t, "fixedTabs"),
2775
- sliderColor: at(t, "sliderColor"),
2776
- hideSlider: at(t, "hideSlider")
2666
+ color: tt(t, "color"),
2667
+ direction: tt(t, "direction"),
2668
+ stacked: tt(t, "stacked"),
2669
+ fixed: tt(t, "fixedTabs"),
2670
+ sliderColor: tt(t, "sliderColor"),
2671
+ hideSlider: tt(t, "hideSlider")
2777
2672
  }
2778
- }), rt(() => {
2779
- const P = At.filterProps(t), A = !!(s.window || t.items.length > 0);
2780
- return o(B, null, [o(At, G(P, {
2781
- modelValue: r.value,
2782
- "onUpdate:modelValue": (R) => r.value = R,
2673
+ }), ct(() => {
2674
+ const T = At.filterProps(t), A = !!(i.window || t.items.length > 0);
2675
+ return o(B, null, [o(At, q(T, {
2676
+ modelValue: n.value,
2677
+ "onUpdate:modelValue": (R) => n.value = R,
2783
2678
  class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
2784
2679
  "v-tabs--fixed-tabs": t.fixedTabs,
2785
2680
  "v-tabs--grow": t.grow,
2786
2681
  "v-tabs--stacked": t.stacked
2787
- }, d.value, l.value, t.class],
2682
+ }, d.value, r.value, t.class],
2788
2683
  style: [{
2789
- "--v-tabs-height": ye(t.height)
2790
- }, m.value, t.style],
2684
+ "--v-tabs-height": _e(t.height)
2685
+ }, v.value, t.style],
2791
2686
  role: "tablist",
2792
2687
  symbol: wt
2793
- }, c, n), {
2794
- default: () => {
2795
- var R;
2796
- return [((R = s.default) == null ? void 0 : R.call(s)) ?? k.value.map((h) => {
2797
- var E;
2798
- return ((E = s.tab) == null ? void 0 : E.call(s, {
2799
- item: h
2800
- })) ?? o(te, G(h, {
2801
- key: h.text,
2802
- value: h.value
2803
- }), {
2804
- default: s[`tab.${h.value}`] ? () => {
2805
- var g;
2806
- return (g = s[`tab.${h.value}`]) == null ? void 0 : g.call(s, {
2807
- item: h
2808
- });
2809
- } : void 0
2810
- });
2811
- })];
2812
- }
2813
- }), A && o(ee, G({
2814
- modelValue: r.value,
2815
- "onUpdate:modelValue": (R) => r.value = R,
2688
+ }, m, s), {
2689
+ default: () => [i.default?.() ?? k.value.map((R) => i.tab?.({
2690
+ item: R
2691
+ }) ?? o(ae, q(R, {
2692
+ key: R.text,
2693
+ value: R.value
2694
+ }), {
2695
+ default: i[`tab.${R.value}`] ? () => i[`tab.${R.value}`]?.({
2696
+ item: R
2697
+ }) : void 0
2698
+ }))]
2699
+ }), A && o(se, q({
2700
+ modelValue: n.value,
2701
+ "onUpdate:modelValue": (R) => n.value = R,
2816
2702
  key: "tabs-window"
2817
- }, c), {
2818
- default: () => {
2819
- var R;
2820
- return [k.value.map((h) => {
2821
- var E;
2822
- return ((E = s.item) == null ? void 0 : E.call(s, {
2823
- item: h
2824
- })) ?? o(Bt, {
2825
- value: h.value
2826
- }, {
2827
- default: () => {
2828
- var g;
2829
- return (g = s[`item.${h.value}`]) == null ? void 0 : g.call(s, {
2830
- item: h
2831
- });
2832
- }
2833
- });
2834
- }), (R = s.window) == null ? void 0 : R.call(s)];
2835
- }
2703
+ }, m), {
2704
+ default: () => [k.value.map((R) => i.item?.({
2705
+ item: R
2706
+ }) ?? o(Ct, {
2707
+ value: R.value
2708
+ }, {
2709
+ default: () => i[`item.${R.value}`]?.({
2710
+ item: R
2711
+ })
2712
+ })), i.window?.()]
2836
2713
  })]);
2837
2714
  }), {};
2838
2715
  }
2839
- }), pa = { class: "bg-white" }, ka = { key: 0 };
2840
- function va(t, e, n, s, r, k) {
2841
- const d = L("HotelRoomOfferListEmpty"), l = L("HotelRoomOfferItem"), m = L("HotelRoomOfferBasket");
2842
- return i(), f("div", pa, [
2843
- t.isBookingApiClientDefined ? (i(), f(B, { key: 1 }, [
2844
- t.hasError ? (i(), S(d, {
2716
+ }), ba = { class: "bg-white" }, pa = { key: 0 };
2717
+ function va(t, e, s, i, n, k) {
2718
+ const d = ot("HotelRoomOfferListEmpty"), r = ot("HotelRoomOfferItem"), v = ot("HotelRoomOfferBasket");
2719
+ return l(), f("div", ba, [
2720
+ t.isBookingApiClientDefined ? (l(), f(B, { key: 1 }, [
2721
+ t.hasError ? (l(), S(d, {
2845
2722
  key: "error",
2846
2723
  boilerplate: "",
2847
2724
  type: "internalError"
2848
- })) : t.showSkeleton ? (i(), S(d, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (i(), f(B, { key: 2 }, [
2849
- t.hotelRoomHotelRoomOffers.length ? I("", !0) : (i(), f("div", ka)),
2850
- t.isLoading ? (i(), S(Ge, {
2725
+ })) : t.showSkeleton ? (l(), S(d, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (l(), f(B, { key: 2 }, [
2726
+ t.hotelRoomHotelRoomOffers.length ? I("", !0) : (l(), f("div", pa)),
2727
+ t.isLoading ? (l(), S(Ge, {
2851
2728
  key: 1,
2852
2729
  class: "loader position-absolute",
2853
2730
  color: "secondary",
2854
2731
  indeterminate: ""
2855
2732
  })) : I("", !0),
2856
- t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(), f(B, { key: 2 }, [
2857
- o(ba, {
2733
+ t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (l(), f(B, { key: 2 }, [
2734
+ o(fa, {
2858
2735
  color: "primary",
2859
2736
  density: "compact",
2860
2737
  modelValue: t.tab,
2861
- "onUpdate:modelValue": e[0] || (e[0] = (c) => t.tab = c),
2738
+ "onUpdate:modelValue": e[0] || (e[0] = (m) => t.tab = m),
2862
2739
  grow: ""
2863
2740
  }, {
2864
2741
  default: a(() => [
2865
- (i(!0), f(B, null, Z(t.tabItems, (c) => (i(), f(B, { key: c }, [
2866
- o(te, null, {
2742
+ (l(!0), f(B, null, W(t.tabItems, (m) => (l(), f(B, { key: m }, [
2743
+ o(ae, null, {
2867
2744
  default: a(() => [
2868
- T(C(t.t(`HotelRoomOfferList.${c}.title`)), 1)
2745
+ w(C(t.t(`HotelRoomOfferList.${m}.title`)), 1)
2869
2746
  ]),
2870
2747
  _: 2
2871
2748
  }, 1024),
@@ -2874,19 +2751,19 @@ function va(t, e, n, s, r, k) {
2874
2751
  ]),
2875
2752
  _: 1
2876
2753
  }, 8, ["modelValue"]),
2877
- o(ee, {
2754
+ o(se, {
2878
2755
  modelValue: t.tab,
2879
- "onUpdate:modelValue": e[1] || (e[1] = (c) => t.tab = c),
2756
+ "onUpdate:modelValue": e[1] || (e[1] = (m) => t.tab = m),
2880
2757
  class: "overflow-visible"
2881
2758
  }, {
2882
2759
  default: a(() => [
2883
- o(Bt, { class: "pt-3" }, {
2760
+ o(Ct, { class: "pt-3" }, {
2884
2761
  default: a(() => [
2885
- (i(!0), f(B, null, Z(t.packageHotelRoomOffers, (c, P) => (i(), f(B, {
2886
- key: c.id
2762
+ (l(!0), f(B, null, W(t.packageHotelRoomOffers, (m, T) => (l(), f(B, {
2763
+ key: m.id
2887
2764
  }, [
2888
- P > 0 ? (i(), S(Q, { key: 0 })) : I("", !0),
2889
- o(l, G({ ref_for: !0 }, c, {
2765
+ T > 0 ? (l(), S(Q, { key: 0 })) : I("", !0),
2766
+ o(r, q({ ref_for: !0 }, m, {
2890
2767
  onBreakfastChange: t.onBreakfastChange,
2891
2768
  onBookingPolicyFailed: t.onBookingPolicyFailed
2892
2769
  }), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
@@ -2894,41 +2771,41 @@ function va(t, e, n, s, r, k) {
2894
2771
  ]),
2895
2772
  _: 1
2896
2773
  }),
2897
- o(Bt, { class: "pt-3 pb-5" }, {
2774
+ o(Ct, { class: "pt-3 pb-5" }, {
2898
2775
  default: a(() => [
2899
- o(m, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
2776
+ o(v, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
2900
2777
  ]),
2901
2778
  _: 1
2902
2779
  })
2903
2780
  ]),
2904
2781
  _: 1
2905
2782
  }, 8, ["modelValue"])
2906
- ], 64)) : (i(!0), f(B, { key: 3 }, Z(t.packageHotelRoomOffers, (c, P) => (i(), f(B, {
2907
- key: c.id
2783
+ ], 64)) : (l(!0), f(B, { key: 3 }, W(t.packageHotelRoomOffers, (m, T) => (l(), f(B, {
2784
+ key: m.id
2908
2785
  }, [
2909
- P > 0 ? (i(), S(Q, { key: 0 })) : I("", !0),
2910
- o(l, G({ ref_for: !0 }, c, {
2786
+ T > 0 ? (l(), S(Q, { key: 0 })) : I("", !0),
2787
+ o(r, q({ ref_for: !0 }, m, {
2911
2788
  onBreakfastChange: t.onBreakfastChange,
2912
2789
  onBookingPolicyFailed: t.onBookingPolicyFailed
2913
2790
  }), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
2914
2791
  ], 64))), 128))
2915
- ], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(), S(d, {
2792
+ ], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (l(), S(d, {
2916
2793
  key: "skeleton",
2917
2794
  boilerplate: "",
2918
2795
  type: "noResults"
2919
2796
  })) : I("", !0)
2920
- ], 64)) : (i(), f(B, { key: 0 }, [], 64))
2797
+ ], 64)) : (l(), f(B, { key: 0 }, [], 64))
2921
2798
  ]);
2922
2799
  }
2923
- typeof Mt == "function" && Mt(Xt);
2924
- const Ua = /* @__PURE__ */ tt(Xt, [["render", va], ["__scopeId", "data-v-e71fbea6"]]);
2925
- ae("css/revolugo.hotelroomofferlist.DpLXIpgU.css");
2800
+ typeof Nt == "function" && Nt(oe);
2801
+ const Fa = /* @__PURE__ */ it(oe, [["render", va], ["__scopeId", "data-v-e71fbea6"]]);
2802
+ ne("css/revolugo.hotelroomofferlist.BYvQZ5P2.css");
2926
2803
  export {
2927
- Ct as B,
2928
- Ua as H,
2929
- la as a,
2930
- ra as h,
2931
- no as r,
2932
- ro as u
2804
+ Ot as B,
2805
+ Fa as H,
2806
+ ee as a,
2807
+ la as h,
2808
+ po as r,
2809
+ ho as u
2933
2810
  };
2934
- //# sourceMappingURL=revolugo.hotelroomofferlist.M-3bowQa.min.js.map
2811
+ //# sourceMappingURL=revolugo.hotelroomofferlist.DdmwJDYN.min.js.map