@revolugo/elements 6.8.3-beta.2 → 6.8.3-beta.21

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 (182) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.BF6W5Rkn.css +1 -0
  3. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.CLc1qFgq.css} +1 -1
  4. package/dist/index.es.min.js +1 -0
  5. package/dist/index.es.min.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist/revolugo.banktransferdetails.BySITPec.min.js +36 -0
  9. package/dist/revolugo.bookingdetailssidebar.BYzRYS22.min.js +37 -0
  10. package/dist/revolugo.bookingmanager.nw9gGNh_.min.js +24 -0
  11. package/dist/revolugo.cancellationpoliciesbadge.BeG993YZ.min.js +24 -0
  12. package/dist/revolugo.cancellationpoliciesbadge.props.Dr18g1D_.min.js +31886 -0
  13. package/dist/revolugo.cancellationpolicieslist.Ds8oi3Ea.min.js +24 -0
  14. package/dist/revolugo.creditcardform.By79p0Bj.min.js +24 -0
  15. package/dist/revolugo.creditcardpayment.DvO9zT4V.min.js +24 -0
  16. package/dist/revolugo.currencypickerbtn.CLC1mWT8.min.js +24 -0
  17. package/dist/revolugo.fastbookingflow.Di2jU8_z.min.js +34 -0
  18. package/dist/revolugo.fullbookingflow.DCtMc-R_.min.js +24 -0
  19. package/dist/revolugo.hoteldescriptionview.BjSUnjIh.min.js +24 -0
  20. package/dist/revolugo.hotelofferlist.DAIv1qMO.min.js +24 -0
  21. package/dist/revolugo.hoteloffersearchmenu.wFDKLBxy.min.js +71 -0
  22. package/dist/revolugo.hoteloffersmap.BKHy0T4U.min.js +24 -0
  23. package/dist/revolugo.hoteloffersview.V2L1odGh.min.js +19 -0
  24. package/dist/revolugo.hotelroomofferlist.Kxi2PaU-.min.js +24 -0
  25. package/dist/revolugo.hotelroomoffersbookingflow.DVwHWQoy.min.js +24 -0
  26. package/dist/revolugo.hotelroomoffersearchmenu.CzlGeOLh.min.js +24 -0
  27. package/dist/revolugo.hotelroomoffersview.b_5VDEUw.min.js +24 -0
  28. package/dist/{revolugo.index.wc.C1h_M397.min.js → revolugo.index.wc.CH4CMunP.min.js} +5866 -5933
  29. package/dist/revolugo.langpickerbtn.DMvledll.min.js +29 -0
  30. package/dist/revolugo.min.js +1 -1
  31. package/dist/revolugo.prebookform.Ct2YhDa5.min.js +24 -0
  32. package/dist/revolugo.roominglisteditor.BAH1K08N.min.js +24 -0
  33. package/dist/revolugo.storybooktoolbar.DRJbNUi1.min.js +845 -0
  34. package/dist/revolugo.termsandconditions.D7d-mv52.min.js +23 -0
  35. package/dist/revolugo.webcomponentwrapper.umNfPHAE.min.js +28713 -0
  36. package/package.json +2 -2
  37. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +0 -1
  38. package/dist/css/revolugo.bhoteloffersfilterbar.CekxoJmW.css +0 -1
  39. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  40. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +0 -1
  41. package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +0 -1
  42. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  43. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  44. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  45. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  46. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  47. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  48. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  49. package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +0 -1
  50. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  51. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  52. package/dist/css/revolugo.hoteloffersmap.Cp2vN-VQ.css +0 -1
  53. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +0 -1
  54. package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +0 -1
  55. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  56. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  57. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  58. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  59. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  60. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  61. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  62. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  63. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  64. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  65. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  66. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  67. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  68. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  69. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  70. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  71. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  72. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  73. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  74. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  75. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  76. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  77. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  78. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +0 -1
  79. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  80. package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
  81. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  82. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  83. package/dist/revolugo._baseiteratee.Dil0w9e0.min.js +0 -247
  84. package/dist/revolugo.banktransferdetails.DiwVMsA1.min.js +0 -373
  85. package/dist/revolugo.bdaterangepicker.DDEGZVT0.min.js +0 -8324
  86. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CPnoXVaZ.min.js +0 -143
  87. package/dist/revolugo.bhoteloffersfilterbar.B_hcAZxX.min.js +0 -4896
  88. package/dist/revolugo.bhotelroomsdetails.DDHY2lbs.min.js +0 -965
  89. package/dist/revolugo.bimagecarousel.DpROkQNr.min.js +0 -566
  90. package/dist/revolugo.bookingdetailssidebar.5S5oPc1U.min.js +0 -24
  91. package/dist/revolugo.bookingdetailssidebar.l8IDCkox.min.js +0 -866
  92. package/dist/revolugo.bookingmanager.-BQEM4EN.min.js +0 -1755
  93. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BzDggP5H.min.js +0 -91
  94. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CQgG-2B5.min.js +0 -604
  95. package/dist/revolugo.btag.yxmSLIpZ.min.js +0 -375
  96. package/dist/revolugo.cancellationpoliciesbadge.3dDx89si.min.js +0 -28
  97. package/dist/revolugo.cancellationpoliciesbadge.Bu_3zPF6.min.js +0 -198
  98. package/dist/revolugo.cancellationpolicieslist.D558ZjJj.min.js +0 -25
  99. package/dist/revolugo.cancellationpolicieslist.EOsSrPjA.min.js +0 -148
  100. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  101. package/dist/revolugo.case-transformers.DGnXS0Cp.min.js +0 -123
  102. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  103. package/dist/revolugo.creditcardform.DZXQZuRo.min.js +0 -2148
  104. package/dist/revolugo.creditcardform.DkLcGTUe.min.js +0 -24
  105. package/dist/revolugo.creditcardpayment.BCKTbLQO.min.js +0 -24
  106. package/dist/revolugo.creditcardpayment.DS5TEf7I.min.js +0 -885
  107. package/dist/revolugo.currencypicker.DzOZVdqj.min.js +0 -330
  108. package/dist/revolugo.currencypickerbtn.BFa4yMym.min.js +0 -24
  109. package/dist/revolugo.currencypickerbtn.XX3uUfVo.min.js +0 -157
  110. package/dist/revolugo.dates.BZrB2-ya.min.js +0 -31
  111. package/dist/revolugo.defaultsdeep.DkkJx-tU.min.js +0 -104
  112. package/dist/revolugo.dialog-attach.Cr22Se10.min.js +0 -27
  113. package/dist/revolugo.dialog-transition.D5NECTJF.min.js +0 -111
  114. package/dist/revolugo.fastbookingflow.BzBjZ3LE.min.js +0 -34
  115. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  116. package/dist/revolugo.fullbookingflow.DdY_jXGE.min.js +0 -429
  117. package/dist/revolugo.hotel-offer-request.D14Rm4x5.min.js +0 -98
  118. package/dist/revolugo.hoteldescriptionview.BgYZ2vmV.min.js +0 -24
  119. package/dist/revolugo.hoteldescriptionview.C_jOcLK_.min.js +0 -2955
  120. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B7oYjB-Q.min.js +0 -241
  121. package/dist/revolugo.hotelofferlist.BYkJEK3j.min.js +0 -5639
  122. package/dist/revolugo.hotelofferlist.Dko1gIDn.min.js +0 -24
  123. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  124. package/dist/revolugo.hoteloffersearchmenu.B8ncJahc.min.js +0 -202
  125. package/dist/revolugo.hoteloffersearchmenuui.C1nrtxip.min.js +0 -829
  126. package/dist/revolugo.hoteloffersmap.CRI3Jttb.min.js +0 -8329
  127. package/dist/revolugo.hoteloffersmap.D_lQobL7.min.js +0 -24
  128. package/dist/revolugo.hoteloffersview.1h25yRqJ.min.js +0 -614
  129. package/dist/revolugo.hoteloffersview.DzB-e4H1.min.js +0 -19
  130. package/dist/revolugo.hotelroomofferlist.CDSzTTou.min.js +0 -24
  131. package/dist/revolugo.hotelroomofferlist.DdmwJDYN.min.js +0 -2811
  132. package/dist/revolugo.hotelroomofferrequestcreator.props.C_frxq0W.min.js +0 -171
  133. package/dist/revolugo.hotelroomoffersbookingflow.76yvftsv.min.js +0 -1281
  134. package/dist/revolugo.hotelroomoffersearchmenu.BJTJFnmG.min.js +0 -25
  135. package/dist/revolugo.hotelroomoffersearchmenu.D6Vyfjfp.min.js +0 -231
  136. package/dist/revolugo.hotelroomoffersview.CkGUZ5LE.min.js +0 -290
  137. package/dist/revolugo.hotelroomoffersview.CrexMnSs.min.js +0 -24
  138. package/dist/revolugo.index.3XJPtYDq.min.js +0 -67
  139. package/dist/revolugo.index.Cgeh5pQG.min.js +0 -1232
  140. package/dist/revolugo.langpicker.BEu5Dcmi.min.js +0 -99
  141. package/dist/revolugo.langpickerbtn.CIldopN_.min.js +0 -131
  142. package/dist/revolugo.langpickerbtn.PS3df2DW.min.js +0 -29
  143. package/dist/revolugo.pathify.DvfN0v8G.min.js +0 -36
  144. package/dist/revolugo.prebookform.CQkoP-VV.min.js +0 -1527
  145. package/dist/revolugo.prebookform.CV1s2FGH.min.js +0 -24
  146. package/dist/revolugo.roominglisteditor.8ernakg_.min.js +0 -385
  147. package/dist/revolugo.roominglisteditor.DxJ2OBqY.min.js +0 -24
  148. package/dist/revolugo.rounded.BOHYNseH.min.js +0 -68
  149. package/dist/revolugo.ssrboot.DElAuRmu.min.js +0 -18
  150. package/dist/revolugo.storybooktoolbar.CHfZ7EvT.min.js +0 -881
  151. package/dist/revolugo.termsandconditions.BvRlB7pE.min.js +0 -405
  152. package/dist/revolugo.termsandconditions.r61WJG2h.min.js +0 -23
  153. package/dist/revolugo.use-breakpoint-service.BXTJsL7a.min.js +0 -39
  154. package/dist/revolugo.use-dialog-attach._Ffb31mm.min.js +0 -16
  155. package/dist/revolugo.use-html-element.DTDLV1SN.min.js +0 -11
  156. package/dist/revolugo.vautocomplete.CQYvC8_q.min.js +0 -445
  157. package/dist/revolugo.vbadge.Dqf0g4rP.min.js +0 -112
  158. package/dist/revolugo.vbtn.1GlaUjid.min.js +0 -398
  159. package/dist/revolugo.vcard.BkeYpsDj.min.js +0 -313
  160. package/dist/revolugo.vcheckboxbtn.B-9q-Vt_.min.js +0 -478
  161. package/dist/revolugo.vdialog.BtJzWlDm.min.js +0 -133
  162. package/dist/revolugo.vdivider.DjAkTZXY.min.js +0 -77
  163. package/dist/revolugo.vexpansionpanels.ChRz3Vw3.min.js +0 -262
  164. package/dist/revolugo.vform.BfCyAbBX.min.js +0 -46
  165. package/dist/revolugo.vicon.0J-whoPd.min.js +0 -105
  166. package/dist/revolugo.vinput.DruJiU7m.min.js +0 -463
  167. package/dist/revolugo.vlabel.DrAIoL0X.min.js +0 -48
  168. package/dist/revolugo.vlist.DSr8wDRX.min.js +0 -1299
  169. package/dist/revolugo.vmenu.DnNDzmnm.min.js +0 -145
  170. package/dist/revolugo.vselect.V-p2AqIC.min.js +0 -660
  171. package/dist/revolugo.vsheet.Bq0fXKd0.min.js +0 -72
  172. package/dist/revolugo.vskeletonloader.CGHKwSZc.min.js +0 -136
  173. package/dist/revolugo.vslidegroup.CfQX__qs.min.js +0 -325
  174. package/dist/revolugo.vsnackbar.Dv0mQ14N.min.js +0 -198
  175. package/dist/revolugo.vspacer.DqyaaVSV.min.js +0 -7
  176. package/dist/revolugo.vtextarea.CYUE9_OL.min.js +0 -2092
  177. package/dist/revolugo.vtextfield.DVdqMySD.min.js +0 -501
  178. package/dist/revolugo.vtoolbar.CvvYVWAF.min.js +0 -180
  179. package/dist/revolugo.vtooltip.Cc-DGbrS.min.js +0 -89
  180. package/dist/revolugo.vwindowitem._RpClcFn.min.js +0 -317
  181. package/dist/revolugo.watch-list.Bg0Ch7_v.min.js +0 -16
  182. package/dist/revolugo.webcomponentwrapper.BMVPGxCQ.min.js +0 -2088
@@ -1,4896 +0,0 @@
1
- import { at as va, au as ae, L as Vt, M as Pt, av as Oe, aw as Le, ax as Ft, ai as ce, V as Ye, ay as ma, az as rt, E as Ie, aA as K, d as J, H as p, S as xt, ah as Et, G as pa, b as ha, u as ne, r as ba, c as z, o as M, Z as Tt, k as H, N as ga, x as ya, q as wa, X as He, A as ka, w as n, a as r, e as q, g as X, f as E, t as O, p as y, J as Ze, K as Dt, j as Ba, i as G, B as _e, F as ie, D as ee, aB as _a, C as ve, W as qe, m as be, T as Ra, l as ue, O as W, aC as Sa, n as Ma, h as Oa, a2 as Re, aD as st, aE as Ne, af as te, a9 as se, ab as At, aF as et, ap as Ca, a1 as Ve, an as Lt, aG as Ia, ad as fe, aH as Va, a6 as tt, aI as ot, aJ as Pa, ag as Fa, aK as $t, aL as xa, aM as Ht, a3 as nt, aN as Ea, aO as pe, aP as Ta, aQ as Da, Y as qt, aR as Aa, aS as De, ac as La, aT as $a, aU as Ha, aV as qa, aW as Na, aX as za } from "./revolugo.index.wc.C1h_M397.min.js";
2
- import { s as Ua } from "./revolugo.dates.BZrB2-ya.min.js";
3
- import { w as ja } from "./revolugo.watch-list.Bg0Ch7_v.min.js";
4
- import { h as Ka } from "./revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js";
5
- import { u as Be } from "./revolugo.hotel-offer-request.D14Rm4x5.min.js";
6
- import { p as Nt } from "./revolugo.pathify.DvfN0v8G.min.js";
7
- import { C as Ga } from "./revolugo.cancellationpoliciesbadge.Bu_3zPF6.min.js";
8
- import { _ as Wa } from "./revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B7oYjB-Q.min.js";
9
- import { B as Ya, _ as Za } from "./revolugo.bhotelroomsdetails.DDHY2lbs.min.js";
10
- import { _ as le, B as Xa, c as Ja, d as Qa, u as Pe, m as ze, b as $e, V as re, a as Y, e as zt, f as ei, g as ti, t as ai, h as ii, i as li, j as ri, k as si } from "./revolugo.webcomponentwrapper.BMVPGxCQ.min.js";
11
- import { B as oi, r as ni } from "./revolugo.hotelroomofferlist.DdmwJDYN.min.js";
12
- import { B as ui, _ as ci } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CQgG-2B5.min.js";
13
- import { B as ut } from "./revolugo.btag.yxmSLIpZ.min.js";
14
- import { _ as di, H as fi } from "./revolugo.hoteldescriptionview.C_jOcLK_.min.js";
15
- import { B as vi, m as mi, V as pi } from "./revolugo.bimagecarousel.DpROkQNr.min.js";
16
- import { u as hi } from "./revolugo.use-breakpoint-service.BXTJsL7a.min.js";
17
- import { u as bi } from "./revolugo.use-dialog-attach._Ffb31mm.min.js";
18
- import { H as gi } from "./revolugo.hotelroomoffersview.CkGUZ5LE.min.js";
19
- import { d as yi, R as wi, e as ki, m as Bi, f as _i, a as Ri } from "./revolugo.index.Cgeh5pQG.min.js";
20
- import { V as Ue } from "./revolugo.vtooltip.Cc-DGbrS.min.js";
21
- import { V as Si } from "./revolugo.vdialog.BtJzWlDm.min.js";
22
- import { V as Fe, a as at, b as it, c as Mi } from "./revolugo.vcard.BkeYpsDj.min.js";
23
- import { V as oe, m as Oi } from "./revolugo.vicon.0J-whoPd.min.js";
24
- import { a as U, b as Ci } from "./revolugo.vbtn.1GlaUjid.min.js";
25
- import { V as Ii } from "./revolugo.vautocomplete.CQYvC8_q.min.js";
26
- import { V as Xe, a as Vi, b as ct } from "./revolugo.vlist.DSr8wDRX.min.js";
27
- import { M as Pi, d as dt, g as Fi, f as ft } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CPnoXVaZ.min.js";
28
- import { u as xi, V as vt, m as Ei, a as Ti } from "./revolugo.vinput.DruJiU7m.min.js";
29
- import { m as Ut, a as jt, u as Kt, b as Gt, c as Di, d as Ai } from "./revolugo.rounded.BOHYNseH.min.js";
30
- import { V as Li } from "./revolugo.vlabel.DrAIoL0X.min.js";
31
- import { V as mt } from "./revolugo.vtextfield.DVdqMySD.min.js";
32
- import { V as Ae } from "./revolugo.vdivider.DjAkTZXY.min.js";
33
- import { V as je } from "./revolugo.vmenu.DnNDzmnm.min.js";
34
- import { V as Ke } from "./revolugo.vbadge.Dqf0g4rP.min.js";
35
- import { u as $i } from "./revolugo.ssrboot.DElAuRmu.min.js";
36
- import { b as Hi } from "./revolugo._baseiteratee.Dil0w9e0.min.js";
37
- function fa(e) {
38
- try {
39
- if (typeof document < "u") {
40
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
41
- sheets: [],
42
- components: []
43
- };
44
- const t = import.meta.url, l = t.slice(0, t.lastIndexOf("/") + 1) + e;
45
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(l);
46
- for (const i of REVOLUGO_ELEMENTS_STYLES.components)
47
- i(l);
48
- if (e.indexOf("fonts") >= 0) {
49
- const i = document.createElement("link");
50
- i.rel = "stylesheet", linK.href = l, document.head.appendChild(i);
51
- }
52
- }
53
- } catch (t) {
54
- console.error("[revolugo-elements] ", t);
55
- }
56
- }
57
- const Dr = 50;
58
- function qi(e, t) {
59
- return e && e.length ? va(e, Hi(t)) : [];
60
- }
61
- function Ce(e, t = ae.Info) {
62
- switch (t) {
63
- case ae.Trace: {
64
- console.debug(`[TRACE] ${e}`);
65
- break;
66
- }
67
- case ae.Debug: {
68
- console.debug(`[DEBUG] ${e}`);
69
- break;
70
- }
71
- case ae.Info: {
72
- console.info(`[INFO] ${e}`);
73
- break;
74
- }
75
- case ae.Warn: {
76
- console.warn(`[WARN] ${e}`);
77
- break;
78
- }
79
- case ae.Error: {
80
- console.error(`[ERROR] ${e}`);
81
- break;
82
- }
83
- default: {
84
- console.log(`[${ae[t]}] ${e}`);
85
- break;
86
- }
87
- }
88
- }
89
- const pt = {
90
- trace: (e) => Ce(e, ae.Trace),
91
- debug: (e) => Ce(e, ae.Debug),
92
- info: (e) => Ce(e, ae.Info),
93
- warn: (e) => Ce(e, ae.Warn),
94
- error: (e) => Ce(e, ae.Error)
95
- }, Ni = Vt("hotelImages", {
96
- actions: {
97
- async retrieveHotelImages({
98
- hotelId: e,
99
- locale: t
100
- }) {
101
- try {
102
- if (this.hotels[e]?.hotelImages)
103
- return;
104
- this.hotels[e] = { hotelImages: [], isLoading: !0 };
105
- const l = Pt();
106
- if (!l)
107
- return;
108
- const i = await l.hotelImages.retrieve({
109
- id: e,
110
- lang: t
111
- });
112
- this.hotels[e] = { hotelImages: i, isLoading: !1 };
113
- } catch (l) {
114
- console.error("Cannot retrieve hotel images:", l);
115
- }
116
- }
117
- },
118
- getters: {
119
- hotel: (e) => (t) => e.hotels[t]
120
- },
121
- state: () => ({
122
- hotels: {}
123
- })
124
- }), zi = (e) => {
125
- switch (e) {
126
- case Oe.Production:
127
- return "AIzaSyDipOKl8MebRQ5FFK_LgUn6YXiSW45KeEU";
128
- case Oe.Sandbox:
129
- case Oe.Staging:
130
- case Oe.CiCd:
131
- case Oe.Local:
132
- default:
133
- return "AIzaSyDrGcYsSX4u-28bi3vFlQ_D5Lz92GHupP8";
134
- }
135
- }, Ui = Vt("hotelOffers", {
136
- actions: {
137
- addHotelOffers(e) {
138
- this.hotelOffers = qi(
139
- [...this.hotelOffers ?? [], ...e],
140
- "id"
141
- );
142
- },
143
- resetFilters() {
144
- this.filters = {
145
- ...Le,
146
- [K.SortBy]: this.filters[K.SortBy]
147
- };
148
- },
149
- resetHotelOffers() {
150
- this.hotelOffers = [];
151
- },
152
- // eslint-disable-next-line max-lines-per-function
153
- async retrieveHotelOffers(e) {
154
- if (!e.hotelOfferRequestId)
155
- return;
156
- const t = Pt();
157
- if (t) {
158
- const l = {
159
- ...e,
160
- currency: window.RevolugoElements.config.currency,
161
- filterByPrice: this.transformFilterPrices?.join("-"),
162
- filterByReviewRating: this.filters.review_rating || void 0,
163
- filterByStar: this.filters.rating || void 0,
164
- lang: window.RevolugoElements.config.lang,
165
- onlyRecommendedHotelOffers: this.filters.sort_by?.value === ce.TopPicks,
166
- priceHistogramStepCount: ma,
167
- sortBy: this.filters.sort_by?.value,
168
- sortByOrder: this.filters.sort_by?.direction
169
- };
170
- if (this.isPolling && Ye(this.pollingPayload, l))
171
- return;
172
- rt.$emit(Ie.HotelOffersPollingStarted), this.isPolling = !0, this.pollingPayload = l, this.hasError = !1, e.startingAfter || (this.hotelOffers = []), this.hotelOffersCurrency = void 0, await t?.hotelOffers.list(
173
- l,
174
- (i, a) => {
175
- if (!Ye(this.pollingPayload, l))
176
- return;
177
- if (i) {
178
- this.isPolling = !1, this.hasError = !0, console.error("Cannot retrieve hotel offers:", i);
179
- return;
180
- }
181
- if (this.isPolling = (a?.meta?.status ?? "").toLowerCase() !== "complete", !a?.data?.hotelOffers)
182
- return;
183
- e.startingAfter ? this.addHotelOffers(a.data.hotelOffers) : this.hotelOffers = a.data.hotelOffers, rt.$emit(
184
- Ie.HotelOffersRetrieved,
185
- a.data.hotelOffers
186
- ), this.hotelOffersCurrency = a.data.currency, this.priceHistogram = a.data.priceHistogram, this.priceMin = a.data.priceMin, this.priceMax = a.data.priceMax, this.startingAfter = a.meta.startingAfter;
187
- const s = (h) => {
188
- const c = this.getPriceMin, d = this.getPriceMax;
189
- return c === d && c === 0 ? !0 : h >= c && h <= d;
190
- }, u = s(
191
- this.filters.price[0]
192
- ) ? this.filters.price[0] : 0, m = s(
193
- this.filters.price[1]
194
- ) ? this.filters.price[1] : 0;
195
- this.filters = {
196
- ...this.filters,
197
- [K.Price]: [u, m]
198
- };
199
- },
200
- {
201
- maxCallCount: 10
202
- }
203
- ).catch((i) => {
204
- this.isPolling = !1, this.hasError = !0, console.error("Cannot retrieve hotel offers:", i);
205
- });
206
- }
207
- },
208
- saveFilters(e) {
209
- this.filters = {
210
- ...this.filters,
211
- ...e
212
- };
213
- }
214
- },
215
- /* debounce: {
216
- retrieveHotelOffers: 100,
217
- },*/
218
- getters: {
219
- activeFiltersNumber() {
220
- return [
221
- this.isPriceFilterActive,
222
- this.isStarRatingFilterActive,
223
- this.isReviewRatingFilterActive
224
- ].filter(Boolean).length;
225
- },
226
- getPriceMax(e) {
227
- const t = Be();
228
- return !e.priceMax || !e.hotelOffersCurrency ? 0 : Math.round(
229
- dt({
230
- amount: e.priceMax,
231
- currency: e.hotelOffersCurrency
232
- }) / t.nightCount / t.roomCount
233
- );
234
- },
235
- getPriceMin(e) {
236
- const t = Be();
237
- return !e.priceMin || !e.hotelOffersCurrency ? 0 : Math.round(
238
- dt({
239
- amount: e.priceMin,
240
- currency: e.hotelOffersCurrency
241
- }) / t.nightCount / t.roomCount
242
- );
243
- },
244
- isPriceFilterActive(e) {
245
- return e.filters.price[0] !== 0 || e.filters.price[1] !== 0;
246
- },
247
- isReviewRatingFilterActive(e) {
248
- return e.filters.review_rating !== Ft;
249
- },
250
- isStarRatingFilterActive(e) {
251
- return e.filters.rating !== "";
252
- },
253
- priceHistogramStepCount(e) {
254
- return e.priceHistogram ? e.priceHistogram.length : 0;
255
- },
256
- transformFilterPrices(e) {
257
- const t = Be();
258
- if (!(!e.filters.price || e.filters.price[0] === 0 && e.filters.price[1] === 0))
259
- return e.filters.price.map(
260
- (l) => new Pi({
261
- amount: l * t.nightCount * t.roomCount,
262
- currency: window.RevolugoElements.config.currency
263
- }).normalize().floor().getAmount()
264
- );
265
- }
266
- },
267
- state: () => ({
268
- filters: Le,
269
- hasError: !1,
270
- hotelOffers: [],
271
- hotelOffersCurrency: void 0,
272
- isPolling: !1,
273
- pollingPayload: void 0,
274
- priceHistogram: [],
275
- priceMax: 0,
276
- priceMin: 0,
277
- startingAfter: null
278
- })
279
- });
280
- function ji(e) {
281
- return /^([+-]?\d*\.?\d+([Ee][+-]?\d+)?|[+-]?\d*\.?\d+)(px|em|rem|vw|vh|vmin|vmax|%|cm|mm|in|pt|pc|ch|ex|q)$/u.test(
282
- e
283
- );
284
- }
285
- function Je(e) {
286
- if (e)
287
- return typeof e == "number" ? `${e}px` : typeof e == "string" && (ji(e) || e.startsWith("var")) ? e : Number.isNaN(e) ? "100%" : `${e}px`;
288
- }
289
- const Ar = J({
290
- data() {
291
- return {
292
- parsedHeight: Je(this.height)
293
- };
294
- },
295
- watch: {
296
- height: {
297
- handler(e) {
298
- this.parsedHeight = Je(e);
299
- },
300
- immediate: !0
301
- }
302
- }
303
- }), Lr = (e) => p(() => Je(e.value));
304
- var de = /* @__PURE__ */ ((e) => (e.DialogFullscreen = "DialogFullscreen", e.HotelDescriptionViewDialog = "HotelDescriptionViewDialog", e.HotelRoomOfferList = "HotelRoomOfferList", e.HotelRoomOffersViewDialog = "HotelRoomOffersViewDialog", e.RoomsDetails = "RoomsDetails", e))(de || {});
305
- const Ki = {
306
- DialogFullscreen: !0,
307
- HotelDescriptionViewDialog: !1,
308
- HotelRoomOfferList: !1,
309
- HotelRoomOffersViewDialog: !1,
310
- RoomsDetails: !0
311
- };
312
- function Gi(e, t) {
313
- return e.adultCount === t.adultCount && e.checkInDate === t.checkInDate && e.checkOutDate === t.checkOutDate && e.children === t.children && e.latitude === t.latitude && e.longitude === t.longitude && e.roomCount === t.roomCount && e.sourceMarket === t.sourceMarket && Ye(e.eventMetadata, t.eventMetadata);
314
- }
315
- const $r = J({
316
- computed: {
317
- ...Et(Be)
318
- },
319
- created() {
320
- this.$watch(
321
- () => {
322
- const e = this.get("hotelOfferRequest");
323
- return [
324
- e.adultCount,
325
- e.checkInDate,
326
- e.checkOutDate,
327
- e.children,
328
- e.latitude,
329
- e.longitude,
330
- e.roomCount,
331
- e.sourceMarket,
332
- JSON.stringify(e.eventMetadata)
333
- ].join(",");
334
- },
335
- () => {
336
- const e = this.$store.get("hotelOfferRequest");
337
- this.hotelOfferRequestInternal = {
338
- address: this.inputAddress,
339
- adultCount: e.adultCount,
340
- checkInDate: e.checkInDate,
341
- checkOutDate: e.checkOutDate,
342
- children: e.children || null,
343
- latitude: e.latitude,
344
- longitude: e.longitude,
345
- roomCount: e.roomCount,
346
- sourceMarket: e.sourceMarket
347
- };
348
- }
349
- );
350
- },
351
- data() {
352
- const e = Ua(
353
- this.checkInDate,
354
- this.checkOutDate
355
- );
356
- return {
357
- hotelOfferRequestInternal: {
358
- address: this.address,
359
- adultCount: this.adultCount,
360
- checkInDate: e[0],
361
- checkOutDate: e[1],
362
- children: this.children,
363
- hotelOfferRequestId: this.hotelOfferRequestId,
364
- latitude: this.latitude,
365
- longitude: this.longitude,
366
- roomCount: this.roomCount,
367
- sourceMarket: this.sourceMarket
368
- },
369
- inputAddress: this.address
370
- };
371
- },
372
- methods: {
373
- async onBookingApiClientChange() {
374
- await this.dispatch("hotelOfferRequest/resetId"), await this.onHotelOfferRequestInternalChange();
375
- },
376
- // When used in conjunction with HotelOfferSearchMenu, its children (BDateRangePickerMenu or BGuestInputMenu) are able to update the hotelOfferRequestInternal then trigger multiple call to this watcher while we want to trigger the handler only once.
377
- onHotelOfferRequestInternalChange: xt(
378
- async function() {
379
- this.hotelOfferRequestInternal.hotelOfferRequestId && this.hotelOfferRequestInternal.hotelOfferRequestId !== this.$store.get("hotelOfferRequest/id") ? (await this.dispatch(
380
- "hotelOfferRequest/retrieveHotelOfferRequest",
381
- this.hotelOfferRequestInternal.hotelOfferRequestId
382
- ), this.$store.get("hotelOfferRequest/hasError") && await this.dispatch(
383
- "hotelOfferRequest/createHotelOfferRequest",
384
- this.hotelOfferRequestInternal
385
- )) : (!Gi(
386
- this.hotelOfferRequestInternal,
387
- this.$store.get("hotelOfferRequest")
388
- ) || this.inputAddress !== this.hotelOfferRequestInternal.address || !this.$store.get("hotelOfferRequest/id")) && await this.dispatch(
389
- "hotelOfferRequest/createHotelOfferRequest",
390
- this.hotelOfferRequestInternal
391
- );
392
- },
393
- 300
394
- )
395
- },
396
- mixins: [
397
- Nt(),
398
- ja(["bookingApiClient"], "onBookingApiClientChange", {
399
- immediate: !0,
400
- nextTick: !0
401
- })
402
- ],
403
- name: "HotelOfferRequestCreator",
404
- props: Ka,
405
- watch: {
406
- address(e) {
407
- this.hotelOfferRequestInternal = {
408
- ...this.hotelOfferRequestInternal,
409
- address: e,
410
- hotelOfferRequestId: void 0
411
- };
412
- },
413
- adultCount(e) {
414
- this.hotelOfferRequestInternal = {
415
- ...this.hotelOfferRequestInternal,
416
- adultCount: e,
417
- hotelOfferRequestId: void 0
418
- };
419
- },
420
- checkInDate(e) {
421
- this.hotelOfferRequestInternal = {
422
- ...this.hotelOfferRequestInternal,
423
- checkInDate: e,
424
- hotelOfferRequestId: void 0
425
- };
426
- },
427
- checkOutDate(e) {
428
- this.hotelOfferRequestInternal = {
429
- ...this.hotelOfferRequestInternal,
430
- checkOutDate: e,
431
- hotelOfferRequestId: void 0
432
- };
433
- },
434
- children(e) {
435
- this.hotelOfferRequestInternal = {
436
- ...this.hotelOfferRequestInternal,
437
- children: e,
438
- hotelOfferRequestId: void 0
439
- };
440
- },
441
- "config.eventMetadata": {
442
- deep: !0,
443
- handler(e) {
444
- this.hotelOfferRequestInternal = {
445
- ...this.hotelOfferRequestInternal,
446
- eventMetadata: e,
447
- hotelOfferRequestId: void 0
448
- };
449
- }
450
- },
451
- hotelOfferRequestId(e) {
452
- e && (this.hotelOfferRequestInternal = {
453
- ...this.hotelOfferRequestInternal,
454
- hotelOfferRequestId: e
455
- });
456
- },
457
- hotelOfferRequestInternal: {
458
- deep: !0,
459
- async handler() {
460
- await this.onHotelOfferRequestInternalChange();
461
- },
462
- immediate: !0
463
- },
464
- latitude(e) {
465
- this.hotelOfferRequestInternal = {
466
- ...this.hotelOfferRequestInternal,
467
- hotelOfferRequestId: void 0,
468
- latitude: e
469
- };
470
- },
471
- longitude(e) {
472
- this.hotelOfferRequestInternal = {
473
- ...this.hotelOfferRequestInternal,
474
- hotelOfferRequestId: void 0,
475
- longitude: e
476
- };
477
- },
478
- roomCount(e) {
479
- this.hotelOfferRequestInternal = {
480
- ...this.hotelOfferRequestInternal,
481
- hotelOfferRequestId: void 0,
482
- roomCount: e
483
- };
484
- },
485
- sourceMarket(e) {
486
- this.hotelOfferRequestInternal = {
487
- ...this.hotelOfferRequestInternal,
488
- hotelOfferRequestId: void 0,
489
- sourceMarket: e
490
- };
491
- }
492
- }
493
- }), Wi = {
494
- adultCount: {
495
- type: Number
496
- },
497
- checkInDate: {
498
- type: String
499
- },
500
- compact: {
501
- type: Boolean
502
- },
503
- features: {
504
- default: () => Ki,
505
- type: Object
506
- },
507
- hideAction: {
508
- default: !1,
509
- type: Boolean
510
- },
511
- hotelOffer: {
512
- required: !0,
513
- type: Object
514
- },
515
- imageCountLimit: {
516
- type: Number
517
- },
518
- isNoLongerAvail: {
519
- default: !1,
520
- type: Boolean
521
- },
522
- nightCount: {
523
- type: Number
524
- },
525
- singleOffer: {
526
- default: !1,
527
- type: Boolean
528
- }
529
- }, Yi = {
530
- clickable: {
531
- default: !1,
532
- type: Boolean
533
- },
534
- height: { type: String },
535
- imageUrls: { required: !0, type: Array },
536
- isLoading: { default: !1, type: Boolean },
537
- lazy: {
538
- default: 0,
539
- type: Number
540
- },
541
- limit: {
542
- default: 80,
543
- type: Number
544
- },
545
- rounded: { type: Boolean },
546
- showThumbnails: { type: Boolean },
547
- slide: { type: Number },
548
- thumbnailUrls: { type: Array },
549
- thumbnailsHeight: {
550
- type: [String, Number]
551
- },
552
- width: { type: String }
553
- }, Zi = {
554
- ...pa(Yi, "imageUrls"),
555
- hotelOffer: {
556
- required: !0,
557
- type: Object
558
- },
559
- imageCountLimit: {
560
- type: Number
561
- }
562
- }, Xi = J({
563
- components: {
564
- BImageCarousel: vi
565
- },
566
- computed: {
567
- ...Et(Ni),
568
- carouselStyle() {
569
- return {
570
- borderBottomLeftRadius: "0px",
571
- borderTopLeftRadius: "0px",
572
- borderTopRightRadius: "0px"
573
- };
574
- },
575
- hotel() {
576
- return this.$store.get("hotelImages/hotel", this.hotelId);
577
- },
578
- hotelId() {
579
- return this.hotelOffer?.id;
580
- },
581
- imageUrls() {
582
- return mi(this.hotel.hotelImages || []);
583
- }
584
- },
585
- created() {
586
- this.dispatch("hotelImages/retrieveHotelImages", {
587
- hotelId: this.hotelId,
588
- locale: this.$i18n.locale
589
- });
590
- },
591
- mixins: [ha, Nt()],
592
- name: "HotelOfferItem",
593
- props: Zi,
594
- setup() {
595
- const { t: e } = ne();
596
- return {
597
- t: e
598
- };
599
- }
600
- });
601
- function Ji(e, t, l, i, a, s) {
602
- const u = ba("BImageCarousel");
603
- return M(), z(u, {
604
- clickable: "",
605
- height: e.height,
606
- "image-urls": e.imageUrls?.lowres?.slice(0, e.imageCountLimit) || [],
607
- "is-loading": !e.hotel?.hotelImages || e.hotel.isLoading,
608
- lazy: 2,
609
- limit: 15,
610
- rounded: "",
611
- style: Tt(e.carouselStyle),
612
- width: e.width
613
- }, null, 8, ["height", "image-urls", "is-loading", "style", "width"]);
614
- }
615
- const Qi = /* @__PURE__ */ le(Xi, [["render", Ji]]), el = {
616
- key: 1,
617
- class: "hotel-name text-subtitle-1 font-weight-black mr-1 text-primary cursor-pointer"
618
- }, tl = {
619
- key: 0,
620
- class: "text-grey-darken-2 text-caption mt-n1 d-block"
621
- }, al = { key: 0 }, il = { class: "footer bg-white" }, ll = {
622
- class: "mt-2",
623
- style: { cursor: "auto" }
624
- }, Wt = /* @__PURE__ */ J({
625
- __name: "HotelOfferItem",
626
- props: Wi,
627
- setup(e) {
628
- const t = e, { t: l } = ne(), i = H(!1), a = H(!1), s = H(!1), u = Be(), { adultCount: m, checkInDate: h, nightCount: c } = ga(
629
- Be()
630
- ), d = p(
631
- () => t.adultCount || m.value
632
- ), b = p(
633
- () => t.hotelOffer?.tags?.filter((k) => k.name.length > 30) || []
634
- ), f = p(
635
- () => t.checkInDate || h.value
636
- ), o = p(() => {
637
- if (t.features[de.HotelRoomOffersViewDialog])
638
- return "hotel-room-offers-view";
639
- if (t.features[de.HotelDescriptionViewDialog])
640
- return "hotel-description-view";
641
- }), v = p(
642
- () => t.hotelOffer.distance ? Math.round(t.hotelOffer.distance / 1e3 * 100) / 100 : 0
643
- ), g = p(() => t.hotelOffer.id), _ = p(() => u.$state), w = p(
644
- () => t.hotelOffer.hotelRoomOffers[0]
645
- ), T = p(
646
- () => ya({
647
- bookingDatetime: wa().format(),
648
- cancellationPolicies: w.value.cancellationPolicies,
649
- checkInDate: f.value,
650
- timezone: t.hotelOffer.timezone
651
- }) === 0
652
- ), A = p(
653
- () => t.nightCount || c.value
654
- ), N = p(
655
- () => w.value?.hotelRooms.reduce(
656
- (k, $) => k + ($.count || 0),
657
- 0
658
- ) || 0
659
- ), L = p(
660
- () => t.hotelOffer?.tags?.filter((k) => k.name.length <= 30) || []
661
- ), B = p(() => t.hotelOffer?.venues);
662
- function S() {
663
- window.RevolugoElements.eventBus.$emit(
664
- Ie.HotelOffersItemClick,
665
- t.hotelOffer
666
- ), t.features[de.HotelRoomOfferList] ? a.value ? (a.value = !1, setTimeout(() => {
667
- i.value = !1;
668
- }, 500)) : (i.value = !0, qe(() => {
669
- a.value = !0;
670
- })) : (t.features[de.HotelDescriptionViewDialog] || t.features[de.HotelRoomOffersViewDialog]) && (s.value = !0);
671
- }
672
- function F() {
673
- window.RevolugoElements.eventBus.$emit(
674
- Ie.HotelOffersItemClick,
675
- t.hotelOffer
676
- ), s.value = !0, t.features[de.HotelRoomOffersViewDialog] && (a.value = !1, i.value = !1);
677
- }
678
- He(() => {
679
- t.features[de.HotelRoomOffersViewDialog] && window.RevolugoElements.eventBus.$on(Ie.BookingPolicyCreated, () => {
680
- setTimeout(() => {
681
- s.value = !1;
682
- }, 350);
683
- });
684
- });
685
- const V = p(
686
- () => w.value?.hotelRooms
687
- ), x = H(null), { $breakpointService: C } = hi(x), { $dialogAttach: R } = bi(x);
688
- return (k, $) => (M(), z(Wa, {
689
- ref_key: "root",
690
- ref: x,
691
- class: "hover-card",
692
- compact: k.compact,
693
- "is-rooms-details-visible": k.features.RoomsDetails,
694
- "onClick:hotelOfferItem": S
695
- }, ka({
696
- "hotel-description-view-dialog": n(() => [
697
- o.value ? (M(), z(Si, {
698
- key: 0,
699
- modelValue: s.value,
700
- "onUpdate:modelValue": $[1] || ($[1] = (P) => s.value = P),
701
- attach: y(R),
702
- class: "z-index-over-map",
703
- fullscreen: k.features.DialogFullscreen,
704
- light: "",
705
- transition: "slide-x-reverse-transition"
706
- }, {
707
- default: n(() => [
708
- r(Ja, { "at-root": "" }, {
709
- default: n(() => [
710
- r(Fe, {
711
- class: ve(["overflow-y-auto", {
712
- rounded: !k.features.DialogFullscreen,
713
- "hotel-dialog-card": !k.features.DialogFullscreen
714
- }]),
715
- tile: ""
716
- }, {
717
- default: n(() => [
718
- r(at, null, {
719
- default: n(() => [
720
- o.value === "hotel-room-offers-view" ? (M(), z(gi, ee({
721
- key: 0,
722
- class: "pt-2 pa-md-6",
723
- "hotel-id": g.value
724
- }, _.value), null, 16, ["hotel-id"])) : o.value === "hotel-description-view" ? (M(), z(fi, ee({
725
- key: 1,
726
- class: "pt-2 pa-md-6",
727
- "hotel-id": g.value
728
- }, _.value), null, 16, ["hotel-id"])) : X("", !0)
729
- ]),
730
- _: 1
731
- })
732
- ]),
733
- _: 1
734
- }, 8, ["class"])
735
- ]),
736
- _: 1
737
- }),
738
- r(U, {
739
- class: ve(["close-btn", k.features.DialogFullscreen ? "close-btn-fullscreen" : ""]),
740
- dark: "",
741
- icon: "",
742
- variant: "flat",
743
- onClick: $[0] || ($[0] = (P) => s.value = !1)
744
- }, {
745
- default: n(() => [
746
- r(oe, null, {
747
- default: n(() => $[2] || ($[2] = [
748
- E("fas fa-times")
749
- ])),
750
- _: 1,
751
- __: [2]
752
- })
753
- ]),
754
- _: 1
755
- }, 8, ["class"])
756
- ]),
757
- _: 1
758
- }, 8, ["modelValue", "attach", "fullscreen"])) : X("", !0)
759
- ]),
760
- carousel: n(() => [
761
- r(pi, {
762
- height: k.features.RoomsDetails ? "175px" : "140px",
763
- width: !y(C).xs && !k.compact ? "175px" : "100%"
764
- }, {
765
- default: n(() => [
766
- r(Qi, {
767
- height: k.features.RoomsDetails ? "175px" : "140px",
768
- "hotel-offer": k.hotelOffer,
769
- "image-count-limit": k.imageCountLimit,
770
- width: !y(C).xs && !k.compact ? "175px" : "100%"
771
- }, null, 8, ["height", "hotel-offer", "image-count-limit", "width"])
772
- ]),
773
- _: 1
774
- }, 8, ["height", "width"])
775
- ]),
776
- heading: n(() => [
777
- o.value && k.features.HotelRoomOfferList ? (M(), z(Ue, {
778
- key: 0,
779
- attach: k.$el?.parent,
780
- location: "bottom"
781
- }, {
782
- activator: n(({ props: P }) => [
783
- q("span", ee({ class: "hotel-name text-subtitle-1 font-weight-black mr-1 text-primary cursor-pointer" }, P, {
784
- onClick: _a(F, ["stop"])
785
- }), O(k.hotelOffer.name), 17)
786
- ]),
787
- default: n(() => [
788
- E(O(y(l)("HotelOfferItem.openDialogTooltip", {
789
- value: v.value
790
- })) + " ", 1)
791
- ]),
792
- _: 1
793
- }, 8, ["attach"])) : (M(), G("span", el, O(k.hotelOffer.name), 1)),
794
- r(ci, {
795
- count: k.hotelOffer.rating
796
- }, null, 8, ["count"])
797
- ]),
798
- "review-rating": n(() => [
799
- r(ui, {
800
- features: {
801
- ReviewRatingDetails: !1
802
- },
803
- hotel: k.hotelOffer,
804
- "tooltip-position": "bottom"
805
- }, null, 8, ["hotel"])
806
- ]),
807
- distance: n(() => [
808
- isNaN(v.value) ? X("", !0) : (M(), G("span", tl, O(y(l)("HotelOfferItem.distance", { value: v.value })), 1)),
809
- B.value ? (M(), z(di, {
810
- key: 1,
811
- class: "my-n1",
812
- "venue-travel-times": B.value
813
- }, null, 8, ["venue-travel-times"])) : X("", !0)
814
- ]),
815
- "big-tags": n(() => [
816
- (M(!0), G(ie, null, _e(b.value, (P, Q) => (M(), G("div", {
817
- key: Q,
818
- class: "align-self-center d-inline-flex flex-wrap",
819
- style: { gap: "0.3em" }
820
- }, [
821
- r(ut, {
822
- color: P.bg,
823
- "pre-icon": `fas fa-${P.faIcon}`,
824
- "text-color": P.color,
825
- "tooltip-content": P.description ?? void 0
826
- }, {
827
- default: n(() => [
828
- E(O(P.name), 1)
829
- ]),
830
- _: 2
831
- }, 1032, ["color", "pre-icon", "text-color", "tooltip-content"])
832
- ]))), 128))
833
- ]),
834
- tags: n(() => [
835
- (M(!0), G(ie, null, _e(L.value, (P, Q) => (M(), G("div", {
836
- key: Q,
837
- class: "align-self-center d-inline-flex flex-wrap",
838
- style: { gap: "0.3em" }
839
- }, [
840
- r(ut, {
841
- color: P.bg,
842
- "pre-icon": `fas fa-${P.faIcon}`,
843
- "text-color": P.color,
844
- "tooltip-content": P.description ?? void 0
845
- }, {
846
- default: n(() => [
847
- E(O(P.name), 1)
848
- ]),
849
- _: 2
850
- }, 1032, ["color", "pre-icon", "text-color", "tooltip-content"])
851
- ]))), 128))
852
- ]),
853
- "breakfast-option-badge": n(() => [
854
- w.value.breakfastOption === "INCLUDED" ? (M(), z(Za, {
855
- key: 0,
856
- "breakfast-option": w.value.breakfastOption
857
- }, null, 8, ["breakfast-option"])) : X("", !0)
858
- ]),
859
- "package-details": n(() => [
860
- r(Ya, { "hotel-rooms": V.value }, null, 8, ["hotel-rooms"])
861
- ]),
862
- "price-summary": n(() => [
863
- w.value.price ? (M(), G("div", al, [
864
- r(oi, {
865
- "adult-count": d.value,
866
- "is-starting-price": "",
867
- "is-tax-included": "",
868
- "night-count": A.value,
869
- price: w.value.price,
870
- "room-count": N.value,
871
- "round-mode": "round",
872
- "tax-included-price": w.value.taxIncludedPrice
873
- }, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"])
874
- ])) : X("", !0)
875
- ]),
876
- footer: n(() => [
877
- q("div", il, [
878
- k.isNoLongerAvail ? (M(), z(Xa, { key: 0 }, {
879
- title: n(() => [
880
- E(O(y(l)("HotelOfferItem.noLongerAvailable")), 1)
881
- ]),
882
- _: 1
883
- })) : i.value ? (M(), z(yi, { key: 1 }, {
884
- default: n(() => [
885
- Ze(q("div", ll, [
886
- i.value ? Ba(k.$slots, "default", { key: 0 }, void 0, !0) : X("", !0)
887
- ], 512), [
888
- [Dt, k.features.HotelRoomOfferList && a.value]
889
- ])
890
- ]),
891
- _: 3
892
- })) : X("", !0)
893
- ])
894
- ]),
895
- _: 2
896
- }, [
897
- T.value ? {
898
- name: "cancellation-policies-badge",
899
- fn: n(() => [
900
- r(Ga, {
901
- "cancellation-policies": w.value.cancellationPolicies,
902
- "check-in-date": f.value,
903
- timezone: k.hotelOffer.timezone
904
- }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
905
- ]),
906
- key: "0"
907
- } : void 0
908
- ]), 1032, ["compact", "is-rooms-details-visible"]));
909
- }
910
- });
911
- function ht(e) {
912
- const t = e;
913
- t.__i18n = t.__i18n || [], t.__i18n.push({
914
- locale: "",
915
- resource: {
916
- "en-US": {
917
- HotelOfferItem: {
918
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km from venue" }] } },
919
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hotel Offer No Longer available" } },
920
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Best value" }, { t: 2, i: [{ t: 3 }], s: "Best value for your group" }] } },
921
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Click here to open hotel details" } },
922
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "See availability" } },
923
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Show details" } }
924
- }
925
- },
926
- "fr-FR": {
927
- HotelOfferItem: {
928
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km du lieu" }] } },
929
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cette offre n'est plus disponible" } },
930
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Meilleur offre" }, { t: 2, i: [{ t: 3 }], s: "Meilleur offre pour votre groupe" }] } },
931
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cliquer pour voir les détails" } },
932
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voir les disponibilités" } },
933
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Afficher les détails" } }
934
- }
935
- },
936
- "de-DE": {
937
- HotelOfferItem: {
938
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km vom Veranstaltungsort" }] } },
939
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hotelangebot nicht mehr verfügbar" } },
940
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Bestes Preis-Leistungs-Verhältnis" }, { t: 2, i: [{ t: 3 }], s: "Bestes Preis-Leistungs-Verhältnis für Ihre Gruppe" }] } },
941
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hier klicken, um Hoteldetails zu öffnen" } },
942
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Verfügbarkeit prüfen" } },
943
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Details anzeigen" } }
944
- }
945
- },
946
- "es-ES": {
947
- HotelOfferItem: {
948
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km del lugar" }] } },
949
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La oferta del hotel ya no está disponible" } },
950
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Mejor precio" }, { t: 2, i: [{ t: 3 }], s: "Mejor precio para tu grupo" }] } },
951
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Haz clic aquí para abrir los detalles del hotel" } },
952
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ver disponibilidad" } },
953
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar detalles" } }
954
- }
955
- },
956
- "it-IT": {
957
- HotelOfferItem: {
958
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km dalla sede" }] } },
959
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Offerta Hotel non più disponibile" } },
960
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Miglior rapporto qualità/prezzo" }, { t: 2, i: [{ t: 3 }], s: "Miglior rapporto qualità/prezzo per il tuo gruppo" }] } },
961
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clicca qui per aprire i dettagli dell'hotel" } },
962
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vedi disponibilità" } },
963
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostra dettagli" } }
964
- }
965
- },
966
- "nl-NL": {
967
- HotelOfferItem: {
968
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km van de locatie" }] } },
969
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hotelaanbieding niet meer beschikbaar" } },
970
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Beste waarde" }, { t: 2, i: [{ t: 3 }], s: "Beste waarde voor uw groep" }] } },
971
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Klik hier om hoteldetails te openen" } },
972
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bekijk beschikbaarheid" } },
973
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toon details" } }
974
- }
975
- },
976
- "pt-PT": {
977
- HotelOfferItem: {
978
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km do local" }] } },
979
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Oferta de Hotel Indisponível" } },
980
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Melhor preço" }, { t: 2, i: [{ t: 3 }], s: "Melhor preço para o seu grupo" }] } },
981
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clique aqui para abrir os detalhes do hotel" } },
982
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ver disponibilidade" } },
983
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar detalhes" } }
984
- }
985
- }
986
- }
987
- });
988
- }
989
- typeof ht == "function" && ht(Wt);
990
- const Hr = /* @__PURE__ */ le(Wt, [["__scopeId", "data-v-3a696050"]]);
991
- function rl(e, t, l, i) {
992
- function a(s) {
993
- return s instanceof l ? s : new l(function(u) {
994
- u(s);
995
- });
996
- }
997
- return new (l || (l = Promise))(function(s, u) {
998
- function m(d) {
999
- try {
1000
- c(i.next(d));
1001
- } catch (b) {
1002
- u(b);
1003
- }
1004
- }
1005
- function h(d) {
1006
- try {
1007
- c(i.throw(d));
1008
- } catch (b) {
1009
- u(b);
1010
- }
1011
- }
1012
- function c(d) {
1013
- d.done ? s(d.value) : a(d.value).then(m, h);
1014
- }
1015
- c((i = i.apply(e, [])).next());
1016
- });
1017
- }
1018
- function sl(e) {
1019
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1020
- }
1021
- var We, bt;
1022
- function ol() {
1023
- return bt || (bt = 1, We = function e(t, l) {
1024
- if (t === l) return !0;
1025
- if (t && l && typeof t == "object" && typeof l == "object") {
1026
- if (t.constructor !== l.constructor) return !1;
1027
- var i, a, s;
1028
- if (Array.isArray(t)) {
1029
- if (i = t.length, i != l.length) return !1;
1030
- for (a = i; a-- !== 0; )
1031
- if (!e(t[a], l[a])) return !1;
1032
- return !0;
1033
- }
1034
- if (t.constructor === RegExp) return t.source === l.source && t.flags === l.flags;
1035
- if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === l.valueOf();
1036
- if (t.toString !== Object.prototype.toString) return t.toString() === l.toString();
1037
- if (s = Object.keys(t), i = s.length, i !== Object.keys(l).length) return !1;
1038
- for (a = i; a-- !== 0; )
1039
- if (!Object.prototype.hasOwnProperty.call(l, s[a])) return !1;
1040
- for (a = i; a-- !== 0; ) {
1041
- var u = s[a];
1042
- if (!e(t[u], l[u])) return !1;
1043
- }
1044
- return !0;
1045
- }
1046
- return t !== t && l !== l;
1047
- }), We;
1048
- }
1049
- var nl = ol(), ul = /* @__PURE__ */ sl(nl);
1050
- const gt = "__googleMapsScriptId";
1051
- var ke;
1052
- (function(e) {
1053
- e[e.INITIALIZED = 0] = "INITIALIZED", e[e.LOADING = 1] = "LOADING", e[e.SUCCESS = 2] = "SUCCESS", e[e.FAILURE = 3] = "FAILURE";
1054
- })(ke || (ke = {}));
1055
- class he {
1056
- /**
1057
- * Creates an instance of Loader using [[LoaderOptions]]. No defaults are set
1058
- * using this library, instead the defaults are set by the Google Maps
1059
- * JavaScript API server.
1060
- *
1061
- * ```
1062
- * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
1063
- * ```
1064
- */
1065
- constructor({ apiKey: t, authReferrerPolicy: l, channel: i, client: a, id: s = gt, language: u, libraries: m = [], mapIds: h, nonce: c, region: d, retries: b = 3, url: f = "https://maps.googleapis.com/maps/api/js", version: o }) {
1066
- if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = t, this.authReferrerPolicy = l, this.channel = i, this.client = a, this.id = s || gt, this.language = u, this.libraries = m, this.mapIds = h, this.nonce = c, this.region = d, this.retries = b, this.url = f, this.version = o, he.instance) {
1067
- if (!ul(this.options, he.instance.options))
1068
- throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(he.instance.options)}`);
1069
- return he.instance;
1070
- }
1071
- he.instance = this;
1072
- }
1073
- get options() {
1074
- return {
1075
- version: this.version,
1076
- apiKey: this.apiKey,
1077
- channel: this.channel,
1078
- client: this.client,
1079
- id: this.id,
1080
- libraries: this.libraries,
1081
- language: this.language,
1082
- region: this.region,
1083
- mapIds: this.mapIds,
1084
- nonce: this.nonce,
1085
- url: this.url,
1086
- authReferrerPolicy: this.authReferrerPolicy
1087
- };
1088
- }
1089
- get status() {
1090
- return this.errors.length ? ke.FAILURE : this.done ? ke.SUCCESS : this.loading ? ke.LOADING : ke.INITIALIZED;
1091
- }
1092
- get failed() {
1093
- return this.done && !this.loading && this.errors.length >= this.retries + 1;
1094
- }
1095
- /**
1096
- * CreateUrl returns the Google Maps JavaScript API script url given the [[LoaderOptions]].
1097
- *
1098
- * @ignore
1099
- * @deprecated
1100
- */
1101
- createUrl() {
1102
- let t = this.url;
1103
- return t += "?callback=__googleMapsCallback&loading=async", this.apiKey && (t += `&key=${this.apiKey}`), this.channel && (t += `&channel=${this.channel}`), this.client && (t += `&client=${this.client}`), this.libraries.length > 0 && (t += `&libraries=${this.libraries.join(",")}`), this.language && (t += `&language=${this.language}`), this.region && (t += `&region=${this.region}`), this.version && (t += `&v=${this.version}`), this.mapIds && (t += `&map_ids=${this.mapIds.join(",")}`), this.authReferrerPolicy && (t += `&auth_referrer_policy=${this.authReferrerPolicy}`), t;
1104
- }
1105
- deleteScript() {
1106
- const t = document.getElementById(this.id);
1107
- t && t.remove();
1108
- }
1109
- /**
1110
- * Load the Google Maps JavaScript API script and return a Promise.
1111
- * @deprecated, use importLibrary() instead.
1112
- */
1113
- load() {
1114
- return this.loadPromise();
1115
- }
1116
- /**
1117
- * Load the Google Maps JavaScript API script and return a Promise.
1118
- *
1119
- * @ignore
1120
- * @deprecated, use importLibrary() instead.
1121
- */
1122
- loadPromise() {
1123
- return new Promise((t, l) => {
1124
- this.loadCallback((i) => {
1125
- i ? l(i.error) : t(window.google);
1126
- });
1127
- });
1128
- }
1129
- importLibrary(t) {
1130
- return this.execute(), google.maps.importLibrary(t);
1131
- }
1132
- /**
1133
- * Load the Google Maps JavaScript API script with a callback.
1134
- * @deprecated, use importLibrary() instead.
1135
- */
1136
- loadCallback(t) {
1137
- this.callbacks.push(t), this.execute();
1138
- }
1139
- /**
1140
- * Set the script on document.
1141
- */
1142
- setScript() {
1143
- var t, l;
1144
- if (document.getElementById(this.id)) {
1145
- this.callback();
1146
- return;
1147
- }
1148
- const i = {
1149
- key: this.apiKey,
1150
- channel: this.channel,
1151
- client: this.client,
1152
- libraries: this.libraries.length && this.libraries,
1153
- v: this.version,
1154
- mapIds: this.mapIds,
1155
- language: this.language,
1156
- region: this.region,
1157
- authReferrerPolicy: this.authReferrerPolicy
1158
- };
1159
- Object.keys(i).forEach(
1160
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1161
- (s) => !i[s] && delete i[s]
1162
- ), !((l = (t = window?.google) === null || t === void 0 ? void 0 : t.maps) === null || l === void 0) && l.importLibrary || ((s) => {
1163
- let u, m, h, c = "The Google Maps JavaScript API", d = "google", b = "importLibrary", f = "__ib__", o = document, v = window;
1164
- v = v[d] || (v[d] = {});
1165
- const g = v.maps || (v.maps = {}), _ = /* @__PURE__ */ new Set(), w = new URLSearchParams(), T = () => (
1166
- // @ts-ignore
1167
- u || (u = new Promise((A, N) => rl(this, void 0, void 0, function* () {
1168
- var L;
1169
- yield m = o.createElement("script"), m.id = this.id, w.set("libraries", [..._] + "");
1170
- for (h in s)
1171
- w.set(h.replace(/[A-Z]/g, (B) => "_" + B[0].toLowerCase()), s[h]);
1172
- w.set("callback", d + ".maps." + f), m.src = this.url + "?" + w, g[f] = A, m.onerror = () => u = N(Error(c + " could not load.")), m.nonce = this.nonce || ((L = o.querySelector("script[nonce]")) === null || L === void 0 ? void 0 : L.nonce) || "", o.head.append(m);
1173
- })))
1174
- );
1175
- g[b] ? console.warn(c + " only loads once. Ignoring:", s) : g[b] = (A, ...N) => _.add(A) && T().then(() => g[b](A, ...N));
1176
- })(i);
1177
- const a = this.libraries.map((s) => this.importLibrary(s));
1178
- a.length || a.push(this.importLibrary("core")), Promise.all(a).then(() => this.callback(), (s) => {
1179
- const u = new ErrorEvent("error", { error: s });
1180
- this.loadErrorCallback(u);
1181
- });
1182
- }
1183
- /**
1184
- * Reset the loader state.
1185
- */
1186
- reset() {
1187
- this.deleteScript(), this.done = !1, this.loading = !1, this.errors = [], this.onerrorEvent = null;
1188
- }
1189
- resetIfRetryingFailed() {
1190
- this.failed && this.reset();
1191
- }
1192
- loadErrorCallback(t) {
1193
- if (this.errors.push(t), this.errors.length <= this.retries) {
1194
- const l = this.errors.length * Math.pow(2, this.errors.length);
1195
- console.error(`Failed to load Google Maps script, retrying in ${l} ms.`), setTimeout(() => {
1196
- this.deleteScript(), this.setScript();
1197
- }, l);
1198
- } else
1199
- this.onerrorEvent = t, this.callback();
1200
- }
1201
- callback() {
1202
- this.done = !0, this.loading = !1, this.callbacks.forEach((t) => {
1203
- t(this.onerrorEvent);
1204
- }), this.callbacks = [];
1205
- }
1206
- execute() {
1207
- if (this.resetIfRetryingFailed(), !this.loading)
1208
- if (this.done)
1209
- this.callback();
1210
- else {
1211
- if (window.google && window.google.maps && window.google.maps.version) {
1212
- console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."), this.callback();
1213
- return;
1214
- }
1215
- this.loading = !0, this.setScript();
1216
- }
1217
- }
1218
- }
1219
- const cl = {
1220
- isFlat: {
1221
- default: !0,
1222
- type: Boolean
1223
- },
1224
- locationContext: {
1225
- default: null,
1226
- type: Object
1227
- },
1228
- modelValue: {
1229
- default: null,
1230
- type: Object
1231
- },
1232
- outlined: {
1233
- default: !1,
1234
- type: Boolean
1235
- },
1236
- withDetails: {
1237
- default: !1,
1238
- type: Boolean
1239
- }
1240
- };
1241
- function dl(e) {
1242
- switch (e) {
1243
- case "accounting":
1244
- return "fas fa-calculator";
1245
- case "airport":
1246
- return "fas fa-plane";
1247
- case "amusement_park":
1248
- return "fas fa-funnel-dollar";
1249
- case "aquarium":
1250
- return "fas fa-fish";
1251
- case "art_gallery":
1252
- return "fas fa-paint-brush";
1253
- case "atm":
1254
- return "fas fa-money";
1255
- case "bakery":
1256
- return "fas fa-bread-slice";
1257
- case "bank":
1258
- return "fas fa-university";
1259
- case "bar":
1260
- return "fas fa-cocktail";
1261
- case "beauty_salon":
1262
- return "fas fa-cut";
1263
- case "bicycle_store":
1264
- return "fas fa-bicycle";
1265
- case "book_store":
1266
- return "fas fa-book";
1267
- case "bowling_alley":
1268
- return "fas fa-bowling-ball";
1269
- case "bus_station":
1270
- return "fas fa-bus";
1271
- case "cafe":
1272
- return "fas fa-coffee";
1273
- case "campground":
1274
- return "fas fa-campground";
1275
- case "car_dealer":
1276
- return "fas fa-car";
1277
- case "car_rental":
1278
- return "fas fa-car";
1279
- case "car_repair":
1280
- return "fas fa-wrench";
1281
- case "car_wash":
1282
- return "fas fa-car-wash";
1283
- case "casino":
1284
- return "fas fa-dice";
1285
- case "cemetery":
1286
- return "fas fa-cross";
1287
- case "church":
1288
- return "fas fa-church";
1289
- case "city_hall":
1290
- return "fas fa-city";
1291
- case "clothing_store":
1292
- return "fas fa-tshirt";
1293
- case "convenience_store":
1294
- return "fas fa-shopping-basket";
1295
- case "courthouse":
1296
- return "fas fa-balance-scale";
1297
- case "dentist":
1298
- return "fas fa-tooth";
1299
- case "department_store":
1300
- return "fas fa-store";
1301
- case "doctor":
1302
- return "fas fa-user-md";
1303
- case "drugstore":
1304
- return "fas fa-prescription-bottle-alt";
1305
- case "electrician":
1306
- return "fas fa-bolt";
1307
- case "electronics_store":
1308
- return "fas fa-tv";
1309
- case "embassy":
1310
- return "fas fa-flag";
1311
- case "fire_station":
1312
- return "fas fa-fire-extinguisher";
1313
- case "florist":
1314
- return "fas fa-seedling";
1315
- case "funeral_home":
1316
- return "fas fa-cross";
1317
- case "furniture_store":
1318
- return "fas fa-chair";
1319
- case "gas_station":
1320
- return "fas fa-gas-pump";
1321
- case "gym":
1322
- return "fas fa-dumbbell";
1323
- case "hair_care":
1324
- return "fas fa-cut";
1325
- case "hardware_store":
1326
- return "fas fa-tools";
1327
- case "hindu_temple":
1328
- return "fas fa-om";
1329
- case "home_goods_store":
1330
- return "fas fa-home";
1331
- case "hospital":
1332
- return "fas fa-hospital";
1333
- case "insurance_agency":
1334
- return "fas fa-shield-alt";
1335
- case "jewelry_store":
1336
- return "fas fa-gem";
1337
- case "laundry":
1338
- return "fas fa-tshirt";
1339
- case "lawyer":
1340
- return "fas fa-balance-scale";
1341
- case "library":
1342
- return "fas fa-book-open";
1343
- case "light_rail_station":
1344
- return "fas fa-train";
1345
- case "liquor_store":
1346
- return "fas fa-wine-bottle";
1347
- case "local_government_office":
1348
- return "fas fa-landmark";
1349
- case "locksmith":
1350
- return "fas fa-lock";
1351
- case "lodging":
1352
- return "fas fa-hotel";
1353
- case "meal_delivery":
1354
- return "fas fa-truck";
1355
- case "meal_takeaway":
1356
- return "fas fa-box";
1357
- case "mosque":
1358
- return "fas fa-mosque";
1359
- case "movie_rental":
1360
- return "fas fa-film";
1361
- case "movie_theater":
1362
- return "fas fa-film";
1363
- case "moving_company":
1364
- return "fas fa-truck";
1365
- case "museum":
1366
- return "fas fa-university";
1367
- case "night_club":
1368
- return "fas fa-glass-martini-alt";
1369
- case "painter":
1370
- return "fas fa-paint-roller";
1371
- case "park":
1372
- return "fas fa-tree";
1373
- case "parking":
1374
- return "fas fa-parking";
1375
- case "pet_store":
1376
- return "fas fa-paw";
1377
- case "pharmacy":
1378
- return "fas fa-prescription-bottle-alt";
1379
- case "physiotherapist":
1380
- return "fas fa-briefcase-medical";
1381
- case "plumber":
1382
- return "fas fa-wrench";
1383
- case "police":
1384
- return "fas fa-police";
1385
- case "post_office":
1386
- return "fas fa-mail-bulk";
1387
- case "primary_school":
1388
- return "fas fa-school";
1389
- case "real_estate_agency":
1390
- return "fas fa-building";
1391
- case "restaurant":
1392
- return "fas fa-utensils";
1393
- case "roofing_contractor":
1394
- return "fas fa-tools";
1395
- case "rv_park":
1396
- return "fas fa-campground";
1397
- case "school":
1398
- return "fas fa-graduation-cap";
1399
- case "secondary_school":
1400
- return "fas fa-school";
1401
- case "shoe_store":
1402
- return "fas fa-shoe-prints";
1403
- case "shopping_mall":
1404
- return "fas fa-shopping-mall";
1405
- case "spa":
1406
- return "fas fa-spa";
1407
- case "stadium":
1408
- return "fas fa-stadium";
1409
- case "storage":
1410
- return "fas fa-warehouse";
1411
- case "store":
1412
- return "fas fa-store";
1413
- case "subway_station":
1414
- return "fas fa-subway";
1415
- case "supermarket":
1416
- return "fas fa-shopping-cart";
1417
- case "synagogue":
1418
- return "fas fa-synagogue";
1419
- case "taxi_stand":
1420
- return "fas fa-taxi";
1421
- case "tourist_attraction":
1422
- return "fas fa-map-marked-alt";
1423
- case "train_station":
1424
- return "fas fa-train";
1425
- case "transit_station":
1426
- return "fas fa-bus";
1427
- case "travel_agency":
1428
- return "fas fa-map-marked-alt";
1429
- case "university":
1430
- return "fas fa-graduation-cap";
1431
- case "veterinary_care":
1432
- return "fas fa-paw";
1433
- case "zoo":
1434
- return "fas fa-paw";
1435
- case void 0:
1436
- default:
1437
- return "fas fa-location-dot";
1438
- }
1439
- }
1440
- const Yt = /* @__PURE__ */ J({
1441
- __name: "BSearchLocationInput",
1442
- props: /* @__PURE__ */ be(cl, {
1443
- modelValue: {},
1444
- modelModifiers: {}
1445
- }),
1446
- emits: ["update:modelValue"],
1447
- setup(e) {
1448
- function t(o) {
1449
- return dl(o?.[0]);
1450
- }
1451
- const { t: l } = ne(), { config: i } = Ra(), a = ue(e, "modelValue"), s = H(""), u = H([]), m = H(!1), h = H(!1), c = p(() => zi(i.value.apiEnvironment)), d = e;
1452
- function b() {
1453
- return new Promise((o) => {
1454
- new he({
1455
- apiKey: c.value,
1456
- libraries: ["places"],
1457
- version: "quarterly"
1458
- }).importLibrary("places").then(({ PlacesService: g }) => {
1459
- const _ = new g(document.createElement("div"));
1460
- if (s.value || o([]), d.locationContext) {
1461
- const w = {
1462
- location: {
1463
- lat: d.locationContext.latitude,
1464
- lng: d.locationContext.longitude
1465
- },
1466
- query: s.value,
1467
- radius: 1e4
1468
- };
1469
- _.textSearch(w, (T) => {
1470
- o(T ?? []);
1471
- });
1472
- } else {
1473
- const w = {
1474
- fields: ["name", "geometry", "types", "formatted_address"],
1475
- query: s.value
1476
- };
1477
- _.findPlaceFromQuery(w, (T) => {
1478
- o(T ?? []);
1479
- });
1480
- }
1481
- }).catch((g) => {
1482
- pt.error(g), o([]);
1483
- });
1484
- });
1485
- }
1486
- const f = xt(async () => {
1487
- try {
1488
- m.value = !0;
1489
- const o = await b();
1490
- return u.value = o.filter((v) => !!v.geometry?.location).map((v) => ({
1491
- icon: t(v.types),
1492
- latitude: v.geometry.location.lat(),
1493
- longitude: v.geometry.location.lng(),
1494
- raw: v,
1495
- subtitle: v.formatted_address ?? "",
1496
- title: Sa([v.name]).join(" ")
1497
- })), m.value = !1, u.value;
1498
- } catch (o) {
1499
- return pt.error(o), m.value = !1, [];
1500
- }
1501
- }, 500);
1502
- return W(s, async (o) => {
1503
- if (!o) {
1504
- u.value = [];
1505
- return;
1506
- }
1507
- await f();
1508
- }), He(() => {
1509
- qe(() => {
1510
- s.value = a.value?.raw?.name || "";
1511
- }).catch((o) => {
1512
- console.error(o);
1513
- });
1514
- }), (o, v) => (M(), z(Ii, {
1515
- class: ve(["search-location-input", { focused: h.value }]),
1516
- density: "compact",
1517
- flat: o.isFlat,
1518
- "hide-details": !o.withDetails,
1519
- "hide-no-data": "",
1520
- "item-title": "title",
1521
- items: u.value,
1522
- placeholder: y(l)("BSearchLocationInput.placeholder"),
1523
- loading: m.value,
1524
- "no-filter": "",
1525
- outlined: o.outlined,
1526
- "return-object": "",
1527
- modelValue: a.value,
1528
- "onUpdate:modelValue": v[0] || (v[0] = (g) => a.value = g),
1529
- search: s.value,
1530
- "onUpdate:search": v[1] || (v[1] = (g) => s.value = g),
1531
- focused: h.value,
1532
- "onUpdate:focused": v[2] || (v[2] = (g) => h.value = g),
1533
- variant: o.outlined ? void 0 : "solo",
1534
- color: "primary",
1535
- "menu-props": {
1536
- contentClass: "elevation-1"
1537
- },
1538
- "list-props": {
1539
- elevation: 0,
1540
- class: "mt-1"
1541
- }
1542
- }, {
1543
- "prepend-inner": n(() => [
1544
- r(oe, { size: "15" }, {
1545
- default: n(() => v[3] || (v[3] = [
1546
- E("fas fa-solid fa-magnifying-glass")
1547
- ])),
1548
- _: 1,
1549
- __: [3]
1550
- })
1551
- ]),
1552
- item: n(({ item: g, props: _ }) => [
1553
- r(Xe, Ma(Oa(_)), {
1554
- prepend: n(() => [
1555
- r(oe, {
1556
- color: "primary",
1557
- size: "25"
1558
- }, {
1559
- default: n(() => [
1560
- E(O(g.raw.icon), 1)
1561
- ]),
1562
- _: 2
1563
- }, 1024)
1564
- ]),
1565
- _: 2
1566
- }, 1040)
1567
- ]),
1568
- _: 1
1569
- }, 8, ["flat", "hide-details", "items", "placeholder", "loading", "outlined", "modelValue", "search", "focused", "variant", "class"]));
1570
- }
1571
- });
1572
- function yt(e) {
1573
- const t = e;
1574
- t.__i18n = t.__i18n || [], t.__i18n.push({
1575
- locale: "",
1576
- resource: {
1577
- "en-US": {
1578
- BSearchLocationInput: {
1579
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Location" } },
1580
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Search for a location" } },
1581
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No locations found" } }
1582
- }
1583
- },
1584
- "fr-FR": {
1585
- BSearchLocationInput: {
1586
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Adresse" } },
1587
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Entrer une adresse" } },
1588
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aucun résultat trouvé" } }
1589
- }
1590
- },
1591
- "de-DE": {
1592
- BSearchLocationInput: {
1593
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ort" } },
1594
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Suche nach einem Ort" } },
1595
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Keine Orte gefunden" } }
1596
- }
1597
- },
1598
- "es-ES": {
1599
- BSearchLocationInput: {
1600
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ubicación" } },
1601
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Buscar una ubicación" } },
1602
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No se encontraron ubicaciones" } }
1603
- }
1604
- },
1605
- "it-IT": {
1606
- BSearchLocationInput: {
1607
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Luogo" } },
1608
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cerca una località" } },
1609
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nessuna località trovata" } }
1610
- }
1611
- },
1612
- "nl-NL": {
1613
- BSearchLocationInput: {
1614
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Locatie" } },
1615
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zoek naar een locatie" } },
1616
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geen locaties gevonden" } }
1617
- }
1618
- },
1619
- "pt-PT": {
1620
- BSearchLocationInput: {
1621
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Localização" } },
1622
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pesquisar por uma localização" } },
1623
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nenhuma localização encontrada" } }
1624
- }
1625
- }
1626
- }
1627
- });
1628
- }
1629
- typeof yt == "function" && yt(Yt);
1630
- const qr = /* @__PURE__ */ le(Yt, [["__scopeId", "data-v-ef7430f3"]]), lt = Symbol.for("vuetify:v-slider");
1631
- function Qe(e, t, l) {
1632
- const i = l === "vertical", a = t.getBoundingClientRect(), s = "touches" in e ? e.touches[0] : e;
1633
- return i ? s.clientY - (a.top + a.height / 2) : s.clientX - (a.left + a.width / 2);
1634
- }
1635
- function fl(e, t) {
1636
- return "touches" in e && e.touches.length ? e.touches[0][t] : "changedTouches" in e && e.changedTouches.length ? e.changedTouches[0][t] : e[t];
1637
- }
1638
- const vl = Re({
1639
- disabled: {
1640
- type: Boolean,
1641
- default: null
1642
- },
1643
- error: Boolean,
1644
- readonly: {
1645
- type: Boolean,
1646
- default: null
1647
- },
1648
- max: {
1649
- type: [Number, String],
1650
- default: 100
1651
- },
1652
- min: {
1653
- type: [Number, String],
1654
- default: 0
1655
- },
1656
- step: {
1657
- type: [Number, String],
1658
- default: 0
1659
- },
1660
- thumbColor: String,
1661
- thumbLabel: {
1662
- type: [Boolean, String],
1663
- default: void 0,
1664
- validator: (e) => typeof e == "boolean" || e === "always"
1665
- },
1666
- thumbSize: {
1667
- type: [Number, String],
1668
- default: 20
1669
- },
1670
- showTicks: {
1671
- type: [Boolean, String],
1672
- default: !1,
1673
- validator: (e) => typeof e == "boolean" || e === "always"
1674
- },
1675
- ticks: {
1676
- type: [Array, Object]
1677
- },
1678
- tickSize: {
1679
- type: [Number, String],
1680
- default: 2
1681
- },
1682
- color: String,
1683
- trackColor: String,
1684
- trackFillColor: String,
1685
- trackSize: {
1686
- type: [Number, String],
1687
- default: 4
1688
- },
1689
- direction: {
1690
- type: String,
1691
- default: "horizontal",
1692
- validator: (e) => ["vertical", "horizontal"].includes(e)
1693
- },
1694
- reverse: Boolean,
1695
- ...jt(),
1696
- ...Ut({
1697
- elevation: 2
1698
- }),
1699
- ripple: {
1700
- type: Boolean,
1701
- default: !0
1702
- }
1703
- }, "Slider"), ml = (e) => {
1704
- const t = p(() => parseFloat(e.min)), l = p(() => parseFloat(e.max)), i = p(() => Number(e.step) > 0 ? parseFloat(e.step) : 0), a = p(() => Math.max(st(i.value), st(t.value)));
1705
- function s(u) {
1706
- if (u = parseFloat(u), i.value <= 0) return u;
1707
- const m = et(u, t.value, l.value), h = t.value % i.value, c = Math.round((m - h) / i.value) * i.value + h;
1708
- return parseFloat(Math.min(c, l.value).toFixed(a.value));
1709
- }
1710
- return {
1711
- min: t,
1712
- max: l,
1713
- step: i,
1714
- decimals: a,
1715
- roundValue: s
1716
- };
1717
- }, pl = (e) => {
1718
- let {
1719
- props: t,
1720
- steps: l,
1721
- onSliderStart: i,
1722
- onSliderMove: a,
1723
- onSliderEnd: s,
1724
- getActiveThumb: u
1725
- } = e;
1726
- const {
1727
- isRtl: m
1728
- } = Ne(), h = te(t, "reverse"), c = p(() => t.direction === "vertical"), d = p(() => c.value !== h.value), {
1729
- min: b,
1730
- max: f,
1731
- step: o,
1732
- decimals: v,
1733
- roundValue: g
1734
- } = l, _ = p(() => parseInt(t.thumbSize, 10)), w = p(() => parseInt(t.tickSize, 10)), T = p(() => parseInt(t.trackSize, 10)), A = p(() => (f.value - b.value) / o.value), N = te(t, "disabled"), L = p(() => t.error || t.disabled ? void 0 : t.thumbColor ?? t.color), B = p(() => t.error || t.disabled ? void 0 : t.trackColor ?? t.color), S = p(() => t.error || t.disabled ? void 0 : t.trackFillColor ?? t.color), F = se(!1), V = se(0), x = H(), C = H();
1735
- function R(I) {
1736
- const j = x.value?.$el;
1737
- if (!j) return;
1738
- const Te = t.direction === "vertical", sa = Te ? "top" : "left", oa = Te ? "height" : "width", na = Te ? "clientY" : "clientX", {
1739
- [sa]: ua,
1740
- [oa]: ca
1741
- } = j.getBoundingClientRect(), da = fl(I, na);
1742
- let Ge = Math.min(Math.max((da - ua - V.value) / ca, 0), 1) || 0;
1743
- return (Te ? d.value : d.value !== m.value) && (Ge = 1 - Ge), g(b.value + Ge * (f.value - b.value));
1744
- }
1745
- const k = (I) => {
1746
- const j = R(I);
1747
- j != null && s({
1748
- value: j
1749
- }), F.value = !1, V.value = 0;
1750
- }, $ = (I) => {
1751
- const j = R(I);
1752
- C.value = u(I), C.value && (F.value = !0, C.value.contains(I.target) ? V.value = Qe(I, C.value, t.direction) : (V.value = 0, j != null && a({
1753
- value: j
1754
- })), j != null && i({
1755
- value: j
1756
- }), qe(() => C.value?.focus()));
1757
- }, P = {
1758
- passive: !0,
1759
- capture: !0
1760
- };
1761
- function Q(I) {
1762
- const j = R(I);
1763
- j != null && a({
1764
- value: j
1765
- });
1766
- }
1767
- function ge(I) {
1768
- I.stopPropagation(), I.preventDefault(), k(I), window.removeEventListener("mousemove", Q, P), window.removeEventListener("mouseup", ge);
1769
- }
1770
- function me(I) {
1771
- k(I), window.removeEventListener("touchmove", Q, P), I.target?.removeEventListener("touchend", me);
1772
- }
1773
- function Se(I) {
1774
- $(I), window.addEventListener("touchmove", Q, P), I.target?.addEventListener("touchend", me, {
1775
- passive: !1
1776
- });
1777
- }
1778
- function D(I) {
1779
- I.button === 0 && (I.preventDefault(), $(I), window.addEventListener("mousemove", Q, P), window.addEventListener("mouseup", ge, {
1780
- passive: !1
1781
- }));
1782
- }
1783
- const Z = (I) => {
1784
- const j = (I - b.value) / (f.value - b.value) * 100;
1785
- return et(isNaN(j) ? 0 : j, 0, 100);
1786
- }, ye = te(t, "showTicks"), Me = p(() => ye.value ? t.ticks ? Array.isArray(t.ticks) ? t.ticks.map((I) => ({
1787
- value: I,
1788
- position: Z(I),
1789
- label: I.toString()
1790
- })) : Object.keys(t.ticks).map((I) => ({
1791
- value: parseFloat(I),
1792
- position: Z(parseFloat(I)),
1793
- label: t.ticks[I]
1794
- })) : A.value !== 1 / 0 ? At(A.value + 1).map((I) => {
1795
- const j = b.value + I * o.value;
1796
- return {
1797
- value: j,
1798
- position: Z(j)
1799
- };
1800
- }) : [] : []), xe = p(() => Me.value.some((I) => {
1801
- let {
1802
- label: j
1803
- } = I;
1804
- return !!j;
1805
- })), Ee = {
1806
- activeThumbRef: C,
1807
- color: te(t, "color"),
1808
- decimals: v,
1809
- disabled: N,
1810
- direction: te(t, "direction"),
1811
- elevation: te(t, "elevation"),
1812
- hasLabels: xe,
1813
- isReversed: h,
1814
- indexFromEnd: d,
1815
- min: b,
1816
- max: f,
1817
- mousePressed: F,
1818
- numTicks: A,
1819
- onSliderMousedown: D,
1820
- onSliderTouchstart: Se,
1821
- parsedTicks: Me,
1822
- parseMouseMove: R,
1823
- position: Z,
1824
- readonly: te(t, "readonly"),
1825
- rounded: te(t, "rounded"),
1826
- roundValue: g,
1827
- showTicks: ye,
1828
- startOffset: V,
1829
- step: o,
1830
- thumbSize: _,
1831
- thumbColor: L,
1832
- thumbLabel: te(t, "thumbLabel"),
1833
- ticks: te(t, "ticks"),
1834
- tickSize: w,
1835
- trackColor: B,
1836
- trackContainerRef: x,
1837
- trackFillColor: S,
1838
- trackSize: T,
1839
- vertical: c
1840
- };
1841
- return Ca(lt, Ee), Ee;
1842
- }, hl = Re({
1843
- focused: Boolean,
1844
- max: {
1845
- type: Number,
1846
- required: !0
1847
- },
1848
- min: {
1849
- type: Number,
1850
- required: !0
1851
- },
1852
- modelValue: {
1853
- type: Number,
1854
- required: !0
1855
- },
1856
- position: {
1857
- type: Number,
1858
- required: !0
1859
- },
1860
- ripple: {
1861
- type: [Boolean, Object],
1862
- default: !0
1863
- },
1864
- name: String,
1865
- ...ze()
1866
- }, "VSliderThumb"), wt = Ve()({
1867
- name: "VSliderThumb",
1868
- directives: {
1869
- Ripple: wi
1870
- },
1871
- props: hl(),
1872
- emits: {
1873
- "update:modelValue": (e) => !0
1874
- },
1875
- setup(e, t) {
1876
- let {
1877
- slots: l,
1878
- emit: i
1879
- } = t;
1880
- const a = Lt(lt), {
1881
- isRtl: s,
1882
- rtlClasses: u
1883
- } = Ne();
1884
- if (!a) throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");
1885
- const {
1886
- thumbColor: m,
1887
- step: h,
1888
- disabled: c,
1889
- thumbSize: d,
1890
- thumbLabel: b,
1891
- direction: f,
1892
- isReversed: o,
1893
- vertical: v,
1894
- readonly: g,
1895
- elevation: _,
1896
- mousePressed: w,
1897
- decimals: T,
1898
- indexFromEnd: A
1899
- } = a, N = p(() => c.value ? void 0 : _.value), {
1900
- elevationClasses: L
1901
- } = Kt(N), {
1902
- textColorClasses: B,
1903
- textColorStyles: S
1904
- } = Qa(m), {
1905
- pageup: F,
1906
- pagedown: V,
1907
- end: x,
1908
- home: C,
1909
- left: R,
1910
- right: k,
1911
- down: $,
1912
- up: P
1913
- } = Ia, Q = [F, V, x, C, R, k, $, P], ge = p(() => h.value ? [1, 2, 3] : [1, 5, 10]);
1914
- function me(D, Z) {
1915
- if (!Q.includes(D.key)) return;
1916
- D.preventDefault();
1917
- const ye = h.value || 0.1, Me = (e.max - e.min) / ye;
1918
- if ([R, k, $, P].includes(D.key)) {
1919
- const Ee = (v.value ? [s.value ? R : k, o.value ? $ : P] : A.value !== s.value ? [R, P] : [k, P]).includes(D.key) ? 1 : -1, I = D.shiftKey ? 2 : D.ctrlKey ? 1 : 0;
1920
- Z = Z + Ee * ye * ge.value[I];
1921
- } else if (D.key === C)
1922
- Z = e.min;
1923
- else if (D.key === x)
1924
- Z = e.max;
1925
- else {
1926
- const xe = D.key === V ? 1 : -1;
1927
- Z = Z - xe * ye * (Me > 100 ? Me / 10 : 10);
1928
- }
1929
- return Math.max(e.min, Math.min(e.max, Z));
1930
- }
1931
- function Se(D) {
1932
- const Z = me(D, e.modelValue);
1933
- Z != null && i("update:modelValue", Z);
1934
- }
1935
- return Pe(() => {
1936
- const D = fe(A.value ? 100 - e.position : e.position, "%");
1937
- return r("div", {
1938
- class: ["v-slider-thumb", {
1939
- "v-slider-thumb--focused": e.focused,
1940
- "v-slider-thumb--pressed": e.focused && w.value
1941
- }, e.class, u.value],
1942
- style: [{
1943
- "--v-slider-thumb-position": D,
1944
- "--v-slider-thumb-size": fe(d.value)
1945
- }, e.style],
1946
- role: "slider",
1947
- tabindex: c.value ? -1 : 0,
1948
- "aria-label": e.name,
1949
- "aria-valuemin": e.min,
1950
- "aria-valuemax": e.max,
1951
- "aria-valuenow": e.modelValue,
1952
- "aria-readonly": !!g.value,
1953
- "aria-orientation": f.value,
1954
- onKeydown: g.value ? void 0 : Se
1955
- }, [r("div", {
1956
- class: ["v-slider-thumb__surface", B.value, L.value],
1957
- style: {
1958
- ...S.value
1959
- }
1960
- }, null), Ze(r("div", {
1961
- class: ["v-slider-thumb__ripple", B.value],
1962
- style: S.value
1963
- }, null), [[Va("ripple"), e.ripple, null, {
1964
- circle: !0,
1965
- center: !0
1966
- }]]), r(ki, {
1967
- origin: "bottom center"
1968
- }, {
1969
- default: () => [Ze(r("div", {
1970
- class: "v-slider-thumb__label-container"
1971
- }, [r("div", {
1972
- class: ["v-slider-thumb__label"]
1973
- }, [r("div", null, [l["thumb-label"]?.({
1974
- modelValue: e.modelValue
1975
- }) ?? e.modelValue.toFixed(h.value ? T.value : 1)])])]), [[Dt, b.value && e.focused || b.value === "always"]])]
1976
- })]);
1977
- }), {};
1978
- }
1979
- }), bl = Re({
1980
- start: {
1981
- type: Number,
1982
- required: !0
1983
- },
1984
- stop: {
1985
- type: Number,
1986
- required: !0
1987
- },
1988
- ...ze()
1989
- }, "VSliderTrack"), gl = Ve()({
1990
- name: "VSliderTrack",
1991
- props: bl(),
1992
- emits: {},
1993
- setup(e, t) {
1994
- let {
1995
- slots: l
1996
- } = t;
1997
- const i = Lt(lt);
1998
- if (!i) throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");
1999
- const {
2000
- color: a,
2001
- parsedTicks: s,
2002
- rounded: u,
2003
- showTicks: m,
2004
- tickSize: h,
2005
- trackColor: c,
2006
- trackFillColor: d,
2007
- trackSize: b,
2008
- vertical: f,
2009
- min: o,
2010
- max: v,
2011
- indexFromEnd: g
2012
- } = i, {
2013
- roundedClasses: _
2014
- } = Gt(u), {
2015
- backgroundColorClasses: w,
2016
- backgroundColorStyles: T
2017
- } = $e(d), {
2018
- backgroundColorClasses: A,
2019
- backgroundColorStyles: N
2020
- } = $e(c), L = p(() => `inset-${f.value ? "block" : "inline"}-${g.value ? "end" : "start"}`), B = p(() => f.value ? "height" : "width"), S = p(() => ({
2021
- [L.value]: "0%",
2022
- [B.value]: "100%"
2023
- })), F = p(() => e.stop - e.start), V = p(() => ({
2024
- [L.value]: fe(e.start, "%"),
2025
- [B.value]: fe(F.value, "%")
2026
- })), x = p(() => m.value ? (f.value ? s.value.slice().reverse() : s.value).map((R, k) => {
2027
- const $ = R.value !== o.value && R.value !== v.value ? fe(R.position, "%") : void 0;
2028
- return r("div", {
2029
- key: R.value,
2030
- class: ["v-slider-track__tick", {
2031
- "v-slider-track__tick--filled": R.position >= e.start && R.position <= e.stop,
2032
- "v-slider-track__tick--first": R.value === o.value,
2033
- "v-slider-track__tick--last": R.value === v.value
2034
- }],
2035
- style: {
2036
- [L.value]: $
2037
- }
2038
- }, [(R.label || l["tick-label"]) && r("div", {
2039
- class: "v-slider-track__tick-label"
2040
- }, [l["tick-label"]?.({
2041
- tick: R,
2042
- index: k
2043
- }) ?? R.label])]);
2044
- }) : []);
2045
- return Pe(() => r("div", {
2046
- class: ["v-slider-track", _.value, e.class],
2047
- style: [{
2048
- "--v-slider-track-size": fe(b.value),
2049
- "--v-slider-tick-size": fe(h.value)
2050
- }, e.style]
2051
- }, [r("div", {
2052
- class: ["v-slider-track__background", A.value, {
2053
- "v-slider-track__background--opacity": !!a.value || !d.value
2054
- }],
2055
- style: {
2056
- ...S.value,
2057
- ...N.value
2058
- }
2059
- }, null), r("div", {
2060
- class: ["v-slider-track__fill", w.value],
2061
- style: {
2062
- ...V.value,
2063
- ...T.value
2064
- }
2065
- }, null), m.value && r("div", {
2066
- class: ["v-slider-track__ticks", {
2067
- "v-slider-track__ticks--always-show": m.value === "always"
2068
- }]
2069
- }, [x.value])])), {};
2070
- }
2071
- }), yl = Re({
2072
- ...Ti(),
2073
- ...Ei(),
2074
- ...vl(),
2075
- strict: Boolean,
2076
- modelValue: {
2077
- type: Array,
2078
- default: () => [0, 0]
2079
- }
2080
- }, "VRangeSlider"), wl = Ve()({
2081
- name: "VRangeSlider",
2082
- props: yl(),
2083
- emits: {
2084
- "update:focused": (e) => !0,
2085
- "update:modelValue": (e) => !0,
2086
- end: (e) => !0,
2087
- start: (e) => !0
2088
- },
2089
- setup(e, t) {
2090
- let {
2091
- slots: l,
2092
- emit: i
2093
- } = t;
2094
- const a = H(), s = H(), u = H(), {
2095
- rtlClasses: m
2096
- } = Ne();
2097
- function h(x) {
2098
- if (!a.value || !s.value) return;
2099
- const C = Qe(x, a.value.$el, e.direction), R = Qe(x, s.value.$el, e.direction), k = Math.abs(C), $ = Math.abs(R);
2100
- return k < $ || k === $ && C < 0 ? a.value.$el : s.value.$el;
2101
- }
2102
- const c = ml(e), d = tt(e, "modelValue", void 0, (x) => x?.length ? x.map((C) => c.roundValue(C)) : [0, 0]), {
2103
- activeThumbRef: b,
2104
- hasLabels: f,
2105
- max: o,
2106
- min: v,
2107
- mousePressed: g,
2108
- onSliderMousedown: _,
2109
- onSliderTouchstart: w,
2110
- position: T,
2111
- trackContainerRef: A,
2112
- readonly: N
2113
- } = pl({
2114
- props: e,
2115
- steps: c,
2116
- onSliderStart: () => {
2117
- i("start", d.value);
2118
- },
2119
- onSliderEnd: (x) => {
2120
- let {
2121
- value: C
2122
- } = x;
2123
- const R = b.value === a.value?.$el ? [C, d.value[1]] : [d.value[0], C];
2124
- !e.strict && R[0] < R[1] && (d.value = R), i("end", d.value);
2125
- },
2126
- onSliderMove: (x) => {
2127
- let {
2128
- value: C
2129
- } = x;
2130
- const [R, k] = d.value;
2131
- !e.strict && R === k && R !== v.value && (b.value = C > R ? s.value?.$el : a.value?.$el, b.value?.focus()), b.value === a.value?.$el ? d.value = [Math.min(C, k), k] : d.value = [R, Math.max(R, C)];
2132
- },
2133
- getActiveThumb: h
2134
- }), {
2135
- isFocused: L,
2136
- focus: B,
2137
- blur: S
2138
- } = xi(e), F = p(() => T(d.value[0])), V = p(() => T(d.value[1]));
2139
- return Pe(() => {
2140
- const x = vt.filterProps(e), C = !!(e.label || l.label || l.prepend);
2141
- return r(vt, ee({
2142
- class: ["v-slider", "v-range-slider", {
2143
- "v-slider--has-labels": !!l["tick-label"] || f.value,
2144
- "v-slider--focused": L.value,
2145
- "v-slider--pressed": g.value,
2146
- "v-slider--disabled": e.disabled
2147
- }, m.value, e.class],
2148
- style: e.style,
2149
- ref: u
2150
- }, x, {
2151
- focused: L.value
2152
- }), {
2153
- ...l,
2154
- prepend: C ? (R) => r(ie, null, [l.label?.(R) ?? (e.label ? r(Li, {
2155
- class: "v-slider__label",
2156
- text: e.label
2157
- }, null) : void 0), l.prepend?.(R)]) : void 0,
2158
- default: (R) => {
2159
- let {
2160
- id: k,
2161
- messagesId: $
2162
- } = R;
2163
- return r("div", {
2164
- class: "v-slider__container",
2165
- onMousedown: N.value ? void 0 : _,
2166
- onTouchstartPassive: N.value ? void 0 : w
2167
- }, [r("input", {
2168
- id: `${k.value}_start`,
2169
- name: e.name || k.value,
2170
- disabled: !!e.disabled,
2171
- readonly: !!e.readonly,
2172
- tabindex: "-1",
2173
- value: d.value[0]
2174
- }, null), r("input", {
2175
- id: `${k.value}_stop`,
2176
- name: e.name || k.value,
2177
- disabled: !!e.disabled,
2178
- readonly: !!e.readonly,
2179
- tabindex: "-1",
2180
- value: d.value[1]
2181
- }, null), r(gl, {
2182
- ref: A,
2183
- start: F.value,
2184
- stop: V.value
2185
- }, {
2186
- "tick-label": l["tick-label"]
2187
- }), r(wt, {
2188
- ref: a,
2189
- "aria-describedby": $.value,
2190
- focused: L && b.value === a.value?.$el,
2191
- modelValue: d.value[0],
2192
- "onUpdate:modelValue": (P) => d.value = [P, d.value[1]],
2193
- onFocus: (P) => {
2194
- B(), b.value = a.value?.$el, o.value !== v.value && d.value[0] === d.value[1] && d.value[1] === v.value && P.relatedTarget !== s.value?.$el && (a.value?.$el.blur(), s.value?.$el.focus());
2195
- },
2196
- onBlur: () => {
2197
- S(), b.value = void 0;
2198
- },
2199
- min: v.value,
2200
- max: d.value[1],
2201
- position: F.value,
2202
- ripple: e.ripple
2203
- }, {
2204
- "thumb-label": l["thumb-label"]
2205
- }), r(wt, {
2206
- ref: s,
2207
- "aria-describedby": $.value,
2208
- focused: L && b.value === s.value?.$el,
2209
- modelValue: d.value[1],
2210
- "onUpdate:modelValue": (P) => d.value = [d.value[0], P],
2211
- onFocus: (P) => {
2212
- B(), b.value = s.value?.$el, o.value !== v.value && d.value[0] === d.value[1] && d.value[0] === o.value && P.relatedTarget !== a.value?.$el && (s.value?.$el.blur(), a.value?.$el.focus());
2213
- },
2214
- onBlur: () => {
2215
- S(), b.value = void 0;
2216
- },
2217
- min: d.value[0],
2218
- max: o.value,
2219
- position: V.value,
2220
- ripple: e.ripple
2221
- }, {
2222
- "thumb-label": l["thumb-label"]
2223
- })]);
2224
- }
2225
- });
2226
- }), {};
2227
- }
2228
- }), kl = { style: { "max-width": "400px" } }, Bl = {
2229
- key: 0,
2230
- class: "chart"
2231
- }, _l = {
2232
- key: 1,
2233
- class: "chart"
2234
- }, Rl = { class: "text-caption" }, Zt = /* @__PURE__ */ J({
2235
- __name: "BFilterByPrice",
2236
- props: /* @__PURE__ */ be({
2237
- currency: {},
2238
- disabled: { type: Boolean },
2239
- isLoading: { type: Boolean },
2240
- priceHistogram: {},
2241
- priceMax: {},
2242
- priceMin: {},
2243
- step: { default: 1 }
2244
- }, {
2245
- modelValue: {
2246
- default: () => [0, 0]
2247
- },
2248
- modelModifiers: {}
2249
- }),
2250
- emits: ["update:modelValue"],
2251
- setup(e) {
2252
- const { t } = ne(), l = e, i = ue(e, "modelValue"), a = p(
2253
- () => ot([l.priceMin, l.priceMax], (f) => f)
2254
- ), s = p({
2255
- get() {
2256
- return i.value && (i.value[0] || i.value[1]) ? i.value : [a.value[0], a.value[1]];
2257
- },
2258
- set(f) {
2259
- i.value = f;
2260
- }
2261
- }), u = p({
2262
- get() {
2263
- return i.value && i.value[0] || a.value[0];
2264
- },
2265
- set(f) {
2266
- f >= i.value[1] ? i.value = [i.value[1], i.value[1]] : f <= a.value[0] ? i.value = [a.value[0], i.value[1]] : i.value = [f, i.value[1]];
2267
- }
2268
- }), m = p({
2269
- get() {
2270
- return i.value && i.value[1] || a.value[1];
2271
- },
2272
- set(f) {
2273
- f <= i.value[0] ? i.value = [i.value[0], i.value[0]] : a.value[1] <= f ? i.value = [i.value[0], a.value[1]] : i.value = [i.value[0], f];
2274
- }
2275
- }), h = (f) => `${Math.log(f + 1) / Math.log(Math.max(...l.priceHistogram || [])) * 40}px`, c = p(() => Fi(l.currency)), d = () => {
2276
- i.value = [a.value[0], i.value[1]];
2277
- }, b = () => {
2278
- i.value = [i.value[0], a.value[1]];
2279
- };
2280
- return W(
2281
- a,
2282
- (f, o) => {
2283
- i.value && (i.value[0] || i.value[1]) && (o && (f[0] >= o[1] || f[1] <= o[0]) ? i.value = [0, 0] : i.value = ot(
2284
- [
2285
- Math.max(i.value[0], f[0]),
2286
- Math.min(i.value[1], f[1])
2287
- ],
2288
- (v) => v
2289
- ));
2290
- },
2291
- {
2292
- deep: !0,
2293
- immediate: !0
2294
- }
2295
- ), (f, o) => (M(), G("div", kl, [
2296
- r(re, { "no-gutters": "" }, {
2297
- default: n(() => [
2298
- r(Y, null, {
2299
- default: n(() => [
2300
- r(at, {
2301
- class: ve(["filter-price-slider pa-0", f.disabled && "cursor-not-allowed"])
2302
- }, {
2303
- default: n(() => [
2304
- f.isLoading ? (M(), G("ul", Bl, [
2305
- (M(!0), G(ie, null, _e(Array.from(
2306
- { length: 30 },
2307
- () => Math.random() * 35 + 5
2308
- ), () => (M(), G("li", null, o[3] || (o[3] = [
2309
- q("span", { class: "loader" }, null, -1)
2310
- ])))), 256))
2311
- ])) : (M(), G("ul", _l, [
2312
- (M(!0), G(ie, null, _e(f.priceHistogram, (v) => (M(), G("li", null, [
2313
- q("span", {
2314
- style: Tt({ height: h(v), width: "95%" })
2315
- }, null, 4)
2316
- ]))), 256))
2317
- ])),
2318
- r(wl, {
2319
- ref: "range-slider",
2320
- modelValue: s.value,
2321
- "onUpdate:modelValue": o[0] || (o[0] = (v) => s.value = v),
2322
- disabled: f.disabled || f.isLoading,
2323
- max: a.value[1],
2324
- min: a.value[0],
2325
- readonly: f.disabled || f.isLoading,
2326
- step: f.step,
2327
- "thumb-label": !1,
2328
- style: {
2329
- marginInline: "0px",
2330
- marginTop: "-17px"
2331
- },
2332
- "track-color": "#e2e2e2",
2333
- "track-size": "3",
2334
- "thumb-size": "13",
2335
- color: "primary",
2336
- "hide-details": ""
2337
- }, null, 8, ["modelValue", "disabled", "max", "min", "readonly", "step"])
2338
- ]),
2339
- _: 1
2340
- }, 8, ["class"])
2341
- ]),
2342
- _: 1
2343
- })
2344
- ]),
2345
- _: 1
2346
- }),
2347
- r(re, { "no-gutters": "" }, {
2348
- default: n(() => [
2349
- r(Y, null, {
2350
- default: n(() => [
2351
- r(mt, {
2352
- ref: "price-min",
2353
- modelValue: u.value,
2354
- "onUpdate:modelValue": o[1] || (o[1] = (v) => u.value = v),
2355
- clearable: u.value !== a.value[0],
2356
- density: "compact",
2357
- disabled: f.disabled || f.isLoading,
2358
- label: "Min",
2359
- max: m.value,
2360
- min: a.value[0],
2361
- variant: "outlined",
2362
- prefix: c.value,
2363
- step: f.step,
2364
- "hide-details": "",
2365
- type: "number",
2366
- "onClick:clear": d
2367
- }, null, 8, ["modelValue", "clearable", "disabled", "max", "min", "prefix", "step"])
2368
- ]),
2369
- _: 1
2370
- }),
2371
- r(Y, {
2372
- class: "d-flex align-center",
2373
- cols: "1"
2374
- }, {
2375
- default: n(() => [
2376
- r(Ae)
2377
- ]),
2378
- _: 1
2379
- }),
2380
- r(Y, null, {
2381
- default: n(() => [
2382
- r(mt, {
2383
- ref: "price-max",
2384
- modelValue: m.value,
2385
- "onUpdate:modelValue": o[2] || (o[2] = (v) => m.value = v),
2386
- clearable: m.value !== a.value[1],
2387
- density: "compact",
2388
- disabled: f.disabled || f.isLoading,
2389
- label: "Max",
2390
- max: a.value[1],
2391
- min: u.value,
2392
- variant: "outlined",
2393
- prefix: c.value,
2394
- step: f.step,
2395
- "hide-details": "",
2396
- type: "number",
2397
- "onClick:clear": b
2398
- }, null, 8, ["modelValue", "clearable", "disabled", "max", "min", "prefix", "step"])
2399
- ]),
2400
- _: 1
2401
- })
2402
- ]),
2403
- _: 1
2404
- }),
2405
- r(re, { "no-gutters": "" }, {
2406
- default: n(() => [
2407
- r(Y, { class: "text-center" }, {
2408
- default: n(() => [
2409
- q("small", Rl, O(y(t)("BFilterByPrice.pricePerRoomPerNight")), 1)
2410
- ]),
2411
- _: 1
2412
- })
2413
- ]),
2414
- _: 1
2415
- })
2416
- ]));
2417
- }
2418
- });
2419
- function kt(e) {
2420
- const t = e;
2421
- t.__i18n = t.__i18n || [], t.__i18n.push({
2422
- locale: "",
2423
- resource: {
2424
- "en-US": {
2425
- BFilterByPrice: {
2426
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price Per Room Per Night" } }
2427
- }
2428
- },
2429
- "fr-FR": {
2430
- BFilterByPrice: {
2431
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix par chambre par nuit" } }
2432
- }
2433
- },
2434
- "de-DE": {
2435
- BFilterByPrice: {
2436
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis pro Zimmer pro Nacht" } }
2437
- }
2438
- },
2439
- "es-ES": {
2440
- BFilterByPrice: {
2441
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio por habitación por noche" } }
2442
- }
2443
- },
2444
- "it-IT": {
2445
- BFilterByPrice: {
2446
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo per camera per notte" } }
2447
- }
2448
- },
2449
- "nl-NL": {
2450
- BFilterByPrice: {
2451
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs per kamer per nacht" } }
2452
- }
2453
- },
2454
- "pt-PT": {
2455
- BFilterByPrice: {
2456
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço por quarto por noite" } }
2457
- }
2458
- }
2459
- }
2460
- });
2461
- }
2462
- typeof kt == "function" && kt(Zt);
2463
- const Xt = /* @__PURE__ */ le(Zt, [["__scopeId", "data-v-084f7f17"]]), Sl = { class: "text-center px-10 pt-4" }, Ml = { class: "font-weight-bold" }, Jt = /* @__PURE__ */ J({
2464
- __name: "BFilterByPriceMenu",
2465
- props: /* @__PURE__ */ be({
2466
- currency: {},
2467
- disabled: { type: Boolean },
2468
- isLoading: { type: Boolean },
2469
- priceHistogram: {},
2470
- priceMax: {},
2471
- priceMin: {},
2472
- step: {}
2473
- }, {
2474
- modelValue: {},
2475
- modelModifiers: {}
2476
- }),
2477
- emits: ["update:modelValue"],
2478
- setup(e) {
2479
- const { locale: t, t: l } = ne(), i = e, a = ue(e, "modelValue"), s = H([0, 0]), u = H(!1), m = p(
2480
- () => ft({
2481
- amount: a.value?.[1] || i.priceMax,
2482
- currency: i.currency,
2483
- locale: t.value
2484
- })
2485
- ), h = p(
2486
- () => ft({
2487
- amount: a.value?.[0] || i.priceMin,
2488
- currency: i.currency,
2489
- locale: t.value
2490
- })
2491
- ), c = () => {
2492
- a.value = [...s.value], u.value = !1;
2493
- }, d = () => {
2494
- s.value = [...a.value], u.value = !1;
2495
- }, b = () => {
2496
- u.value = !1, a.value = [0, 0];
2497
- }, f = p(() => Pa[i.currency].symbol);
2498
- return W(
2499
- a,
2500
- (o) => {
2501
- o && (s.value = [...o]);
2502
- },
2503
- { immediate: !0 }
2504
- ), W(u, (o) => {
2505
- o || (s.value = [...a.value]);
2506
- }), (o, v) => (M(), z(je, ee(o.$attrs, {
2507
- modelValue: u.value,
2508
- "onUpdate:modelValue": v[1] || (v[1] = (g) => u.value = g),
2509
- attach: o.$parent?.$el,
2510
- persistent: !1,
2511
- "close-on-content-click": !1,
2512
- "max-width": "400px",
2513
- "open-on-click": "",
2514
- location: "bottom"
2515
- }), {
2516
- activator: n(({ props: g }) => [
2517
- r(Ke, {
2518
- color: "grey",
2519
- icon: "fas fa-times",
2520
- style: { cursor: "pointer" },
2521
- "model-value": a.value?.[0] !== 0 || a.value?.[1] !== 0,
2522
- onClick: b
2523
- }, {
2524
- default: n(() => [
2525
- r(Ue, {
2526
- attach: o.$el?.parent,
2527
- location: "bottom",
2528
- color: "grey-darken-3"
2529
- }, {
2530
- activator: n(({ props: _ }) => [
2531
- r(U, ee({
2532
- color: "grey",
2533
- variant: "tonal",
2534
- size: "small"
2535
- }, {
2536
- ...g,
2537
- ..._
2538
- }), {
2539
- default: n(() => [
2540
- q("span", null, [
2541
- q("b", null, O(f.value), 1)
2542
- ])
2543
- ]),
2544
- _: 2
2545
- }, 1040)
2546
- ]),
2547
- default: n(() => [
2548
- o.priceMin !== 0 || o.priceMax !== 0 ? (M(), G(ie, { key: 0 }, [
2549
- E(O(y(l)("BFilterByPriceMenu.tooltip", {
2550
- min: h.value,
2551
- max: m.value
2552
- })), 1)
2553
- ], 64)) : X("", !0)
2554
- ]),
2555
- _: 2
2556
- }, 1032, ["attach"])
2557
- ]),
2558
- _: 2
2559
- }, 1032, ["model-value"])
2560
- ]),
2561
- default: n(() => [
2562
- r(Fe, { elevation: "1" }, {
2563
- default: n(() => [
2564
- q("div", Sl, [
2565
- q("p", Ml, O(y(l)("BFilterByPriceMenu.title")), 1),
2566
- r(Xt, {
2567
- modelValue: s.value,
2568
- "onUpdate:modelValue": v[0] || (v[0] = (g) => s.value = g),
2569
- currency: o.currency,
2570
- "price-min": o.priceMin,
2571
- "price-max": o.priceMax,
2572
- "price-histogram": o.priceHistogram,
2573
- disabled: o.disabled,
2574
- "is-loading": o.isLoading
2575
- }, null, 8, ["modelValue", "currency", "price-min", "price-max", "price-histogram", "disabled", "is-loading"])
2576
- ]),
2577
- r(it, { class: "justify-end mt-2" }, {
2578
- default: n(() => [
2579
- r(U, {
2580
- class: "text-right",
2581
- color: "grey",
2582
- elevation: "0",
2583
- size: "small",
2584
- variant: "text",
2585
- onClick: d
2586
- }, {
2587
- default: n(() => [
2588
- E(O(y(l)("BFilterByPriceMenu.cancel")), 1)
2589
- ]),
2590
- _: 1
2591
- }),
2592
- r(U, {
2593
- class: "text-right",
2594
- color: "error",
2595
- elevation: "0",
2596
- loading: o.isLoading,
2597
- size: "small",
2598
- variant: "text",
2599
- onClick: b
2600
- }, {
2601
- default: n(() => [
2602
- E(O(y(l)("BFilterByPriceMenu.reset")), 1)
2603
- ]),
2604
- _: 1
2605
- }, 8, ["loading"]),
2606
- r(U, {
2607
- class: "text-right",
2608
- color: "success",
2609
- elevation: "0",
2610
- loading: o.isLoading,
2611
- size: "small",
2612
- variant: "flat",
2613
- onClick: c
2614
- }, {
2615
- default: n(() => [
2616
- E(O(y(l)("BFilterByPriceMenu.apply")), 1)
2617
- ]),
2618
- _: 1
2619
- }, 8, ["loading"])
2620
- ]),
2621
- _: 1
2622
- })
2623
- ]),
2624
- _: 1
2625
- })
2626
- ]),
2627
- _: 1
2628
- }, 16, ["modelValue", "attach"]));
2629
- }
2630
- });
2631
- function Bt(e) {
2632
- const t = e;
2633
- t.__i18n = t.__i18n || [], t.__i18n.push({
2634
- locale: "",
2635
- resource: {
2636
- "en-US": {
2637
- BFilterByPriceMenu: {
2638
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
2639
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
2640
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2641
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price" } },
2642
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "What's your budget ?" } },
2643
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Price from " }, { t: 4, k: "min" }, { t: 3, v: " to " }, { t: 4, k: "max" }, { t: 3, v: " per room per night" }] } }
2644
- }
2645
- },
2646
- "fr-FR": {
2647
- BFilterByPriceMenu: {
2648
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
2649
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
2650
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
2651
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix" } },
2652
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Quel est votre budget ?" } },
2653
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Prix de " }, { t: 4, k: "min" }, { t: 3, v: " à " }, { t: 4, k: "max" }, { t: 3, v: " par chambre par nuit" }] } }
2654
- }
2655
- },
2656
- "de-DE": {
2657
- BFilterByPriceMenu: {
2658
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
2659
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
2660
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
2661
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis" } },
2662
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Was ist Ihr Budget?" } },
2663
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Preis von " }, { t: 4, k: "min" }, { t: 3, v: " bis " }, { t: 4, k: "max" }, { t: 3, v: " pro Zimmer pro Nacht" }] } }
2664
- }
2665
- },
2666
- "es-ES": {
2667
- BFilterByPriceMenu: {
2668
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2669
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2670
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
2671
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio" } },
2672
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "¿Cuál es tu presupuesto?" } },
2673
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Precio de " }, { t: 4, k: "min" }, { t: 3, v: " a " }, { t: 4, k: "max" }, { t: 3, v: " por habitación por noche" }] } }
2674
- }
2675
- },
2676
- "it-IT": {
2677
- BFilterByPriceMenu: {
2678
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
2679
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
2680
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
2681
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo" } },
2682
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Qual è il tuo budget?" } },
2683
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Prezzo da " }, { t: 4, k: "min" }, { t: 3, v: " a " }, { t: 4, k: "max" }, { t: 3, v: " per camera per notte" }] } }
2684
- }
2685
- },
2686
- "nl-NL": {
2687
- BFilterByPriceMenu: {
2688
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
2689
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
2690
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2691
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs" } },
2692
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Wat is uw budget?" } },
2693
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Prijs van " }, { t: 4, k: "min" }, { t: 3, v: " tot " }, { t: 4, k: "max" }, { t: 3, v: " per kamer per nacht" }] } }
2694
- }
2695
- },
2696
- "pt-PT": {
2697
- BFilterByPriceMenu: {
2698
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2699
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2700
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
2701
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço" } },
2702
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Qual é o seu orçamento?" } },
2703
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Preço de " }, { t: 4, k: "min" }, { t: 3, v: " a " }, { t: 4, k: "max" }, { t: 3, v: " por quarto por noite" }] } }
2704
- }
2705
- }
2706
- }
2707
- });
2708
- }
2709
- typeof Bt == "function" && Bt(Jt);
2710
- const Ol = /* @__PURE__ */ le(Jt, [["__scopeId", "data-v-ceee1657"]]), Qt = /* @__PURE__ */ J({
2711
- __name: "BFilterByReview",
2712
- props: /* @__PURE__ */ be({
2713
- disabled: { type: Boolean }
2714
- }, {
2715
- modelValue: {},
2716
- modelModifiers: {}
2717
- }),
2718
- emits: ["update:modelValue"],
2719
- setup(e) {
2720
- const t = ue(e, "modelValue"), l = [
2721
- { label: "3+", value: 3 },
2722
- { label: "3.5+", value: 3.5 },
2723
- { label: "4+", value: 4 },
2724
- { label: "4.5+", value: 4.5 }
2725
- ];
2726
- return (i, a) => (M(), z(Ci, {
2727
- modelValue: t.value,
2728
- "onUpdate:modelValue": a[0] || (a[0] = (s) => t.value = s),
2729
- class: "d-flex flex-row justify-center",
2730
- divided: ""
2731
- }, {
2732
- default: n(() => [
2733
- (M(), G(ie, null, _e(l, (s, u) => r(U, {
2734
- key: u,
2735
- class: ve(["px-0", i.disabled && "cursor-not-allowed"]),
2736
- color: "primary",
2737
- disabled: i.disabled,
2738
- variant: "outlined",
2739
- size: "small",
2740
- value: s.value
2741
- }, {
2742
- default: n(() => [
2743
- E(O(s.label), 1)
2744
- ]),
2745
- _: 2
2746
- }, 1032, ["class", "disabled", "value"])), 64))
2747
- ]),
2748
- _: 1
2749
- }, 8, ["modelValue"]));
2750
- }
2751
- }), Cl = { class: "text-center px-10 py-4" }, Il = { class: "font-weight-bold pb-4" }, ea = /* @__PURE__ */ J({
2752
- __name: "BFilterByReviewMenu",
2753
- props: {
2754
- modelValue: {},
2755
- modelModifiers: {}
2756
- },
2757
- emits: ["update:modelValue"],
2758
- setup(e) {
2759
- const { t } = ne(), l = H(!1), i = ue(e, "modelValue"), a = H(), s = () => {
2760
- a.value = i.value, l.value = !1;
2761
- }, u = () => {
2762
- i.value = void 0, l.value = !1;
2763
- }, m = () => {
2764
- i.value = a.value, l.value = !1;
2765
- };
2766
- return W(
2767
- i,
2768
- (h) => {
2769
- a.value = h;
2770
- },
2771
- {
2772
- immediate: !0
2773
- }
2774
- ), W(l, () => {
2775
- a.value = i.value;
2776
- }), (h, c) => (M(), z(je, ee(h.$attrs, {
2777
- modelValue: l.value,
2778
- "onUpdate:modelValue": c[1] || (c[1] = (d) => l.value = d),
2779
- attach: h.$parent?.$el,
2780
- location: "bottom",
2781
- "close-on-content-click": !1,
2782
- "content-class": "pa-0",
2783
- "open-on-click": ""
2784
- }), {
2785
- activator: n(({ props: d }) => [
2786
- r(Ke, {
2787
- color: "grey",
2788
- icon: "fas fa-times",
2789
- style: { cursor: "pointer" },
2790
- "model-value": !!i.value,
2791
- onClick: u
2792
- }, {
2793
- default: n(() => [
2794
- r(Ue, {
2795
- attach: h.$el?.parent,
2796
- location: "bottom",
2797
- color: "grey-darken-3"
2798
- }, {
2799
- activator: n(({ props: b }) => [
2800
- r(U, ee({
2801
- ...d,
2802
- ...b
2803
- }, {
2804
- color: "grey",
2805
- variant: "tonal",
2806
- size: "small"
2807
- }), {
2808
- default: n(() => [
2809
- q("span", null, [
2810
- q("b", null, O(i.value || 1) + "+", 1)
2811
- ])
2812
- ]),
2813
- _: 2
2814
- }, 1040)
2815
- ]),
2816
- default: n(() => [
2817
- E(" " + O(y(t)("BFilterByReviewMenu.tooltip", i.value || 0, {
2818
- named: { score: i.value }
2819
- })), 1)
2820
- ]),
2821
- _: 2
2822
- }, 1032, ["attach"])
2823
- ]),
2824
- _: 2
2825
- }, 1032, ["model-value"])
2826
- ]),
2827
- default: n(() => [
2828
- r(Fe, { elevation: "1" }, {
2829
- default: n(() => [
2830
- q("div", Cl, [
2831
- q("p", Il, O(y(t)("BFilterByReviewMenu.title")), 1),
2832
- r(Qt, {
2833
- modelValue: a.value,
2834
- "onUpdate:modelValue": c[0] || (c[0] = (d) => a.value = d)
2835
- }, null, 8, ["modelValue"])
2836
- ]),
2837
- r(it, { class: "justify-end pa-2" }, {
2838
- default: n(() => [
2839
- r(U, {
2840
- class: "text-right",
2841
- color: "grey",
2842
- elevation: "0",
2843
- size: "small",
2844
- variant: "text",
2845
- onClick: s
2846
- }, {
2847
- default: n(() => [
2848
- E(O(y(t)("BFilterByReviewMenu.cancel")), 1)
2849
- ]),
2850
- _: 1
2851
- }),
2852
- r(U, {
2853
- class: "text-right",
2854
- color: "error",
2855
- elevation: "0",
2856
- size: "small",
2857
- variant: "text",
2858
- onClick: u
2859
- }, {
2860
- default: n(() => [
2861
- E(O(y(t)("BFilterByReviewMenu.reset")), 1)
2862
- ]),
2863
- _: 1
2864
- }),
2865
- r(U, {
2866
- class: "text-right",
2867
- color: "success",
2868
- elevation: "0",
2869
- variant: "flat",
2870
- size: "small",
2871
- onClick: m
2872
- }, {
2873
- default: n(() => [
2874
- E(O(y(t)("BFilterByReviewMenu.apply")), 1)
2875
- ]),
2876
- _: 1
2877
- })
2878
- ]),
2879
- _: 1
2880
- })
2881
- ]),
2882
- _: 1
2883
- })
2884
- ]),
2885
- _: 1
2886
- }, 16, ["modelValue", "attach"]));
2887
- }
2888
- });
2889
- function _t(e) {
2890
- const t = e;
2891
- t.__i18n = t.__i18n || [], t.__i18n.push({
2892
- locale: "",
2893
- resource: {
2894
- "en-US": {
2895
- BFilterByReviewMenu: {
2896
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
2897
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
2898
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2899
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Customer Review Score" } },
2900
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No customer reviews filter active" }, { t: 2, i: [{ t: 3, v: "Customer reviews above " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Customer reviews above " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2901
- }
2902
- },
2903
- "fr-FR": {
2904
- BFilterByReviewMenu: {
2905
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
2906
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
2907
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
2908
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Note des clients" } },
2909
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Aucun filtre de notes des clients" }, { t: 2, i: [{ t: 3, v: "Note des clients au dessus de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Note des clients au dessus de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2910
- }
2911
- },
2912
- "de-DE": {
2913
- BFilterByReviewMenu: {
2914
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
2915
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
2916
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
2917
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kundenbewertung" } },
2918
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Keine Kundenbewertungen" }, { t: 2, i: [{ t: 3, v: "Kundenbewertungen über " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Kundenbewertungen über " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2919
- }
2920
- },
2921
- "es-ES": {
2922
- BFilterByReviewMenu: {
2923
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2924
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2925
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
2926
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reseña de clientes" } },
2927
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No hay filtro de reseñas de clientes" }, { t: 2, i: [{ t: 3, v: "Reseñas de clientes por encima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Reseñas de clientes por encima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2928
- }
2929
- },
2930
- "it-IT": {
2931
- BFilterByReviewMenu: {
2932
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
2933
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
2934
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
2935
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Recensione dei clienti" } },
2936
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nessun filtro di recensioni dei clienti" }, { t: 2, i: [{ t: 3, v: "Recensioni dei clienti sopra " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Recensioni dei clienti sopra " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2937
- }
2938
- },
2939
- "nl-NL": {
2940
- BFilterByReviewMenu: {
2941
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
2942
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
2943
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2944
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Klantbeoordeling" } },
2945
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Geen klantbeoordelingen" }, { t: 2, i: [{ t: 3, v: "Klantbeoordelingen boven " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Klantbeoordelingen boven " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2946
- }
2947
- },
2948
- "pt-PT": {
2949
- BFilterByReviewMenu: {
2950
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2951
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2952
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
2953
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Avaliação de clientes" } },
2954
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nenhuma avaliação de clientes" }, { t: 2, i: [{ t: 3, v: "Avaliações de clientes acima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Avaliações de clientes acima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2955
- }
2956
- }
2957
- }
2958
- });
2959
- }
2960
- typeof _t == "function" && _t(ea);
2961
- const Vl = /* @__PURE__ */ le(ea, [["__scopeId", "data-v-50071678"]]), Pl = Re({
2962
- name: String,
2963
- itemAriaLabel: {
2964
- type: String,
2965
- default: "$vuetify.rating.ariaLabel.item"
2966
- },
2967
- activeColor: String,
2968
- color: String,
2969
- clearable: Boolean,
2970
- disabled: Boolean,
2971
- emptyIcon: {
2972
- type: nt,
2973
- default: "$ratingEmpty"
2974
- },
2975
- fullIcon: {
2976
- type: nt,
2977
- default: "$ratingFull"
2978
- },
2979
- halfIncrements: Boolean,
2980
- hover: Boolean,
2981
- length: {
2982
- type: [Number, String],
2983
- default: 5
2984
- },
2985
- readonly: Boolean,
2986
- modelValue: {
2987
- type: [Number, String],
2988
- default: 0
2989
- },
2990
- itemLabels: Array,
2991
- itemLabelPosition: {
2992
- type: String,
2993
- default: "top",
2994
- validator: (e) => ["top", "bottom"].includes(e)
2995
- },
2996
- ripple: Boolean,
2997
- ...ze(),
2998
- ...Bi(),
2999
- ...Oi(),
3000
- ...zt(),
3001
- ...Ht()
3002
- }, "VRating"), Fl = Ve()({
3003
- name: "VRating",
3004
- props: Pl(),
3005
- emits: {
3006
- "update:modelValue": (e) => !0
3007
- },
3008
- setup(e, t) {
3009
- let {
3010
- slots: l
3011
- } = t;
3012
- const {
3013
- t: i
3014
- } = Fa(), {
3015
- themeClasses: a
3016
- } = $t(e), s = tt(e, "modelValue"), u = p(() => et(parseFloat(s.value), 0, Number(e.length))), m = p(() => At(Number(e.length), 1)), h = p(() => m.value.flatMap((g) => e.halfIncrements ? [g - 0.5, g] : [g])), c = se(-1), d = p(() => h.value.map((g) => {
3017
- const _ = e.hover && c.value > -1, w = u.value >= g, T = c.value >= g, N = (_ ? T : w) ? e.fullIcon : e.emptyIcon, L = e.activeColor ?? e.color, B = w || T ? L : e.color;
3018
- return {
3019
- isFilled: w,
3020
- isHovered: T,
3021
- icon: N,
3022
- color: B
3023
- };
3024
- })), b = p(() => [0, ...h.value].map((g) => {
3025
- function _() {
3026
- c.value = g;
3027
- }
3028
- function w() {
3029
- c.value = -1;
3030
- }
3031
- function T() {
3032
- e.disabled || e.readonly || (s.value = u.value === g && e.clearable ? 0 : g);
3033
- }
3034
- return {
3035
- onMouseenter: e.hover ? _ : void 0,
3036
- onMouseleave: e.hover ? w : void 0,
3037
- onClick: T
3038
- };
3039
- })), f = p(() => e.name ?? `v-rating-${xa()}`);
3040
- function o(g) {
3041
- let {
3042
- value: _,
3043
- index: w,
3044
- showStar: T = !0
3045
- } = g;
3046
- const {
3047
- onMouseenter: A,
3048
- onMouseleave: N,
3049
- onClick: L
3050
- } = b.value[w + 1], B = `${f.value}-${String(_).replace(".", "-")}`, S = {
3051
- color: d.value[w]?.color,
3052
- density: e.density,
3053
- disabled: e.disabled,
3054
- icon: d.value[w]?.icon,
3055
- ripple: e.ripple,
3056
- size: e.size,
3057
- variant: "plain"
3058
- };
3059
- return r(ie, null, [r("label", {
3060
- for: B,
3061
- class: {
3062
- "v-rating__item--half": e.halfIncrements && _ % 1 > 0,
3063
- "v-rating__item--full": e.halfIncrements && _ % 1 === 0
3064
- },
3065
- onMouseenter: A,
3066
- onMouseleave: N,
3067
- onClick: L
3068
- }, [r("span", {
3069
- class: "v-rating__hidden"
3070
- }, [i(e.itemAriaLabel, _, e.length)]), T ? l.item ? l.item({
3071
- ...d.value[w],
3072
- props: S,
3073
- value: _,
3074
- index: w,
3075
- rating: u.value
3076
- }) : r(U, ee({
3077
- "aria-label": i(e.itemAriaLabel, _, e.length)
3078
- }, S), null) : void 0]), r("input", {
3079
- class: "v-rating__hidden",
3080
- name: f.value,
3081
- id: B,
3082
- type: "radio",
3083
- value: _,
3084
- checked: u.value === _,
3085
- tabindex: -1,
3086
- readonly: e.readonly,
3087
- disabled: e.disabled
3088
- }, null)]);
3089
- }
3090
- function v(g) {
3091
- return l["item-label"] ? l["item-label"](g) : g.label ? r("span", null, [g.label]) : r("span", null, [E(" ")]);
3092
- }
3093
- return Pe(() => {
3094
- const g = !!e.itemLabels?.length || l["item-label"];
3095
- return r(e.tag, {
3096
- class: ["v-rating", {
3097
- "v-rating--hover": e.hover,
3098
- "v-rating--readonly": e.readonly
3099
- }, a.value, e.class],
3100
- style: e.style
3101
- }, {
3102
- default: () => [r(o, {
3103
- value: 0,
3104
- index: -1,
3105
- showStar: !1
3106
- }, null), m.value.map((_, w) => r("div", {
3107
- class: "v-rating__wrapper"
3108
- }, [g && e.itemLabelPosition === "top" ? v({
3109
- value: _,
3110
- index: w,
3111
- label: e.itemLabels?.[w]
3112
- }) : void 0, r("div", {
3113
- class: "v-rating__item"
3114
- }, [e.halfIncrements ? r(ie, null, [r(o, {
3115
- value: _ - 0.5,
3116
- index: w * 2
3117
- }, null), r(o, {
3118
- value: _,
3119
- index: w * 2 + 1
3120
- }, null)]) : r(o, {
3121
- value: _,
3122
- index: w
3123
- }, null)]), g && e.itemLabelPosition === "bottom" ? v({
3124
- value: _,
3125
- index: w,
3126
- label: e.itemLabels?.[w]
3127
- }) : void 0]))]
3128
- });
3129
- }), {};
3130
- }
3131
- }), ta = /* @__PURE__ */ J({
3132
- __name: "BFilterByStar",
3133
- props: /* @__PURE__ */ be({
3134
- disabled: { type: Boolean }
3135
- }, {
3136
- modelValue: {},
3137
- modelModifiers: {}
3138
- }),
3139
- emits: ["update:modelValue"],
3140
- setup(e) {
3141
- const t = e, l = ue(e, "modelValue"), i = H(Number(l.value?.split(",")[0])), a = p(() => t.disabled ? "grey lighten-1" : "orange");
3142
- return W(i, (s) => {
3143
- l.value = ni(s, 6).join(",");
3144
- }), W(l, (s) => {
3145
- i.value = Number(s?.split(",")[0]);
3146
- }), (s, u) => (M(), z(Fl, {
3147
- modelValue: i.value,
3148
- "onUpdate:modelValue": u[0] || (u[0] = (m) => i.value = m),
3149
- color: a.value,
3150
- class: ve(s.disabled && "cursor-not-allowed"),
3151
- "active-color": a.value,
3152
- density: "compact",
3153
- disabled: s.disabled,
3154
- "empty-icon": "$ratingEmpty",
3155
- hover: "",
3156
- readonly: s.disabled,
3157
- size: "24"
3158
- }, null, 8, ["modelValue", "color", "class", "active-color", "disabled", "readonly"]));
3159
- }
3160
- }), xl = { class: "text-center px-10 pt-4" }, El = { class: "font-weight-bold pb-4" }, aa = /* @__PURE__ */ J({
3161
- __name: "BFilterByStarMenu",
3162
- props: {
3163
- modelValue: { required: !0 },
3164
- modelModifiers: {}
3165
- },
3166
- emits: ["update:modelValue"],
3167
- setup(e) {
3168
- const { t } = ne(), l = H(!1), i = ue(e, "modelValue"), a = H(""), s = () => {
3169
- a.value = i.value, l.value = !1;
3170
- }, u = () => {
3171
- i.value = "", l.value = !1;
3172
- }, m = () => {
3173
- i.value = a.value, l.value = !1;
3174
- };
3175
- return W(
3176
- i,
3177
- (h) => {
3178
- a.value = h;
3179
- },
3180
- {
3181
- immediate: !0
3182
- }
3183
- ), W(l, () => {
3184
- a.value = i.value;
3185
- }), (h, c) => (M(), z(je, {
3186
- modelValue: l.value,
3187
- "onUpdate:modelValue": c[1] || (c[1] = (d) => l.value = d),
3188
- attach: h.$parent?.$el,
3189
- "close-on-content-click": !1,
3190
- "content-class": "pa-0",
3191
- location: "bottom",
3192
- "open-on-click": ""
3193
- }, {
3194
- activator: n(({ props: d }) => [
3195
- r(Ke, {
3196
- color: "grey",
3197
- icon: "fas fa-times",
3198
- style: { cursor: "pointer" },
3199
- "model-value": !!i.value && i.value !== y(Ea),
3200
- onClick: u
3201
- }, {
3202
- default: n(() => [
3203
- r(Ue, {
3204
- attach: h.$el?.parent,
3205
- color: "grey-darken-3",
3206
- location: "bottom"
3207
- }, {
3208
- activator: n(({ props: b }) => [
3209
- r(U, ee({
3210
- ...d,
3211
- ...b
3212
- }, {
3213
- color: "grey",
3214
- elevation: 0,
3215
- variant: "tonal",
3216
- size: "small"
3217
- }), {
3218
- default: n(() => [
3219
- q("span", null, [
3220
- q("span", null, O(i.value.split(",")[0]), 1),
3221
- r(oe, { id: "star-icon" }, {
3222
- default: n(() => c[2] || (c[2] = [
3223
- E(" fas fa-solid fa-star ")
3224
- ])),
3225
- _: 1,
3226
- __: [2]
3227
- })
3228
- ])
3229
- ]),
3230
- _: 2
3231
- }, 1040)
3232
- ]),
3233
- default: n(() => [
3234
- E(" " + O(y(t)(
3235
- "BFilterByStarMenu.tooltip",
3236
- i.value.split(",")[0] && Number(i.value.split(",")[0]) || 0,
3237
- {
3238
- named: {
3239
- rating: i.value.split(",")[0]
3240
- }
3241
- }
3242
- )), 1)
3243
- ]),
3244
- _: 2
3245
- }, 1032, ["attach"])
3246
- ]),
3247
- _: 2
3248
- }, 1032, ["model-value"])
3249
- ]),
3250
- default: n(() => [
3251
- r(Fe, { elevation: "1" }, {
3252
- default: n(() => [
3253
- q("div", xl, [
3254
- q("p", El, O(y(t)("BFilterByStarMenu.title")), 1),
3255
- r(ta, {
3256
- modelValue: a.value,
3257
- "onUpdate:modelValue": c[0] || (c[0] = (d) => a.value = d)
3258
- }, null, 8, ["modelValue"])
3259
- ]),
3260
- r(it, { class: "justify-end" }, {
3261
- default: n(() => [
3262
- r(U, {
3263
- class: "text-right",
3264
- color: "grey",
3265
- elevation: "0",
3266
- size: "small",
3267
- variant: "text",
3268
- onClick: s
3269
- }, {
3270
- default: n(() => [
3271
- E(O(y(t)("BFilterByStarMenu.cancel")), 1)
3272
- ]),
3273
- _: 1
3274
- }),
3275
- r(U, {
3276
- class: "text-right",
3277
- color: "error",
3278
- size: "small",
3279
- variant: "text",
3280
- onClick: u
3281
- }, {
3282
- default: n(() => [
3283
- E(O(y(t)("BFilterByStarMenu.reset")), 1)
3284
- ]),
3285
- _: 1
3286
- }),
3287
- r(U, {
3288
- class: "text-right",
3289
- color: "success",
3290
- size: "small",
3291
- variant: "flat",
3292
- onClick: m
3293
- }, {
3294
- default: n(() => [
3295
- E(O(y(t)("BFilterByStarMenu.apply")), 1)
3296
- ]),
3297
- _: 1
3298
- })
3299
- ]),
3300
- _: 1
3301
- })
3302
- ]),
3303
- _: 1
3304
- })
3305
- ]),
3306
- _: 1
3307
- }, 8, ["modelValue", "attach"]));
3308
- }
3309
- });
3310
- function Rt(e) {
3311
- const t = e;
3312
- t.__i18n = t.__i18n || [], t.__i18n.push({
3313
- locale: "",
3314
- resource: {
3315
- "en-US": {
3316
- BFilterByStarMenu: {
3317
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
3318
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
3319
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
3320
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Star Rating" } },
3321
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No star rating filter active" }, { t: 2, i: [{ t: 3, v: "From " }, { t: 4, k: "rating" }, { t: 3, v: " stars" }] }, { t: 2, i: [{ t: 3, v: "From " }, { t: 4, k: "rating" }, { t: 3, v: " stars" }] }] } }
3322
- }
3323
- },
3324
- "fr-FR": {
3325
- BFilterByStarMenu: {
3326
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
3327
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
3328
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
3329
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Étoiles" } },
3330
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Aucun filtre d'étoiles" }, { t: 2, i: [{ t: 3, v: "À partir de " }, { t: 4, k: "rating" }, { t: 3, v: " étoiles" }] }, { t: 2, i: [{ t: 3, v: "À partir de " }, { t: 4, k: "rating" }, { t: 3, v: " étoiles" }] }] } }
3331
- }
3332
- },
3333
- "de-DE": {
3334
- BFilterByStarMenu: {
3335
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
3336
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
3337
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
3338
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sternebewertung" } },
3339
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Keine Sternebewertung" }, { t: 2, i: [{ t: 3, v: "Von " }, { t: 4, k: "rating" }, { t: 3, v: " Sternen" }] }, { t: 2, i: [{ t: 3, v: "Von " }, { t: 4, k: "rating" }, { t: 3, v: " Sternen" }] }] } }
3340
- }
3341
- },
3342
- "es-ES": {
3343
- BFilterByStarMenu: {
3344
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
3345
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
3346
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
3347
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Puntuación de estrellas" } },
3348
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No hay filtro de estrellas" }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrellas" }] }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrellas" }] }] } }
3349
- }
3350
- },
3351
- "it-IT": {
3352
- BFilterByStarMenu: {
3353
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
3354
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
3355
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
3356
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valutazione stelle" } },
3357
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nessun filtro di stelle" }, { t: 2, i: [{ t: 3, v: "Da " }, { t: 4, k: "rating" }, { t: 3, v: " stelle" }] }, { t: 2, i: [{ t: 3, v: "Da " }, { t: 4, k: "rating" }, { t: 3, v: " stelle" }] }] } }
3358
- }
3359
- },
3360
- "nl-NL": {
3361
- BFilterByStarMenu: {
3362
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
3363
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
3364
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Resetten" } },
3365
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterrenbeoordeling" } },
3366
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Geen sterrenbeoordeling" }, { t: 2, i: [{ t: 3, v: "Van " }, { t: 4, k: "rating" }, { t: 3, v: " sterren" }] }, { t: 2, i: [{ t: 3, v: "Van " }, { t: 4, k: "rating" }, { t: 3, v: " sterren" }] }] } }
3367
- }
3368
- },
3369
- "pt-PT": {
3370
- BFilterByStarMenu: {
3371
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
3372
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
3373
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
3374
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificação por estrelas" } },
3375
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nenhuma classificação de estrelas" }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrelas" }] }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrelas" }] }] } }
3376
- }
3377
- }
3378
- }
3379
- });
3380
- }
3381
- typeof Rt == "function" && Rt(aa);
3382
- const Tl = /* @__PURE__ */ le(aa, [["__scopeId", "data-v-6a3f5ba0"]]), Dl = { class: "px-4 font-weight-bold" }, Al = { class: "text-grey-darken-3" }, ia = /* @__PURE__ */ J({
3383
- __name: "BSortByMenu",
3384
- props: /* @__PURE__ */ be({
3385
- attach: { type: Boolean }
3386
- }, {
3387
- modelValue: {
3388
- default: {
3389
- direction: Da,
3390
- value: Ta
3391
- }
3392
- },
3393
- modelModifiers: {}
3394
- }),
3395
- emits: ["update:modelValue"],
3396
- setup(e) {
3397
- const { t } = ne(), l = H(!1), i = [
3398
- {
3399
- direction: pe.Asc,
3400
- value: ce.TopPicks
3401
- },
3402
- {
3403
- direction: pe.Asc,
3404
- value: ce.Distance
3405
- },
3406
- {
3407
- direction: pe.Asc,
3408
- value: ce.Price
3409
- },
3410
- {
3411
- direction: pe.Desc,
3412
- value: ce.Price
3413
- },
3414
- {
3415
- direction: pe.Asc,
3416
- value: ce.Rating
3417
- },
3418
- {
3419
- direction: pe.Desc,
3420
- value: ce.Rating
3421
- },
3422
- {
3423
- direction: pe.Desc,
3424
- value: ce.ReviewRating
3425
- }
3426
- ], a = ue(e, "modelValue"), s = p({
3427
- get() {
3428
- const m = i.findIndex(
3429
- (h) => h.value === a.value.value && h.direction === a.value.direction
3430
- );
3431
- return m === -1 ? 0 : m;
3432
- },
3433
- set(m) {
3434
- a.value = i[m];
3435
- }
3436
- }), u = (m) => {
3437
- a.value = m;
3438
- };
3439
- return (m, h) => (M(), z(je, {
3440
- modelValue: l.value,
3441
- "onUpdate:modelValue": h[1] || (h[1] = (c) => l.value = c),
3442
- attach: m.attach,
3443
- eager: "",
3444
- location: "bottom",
3445
- width: 260,
3446
- transition: "scroll-y-transition"
3447
- }, {
3448
- activator: n(({ props: c }) => [
3449
- r(U, ee(c, {
3450
- color: "secondary",
3451
- elevation: 0,
3452
- size: "small"
3453
- }), {
3454
- default: n(() => [
3455
- q("span", null, [
3456
- y(t)(`BSortByMenu.options.${a.value.value}.${a.value.direction}.icon`).length ? (M(), z(oe, {
3457
- key: 0,
3458
- class: ve([
3459
- "mr-1",
3460
- y(t)(`BSortByMenu.options.${a.value.value}.${a.value.direction}.style`)
3461
- ]),
3462
- size: "12"
3463
- }, {
3464
- default: n(() => [
3465
- E(O(y(t)(`BSortByMenu.options.${a.value.value}.${a.value.direction}.icon`)), 1)
3466
- ]),
3467
- _: 1
3468
- }, 8, ["class"])) : X("", !0),
3469
- E(" " + O(y(t)(`BSortByMenu.options.${a.value.value}.name`)) + " ", 1),
3470
- r(oe, { size: "10" }, {
3471
- default: n(() => h[2] || (h[2] = [
3472
- E("fas fa-chevron-down")
3473
- ])),
3474
- _: 1,
3475
- __: [2]
3476
- })
3477
- ])
3478
- ]),
3479
- _: 2
3480
- }, 1040)
3481
- ]),
3482
- default: n(() => [
3483
- r(Vi, null, {
3484
- default: n(() => [
3485
- r(Xe, {
3486
- modelValue: s.value,
3487
- "onUpdate:modelValue": h[0] || (h[0] = (c) => s.value = c),
3488
- class: "bg-white pa-0",
3489
- mandatory: ""
3490
- }, {
3491
- default: n(() => [
3492
- r(ct, { class: "pt-2" }, {
3493
- default: n(() => [
3494
- q("small", Dl, O(y(t)("BSortByMenu.prefix")), 1)
3495
- ]),
3496
- _: 1
3497
- }),
3498
- (M(), G(ie, null, _e(i, (c, d) => r(Xe, {
3499
- key: d,
3500
- class: "px-3",
3501
- onClick: (b) => u(c)
3502
- }, {
3503
- default: n(() => [
3504
- r(ct, null, {
3505
- default: n(() => [
3506
- q("small", Al, [
3507
- y(t)(`BSortByMenu.options.${c.value}.${c.direction}.icon`).length ? (M(), z(oe, {
3508
- key: 0,
3509
- class: ve([
3510
- "text-grey-darken-3",
3511
- y(t)(`BSortByMenu.options.${c.value}.${c.direction}.style`)
3512
- ]),
3513
- size: "14",
3514
- style: { "min-width": "24px" }
3515
- }, {
3516
- default: n(() => [
3517
- E(O(y(t)(`BSortByMenu.options.${c.value}.${c.direction}.icon`)), 1)
3518
- ]),
3519
- _: 2
3520
- }, 1032, ["class"])) : X("", !0),
3521
- E(" " + O(y(t)(`BSortByMenu.options.${c.value}.name`)) + " " + O(y(t)(`BSortByMenu.options.${c.value}.${c.direction}.wording`)), 1)
3522
- ])
3523
- ]),
3524
- _: 2
3525
- }, 1024)
3526
- ]),
3527
- _: 2
3528
- }, 1032, ["onClick"])), 64))
3529
- ]),
3530
- _: 1
3531
- }, 8, ["modelValue"])
3532
- ]),
3533
- _: 1
3534
- })
3535
- ]),
3536
- _: 1
3537
- }, 8, ["modelValue", "attach"]));
3538
- }
3539
- });
3540
- function St(e) {
3541
- const t = e;
3542
- t.__i18n = t.__i18n || [], t.__i18n.push({
3543
- locale: "",
3544
- resource: {
3545
- "en-US": {
3546
- BSortByMenu: {
3547
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sort by : " } },
3548
- options: {
3549
- top_picks: {
3550
- asc: {
3551
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3552
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3553
- },
3554
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Our Top Picks" } }
3555
- },
3556
- price: {
3557
- asc: {
3558
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(lowest first)" } },
3559
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3560
- },
3561
- desc: {
3562
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(highest first)" } },
3563
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3564
- },
3565
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price" } }
3566
- },
3567
- distance: {
3568
- asc: {
3569
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3570
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3571
- },
3572
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Closest" } }
3573
- },
3574
- rating: {
3575
- asc: {
3576
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(low to high)" } },
3577
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3578
- },
3579
- desc: {
3580
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(high to low)" } },
3581
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3582
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3583
- },
3584
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Stars" } }
3585
- },
3586
- review_rating: {
3587
- desc: {
3588
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3589
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3590
- },
3591
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Best Reviewed" } }
3592
- }
3593
- }
3594
- }
3595
- },
3596
- "fr-FR": {
3597
- BSortByMenu: {
3598
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trié par : " } },
3599
- options: {
3600
- top_picks: {
3601
- asc: {
3602
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3603
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3604
- },
3605
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nos préférés" } }
3606
- },
3607
- price: {
3608
- asc: {
3609
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(du moins cher au plus cher)" } },
3610
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3611
- },
3612
- desc: {
3613
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(du plus cher au moins cher)" } },
3614
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3615
- },
3616
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Tarif" } }
3617
- },
3618
- distance: {
3619
- asc: {
3620
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3621
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3622
- },
3623
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Proche" } }
3624
- },
3625
- rating: {
3626
- asc: {
3627
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(croissant)" } },
3628
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3629
- },
3630
- desc: {
3631
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(décroissant)" } },
3632
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3633
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3634
- },
3635
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nombre d'étoiles" } }
3636
- },
3637
- review_rating: {
3638
- desc: {
3639
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3640
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3641
- },
3642
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Meilleure note" } }
3643
- }
3644
- }
3645
- }
3646
- },
3647
- "de-DE": {
3648
- BSortByMenu: {
3649
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sortieren nach: " } },
3650
- options: {
3651
- top_picks: {
3652
- asc: {
3653
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3654
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3655
- },
3656
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Unsere Top-Empfehlungen" } }
3657
- },
3658
- price: {
3659
- asc: {
3660
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(niedrigster zuerst)" } },
3661
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3662
- },
3663
- desc: {
3664
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(höchster zuerst)" } },
3665
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3666
- },
3667
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis" } }
3668
- },
3669
- distance: {
3670
- asc: {
3671
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3672
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3673
- },
3674
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Am nächsten" } }
3675
- },
3676
- rating: {
3677
- asc: {
3678
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(niedrig bis hoch)" } },
3679
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3680
- },
3681
- desc: {
3682
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(hoch bis niedrig)" } },
3683
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3684
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3685
- },
3686
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterne" } }
3687
- },
3688
- review_rating: {
3689
- desc: {
3690
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3691
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3692
- },
3693
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Am besten bewertet" } }
3694
- }
3695
- }
3696
- }
3697
- },
3698
- "es-ES": {
3699
- BSortByMenu: {
3700
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por: " } },
3701
- options: {
3702
- top_picks: {
3703
- asc: {
3704
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3705
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3706
- },
3707
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nuestras recomendaciones" } }
3708
- },
3709
- price: {
3710
- asc: {
3711
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(más bajo primero)" } },
3712
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3713
- },
3714
- desc: {
3715
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(más alto primero)" } },
3716
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3717
- },
3718
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio" } }
3719
- },
3720
- distance: {
3721
- asc: {
3722
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3723
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3724
- },
3725
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Más cercano" } }
3726
- },
3727
- rating: {
3728
- asc: {
3729
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(de menor a mayor)" } },
3730
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3731
- },
3732
- desc: {
3733
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(de mayor a menor)" } },
3734
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3735
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3736
- },
3737
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Estrellas" } }
3738
- },
3739
- review_rating: {
3740
- desc: {
3741
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3742
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3743
- },
3744
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mejor valorados" } }
3745
- }
3746
- }
3747
- }
3748
- },
3749
- "it-IT": {
3750
- BSortByMenu: {
3751
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordina per: " } },
3752
- options: {
3753
- top_picks: {
3754
- asc: {
3755
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3756
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3757
- },
3758
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "I nostri preferiti" } }
3759
- },
3760
- price: {
3761
- asc: {
3762
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(più basso)" } },
3763
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3764
- },
3765
- desc: {
3766
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(più alto)" } },
3767
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3768
- },
3769
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo" } }
3770
- },
3771
- distance: {
3772
- asc: {
3773
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3774
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3775
- },
3776
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Più vicino" } }
3777
- },
3778
- rating: {
3779
- asc: {
3780
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(dal più basso al più alto)" } },
3781
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3782
- },
3783
- desc: {
3784
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(dal più alto al più basso)" } },
3785
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3786
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3787
- },
3788
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Stelle" } }
3789
- },
3790
- review_rating: {
3791
- desc: {
3792
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3793
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3794
- },
3795
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Migliori recensioni" } }
3796
- }
3797
- }
3798
- }
3799
- },
3800
- "nl-NL": {
3801
- BSortByMenu: {
3802
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorteren op: " } },
3803
- options: {
3804
- top_picks: {
3805
- asc: {
3806
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3807
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3808
- },
3809
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Onze favorieten" } }
3810
- },
3811
- price: {
3812
- asc: {
3813
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(laagste eerst)" } },
3814
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3815
- },
3816
- desc: {
3817
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(hoogste eerst)" } },
3818
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3819
- },
3820
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs" } }
3821
- },
3822
- distance: {
3823
- asc: {
3824
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3825
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3826
- },
3827
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dichtstbijzijnd" } }
3828
- },
3829
- rating: {
3830
- asc: {
3831
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(laag naar hoog)" } },
3832
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3833
- },
3834
- desc: {
3835
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(hoog naar laag)" } },
3836
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3837
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3838
- },
3839
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterren" } }
3840
- },
3841
- review_rating: {
3842
- desc: {
3843
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3844
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3845
- },
3846
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Best beoordeeld" } }
3847
- }
3848
- }
3849
- }
3850
- },
3851
- "pt-PT": {
3852
- BSortByMenu: {
3853
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por: " } },
3854
- options: {
3855
- top_picks: {
3856
- asc: {
3857
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3858
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3859
- },
3860
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "As nossas escolhas" } }
3861
- },
3862
- price: {
3863
- asc: {
3864
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(o mais baixo primeiro)" } },
3865
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3866
- },
3867
- desc: {
3868
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(o mais alto primeiro)" } },
3869
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3870
- },
3871
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço" } }
3872
- },
3873
- distance: {
3874
- asc: {
3875
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3876
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3877
- },
3878
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mais perto" } }
3879
- },
3880
- rating: {
3881
- asc: {
3882
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(baixo para alto)" } },
3883
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3884
- },
3885
- desc: {
3886
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(alto para baixo)" } },
3887
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3888
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3889
- },
3890
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Estrelas" } }
3891
- },
3892
- review_rating: {
3893
- desc: {
3894
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3895
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3896
- },
3897
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Melhor avaliado" } }
3898
- }
3899
- }
3900
- }
3901
- }
3902
- }
3903
- });
3904
- }
3905
- typeof St == "function" && St(ia);
3906
- const Ll = /* @__PURE__ */ le(ia, [["__scopeId", "data-v-13d63649"]]);
3907
- function $l(e) {
3908
- let {
3909
- rootEl: t,
3910
- isSticky: l,
3911
- layoutItemStyles: i
3912
- } = e;
3913
- const a = se(!1), s = se(0), u = p(() => {
3914
- const c = typeof a.value == "boolean" ? "top" : a.value;
3915
- return [l.value ? {
3916
- top: "auto",
3917
- bottom: "auto",
3918
- height: void 0
3919
- } : void 0, a.value ? {
3920
- [c]: fe(s.value)
3921
- } : {
3922
- top: i.value.top
3923
- }];
3924
- });
3925
- He(() => {
3926
- W(l, (c) => {
3927
- c ? window.addEventListener("scroll", h, {
3928
- passive: !0
3929
- }) : window.removeEventListener("scroll", h);
3930
- }, {
3931
- immediate: !0
3932
- });
3933
- }), qt(() => {
3934
- window.removeEventListener("scroll", h);
3935
- });
3936
- let m = 0;
3937
- function h() {
3938
- const c = m > window.scrollY ? "up" : "down", d = t.value.getBoundingClientRect(), b = parseFloat(i.value.top ?? 0), f = window.scrollY - Math.max(0, s.value - b), o = d.height + Math.max(s.value, b) - window.scrollY - window.innerHeight, v = parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y")) || 0;
3939
- d.height < window.innerHeight - b ? (a.value = "top", s.value = b) : c === "up" && a.value === "bottom" || c === "down" && a.value === "top" ? (s.value = window.scrollY + d.top - v, a.value = !0) : c === "down" && o <= 0 ? (s.value = 0, a.value = "bottom") : c === "up" && f <= 0 && (v ? a.value !== "top" && (s.value = -f + v + b, a.value = "top") : (s.value = d.top + f, a.value = "top")), m = window.scrollY;
3940
- }
3941
- return {
3942
- isStuck: a,
3943
- stickyStyles: u
3944
- };
3945
- }
3946
- const Hl = 100, ql = 20;
3947
- function Mt(e) {
3948
- return (e < 0 ? -1 : 1) * Math.sqrt(Math.abs(e)) * 1.41421356237;
3949
- }
3950
- function Ot(e) {
3951
- if (e.length < 2)
3952
- return 0;
3953
- if (e.length === 2)
3954
- return e[1].t === e[0].t ? 0 : (e[1].d - e[0].d) / (e[1].t - e[0].t);
3955
- let t = 0;
3956
- for (let l = e.length - 1; l > 0; l--) {
3957
- if (e[l].t === e[l - 1].t)
3958
- continue;
3959
- const i = Mt(t), a = (e[l].d - e[l - 1].d) / (e[l].t - e[l - 1].t);
3960
- t += (a - i) * Math.abs(a), l === e.length - 1 && (t *= 0.5);
3961
- }
3962
- return Mt(t) * 1e3;
3963
- }
3964
- function Nl() {
3965
- const e = {};
3966
- function t(a) {
3967
- Array.from(a.changedTouches).forEach((s) => {
3968
- (e[s.identifier] ?? (e[s.identifier] = new Aa(ql))).push([a.timeStamp, s]);
3969
- });
3970
- }
3971
- function l(a) {
3972
- Array.from(a.changedTouches).forEach((s) => {
3973
- delete e[s.identifier];
3974
- });
3975
- }
3976
- function i(a) {
3977
- const s = e[a]?.values().reverse();
3978
- if (!s)
3979
- throw new Error(`No samples for touch id ${a}`);
3980
- const u = s[0], m = [], h = [];
3981
- for (const c of s) {
3982
- if (u[0] - c[0] > Hl) break;
3983
- m.push({
3984
- t: c[0],
3985
- d: c[1].clientX
3986
- }), h.push({
3987
- t: c[0],
3988
- d: c[1].clientY
3989
- });
3990
- }
3991
- return {
3992
- x: Ot(m),
3993
- y: Ot(h),
3994
- get direction() {
3995
- const {
3996
- x: c,
3997
- y: d
3998
- } = this, [b, f] = [Math.abs(c), Math.abs(d)];
3999
- return b > f && c >= 0 ? "right" : b > f && c <= 0 ? "left" : f > b && d >= 0 ? "down" : f > b && d <= 0 ? "up" : zl();
4000
- }
4001
- };
4002
- }
4003
- return {
4004
- addMovement: t,
4005
- endTouch: l,
4006
- getVelocity: i
4007
- };
4008
- }
4009
- function zl() {
4010
- throw new Error();
4011
- }
4012
- function Ul(e) {
4013
- let {
4014
- el: t,
4015
- isActive: l,
4016
- isTemporary: i,
4017
- width: a,
4018
- touchless: s,
4019
- position: u
4020
- } = e;
4021
- He(() => {
4022
- window.addEventListener("touchstart", T, {
4023
- passive: !0
4024
- }), window.addEventListener("touchmove", A, {
4025
- passive: !1
4026
- }), window.addEventListener("touchend", N, {
4027
- passive: !0
4028
- });
4029
- }), qt(() => {
4030
- window.removeEventListener("touchstart", T), window.removeEventListener("touchmove", A), window.removeEventListener("touchend", N);
4031
- });
4032
- const m = p(() => ["left", "right"].includes(u.value)), {
4033
- addMovement: h,
4034
- endTouch: c,
4035
- getVelocity: d
4036
- } = Nl();
4037
- let b = !1;
4038
- const f = se(!1), o = se(0), v = se(0);
4039
- let g;
4040
- function _(B, S) {
4041
- return (u.value === "left" ? B : u.value === "right" ? document.documentElement.clientWidth - B : u.value === "top" ? B : u.value === "bottom" ? document.documentElement.clientHeight - B : we()) - (S ? a.value : 0);
4042
- }
4043
- function w(B) {
4044
- let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
4045
- const F = u.value === "left" ? (B - v.value) / a.value : u.value === "right" ? (document.documentElement.clientWidth - B - v.value) / a.value : u.value === "top" ? (B - v.value) / a.value : u.value === "bottom" ? (document.documentElement.clientHeight - B - v.value) / a.value : we();
4046
- return S ? Math.max(0, Math.min(1, F)) : F;
4047
- }
4048
- function T(B) {
4049
- if (s.value) return;
4050
- const S = B.changedTouches[0].clientX, F = B.changedTouches[0].clientY, V = 25, x = u.value === "left" ? S < V : u.value === "right" ? S > document.documentElement.clientWidth - V : u.value === "top" ? F < V : u.value === "bottom" ? F > document.documentElement.clientHeight - V : we(), C = l.value && (u.value === "left" ? S < a.value : u.value === "right" ? S > document.documentElement.clientWidth - a.value : u.value === "top" ? F < a.value : u.value === "bottom" ? F > document.documentElement.clientHeight - a.value : we());
4051
- (x || C || l.value && i.value) && (g = [S, F], v.value = _(m.value ? S : F, l.value), o.value = w(m.value ? S : F), b = v.value > -20 && v.value < 80, c(B), h(B));
4052
- }
4053
- function A(B) {
4054
- const S = B.changedTouches[0].clientX, F = B.changedTouches[0].clientY;
4055
- if (b) {
4056
- if (!B.cancelable) {
4057
- b = !1;
4058
- return;
4059
- }
4060
- const x = Math.abs(S - g[0]), C = Math.abs(F - g[1]);
4061
- (m.value ? x > C && x > 3 : C > x && C > 3) ? (f.value = !0, b = !1) : (m.value ? C : x) > 3 && (b = !1);
4062
- }
4063
- if (!f.value) return;
4064
- B.preventDefault(), h(B);
4065
- const V = w(m.value ? S : F, !1);
4066
- o.value = Math.max(0, Math.min(1, V)), V > 1 ? v.value = _(m.value ? S : F, !0) : V < 0 && (v.value = _(m.value ? S : F, !1));
4067
- }
4068
- function N(B) {
4069
- if (b = !1, !f.value) return;
4070
- h(B), f.value = !1;
4071
- const S = d(B.changedTouches[0].identifier), F = Math.abs(S.x), V = Math.abs(S.y);
4072
- (m.value ? F > V && F > 400 : V > F && V > 3) ? l.value = S.direction === ({
4073
- left: "right",
4074
- right: "left",
4075
- top: "down",
4076
- bottom: "up"
4077
- }[u.value] || we()) : l.value = o.value > 0.5;
4078
- }
4079
- const L = p(() => f.value ? {
4080
- transform: u.value === "left" ? `translateX(calc(-100% + ${o.value * a.value}px))` : u.value === "right" ? `translateX(calc(100% - ${o.value * a.value}px))` : u.value === "top" ? `translateY(calc(-100% + ${o.value * a.value}px))` : u.value === "bottom" ? `translateY(calc(100% - ${o.value * a.value}px))` : we(),
4081
- transition: "none"
4082
- } : void 0);
4083
- return De(f, () => {
4084
- const B = t.value?.style.transform ?? null, S = t.value?.style.transition ?? null;
4085
- La(() => {
4086
- t.value?.style.setProperty("transform", L.value?.transform || "none"), t.value?.style.setProperty("transition", L.value?.transition || null);
4087
- }), $a(() => {
4088
- t.value?.style.setProperty("transform", B), t.value?.style.setProperty("transition", S);
4089
- });
4090
- }), {
4091
- isDragging: f,
4092
- dragProgress: o,
4093
- dragStyles: L
4094
- };
4095
- }
4096
- function we() {
4097
- throw new Error();
4098
- }
4099
- const jl = ["start", "end", "left", "right", "top", "bottom"], Kl = Re({
4100
- color: String,
4101
- disableResizeWatcher: Boolean,
4102
- disableRouteWatcher: Boolean,
4103
- expandOnHover: Boolean,
4104
- floating: Boolean,
4105
- modelValue: {
4106
- type: Boolean,
4107
- default: null
4108
- },
4109
- permanent: Boolean,
4110
- rail: {
4111
- type: Boolean,
4112
- default: null
4113
- },
4114
- railWidth: {
4115
- type: [Number, String],
4116
- default: 56
4117
- },
4118
- scrim: {
4119
- type: [Boolean, String],
4120
- default: !0
4121
- },
4122
- image: String,
4123
- temporary: Boolean,
4124
- persistent: Boolean,
4125
- touchless: Boolean,
4126
- width: {
4127
- type: [Number, String],
4128
- default: 256
4129
- },
4130
- location: {
4131
- type: String,
4132
- default: "start",
4133
- validator: (e) => jl.includes(e)
4134
- },
4135
- sticky: Boolean,
4136
- ...Ai(),
4137
- ...ze(),
4138
- ...ri(),
4139
- ...Na({
4140
- mobile: null
4141
- }),
4142
- ...Ut(),
4143
- ...li(),
4144
- ...jt(),
4145
- ...zt({
4146
- tag: "nav"
4147
- }),
4148
- ...Ht()
4149
- }, "VNavigationDrawer"), Gl = Ve()({
4150
- name: "VNavigationDrawer",
4151
- props: Kl(),
4152
- emits: {
4153
- "update:modelValue": (e) => !0,
4154
- "update:rail": (e) => !0
4155
- },
4156
- setup(e, t) {
4157
- let {
4158
- attrs: l,
4159
- emit: i,
4160
- slots: a
4161
- } = t;
4162
- const {
4163
- isRtl: s
4164
- } = Ne(), {
4165
- themeClasses: u
4166
- } = $t(e), {
4167
- borderClasses: m
4168
- } = Di(e), {
4169
- backgroundColorClasses: h,
4170
- backgroundColorStyles: c
4171
- } = $e(te(e, "color")), {
4172
- elevationClasses: d
4173
- } = Kt(e), {
4174
- displayClasses: b,
4175
- mobile: f
4176
- } = Ha(e), {
4177
- roundedClasses: o
4178
- } = Gt(e), v = ei(), g = tt(e, "modelValue", null, (D) => !!D), {
4179
- ssrBootStyles: _
4180
- } = $i(), {
4181
- scopeId: w
4182
- } = ti(), T = H(), A = se(!1), {
4183
- runOpenDelay: N,
4184
- runCloseDelay: L
4185
- } = si(e, (D) => {
4186
- A.value = D;
4187
- }), B = p(() => e.rail && e.expandOnHover && A.value ? Number(e.width) : Number(e.rail ? e.railWidth : e.width)), S = p(() => ai(e.location, s.value)), F = p(() => e.persistent), V = p(() => !e.permanent && (f.value || e.temporary)), x = p(() => e.sticky && !V.value && S.value !== "bottom");
4188
- De(() => e.expandOnHover && e.rail != null, () => {
4189
- W(A, (D) => i("update:rail", !D));
4190
- }), De(() => !e.disableResizeWatcher, () => {
4191
- W(V, (D) => !e.permanent && qe(() => g.value = !D));
4192
- }), De(() => !e.disableRouteWatcher && !!v, () => {
4193
- W(v.currentRoute, () => V.value && (g.value = !1));
4194
- }), W(() => e.permanent, (D) => {
4195
- D && (g.value = !0);
4196
- }), e.modelValue == null && !V.value && (g.value = e.permanent || !f.value);
4197
- const {
4198
- isDragging: C,
4199
- dragProgress: R
4200
- } = Ul({
4201
- el: T,
4202
- isActive: g,
4203
- isTemporary: V,
4204
- width: B,
4205
- touchless: te(e, "touchless"),
4206
- position: S
4207
- }), k = p(() => {
4208
- const D = V.value ? 0 : e.rail && e.expandOnHover ? Number(e.railWidth) : B.value;
4209
- return C.value ? D * R.value : D;
4210
- }), {
4211
- layoutItemStyles: $,
4212
- layoutItemScrimStyles: P
4213
- } = ii({
4214
- id: e.name,
4215
- order: p(() => parseInt(e.order, 10)),
4216
- position: S,
4217
- layoutSize: k,
4218
- elementSize: B,
4219
- active: p(() => g.value || C.value),
4220
- disableTransitions: p(() => C.value),
4221
- absolute: p(() => (
4222
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
4223
- e.absolute || x.value && typeof Q.value != "string"
4224
- ))
4225
- }), {
4226
- isStuck: Q,
4227
- stickyStyles: ge
4228
- } = $l({
4229
- rootEl: T,
4230
- isSticky: x,
4231
- layoutItemStyles: $
4232
- }), me = $e(p(() => typeof e.scrim == "string" ? e.scrim : null)), Se = p(() => ({
4233
- ...C.value ? {
4234
- opacity: R.value * 0.2,
4235
- transition: "none"
4236
- } : void 0,
4237
- ...P.value
4238
- }));
4239
- return qa({
4240
- VList: {
4241
- bgColor: "transparent"
4242
- }
4243
- }), Pe(() => {
4244
- const D = a.image || e.image;
4245
- return r(ie, null, [r(e.tag, ee({
4246
- ref: T,
4247
- onMouseenter: N,
4248
- onMouseleave: L,
4249
- class: ["v-navigation-drawer", `v-navigation-drawer--${S.value}`, {
4250
- "v-navigation-drawer--expand-on-hover": e.expandOnHover,
4251
- "v-navigation-drawer--floating": e.floating,
4252
- "v-navigation-drawer--is-hovering": A.value,
4253
- "v-navigation-drawer--rail": e.rail,
4254
- "v-navigation-drawer--temporary": V.value,
4255
- "v-navigation-drawer--persistent": F.value,
4256
- "v-navigation-drawer--active": g.value,
4257
- "v-navigation-drawer--sticky": x.value
4258
- }, u.value, h.value, m.value, b.value, d.value, o.value, e.class],
4259
- style: [c.value, $.value, _.value, ge.value, e.style]
4260
- }, w, l), {
4261
- default: () => [D && r("div", {
4262
- key: "image",
4263
- class: "v-navigation-drawer__img"
4264
- }, [a.image ? r(Ri, {
4265
- key: "image-defaults",
4266
- disabled: !e.image,
4267
- defaults: {
4268
- VImg: {
4269
- alt: "",
4270
- cover: !0,
4271
- height: "inherit",
4272
- src: e.image
4273
- }
4274
- }
4275
- }, a.image) : r(_i, {
4276
- key: "image-img",
4277
- alt: "",
4278
- cover: !0,
4279
- height: "inherit",
4280
- src: e.image
4281
- }, null)]), a.prepend && r("div", {
4282
- class: "v-navigation-drawer__prepend"
4283
- }, [a.prepend?.()]), r("div", {
4284
- class: "v-navigation-drawer__content"
4285
- }, [a.default?.()]), a.append && r("div", {
4286
- class: "v-navigation-drawer__append"
4287
- }, [a.append?.()])]
4288
- }), r(za, {
4289
- name: "fade-transition"
4290
- }, {
4291
- default: () => [V.value && (C.value || g.value) && !!e.scrim && r("div", ee({
4292
- class: ["v-navigation-drawer__scrim", me.backgroundColorClasses.value],
4293
- style: [Se.value, me.backgroundColorStyles.value],
4294
- onClick: () => {
4295
- F.value || (g.value = !1);
4296
- }
4297
- }, w), null)]
4298
- })]);
4299
- }), {
4300
- isStuck: Q
4301
- };
4302
- }
4303
- }), Wl = { class: "" }, Yl = { class: "font-weight-bold" }, Zl = { class: "font-weight-bold" }, Xl = { class: "font-weight-bold" }, la = /* @__PURE__ */ J({
4304
- __name: "HotelOffersFilterBarUI",
4305
- props: /* @__PURE__ */ be({
4306
- currency: {},
4307
- disabled: { type: Boolean },
4308
- isLoading: { type: Boolean },
4309
- priceHistogram: {},
4310
- priceMax: {},
4311
- priceMin: {},
4312
- step: {}
4313
- }, {
4314
- modelValue: { required: !0 },
4315
- modelModifiers: {}
4316
- }),
4317
- emits: ["update:modelValue"],
4318
- setup(e) {
4319
- const { t } = ne(), l = H(!1), i = ue(e, "modelValue"), a = H({
4320
- ...i.value
4321
- }), s = () => {
4322
- i.value = { ...a.value }, l.value = !1;
4323
- }, u = p(
4324
- () => i?.value?.price[0] !== 0 || i?.value?.price[1] !== 0
4325
- ), m = p(
4326
- () => i?.value?.[K.ReviewRating] !== Ft
4327
- ), h = p(
4328
- () => i?.value?.[K.Rating] !== ""
4329
- ), c = p(
4330
- () => [
4331
- u.value,
4332
- h.value,
4333
- m.value
4334
- ].filter(Boolean).length
4335
- ), d = () => {
4336
- a.value = { ...i.value }, l.value = !1;
4337
- }, b = () => {
4338
- i.value = { ...Le }, l.value = !1;
4339
- };
4340
- return W(
4341
- i,
4342
- (f) => {
4343
- a.value = { ...f };
4344
- },
4345
- {
4346
- deep: !0,
4347
- immediate: !0
4348
- }
4349
- ), W(
4350
- l,
4351
- () => {
4352
- a.value = { ...i.value };
4353
- },
4354
- {
4355
- deep: !0,
4356
- immediate: !0
4357
- }
4358
- ), (f, o) => (M(), G("div", null, [
4359
- r(Gl, {
4360
- modelValue: l.value,
4361
- "onUpdate:modelValue": o[3] || (o[3] = (v) => l.value = v),
4362
- temporary: "",
4363
- width: 450
4364
- }, {
4365
- default: n(() => [
4366
- r(Fe, {
4367
- elevation: "0",
4368
- light: ""
4369
- }, {
4370
- default: n(() => [
4371
- r(Mi, {
4372
- class: "py-1",
4373
- style: { "background-color": "#fff", "z-index": "1", position: "fixed", top: "0", width: "100%" }
4374
- }, {
4375
- default: n(() => [
4376
- r(re, { "no-gutters": "" }, {
4377
- default: n(() => [
4378
- r(Y, { cols: "auto" }, {
4379
- default: n(() => [
4380
- r(U, {
4381
- icon: "",
4382
- variant: "text",
4383
- onClick: d,
4384
- size: "small"
4385
- }, {
4386
- default: n(() => [
4387
- r(oe, null, {
4388
- default: n(() => o[9] || (o[9] = [
4389
- E(" fas fa-arrow-left ")
4390
- ])),
4391
- _: 1,
4392
- __: [9]
4393
- })
4394
- ]),
4395
- _: 1
4396
- }),
4397
- q("small", Wl, O(y(t)("BHotelFiltersMenu.filterBy")), 1)
4398
- ]),
4399
- _: 1
4400
- }),
4401
- r(Y, {
4402
- align: "end",
4403
- class: "flex align-center justify-end"
4404
- }, {
4405
- default: n(() => [
4406
- r(U, {
4407
- class: "mr-2",
4408
- color: "primary",
4409
- size: "small",
4410
- variant: "text",
4411
- onClick: d
4412
- }, {
4413
- default: n(() => [
4414
- E(O(y(t)("BHotelFiltersMenu.cancel")), 1)
4415
- ]),
4416
- _: 1
4417
- }),
4418
- r(U, {
4419
- class: "mr-2",
4420
- color: "error",
4421
- size: "small",
4422
- variant: "text",
4423
- onClick: b
4424
- }, {
4425
- default: n(() => [
4426
- E(O(y(t)("BHotelFiltersMenu.reset")), 1)
4427
- ]),
4428
- _: 1
4429
- }),
4430
- r(U, {
4431
- color: "success",
4432
- elevation: "0",
4433
- size: "small",
4434
- onClick: s
4435
- }, {
4436
- default: n(() => [
4437
- E(O(y(t)("BHotelFiltersMenu.apply")), 1)
4438
- ]),
4439
- _: 1
4440
- })
4441
- ]),
4442
- _: 1
4443
- })
4444
- ]),
4445
- _: 1
4446
- })
4447
- ]),
4448
- _: 1
4449
- }),
4450
- r(Ae, { class: "mt-12" }),
4451
- r(at, null, {
4452
- default: n(() => [
4453
- r(re, { class: "my-8" }, {
4454
- default: n(() => [
4455
- r(Y, {
4456
- align: "center",
4457
- class: "px-8",
4458
- cols: "12"
4459
- }, {
4460
- default: n(() => [
4461
- q("p", Yl, O(y(t)("BHotelFiltersMenu.price")), 1),
4462
- r(Xt, {
4463
- modelValue: a.value[y(K).Price],
4464
- "onUpdate:modelValue": o[0] || (o[0] = (v) => a.value[y(K).Price] = v),
4465
- currency: f.currency,
4466
- "is-loading": f.isLoading,
4467
- "price-histogram": f.priceHistogram,
4468
- "price-max": f.priceMax,
4469
- "price-min": f.priceMin
4470
- }, null, 8, ["modelValue", "currency", "is-loading", "price-histogram", "price-max", "price-min"])
4471
- ]),
4472
- _: 1
4473
- })
4474
- ]),
4475
- _: 1
4476
- }),
4477
- r(Ae, { class: "my-6 mx-12" }),
4478
- r(re, { class: "my-8" }, {
4479
- default: n(() => [
4480
- r(Y, {
4481
- align: "center",
4482
- cols: "12"
4483
- }, {
4484
- default: n(() => [
4485
- q("p", Zl, O(y(t)("BHotelFiltersMenu.star")), 1),
4486
- r(ta, {
4487
- modelValue: a.value[y(K).Rating],
4488
- "onUpdate:modelValue": o[1] || (o[1] = (v) => a.value[y(K).Rating] = v)
4489
- }, null, 8, ["modelValue"])
4490
- ]),
4491
- _: 1
4492
- })
4493
- ]),
4494
- _: 1
4495
- }),
4496
- r(Ae, { class: "my-6 mx-12" }),
4497
- r(re, { class: "my-8" }, {
4498
- default: n(() => [
4499
- r(Y, {
4500
- align: "center",
4501
- class: "py-4",
4502
- cols: "12"
4503
- }, {
4504
- default: n(() => [
4505
- q("p", Xl, O(y(t)("BHotelFiltersMenu.review")), 1),
4506
- r(Qt, {
4507
- modelValue: a.value[y(K).ReviewRating],
4508
- "onUpdate:modelValue": o[2] || (o[2] = (v) => a.value[y(K).ReviewRating] = v)
4509
- }, null, 8, ["modelValue"])
4510
- ]),
4511
- _: 1
4512
- })
4513
- ]),
4514
- _: 1
4515
- })
4516
- ]),
4517
- _: 1
4518
- })
4519
- ]),
4520
- _: 1
4521
- })
4522
- ]),
4523
- _: 1
4524
- }, 8, ["modelValue"]),
4525
- r(re, {
4526
- class: "pa-2",
4527
- justify: "space-between"
4528
- }, {
4529
- default: n(() => [
4530
- r(Y, { cols: "auto" }, {
4531
- default: n(() => [
4532
- r(re, { dense: "" }, {
4533
- default: n(() => [
4534
- r(Y, null, {
4535
- default: n(() => [
4536
- r(Ke, {
4537
- bordered: "",
4538
- color: "secondary",
4539
- content: c.value > 0 ? c.value : void 0,
4540
- icon: c.value > 0 ? void 0 : "fas fa-x",
4541
- "model-value": c.value > 0,
4542
- style: { cursor: "pointer" }
4543
- }, {
4544
- default: n(() => [
4545
- r(U, {
4546
- "data-attr": "hotel-offers-filter-bar-filters",
4547
- color: "secondary",
4548
- elevation: 0,
4549
- size: "small",
4550
- onClick: o[4] || (o[4] = (v) => l.value = !0)
4551
- }, {
4552
- default: n(() => [
4553
- r(oe, {
4554
- class: "mr-1",
4555
- size: "14"
4556
- }, {
4557
- default: n(() => o[10] || (o[10] = [
4558
- E(" fas fa-sliders ")
4559
- ])),
4560
- _: 1,
4561
- __: [10]
4562
- }),
4563
- E(O(y(t)("BHotelFiltersMenu.filters")), 1)
4564
- ]),
4565
- _: 1
4566
- })
4567
- ]),
4568
- _: 1
4569
- }, 8, ["content", "icon", "model-value"])
4570
- ]),
4571
- _: 1
4572
- }),
4573
- u.value ? (M(), z(Y, {
4574
- key: 0,
4575
- class: "mx-1"
4576
- }, {
4577
- default: n(() => [
4578
- r(Ol, {
4579
- modelValue: i.value[y(K).Price],
4580
- "onUpdate:modelValue": o[5] || (o[5] = (v) => i.value[y(K).Price] = v),
4581
- currency: f.currency,
4582
- "is-loading": f.isLoading,
4583
- "price-histogram": f.priceHistogram,
4584
- "price-max": f.priceMax,
4585
- "price-min": f.priceMin
4586
- }, null, 8, ["modelValue", "currency", "is-loading", "price-histogram", "price-max", "price-min"])
4587
- ]),
4588
- _: 1
4589
- })) : X("", !0),
4590
- h.value ? (M(), z(Y, {
4591
- key: 1,
4592
- class: "mx-1"
4593
- }, {
4594
- default: n(() => [
4595
- r(Tl, {
4596
- modelValue: i.value[y(K).Rating],
4597
- "onUpdate:modelValue": o[6] || (o[6] = (v) => i.value[y(K).Rating] = v)
4598
- }, null, 8, ["modelValue"])
4599
- ]),
4600
- _: 1
4601
- })) : X("", !0),
4602
- m.value ? (M(), z(Y, {
4603
- key: 2,
4604
- class: "mx-1"
4605
- }, {
4606
- default: n(() => [
4607
- r(Vl, {
4608
- modelValue: i.value[y(K).ReviewRating],
4609
- "onUpdate:modelValue": o[7] || (o[7] = (v) => i.value[y(K).ReviewRating] = v)
4610
- }, null, 8, ["modelValue"])
4611
- ]),
4612
- _: 1
4613
- })) : X("", !0),
4614
- c.value > 1 ? (M(), z(Y, {
4615
- key: 3,
4616
- class: "mx-1"
4617
- }, {
4618
- default: n(() => [
4619
- r(U, {
4620
- color: "grey",
4621
- size: "small",
4622
- variant: "text",
4623
- onClick: b
4624
- }, {
4625
- default: n(() => o[11] || (o[11] = [
4626
- E(" Reset ")
4627
- ])),
4628
- _: 1,
4629
- __: [11]
4630
- })
4631
- ]),
4632
- _: 1
4633
- })) : X("", !0)
4634
- ]),
4635
- _: 1
4636
- })
4637
- ]),
4638
- _: 1
4639
- }),
4640
- r(Y, { cols: "auto" }, {
4641
- default: n(() => [
4642
- r(Ll, {
4643
- modelValue: i.value[y(K).SortBy],
4644
- "onUpdate:modelValue": o[8] || (o[8] = (v) => i.value[y(K).SortBy] = v),
4645
- attach: f.$el
4646
- }, null, 8, ["modelValue", "attach"])
4647
- ]),
4648
- _: 1
4649
- })
4650
- ]),
4651
- _: 1
4652
- })
4653
- ]));
4654
- }
4655
- });
4656
- function Ct(e) {
4657
- const t = e;
4658
- t.__i18n = t.__i18n || [], t.__i18n.push({
4659
- locale: "",
4660
- resource: {
4661
- "en-US": {
4662
- BHotelFiltersMenu: {
4663
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
4664
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
4665
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4666
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter by" } },
4667
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price per room per night" } },
4668
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4669
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guest Rating" } },
4670
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sort by" } },
4671
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Star Rating" } }
4672
- }
4673
- },
4674
- "fr-FR": {
4675
- BHotelFiltersMenu: {
4676
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
4677
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
4678
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtres" } },
4679
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrer par" } },
4680
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix par chambre par nuit" } },
4681
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
4682
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Notes" } },
4683
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trier par" } },
4684
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Étoiles" } }
4685
- }
4686
- },
4687
- "de-DE": {
4688
- BHotelFiltersMenu: {
4689
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
4690
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
4691
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter" } },
4692
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtern nach" } },
4693
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis pro Zimmer pro Nacht" } },
4694
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
4695
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gästebewertung" } },
4696
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sortieren nach" } },
4697
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sternebewertung" } }
4698
- }
4699
- },
4700
- "es-ES": {
4701
- BHotelFiltersMenu: {
4702
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4703
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4704
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4705
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4706
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio por habitación por noche" } },
4707
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
4708
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valoración de los huéspedes" } },
4709
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4710
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clasificación por estrellas" } }
4711
- }
4712
- },
4713
- "it-IT": {
4714
- BHotelFiltersMenu: {
4715
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
4716
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
4717
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtri" } },
4718
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtra per" } },
4719
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo per camera a notte" } },
4720
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
4721
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valutazione degli ospiti" } },
4722
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordina per" } },
4723
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificazione stelle" } }
4724
- }
4725
- },
4726
- "nl-NL": {
4727
- BHotelFiltersMenu: {
4728
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
4729
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
4730
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4731
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filteren op" } },
4732
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs per kamer per nacht" } },
4733
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4734
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Beoordeling" } },
4735
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorteren op" } },
4736
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterrenclassificatie" } }
4737
- }
4738
- },
4739
- "pt-PT": {
4740
- BHotelFiltersMenu: {
4741
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4742
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4743
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4744
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4745
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço por quarto por noite" } },
4746
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
4747
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Avaliação dos hóspedes" } },
4748
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4749
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificação de estrelas" } }
4750
- }
4751
- }
4752
- }
4753
- });
4754
- }
4755
- typeof Ct == "function" && Ct(la);
4756
- const Jl = /* @__PURE__ */ le(la, [["__scopeId", "data-v-533cff01"]]), Ql = { ref: "root" }, ra = /* @__PURE__ */ J({
4757
- __name: "BHotelOffersFilterBar",
4758
- setup(e) {
4759
- const t = Ui(), l = H(Le);
4760
- return W(
4761
- l,
4762
- (i) => {
4763
- t.saveFilters(i);
4764
- },
4765
- {
4766
- deep: !0,
4767
- immediate: !0
4768
- }
4769
- ), (i, a) => (M(), G("div", Ql, [
4770
- r(Jl, {
4771
- modelValue: l.value,
4772
- "onUpdate:modelValue": a[0] || (a[0] = (s) => l.value = s),
4773
- currency: i.config.currency,
4774
- "is-loading": y(t).isPolling && !y(t).hotelOffers.length,
4775
- "price-max": y(t).getPriceMax,
4776
- "price-min": y(t).getPriceMin,
4777
- "price-histogram": y(t).priceHistogram
4778
- }, null, 8, ["modelValue", "currency", "is-loading", "price-max", "price-min", "price-histogram"])
4779
- ], 512));
4780
- }
4781
- });
4782
- function It(e) {
4783
- const t = e;
4784
- t.__i18n = t.__i18n || [], t.__i18n.push({
4785
- locale: "",
4786
- resource: {
4787
- "en-US": {
4788
- BHotelFiltersMenu: {
4789
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
4790
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
4791
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4792
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter by" } },
4793
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price per room per night" } },
4794
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4795
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guest Rating" } },
4796
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sort by" } },
4797
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Star Rating" } }
4798
- }
4799
- },
4800
- "fr-FR": {
4801
- BHotelFiltersMenu: {
4802
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
4803
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
4804
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtres" } },
4805
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrer par" } },
4806
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix par chambre par nuit" } },
4807
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
4808
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Notes" } },
4809
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trier par" } },
4810
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Étoiles" } }
4811
- }
4812
- },
4813
- "de-DE": {
4814
- BHotelFiltersMenu: {
4815
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
4816
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
4817
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter" } },
4818
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtern nach" } },
4819
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis pro Zimmer pro Nacht" } },
4820
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
4821
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gästebewertung" } },
4822
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sortieren nach" } },
4823
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sternebewertung" } }
4824
- }
4825
- },
4826
- "es-ES": {
4827
- BHotelFiltersMenu: {
4828
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4829
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4830
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4831
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4832
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio por habitación por noche" } },
4833
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
4834
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valoración de los huéspedes" } },
4835
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4836
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clasificación por estrellas" } }
4837
- }
4838
- },
4839
- "it-IT": {
4840
- BHotelFiltersMenu: {
4841
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
4842
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
4843
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtri" } },
4844
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtra per" } },
4845
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo per camera a notte" } },
4846
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
4847
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valutazione degli ospiti" } },
4848
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordina per" } },
4849
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificazione stelle" } }
4850
- }
4851
- },
4852
- "nl-NL": {
4853
- BHotelFiltersMenu: {
4854
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
4855
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
4856
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4857
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filteren op" } },
4858
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs per kamer per nacht" } },
4859
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4860
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Beoordeling" } },
4861
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorteren op" } },
4862
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterrenclassificatie" } }
4863
- }
4864
- },
4865
- "pt-PT": {
4866
- BHotelFiltersMenu: {
4867
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4868
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4869
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4870
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4871
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço por quarto por noite" } },
4872
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
4873
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Avaliação dos hóspedes" } },
4874
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4875
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificação de estrelas" } }
4876
- }
4877
- }
4878
- }
4879
- });
4880
- }
4881
- typeof It == "function" && It(ra);
4882
- const Nr = /* @__PURE__ */ le(ra, [["__scopeId", "data-v-548e6303"]]);
4883
- fa("css/revolugo.bhoteloffersfilterbar.CekxoJmW.css");
4884
- export {
4885
- qr as B,
4886
- Dr as D,
4887
- Ki as H,
4888
- de as a,
4889
- Lr as b,
4890
- $r as c,
4891
- Hr as d,
4892
- Nr as e,
4893
- Ar as p,
4894
- Ui as u
4895
- };
4896
- //# sourceMappingURL=revolugo.bhoteloffersfilterbar.B_hcAZxX.min.js.map